@aiti-ai/aiti-draft-keeper 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Draft Keeper(aiti-draft-keeper)
|
|
2
2
|
|
|
3
|
+
## 来源 · Origin
|
|
4
|
+
|
|
5
|
+
本包是 **aiti** 生态的组成部分——以 [pi](https://pi.dev) 为引擎的个人 AI 开发工作台与本地调试注入生态:**aiti-agent**(自托管 Web 工作台,基于开源项目 [pi-web](https://github.com/aiti-ai/pi-web) 构建,浏览器为主操作面)+ 各开发工具内的调试注入(aiti-devtools)+ 丰富的扩展体系。
|
|
6
|
+
|
|
7
|
+
This package is part of the **aiti** ecosystem — a personal AI development workbench powered by [pi](https://pi.dev): **aiti-agent** (a self-hosted web workbench built on the open-source [pi-web](https://github.com/aiti-ai/pi-web)) plus debug injection into mainstream dev tools (aiti-devtools) and a rich extension system.
|
|
8
|
+
|
|
9
|
+
**English**: Draft persistence and crash recovery for the composer — the sole owner of the composer draft state machine (v2 intent contract), shared slots across tabs, 7-day stale pruning.
|
|
10
|
+
|
|
11
|
+
- 工作台 / workbench: <https://github.com/aiti-ai/pi-web>
|
|
12
|
+
- 生态仓库 / monorepo: <https://github.com/aiti-ai/aiti-ai>
|
|
13
|
+
- 官网 / site: <https://aiti.pw>
|
|
14
|
+
|
|
15
|
+
|
|
3
16
|
草稿持久化 + 恢复接管扩展——pi-web 去 fork 化 P2 的产物(`docs/pi-web-defork-roadmap.md` §3.B)。
|
|
4
17
|
core 的草稿逻辑(原 `lib/draft-store.ts` + ChatInput/ChatWindow 接线)已全部迁出,
|
|
5
18
|
**core 零 draft-store 依赖**;core 经 `lib/composer/draft-api.ts` 注册表访问本扩展
|
|
@@ -71,3 +84,9 @@ core 的草稿逻辑(原 `lib/draft-store.ts` + ChatInput/ChatWindow 接线)
|
|
|
71
84
|
node tools/deploy.mjs # 免构建;拷贝到 ~/.pi/web{,-dev}/extensions/
|
|
72
85
|
```
|
|
73
86
|
生效:POST /api/extensions/reload;刷新页面即新 client。
|
|
87
|
+
|
|
88
|
+
## 文档 · Documentation
|
|
89
|
+
|
|
90
|
+
- 中文完整文档(aiti-docs): <https://aiti.pw/extensions/aiti-draft-keeper.html>
|
|
91
|
+
- English docs: <https://aiti.pw/en/extensions/aiti-draft-keeper.html>
|
|
92
|
+
- 扩展注册表 / registry: <https://aiti.pw/extensions.html> · machine-readable <https://aiti.pw/extensions.json>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiti-ai/aiti-draft-keeper",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "草稿持久化 + 恢复接管",
|
|
5
5
|
"soul": "崩溃可以带走页面,带不走你打到一半的话。",
|
|
6
6
|
"scripts": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"aitiExtProtocol": "1.0",
|
|
10
10
|
"license": "MIT",
|
|
11
|
-
"contentHash": "
|
|
11
|
+
"contentHash": "0af9f02d5add8429",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
14
|
"url": "git+https://github.com/aiti-ai/aiti-ai.git",
|