@itradingai/aiwiki 0.2.21 → 0.2.22
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 +245 -176
- package/README.zh-CN.md +323 -0
- package/docs/AGENT_HANDOFF.md +115 -185
- package/docs/AGENT_HANDOFF.zh-CN.md +150 -0
- package/docs/FAQ.md +73 -49
- package/docs/FAQ.zh-CN.md +103 -0
- package/docs/README.md +34 -23
- package/docs/README.zh-CN.md +34 -0
- package/docs/RELEASE.md +46 -16
- package/docs/RELEASE.zh-CN.md +84 -0
- package/docs/ROADMAP.md +51 -29
- package/docs/ROADMAP.zh-CN.md +65 -0
- package/docs/SHOWCASE.md +59 -45
- package/docs/SHOWCASE.zh-CN.md +81 -0
- package/docs/TRIAL_FEEDBACK_TEMPLATE.md +49 -0
- package/docs/USAGE.md +172 -364
- package/docs/USAGE.zh-CN.md +243 -0
- package/docs/development-log.md +80 -0
- package/package.json +11 -2
- package/skill/SKILL.md +6 -2
package/README.md
CHANGED
|
@@ -1,291 +1,360 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/aiwiki-hero.png" alt="AIWiki" width="100%" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="./README.zh-CN.md">Chinese</a> |
|
|
7
|
+
<a href="./docs/README.md">Docs</a> |
|
|
8
|
+
<a href="./docs/USAGE.md">Usage</a> |
|
|
9
|
+
<a href="./docs/FAQ.md">FAQ</a> |
|
|
10
|
+
<a href="https://www.npmjs.com/package/@itradingai/aiwiki">npm</a>
|
|
11
|
+
</p>
|
|
2
12
|
|
|
3
13
|
# AIWiki
|
|
4
14
|
|
|
5
|
-
|
|
15
|
+
[](https://www.npmjs.com/package/@itradingai/aiwiki)
|
|
16
|
+
[](https://nodejs.org/)
|
|
17
|
+
[](LICENSE)
|
|
6
18
|
|
|
7
|
-
|
|
19
|
+
**Save what your AI reads. Ask it later. Keep everything local.**
|
|
8
20
|
|
|
9
|
-
|
|
21
|
+
AIWiki is a local Markdown knowledge base for AI assistants.
|
|
10
22
|
|
|
11
|
-
|
|
23
|
+
Give your AI assistant a URL, article, file, or note. The assistant reads and understands it. AIWiki turns the result into structured, traceable, reusable Markdown knowledge files.
|
|
12
24
|
|
|
13
|
-
|
|
14
|
-
- AI 总结过一次内容,但没有沉淀成可查询的知识条目。
|
|
15
|
-
- 想把资料卡、选题、大纲、Wiki 条目放进同一个本地知识库。
|
|
16
|
-
- 想让 Agent 负责理解内容,让 CLI 负责稳定落盘和追踪。
|
|
25
|
+
Use it to build a local AI knowledge base that can be queried, checked, maintained, and reused later.
|
|
17
26
|
|
|
18
|
-
##
|
|
27
|
+
## Quick Start
|
|
19
28
|
|
|
20
|
-
|
|
29
|
+
Ask your AI assistant to install and configure AIWiki.
|
|
30
|
+
|
|
31
|
+
Choose a local folder for your knowledge base. Examples:
|
|
21
32
|
|
|
22
33
|
```text
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-> AIWiki 写入 Raw / Source Card / Wiki Entry / Run Summary;有明确内容或请求时再写 Claim / Topic / Outline / Asset
|
|
34
|
+
Windows: D:\AIWiki
|
|
35
|
+
macOS/Linux: ~/AIWiki
|
|
36
|
+
Project test: ./aiwiki-test
|
|
27
37
|
```
|
|
28
38
|
|
|
29
|
-
|
|
39
|
+
Copy this prompt into Codex, Claude Code, QClaw, OpenClaw, or another local coding assistant:
|
|
30
40
|
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
aiwiki query "AI Agent 出海机会"
|
|
34
|
-
```
|
|
41
|
+
```text
|
|
42
|
+
Please install and configure AIWiki for me.
|
|
35
43
|
|
|
36
|
-
|
|
44
|
+
First check that Node.js is installed and that node --version is >=20.
|
|
45
|
+
If Node.js is missing or older than 20, stop and tell me how to upgrade before running npm install.
|
|
37
46
|
|
|
38
|
-
|
|
47
|
+
Use this knowledge base path:
|
|
39
48
|
|
|
40
|
-
|
|
41
|
-
|
|
49
|
+
<replace-with-my-aiwiki-path>
|
|
50
|
+
|
|
51
|
+
Run these commands:
|
|
52
|
+
|
|
53
|
+
npm install -g @itradingai/aiwiki@latest
|
|
54
|
+
aiwiki setup --path "<replace-with-my-aiwiki-path>" --yes
|
|
55
|
+
aiwiki agent sync --yes
|
|
56
|
+
aiwiki agent sync --path "<replace-with-my-aiwiki-path>" --yes
|
|
57
|
+
aiwiki agent check --json
|
|
58
|
+
aiwiki agent check --path "<replace-with-my-aiwiki-path>" --json
|
|
59
|
+
aiwiki doctor --path "<replace-with-my-aiwiki-path>"
|
|
60
|
+
aiwiki status --path "<replace-with-my-aiwiki-path>"
|
|
61
|
+
|
|
62
|
+
Then tell me:
|
|
63
|
+
|
|
64
|
+
1. whether AIWiki was installed successfully
|
|
65
|
+
2. which assistant targets were synced
|
|
66
|
+
3. whether workspace guidance was written
|
|
67
|
+
4. whether I need to restart or reload my assistant
|
|
68
|
+
5. what I should do next
|
|
42
69
|
```
|
|
43
70
|
|
|
44
|
-
|
|
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.
|
|
45
77
|
|
|
46
|
-
|
|
78
|
+
### Expected result
|
|
47
79
|
|
|
48
|
-
|
|
80
|
+
After setup, your assistant should be able to confirm:
|
|
49
81
|
|
|
50
|
-
- `
|
|
51
|
-
- `
|
|
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
|
|
52
87
|
|
|
53
|
-
|
|
88
|
+
## First Use
|
|
54
89
|
|
|
55
|
-
|
|
90
|
+
### 10-minute public trial path
|
|
56
91
|
|
|
57
|
-
|
|
92
|
+
Use this path when you are trying AIWiki for the first time:
|
|
58
93
|
|
|
59
|
-
|
|
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.
|
|
102
|
+
|
|
103
|
+
### Ingest a source
|
|
104
|
+
|
|
105
|
+
Tell your assistant:
|
|
60
106
|
|
|
61
107
|
```text
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
我的知识库路径:F:\knowledges
|
|
65
|
-
|
|
66
|
-
请检查 Node.js >=20,执行 aiwiki setup --path "我的知识库路径" --yes,
|
|
67
|
-
然后运行 aiwiki agent sync --yes、aiwiki agent check --json、
|
|
68
|
-
aiwiki agent sync --path "我的知识库路径" --yes 和 aiwiki agent check --path "我的知识库路径" --json,
|
|
69
|
-
完成宿主 Agent 与知识库根指导对接。
|
|
70
|
-
最后执行 aiwiki doctor 和 aiwiki status,告诉我实际执行了哪些命令和还差什么手动步骤。
|
|
108
|
+
Ingest this into AIWiki:
|
|
109
|
+
<url>
|
|
71
110
|
```
|
|
72
111
|
|
|
73
|
-
|
|
112
|
+
Or:
|
|
74
113
|
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
aiwiki agent check --json
|
|
114
|
+
```text
|
|
115
|
+
Save this note into AIWiki:
|
|
116
|
+
<paste your note here>
|
|
79
117
|
```
|
|
80
118
|
|
|
81
|
-
|
|
119
|
+
The assistant reads the source and calls AIWiki to write the result into your local knowledge base.
|
|
82
120
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
121
|
+
### Ask your knowledge base
|
|
122
|
+
|
|
123
|
+
Tell your assistant:
|
|
124
|
+
|
|
125
|
+
```text
|
|
126
|
+
What does AIWiki know about <topic>?
|
|
88
127
|
```
|
|
89
128
|
|
|
90
|
-
|
|
129
|
+
The assistant should call:
|
|
91
130
|
|
|
92
131
|
```bash
|
|
93
|
-
aiwiki
|
|
132
|
+
aiwiki context "<topic>"
|
|
94
133
|
```
|
|
95
134
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
对宿主 Agent 发送:
|
|
135
|
+
For direct terminal output, use:
|
|
99
136
|
|
|
100
|
-
```
|
|
101
|
-
|
|
137
|
+
```bash
|
|
138
|
+
aiwiki query "<topic>"
|
|
102
139
|
```
|
|
103
140
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
### 第四步:从知识库提问
|
|
141
|
+
### Check your workspace
|
|
107
142
|
|
|
108
|
-
|
|
143
|
+
Tell your assistant:
|
|
109
144
|
|
|
110
145
|
```text
|
|
111
|
-
|
|
146
|
+
Check and organize my AIWiki workspace.
|
|
112
147
|
```
|
|
113
148
|
|
|
114
|
-
|
|
149
|
+
The assistant should call:
|
|
115
150
|
|
|
116
151
|
```bash
|
|
117
|
-
aiwiki
|
|
152
|
+
aiwiki lint --json
|
|
118
153
|
```
|
|
119
154
|
|
|
120
|
-
|
|
155
|
+
When only safe fixes are reported and you allow cleanup, the assistant may run:
|
|
121
156
|
|
|
122
157
|
```bash
|
|
123
|
-
aiwiki
|
|
158
|
+
aiwiki lint --fix-empty-dirs --json
|
|
159
|
+
aiwiki lint --json
|
|
124
160
|
```
|
|
125
161
|
|
|
126
|
-
## AIWiki
|
|
162
|
+
## What AIWiki Creates
|
|
127
163
|
|
|
128
|
-
|
|
164
|
+
A successful ingest creates a traceable knowledge package:
|
|
129
165
|
|
|
130
166
|
```text
|
|
131
|
-
02-raw/articles/
|
|
132
|
-
03-sources/article-cards/
|
|
133
|
-
05-wiki/source-knowledge/
|
|
134
|
-
09-runs/<run-id>/
|
|
167
|
+
02-raw/articles/ Raw source record
|
|
168
|
+
03-sources/article-cards/ Source card
|
|
169
|
+
05-wiki/source-knowledge/ Reusable wiki entry
|
|
170
|
+
09-runs/<run-id>/ Processing record
|
|
135
171
|
```
|
|
136
172
|
|
|
137
|
-
|
|
173
|
+
Optional files may also be created when the assistant provides enough structured content:
|
|
138
174
|
|
|
139
|
-
|
|
175
|
+
```text
|
|
176
|
+
04-claims/_suggestions/ Claim candidates
|
|
177
|
+
06-assets/_suggestions/ Reusable ideas or writing assets
|
|
178
|
+
07-topics/ready/ Topic candidates
|
|
179
|
+
08-outputs/outlines/ Draft outlines
|
|
180
|
+
```
|
|
140
181
|
|
|
141
|
-
|
|
182
|
+
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.
|
|
142
183
|
|
|
143
|
-
|
|
184
|
+
A successful first run should leave you with:
|
|
144
185
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
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
|
+
See:
|
|
153
194
|
|
|
154
|
-
|
|
195
|
+
- [`examples/demo-run/`](examples/demo-run/)
|
|
196
|
+
- [`examples/obsidian-vault-sample/`](examples/obsidian-vault-sample/)
|
|
155
197
|
|
|
156
|
-
|
|
198
|
+
## Why AIWiki
|
|
157
199
|
|
|
158
|
-
|
|
200
|
+
Most useful information dies in one of three places:
|
|
159
201
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
202
|
+
- bookmarks you never reopen
|
|
203
|
+
- chat summaries you cannot reuse
|
|
204
|
+
- notes that never become output
|
|
205
|
+
|
|
206
|
+
AIWiki helps your assistant turn reading into a durable local knowledge base.
|
|
207
|
+
|
|
208
|
+
Instead of saving links and losing context, you get Markdown files that your assistant can query, maintain, and reuse later.
|
|
209
|
+
|
|
210
|
+
## Practical Scenarios
|
|
211
|
+
|
|
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.
|
|
215
|
+
|
|
216
|
+
## How It Works
|
|
217
|
+
|
|
218
|
+
```text
|
|
219
|
+
User gives a URL, file, note, or text
|
|
220
|
+
-> AI assistant reads and understands it
|
|
221
|
+
-> AIWiki writes structured Markdown files
|
|
222
|
+
-> Assistant retrieves context later with aiwiki context
|
|
223
|
+
-> AIWiki lint checks structure and consistency
|
|
167
224
|
```
|
|
168
225
|
|
|
169
|
-
AIWiki
|
|
226
|
+
AIWiki separates responsibilities:
|
|
170
227
|
|
|
171
|
-
|
|
228
|
+
- the assistant reads and understands sources
|
|
229
|
+
- AIWiki writes, links, queries, and checks the local knowledge base
|
|
230
|
+
- Markdown remains inspectable, editable, portable, and versionable
|
|
172
231
|
|
|
173
|
-
AIWiki
|
|
232
|
+
Technically, AIWiki is Agent-first: the host assistant reads and understands sources; AIWiki writes, links, queries, and checks the local Markdown knowledge base.
|
|
174
233
|
|
|
175
|
-
|
|
176
|
-
- 写入本地 Markdown。
|
|
177
|
-
- 生成 frontmatter、wikilink、处理记录。
|
|
178
|
-
- 生成 Wiki Entry 容器。
|
|
179
|
-
- 支持 `context`、`query`、`next` 和 `lint`。
|
|
234
|
+
## Inspired By
|
|
180
235
|
|
|
181
|
-
AIWiki
|
|
236
|
+
AIWiki is inspired by two useful ideas:
|
|
182
237
|
|
|
183
|
-
-
|
|
184
|
-
-
|
|
185
|
-
- 伪造浏览器头。
|
|
186
|
-
- 浏览器插件。
|
|
187
|
-
- CLI 内置 LLM。
|
|
188
|
-
- 自动高质量总结。
|
|
189
|
-
- 默认人工审核流程。
|
|
190
|
-
- 企业级 RBAC。
|
|
191
|
-
- 多知识库。
|
|
192
|
-
- 批量采集 / 定时采集 / RSS。
|
|
238
|
+
- **LLM Wiki**, popularized by Andrej Karpathy: compile sources into a persistent, maintainable wiki instead of rediscovering knowledge from raw documents every time.
|
|
239
|
+
- **Content workflow thinking**, seen in creator systems such as Dan Koe's: useful ideas should become reusable building blocks for topics, outlines, writing, and future work.
|
|
193
240
|
|
|
194
|
-
|
|
241
|
+
AIWiki does not simply copy either approach.
|
|
195
242
|
|
|
196
|
-
|
|
243
|
+
It turns them into a practical assistant-driven workflow:
|
|
197
244
|
|
|
198
|
-
|
|
245
|
+
```text
|
|
246
|
+
source
|
|
247
|
+
-> source card
|
|
248
|
+
-> wiki entry
|
|
249
|
+
-> reusable assets
|
|
250
|
+
-> topics
|
|
251
|
+
-> outlines
|
|
252
|
+
-> future work
|
|
253
|
+
```
|
|
199
254
|
|
|
200
|
-
|
|
255
|
+
The goal is simple: make what your assistant reads useful again later.
|
|
201
256
|
|
|
202
|
-
##
|
|
257
|
+
## Agent Integration
|
|
203
258
|
|
|
204
|
-
|
|
259
|
+
AIWiki is built for assistant-driven workflows.
|
|
205
260
|
|
|
206
|
-
|
|
261
|
+
Supported local assistant targets may include:
|
|
207
262
|
|
|
208
|
-
|
|
263
|
+
- Codex
|
|
264
|
+
- Claude Code
|
|
265
|
+
- QClaw
|
|
266
|
+
- OpenClaw
|
|
209
267
|
|
|
210
|
-
|
|
268
|
+
Your assistant should run:
|
|
211
269
|
|
|
212
|
-
|
|
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
|
+
```
|
|
213
276
|
|
|
214
|
-
|
|
277
|
+
For unsupported hosts, ask AIWiki to print the generic assistant protocol:
|
|
215
278
|
|
|
216
|
-
|
|
279
|
+
```bash
|
|
280
|
+
aiwiki prompt agent
|
|
281
|
+
```
|
|
217
282
|
|
|
218
|
-
`
|
|
283
|
+
`npm install` does not silently modify assistant configuration. Sync is explicit, idempotent, and backs up changed installed skill files before overwrite.
|
|
219
284
|
|
|
220
|
-
|
|
285
|
+
After syncing, restart or reload the assistant if needed.
|
|
221
286
|
|
|
222
|
-
|
|
287
|
+
## Obsidian and Dataview
|
|
223
288
|
|
|
224
|
-
|
|
289
|
+
AIWiki writes plain Markdown and frontmatter.
|
|
225
290
|
|
|
226
|
-
|
|
291
|
+
Obsidian is optional but useful as a viewing surface. Dataview is an optional dashboard enhancement.
|
|
227
292
|
|
|
228
|
-
|
|
293
|
+
AIWiki does not require Obsidian, does not auto-install Dataview, and does not edit `.obsidian`.
|
|
229
294
|
|
|
230
|
-
|
|
231
|
-
- [docs/AGENT_HANDOFF.md](docs/AGENT_HANDOFF.md)
|
|
232
|
-
- [docs/FAQ.md](docs/FAQ.md)
|
|
233
|
-
- [docs/SHOWCASE.md](docs/SHOWCASE.md)
|
|
234
|
-
- [docs/ROADMAP.md](docs/ROADMAP.md)
|
|
235
|
-
- [docs/RELEASE.md](docs/RELEASE.md)
|
|
236
|
-
- [CONTRIBUTING.md](CONTRIBUTING.md)
|
|
237
|
-
- [SECURITY.md](SECURITY.md)
|
|
295
|
+
Review Queue is not the main workflow. AIWiki creates Wiki entries first, then uses lint and assistant workflows to keep the workspace clean.
|
|
238
296
|
|
|
239
|
-
##
|
|
297
|
+
## Boundaries
|
|
240
298
|
|
|
241
|
-
|
|
242
|
-
npm install
|
|
243
|
-
npm run build
|
|
244
|
-
npm test
|
|
245
|
-
npm link
|
|
246
|
-
aiwiki setup --path "F:\knowledge_data\aiwiki-test" --yes
|
|
247
|
-
aiwiki doctor
|
|
248
|
-
aiwiki ingest-agent --payload tests/fixtures/agent_payload.url.valid.json --path "F:\knowledge_data\aiwiki-test"
|
|
249
|
-
aiwiki context "AI Agent" --path "F:\knowledge_data\aiwiki-test"
|
|
250
|
-
aiwiki query "AI Agent" --path "F:\knowledge_data\aiwiki-test"
|
|
251
|
-
aiwiki next --path "F:\knowledge_data\aiwiki-test"
|
|
252
|
-
aiwiki lint --path "F:\knowledge_data\aiwiki-test"
|
|
253
|
-
```
|
|
299
|
+
AIWiki is not:
|
|
254
300
|
|
|
255
|
-
|
|
301
|
+
- a web crawler
|
|
302
|
+
- a WeChat reader
|
|
303
|
+
- a browser extension
|
|
304
|
+
- a built-in LLM
|
|
305
|
+
- a vector database
|
|
306
|
+
- a replacement for every RAG system
|
|
307
|
+
- an Obsidian plugin
|
|
308
|
+
- a default manual review queue
|
|
309
|
+
- a multi-knowledge-base manager
|
|
310
|
+
- an RSS or scheduled collection system
|
|
256
311
|
|
|
257
|
-
|
|
312
|
+
AIWiki receives content already read by your assistant and turns it into a local Markdown knowledge base.
|
|
258
313
|
|
|
259
|
-
##
|
|
314
|
+
## Community
|
|
260
315
|
|
|
261
|
-
AIWiki
|
|
316
|
+
AIWiki is developed by iTradingAI.
|
|
262
317
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
318
|
+
For Chinese users, scan the QR codes below to join the WeChat group or follow the official account.
|
|
319
|
+
|
|
320
|
+
| WeChat Group | Official Account |
|
|
321
|
+
| --- | --- |
|
|
322
|
+
|  |  |
|
|
267
323
|
|
|
268
|
-
|
|
324
|
+
## Documentation
|
|
269
325
|
|
|
270
|
-
|
|
326
|
+
- [Docs](docs/README.md)
|
|
327
|
+
- [Usage Guide](docs/USAGE.md)
|
|
328
|
+
- [Agent Handoff](docs/AGENT_HANDOFF.md)
|
|
329
|
+
- [FAQ](docs/FAQ.md)
|
|
330
|
+
- [Showcase](docs/SHOWCASE.md)
|
|
331
|
+
- [Trial Feedback Template](docs/TRIAL_FEEDBACK_TEMPLATE.md)
|
|
332
|
+
- [Roadmap](docs/ROADMAP.md)
|
|
333
|
+
- [Release Notes](docs/RELEASE.md)
|
|
271
334
|
|
|
272
|
-
|
|
335
|
+
## Development
|
|
273
336
|
|
|
274
|
-
|
|
337
|
+
For local development:
|
|
275
338
|
|
|
276
339
|
```bash
|
|
277
|
-
npm install
|
|
278
|
-
|
|
279
|
-
|
|
340
|
+
npm install
|
|
341
|
+
npm run build
|
|
342
|
+
npm test
|
|
343
|
+
npm link
|
|
280
344
|
```
|
|
281
345
|
|
|
282
|
-
|
|
346
|
+
Use a temporary workspace for local testing:
|
|
283
347
|
|
|
284
348
|
```bash
|
|
285
|
-
aiwiki
|
|
286
|
-
aiwiki
|
|
349
|
+
aiwiki setup --path "./aiwiki-test" --yes
|
|
350
|
+
aiwiki doctor --path "./aiwiki-test"
|
|
351
|
+
aiwiki status --path "./aiwiki-test"
|
|
352
|
+
aiwiki ingest-agent --payload tests/fixtures/agent_payload.url.valid.json --path "./aiwiki-test"
|
|
353
|
+
aiwiki context "AI Agent" --path "./aiwiki-test"
|
|
354
|
+
aiwiki query "AI Agent" --path "./aiwiki-test"
|
|
355
|
+
aiwiki lint --path "./aiwiki-test"
|
|
287
356
|
```
|
|
288
357
|
|
|
289
|
-
|
|
358
|
+
## License
|
|
290
359
|
|
|
291
|
-
|
|
360
|
+
MIT. See [LICENSE](LICENSE).
|