@sideboard-ai/core 0.1.318 → 0.1.320

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 (61) hide show
  1. package/dist/{abletime-TKAFNXCM.js → abletime-CRRLEYTE.js} +6 -4
  2. package/dist/{abletime-KWOBUL46.js → abletime-ICW6Q2AB.js} +6 -4
  3. package/dist/{abletime-oauth-S4AXA4WR.js → abletime-oauth-P3KPPJE4.js} +3 -3
  4. package/dist/{abletime-oauth-IUIAGLFJ.js → abletime-oauth-Q76XBSPG.js} +3 -3
  5. package/dist/{abletime-rest-RWN4EPY3.js → abletime-rest-DNFAYYLP.js} +3 -3
  6. package/dist/{abletime-rest-ORBELZQO.js → abletime-rest-DQ3PNKXP.js} +3 -3
  7. package/dist/{agents-KABJUDPI.js → agents-CJZYJOWP.js} +7 -7
  8. package/dist/{agents-2AR7I6B6.js → agents-F2E2HACB.js} +7 -7
  9. package/dist/{app-settings-CZVFMOI5.js → app-settings-KMPVI2B7.js} +1 -1
  10. package/dist/{app-settings-V6YPYY57.js → app-settings-P3H4SEIK.js} +1 -1
  11. package/dist/{chunk-YEIHCSZS.js → chunk-4GZC6DDH.js} +2 -0
  12. package/dist/{chunk-XOZNEAWF.js → chunk-56M6VEXI.js} +3 -3
  13. package/dist/{chunk-7SCVGGF6.js → chunk-5OQONGHO.js} +5 -5
  14. package/dist/{chunk-A6C67DY5.js → chunk-5S3YP5KH.js} +4 -4
  15. package/dist/{chunk-I5CLCWUK.js → chunk-72PUPPV2.js} +9 -5
  16. package/dist/{chunk-BXTISNKW.js → chunk-B7UL36WH.js} +428 -99
  17. package/dist/{chunk-W5QZWAUB.js → chunk-BTIXTH4N.js} +9 -5
  18. package/dist/{chunk-AESO2KJS.js → chunk-CB5Z5C3J.js} +2 -2
  19. package/dist/{chunk-2HOZMSKQ.js → chunk-DFUXW2IT.js} +2 -2
  20. package/dist/{chunk-ST2UQBJT.js → chunk-DJZRDTZY.js} +6 -6
  21. package/dist/{chunk-TUJFCJJU.js → chunk-EDXTP2VR.js} +2 -2
  22. package/dist/{chunk-I5TESHDN.js → chunk-EQ52JR3Q.js} +5 -5
  23. package/dist/{chunk-FDXHNROD.js → chunk-EQ5JY3MJ.js} +2 -2
  24. package/dist/{chunk-E52SQENB.js → chunk-FZKAAAEB.js} +3 -1
  25. package/dist/{chunk-VZAJVX36.js → chunk-HHPTGIKS.js} +2 -2
  26. package/dist/{chunk-23ZUL2EX.js → chunk-IDPFLXRY.js} +429 -100
  27. package/dist/{chunk-GCHSJCCX.js → chunk-IFU4W4C4.js} +3 -1
  28. package/dist/{chunk-IAPO7ZFG.js → chunk-LLIEU2ZB.js} +5 -5
  29. package/dist/{chunk-MBYGWNLQ.js → chunk-OAFBHCSM.js} +1 -1
  30. package/dist/{chunk-NRSC4N5X.js → chunk-P74GXA5V.js} +6 -6
  31. package/dist/{chunk-A46CIARU.js → chunk-PNLGWAYE.js} +2 -2
  32. package/dist/{chunk-53OCOGND.js → chunk-QGY3UNNL.js} +2 -2
  33. package/dist/{chunk-7Q327QF2.js → chunk-QIC2JXHW.js} +5 -5
  34. package/dist/{chunk-YALFZKSC.js → chunk-RHJPP26T.js} +11 -11
  35. package/dist/{chunk-AZ4GEEGL.js → chunk-UK2KESBN.js} +2 -2
  36. package/dist/{chunk-7ADEYEMH.js → chunk-V76MQ7MH.js} +5 -5
  37. package/dist/{chunk-HOLB6ZFZ.js → chunk-XMHMVEIY.js} +2 -0
  38. package/dist/{chunk-GH7UMULC.js → chunk-ZYZBCLJR.js} +6 -6
  39. package/dist/{conductor-MG2RAQNT.js → conductor-FPFY6Z5S.js} +6 -6
  40. package/dist/{conductor-NIUBJLTS.js → conductor-JA5W3L7C.js} +6 -6
  41. package/dist/{coordinator-prompt-3CT3D5UM.js → coordinator-prompt-M75TAN43.js} +4 -4
  42. package/dist/{coordinator-prompt-X74F3JIC.js → coordinator-prompt-NUC2ZXMJ.js} +4 -4
  43. package/dist/{global-workspace-BUWMRNW5.js → global-workspace-5A4H34AF.js} +4 -4
  44. package/dist/{global-workspace-FTNJEML3.js → global-workspace-SCLQUNUI.js} +4 -4
  45. package/dist/index.cjs +861 -475
  46. package/dist/index.d.cts +56 -13
  47. package/dist/index.d.ts +56 -13
  48. package/dist/index.js +54 -31
  49. package/dist/mcp/run-stdio.cjs +459 -95
  50. package/dist/mcp/run-stdio.js +23 -23
  51. package/dist/{optional-cli-EMSZBYDE.js → optional-cli-2V3SLME5.js} +3 -3
  52. package/dist/{optional-cli-6GGESWGE.js → optional-cli-MRNQKVIR.js} +4 -4
  53. package/dist/{orchestrator-N54V3B76.js → orchestrator-7BDZ5GWD.js} +10 -10
  54. package/dist/{orchestrator-2SXK4U65.js → orchestrator-NPFWU3XU.js} +10 -10
  55. package/dist/{thread-store-PLNIWFZ4.js → thread-store-JWHVXLDX.js} +1 -1
  56. package/dist/{thread-store-7BBA63KV.js → thread-store-QHYN2ZMQ.js} +1 -1
  57. package/dist/{workspaces-2V5UYPYC.js → workspaces-5QA3YM4L.js} +4 -4
  58. package/dist/{workspaces-MGKEAYNM.js → workspaces-KWMBOTQD.js} +4 -4
  59. package/dist/{worktree-THAXW5U7.js → worktree-7EATHVYQ.js} +3 -3
  60. package/dist/{worktree-XJKLDYOL.js → worktree-O6BANO2I.js} +3 -3
  61. package/package.json +1 -1
@@ -661,7 +661,9 @@ function planHistoryRetention(archived, thresholds = {}) {
661
661
  if (archivedUpdatedMs(thread) < cutoff) expiredIds.add(thread.id);
662
662
  }
663
663
  }
664
- const remaining = oldestFirst.filter((t) => !expiredIds.has(t.id));
664
+ const remaining = oldestFirst.filter(
665
+ (t) => !expiredIds.has(t.id) && !t.ephemeralAutomationId?.trim()
666
+ );
665
667
  const overflow = remaining.length > maxCount ? remaining.slice(0, remaining.length - maxCount) : [];
666
668
  const stripIds = [];
667
669
  const purgeIds = [...expiredIds];
@@ -9,16 +9,16 @@ import {
9
9
  looksLikeSkillBody,
10
10
  skillCommandFromBody,
11
11
  withEventParentId
12
- } from "./chunk-7Q327QF2.js";
12
+ } from "./chunk-QIC2JXHW.js";
13
13
  import {
14
14
  isOrchestratorThread
15
- } from "./chunk-YALFZKSC.js";
15
+ } from "./chunk-RHJPP26T.js";
16
16
  import {
17
17
  codexUnattendedGitConfigArgs,
18
18
  mergeAgentGitAuthEnv,
19
19
  resolveAgentGitAuthEnv,
20
20
  resolveCodexGitWritableRoots
21
- } from "./chunk-TUJFCJJU.js";
21
+ } from "./chunk-EDXTP2VR.js";
22
22
  import {
23
23
  loadBrightsyConfig
24
24
  } from "./chunk-RSA47QYR.js";
@@ -76,7 +76,7 @@ import {
76
76
  loadAppSettings,
77
77
  resolveAgentExecutable,
78
78
  resolveClaudeExecutable
79
- } from "./chunk-E52SQENB.js";
79
+ } from "./chunk-FZKAAAEB.js";
80
80
  import {
81
81
  isElectronLikeCommand,
82
82
  unwrapStrippedElectronLaunch
@@ -2609,7 +2609,7 @@ var claudeAdapter = {
2609
2609
  );
2610
2610
  }
2611
2611
  const mode = permissionMode(thread);
2612
- const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-FTNJEML3.js");
2612
+ const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-SCLQUNUI.js");
2613
2613
  const isOrchestrator = isOrchestratorThread2(thread);
2614
2614
  const rpc = worktreeAgentRpc(isOrchestrator);
2615
2615
  const injectedServers = await buildInjectedMcpServers({
@@ -125,7 +125,7 @@ async function connectedCliPresence(integrations) {
125
125
  const ids = connectedOptionalServices(integrations).filter((spec) => spec.cli).map((spec) => spec.id);
126
126
  if (ids.length === 0) return void 0;
127
127
  try {
128
- const { optionalCliPresence } = await import("./optional-cli-EMSZBYDE.js");
128
+ const { optionalCliPresence } = await import("./optional-cli-2V3SLME5.js");
129
129
  return await optionalCliPresence(ids);
130
130
  } catch {
131
131
  return void 0;
@@ -5,17 +5,17 @@ import {
5
5
  compactSummaryPart,
6
6
  isInternalAgentStatusText,
7
7
  lastAssistantMessageText
8
- } from "./chunk-I5TESHDN.js";
8
+ } from "./chunk-EQ52JR3Q.js";
9
9
  import {
10
10
  isCloudCoordinatorThread,
11
11
  isGlobalThread,
12
12
  isOrchestratorThread,
13
13
  isSlackCoordinatorThread
14
- } from "./chunk-A6C67DY5.js";
14
+ } from "./chunk-5S3YP5KH.js";
15
15
  import {
16
16
  mergeAgentGitAuthEnv,
17
17
  resolveAgentGitAuthEnv
18
- } from "./chunk-A46CIARU.js";
18
+ } from "./chunk-PNLGWAYE.js";
19
19
  import {
20
20
  ATTACHMENTS_DIR,
21
21
  DETACHED_JOBS_DIR,
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  assertOrchestratorCapableAgent,
34
34
  contextTokens
35
- } from "./chunk-GCHSJCCX.js";
35
+ } from "./chunk-IFU4W4C4.js";
36
36
  import {
37
37
  stripNestedElectronEnv
38
38
  } from "./chunk-WWUABK6B.js";
@@ -47,7 +47,7 @@ import {
47
47
  updateThread,
48
48
  worktreeNameFromPath,
49
49
  writeThread
50
- } from "./chunk-HOLB6ZFZ.js";
50
+ } from "./chunk-XMHMVEIY.js";
51
51
  import {
52
52
  findConventionSetup,
53
53
  loadRepoSettings,
@@ -1678,7 +1678,7 @@ var PORT_RANGE_SIZE = 10;
1678
1678
  var RECLAIM_RETRY_DELAY_MS = 40;
1679
1679
  var RECLAIM_TRIES = 8;
1680
1680
  async function killReclaimable(ports, worktreePath, signal) {
1681
- const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-NIUBJLTS.js");
1681
+ const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-JA5W3L7C.js");
1682
1682
  if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
1683
1683
  else killListenersOnPorts2(ports);
1684
1684
  }
@@ -19,14 +19,14 @@ import {
19
19
  import {
20
20
  getGithubGitAuthMode,
21
21
  getGithubPat
22
- } from "./chunk-GCHSJCCX.js";
22
+ } from "./chunk-IFU4W4C4.js";
23
23
  import {
24
24
  allocateTeamName,
25
25
  listThreads,
26
26
  normalizeTakenSlug,
27
27
  normalizeWorktreePath,
28
28
  takenSlugsFromThread
29
- } from "./chunk-HOLB6ZFZ.js";
29
+ } from "./chunk-XMHMVEIY.js";
30
30
  import {
31
31
  worktreesRoot
32
32
  } from "./chunk-WOU343SI.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-2UG25RMK.js";
10
10
  import {
11
11
  resolveAgentExecutable
12
- } from "./chunk-GCHSJCCX.js";
12
+ } from "./chunk-IFU4W4C4.js";
13
13
 
14
14
  // src/agents/install.ts
15
15
  import { existsSync } from "fs";
@@ -267,7 +267,7 @@ async function loginAgent(agent) {
267
267
  };
268
268
  }
269
269
  async function loginManagedAccount(accountId) {
270
- const { loadAppSettings } = await import("./app-settings-CZVFMOI5.js");
270
+ const { loadAppSettings } = await import("./app-settings-KMPVI2B7.js");
271
271
  const { loginEnvPrefix } = await import("./managed-accounts-PITLFLKU.js");
272
272
  const account = loadAppSettings().accounts.accounts.find((a) => a.id === accountId);
273
273
  if (!account) {
@@ -213,13 +213,13 @@ function toolDescription(name, input) {
213
213
  else if (/notify_orchestrator$/i.test(name)) return "Notify orchestrator";
214
214
  else if (/set_workspace_tags$/i.test(name)) return "Set workspace tags";
215
215
  if (/(?:list|set|delete)_env$/i.test(name)) return /list_env$/i.test(name) ? "List env vars" : /set_env$/i.test(name) ? "Set env var" : "Delete env var";
216
- if (/list_schedules$/i.test(name)) return "List schedules";
216
+ if (/list_schedules$/i.test(name)) return "List automations";
217
217
  if (/create_schedule$/i.test(name)) {
218
- return str(input?.name) ? `Schedule ${str(input?.name)}` : "Create schedule";
218
+ return str(input?.name) ? `Automation ${str(input?.name)}` : "Create automation";
219
219
  }
220
- if (/update_schedule$/i.test(name)) return "Update schedule";
221
- if (/delete_schedule$/i.test(name)) return "Delete schedule";
222
- if (/run_schedule$/i.test(name)) return "Run schedule";
220
+ if (/update_schedule$/i.test(name)) return "Update automation";
221
+ if (/delete_schedule$/i.test(name)) return "Delete automation";
222
+ if (/run_schedule$/i.test(name)) return "Run automation";
223
223
  if (isSkillToolName(name)) {
224
224
  const cmd = skillCommandFromInput(input);
225
225
  return cmd ? `Using /${cmd}` : "Using skill";
@@ -3,7 +3,7 @@ import {
3
3
  ensureGhPreferOrigin,
4
4
  resolveGithubRepoSlug,
5
5
  resolveRepoRoot
6
- } from "./chunk-TUJFCJJU.js";
6
+ } from "./chunk-EDXTP2VR.js";
7
7
  import {
8
8
  allocateTeamName,
9
9
  createEmptyThread,
@@ -12,7 +12,7 @@ import {
12
12
  teamSlugFromName,
13
13
  updateThread,
14
14
  writeThread
15
- } from "./chunk-YEIHCSZS.js";
15
+ } from "./chunk-4GZC6DDH.js";
16
16
  import {
17
17
  ATTACHMENTS_DIR,
18
18
  attachmentsGitignoreBody
@@ -29,7 +29,7 @@ import {
29
29
  resolveThreadDefaults,
30
30
  resolveViewerProfile,
31
31
  resolveViewerProfileForRepo
32
- } from "./chunk-E52SQENB.js";
32
+ } from "./chunk-FZKAAAEB.js";
33
33
  import {
34
34
  appDataDir,
35
35
  globalAgentCwd,
@@ -399,7 +399,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
399
399
  "- get_viewer_context / update_viewer_context \u2014 read or replace Settings \u2192 Agents (account) and Settings \u2192 Projects (per-repo) context. You can update a project: pass scope=project and repoPath from list_projects (this cwd is not a project). update_viewer_context requires confirmed=true after ask_user. Never write context unprompted.",
400
400
  "- list_env / set_env / delete_env \u2014 Settings \u2192 Environment. scope=project requires repoPath from list_projects and stores the key under that project prefix (the project name, uppercased, plus _). APPLE_ID for sideboard is SIDEBOARD_APPLE_ID. scope=account is shared by every project and is not prefixed. list_env returns names only.",
401
401
  "- set_caffeinate \u2014 keep this Mac awake across turns (macOS caffeinate). Turn on for phone remote / away-from-keyboard work, overnight schedules, or when the user will be away. Turn OFF when they say they are done, wrapping up, going to sleep, or no longer need the machine awake. Closing this chat also releases it.",
402
- "- list_schedules / create_schedule / update_schedule / delete_schedule / run_schedule \u2014 local jobs that send a prompt to a chat (chatId or self) or start a new Global chat (omit chatId). One-shot `at`, interval `every` (15m/1h/6h/1d), or 5-field `cron`. Recurring jobs without chatId open a new chat each run. Worktree agents have the same tools (`chatId=self` continues that coding chat). Jobs fire only while Sideboard.app is running; sleep skips until wake. Creating or enabling a future job turns on Settings \u2192 Advanced \u2192 Caffeinate while schedules are enabled (or call set_caffeinate).",
402
+ "- list_schedules / create_schedule / update_schedule / delete_schedule / run_schedule \u2014 automations that send a prompt to a chat (chatId or self) or start a new Global chat (omit chatId). One-shot `at`, interval `every` (15m/1h/6h/1d), or 5-field `cron`. Recurring jobs without chatId open a new chat each run and archive it when that run finishes (History keeps the latest run for that automation). Worktree agents have the same tools (`chatId=self` continues that coding chat). Jobs fire only while Sideboard.app is running; sleep skips until wake. Creating or enabling a future job turns on Settings \u2192 Advanced \u2192 Caffeinate while automations are enabled (or call set_caffeinate). The desktop lists them in the sidebar after Board.",
403
403
  "Projects:",
404
404
  "- add_project / remove_project \u2014 register or unregister a git repo",
405
405
  "Workspaces and chats:",
@@ -1076,6 +1076,13 @@ async function archiveRemovedWorkspaceChats(threads, archive) {
1076
1076
  }
1077
1077
 
1078
1078
  export {
1079
+ isImageFilePath,
1080
+ attachmentFromAbsolutePath,
1081
+ stageAbsolutePathsAsAttachments,
1082
+ stageBuffersAsAttachments,
1083
+ attachmentsFromBuffers,
1084
+ persistPendingFileAttachments,
1085
+ attachmentsFromWorktreePaths,
1079
1086
  CLOUD_ORCHESTRATOR_GOAL,
1080
1087
  SIDEBOARD_FORCE_STOP,
1081
1088
  CLOUD_COORDINATOR_BUSY_REPLY,
@@ -1084,13 +1091,6 @@ export {
1084
1091
  CLOUD_COORDINATOR_INPUT_REQUIRED_REPLY,
1085
1092
  CLOUD_COORDINATOR_CANCELED_REPLY,
1086
1093
  parseForceStopMessage,
1087
- isImageFilePath,
1088
- attachmentFromAbsolutePath,
1089
- stageAbsolutePathsAsAttachments,
1090
- stageBuffersAsAttachments,
1091
- attachmentsFromBuffers,
1092
- persistPendingFileAttachments,
1093
- attachmentsFromWorktreePaths,
1094
1094
  sameWorkspacePath,
1095
1095
  isRemovedWorkspace,
1096
1096
  archivesWithRemovedWorkspace,
@@ -2,11 +2,11 @@ import {
2
2
  OPTIONAL_SERVICES,
3
3
  isOptionalServiceId,
4
4
  optionalServiceSpec
5
- } from "./chunk-FDXHNROD.js";
5
+ } from "./chunk-EQ5JY3MJ.js";
6
6
  import {
7
7
  installNpmGlobalPackage,
8
8
  whichOnPath
9
- } from "./chunk-AESO2KJS.js";
9
+ } from "./chunk-CB5Z5C3J.js";
10
10
  import {
11
11
  enrichPathWithNpmGlobalBin
12
12
  } from "./chunk-QVN2WOKJ.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  getAbleTimeHost,
6
6
  isAbleTimeConnected
7
- } from "./chunk-E52SQENB.js";
7
+ } from "./chunk-FZKAAAEB.js";
8
8
 
9
9
  // src/integrations/abletime-mcp.ts
10
10
  var DEFAULT_ABLETIME_HOST = "https://track.abletime.com";
@@ -153,7 +153,7 @@ function textsFromUnknown(value) {
153
153
  return "";
154
154
  }
155
155
  async function abletimeMcpRequest(method, params, opts) {
156
- const rawToken = opts?.token ?? await import("./abletime-oauth-IUIAGLFJ.js").then((m) => m.ensureAbleTimeAccessToken());
156
+ const rawToken = opts?.token ?? await import("./abletime-oauth-Q76XBSPG.js").then((m) => m.ensureAbleTimeAccessToken());
157
157
  if (!rawToken?.trim()) {
158
158
  throw new Error("AbleTime is not connected \u2014 paste a personal access token in Account settings");
159
159
  }
@@ -224,9 +224,9 @@ async function callAbleTimeTool(name, args = {}, opts) {
224
224
  if (!opts?.token && !isAbleTimeConnected()) {
225
225
  throw new Error("AbleTime is not connected \u2014 paste a personal access token in Account settings");
226
226
  }
227
- const rawToken = opts?.token ?? await import("./abletime-oauth-IUIAGLFJ.js").then((m) => m.ensureAbleTimeAccessToken());
227
+ const rawToken = opts?.token ?? await import("./abletime-oauth-Q76XBSPG.js").then((m) => m.ensureAbleTimeAccessToken());
228
228
  if (rawToken && ableTimeUsesRest(rawToken)) {
229
- const { callAbleTimeRestTool } = await import("./abletime-rest-RWN4EPY3.js");
229
+ const { callAbleTimeRestTool } = await import("./abletime-rest-DNFAYYLP.js");
230
230
  return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
231
231
  }
232
232
  const requestOpts = { ...opts, pm: opts?.pm ?? abletimeToolUsesPm(name) };
@@ -242,7 +242,7 @@ async function callAbleTimeTool(name, args = {}, opts) {
242
242
  return await call();
243
243
  }
244
244
  if (rawToken && ableTimeUsesRest(rawToken) && isAbleTimeRejectedCredential(message)) {
245
- const { callAbleTimeRestTool } = await import("./abletime-rest-RWN4EPY3.js");
245
+ const { callAbleTimeRestTool } = await import("./abletime-rest-DNFAYYLP.js");
246
246
  return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
247
247
  }
248
248
  throw err instanceof Error ? new Error(rewriteAbleTimeError(err.message)) : err;
@@ -1105,6 +1105,7 @@ function normalizeThread(raw) {
1105
1105
  quotaContinuedFromId: raw.quotaContinuedFromId ?? null,
1106
1106
  accountId: raw.accountId === null ? null : typeof raw.accountId === "string" && raw.accountId.trim() ? raw.accountId.trim() : void 0,
1107
1107
  archivedAt: typeof raw.archivedAt === "string" && raw.archivedAt.trim() ? raw.archivedAt.trim() : void 0,
1108
+ ephemeralAutomationId: typeof raw.ephemeralAutomationId === "string" && raw.ephemeralAutomationId.trim() ? raw.ephemeralAutomationId.trim() : void 0,
1108
1109
  compactedMessages: Array.isArray(raw.compactedMessages) ? raw.compactedMessages : void 0
1109
1110
  };
1110
1111
  }
@@ -1293,6 +1294,7 @@ function updateThread(id, patch) {
1293
1294
  } else {
1294
1295
  delete next.archivedAt;
1295
1296
  }
1297
+ if (!next.ephemeralAutomationId?.trim()) delete next.ephemeralAutomationId;
1296
1298
  writeThread(next);
1297
1299
  return next;
1298
1300
  }
@@ -21,16 +21,16 @@ import {
21
21
  looksLikeSkillBody,
22
22
  skillCommandFromBody,
23
23
  withEventParentId
24
- } from "./chunk-I5TESHDN.js";
24
+ } from "./chunk-EQ52JR3Q.js";
25
25
  import {
26
26
  isOrchestratorThread
27
- } from "./chunk-A6C67DY5.js";
27
+ } from "./chunk-5S3YP5KH.js";
28
28
  import {
29
29
  codexUnattendedGitConfigArgs,
30
30
  mergeAgentGitAuthEnv,
31
31
  resolveAgentGitAuthEnv,
32
32
  resolveCodexGitWritableRoots
33
- } from "./chunk-A46CIARU.js";
33
+ } from "./chunk-PNLGWAYE.js";
34
34
  import {
35
35
  githubAgentAuthReady,
36
36
  npmGlobalNodeModules,
@@ -45,7 +45,7 @@ import {
45
45
  loadAppSettings,
46
46
  resolveAgentExecutable,
47
47
  resolveClaudeExecutable
48
- } from "./chunk-GCHSJCCX.js";
48
+ } from "./chunk-IFU4W4C4.js";
49
49
  import {
50
50
  isElectronLikeCommand,
51
51
  unwrapStrippedElectronLaunch,
@@ -57,7 +57,7 @@ import {
57
57
  CLAUDE_POSTHOG_CONNECTOR_ALLOWED_TOOLS,
58
58
  CLAUDE_PRINT_BG_WAIT_CEILING_MS,
59
59
  mcpAllowToolsFromNames
60
- } from "./chunk-HOLB6ZFZ.js";
60
+ } from "./chunk-XMHMVEIY.js";
61
61
  import {
62
62
  appDataDir
63
63
  } from "./chunk-WOU343SI.js";
@@ -2916,7 +2916,7 @@ var claudeAdapter = {
2916
2916
  );
2917
2917
  }
2918
2918
  const mode = permissionMode(thread);
2919
- const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-BUWMRNW5.js");
2919
+ const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-5A4H34AF.js");
2920
2920
  const isOrchestrator = isOrchestratorThread2(thread);
2921
2921
  const rpc = worktreeAgentRpc(isOrchestrator);
2922
2922
  const injectedServers = await buildInjectedMcpServers({
@@ -32,18 +32,18 @@ import {
32
32
  tryReservePort,
33
33
  tryReservePorts,
34
34
  worktreeRunPortsPath
35
- } from "./chunk-ST2UQBJT.js";
36
- import "./chunk-7Q327QF2.js";
37
- import "./chunk-YALFZKSC.js";
38
- import "./chunk-TUJFCJJU.js";
39
- import "./chunk-YEIHCSZS.js";
35
+ } from "./chunk-DJZRDTZY.js";
36
+ import "./chunk-QIC2JXHW.js";
37
+ import "./chunk-RHJPP26T.js";
38
+ import "./chunk-EDXTP2VR.js";
39
+ import "./chunk-4GZC6DDH.js";
40
40
  import "./chunk-2P4XKWV2.js";
41
41
  import "./chunk-F2PVRF3B.js";
42
42
  import "./chunk-5XNT6BCG.js";
43
43
  import "./chunk-6K64FJDD.js";
44
44
  import "./chunk-LG6RJBIY.js";
45
45
  import "./chunk-QVN2WOKJ.js";
46
- import "./chunk-E52SQENB.js";
46
+ import "./chunk-FZKAAAEB.js";
47
47
  import "./chunk-77WWLBCI.js";
48
48
  import {
49
49
  stripNestedElectronEnv
@@ -34,21 +34,21 @@ import {
34
34
  tryReservePort,
35
35
  tryReservePorts,
36
36
  worktreeRunPortsPath
37
- } from "./chunk-NRSC4N5X.js";
38
- import "./chunk-I5TESHDN.js";
39
- import "./chunk-A6C67DY5.js";
40
- import "./chunk-A46CIARU.js";
37
+ } from "./chunk-P74GXA5V.js";
38
+ import "./chunk-EQ52JR3Q.js";
39
+ import "./chunk-5S3YP5KH.js";
40
+ import "./chunk-PNLGWAYE.js";
41
41
  import "./chunk-N2WW62LF.js";
42
42
  import "./chunk-DD67JWTN.js";
43
43
  import "./chunk-2UG25RMK.js";
44
- import "./chunk-GCHSJCCX.js";
44
+ import "./chunk-IFU4W4C4.js";
45
45
  import "./chunk-NSTQ6QKD.js";
46
46
  import {
47
47
  stripNestedElectronEnv
48
48
  } from "./chunk-WWUABK6B.js";
49
49
  import "./chunk-FJZWM2ON.js";
50
50
  import "./chunk-J2LNLI4S.js";
51
- import "./chunk-HOLB6ZFZ.js";
51
+ import "./chunk-XMHMVEIY.js";
52
52
  import "./chunk-WMZIANPV.js";
53
53
  import "./chunk-KGZBYWZ3.js";
54
54
  import {
@@ -9,17 +9,17 @@ import {
9
9
  enrichWorkspacesWithGithub,
10
10
  ensureGlobalCoordinatorCwd,
11
11
  formatWorkspaceInventory
12
- } from "./chunk-A6C67DY5.js";
13
- import "./chunk-A46CIARU.js";
12
+ } from "./chunk-5S3YP5KH.js";
13
+ import "./chunk-PNLGWAYE.js";
14
14
  import "./chunk-N2WW62LF.js";
15
15
  import "./chunk-DD67JWTN.js";
16
16
  import "./chunk-2UG25RMK.js";
17
- import "./chunk-GCHSJCCX.js";
17
+ import "./chunk-IFU4W4C4.js";
18
18
  import "./chunk-NSTQ6QKD.js";
19
19
  import "./chunk-WWUABK6B.js";
20
20
  import "./chunk-FJZWM2ON.js";
21
21
  import "./chunk-J2LNLI4S.js";
22
- import "./chunk-HOLB6ZFZ.js";
22
+ import "./chunk-XMHMVEIY.js";
23
23
  import "./chunk-WMZIANPV.js";
24
24
  import "./chunk-KGZBYWZ3.js";
25
25
  import "./chunk-WOU343SI.js";
@@ -7,15 +7,15 @@ import {
7
7
  enrichWorkspacesWithGithub,
8
8
  ensureGlobalCoordinatorCwd,
9
9
  formatWorkspaceInventory
10
- } from "./chunk-YALFZKSC.js";
11
- import "./chunk-TUJFCJJU.js";
12
- import "./chunk-YEIHCSZS.js";
10
+ } from "./chunk-RHJPP26T.js";
11
+ import "./chunk-EDXTP2VR.js";
12
+ import "./chunk-4GZC6DDH.js";
13
13
  import "./chunk-2P4XKWV2.js";
14
14
  import "./chunk-F2PVRF3B.js";
15
15
  import "./chunk-6K64FJDD.js";
16
16
  import "./chunk-LG6RJBIY.js";
17
17
  import "./chunk-QVN2WOKJ.js";
18
- import "./chunk-E52SQENB.js";
18
+ import "./chunk-FZKAAAEB.js";
19
19
  import "./chunk-77WWLBCI.js";
20
20
  import "./chunk-4TR3HZFT.js";
21
21
  import "./chunk-WDRMZKVB.js";
@@ -20,17 +20,17 @@ import {
20
20
  remoteCoordinatorSourceRef,
21
21
  slackCoordinatorSourceRef,
22
22
  takenTeamSlugsForOrchestration
23
- } from "./chunk-A6C67DY5.js";
24
- import "./chunk-A46CIARU.js";
23
+ } from "./chunk-5S3YP5KH.js";
24
+ import "./chunk-PNLGWAYE.js";
25
25
  import "./chunk-N2WW62LF.js";
26
26
  import "./chunk-DD67JWTN.js";
27
27
  import "./chunk-2UG25RMK.js";
28
- import "./chunk-GCHSJCCX.js";
28
+ import "./chunk-IFU4W4C4.js";
29
29
  import "./chunk-NSTQ6QKD.js";
30
30
  import "./chunk-WWUABK6B.js";
31
31
  import "./chunk-FJZWM2ON.js";
32
32
  import "./chunk-J2LNLI4S.js";
33
- import "./chunk-HOLB6ZFZ.js";
33
+ import "./chunk-XMHMVEIY.js";
34
34
  import "./chunk-WMZIANPV.js";
35
35
  import "./chunk-KGZBYWZ3.js";
36
36
  import {
@@ -18,15 +18,15 @@ import {
18
18
  remoteCoordinatorSourceRef,
19
19
  slackCoordinatorSourceRef,
20
20
  takenTeamSlugsForOrchestration
21
- } from "./chunk-YALFZKSC.js";
22
- import "./chunk-TUJFCJJU.js";
23
- import "./chunk-YEIHCSZS.js";
21
+ } from "./chunk-RHJPP26T.js";
22
+ import "./chunk-EDXTP2VR.js";
23
+ import "./chunk-4GZC6DDH.js";
24
24
  import "./chunk-2P4XKWV2.js";
25
25
  import "./chunk-F2PVRF3B.js";
26
26
  import "./chunk-6K64FJDD.js";
27
27
  import "./chunk-LG6RJBIY.js";
28
28
  import "./chunk-QVN2WOKJ.js";
29
- import "./chunk-E52SQENB.js";
29
+ import "./chunk-FZKAAAEB.js";
30
30
  import "./chunk-77WWLBCI.js";
31
31
  import "./chunk-4TR3HZFT.js";
32
32
  import "./chunk-WDRMZKVB.js";