@sideboard-ai/core 0.1.340 → 0.1.342

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.
Files changed (69) hide show
  1. package/dist/{abletime-OGOHNRVB.js → abletime-MSIMJKKQ.js} +4 -4
  2. package/dist/{abletime-TNONAVJG.js → abletime-ZIYFR4SI.js} +4 -4
  3. package/dist/{abletime-oauth-DAZEUQJI.js → abletime-oauth-2RUKRZYZ.js} +3 -3
  4. package/dist/{abletime-oauth-TYDQ73GK.js → abletime-oauth-IQZ3LOB2.js} +3 -3
  5. package/dist/{abletime-rest-B4VI46MI.js → abletime-rest-7YAO5B74.js} +3 -3
  6. package/dist/{abletime-rest-3FWZGTX6.js → abletime-rest-UBLSGMSA.js} +3 -3
  7. package/dist/{agents-QFXIBIKJ.js → agents-7DCNOMFP.js} +8 -8
  8. package/dist/{agents-6MSZHZOM.js → agents-LNZ465IM.js} +8 -8
  9. package/dist/{app-settings-KOSVLMO5.js → app-settings-FS7TM55D.js} +11 -1
  10. package/dist/{app-settings-YS5AUJTF.js → app-settings-Q2F57NVK.js} +11 -1
  11. package/dist/{chunk-BD7QARIJ.js → chunk-2BLJ726H.js} +6 -5
  12. package/dist/{chunk-SYTTUNX6.js → chunk-3DMRQB4Y.js} +1 -1
  13. package/dist/{chunk-OMKTX7ZW.js → chunk-3J3XOIHF.js} +3 -3
  14. package/dist/{chunk-W6J3ZWLJ.js → chunk-4HELMBYR.js} +2 -2
  15. package/dist/{chunk-HNW5KMGK.js → chunk-4PXHJA5K.js} +2 -2
  16. package/dist/{chunk-QWFNKOGA.js → chunk-4TTTEKNV.js} +2 -2
  17. package/dist/{chunk-EVYOONTE.js → chunk-5BFEHSHO.js} +6 -5
  18. package/dist/{chunk-EZZY3EAZ.js → chunk-5HUR77ZH.js} +666 -62
  19. package/dist/{chunk-5TVRPOVS.js → chunk-5SJGR3VS.js} +1 -1
  20. package/dist/{chunk-I2C5ZRVO.js → chunk-5TS3KVGI.js} +1 -1
  21. package/dist/{chunk-5FGQTB2Z.js → chunk-6RO2AOE5.js} +2 -2
  22. package/dist/{chunk-FEGRY7NL.js → chunk-A4ZI7SA3.js} +3 -3
  23. package/dist/{chunk-DYUAVL5S.js → chunk-BIM24I3O.js} +1 -0
  24. package/dist/{chunk-KAIOL2M5.js → chunk-D7US5R4H.js} +1 -1
  25. package/dist/{chunk-NHLTTT5G.js → chunk-DEQLDEYR.js} +7 -6
  26. package/dist/{chunk-ELDHERAD.js → chunk-DZF25KTX.js} +661 -56
  27. package/dist/{chunk-4OVQGZEI.js → chunk-G3UV3GXJ.js} +48 -26
  28. package/dist/{chunk-Q73I6I2K.js → chunk-GUIJMZQG.js} +1 -1
  29. package/dist/{chunk-AFSLMWQK.js → chunk-JHT3CYLT.js} +42 -3
  30. package/dist/{chunk-BDQFZAE6.js → chunk-JX3OWNOT.js} +43 -3
  31. package/dist/{chunk-6ABL7HZN.js → chunk-LDJT3TLN.js} +10 -8
  32. package/dist/{chunk-LYJ5AVK4.js → chunk-LHU6ZBFB.js} +2 -2
  33. package/dist/{chunk-WSZIJNAR.js → chunk-NDBMDHQ5.js} +5 -5
  34. package/dist/{chunk-PEJ3N5VE.js → chunk-NGIGRAZB.js} +7 -6
  35. package/dist/{chunk-4BRO5LNX.js → chunk-O2IRQAFB.js} +3 -3
  36. package/dist/{chunk-5KH3EQ2C.js → chunk-ORO4ENZR.js} +1 -0
  37. package/dist/{chunk-ERCYQTJU.js → chunk-RTZO2YJC.js} +48 -26
  38. package/dist/{chunk-VHHEQP5V.js → chunk-S3DTEGMK.js} +11 -9
  39. package/dist/{chunk-N6TGSJVC.js → chunk-S3UGLMGE.js} +31 -0
  40. package/dist/{chunk-FCBUDWP6.js → chunk-SLLTEMIL.js} +2 -2
  41. package/dist/{chunk-23KYDM2U.js → chunk-TKEYXNXY.js} +31 -0
  42. package/dist/{chunk-4SP26Z6H.js → chunk-WO7VF4FG.js} +5 -5
  43. package/dist/{conductor-LEPTWN2U.js → conductor-4SWJM5FS.js} +6 -6
  44. package/dist/{conductor-AUUXCJZT.js → conductor-Q433HU77.js} +6 -6
  45. package/dist/{coordinator-prompt-VO42IZWS.js → coordinator-prompt-5QHWCO7V.js} +4 -4
  46. package/dist/{coordinator-prompt-CIWWP2P6.js → coordinator-prompt-Z7PPP45X.js} +4 -4
  47. package/dist/{global-workspace-FKXLFKYX.js → global-workspace-DL4K4K7O.js} +4 -4
  48. package/dist/{global-workspace-MCAREQI7.js → global-workspace-VDCZMFCZ.js} +4 -4
  49. package/dist/index.cjs +1018 -188
  50. package/dist/index.d.cts +57 -7
  51. package/dist/index.d.ts +57 -7
  52. package/dist/index.js +135 -30
  53. package/dist/{linear-P3LP455O.js → linear-JE4WAZ3W.js} +2 -2
  54. package/dist/{linear-5E2WI4QQ.js → linear-UXMDJAD4.js} +2 -2
  55. package/dist/{linear-list-Y3INIBYH.js → linear-list-I4NAOWPN.js} +1 -1
  56. package/dist/{linear-list-AXK62DPW.js → linear-list-KDLU7QWX.js} +1 -1
  57. package/dist/mcp/run-stdio.cjs +922 -114
  58. package/dist/mcp/run-stdio.js +119 -27
  59. package/dist/{optional-cli-6J6C4I3X.js → optional-cli-7QXXPEN6.js} +3 -3
  60. package/dist/{optional-cli-X6I35UNI.js → optional-cli-RUUCLNSM.js} +4 -4
  61. package/dist/{orchestrator-JTFCNXVR.js → orchestrator-BPCM4OP3.js} +11 -11
  62. package/dist/{orchestrator-NOQDMYLB.js → orchestrator-HIWWPWL5.js} +11 -11
  63. package/dist/{thread-store-DCO5MZWJ.js → thread-store-HETUMDVA.js} +2 -2
  64. package/dist/{thread-store-QGBPSZU2.js → thread-store-ILM2ZJCB.js} +2 -2
  65. package/dist/{workspaces-D6FQCZRK.js → workspaces-EIIHHH4S.js} +4 -4
  66. package/dist/{workspaces-Y25L2EPV.js → workspaces-MX4W4SSB.js} +4 -4
  67. package/dist/{worktree-S4YOAYRA.js → worktree-BD3EJE24.js} +5 -3
  68. package/dist/{worktree-GWS77LWX.js → worktree-QBVLKACU.js} +5 -3
  69. package/package.json +1 -1
@@ -45,7 +45,7 @@ import {
45
45
  syncBoardPins,
46
46
  workspaceTagTargetRef,
47
47
  writeAgentBlock
48
- } from "../chunk-EZZY3EAZ.js";
48
+ } from "../chunk-5HUR77ZH.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-VHHEQP5V.js";
58
+ } from "../chunk-S3DTEGMK.js";
59
59
  import {
60
60
  mcpWaitForJobTimeoutMs,
61
61
  mcpWaitForTurnTimeoutMs,
@@ -66,14 +66,14 @@ import {
66
66
  waitForDetachedJob,
67
67
  waitForTurnToolResult,
68
68
  workspaceAgentChatSummaries
69
- } from "../chunk-NHLTTT5G.js";
69
+ } from "../chunk-DEQLDEYR.js";
70
70
  import {
71
71
  HUGE_TOOL_RESULT_SUMMARY,
72
72
  clipToolResultForStore,
73
73
  formatUnknownDetail,
74
74
  isInternalAgentStatusText,
75
75
  looksLikeHugeToolResultDump
76
- } from "../chunk-5KH3EQ2C.js";
76
+ } from "../chunk-ORO4ENZR.js";
77
77
  import "../chunk-LX5R5JOR.js";
78
78
  import {
79
79
  commentAbleTimeTask,
@@ -87,13 +87,13 @@ import {
87
87
  searchAbleTimeTasks,
88
88
  toAbleTimeIssueInfo,
89
89
  updateAbleTimeTask
90
- } from "../chunk-OMKTX7ZW.js";
91
- import "../chunk-LYJ5AVK4.js";
92
- import "../chunk-WSZIJNAR.js";
90
+ } from "../chunk-3J3XOIHF.js";
91
+ import "../chunk-LHU6ZBFB.js";
92
+ import "../chunk-NDBMDHQ5.js";
93
93
  import {
94
94
  normalizeServiceOrigin
95
- } from "../chunk-5TVRPOVS.js";
96
- import "../chunk-HNW5KMGK.js";
95
+ } from "../chunk-5SJGR3VS.js";
96
+ import "../chunk-4PXHJA5K.js";
97
97
  import {
98
98
  PRESENT_PLAN_REQUIRES_PLAN_MODE,
99
99
  PRESENT_PLAN_TOOL_DESCRIPTION,
@@ -103,8 +103,10 @@ import {
103
103
  } from "../chunk-4GK32AYX.js";
104
104
  import {
105
105
  GLOBAL_WORKSPACE_ID,
106
- isCloudCoordinatorThread
107
- } from "../chunk-EVYOONTE.js";
106
+ isCloudCoordinatorThread,
107
+ isGlobalThread,
108
+ isOrchestratorThread
109
+ } from "../chunk-5BFEHSHO.js";
108
110
  import {
109
111
  canonicalizeRepoPath,
110
112
  formatGhLandError,
@@ -117,7 +119,7 @@ import {
117
119
  resolveProjectRemoteTag,
118
120
  resolveRepoRoot,
119
121
  warmGithubAgentAuth
120
- } from "../chunk-ERCYQTJU.js";
122
+ } from "../chunk-RTZO2YJC.js";
121
123
  import "../chunk-I6RGRUNY.js";
122
124
  import "../chunk-E63AM3PW.js";
123
125
  import {
@@ -130,7 +132,7 @@ import {
130
132
  listLinearProjects,
131
133
  listLinearTeams,
132
134
  updateLinearIssue
133
- } from "../chunk-I2C5ZRVO.js";
135
+ } from "../chunk-5TS3KVGI.js";
134
136
  import {
135
137
  formatGitHubSearchUpdatedSince,
136
138
  issueMatchesUpdatedSince,
@@ -150,7 +152,7 @@ import {
150
152
  import {
151
153
  httpFetch
152
154
  } from "../chunk-2GPQZZLY.js";
153
- import "../chunk-SYTTUNX6.js";
155
+ import "../chunk-3DMRQB4Y.js";
154
156
  import "../chunk-GK7H3SY7.js";
155
157
  import {
156
158
  gh,
@@ -160,17 +162,19 @@ import {
160
162
  import {
161
163
  createSchedule,
162
164
  deleteSchedule,
165
+ findThreadByRef,
163
166
  getSchedule,
164
167
  listSchedules,
165
168
  listThreads,
166
169
  normalizeWorkspaceTags,
170
+ normalizeWorktreePath,
167
171
  parseWeeklyDays,
168
172
  readThread,
169
173
  resolveScheduleThreadId,
170
174
  scheduleNeedsCaffeinate,
171
175
  updateSchedule,
172
176
  updateThread
173
- } from "../chunk-AFSLMWQK.js";
177
+ } from "../chunk-JHT3CYLT.js";
174
178
  import "../chunk-WMZIANPV.js";
175
179
  import {
176
180
  formatWorkspaceProfileSuffix,
@@ -178,11 +182,13 @@ import {
178
182
  isLinearConnected,
179
183
  isPosthogConnected,
180
184
  loadAppSettings,
185
+ maxOrchThreads,
181
186
  resolveEffectiveIssueSource,
182
187
  resolveProjectReviewLabel,
183
188
  resolveViewerProfile,
184
- resolveViewerProfileForRepo
185
- } from "../chunk-N6TGSJVC.js";
189
+ resolveViewerProfileForRepo,
190
+ wakeOrchestratorOnGithubEdgesEnabled
191
+ } from "../chunk-S3UGLMGE.js";
186
192
  import {
187
193
  writePrivateFile
188
194
  } from "../chunk-NSTQ6QKD.js";
@@ -1025,6 +1031,47 @@ function resolveRunScriptThreadRef(ref) {
1025
1031
  return thread.id;
1026
1032
  }
1027
1033
 
1034
+ // src/threads/wake-on-github-edges.ts
1035
+ function wakeOnGithubEdgesTargetRef(opts) {
1036
+ const requested = opts.requestedRef?.trim() || "";
1037
+ if (!opts.ownWorktreeOnly) {
1038
+ if (!requested) throw new Error("Pass a chat id on the workspace.");
1039
+ return requested;
1040
+ }
1041
+ const caller = opts.caller;
1042
+ if (!caller || isGlobalThread(caller) || caller.sourceType === "orchestration") {
1043
+ throw new Error("CI and review wakes belong on a project workspace. This chat is not one.");
1044
+ }
1045
+ if (!requested || requested === caller.id) return caller.id;
1046
+ const other = opts.find(requested);
1047
+ if (!other || normalizeWorktreePath(other.worktreePath) !== normalizeWorktreePath(caller.worktreePath)) {
1048
+ throw new Error("You can only change this switch on this workspace.");
1049
+ }
1050
+ return other.id;
1051
+ }
1052
+ function applyWakeOnGithubEdges(threadRef, enabled) {
1053
+ if (!wakeOrchestratorOnGithubEdgesEnabled()) {
1054
+ throw new Error(
1055
+ "Settings \u2192 Advanced \u2192 Wake orchestrator on CI / review-requested is off. Turn that on in Settings. Do not change it from this chat."
1056
+ );
1057
+ }
1058
+ const thread = findThreadByRef(threadRef);
1059
+ if (!thread) throw new Error(`Thread not found: ${threadRef}`);
1060
+ if (isGlobalThread(thread) || thread.sourceType === "orchestration") {
1061
+ throw new Error("CI and review wakes belong on a project workspace. Pass a worktree chat id.");
1062
+ }
1063
+ const on = enabled === true;
1064
+ const siblings = threadsSharingWorktree(thread.worktreePath);
1065
+ const targets = siblings.length > 0 ? siblings : [thread];
1066
+ let updated = thread;
1067
+ for (const row of targets) {
1068
+ const written = updateThread(row.id, { wakeOnGithubEdges: on ? true : void 0 });
1069
+ if (!on) delete written.wakeOnGithubEdges;
1070
+ if (written.id === thread.id) updated = written;
1071
+ }
1072
+ return updated;
1073
+ }
1074
+
1028
1075
  // src/mcp/create-thread-agent.ts
1029
1076
  function resolveOrchCreateThreadOptions(input) {
1030
1077
  const { resolveNewThreadOptions } = input;
@@ -1071,8 +1118,22 @@ function orchCreateThreadAgentNote(input) {
1071
1118
  }
1072
1119
 
1073
1120
  // src/mcp/create-orch-child.ts
1074
- var MAX_ORCH_THREADS = 5;
1075
1121
  var CREATE_THREAD_TIMEOUT_MS = 9e4;
1122
+ function orchChildWorkspaceCount(threads, parentId) {
1123
+ const seen = /* @__PURE__ */ new Set();
1124
+ let unpathed = 0;
1125
+ for (const thread of threads) {
1126
+ if (thread.parentThreadId !== parentId) continue;
1127
+ if (isOrchestratorThread(thread)) continue;
1128
+ const raw = thread.worktreePath?.trim();
1129
+ if (!raw) {
1130
+ unpathed += 1;
1131
+ continue;
1132
+ }
1133
+ seen.add(normalizeWorktreePath(raw));
1134
+ }
1135
+ return seen.size + unpathed;
1136
+ }
1076
1137
  function withTimeout(promise, ms, label) {
1077
1138
  return new Promise((resolve, reject) => {
1078
1139
  const timer = setTimeout(() => {
@@ -1110,11 +1171,12 @@ async function createOrchChildThread(orch, args, resolveNewThreadOptions) {
1110
1171
  parent = null;
1111
1172
  }
1112
1173
  if (parentId) {
1113
- const children = orch.getThreads(false).filter((t) => t.parentThreadId === parentId);
1114
- if (children.length >= MAX_ORCH_THREADS) {
1174
+ const cap = maxOrchThreads();
1175
+ const used = orchChildWorkspaceCount(orch.getThreads(false), parentId);
1176
+ if (used >= cap) {
1115
1177
  return {
1116
1178
  ok: false,
1117
- text: `Thread-creation cap (${MAX_ORCH_THREADS}) reached for this orchestration session`
1179
+ text: `Workspace cap (${cap}) reached for this orchestration session. Raise it in Settings \u2192 Advanced \u2192 Max orchestration threads.`
1118
1180
  };
1119
1181
  }
1120
1182
  }
@@ -2472,13 +2534,13 @@ function whenFromUpdate(id, args) {
2472
2534
  }
2473
2535
  function createdHint(schedule) {
2474
2536
  const awake = scheduleNeedsCaffeinate(schedule) ? " Caffeinate while automations are enabled is now on so the Mac can stay awake until this job is due." : "";
2475
- const fresh = schedule.threadId ? " This job is removed when that chat is archived." : schedule.archiveChat === false ? " This job leaves the new chat open so you can keep talking." : " A new Global chat is archived when the run finishes (History keeps the last 5 runs). Pass archiveChat=false to leave it open.";
2537
+ const fresh = schedule.threadId ? " This job is removed when that chat is archived." : schedule.archiveChat === false ? " This job leaves the new chat open so you can keep talking." : " A new Global chat is archived when the run finishes (History keeps the last 5 archived chats; the schedule keeps the last 10 runs). Pass archiveChat=false to leave it open.";
2476
2538
  return `Fires while Sideboard.app is running.${fresh}${awake}`;
2477
2539
  }
2478
2540
  function registerScheduleTools(server) {
2479
2541
  server.tool(
2480
2542
  "list_schedules",
2481
- "List local Sideboard automations that trigger a chat when due. Jobs fire only while Sideboard.app is running on this Mac (sleep skips until wake). Shown in the sidebar after Board.",
2543
+ "List local Sideboard automations that trigger a chat when due. Each row includes runs, the last 10 fires ({at, threadId, error}), newest first. Jobs fire only while Sideboard.app is running on this Mac (sleep skips until wake; a skip is not a failed run). Shown in the sidebar after Board.",
2482
2544
  {},
2483
2545
  async () => {
2484
2546
  try {
@@ -2490,7 +2552,7 @@ function registerScheduleTools(server) {
2490
2552
  );
2491
2553
  server.tool(
2492
2554
  "create_schedule",
2493
- "Create a local automation that, when due, sends a prompt to an existing chat (chatId) or starts a new Global orchestration chat (omit chatId). Pass chatId=self to continue this chat. A job bound to a chat is removed when that chat is archived or gone; it does not start a new Global chat. Omit chatId only for a Global automation that should outlive this chat. Exactly one of at (ISO datetime), every (15m/1h/6h/1d), time (HH:mm, with days such as weekdays or mon,wed), or cron (5-field). Recurring jobs without chatId open a new Global chat each run and archive it when that run finishes unless archiveChat is false (leave the chat open to keep talking, for example a morning start-my-day run). History keeps the last 5 archived runs for that automation. Creating or enabling a future job turns on Settings \u2192 Advanced \u2192 Caffeinate while automations are enabled so the Mac stays awake until due. Sideboard.app must be running for the job to fire.",
2555
+ "Create a local automation that, when due, sends a prompt to an existing chat (chatId) or starts a new Global orchestration chat (omit chatId). Pass chatId=self to continue this chat. A job bound to a chat is removed when that chat is archived or gone; it does not start a new Global chat. Omit chatId only for a Global automation that should outlive this chat. Exactly one of at (ISO datetime), every (15m/1h/6h/1d), time (HH:mm, with days such as weekdays or mon,wed), or cron (5-field). Recurring jobs without chatId open a new Global chat each run and archive it when that run finishes unless archiveChat is false (leave the chat open to keep talking, for example a morning start-my-day run). History keeps the last 5 archived chats for that automation, and the schedule keeps the last 10 runs. To schedule a prompt from this chat, call this tool with that prompt (omit chatId for a new Global chat, or chatId=self). Creating or enabling a future job turns on Settings \u2192 Advanced \u2192 Caffeinate while automations are enabled so the Mac stays awake until due. Sideboard.app must be running for the job to fire.",
2494
2556
  {
2495
2557
  prompt: z7.string().describe("User message / goal queued when the automation fires"),
2496
2558
  name: z7.string().optional(),
@@ -4086,7 +4148,7 @@ async function startMcpServer() {
4086
4148
  );
4087
4149
  }
4088
4150
  try {
4089
- const { maxConcurrentAgents } = await import("../app-settings-YS5AUJTF.js");
4151
+ const { maxConcurrentAgents } = await import("../app-settings-Q2F57NVK.js");
4090
4152
  orch.setMaxConcurrent(maxConcurrentAgents());
4091
4153
  } catch {
4092
4154
  }
@@ -4632,10 +4694,40 @@ async function startMcpServer() {
4632
4694
  }
4633
4695
  }
4634
4696
  );
4697
+ server.tool(
4698
+ "set_wake_on_github_edges",
4699
+ worktreeProfile ? "Opt this checkout into orchestrator wakes when CI starts failing or GitHub requests a review. Omit ref. Only works after Settings \u2192 Advanced \u2192 Wake orchestrator on CI / review-requested is on. Do not change that Advanced switch." : "Opt a project workspace into CI and review-request wakes. Pass any chat id on that checkout. Only works after Settings \u2192 Advanced \u2192 Wake orchestrator on CI / review-requested is already on. Do not change that Advanced switch. Not for orchestration chats.",
4700
+ {
4701
+ ref: z9.string().optional().describe(
4702
+ worktreeProfile ? "Omit for this chat. Another chat id only if it is on this same checkout." : "Chat id on the workspace."
4703
+ ),
4704
+ enabled: z9.boolean().describe("True opts the checkout in. False turns it off.")
4705
+ },
4706
+ async ({ ref, enabled }) => {
4707
+ try {
4708
+ const callerId = process.env[SIDEBOARD_THREAD_ID_ENV]?.trim() || "";
4709
+ const target = wakeOnGithubEdgesTargetRef({
4710
+ ownWorktreeOnly: worktreeProfile,
4711
+ caller: callerId ? orch.getThread(callerId) : null,
4712
+ requestedRef: ref,
4713
+ find: (id) => orch.getThread(id)
4714
+ });
4715
+ const thread = applyWakeOnGithubEdges(target, enabled);
4716
+ return mcpJson({
4717
+ id: thread.id,
4718
+ worktreePath: thread.worktreePath,
4719
+ wakeOnGithubEdges: thread.wakeOnGithubEdges === true
4720
+ });
4721
+ } catch (err) {
4722
+ const message = err instanceof Error ? err.message : String(err);
4723
+ return mcpJson({ ok: false, message }, true);
4724
+ }
4725
+ }
4726
+ );
4635
4727
  if (!worktreeProfile) {
4636
4728
  registerConnectedIssueVendorTools(server);
4637
4729
  const { getCaffeinateHold, setCaffeinateHold } = await import("../caffeinate-hold-H7TTUDGM.js");
4638
- const { resolveNewThreadOptions, resolveThreadDefaults } = await import("../app-settings-YS5AUJTF.js");
4730
+ const { resolveNewThreadOptions, resolveThreadDefaults } = await import("../app-settings-Q2F57NVK.js");
4639
4731
  const accountDefaults = resolveThreadDefaults();
4640
4732
  const accountDefaultsHint = `Account defaults: agent=${accountDefaults.agent}, model=${accountDefaults.model?.trim() || "Auto"}, effort=${accountDefaults.effort}`;
4641
4733
  server.tool(
@@ -4666,7 +4758,7 @@ async function startMcpServer() {
4666
4758
  );
4667
4759
  server.tool(
4668
4760
  "create_workspace",
4669
- `Create a workspace (isolated git checkout + first chat) from branch, pr, or ticket. A ticket, PR, or named branch has one checkout \u2014 if one already matches, returns it (alreadyStarted=true) instead of a second checkout. That is not one agent: chats lists every agent on that checkout. Add another with fork_chat; send_to_chat only the chat that should do this job. Creating from the default branch still opens a new isolated checkout. Pass repoPath from list_projects. cowboy=true uses the project folder on the default branch (no isolated worktree; land is commit+push). From an orchestration chat, omit parentChatId (Sideboard binds the child to this chat) or pass the exact id from the turn reminder \u2014 never invent a uuid. Omit agent/model \u2014 Sideboard applies ${accountDefaultsHint}. Do not pass your own agent or agent=cursor; those are ignored. Setup (settings.toml, .cursor/worktrees.json, or script/setup) runs in the background in parallel with the first turn (skipped for cowboy). Pass the same tags on every workspace you open for one task (short labels such as "phone-sync") so they still match in the sidebar the next day. Reusing a checkout adds those tags.`,
4761
+ `Create a workspace (isolated git checkout + first chat) from branch, pr, or ticket. A ticket, PR, or named branch has one checkout \u2014 if one already matches, returns it (alreadyStarted=true) instead of a second checkout. That is not one agent: chats lists every agent on that checkout. Add another with fork_chat; send_to_chat only the chat that should do this job. Creating from the default branch still opens a new isolated checkout. Pass repoPath from list_projects. cowboy=true uses the project folder on the default branch (no isolated worktree; land is commit+push). From an orchestration chat, omit parentChatId (Sideboard binds the child to this chat) or pass the exact id from the turn reminder \u2014 never invent a uuid. Omit agent/model \u2014 Sideboard applies ${accountDefaultsHint}. Do not pass your own agent or agent=cursor; those are ignored. Setup (settings.toml, .cursor/worktrees.json, or script/setup) runs in the background in parallel with the first turn (skipped for cowboy). Pass the same tags on every workspace you open for one task (short labels such as "phone-sync") so they still match in the sidebar the next day. Reusing a checkout adds those tags. Each 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.`,
4670
4762
  {
4671
4763
  sourceType: z9.enum(["branch", "pr", "ticket"]),
4672
4764
  sourceRef: z9.string(),
@@ -4,16 +4,16 @@ import {
4
4
  OPTIONAL_SERVICES,
5
5
  isOptionalServiceId,
6
6
  optionalServiceSpec
7
- } from "./chunk-5TVRPOVS.js";
7
+ } from "./chunk-5SJGR3VS.js";
8
8
  import {
9
9
  installNpmGlobalPackage,
10
10
  whichOnPath
11
- } from "./chunk-HNW5KMGK.js";
11
+ } from "./chunk-4PXHJA5K.js";
12
12
  import "./chunk-2GPQZZLY.js";
13
13
  import {
14
14
  enrichPathWithNpmGlobalBin
15
15
  } from "./chunk-TL2HK6LZ.js";
16
- import "./chunk-N6TGSJVC.js";
16
+ import "./chunk-S3UGLMGE.js";
17
17
  import "./chunk-NSTQ6QKD.js";
18
18
  import "./chunk-WWUABK6B.js";
19
19
  import "./chunk-FJZWM2ON.js";
@@ -3,12 +3,12 @@ import {
3
3
  detectOptionalServiceClis,
4
4
  installOptionalServiceCli,
5
5
  optionalCliPresence
6
- } from "./chunk-FCBUDWP6.js";
7
- import "./chunk-QWFNKOGA.js";
8
- import "./chunk-5FGQTB2Z.js";
6
+ } from "./chunk-SLLTEMIL.js";
7
+ import "./chunk-4TTTEKNV.js";
8
+ import "./chunk-6RO2AOE5.js";
9
9
  import "./chunk-JAT3JFOS.js";
10
10
  import "./chunk-R4W4VQJZ.js";
11
- import "./chunk-23KYDM2U.js";
11
+ import "./chunk-TKEYXNXY.js";
12
12
  import "./chunk-4TR3HZFT.js";
13
13
  import "./chunk-WDRMZKVB.js";
14
14
  import "./chunk-KI45T4DI.js";
@@ -11,28 +11,28 @@ import {
11
11
  resolveSendFollowUp,
12
12
  startOrchestration,
13
13
  waitForPidExit
14
- } from "./chunk-EZZY3EAZ.js";
14
+ } from "./chunk-5HUR77ZH.js";
15
15
  import "./chunk-DC3VZXMA.js";
16
- import "./chunk-VHHEQP5V.js";
17
- import "./chunk-NHLTTT5G.js";
18
- import "./chunk-5KH3EQ2C.js";
16
+ import "./chunk-S3DTEGMK.js";
17
+ import "./chunk-DEQLDEYR.js";
18
+ import "./chunk-ORO4ENZR.js";
19
19
  import "./chunk-LX5R5JOR.js";
20
- import "./chunk-5TVRPOVS.js";
21
- import "./chunk-HNW5KMGK.js";
20
+ import "./chunk-5SJGR3VS.js";
21
+ import "./chunk-4PXHJA5K.js";
22
22
  import "./chunk-4GK32AYX.js";
23
- import "./chunk-EVYOONTE.js";
24
- import "./chunk-ERCYQTJU.js";
23
+ import "./chunk-5BFEHSHO.js";
24
+ import "./chunk-RTZO2YJC.js";
25
25
  import "./chunk-I6RGRUNY.js";
26
26
  import "./chunk-E63AM3PW.js";
27
27
  import "./chunk-OYRN356W.js";
28
28
  import "./chunk-N2WW62LF.js";
29
29
  import "./chunk-2GPQZZLY.js";
30
- import "./chunk-SYTTUNX6.js";
30
+ import "./chunk-3DMRQB4Y.js";
31
31
  import "./chunk-GK7H3SY7.js";
32
32
  import "./chunk-TL2HK6LZ.js";
33
- import "./chunk-AFSLMWQK.js";
33
+ import "./chunk-JHT3CYLT.js";
34
34
  import "./chunk-WMZIANPV.js";
35
- import "./chunk-N6TGSJVC.js";
35
+ import "./chunk-S3UGLMGE.js";
36
36
  import "./chunk-NSTQ6QKD.js";
37
37
  import "./chunk-WWUABK6B.js";
38
38
  import "./chunk-FJZWM2ON.js";
@@ -9,20 +9,20 @@ import {
9
9
  resolveSendFollowUp,
10
10
  startOrchestration,
11
11
  waitForPidExit
12
- } from "./chunk-ELDHERAD.js";
13
- import "./chunk-QWFNKOGA.js";
12
+ } from "./chunk-DZF25KTX.js";
13
+ import "./chunk-4TTTEKNV.js";
14
14
  import "./chunk-PGPSIEMW.js";
15
15
  import "./chunk-W3ZLE4PO.js";
16
- import "./chunk-6ABL7HZN.js";
17
- import "./chunk-5FGQTB2Z.js";
16
+ import "./chunk-LDJT3TLN.js";
17
+ import "./chunk-6RO2AOE5.js";
18
18
  import "./chunk-XOEKCE6L.js";
19
- import "./chunk-KAIOL2M5.js";
20
- import "./chunk-PEJ3N5VE.js";
21
- import "./chunk-DYUAVL5S.js";
19
+ import "./chunk-D7US5R4H.js";
20
+ import "./chunk-NGIGRAZB.js";
21
+ import "./chunk-BIM24I3O.js";
22
22
  import "./chunk-7H655NEW.js";
23
- import "./chunk-BD7QARIJ.js";
24
- import "./chunk-4OVQGZEI.js";
25
- import "./chunk-BDQFZAE6.js";
23
+ import "./chunk-2BLJ726H.js";
24
+ import "./chunk-G3UV3GXJ.js";
25
+ import "./chunk-JX3OWNOT.js";
26
26
  import "./chunk-BMRJNRQK.js";
27
27
  import "./chunk-RSA47QYR.js";
28
28
  import "./chunk-JAT3JFOS.js";
@@ -35,7 +35,7 @@ import "./chunk-6K64FJDD.js";
35
35
  import "./chunk-LG6RJBIY.js";
36
36
  import "./chunk-R4W4VQJZ.js";
37
37
  import "./chunk-SUZOPJZC.js";
38
- import "./chunk-23KYDM2U.js";
38
+ import "./chunk-TKEYXNXY.js";
39
39
  import "./chunk-4TR3HZFT.js";
40
40
  import "./chunk-WDRMZKVB.js";
41
41
  import "./chunk-KI45T4DI.js";
@@ -17,9 +17,9 @@ import {
17
17
  updateThread,
18
18
  withThreadLock,
19
19
  writeThread
20
- } from "./chunk-AFSLMWQK.js";
20
+ } from "./chunk-JHT3CYLT.js";
21
21
  import "./chunk-WMZIANPV.js";
22
- import "./chunk-N6TGSJVC.js";
22
+ import "./chunk-S3UGLMGE.js";
23
23
  import "./chunk-NSTQ6QKD.js";
24
24
  import "./chunk-WWUABK6B.js";
25
25
  import "./chunk-FJZWM2ON.js";
@@ -15,10 +15,10 @@ import {
15
15
  updateThread,
16
16
  withThreadLock,
17
17
  writeThread
18
- } from "./chunk-BDQFZAE6.js";
18
+ } from "./chunk-JX3OWNOT.js";
19
19
  import "./chunk-N6ZF3XRP.js";
20
20
  import "./chunk-LG6RJBIY.js";
21
- import "./chunk-23KYDM2U.js";
21
+ import "./chunk-TKEYXNXY.js";
22
22
  import "./chunk-4TR3HZFT.js";
23
23
  import "./chunk-WDRMZKVB.js";
24
24
  import "./chunk-KI45T4DI.js";
@@ -11,14 +11,14 @@ import {
11
11
  removeWorkspace,
12
12
  sameWorkspacePath,
13
13
  syncWorkspacesFromThreads
14
- } from "./chunk-EVYOONTE.js";
15
- import "./chunk-ERCYQTJU.js";
14
+ } from "./chunk-5BFEHSHO.js";
15
+ import "./chunk-RTZO2YJC.js";
16
16
  import "./chunk-N2WW62LF.js";
17
17
  import "./chunk-GK7H3SY7.js";
18
18
  import "./chunk-TL2HK6LZ.js";
19
- import "./chunk-AFSLMWQK.js";
19
+ import "./chunk-JHT3CYLT.js";
20
20
  import "./chunk-WMZIANPV.js";
21
- import "./chunk-N6TGSJVC.js";
21
+ import "./chunk-S3UGLMGE.js";
22
22
  import "./chunk-NSTQ6QKD.js";
23
23
  import "./chunk-WWUABK6B.js";
24
24
  import "./chunk-FJZWM2ON.js";
@@ -9,15 +9,15 @@ import {
9
9
  removeWorkspace,
10
10
  sameWorkspacePath,
11
11
  syncWorkspacesFromThreads
12
- } from "./chunk-BD7QARIJ.js";
13
- import "./chunk-4OVQGZEI.js";
14
- import "./chunk-BDQFZAE6.js";
12
+ } from "./chunk-2BLJ726H.js";
13
+ import "./chunk-G3UV3GXJ.js";
14
+ import "./chunk-JX3OWNOT.js";
15
15
  import "./chunk-BMRJNRQK.js";
16
16
  import "./chunk-N6ZF3XRP.js";
17
17
  import "./chunk-6K64FJDD.js";
18
18
  import "./chunk-LG6RJBIY.js";
19
19
  import "./chunk-R4W4VQJZ.js";
20
- import "./chunk-23KYDM2U.js";
20
+ import "./chunk-TKEYXNXY.js";
21
21
  import "./chunk-4TR3HZFT.js";
22
22
  import "./chunk-WDRMZKVB.js";
23
23
  import "./chunk-KI45T4DI.js";
@@ -19,6 +19,7 @@ import {
19
19
  fetchPrHead,
20
20
  getPr,
21
21
  getPrChecks,
22
+ getPrCiChecks,
22
23
  getPrDetails,
23
24
  getPrForHeadBranch,
24
25
  getPrMeta,
@@ -51,7 +52,7 @@ import {
51
52
  slugify,
52
53
  suggestSlug,
53
54
  switchWorktreeBranch
54
- } from "./chunk-ERCYQTJU.js";
55
+ } from "./chunk-RTZO2YJC.js";
55
56
  import "./chunk-N2WW62LF.js";
56
57
  import "./chunk-GK7H3SY7.js";
57
58
  import "./chunk-TL2HK6LZ.js";
@@ -70,9 +71,9 @@ import {
70
71
  worktreeDisplayLabelForGroup,
71
72
  worktreeNameFromPath,
72
73
  worktreeSlugForTicket
73
- } from "./chunk-AFSLMWQK.js";
74
+ } from "./chunk-JHT3CYLT.js";
74
75
  import "./chunk-WMZIANPV.js";
75
- import "./chunk-N6TGSJVC.js";
76
+ import "./chunk-S3UGLMGE.js";
76
77
  import "./chunk-NSTQ6QKD.js";
77
78
  import "./chunk-WWUABK6B.js";
78
79
  import "./chunk-FJZWM2ON.js";
@@ -100,6 +101,7 @@ export {
100
101
  fetchPrHead,
101
102
  getPr,
102
103
  getPrChecks,
104
+ getPrCiChecks,
103
105
  getPrDetails,
104
106
  getPrForHeadBranch,
105
107
  getPrMeta,
@@ -17,6 +17,7 @@ import {
17
17
  fetchPrHead,
18
18
  getPr,
19
19
  getPrChecks,
20
+ getPrCiChecks,
20
21
  getPrDetails,
21
22
  getPrForHeadBranch,
22
23
  getPrMeta,
@@ -49,7 +50,7 @@ import {
49
50
  slugify,
50
51
  suggestSlug,
51
52
  switchWorktreeBranch
52
- } from "./chunk-4OVQGZEI.js";
53
+ } from "./chunk-G3UV3GXJ.js";
53
54
  import {
54
55
  FAMOUS_SOCCER_TEAMS,
55
56
  allocateTeamName,
@@ -65,13 +66,13 @@ import {
65
66
  worktreeDisplayLabelForGroup,
66
67
  worktreeNameFromPath,
67
68
  worktreeSlugForTicket
68
- } from "./chunk-BDQFZAE6.js";
69
+ } from "./chunk-JX3OWNOT.js";
69
70
  import "./chunk-BMRJNRQK.js";
70
71
  import "./chunk-N6ZF3XRP.js";
71
72
  import "./chunk-6K64FJDD.js";
72
73
  import "./chunk-LG6RJBIY.js";
73
74
  import "./chunk-R4W4VQJZ.js";
74
- import "./chunk-23KYDM2U.js";
75
+ import "./chunk-TKEYXNXY.js";
75
76
  import "./chunk-4TR3HZFT.js";
76
77
  import "./chunk-WDRMZKVB.js";
77
78
  import "./chunk-KI45T4DI.js";
@@ -99,6 +100,7 @@ export {
99
100
  fetchPrHead,
100
101
  getPr,
101
102
  getPrChecks,
103
+ getPrCiChecks,
102
104
  getPrDetails,
103
105
  getPrForHeadBranch,
104
106
  getPrMeta,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sideboard-ai/core",
3
- "version": "0.1.340",
3
+ "version": "0.1.342",
4
4
  "description": "Sideboard core — orchestration, agents, git worktrees, MCP server",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",