@hasna/knowledge 0.2.9 → 0.2.10
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 +5 -0
- package/bin/open-knowledge-mcp.js +1447 -34
- package/bin/open-knowledge.js +63 -63
- package/docs/architecture/ai-native-knowledge-base.md +4 -1
- package/package.json +2 -2
- package/src/cli.ts +18 -74
- package/src/mcp.js +5 -27
- package/src/service.ts +157 -0
package/README.md
CHANGED
|
@@ -11,6 +11,11 @@ engine for AI agents. It stores simple knowledge items today, creates a Hasna
|
|
|
11
11
|
project workspace under `.hasna/apps/knowledge`, initializes a versioned
|
|
12
12
|
`knowledge.db`, writes generated wiki artifacts, and exposes a stdio MCP server.
|
|
13
13
|
|
|
14
|
+
CLI and MCP workspace operations share a `KnowledgeService` facade for config,
|
|
15
|
+
safety policy, artifact storage, DB/wiki setup, source ingestion, source
|
|
16
|
+
resolution, and outbox consumption. That keeps local project mode and future
|
|
17
|
+
remote/S3-backed wrappers on the same service contracts.
|
|
18
|
+
|
|
14
19
|
## Install
|
|
15
20
|
|
|
16
21
|
```bash
|