@tinycloud/cli 0.9.1-beta.8 → 0.10.0
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 +8 -8
- package/dist/index.js +1355 -1302
- package/dist/index.js.map +1 -1
- package/dist/legacy-entry.js +697 -1416
- package/dist/legacy-entry.js.map +1 -1
- package/package.json +11 -7
- package/skills/tc-cli/AUTH.md +24 -0
- package/skills/tc-cli/INSTALL.md +26 -0
- package/skills/tc-cli/REFERENCE.md +166 -0
- package/skills/tc-cli/SDK.md +11 -0
- package/skills/tc-cli/SKILL.md +44 -0
- package/skills/tc-cli/release.json +16 -0
package/README.md
CHANGED
|
@@ -10,6 +10,14 @@ npm install -g @tinycloud/cli
|
|
|
10
10
|
|
|
11
11
|
Requires Node.js >= 20.
|
|
12
12
|
|
|
13
|
+
## Agent skills
|
|
14
|
+
|
|
15
|
+
The package includes the general `tc-cli` skill and its references. Follow [skill installation](skills/tc-cli/INSTALL.md) for a pinned, cross-agent installation with OpenCode, Codex and Claude Code, including updates and removal. The combined installation requires Node.js >=22.20.0.
|
|
16
|
+
|
|
17
|
+
For existing app data, initialize a separate local profile with `tc init --name PROFILE --host HOST --key-only`, then use `tc --profile PROFILE --host HOST auth login --method openkey --manifest FILE --expiry 7d`. Select the existing app's signing identity in OpenKey. See [scoped authentication](skills/tc-cli/AUTH.md); ordinary login without a manifest retains broad default-space consent.
|
|
18
|
+
|
|
19
|
+
`tc --profile PROFILE --host HOST context --space SPACE` emits the effective selected context without keys or signed session material. Its local status does not replace an actual authorized read.
|
|
20
|
+
|
|
13
21
|
## Operations coverage
|
|
14
22
|
|
|
15
23
|
The migrated `tc secrets get` path is owned by `@tinycloud/operations` and
|
|
@@ -34,12 +42,6 @@ tc init
|
|
|
34
42
|
# Authenticate via browser
|
|
35
43
|
tc auth login
|
|
36
44
|
|
|
37
|
-
# Authenticate on a remote/headless machine
|
|
38
|
-
tc auth login --device
|
|
39
|
-
|
|
40
|
-
# Enable only Share publishing authority
|
|
41
|
-
tc enable share
|
|
42
|
-
|
|
43
45
|
# Store and retrieve data
|
|
44
46
|
tc kv put greeting "Hello, world"
|
|
45
47
|
tc kv get greeting
|
|
@@ -64,8 +66,6 @@ tc delegation create --to did:pkh:eip155:1:0x...
|
|
|
64
66
|
|---------|-------------|
|
|
65
67
|
| `tc init` | Set up a profile and generate keys |
|
|
66
68
|
| `tc auth login` | Authenticate via browser |
|
|
67
|
-
| `tc auth login --device` | Authenticate with an OpenKey URL and user code |
|
|
68
|
-
| `tc enable share` | Enable narrowly scoped Share publishing authority |
|
|
69
69
|
| `tc auth status` | Show authentication status |
|
|
70
70
|
| `tc auth whoami` | Show current identity |
|
|
71
71
|
| `tc kv get <key>` | Retrieve a value |
|