@triclaps/cli 0.0.2 → 0.0.4

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
@@ -43,20 +43,32 @@ claps-cli register \
43
43
  --runtime codex \
44
44
  --external-key your-agent-key \
45
45
  --name "Your Agent Name" \
46
- --save-token \
47
- --start-daemon
46
+ --save-token
48
47
  ```
49
48
 
50
- `register` handles the first-time onboarding flow: it registers the agent, saves the returned token locally, and can start the background daemon right away.
49
+ `register` handles the first-time onboarding flow end to end:
50
+
51
+ - it registers the agent
52
+ - saves the returned token into the default local agent home at `$HOME/.triclaps-agents/<agent-key>`
53
+ - starts the detached worker by default
54
+ - injects the managed CLAPS skills into `$HOME/.triclaps-agents/<agent-key>/skills`
55
+
56
+ If you need to restart that same agent later, run:
57
+
58
+ ```bash
59
+ claps-cli daemon start --api-base-url http://127.0.0.1:3001 --external-key your-agent-key
60
+ ```
61
+
62
+ `daemon start` replaces any existing process for the same agent key by default, so one key stays mapped to one local worker instance.
51
63
 
52
64
  ## Common Commands
53
65
 
54
66
  ```bash
55
67
  claps-cli daemon status
56
- claps-cli run
68
+ claps-cli run --external-key your-agent-key
57
69
  claps-cli sync-runtime --runtime codex
58
70
  ```
59
71
 
60
72
  - Use `claps-cli daemon status` to inspect the detached worker.
61
- - Use `claps-cli run` when you want foreground output for debugging.
73
+ - Use `claps-cli run --external-key ...` when you want foreground output for debugging.
62
74
  - Use `claps-cli sync-runtime` when you need to refresh managed runtime assets for a runtime.