kith-coord 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.9 — 2026-11-16
4
+
5
+ - Hook messages sent back to the model are capped at 2,000 characters. That includes notices, warnings, shared-checkout refusals, and revert warnings, both before and after a tool call. The text is cut on a line boundary. The ready-to-run `kith commit` line in a refusal or revert is kept whole; other text is dropped first so the total stays within 2,000 whenever that line fits. A command longer than the budget is returned intact rather than cut into a command that would not run. The shorter conflict footer from 0.1.8 stays separately bounded and counts toward that total.
6
+ - False conflicts from temporary-index commits are pruned. A stored conflict is dropped when one side is already the current commit, when both sides are the same content, or when the recorded changes merge cleanly. Cleanup runs when HEAD changes, including after `kith commit`, and is cached so a later status read does not re-check every conflict. Probe files are created outside the repository and removed immediately. A real overlap stays reported, including between Claude Code subagents that share a process. A missing process id is not treated as the same agent.
7
+ - Temporary-index commits are allowed in a shared checkout and in your own worktree while other agents are active, under the new firewall rules. In a shared checkout, `git update-ref` of `HEAD` or the branch checked out there is allowed only as a compare-and-swap of exactly one commit, and only when every changed file is one you have claimed, locked, or recorded the way `kith commit` records files. Literal commit ids are checked before the command runs. When that same command uses shell variables or a command substitution, Kith does not run them ahead of time: after the commit lands it checks the result and moves the ref back if a path belongs to another agent, the commit is a merge, or it jumps more than one commit. In your own worktree, the same commit is allowed on `HEAD` or your own branch while a peer is active elsewhere. Updates to the integration branch, another agent's branch, or a `HEAD` move in a shared checkout that does not meet those rules stay blocked, as do deleting a ref you do not own, `--stdin` batches, and ref commands Kith cannot classify. `symbolic-ref` stays blocked except for a read or for pointing your own `HEAD` at your own branch. A refusal names the reason and includes `kith commit -m "<message>" <recorded files>` when you have recorded files.
8
+ - `kith doctor` detects hooks and client entries pinned to a stale runtime. It fails when a Claude hook config, Cursor `hooks.json`, Codex config, Claude Desktop config, or another client MCP entry points at a different Kith than the CLI you just ran, and the failure tells you to run `kith install`. A hook whose retained runtime is older than the `kith` binary on `PATH` says so once per process.
9
+ - `kith install` prunes old runtimes. It deletes retained copies under `~/.local/share/kith/runtimes/` that no live hook, MCP entry, or login agent still names, and keeps a runtime any of those configs still point at. A damaged selected runtime is still refused rather than overwritten.
10
+ - After upgrading, run `kith install` so hooks and client entries use this runtime. Protocol stays 1.6.0. The storage schema stays 3. There is no database migration. Stop existing Kith connections first, and upgrade every coordinator that shares a repository together.
11
+
3
12
  ## 0.1.8 — 2026-11-15
4
13
 
5
14
  - Handoffs. Coordination state used to lose everything an agent learned when its session ended: claims were released and the task requeued as if untouched. `kith_write_handoff` (and `kith handoff write`) leaves a note with what is done, what remains, what failed and what was learned, plus the files changed from Git and a pointer to the full transcript; `releaseTask` hands the task back to the queue. Kith records an `abandoned` note itself when a session dies or disconnects mid-task (claimed files, last failed integration, quarantined changes) and a completion note when none was written. `kith_begin_work` and `kith_claim_next_task` return relevant notes by task and exact scope overlap, `kith_get_status` lists open ones, `kith_read_handoffs` returns full text, and siblings see new notes in their live delta. Notes are labelled untrusted, stripped of control characters and bounded. A note is superseded only by a later completion that exists. Abandoned notes point at the branch, and its worktree when that still exists.
package/CONTRIBUTING.md CHANGED
@@ -44,4 +44,10 @@ The public entrypoint is `src/index.ts`. `KithEngine` assembles storage, agent l
44
44
 
45
45
  `pnpm test:package` builds and packs the distribution, installs it in an empty consumer project, and checks the CLI, packaged supervised worker, and library API. It needs registry access for runtime dependencies.
46
46
 
47
- Native client checks are opt-in: see [client validation](docs/client-validation.md). They require installed authenticated clients and consume model usage. CI uses no model credentials. Establish monitored security contacts before public launch or configuring a release workflow.
47
+ Native client checks are opt-in: see [client validation](docs/client-validation.md). They require installed authenticated clients and consume model usage. CI uses no model credentials.
48
+
49
+ ## Releasing
50
+
51
+ Publish by pushing a `vX.Y.Z` tag after the release commit is on `main`. The release workflow checks that the tag, `package.json`, `src/version.ts`, and `server.json` agree, runs the same Linux, macOS, and Windows checks as pull requests, then publishes. It uses npm trusted publishing, so there is no `NPM_TOKEN`. The one-time npmjs.com values, the GitHub `release` environment, and the optional editor-marketplace secrets are in [RELEASING.md](RELEASING.md).
52
+
53
+ Run `pnpm release:check` before tagging. Report security issues through [private vulnerability reporting](https://github.com/connorhriley/kith/security/advisories/new), as described in [SECURITY.md](SECURITY.md).
package/README.md CHANGED
@@ -44,20 +44,20 @@ Requires **Git 2.38+** and **Node.js 22.13+ on 22.x or Node.js 24+**. Full workf
44
44
 
45
45
  Git recording and integration require a commit identity configured for the repository (`user.name` and `user.email`). Kith does not change your global Git identity.
46
46
 
47
- **Upgrading to 0.1.8:** Stop existing Kith connections first. Back up stopped coordination state (including SQLite sidecars) and retain worktrees; upgrade all coordinators sharing a repository together. The storage schema stays 3. Databases already on schema 3 open without a version migration. The first open with 0.1.8 creates an optional `handoffs` table; binaries from 0.1.6 and 0.1.7 ignore that table and keep working, but they do not read or write handoff notes. An upgrade from schema 2 still applies the 0.1.6 migration to schema 3, which older binaries refuse. Hooks no longer block a process that has not joined a session, and integration refuses only dirty files the merge itself changes. Existing custom launchers are preserved; review their pinned version before reconnecting. On macOS, `kith install` and `kith setup` register a login LaunchAgent unless `--no-autostart` or `--no-radar` is passed. See [recovery guidance](docs/reliability.md#recovery).
47
+ **Upgrading to 0.1.9:** Stop existing Kith connections first. Back up stopped coordination state (including SQLite sidecars) and retain worktrees; upgrade all coordinators sharing a repository together. The storage schema stays 3 and the protocol stays 1.6.0. Databases already on schema 3 open without a version migration. The first open on 0.1.8 or later creates an optional `handoffs` table; binaries from 0.1.6 and 0.1.7 ignore that table and keep working, but they do not read or write handoff notes. An upgrade from schema 2 still applies the 0.1.6 migration to schema 3, which older binaries refuse. After upgrading, run `kith install` so hooks and client entries use this runtime. `kith doctor` reports a hook or MCP entry still pinned to an older runtime. Existing custom launchers are preserved; review their pinned version before reconnecting. On macOS, `kith install` and `kith setup` register a login LaunchAgent unless `--no-autostart` or `--no-radar` is passed. See [recovery guidance](docs/reliability.md#recovery).
48
48
 
49
49
  ### VS Code or Cursor
50
50
 
51
51
  Install **Kith** (`kith-coord.kith`) from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=kith-coord.kith) or [Cursor / Open VSX](https://open-vsx.org/extension/kith-coord/kith). You can also search for `kith-coord.kith` in the editor's Extensions view.
52
52
 
53
- To select release **0.1.8** explicitly with an editor CLI already on your `PATH`:
53
+ To select release **0.1.9** explicitly with an editor CLI already on your `PATH`:
54
54
 
55
55
  ```sh
56
- code --install-extension kith-coord.kith@0.1.8
57
- cursor --install-extension kith-coord.kith@0.1.8
56
+ code --install-extension kith-coord.kith@0.1.9
57
+ cursor --install-extension kith-coord.kith@0.1.9
58
58
  ```
59
59
 
60
- Use the command for your editor. A marketplace lookup can temporarily select an older version; the [extension guide](extensions/editor/README.md#install) also links the published 0.1.8 VSIX.
60
+ Use the command for your editor. A marketplace lookup can temporarily select an older version; the [extension guide](extensions/editor/README.md#install) also links the published 0.1.9 VSIX.
61
61
 
62
62
  Open a trusted local Git checkout and approve Kith's MCP server through the editor. The extension bundles the coordination server, detects Node, and preserves existing MCP entries, hooks and tool permissions. **No global npm install is needed.** It registers the compact tool profile (`kith.mcp.profile`, `compact` by default, or `full`), shows a read-only global hook status note in Output, and adds **Kith: Install Global Hooks & Autostart** (`kith.installGlobal`). The bundled extension does not include the macOS menu-bar helper; run `kith install` from the CLI on macOS for Radar login autostart. Each agent still needs to use Kith's tools; installing the extension alone does not enforce claims on other writers.
63
63
 
@@ -73,10 +73,10 @@ The [extension guide](extensions/editor/README.md) covers settings and existing
73
73
 
74
74
  ### CLI and other MCP clients
75
75
 
76
- Published **0.1.7** configures detected clients and adds project instructions with:
76
+ Configure detected clients and add project instructions with:
77
77
 
78
78
  ```sh
79
- npx --yes --package kith-coord@0.1.8 kith setup
79
+ npx --yes --package kith-coord@0.1.9 kith setup
80
80
  ```
81
81
 
82
82
  **`kith install`** is the one-command onboarding path. `kith setup` remains a compatible alias:
package/bin/kith-menubar CHANGED
File without changes