Skip to content

0.1.3

Choose a tag to compare

@maksymenkoml maksymenkoml released this 25 Aug 21:00
· 2170 commits to main since this release

Four fixes. None came out of running the tests again — all four came out of installing 0.1.2 and using it, and two of them were promises broken in silence.

npm install -g agents-can-communicate
acc install

The Codex install is an install

acc install reported success for this client, and the client disagreed:

$ codex plugin list
agents-can-communicate@local-marketplace   not installed

ACC wrote into <home>/.agents/plugins/marketplace.json — the marketplace Codex discovers by itself, with no config entry at all, under whatever that manifest calls itself. So ACC was a guest in someone else's marketplace while naming everything after itself: the id it enabled, the cache it wrote, and the tree it placed all missed.

It registers a marketplace of its own now, rooted at <home>/.agents/acc-local. The client agrees:

agents-can-communicate@acc-local  installed, enabled  0.1.3

Uninstall also stopped removing a directory it shared. As a guest, the cache root it deleted belonged to the marketplace — and on a real machine it took a plugin the user had installed themselves.

A home directory is refused in words you can act on

Every command that opens a workspace stopped from the one directory a person is most likely to be in:

$ cd ~ && acc status
runtime state must not live inside the workspace

The rule is right — a home is no checkout, so discovery falls back to where you are, and the platform's state directory is inside a home by definition. The sentence was written for somebody who had pointed the state at a project on purpose. It now names the directory, the state it holds, and the two ways out. acc help and acc version answer there regardless.

Hooks survive a node version manager

Switch node 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, then acc-hook as npm links it — and only when node is on PATH, since its shebang needs one — then the current node. With nothing left to run it names the missing path, says to run acc install, and exits 0.

Verification

Built from faed014
sha256 b3821785071c578a5198d869c2dfb03c25226c34a14a8669ba8882f153477c6d
Tarball 135 KB, 109 entries
Tests 868 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.3.tgz

Then installed from the registry and used against the real Codex, which is the check that found everything above.

The full changelog names the defect rather than the fix in each entry.