@sideboard-ai/core 0.1.235 → 0.1.236

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 (67) hide show
  1. package/dist/{abletime-WZNDTRVL.js → abletime-KOGCIQCO.js} +5 -5
  2. package/dist/{abletime-BGVOCEOU.js → abletime-VSV6AUBV.js} +5 -5
  3. package/dist/{abletime-oauth-ZLU2EYRK.js → abletime-oauth-LY7KZICW.js} +4 -4
  4. package/dist/{abletime-oauth-6M5GWEPX.js → abletime-oauth-QMDV45JC.js} +4 -4
  5. package/dist/{abletime-rest-WNHIATB3.js → abletime-rest-LXOWKPL7.js} +4 -4
  6. package/dist/{abletime-rest-F7XG5NGY.js → abletime-rest-NL56UVK5.js} +4 -4
  7. package/dist/agents/cursor-runner.cjs +39 -35
  8. package/dist/agents/cursor-runner.js +3 -3
  9. package/dist/{agents-37JCAVSC.js → agents-JC6DRIT3.js} +9 -9
  10. package/dist/{agents-MOMMKSYV.js → agents-S4HYHRL3.js} +8 -8
  11. package/dist/{app-settings-KBL2G7M4.js → app-settings-2CFCRYD7.js} +2 -2
  12. package/dist/{app-settings-UXWCPDEA.js → app-settings-I27UBVI4.js} +2 -2
  13. package/dist/{caffeinate-hold-OK4JJ5PP.js → caffeinate-hold-FNKIPXDU.js} +2 -2
  14. package/dist/{caffeinate-hold-22VFDPSO.js → caffeinate-hold-PXHGH7ZN.js} +2 -2
  15. package/dist/{chunk-7J72QJOM.js → chunk-224IXQOM.js} +1 -1
  16. package/dist/{chunk-4VGCG2HV.js → chunk-3AJUH66R.js} +2 -2
  17. package/dist/{chunk-P6ZM5QJW.js → chunk-3PGFAVFL.js} +2 -2
  18. package/dist/{chunk-RZTRWN2V.js → chunk-4H5WO4H3.js} +1 -1
  19. package/dist/{chunk-MVLXDYN5.js → chunk-5ELC3KK3.js} +5 -5
  20. package/dist/{chunk-WPD7BR6C.js → chunk-5SHYLRTU.js} +1 -1
  21. package/dist/{chunk-S2OEFXST.js → chunk-5UN5C5WP.js} +5 -5
  22. package/dist/{chunk-LJWF3VA3.js → chunk-6Q2CFQ4D.js} +74 -30
  23. package/dist/{chunk-WFUDY6PC.js → chunk-A4JGXX2F.js} +155 -24
  24. package/dist/{chunk-EAYXD2IC.js → chunk-ANGPU5JL.js} +282 -14
  25. package/dist/{chunk-GHRZNPBK.js → chunk-C2CBF4YE.js} +2 -2
  26. package/dist/{chunk-TNVJPFHM.js → chunk-CJKL7A4G.js} +5 -5
  27. package/dist/{chunk-SWNEA5OZ.js → chunk-CRAXJAYJ.js} +3 -3
  28. package/dist/{chunk-C774RJJA.js → chunk-CWHMLCLN.js} +3 -3
  29. package/dist/{chunk-YWI3IBP2.js → chunk-DQN5U2VH.js} +1 -1
  30. package/dist/{chunk-D4VKJO5C.js → chunk-DYXNBXE3.js} +304 -16
  31. package/dist/{chunk-SPAMHHJH.js → chunk-J5GON4SU.js} +1 -1
  32. package/dist/{chunk-4VFOJZPS.js → chunk-JXZS56VW.js} +3 -3
  33. package/dist/{chunk-EQNRWDLN.js → chunk-KK63BFYN.js} +151 -24
  34. package/dist/{chunk-X5B3OS5I.js → chunk-N6XI5KXL.js} +1 -1
  35. package/dist/{chunk-XJETIO4K.js → chunk-NJ5OXOTN.js} +2 -2
  36. package/dist/{chunk-RGNPPRZZ.js → chunk-NYAEMZ3L.js} +3 -3
  37. package/dist/{chunk-7H2CVVLF.js → chunk-O3UAQAYA.js} +3 -3
  38. package/dist/{chunk-4TYXWPAJ.js → chunk-OJFEVWZN.js} +1 -1
  39. package/dist/{chunk-I5NC7DWO.js → chunk-P3DCZRER.js} +1 -1
  40. package/dist/{chunk-TWXSZYR2.js → chunk-RRXRLHIE.js} +5 -5
  41. package/dist/{chunk-AS4UN7QL.js → chunk-VVOAXBND.js} +5 -5
  42. package/dist/{chunk-7366AB7E.js → chunk-XMCJDWPA.js} +77 -32
  43. package/dist/{connected-teams-KQUDU7LZ.js → connected-teams-62AJRDDD.js} +2 -2
  44. package/dist/{connected-teams-JUJAQZZE.js → connected-teams-GXV22ZSF.js} +2 -2
  45. package/dist/{coordinator-prompt-CE7MN6QY.js → coordinator-prompt-2BRUH7PJ.js} +6 -6
  46. package/dist/{coordinator-prompt-IGDMFKCD.js → coordinator-prompt-BIP7ZEJ3.js} +6 -6
  47. package/dist/{cursor-recover-DTQAUDGO.js → cursor-recover-DFMCTZA4.js} +2 -2
  48. package/dist/{cursor-recover-4PQAADAU.js → cursor-recover-K3EBEM7M.js} +2 -2
  49. package/dist/{global-workspace-7WH24UFO.js → global-workspace-3XZN3QHZ.js} +6 -6
  50. package/dist/{global-workspace-NCIC2Y2U.js → global-workspace-DWCFG7LP.js} +6 -6
  51. package/dist/index.cjs +1219 -707
  52. package/dist/index.d.cts +70 -1
  53. package/dist/index.d.ts +70 -1
  54. package/dist/index.js +79 -23
  55. package/dist/mcp/run-stdio.cjs +1123 -659
  56. package/dist/mcp/run-stdio.js +45 -22
  57. package/dist/{orchestrator-6NPBOBNA.js → orchestrator-AYPDBGIF.js} +10 -10
  58. package/dist/{orchestrator-RKWRI3PJ.js → orchestrator-TEJJAQWP.js} +11 -11
  59. package/dist/{paths-C2VERLAE.js → paths-LGKOG7MY.js} +1 -1
  60. package/dist/{paths-LOXCISLX.js → paths-O6ZEAEUD.js} +1 -1
  61. package/dist/{thread-store-IKJD4EOK.js → thread-store-AYPBEZT5.js} +3 -3
  62. package/dist/{thread-store-FBK5SZ5P.js → thread-store-YOPKY74K.js} +3 -3
  63. package/dist/{workspaces-H2TRFDE2.js → workspaces-NYT2472Z.js} +6 -6
  64. package/dist/{workspaces-NSQZSDQD.js → workspaces-V7522TQH.js} +6 -6
  65. package/dist/{worktree-W7BSI4GU.js → worktree-AGVPKDBH.js} +5 -5
  66. package/dist/{worktree-FMIX4BRV.js → worktree-IRALYI6A.js} +5 -5
  67. package/package.json +1 -1
@@ -17,14 +17,14 @@ import {
17
17
  toAbleTimeIssueInfo,
18
18
  updateAbleTimeTask,
19
19
  verifyAbleTimeConnection
20
- } from "./chunk-RGNPPRZZ.js";
21
- import "./chunk-GHRZNPBK.js";
22
- import "./chunk-AS4UN7QL.js";
20
+ } from "./chunk-NYAEMZ3L.js";
21
+ import "./chunk-C2CBF4YE.js";
22
+ import "./chunk-VVOAXBND.js";
23
23
  import "./chunk-VKQGAWHY.js";
24
- import "./chunk-RZTRWN2V.js";
24
+ import "./chunk-4H5WO4H3.js";
25
25
  import "./chunk-NSTQ6QKD.js";
26
26
  import "./chunk-KGZBYWZ3.js";
27
- import "./chunk-EQNRWDLN.js";
27
+ import "./chunk-KK63BFYN.js";
28
28
  import "./chunk-WWUABK6B.js";
29
29
  import "./chunk-FJZWM2ON.js";
30
30
  export {
@@ -15,15 +15,15 @@ import {
15
15
  toAbleTimeIssueInfo,
16
16
  updateAbleTimeTask,
17
17
  verifyAbleTimeConnection
18
- } from "./chunk-SWNEA5OZ.js";
19
- import "./chunk-P6ZM5QJW.js";
20
- import "./chunk-MVLXDYN5.js";
18
+ } from "./chunk-CRAXJAYJ.js";
19
+ import "./chunk-3PGFAVFL.js";
20
+ import "./chunk-5ELC3KK3.js";
21
21
  import "./chunk-N7WZ6NIN.js";
22
- import "./chunk-I5NC7DWO.js";
22
+ import "./chunk-P3DCZRER.js";
23
23
  import "./chunk-WDRMZKVB.js";
24
24
  import "./chunk-JT7R45JB.js";
25
25
  import "./chunk-77WWLBCI.js";
26
- import "./chunk-WFUDY6PC.js";
26
+ import "./chunk-A4JGXX2F.js";
27
27
  import "./chunk-4TR3HZFT.js";
28
28
  export {
29
29
  ableTimeDependencyTarget,
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  DEFAULT_ABLETIME_HOST,
5
5
  normalizeAbleTimeHost
6
- } from "./chunk-AS4UN7QL.js";
6
+ } from "./chunk-VVOAXBND.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-RZTRWN2V.js";
15
+ } from "./chunk-4H5WO4H3.js";
16
16
  import "./chunk-NSTQ6QKD.js";
17
17
  import "./chunk-KGZBYWZ3.js";
18
- import "./chunk-EQNRWDLN.js";
18
+ import "./chunk-KK63BFYN.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-WZNDTRVL.js");
290
+ const { getAbleTimeOrientation } = await import("./abletime-KOGCIQCO.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-C774RJJA.js";
24
- import "./chunk-MVLXDYN5.js";
23
+ } from "./chunk-CWHMLCLN.js";
24
+ import "./chunk-5ELC3KK3.js";
25
25
  import "./chunk-N7WZ6NIN.js";
26
- import "./chunk-I5NC7DWO.js";
26
+ import "./chunk-P3DCZRER.js";
27
27
  import "./chunk-WDRMZKVB.js";
28
28
  import "./chunk-JT7R45JB.js";
29
29
  import "./chunk-77WWLBCI.js";
30
- import "./chunk-WFUDY6PC.js";
30
+ import "./chunk-A4JGXX2F.js";
31
31
  import "./chunk-4TR3HZFT.js";
32
32
  export {
33
33
  ABLETIME_OAUTH_CALLBACK_PATH,
@@ -7,13 +7,13 @@ import {
7
7
  callAbleTimeRestTool,
8
8
  looksLikeAbleTimeUlid,
9
9
  textFromAbleTimeDoc
10
- } from "./chunk-GHRZNPBK.js";
11
- import "./chunk-AS4UN7QL.js";
10
+ } from "./chunk-C2CBF4YE.js";
11
+ import "./chunk-VVOAXBND.js";
12
12
  import "./chunk-VKQGAWHY.js";
13
- import "./chunk-RZTRWN2V.js";
13
+ import "./chunk-4H5WO4H3.js";
14
14
  import "./chunk-NSTQ6QKD.js";
15
15
  import "./chunk-KGZBYWZ3.js";
16
- import "./chunk-EQNRWDLN.js";
16
+ import "./chunk-KK63BFYN.js";
17
17
  import "./chunk-WWUABK6B.js";
18
18
  import "./chunk-FJZWM2ON.js";
19
19
  export {
@@ -5,14 +5,14 @@ import {
5
5
  callAbleTimeRestTool,
6
6
  looksLikeAbleTimeUlid,
7
7
  textFromAbleTimeDoc
8
- } from "./chunk-P6ZM5QJW.js";
9
- import "./chunk-MVLXDYN5.js";
8
+ } from "./chunk-3PGFAVFL.js";
9
+ import "./chunk-5ELC3KK3.js";
10
10
  import "./chunk-N7WZ6NIN.js";
11
- import "./chunk-I5NC7DWO.js";
11
+ import "./chunk-P3DCZRER.js";
12
12
  import "./chunk-WDRMZKVB.js";
13
13
  import "./chunk-JT7R45JB.js";
14
14
  import "./chunk-77WWLBCI.js";
15
- import "./chunk-WFUDY6PC.js";
15
+ import "./chunk-A4JGXX2F.js";
16
16
  import "./chunk-4TR3HZFT.js";
17
17
  export {
18
18
  ABLETIME_REST_PREFIX,
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  ));
25
25
 
26
26
  // src/agents/cursor-runner.ts
27
- var import_node_fs13 = require("fs");
27
+ var import_node_fs14 = require("fs");
28
28
  var import_node_readline2 = require("readline");
29
29
 
30
30
  // src/hook/nested-electron-env.ts
@@ -45,9 +45,9 @@ var STRIP_NESTED_ELECTRON_THEN_EXEC = [
45
45
  ].join("; ");
46
46
 
47
47
  // src/agents/cursor-ripgrep.ts
48
- var import_node_fs12 = require("fs");
48
+ var import_node_fs13 = require("fs");
49
49
  var import_node_module2 = require("module");
50
- var import_node_path13 = require("path");
50
+ var import_node_path14 = require("path");
51
51
 
52
52
  // src/agents/cursor-sdk-resolve.ts
53
53
  var import_node_fs2 = require("fs");
@@ -192,26 +192,26 @@ function cursorSdkRipgrepCandidate(opts) {
192
192
  }
193
193
 
194
194
  // src/agents/node-launch.ts
195
- var import_node_fs11 = require("fs");
195
+ var import_node_fs12 = require("fs");
196
196
  var import_node_os5 = require("os");
197
- var import_node_path12 = require("path");
197
+ var import_node_path13 = require("path");
198
198
 
199
199
  // src/http/system-ca.ts
200
200
  var import_node_child_process2 = require("child_process");
201
- var import_node_fs7 = require("fs");
202
- var import_node_path8 = require("path");
201
+ var import_node_fs8 = require("fs");
202
+ var import_node_path9 = require("path");
203
203
  var import_node_tls = __toESM(require("tls"), 1);
204
204
 
205
205
  // src/store/paths.ts
206
- var import_node_path6 = require("path");
207
- var import_node_os3 = require("os");
208
206
  var import_node_path7 = require("path");
209
- var import_node_fs6 = require("fs");
207
+ var import_node_os3 = require("os");
208
+ var import_node_path8 = require("path");
209
+ var import_node_fs7 = require("fs");
210
210
 
211
211
  // src/hook/settings.ts
212
- var import_node_fs5 = require("fs");
212
+ var import_node_fs6 = require("fs");
213
213
  var import_node_os2 = require("os");
214
- var import_node_path5 = require("path");
214
+ var import_node_path6 = require("path");
215
215
  var import_smol_toml = require("smol-toml");
216
216
 
217
217
  // src/hook/convention-setup.ts
@@ -224,11 +224,15 @@ var import_node_path4 = require("path");
224
224
  var import_execa = require("execa");
225
225
  var import_node_readline = require("readline");
226
226
 
227
+ // src/hook/dev-preview.ts
228
+ var import_node_fs5 = require("fs");
229
+ var import_node_path5 = require("path");
230
+
227
231
  // src/store/paths.ts
228
232
  function appDataDir() {
229
233
  const override = process.env.SIDEBOARD_APP_DATA?.trim();
230
- const base = override ? override : process.platform === "darwin" ? (0, import_node_path7.join)((0, import_node_os3.homedir)(), "Library", "Application Support", "sideboard") : process.platform === "win32" ? (0, import_node_path7.join)(process.env.APPDATA ?? (0, import_node_path7.join)((0, import_node_os3.homedir)(), "AppData", "Roaming"), "sideboard") : (0, import_node_path7.join)((0, import_node_os3.homedir)(), ".local", "share", "sideboard");
231
- (0, import_node_fs6.mkdirSync)(base, { recursive: true });
234
+ const base = override ? override : process.platform === "darwin" ? (0, import_node_path8.join)((0, import_node_os3.homedir)(), "Library", "Application Support", "sideboard") : process.platform === "win32" ? (0, import_node_path8.join)(process.env.APPDATA ?? (0, import_node_path8.join)((0, import_node_os3.homedir)(), "AppData", "Roaming"), "sideboard") : (0, import_node_path8.join)((0, import_node_os3.homedir)(), ".local", "share", "sideboard");
235
+ (0, import_node_fs7.mkdirSync)(base, { recursive: true });
232
236
  return base;
233
237
  }
234
238
 
@@ -239,17 +243,17 @@ var BUNDLE_MAX_AGE_MS = 24 * 60 * 60 * 1e3;
239
243
  var import_execa2 = require("execa");
240
244
 
241
245
  // src/git/github-agent-auth.ts
242
- var import_node_fs8 = require("fs");
243
- var import_node_os4 = require("os");
244
- var import_node_path9 = require("path");
245
-
246
- // src/git/stale-lock.ts
247
246
  var import_node_fs9 = require("fs");
247
+ var import_node_os4 = require("os");
248
248
  var import_node_path10 = require("path");
249
249
 
250
- // src/agents/packaged-runtime.ts
250
+ // src/git/stale-lock.ts
251
251
  var import_node_fs10 = require("fs");
252
252
  var import_node_path11 = require("path");
253
+
254
+ // src/agents/packaged-runtime.ts
255
+ var import_node_fs11 = require("fs");
256
+ var import_node_path12 = require("path");
253
257
  function electronResourcesPath() {
254
258
  const resources = process.resourcesPath;
255
259
  if (typeof resources !== "string" || !resources) return null;
@@ -258,14 +262,14 @@ function electronResourcesPath() {
258
262
  function packagedCursorRuntimeDir() {
259
263
  const resources = electronResourcesPath();
260
264
  if (!resources) return null;
261
- const dir = (0, import_node_path11.join)(resources, "cursor-runtime");
262
- if (!(0, import_node_fs10.existsSync)((0, import_node_path11.join)(dir, "core-dist", "agents", "cursor-runner.js"))) return null;
265
+ const dir = (0, import_node_path12.join)(resources, "cursor-runtime");
266
+ if (!(0, import_node_fs11.existsSync)((0, import_node_path12.join)(dir, "core-dist", "agents", "cursor-runner.js"))) return null;
263
267
  return dir;
264
268
  }
265
269
  function packagedCursorRipgrepCandidate(platformPkg, binName) {
266
270
  const dir = packagedCursorRuntimeDir();
267
271
  if (!dir) return null;
268
- return (0, import_node_path11.join)(dir, "node_modules", platformPkg, "bin", binName);
272
+ return (0, import_node_path12.join)(dir, "node_modules", platformPkg, "bin", binName);
269
273
  }
270
274
 
271
275
  // src/agents/node-launch.ts
@@ -277,7 +281,7 @@ function unpackedAsarPath(filePath) {
277
281
  if (!isAsarPath(filePath)) return null;
278
282
  const unpacked = filePath.replace(/\.asar(?=[/\\])/, ".asar.unpacked");
279
283
  if (unpacked === filePath) return null;
280
- return (0, import_node_fs11.existsSync)(unpacked) ? unpacked : null;
284
+ return (0, import_node_fs12.existsSync)(unpacked) ? unpacked : null;
281
285
  }
282
286
  function nodeReadableScriptPath(scriptPath) {
283
287
  return unpackedAsarPath(scriptPath) ?? scriptPath;
@@ -293,21 +297,21 @@ function platformRipgrepPackage() {
293
297
  }
294
298
  function usableRipgrepPath(candidate) {
295
299
  const raw = candidate?.trim();
296
- if (!raw || !(0, import_node_path13.isAbsolute)(raw)) return null;
300
+ if (!raw || !(0, import_node_path14.isAbsolute)(raw)) return null;
297
301
  const readable = nodeReadableScriptPath(raw);
298
- if (!(0, import_node_fs12.existsSync)(readable) || isAsarPath(readable)) return null;
302
+ if (!(0, import_node_fs13.existsSync)(readable) || isAsarPath(readable)) return null;
299
303
  return readable;
300
304
  }
301
305
  function walkForBundledRipgrep(startFile) {
302
306
  if (!startFile) return null;
303
307
  const pkg = platformRipgrepPackage();
304
308
  const name = rgBinaryName();
305
- let dir = (0, import_node_path13.dirname)((0, import_node_path13.resolve)(startFile));
306
- const root = (0, import_node_path13.parse)(dir).root;
309
+ let dir = (0, import_node_path14.dirname)((0, import_node_path14.resolve)(startFile));
310
+ const root = (0, import_node_path14.parse)(dir).root;
307
311
  while (dir !== root) {
308
- const hit = usableRipgrepPath((0, import_node_path13.join)(dir, "node_modules", pkg, "bin", name));
312
+ const hit = usableRipgrepPath((0, import_node_path14.join)(dir, "node_modules", pkg, "bin", name));
309
313
  if (hit) return hit;
310
- const next = (0, import_node_path13.dirname)(dir);
314
+ const next = (0, import_node_path14.dirname)(dir);
311
315
  if (next === dir) break;
312
316
  dir = next;
313
317
  }
@@ -317,7 +321,7 @@ function requireResolveBundledRipgrep(fromFile) {
317
321
  try {
318
322
  const req = (0, import_node_module2.createRequire)(fromFile);
319
323
  const pkgJson = req.resolve(`${platformRipgrepPackage()}/package.json`);
320
- return usableRipgrepPath((0, import_node_path13.join)((0, import_node_path13.dirname)(pkgJson), "bin", rgBinaryName()));
324
+ return usableRipgrepPath((0, import_node_path14.join)((0, import_node_path14.dirname)(pkgJson), "bin", rgBinaryName()));
321
325
  } catch {
322
326
  return null;
323
327
  }
@@ -343,13 +347,13 @@ function ensureCursorRipgrepPath(opts) {
343
347
  }
344
348
 
345
349
  // src/agents/cursor-store.ts
346
- var import_node_path14 = require("path");
350
+ var import_node_path15 = require("path");
347
351
  var CURSOR_SDK_STORE_DIR = "cursor-sdk-store";
348
352
  function cursorSdkStoreDir(threadId) {
349
- const root = (0, import_node_path14.join)(appDataDir(), CURSOR_SDK_STORE_DIR);
353
+ const root = (0, import_node_path15.join)(appDataDir(), CURSOR_SDK_STORE_DIR);
350
354
  const id = sanitizeCursorStoreSegment(threadId);
351
355
  if (!id) return root;
352
- return (0, import_node_path14.join)(root, "threads", id);
356
+ return (0, import_node_path15.join)(root, "threads", id);
353
357
  }
354
358
  function sanitizeCursorStoreSegment(threadId) {
355
359
  return (threadId ?? "").trim().replace(/[^a-zA-Z0-9._-]/g, "_");
@@ -879,7 +883,7 @@ function emit(event) {
879
883
  }
880
884
  function localAgentStore(Store, threadId) {
881
885
  const root = cursorSdkStoreDir(threadId);
882
- (0, import_node_fs13.mkdirSync)(root, { recursive: true });
886
+ (0, import_node_fs14.mkdirSync)(root, { recursive: true });
883
887
  return new Store(root);
884
888
  }
885
889
  async function cancelStaleLocalRuns(Agent, agentId, opts) {
@@ -15,11 +15,11 @@ import {
15
15
  importCursorSdk,
16
16
  looksLikeCursorHttp2StreamClose,
17
17
  resolveCursorSdkRoot
18
- } from "../chunk-WPD7BR6C.js";
18
+ } from "../chunk-5SHYLRTU.js";
19
19
  import {
20
20
  cursorSdkStoreDir
21
- } from "../chunk-7J72QJOM.js";
22
- import "../chunk-WFUDY6PC.js";
21
+ } from "../chunk-224IXQOM.js";
22
+ import "../chunk-A4JGXX2F.js";
23
23
  import "../chunk-QVN2WOKJ.js";
24
24
  import {
25
25
  dropNestedElectronEnvFromProcess
@@ -44,12 +44,12 @@ import {
44
44
  resolveLoginCommand,
45
45
  resolveQuotaFallbackAgent,
46
46
  whichOnPath
47
- } from "./chunk-D4VKJO5C.js";
48
- import "./chunk-S2OEFXST.js";
49
- import "./chunk-7H2CVVLF.js";
47
+ } from "./chunk-DYXNBXE3.js";
48
+ import "./chunk-5UN5C5WP.js";
49
+ import "./chunk-O3UAQAYA.js";
50
50
  import "./chunk-6K64FJDD.js";
51
51
  import "./chunk-2P4XKWV2.js";
52
- import "./chunk-TNVJPFHM.js";
52
+ import "./chunk-CJKL7A4G.js";
53
53
  import "./chunk-ROPGQRPU.js";
54
54
  import "./chunk-N7WZ6NIN.js";
55
55
  import {
@@ -60,19 +60,19 @@ import {
60
60
  preferredCursorCostCents,
61
61
  resolveCursorSdkRoot,
62
62
  turnCostUsdFromCursorUsage
63
- } from "./chunk-WPD7BR6C.js";
63
+ } from "./chunk-5SHYLRTU.js";
64
64
  import {
65
65
  ORCHESTRATOR_AGENT_KINDS,
66
66
  assertOrchestratorCapableAgent,
67
67
  coerceOrchestratorAgent,
68
68
  isOrchestratorCapableAgent
69
- } from "./chunk-I5NC7DWO.js";
69
+ } from "./chunk-P3DCZRER.js";
70
70
  import "./chunk-WDRMZKVB.js";
71
71
  import "./chunk-JT7R45JB.js";
72
- import "./chunk-4VGCG2HV.js";
73
- import "./chunk-7J72QJOM.js";
72
+ import "./chunk-3AJUH66R.js";
73
+ import "./chunk-224IXQOM.js";
74
74
  import "./chunk-77WWLBCI.js";
75
- import "./chunk-WFUDY6PC.js";
75
+ import "./chunk-A4JGXX2F.js";
76
76
  import {
77
77
  conductorBundledBinDir,
78
78
  enrichPathWithNpmGlobalBin,
@@ -53,15 +53,15 @@ import {
53
53
  resolveQuotaFallbackAgent,
54
54
  turnCostUsdFromCursorUsage,
55
55
  whichOnPath
56
- } from "./chunk-EAYXD2IC.js";
57
- import "./chunk-TWXSZYR2.js";
58
- import "./chunk-SPAMHHJH.js";
56
+ } from "./chunk-ANGPU5JL.js";
57
+ import "./chunk-RRXRLHIE.js";
58
+ import "./chunk-J5GON4SU.js";
59
59
  import "./chunk-P2BSMNHB.js";
60
60
  import "./chunk-VKQGAWHY.js";
61
- import "./chunk-4VFOJZPS.js";
61
+ import "./chunk-JXZS56VW.js";
62
62
  import "./chunk-D6JWYJ4P.js";
63
- import "./chunk-XJETIO4K.js";
64
- import "./chunk-X5B3OS5I.js";
63
+ import "./chunk-NJ5OXOTN.js";
64
+ import "./chunk-N6XI5KXL.js";
65
65
  import "./chunk-DD67JWTN.js";
66
66
  import {
67
67
  conductorBundledBinDir,
@@ -79,10 +79,10 @@ import {
79
79
  assertOrchestratorCapableAgent,
80
80
  coerceOrchestratorAgent,
81
81
  isOrchestratorCapableAgent
82
- } from "./chunk-RZTRWN2V.js";
82
+ } from "./chunk-4H5WO4H3.js";
83
83
  import "./chunk-NSTQ6QKD.js";
84
84
  import "./chunk-KGZBYWZ3.js";
85
- import "./chunk-EQNRWDLN.js";
85
+ import "./chunk-KK63BFYN.js";
86
86
  import "./chunk-WWUABK6B.js";
87
87
  import "./chunk-FJZWM2ON.js";
88
88
  export {
@@ -97,10 +97,10 @@ import {
97
97
  updateProjectProfileSettings,
98
98
  usageOnLimit,
99
99
  writeViewerContext
100
- } from "./chunk-RZTRWN2V.js";
100
+ } from "./chunk-4H5WO4H3.js";
101
101
  import "./chunk-NSTQ6QKD.js";
102
102
  import "./chunk-KGZBYWZ3.js";
103
- import "./chunk-EQNRWDLN.js";
103
+ import "./chunk-KK63BFYN.js";
104
104
  import "./chunk-WWUABK6B.js";
105
105
  import "./chunk-FJZWM2ON.js";
106
106
  export {
@@ -95,11 +95,11 @@ import {
95
95
  updateProjectProfileSettings,
96
96
  usageOnLimit,
97
97
  writeViewerContext
98
- } from "./chunk-I5NC7DWO.js";
98
+ } from "./chunk-P3DCZRER.js";
99
99
  import "./chunk-WDRMZKVB.js";
100
100
  import "./chunk-JT7R45JB.js";
101
101
  import "./chunk-77WWLBCI.js";
102
- import "./chunk-WFUDY6PC.js";
102
+ import "./chunk-A4JGXX2F.js";
103
103
  import "./chunk-4TR3HZFT.js";
104
104
  export {
105
105
  AGENT_DONE_SOUNDS,
@@ -7,9 +7,9 @@ import {
7
7
  releaseCaffeinateHoldForThread,
8
8
  setCaffeinateHold,
9
9
  setCaffeinateHoldHooks
10
- } from "./chunk-YWI3IBP2.js";
10
+ } from "./chunk-DQN5U2VH.js";
11
11
  import "./chunk-NSTQ6QKD.js";
12
- import "./chunk-EQNRWDLN.js";
12
+ import "./chunk-KK63BFYN.js";
13
13
  export {
14
14
  caffeinateHoldPath,
15
15
  getCaffeinateHold,
@@ -5,9 +5,9 @@ import {
5
5
  releaseCaffeinateHoldForThread,
6
6
  setCaffeinateHold,
7
7
  setCaffeinateHoldHooks
8
- } from "./chunk-4TYXWPAJ.js";
8
+ } from "./chunk-OJFEVWZN.js";
9
9
  import "./chunk-JT7R45JB.js";
10
- import "./chunk-WFUDY6PC.js";
10
+ import "./chunk-A4JGXX2F.js";
11
11
  export {
12
12
  caffeinateHoldPath,
13
13
  getCaffeinateHold,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  appDataDir
3
- } from "./chunk-WFUDY6PC.js";
3
+ } from "./chunk-A4JGXX2F.js";
4
4
 
5
5
  // src/agents/cursor-store.ts
6
6
  import { join } from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  cursorSdkStoreDir
3
- } from "./chunk-7J72QJOM.js";
3
+ } from "./chunk-224IXQOM.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-WFUDY6PC.js";
11
+ } from "./chunk-A4JGXX2F.js";
12
12
 
13
13
  // src/store/thread-store.ts
14
14
  import { randomUUID } from "crypto";
@@ -4,14 +4,14 @@ import {
4
4
  normalizeAbleTimeCredential,
5
5
  normalizeAbleTimeHost,
6
6
  rewriteAbleTimeError
7
- } from "./chunk-MVLXDYN5.js";
7
+ } from "./chunk-5ELC3KK3.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-I5NC7DWO.js";
14
+ } from "./chunk-P3DCZRER.js";
15
15
 
16
16
  // src/integrations/abletime-rest.ts
17
17
  var ABLETIME_REST_PREFIX = "/api/public/v2";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-KGZBYWZ3.js";
10
10
  import {
11
11
  appDataDir
12
- } from "./chunk-EQNRWDLN.js";
12
+ } from "./chunk-KK63BFYN.js";
13
13
  import {
14
14
  stripNestedElectronEnv
15
15
  } from "./chunk-WWUABK6B.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  getAbleTimeHost,
6
6
  isAbleTimeConnected
7
- } from "./chunk-I5NC7DWO.js";
7
+ } from "./chunk-P3DCZRER.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-6M5GWEPX.js").then((m) => m.ensureAbleTimeAccessToken());
156
+ const rawToken = opts?.token ?? await import("./abletime-oauth-QMDV45JC.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-6M5GWEPX.js").then((m) => m.ensureAbleTimeAccessToken());
227
+ const rawToken = opts?.token ?? await import("./abletime-oauth-QMDV45JC.js").then((m) => m.ensureAbleTimeAccessToken());
228
228
  if (rawToken && ableTimeUsesRest(rawToken)) {
229
- const { callAbleTimeRestTool } = await import("./abletime-rest-F7XG5NGY.js");
229
+ const { callAbleTimeRestTool } = await import("./abletime-rest-NL56UVK5.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-F7XG5NGY.js");
245
+ const { callAbleTimeRestTool } = await import("./abletime-rest-NL56UVK5.js");
246
246
  return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
247
247
  }
248
248
  throw err instanceof Error ? new Error(rewriteAbleTimeError(err.message)) : err;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  appDataDir
3
- } from "./chunk-WFUDY6PC.js";
3
+ } from "./chunk-A4JGXX2F.js";
4
4
  import {
5
5
  npmGlobalNodeModules,
6
6
  run
@@ -6,7 +6,7 @@ import {
6
6
  resolveRepoRoot,
7
7
  takenSlugsFromThread,
8
8
  teamSlugFromName
9
- } from "./chunk-7H2CVVLF.js";
9
+ } from "./chunk-O3UAQAYA.js";
10
10
  import {
11
11
  ATTACHMENTS_DIR,
12
12
  attachmentsGitignoreBody
@@ -23,18 +23,18 @@ import {
23
23
  resolveThreadDefaults,
24
24
  resolveViewerProfile,
25
25
  resolveViewerProfileForRepo
26
- } from "./chunk-I5NC7DWO.js";
26
+ } from "./chunk-P3DCZRER.js";
27
27
  import {
28
28
  createEmptyThread,
29
29
  listThreads,
30
30
  updateThread,
31
31
  writeThread
32
- } from "./chunk-4VGCG2HV.js";
32
+ } from "./chunk-3AJUH66R.js";
33
33
  import {
34
34
  appDataDir,
35
35
  globalAgentCwd,
36
36
  sideboardReposDir
37
- } from "./chunk-WFUDY6PC.js";
37
+ } from "./chunk-A4JGXX2F.js";
38
38
 
39
39
  // src/store/workspaces.ts
40
40
  import { existsSync as existsSync2, mkdirSync as mkdirSync3, readFileSync as readFileSync3, statSync as statSync2, writeFileSync as writeFileSync3 } from "fs";
@@ -402,7 +402,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
402
402
  "- archive_thread / restore_thread \u2014 archive (tears down worktree when last tab) or restore",
403
403
  "Setup / run:",
404
404
  "- run_setup \u2014 re-run worktree setup (already runs automatically on create when a script exists)",
405
- "- list_run_scripts / run_dev_script / stop_dev_script \u2014 start/stop named run scripts",
405
+ "- list_run_scripts / run_dev_script / stop_dev_script \u2014 start/stop named run scripts. run_dev_script returns {url, port, preview} (SIDEBOARD_PORT). preview=url \u2192 tell the worktree agent to open that URL; preview=window \u2192 Electron: the native window is the app (url is renderer/HMR only). Never localhost:3000. list_run_scripts active[].url if already running.",
406
406
  "Inspect / review / PRs:",
407
407
  "- get_diff \u2014 compact diff summary",
408
408
  "- get_pr_checks \u2014 snapshot of a worktree thread's PR checks (null = no PR). Use this to inspect status. If the user gave a goal, the worktree agent watches with `gh pr checks --watch` \u2014 do not poll for the human.",