@sideboard-ai/core 0.1.328 → 0.1.330

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-OW7LTFQD.js → abletime-5FBKBO3R.js} +4 -4
  2. package/dist/{abletime-NW4PJGHN.js → abletime-SO2YHMEI.js} +4 -4
  3. package/dist/{abletime-oauth-TPR2QDRI.js → abletime-oauth-EUC5FFMD.js} +5 -5
  4. package/dist/{abletime-oauth-KWQQRHOQ.js → abletime-oauth-I34WZZZL.js} +3 -3
  5. package/dist/{abletime-rest-5DCWN3P4.js → abletime-rest-EI5ZJ72Z.js} +3 -3
  6. package/dist/{abletime-rest-UJ6SXDBN.js → abletime-rest-HEQXSZAQ.js} +3 -3
  7. package/dist/{agents-XWIPONJR.js → agents-JH4WV2ZH.js} +7 -7
  8. package/dist/{agents-IYBY3JT5.js → agents-JXQKHY7Q.js} +7 -7
  9. package/dist/{app-settings-A5D364JD.js → app-settings-JAEV53LB.js} +1 -1
  10. package/dist/{app-settings-SA4HX3ZQ.js → app-settings-SHZWNJBV.js} +1 -1
  11. package/dist/{chunk-TUH4ICHQ.js → chunk-277I5IBI.js} +1 -1
  12. package/dist/{chunk-QMLDR63X.js → chunk-3DJQLQWU.js} +2 -2
  13. package/dist/{chunk-EJRCHCXM.js → chunk-7BAS6DF7.js} +2 -1
  14. package/dist/{chunk-ECY7WL6T.js → chunk-7L36GZA4.js} +2 -2
  15. package/dist/{chunk-SFXGD5KJ.js → chunk-7MPRTC6X.js} +1 -1
  16. package/dist/{chunk-ZPBOWO64.js → chunk-BAIPCN34.js} +2 -2
  17. package/dist/{chunk-SB5ADEZZ.js → chunk-D6V6F74A.js} +5 -5
  18. package/dist/{chunk-MO46K6WK.js → chunk-DBRQ5NNB.js} +8 -8
  19. package/dist/{chunk-NQGLDQYB.js → chunk-DFKLWWLY.js} +7 -7
  20. package/dist/{chunk-XOMVOBPU.js → chunk-E6LONPQH.js} +20 -20
  21. package/dist/{chunk-5Y2C7Q55.js → chunk-EW5D53VB.js} +1 -1
  22. package/dist/{chunk-D446IWPP.js → chunk-EY5BJAPV.js} +2 -1
  23. package/dist/{chunk-XBBZZHJY.js → chunk-F4OUZDIB.js} +5 -5
  24. package/dist/{chunk-Q4UPRQOS.js → chunk-G45SGI57.js} +3 -3
  25. package/dist/{chunk-WD222BVP.js → chunk-HCK3UCBJ.js} +21 -21
  26. package/dist/{chunk-EUIVQAPK.js → chunk-HJIA4X3L.js} +2 -2
  27. package/dist/{chunk-4F7THWIO.js → chunk-JQWCZGSO.js} +2 -2
  28. package/dist/{chunk-X3XTO45Y.js → chunk-KUD24QYI.js} +5 -5
  29. package/dist/{chunk-4G3W23X3.js → chunk-MXQ66CLO.js} +3 -3
  30. package/dist/{chunk-UMXBH344.js → chunk-NCFYUUSC.js} +1 -1
  31. package/dist/{chunk-2GEUFPQQ.js → chunk-NQHTYX35.js} +1 -1
  32. package/dist/{chunk-RDXODLEN.js → chunk-O7JSWISN.js} +3 -3
  33. package/dist/{chunk-R2C45NHT.js → chunk-P4QRDXRY.js} +2 -2
  34. package/dist/{chunk-EYDLXVED.js → chunk-PZ5MVD27.js} +5 -5
  35. package/dist/{chunk-Y6OHM672.js → chunk-QVLDZWHZ.js} +1 -1
  36. package/dist/{chunk-DACWFN4O.js → chunk-SKPX66MO.js} +5 -5
  37. package/dist/{chunk-JKHCADKB.js → chunk-U7EANR52.js} +2 -2
  38. package/dist/{chunk-KLVW3J2B.js → chunk-XOIJJRAQ.js} +2 -2
  39. package/dist/{chunk-CHYUUETG.js → chunk-YMV5O7KY.js} +3 -3
  40. package/dist/{chunk-ATQLP22S.js → chunk-ZT5YPYZE.js} +1 -1
  41. package/dist/{conductor-U5LGJZUJ.js → conductor-6DIR7A4N.js} +5 -5
  42. package/dist/{conductor-G6GH5ZMU.js → conductor-FA27ZGCV.js} +5 -5
  43. package/dist/{coordinator-prompt-J7O7JB26.js → coordinator-prompt-B6RHGEJK.js} +4 -4
  44. package/dist/{coordinator-prompt-3PJLU3UH.js → coordinator-prompt-KAZXK5FZ.js} +4 -4
  45. package/dist/{global-workspace-Y3UDZYJX.js → global-workspace-IOKHZCXD.js} +4 -4
  46. package/dist/{global-workspace-4CTLU2BV.js → global-workspace-JKINHUY3.js} +4 -4
  47. package/dist/index.cjs +9 -6
  48. package/dist/index.d.cts +12 -9
  49. package/dist/index.d.ts +12 -9
  50. package/dist/index.js +26 -24
  51. package/dist/{linear-CXWGH2TW.js → linear-7HSIGV5S.js} +2 -2
  52. package/dist/{linear-WLDCJ3AF.js → linear-FRJRK6KI.js} +2 -2
  53. package/dist/{linear-list-52LEDEWO.js → linear-list-I6DNJC6V.js} +1 -1
  54. package/dist/{linear-list-FGVN65JU.js → linear-list-LDMBSKYI.js} +1 -1
  55. package/dist/mcp/run-stdio.cjs +4 -3
  56. package/dist/mcp/run-stdio.js +16 -16
  57. package/dist/{optional-cli-INRVBBBG.js → optional-cli-FOSC4NVE.js} +3 -3
  58. package/dist/{optional-cli-FN4MGB6W.js → optional-cli-NSQZ2DYK.js} +4 -4
  59. package/dist/{orchestrator-YY2JUYKD.js → orchestrator-LI6EBD2Y.js} +10 -10
  60. package/dist/{orchestrator-3F53AZEN.js → orchestrator-V35TLMXB.js} +10 -10
  61. package/dist/{thread-store-K2ZNGUSM.js → thread-store-NVFWKJFH.js} +2 -2
  62. package/dist/{thread-store-4WE24XA2.js → thread-store-PCIMS6RA.js} +2 -2
  63. package/dist/{workspaces-MM7CQYR6.js → workspaces-FJL3TL3K.js} +4 -4
  64. package/dist/{workspaces-WYCVZ6XH.js → workspaces-OLONQF2C.js} +4 -4
  65. package/dist/{worktree-JBNEMJ5Z.js → worktree-QSQJ2POO.js} +3 -3
  66. package/dist/{worktree-NNVRGPP4.js → worktree-TX4WXQZV.js} +3 -3
  67. package/package.json +1 -1
@@ -9,7 +9,7 @@ import {
9
9
  isOrchestratorCapableAgent,
10
10
  normalizeThinkingEffort,
11
11
  updateAdvancedSettings
12
- } from "./chunk-EJRCHCXM.js";
12
+ } from "./chunk-7BAS6DF7.js";
13
13
  import {
14
14
  writePrivateFile
15
15
  } from "./chunk-NSTQ6QKD.js";
@@ -268,7 +268,7 @@ function formatViewerContextReminder() {
268
268
  var REMOTE_RELAY_PATH = "/remote";
269
269
  var REMOTE_PING_INTERVAL_MS = 2e4;
270
270
  var REMOTE_PONG_TIMEOUT_MS = 15e3;
271
- var BAKED_REMOTE_RELAY_URL = `wss://relay.sideboard.cloud${REMOTE_RELAY_PATH}`;
271
+ var BAKED_REMOTE_RELAY_URL = `wss://relay.sideboard.build${REMOTE_RELAY_PATH}`;
272
272
  function normalizeRemoteRelayUrl(raw) {
273
273
  let text = raw.trim();
274
274
  if (!text) return null;
@@ -288,6 +288,7 @@ function normalizeRemoteRelayUrl(raw) {
288
288
  url.pathname = REMOTE_RELAY_PATH;
289
289
  url.search = "";
290
290
  url.hash = "";
291
+ if (url.hostname === "relay.sideboard.cloud") url.hostname = "relay.sideboard.build";
291
292
  return url.toString();
292
293
  }
293
294
  function remoteRelayUrl(configured) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DEFAULT_ABLETIME_HOST,
3
3
  normalizeAbleTimeHost
4
- } from "./chunk-DACWFN4O.js";
4
+ } from "./chunk-SKPX66MO.js";
5
5
  import {
6
6
  httpFetch
7
7
  } from "./chunk-JAT3JFOS.js";
@@ -10,7 +10,7 @@ import {
10
10
  getAbleTimeHost,
11
11
  loadAppSettings,
12
12
  saveAbleTimeConnection
13
- } from "./chunk-D446IWPP.js";
13
+ } from "./chunk-EY5BJAPV.js";
14
14
 
15
15
  // src/integrations/abletime-oauth.ts
16
16
  import { createHash, randomBytes } from "crypto";
@@ -18,7 +18,7 @@ import { createServer } from "http";
18
18
  var ABLETIME_OAUTH_CALLBACK_PATH = "/oauth/abletime/callback";
19
19
  var ABLETIME_OAUTH_PORT = 19849;
20
20
  var ABLETIME_OAUTH_LOCAL_CALLBACK = `http://127.0.0.1:${ABLETIME_OAUTH_PORT}/callback`;
21
- var ABLETIME_OAUTH_REDIRECT = `https://www.sideboard.cloud${ABLETIME_OAUTH_CALLBACK_PATH}`;
21
+ var ABLETIME_OAUTH_REDIRECT = `https://www.sideboard.build${ABLETIME_OAUTH_CALLBACK_PATH}`;
22
22
  function ableTimeOAuthRedirectUri() {
23
23
  return process.env.SIDEBOARD_ABLETIME_OAUTH_REDIRECT?.trim() || ABLETIME_OAUTH_REDIRECT;
24
24
  }
@@ -60,7 +60,7 @@ h1{font-size:1.25rem}p{line-height:1.5;color:#444}a{color:#0f7ed4}</style>
60
60
  <p><a href="${safe}">Open Sideboard</a> if it does not appear.</p>
61
61
  </body></html>`;
62
62
  }
63
- var BAKED_ABLETIME_OAUTH_CLIENT_ID = "https://www.sideboard.cloud/oauth/abletime-client.json";
63
+ var BAKED_ABLETIME_OAUTH_CLIENT_ID = "https://www.sideboard.build/oauth/abletime-client.json";
64
64
  var ABLETIME_OAUTH_RESOURCE = `${DEFAULT_ABLETIME_HOST}/api/public/v2/mcp`;
65
65
  var REFRESH_SKEW_MS = 5 * 6e4;
66
66
  function hasBakedAbleTimeOAuth() {
@@ -280,7 +280,7 @@ async function startAbleTimeOAuth(opts) {
280
280
  persistAbleTimeTokens(data, { host });
281
281
  const token = data.access_token.trim();
282
282
  try {
283
- const { getAbleTimeOrientation } = await import("./abletime-OW7LTFQD.js");
283
+ const { getAbleTimeOrientation } = await import("./abletime-5FBKBO3R.js");
284
284
  const orientation = await getAbleTimeOrientation({ token, host });
285
285
  return saveAbleTimeConnection({
286
286
  accessToken: token,
@@ -7,7 +7,7 @@ import {
7
7
  resolveGithubRepoSlug,
8
8
  resolveOriginRemote,
9
9
  resolveRepoRoot
10
- } from "./chunk-JKHCADKB.js";
10
+ } from "./chunk-U7EANR52.js";
11
11
  import {
12
12
  ATTACHMENTS_DIR,
13
13
  attachmentsGitignoreBody
@@ -20,7 +20,7 @@ import {
20
20
  teamSlugFromName,
21
21
  updateThread,
22
22
  writeThread
23
- } from "./chunk-5Y2C7Q55.js";
23
+ } from "./chunk-EW5D53VB.js";
24
24
  import {
25
25
  assertOrchestratorCapableAgent,
26
26
  formatAccountProfilePlaybookLine,
@@ -33,7 +33,7 @@ import {
33
33
  resolveThreadDefaults,
34
34
  resolveViewerProfile,
35
35
  resolveViewerProfileForRepo
36
- } from "./chunk-EJRCHCXM.js";
36
+ } from "./chunk-7BAS6DF7.js";
37
37
  import {
38
38
  appDataDir,
39
39
  globalAgentCwd,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  formatOptionalServicesDirectiveForTurn,
3
3
  formatOptionalServicesReminderForTurn
4
- } from "./chunk-ECY7WL6T.js";
4
+ } from "./chunk-7L36GZA4.js";
5
5
  import {
6
6
  extractPresentedPlan,
7
7
  isPresentPlanToolName,
@@ -21,7 +21,7 @@ import {
21
21
  parseSessionQuotaResetAt,
22
22
  planModeTurnInstruction,
23
23
  resolveQuotaFallbackAgent
24
- } from "./chunk-NQGLDQYB.js";
24
+ } from "./chunk-DFKLWWLY.js";
25
25
  import {
26
26
  applyWorktreePkgCacheEnv,
27
27
  buildBrightsySessionSeed,
@@ -55,7 +55,7 @@ import {
55
55
  worktreeDevProcessKey,
56
56
  worktreeRunProcessKey,
57
57
  worktreeSetupProcessKey
58
- } from "./chunk-X3XTO45Y.js";
58
+ } from "./chunk-KUD24QYI.js";
59
59
  import {
60
60
  applyAgentEvent,
61
61
  clipAgentEventForPaint,
@@ -98,7 +98,7 @@ import {
98
98
  stageAbsolutePathsAsAttachments,
99
99
  stageBuffersAsAttachments,
100
100
  syncWorkspacesFromThreads
101
- } from "./chunk-RDXODLEN.js";
101
+ } from "./chunk-O7JSWISN.js";
102
102
  import {
103
103
  addPrStackLayer,
104
104
  allocateTeamSlug,
@@ -149,7 +149,7 @@ import {
149
149
  resolveRepoRoot,
150
150
  switchWorktreeBranch,
151
151
  withRepoGitLock
152
- } from "./chunk-R2C45NHT.js";
152
+ } from "./chunk-P4QRDXRY.js";
153
153
  import {
154
154
  REVIEW_TAB_TITLE,
155
155
  agentNicknameFromWorktreePath,
@@ -181,7 +181,7 @@ import {
181
181
  worktreeNameFromPath,
182
182
  worktreeSlugForTicket,
183
183
  writeThread
184
- } from "./chunk-Y6OHM672.js";
184
+ } from "./chunk-QVLDZWHZ.js";
185
185
  import {
186
186
  askBlockStillWaiting,
187
187
  extractPendingPlanQuestions,
@@ -257,7 +257,7 @@ import {
257
257
  usageOnLimit,
258
258
  withTurnScopedCost,
259
259
  writeViewerContext
260
- } from "./chunk-D446IWPP.js";
260
+ } from "./chunk-EY5BJAPV.js";
261
261
  import {
262
262
  examplePrefixedBranch,
263
263
  sanitizeGitBranchPrefix
@@ -517,9 +517,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
517
517
  `Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
518
518
  );
519
519
  }
520
- const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-4CTLU2BV.js");
520
+ const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-JKINHUY3.js");
521
521
  if (isGlobalThread2(thread)) {
522
- const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-3PJLU3UH.js");
522
+ const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-KAZXK5FZ.js");
523
523
  ensureGlobalCoordinatorCwd2(
524
524
  isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
525
525
  );
@@ -3213,7 +3213,7 @@ async function createThread(input, _onSetupLine) {
3213
3213
  });
3214
3214
  await requireAgent(resolved.agent);
3215
3215
  if (input.cowboy) {
3216
- const { cowboyModeEnabled } = await import("./app-settings-A5D364JD.js");
3216
+ const { cowboyModeEnabled } = await import("./app-settings-JAEV53LB.js");
3217
3217
  if (!cowboyModeEnabled()) {
3218
3218
  throw new Error(
3219
3219
  "Cowboy mode is off. Enable it in Settings \u2192 Advanced."
@@ -3272,7 +3272,7 @@ async function createThread(input, _onSetupLine) {
3272
3272
  let sourceIsFork = false;
3273
3273
  if (!input.cowboy && sourceType === "branch" && (!sourceRef || sourceRef === "HEAD" || sourceRef === "default")) {
3274
3274
  if (isAbleTimeConnected() && getIssueSource() === "abletime") {
3275
- const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-OW7LTFQD.js");
3275
+ const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-5FBKBO3R.js");
3276
3276
  const task = await ensureAbleTimeTask({
3277
3277
  title: title?.trim() || "Untitled work",
3278
3278
  description: input.prompt?.trim() || void 0
@@ -3383,7 +3383,7 @@ async function createThread(input, _onSetupLine) {
3383
3383
  return readThread(thread.id) ?? thread;
3384
3384
  }
3385
3385
  async function listLinearIssues(agent, repoPath) {
3386
- const { getAdapter: getAdapter2 } = await import("./agents-IYBY3JT5.js");
3386
+ const { getAdapter: getAdapter2 } = await import("./agents-JXQKHY7Q.js");
3387
3387
  await requireAgent(agent, { requireLinear: true });
3388
3388
  const adapter = getAdapter2(agent);
3389
3389
  if (!adapter.listLinearIssues) {
@@ -4166,7 +4166,7 @@ async function adoptThread(input) {
4166
4166
  messages: input.messages ?? []
4167
4167
  });
4168
4168
  writeThread(thread);
4169
- const { addWorkspace: addWorkspace2 } = await import("./workspaces-WYCVZ6XH.js");
4169
+ const { addWorkspace: addWorkspace2 } = await import("./workspaces-OLONQF2C.js");
4170
4170
  await addWorkspace2(repoPath);
4171
4171
  const { ensureWorktreeSideboardIgnored } = await import("./worktree-exclude-INRDQFWV.js");
4172
4172
  await ensureWorktreeSideboardIgnored(input.worktreePath);
@@ -7143,7 +7143,7 @@ function formatScheduledPrompt(name, prompt) {
7143
7143
  ${prompt}`;
7144
7144
  }
7145
7145
  async function defaultDeps() {
7146
- const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-YY2JUYKD.js");
7146
+ const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-LI6EBD2Y.js");
7147
7147
  const orch = getOrchestrator2();
7148
7148
  return {
7149
7149
  findThread: (id) => findThreadByRef(id),
@@ -7498,7 +7498,7 @@ var Orchestrator = class {
7498
7498
  orphans: orphans.map((o) => ({ path: o.path, repoPath: o.repoPath }))
7499
7499
  });
7500
7500
  }
7501
- const { autoCleanupOrphansEnabled } = await import("./app-settings-A5D364JD.js");
7501
+ const { autoCleanupOrphansEnabled } = await import("./app-settings-JAEV53LB.js");
7502
7502
  if (autoCleanupOrphansEnabled() && shouldRunWorktreeCleanup() && orphans.length > 0) {
7503
7503
  await cleanupOrphanWorktrees({ repoPaths });
7504
7504
  }
@@ -7892,7 +7892,7 @@ var Orchestrator = class {
7892
7892
  }
7893
7893
  await setup;
7894
7894
  if (skipSetup) return;
7895
- const { autoRunAfterSetupEnabled } = await import("./app-settings-A5D364JD.js");
7895
+ const { autoRunAfterSetupEnabled } = await import("./app-settings-JAEV53LB.js");
7896
7896
  if (autoRunAfterSetupEnabled()) {
7897
7897
  try {
7898
7898
  await this.startDev(threadId);
@@ -8277,7 +8277,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
8277
8277
  }
8278
8278
  const isBrightsy = fresh.agent === "brightsy";
8279
8279
  const isOrchestration = isOrchestratorThread(fresh);
8280
- const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-A5D364JD.js");
8280
+ const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-JAEV53LB.js");
8281
8281
  const gitAuthMode = getGithubGitAuthMode();
8282
8282
  const worktreeDirective = isBrightsy || isOrchestration ? null : formatWorktreeDirective(fresh, {
8283
8283
  githubSlug: turnOrigin?.forge === "github" ? turnOrigin.slug : await withTimeout(resolveGithubRepoSlug(fresh.worktreePath), 8e3, "resolveGithubRepoSlug").catch(() => null),
@@ -9619,7 +9619,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
9619
9619
  if (Object.keys(patch).length === 0) continue;
9620
9620
  updateThread(t.id, patch);
9621
9621
  }
9622
- const { autoArchiveOnMergeEnabled } = await import("./app-settings-A5D364JD.js");
9622
+ const { autoArchiveOnMergeEnabled } = await import("./app-settings-JAEV53LB.js");
9623
9623
  const latest = this.requireThread(thread.id);
9624
9624
  if (!shouldAutoArchiveOnPrMerge({
9625
9625
  previousPrState: prevState || null,
@@ -9943,7 +9943,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
9943
9943
  await runArchiveScript(thread.repoPath, thread.worktreePath);
9944
9944
  } catch {
9945
9945
  }
9946
- const { deleteBranchOnPurgeEnabled } = await import("./app-settings-A5D364JD.js");
9946
+ const { deleteBranchOnPurgeEnabled } = await import("./app-settings-JAEV53LB.js");
9947
9947
  const deleteBranch = opts?.deleteBranch ?? deleteBranchOnPurgeEnabled();
9948
9948
  await removeWorktree(thread.repoPath, thread.worktreePath, {
9949
9949
  deleteBranch: deleteBranch ? thread.branchName : void 0
@@ -10081,7 +10081,7 @@ async function startOrchestration(opts) {
10081
10081
  sourceRef: "default",
10082
10082
  ...createOpts
10083
10083
  }).catch(async () => {
10084
- const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-NNVRGPP4.js");
10084
+ const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-TX4WXQZV.js");
10085
10085
  const repo = await resolveRepoRoot2(repoPath);
10086
10086
  const def = await resolveDefaultBranch2(repo);
10087
10087
  return orch.createThread({
@@ -10091,7 +10091,7 @@ async function startOrchestration(opts) {
10091
10091
  repoPath: repo
10092
10092
  });
10093
10093
  });
10094
- const { updateThread: upd } = await import("./thread-store-K2ZNGUSM.js");
10094
+ const { updateThread: upd } = await import("./thread-store-NVFWKJFH.js");
10095
10095
  const updated = upd(thread.id, {
10096
10096
  sourceType: "orchestration",
10097
10097
  sourceRef: goal
@@ -4,14 +4,14 @@ import {
4
4
  normalizeAbleTimeCredential,
5
5
  normalizeAbleTimeHost,
6
6
  rewriteAbleTimeError
7
- } from "./chunk-DACWFN4O.js";
7
+ } from "./chunk-SKPX66MO.js";
8
8
  import {
9
9
  httpFetch
10
10
  } from "./chunk-JAT3JFOS.js";
11
11
  import {
12
12
  getAbleTimeAccessToken,
13
13
  getAbleTimeHost
14
- } from "./chunk-D446IWPP.js";
14
+ } from "./chunk-EY5BJAPV.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-YBTSZ2SW.js";
10
10
  import {
11
11
  resolveAgentExecutable
12
- } from "./chunk-EJRCHCXM.js";
12
+ } from "./chunk-7BAS6DF7.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-SA4HX3ZQ.js");
270
+ const { loadAppSettings } = await import("./app-settings-SHZWNJBV.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) {
@@ -8,11 +8,11 @@ import {
8
8
  isGlobalThread,
9
9
  isOrchestratorThread,
10
10
  isSlackCoordinatorThread
11
- } from "./chunk-RDXODLEN.js";
11
+ } from "./chunk-O7JSWISN.js";
12
12
  import {
13
13
  mergeAgentGitAuthEnv,
14
14
  resolveAgentGitAuthEnv
15
- } from "./chunk-R2C45NHT.js";
15
+ } from "./chunk-P4QRDXRY.js";
16
16
  import {
17
17
  REVIEW_TAB_TITLE,
18
18
  allocateTeamName,
@@ -24,7 +24,7 @@ import {
24
24
  updateThread,
25
25
  worktreeNameFromPath,
26
26
  writeThread
27
- } from "./chunk-Y6OHM672.js";
27
+ } from "./chunk-QVLDZWHZ.js";
28
28
  import {
29
29
  ensureWorktreeSideboardIgnored
30
30
  } from "./chunk-QKHEVSB5.js";
@@ -49,7 +49,7 @@ import {
49
49
  import {
50
50
  assertOrchestratorCapableAgent,
51
51
  contextTokens
52
- } from "./chunk-D446IWPP.js";
52
+ } from "./chunk-EY5BJAPV.js";
53
53
  import {
54
54
  stripNestedElectronEnv
55
55
  } from "./chunk-4TR3HZFT.js";
@@ -1664,7 +1664,7 @@ var PORT_RANGE_SIZE = 10;
1664
1664
  var RECLAIM_RETRY_DELAY_MS = 40;
1665
1665
  var RECLAIM_TRIES = 8;
1666
1666
  async function killReclaimable(ports, worktreePath, signal) {
1667
- const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-G6GH5ZMU.js");
1667
+ const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-FA27ZGCV.js");
1668
1668
  if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
1669
1669
  else killListenersOnPorts2(ports);
1670
1670
  }
@@ -3,13 +3,13 @@
3
3
  import {
4
4
  abletimeRestUrl,
5
5
  textFromAbleTimeDoc
6
- } from "./chunk-ZPBOWO64.js";
6
+ } from "./chunk-BAIPCN34.js";
7
7
  import {
8
8
  assertAbleTimeCredential,
9
9
  callAbleTimeTool,
10
10
  normalizeAbleTimeHost,
11
11
  rewriteAbleTimeError
12
- } from "./chunk-SB5ADEZZ.js";
12
+ } from "./chunk-D6V6F74A.js";
13
13
  import {
14
14
  downloadAuthenticatedFile,
15
15
  extractHttpUrls,
@@ -27,7 +27,7 @@ import {
27
27
  getAbleTimeHost,
28
28
  isAbleTimeConnected,
29
29
  saveAbleTimeConnection
30
- } from "./chunk-EJRCHCXM.js";
30
+ } from "./chunk-7BAS6DF7.js";
31
31
 
32
32
  // src/integrations/abletime-attachments.ts
33
33
  function asRecord(value) {
@@ -5,7 +5,7 @@
5
5
  var LIST_TIMEOUT_MS = 15e3;
6
6
  async function listAssignedLinearIssues(opts) {
7
7
  try {
8
- const { listLinearIssuesDirect } = await import("./linear-CXWGH2TW.js");
8
+ const { listLinearIssuesDirect } = await import("./linear-7HSIGV5S.js");
9
9
  const listed = listLinearIssuesDirect({ limit: 50 }).catch(() => []);
10
10
  let timer;
11
11
  try {
@@ -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-INRVBBBG.js");
128
+ const { optionalCliPresence } = await import("./optional-cli-FOSC4NVE.js");
129
129
  return await optionalCliPresence(ids);
130
130
  } catch {
131
131
  return void 0;
@@ -5,7 +5,7 @@ import {
5
5
  resolveGithubRepoSlug,
6
6
  resolveOriginRemote,
7
7
  resolveRepoRoot
8
- } from "./chunk-R2C45NHT.js";
8
+ } from "./chunk-P4QRDXRY.js";
9
9
  import {
10
10
  allocateTeamName,
11
11
  createEmptyThread,
@@ -14,7 +14,7 @@ import {
14
14
  teamSlugFromName,
15
15
  updateThread,
16
16
  writeThread
17
- } from "./chunk-Y6OHM672.js";
17
+ } from "./chunk-QVLDZWHZ.js";
18
18
  import {
19
19
  ATTACHMENTS_DIR,
20
20
  attachmentsGitignoreBody
@@ -31,7 +31,7 @@ import {
31
31
  resolveThreadDefaults,
32
32
  resolveViewerProfile,
33
33
  resolveViewerProfileForRepo
34
- } from "./chunk-D446IWPP.js";
34
+ } from "./chunk-EY5BJAPV.js";
35
35
  import {
36
36
  appDataDir,
37
37
  globalAgentCwd,
@@ -4,7 +4,7 @@ import {
4
4
  normalizeTakenSlug,
5
5
  normalizeWorktreePath,
6
6
  takenSlugsFromThread
7
- } from "./chunk-Y6OHM672.js";
7
+ } from "./chunk-QVLDZWHZ.js";
8
8
  import {
9
9
  ensureWorktreeSideboardIgnored
10
10
  } from "./chunk-QKHEVSB5.js";
@@ -25,7 +25,7 @@ import {
25
25
  import {
26
26
  getGithubGitAuthMode,
27
27
  getGithubPat
28
- } from "./chunk-D446IWPP.js";
28
+ } from "./chunk-EY5BJAPV.js";
29
29
  import {
30
30
  worktreesRoot
31
31
  } from "./chunk-H4UEFJRI.js";
@@ -11,11 +11,11 @@ import {
11
11
  isGlobalThread,
12
12
  isOrchestratorThread,
13
13
  isSlackCoordinatorThread
14
- } from "./chunk-Q4UPRQOS.js";
14
+ } from "./chunk-G45SGI57.js";
15
15
  import {
16
16
  mergeAgentGitAuthEnv,
17
17
  resolveAgentGitAuthEnv
18
- } from "./chunk-JKHCADKB.js";
18
+ } from "./chunk-U7EANR52.js";
19
19
  import {
20
20
  ATTACHMENTS_DIR,
21
21
  DETACHED_JOBS_DIR,
@@ -40,11 +40,11 @@ import {
40
40
  updateThread,
41
41
  worktreeNameFromPath,
42
42
  writeThread
43
- } from "./chunk-5Y2C7Q55.js";
43
+ } from "./chunk-EW5D53VB.js";
44
44
  import {
45
45
  assertOrchestratorCapableAgent,
46
46
  contextTokens
47
- } from "./chunk-EJRCHCXM.js";
47
+ } from "./chunk-7BAS6DF7.js";
48
48
  import {
49
49
  stripNestedElectronEnv
50
50
  } from "./chunk-WWUABK6B.js";
@@ -1696,7 +1696,7 @@ var PORT_RANGE_SIZE = 10;
1696
1696
  var RECLAIM_RETRY_DELAY_MS = 40;
1697
1697
  var RECLAIM_TRIES = 8;
1698
1698
  async function killReclaimable(ports, worktreePath, signal) {
1699
- const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-U5LGJZUJ.js");
1699
+ const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-6DIR7A4N.js");
1700
1700
  if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
1701
1701
  else killListenersOnPorts2(ports);
1702
1702
  }
@@ -10,7 +10,7 @@ import {
10
10
  isOrchestratorCapableAgent,
11
11
  normalizeThinkingEffort,
12
12
  updateAdvancedSettings
13
- } from "./chunk-D446IWPP.js";
13
+ } from "./chunk-EY5BJAPV.js";
14
14
  import {
15
15
  writePrivateFile
16
16
  } from "./chunk-JT7R45JB.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  getAbleTimeHost,
6
6
  isAbleTimeConnected
7
- } from "./chunk-D446IWPP.js";
7
+ } from "./chunk-EY5BJAPV.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-KWQQRHOQ.js").then((m) => m.ensureAbleTimeAccessToken());
156
+ const rawToken = opts?.token ?? await import("./abletime-oauth-I34WZZZL.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-KWQQRHOQ.js").then((m) => m.ensureAbleTimeAccessToken());
227
+ const rawToken = opts?.token ?? await import("./abletime-oauth-I34WZZZL.js").then((m) => m.ensureAbleTimeAccessToken());
228
228
  if (rawToken && ableTimeUsesRest(rawToken)) {
229
- const { callAbleTimeRestTool } = await import("./abletime-rest-UJ6SXDBN.js");
229
+ const { callAbleTimeRestTool } = await import("./abletime-rest-HEQXSZAQ.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-UJ6SXDBN.js");
245
+ const { callAbleTimeRestTool } = await import("./abletime-rest-HEQXSZAQ.js");
246
246
  return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
247
247
  }
248
248
  throw err instanceof Error ? new Error(rewriteAbleTimeError(err.message)) : err;
@@ -23,11 +23,11 @@ import {
23
23
  normalizeTakenSlug,
24
24
  normalizeWorktreePath,
25
25
  takenSlugsFromThread
26
- } from "./chunk-5Y2C7Q55.js";
26
+ } from "./chunk-EW5D53VB.js";
27
27
  import {
28
28
  getGithubGitAuthMode,
29
29
  getGithubPat
30
- } from "./chunk-EJRCHCXM.js";
30
+ } from "./chunk-7BAS6DF7.js";
31
31
  import {
32
32
  worktreesRoot
33
33
  } from "./chunk-WOU343SI.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-2TUE6JKQ.js";
8
8
  import {
9
9
  resolveAgentExecutable
10
- } from "./chunk-D446IWPP.js";
10
+ } from "./chunk-EY5BJAPV.js";
11
11
 
12
12
  // src/agents/install.ts
13
13
  import { existsSync } from "fs";
@@ -265,7 +265,7 @@ async function loginAgent(agent) {
265
265
  };
266
266
  }
267
267
  async function loginManagedAccount(accountId) {
268
- const { loadAppSettings } = await import("./app-settings-A5D364JD.js");
268
+ const { loadAppSettings } = await import("./app-settings-JAEV53LB.js");
269
269
  const { loginEnvPrefix } = await import("./managed-accounts-JJTAKHMG.js");
270
270
  const account = loadAppSettings().accounts.accounts.find((a) => a.id === accountId);
271
271
  if (!account) {
@@ -10,13 +10,13 @@ import {
10
10
  import {
11
11
  abletimeRestUrl,
12
12
  textFromAbleTimeDoc
13
- } from "./chunk-EUIVQAPK.js";
13
+ } from "./chunk-HJIA4X3L.js";
14
14
  import {
15
15
  assertAbleTimeCredential,
16
16
  callAbleTimeTool,
17
17
  normalizeAbleTimeHost,
18
18
  rewriteAbleTimeError
19
- } from "./chunk-DACWFN4O.js";
19
+ } from "./chunk-SKPX66MO.js";
20
20
  import {
21
21
  httpFetch
22
22
  } from "./chunk-JAT3JFOS.js";
@@ -25,7 +25,7 @@ import {
25
25
  getAbleTimeHost,
26
26
  isAbleTimeConnected,
27
27
  saveAbleTimeConnection
28
- } from "./chunk-D446IWPP.js";
28
+ } from "./chunk-EY5BJAPV.js";
29
29
 
30
30
  // src/integrations/abletime-attachments.ts
31
31
  function asRecord(value) {
@@ -2,7 +2,7 @@
2
2
  var LIST_TIMEOUT_MS = 15e3;
3
3
  async function listAssignedLinearIssues(opts) {
4
4
  try {
5
- const { listLinearIssuesDirect } = await import("./linear-WLDCJ3AF.js");
5
+ const { listLinearIssuesDirect } = await import("./linear-FRJRK6KI.js");
6
6
  const listed = listLinearIssuesDirect({ limit: 50 }).catch(() => []);
7
7
  let timer;
8
8
  try {
@@ -34,16 +34,16 @@ import {
34
34
  tryReservePort,
35
35
  tryReservePorts,
36
36
  worktreeRunPortsPath
37
- } from "./chunk-EYDLXVED.js";
37
+ } from "./chunk-PZ5MVD27.js";
38
38
  import "./chunk-5MXLDDYF.js";
39
- import "./chunk-Q4UPRQOS.js";
40
- import "./chunk-JKHCADKB.js";
39
+ import "./chunk-G45SGI57.js";
40
+ import "./chunk-U7EANR52.js";
41
41
  import "./chunk-N2WW62LF.js";
42
42
  import "./chunk-4YXZOXMT.js";
43
43
  import "./chunk-YBTSZ2SW.js";
44
- import "./chunk-5Y2C7Q55.js";
44
+ import "./chunk-EW5D53VB.js";
45
45
  import "./chunk-WMZIANPV.js";
46
- import "./chunk-EJRCHCXM.js";
46
+ import "./chunk-7BAS6DF7.js";
47
47
  import "./chunk-NSTQ6QKD.js";
48
48
  import {
49
49
  stripNestedElectronEnv
@@ -32,11 +32,11 @@ import {
32
32
  tryReservePort,
33
33
  tryReservePorts,
34
34
  worktreeRunPortsPath
35
- } from "./chunk-X3XTO45Y.js";
35
+ } from "./chunk-KUD24QYI.js";
36
36
  import "./chunk-OOXRMTU6.js";
37
- import "./chunk-RDXODLEN.js";
38
- import "./chunk-R2C45NHT.js";
39
- import "./chunk-Y6OHM672.js";
37
+ import "./chunk-O7JSWISN.js";
38
+ import "./chunk-P4QRDXRY.js";
39
+ import "./chunk-QVLDZWHZ.js";
40
40
  import "./chunk-QKHEVSB5.js";
41
41
  import "./chunk-NJV5YEKI.js";
42
42
  import "./chunk-N6ZF3XRP.js";
@@ -44,7 +44,7 @@ import "./chunk-OPXEJJBM.js";
44
44
  import "./chunk-6K64FJDD.js";
45
45
  import "./chunk-LG6RJBIY.js";
46
46
  import "./chunk-2TUE6JKQ.js";
47
- import "./chunk-D446IWPP.js";
47
+ import "./chunk-EY5BJAPV.js";
48
48
  import {
49
49
  stripNestedElectronEnv
50
50
  } from "./chunk-4TR3HZFT.js";