@tinycloud/cli 1.5.0-beta.34 → 1.5.0-beta.36
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinycloud/cli",
|
|
3
|
-
"version": "1.5.0-beta.
|
|
3
|
+
"version": "1.5.0-beta.36",
|
|
4
4
|
"description": "TinyCloud CLI - manage data, delegations, and nodes from the terminal",
|
|
5
5
|
"author": "TinyCloud, Inc.",
|
|
6
6
|
"license": "EGPL",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"sync:courier-skill": "rm -rf skills/courier && cp -R ../courier/skills/courier skills/courier"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@tinycloud/share-sdk": "1.4.1-beta.
|
|
36
|
+
"@tinycloud/share-sdk": "1.4.1-beta.4",
|
|
37
37
|
"@tinycloud/share-envelope": "1.4.0-beta.2",
|
|
38
|
-
"@tinycloud/node-sdk": "3.8.0-beta.
|
|
38
|
+
"@tinycloud/node-sdk": "3.8.0-beta.23",
|
|
39
39
|
"@tinycloud/node-sdk-wasm": "1.7.8",
|
|
40
|
-
"@tinycloud/sdk-core": "3.8.0-beta.
|
|
40
|
+
"@tinycloud/sdk-core": "3.8.0-beta.23",
|
|
41
41
|
"@tinycloud/sdk-services": "3.8.0-beta.22",
|
|
42
|
-
"@tinycloud/operations": "0.7.7-beta.
|
|
42
|
+
"@tinycloud/operations": "0.7.7-beta.22",
|
|
43
43
|
"chalk": "^5.3.0",
|
|
44
44
|
"commander": "^14.0.0",
|
|
45
45
|
"jsdom": "26.1.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"siwe": "^3.0.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@tinycloud/courier": "0.4.0-beta.
|
|
51
|
+
"@tinycloud/courier": "0.4.0-beta.23",
|
|
52
52
|
"@tinycloud/replica": "0.4.0-beta.6",
|
|
53
53
|
"@types/node": "^20",
|
|
54
54
|
"tsup": "^8.0.0",
|
|
@@ -376,6 +376,8 @@ tinycloud completion fish | source
|
|
|
376
376
|
|
|
377
377
|
Publishing needs the publishing scope in the owner's `default` space, on a dedicated profile: `tinycloud init --name publisher --key-only`, then `tinycloud --profile publisher auth login --method openkey --paste --manifest builtin:share-publishing --expiry 30d`. Publish with `tinycloud --profile publisher share publish ...`.
|
|
378
378
|
|
|
379
|
+
Sharing to an email address, domain or DID isn't available in this release; link shares are.
|
|
380
|
+
|
|
379
381
|
```bash
|
|
380
382
|
tinycloud share publish ./note.md --json # bearer link; JSON has no URL: use share show <id> --reveal-link
|
|
381
383
|
tinycloud share publish ./note.md --to email:alice@example.com --notify # addressed: exact email, emailed invitation (read required)
|
|
@@ -101,6 +101,8 @@ A folder (a top-level `index.html` plus the CSS, scripts, images and fonts it us
|
|
|
101
101
|
|
|
102
102
|
Without `--to`, publish creates a bearer link: anyone holding the complete URL can read it until it expires or `tinycloud share revoke <id>` revokes it. `--to email:`, `--to did:` and `--to domain:` create addressed links that only the named recipient can open after proving who they are. An addressed share of 120 seconds to 30 days gets a short link; any other addressed share, or `--full-link`, gets the full link (past 30 days with a warning on stderr and `linkNotice` in JSON), and the same full link with a notice if the links API cannot be reached. `tinycloud share unlink <id>` deletes a short link now; `tinycloud share revoke <id>` revokes the share and leaves the link to expire. A share too large to send as a link stops with `MAX_BYTES_EXCEEDED` before anything is shared. To send a share again, run `tinycloud share publish` again for the same file and recipients, or `tinycloud share notify <id>` while the short link is live. Keep complete URLs, including the `#` fragment, out of logs. `--notify` requires `read`; domain invitations also require `--notify-to <email>` at the exact domain, a matching sender/owner DID and node 1.17.3+. Invitation emails carry only a short link, and until the services that send them accept one `--notify` and `share notify` stop with `UNAVAILABLE` before sending anything. Session-only publishers can notify their own domain policies. Standalone `tinycloud share notify <id> --to <email>` refuses records without `read` and domain delivery on unsupported nodes before sending. It retries within 5 minutes of publication; after that it reports a non-retryable `partial-failure` (exit 9), and the sender must publish a new share to invite again. A confirmed repeat reports `already-delivered`; a failed history confirmation warns without hiding a successful delivery. Human publish prints only the URL; with `--notify --json`, the redacted publication JSON also contains `notification` with delivery status and attempts. The default lifetime is seven days, clamped to the verified session expiry; JSON output reports `expiryClamped`. Explicit `--expires` values beyond the session end fail; they are never shortened. See [REFERENCE.md](REFERENCE.md) for inspect, receive, list, show, unlink and revoke.
|
|
103
103
|
|
|
104
|
+
Sharing to an email address, domain or DID isn't available in this release; link shares are.
|
|
105
|
+
|
|
104
106
|
To show a person a document, page or small app, publish it as an artifact: a Markdown file, one self-contained HTML file, or a JSX component with a default export. Use `--to anyone` (the default) with `--artifact new --json`, then get the link with `tinycloud share show <id> --reveal-link`; `--json` output never contains the link. Revoke with `tinycloud share revoke <id>`. `--to anyone --action edit` is refused. See [REFERENCE.md](REFERENCE.md#artifacts) for the file kinds, the JSX library set and the `--tc-*` style tokens.
|
|
105
107
|
|
|
106
108
|
After a share is published, a profile-lock or history-write failure warns: human output still shows the published link, but `--json` output stays redacted and `share show <id> --reveal-link` cannot recover an unrecorded share. Later `share list`, `share notify <id>`, and `share revoke <id>` cannot find it either. Standalone domain notification checks the recipient and local five-minute window before probing the node; an expired window stays a non-retryable partial failure even when `/info` is unreachable.
|