agents-can-communicate 0.8.2 → 0.8.3
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/docs/UPGRADING.md +11 -0
- package/node_modules/@agents-can-communicate/adapter-antigravity/package.json +1 -1
- package/node_modules/@agents-can-communicate/adapter-antigravity/plugin/plugin.json +1 -1
- package/node_modules/@agents-can-communicate/adapter-claude-code/package.json +1 -1
- package/node_modules/@agents-can-communicate/adapter-codex/package.json +1 -1
- package/node_modules/@agents-can-communicate/adapter-gemini-cli/extension/gemini-extension.json +1 -1
- package/node_modules/@agents-can-communicate/adapter-gemini-cli/package.json +1 -1
- package/node_modules/@agents-can-communicate/adapter-grok/package.json +1 -1
- package/node_modules/@agents-can-communicate/adapter-kimi/package.json +1 -1
- package/node_modules/@agents-can-communicate/adapter-sdk/package.json +1 -1
- package/node_modules/@agents-can-communicate/cli/package.json +1 -1
- package/node_modules/@agents-can-communicate/cli/src/managed-runtime/download.mjs +3 -1
- package/node_modules/@agents-can-communicate/core/package.json +1 -1
- package/node_modules/@agents-can-communicate/delivery-router/package.json +1 -1
- package/node_modules/@agents-can-communicate/hook-runner/package.json +1 -1
- package/node_modules/@agents-can-communicate/installer/package.json +1 -1
- package/node_modules/@agents-can-communicate/mcp-server/package.json +1 -1
- package/node_modules/@agents-can-communicate/protocol/package.json +1 -1
- package/node_modules/@agents-can-communicate/storage-filesystem/package.json +1 -1
- package/package.json +1 -1
package/docs/UPGRADING.md
CHANGED
|
@@ -28,6 +28,17 @@ a client's own settings:
|
|
|
28
28
|
`processTracked`, `liveDelivery` and `liveLeaseCurrent`. This release adds no store event type
|
|
29
29
|
or field, so a store it writes stays readable by 0.8.x.
|
|
30
30
|
|
|
31
|
+
The installed version performs the download. If `acc update` from 0.8.2 or earlier fails with
|
|
32
|
+
`ETARGET` and `No matching version found` right after a release, npm is answering from a
|
|
33
|
+
package document it cached before the registry listed the release. Run the update so that
|
|
34
|
+
npm asks the registry again:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm_config_prefer_online=true acc update
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
From 0.8.3, the download does this itself.
|
|
41
|
+
|
|
31
42
|
## From 0.7.x
|
|
32
43
|
|
|
33
44
|
Claude Code live delivery wakes each session through the inbox socket that Claude Code opens
|
|
@@ -52,7 +52,9 @@ export async function downloadRelease(root, release, { env = process.env } = {})
|
|
|
52
52
|
const temporary = await mkdtemp(path.join(downloads, ".download-"));
|
|
53
53
|
try {
|
|
54
54
|
await writeFile(path.join(temporary, "package.json"), JSON.stringify({ private: true, name: "acc-runtime-download", version: "1.0.0" }));
|
|
55
|
-
|
|
55
|
+
// Discovery asked the registry itself; --prefer-online makes npm ask too,
|
|
56
|
+
// instead of trusting a package document it cached before the release (#221).
|
|
57
|
+
await exec(process.execPath, [await npmCli(env), "install", "--prefer-online", "--ignore-scripts", "--omit=dev",
|
|
56
58
|
"--global=false", "--prefix", temporary, "--package-lock=true",
|
|
57
59
|
"--package-lock-only=false", "--dry-run=false", "--workspaces=false",
|
|
58
60
|
"--include-workspace-root=false", "--no-audit", "--no-fund", "--save=true", "--save-exact", "--registry", release.registry,
|