agents-can-communicate 0.1.15 → 0.1.16

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents-can-communicate/adapter-claude-code",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents-can-communicate/adapter-codex",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents-can-communicate/adapter-gemini-cli",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents-can-communicate/adapter-kimi",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents-can-communicate/adapter-sdk",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents-can-communicate/cli",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": {
@@ -134,10 +134,18 @@ async function diagnoseAdapters({ options, runtime }) {
134
134
  // trust prompt, most of all. It goes where a person reads, not into --json.
135
135
  remediation.push(...(entry.needsAction ?? []));
136
136
  const installed = record.installs.find(one => one.adapterId === entry.adapterId);
137
- const stale = staleInstall({ recorded: installed?.accVersion ?? null, running });
137
+ const bundleVersion = installed?.accVersion ?? null;
138
+ const stale = staleInstall({ recorded: bundleVersion, running });
138
139
  if (stale !== null) {
140
+ // Names the skills and manifests, not "the plugin". Updating the npm
141
+ // package replaces the CLI and the hook runtime the client's shim points
142
+ // at, so the runner can already be current - `wired` says whether it is -
143
+ // while the skills and manifests copied into the client stay at whatever
144
+ // acc last ran `acc install`. Calling the whole plugin stale reads as a
145
+ // stale runtime and contradicts a `wired` that says otherwise.
139
146
  remediation.push(`acc install --adapter ${entry.adapterId}`
140
- + ` # plugin is ${stale.recorded}, acc is ${stale.running}`);
147
+ + ` # skills and manifests here are from ${stale.recorded}, acc is ${stale.running}`
148
+ + ` - reinstall to refresh the bundle`);
141
149
  }
142
150
  // Read from the wiring rather than from the record. An ACC old enough not to
143
151
  // know the record's version field still rewrites that record - blank - while
@@ -149,7 +157,11 @@ async function diagnoseAdapters({ options, runtime }) {
149
157
  remediation.push(`acc install --adapter ${entry.adapterId}`
150
158
  + ` # wired to acc ${wired}, this is ${running}`);
151
159
  }
152
- return { ...entry, stale, wired, owned: { modified: owned.modified,
160
+ // `wired` is the version of the runner the client executes; `bundleVersion`
161
+ // is the acc that copied the skills and manifests into it. They diverge after
162
+ // an npm upgrade with no `acc install`, and reporting both is what makes the
163
+ // divergence legible rather than hidden behind a single reassuring number.
164
+ return { ...entry, stale, wired, bundleVersion, owned: { modified: owned.modified,
153
165
  missing: owned.missing, intact: owned.intact.length }, remediation };
154
166
  }));
155
167
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents-can-communicate/core",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents-can-communicate/hook-runner",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents-can-communicate/installer",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": { ".": "./src/index.mjs" },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents-can-communicate/mcp-server",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents-can-communicate/protocol",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents-can-communicate/storage-filesystem",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agents-can-communicate",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "type": "module",
5
5
  "description": "Local-first coordination for independently opened AI agent sessions.",
6
6
  "keywords": [