kith-coord 0.2.0 → 0.2.1
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 +17 -0
- package/README.md +14 -11
- package/assets/brand/readme-header.png +0 -0
- package/assets/brand/readme-header.svg +1 -1
- package/assets/brand/social-preview.png +0 -0
- package/assets/brand/social-preview.svg +1 -1
- package/dist/chunk-6ORNHRPG.js +47 -0
- package/dist/chunk-6ORNHRPG.js.map +1 -0
- package/dist/chunk-QLLTQNDL.js +6104 -0
- package/dist/chunk-QLLTQNDL.js.map +1 -0
- package/dist/chunk-SAHFIOEQ.js +13927 -0
- package/dist/chunk-SAHFIOEQ.js.map +1 -0
- package/dist/chunk-WYEINJKJ.js +44 -0
- package/dist/chunk-WYEINJKJ.js.map +1 -0
- package/dist/chunk-YIMAR7VS.js +9599 -0
- package/dist/chunk-YIMAR7VS.js.map +1 -0
- package/dist/cli/index.js +689 -34691
- package/dist/cli/index.js.map +1 -1
- package/dist/client-77BNXEAH.js +708 -0
- package/dist/client-77BNXEAH.js.map +1 -0
- package/dist/command-worker.js +3 -0
- package/dist/command-worker.js.map +1 -1
- package/dist/index.d.ts +29 -5
- package/dist/index.js +68 -8737
- package/dist/index.js.map +1 -1
- package/dist/server-V52W56AG.js +3116 -0
- package/dist/server-V52W56AG.js.map +1 -0
- package/dist/stdio-3NHW7PIO.js +692 -0
- package/dist/stdio-3NHW7PIO.js.map +1 -0
- package/docs/install.md +5 -5
- package/docs/integrations.md +3 -3
- package/docs/protocol.md +1 -1
- package/docs/roadmap.md +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.1 — 2026-11-30
|
|
4
|
+
|
|
5
|
+
- Staging verification no longer shares the primary `node_modules`. The merge stage used to symlink that directory into the temporary worktree, so a check that deleted its children, including `rm -rf node_modules/*`, deleted the primary install. Staging now gets the same copy-on-write or independent copy as an agent worktree. Untracked `node_modules` paths from that copy do not fail the read-only verification check.
|
|
6
|
+
- A deferred shared-checkout `git update-ref` is restored if the agent dies before the post hook. The pending revert stays under `.coord/ref-guards` until startup, `kith doctor`, or `kith gc` compare-and-swaps the ref back to the recorded commit. An unreadable ref is kept and tried again later. A guard that has not expired is left for the live post hook. That restore is the one write `kith doctor` performs.
|
|
7
|
+
- Two concurrent adopts of the same linked worktree can no longer both register. The check for another active owner runs inside the same immediate transaction as the insert. The loser is told the worktree is already registered.
|
|
8
|
+
- `KITH_SESSION_TOKEN` is removed from verification output and from captured command output. The verification process still receives the token, because hooks need it. A supervised command does not inherit `KITH_SESSION_TOKEN` or `KITH_AGENT_ID` unless the caller supplied that variable.
|
|
9
|
+
- A symlink-alias walk that examines 10,000 entries is treated as an overlap. The lock check fails closed instead of reporting no overlap.
|
|
10
|
+
- Overlapping locks owned by the same agent are satisfied by that agent's newest fencing token. An older token for one of those locks is rejected as stale.
|
|
11
|
+
- A live auto-session renews its lease without dropping locks it still holds, and without taking a lock another agent acquired after the lease lapsed. `kith gc` does not delete a dirty worktree when `git worktree list` fails, and merge-train cleanup does not prune worktrees. Index resync resets only paths whose worktree file already matches HEAD.
|
|
12
|
+
- The shared-checkout git firewall treats `git.exe`, `-p` / `--paginate`, `--namespace`, an attached `-C`, and unknown global options as part of the command prefix. `find -delete` and `find -exec`, `fd -x` and `fd --exec`, and `awk` with `system` or a redirected `print` count as writes. Ignore rules apply to filenames that contain `*`, `?`, or `[]`. A commit lock or merge-train lock left by a dead pid, a truncated lock older than two seconds, or a reused pid is reclaimed. A detached merge target is reported as detached.
|
|
13
|
+
- The Claude Code plugin defers a hook only when that phase's own command is already Kith. Both markers have to be on the same command. An `--auto` pre-hook fails closed once coordination state exists or two peers are present and the claim check cannot finish. A solo repository with no state still passes through. `kith lock acquire --wait` installs its cancel handler before the session exists, so a SIGINT in that gap does not leave the session active.
|
|
14
|
+
- Hook startup and claim checks are faster. On Linux with Node 22, a pass-through pre-hook median went from about 73 ms to 38 ms, an enforcing check of one claim from about 98 ms to 56 ms, and an enforcing check of 2,050 claims from about 286 ms to 82 ms.
|
|
15
|
+
- README first screen. The opening names the collision (the same file, a port, competing installs, and `git add -A`), then the pitch and the install line, then the demo. The header tagline is file ownership, and the Glama score badge links to the listing. `plugins/kith/README.md` describes the Claude Code plugin for the plugin directory.
|
|
16
|
+
- Editor. The extension typechecks with TypeScript 7 and `moduleResolution` Bundler. Its lockfile takes the transitive `@azure/identity` bump; the extension runtime does not import that package. Plugin manifests are 0.2.1. Two lifecycle tests wait for a renewed lease, or set an already-expired lease, instead of sleeping for a fixed interval.
|
|
17
|
+
|
|
18
|
+
- 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 and no new table. Stop existing Kith connections first, and upgrade every coordinator that shares a repository together. The editor extension ships as 0.2.1 in lockstep with this package.
|
|
19
|
+
|
|
3
20
|
## 0.2.0 — 2026-11-23
|
|
4
21
|
|
|
5
22
|
- Worktree adoption. Kith can register a linked worktree an agent is already using, instead of creating one under `.coord/worktrees`. Claude Code `--worktree`, `EnterWorktree`, and subagent `isolation: worktree` checkouts live at `.claude/worktrees/<name>` (branch `worktree-<name>` by default). A joined hook adopts that checkout when its `cwd` is unambiguously that worktree, including the Claude Code plugin command `kith hook pre|post --client claude --auto`. `kith adopt [path]`, `kith worktree adopt [path]`, `kith begin --adopt [path]`, MCP `kith_adopt_worktree`, and `adoptWorktree` / `worktreePath` on begin and claim do the same for any `git worktree list` entry. Provenance is stored in an optional `worktree_registrations` table (`created` / `adopted`, source `kith`, `claude-code`, or `external`). Older binaries ignore the table. A dirty tree is left as it is. A detached HEAD can take `kith commit` and is refused at integration until a branch is checked out. A branch checked out in another worktree is refused for both `kith commit` and integration. An adopted branch that is unique still integrates only through the existing merge train and verification command. `kith gc` never deletes or prunes a worktree Kith did not create. `kith worktree remove` refuses an adopted directory unless `--delete-adopted` is passed, and that still refuses a dirty tree. `kith status` and `kith doctor` name adopted worktrees. The full MCP list adds `kith_adopt_worktree` (18 tools). Compact `kith_work` accepts `action: "adopt"`.
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="assets/brand/readme-header.png" alt="Kith — Parallel agents. Shared direction.
|
|
2
|
+
<img src="assets/brand/readme-header.png" alt="Kith — Parallel agents. Shared direction. File ownership for the coding agents you already run." width="100%">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
@@ -9,15 +9,16 @@
|
|
|
9
9
|
<a href="https://github.com/connorhriley/kith/actions/workflows/windows.yml"><img src="https://github.com/connorhriley/kith/actions/workflows/windows.yml/badge.svg" alt="Windows validation"></a>
|
|
10
10
|
<a href="LICENSE"><img src="https://img.shields.io/badge/licence-MIT-22C55E" alt="MIT licence"></a>
|
|
11
11
|
<a href="https://registry.modelcontextprotocol.io/v0.1/servers/io.github.connorhriley%2Fkith/versions/latest"><img src="https://img.shields.io/badge/MCP%20Registry-io.github.connorhriley%2Fkith-6b4fbb" alt="MCP Registry"></a>
|
|
12
|
+
<a href="https://glama.ai/mcp/servers/connorhriley/kith"><img src="https://glama.ai/mcp/servers/connorhriley/kith/badges/score.svg" alt="connorhriley/kith MCP server"></a>
|
|
12
13
|
</p>
|
|
13
14
|
|
|
14
15
|
<p align="center">
|
|
15
16
|
<a href="#quick-start">Quick start</a> · <a href="#demo">Demo</a> · <a href="#why-not-just-git-worktrees">Why not worktrees</a> · <a href="#how-kith-compares">Compare</a> · <a href="docs/install.md">Install</a> · <a href="https://marketplace.visualstudio.com/items?itemName=kith-coord.kith">VS Code</a> · <a href="https://open-vsx.org/extension/kith-coord/kith">Cursor / Open VSX</a> · <a href="docs/integrations.md">Integrations</a> · <a href="docs/usage.md">CLI & API</a> · <a href="CONTRIBUTING.md">Contribute</a>
|
|
16
17
|
</p>
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
Two agents on one repository collide when they edit the same file, fight over a port, run competing installs, or let `git add -A` sweep up another agent's work.
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
File ownership for the coding agents you already run.
|
|
21
22
|
|
|
22
23
|
## Quick start
|
|
23
24
|
|
|
@@ -27,12 +28,6 @@ Requires **Git 2.38+** and **Node.js 22.13+ on 22.x, or Node.js 24+**.
|
|
|
27
28
|
npm i -g kith-coord && kith install
|
|
28
29
|
```
|
|
29
30
|
|
|
30
|
-
`kith install` puts `kith` on your `PATH` and keeps that runtime outside the npx cache. It writes a global MCP entry for each detected client (`kith mcp --compact`) and installs silent-solo `--auto` hooks for Claude Code and Cursor. One agent stays at **Watching only**. When another writer overlaps, the hooks join Kith. Install does not claim any files. Codex has no native tool hooks, so it uses the MCP tools. Linux and Windows skip the menu bar; use `kith watch`.
|
|
31
|
-
|
|
32
|
-
A directory that scans a repository for an MCP server reads the committed [`.mcp.json`](.mcp.json): `npx -y kith-coord mcp` over stdio. That entry does not pin a checkout and does not install hooks. Upgrades, the editor extension, and the client matrix are in [Install](docs/install.md).
|
|
33
|
-
|
|
34
|
-
### Claude Code plugin
|
|
35
|
-
|
|
36
31
|
When Claude Code is the only client, install the plugin instead of a global npm package. In Claude Code:
|
|
37
32
|
|
|
38
33
|
```text
|
|
@@ -40,8 +35,6 @@ When Claude Code is the only client, install the plugin instead of a global npm
|
|
|
40
35
|
/plugin install kith@kith
|
|
41
36
|
```
|
|
42
37
|
|
|
43
|
-
The plugin runs `npx -y kith-coord` for the same hooks and for an MCP server (`kith mcp --compact`). It does not configure Cursor, Codex, or the menu bar. Using it together with `kith install` is safe: the plugin hooks exit when those Claude hooks are already registered, and `kith doctor` does not treat that as a fault. [Which to use](docs/install.md#which-to-use).
|
|
44
|
-
|
|
45
38
|
## Demo
|
|
46
39
|
|
|
47
40
|

|
|
@@ -54,6 +47,16 @@ Each `kith begin` is one line from the CLI's claim fields ([`claim.jq`](assets/d
|
|
|
54
47
|
pnpm build && vhs assets/demo/claims.tape
|
|
55
48
|
```
|
|
56
49
|
|
|
50
|
+
Kith does not launch those agents. Claude Code, Codex, Cursor, and any other MCP client share file claims, a dev-server port, and one-at-a-time commands such as a package install. When you supply a check, a worktree integrates only after that check passes; a failure leaves the target unchanged. There is no account and no coordination server. The macOS menu bar from `kith install` is an optional read-only status view, not a launcher.
|
|
51
|
+
|
|
52
|
+
## What install sets up
|
|
53
|
+
|
|
54
|
+
`kith install` puts `kith` on your `PATH` and keeps that runtime outside the npx cache. It writes a global MCP entry for each detected client (`kith mcp --compact`) and installs silent-solo `--auto` hooks for Claude Code and Cursor. One agent stays at **Watching only**. When another writer overlaps, the hooks join Kith. If that session is already inside a linked worktree, joining adopts it, including a Claude Code checkout under `.claude/worktrees/<name>`. Otherwise the hooks isolate the work into a worktree Kith creates, or into a claim. Install does not claim any files. Codex has no native tool hooks, so it uses the MCP tools. Linux and Windows skip the menu bar; use `kith watch`. Supervised mutex commands and shell hooks need macOS, Linux, or WSL.
|
|
55
|
+
|
|
56
|
+
A directory that scans a repository for an MCP server reads the committed [`.mcp.json`](.mcp.json): `npx -y kith-coord mcp` over stdio. That entry does not pin a checkout and does not install hooks. Upgrades, the editor extension, and the client matrix are in [Install](docs/install.md).
|
|
57
|
+
|
|
58
|
+
The Claude Code plugin runs `npx -y kith-coord` for the same hooks and for an MCP server (`kith mcp --compact`). It does not configure Cursor, Codex, or the menu bar. Using it together with `kith install` is safe: the plugin hooks exit when those Claude hooks are already registered, and `kith doctor` does not treat that as a fault. [Which to use](docs/install.md#which-to-use).
|
|
59
|
+
|
|
57
60
|
## How it works
|
|
58
61
|
|
|
59
62
|
Each agent has an id and claims the paths it will change. Kith stores that claim in SQLite under the repository (`.coord/`). An exclusive claim that overlaps a live claim is refused, and no lock is taken. In the default worktrees mode, `--worktree` (MCP `isolateWorktree: true`) checks out a separate Git worktree for the task. `kith mode main` keeps every agent in the shared checkout and still enforces the claims.
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="400" viewBox="0 0 1280 400" role="img" aria-label="Kith — Parallel agents. Shared direction."><title>Kith — Parallel agents. Shared direction.</title><rect width="1280" height="400" fill="#0B0F0E"/><g transform="translate(431 58) scale(1.2)"><path d="M25 57L49 33L89 73Q92 76 92 80V96Q92 100 88 100H69Q65 100 62 97Z" fill="#09624F"/><path d="M8 44L58 1Q59 0 63 0H81Q85 0 85 4V18Q85 21 82 24L8 87Q6 89 6 85V49Q6 46 8 44Z" fill="#22C55E"/></g><path d="M6.689453125,-0.0 L6.689453125,-71.58203125 L20.41015625,-71.58203125 L20.41015625,-33.59375 L36.474609375,-51.85546875 L53.369140625,-51.85546875 L35.64453125,-32.91015625 L54.638671875,-0.0 L39.84375,-0.0 L26.806640625,-23.291015625 L20.41015625,-16.6015625 L20.41015625,-0.0 Z M58.79296875,-58.88671875 L58.79296875,-71.58203125 L72.513671875,-71.58203125 L72.513671875,-58.88671875 Z M58.79296875,-0.0 L58.79296875,-51.85546875 L72.513671875,-51.85546875 L72.513671875,-0.0 Z M106.35546875,-51.85546875 L106.35546875,-40.91796875 L96.98046875,-40.91796875 L96.98046875,-20.01953125 Q96.98046875,-13.671875 97.2490234375,-12.6220703125 Q97.517578125,-11.572265625 98.4697265625,-10.888671875 Q99.421875,-10.205078125 100.7890625,-10.205078125 Q102.693359375,-10.205078125 106.306640625,-11.5234375 L107.478515625,-0.87890625 Q102.693359375,1.171875 96.638671875,1.171875 Q92.927734375,1.171875 89.94921875,-0.0732421875 Q86.970703125,-1.318359375 85.5791015625,-3.2958984375 Q84.1875,-5.2734375 83.650390625,-8.642578125 Q83.2109375,-11.03515625 83.2109375,-18.310546875 L83.2109375,-40.91796875 L76.912109375,-40.91796875 L76.912109375,-51.85546875 L83.2109375,-51.85546875 L83.2109375,-62.158203125 L96.98046875,-70.166015625 L96.98046875,-51.85546875 Z M125.548828125,-71.58203125 L125.548828125,-45.263671875 Q132.189453125,-53.02734375 141.41796875,-53.02734375 Q146.154296875,-53.02734375 149.962890625,-51.26953125 Q153.771484375,-49.51171875 155.7001953125,-46.77734375 Q157.62890625,-44.04296875 158.3369140625,-40.72265625 Q159.044921875,-37.40234375 159.044921875,-30.419921875 L159.044921875,-0.0 L145.32421875,-0.0 L145.32421875,-27.392578125 Q145.32421875,-35.546875 144.54296875,-37.744140625 Q143.76171875,-39.94140625 141.7841796875,-41.2353515625 Q139.806640625,-42.529296875 136.828125,-42.529296875 Q133.41015625,-42.529296875 130.724609375,-40.869140625 Q128.0390625,-39.208984375 126.7939453125,-35.8642578125 Q125.548828125,-32.51953125 125.548828125,-25.9765625 L125.548828125,-0.0 L111.828125,-0.0 L111.828125,-71.58203125 Z" transform="translate(571.4 168.39999999999998) scale(1.56)" fill="#F8FAFC"/><text x="640" y="246" text-anchor="middle" fill="#F8FAFC" font-family="Arial,Helvetica,sans-serif" font-size="38" font-weight="500" letter-spacing="-.9">Parallel agents. Shared direction.</text><text x="640" y="293" text-anchor="middle" fill="#A8B4B0" font-family="Arial,Helvetica,sans-serif" font-size="22">
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="400" viewBox="0 0 1280 400" role="img" aria-label="Kith — Parallel agents. Shared direction."><title>Kith — Parallel agents. Shared direction.</title><rect width="1280" height="400" fill="#0B0F0E"/><g transform="translate(431 58) scale(1.2)"><path d="M25 57L49 33L89 73Q92 76 92 80V96Q92 100 88 100H69Q65 100 62 97Z" fill="#09624F"/><path d="M8 44L58 1Q59 0 63 0H81Q85 0 85 4V18Q85 21 82 24L8 87Q6 89 6 85V49Q6 46 8 44Z" fill="#22C55E"/></g><path d="M6.689453125,-0.0 L6.689453125,-71.58203125 L20.41015625,-71.58203125 L20.41015625,-33.59375 L36.474609375,-51.85546875 L53.369140625,-51.85546875 L35.64453125,-32.91015625 L54.638671875,-0.0 L39.84375,-0.0 L26.806640625,-23.291015625 L20.41015625,-16.6015625 L20.41015625,-0.0 Z M58.79296875,-58.88671875 L58.79296875,-71.58203125 L72.513671875,-71.58203125 L72.513671875,-58.88671875 Z M58.79296875,-0.0 L58.79296875,-51.85546875 L72.513671875,-51.85546875 L72.513671875,-0.0 Z M106.35546875,-51.85546875 L106.35546875,-40.91796875 L96.98046875,-40.91796875 L96.98046875,-20.01953125 Q96.98046875,-13.671875 97.2490234375,-12.6220703125 Q97.517578125,-11.572265625 98.4697265625,-10.888671875 Q99.421875,-10.205078125 100.7890625,-10.205078125 Q102.693359375,-10.205078125 106.306640625,-11.5234375 L107.478515625,-0.87890625 Q102.693359375,1.171875 96.638671875,1.171875 Q92.927734375,1.171875 89.94921875,-0.0732421875 Q86.970703125,-1.318359375 85.5791015625,-3.2958984375 Q84.1875,-5.2734375 83.650390625,-8.642578125 Q83.2109375,-11.03515625 83.2109375,-18.310546875 L83.2109375,-40.91796875 L76.912109375,-40.91796875 L76.912109375,-51.85546875 L83.2109375,-51.85546875 L83.2109375,-62.158203125 L96.98046875,-70.166015625 L96.98046875,-51.85546875 Z M125.548828125,-71.58203125 L125.548828125,-45.263671875 Q132.189453125,-53.02734375 141.41796875,-53.02734375 Q146.154296875,-53.02734375 149.962890625,-51.26953125 Q153.771484375,-49.51171875 155.7001953125,-46.77734375 Q157.62890625,-44.04296875 158.3369140625,-40.72265625 Q159.044921875,-37.40234375 159.044921875,-30.419921875 L159.044921875,-0.0 L145.32421875,-0.0 L145.32421875,-27.392578125 Q145.32421875,-35.546875 144.54296875,-37.744140625 Q143.76171875,-39.94140625 141.7841796875,-41.2353515625 Q139.806640625,-42.529296875 136.828125,-42.529296875 Q133.41015625,-42.529296875 130.724609375,-40.869140625 Q128.0390625,-39.208984375 126.7939453125,-35.8642578125 Q125.548828125,-32.51953125 125.548828125,-25.9765625 L125.548828125,-0.0 L111.828125,-0.0 L111.828125,-71.58203125 Z" transform="translate(571.4 168.39999999999998) scale(1.56)" fill="#F8FAFC"/><text x="640" y="246" text-anchor="middle" fill="#F8FAFC" font-family="Arial,Helvetica,sans-serif" font-size="38" font-weight="500" letter-spacing="-.9">Parallel agents. Shared direction.</text><text x="640" y="293" text-anchor="middle" fill="#A8B4B0" font-family="Arial,Helvetica,sans-serif" font-size="22">File ownership for the coding agents you already run.</text><path d="M564 343H716" stroke="#174536" stroke-width="2"/><path d="M615 343H665" stroke="#22C55E" stroke-width="2"/></svg>
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="640" viewBox="0 0 1280 640" role="img" aria-label="Kith — Parallel agents. Shared direction."><title>Kith — Parallel agents. Shared direction.</title><rect width="1280" height="640" fill="#0B0F0E"/><g transform="translate(431 90) scale(1.2)"><path d="M25 57L49 33L89 73Q92 76 92 80V96Q92 100 88 100H69Q65 100 62 97Z" fill="#09624F"/><path d="M8 44L58 1Q59 0 63 0H81Q85 0 85 4V18Q85 21 82 24L8 87Q6 89 6 85V49Q6 46 8 44Z" fill="#22C55E"/></g><path d="M6.689453125,-0.0 L6.689453125,-71.58203125 L20.41015625,-71.58203125 L20.41015625,-33.59375 L36.474609375,-51.85546875 L53.369140625,-51.85546875 L35.64453125,-32.91015625 L54.638671875,-0.0 L39.84375,-0.0 L26.806640625,-23.291015625 L20.41015625,-16.6015625 L20.41015625,-0.0 Z M58.79296875,-58.88671875 L58.79296875,-71.58203125 L72.513671875,-71.58203125 L72.513671875,-58.88671875 Z M58.79296875,-0.0 L58.79296875,-51.85546875 L72.513671875,-51.85546875 L72.513671875,-0.0 Z M106.35546875,-51.85546875 L106.35546875,-40.91796875 L96.98046875,-40.91796875 L96.98046875,-20.01953125 Q96.98046875,-13.671875 97.2490234375,-12.6220703125 Q97.517578125,-11.572265625 98.4697265625,-10.888671875 Q99.421875,-10.205078125 100.7890625,-10.205078125 Q102.693359375,-10.205078125 106.306640625,-11.5234375 L107.478515625,-0.87890625 Q102.693359375,1.171875 96.638671875,1.171875 Q92.927734375,1.171875 89.94921875,-0.0732421875 Q86.970703125,-1.318359375 85.5791015625,-3.2958984375 Q84.1875,-5.2734375 83.650390625,-8.642578125 Q83.2109375,-11.03515625 83.2109375,-18.310546875 L83.2109375,-40.91796875 L76.912109375,-40.91796875 L76.912109375,-51.85546875 L83.2109375,-51.85546875 L83.2109375,-62.158203125 L96.98046875,-70.166015625 L96.98046875,-51.85546875 Z M125.548828125,-71.58203125 L125.548828125,-45.263671875 Q132.189453125,-53.02734375 141.41796875,-53.02734375 Q146.154296875,-53.02734375 149.962890625,-51.26953125 Q153.771484375,-49.51171875 155.7001953125,-46.77734375 Q157.62890625,-44.04296875 158.3369140625,-40.72265625 Q159.044921875,-37.40234375 159.044921875,-30.419921875 L159.044921875,-0.0 L145.32421875,-0.0 L145.32421875,-27.392578125 Q145.32421875,-35.546875 144.54296875,-37.744140625 Q143.76171875,-39.94140625 141.7841796875,-41.2353515625 Q139.806640625,-42.529296875 136.828125,-42.529296875 Q133.41015625,-42.529296875 130.724609375,-40.869140625 Q128.0390625,-39.208984375 126.7939453125,-35.8642578125 Q125.548828125,-32.51953125 125.548828125,-25.9765625 L125.548828125,-0.0 L111.828125,-0.0 L111.828125,-71.58203125 Z" transform="translate(571.4 200.39999999999998) scale(1.56)" fill="#F8FAFC"/><text x="640" y="320" text-anchor="middle" fill="#F8FAFC" font-family="Arial,Helvetica,sans-serif" font-size="38" font-weight="500" letter-spacing="-.9">Parallel agents. Shared direction.</text><text x="640" y="367" text-anchor="middle" fill="#A8B4B0" font-family="Arial,Helvetica,sans-serif" font-size="22">
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="640" viewBox="0 0 1280 640" role="img" aria-label="Kith — Parallel agents. Shared direction."><title>Kith — Parallel agents. Shared direction.</title><rect width="1280" height="640" fill="#0B0F0E"/><g transform="translate(431 90) scale(1.2)"><path d="M25 57L49 33L89 73Q92 76 92 80V96Q92 100 88 100H69Q65 100 62 97Z" fill="#09624F"/><path d="M8 44L58 1Q59 0 63 0H81Q85 0 85 4V18Q85 21 82 24L8 87Q6 89 6 85V49Q6 46 8 44Z" fill="#22C55E"/></g><path d="M6.689453125,-0.0 L6.689453125,-71.58203125 L20.41015625,-71.58203125 L20.41015625,-33.59375 L36.474609375,-51.85546875 L53.369140625,-51.85546875 L35.64453125,-32.91015625 L54.638671875,-0.0 L39.84375,-0.0 L26.806640625,-23.291015625 L20.41015625,-16.6015625 L20.41015625,-0.0 Z M58.79296875,-58.88671875 L58.79296875,-71.58203125 L72.513671875,-71.58203125 L72.513671875,-58.88671875 Z M58.79296875,-0.0 L58.79296875,-51.85546875 L72.513671875,-51.85546875 L72.513671875,-0.0 Z M106.35546875,-51.85546875 L106.35546875,-40.91796875 L96.98046875,-40.91796875 L96.98046875,-20.01953125 Q96.98046875,-13.671875 97.2490234375,-12.6220703125 Q97.517578125,-11.572265625 98.4697265625,-10.888671875 Q99.421875,-10.205078125 100.7890625,-10.205078125 Q102.693359375,-10.205078125 106.306640625,-11.5234375 L107.478515625,-0.87890625 Q102.693359375,1.171875 96.638671875,1.171875 Q92.927734375,1.171875 89.94921875,-0.0732421875 Q86.970703125,-1.318359375 85.5791015625,-3.2958984375 Q84.1875,-5.2734375 83.650390625,-8.642578125 Q83.2109375,-11.03515625 83.2109375,-18.310546875 L83.2109375,-40.91796875 L76.912109375,-40.91796875 L76.912109375,-51.85546875 L83.2109375,-51.85546875 L83.2109375,-62.158203125 L96.98046875,-70.166015625 L96.98046875,-51.85546875 Z M125.548828125,-71.58203125 L125.548828125,-45.263671875 Q132.189453125,-53.02734375 141.41796875,-53.02734375 Q146.154296875,-53.02734375 149.962890625,-51.26953125 Q153.771484375,-49.51171875 155.7001953125,-46.77734375 Q157.62890625,-44.04296875 158.3369140625,-40.72265625 Q159.044921875,-37.40234375 159.044921875,-30.419921875 L159.044921875,-0.0 L145.32421875,-0.0 L145.32421875,-27.392578125 Q145.32421875,-35.546875 144.54296875,-37.744140625 Q143.76171875,-39.94140625 141.7841796875,-41.2353515625 Q139.806640625,-42.529296875 136.828125,-42.529296875 Q133.41015625,-42.529296875 130.724609375,-40.869140625 Q128.0390625,-39.208984375 126.7939453125,-35.8642578125 Q125.548828125,-32.51953125 125.548828125,-25.9765625 L125.548828125,-0.0 L111.828125,-0.0 L111.828125,-71.58203125 Z" transform="translate(571.4 200.39999999999998) scale(1.56)" fill="#F8FAFC"/><text x="640" y="320" text-anchor="middle" fill="#F8FAFC" font-family="Arial,Helvetica,sans-serif" font-size="38" font-weight="500" letter-spacing="-.9">Parallel agents. Shared direction.</text><text x="640" y="367" text-anchor="middle" fill="#A8B4B0" font-family="Arial,Helvetica,sans-serif" font-size="22">File ownership for the coding agents you already run.</text><g fill="none" stroke-width="3" stroke-linecap="round"><path d="M350 445H410C490 445 480 500 600 500M350 555H410C490 555 480 500 600 500" stroke="#387267"/><path d="M350 500H930M916 486L930 500L916 514" stroke="#22C55E"/></g><g fill="#22C55E"><circle cx="350" cy="445" r="5"/><circle cx="350" cy="500" r="5"/><circle cx="350" cy="555" r="5"/></g></svg>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { createRequire as __kithRequire } from 'node:module'; const require = __kithRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
JSONRPCMessageSchema
|
|
4
|
+
} from "./chunk-QLLTQNDL.js";
|
|
5
|
+
|
|
6
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
7
|
+
var STDIO_DEFAULT_MAX_BUFFER_SIZE = 10 * 1024 * 1024;
|
|
8
|
+
var ReadBuffer = class {
|
|
9
|
+
constructor(options) {
|
|
10
|
+
this._maxBufferSize = options?.maxBufferSize ?? STDIO_DEFAULT_MAX_BUFFER_SIZE;
|
|
11
|
+
}
|
|
12
|
+
append(chunk) {
|
|
13
|
+
const newSize = (this._buffer?.length ?? 0) + chunk.length;
|
|
14
|
+
if (newSize > this._maxBufferSize) {
|
|
15
|
+
this.clear();
|
|
16
|
+
throw new Error(`ReadBuffer exceeded maximum size of ${this._maxBufferSize} bytes`);
|
|
17
|
+
}
|
|
18
|
+
this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
|
|
19
|
+
}
|
|
20
|
+
readMessage() {
|
|
21
|
+
if (!this._buffer) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
const index = this._buffer.indexOf("\n");
|
|
25
|
+
if (index === -1) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
const line = this._buffer.toString("utf8", 0, index).replace(/\r$/, "");
|
|
29
|
+
this._buffer = this._buffer.subarray(index + 1);
|
|
30
|
+
return deserializeMessage(line);
|
|
31
|
+
}
|
|
32
|
+
clear() {
|
|
33
|
+
this._buffer = void 0;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
function deserializeMessage(line) {
|
|
37
|
+
return JSONRPCMessageSchema.parse(JSON.parse(line));
|
|
38
|
+
}
|
|
39
|
+
function serializeMessage(message) {
|
|
40
|
+
return JSON.stringify(message) + "\n";
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export {
|
|
44
|
+
ReadBuffer,
|
|
45
|
+
serializeMessage
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=chunk-6ORNHRPG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/src/shared/stdio.ts"],"sourcesContent":[null],"mappings":";;;;;;AAEO,IAAM,gCAAgC,KAAK,OAAO;AAKnD,IAAO,aAAP,MAAiB;EAInB,YAAY,SAAoC;AAC5C,SAAK,iBAAiB,SAAS,iBAAiB;EACpD;EAEA,OAAO,OAAa;AAChB,UAAM,WAAW,KAAK,SAAS,UAAU,KAAK,MAAM;AACpD,QAAI,UAAU,KAAK,gBAAgB;AAC/B,WAAK,MAAK;AACV,YAAM,IAAI,MAAM,uCAAuC,KAAK,cAAc,QAAQ;IACtF;AACA,SAAK,UAAU,KAAK,UAAU,OAAO,OAAO,CAAC,KAAK,SAAS,KAAK,CAAC,IAAI;EACzE;EAEA,cAAW;AACP,QAAI,CAAC,KAAK,SAAS;AACf,aAAO;IACX;AAEA,UAAM,QAAQ,KAAK,QAAQ,QAAQ,IAAI;AACvC,QAAI,UAAU,IAAI;AACd,aAAO;IACX;AAEA,UAAM,OAAO,KAAK,QAAQ,SAAS,QAAQ,GAAG,KAAK,EAAE,QAAQ,OAAO,EAAE;AACtE,SAAK,UAAU,KAAK,QAAQ,SAAS,QAAQ,CAAC;AAC9C,WAAO,mBAAmB,IAAI;EAClC;EAEA,QAAK;AACD,SAAK,UAAU;EACnB;;AAGE,SAAU,mBAAmB,MAAY;AAC3C,SAAO,qBAAqB,MAAM,KAAK,MAAM,IAAI,CAAC;AACtD;AAEM,SAAU,iBAAiB,SAAuB;AACpD,SAAO,KAAK,UAAU,OAAO,IAAI;AACrC;","names":[]}
|