@artifactshare/cli 0.17.0 → 0.19.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/CHANGELOG.md +9 -0
- package/README.md +17 -0
- package/dist/cli.d.ts +9 -0
- package/dist/cli.js +15940 -0
- package/dist/cursor-acp-C19O-3Za.js +414 -0
- package/dist/cursor-acp-entry.js +2 -409
- package/dist/index.js +4 -15756
- package/dist/runtime-CgvHR_2f.js +37 -0
- package/package.json +2 -2
- package/skills/artifactshare/SKILL.md +25 -1
- package/skills/artifactshare/artifactshare.mdc +24 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ For user-facing announcements, see https://artifactshare.com/updates?product=cli
|
|
|
5
5
|
|
|
6
6
|
## Unreleased
|
|
7
7
|
|
|
8
|
+
## 0.19.0 - 2026-10-25
|
|
9
|
+
|
|
10
|
+
- Reject unknown command options locally with spelling hints, explain numeric `--expected-version` mistakes, and report unsupported Node.js versions before loading command dependencies.
|
|
11
|
+
|
|
12
|
+
## 0.18.0 - 2026-10-23
|
|
13
|
+
|
|
14
|
+
- Isolate local preview artifacts with a scripts-only sandbox and a permanent notice about unavailable localStorage, IndexedDB and same-origin features. Validate reporter observations with bounded schemas, document capabilities and replay checks; anchor verdicts affect display only. Local preview and share-dialog HTTP session authentication remains deferred, so local clients knowing the ports still have access.
|
|
15
|
+
- Update bundled skill guidance for folder shares: external HTTPS images, CDN stylesheets, and jsDelivr fonts are supported; JavaScript eval remains blocked.
|
|
16
|
+
|
|
8
17
|
## 0.17.0 - 2026-10-23
|
|
9
18
|
|
|
10
19
|
- Record invalid, duplicate or conflicting manifest file paths and malformed or mismatched project manifest identities as per-artifact failures and continue project downloads. Malformed single-download responses report service errors; failure hints name only verified, nonempty retained workspaces.
|
package/README.md
CHANGED
|
@@ -50,6 +50,17 @@ Pass `--expected-version <version-id>` to reject an update when another version
|
|
|
50
50
|
became current first. Project-scoped agent profiles must pass it to `update`
|
|
51
51
|
and to repeat `share --key` updates; initial key creation does not require it.
|
|
52
52
|
After `login --preset agent`, updates require `--expected-version <version-id>` using `data.version.id` from the previous successful `share` or `update` output. If omitted, `expected_version_required` reports `recovery.kind: change_input`; retry with that value. `artifacts get` instead returns the current version as `data.version_id`.
|
|
53
|
+
|
|
54
|
+
Unknown options fail locally with `unknown_option` before authentication, requests,
|
|
55
|
+
or writes. Correct `details.option`; the hint suggests a nearby option when one
|
|
56
|
+
exists. Use the selected command’s `--help` to see accepted options.
|
|
57
|
+
A digits-only `--expected-version` fails with `invalid_expected_version`: pass a
|
|
58
|
+
version id from `data.version.id` in the previous share or update output, or
|
|
59
|
+
`data.version_id` from `artifacts get <target> --json` for a single-file artifact.
|
|
60
|
+
Both errors have `recovery.kind: change_input` and are agent-recoverable.
|
|
61
|
+
`unsupported_node_version` requires upgrading Node.js to 22.19.0 or newer;
|
|
62
|
+
it reports the current version and uses `recovery.kind: ask_human` with
|
|
63
|
+
`agent_recoverable: false` and `requires_human: true`.
|
|
53
64
|
A signed-in external human whose verified email is explicitly granted on an
|
|
54
65
|
artifact can also update it when the artifact workspace allows external
|
|
55
66
|
posting. Link access alone does not grant update access.
|
|
@@ -481,3 +492,9 @@ Upload aliases use the stored filename for artifact kind, multipart name, and
|
|
|
481
492
|
content type. An enumerated entry disappearing is `changed` (retry); a relative
|
|
482
493
|
path through a regular file is `not_found` (correct the path). `share --help`
|
|
483
494
|
and `append --help` list all upload boundary reasons and fixes.
|
|
495
|
+
|
|
496
|
+
### Local preview isolation
|
|
497
|
+
|
|
498
|
+
Local HTML and Markdown previews run scripts inside a frame with `sandbox="allow-scripts"`. Preview isolation cannot be disabled. `localStorage`, IndexedDB, and other same-origin features are unavailable; the review shell always shows this restriction. Reporter observations are bounded, document-scoped display data. Saving or submitting feedback requires an explicit action in the review shell.
|
|
499
|
+
|
|
500
|
+
Local preview and share-dialog HTTP routes still lack per-session authentication. Loopback binding, Host checks and fixed mutation headers do not authenticate other local clients. Do not treat knowledge of the local port as an access-control boundary. Session authentication and private browser launchers are deferred; the existing ready `url` and `--no-open` behavior are unchanged.
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region src/cli.d.ts
|
|
2
|
+
export declare function generateCliHelp(path: string[]): Promise<string>;
|
|
3
|
+
export declare function runCli(argv: string[]): Promise<void>;
|
|
4
|
+
export declare function commandOptionCatalog(): Map<string, Map<string, {
|
|
5
|
+
name: string;
|
|
6
|
+
boolean: boolean;
|
|
7
|
+
spelling?: string;
|
|
8
|
+
}>>;
|
|
9
|
+
//#endregion
|