Repository navigation
0.1.2
Six defects, and not one came out of running the tests again. Three questions found them: what a person needs --dry-run for, whether there is an auto-updater, and what happens when a version manager moves node. Each answer was that something was already broken and saying nothing about it.
npm install -g agents-can-communicate
acc installFixed
acc install says what it wrote. It reported installed 3 adapter(s) after writing into three other tools' configuration inside your home. The list existed all along — --dry-run prints it — and the run that did the work printed a number. Both commands name every path now, home-relative, and an install says how to undo it. An uninstall also says what it held back: bytes that stopped matching what ACC wrote are yours, and are kept.
acc config init can be answered. It had the asking, but no confirmation port was ever handed in, so the question went to a fallback that always answered no — in a real terminal it printed not written and never said why. Closing the input is a refusal now rather than the crash it used to report.
--yes is gone from acc install and acc uninstall. Neither ever asked anything, and no code read the flag. It stays on acc config init, which does ask.
acc update, and a doctor that notices. npm install -g replaces the CLI and the hook runtime — a client runs the runtime out of the npm directory rather than a copy — and leaves the bundle written into that client alone, including the skills the agents read. After an upgrade the client still had the old version while acc --version said the new one, and doctor called it healthy. It says so now, and acc update --apply does both steps.
acc doctor prints its remediation at all. It computed what to run next, put it in the data, and printed a one-line summary — so the command documented as saying "what to run next" said it only to --json.
Hooks survive a node version manager. Switch versions and every hook stopped working: exit 126, empty stdout, the whole coordination layer dark with nothing saying why. The pinned paths are still tried first — a hook runs with an environment that may carry neither PATH nor a shell profile — then acc-hook as npm links it, then the current node. With nothing left to run it names the missing path, says to run acc install, and exits 0.
Also
--dry-runonacc uninstall; the preview was computed for either action and onlyinstallcould ask for ituninstalled N adapter(s)counts the adapters it changed rather than the ones it visitedACC_NO_UPDATE_CHECK=1— the update check is the only part of ACC that reaches the network, and nothing on the hook path ever asksACC_PROBE_TIMEOUT_MS— three seconds to print a version is not always enough on a busy machine, and a client that overruns it looked absent
Verification
| Built from | b6032c9 |
| sha256 | c0103bd03f157308db30b30deaf29180df7c67086f873e293d2b8d52b3167d5c |
| Tarball | 134 KB, 109 entries |
| Tests | 861 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.2.tgzThen installed from the registry and used — which is the check that found a defect in this release's own hook fix, hours before it shipped: acc-hook is a script with #!/usr/bin/env node, so it cannot start without node, and an exec that fails ends the shim where it stands. The test covering that branch used a #!/bin/sh stub, which is why it passed while the shipped script could not run.
The full changelog names the defect rather than the fix in each entry.