@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 +26 -3
- package/dist/courier-entry.d.ts +3 -0
- package/dist/courier-entry.js +2096 -0
- package/dist/courier-entry.js.map +1 -0
- package/dist/index.js +52 -28
- package/dist/index.js.map +1 -1
- package/dist/legacy-entry.js +8 -0
- package/dist/legacy-entry.js.map +1 -1
- package/package.json +4 -2
- package/skills/courier/SKILL.md +164 -0
- package/skills/courier/release.json +16 -0
- package/skills/tc-cli/INSTALL.md +8 -6
- package/skills/tc-cli/REFERENCE.md +4 -0
- package/skills/tc-cli/SKILL.md +1 -1
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.
|
|
12
|
-
|
|
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
|
|
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
|