@tinycloud/cli 1.3.0-beta.53 → 1.3.0-beta.54
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 +9 -1
- package/dist/legacy-entry.js +476 -127
- package/dist/legacy-entry.js.map +1 -1
- package/package.json +1 -1
- package/skills/tc-cli/AUTH.md +1 -1
- package/skills/tc-cli/SKILL.md +17 -4
package/README.md
CHANGED
|
@@ -114,9 +114,10 @@ tc delegation create --to did:pkh:eip155:1:0x...
|
|
|
114
114
|
| `tc context` | Show the selected profile, owner, host, space and session state |
|
|
115
115
|
| `tc auth status` | Show authentication status |
|
|
116
116
|
| `tc auth whoami` | Show current identity |
|
|
117
|
-
| `tc auth request --preset apps-agent [--app <id>]... [--write]` | Request access for an agent to the user's installed apps: read-only by default, for one app, several, or all. `--write --app <id>` also lets the agent change that app's data: write its `knowledge/` and `prefs/` files and change its tables. It cannot change the app's code, manifest or install record |
|
|
117
|
+
| `tc auth request --preset apps-agent [--app <id>]... [--write]` | Request access for an agent to the user's installed apps: read-only by default, for one app, several, or all. `--write --app <id>` also lets the agent change that app's data: write its `knowledge/` and `prefs/` files and add, change or delete its table rows. For the Health Log app's catalog database, it can also create, change and drop tables (nodes before 1.21.6 do not enforce that split). It cannot change the app's code, manifest or install record |
|
|
118
118
|
| `tc knowledge list` | List the installed apps that have a knowledge bundle |
|
|
119
119
|
| `tc knowledge read <app_id> [concept]` | Read an app's knowledge index, or one concept with its frontmatter parsed |
|
|
120
|
+
| `tc apps install <app_id>` | Install a pinned catalog app into the applications space of the profile it runs under (the owner's, for a delegate profile, through its grant): each file is verified against its pinned digest, the pinned DDL runs only if every statement is allowed, and knowledge notes are created create-only. Notes you have edited are left as they are and reported (exit 0) |
|
|
120
121
|
| `tc kv get <key>` | Retrieve a value |
|
|
121
122
|
| `tc kv put <key> <value>` | Store a value |
|
|
122
123
|
| `tc kv list` | List all keys |
|
|
@@ -151,6 +152,13 @@ Secret names are env-style uppercase identifiers such as `FIREFLIES_API_KEY`.
|
|
|
151
152
|
network grant` takes the short name, resolves the network, and grants
|
|
152
153
|
`tinycloud.encryption/decrypt`.
|
|
153
154
|
|
|
155
|
+
`tc apps install` re-creates the pinned views on every run (reported as
|
|
156
|
+
`viewsRecreated`). Knowledge notes whose bytes differ from the pinned version
|
|
157
|
+
are left as you edited them and listed under `conflicts` (JSON); the command
|
|
158
|
+
still exits 0 and installs the rest. If the schema fails after notes were
|
|
159
|
+
written, it says "notes saved; tables not set up: run again"; running it again
|
|
160
|
+
is safe.
|
|
161
|
+
|
|
154
162
|
## Global Options
|
|
155
163
|
|
|
156
164
|
```
|