@sideboard-ai/core 0.1.249 → 0.1.251

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 (66) hide show
  1. package/dist/{abletime-EM7FH7TX.js → abletime-IDQJI2KW.js} +5 -5
  2. package/dist/{abletime-RLSPFZOO.js → abletime-OGQR4LIL.js} +5 -5
  3. package/dist/{abletime-oauth-LDV3DZNA.js → abletime-oauth-MBAG5MYU.js} +4 -4
  4. package/dist/{abletime-oauth-332MUPBE.js → abletime-oauth-ZQUIY4EM.js} +4 -4
  5. package/dist/{abletime-rest-LR2HWLP2.js → abletime-rest-JZIIT5W3.js} +4 -4
  6. package/dist/{abletime-rest-JZI6UQIR.js → abletime-rest-WEJERY4O.js} +4 -4
  7. package/dist/agents/cursor-runner.js +3 -3
  8. package/dist/{agents-L2NUSMP6.js → agents-FY2DFOMV.js} +9 -9
  9. package/dist/{agents-5N4S6YLA.js → agents-PU2P5VWM.js} +8 -8
  10. package/dist/{app-settings-BABO3E4A.js → app-settings-CLARFJUX.js} +2 -2
  11. package/dist/{app-settings-JQ5M3P46.js → app-settings-ONYJ36XH.js} +2 -2
  12. package/dist/{caffeinate-hold-PXHGH7ZN.js → caffeinate-hold-DYJGWK6Y.js} +2 -2
  13. package/dist/{caffeinate-hold-FNKIPXDU.js → caffeinate-hold-UAGLSGMM.js} +2 -2
  14. package/dist/{chunk-VGVYYLUC.js → chunk-2LZ3CNTN.js} +26 -26
  15. package/dist/{chunk-HO5TQG3Z.js → chunk-452Y24PW.js} +1 -1
  16. package/dist/{chunk-CXTIOJRX.js → chunk-4723RAO3.js} +2 -2
  17. package/dist/{chunk-CJKL7A4G.js → chunk-5F4YFGHL.js} +5 -5
  18. package/dist/{chunk-W632CHCY.js → chunk-66LAOKLK.js} +2 -2
  19. package/dist/{chunk-4LIOQ2QW.js → chunk-6Z66OYYO.js} +24 -24
  20. package/dist/{chunk-BXYUK6DD.js → chunk-7R5I5UWW.js} +7 -7
  21. package/dist/{chunk-57ZULG67.js → chunk-CPEIHTG7.js} +3 -3
  22. package/dist/{chunk-A4JGXX2F.js → chunk-EHT2DRT4.js} +12 -0
  23. package/dist/{chunk-2I6TW4TW.js → chunk-FGWUZOZN.js} +3 -3
  24. package/dist/{chunk-XJXS7TU6.js → chunk-GNO7RXNH.js} +6 -6
  25. package/dist/{chunk-N6XI5KXL.js → chunk-H547WSSZ.js} +1 -1
  26. package/dist/{chunk-5FLTBGF2.js → chunk-IFHHPPSL.js} +5 -5
  27. package/dist/{chunk-M5QVZYKK.js → chunk-JLLISK4D.js} +11 -8
  28. package/dist/{chunk-4URNTA75.js → chunk-KJM3E3NF.js} +1 -1
  29. package/dist/{chunk-OJFEVWZN.js → chunk-NOT4SEAM.js} +1 -1
  30. package/dist/{chunk-RUGWYZOB.js → chunk-PL23EQ3S.js} +4 -4
  31. package/dist/{chunk-DQN5U2VH.js → chunk-QN5DL2QO.js} +1 -1
  32. package/dist/{chunk-PELMZRDB.js → chunk-RJC2MKXN.js} +2 -2
  33. package/dist/{chunk-OXZMLZVK.js → chunk-RTQOCFIV.js} +3 -3
  34. package/dist/{chunk-IBWVE22Z.js → chunk-TMLS5WYR.js} +4 -4
  35. package/dist/{chunk-224IXQOM.js → chunk-UWQ6UCIB.js} +1 -1
  36. package/dist/{chunk-5SHYLRTU.js → chunk-VVHHBOIA.js} +1 -1
  37. package/dist/{chunk-3O66W4TI.js → chunk-WI75LO3T.js} +11 -8
  38. package/dist/{chunk-J5GON4SU.js → chunk-XAISOBBG.js} +1 -1
  39. package/dist/{chunk-XHAK4FSQ.js → chunk-XIEDFRBP.js} +2 -2
  40. package/dist/{chunk-KB4JPKMT.js → chunk-ZC3TVLY6.js} +5 -5
  41. package/dist/{connected-teams-62AJRDDD.js → connected-teams-7CENZDWU.js} +2 -2
  42. package/dist/{connected-teams-GXV22ZSF.js → connected-teams-Z5GOIC5I.js} +2 -2
  43. package/dist/{coordinator-prompt-5FUU6WZR.js → coordinator-prompt-6CWVH2US.js} +6 -6
  44. package/dist/{coordinator-prompt-2P35JCWK.js → coordinator-prompt-R7JNOUZ3.js} +6 -6
  45. package/dist/{cursor-recover-DFMCTZA4.js → cursor-recover-A6V5UVFT.js} +2 -2
  46. package/dist/{cursor-recover-K3EBEM7M.js → cursor-recover-FALSNEZN.js} +2 -2
  47. package/dist/{global-workspace-5U5Y7266.js → global-workspace-DWKW4CFY.js} +6 -6
  48. package/dist/{global-workspace-NDDNFPYH.js → global-workspace-GTEL4UUZ.js} +6 -6
  49. package/dist/index.cjs +21 -5
  50. package/dist/index.d.cts +8 -1
  51. package/dist/index.d.ts +8 -1
  52. package/dist/index.js +21 -19
  53. package/dist/mcp/run-stdio.cjs +8 -5
  54. package/dist/mcp/run-stdio.js +17 -17
  55. package/dist/{orchestrator-5LCP6OTU.js → orchestrator-7XDC4UOC.js} +11 -11
  56. package/dist/{orchestrator-DHIKPDY4.js → orchestrator-W7A5BA5V.js} +10 -10
  57. package/dist/{paths-O6ZEAEUD.js → paths-5JYXTAPC.js} +1 -1
  58. package/dist/{paths-LGKOG7MY.js → paths-IUR3ABNG.js} +1 -1
  59. package/dist/{thread-store-BEBZMOS7.js → thread-store-HDQ4CH54.js} +3 -3
  60. package/dist/{thread-store-S6PJADDM.js → thread-store-ZDR3Z5UG.js} +3 -3
  61. package/dist/{workspaces-RSTX2WL7.js → workspaces-E6IL3MIH.js} +6 -6
  62. package/dist/{workspaces-GFYUCY6N.js → workspaces-PSDDVERD.js} +6 -6
  63. package/dist/{worktree-TXIDEBH2.js → worktree-MWX6ZVNS.js} +5 -5
  64. package/dist/{worktree-UNY4QGFJ.js → worktree-Q4T7RSSW.js} +5 -5
  65. package/package.json +1 -1
  66. /package/dist/{chunk-KK63BFYN.js → chunk-Z2LGMV6C.js} +0 -0
@@ -15,15 +15,15 @@ import {
15
15
  toAbleTimeIssueInfo,
16
16
  updateAbleTimeTask,
17
17
  verifyAbleTimeConnection
18
- } from "./chunk-57ZULG67.js";
19
- import "./chunk-W632CHCY.js";
20
- import "./chunk-5FLTBGF2.js";
18
+ } from "./chunk-CPEIHTG7.js";
19
+ import "./chunk-66LAOKLK.js";
20
+ import "./chunk-IFHHPPSL.js";
21
21
  import "./chunk-N7WZ6NIN.js";
22
- import "./chunk-4URNTA75.js";
22
+ import "./chunk-KJM3E3NF.js";
23
23
  import "./chunk-WDRMZKVB.js";
24
24
  import "./chunk-JT7R45JB.js";
25
25
  import "./chunk-77WWLBCI.js";
26
- import "./chunk-A4JGXX2F.js";
26
+ import "./chunk-EHT2DRT4.js";
27
27
  import "./chunk-4TR3HZFT.js";
28
28
  export {
29
29
  ableTimeDependencyTarget,
@@ -17,14 +17,14 @@ import {
17
17
  toAbleTimeIssueInfo,
18
18
  updateAbleTimeTask,
19
19
  verifyAbleTimeConnection
20
- } from "./chunk-OXZMLZVK.js";
21
- import "./chunk-XHAK4FSQ.js";
22
- import "./chunk-KB4JPKMT.js";
20
+ } from "./chunk-RTQOCFIV.js";
21
+ import "./chunk-XIEDFRBP.js";
22
+ import "./chunk-ZC3TVLY6.js";
23
23
  import "./chunk-VKQGAWHY.js";
24
- import "./chunk-HO5TQG3Z.js";
24
+ import "./chunk-452Y24PW.js";
25
25
  import "./chunk-NSTQ6QKD.js";
26
26
  import "./chunk-KGZBYWZ3.js";
27
- import "./chunk-KK63BFYN.js";
27
+ import "./chunk-Z2LGMV6C.js";
28
28
  import "./chunk-WWUABK6B.js";
29
29
  import "./chunk-FJZWM2ON.js";
30
30
  export {
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  DEFAULT_ABLETIME_HOST,
5
5
  normalizeAbleTimeHost
6
- } from "./chunk-KB4JPKMT.js";
6
+ } from "./chunk-ZC3TVLY6.js";
7
7
  import {
8
8
  httpFetch
9
9
  } from "./chunk-VKQGAWHY.js";
@@ -12,10 +12,10 @@ import {
12
12
  getAbleTimeHost,
13
13
  loadAppSettings,
14
14
  saveAbleTimeConnection
15
- } from "./chunk-HO5TQG3Z.js";
15
+ } from "./chunk-452Y24PW.js";
16
16
  import "./chunk-NSTQ6QKD.js";
17
17
  import "./chunk-KGZBYWZ3.js";
18
- import "./chunk-KK63BFYN.js";
18
+ import "./chunk-Z2LGMV6C.js";
19
19
  import "./chunk-WWUABK6B.js";
20
20
  import "./chunk-FJZWM2ON.js";
21
21
 
@@ -287,7 +287,7 @@ async function startAbleTimeOAuth(opts) {
287
287
  persistAbleTimeTokens(data, { host });
288
288
  const token = data.access_token.trim();
289
289
  try {
290
- const { getAbleTimeOrientation } = await import("./abletime-RLSPFZOO.js");
290
+ const { getAbleTimeOrientation } = await import("./abletime-OGQR4LIL.js");
291
291
  const orientation = await getAbleTimeOrientation({ token, host });
292
292
  return saveAbleTimeConnection({
293
293
  accessToken: token,
@@ -20,14 +20,14 @@ import {
20
20
  parseAbleTimeOAuthCallbackUrl,
21
21
  resolveAbleTimeOAuthHost,
22
22
  startAbleTimeOAuth
23
- } from "./chunk-2I6TW4TW.js";
24
- import "./chunk-5FLTBGF2.js";
23
+ } from "./chunk-FGWUZOZN.js";
24
+ import "./chunk-IFHHPPSL.js";
25
25
  import "./chunk-N7WZ6NIN.js";
26
- import "./chunk-4URNTA75.js";
26
+ import "./chunk-KJM3E3NF.js";
27
27
  import "./chunk-WDRMZKVB.js";
28
28
  import "./chunk-JT7R45JB.js";
29
29
  import "./chunk-77WWLBCI.js";
30
- import "./chunk-A4JGXX2F.js";
30
+ import "./chunk-EHT2DRT4.js";
31
31
  import "./chunk-4TR3HZFT.js";
32
32
  export {
33
33
  ABLETIME_OAUTH_CALLBACK_PATH,
@@ -5,14 +5,14 @@ import {
5
5
  callAbleTimeRestTool,
6
6
  looksLikeAbleTimeUlid,
7
7
  textFromAbleTimeDoc
8
- } from "./chunk-W632CHCY.js";
9
- import "./chunk-5FLTBGF2.js";
8
+ } from "./chunk-66LAOKLK.js";
9
+ import "./chunk-IFHHPPSL.js";
10
10
  import "./chunk-N7WZ6NIN.js";
11
- import "./chunk-4URNTA75.js";
11
+ import "./chunk-KJM3E3NF.js";
12
12
  import "./chunk-WDRMZKVB.js";
13
13
  import "./chunk-JT7R45JB.js";
14
14
  import "./chunk-77WWLBCI.js";
15
- import "./chunk-A4JGXX2F.js";
15
+ import "./chunk-EHT2DRT4.js";
16
16
  import "./chunk-4TR3HZFT.js";
17
17
  export {
18
18
  ABLETIME_REST_PREFIX,
@@ -7,13 +7,13 @@ import {
7
7
  callAbleTimeRestTool,
8
8
  looksLikeAbleTimeUlid,
9
9
  textFromAbleTimeDoc
10
- } from "./chunk-XHAK4FSQ.js";
11
- import "./chunk-KB4JPKMT.js";
10
+ } from "./chunk-XIEDFRBP.js";
11
+ import "./chunk-ZC3TVLY6.js";
12
12
  import "./chunk-VKQGAWHY.js";
13
- import "./chunk-HO5TQG3Z.js";
13
+ import "./chunk-452Y24PW.js";
14
14
  import "./chunk-NSTQ6QKD.js";
15
15
  import "./chunk-KGZBYWZ3.js";
16
- import "./chunk-KK63BFYN.js";
16
+ import "./chunk-Z2LGMV6C.js";
17
17
  import "./chunk-WWUABK6B.js";
18
18
  import "./chunk-FJZWM2ON.js";
19
19
  export {
@@ -15,11 +15,11 @@ import {
15
15
  importCursorSdk,
16
16
  looksLikeCursorHttp2StreamClose,
17
17
  resolveCursorSdkRoot
18
- } from "../chunk-5SHYLRTU.js";
18
+ } from "../chunk-VVHHBOIA.js";
19
19
  import {
20
20
  cursorSdkStoreDir
21
- } from "../chunk-224IXQOM.js";
22
- import "../chunk-A4JGXX2F.js";
21
+ } from "../chunk-UWQ6UCIB.js";
22
+ import "../chunk-EHT2DRT4.js";
23
23
  import "../chunk-QVN2WOKJ.js";
24
24
  import {
25
25
  dropNestedElectronEnvFromProcess
@@ -46,12 +46,12 @@ import {
46
46
  resolveLoginCommand,
47
47
  resolveQuotaFallbackAgent,
48
48
  whichOnPath
49
- } from "./chunk-BXYUK6DD.js";
50
- import "./chunk-IBWVE22Z.js";
51
- import "./chunk-3O66W4TI.js";
49
+ } from "./chunk-7R5I5UWW.js";
50
+ import "./chunk-TMLS5WYR.js";
51
+ import "./chunk-WI75LO3T.js";
52
52
  import "./chunk-6K64FJDD.js";
53
53
  import "./chunk-2P4XKWV2.js";
54
- import "./chunk-CJKL7A4G.js";
54
+ import "./chunk-5F4YFGHL.js";
55
55
  import "./chunk-ROPGQRPU.js";
56
56
  import "./chunk-N7WZ6NIN.js";
57
57
  import {
@@ -62,19 +62,19 @@ import {
62
62
  preferredCursorCostCents,
63
63
  resolveCursorSdkRoot,
64
64
  turnCostUsdFromCursorUsage
65
- } from "./chunk-5SHYLRTU.js";
65
+ } from "./chunk-VVHHBOIA.js";
66
66
  import {
67
67
  ORCHESTRATOR_AGENT_KINDS,
68
68
  assertOrchestratorCapableAgent,
69
69
  coerceOrchestratorAgent,
70
70
  isOrchestratorCapableAgent
71
- } from "./chunk-4URNTA75.js";
71
+ } from "./chunk-KJM3E3NF.js";
72
72
  import "./chunk-WDRMZKVB.js";
73
73
  import "./chunk-JT7R45JB.js";
74
- import "./chunk-CXTIOJRX.js";
75
- import "./chunk-224IXQOM.js";
74
+ import "./chunk-4723RAO3.js";
75
+ import "./chunk-UWQ6UCIB.js";
76
76
  import "./chunk-77WWLBCI.js";
77
- import "./chunk-A4JGXX2F.js";
77
+ import "./chunk-EHT2DRT4.js";
78
78
  import {
79
79
  conductorBundledBinDir,
80
80
  enrichPathWithNpmGlobalBin,
@@ -55,15 +55,15 @@ import {
55
55
  resolveQuotaFallbackAgent,
56
56
  turnCostUsdFromCursorUsage,
57
57
  whichOnPath
58
- } from "./chunk-XJXS7TU6.js";
59
- import "./chunk-RUGWYZOB.js";
60
- import "./chunk-J5GON4SU.js";
58
+ } from "./chunk-GNO7RXNH.js";
59
+ import "./chunk-PL23EQ3S.js";
60
+ import "./chunk-XAISOBBG.js";
61
61
  import "./chunk-P2BSMNHB.js";
62
62
  import "./chunk-VKQGAWHY.js";
63
- import "./chunk-M5QVZYKK.js";
63
+ import "./chunk-JLLISK4D.js";
64
64
  import "./chunk-D6JWYJ4P.js";
65
- import "./chunk-PELMZRDB.js";
66
- import "./chunk-N6XI5KXL.js";
65
+ import "./chunk-RJC2MKXN.js";
66
+ import "./chunk-H547WSSZ.js";
67
67
  import "./chunk-DD67JWTN.js";
68
68
  import {
69
69
  conductorBundledBinDir,
@@ -81,10 +81,10 @@ import {
81
81
  assertOrchestratorCapableAgent,
82
82
  coerceOrchestratorAgent,
83
83
  isOrchestratorCapableAgent
84
- } from "./chunk-HO5TQG3Z.js";
84
+ } from "./chunk-452Y24PW.js";
85
85
  import "./chunk-NSTQ6QKD.js";
86
86
  import "./chunk-KGZBYWZ3.js";
87
- import "./chunk-KK63BFYN.js";
87
+ import "./chunk-Z2LGMV6C.js";
88
88
  import "./chunk-WWUABK6B.js";
89
89
  import "./chunk-FJZWM2ON.js";
90
90
  export {
@@ -104,10 +104,10 @@ import {
104
104
  updateProjectProfileSettings,
105
105
  usageOnLimit,
106
106
  writeViewerContext
107
- } from "./chunk-HO5TQG3Z.js";
107
+ } from "./chunk-452Y24PW.js";
108
108
  import "./chunk-NSTQ6QKD.js";
109
109
  import "./chunk-KGZBYWZ3.js";
110
- import "./chunk-KK63BFYN.js";
110
+ import "./chunk-Z2LGMV6C.js";
111
111
  import "./chunk-WWUABK6B.js";
112
112
  import "./chunk-FJZWM2ON.js";
113
113
  export {
@@ -102,11 +102,11 @@ import {
102
102
  updateProjectProfileSettings,
103
103
  usageOnLimit,
104
104
  writeViewerContext
105
- } from "./chunk-4URNTA75.js";
105
+ } from "./chunk-KJM3E3NF.js";
106
106
  import "./chunk-WDRMZKVB.js";
107
107
  import "./chunk-JT7R45JB.js";
108
108
  import "./chunk-77WWLBCI.js";
109
- import "./chunk-A4JGXX2F.js";
109
+ import "./chunk-EHT2DRT4.js";
110
110
  import "./chunk-4TR3HZFT.js";
111
111
  export {
112
112
  AGENT_DONE_SOUNDS,
@@ -5,9 +5,9 @@ import {
5
5
  releaseCaffeinateHoldForThread,
6
6
  setCaffeinateHold,
7
7
  setCaffeinateHoldHooks
8
- } from "./chunk-OJFEVWZN.js";
8
+ } from "./chunk-NOT4SEAM.js";
9
9
  import "./chunk-JT7R45JB.js";
10
- import "./chunk-A4JGXX2F.js";
10
+ import "./chunk-EHT2DRT4.js";
11
11
  export {
12
12
  caffeinateHoldPath,
13
13
  getCaffeinateHold,
@@ -7,9 +7,9 @@ import {
7
7
  releaseCaffeinateHoldForThread,
8
8
  setCaffeinateHold,
9
9
  setCaffeinateHoldHooks
10
- } from "./chunk-DQN5U2VH.js";
10
+ } from "./chunk-QN5DL2QO.js";
11
11
  import "./chunk-NSTQ6QKD.js";
12
- import "./chunk-KK63BFYN.js";
12
+ import "./chunk-Z2LGMV6C.js";
13
13
  export {
14
14
  caffeinateHoldPath,
15
15
  getCaffeinateHold,
@@ -25,7 +25,7 @@ import {
25
25
  resolveQuotaFallbackAgent,
26
26
  stripBrightsyNdjsonNoise,
27
27
  toolDescription
28
- } from "./chunk-BXYUK6DD.js";
28
+ } from "./chunk-7R5I5UWW.js";
29
29
  import {
30
30
  SLACK_REPLY_FORMATTING,
31
31
  addWorkspace,
@@ -48,7 +48,7 @@ import {
48
48
  stageAbsolutePathsAsAttachments,
49
49
  stageBuffersAsAttachments,
50
50
  syncWorkspacesFromThreads
51
- } from "./chunk-IBWVE22Z.js";
51
+ } from "./chunk-TMLS5WYR.js";
52
52
  import {
53
53
  addPrStackLayer,
54
54
  allocateTeamName,
@@ -98,7 +98,7 @@ import {
98
98
  worktreeDisplayLabelForGroup,
99
99
  worktreeNameFromPath,
100
100
  worktreeSlugForTicket
101
- } from "./chunk-3O66W4TI.js";
101
+ } from "./chunk-WI75LO3T.js";
102
102
  import {
103
103
  ATTACHMENTS_DIR,
104
104
  DETACHED_JOBS_DIR,
@@ -130,7 +130,7 @@ import {
130
130
  shouldRetryFailedAgentTurn,
131
131
  summarizeTurnStderr,
132
132
  turnFailChatText
133
- } from "./chunk-5SHYLRTU.js";
133
+ } from "./chunk-VVHHBOIA.js";
134
134
  import {
135
135
  HISTORY_CLEANUP_INTERVAL_HOURS_DEFAULT,
136
136
  applyTurnUsage,
@@ -161,14 +161,14 @@ import {
161
161
  sumUsageList,
162
162
  updateAdvancedSettings,
163
163
  usageOnLimit
164
- } from "./chunk-4URNTA75.js";
164
+ } from "./chunk-KJM3E3NF.js";
165
165
  import {
166
166
  examplePrefixedBranch,
167
167
  sanitizeGitBranchPrefix
168
168
  } from "./chunk-WDRMZKVB.js";
169
169
  import {
170
170
  releaseCaffeinateHoldForThread
171
- } from "./chunk-OJFEVWZN.js";
171
+ } from "./chunk-NOT4SEAM.js";
172
172
  import {
173
173
  writePrivateFile
174
174
  } from "./chunk-JT7R45JB.js";
@@ -183,7 +183,7 @@ import {
183
183
  updateThread,
184
184
  withThreadLock,
185
185
  writeThread
186
- } from "./chunk-CXTIOJRX.js";
186
+ } from "./chunk-4723RAO3.js";
187
187
  import {
188
188
  annotateDevAccessRuns,
189
189
  appDataDir,
@@ -197,7 +197,7 @@ import {
197
197
  threadsDir,
198
198
  workspaceSettingsSourceLabel,
199
199
  worktreesRoot
200
- } from "./chunk-A4JGXX2F.js";
200
+ } from "./chunk-EHT2DRT4.js";
201
201
  import {
202
202
  clearStaleIndexLocks,
203
203
  enrichPathWithNpmGlobalBin,
@@ -443,9 +443,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
443
443
  `Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
444
444
  );
445
445
  }
446
- const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-NDDNFPYH.js");
446
+ const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-GTEL4UUZ.js");
447
447
  if (isGlobalThread2(thread)) {
448
- const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-2P35JCWK.js");
448
+ const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-R7JNOUZ3.js");
449
449
  ensureGlobalCoordinatorCwd2(
450
450
  isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
451
451
  );
@@ -4166,7 +4166,7 @@ async function createThread(input, _onSetupLine) {
4166
4166
  });
4167
4167
  await requireAgent(resolved.agent);
4168
4168
  if (input.cowboy) {
4169
- const { cowboyModeEnabled } = await import("./app-settings-JQ5M3P46.js");
4169
+ const { cowboyModeEnabled } = await import("./app-settings-ONYJ36XH.js");
4170
4170
  if (!cowboyModeEnabled()) {
4171
4171
  throw new Error(
4172
4172
  "Cowboy mode is off. Enable it in Settings \u2192 Advanced."
@@ -4224,7 +4224,7 @@ async function createThread(input, _onSetupLine) {
4224
4224
  let sourceIsFork = false;
4225
4225
  if (!input.cowboy && sourceType === "branch" && (!sourceRef || sourceRef === "HEAD" || sourceRef === "default")) {
4226
4226
  if (isAbleTimeConnected() && getIssueSource() === "abletime") {
4227
- const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-EM7FH7TX.js");
4227
+ const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-IDQJI2KW.js");
4228
4228
  const task = await ensureAbleTimeTask({
4229
4229
  title: title?.trim() || "Untitled work",
4230
4230
  description: input.prompt?.trim() || void 0
@@ -4330,7 +4330,7 @@ async function createThread(input, _onSetupLine) {
4330
4330
  return readThread(thread.id) ?? thread;
4331
4331
  }
4332
4332
  async function listLinearIssues(agent, repoPath) {
4333
- const { getAdapter: getAdapter2 } = await import("./agents-L2NUSMP6.js");
4333
+ const { getAdapter: getAdapter2 } = await import("./agents-FY2DFOMV.js");
4334
4334
  await requireAgent(agent, { requireLinear: true });
4335
4335
  const adapter = getAdapter2(agent);
4336
4336
  if (!adapter.listLinearIssues) {
@@ -4803,7 +4803,7 @@ async function adoptThread(input) {
4803
4803
  messages: input.messages ?? []
4804
4804
  });
4805
4805
  writeThread(thread);
4806
- const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-GFYUCY6N.js");
4806
+ const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-PSDDVERD.js");
4807
4807
  await ensureWorkspace2(repoPath);
4808
4808
  const { ensureWorktreeSideboardIgnored: ensureWorktreeSideboardIgnored2 } = await import("./worktree-exclude-RXZPTCNH.js");
4809
4809
  await ensureWorktreeSideboardIgnored2(input.worktreePath);
@@ -7515,7 +7515,7 @@ function formatScheduledPrompt(name, prompt) {
7515
7515
  ${prompt}`;
7516
7516
  }
7517
7517
  async function defaultDeps() {
7518
- const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-5LCP6OTU.js");
7518
+ const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-7XDC4UOC.js");
7519
7519
  const orch = getOrchestrator2();
7520
7520
  return {
7521
7521
  findThread: (id) => findThreadByRef(id),
@@ -7840,7 +7840,7 @@ var Orchestrator = class {
7840
7840
  orphans: orphans.map((o) => ({ path: o.path, repoPath: o.repoPath }))
7841
7841
  });
7842
7842
  }
7843
- const { autoCleanupOrphansEnabled } = await import("./app-settings-JQ5M3P46.js");
7843
+ const { autoCleanupOrphansEnabled } = await import("./app-settings-ONYJ36XH.js");
7844
7844
  if (autoCleanupOrphansEnabled() && shouldRunWorktreeCleanup() && orphans.length > 0) {
7845
7845
  await cleanupOrphanWorktrees({ repoPaths });
7846
7846
  }
@@ -8187,7 +8187,7 @@ var Orchestrator = class {
8187
8187
  }
8188
8188
  await setup;
8189
8189
  if (skipSetup) return;
8190
- const { autoRunAfterSetupEnabled } = await import("./app-settings-JQ5M3P46.js");
8190
+ const { autoRunAfterSetupEnabled } = await import("./app-settings-ONYJ36XH.js");
8191
8191
  if (autoRunAfterSetupEnabled()) {
8192
8192
  try {
8193
8193
  await this.startDev(threadId);
@@ -8557,7 +8557,7 @@ var Orchestrator = class {
8557
8557
  }
8558
8558
  const isBrightsy = fresh.agent === "brightsy";
8559
8559
  const isOrchestration = isOrchestratorThread(fresh);
8560
- const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-JQ5M3P46.js");
8560
+ const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-ONYJ36XH.js");
8561
8561
  const gitAuthMode = getGithubGitAuthMode();
8562
8562
  const worktreeDirective = isBrightsy || isOrchestration ? null : formatWorktreeDirective(fresh, {
8563
8563
  githubSlug: await withTimeout(
@@ -8712,7 +8712,7 @@ var Orchestrator = class {
8712
8712
  if (!this.stoppedTurns.has(threadId) && this.requireThread(threadId).agent === "cursor" && exitCode !== 0 && !assistantText && parts.length === 0) {
8713
8713
  const sessionId = result.sessionId || this.requireThread(threadId).sessionId || "";
8714
8714
  if (sessionId) {
8715
- const { recoverFinishedCursorRun } = await import("./cursor-recover-DFMCTZA4.js");
8715
+ const { recoverFinishedCursorRun } = await import("./cursor-recover-A6V5UVFT.js");
8716
8716
  for (let i = 0; i < 8; i++) {
8717
8717
  const recovered = recoverFinishedCursorRun({
8718
8718
  agentId: sessionId,
@@ -9858,7 +9858,7 @@ var Orchestrator = class {
9858
9858
  if (!titled.userSetTitle && meta.title && titled.title !== meta.title) {
9859
9859
  updateThread(thread.id, { title: meta.title });
9860
9860
  }
9861
- const { autoArchiveOnMergeEnabled } = await import("./app-settings-JQ5M3P46.js");
9861
+ const { autoArchiveOnMergeEnabled } = await import("./app-settings-ONYJ36XH.js");
9862
9862
  const latest = this.requireThread(thread.id);
9863
9863
  if (!shouldAutoArchiveOnPrMerge({
9864
9864
  previousPrState: prevState || null,
@@ -10140,7 +10140,7 @@ var Orchestrator = class {
10140
10140
  this.enforceHistoryRetention();
10141
10141
  if (thread.repoPath && !isGlobalRepoPath(thread.repoPath)) {
10142
10142
  try {
10143
- const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-GFYUCY6N.js");
10143
+ const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-PSDDVERD.js");
10144
10144
  await ensureWorkspace2(thread.repoPath);
10145
10145
  } catch {
10146
10146
  }
@@ -10167,7 +10167,7 @@ var Orchestrator = class {
10167
10167
  await runArchiveScript(thread.repoPath, thread.worktreePath);
10168
10168
  } catch {
10169
10169
  }
10170
- const { deleteBranchOnPurgeEnabled } = await import("./app-settings-JQ5M3P46.js");
10170
+ const { deleteBranchOnPurgeEnabled } = await import("./app-settings-ONYJ36XH.js");
10171
10171
  const deleteBranch = opts?.deleteBranch ?? deleteBranchOnPurgeEnabled();
10172
10172
  await removeWorktree(thread.repoPath, thread.worktreePath, {
10173
10173
  deleteBranch: deleteBranch ? thread.branchName : void 0
@@ -10182,7 +10182,7 @@ var Orchestrator = class {
10182
10182
  throw new Error("Thread is not archived");
10183
10183
  }
10184
10184
  if (isGlobalThread(thread)) {
10185
- const { globalAgentCwd } = await import("./paths-O6ZEAEUD.js");
10185
+ const { globalAgentCwd } = await import("./paths-5JYXTAPC.js");
10186
10186
  updateThread(thread.id, { worktreePath: globalAgentCwd() });
10187
10187
  const restored2 = setStatus(thread.id, "idle");
10188
10188
  this.emit({ type: "status_changed", threadId: restored2.id, status: restored2.status });
@@ -10194,7 +10194,7 @@ var Orchestrator = class {
10194
10194
  `Cowboy checkout missing: ${thread.worktreePath}. Re-add the project folder, then restore.`
10195
10195
  );
10196
10196
  }
10197
- const { createThreadWorktree: createThreadWorktree2 } = await import("./worktree-UNY4QGFJ.js");
10197
+ const { createThreadWorktree: createThreadWorktree2 } = await import("./worktree-Q4T7RSSW.js");
10198
10198
  const slug = thread.worktreePath.split("/").pop();
10199
10199
  const dest = thread.worktreePath;
10200
10200
  await withRepoGitLock(thread.repoPath, async () => {
@@ -10304,7 +10304,7 @@ async function startOrchestration(opts) {
10304
10304
  sourceRef: "default",
10305
10305
  ...createOpts
10306
10306
  }).catch(async () => {
10307
- const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-UNY4QGFJ.js");
10307
+ const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-Q4T7RSSW.js");
10308
10308
  const repo = await resolveRepoRoot2(repoPath);
10309
10309
  const def = await resolveDefaultBranch2(repo);
10310
10310
  return orch.createThread({
@@ -10314,7 +10314,7 @@ async function startOrchestration(opts) {
10314
10314
  repoPath: repo
10315
10315
  });
10316
10316
  });
10317
- const { updateThread: upd } = await import("./thread-store-S6PJADDM.js");
10317
+ const { updateThread: upd } = await import("./thread-store-ZDR3Z5UG.js");
10318
10318
  const updated = upd(thread.id, {
10319
10319
  sourceType: "orchestration",
10320
10320
  sourceRef: goal
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-KGZBYWZ3.js";
10
10
  import {
11
11
  appDataDir
12
- } from "./chunk-KK63BFYN.js";
12
+ } from "./chunk-Z2LGMV6C.js";
13
13
  import {
14
14
  stripNestedElectronEnv
15
15
  } from "./chunk-WWUABK6B.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  cursorSdkStoreDir
3
- } from "./chunk-224IXQOM.js";
3
+ } from "./chunk-UWQ6UCIB.js";
4
4
  import {
5
5
  normalizeThinkingEffort
6
6
  } from "./chunk-77WWLBCI.js";
@@ -8,7 +8,7 @@ import {
8
8
  threadFilePath,
9
9
  threadLockPath,
10
10
  threadsDir
11
- } from "./chunk-A4JGXX2F.js";
11
+ } from "./chunk-EHT2DRT4.js";
12
12
 
13
13
  // src/store/thread-store.ts
14
14
  import { randomUUID } from "crypto";
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-ROPGQRPU.js";
9
9
  import {
10
10
  appDataDir
11
- } from "./chunk-A4JGXX2F.js";
11
+ } from "./chunk-EHT2DRT4.js";
12
12
  import {
13
13
  run
14
14
  } from "./chunk-QVN2WOKJ.js";
@@ -19,7 +19,7 @@ import { join } from "path";
19
19
 
20
20
  // src/brightsy/accounts.ts
21
21
  async function loadConnectedTeams() {
22
- const { listConnectedBrightsyTeams: listConnectedBrightsyTeams2 } = await import("./connected-teams-GXV22ZSF.js");
22
+ const { listConnectedBrightsyTeams: listConnectedBrightsyTeams2 } = await import("./connected-teams-Z5GOIC5I.js");
23
23
  return listConnectedBrightsyTeams2();
24
24
  }
25
25
  async function runBrightsyTeamsJson(args) {
@@ -48,14 +48,14 @@ async function listBrightsyAccounts() {
48
48
  async function getBrightsySession() {
49
49
  try {
50
50
  const { ensureBrightsyLocalConfigFresh: ensureBrightsyLocalConfigFresh2 } = await import("./oauth-S3M7B475.js");
51
- const { ensureConnectedBrightsyTeamTokens: ensureConnectedBrightsyTeamTokens2 } = await import("./connected-teams-GXV22ZSF.js");
51
+ const { ensureConnectedBrightsyTeamTokens: ensureConnectedBrightsyTeamTokens2 } = await import("./connected-teams-Z5GOIC5I.js");
52
52
  await ensureBrightsyLocalConfigFresh2();
53
53
  await ensureConnectedBrightsyTeamTokens2();
54
54
  loadBrightsyConfig();
55
55
  const data = await runBrightsyTeamsJson([]);
56
56
  const accounts = Array.isArray(data.teams) ? data.teams : [];
57
57
  const active = data.active ?? accounts.find((a) => a.active) ?? null;
58
- const { ensureCliTeamTracked: ensureCliTeamTracked2 } = await import("./connected-teams-GXV22ZSF.js");
58
+ const { ensureCliTeamTracked: ensureCliTeamTracked2 } = await import("./connected-teams-Z5GOIC5I.js");
59
59
  const connectedTeams = ensureCliTeamTracked2(
60
60
  active ? { id: active.id, slug: active.slug, name: active.name } : void 0
61
61
  );
@@ -95,7 +95,7 @@ async function performBrightsyAccountSwitch(accountIdOrSlug) {
95
95
  return { cfg, target: data.active };
96
96
  }
97
97
  async function switchBrightsyAccount(accountIdOrSlug) {
98
- const { connectBrightsyTeam: connectBrightsyTeam2 } = await import("./connected-teams-GXV22ZSF.js");
98
+ const { connectBrightsyTeam: connectBrightsyTeam2 } = await import("./connected-teams-Z5GOIC5I.js");
99
99
  await connectBrightsyTeam2(accountIdOrSlug);
100
100
  return getBrightsySession();
101
101
  }
@@ -4,14 +4,14 @@ import {
4
4
  normalizeAbleTimeCredential,
5
5
  normalizeAbleTimeHost,
6
6
  rewriteAbleTimeError
7
- } from "./chunk-5FLTBGF2.js";
7
+ } from "./chunk-IFHHPPSL.js";
8
8
  import {
9
9
  httpFetch
10
10
  } from "./chunk-N7WZ6NIN.js";
11
11
  import {
12
12
  getAbleTimeAccessToken,
13
13
  getAbleTimeHost
14
- } from "./chunk-4URNTA75.js";
14
+ } from "./chunk-KJM3E3NF.js";
15
15
 
16
16
  // src/integrations/abletime-rest.ts
17
17
  var ABLETIME_REST_PREFIX = "/api/public/v2";