@sideboard-ai/core 0.1.338 → 0.1.339
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-MM6VNDOI.js → agents-6MSZHZOM.js} +3 -3
- package/dist/{agents-4ZABRO2T.js → agents-QFXIBIKJ.js} +3 -3
- package/dist/{chunk-5MXLDDYF.js → chunk-5KH3EQ2C.js} +7 -0
- package/dist/{chunk-LJESHMFJ.js → chunk-6ABL7HZN.js} +14 -4
- package/dist/{chunk-T76WCIQN.js → chunk-BD7QARIJ.js} +3 -2
- package/dist/{chunk-OOXRMTU6.js → chunk-DYUAVL5S.js} +7 -0
- package/dist/{chunk-JGJIR66Z.js → chunk-ELDHERAD.js} +14 -11
- package/dist/{chunk-BR3C3EX5.js → chunk-EVYOONTE.js} +3 -2
- package/dist/{chunk-UPZD4SYD.js → chunk-EZZY3EAZ.js} +13 -10
- package/dist/{chunk-QJGAWDAX.js → chunk-NHLTTT5G.js} +3 -3
- package/dist/{chunk-2QN74PVY.js → chunk-PEJ3N5VE.js} +3 -3
- package/dist/{chunk-X3W3HBLK.js → chunk-VHHEQP5V.js} +14 -4
- package/dist/{conductor-HKZKX2JD.js → conductor-AUUXCJZT.js} +3 -3
- package/dist/{conductor-OTYQMFNT.js → conductor-LEPTWN2U.js} +3 -3
- package/dist/{coordinator-prompt-AHR54RWJ.js → coordinator-prompt-CIWWP2P6.js} +1 -1
- package/dist/{coordinator-prompt-GMGYQ5XT.js → coordinator-prompt-VO42IZWS.js} +1 -1
- package/dist/{global-workspace-WRME3OJ5.js → global-workspace-FKXLFKYX.js} +1 -1
- package/dist/{global-workspace-TDR6OHL6.js → global-workspace-MCAREQI7.js} +1 -1
- package/dist/index.cjs +2301 -977
- package/dist/index.d.cts +271 -3
- package/dist/index.d.ts +271 -3
- package/dist/index.js +1455 -195
- package/dist/mcp/run-stdio.cjs +1330 -163
- package/dist/mcp/run-stdio.js +1294 -152
- package/dist/{orchestrator-NXLV3FF4.js → orchestrator-JTFCNXVR.js} +5 -5
- package/dist/{orchestrator-CJBYJVD7.js → orchestrator-NOQDMYLB.js} +5 -5
- package/dist/{workspaces-7ZB6GUXB.js → workspaces-D6FQCZRK.js} +1 -1
- package/dist/{workspaces-XXO2T45C.js → workspaces-Y25L2EPV.js} +1 -1
- package/package.json +1 -1
|
@@ -46,8 +46,8 @@ import {
|
|
|
46
46
|
resolveCursorSdkRoot,
|
|
47
47
|
resolveQuotaFallbackAgent,
|
|
48
48
|
turnCostUsdFromCursorUsage
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-VHHEQP5V.js";
|
|
50
|
+
import "./chunk-5KH3EQ2C.js";
|
|
51
51
|
import {
|
|
52
52
|
getAgentSetupInfo,
|
|
53
53
|
installAgent,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
resolveLoginCommand,
|
|
61
61
|
whichOnPath
|
|
62
62
|
} from "./chunk-HNW5KMGK.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-EVYOONTE.js";
|
|
64
64
|
import "./chunk-ERCYQTJU.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-6ABL7HZN.js";
|
|
41
41
|
import {
|
|
42
42
|
getAgentSetupInfo,
|
|
43
43
|
installAgent,
|
|
@@ -52,8 +52,8 @@ import {
|
|
|
52
52
|
} from "./chunk-5FGQTB2Z.js";
|
|
53
53
|
import "./chunk-XOEKCE6L.js";
|
|
54
54
|
import "./chunk-KAIOL2M5.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-DYUAVL5S.js";
|
|
56
|
+
import "./chunk-BD7QARIJ.js";
|
|
57
57
|
import "./chunk-4OVQGZEI.js";
|
|
58
58
|
import "./chunk-BDQFZAE6.js";
|
|
59
59
|
import "./chunk-BMRJNRQK.js";
|
|
@@ -573,6 +573,13 @@ function toolDescription(name, input) {
|
|
|
573
573
|
if (/update_schedule$/i.test(name)) return "Update automation";
|
|
574
574
|
if (/delete_schedule$/i.test(name)) return "Delete automation";
|
|
575
575
|
if (/run_schedule$/i.test(name)) return "Run automation";
|
|
576
|
+
else if (/list_order$/i.test(name)) return "List planner";
|
|
577
|
+
else if (/show_plan$/i.test(name)) return "Show plan";
|
|
578
|
+
else if (/set_plan$/i.test(name)) return "Draft plan";
|
|
579
|
+
else if (/execute_plan$/i.test(name)) return "Run plan";
|
|
580
|
+
else if (/set_dependency$/i.test(name)) return "Set dependency";
|
|
581
|
+
else if (/clear_dependency$/i.test(name)) return "Clear dependency";
|
|
582
|
+
else if (/satisfy_dependency$/i.test(name)) return "Mark dependency clear";
|
|
576
583
|
if (isSkillToolName(name)) {
|
|
577
584
|
const cmd = skillCommandFromInput(input);
|
|
578
585
|
return cmd ? `Using /${cmd}` : "Using skill";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
looksLikeSkillBody,
|
|
13
13
|
skillCommandFromBody,
|
|
14
14
|
withEventParentId
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DYUAVL5S.js";
|
|
16
16
|
import {
|
|
17
17
|
isOrchestratorThread
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BD7QARIJ.js";
|
|
19
19
|
import {
|
|
20
20
|
codexUnattendedGitConfigArgs,
|
|
21
21
|
mergeAgentGitAuthEnv,
|
|
@@ -1063,7 +1063,12 @@ var WORKTREE_MCP_TOOLS = [
|
|
|
1063
1063
|
"create_schedule",
|
|
1064
1064
|
"update_schedule",
|
|
1065
1065
|
"delete_schedule",
|
|
1066
|
-
"run_schedule"
|
|
1066
|
+
"run_schedule",
|
|
1067
|
+
"list_order",
|
|
1068
|
+
"show_plan",
|
|
1069
|
+
"set_dependency",
|
|
1070
|
+
"clear_dependency",
|
|
1071
|
+
"satisfy_dependency"
|
|
1067
1072
|
];
|
|
1068
1073
|
var WORKTREE_GITHUB_MCP_TOOLS = [
|
|
1069
1074
|
"github_search_issues",
|
|
@@ -1168,6 +1173,11 @@ var SIDEBOARD_ARTIFACT_MCP_ALLOWED_TOOLS = [
|
|
|
1168
1173
|
"mcp__sideboard__update_schedule",
|
|
1169
1174
|
"mcp__sideboard__delete_schedule",
|
|
1170
1175
|
"mcp__sideboard__run_schedule",
|
|
1176
|
+
"mcp__sideboard__list_order",
|
|
1177
|
+
"mcp__sideboard__show_plan",
|
|
1178
|
+
"mcp__sideboard__set_dependency",
|
|
1179
|
+
"mcp__sideboard__clear_dependency",
|
|
1180
|
+
"mcp__sideboard__satisfy_dependency",
|
|
1171
1181
|
"mcp__sideboard__posthog_api"
|
|
1172
1182
|
];
|
|
1173
1183
|
var SIDEBOARD_GITHUB_MCP_ALLOWED_TOOLS = ["mcp__sideboard__github_*"];
|
|
@@ -2659,7 +2669,7 @@ var claudeAdapter = {
|
|
|
2659
2669
|
);
|
|
2660
2670
|
}
|
|
2661
2671
|
const mode = permissionMode(thread);
|
|
2662
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
2672
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-MCAREQI7.js");
|
|
2663
2673
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
2664
2674
|
const rpc = worktreeAgentRpc(isOrchestrator);
|
|
2665
2675
|
const injectedServers = await buildInjectedMcpServers({
|
|
@@ -387,7 +387,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
|
|
|
387
387
|
"Sideboard MCP (fleet control \u2014 prefer these for status and orchestration):",
|
|
388
388
|
"Discover:",
|
|
389
389
|
"- list_projects \u2014 registered repos (path + that repo's origin host:owner/repo, such as github:, cursor:, or entire:, and project context when set). Projects do not share one git host. Use account / project context to pick the right repo for tickets or reviews.",
|
|
390
|
-
"- list_board \u2014 Home Kanban of workspaces (New / Draft / Review / Approved / Merged; one card per checkout). Sibling chats on a card are separate agents, not one agent. Path to merge: no PR \u2192 draft PR \u2192 open PR \u2192 approved \u2192 merged. Archive removes the card to Settings \u2192 History (list_archive to browse, restore_workspace to bring it back). Queued/running are activity on the card, not
|
|
390
|
+
"- list_board \u2014 Home Kanban of workspaces (New / Draft / Review / Approved / Merged; one card per checkout). Sibling chats on a card are separate agents, not one agent. Path to merge: no PR \u2192 draft PR \u2192 open PR \u2192 approved \u2192 merged. Archive removes the card to Settings \u2192 History (list_archive to browse, restore_workspace to bring it back). Queued/running are activity on the card, not stages. Orchestration chats are not on the board. Filters: query, repoPath, kind, column, limit.",
|
|
391
391
|
'- list_branches / list_prs / list_issues \u2014 pass repoPath from list_projects. Review is PRs (the surface for assigned ticket work), not the tickets: "Get me N tickets to review" \u2192 list_prs(queue=review, limit=N) then create_workspace sourceType=pr. That is open non-draft PRs labeled with this project\'s ready-for-review GitHub label (Settings \u2192 Projects; default eng-review) with no individual user reviewer yet. A team request (engineering-team) is not a claim \u2014 the viewer is on that team and can pick it up; claimed means an individual account is the reviewer. Bots ignored. Use Settings \u2192 Agents / Projects context (roles, teams, labels \u2014 freeform text; project adds to account) to prefer the right queues. queue=mine is review-requested:@me; queue=approved|changes uses those labels. Also: state, label, reviewer=me|unassigned|login, query, limit default 40 max 250; raise limit or tighten when truncated. list_issues (query, assignee=me|unassigned|all|user, limit default 40 max 250) lists Linear, AbleTime, or GitHub tickets. Cursor Origin has no issues; a Cursor repo uses Linear or AbleTime (unavailableReason otherwise) \u2014 do not use it for that review-inbox ask. Entire tickets are Trails (`entire trail`), not GitHub Issues. When they ask for tickets to work on, follow their context (assignee=me or unassigned as it says).',
|
|
392
392
|
"- Find work: when they ask to find work, pick up tickets, or list reviews, use Settings \u2192 Agents (account) plus Settings \u2192 Projects (per-repo) context. Tickets \u2192 Sideboard list_issues / linear_* (Account Linear). Reviews \u2192 list_prs(queue=review). Do not call Claude Linear MCP or any other vendor Linear MCP \u2014 those HTTP connectors hang or flap on the first turn. If a vendor MCP is down or reconnecting, ignore it and keep going with Sideboard tools. A failed Claude connector is not a Sideboard outage \u2014 do not mention it when the Account connection works. Show the options \u2014 do not create_workspace or start unless they also asked to start (e.g. \u201Cfind me work and start it\u201D). Do not start this unprompted. To change that context, show the proposed text, ask_user (Save this context / Do not save), wait, then update_viewer_context with confirmed=true. Never write it without confirmation.",
|
|
393
393
|
"- Ticket updates: list_issues / linear_search_issues / github_search_issues with updatedSince (yesterday, 2d, or ISO). One call returns new assignments, ticket edits, and new comments \u2014 do not get_issue every ticket just to check for comments. kind=created vs updated distinguishes new tickets from existing ones.",
|
|
@@ -408,6 +408,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
|
|
|
408
408
|
"Workspaces and chats:",
|
|
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
|
"- 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).",
|
|
411
|
+
"- 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 ready vs waiting. Start ready steps with create_workspace or send_to_chat. Leave waiting steps alone. 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 tell a child to merge or start while list_order still marks that step waiting.",
|
|
411
412
|
"- start_board_card \u2014 same as create_workspace for a ticket/PR/named branch (attaches issue text when resolvable). Then send_to_chat.",
|
|
412
413
|
"- 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.",
|
|
413
414
|
"- 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.",
|
|
@@ -504,7 +505,7 @@ function coordinatorTurnReminder(opts) {
|
|
|
504
505
|
goal ? `- Goal / title: ${goal}` : null,
|
|
505
506
|
accountDefaultsPlaybookLine(),
|
|
506
507
|
accountContextReminderLine() || null,
|
|
507
|
-
"- Status: list_board (
|
|
508
|
+
"- Status: list_board (Stages: New \u2192 Draft \u2192 Review \u2192 Approved \u2192 Merged) or list_order or list_chats. Link chats as `[Title](sideboard://chat/<id>)`. Merge only if the user asked. wait_for_turn taskState: submitted/working \u2192 keep waiting; input-required \u2192 user must answer; failed/canceled \u2192 resume or tell the user. blockedReason is why that agent is waiting \u2014 read it; do not send_to_chat a check-in. If children are idle, read get_turn_result and reply now."
|
|
508
509
|
].filter(Boolean).join("\n");
|
|
509
510
|
}
|
|
510
511
|
function ensureGlobalCoordinatorCwd(opts) {
|
|
@@ -220,6 +220,13 @@ function toolDescription(name, input) {
|
|
|
220
220
|
if (/update_schedule$/i.test(name)) return "Update automation";
|
|
221
221
|
if (/delete_schedule$/i.test(name)) return "Delete automation";
|
|
222
222
|
if (/run_schedule$/i.test(name)) return "Run automation";
|
|
223
|
+
else if (/list_order$/i.test(name)) return "List planner";
|
|
224
|
+
else if (/show_plan$/i.test(name)) return "Show plan";
|
|
225
|
+
else if (/set_plan$/i.test(name)) return "Draft plan";
|
|
226
|
+
else if (/execute_plan$/i.test(name)) return "Run plan";
|
|
227
|
+
else if (/set_dependency$/i.test(name)) return "Set dependency";
|
|
228
|
+
else if (/clear_dependency$/i.test(name)) return "Clear dependency";
|
|
229
|
+
else if (/satisfy_dependency$/i.test(name)) return "Mark dependency clear";
|
|
223
230
|
if (isSkillToolName(name)) {
|
|
224
231
|
const cmd = skillCommandFromInput(input);
|
|
225
232
|
return cmd ? `Using /${cmd}` : "Using skill";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
parseSessionQuotaResetAt,
|
|
22
22
|
planModeTurnInstruction,
|
|
23
23
|
resolveQuotaFallbackAgent
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6ABL7HZN.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-PEJ3N5VE.js";
|
|
60
60
|
import {
|
|
61
61
|
applyAgentEvent,
|
|
62
62
|
clipAgentEventForPaint,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
partsToAssistantText,
|
|
72
72
|
stripBrightsyNdjsonNoise,
|
|
73
73
|
toolDescription
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-DYUAVL5S.js";
|
|
75
75
|
import {
|
|
76
76
|
titleFromPrompt
|
|
77
77
|
} from "./chunk-7H655NEW.js";
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
stageAbsolutePathsAsAttachments,
|
|
100
100
|
stageBuffersAsAttachments,
|
|
101
101
|
syncWorkspacesFromThreads
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-BD7QARIJ.js";
|
|
103
103
|
import {
|
|
104
104
|
addPrStackLayer,
|
|
105
105
|
allocateTeamSlug,
|
|
@@ -518,9 +518,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
|
|
|
518
518
|
`Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
|
|
519
519
|
);
|
|
520
520
|
}
|
|
521
|
-
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-
|
|
521
|
+
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-MCAREQI7.js");
|
|
522
522
|
if (isGlobalThread2(thread)) {
|
|
523
|
-
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-
|
|
523
|
+
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-VO42IZWS.js");
|
|
524
524
|
ensureGlobalCoordinatorCwd2(
|
|
525
525
|
isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
|
|
526
526
|
);
|
|
@@ -3183,7 +3183,7 @@ function assembleHomeBoard(input) {
|
|
|
3183
3183
|
}
|
|
3184
3184
|
return { columns, hidden, totals };
|
|
3185
3185
|
}
|
|
3186
|
-
var HOME_BOARD_AGENT_HINT = "Home is a Kanban of workspaces (one card per checkout; sibling chats on a card are separate agents). Do not create a second workspace for a ticket, PR, or named branch that already has a live checkout \u2014 create_workspace / start_board_card return that checkout (alreadyStarted) and its chats. Add another agent with fork_chat. Creating from the default branch still opens a new isolated workspace.
|
|
3186
|
+
var HOME_BOARD_AGENT_HINT = "Home is a Kanban of workspaces (one card per checkout; sibling chats on a card are separate agents). Do not create a second workspace for a ticket, PR, or named branch that already has a live checkout \u2014 create_workspace / start_board_card return that checkout (alreadyStarted) and its chats. Add another agent with fork_chat. Creating from the default branch still opens a new isolated workspace. Stages are the path to merge: New (no PR) \u2192 Draft (draft PR) \u2192 Review (open PR) \u2192 Approved (approved, not merged) \u2192 Merged. ownership=mine is PRs you authored (or WIP with no PR); ownership=reviewing is someone else's PR (or a review-requested checkout). Viewer login comes from gh, not a setting. Archive removes the card to Settings \u2192 History (list_archive to browse, restore_workspace to bring it back). Queued/running are activity on the card, not stages. blockedReason means an agent on that card is waiting on a person (the question, plan approval, or a reported block) \u2014 read it and do not send_to_chat a check-in. issueBlockedBy, when present, lists issues blocking that workspace's source ticket (the tracker dependency, not a person). Orchestration chats stay in the sidebar. Do not invent status.";
|
|
3187
3187
|
|
|
3188
3188
|
// src/threads/workspace-tags.ts
|
|
3189
3189
|
function workspaceTagTargetRef(opts) {
|
|
@@ -3460,7 +3460,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
3460
3460
|
return readThread(thread.id) ?? thread;
|
|
3461
3461
|
}
|
|
3462
3462
|
async function listLinearIssues(agent, repoPath) {
|
|
3463
|
-
const { getAdapter: getAdapter2 } = await import("./agents-
|
|
3463
|
+
const { getAdapter: getAdapter2 } = await import("./agents-QFXIBIKJ.js");
|
|
3464
3464
|
await requireAgent(agent, { requireLinear: true });
|
|
3465
3465
|
const adapter = getAdapter2(agent);
|
|
3466
3466
|
if (!adapter.listLinearIssues) {
|
|
@@ -4243,7 +4243,7 @@ async function adoptThread(input) {
|
|
|
4243
4243
|
messages: input.messages ?? []
|
|
4244
4244
|
});
|
|
4245
4245
|
writeThread(thread);
|
|
4246
|
-
const { addWorkspace: addWorkspace2 } = await import("./workspaces-
|
|
4246
|
+
const { addWorkspace: addWorkspace2 } = await import("./workspaces-Y25L2EPV.js");
|
|
4247
4247
|
await addWorkspace2(repoPath);
|
|
4248
4248
|
const { ensureWorktreeSideboardIgnored } = await import("./worktree-exclude-YQBN43QD.js");
|
|
4249
4249
|
await ensureWorktreeSideboardIgnored(input.worktreePath);
|
|
@@ -6658,11 +6658,14 @@ function formatWorktreeDirective(thread, opts) {
|
|
|
6658
6658
|
lines.push(formatDevAccessHint(opts?.activeRuns));
|
|
6659
6659
|
lines.push("");
|
|
6660
6660
|
lines.push(
|
|
6661
|
-
"Automations (sidebar, after Board): `create_schedule` / `list_schedules` (`at` / `every` / `cron` / `time`+`days`). `archiveChat=false` keeps the new chat. `chatId=self` is removed when this chat is archived. Fires only while Sideboard.app is running.
|
|
6661
|
+
"Automations (sidebar, after Board): `create_schedule` / `list_schedules` (`at` / `every` / `cron` / `time`+`days`). `archiveChat=false` keeps the new chat. `chatId=self` is removed when this chat is archived. Fires only while Sideboard.app is running. Future jobs turn on Caffeinate."
|
|
6662
6662
|
);
|
|
6663
6663
|
lines.push(
|
|
6664
6664
|
"`set_workspace_tags` labels this checkout (omit ref; replace, add, or remove). Not another checkout."
|
|
6665
6665
|
);
|
|
6666
|
+
lines.push(
|
|
6667
|
+
"Orchestration: `show_plan` opens the diagram and plan.md. `list_order` / `set_dependency`"
|
|
6668
|
+
);
|
|
6666
6669
|
lines.push("");
|
|
6667
6670
|
lines.push(formatProcessGuideDirective({ worktreePath: thread.worktreePath }));
|
|
6668
6671
|
return lines.join("\n");
|
|
@@ -7232,7 +7235,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
7232
7235
|
${prompt}`;
|
|
7233
7236
|
}
|
|
7234
7237
|
async function defaultDeps() {
|
|
7235
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
7238
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-NOQDMYLB.js");
|
|
7236
7239
|
const orch = getOrchestrator2();
|
|
7237
7240
|
return {
|
|
7238
7241
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -342,7 +342,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
|
|
|
342
342
|
"Sideboard MCP (fleet control \u2014 prefer these for status and orchestration):",
|
|
343
343
|
"Discover:",
|
|
344
344
|
"- list_projects \u2014 registered repos (path + that repo's origin host:owner/repo, such as github:, cursor:, or entire:, and project context when set). Projects do not share one git host. Use account / project context to pick the right repo for tickets or reviews.",
|
|
345
|
-
"- list_board \u2014 Home Kanban of workspaces (New / Draft / Review / Approved / Merged; one card per checkout). Sibling chats on a card are separate agents, not one agent. Path to merge: no PR \u2192 draft PR \u2192 open PR \u2192 approved \u2192 merged. Archive removes the card to Settings \u2192 History (list_archive to browse, restore_workspace to bring it back). Queued/running are activity on the card, not
|
|
345
|
+
"- list_board \u2014 Home Kanban of workspaces (New / Draft / Review / Approved / Merged; one card per checkout). Sibling chats on a card are separate agents, not one agent. Path to merge: no PR \u2192 draft PR \u2192 open PR \u2192 approved \u2192 merged. Archive removes the card to Settings \u2192 History (list_archive to browse, restore_workspace to bring it back). Queued/running are activity on the card, not stages. Orchestration chats are not on the board. Filters: query, repoPath, kind, column, limit.",
|
|
346
346
|
'- list_branches / list_prs / list_issues \u2014 pass repoPath from list_projects. Review is PRs (the surface for assigned ticket work), not the tickets: "Get me N tickets to review" \u2192 list_prs(queue=review, limit=N) then create_workspace sourceType=pr. That is open non-draft PRs labeled with this project\'s ready-for-review GitHub label (Settings \u2192 Projects; default eng-review) with no individual user reviewer yet. A team request (engineering-team) is not a claim \u2014 the viewer is on that team and can pick it up; claimed means an individual account is the reviewer. Bots ignored. Use Settings \u2192 Agents / Projects context (roles, teams, labels \u2014 freeform text; project adds to account) to prefer the right queues. queue=mine is review-requested:@me; queue=approved|changes uses those labels. Also: state, label, reviewer=me|unassigned|login, query, limit default 40 max 250; raise limit or tighten when truncated. list_issues (query, assignee=me|unassigned|all|user, limit default 40 max 250) lists Linear, AbleTime, or GitHub tickets. Cursor Origin has no issues; a Cursor repo uses Linear or AbleTime (unavailableReason otherwise) \u2014 do not use it for that review-inbox ask. Entire tickets are Trails (`entire trail`), not GitHub Issues. When they ask for tickets to work on, follow their context (assignee=me or unassigned as it says).',
|
|
347
347
|
"- Find work: when they ask to find work, pick up tickets, or list reviews, use Settings \u2192 Agents (account) plus Settings \u2192 Projects (per-repo) context. Tickets \u2192 Sideboard list_issues / linear_* (Account Linear). Reviews \u2192 list_prs(queue=review). Do not call Claude Linear MCP or any other vendor Linear MCP \u2014 those HTTP connectors hang or flap on the first turn. If a vendor MCP is down or reconnecting, ignore it and keep going with Sideboard tools. A failed Claude connector is not a Sideboard outage \u2014 do not mention it when the Account connection works. Show the options \u2014 do not create_workspace or start unless they also asked to start (e.g. \u201Cfind me work and start it\u201D). Do not start this unprompted. To change that context, show the proposed text, ask_user (Save this context / Do not save), wait, then update_viewer_context with confirmed=true. Never write it without confirmation.",
|
|
348
348
|
"- Ticket updates: list_issues / linear_search_issues / github_search_issues with updatedSince (yesterday, 2d, or ISO). One call returns new assignments, ticket edits, and new comments \u2014 do not get_issue every ticket just to check for comments. kind=created vs updated distinguishes new tickets from existing ones.",
|
|
@@ -363,6 +363,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
|
|
|
363
363
|
"Workspaces and chats:",
|
|
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
|
"- 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).",
|
|
366
|
+
"- 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 ready vs waiting. Start ready steps with create_workspace or send_to_chat. Leave waiting steps alone. 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 tell a child to merge or start while list_order still marks that step waiting.",
|
|
366
367
|
"- start_board_card \u2014 same as create_workspace for a ticket/PR/named branch (attaches issue text when resolvable). Then send_to_chat.",
|
|
367
368
|
"- 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.",
|
|
368
369
|
"- 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.",
|
|
@@ -459,7 +460,7 @@ function coordinatorTurnReminder(opts) {
|
|
|
459
460
|
goal ? `- Goal / title: ${goal}` : null,
|
|
460
461
|
accountDefaultsPlaybookLine(),
|
|
461
462
|
accountContextReminderLine() || null,
|
|
462
|
-
"- Status: list_board (
|
|
463
|
+
"- Status: list_board (Stages: New \u2192 Draft \u2192 Review \u2192 Approved \u2192 Merged) or list_order or list_chats. Link chats as `[Title](sideboard://chat/<id>)`. Merge only if the user asked. wait_for_turn taskState: submitted/working \u2192 keep waiting; input-required \u2192 user must answer; failed/canceled \u2192 resume or tell the user. blockedReason is why that agent is waiting \u2014 read it; do not send_to_chat a check-in. If children are idle, read get_turn_result and reply now."
|
|
463
464
|
].filter(Boolean).join("\n");
|
|
464
465
|
}
|
|
465
466
|
function ensureGlobalCoordinatorCwd(opts) {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
parseSessionQuotaResetAt,
|
|
15
15
|
planModeTurnInstruction,
|
|
16
16
|
resolveQuotaFallbackAgent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VHHEQP5V.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-NHLTTT5G.js";
|
|
58
58
|
import {
|
|
59
59
|
applyAgentEvent,
|
|
60
60
|
clipAgentEventForPaint,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
summarizeTurnStderr,
|
|
82
82
|
toolDescription,
|
|
83
83
|
turnFailChatText
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-5KH3EQ2C.js";
|
|
85
85
|
import {
|
|
86
86
|
titleFromPrompt
|
|
87
87
|
} from "./chunk-LX5R5JOR.js";
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
stageAbsolutePathsAsAttachments,
|
|
120
120
|
stageBuffersAsAttachments,
|
|
121
121
|
syncWorkspacesFromThreads
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-EVYOONTE.js";
|
|
123
123
|
import {
|
|
124
124
|
addPrStackLayer,
|
|
125
125
|
allocateTeamSlug,
|
|
@@ -562,9 +562,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
|
|
|
562
562
|
`Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
|
|
563
563
|
);
|
|
564
564
|
}
|
|
565
|
-
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-
|
|
565
|
+
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-FKXLFKYX.js");
|
|
566
566
|
if (isGlobalThread2(thread)) {
|
|
567
|
-
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-
|
|
567
|
+
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-CIWWP2P6.js");
|
|
568
568
|
ensureGlobalCoordinatorCwd2(
|
|
569
569
|
isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
|
|
570
570
|
);
|
|
@@ -2880,7 +2880,7 @@ function assembleHomeBoard(input) {
|
|
|
2880
2880
|
}
|
|
2881
2881
|
return { columns, hidden, totals };
|
|
2882
2882
|
}
|
|
2883
|
-
var HOME_BOARD_AGENT_HINT = "Home is a Kanban of workspaces (one card per checkout; sibling chats on a card are separate agents). Do not create a second workspace for a ticket, PR, or named branch that already has a live checkout \u2014 create_workspace / start_board_card return that checkout (alreadyStarted) and its chats. Add another agent with fork_chat. Creating from the default branch still opens a new isolated workspace.
|
|
2883
|
+
var HOME_BOARD_AGENT_HINT = "Home is a Kanban of workspaces (one card per checkout; sibling chats on a card are separate agents). Do not create a second workspace for a ticket, PR, or named branch that already has a live checkout \u2014 create_workspace / start_board_card return that checkout (alreadyStarted) and its chats. Add another agent with fork_chat. Creating from the default branch still opens a new isolated workspace. Stages are the path to merge: New (no PR) \u2192 Draft (draft PR) \u2192 Review (open PR) \u2192 Approved (approved, not merged) \u2192 Merged. ownership=mine is PRs you authored (or WIP with no PR); ownership=reviewing is someone else's PR (or a review-requested checkout). Viewer login comes from gh, not a setting. Archive removes the card to Settings \u2192 History (list_archive to browse, restore_workspace to bring it back). Queued/running are activity on the card, not stages. blockedReason means an agent on that card is waiting on a person (the question, plan approval, or a reported block) \u2014 read it and do not send_to_chat a check-in. issueBlockedBy, when present, lists issues blocking that workspace's source ticket (the tracker dependency, not a person). Orchestration chats stay in the sidebar. Do not invent status.";
|
|
2884
2884
|
|
|
2885
2885
|
// src/threads/workspace-tags.ts
|
|
2886
2886
|
function workspaceTagTargetRef(opts) {
|
|
@@ -3928,7 +3928,7 @@ async function adoptThread(input) {
|
|
|
3928
3928
|
messages: input.messages ?? []
|
|
3929
3929
|
});
|
|
3930
3930
|
writeThread(thread);
|
|
3931
|
-
const { addWorkspace: addWorkspace2 } = await import("./workspaces-
|
|
3931
|
+
const { addWorkspace: addWorkspace2 } = await import("./workspaces-D6FQCZRK.js");
|
|
3932
3932
|
await addWorkspace2(repoPath);
|
|
3933
3933
|
const { ensureWorktreeSideboardIgnored } = await import("./worktree-exclude-KMZQXZKP.js");
|
|
3934
3934
|
await ensureWorktreeSideboardIgnored(input.worktreePath);
|
|
@@ -6330,11 +6330,14 @@ function formatWorktreeDirective(thread, opts) {
|
|
|
6330
6330
|
lines.push(formatDevAccessHint(opts?.activeRuns));
|
|
6331
6331
|
lines.push("");
|
|
6332
6332
|
lines.push(
|
|
6333
|
-
"Automations (sidebar, after Board): `create_schedule` / `list_schedules` (`at` / `every` / `cron` / `time`+`days`). `archiveChat=false` keeps the new chat. `chatId=self` is removed when this chat is archived. Fires only while Sideboard.app is running.
|
|
6333
|
+
"Automations (sidebar, after Board): `create_schedule` / `list_schedules` (`at` / `every` / `cron` / `time`+`days`). `archiveChat=false` keeps the new chat. `chatId=self` is removed when this chat is archived. Fires only while Sideboard.app is running. Future jobs turn on Caffeinate."
|
|
6334
6334
|
);
|
|
6335
6335
|
lines.push(
|
|
6336
6336
|
"`set_workspace_tags` labels this checkout (omit ref; replace, add, or remove). Not another checkout."
|
|
6337
6337
|
);
|
|
6338
|
+
lines.push(
|
|
6339
|
+
"Orchestration: `show_plan` opens the diagram and plan.md. `list_order` / `set_dependency`"
|
|
6340
|
+
);
|
|
6338
6341
|
lines.push("");
|
|
6339
6342
|
lines.push(formatProcessGuideDirective({ worktreePath: thread.worktreePath }));
|
|
6340
6343
|
return lines.join("\n");
|
|
@@ -6882,7 +6885,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
6882
6885
|
${prompt}`;
|
|
6883
6886
|
}
|
|
6884
6887
|
async function defaultDeps() {
|
|
6885
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
6888
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-JTFCNXVR.js");
|
|
6886
6889
|
const orch = getOrchestrator2();
|
|
6887
6890
|
return {
|
|
6888
6891
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
compactSummaryPart,
|
|
6
6
|
isInternalAgentStatusText,
|
|
7
7
|
lastAssistantMessageText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5KH3EQ2C.js";
|
|
9
9
|
import {
|
|
10
10
|
isCloudCoordinatorThread,
|
|
11
11
|
isGlobalThread,
|
|
12
12
|
isOrchestratorThread,
|
|
13
13
|
isSlackCoordinatorThread
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EVYOONTE.js";
|
|
15
15
|
import {
|
|
16
16
|
mergeAgentGitAuthEnv,
|
|
17
17
|
resolveAgentGitAuthEnv
|
|
@@ -1736,7 +1736,7 @@ var PORT_RANGE_SIZE = 10;
|
|
|
1736
1736
|
var RECLAIM_RETRY_DELAY_MS = 40;
|
|
1737
1737
|
var RECLAIM_TRIES = 8;
|
|
1738
1738
|
async function killReclaimable(ports, worktreePath, signal) {
|
|
1739
|
-
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-
|
|
1739
|
+
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-LEPTWN2U.js");
|
|
1740
1740
|
if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
|
|
1741
1741
|
else killListenersOnPorts2(ports);
|
|
1742
1742
|
}
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
compactSummaryPart,
|
|
3
3
|
isInternalAgentStatusText,
|
|
4
4
|
lastAssistantMessageText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DYUAVL5S.js";
|
|
6
6
|
import {
|
|
7
7
|
isCloudCoordinatorThread,
|
|
8
8
|
isGlobalThread,
|
|
9
9
|
isOrchestratorThread,
|
|
10
10
|
isSlackCoordinatorThread
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BD7QARIJ.js";
|
|
12
12
|
import {
|
|
13
13
|
mergeAgentGitAuthEnv,
|
|
14
14
|
resolveAgentGitAuthEnv
|
|
@@ -1704,7 +1704,7 @@ var PORT_RANGE_SIZE = 10;
|
|
|
1704
1704
|
var RECLAIM_RETRY_DELAY_MS = 40;
|
|
1705
1705
|
var RECLAIM_TRIES = 8;
|
|
1706
1706
|
async function killReclaimable(ports, worktreePath, signal) {
|
|
1707
|
-
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-
|
|
1707
|
+
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-AUUXCJZT.js");
|
|
1708
1708
|
if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
|
|
1709
1709
|
else killListenersOnPorts2(ports);
|
|
1710
1710
|
}
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
looksLikeSkillBody,
|
|
10
10
|
skillCommandFromBody,
|
|
11
11
|
withEventParentId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5KH3EQ2C.js";
|
|
13
13
|
import {
|
|
14
14
|
isOrchestratorThread
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EVYOONTE.js";
|
|
16
16
|
import {
|
|
17
17
|
codexUnattendedGitConfigArgs,
|
|
18
18
|
mergeAgentGitAuthEnv,
|
|
@@ -1006,7 +1006,12 @@ var WORKTREE_MCP_TOOLS = [
|
|
|
1006
1006
|
"create_schedule",
|
|
1007
1007
|
"update_schedule",
|
|
1008
1008
|
"delete_schedule",
|
|
1009
|
-
"run_schedule"
|
|
1009
|
+
"run_schedule",
|
|
1010
|
+
"list_order",
|
|
1011
|
+
"show_plan",
|
|
1012
|
+
"set_dependency",
|
|
1013
|
+
"clear_dependency",
|
|
1014
|
+
"satisfy_dependency"
|
|
1010
1015
|
];
|
|
1011
1016
|
function sideboardMcpProfile(env = process.env) {
|
|
1012
1017
|
return env[SIDEBOARD_MCP_PROFILE_ENV]?.trim().toLowerCase() === "worktree" ? "worktree" : "orchestration";
|
|
@@ -1474,6 +1479,11 @@ var SIDEBOARD_ARTIFACT_MCP_ALLOWED_TOOLS = [
|
|
|
1474
1479
|
"mcp__sideboard__update_schedule",
|
|
1475
1480
|
"mcp__sideboard__delete_schedule",
|
|
1476
1481
|
"mcp__sideboard__run_schedule",
|
|
1482
|
+
"mcp__sideboard__list_order",
|
|
1483
|
+
"mcp__sideboard__show_plan",
|
|
1484
|
+
"mcp__sideboard__set_dependency",
|
|
1485
|
+
"mcp__sideboard__clear_dependency",
|
|
1486
|
+
"mcp__sideboard__satisfy_dependency",
|
|
1477
1487
|
"mcp__sideboard__posthog_api"
|
|
1478
1488
|
];
|
|
1479
1489
|
var SIDEBOARD_GITHUB_MCP_ALLOWED_TOOLS = ["mcp__sideboard__github_*"];
|
|
@@ -2966,7 +2976,7 @@ var claudeAdapter = {
|
|
|
2966
2976
|
);
|
|
2967
2977
|
}
|
|
2968
2978
|
const mode = permissionMode(thread);
|
|
2969
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
2979
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-FKXLFKYX.js");
|
|
2970
2980
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
2971
2981
|
const rpc = worktreeAgentRpc(isOrchestrator);
|
|
2972
2982
|
const injectedServers = await buildInjectedMcpServers({
|
|
@@ -32,9 +32,9 @@ import {
|
|
|
32
32
|
tryReservePort,
|
|
33
33
|
tryReservePorts,
|
|
34
34
|
worktreeRunPortsPath
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-PEJ3N5VE.js";
|
|
36
|
+
import "./chunk-DYUAVL5S.js";
|
|
37
|
+
import "./chunk-BD7QARIJ.js";
|
|
38
38
|
import "./chunk-4OVQGZEI.js";
|
|
39
39
|
import "./chunk-BDQFZAE6.js";
|
|
40
40
|
import "./chunk-BMRJNRQK.js";
|
|
@@ -34,9 +34,9 @@ import {
|
|
|
34
34
|
tryReservePort,
|
|
35
35
|
tryReservePorts,
|
|
36
36
|
worktreeRunPortsPath
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-NHLTTT5G.js";
|
|
38
|
+
import "./chunk-5KH3EQ2C.js";
|
|
39
|
+
import "./chunk-EVYOONTE.js";
|
|
40
40
|
import "./chunk-ERCYQTJU.js";
|
|
41
41
|
import "./chunk-N2WW62LF.js";
|
|
42
42
|
import "./chunk-GK7H3SY7.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
remoteCoordinatorSourceRef,
|
|
21
21
|
slackCoordinatorSourceRef,
|
|
22
22
|
takenTeamSlugsForOrchestration
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EVYOONTE.js";
|
|
24
24
|
import "./chunk-ERCYQTJU.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-BD7QARIJ.js";
|
|
22
22
|
import "./chunk-4OVQGZEI.js";
|
|
23
23
|
import "./chunk-BDQFZAE6.js";
|
|
24
24
|
import "./chunk-BMRJNRQK.js";
|