@sideboard-ai/core 0.1.343 → 0.1.344
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/dist/{agents-LNZ465IM.js → agents-7CHZO3K3.js} +2 -2
- package/dist/{agents-7DCNOMFP.js → agents-FI62PUSY.js} +2 -2
- package/dist/{chunk-KCZM7WZ3.js → chunk-5IMXA563.js} +10 -10
- package/dist/{chunk-LDJT3TLN.js → chunk-6N4W2MJ2.js} +2 -2
- package/dist/{chunk-EDEYEYU6.js → chunk-AX7SUDTC.js} +11 -11
- package/dist/{chunk-DEQLDEYR.js → chunk-BD7KUYJA.js} +2 -2
- package/dist/{chunk-2BLJ726H.js → chunk-HRHF6N6S.js} +1 -0
- package/dist/{chunk-5BFEHSHO.js → chunk-J3BQHHDZ.js} +1 -0
- package/dist/{chunk-S3DTEGMK.js → chunk-TW63CYUA.js} +2 -2
- package/dist/{chunk-NGIGRAZB.js → chunk-YNKVGJE5.js} +2 -2
- package/dist/{conductor-4SWJM5FS.js → conductor-3A2TNWUW.js} +2 -2
- package/dist/{conductor-Q433HU77.js → conductor-H56XPSX4.js} +2 -2
- package/dist/{coordinator-prompt-5QHWCO7V.js → coordinator-prompt-2YQGOA6Y.js} +1 -1
- package/dist/{coordinator-prompt-Z7PPP45X.js → coordinator-prompt-7QALNDIV.js} +1 -1
- package/dist/{global-workspace-DL4K4K7O.js → global-workspace-HM2RKBCT.js} +1 -1
- package/dist/{global-workspace-VDCZMFCZ.js → global-workspace-YRPM6JLZ.js} +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.js +7 -7
- package/dist/mcp/run-stdio.cjs +2 -1
- package/dist/mcp/run-stdio.js +4 -4
- package/dist/{orchestrator-Y5JCAJGV.js → orchestrator-DGH2UMPW.js} +4 -4
- package/dist/{orchestrator-RLFBFRAG.js → orchestrator-OWO6LQ5U.js} +4 -4
- package/dist/{workspaces-MX4W4SSB.js → workspaces-SSYKQUAU.js} +1 -1
- package/dist/{workspaces-EIIHHH4S.js → workspaces-V6IIBSKA.js} +1 -1
- package/package.json +1 -1
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
resolveCursorSdkRoot,
|
|
47
47
|
resolveQuotaFallbackAgent,
|
|
48
48
|
turnCostUsdFromCursorUsage
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-TW63CYUA.js";
|
|
50
50
|
import "./chunk-ORO4ENZR.js";
|
|
51
51
|
import {
|
|
52
52
|
getAgentSetupInfo,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
resolveLoginCommand,
|
|
61
61
|
whichOnPath
|
|
62
62
|
} from "./chunk-4PXHJA5K.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-J3BQHHDZ.js";
|
|
64
64
|
import "./chunk-RTZO2YJC.js";
|
|
65
65
|
import "./chunk-I6RGRUNY.js";
|
|
66
66
|
import "./chunk-E63AM3PW.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
planModeTurnInstruction,
|
|
38
38
|
resolveCursorModelId,
|
|
39
39
|
resolveQuotaFallbackAgent
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-6N4W2MJ2.js";
|
|
41
41
|
import {
|
|
42
42
|
getAgentSetupInfo,
|
|
43
43
|
installAgent,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
import "./chunk-XOEKCE6L.js";
|
|
54
54
|
import "./chunk-D7US5R4H.js";
|
|
55
55
|
import "./chunk-BIM24I3O.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-HRHF6N6S.js";
|
|
57
57
|
import "./chunk-G3UV3GXJ.js";
|
|
58
58
|
import "./chunk-JX3OWNOT.js";
|
|
59
59
|
import "./chunk-BMRJNRQK.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
parseSessionQuotaResetAt,
|
|
15
15
|
planModeTurnInstruction,
|
|
16
16
|
resolveQuotaFallbackAgent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TW63CYUA.js";
|
|
18
18
|
import {
|
|
19
19
|
applyWorktreePkgCacheEnv,
|
|
20
20
|
askBlockStillWaiting,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
worktreeDevProcessKey,
|
|
55
55
|
worktreeRunProcessKey,
|
|
56
56
|
worktreeSetupProcessKey
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-BD7KUYJA.js";
|
|
58
58
|
import {
|
|
59
59
|
applyAgentEvent,
|
|
60
60
|
clipAgentEventForPaint,
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
stageAbsolutePathsAsAttachments,
|
|
122
122
|
stageBuffersAsAttachments,
|
|
123
123
|
syncWorkspacesFromThreads
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-J3BQHHDZ.js";
|
|
125
125
|
import {
|
|
126
126
|
addPrStackLayer,
|
|
127
127
|
allocateTeamSlug,
|
|
@@ -571,9 +571,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
|
|
|
571
571
|
`Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
|
|
572
572
|
);
|
|
573
573
|
}
|
|
574
|
-
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-
|
|
574
|
+
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-HM2RKBCT.js");
|
|
575
575
|
if (isGlobalThread2(thread)) {
|
|
576
|
-
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-
|
|
576
|
+
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-7QALNDIV.js");
|
|
577
577
|
ensureGlobalCoordinatorCwd2(
|
|
578
578
|
isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
|
|
579
579
|
);
|
|
@@ -3937,7 +3937,7 @@ async function adoptThread(input) {
|
|
|
3937
3937
|
messages: input.messages ?? []
|
|
3938
3938
|
});
|
|
3939
3939
|
writeThread(thread);
|
|
3940
|
-
const { addWorkspace: addWorkspace2 } = await import("./workspaces-
|
|
3940
|
+
const { addWorkspace: addWorkspace2 } = await import("./workspaces-V6IIBSKA.js");
|
|
3941
3941
|
await addWorkspace2(repoPath);
|
|
3942
3942
|
const { ensureWorktreeSideboardIgnored } = await import("./worktree-exclude-KMZQXZKP.js");
|
|
3943
3943
|
await ensureWorktreeSideboardIgnored(input.worktreePath);
|
|
@@ -6527,7 +6527,7 @@ function formatProcessGuideDirective(opts) {
|
|
|
6527
6527
|
hasInstallSkill ? "- After merge-from-main / lockfile change, or a hung `pnpm install`: follow `.claude/skills/worktree-install/SKILL.md` (`/worktree-install`). Use the worktree-local store Sideboard already set; do not share `~/.pnpm-store` across concurrent worktrees." : null,
|
|
6528
6528
|
"- If this same shape of work will happen again, write `.claude/skills/<kebab-name>/SKILL.md` in this worktree (Claude Code project skill; Sideboard `/name`, Claude Code, and `attach` all load it). Not under `.sideboard/skills/`. Point Codex/OpenCode at it from `AGENTS.md`.",
|
|
6529
6529
|
hasReviewSkill ? "- Merge-readiness notes go in `.claude/skills/review/SKILL.md` (edit it; do not create another review skill)." : "- Merge-readiness notes go in `.context/review.md` (copied from `.sideboard/review.md` when that file exists). Do not create a review skill.",
|
|
6530
|
-
"- Skip a guide for a one-off. If a matching skill exists, follow it. Same miss twice \u2192 edit the skill, do not patch around it."
|
|
6530
|
+
!!worktree && existsSync12(join13(worktree, ".claude/skills/skill-improver/SKILL.md")) ? "- Skip a guide for a one-off. If a matching skill exists, follow it. A miss that will recur (you made it twice, or a person told you the rule) \u2192 follow `.claude/skills/skill-improver/SKILL.md` (`/skill-improver`): one sentence in the skill that owns it, in this change. Do not patch around it." : "- Skip a guide for a one-off. If a matching skill exists, follow it. Same miss twice \u2192 edit the skill, do not patch around it."
|
|
6531
6531
|
].filter(Boolean).join("\n");
|
|
6532
6532
|
}
|
|
6533
6533
|
function formatLongRunningDirective(opts) {
|
|
@@ -7527,11 +7527,11 @@ function realDeps() {
|
|
|
7527
7527
|
parentIdForThread,
|
|
7528
7528
|
designatedId: designatedOrchestratorId,
|
|
7529
7529
|
send: async (threadId, prompt) => {
|
|
7530
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
7530
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-OWO6LQ5U.js");
|
|
7531
7531
|
await getOrchestrator2().send(threadId, prompt, { followUp: "queue" });
|
|
7532
7532
|
},
|
|
7533
7533
|
startOrchestration: async (prompt) => {
|
|
7534
|
-
const { startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
7534
|
+
const { startOrchestration: startOrchestration2 } = await import("./orchestrator-OWO6LQ5U.js");
|
|
7535
7535
|
const defaults = resolveOrchestratorDefaults();
|
|
7536
7536
|
await startOrchestration2({
|
|
7537
7537
|
goal: prompt,
|
|
@@ -7558,7 +7558,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
7558
7558
|
${prompt}`;
|
|
7559
7559
|
}
|
|
7560
7560
|
async function defaultDeps() {
|
|
7561
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
7561
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-OWO6LQ5U.js");
|
|
7562
7562
|
const orch = getOrchestrator2();
|
|
7563
7563
|
return {
|
|
7564
7564
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-BIM24I3O.js";
|
|
16
16
|
import {
|
|
17
17
|
isOrchestratorThread
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HRHF6N6S.js";
|
|
19
19
|
import {
|
|
20
20
|
codexUnattendedGitConfigArgs,
|
|
21
21
|
mergeAgentGitAuthEnv,
|
|
@@ -2671,7 +2671,7 @@ var claudeAdapter = {
|
|
|
2671
2671
|
);
|
|
2672
2672
|
}
|
|
2673
2673
|
const mode = permissionMode(thread);
|
|
2674
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
2674
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-YRPM6JLZ.js");
|
|
2675
2675
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
2676
2676
|
const rpc = worktreeAgentRpc(isOrchestrator);
|
|
2677
2677
|
const injectedServers = await buildInjectedMcpServers({
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
parseSessionQuotaResetAt,
|
|
22
22
|
planModeTurnInstruction,
|
|
23
23
|
resolveQuotaFallbackAgent
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6N4W2MJ2.js";
|
|
25
25
|
import {
|
|
26
26
|
applyWorktreePkgCacheEnv,
|
|
27
27
|
buildBrightsySessionSeed,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
worktreeDevProcessKey,
|
|
57
57
|
worktreeRunProcessKey,
|
|
58
58
|
worktreeSetupProcessKey
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-YNKVGJE5.js";
|
|
60
60
|
import {
|
|
61
61
|
applyAgentEvent,
|
|
62
62
|
clipAgentEventForPaint,
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
stageAbsolutePathsAsAttachments,
|
|
102
102
|
stageBuffersAsAttachments,
|
|
103
103
|
syncWorkspacesFromThreads
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-HRHF6N6S.js";
|
|
105
105
|
import {
|
|
106
106
|
addPrStackLayer,
|
|
107
107
|
allocateTeamSlug,
|
|
@@ -527,9 +527,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
|
|
|
527
527
|
`Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
|
|
528
528
|
);
|
|
529
529
|
}
|
|
530
|
-
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-
|
|
530
|
+
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-YRPM6JLZ.js");
|
|
531
531
|
if (isGlobalThread2(thread)) {
|
|
532
|
-
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-
|
|
532
|
+
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-2YQGOA6Y.js");
|
|
533
533
|
ensureGlobalCoordinatorCwd2(
|
|
534
534
|
isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
|
|
535
535
|
);
|
|
@@ -3469,7 +3469,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
3469
3469
|
return readThread(thread.id) ?? thread;
|
|
3470
3470
|
}
|
|
3471
3471
|
async function listLinearIssues(agent, repoPath) {
|
|
3472
|
-
const { getAdapter: getAdapter2 } = await import("./agents-
|
|
3472
|
+
const { getAdapter: getAdapter2 } = await import("./agents-FI62PUSY.js");
|
|
3473
3473
|
await requireAgent(agent, { requireLinear: true });
|
|
3474
3474
|
const adapter = getAdapter2(agent);
|
|
3475
3475
|
if (!adapter.listLinearIssues) {
|
|
@@ -4252,7 +4252,7 @@ async function adoptThread(input) {
|
|
|
4252
4252
|
messages: input.messages ?? []
|
|
4253
4253
|
});
|
|
4254
4254
|
writeThread(thread);
|
|
4255
|
-
const { addWorkspace: addWorkspace2 } = await import("./workspaces-
|
|
4255
|
+
const { addWorkspace: addWorkspace2 } = await import("./workspaces-SSYKQUAU.js");
|
|
4256
4256
|
await addWorkspace2(repoPath);
|
|
4257
4257
|
const { ensureWorktreeSideboardIgnored } = await import("./worktree-exclude-YQBN43QD.js");
|
|
4258
4258
|
await ensureWorktreeSideboardIgnored(input.worktreePath);
|
|
@@ -6877,7 +6877,7 @@ function formatProcessGuideDirective(opts) {
|
|
|
6877
6877
|
hasInstallSkill ? "- After merge-from-main / lockfile change, or a hung `pnpm install`: follow `.claude/skills/worktree-install/SKILL.md` (`/worktree-install`). Use the worktree-local store Sideboard already set; do not share `~/.pnpm-store` across concurrent worktrees." : null,
|
|
6878
6878
|
"- If this same shape of work will happen again, write `.claude/skills/<kebab-name>/SKILL.md` in this worktree (Claude Code project skill; Sideboard `/name`, Claude Code, and `attach` all load it). Not under `.sideboard/skills/`. Point Codex/OpenCode at it from `AGENTS.md`.",
|
|
6879
6879
|
hasReviewSkill ? "- Merge-readiness notes go in `.claude/skills/review/SKILL.md` (edit it; do not create another review skill)." : "- Merge-readiness notes go in `.context/review.md` (copied from `.sideboard/review.md` when that file exists). Do not create a review skill.",
|
|
6880
|
-
"- Skip a guide for a one-off. If a matching skill exists, follow it. Same miss twice \u2192 edit the skill, do not patch around it."
|
|
6880
|
+
!!worktree && existsSync12(join13(worktree, ".claude/skills/skill-improver/SKILL.md")) ? "- Skip a guide for a one-off. If a matching skill exists, follow it. A miss that will recur (you made it twice, or a person told you the rule) \u2192 follow `.claude/skills/skill-improver/SKILL.md` (`/skill-improver`): one sentence in the skill that owns it, in this change. Do not patch around it." : "- Skip a guide for a one-off. If a matching skill exists, follow it. Same miss twice \u2192 edit the skill, do not patch around it."
|
|
6881
6881
|
].filter(Boolean).join("\n");
|
|
6882
6882
|
}
|
|
6883
6883
|
function formatLongRunningDirective(opts) {
|
|
@@ -7877,11 +7877,11 @@ function realDeps() {
|
|
|
7877
7877
|
parentIdForThread,
|
|
7878
7878
|
designatedId: designatedOrchestratorId,
|
|
7879
7879
|
send: async (threadId, prompt) => {
|
|
7880
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
7880
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-DGH2UMPW.js");
|
|
7881
7881
|
await getOrchestrator2().send(threadId, prompt, { followUp: "queue" });
|
|
7882
7882
|
},
|
|
7883
7883
|
startOrchestration: async (prompt) => {
|
|
7884
|
-
const { startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
7884
|
+
const { startOrchestration: startOrchestration2 } = await import("./orchestrator-DGH2UMPW.js");
|
|
7885
7885
|
const defaults = resolveOrchestratorDefaults();
|
|
7886
7886
|
await startOrchestration2({
|
|
7887
7887
|
goal: prompt,
|
|
@@ -7908,7 +7908,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
7908
7908
|
${prompt}`;
|
|
7909
7909
|
}
|
|
7910
7910
|
async function defaultDeps() {
|
|
7911
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
7911
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-DGH2UMPW.js");
|
|
7912
7912
|
const orch = getOrchestrator2();
|
|
7913
7913
|
return {
|
|
7914
7914
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
isGlobalThread,
|
|
12
12
|
isOrchestratorThread,
|
|
13
13
|
isSlackCoordinatorThread
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-J3BQHHDZ.js";
|
|
15
15
|
import {
|
|
16
16
|
mergeAgentGitAuthEnv,
|
|
17
17
|
resolveAgentGitAuthEnv
|
|
@@ -1737,7 +1737,7 @@ var PORT_RANGE_SIZE = 10;
|
|
|
1737
1737
|
var RECLAIM_RETRY_DELAY_MS = 40;
|
|
1738
1738
|
var RECLAIM_TRIES = 8;
|
|
1739
1739
|
async function killReclaimable(ports, worktreePath, signal) {
|
|
1740
|
-
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-
|
|
1740
|
+
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-3A2TNWUW.js");
|
|
1741
1741
|
if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
|
|
1742
1742
|
else killListenersOnPorts2(ports);
|
|
1743
1743
|
}
|
|
@@ -437,6 +437,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
|
|
|
437
437
|
"- Recurring multi-item / fan-out: if the child worktree has `.claude/skills/graph-engineering/SKILL.md`, tell the worker to follow it (`/graph-engineering`). Judge first; state on disk; grow the rulebook; do not patch three threads.",
|
|
438
438
|
"- Recurring shapes: have the worktree agent write `.claude/skills/<kebab-name>/SKILL.md` (commit it) so later threads and native Claude Code / attach see it. Merge-review sentences go in `.claude/skills/review/SKILL.md` when that skill already exists; otherwise `.context/review.md` (do not create a review skill). Do not use `.sideboard/skills/` (that folder only). Codex/OpenCode: one line in AGENTS.md pointing at that file.",
|
|
439
439
|
"- One-offs: no guide. Same miss across threads: edit the existing skill or `.context/review.md`, then rerun the batch \u2014 do not patch three threads.",
|
|
440
|
+
"- A miss that will recur (the worker made it twice, or a person told them the rule): if the worktree has `.claude/skills/skill-improver/SKILL.md`, tell the worker to follow it (`/skill-improver`) in that turn \u2014 one sentence in the skill that owns it, in the same change. The worker who heard it writes it down; no Sideboard tool hands that chat to a later run.",
|
|
440
441
|
"Human-only (do not attempt): ready-for-review land (confirm_land), purge_chat.",
|
|
441
442
|
"Chat links in replies: when mentioning a chat/thread for the user, include a markdown link `[Title](sideboard://chat/<id>)` using the full id (or the link field from create_workspace / list_chats). Sideboard renders these as clickable opens.",
|
|
442
443
|
"Bash / Read / etc: allowed for (1) inspecting target worktrees / registered repo paths from MCP, and (2) greenfield setup under ~/sideboard/repos (git clone, gh repo create, git init+remote). Never git init/clone *inside* this synthetic home cwd \u2014 emptiness here is expected, not a bug."
|
|
@@ -392,6 +392,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
|
|
|
392
392
|
"- Recurring multi-item / fan-out: if the child worktree has `.claude/skills/graph-engineering/SKILL.md`, tell the worker to follow it (`/graph-engineering`). Judge first; state on disk; grow the rulebook; do not patch three threads.",
|
|
393
393
|
"- Recurring shapes: have the worktree agent write `.claude/skills/<kebab-name>/SKILL.md` (commit it) so later threads and native Claude Code / attach see it. Merge-review sentences go in `.claude/skills/review/SKILL.md` when that skill already exists; otherwise `.context/review.md` (do not create a review skill). Do not use `.sideboard/skills/` (that folder only). Codex/OpenCode: one line in AGENTS.md pointing at that file.",
|
|
394
394
|
"- One-offs: no guide. Same miss across threads: edit the existing skill or `.context/review.md`, then rerun the batch \u2014 do not patch three threads.",
|
|
395
|
+
"- A miss that will recur (the worker made it twice, or a person told them the rule): if the worktree has `.claude/skills/skill-improver/SKILL.md`, tell the worker to follow it (`/skill-improver`) in that turn \u2014 one sentence in the skill that owns it, in the same change. The worker who heard it writes it down; no Sideboard tool hands that chat to a later run.",
|
|
395
396
|
"Human-only (do not attempt): ready-for-review land (confirm_land), purge_chat.",
|
|
396
397
|
"Chat links in replies: when mentioning a chat/thread for the user, include a markdown link `[Title](sideboard://chat/<id>)` using the full id (or the link field from create_workspace / list_chats). Sideboard renders these as clickable opens.",
|
|
397
398
|
"Bash / Read / etc: allowed for (1) inspecting target worktrees / registered repo paths from MCP, and (2) greenfield setup under ~/sideboard/repos (git clone, gh repo create, git init+remote). Never git init/clone *inside* this synthetic home cwd \u2014 emptiness here is expected, not a bug."
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-ORO4ENZR.js";
|
|
13
13
|
import {
|
|
14
14
|
isOrchestratorThread
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-J3BQHHDZ.js";
|
|
16
16
|
import {
|
|
17
17
|
codexUnattendedGitConfigArgs,
|
|
18
18
|
mergeAgentGitAuthEnv,
|
|
@@ -2978,7 +2978,7 @@ var claudeAdapter = {
|
|
|
2978
2978
|
);
|
|
2979
2979
|
}
|
|
2980
2980
|
const mode = permissionMode(thread);
|
|
2981
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
2981
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-HM2RKBCT.js");
|
|
2982
2982
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
2983
2983
|
const rpc = worktreeAgentRpc(isOrchestrator);
|
|
2984
2984
|
const injectedServers = await buildInjectedMcpServers({
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isGlobalThread,
|
|
9
9
|
isOrchestratorThread,
|
|
10
10
|
isSlackCoordinatorThread
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HRHF6N6S.js";
|
|
12
12
|
import {
|
|
13
13
|
mergeAgentGitAuthEnv,
|
|
14
14
|
resolveAgentGitAuthEnv
|
|
@@ -1705,7 +1705,7 @@ var PORT_RANGE_SIZE = 10;
|
|
|
1705
1705
|
var RECLAIM_RETRY_DELAY_MS = 40;
|
|
1706
1706
|
var RECLAIM_TRIES = 8;
|
|
1707
1707
|
async function killReclaimable(ports, worktreePath, signal) {
|
|
1708
|
-
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-
|
|
1708
|
+
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-H56XPSX4.js");
|
|
1709
1709
|
if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
|
|
1710
1710
|
else killListenersOnPorts2(ports);
|
|
1711
1711
|
}
|
|
@@ -34,9 +34,9 @@ import {
|
|
|
34
34
|
tryReservePort,
|
|
35
35
|
tryReservePorts,
|
|
36
36
|
worktreeRunPortsPath
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-BD7KUYJA.js";
|
|
38
38
|
import "./chunk-ORO4ENZR.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-J3BQHHDZ.js";
|
|
40
40
|
import "./chunk-RTZO2YJC.js";
|
|
41
41
|
import "./chunk-N2WW62LF.js";
|
|
42
42
|
import "./chunk-GK7H3SY7.js";
|
|
@@ -32,9 +32,9 @@ import {
|
|
|
32
32
|
tryReservePort,
|
|
33
33
|
tryReservePorts,
|
|
34
34
|
worktreeRunPortsPath
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-YNKVGJE5.js";
|
|
36
36
|
import "./chunk-BIM24I3O.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-HRHF6N6S.js";
|
|
38
38
|
import "./chunk-G3UV3GXJ.js";
|
|
39
39
|
import "./chunk-JX3OWNOT.js";
|
|
40
40
|
import "./chunk-BMRJNRQK.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
remoteCoordinatorSourceRef,
|
|
21
21
|
slackCoordinatorSourceRef,
|
|
22
22
|
takenTeamSlugsForOrchestration
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-J3BQHHDZ.js";
|
|
24
24
|
import "./chunk-RTZO2YJC.js";
|
|
25
25
|
import "./chunk-N2WW62LF.js";
|
|
26
26
|
import "./chunk-GK7H3SY7.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
remoteCoordinatorSourceRef,
|
|
19
19
|
slackCoordinatorSourceRef,
|
|
20
20
|
takenTeamSlugsForOrchestration
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HRHF6N6S.js";
|
|
22
22
|
import "./chunk-G3UV3GXJ.js";
|
|
23
23
|
import "./chunk-JX3OWNOT.js";
|
|
24
24
|
import "./chunk-BMRJNRQK.js";
|
package/dist/index.cjs
CHANGED
|
@@ -13358,6 +13358,7 @@ var init_coordinator_prompt = __esm({
|
|
|
13358
13358
|
"- Recurring multi-item / fan-out: if the child worktree has `.claude/skills/graph-engineering/SKILL.md`, tell the worker to follow it (`/graph-engineering`). Judge first; state on disk; grow the rulebook; do not patch three threads.",
|
|
13359
13359
|
"- Recurring shapes: have the worktree agent write `.claude/skills/<kebab-name>/SKILL.md` (commit it) so later threads and native Claude Code / attach see it. Merge-review sentences go in `.claude/skills/review/SKILL.md` when that skill already exists; otherwise `.context/review.md` (do not create a review skill). Do not use `.sideboard/skills/` (that folder only). Codex/OpenCode: one line in AGENTS.md pointing at that file.",
|
|
13360
13360
|
"- One-offs: no guide. Same miss across threads: edit the existing skill or `.context/review.md`, then rerun the batch \u2014 do not patch three threads.",
|
|
13361
|
+
"- A miss that will recur (the worker made it twice, or a person told them the rule): if the worktree has `.claude/skills/skill-improver/SKILL.md`, tell the worker to follow it (`/skill-improver`) in that turn \u2014 one sentence in the skill that owns it, in the same change. The worker who heard it writes it down; no Sideboard tool hands that chat to a later run.",
|
|
13361
13362
|
"Human-only (do not attempt): ready-for-review land (confirm_land), purge_chat.",
|
|
13362
13363
|
"Chat links in replies: when mentioning a chat/thread for the user, include a markdown link `[Title](sideboard://chat/<id>)` using the full id (or the link field from create_workspace / list_chats). Sideboard renders these as clickable opens.",
|
|
13363
13364
|
"Bash / Read / etc: allowed for (1) inspecting target worktrees / registered repo paths from MCP, and (2) greenfield setup under ~/sideboard/repos (git clone, gh repo create, git init+remote). Never git init/clone *inside* this synthetic home cwd \u2014 emptiness here is expected, not a bug."
|
|
@@ -32069,7 +32070,7 @@ function formatProcessGuideDirective(opts) {
|
|
|
32069
32070
|
hasInstallSkill ? "- After merge-from-main / lockfile change, or a hung `pnpm install`: follow `.claude/skills/worktree-install/SKILL.md` (`/worktree-install`). Use the worktree-local store Sideboard already set; do not share `~/.pnpm-store` across concurrent worktrees." : null,
|
|
32070
32071
|
"- If this same shape of work will happen again, write `.claude/skills/<kebab-name>/SKILL.md` in this worktree (Claude Code project skill; Sideboard `/name`, Claude Code, and `attach` all load it). Not under `.sideboard/skills/`. Point Codex/OpenCode at it from `AGENTS.md`.",
|
|
32071
32072
|
hasReviewSkill ? "- Merge-readiness notes go in `.claude/skills/review/SKILL.md` (edit it; do not create another review skill)." : "- Merge-readiness notes go in `.context/review.md` (copied from `.sideboard/review.md` when that file exists). Do not create a review skill.",
|
|
32072
|
-
"- Skip a guide for a one-off. If a matching skill exists, follow it. Same miss twice \u2192 edit the skill, do not patch around it."
|
|
32073
|
+
!!worktree && (0, import_node_fs68.existsSync)((0, import_node_path68.join)(worktree, ".claude/skills/skill-improver/SKILL.md")) ? "- Skip a guide for a one-off. If a matching skill exists, follow it. A miss that will recur (you made it twice, or a person told you the rule) \u2192 follow `.claude/skills/skill-improver/SKILL.md` (`/skill-improver`): one sentence in the skill that owns it, in this change. Do not patch around it." : "- Skip a guide for a one-off. If a matching skill exists, follow it. Same miss twice \u2192 edit the skill, do not patch around it."
|
|
32073
32074
|
].filter(Boolean).join("\n");
|
|
32074
32075
|
}
|
|
32075
32076
|
function formatLongRunningDirective(opts) {
|
package/dist/index.js
CHANGED
|
@@ -222,7 +222,7 @@ import {
|
|
|
222
222
|
worktreeCleanupSettings,
|
|
223
223
|
writeAgentBlock,
|
|
224
224
|
writeWorktreeFile
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-AX7SUDTC.js";
|
|
226
226
|
import {
|
|
227
227
|
OPTIONAL_SERVICES,
|
|
228
228
|
OPTIONAL_SERVICE_IDS,
|
|
@@ -383,7 +383,7 @@ import {
|
|
|
383
383
|
userMcpNamesToDisable,
|
|
384
384
|
worktreeMcpToolNames,
|
|
385
385
|
writeInjectedMcpConfig
|
|
386
|
-
} from "./chunk-
|
|
386
|
+
} from "./chunk-6N4W2MJ2.js";
|
|
387
387
|
import {
|
|
388
388
|
getAgentSetupInfo,
|
|
389
389
|
installAgent,
|
|
@@ -517,7 +517,7 @@ import {
|
|
|
517
517
|
workspaceAgentChatSummaries,
|
|
518
518
|
worktreeRunPortsPath,
|
|
519
519
|
wrapReviewSkillMarkdown
|
|
520
|
-
} from "./chunk-
|
|
520
|
+
} from "./chunk-YNKVGJE5.js";
|
|
521
521
|
import {
|
|
522
522
|
STDERR_EVENT_MAX_CHARS,
|
|
523
523
|
STDOUT_EVENT_MAX_CHARS,
|
|
@@ -660,7 +660,7 @@ import {
|
|
|
660
660
|
stageBuffersAsAttachments,
|
|
661
661
|
syncWorkspacesFromThreads,
|
|
662
662
|
takenTeamSlugsForOrchestration
|
|
663
|
-
} from "./chunk-
|
|
663
|
+
} from "./chunk-HRHF6N6S.js";
|
|
664
664
|
import {
|
|
665
665
|
GITHUB_PR_BODY_MAX_CHARS,
|
|
666
666
|
GITHUB_PR_BODY_SAFE_CHARS,
|
|
@@ -9746,7 +9746,7 @@ async function startHeadlessHost(opts) {
|
|
|
9746
9746
|
};
|
|
9747
9747
|
const refreshRunning = async () => {
|
|
9748
9748
|
try {
|
|
9749
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
9749
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-DGH2UMPW.js");
|
|
9750
9750
|
agentsRunning = getOrchestrator2().getRuntime().running;
|
|
9751
9751
|
} catch {
|
|
9752
9752
|
agentsRunning = 0;
|
|
@@ -12202,7 +12202,7 @@ async function handleJobStop(params, _ctx) {
|
|
|
12202
12202
|
return stopDetachedJob(jobCwd(rec), id, reason ? { reason } : void 0);
|
|
12203
12203
|
}
|
|
12204
12204
|
async function defaultTurnWait(ref, timeoutMs) {
|
|
12205
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
12205
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-DGH2UMPW.js");
|
|
12206
12206
|
const orch = getOrchestrator2();
|
|
12207
12207
|
const thread = await orch.waitForTurn(ref, timeoutMs, {
|
|
12208
12208
|
resolveIfStillRunning: true
|
|
@@ -15776,7 +15776,7 @@ async function continueSourceThread(threadId, prompt) {
|
|
|
15776
15776
|
await continueOnReply(threadId, prompt);
|
|
15777
15777
|
return;
|
|
15778
15778
|
}
|
|
15779
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
15779
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-DGH2UMPW.js");
|
|
15780
15780
|
await getOrchestrator2().send(threadId, prompt);
|
|
15781
15781
|
} catch {
|
|
15782
15782
|
}
|
package/dist/mcp/run-stdio.cjs
CHANGED
|
@@ -11264,6 +11264,7 @@ var init_coordinator_prompt = __esm({
|
|
|
11264
11264
|
"- Recurring multi-item / fan-out: if the child worktree has `.claude/skills/graph-engineering/SKILL.md`, tell the worker to follow it (`/graph-engineering`). Judge first; state on disk; grow the rulebook; do not patch three threads.",
|
|
11265
11265
|
"- Recurring shapes: have the worktree agent write `.claude/skills/<kebab-name>/SKILL.md` (commit it) so later threads and native Claude Code / attach see it. Merge-review sentences go in `.claude/skills/review/SKILL.md` when that skill already exists; otherwise `.context/review.md` (do not create a review skill). Do not use `.sideboard/skills/` (that folder only). Codex/OpenCode: one line in AGENTS.md pointing at that file.",
|
|
11266
11266
|
"- One-offs: no guide. Same miss across threads: edit the existing skill or `.context/review.md`, then rerun the batch \u2014 do not patch three threads.",
|
|
11267
|
+
"- A miss that will recur (the worker made it twice, or a person told them the rule): if the worktree has `.claude/skills/skill-improver/SKILL.md`, tell the worker to follow it (`/skill-improver`) in that turn \u2014 one sentence in the skill that owns it, in the same change. The worker who heard it writes it down; no Sideboard tool hands that chat to a later run.",
|
|
11267
11268
|
"Human-only (do not attempt): ready-for-review land (confirm_land), purge_chat.",
|
|
11268
11269
|
"Chat links in replies: when mentioning a chat/thread for the user, include a markdown link `[Title](sideboard://chat/<id>)` using the full id (or the link field from create_workspace / list_chats). Sideboard renders these as clickable opens.",
|
|
11269
11270
|
"Bash / Read / etc: allowed for (1) inspecting target worktrees / registered repo paths from MCP, and (2) greenfield setup under ~/sideboard/repos (git clone, gh repo create, git init+remote). Never git init/clone *inside* this synthetic home cwd \u2014 emptiness here is expected, not a bug."
|
|
@@ -29278,7 +29279,7 @@ function formatProcessGuideDirective(opts) {
|
|
|
29278
29279
|
hasInstallSkill ? "- After merge-from-main / lockfile change, or a hung `pnpm install`: follow `.claude/skills/worktree-install/SKILL.md` (`/worktree-install`). Use the worktree-local store Sideboard already set; do not share `~/.pnpm-store` across concurrent worktrees." : null,
|
|
29279
29280
|
"- If this same shape of work will happen again, write `.claude/skills/<kebab-name>/SKILL.md` in this worktree (Claude Code project skill; Sideboard `/name`, Claude Code, and `attach` all load it). Not under `.sideboard/skills/`. Point Codex/OpenCode at it from `AGENTS.md`.",
|
|
29280
29281
|
hasReviewSkill ? "- Merge-readiness notes go in `.claude/skills/review/SKILL.md` (edit it; do not create another review skill)." : "- Merge-readiness notes go in `.context/review.md` (copied from `.sideboard/review.md` when that file exists). Do not create a review skill.",
|
|
29281
|
-
"- Skip a guide for a one-off. If a matching skill exists, follow it. Same miss twice \u2192 edit the skill, do not patch around it."
|
|
29282
|
+
!!worktree && (0, import_node_fs66.existsSync)((0, import_node_path66.join)(worktree, ".claude/skills/skill-improver/SKILL.md")) ? "- Skip a guide for a one-off. If a matching skill exists, follow it. A miss that will recur (you made it twice, or a person told you the rule) \u2192 follow `.claude/skills/skill-improver/SKILL.md` (`/skill-improver`): one sentence in the skill that owns it, in this change. Do not patch around it." : "- Skip a guide for a one-off. If a matching skill exists, follow it. Same miss twice \u2192 edit the skill, do not patch around it."
|
|
29282
29283
|
].filter(Boolean).join("\n");
|
|
29283
29284
|
}
|
|
29284
29285
|
function formatLongRunningDirective(opts) {
|
package/dist/mcp/run-stdio.js
CHANGED
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
syncBoardPins,
|
|
46
46
|
workspaceTagTargetRef,
|
|
47
47
|
writeAgentBlock
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-5IMXA563.js";
|
|
49
49
|
import "../chunk-DC3VZXMA.js";
|
|
50
50
|
import {
|
|
51
51
|
SIDEBOARD_THREAD_ID_ENV,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
shouldRegisterMcpWaitForTurn,
|
|
56
56
|
sideboardMcpProfile,
|
|
57
57
|
worktreeMcpToolNames
|
|
58
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-TW63CYUA.js";
|
|
59
59
|
import {
|
|
60
60
|
mcpWaitForJobTimeoutMs,
|
|
61
61
|
mcpWaitForTurnTimeoutMs,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
waitForDetachedJob,
|
|
67
67
|
waitForTurnToolResult,
|
|
68
68
|
workspaceAgentChatSummaries
|
|
69
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-BD7KUYJA.js";
|
|
70
70
|
import {
|
|
71
71
|
HUGE_TOOL_RESULT_SUMMARY,
|
|
72
72
|
clipToolResultForStore,
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
isCloudCoordinatorThread,
|
|
107
107
|
isGlobalThread,
|
|
108
108
|
isOrchestratorThread
|
|
109
|
-
} from "../chunk-
|
|
109
|
+
} from "../chunk-J3BQHHDZ.js";
|
|
110
110
|
import {
|
|
111
111
|
canonicalizeRepoPath,
|
|
112
112
|
formatGhLandError,
|
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
resolveSendFollowUp,
|
|
10
10
|
startOrchestration,
|
|
11
11
|
waitForPidExit
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AX7SUDTC.js";
|
|
13
13
|
import "./chunk-4TTTEKNV.js";
|
|
14
14
|
import "./chunk-PGPSIEMW.js";
|
|
15
15
|
import "./chunk-W3ZLE4PO.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-6N4W2MJ2.js";
|
|
17
17
|
import "./chunk-6RO2AOE5.js";
|
|
18
18
|
import "./chunk-XOEKCE6L.js";
|
|
19
19
|
import "./chunk-D7US5R4H.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-YNKVGJE5.js";
|
|
21
21
|
import "./chunk-BIM24I3O.js";
|
|
22
22
|
import "./chunk-7H655NEW.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-HRHF6N6S.js";
|
|
24
24
|
import "./chunk-G3UV3GXJ.js";
|
|
25
25
|
import "./chunk-JX3OWNOT.js";
|
|
26
26
|
import "./chunk-BMRJNRQK.js";
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
resolveSendFollowUp,
|
|
12
12
|
startOrchestration,
|
|
13
13
|
waitForPidExit
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5IMXA563.js";
|
|
15
15
|
import "./chunk-DC3VZXMA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-TW63CYUA.js";
|
|
17
|
+
import "./chunk-BD7KUYJA.js";
|
|
18
18
|
import "./chunk-ORO4ENZR.js";
|
|
19
19
|
import "./chunk-LX5R5JOR.js";
|
|
20
20
|
import "./chunk-5SJGR3VS.js";
|
|
21
21
|
import "./chunk-4PXHJA5K.js";
|
|
22
22
|
import "./chunk-4GK32AYX.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-J3BQHHDZ.js";
|
|
24
24
|
import "./chunk-RTZO2YJC.js";
|
|
25
25
|
import "./chunk-I6RGRUNY.js";
|
|
26
26
|
import "./chunk-E63AM3PW.js";
|