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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/src/experimental/tasks/client.ts","../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sd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O;MACX;IACJ;AAGA,SAAK,uBAAuB,oBAAuC,OAAO;EAC9E;EAEA,MAAM,uBAAoB;AACtB,WAAO,KAAK,aAAa,EAAE,QAAQ,mCAAkC,CAAE;EAC3E;;","names":[]}
|
package/dist/command-worker.js
CHANGED
|
@@ -44,6 +44,9 @@ process.once("message", (message) => {
|
|
|
44
44
|
started = true;
|
|
45
45
|
let finished = false;
|
|
46
46
|
const env = { ...process.env, ...message.env, ...message.mutexName === "package-install" ? { KITH_PACKAGE_INSTALL_GUARDED: "1" } : {} };
|
|
47
|
+
const supplied = message.env ?? {};
|
|
48
|
+
if (!Object.prototype.hasOwnProperty.call(supplied, "KITH_SESSION_TOKEN")) delete env.KITH_SESSION_TOKEN;
|
|
49
|
+
if (!Object.prototype.hasOwnProperty.call(supplied, "KITH_AGENT_ID")) delete env.KITH_AGENT_ID;
|
|
47
50
|
child = Array.isArray(message.command) ? spawn(message.command[0], message.command.slice(1), { cwd: message.cwd, env, stdio: ["ignore", "inherit", "inherit"] }) : spawn(message.command, { cwd: message.cwd, env, stdio: ["ignore", "inherit", "inherit"], shell: true });
|
|
48
51
|
child.once("error", (err) => {
|
|
49
52
|
if (finished) return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/core/command-worker.ts"],"sourcesContent":["// A detached process-group leader. The command cannot start until its supervisor\n// has durably recorded this group and sent the start message over private IPC.\nimport os from 'node:os';\nimport { spawn, type ChildProcess } from 'node:child_process';\n\nlet started = false;\nlet shuttingDown = false;\nlet child: ChildProcess | undefined;\nlet hello: ReturnType<typeof setInterval> | undefined;\n\n// Detaching into a new session can deliver SIGHUP on macOS. The supervisor\n// stops this process with SIGTERM or by closing IPC, not with a hangup.\nprocess.on('SIGHUP', () => {});\n\nfunction shutdown(): void {\n if (shuttingDown) return;\n shuttingDown = true;\n if (hello) clearInterval(hello);\n if (!child || child.exitCode !== null || child.signalCode !== null) {\n if (!started) process.exit(1);\n return;\n }\n // Kill the direct child, not this process group. SIGKILL of the group would\n // kill us before we can reap, and macOS then reports the child as alive\n // until launchd collects the zombie. A failed kill means the child has\n // already exited; its close handler reaps it and exits this process.\n try { child.kill('SIGKILL'); } catch { /* already gone */ }\n}\n\nprocess.on('SIGTERM', shutdown);\nprocess.on('SIGINT', shutdown);\nprocess.on('disconnect', () => {\n try { process.kill(-process.pid, 'SIGKILL'); } catch { process.exit(1); }\n});\n\n// Repeat ready until the parent sends the command. A single IPC message can be\n// dropped when its length header is split across reads (Node 22.13) or when it\n// arrives before the parent is listening.\nhello = setInterval(() => {\n if (started || !process.connected) { clearInterval(hello); return; }\n process.send?.({ ready: true });\n}, 50);\n\nprocess.once('message', (message: { command: string | string[]; cwd: string; mutexName: string; env?: Record<string, string> }) => {\n clearInterval(hello);\n if (started || shuttingDown) return;\n started = true;\n let finished = false;\n const env = { ...process.env, ...message.env, ...(message.mutexName === 'package-install' ? { KITH_PACKAGE_INSTALL_GUARDED: '1' } : {}) };\n child = Array.isArray(message.command)\n ? spawn(message.command[0], message.command.slice(1), { cwd: message.cwd, env, stdio: ['ignore', 'inherit', 'inherit'] })\n : spawn(message.command, { cwd: message.cwd, env, stdio: ['ignore', 'inherit', 'inherit'], shell: true });\n child.once('error', (err) => {\n if (finished) return;\n finished = true;\n process.send?.({ error: err.message }, () => process.exit(1));\n });\n child.once('close', (code, signal) => {\n if (finished) return;\n finished = true;\n if (process.connected) process.send?.({ exitCode: code ?? (signal ? 128 + (os.constants.signals[signal] ?? 1) : 1), signal }, () => process.exit(0));\n else process.exit(code === 0 ? 0 : 1);\n });\n});\nprocess.send?.({ ready: true });\n"],"mappings":";;;AAEA,OAAO,QAAQ;AACf,SAAS,aAAgC;AAEzC,IAAI,UAAU;AACd,IAAI,eAAe;AACnB,IAAI;AACJ,IAAI;AAIJ,QAAQ,GAAG,UAAU,MAAM;AAAC,CAAC;AAE7B,SAAS,WAAiB;AACxB,MAAI,aAAc;AAClB,iBAAe;AACf,MAAI,MAAO,eAAc,KAAK;AAC9B,MAAI,CAAC,SAAS,MAAM,aAAa,QAAQ,MAAM,eAAe,MAAM;AAClE,QAAI,CAAC,QAAS,SAAQ,KAAK,CAAC;AAC5B;AAAA,EACF;AAKA,MAAI;AAAE,UAAM,KAAK,SAAS;AAAA,EAAG,QAAQ;AAAA,EAAqB;AAC5D;AAEA,QAAQ,GAAG,WAAW,QAAQ;AAC9B,QAAQ,GAAG,UAAU,QAAQ;AAC7B,QAAQ,GAAG,cAAc,MAAM;AAC7B,MAAI;AAAE,YAAQ,KAAK,CAAC,QAAQ,KAAK,SAAS;AAAA,EAAG,QAAQ;AAAE,YAAQ,KAAK,CAAC;AAAA,EAAG;AAC1E,CAAC;AAKD,QAAQ,YAAY,MAAM;AACxB,MAAI,WAAW,CAAC,QAAQ,WAAW;AAAE,kBAAc,KAAK;AAAG;AAAA,EAAQ;AACnE,UAAQ,OAAO,EAAE,OAAO,KAAK,CAAC;AAChC,GAAG,EAAE;AAEL,QAAQ,KAAK,WAAW,CAAC,YAA0G;AACjI,gBAAc,KAAK;AACnB,MAAI,WAAW,aAAc;AAC7B,YAAU;AACV,MAAI,WAAW;AACf,QAAM,
|
|
1
|
+
{"version":3,"sources":["../src/core/command-worker.ts"],"sourcesContent":["// A detached process-group leader. The command cannot start until its supervisor\n// has durably recorded this group and sent the start message over private IPC.\nimport os from 'node:os';\nimport { spawn, type ChildProcess } from 'node:child_process';\n\nlet started = false;\nlet shuttingDown = false;\nlet child: ChildProcess | undefined;\nlet hello: ReturnType<typeof setInterval> | undefined;\n\n// Detaching into a new session can deliver SIGHUP on macOS. The supervisor\n// stops this process with SIGTERM or by closing IPC, not with a hangup.\nprocess.on('SIGHUP', () => {});\n\nfunction shutdown(): void {\n if (shuttingDown) return;\n shuttingDown = true;\n if (hello) clearInterval(hello);\n if (!child || child.exitCode !== null || child.signalCode !== null) {\n if (!started) process.exit(1);\n return;\n }\n // Kill the direct child, not this process group. SIGKILL of the group would\n // kill us before we can reap, and macOS then reports the child as alive\n // until launchd collects the zombie. A failed kill means the child has\n // already exited; its close handler reaps it and exits this process.\n try { child.kill('SIGKILL'); } catch { /* already gone */ }\n}\n\nprocess.on('SIGTERM', shutdown);\nprocess.on('SIGINT', shutdown);\nprocess.on('disconnect', () => {\n try { process.kill(-process.pid, 'SIGKILL'); } catch { process.exit(1); }\n});\n\n// Repeat ready until the parent sends the command. A single IPC message can be\n// dropped when its length header is split across reads (Node 22.13) or when it\n// arrives before the parent is listening.\nhello = setInterval(() => {\n if (started || !process.connected) { clearInterval(hello); return; }\n process.send?.({ ready: true });\n}, 50);\n\nprocess.once('message', (message: { command: string | string[]; cwd: string; mutexName: string; env?: Record<string, string> }) => {\n clearInterval(hello);\n if (started || shuttingDown) return;\n started = true;\n let finished = false;\n const env: NodeJS.ProcessEnv = { ...process.env, ...message.env, ...(message.mutexName === 'package-install' ? { KITH_PACKAGE_INSTALL_GUARDED: '1' } : {}) };\n const supplied = message.env ?? {};\n if (!Object.prototype.hasOwnProperty.call(supplied, 'KITH_SESSION_TOKEN')) delete env.KITH_SESSION_TOKEN;\n if (!Object.prototype.hasOwnProperty.call(supplied, 'KITH_AGENT_ID')) delete env.KITH_AGENT_ID;\n child = Array.isArray(message.command)\n ? spawn(message.command[0], message.command.slice(1), { cwd: message.cwd, env, stdio: ['ignore', 'inherit', 'inherit'] })\n : spawn(message.command, { cwd: message.cwd, env, stdio: ['ignore', 'inherit', 'inherit'], shell: true });\n child.once('error', (err) => {\n if (finished) return;\n finished = true;\n process.send?.({ error: err.message }, () => process.exit(1));\n });\n child.once('close', (code, signal) => {\n if (finished) return;\n finished = true;\n if (process.connected) process.send?.({ exitCode: code ?? (signal ? 128 + (os.constants.signals[signal] ?? 1) : 1), signal }, () => process.exit(0));\n else process.exit(code === 0 ? 0 : 1);\n });\n});\nprocess.send?.({ ready: true });\n"],"mappings":";;;AAEA,OAAO,QAAQ;AACf,SAAS,aAAgC;AAEzC,IAAI,UAAU;AACd,IAAI,eAAe;AACnB,IAAI;AACJ,IAAI;A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AAM,CAAC,GAAG,EAAE,KAAK,QAAQ,KAAK,KAAK,OAAO,CAAC,UAAU,WAAW,SAAS,EAAE,CAAC,IACtH,MAAM,QAAQ,SAAS,EAAE,KAAK,QAAQ,KAAK,KAAK,OAAO,CAAC,UAAU,WAAW,SAAS,GAAG,OAAO,KAAK,CAAC;AAC1G,QAAM,KAAK,SAAS,CAAC,QAAQ;AAC3B,QAAI,SAAU;AACd,eAAW;AACX,YAAQ,OAAO,EAAE,OAAO,IAAI,QAAQ,GAAG,MAAM,QAAQ,KAAK,CAAC,CAAC;AAAA,EAC9D,CAAC;AACD,QAAM,KAAK,SAAS,CAAC,MAAM,WAAW;AACpC,QAAI,SAAU;AACd,eAAW;AACX,QAAI,QAAQ,UAAW,SAAQ,OAAO,EAAE,UAAU,SAAS,SAAS,OAAO,GAAG,UAAU,QAAQ,MAAM,KAAK,KAAK,IAAI,OAAO,GAAG,MAAM,QAAQ,KAAK,CAAC,CAAC;AAAA,QAC9I,SAAQ,KAAK,SAAS,IAAI,IAAI,CAAC;AAAA,EACtC,CAAC;AACH,CAAC;AACD,QAAQ,OAAO,EAAE,OAAO,KAAK,CAAC;","names":[]}
|
package/dist/index.d.ts
CHANGED
|
@@ -94,6 +94,7 @@ declare class FencingAndAgentManager {
|
|
|
94
94
|
*/
|
|
95
95
|
static waitForProcessStartTime(pid: number, budgetMs: number, aborted?: () => boolean): Promise<string | null>;
|
|
96
96
|
static isProcessAlive(pid: number, expectedStartTime: string): boolean;
|
|
97
|
+
private static linuxProcessState;
|
|
97
98
|
private static rememberStart;
|
|
98
99
|
/** Refresh identity in the background so a slow `ps` cannot stall mutex renewal. */
|
|
99
100
|
private static scheduleStartRecheck;
|
|
@@ -127,6 +128,12 @@ declare class FencingAndAgentManager {
|
|
|
127
128
|
conflicts: number;
|
|
128
129
|
locks: number;
|
|
129
130
|
};
|
|
131
|
+
/**
|
|
132
|
+
* Push this session's claims out to `newExpiry`. A lock or port that already expired
|
|
133
|
+
* while the session lease was still valid stays expired. One that lapsed together with
|
|
134
|
+
* the session is renewed only when nobody else holds it now.
|
|
135
|
+
*/
|
|
136
|
+
private extendOwnedClaims;
|
|
130
137
|
reapDeadAgents(): string[];
|
|
131
138
|
/**
|
|
132
139
|
* Operator escape hatch: release an agent's claims and mark it dead without its session token.
|
|
@@ -196,6 +203,9 @@ interface LiveAdoption {
|
|
|
196
203
|
declare function detachedIntegrationError(): string;
|
|
197
204
|
declare function branchElsewhereError(branch: string): string;
|
|
198
205
|
declare function parseWorktreePorcelain(output: string): ListedWorktree[];
|
|
206
|
+
declare class WorktreeListError extends Error {
|
|
207
|
+
constructor(repoRoot: string);
|
|
208
|
+
}
|
|
199
209
|
declare function listGitWorktrees(repoRoot: string): ListedWorktree[];
|
|
200
210
|
declare function branchIsCheckedOutElsewhere(entries: ListedWorktree[], worktreePath: string, branch: string | null): boolean;
|
|
201
211
|
declare function kithWorktreesRoot(coord: CoordDatabase): string;
|
|
@@ -243,6 +253,8 @@ declare function liveAdoption(coord: CoordDatabase, fencing: FencingAndAgentMana
|
|
|
243
253
|
declare function transferWorktreeRegistration(coord: CoordDatabase, fromId: string, toId: string): boolean;
|
|
244
254
|
declare function forgetWorktree(coord: CoordDatabase, fencing: FencingAndAgentManager, agentId: string): boolean;
|
|
245
255
|
|
|
256
|
+
/** Copy a dependency directory so the destination cannot add, remove, or rewrite the source tree. */
|
|
257
|
+
declare function cloneDirectoryIsolated(srcDir: string, destDir: string): 'apfs-cow' | 'reflink-cow' | 'copy';
|
|
246
258
|
interface SpawnedWorktree {
|
|
247
259
|
agentId: string;
|
|
248
260
|
worktreePath: string;
|
|
@@ -273,7 +285,6 @@ declare class CoWWorktreeManager {
|
|
|
273
285
|
branch?: string;
|
|
274
286
|
baseRef?: string;
|
|
275
287
|
}): SpawnedWorktree;
|
|
276
|
-
private cloneDirectoryCoW;
|
|
277
288
|
removeWorktree(agentId: string, options?: {
|
|
278
289
|
deleteAdopted?: boolean;
|
|
279
290
|
}): boolean;
|
|
@@ -525,6 +536,13 @@ declare class LockEngine {
|
|
|
525
536
|
static normalizeFile(repoRoot: string, file: string): string;
|
|
526
537
|
static literalScope(file: string): string;
|
|
527
538
|
private rootForAgent;
|
|
539
|
+
/** Case-insensitive volumes must see every lock; the SQL filter below is byte-exact. */
|
|
540
|
+
private foldsLockPaths;
|
|
541
|
+
/**
|
|
542
|
+
* Locks that can overlap `patterns`. Literal file claims are matched in SQLite.
|
|
543
|
+
* Glob and symbol claims stay in the candidate set because overlap is not equality.
|
|
544
|
+
*/
|
|
545
|
+
private locksVisibleFor;
|
|
528
546
|
private activeWorktreeRoots;
|
|
529
547
|
private wildcardHasAliases;
|
|
530
548
|
/** Exact overlap for the documented scope grammar; legacy unsupported locks block conservatively. */
|
|
@@ -757,6 +775,8 @@ declare function refUpdateResyncRoots(command: string, startDir: string): string
|
|
|
757
775
|
* and contains no file-redirection or write primitives.
|
|
758
776
|
*/
|
|
759
777
|
declare function isReadOnlyShellCommand(command: string): boolean;
|
|
778
|
+
/** A command that can change files it does not name, so a live peer lock is not an excuse to ignore the diff. */
|
|
779
|
+
declare function isUnscopedShellMutation(command: string): boolean;
|
|
760
780
|
/**
|
|
761
781
|
* True when `command` explicitly references `relPath` (or its filename) and contains a write/mutation
|
|
762
782
|
* indicator. Prevents blaming unrelated or read-only commands for concurrent edits made by the live
|
|
@@ -1783,15 +1803,19 @@ interface GcReport {
|
|
|
1783
1803
|
prunedOldEvents: number;
|
|
1784
1804
|
prunedDeadAgents: number;
|
|
1785
1805
|
prunedArtifacts: number;
|
|
1806
|
+
/** Set when Git could not list worktrees, so no worktree directory was removed. */
|
|
1807
|
+
warning?: string;
|
|
1808
|
+
recoveredRefUpdates: number;
|
|
1786
1809
|
}
|
|
1787
1810
|
/**
|
|
1788
|
-
*
|
|
1789
|
-
* without
|
|
1811
|
+
* Refresh index entries that still describe the pre-commit tree after a temporary-index
|
|
1812
|
+
* `update-ref`, without unstaging other work. A path is stale only when the index differs
|
|
1813
|
+
* from HEAD and the worktree already matches HEAD. Staged blobs that differ from both are kept.
|
|
1790
1814
|
*/
|
|
1791
1815
|
declare function resyncStaleIndexEntries(repoRoot: string): number;
|
|
1792
1816
|
declare function gcCoordination(directory?: string, options?: GcOptions): GcReport;
|
|
1793
1817
|
|
|
1794
|
-
declare const KITH_VERSION = "0.2.
|
|
1818
|
+
declare const KITH_VERSION = "0.2.1";
|
|
1795
1819
|
declare const KITH_PROTOCOL_VERSION = "1.6.0";
|
|
1796
1820
|
|
|
1797
|
-
export { type AcquireLockResult, type AgentRecord, type AgentUnreadDelta, AstAnalyzer, type BashGuardPostReport, BashMerkleGuard, type BlastRadiusAlert, CoWWorktreeManager, type CommitParams, type CommitResult, type ConflictRecord, type ContractRecord, CoordDatabase, type CoordEvent, type DeclareIntentResult, DependencyAndContractEngine, type DirtyMergeProbeResult, type ExtractedImport, type ExtractedSymbol, FencingAndAgentManager, type FileAstAnalysis, type FileModificationReport, type FileSnapshotEntry, type GcOptions, type GcPreservedItem, type GcReport, IntentAndTaskEngine, KITH_PROTOCOL_VERSION, KITH_VERSION, KithEngine, type LinkedWorkspaceContract, type ListedWorktree, type LiveAdoption, type LockConflict, LockEngine, type LockRecord, type MergeTrainEntry, type PostFileEditHookResult, type QuarantineRecord, type RepositoryLayout, ResourceBroker, type ResourceRecord, SessionOwnershipError, type SessionRegistration, ShadowGitEngine, type SpawnedWorktree, type SpeculativeMergeResult, SpeculativeMergeTrain, StaleFencingTokenError, type SupervisedCommandOptions, type SwarmPrompts, type SymbolKind, type TaskRecord, type WorkspaceContractReport, type WorkspaceObservation, type WorktreeBinding, type WorktreeChange, type WorktreeProvenance, type WorktreeRegistration, type WorktreeSource, adoptIfUnambiguous, adoptWorktree, branchElsewhereError, branchIsCheckedOutElsewhere, buildSwarmPrompts, caseSensitivePaths, clearRegistration, commandTargetsFileForWrite, commitScopedFiles, detachedIntegrationError, discoverChildRepositories, discoverRepository, extractRecentAgentFiles, forgetWorktree, gcCoordination, inspectWorkspaceContracts, isKithOwnedWorktree, isReadOnlyShellCommand, isWithin, kithWorktreesRoot, listGitWorktrees, listRegistrations, liveAdoption, observeWorkspaces, parseWorktreePorcelain, physicalPath, previewIntegration, primaryCheckoutOf, readBrief, readCoordinationState, readRegistration, recordCreatedWorktree, recoveryReport, refUpdateResyncRoots, registrationFromRow, repositoryFile, resyncStaleIndexEntries, runVerificationCommand, sqliteDatabase, syncRegistration, transferWorktreeRegistration, verifyCrossRepoImportsForFile, worktreeChanges };
|
|
1821
|
+
export { type AcquireLockResult, type AgentRecord, type AgentUnreadDelta, AstAnalyzer, type BashGuardPostReport, BashMerkleGuard, type BlastRadiusAlert, CoWWorktreeManager, type CommitParams, type CommitResult, type ConflictRecord, type ContractRecord, CoordDatabase, type CoordEvent, type DeclareIntentResult, DependencyAndContractEngine, type DirtyMergeProbeResult, type ExtractedImport, type ExtractedSymbol, FencingAndAgentManager, type FileAstAnalysis, type FileModificationReport, type FileSnapshotEntry, type GcOptions, type GcPreservedItem, type GcReport, IntentAndTaskEngine, KITH_PROTOCOL_VERSION, KITH_VERSION, KithEngine, type LinkedWorkspaceContract, type ListedWorktree, type LiveAdoption, type LockConflict, LockEngine, type LockRecord, type MergeTrainEntry, type PostFileEditHookResult, type QuarantineRecord, type RepositoryLayout, ResourceBroker, type ResourceRecord, SessionOwnershipError, type SessionRegistration, ShadowGitEngine, type SpawnedWorktree, type SpeculativeMergeResult, SpeculativeMergeTrain, StaleFencingTokenError, type SupervisedCommandOptions, type SwarmPrompts, type SymbolKind, type TaskRecord, type WorkspaceContractReport, type WorkspaceObservation, type WorktreeBinding, type WorktreeChange, WorktreeListError, type WorktreeProvenance, type WorktreeRegistration, type WorktreeSource, adoptIfUnambiguous, adoptWorktree, branchElsewhereError, branchIsCheckedOutElsewhere, buildSwarmPrompts, caseSensitivePaths, clearRegistration, cloneDirectoryIsolated, commandTargetsFileForWrite, commitScopedFiles, detachedIntegrationError, discoverChildRepositories, discoverRepository, extractRecentAgentFiles, forgetWorktree, gcCoordination, inspectWorkspaceContracts, isKithOwnedWorktree, isReadOnlyShellCommand, isUnscopedShellMutation, isWithin, kithWorktreesRoot, listGitWorktrees, listRegistrations, liveAdoption, observeWorkspaces, parseWorktreePorcelain, physicalPath, previewIntegration, primaryCheckoutOf, readBrief, readCoordinationState, readRegistration, recordCreatedWorktree, recoveryReport, refUpdateResyncRoots, registrationFromRow, repositoryFile, resyncStaleIndexEntries, runVerificationCommand, sqliteDatabase, syncRegistration, transferWorktreeRegistration, verifyCrossRepoImportsForFile, worktreeChanges };
|