@artifactshare/cli 0.19.2 → 0.20.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 +7 -0
- package/README.md +32 -24
- package/dist/cli.js +538 -100
- package/package.json +1 -1
- package/skills/artifactshare/SKILL.md +86 -610
- package/skills/artifactshare/references/authentication-profiles-skills.md +72 -0
- package/skills/artifactshare/references/comments.md +64 -0
- package/skills/artifactshare/references/local-write-recovery.md +35 -0
- package/skills/artifactshare/references/organize-settings.md +109 -0
- package/skills/artifactshare/references/preview.md +155 -0
- package/skills/artifactshare/references/rest-api-only.md +76 -0
- package/skills/artifactshare/references/static-sites.md +39 -0
- package/skills/artifactshare/references/upload-path-safety.md +18 -0
- package/skills/artifactshare/references/version-labels.md +30 -0
- package/skills/artifactshare/artifactshare.mdc +0 -352
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
## Authentication
|
|
2
|
+
|
|
3
|
+
- `login --profile <name> --preset agent --json` is for an attended coding
|
|
4
|
+
agent on the user's own machine. It creates a project-scoped profile and may
|
|
5
|
+
open the OS browser. Add `--project <exact-name-or-id>` to confirm one fixed
|
|
6
|
+
eligible project; omit it to select a project in the browser. Omit `--preset`
|
|
7
|
+
for unrestricted personal login. The pending event on stderr includes
|
|
8
|
+
`browser_open`. Do not pass tokens to `login`. Device-login profiles renew
|
|
9
|
+
expired CLI sessions automatically.
|
|
10
|
+
- In unattended CI or scripts without browser approval, ask the user to issue
|
|
11
|
+
an API token at `https://artifactshare.com/settings/tokens`, then inject it
|
|
12
|
+
with `ARTIFACTSHARE_TOKEN` or `--token`. A shared agent platform uses a
|
|
13
|
+
workspace-managed bot credential in a trusted host service outside the model
|
|
14
|
+
sandbox; never expose it to model shell commands.
|
|
15
|
+
- `logout --profile <name> --json` revokes a device-login refresh credential
|
|
16
|
+
before removing it locally and leaves profile metadata in `config.json`.
|
|
17
|
+
If remote revoke fails, the local credential is kept and logout fails.
|
|
18
|
+
API-token profiles are removed locally only and are not revoked on the server.
|
|
19
|
+
- To keep using an issued token as a named profile without TTY or browser
|
|
20
|
+
login, pipe it on standard input:
|
|
21
|
+
`printf '%s' "$TOKEN" | npm exec --yes --package=@artifactshare/cli -- artifactshare profiles import-token --profile <name> --json`.
|
|
22
|
+
Bot tokens (`asb_` prefix, issued by a workspace admin) use the same command; the first
|
|
23
|
+
refresh consumes the displayed token, overwriting an existing profile credential requires
|
|
24
|
+
`--force`, and a revoked or superseded bot token fails with `bot_token_invalid` (ask the
|
|
25
|
+
admin to reissue).
|
|
26
|
+
Imported API-token profiles are not renewed by the CLI.
|
|
27
|
+
Use `--allow-plaintext-token-store` only on a trusted machine without a native token store.
|
|
28
|
+
That fallback is mode `0600` on POSIX and unavailable on Windows, where saved profiles require Credential Manager.
|
|
29
|
+
- Check the current state with `whoami --json`, or `doctor --json` for token
|
|
30
|
+
storage, authentication, destination, network, upload access, and skill update status.
|
|
31
|
+
|
|
32
|
+
## Profiles
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare profiles list --json
|
|
36
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare profiles use <name> --json
|
|
37
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare profiles delete <name> --json
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
- `profiles list` shows saved profiles and the default.
|
|
41
|
+
- `profiles use` switches the default profile.
|
|
42
|
+
- `profiles delete` removes the profile entry and its saved credential. Use
|
|
43
|
+
`logout --profile <name>` when you only want to remove the credential.
|
|
44
|
+
- To create a profile, use `login --profile <name>` (interactive) or
|
|
45
|
+
`profiles import-token` (non-interactive, see Authentication).
|
|
46
|
+
|
|
47
|
+
## Skills
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare skills ensure --tool auto --json
|
|
51
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare skills update --json
|
|
52
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare skills list --json
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
- `open`, flag-less `init`, and `skills ensure --tool auto` detect Claude Code,
|
|
56
|
+
Codex, or Cursor in the working directory (also Claude at its resolved user
|
|
57
|
+
root when CLAUDE_CONFIG_DIR is nonblank) and install or update this skill in user scope
|
|
58
|
+
(`$CLAUDE_CONFIG_DIR/skills/` or `~/.claude/skills/` when unset, `~/.agents/skills/`, or
|
|
59
|
+
`~/.cursor/skills/artifactshare/`). With no agent detected,
|
|
60
|
+
user-scope Codex, Claude Code, and Cursor skills are prepared.
|
|
61
|
+
Claude Code user-scope skills go to `$CLAUDE_CONFIG_DIR/skills` when set, otherwise `~/.claude/skills`. A blank value skips automatic writes; `doctor` explains why. Mutations explicitly selecting `--tool claude --scope user` fail with `validation_failed`. With `--tool claude` and no `--scope`, `skills update` and `skills remove` process the project target and report the user target as skipped.
|
|
62
|
+
|
|
63
|
+
- Cursor project scope is not auto-installed. Install the Cursor skill folder at `.cursor/skills/artifactshare/` explicitly
|
|
64
|
+
with `skills install --tool cursor --scope project`; managed legacy rules migrate automatically.
|
|
65
|
+
- Use `skills install --tool cursor --scope user` to install or manage the
|
|
66
|
+
Cursor user-scope skill explicitly.
|
|
67
|
+
- `skills ensure --tool auto` accepts omitted `--scope` or `--scope user`;
|
|
68
|
+
`--scope project` fails with `validation_failed`. Project-scope skills are
|
|
69
|
+
opt-in via `skills install --tool <tool> --scope project`.
|
|
70
|
+
- `skills update` updates installed managed skills to the bundled version.
|
|
71
|
+
- `--force` overwrites an unmanaged file on install.
|
|
72
|
+
- Run `skills --help` for all subcommands.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
## Comment
|
|
2
|
+
|
|
3
|
+
Use `comments list` to read, `comments post` to write. IDs from `list` feed
|
|
4
|
+
into `edit`, `resolve`, `reopen`, and `delete`.
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare comments list <artifact-id-or-url> --json
|
|
8
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare comments post <artifact-id-or-url> --body '<text>' --json
|
|
9
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare comments post <artifact-id-or-url> --body '<text>' --reply-to <thread-id> --json
|
|
10
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare comments post <artifact-id-or-url> --body '<text>' --quote 'exact text' --json
|
|
11
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare comments post <artifact-id-or-url> --body '<text>' --agent 'Claude' --json
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Quoted comments are resolved in the viewer using the exact quote and surrounding context, never the nearest repeated words. `--quote-before` and `--quote-after` accept up to 400 characters per side; preserve spaces next to the quote. Creation does not search the artifact. Optional `anchor.position_state` is `unchecked` until that version is viewed, then `attached` or `needs-check`. Only `attached` maps to `anchor.state: attached`; both other states map to `orphaned`. Older responses may omit `position_state`. Local preview uses the same strict resolution on every reload and preserves the original quote when its position needs checking.
|
|
15
|
+
|
|
16
|
+
- `--reply-to <thread-id>` replies to an existing thread from `comments list`.
|
|
17
|
+
- `--quote <text>` anchors a new thread to the quoted text. Copy the text from
|
|
18
|
+
`artifacts get` so it matches exactly. When the same text appears more than
|
|
19
|
+
once, add `--quote-before` and/or `--quote-after` to pick the right one.
|
|
20
|
+
Do not combine `--quote` with `--reply-to`.
|
|
21
|
+
- `--agent <name>` declares the posting agent (e.g. `Claude`, `Cursor`).
|
|
22
|
+
The comment shows an agent badge in the viewer. Omit to post without a badge.
|
|
23
|
+
`comments list` returns an `agent` field on messages posted with this flag.
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare comments edit <artifact-id-or-url> --message-id <id> --body '<text>' --json
|
|
27
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare comments resolve <artifact-id-or-url> --thread-id <id> --json
|
|
28
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare comments reopen <artifact-id-or-url> --thread-id <id> --json
|
|
29
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare comments delete <artifact-id-or-url> --thread-id <id> --message-id <id> --json
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
- Comment deletion cannot be undone. Omit `--message-id` only when the user
|
|
33
|
+
wants the whole thread deleted.
|
|
34
|
+
- Run `comments post --help` for all flags.
|
|
35
|
+
|
|
36
|
+
## Comment windows and posting limits
|
|
37
|
+
|
|
38
|
+
`comments list <target> --json` returns at most 50 threads, open first. Each
|
|
39
|
+
thread contains its current first message and latest three replies, plus
|
|
40
|
+
`message_count`, `reply_count` and `older_cursor`. These are partial histories.
|
|
41
|
+
Use `comments list <target> --thread-id <id> --before <older_cursor> --limit 50
|
|
42
|
+
--json` for older replies. Repeat with the returned cursor until it is null;
|
|
43
|
+
merge by message ID and display in `(created_at, message_id)` order. Each page
|
|
44
|
+
also includes the current first message. Cursors remain usable after their
|
|
45
|
+
boundary message is deleted. `--around-message-id <id>` selects a bounded page
|
|
46
|
+
containing a message; do not combine it with `--before`.
|
|
47
|
+
|
|
48
|
+
A thread holds 500 currently stored messages, including its first message.
|
|
49
|
+
`thread_capacity` means start a new thread. Deleting messages can restore space. Deleting the first message promotes the next
|
|
50
|
+
earliest message; deleting the last removes the thread and anchor. Resolved
|
|
51
|
+
threads still refuse replies.
|
|
52
|
+
|
|
53
|
+
Creation and replies share 20 admissions per authenticated user and artifact
|
|
54
|
+
per fixed UTC minute across browser, CLI, MCP and API tokens. Adjacent minute
|
|
55
|
+
boundaries can admit 40 posts within a sliding 60 seconds. `rate_limited`
|
|
56
|
+
includes `retry_after_seconds` and UTC `retry_at`; HTTP also sends `Retry-After`.
|
|
57
|
+
Keep unsent content and retry after that time. Invalid requests, capacity refusals
|
|
58
|
+
and closed-thread refusals observed before admission consume nothing. Rate
|
|
59
|
+
refusals do not increment the counter; quota storage failures refuse the post.
|
|
60
|
+
Once admitted, commit failures and status/version/capacity races consume the admission without a
|
|
61
|
+
refund. Edits, deletions, resolve/reopen and anchor reports consume nothing.
|
|
62
|
+
Mutation readback contains only the affected thread window and changed message.
|
|
63
|
+
`refresh_required: true` means the write committed but advisory readback failed:
|
|
64
|
+
read that thread by ID; do not replay the write automatically.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
## Local write recovery
|
|
2
|
+
|
|
3
|
+
Download accepts only unique artifact IDs matching `^[a-z0-9]{10}$`, including
|
|
4
|
+
IDs from list pages and the previous index.
|
|
5
|
+
Artifact IDs with surrounding whitespace are rejected, not trimmed, including
|
|
6
|
+
single-download targets. Remove the whitespace before retrying. URLs use normal
|
|
7
|
+
URL-to-ID resolution. Output parents may be links; their resolved directory identities are rechecked.
|
|
8
|
+
Linked output roots, indexes, and listed artifact trees are refused even with `--force`. Preflight checks every listed
|
|
9
|
+
artifact tree, including unchanged versions, and the index; unrelated content is
|
|
10
|
+
not walked. Network failures and invalid manifest paths, bodies, or identities are recorded per artifact;
|
|
11
|
+
every boundary violation stops further publication, including the final index.
|
|
12
|
+
Successful replacements retain originals and previous indexes in `data.backup_paths`
|
|
13
|
+
and report them in human output. Inspect those paths before manual cleanup.
|
|
14
|
+
Failed recovery also names retained paths in the error. Cleanup removes only
|
|
15
|
+
CLI-created temporary entries, never containers holding originals. Staging and
|
|
16
|
+
backups live in one private directory inside the output root for project
|
|
17
|
+
downloads, or in its parent for single downloads. Project index temporary files
|
|
18
|
+
use that same private directory so publication stays on the output filesystem.
|
|
19
|
+
Identity checks detect observed swaps;
|
|
20
|
+
Node path-based operations do not provide atomic confinement against arbitrary
|
|
21
|
+
concurrent changes.
|
|
22
|
+
|
|
23
|
+
Config-mode `init` preserves unknown keys and refuses links at `.artifactshare`
|
|
24
|
+
or `config.local.json`. Git worktrees/submodules save config normally but warn
|
|
25
|
+
instead of following `.git` files, links, or redirect metadata. Only a real
|
|
26
|
+
repository `.git` directory with regular or absent `info/exclude` is updated.
|
|
27
|
+
Follow `git_exclude_warning` to add the exact exclude line manually. Onboarding
|
|
28
|
+
without config arguments still installs user-scope skills.
|
|
29
|
+
|
|
30
|
+
Upload aliases use the stored filename for kind, filename, and content type.
|
|
31
|
+
Retry `changed` when an enumerated file disappears; correct `not_found` when a
|
|
32
|
+
relative path passes through a regular file. Both `share --help` and
|
|
33
|
+
`append --help` list `upload_read_failed` and all `validation_failed` reasons:
|
|
34
|
+
`link`, `outside_cwd`, `parent_traversal`, `changed`, `not_found`, `invalid_type`,
|
|
35
|
+
and `unsupported_guarantee`.
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Organize Settings
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- [Audience and visibility settings](#audience-and-visibility-settings)
|
|
6
|
+
- [Organize and settings](#organize-and-settings)
|
|
7
|
+
|
|
8
|
+
## Audience and visibility settings
|
|
9
|
+
|
|
10
|
+
Destination lists include only active projects you can post into. A private project permits its creator, a current workspace owner/admin on the team plan, or a verified contributor/manager. On free and plus, admin status alone does not permit placement in another member’s private project. Viewer access and individual artifact grants do not authorize placement. Agents and bots still require their fixed project and a verified contributor/manager grant for private projects; publisher credentials cannot select projects.
|
|
11
|
+
|
|
12
|
+
Posting to a project delivers to the audience defined by that project. Without
|
|
13
|
+
a destination, `share` posts to home. Choose the home audience by purpose:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare config set home_audience private --scope user --json
|
|
17
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare config set home_audience workspace --scope repository --json
|
|
18
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare share ./report.html --visibility private --json
|
|
19
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare config get home_audience --scope effective --json
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Use the user scope for a personal safe default in this CLI environment, the
|
|
23
|
+
repository scope only for a policy agreed by all participants, and
|
|
24
|
+
`--visibility` for a one-time audience.
|
|
25
|
+
|
|
26
|
+
Use `--visibility private|workspace|project|link` as a per-post override. For new
|
|
27
|
+
projects, pass `projects create --visibility private|workspace`; persistent
|
|
28
|
+
project defaults are documented in `projects create --help`.
|
|
29
|
+
|
|
30
|
+
The complete `config --help` reference covers user and repository scopes,
|
|
31
|
+
effective resolution, and the canonical `home_audience` key. `default_artifact_visibility` is a compatibility alias, while
|
|
32
|
+
`default_project_visibility` is the advanced `projects create` default. Home
|
|
33
|
+
resolution checks repository then user settings (including the alias at each
|
|
34
|
+
scope), then product default `workspace`; project defaults use repository,
|
|
35
|
+
user, then `workspace`. Keyless `config get --json` returns only
|
|
36
|
+
`home_audience`; pass an explicit key for either other setting. These settings
|
|
37
|
+
only affect new home posts and project creation; update, edit, Web, and MCP
|
|
38
|
+
defaults are unchanged.
|
|
39
|
+
|
|
40
|
+
## Organize and settings
|
|
41
|
+
|
|
42
|
+
Use `edit` for post-share changes. Use `projects list/create/edit` for
|
|
43
|
+
project management.
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare edit <artifact-id-or-url> --title 'New title' --json
|
|
47
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare edit <artifact-id-or-url> --visibility private --grant-email viewer@example.com --json
|
|
48
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare edit <artifact-id-or-url> --project-id <id> --json
|
|
49
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare edit <artifact-id-or-url> --visibility project --json
|
|
50
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare edit <artifact-id-or-url> --home --json
|
|
51
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare delete <artifact-id-or-url> --json
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
- Owners with unrestricted credentials can set `edit <target> --retain-versions N`
|
|
55
|
+
to keep the latest N eligible published versions, or `--retain-versions all` to keep all
|
|
56
|
+
future versions. For files created by or assigned to a publisher client, this counts only published publisher versions (including earlier clients) and keeps every version people added, even when an unrestricted owner changes the setting. Other files keep counting all published versions. The current version is always kept. Setting or lowering retention immediately deletes older eligible
|
|
57
|
+
versions; the response reports `retain_versions` and `deleted_versions`.
|
|
58
|
+
Owners can also use the file history panel, which confirms existing removals.
|
|
59
|
+
Authorized viewers of versions removed by retention see an explanation and
|
|
60
|
+
a latest-version link (HTTP 410). Unknown IDs still return 404 for signed-in
|
|
61
|
+
viewers. Clearing the limit never restores deleted content. Comments and
|
|
62
|
+
surviving version numbers remain. Agent-preset credentials cannot change retention.
|
|
63
|
+
- `edit` changes title, visibility, explicit viewers, or project placement
|
|
64
|
+
without adding a new version.
|
|
65
|
+
- Set `--visibility link` with `--link-expires-at <RFC3339 UTC>` for a finite
|
|
66
|
+
expiry or `--no-link-expiry` for unlimited expiry. The expiry options are
|
|
67
|
+
mutually exclusive; omit both to preserve an existing link expiry.
|
|
68
|
+
- If `edit` changes visibility away from `link`, the link expiry is cleared.
|
|
69
|
+
If a link operation fails, use
|
|
70
|
+
`link_sharing_plan_required` as a legacy code,
|
|
71
|
+
`link_sharing_disabled` to ask the workspace owner or a Team admin to resume link sharing,
|
|
72
|
+
`link_expiry_invalid` to pass a future RFC3339 UTC timestamp within policy
|
|
73
|
+
(or use `--no-link-expiry` when the policy allows it), or
|
|
74
|
+
`link_publish_rate_limited` when, under the default thresholds, the service
|
|
75
|
+
observes 20 counted files before a publication in a Free workspace less than
|
|
76
|
+
14 days old during its rolling 24-hour window. A file counts once for its
|
|
77
|
+
most recent change to link visibility, or for creation with link visibility.
|
|
78
|
+
Making an artifact private, hiding it, or
|
|
79
|
+
deleting it does not erase its publication history during the 24-hour window,
|
|
80
|
+
so those actions do not restore a slot. A concurrent publication may be
|
|
81
|
+
refused even if an earlier preflight saw room. Share with specific people.
|
|
82
|
+
`error.recovery` indicates `retry_later`; use `error.message` and
|
|
83
|
+
`error.hint` for when to retry, and honor the returned retry duration. Retry
|
|
84
|
+
the link publication later instead of retrying immediately with unchanged
|
|
85
|
+
input.
|
|
86
|
+
- edit accepts --visibility private|workspace|project|link. Project visibility requires the artifact to be in a project after the edit; use --project-id <id> in the same request if needed. An explicit --visibility project at home (including --home) is refused without changes. Moving a project-visible artifact home makes it private only when project visibility is not explicitly requested.
|
|
87
|
+
- The `move` command is available for placement-only automation, but
|
|
88
|
+
prefer `edit` for new flows.
|
|
89
|
+
- `artifacts delete <artifact-id-or-url>` is an alias of `delete`; both return JSON `command: "delete"`. Keep using top-level `delete` in deletion workflows.
|
|
90
|
+
- `delete` permanently removes an artifact and its version history. Use only
|
|
91
|
+
when the user explicitly asks.
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare projects list --json
|
|
95
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare projects create 'Client reports' --json
|
|
96
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare projects create 'Internal' --visibility private --json
|
|
97
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare projects edit <id> --add-email viewer@example.com --json
|
|
98
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare projects edit <id> --archive --json
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
- `projects create` uses `default_project_visibility` when saved, otherwise
|
|
102
|
+
`workspace`. Pass `--visibility private` for a confidential project.
|
|
103
|
+
- `projects edit` changes name, description, visibility, audience
|
|
104
|
+
(`--add-email` / `--remove-email`), and archive state (`--archive` /
|
|
105
|
+
`--unarchive`).
|
|
106
|
+
- `init --project-id <id> --json` saves a default project for the working
|
|
107
|
+
directory. `init --dry-run --json` previews the setup without side effects.
|
|
108
|
+
- Run `edit --help`, `projects create --help`, or `projects edit --help` for
|
|
109
|
+
all flags.
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# Preview
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- [Preview (local annotate-and-fix loop)](#preview-local-annotate-and-fix-loop)
|
|
6
|
+
- [Start and own one preview](#start-and-own-one-preview)
|
|
7
|
+
- [Waking up when the user submits a batch](#waking-up-when-the-user-submits-a-batch)
|
|
8
|
+
- [Working through a batch](#working-through-a-batch)
|
|
9
|
+
- [Local preview isolation](#local-preview-isolation)
|
|
10
|
+
|
|
11
|
+
## Preview (local annotate-and-fix loop)
|
|
12
|
+
|
|
13
|
+
`preview` is a local, unauthenticated feature: it serves one local `.md` or
|
|
14
|
+
`.html` file with the same rendering as the product viewer, the user annotates
|
|
15
|
+
elements or text selections in the browser and submits them as an explicit
|
|
16
|
+
batch, and the agent fixes the file. Nothing is uploaded by previewing;
|
|
17
|
+
an upload happens only if the user opens the share dialog from the page.
|
|
18
|
+
|
|
19
|
+
### Start and own one preview
|
|
20
|
+
|
|
21
|
+
`preview` starts a long-lived local service; process exit is not its success
|
|
22
|
+
condition. Start it once for the file using the environment's supported
|
|
23
|
+
long-running or background process mechanism. Keep that process or task handle
|
|
24
|
+
for the lifetime of the preview.
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare preview ./lp.html --json
|
|
28
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare preview start ./lp.html --no-open --json
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
- Run the CLI invocation itself as the long-running task. Do not add shell
|
|
32
|
+
pipelines, redirections, command substitutions, or wrappers that wait for
|
|
33
|
+
output or process exit; output capture managed by the agent's background-task
|
|
34
|
+
tool is part of that tool's contract. Extra shell layers change ownership and
|
|
35
|
+
the service's output contract.
|
|
36
|
+
- Bare `preview <file>` is rewritten to `preview start <file>`. Start prints
|
|
37
|
+
exactly one ready JSON line with `url`, `session`, `share_origin`, `reused`,
|
|
38
|
+
and a sanitized `agent` notification projection, then keeps serving.
|
|
39
|
+
`--no-open` skips opening the browser.
|
|
40
|
+
- The ready JSON is the startup handshake. A background task id or running PID
|
|
41
|
+
only proves that launch began. Treat the preview as ready, retain its `url`
|
|
42
|
+
and `session`, and tell the user it opened only after reading that line.
|
|
43
|
+
- `session` is generated by start. Use the returned value only with
|
|
44
|
+
`preview next`, `done`, `reply`, or `stop`; do not pass `--session` to start.
|
|
45
|
+
- After one launch begins, do not launch another copy until that attempt either
|
|
46
|
+
returns a CLI failure or exits without a ready line. If the task is still
|
|
47
|
+
running but its ready output cannot be read, the state is indeterminate:
|
|
48
|
+
keep the task, report that startup could not be verified, and ask the user
|
|
49
|
+
how to proceed. Do not infer a preview URL from ports or unrelated processes.
|
|
50
|
+
- A later deliberate start for the same file may return `reused: true`. Its
|
|
51
|
+
ready JSON is a valid handshake, but that invocation exits because the
|
|
52
|
+
original preview process still owns the service. Do not treat the reused
|
|
53
|
+
invocation's task or process handle as the server owner.
|
|
54
|
+
- Editing and saving the file reloads the page automatically; annotations
|
|
55
|
+
stay anchored where possible.
|
|
56
|
+
- `preview next` returns every batch the user has submitted; it is
|
|
57
|
+
non-claiming (calling it again returns the same open items) and with
|
|
58
|
+
`--wait <sec>` it long-polls. `timed_out: true` and `session_ended: true`
|
|
59
|
+
are normal empty results, not errors. The error
|
|
60
|
+
`preview_session_not_found` means no live session exists; ask the user to
|
|
61
|
+
start one. `preview_wait_conflict` means another long poll owns the session;
|
|
62
|
+
use that wait or retry after it returns. `preview_request_failed` means the session is alive but rejected
|
|
63
|
+
the request, so fix the payload (thread id, generation, size) and retry.
|
|
64
|
+
`preview_session_unverified` on startup means a recorded session did not
|
|
65
|
+
answer, or it was started before the current notification contract. Retry a
|
|
66
|
+
temporarily unresponsive session; for an older session, ask the user to stop
|
|
67
|
+
that preview process and start it again with the current CLI. The `--force`
|
|
68
|
+
fallback clears an unresponsive record only once the process is gone.
|
|
69
|
+
- Report outcomes with `preview done --stdin`; reply into a thread with
|
|
70
|
+
`preview reply --thread <id> --body <text>` (state unchanged); end the
|
|
71
|
+
session with `preview stop` (annotations stay saved on disk).
|
|
72
|
+
|
|
73
|
+
### Waking up when the user submits a batch
|
|
74
|
+
|
|
75
|
+
Pick the first mode your environment supports:
|
|
76
|
+
|
|
77
|
+
1. In Codex, start preview from the session that owns the work. Current Codex
|
|
78
|
+
environments expose the session UUID to the trusted local preview process;
|
|
79
|
+
Artifact Share registers it and uses `codex queue` to send a fixed
|
|
80
|
+
batch-ready notice. End your turn after preview is ready. When the notice
|
|
81
|
+
resumes the session, run `preview next`, fix the whole batch, and report it
|
|
82
|
+
with `preview done`. A `queued` state means Codex accepted the notice, not
|
|
83
|
+
that it started processing. If it remains queued, the session may have
|
|
84
|
+
ended: use `codex resume`, then run `preview next`. Never copy comments into
|
|
85
|
+
a queue message; `preview next` is their source of truth.
|
|
86
|
+
2. In Claude Code, if `CLAUDE_CODE_DISABLE_BACKGROUND_TASKS` is neither `1` nor
|
|
87
|
+
`true` and Bash exposes `run_in_background`, run the preview start command
|
|
88
|
+
itself as one Bash background task and read it through Claude Code's
|
|
89
|
+
task-output mechanism until the ready JSON arrives; add no shell pipeline or
|
|
90
|
+
redirection. Keep a non-reused task alive as the server owner. After the
|
|
91
|
+
handshake,
|
|
92
|
+
use the background-wait path only if starting
|
|
93
|
+
`preview next --wait 3600` in a separate background task returns a task ID.
|
|
94
|
+
End your turn. A submitted batch completes the wait and resumes you; fix the
|
|
95
|
+
file, report with `preview done`, then arm one new wait. If the wait returns
|
|
96
|
+
`timed_out: true`, do not re-arm it automatically. If background waiting is
|
|
97
|
+
unavailable or rejected after start, use manual pickup and do not describe
|
|
98
|
+
the session as waiting. If background Bash tasks are unavailable before
|
|
99
|
+
start, ask the user to run and keep the preview command open in their own
|
|
100
|
+
terminal; that user-owned process is the server owner, and comment pickup is
|
|
101
|
+
manual.
|
|
102
|
+
3. For an Artifact Share-managed Cursor ACP session, start with
|
|
103
|
+
`npm exec --yes --package=@artifactshare/cli -- artifactshare-preview-cursor <file>`.
|
|
104
|
+
Run one managed launcher per workspace. The launcher creates or loads the
|
|
105
|
+
workspace's managed conversation and sends a fixed batch-ready prompt only
|
|
106
|
+
while that session is idle. Read all comment content with `preview next`;
|
|
107
|
+
never place it in the ACP prompt. Keep the launcher attended and approve
|
|
108
|
+
Cursor tool permissions only after checking the request shown in its
|
|
109
|
+
terminal.
|
|
110
|
+
4. In the interactive Cursor Agent CLI, start preview with
|
|
111
|
+
`ARTIFACTSHARE_CURSOR_FOREGROUND_WAIT=1`, then block in the foreground on
|
|
112
|
+
`preview next --wait 90` and repeat. Do not use that marker for a normal
|
|
113
|
+
Cursor IDE chat: IDE chats are manual pickup and must not be described as
|
|
114
|
+
automatically resumable.
|
|
115
|
+
5. Fallback: run `preview next` only when the user tells you a batch is
|
|
116
|
+
ready.
|
|
117
|
+
|
|
118
|
+
If `preview next` immediately returns the same item set as the previous
|
|
119
|
+
call, do not re-arm; report the situation to the user instead.
|
|
120
|
+
|
|
121
|
+
### Working through a batch
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare preview next ./lp.html --wait 90 --json
|
|
125
|
+
npm exec --yes --package=@artifactshare/cli -- artifactshare preview next --session 0123456789abcdef --json
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
- Read the whole batch first, then fix everything in one editing pass and
|
|
129
|
+
save once, then report the whole batch with a single `preview done` call.
|
|
130
|
+
- Successful `preview next` and `preview done` results include the same
|
|
131
|
+
sanitized `agent` notification projection as the ready result.
|
|
132
|
+
- Each done item is `{thread, generation, outcome, note}` with outcome
|
|
133
|
+
`fixed` (you changed the file) or `skipped` (`note` explaining why is
|
|
134
|
+
required). The `note` is shown to the user as the thread summary, so
|
|
135
|
+
write it for them.
|
|
136
|
+
- An item whose `anchor.state` is `orphaned` lost its place in the document;
|
|
137
|
+
do not try to re-fix it — report it as `skipped` with a note.
|
|
138
|
+
- `done` is idempotent per generation: each item comes back as `accepted`,
|
|
139
|
+
`stale` (the thread was reopened with a newer generation), or
|
|
140
|
+
`already_reported`, plus `unknown_thread` for ids the session does not
|
|
141
|
+
know.
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
printf '%s' '{"items":[{"thread":"t1","generation":1,"outcome":"fixed","note":"Tightened the headline"}]}' | npm exec --yes --package=@artifactshare/cli -- artifactshare preview done ./lp.html --stdin --json
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
Sharing is user-driven: the page's share button opens a separate-origin
|
|
148
|
+
dialog that publishes the snapshot bytes; local annotations are never
|
|
149
|
+
carried into the shared copy.
|
|
150
|
+
|
|
151
|
+
### Local preview isolation
|
|
152
|
+
|
|
153
|
+
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.
|
|
154
|
+
|
|
155
|
+
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.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# REST API only
|
|
2
|
+
|
|
3
|
+
Read this for direct API integrations. These operations are not supported CLI workflows.
|
|
4
|
+
|
|
5
|
+
### API-only static-site inheritance
|
|
6
|
+
|
|
7
|
+
`POST /api/shareables/:id/versions?artifact_kind=static_site` accepts one
|
|
8
|
+
`base_version` and repeated `delete_path` query parameters. For example,
|
|
9
|
+
`?artifact_kind=static_site&base_version=v1&delete_path=data/old.parquet&delete_path=old.js`
|
|
10
|
+
with multipart `file` parts for `data/a.parquet` replaces that data file, removes
|
|
11
|
+
the two listed paths, and inherits all other files without copying their objects.
|
|
12
|
+
The base must be the current published version; a stale base returns HTTP 409
|
|
13
|
+
`version_conflict`. It also supplies the expected version for agent credentials.
|
|
14
|
+
If `expected_version` is supplied, it must equal the base (otherwise HTTP 400
|
|
15
|
+
`validation-failed`). Neither parameter changes write permissions.
|
|
16
|
+
|
|
17
|
+
Deletion paths use the same normalization and validation as uploaded paths.
|
|
18
|
+
Sending and deleting the same path is invalid. A case-only addition requires
|
|
19
|
+
explicitly deleting the old spelling. An absent deletion path is harmless.
|
|
20
|
+
A base permits zero sent files, provided the resulting manifest still includes
|
|
21
|
+
`index.html` or `index.md`. Entrypoint precedence, file-count, total-size, and
|
|
22
|
+
case-collision checks apply to the complete resulting manifest. Without a base,
|
|
23
|
+
the existing full replacement behavior applies. Empty or repeated bases,
|
|
24
|
+
deletion without a base, and inheritance parameters on other artifact kinds
|
|
25
|
+
return HTTP 400 `validation-failed`.
|
|
26
|
+
|
|
27
|
+
Version size is the logical sum of that version's files. Workspace quota counts
|
|
28
|
+
physical objects once across retained versions; only sent files add bytes.
|
|
29
|
+
Pruning keeps objects referenced by remaining versions. Version URLs retain
|
|
30
|
+
immutable manifests. This is a REST API feature: there are no CLI `update`
|
|
31
|
+
flags, MCP inputs, or bridge inputs for inheritance.
|
|
32
|
+
|
|
33
|
+
### Publisher device credentials (API only)
|
|
34
|
+
|
|
35
|
+
Versions added with publisher credentials are scheduled updates: content and live viewers refresh, but list order, feeds, unread indicators, and human update labels do not change. Browser history marks Scheduled update without exposing client names. API `updated_at` remains the actual mutation time; internal `activity_at` controls human activity ordering. Initial creation and versions published through other credentials keep their existing behavior.
|
|
36
|
+
|
|
37
|
+
The device API accepts `preset: "publisher"` with a required `device_name`.
|
|
38
|
+
Names are trimmed, NFC-normalized, case-sensitive, and limited to 1–100 Unicode
|
|
39
|
+
letters, marks, numbers, ASCII spaces, or `._-()`. The browser approver explicitly
|
|
40
|
+
creates a new client or continues one of their existing clients in that workspace.
|
|
41
|
+
Names cannot be edited on the approval screen: if a name already exists, continue
|
|
42
|
+
that client or request login again with a different name. Only explicit continuation
|
|
43
|
+
restores access to earlier files; `device_id` never selects a client.
|
|
44
|
+
|
|
45
|
+
A publisher can create private HTML, Markdown, or static-site artifacts in the
|
|
46
|
+
approver's home. Static sites use `POST /api/shareables/uploads?artifact_kind=static_site`.
|
|
47
|
+
It can manage only artifacts created by or assigned to its client, still owned by
|
|
48
|
+
that approver in the same workspace, including after the owner shares or moves them.
|
|
49
|
+
Single-file versions require `expected_version`. Static-site versions accept
|
|
50
|
+
`artifact_kind=static_site` with either `expected_version` for replacement or
|
|
51
|
+
`base_version` for changed-files uploads and repeated `delete_path` removals.
|
|
52
|
+
The base must be current. Version uploads preserve audience, location and retention.
|
|
53
|
+
|
|
54
|
+
On artifacts created by or assigned to a publisher client, retention counts only published versions added with publisher credentials, including earlier clients, and keeps every other version. This also applies to unrestricted owner edits. The newest N publisher versions and every current version are kept; drafts do not count. Unmanaged artifacts continue to count all published versions.
|
|
55
|
+
|
|
56
|
+
The exact `GET /api/cli/artifacts/:id/download` returns raw source bytes for
|
|
57
|
+
single files and a JSON manifest with version id, paths and SHA-256 hashes for
|
|
58
|
+
static sites. Individual `download/*` requests are denied. `GET /api/cli/artifacts/:id`
|
|
59
|
+
includes visibility; static-site readback contains metadata only. No `include`
|
|
60
|
+
expansions are allowed. `DELETE /api/cli/artifacts/:id` deletes the artifact.
|
|
61
|
+
POST or PATCH `/api/cli/shareables/:id/edit` accepts only `retain_versions`, a
|
|
62
|
+
positive integer or null. Setting a limit prunes older versions immediately;
|
|
63
|
+
clearing it never restores deleted content. Other presets remain POST-only.
|
|
64
|
+
|
|
65
|
+
The owner can assign an existing artifact using an unrestricted credential or
|
|
66
|
+
browser session: `POST /api/cli/artifacts/:id/adopt` with
|
|
67
|
+
`{"publisher_client_id":"client1"}`. Obtain the verified client id from whoami or
|
|
68
|
+
doctor. Assignment replaces the previous client's access and is audited even when
|
|
69
|
+
repeated; historical creation attribution stays unchanged. Publisher credentials
|
|
70
|
+
cannot adopt. There is no adoption UI or CLI command.
|
|
71
|
+
|
|
72
|
+
Other clients' artifacts, list, resolve, comments, audience/title/expiry edits,
|
|
73
|
+
move, projects, append and upsert remain denied. Existing presets' download and
|
|
74
|
+
readback responses are unchanged. CLI publisher login/resume and publishing/download
|
|
75
|
+
workflows remain unsupported; use the API. Credentials retain their client across
|
|
76
|
+
rotation and can be revoked from Settings → CLI sessions.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
## Static-site scripts and data
|
|
2
|
+
|
|
3
|
+
Folder shares load external HTTPS images, stylesheets from jsDelivr, cdnjs,
|
|
4
|
+
unpkg, and Google Fonts (`fonts.googleapis.com`), and font files from jsDelivr
|
|
5
|
+
and Google Fonts (`fonts.gstatic.com`). Load icon/font packages from jsDelivr
|
|
6
|
+
or bundle the font files because cdnjs and unpkg font files are blocked.
|
|
7
|
+
JavaScript `eval` and `new Function` remain blocked.
|
|
8
|
+
|
|
9
|
+
Folder shares support WebAssembly, same-origin worker files, and `blob:` workers.
|
|
10
|
+
DuckDB-WASM can load from jsDelivr: its `getJsDelivrBundles()` setup uses a blob
|
|
11
|
+
worker to `importScripts()` the CDN worker and fetch its `.wasm` file. The existing
|
|
12
|
+
script CDNs are allowed inside blob workers; JavaScript `eval` and `new Function`
|
|
13
|
+
remain blocked in the page and its blob workers.
|
|
14
|
+
|
|
15
|
+
DuckDB-WASM loads runtime extensions such as `parquet` and `json` from
|
|
16
|
+
`https://extensions.duckdb.org/<duckdb-version>/<wasm_eh|wasm_mvp>/<name>.duckdb_extension.wasm`.
|
|
17
|
+
Static-site `connect-src` permits that origin: blob workers inherit the page's
|
|
18
|
+
policy, and same-origin JavaScript workers carry it. This permission covers
|
|
19
|
+
extension fetching, not arbitrary network origins.
|
|
20
|
+
|
|
21
|
+
To avoid the external extension request, bundle every needed extension matching
|
|
22
|
+
the DuckDB engine version and selected WASM platform. Preserve the repository's
|
|
23
|
+
version/platform layout, for example
|
|
24
|
+
`extensions/v1.4.3/wasm_eh/parquet.duckdb_extension.wasm` for `@duckdb/duckdb-wasm@1.32.0`.
|
|
25
|
+
The folder must match the engine version the page loads, which `SELECT version()`
|
|
26
|
+
reports, so pin the package version. In the page, compute
|
|
27
|
+
`new URL('extensions', location.href).href` (no trailing slash; DuckDB appends `/<version>/...`) and use that absolute same-origin
|
|
28
|
+
repository URL in `SET custom_extension_repository = '<absolute same-origin repository URL>'`
|
|
29
|
+
before any extension loads or queries. This avoids requests to the extension
|
|
30
|
+
host; jsDelivr core bundles still require CDN requests.
|
|
31
|
+
|
|
32
|
+
Keep data such as `data/*.parquet` in the shared folder. In the page, build an
|
|
33
|
+
absolute same-origin URL with `new URL('data/rows.parquet', location.href).href`
|
|
34
|
+
and pass it to DuckDB-WASM's `registerFileURL()` before querying the registered
|
|
35
|
+
file with SQL. Relative URLs cannot be resolved inside its blob worker.
|
|
36
|
+
Static-site binary assets support HTTP byte ranges. To refresh data while keeping
|
|
37
|
+
the same share URL, replace the data locally and update the folder as a new
|
|
38
|
+
version; each version retains its own isolated origin. Single-file HTML and
|
|
39
|
+
Markdown have different script policies; these permissions apply to folder shares.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
### Upload path safety
|
|
2
|
+
|
|
3
|
+
For `share`, `append`, and `update`, use a regular file or directory (`append`
|
|
4
|
+
requires one nonempty UTF-8 file). Relative selections stay in physical cwd and
|
|
5
|
+
reject linked components. Absolute selections trust parent directories but reject
|
|
6
|
+
a linked selection or included descendant. Never normalize `..`: every such
|
|
7
|
+
component is rejected; pass a direct absolute path. Copy linked content into the
|
|
8
|
+
selection or pass the target by absolute path. Hidden names, `__MACOSX`, excluded
|
|
9
|
+
dependency/metadata directories, and ignored OS filenames are skipped before
|
|
10
|
+
inspection. Other entries use `lstat`; cloud placeholders work with stable file
|
|
11
|
+
identities. Content is verified before authentication or project lookup, and auth
|
|
12
|
+
retries reuse it. `validation_failed` includes `details.path` and `details.reason`:
|
|
13
|
+
`parent_traversal`, `link`, `outside_cwd`, `not_found`, `changed`,
|
|
14
|
+
`unsupported_guarantee`, or `invalid_type`. Follow the specific hint; retry for
|
|
15
|
+
`changed` or `upload_read_failed` (filesystem errno in `details.errno`). POSIX uses
|
|
16
|
+
available `O_NOFOLLOW`; Windows uses the same handle identity checks and rejects
|
|
17
|
+
links reported by `lstat`. Neither detects every transient swap-and-restore or
|
|
18
|
+
same-identity, same-size in-place edit. See the CLI README for the full guarantee.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
### Version labels
|
|
2
|
+
|
|
3
|
+
Successful update API responses include `number`, a positive integer matching the
|
|
4
|
+
Viewer’s `v{number}` for the created version. CLI JSON exposes it as
|
|
5
|
+
`data.version.number`, with or without a label. Older server responses may omit
|
|
6
|
+
`number`; the CLI accepts them and omits `data.version.number`.
|
|
7
|
+
|
|
8
|
+
The optional `--label <label>` option on `artifactshare update <target> <path>`
|
|
9
|
+
attaches an immutable note to the new version of an HTML file, Markdown file, or static-site
|
|
10
|
+
bundle. Labels are normalized to Unicode NFC, then leading and trailing Unicode
|
|
11
|
+
space separators (Zs) are trimmed. Internal spacing and case are preserved.
|
|
12
|
+
The result must contain 1–80 Unicode code points (not bytes or UTF-16 units).
|
|
13
|
+
Letters, marks, numbers, punctuation, symbols, space separators, and U+200D
|
|
14
|
+
(joined emoji) are allowed. Empty values, tabs, newlines, controls, bidi formatting
|
|
15
|
+
controls, and unpaired surrogates are rejected; labels are never truncated.
|
|
16
|
+
CLI validation happens before authentication or upload. For a value beginning
|
|
17
|
+
with a known flag, use `--label=--text` to pass it explicitly.
|
|
18
|
+
|
|
19
|
+
The update API accepts one optional `label` query parameter on
|
|
20
|
+
`POST /api/shareables/:id/versions`, including `artifact_kind=static_site` uploads.
|
|
21
|
+
Invalid or repeated labels return HTTP 400 `validation-failed` before upload work.
|
|
22
|
+
Omission stores NULL and never inherits a prior label. Successful update API responses include `label`, and CLI JSON includes
|
|
23
|
+
`data.version.label`: the normalized, stored label or `null` when omitted.
|
|
24
|
+
Authorized history at
|
|
25
|
+
`GET /api/cli/artifacts/:id?include=versions` includes `label` only when present;
|
|
26
|
+
`artifacts get <target> --include versions --json` preserves it. The viewer's
|
|
27
|
+
version menu and full history show the label as plain text.
|
|
28
|
+
`GET /api/shareables/:id/versions` remains a current-version lookup.
|
|
29
|
+
Labels are update-only: initial uploads, `share --key`, `append`, preview,
|
|
30
|
+
bridge publishing, and MCP update inputs do not accept them.
|