@itradingai/aiwiki 0.2.22 → 0.2.23

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 CHANGED
@@ -28,7 +28,7 @@ Use it to build a local AI knowledge base that can be queried, checked, maintain
28
28
 
29
29
  Ask your AI assistant to install and configure AIWiki.
30
30
 
31
- Choose a local folder for your knowledge base. Examples:
31
+ 1. Choose a local folder for your knowledge base.
32
32
 
33
33
  ```text
34
34
  Windows: D:\AIWiki
@@ -36,7 +36,9 @@ macOS/Linux: ~/AIWiki
36
36
  Project test: ./aiwiki-test
37
37
  ```
38
38
 
39
- Copy this prompt into Codex, Claude Code, QClaw, OpenClaw, or another local coding assistant:
39
+ 2. Copy this prompt into Codex, Claude Code, QClaw, OpenClaw, or another local coding assistant.
40
+
41
+ Before sending it, replace every `<replace-with-my-aiwiki-path>` with your own local folder path, such as `D:\AIWiki` or `~/AIWiki`. Do not leave the placeholder in the commands.
40
42
 
41
43
  ```text
42
44
  Please install and configure AIWiki for me.
@@ -48,6 +50,8 @@ Use this knowledge base path:
48
50
 
49
51
  <replace-with-my-aiwiki-path>
50
52
 
53
+ Replace every `<replace-with-my-aiwiki-path>` below with my own local folder path before running commands. If I left the placeholder unchanged, stop and ask me for the real path.
54
+
51
55
  Run these commands:
52
56
 
53
57
  npm install -g @itradingai/aiwiki@latest
@@ -68,37 +72,13 @@ Then tell me:
68
72
  5. what I should do next
69
73
  ```
70
74
 
71
- AIWiki has two integration layers:
72
-
73
- - `aiwiki agent sync --yes` syncs AIWiki instructions into supported local assistant environments.
74
- - `aiwiki agent sync --path "<workspace>" --yes` writes workspace-level guidance so assistants entering the knowledge base know to use AIWiki commands first.
75
-
76
- After syncing, restart or reload your assistant if needed.
77
-
78
- ### Expected result
75
+ 3. Restart or reload your assistant if needed.
79
76
 
80
- After setup, your assistant should be able to confirm:
81
-
82
- - `aiwiki` is installed and reports a version
83
- - the knowledge base path exists and passes `aiwiki doctor`
84
- - assistant integration is `installed`, `updated`, or `current`
85
- - workspace guidance was written by `aiwiki agent sync --path`
86
- - `aiwiki status` reports the workspace state and next action
77
+ If assistant sync fails, open an [Agent Integration issue](https://github.com/iTradingAI/aiwiki/issues/new?template=agent_integration.md) and include the output of `aiwiki agent check --json` and `aiwiki doctor --path "<workspace>"`.
87
78
 
88
79
  ## First Use
89
80
 
90
- ### 10-minute public trial path
91
-
92
- Use this path when you are trying AIWiki for the first time:
93
-
94
- 1. Run the Quick Start prompt above with a temporary knowledge base path.
95
- 2. Send one article, file, or note to your assistant and ask it to ingest the source into AIWiki.
96
- 3. Ask one question about the ingested topic so the assistant calls `aiwiki context`.
97
- 4. Run `aiwiki query "<topic>"` when you want a direct terminal view.
98
- 5. Ask the assistant to check the workspace with `aiwiki lint --json` and `aiwiki doctor`.
99
- 6. Share feedback with the short template in [`docs/TRIAL_FEEDBACK_TEMPLATE.md`](docs/TRIAL_FEEDBACK_TEMPLATE.md).
100
-
101
- The point of the first trial is not to build a large archive. It is to confirm that one source can move from reading, to traceable Markdown files, to later reuse.
81
+ Trying AIWiki for the first time? Use the short trial route in the [Usage Guide](docs/USAGE.md#3-ingest-a-source).
102
82
 
103
83
  ### Ingest a source
104
84
 
@@ -152,13 +132,6 @@ The assistant should call:
152
132
  aiwiki lint --json
153
133
  ```
154
134
 
155
- When only safe fixes are reported and you allow cleanup, the assistant may run:
156
-
157
- ```bash
158
- aiwiki lint --fix-empty-dirs --json
159
- aiwiki lint --json
160
- ```
161
-
162
135
  ## What AIWiki Creates
163
136
 
164
137
  A successful ingest creates a traceable knowledge package:
@@ -181,15 +154,6 @@ Optional files may also be created when the assistant provides enough structured
181
154
 
182
155
  The Wiki Entry is the main reusable knowledge surface. The raw record and source card preserve traceability, so you can always go back from a summary to the source.
183
156
 
184
- A successful first run should leave you with:
185
-
186
- - a new folder under `09-runs/`
187
- - `payload.json` and `processing-summary.md` inside that run folder
188
- - a Source Card under `03-sources/article-cards/`
189
- - a reusable Wiki Entry under `05-wiki/source-knowledge/`
190
- - `aiwiki query "<topic>"` or `aiwiki context "<topic>"` returning a relevant match
191
- - `aiwiki lint --json` returning structure feedback instead of requiring manual file inspection first
192
-
193
157
  See:
194
158
 
195
159
  - [`examples/demo-run/`](examples/demo-run/)
@@ -209,9 +173,10 @@ Instead of saving links and losing context, you get Markdown files that your ass
209
173
 
210
174
  ## Practical Scenarios
211
175
 
212
- - **Save research while reading**: send an article to your assistant and let AIWiki create a source card, Wiki Entry, and processing record.
213
- - **Prepare future writing**: turn useful ideas into reusable concepts, claims, topics, and outline material when the assistant provides enough structure.
214
- - **Ask across your own archive**: ask what AIWiki knows about a topic and let the assistant retrieve local context before answering.
176
+ - **Build a personal research wiki** from articles, PDFs, files, and notes.
177
+ - **Turn useful reading into reusable ideas** such as concepts, claims, topics, and outlines.
178
+ - **Give Codex, Claude Code, or QClaw a stable local knowledge layer** it can query before answering.
179
+ - **Keep summaries traceable** with raw records, source cards, Wiki Entries, and run records.
215
180
 
216
181
  ## How It Works
217
182
 
@@ -256,43 +221,40 @@ The goal is simple: make what your assistant reads useful again later.
256
221
 
257
222
  ## Agent Integration
258
223
 
259
- AIWiki is built for assistant-driven workflows.
260
-
261
- Supported local assistant targets may include:
224
+ AIWiki is built for assistant-driven workflows. `aiwiki agent sync --yes` syncs packaged AIWiki instructions into supported local assistant environments, and `aiwiki agent sync --path "<workspace>" --yes` writes workspace guidance so assistants entering the knowledge base use AIWiki commands first.
262
225
 
263
- - Codex
264
- - Claude Code
265
- - QClaw
266
- - OpenClaw
226
+ See [Agent Handoff](docs/AGENT_HANDOFF.md) for the full command-first contract.
267
227
 
268
- Your assistant should run:
228
+ ## Obsidian and Dataview
269
229
 
270
- ```bash
271
- aiwiki agent sync --yes
272
- aiwiki agent sync --path "<workspace>" --yes
273
- aiwiki agent check --json
274
- aiwiki agent check --path "<workspace>" --json
275
- ```
230
+ AIWiki writes plain Markdown and frontmatter.
276
231
 
277
- For unsupported hosts, ask AIWiki to print the generic assistant protocol:
232
+ Obsidian is optional but useful as a viewing surface. Dataview is an optional dashboard enhancement.
278
233
 
279
- ```bash
280
- aiwiki prompt agent
281
- ```
234
+ AIWiki does not require Obsidian, does not auto-install Dataview, and does not edit `.obsidian`.
282
235
 
283
- `npm install` does not silently modify assistant configuration. Sync is explicit, idempotent, and backs up changed installed skill files before overwrite.
236
+ Review Queue is not the main workflow. AIWiki creates Wiki entries first, then uses lint and assistant workflows to keep the workspace clean.
284
237
 
285
- After syncing, restart or reload the assistant if needed.
238
+ ## Security and Privacy
286
239
 
287
- ## Obsidian and Dataview
240
+ - AIWiki writes local Markdown and JSON files.
241
+ - AIWiki does not upload your knowledge base.
242
+ - AIWiki does not include a built-in LLM.
243
+ - AIWiki does not crawl the web by itself.
244
+ - `npm install` does not modify assistant configuration.
245
+ - Agent integration is explicit through `aiwiki agent sync`.
288
246
 
289
- AIWiki writes plain Markdown and frontmatter.
247
+ ## Current Status
290
248
 
291
- Obsidian is optional but useful as a viewing surface. Dataview is an optional dashboard enhancement.
249
+ AIWiki currently focuses on:
292
250
 
293
- AIWiki does not require Obsidian, does not auto-install Dataview, and does not edit `.obsidian`.
251
+ - one local AIWiki knowledge base
252
+ - local Markdown and frontmatter retrieval
253
+ - assistant-driven ingest
254
+ - Source Cards and Wiki Entries
255
+ - `context`, `query`, `lint`, `status`, and `doctor` workflows
294
256
 
295
- Review Queue is not the main workflow. AIWiki creates Wiki entries first, then uses lint and assistant workflows to keep the workspace clean.
257
+ Semantic search, vector indexing, browser clipping, RSS collection, and enterprise permissions are intentionally out of scope for now.
296
258
 
297
259
  ## Boundaries
298
260
 
@@ -317,9 +279,10 @@ AIWiki is developed by iTradingAI.
317
279
 
318
280
  For Chinese users, scan the QR codes below to join the WeChat group or follow the official account.
319
281
 
320
- | WeChat Group | Official Account |
321
- | --- | --- |
322
- | ![Join WeChat group](https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/join-group.png) | ![WeChat official account](https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/wechat-official-account.png) |
282
+ <p>
283
+ <img src="https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/join-group.png" alt="Join WeChat group" width="220" />
284
+ <img src="https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/wechat-official-account.png" alt="WeChat official account" width="220" />
285
+ </p>
323
286
 
324
287
  ## Documentation
325
288
 
package/README.zh-CN.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/aiwiki-hero.png" alt="AIWiki" width="100%" />
2
+ <img src="https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/aiwiki-hero.zh-CN.png" alt="AIWiki" width="100%" />
3
3
  </p>
4
4
 
5
5
  <p align="center">
@@ -24,7 +24,7 @@ AIWiki 是给 AI 助手使用的本地 Markdown 知识库。
24
24
 
25
25
  ## 快速开始
26
26
 
27
- 先选一个本地文件夹作为 AIWiki 知识库。示例:
27
+ 1. 先选一个本地文件夹作为 AIWiki 知识库。示例:
28
28
 
29
29
  ```text
30
30
  Windows: D:\AIWiki
@@ -32,7 +32,9 @@ macOS/Linux: ~/AIWiki
32
32
  项目内测试: ./aiwiki-test
33
33
  ```
34
34
 
35
- 把下面这段复制给 Codex、Claude Code、QClaw、OpenClaw 或其他本地 AI 编程助手:
35
+ 2. 把下面这段复制给 Codex、Claude Code、QClaw、OpenClaw 或其他本地 AI 编程助手:
36
+
37
+ 发送前,请把所有 `<替换成我的 AIWiki 知识库路径>` 替换成你自己的本地文件夹路径,例如 `D:\AIWiki` 或 `~/AIWiki`。不要把这个占位符原样留在命令里。
36
38
 
37
39
  ```text
38
40
  请帮我安装并配置 AIWiki。
@@ -44,6 +46,8 @@ macOS/Linux: ~/AIWiki
44
46
 
45
47
  <替换成我的 AIWiki 知识库路径>
46
48
 
49
+ 运行命令前,请把下面所有 `<替换成我的 AIWiki 知识库路径>` 替换成我的真实本地文件夹路径。如果我没有替换,占位符仍然原样存在,请停止并向我询问真实路径。
50
+
47
51
  请运行这些命令:
48
52
 
49
53
  npm install -g @itradingai/aiwiki@latest
@@ -64,25 +68,14 @@ aiwiki status --path "<替换成我的 AIWiki 知识库路径>"
64
68
  5. 下一步应该怎么用
65
69
  ```
66
70
 
67
- AIWiki 有两层接入:
68
-
69
- - `aiwiki agent sync --yes`:把 AIWiki 的 skill / command 同步到本机支持的 AI 助手环境。
70
- - `aiwiki agent sync --path "<workspace>" --yes`:在知识库根目录写入指导,让以后进入这个目录的 Agent 也知道要优先使用 `aiwiki` 命令。
71
-
72
- 同步后,如果助手没有立刻识别 AIWiki,需要重启或重新加载助手。
71
+ 3. 如有需要,重启或重新加载你的 AI 助手。
73
72
 
74
- ### 安装成功后应该看到什么
75
-
76
- 完成后,AI 助手应该能确认:
77
-
78
- - `aiwiki` 已安装,并能输出版本号
79
- - 知识库路径已经创建,并通过 `aiwiki doctor`
80
- - Agent 接入状态是 `installed`、`updated` 或 `current`
81
- - `aiwiki agent sync --path` 已经写入知识库根指导
82
- - `aiwiki status` 能返回当前知识库状态和下一步动作
73
+ 如果 Agent 同步失败,可以提交 [Agent Integration issue](https://github.com/iTradingAI/aiwiki/issues/new?template=agent_integration.md),并附上 `aiwiki agent check --json` 和 `aiwiki doctor --path "<workspace>"` 的输出。
83
74
 
84
75
  ## 第一次使用
85
76
 
77
+ 第一次试用 AIWiki,建议先按 [使用指南](docs/USAGE.zh-CN.md#3-入库资料) 里的短路径跑一遍。
78
+
86
79
  ### 入库资料
87
80
 
88
81
  对 AI 助手说:
@@ -135,12 +128,7 @@ aiwiki query "<主题>"
135
128
  aiwiki lint --json
136
129
  ```
137
130
 
138
- 如果只包含安全修复,并且你允许整理,可以继续调用:
139
-
140
- ```bash
141
- aiwiki lint --fix-empty-dirs --json
142
- aiwiki lint --json
143
- ```
131
+ 如果你想让助手进一步整理知识库,可以参考 [使用指南](docs/USAGE.zh-CN.md) 里的检查流程。
144
132
 
145
133
  ## AIWiki 会生成什么
146
134
 
@@ -183,9 +171,10 @@ AIWiki 的作用是让 AI 助手把读过的资料整理成本地 Markdown 知
183
171
 
184
172
  ## 典型场景
185
173
 
186
- - **阅读时顺手沉淀资料**:把文章发给 AI 助手,让 AIWiki 生成资料卡、Wiki 条目和处理记录。
187
- - **为后续写作做准备**:当助手提供了足够结构化内容时,把观点、概念、选题和大纲素材一起沉淀下来。
188
- - **从自己的资料库里追问**:围绕某个主题提问,让助手先从 AIWiki 取回本地上下文,再组织回答。
174
+ - **建立个人研究 Wiki**:把文章、PDF、文件和笔记沉淀成本地 Markdown 知识库。
175
+ - **把有价值的阅读变成可复用想法**:沉淀概念、观点、选题、大纲和后续创作素材。
176
+ - **给 Codex、Claude Code 或 QClaw 一个稳定的本地知识层**:让助手回答前先查自己的 AIWiki
177
+ - **保留可追溯的知识链路**:Raw、Source Card、Wiki Entry 和运行记录都能回查。
189
178
 
190
179
  ## 工作原理
191
180
 
@@ -226,39 +215,38 @@ AIWiki 不是简单拼接两套方法。
226
215
 
227
216
  ## Agent 接入
228
217
 
229
- AIWiki 面向 AI 助手驱动的工作流。
218
+ AIWiki 面向 AI 助手驱动的工作流。`aiwiki agent sync --yes` 会把 AIWiki 的说明同步到支持的本地助手环境;`aiwiki agent sync --path "<workspace>" --yes` 会在知识库根目录写入指导,让进入该目录的助手优先使用 AIWiki 命令。
230
219
 
231
- 目前支持自动同步的本地助手目标包括:
220
+ 完整的命令优先协作约定见 [Agent 接入说明](docs/AGENT_HANDOFF.zh-CN.md)。
232
221
 
233
- - Codex
234
- - Claude Code
235
- - QClaw
236
- - OpenClaw
222
+ ## Obsidian / Dataview
237
223
 
238
- AI 助手运行:
224
+ AIWiki 写的是普通 Markdown 和 frontmatter。
239
225
 
240
- ```bash
241
- aiwiki agent sync --yes
242
- aiwiki agent sync --path "<workspace>" --yes
243
- aiwiki agent check --json
244
- aiwiki agent check --path "<workspace>" --json
245
- ```
226
+ Obsidian 是推荐查看界面,但不是硬依赖。Dataview 是可选 dashboard 增强。
246
227
 
247
- 不支持自动写入的宿主,可以输出通用协议:
228
+ AIWiki 不会自动安装 Dataview,也不会修改 `.obsidian`。
248
229
 
249
- ```bash
250
- aiwiki prompt agent
251
- ```
230
+ ## 安全和隐私
252
231
 
253
- `npm install` 不会偷偷修改 AI 助手配置。同步是显式动作,可重复执行,并会在覆盖已变化的 skill 前创建备份。
232
+ - AIWiki 写入本地 Markdown JSON 文件。
233
+ - AIWiki 不会上传你的知识库。
234
+ - AIWiki 不内置 LLM。
235
+ - AIWiki 不会自行爬取网页。
236
+ - `npm install` 不会修改 AI 助手配置。
237
+ - Agent 接入需要显式运行 `aiwiki agent sync`。
254
238
 
255
- ## Obsidian / Dataview
239
+ ## 当前状态
256
240
 
257
- AIWiki 写的是普通 Markdown 和 frontmatter。
241
+ AIWiki 当前聚焦于:
258
242
 
259
- Obsidian 是推荐查看界面,但不是硬依赖。Dataview 是可选 dashboard 增强。
243
+ - 单个本地 AIWiki 知识库
244
+ - 本地 Markdown 和 frontmatter 检索
245
+ - AI 助手驱动的入库流程
246
+ - Source Card 和 Wiki Entry
247
+ - `context`、`query`、`lint`、`status`、`doctor` 等工作流
260
248
 
261
- AIWiki 不会自动安装 Dataview,也不会修改 `.obsidian`。
249
+ 语义搜索、向量索引、浏览器剪藏、RSS 采集和企业权限管理目前都不在当前范围内。
262
250
 
263
251
  ## 设计边界
264
252
 
@@ -283,9 +271,10 @@ AIWiki 由 iTradingAI 开源维护。
283
271
 
284
272
  中文用户可以扫码加入交流群,或关注公众号获取更新、案例和使用讨论。
285
273
 
286
- | 微信交流群 | 公众号 |
287
- | --- | --- |
288
- | ![加入微信群](https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/join-group.png) | ![微信公众号](https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/wechat-official-account.png) |
274
+ <p>
275
+ <img src="https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/join-group.png" alt="加入微信群" width="220" />
276
+ <img src="https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/wechat-official-account.png" alt="微信公众号" width="220" />
277
+ </p>
289
278
 
290
279
  ## 文档
291
280
 
package/docs/USAGE.md CHANGED
@@ -17,6 +17,8 @@ AIWiki does not fetch webpages and does not call an LLM. The host assistant read
17
17
 
18
18
  Copy this prompt into your assistant:
19
19
 
20
+ Before sending it, replace every `<replace-with-my-aiwiki-path>` with your own local folder path, such as `D:\AIWiki` or `~/AIWiki`. Do not leave the placeholder in the commands.
21
+
20
22
  ```text
21
23
  Please install and configure AIWiki for me.
22
24
 
@@ -27,6 +29,8 @@ Use this knowledge base path:
27
29
 
28
30
  <replace-with-my-aiwiki-path>
29
31
 
32
+ Replace every `<replace-with-my-aiwiki-path>` below with my own local folder path before running commands. If I left the placeholder unchanged, stop and ask me for the real path.
33
+
30
34
  Run these commands:
31
35
 
32
36
  npm install -g @itradingai/aiwiki@latest
@@ -17,6 +17,8 @@ AIWiki 不抓网页,也不调用 LLM。宿主 AI 助手负责读取和理解
17
17
 
18
18
  复制这段给你的 AI 助手:
19
19
 
20
+ 发送前,请把所有 `<替换成我的 AIWiki 知识库路径>` 替换成你自己的本地文件夹路径,例如 `D:\AIWiki` 或 `~/AIWiki`。不要把这个占位符原样留在命令里。
21
+
20
22
  ```text
21
23
  请帮我安装并配置 AIWiki。
22
24
 
@@ -27,6 +29,8 @@ AIWiki 不抓网页,也不调用 LLM。宿主 AI 助手负责读取和理解
27
29
 
28
30
  <替换成我的 AIWiki 知识库路径>
29
31
 
32
+ 运行命令前,请把下面所有 `<替换成我的 AIWiki 知识库路径>` 替换成我的真实本地文件夹路径。如果我没有替换,占位符仍然原样存在,请停止并向我询问真实路径。
33
+
30
34
  请运行这些命令:
31
35
 
32
36
  npm install -g @itradingai/aiwiki@latest
@@ -2,6 +2,71 @@
2
2
 
3
3
  This log records queue-driven AIWiki development milestones that should remain visible to future maintainers, not only in automation chat history.
4
4
 
5
+ ## 2026-06-11 - Repository trust and README P0/P1 polish
6
+
7
+ Status: implemented and locally verified. Demo GIF recording is intentionally deferred until the P0/P1 documentation and repository trust pass is complete.
8
+
9
+ ### Goal
10
+
11
+ Close the high-priority public-facing issues identified after the README rewrite:
12
+
13
+ - keep GitHub About, npm metadata, and README positioning aligned;
14
+ - make README shorter and push detailed procedures into docs;
15
+ - document security and privacy boundaries;
16
+ - add CI coverage for build, test, and package inspection;
17
+ - make Agent sync failure reporting easier;
18
+ - keep WeChat community entry visible without overwhelming the README.
19
+
20
+ ### Implemented
21
+
22
+ - Compressed the English and Chinese README quick-start flows around the assistant-driven install prompt.
23
+ - Moved detailed first-use, lint, and trial-route guidance toward the usage guides.
24
+ - Added Agent sync failure issue guidance with `agent check` and `doctor` evidence.
25
+ - Added Security and Privacy and Current Status sections in both README files.
26
+ - Refined practical scenarios around research, reusable ideas, assistant context, and traceability.
27
+ - Reduced community QR display size while keeping the WeChat group and official account visible.
28
+ - Clarified that `<replace-with-my-aiwiki-path>` and `<替换成我的 AIWiki 知识库路径>` are placeholders users must replace with their own local folder path before running commands.
29
+ - Added `.github/workflows/ci.yml` to run build, tests, and `npm pack --dry-run` on Node 20, 22, and 24.
30
+ - Fixed the npm test runner command so CI does not depend on shell glob expansion or newer Node test-runner glob behavior.
31
+
32
+ ### Verification
33
+
34
+ - Local README/doc link check: passed, `broken links: 0`.
35
+ - `npm run release:check`: passed, 61 tests.
36
+ - `npm pack --dry-run --json`: passed for `@itradingai/aiwiki@0.2.22`, 90 files, package size approximately 106 kB.
37
+ - Pack inspection confirmed `docs/assets`, `aiwiki-hero`, `aiwiki-logo`, `join-group`, and `wechat-official-account` are still excluded from the npm tarball.
38
+ - GitHub About description was updated to match npm/README positioning.
39
+ - Initial CI run exposed Node 20 incompatibility in the quoted test glob; the test helper was added, and the follow-up GitHub Actions CI run passed on Node 20, 22, and 24.
40
+
41
+ ## 2026-06-11 - README hero and logo asset refresh
42
+
43
+ Status: implemented and locally verified. This pass targets GitHub raw image delivery only; no npm publication.
44
+
45
+ ### Goal
46
+
47
+ Replace the older README hero visual with gpt-image-2 generated brand assets that better match the current AIWiki positioning:
48
+
49
+ - golden angular AIWiki logo with a four-point star in the center;
50
+ - clear source inputs: Web link, PDF, and Notes;
51
+ - assistant-driven reading and understanding;
52
+ - AIWiki writing structured Markdown;
53
+ - local Markdown knowledge vault and later `aiwiki context` retrieval;
54
+ - separate English and Chinese README hero images.
55
+
56
+ ### Implemented
57
+
58
+ - Replaced `docs/assets/aiwiki-hero.png` with the English gpt-image-2 generated hero.
59
+ - Added `docs/assets/aiwiki-hero.zh-CN.png` as the Chinese gpt-image-2 generated hero.
60
+ - Added `docs/assets/aiwiki-logo.png` cropped from the gpt-image-2 generated English hero for future brand reuse.
61
+ - Updated `README.zh-CN.md` to use the Chinese raw GitHub hero URL: `docs/assets/aiwiki-hero.zh-CN.png`.
62
+ - Kept README images out of the npm package; README files reference GitHub raw URLs instead.
63
+
64
+ ### Verification
65
+
66
+ - Local README/doc link check: passed, `broken links: 0`.
67
+ - `npm run release:check`: passed, 61 tests.
68
+ - `npm pack --dry-run`: passed for `@itradingai/aiwiki@0.2.22`; confirmed `docs/assets`, `aiwiki-hero`, `aiwiki-logo`, `join-group`, and `wechat-official-account` were not included in the npm tarball.
69
+
5
70
  ## 2026-06-11 - Public trial path and feedback loop
6
71
 
7
72
  Status: implemented and locally verified. Pre-delivery remote tarball smoke, GitHub push, Trusted Publishing, registry verification, and post-publish remote sanity are required before queue completion.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itradingai/aiwiki",
3
- "version": "0.2.22",
3
+ "version": "0.2.23",
4
4
  "type": "module",
5
5
  "description": "Local Markdown knowledge base for AI assistants. Save what your AI reads, ask it later, and keep everything local.",
6
6
  "license": "MIT",
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "scripts": {
69
69
  "build": "tsc -p tsconfig.json",
70
- "test": "npm run build && node --test \"dist/tests/*.test.js\"",
70
+ "test": "npm run build && node scripts/run-tests.mjs",
71
71
  "check": "npm run test",
72
72
  "release:check": "npm test && node scripts/release-check.mjs",
73
73
  "prepack": "npm run build"