@aiti-ai/aiti-doc-center 0.1.12 → 0.1.13
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 +2 -3
- package/README.zh-CN.md +2 -3
- package/index.ts +1 -2
- package/package.json +8 -2
- package/tools/deploy.mjs +3 -2
- package/icon.svg +0 -5
package/README.md
CHANGED
|
@@ -6,10 +6,9 @@ English · [简体中文](./README.zh-CN.md)
|
|
|
6
6
|
|
|
7
7
|
## About aiti
|
|
8
8
|
|
|
9
|
-
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/
|
|
9
|
+
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/aiti-ai)) plus debug injection into mainstream dev tools (aiti-devtools) and a rich extension system.
|
|
10
10
|
|
|
11
|
-
- Workbench
|
|
12
|
-
- Ecosystem monorepo: <https://github.com/aiti-ai/aiti-ai>
|
|
11
|
+
- Workbench & monorepo: <https://github.com/aiti-ai/aiti-ai>
|
|
13
12
|
- Site: <https://aiti.pw>
|
|
14
13
|
|
|
15
14
|
Category: Knowledge management · Tags: `docs` · `search` · `fts5` · `tag`
|
package/README.zh-CN.md
CHANGED
|
@@ -6,10 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
## 关于 aiti
|
|
8
8
|
|
|
9
|
-
本包是 **aiti** 生态的组成部分——以 [pi](https://pi.dev) 为引擎的个人 AI 开发工作台与本地调试注入生态:**aiti-agent**(自托管 Web 工作台,基于开源项目 [pi-web](https://github.com/aiti-ai/
|
|
9
|
+
本包是 **aiti** 生态的组成部分——以 [pi](https://pi.dev) 为引擎的个人 AI 开发工作台与本地调试注入生态:**aiti-agent**(自托管 Web 工作台,基于开源项目 [pi-web](https://github.com/aiti-ai/aiti-ai) 构建,浏览器为主操作面)+ 各开发工具内的调试注入(aiti-devtools)+ 丰富的扩展体系。
|
|
10
10
|
|
|
11
|
-
-
|
|
12
|
-
- 生态仓库: <https://github.com/aiti-ai/aiti-ai>
|
|
11
|
+
- 工作台 / 生态仓库(aiti-agent,基于 pi-web): <https://github.com/aiti-ai/aiti-ai>
|
|
13
12
|
- 官网: <https://aiti.pw>
|
|
14
13
|
|
|
15
14
|
分类: 知识管理 · tags: `docs` · `search` · `fts5` · `tag`
|
package/index.ts
CHANGED
|
@@ -602,7 +602,7 @@ function writeTagsToPath(root: string, rel: string, add: string[], remove: strin
|
|
|
602
602
|
const ext = {
|
|
603
603
|
id: "aiti-doc-center",
|
|
604
604
|
name: "文档中心",
|
|
605
|
-
icon: "
|
|
605
|
+
icon: "icons/book-open.svg",
|
|
606
606
|
client: "dist/aiti-doc-center-client.mjs",
|
|
607
607
|
ui: {
|
|
608
608
|
clientImmediately: false, // [懒加载 v2] M1 已同步生产,懒化重启用
|
|
@@ -717,7 +717,6 @@ const ext = {
|
|
|
717
717
|
"it.aiti-doc-center-page.label": "Doc Center",
|
|
718
718
|
"it.docs.title": "Docs",
|
|
719
719
|
"ext.displayName": "Doc Center",
|
|
720
|
-
"ext.description": "Searches the workspace doc center (FTS full-text + weighted fusion ranking). Params: query (required, ≥3 chars works best), tag (optional, e.g. plan, docs), limit (optional, default 8). Returns docs with snippet highlights (path/title/updated/tags).",
|
|
721
720
|
"feat.aiti-doc-center-page": "Doc Center",
|
|
722
721
|
"feat.scan.roots": "Scan roots",
|
|
723
722
|
"feat.scan.excludes": "Excluded dirs",
|
package/package.json
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiti-ai/aiti-doc-center",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "workspace markdown collection/organization/search — FTS5 trigram Chinese full-text + tag seven-source two-layer + 📚 float dialog four views",
|
|
6
|
+
"displayNameI18n": {
|
|
7
|
+
"en": "Doc Center"
|
|
8
|
+
},
|
|
9
|
+
"descriptionI18n": {
|
|
10
|
+
"zh-CN": "workspace md 收集/整理/检索——FTS5 trigram 中文全文 + tag 七来源两层 + 📚 float 弹窗四视图"
|
|
11
|
+
},
|
|
6
12
|
"scripts": {
|
|
7
13
|
"test": "node --experimental-strip-types --test doc-core.test.mjs",
|
|
8
14
|
"deploy": "node tools/deploy.mjs",
|
|
@@ -18,7 +24,7 @@
|
|
|
18
24
|
},
|
|
19
25
|
"aitiExtProtocol": "1.0",
|
|
20
26
|
"license": "MIT",
|
|
21
|
-
"contentHash": "
|
|
27
|
+
"contentHash": "849cc4d3f34a4412",
|
|
22
28
|
"repository": {
|
|
23
29
|
"type": "git",
|
|
24
30
|
"url": "git+https://github.com/aiti-ai/aiti-ai.git",
|
package/tools/deploy.mjs
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
*
|
|
5
5
|
* 步骤(照 aiti-plan-first 四步):
|
|
6
6
|
* 0) 构建 JSX client bundle(client/src/*.tsx → client/aiti-doc-center-client.mjs,M2 起存在)
|
|
7
|
-
* 1)
|
|
7
|
+
* 1) copy server sources index.ts / doc-core.ts to both extension dirs (icon comes from the
|
|
8
|
+
* shared line-icon library via deploy-all's icon sync)
|
|
8
9
|
* 2) 拷贝 client 产物 / skills(存在才拷)
|
|
9
10
|
* 3) 提交部署状态到扩展 git 仓库(失败不影响部署)
|
|
10
11
|
*
|
|
@@ -40,7 +41,7 @@ const targets = [
|
|
|
40
41
|
resolve(homedir(), ".pi", "web", "extensions", "aiti-doc-center"),
|
|
41
42
|
resolve(homedir(), ".pi", "web-dev", "extensions", "aiti-doc-center"),
|
|
42
43
|
];
|
|
43
|
-
const files = ["index.ts", "doc-core.ts", "lib/ignore-semantics.ts", "
|
|
44
|
+
const files = ["index.ts", "doc-core.ts", "lib/ignore-semantics.ts", "package.json"];
|
|
44
45
|
const optionalDirs = ["dist", "skills"];
|
|
45
46
|
// doc-worker 是手写运行时源(Worker 线程直载,无构建)——随产物进 dist/(index.ts 按 dist/ 引用)
|
|
46
47
|
{
|
package/icon.svg
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">
|
|
2
|
-
<path fill="#6366f1" d="M4 3h6a2 2 0 0 1 2 2v14a2 2 0 0 0-2-2H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z" opacity=".55"/>
|
|
3
|
-
<path fill="#6366f1" d="M20 3h-6a2 2 0 0 0-2 2v14a2 2 0 0 1 2-2h6a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1z"/>
|
|
4
|
-
<path fill="#a5b4fc" d="M7.5 7h2.2M7.5 10h2.2M14.3 7h2.2M14.3 10h2.2" stroke="#fff" stroke-width="1.3" stroke-linecap="round"/>
|
|
5
|
-
</svg>
|