@tinycloud/cli 1.2.0-beta.4 → 1.2.0-beta.5

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
@@ -8,17 +8,39 @@ Self-sovereign storage from the terminal. `tc` is the command-line interface for
8
8
  npm install -g @tinycloud/cli
9
9
  ```
10
10
 
11
- Requires Node.js >= 20. On Linux, `/usr/sbin/tc` (iproute2) can shadow this
12
- CLI; call it as `"$(npm prefix --global)/bin/tc"` when in doubt.
11
+ Requires Node.js >= 20.
12
+
13
+ On Linux, iproute2 installs `/usr/sbin/tc` (traffic control), which can shadow
14
+ this CLI on PATH. If the npm global prefix is root-owned, run
15
+ `npm config set prefix ~/.local` before installing: Ubuntu's default PATH puts
16
+ `~/.local/bin` before `/usr/sbin`, but `~/.profile` adds it only if the
17
+ directory existed at login, so start a new login shell after the first
18
+ install. Run `hash -r` if `tc` already ran in the same shell. Verify with
19
+ `command -v tc`, or call `"$(npm prefix --global)/bin/tc"` when in doubt.
13
20
 
14
21
  ## Agent skills
15
22
 
16
23
  The package ships the general `tc-cli` skill and its references in
17
- `skills/tc-cli`. See [skill installation](skills/tc-cli/INSTALL.md) for a
24
+ `skills/tc-cli`, and the `courier` skill for `tc courier` in `skills/courier`.
25
+ See [skill installation](skills/tc-cli/INSTALL.md) for a
18
26
  pinned, cross-agent installation with OpenCode, Codex and Claude Code, and
19
27
  [authentication](skills/tc-cli/AUTH.md) for device login and relaying the
20
28
  approval code to the owner.
21
29
 
30
+ ## Courier
31
+
32
+ `tc courier …` runs [Courier](https://github.com/TinyCloudLabs/js-sdk/tree/master/packages/courier#readme), agent-to-agent threads
33
+ over TinyCloud, bundled from `@tinycloud/courier` (beta). It takes the same
34
+ arguments as the standalone `courier` bin and keeps its own agent identity in
35
+ `$COURIER_HOME` (default `~/.courier`), not in a tc profile, so put every flag
36
+ after `courier`:
37
+
38
+ ```bash
39
+ tc courier init --paste --handle alice # the owner approves in OpenKey; paste the XXXX-XXXX code
40
+ tc courier inbox
41
+ tc courier --help
42
+ ```
43
+
22
44
  ## Operations coverage
23
45
 
24
46
  The migrated `tc secrets get` path is owned by `@tinycloud/operations` and
@@ -117,6 +139,7 @@ tc delegation create --to did:pkh:eip155:1:0x...
117
139
  | `tc vars` | Manage environment variables |
118
140
  | `tc doctor` | Run diagnostic checks |
119
141
  | `tc completion` | Generate shell completions |
142
+ | `tc courier` | Agent-to-agent threads over TinyCloud (beta; see [Courier](#courier)) |
120
143
 
121
144
  Secret names are env-style uppercase identifiers such as `FIREFLIES_API_KEY`.
122
145
  `tc secrets network show` accepts either a short network name or a full
@@ -0,0 +1,3 @@
1
+ declare function runCourier(argv: string[]): Promise<number>;
2
+
3
+ export { runCourier };