feat(ai): package hello world client
This commit is contained in:
parent
8ae947ac3d
commit
66124153af
@ -12,6 +12,17 @@ CC Turtle
|
||||
└─ POST /session/:id/message → opencode serve
|
||||
```
|
||||
|
||||
## 0. Install TrapOS and the AI package
|
||||
|
||||
On a fresh CC computer (beta branch):
|
||||
|
||||
```
|
||||
wget run https://raw.githubusercontent.com/guillaumearm/cc-libs/next/install-ccpm.lua --beta
|
||||
ccpm update
|
||||
ccpm install trapos
|
||||
ccpm install tos-ai
|
||||
```
|
||||
|
||||
## 1. Start `opencode serve`
|
||||
|
||||
```bash
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
"tos-boot": "0.1.0",
|
||||
"tos-net": "0.1.0",
|
||||
"tos-ui": "0.1.0",
|
||||
"tos-ai": "0.1.0",
|
||||
"trapos": "0.4.0"
|
||||
}
|
||||
}
|
||||
|
||||
11
packages/tos-ai/ccpm.json
Normal file
11
packages/tos-ai/ccpm.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "tos-ai",
|
||||
"version": "0.1.0",
|
||||
"description": "TrapOS AI hello-world client (opencode proxy)",
|
||||
"dependencies": ["tos-core"],
|
||||
"files": [
|
||||
"apis/libaihelloworld.lua",
|
||||
"programs/ai-helloworld.lua"
|
||||
],
|
||||
"autostart": []
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user