ACC 0.1.2: Update command, honest install output

ACC 0.1.2 adds acc update, lists every path acc install writes, and keeps hooks running after a Node version switch. It fixes six silent defects.

Released

ACC 0.1.2 fixes six defects where ACC was already broken and said nothing. It adds acc update, makes acc install list what it wrote, and keeps hooks running after you switch Node versions. It belongs to the ACC 0.1 line and was released on 2026-08-25.

Who is affected#

  • Everyone who upgrades through npm install -g. Before 0.1.2, the upgrade replaced the CLI and left the skills in each client untouched, and acc doctor still called the install healthy.
  • Anyone who uses a Node version manager. A switch of Node versions made every hook fail.
  • Anyone who ran acc config init in a terminal.

What changed#

acc update and a doctor that notices. npm install -g replaces the CLI and the hook runtime, because a client runs the runtime out of the npm directory. It leaves the bundle written into each client alone, including the skills that agents read. After an upgrade the client still had 0.1.0 while acc --version said 0.1.1. acc doctor now reports a client wired to an older ACC and names the command that fixes it. acc update asks npm whether a newer ACC exists, and acc update --apply installs it and re-runs acc install. The install record carries the ACC version that wrote it. When a record predates that field, doctor stays silent instead of warning on every run.

acc install says what it wrote. It used to print installed 3 adapter(s) after it had written into the configuration of three other tools inside your home. Both install and --dry-run now name every path, relative to the home directory, and an install says how to undo it. An uninstall also names what it held back: bytes that no longer match what ACC wrote belong to you, so ACC keeps them.

acc doctor prints its remediation. It computed what to run next but showed it only in --json output. The text output now includes it.

Hooks survive a Node version manager. A switch of Node versions changed the interpreter and the global package directory. Every hook then failed with exit 126 and empty output, and nothing said why. The shim now tries the pinned paths first, because a hook can run without PATH or a shell profile. Then it tries acc-hook as npm links it, only when node is on PATH, and then the current Node against the recorded runtime. With nothing left to run, the shim names the missing path, says to run acc install and exits 0, so a broken install does not stop your session.

acc config init can be answered. The question went to a fallback that always answered no, so a real terminal printed not written and never said why. Answering y now writes the file, n does not, and closing the input is a refusal instead of a crash.

--yes is gone from acc install and acc uninstall. Neither command asks anything, and no code read the flag. It stays on acc config init.

Two settings arrived with it. ACC_NO_UPDATE_CHECK=1 turns off the update check, which is the only part of ACC that reaches the network, and nothing on the hook path ever makes that request. ACC_PROBE_TIMEOUT_MS raises how long detection waits for a client to print its version. On a busy machine, a slow start could make an installed client look absent.

The release check found one more defect in the hook fix before it shipped. acc-hook starts with #!/usr/bin/env node, so it cannot run without Node. A failed exec ends the shim, and the check saw exit 127 where the shim should have printed its message. The test for that branch had used a #!/bin/sh stub, which is why it passed.

What to do#

Upgrade, then refresh the client bundles:

npm install -g agents-can-communicate
acc install

From this release on, acc update --apply runs both steps. Run acc doctor afterwards. It now prints what to run next when something is stale.

If your hooks stopped after a Node switch on an earlier version, acc install re-pins the paths.

Later changes#

  • ACC 0.4.0 added managed automatic updates, so a plain acc update can apply a stable release without the manual two-step flow.

Sources#