@artifactshare/cli 0.8.3 → 0.8.4

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 CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to `@artifactshare/cli` are documented here.
4
4
  For user-facing announcements, see https://artifactshare.com/updates?product=cli.
5
5
 
6
+ ## 0.8.4 - 2026-07-27
7
+
8
+ - Route capable coding agents to the CLI even when MCP is available; use remote MCP for chat and temporary sandboxes with uncertain CLI network access.
9
+
6
10
  ## 0.8.3 - 2026-07-26
7
11
 
8
12
  - HTML append inserts content before the closing body tag when present, while Markdown and HTML fragments without that tag still append at the source end.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artifactshare/cli",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "Upload and share HTML, Markdown, folders, and static sites from terminals, AI agents, automation, and CI.",
5
5
  "homepage": "https://artifactshare.com/connect",
6
6
  "license": "Apache-2.0",
@@ -4,7 +4,7 @@ description: Share, publish, upload, host, update, open, or read back existing f
4
4
  ---
5
5
 
6
6
  <!-- artifactshare-skill
7
- version: 31
7
+ version: 32
8
8
  managed: true
9
9
  -->
10
10
 
@@ -30,9 +30,13 @@ sites, and Artifact Share URLs.
30
30
  Run commands with `npx --yes @artifactshare/cli`. When unsure about a
31
31
  command or flag, run `npx --yes @artifactshare/cli <command> --help` first.
32
32
 
33
- Use the CLI whenever the file already exists locally as a file or folder.
34
- The remote MCP tools accept HTML or Markdown source strings; they cannot read
35
- paths like `/Users/.../report.html` from the user's filesystem.
33
+ Honor an explicit user request to use CLI or MCP before selecting the default
34
+ below. Use the CLI when a coding agent can access a user-controlled workspace,
35
+ install the CLI package, and reach Artifact Share, even when MCP tools are also
36
+ available. Use remote MCP for source text in chat or a temporary sandbox when
37
+ CLI network access is unavailable or uncertain; a temporary file alone is not
38
+ enough to try `npx`. MCP OAuth is not CLI authentication: follow the CLI
39
+ `auth_required` recovery for first setup, then reuse the saved CLI profile.
36
40
 
37
41
  When passing paths or free-form text through a shell, quote them. Paths may
38
42
  contain `$`, spaces, `*`, or `?`; use single quotes such as
@@ -4,7 +4,7 @@ alwaysApply: false
4
4
  ---
5
5
 
6
6
  <!-- artifactshare-skill
7
- version: 31
7
+ version: 32
8
8
  managed: true
9
9
  -->
10
10
 
@@ -28,9 +28,13 @@ for creating or designing an artifact inside the chat. Artifact Share is for
28
28
  sharing, updating, opening, or reading back existing files, folders, static
29
29
  sites, and Artifact Share URLs.
30
30
 
31
- Use the CLI for local files and folders. The remote MCP tools accept HTML or
32
- Markdown source strings; they cannot read paths like `/Users/.../report.html`
33
- from the user's filesystem.
31
+ A user-named CLI or MCP route overrides automatic capability selection. Prefer
32
+ the CLI when a coding agent can work in a user-controlled workspace, fetch the
33
+ package, and connect to Artifact Share, even when MCP is available. Use
34
+ remote MCP for source text in chat or a temporary sandbox when CLI network
35
+ access is unavailable or uncertain; a temporary file alone is not enough to
36
+ try `npx`. MCP OAuth is separate from CLI authentication: follow the CLI
37
+ `auth_required` recovery, then reuse the saved profile.
34
38
  Use `append <target> <path> --json` to append a non-empty UTF-8 file exactly
35
39
  as-is to a single-file artifact. Markdown is appended at source end; HTML is
36
40
  inserted before an ASCII case-insensitive `</body>` when present, or at source