@sideboard-ai/core 0.1.350 → 0.1.351
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-P5QIV24I.js → agents-D5CL4CR4.js} +2 -2
- package/dist/{agents-RGAV5OHD.js → agents-INTH7J3F.js} +2 -2
- package/dist/{chunk-2MESZ5XR.js → chunk-7WPQAVS5.js} +10 -10
- package/dist/{chunk-NDEVAA34.js → chunk-AAKQU4UZ.js} +2 -2
- package/dist/{chunk-MANERA6F.js → chunk-AEEOYLVK.js} +2 -2
- package/dist/{chunk-W5GHFT7E.js → chunk-BDWVBEKN.js} +11 -11
- package/dist/{chunk-ZBSEJIOV.js → chunk-C3E2DGDF.js} +2 -2
- package/dist/{chunk-LFSTOECH.js → chunk-HISSQICH.js} +1 -1
- package/dist/{chunk-EZ2MUWNW.js → chunk-SZY23KGS.js} +1 -1
- package/dist/{chunk-5AHWUJRT.js → chunk-UXAKH4AW.js} +2 -2
- package/dist/{conductor-VGCXUUG6.js → conductor-FWYWIHEW.js} +2 -2
- package/dist/{conductor-HVOGBK63.js → conductor-W2X7QUKZ.js} +2 -2
- package/dist/{coordinator-prompt-E736TJBS.js → coordinator-prompt-J57Q4Z4W.js} +1 -1
- package/dist/{coordinator-prompt-DPO7L2JO.js → coordinator-prompt-KIHNLENN.js} +1 -1
- package/dist/{global-workspace-TG2TVLUF.js → global-workspace-CGB5CY4U.js} +1 -1
- package/dist/{global-workspace-4RDPAOTT.js → global-workspace-WXDWFZAN.js} +1 -1
- package/dist/index.cjs +150 -21
- package/dist/index.d.cts +19 -4
- package/dist/index.d.ts +19 -4
- package/dist/index.js +156 -27
- package/dist/mcp/run-stdio.cjs +150 -21
- package/dist/mcp/run-stdio.js +153 -24
- package/dist/{orchestrator-QDHZ56LA.js → orchestrator-DMEE7CEW.js} +4 -4
- package/dist/{orchestrator-3I2FLEZL.js → orchestrator-MUD4FY7Q.js} +4 -4
- package/dist/{workspaces-4PA24IX6.js → workspaces-7DPHDXNY.js} +1 -1
- package/dist/{workspaces-6TMYV4N2.js → workspaces-ZCTF4ECL.js} +1 -1
- package/package.json +1 -1
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
resolveCursorSdkRoot,
|
|
50
50
|
resolveQuotaFallbackAgent,
|
|
51
51
|
turnCostUsdFromCursorUsage
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-UXAKH4AW.js";
|
|
53
53
|
import "./chunk-LESWJ7L4.js";
|
|
54
54
|
import {
|
|
55
55
|
getAgentSetupInfo,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
isAcpHarnessId,
|
|
77
77
|
resolveAcpHarnessCommand
|
|
78
78
|
} from "./chunk-BF6INES4.js";
|
|
79
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-SZY23KGS.js";
|
|
80
80
|
import "./chunk-VHQ6OG3U.js";
|
|
81
81
|
import "./chunk-I6RGRUNY.js";
|
|
82
82
|
import "./chunk-E63AM3PW.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
planModeTurnInstruction,
|
|
41
41
|
resolveCursorModelId,
|
|
42
42
|
resolveQuotaFallbackAgent
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-AAKQU4UZ.js";
|
|
44
44
|
import {
|
|
45
45
|
getAgentSetupInfo,
|
|
46
46
|
installAgent,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
resolveAcpHarnessCommand
|
|
72
72
|
} from "./chunk-YE7Z5WH3.js";
|
|
73
73
|
import "./chunk-JAT3JFOS.js";
|
|
74
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-HISSQICH.js";
|
|
75
75
|
import "./chunk-FQ3JYUKI.js";
|
|
76
76
|
import "./chunk-TCEUNSLX.js";
|
|
77
77
|
import "./chunk-BMRJNRQK.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
parseSessionQuotaResetAt,
|
|
15
15
|
planModeTurnInstruction,
|
|
16
16
|
resolveQuotaFallbackAgent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UXAKH4AW.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-AEEOYLVK.js";
|
|
58
58
|
import {
|
|
59
59
|
applyAgentEvent,
|
|
60
60
|
clipAgentEventForPaint,
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
stageAbsolutePathsAsAttachments,
|
|
126
126
|
stageBuffersAsAttachments,
|
|
127
127
|
syncWorkspacesFromThreads
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-SZY23KGS.js";
|
|
129
129
|
import {
|
|
130
130
|
addPrStackLayer,
|
|
131
131
|
allocateTeamSlug,
|
|
@@ -579,9 +579,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
|
|
|
579
579
|
`Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
|
|
580
580
|
);
|
|
581
581
|
}
|
|
582
|
-
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-
|
|
582
|
+
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-CGB5CY4U.js");
|
|
583
583
|
if (isGlobalThread2(thread)) {
|
|
584
|
-
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-
|
|
584
|
+
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-J57Q4Z4W.js");
|
|
585
585
|
ensureGlobalCoordinatorCwd2(
|
|
586
586
|
isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
|
|
587
587
|
);
|
|
@@ -4071,7 +4071,7 @@ async function adoptThread(input) {
|
|
|
4071
4071
|
messages: input.messages ?? []
|
|
4072
4072
|
});
|
|
4073
4073
|
writeThread(thread);
|
|
4074
|
-
const { addWorkspace: addWorkspace2 } = await import("./workspaces-
|
|
4074
|
+
const { addWorkspace: addWorkspace2 } = await import("./workspaces-7DPHDXNY.js");
|
|
4075
4075
|
await addWorkspace2(repoPath);
|
|
4076
4076
|
const { ensureWorktreeSideboardIgnored } = await import("./worktree-exclude-KMZQXZKP.js");
|
|
4077
4077
|
await ensureWorktreeSideboardIgnored(input.worktreePath);
|
|
@@ -7673,11 +7673,11 @@ function realDeps() {
|
|
|
7673
7673
|
parentIdForThread,
|
|
7674
7674
|
designatedId: designatedOrchestratorId,
|
|
7675
7675
|
send: async (threadId, prompt) => {
|
|
7676
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
7676
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-DMEE7CEW.js");
|
|
7677
7677
|
await getOrchestrator2().send(threadId, prompt, { followUp: "queue" });
|
|
7678
7678
|
},
|
|
7679
7679
|
startOrchestration: async (prompt) => {
|
|
7680
|
-
const { startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
7680
|
+
const { startOrchestration: startOrchestration2 } = await import("./orchestrator-DMEE7CEW.js");
|
|
7681
7681
|
const defaults = resolveOrchestratorDefaults();
|
|
7682
7682
|
await startOrchestration2({
|
|
7683
7683
|
goal: prompt,
|
|
@@ -7704,7 +7704,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
7704
7704
|
${prompt}`;
|
|
7705
7705
|
}
|
|
7706
7706
|
async function defaultDeps() {
|
|
7707
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
7707
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-DMEE7CEW.js");
|
|
7708
7708
|
const orch = getOrchestrator2();
|
|
7709
7709
|
return {
|
|
7710
7710
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -7905,7 +7905,7 @@ ${item.prompt}`);
|
|
|
7905
7905
|
}
|
|
7906
7906
|
}
|
|
7907
7907
|
async function defaultSend(id, prompt) {
|
|
7908
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
7908
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-DMEE7CEW.js");
|
|
7909
7909
|
await getOrchestrator2().send(id, prompt, { followUp: "join" });
|
|
7910
7910
|
}
|
|
7911
7911
|
function armChatFollowUps() {
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-JAT3JFOS.js";
|
|
29
29
|
import {
|
|
30
30
|
isOrchestratorThread
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HISSQICH.js";
|
|
32
32
|
import {
|
|
33
33
|
codexUnattendedGitConfigArgs,
|
|
34
34
|
mergeAgentGitAuthEnv,
|
|
@@ -3261,7 +3261,7 @@ var claudeAdapter = {
|
|
|
3261
3261
|
);
|
|
3262
3262
|
}
|
|
3263
3263
|
const mode = permissionMode(thread);
|
|
3264
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
3264
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-WXDWFZAN.js");
|
|
3265
3265
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
3266
3266
|
const rpc = worktreeAgentRpc(isOrchestrator);
|
|
3267
3267
|
const injectedServers = await buildInjectedMcpServers({
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
isGlobalThread,
|
|
18
18
|
isOrchestratorThread,
|
|
19
19
|
isSlackCoordinatorThread
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SZY23KGS.js";
|
|
21
21
|
import {
|
|
22
22
|
mergeAgentGitAuthEnv,
|
|
23
23
|
resolveAgentGitAuthEnv
|
|
@@ -1781,7 +1781,7 @@ var PORT_RANGE_SIZE = 10;
|
|
|
1781
1781
|
var RECLAIM_RETRY_DELAY_MS = 40;
|
|
1782
1782
|
var RECLAIM_TRIES = 8;
|
|
1783
1783
|
async function killReclaimable(ports, worktreePath, signal) {
|
|
1784
|
-
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-
|
|
1784
|
+
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-W2X7QUKZ.js");
|
|
1785
1785
|
if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
|
|
1786
1786
|
else killListenersOnPorts2(ports);
|
|
1787
1787
|
}
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
parseSessionQuotaResetAt,
|
|
22
22
|
planModeTurnInstruction,
|
|
23
23
|
resolveQuotaFallbackAgent
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AAKQU4UZ.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-C3E2DGDF.js";
|
|
60
60
|
import {
|
|
61
61
|
applyAgentEvent,
|
|
62
62
|
clipAgentEventForPaint,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
stageAbsolutePathsAsAttachments,
|
|
110
110
|
stageBuffersAsAttachments,
|
|
111
111
|
syncWorkspacesFromThreads
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-HISSQICH.js";
|
|
113
113
|
import {
|
|
114
114
|
addPrStackLayer,
|
|
115
115
|
allocateTeamSlug,
|
|
@@ -536,9 +536,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
|
|
|
536
536
|
`Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
|
|
537
537
|
);
|
|
538
538
|
}
|
|
539
|
-
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-
|
|
539
|
+
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-WXDWFZAN.js");
|
|
540
540
|
if (isGlobalThread2(thread)) {
|
|
541
|
-
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-
|
|
541
|
+
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-KIHNLENN.js");
|
|
542
542
|
ensureGlobalCoordinatorCwd2(
|
|
543
543
|
isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
|
|
544
544
|
);
|
|
@@ -3580,7 +3580,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
3580
3580
|
return readThread(thread.id) ?? thread;
|
|
3581
3581
|
}
|
|
3582
3582
|
async function listLinearIssues(agent, repoPath) {
|
|
3583
|
-
const { getAdapter: getAdapter2 } = await import("./agents-
|
|
3583
|
+
const { getAdapter: getAdapter2 } = await import("./agents-INTH7J3F.js");
|
|
3584
3584
|
await requireAgent(agent, { requireLinear: true });
|
|
3585
3585
|
const adapter = getAdapter2(agent);
|
|
3586
3586
|
if (!adapter.listLinearIssues) {
|
|
@@ -4389,7 +4389,7 @@ async function adoptThread(input) {
|
|
|
4389
4389
|
messages: input.messages ?? []
|
|
4390
4390
|
});
|
|
4391
4391
|
writeThread(thread);
|
|
4392
|
-
const { addWorkspace: addWorkspace2 } = await import("./workspaces-
|
|
4392
|
+
const { addWorkspace: addWorkspace2 } = await import("./workspaces-ZCTF4ECL.js");
|
|
4393
4393
|
await addWorkspace2(repoPath);
|
|
4394
4394
|
const { ensureWorktreeSideboardIgnored } = await import("./worktree-exclude-YQBN43QD.js");
|
|
4395
4395
|
await ensureWorktreeSideboardIgnored(input.worktreePath);
|
|
@@ -8026,11 +8026,11 @@ function realDeps() {
|
|
|
8026
8026
|
parentIdForThread,
|
|
8027
8027
|
designatedId: designatedOrchestratorId,
|
|
8028
8028
|
send: async (threadId, prompt) => {
|
|
8029
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
8029
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-MUD4FY7Q.js");
|
|
8030
8030
|
await getOrchestrator2().send(threadId, prompt, { followUp: "queue" });
|
|
8031
8031
|
},
|
|
8032
8032
|
startOrchestration: async (prompt) => {
|
|
8033
|
-
const { startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
8033
|
+
const { startOrchestration: startOrchestration2 } = await import("./orchestrator-MUD4FY7Q.js");
|
|
8034
8034
|
const defaults = resolveOrchestratorDefaults();
|
|
8035
8035
|
await startOrchestration2({
|
|
8036
8036
|
goal: prompt,
|
|
@@ -8057,7 +8057,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
8057
8057
|
${prompt}`;
|
|
8058
8058
|
}
|
|
8059
8059
|
async function defaultDeps() {
|
|
8060
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
8060
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-MUD4FY7Q.js");
|
|
8061
8061
|
const orch = getOrchestrator2();
|
|
8062
8062
|
return {
|
|
8063
8063
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -8258,7 +8258,7 @@ ${item.prompt}`);
|
|
|
8258
8258
|
}
|
|
8259
8259
|
}
|
|
8260
8260
|
async function defaultSend(id, prompt) {
|
|
8261
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
8261
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-MUD4FY7Q.js");
|
|
8262
8262
|
await getOrchestrator2().send(id, prompt, { followUp: "join" });
|
|
8263
8263
|
}
|
|
8264
8264
|
function armChatFollowUps() {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
isGlobalThread,
|
|
12
12
|
isOrchestratorThread,
|
|
13
13
|
isSlackCoordinatorThread
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HISSQICH.js";
|
|
15
15
|
import {
|
|
16
16
|
mergeAgentGitAuthEnv,
|
|
17
17
|
resolveAgentGitAuthEnv
|
|
@@ -1749,7 +1749,7 @@ var PORT_RANGE_SIZE = 10;
|
|
|
1749
1749
|
var RECLAIM_RETRY_DELAY_MS = 40;
|
|
1750
1750
|
var RECLAIM_TRIES = 8;
|
|
1751
1751
|
async function killReclaimable(ports, worktreePath, signal) {
|
|
1752
|
-
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-
|
|
1752
|
+
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-FWYWIHEW.js");
|
|
1753
1753
|
if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
|
|
1754
1754
|
else killListenersOnPorts2(ports);
|
|
1755
1755
|
}
|
|
@@ -409,7 +409,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
|
|
|
409
409
|
'- create_workspace \u2014 create a workspace (isolated checkout + first chat) from branch | pr | ticket (appears on Home). A ticket, PR, or named branch has one checkout: a second call returns that workspace (alreadyStarted=true) and chats for every agent already on it. That is not one agent. To put another agent on that checkout, fork_chat. send_to_chat only the chat that should do this job. Creating from the default branch still opens a new isolated workspace. Pass repoPath + parentChatId; omit agent and model so Sideboard applies Settings \u2192 Default agent, model & effort (never pass your own agent or agent=cursor). Pass the same tags (short labels, e.g. "phone-sync") on every workspace you open for one task so they group in the sidebar; reusing a checkout adds those tags. If the repo has a setup script, Sideboard runs it in the background (does not block send_to_chat). Nested Codex (you are Codex and the child would be Codex) can deadlock on ~/.codex locks \u2014 omit agent; Sideboard switches the child to Cursor when a CURSOR_API_KEY is set, otherwise keeps the Account default',
|
|
410
410
|
"- One orchestration chat can create at most the Settings \u2192 Advanced \u201CMax orchestration threads\u201D cap of child workspaces (default 5). fork_chat on an existing checkout does not use a slot.",
|
|
411
411
|
"- set_workspace_tags \u2014 set, add, or remove labels on a workspace after create. Pass any chat id on that checkout. Same tags on every workspace from one task. Worktree agents can update tags on their own checkout (they omit ref). set_wake_on_github_edges opts a workspace into CI and review-request wakes once Settings \u2192 Advanced is on. Pass a child chat id. Do not flip the Advanced switch.",
|
|
412
|
-
"- set_plan / show_plan / list_order / set_dependency / clear_dependency / satisfy_dependency / execute_plan \u2014 This chat owns one plan. show_plan opens it in the side column, the same way a worktree agent does. The Orchestration row in the sidebar opens that chat. Draft with set_plan (title, summary, and goal) and set_dependency. A step may loop back to an earlier step. This is a plan, not a one-way waterfall. Call show_plan after you draft or change the plan. Do not paste the diagram in chat. Do not create workspaces or send_to_chat for that work while the plan is draft. execute_plan with agreed: true only after they tell you to run it. It marks the plan active and returns
|
|
412
|
+
"- set_plan / show_plan / list_order / set_dependency / clear_dependency / satisfy_dependency / execute_plan \u2014 This chat owns one plan. show_plan opens it in the side column, the same way a worktree agent does. The Orchestration row in the sidebar opens that chat. Draft with set_plan (title, summary, and goal) and set_dependency. A step may loop back to an earlier step. This is a plan, not a one-way waterfall. Call show_plan after you draft or change the plan. Do not paste the diagram in chat. Do not create workspaces or send_to_chat for that work while the plan is draft. execute_plan with agreed: true only after they tell you to run it. It marks the plan active and returns start, waiting, and mergeHeld. start includes the first step others wait on, until that step reaches its gate, and any later step whose hold is merge rather than start. Start each of those with create_workspace (kind pr or issue; pass repoPath when set) or send_to_chat (kind workspace or orchestration). create_workspace returns a checkout that already exists. Leave waiting alone. Steps in mergeHeld can proceed; do not merge them. Merge only if they asked. Worktree agents show_plan to open the diagram and this checkout's implementation plan when plan.md exists. set_dependency / clear_dependency only for a step they are part of. A dependency says one PR, issue, or workspace must reach a gate before another can start or merge. gate=in-main is met when that PR is merged; gate=in-prod stays waiting until satisfy_dependency (Sideboard cannot see production). hold=start blocks starting the subject; hold=merge blocks merging it. Example: PR 1 in prod before PR 2 can merge; PR 3 in main before issue 4 can start. Pass waitsOnKind (pr|issue|workspace), waitsOnRef, gate, subjectKind, subjectRef, hold. Pass repoPath when the same number exists in more than one project. A step can name another orchestration chat (kind orchestration, ref that chat id). That chat drafts its own plan. Each orchestration chat opens its own plan with show_plan. Worktree agents set their own checkout and omit subject. Plan mode on a workspace agent stays a separate plan for that checkout. Do not start a step listed under Do not start. Do not merge a step listed under Do not merge. An edge line marked merge is a merge hold; that step can still be under Start now.",
|
|
413
413
|
"- start_board_card \u2014 same as create_workspace for a ticket/PR/named branch (attaches issue text when resolvable). Then send_to_chat.",
|
|
414
414
|
"- fork_workspace \u2014 fork a worktree chat into a NEW git worktree + chat (transcript attached); optional agent; leave model unset (Auto) unless you have a reason. Not for orchestration chats.",
|
|
415
415
|
"- fork_chat \u2014 add another agent on the SAME workspace (same files, Run, and git), or fork a Global orchestration chat into a new tab. Pass agent when it should be a different harness. Leave model unset (Auto) unless you have a reason. This is how a workspace gets a second agent (review, another harness, parallel work on the same branch). Do not create_workspace again for that. Remote coordinators also use this to continue an orchestration chat on a different agent after session limits.",
|
|
@@ -364,7 +364,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
|
|
|
364
364
|
'- create_workspace \u2014 create a workspace (isolated checkout + first chat) from branch | pr | ticket (appears on Home). A ticket, PR, or named branch has one checkout: a second call returns that workspace (alreadyStarted=true) and chats for every agent already on it. That is not one agent. To put another agent on that checkout, fork_chat. send_to_chat only the chat that should do this job. Creating from the default branch still opens a new isolated workspace. Pass repoPath + parentChatId; omit agent and model so Sideboard applies Settings \u2192 Default agent, model & effort (never pass your own agent or agent=cursor). Pass the same tags (short labels, e.g. "phone-sync") on every workspace you open for one task so they group in the sidebar; reusing a checkout adds those tags. If the repo has a setup script, Sideboard runs it in the background (does not block send_to_chat). Nested Codex (you are Codex and the child would be Codex) can deadlock on ~/.codex locks \u2014 omit agent; Sideboard switches the child to Cursor when a CURSOR_API_KEY is set, otherwise keeps the Account default',
|
|
365
365
|
"- One orchestration chat can create at most the Settings \u2192 Advanced \u201CMax orchestration threads\u201D cap of child workspaces (default 5). fork_chat on an existing checkout does not use a slot.",
|
|
366
366
|
"- set_workspace_tags \u2014 set, add, or remove labels on a workspace after create. Pass any chat id on that checkout. Same tags on every workspace from one task. Worktree agents can update tags on their own checkout (they omit ref). set_wake_on_github_edges opts a workspace into CI and review-request wakes once Settings \u2192 Advanced is on. Pass a child chat id. Do not flip the Advanced switch.",
|
|
367
|
-
"- set_plan / show_plan / list_order / set_dependency / clear_dependency / satisfy_dependency / execute_plan \u2014 This chat owns one plan. show_plan opens it in the side column, the same way a worktree agent does. The Orchestration row in the sidebar opens that chat. Draft with set_plan (title, summary, and goal) and set_dependency. A step may loop back to an earlier step. This is a plan, not a one-way waterfall. Call show_plan after you draft or change the plan. Do not paste the diagram in chat. Do not create workspaces or send_to_chat for that work while the plan is draft. execute_plan with agreed: true only after they tell you to run it. It marks the plan active and returns
|
|
367
|
+
"- set_plan / show_plan / list_order / set_dependency / clear_dependency / satisfy_dependency / execute_plan \u2014 This chat owns one plan. show_plan opens it in the side column, the same way a worktree agent does. The Orchestration row in the sidebar opens that chat. Draft with set_plan (title, summary, and goal) and set_dependency. A step may loop back to an earlier step. This is a plan, not a one-way waterfall. Call show_plan after you draft or change the plan. Do not paste the diagram in chat. Do not create workspaces or send_to_chat for that work while the plan is draft. execute_plan with agreed: true only after they tell you to run it. It marks the plan active and returns start, waiting, and mergeHeld. start includes the first step others wait on, until that step reaches its gate, and any later step whose hold is merge rather than start. Start each of those with create_workspace (kind pr or issue; pass repoPath when set) or send_to_chat (kind workspace or orchestration). create_workspace returns a checkout that already exists. Leave waiting alone. Steps in mergeHeld can proceed; do not merge them. Merge only if they asked. Worktree agents show_plan to open the diagram and this checkout's implementation plan when plan.md exists. set_dependency / clear_dependency only for a step they are part of. A dependency says one PR, issue, or workspace must reach a gate before another can start or merge. gate=in-main is met when that PR is merged; gate=in-prod stays waiting until satisfy_dependency (Sideboard cannot see production). hold=start blocks starting the subject; hold=merge blocks merging it. Example: PR 1 in prod before PR 2 can merge; PR 3 in main before issue 4 can start. Pass waitsOnKind (pr|issue|workspace), waitsOnRef, gate, subjectKind, subjectRef, hold. Pass repoPath when the same number exists in more than one project. A step can name another orchestration chat (kind orchestration, ref that chat id). That chat drafts its own plan. Each orchestration chat opens its own plan with show_plan. Worktree agents set their own checkout and omit subject. Plan mode on a workspace agent stays a separate plan for that checkout. Do not start a step listed under Do not start. Do not merge a step listed under Do not merge. An edge line marked merge is a merge hold; that step can still be under Start now.",
|
|
368
368
|
"- start_board_card \u2014 same as create_workspace for a ticket/PR/named branch (attaches issue text when resolvable). Then send_to_chat.",
|
|
369
369
|
"- fork_workspace \u2014 fork a worktree chat into a NEW git worktree + chat (transcript attached); optional agent; leave model unset (Auto) unless you have a reason. Not for orchestration chats.",
|
|
370
370
|
"- fork_chat \u2014 add another agent on the SAME workspace (same files, Run, and git), or fork a Global orchestration chat into a new tab. Pass agent when it should be a different harness. Leave model unset (Auto) unless you have a reason. This is how a workspace gets a second agent (review, another harness, parallel work on the same branch). Do not create_workspace again for that. Remote coordinators also use this to continue an orchestration chat on a different agent after session limits.",
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-BF6INES4.js";
|
|
20
20
|
import {
|
|
21
21
|
isOrchestratorThread
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SZY23KGS.js";
|
|
23
23
|
import {
|
|
24
24
|
codexUnattendedGitConfigArgs,
|
|
25
25
|
mergeAgentGitAuthEnv,
|
|
@@ -3634,7 +3634,7 @@ var claudeAdapter = {
|
|
|
3634
3634
|
);
|
|
3635
3635
|
}
|
|
3636
3636
|
const mode = permissionMode(thread);
|
|
3637
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
3637
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-CGB5CY4U.js");
|
|
3638
3638
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
3639
3639
|
const rpc = worktreeAgentRpc(isOrchestrator);
|
|
3640
3640
|
const injectedServers = await buildInjectedMcpServers({
|
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
tryReservePort,
|
|
33
33
|
tryReservePorts,
|
|
34
34
|
worktreeRunPortsPath
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-C3E2DGDF.js";
|
|
36
36
|
import "./chunk-WWBPK7GB.js";
|
|
37
37
|
import "./chunk-YE7Z5WH3.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-HISSQICH.js";
|
|
39
39
|
import "./chunk-FQ3JYUKI.js";
|
|
40
40
|
import "./chunk-TCEUNSLX.js";
|
|
41
41
|
import "./chunk-BMRJNRQK.js";
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
tryReservePort,
|
|
35
35
|
tryReservePorts,
|
|
36
36
|
worktreeRunPortsPath
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-AEEOYLVK.js";
|
|
38
38
|
import "./chunk-LESWJ7L4.js";
|
|
39
39
|
import "./chunk-BF6INES4.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-SZY23KGS.js";
|
|
41
41
|
import "./chunk-VHQ6OG3U.js";
|
|
42
42
|
import "./chunk-N2WW62LF.js";
|
|
43
43
|
import "./chunk-GK7H3SY7.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
remoteCoordinatorSourceRef,
|
|
21
21
|
slackCoordinatorSourceRef,
|
|
22
22
|
takenTeamSlugsForOrchestration
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-SZY23KGS.js";
|
|
24
24
|
import "./chunk-VHQ6OG3U.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-HISSQICH.js";
|
|
22
22
|
import "./chunk-FQ3JYUKI.js";
|
|
23
23
|
import "./chunk-TCEUNSLX.js";
|
|
24
24
|
import "./chunk-BMRJNRQK.js";
|