Skip to content

chord 0.2.1

Choose a tag to compare

@Cedr1cSun Cedr1cSun released this 28 Oct 15:45
· 14 commits to main since this release

macOS

chord-cli installs on macOS: the package allows the platform and sets the execute bit on node-pty's spawn helper, which the prebuilt package ships without. Codex's state=done report counts as idle.

Work that was lost or unprotected

  • chord clean no longer removes a worktree whose git link is broken; a failing git status is reported as held work instead of taken for a clean tree.
  • finish refuses to merge while a file you claimed sits untracked in the worktree, so a git commit -a that skipped a new file no longer leaves main with half the change.
  • The merge lock names its holder: a dead holder loses it at once, a live one keeps it through a long test run, and only the owner removes it.
  • An agent still running its setup command, or waiting for Codex's first start, is no longer swept offline after thirty seconds, and the wrapper no longer drops messages or a stop request that arrived meanwhile.
  • A machine waking from sleep no longer takes some agents offline because their wrappers woke a second apart.
  • Writes through a junction or symlink are checked against the claims and the main checkout like any other.

Smaller fixes

  • An agent with only merge notices unread may stop; a subagent's tool calls no longer consume the agent's messages.
  • Shell warnings: a claimed file inside a new directory covers the directory; the dirty-main warning uses the same rule as finish.
  • Parser.parse overlaps with Parser and parse when claims compare symbols.
  • Codex state reports are read once and only when complete; submodules with non-ASCII names are checked; project paths fold case on macOS.
  • claim() reads <repo>/x as a repository path and explains the two spellings that reach your copy when that can only have meant the old form.
  • The MCP server reports the package version; the log rotates at 16 MB.

Faster

  • One git diff instead of eight subprocesses after every shell command.
  • No fsync per heartbeat: the database runs with synchronous = normal under WAL.
  • Hooks load fewer modules; finish makes one rev-parse call instead of four.

Also

  • Schema version 4 drops two columns nothing read.
  • The READMEs now describe trust, the Codex sandbox and conflict handling as the code does, and the demo shows the current chord ls columns.

Full changes: v0.2.0...v0.2.1