Skip to content

Commit 3697e52

Browse files
committed
feat(cli): add ICP commands and scaffold
1 parent f895523 commit 3697e52

31 files changed

Lines changed: 3140 additions & 19 deletions

packages/cli/README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,24 @@ Indexes your configured content and outputs:
3636
dist/knowledge.knolo
3737
```
3838

39+
### ICP Canister Workflow
40+
41+
```bash
42+
knolo icp init ./icp-knowledge-canister
43+
cd ./icp-knowledge-canister
44+
dfx start --background
45+
dfx deploy
46+
knolo icp build-pack ./knowledge --out ./dist/knowledge.knolo
47+
knolo icp upload ./dist/knowledge.knolo --canister knolo_knowledge
48+
knolo icp query "alpha beta" --canister knolo_knowledge --k 5
49+
```
50+
51+
These commands stay local-first:
52+
53+
* No hosted service
54+
* No vector database
55+
* Lexical retrieval by default
56+
3957
---
4058

4159
## 📁 Expected Project Structure
@@ -122,4 +140,3 @@ This section is deterministic, offline-safe, and additive; runtimes that ignore
122140
## 📄 License
123141

124142
MIT
125-

0 commit comments

Comments
 (0)