Repository navigation
0.1.5
Every published version before this one — 0.1.0 through 0.1.4 — taught agents a command that could not run.
the skill named: <package>/node_modules/bin/acc.mjs MODULE_NOT_FOUND
really at: <package>/bin/acc.mjs
Hooks fired, context reached the model, and the write guard refused edits to claimed files — all of that worked. What did not was the half where an agent acts: claim a file, send a message, ask another agent for work, hand off. The skill is the only place an agent learns those commands, and the path in it was wrong on every install from the registry.
npm install -g agents-can-communicate # 0.1.5
acc install # re-writes the skill with a path that runsHow it was found
By asking a real Claude Code session to edit a file another agent had claimed. It was refused, correctly — and said this on the way:
The ACC command as documented in the skill failed —
MODULE_NOT_FOUND. The skill's path contains a spuriousnode_modules/segment… I found the correct path and continued.
It recovered by guessing. Nothing should depend on that.
The cause
defaultCli counted ../../../ from the SDK's own directory — correct in a development checkout, one level shallow once the workspaces are bundled. It is the same defect found for the hook runner and fixed for the runner alone. Both resolve through one function that walks up now, so the next binary cannot inherit the count.
Two tests were involved and neither could see it: the one that runs the command out of the skill runs in the development tree, where the count is right; the one that installs the tarball and asks the package to resolve itself asked about the runner and not the CLI. It asks about both now.
Verification
| Built from | 8a9cbb2 |
| sha256 | 5022560495d527fec8e37cf2ba9ea37ff4df3dcbafa2bef468f22108c7e925f5 |
| Tarball | 135 KB, 109 entries |
| Tests | 872 passing, 0 failing |
The digest is the tarball the registry serves, checked by downloading it back:
curl -sSL -O "$(npm view agents-can-communicate dist.tarball)"
shasum -a 256 agents-can-communicate-0.1.5.tgzThen the same live scenario that found the defect, run against the packaged release:
Worked on the first attempt? Yes — exit 0, valid JSON envelope (
"ok":true), no retry or path fixup needed.
If you are on an earlier version
acc update --apply installs this one and re-runs acc install, which rewrites the skill. The rewrite is the part that matters: upgrading the package alone leaves the old skill in your client.