open-index/open-npm huggingface dataset:
npm package: @redestiny/nibot
Description: Local CLI MVP for AI-assisted long-form writing workflows.
Latest version: 0.1.0

<p align="center">
  <img src="./assets/icon.svg" alt="Nibot icon" width="180" />
</p>

# Nibot
Nibot是一个小说写作辅助工具
通过agent补全与生成来让作者再也不会卡文

---

## 核心机制
通过维护outline、world_state和characters三个本源文件来约束引导agent的创作。
也可以自定义新的设定文档。
| 本源文件 | 定义域 |
| ------ | ------ |
| `outline.md` | 大纲，故事走向 |
| `world_state` | 世界状态，世界背景、大事件 |
| `characters` | 角色库，角色设定，关系 |

---

## 命令参考
### 书籍管理

| 命令 | 说明 |
|------|------|
| `nibot book create <bookid>` | 创建新书，生成工作目录与默认设定文件 |
| `nibot book list` | 列出所有书籍 |
| `nibot status <bookid>` | 显示书籍状态（章节数、最新章节） |

## 写作命令

| 命令 | 说明 |
|------|------|
| `nibot write <bookid> [--chapter <number>]` | 生成下一章或指定章节内容 |
| `nibot complete <bookid> [--chapter <number>]` | 补全最新章节或指定章节 |

## 设定同步

| 命令 | 说明 |
|------|------|
| `nibot sync <bookid> ` | 基于最新章节生成设定变更 diff，确认后应用 |

## Provider 管理

| 命令 | 说明 |
|------|------|
| `nibot provider add` | 交互式添加 provider |
| `nibot provider list` | 列出所有 provider |
| `nibot provider set-default <name>` | 设置默认 provider |
npm package: @redext/micro
Description: Blazing fast, simple and complete solution for micro frontends
Latest version: 0.0.11

# @redext/micro

Blazing fast, simple and complete solution for micro frontends

## Installation

```bash
npm install -s @redext/micro
or
yarn add @redext/micro
```

## Use It

```js
import { registerMicroApp, registerMicroComponent } from '@redext/micro';

registerMicroApp({
  orgName: '@redext-micro', // option
  name: 'demo',
  activePath: 'micro',
  container: '#microfrontend',
  entry: 'http://localhost:5000',
  // loadScriptPath: '/root-config.jsx',
  isHash: true,
  // isProduction: true
});

registerMicroComponent({
  orgName: '@redext-micro', // option
  name: 'component',
  activePath: 'micro',
  container: '#micro-component',
  entry: 'http://localhost:5000/components/blocks/MicroDemo',
  // loadScriptPath: '/root-config.jsx',
  isHash: true,
  // isProduction: true
});
```
npm package: @redext/micro-framework
Description: Packages for library @redext/micro
Latest version: 0.0.13

# @redext/micro-framework

Packages for library @redext/micro

## Installation

```bash
npm install -s @redext/micro-framework
or
yarn add @redext/micro-framework
```

## Use It

```js
import {
  MicroAppContext,
  MicroRouter,
  createMicroAppReact,
  useMicroAppReact,
  withMicroStyles,
  getMicroState
} from '@redext/micro-framework';
```

```js
// root-config.jsx

import { createMicroAppReact } from '@redext/micro-framework';
import app from './src';

export const { bootstrap, mount, unmount } = createMicroAppReact({
  rootId: __ROOT_ID__,
  rootComponent: () => app
})

if (__MICRO__) {
  window[__APP_NAME__] = {
    bootstrap,
    mount,
    unmount
  }
} else {
  mount({});
}
```

```js
// src/index.jsx

import { MicroRouter } from '@redext/micro-framework';

const app = (
  <MicroRouter>
    {children}
  </MicroRouter>
)

export default app
```