@sideboard-ai/core 0.1.351 → 0.1.353

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 (76) hide show
  1. package/dist/{abletime-TX7BTTR2.js → abletime-5LEOMLQE.js} +4 -4
  2. package/dist/{abletime-URSRZW7P.js → abletime-VUPUERE4.js} +4 -4
  3. package/dist/{abletime-oauth-QS3WPSCC.js → abletime-oauth-65LHLQ7P.js} +3 -3
  4. package/dist/{abletime-oauth-SL3NMNEC.js → abletime-oauth-JAINJBNY.js} +3 -3
  5. package/dist/{abletime-rest-JZU6JJCV.js → abletime-rest-4TCWPN7E.js} +3 -3
  6. package/dist/{abletime-rest-GGQLUO55.js → abletime-rest-HBIK234Y.js} +3 -3
  7. package/dist/agents/claude-runner.cjs +37 -6
  8. package/dist/agents/claude-runner.js +16 -1
  9. package/dist/agents/cursor-runner.cjs +56 -12
  10. package/dist/agents/cursor-runner.js +2 -2
  11. package/dist/{agents-INTH7J3F.js → agents-5LFUHPSA.js} +9 -9
  12. package/dist/{agents-D5CL4CR4.js → agents-6B2HHICJ.js} +8 -8
  13. package/dist/{app-settings-IA7ZZKWQ.js → app-settings-GM4MJD2E.js} +3 -1
  14. package/dist/{app-settings-XILTSD6L.js → app-settings-X3UFWRAF.js} +3 -1
  15. package/dist/{chunk-BZK62VPT.js → chunk-2S7EAUDI.js} +2 -2
  16. package/dist/{chunk-CCWQ65VD.js → chunk-2SFKLWU5.js} +2 -2
  17. package/dist/{chunk-YVN7L4KG.js → chunk-AF5K6GQU.js} +6 -1
  18. package/dist/{chunk-WB3G2LQO.js → chunk-BCNPZ7H2.js} +1 -1
  19. package/dist/chunk-EAV2ZF5S.js +858 -0
  20. package/dist/{chunk-SMSD6U3N.js → chunk-GA5MLYVG.js} +1 -1
  21. package/dist/{chunk-HISSQICH.js → chunk-HBRP2SHA.js} +3 -3
  22. package/dist/{chunk-7WPQAVS5.js → chunk-HMSXKV53.js} +150 -126
  23. package/dist/{chunk-DL4OHDBV.js → chunk-I6BKWSCT.js} +3 -3
  24. package/dist/{chunk-WJURGCBR.js → chunk-KSBJOWVO.js} +1 -1
  25. package/dist/{chunk-J4EA5SHF.js → chunk-LZ3TAKNJ.js} +3 -3
  26. package/dist/{chunk-F4RFFE2H.js → chunk-M426EW7O.js} +3 -3
  27. package/dist/{chunk-C3E2DGDF.js → chunk-MBQU6RE2.js} +6 -6
  28. package/dist/{chunk-UXAKH4AW.js → chunk-MX2XU4BS.js} +418 -71
  29. package/dist/{chunk-TCEUNSLX.js → chunk-NRGT7RMO.js} +1 -1
  30. package/dist/{chunk-M45WGODR.js → chunk-OCCUD5CK.js} +2 -2
  31. package/dist/{chunk-BDWVBEKN.js → chunk-PKH3DRA6.js} +153 -127
  32. package/dist/{chunk-YE7Z5WH3.js → chunk-QKNOKO2P.js} +1 -1
  33. package/dist/{chunk-VL6F2KRE.js → chunk-RMJXFABA.js} +8 -6
  34. package/dist/{chunk-FQ3JYUKI.js → chunk-SBUR2WCP.js} +2 -2
  35. package/dist/{chunk-AEEOYLVK.js → chunk-SWU5C3HQ.js} +6 -6
  36. package/dist/{chunk-UFUAIVNV.js → chunk-TB7SYXXS.js} +8 -6
  37. package/dist/{chunk-7ZD4OK6G.js → chunk-TDWE7INS.js} +1 -1
  38. package/dist/{chunk-WFX4ZVSZ.js → chunk-TRUNDXCE.js} +1 -1
  39. package/dist/{chunk-PXSWVZIL.js → chunk-UPJB6TFI.js} +2 -2
  40. package/dist/{chunk-37ZBEBP6.js → chunk-VZAICZHU.js} +3 -3
  41. package/dist/{chunk-FCKTBE26.js → chunk-WJQFWDGH.js} +1 -1
  42. package/dist/{chunk-SZY23KGS.js → chunk-WTT525MC.js} +3 -3
  43. package/dist/{chunk-BF6INES4.js → chunk-X52SO3DM.js} +1 -1
  44. package/dist/{chunk-B4EFQTMP.js → chunk-XB6NCBZK.js} +5 -5
  45. package/dist/{chunk-5TCMXEYL.js → chunk-YGXUIBIT.js} +3 -3
  46. package/dist/{chunk-AAKQU4UZ.js → chunk-Z3CGD5HC.js} +28 -10
  47. package/dist/{chunk-VHQ6OG3U.js → chunk-ZHYFRRPN.js} +2 -2
  48. package/dist/{chunk-5WF54R3B.js → chunk-ZLPP66IP.js} +5 -5
  49. package/dist/{conductor-FWYWIHEW.js → conductor-2UOW2XBE.js} +6 -6
  50. package/dist/{conductor-W2X7QUKZ.js → conductor-6NYG2SZA.js} +6 -6
  51. package/dist/{coordinator-prompt-J57Q4Z4W.js → coordinator-prompt-K3WT5UVS.js} +4 -4
  52. package/dist/{coordinator-prompt-KIHNLENN.js → coordinator-prompt-ZP6AEETR.js} +4 -4
  53. package/dist/{global-workspace-WXDWFZAN.js → global-workspace-EFPSYP4N.js} +4 -4
  54. package/dist/{global-workspace-CGB5CY4U.js → global-workspace-EPVNFQVC.js} +4 -4
  55. package/dist/index.cjs +1414 -869
  56. package/dist/index.d.cts +116 -10
  57. package/dist/index.d.ts +116 -10
  58. package/dist/index.js +398 -315
  59. package/dist/{linear-WG23LBCX.js → linear-4ACCQCWM.js} +2 -2
  60. package/dist/{linear-E3BX5PX5.js → linear-Q2E6LKJW.js} +2 -2
  61. package/dist/{linear-list-VU47BNUV.js → linear-list-5A3BAWRZ.js} +1 -1
  62. package/dist/{linear-list-OINZWVV5.js → linear-list-V3A57XBR.js} +1 -1
  63. package/dist/mcp/run-stdio.cjs +1227 -802
  64. package/dist/mcp/run-stdio.js +342 -308
  65. package/dist/{optional-cli-K6HX2X5O.js → optional-cli-CKQPLY4Q.js} +4 -4
  66. package/dist/{optional-cli-SA3EQYML.js → optional-cli-WE3ULLFV.js} +5 -5
  67. package/dist/{orchestrator-MUD4FY7Q.js → orchestrator-UFHS2FOC.js} +12 -12
  68. package/dist/{orchestrator-DMEE7CEW.js → orchestrator-YCGWSIHF.js} +11 -11
  69. package/dist/{thread-store-4YTOV2HL.js → thread-store-CDFHHRXB.js} +2 -2
  70. package/dist/{thread-store-LME2ICZP.js → thread-store-TDGZEGS6.js} +2 -2
  71. package/dist/{workspaces-ZCTF4ECL.js → workspaces-KL4SZMJE.js} +4 -4
  72. package/dist/{workspaces-7DPHDXNY.js → workspaces-SQRR67HD.js} +4 -4
  73. package/dist/{worktree-4ATMCYIE.js → worktree-7KG5N2XL.js} +3 -3
  74. package/dist/{worktree-DA6SKIU5.js → worktree-IDX7LMBC.js} +3 -3
  75. package/package.json +1 -1
  76. package/dist/chunk-SUZOPJZC.js +0 -430
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-R4W4VQJZ.js";
4
4
  import {
5
5
  loadAppSettings
6
- } from "./chunk-UFUAIVNV.js";
6
+ } from "./chunk-TB7SYXXS.js";
7
7
 
8
8
  // src/agents/acp-harness.ts
9
9
  import { existsSync, readFileSync } from "fs";
@@ -1278,9 +1278,8 @@ function normalizeAdvanced(raw) {
1278
1278
  if (typeof source.wakeOrchestratorOnGithubEdges === "boolean") {
1279
1279
  out.wakeOrchestratorOnGithubEdges = source.wakeOrchestratorOnGithubEdges;
1280
1280
  }
1281
- if (typeof source.showCost === "boolean") {
1282
- out.showCost = source.showCost;
1283
- }
1281
+ if (typeof source.showCost === "boolean") out.showCost = source.showCost;
1282
+ if (typeof source.computerUse === "boolean") out.computerUse = source.computerUse;
1284
1283
  if (isChatTextScale(source.chatTextScale)) {
1285
1284
  out.chatTextScale = source.chatTextScale;
1286
1285
  }
@@ -2206,9 +2205,8 @@ function updateAdvancedSettings(patch) {
2206
2205
  if (typeof patch.wakeOrchestratorOnGithubEdges === "boolean") {
2207
2206
  advanced.wakeOrchestratorOnGithubEdges = patch.wakeOrchestratorOnGithubEdges;
2208
2207
  }
2209
- if (typeof patch.showCost === "boolean") {
2210
- advanced.showCost = patch.showCost;
2211
- }
2208
+ if (typeof patch.showCost === "boolean") advanced.showCost = patch.showCost;
2209
+ if (typeof patch.computerUse === "boolean") advanced.computerUse = patch.computerUse;
2212
2210
  if (isChatTextScale(patch.chatTextScale)) {
2213
2211
  advanced.chatTextScale = patch.chatTextScale;
2214
2212
  }
@@ -2320,6 +2318,9 @@ function wakeOrchestratorOnGithubEdgesEnabled(settings = loadAppSettings()) {
2320
2318
  function showCostEnabled(settings = loadAppSettings()) {
2321
2319
  return Boolean(settings.advanced.showCost);
2322
2320
  }
2321
+ function computerUseEnabled(settings = loadAppSettings()) {
2322
+ return Boolean(settings.advanced.computerUse);
2323
+ }
2323
2324
  function chatTextScale(settings = loadAppSettings()) {
2324
2325
  return isChatTextScale(settings.advanced.chatTextScale) ? settings.advanced.chatTextScale : CHAT_TEXT_SCALE_DEFAULT;
2325
2326
  }
@@ -2574,6 +2575,7 @@ export {
2574
2575
  cowboyModeEnabled,
2575
2576
  wakeOrchestratorOnGithubEdgesEnabled,
2576
2577
  showCostEnabled,
2578
+ computerUseEnabled,
2577
2579
  chatTextScale,
2578
2580
  confirmClaudeUsageOverLimitEnabled,
2579
2581
  autoArchiveOnMergeEnabled,
@@ -4,7 +4,7 @@ import {
4
4
  normalizeTakenSlug,
5
5
  normalizeWorktreePath,
6
6
  takenSlugsFromThread
7
- } from "./chunk-TCEUNSLX.js";
7
+ } from "./chunk-NRGT7RMO.js";
8
8
  import {
9
9
  ensureWorktreeSideboardIgnored
10
10
  } from "./chunk-BMRJNRQK.js";
@@ -25,7 +25,7 @@ import {
25
25
  import {
26
26
  getGithubGitAuthMode,
27
27
  getGithubPat
28
- } from "./chunk-UFUAIVNV.js";
28
+ } from "./chunk-TB7SYXXS.js";
29
29
  import {
30
30
  worktreesRoot
31
31
  } from "./chunk-H4UEFJRI.js";
@@ -11,17 +11,17 @@ import {
11
11
  } from "./chunk-LESWJ7L4.js";
12
12
  import {
13
13
  defaultAcpHarness
14
- } from "./chunk-BF6INES4.js";
14
+ } from "./chunk-X52SO3DM.js";
15
15
  import {
16
16
  isCloudCoordinatorThread,
17
17
  isGlobalThread,
18
18
  isOrchestratorThread,
19
19
  isSlackCoordinatorThread
20
- } from "./chunk-SZY23KGS.js";
20
+ } from "./chunk-WTT525MC.js";
21
21
  import {
22
22
  mergeAgentGitAuthEnv,
23
23
  resolveAgentGitAuthEnv
24
- } from "./chunk-VHQ6OG3U.js";
24
+ } from "./chunk-ZHYFRRPN.js";
25
25
  import {
26
26
  ATTACHMENTS_DIR,
27
27
  DETACHED_JOBS_DIR,
@@ -46,11 +46,11 @@ import {
46
46
  updateThread,
47
47
  worktreeNameFromPath,
48
48
  writeThread
49
- } from "./chunk-SMSD6U3N.js";
49
+ } from "./chunk-GA5MLYVG.js";
50
50
  import {
51
51
  assertOrchestratorCapableAgent,
52
52
  contextTokens
53
- } from "./chunk-VL6F2KRE.js";
53
+ } from "./chunk-RMJXFABA.js";
54
54
  import {
55
55
  stripNestedElectronEnv
56
56
  } from "./chunk-WWUABK6B.js";
@@ -1781,7 +1781,7 @@ var PORT_RANGE_SIZE = 10;
1781
1781
  var RECLAIM_RETRY_DELAY_MS = 40;
1782
1782
  var RECLAIM_TRIES = 8;
1783
1783
  async function killReclaimable(ports, worktreePath, signal) {
1784
- const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-W2X7QUKZ.js");
1784
+ const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-6NYG2SZA.js");
1785
1785
  if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
1786
1786
  else killListenersOnPorts2(ports);
1787
1787
  }
@@ -1533,9 +1533,8 @@ function normalizeAdvanced(raw) {
1533
1533
  if (typeof source.wakeOrchestratorOnGithubEdges === "boolean") {
1534
1534
  out.wakeOrchestratorOnGithubEdges = source.wakeOrchestratorOnGithubEdges;
1535
1535
  }
1536
- if (typeof source.showCost === "boolean") {
1537
- out.showCost = source.showCost;
1538
- }
1536
+ if (typeof source.showCost === "boolean") out.showCost = source.showCost;
1537
+ if (typeof source.computerUse === "boolean") out.computerUse = source.computerUse;
1539
1538
  if (isChatTextScale(source.chatTextScale)) {
1540
1539
  out.chatTextScale = source.chatTextScale;
1541
1540
  }
@@ -2461,9 +2460,8 @@ function updateAdvancedSettings(patch) {
2461
2460
  if (typeof patch.wakeOrchestratorOnGithubEdges === "boolean") {
2462
2461
  advanced.wakeOrchestratorOnGithubEdges = patch.wakeOrchestratorOnGithubEdges;
2463
2462
  }
2464
- if (typeof patch.showCost === "boolean") {
2465
- advanced.showCost = patch.showCost;
2466
- }
2463
+ if (typeof patch.showCost === "boolean") advanced.showCost = patch.showCost;
2464
+ if (typeof patch.computerUse === "boolean") advanced.computerUse = patch.computerUse;
2467
2465
  if (isChatTextScale(patch.chatTextScale)) {
2468
2466
  advanced.chatTextScale = patch.chatTextScale;
2469
2467
  }
@@ -2575,6 +2573,9 @@ function wakeOrchestratorOnGithubEdgesEnabled(settings = loadAppSettings()) {
2575
2573
  function showCostEnabled(settings = loadAppSettings()) {
2576
2574
  return Boolean(settings.advanced.showCost);
2577
2575
  }
2576
+ function computerUseEnabled(settings = loadAppSettings()) {
2577
+ return Boolean(settings.advanced.computerUse);
2578
+ }
2578
2579
  function chatTextScale(settings = loadAppSettings()) {
2579
2580
  return isChatTextScale(settings.advanced.chatTextScale) ? settings.advanced.chatTextScale : CHAT_TEXT_SCALE_DEFAULT;
2580
2581
  }
@@ -2873,6 +2874,7 @@ export {
2873
2874
  cowboyModeEnabled,
2874
2875
  wakeOrchestratorOnGithubEdgesEnabled,
2875
2876
  showCostEnabled,
2877
+ computerUseEnabled,
2876
2878
  chatTextScale,
2877
2879
  confirmClaudeUsageOverLimitEnabled,
2878
2880
  autoArchiveOnMergeEnabled,
@@ -16,7 +16,7 @@ import {
16
16
  disconnectLinearConnection,
17
17
  loadAppSettings,
18
18
  saveLinearOAuth
19
- } from "./chunk-UFUAIVNV.js";
19
+ } from "./chunk-TB7SYXXS.js";
20
20
 
21
21
  // src/integrations/linear-oauth.ts
22
22
  import { createHash, randomBytes } from "crypto";
@@ -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-E3BX5PX5.js");
8
+ const { listLinearIssuesDirect } = await import("./linear-Q2E6LKJW.js");
9
9
  const listed = listLinearIssuesDirect({ limit: 50 }).catch(() => []);
10
10
  let timer;
11
11
  try {
@@ -2,11 +2,11 @@ import {
2
2
  OPTIONAL_SERVICES,
3
3
  isOptionalServiceId,
4
4
  optionalServiceSpec
5
- } from "./chunk-BZK62VPT.js";
5
+ } from "./chunk-2S7EAUDI.js";
6
6
  import {
7
7
  installNpmGlobalPackage,
8
8
  whichOnPath
9
- } from "./chunk-F4RFFE2H.js";
9
+ } from "./chunk-M426EW7O.js";
10
10
  import {
11
11
  enrichPathWithNpmGlobalBin
12
12
  } from "./chunk-R4W4VQJZ.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  abletimeRestUrl,
3
3
  textFromAbleTimeDoc
4
- } from "./chunk-CCWQ65VD.js";
4
+ } from "./chunk-2SFKLWU5.js";
5
5
  import {
6
6
  downloadAuthenticatedFile,
7
7
  extractHttpUrls,
@@ -16,7 +16,7 @@ import {
16
16
  callAbleTimeTool,
17
17
  normalizeAbleTimeHost,
18
18
  rewriteAbleTimeError
19
- } from "./chunk-5WF54R3B.js";
19
+ } from "./chunk-ZLPP66IP.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-UFUAIVNV.js";
28
+ } from "./chunk-TB7SYXXS.js";
29
29
 
30
30
  // src/integrations/abletime-attachments.ts
31
31
  function asRecord(value) {
@@ -18,7 +18,7 @@ import {
18
18
  disconnectLinearConnection,
19
19
  loadAppSettings,
20
20
  saveLinearOAuth
21
- } from "./chunk-VL6F2KRE.js";
21
+ } from "./chunk-RMJXFABA.js";
22
22
 
23
23
  // src/integrations/linear-oauth.ts
24
24
  import { createHash, randomBytes } from "crypto";
@@ -7,7 +7,7 @@ import {
7
7
  resolveGithubRepoSlug,
8
8
  resolveOriginRemote,
9
9
  resolveRepoRoot
10
- } from "./chunk-VHQ6OG3U.js";
10
+ } from "./chunk-ZHYFRRPN.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-SMSD6U3N.js";
23
+ } from "./chunk-GA5MLYVG.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-VL6F2KRE.js";
36
+ } from "./chunk-RMJXFABA.js";
37
37
  import {
38
38
  appDataDir,
39
39
  globalAgentCwd,
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-TL2HK6LZ.js";
6
6
  import {
7
7
  loadAppSettings
8
- } from "./chunk-VL6F2KRE.js";
8
+ } from "./chunk-RMJXFABA.js";
9
9
 
10
10
  // src/agents/acp-harness.ts
11
11
  import { existsSync, readFileSync } from "fs";
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  getAbleTimeHost,
8
8
  isAbleTimeConnected
9
- } from "./chunk-VL6F2KRE.js";
9
+ } from "./chunk-RMJXFABA.js";
10
10
 
11
11
  // src/integrations/abletime-mcp.ts
12
12
  var DEFAULT_ABLETIME_HOST = "https://track.abletime.com";
@@ -155,7 +155,7 @@ function textsFromUnknown(value) {
155
155
  return "";
156
156
  }
157
157
  async function abletimeMcpRequest(method, params, opts) {
158
- const rawToken = opts?.token ?? await import("./abletime-oauth-QS3WPSCC.js").then((m) => m.ensureAbleTimeAccessToken());
158
+ const rawToken = opts?.token ?? await import("./abletime-oauth-65LHLQ7P.js").then((m) => m.ensureAbleTimeAccessToken());
159
159
  if (!rawToken?.trim()) {
160
160
  throw new Error("AbleTime is not connected \u2014 paste a personal access token in Account settings");
161
161
  }
@@ -226,9 +226,9 @@ async function callAbleTimeTool(name, args = {}, opts) {
226
226
  if (!opts?.token && !isAbleTimeConnected()) {
227
227
  throw new Error("AbleTime is not connected \u2014 paste a personal access token in Account settings");
228
228
  }
229
- const rawToken = opts?.token ?? await import("./abletime-oauth-QS3WPSCC.js").then((m) => m.ensureAbleTimeAccessToken());
229
+ const rawToken = opts?.token ?? await import("./abletime-oauth-65LHLQ7P.js").then((m) => m.ensureAbleTimeAccessToken());
230
230
  if (rawToken && ableTimeUsesRest(rawToken)) {
231
- const { callAbleTimeRestTool } = await import("./abletime-rest-GGQLUO55.js");
231
+ const { callAbleTimeRestTool } = await import("./abletime-rest-HBIK234Y.js");
232
232
  return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
233
233
  }
234
234
  const requestOpts = { ...opts, pm: opts?.pm ?? abletimeToolUsesPm(name) };
@@ -244,7 +244,7 @@ async function callAbleTimeTool(name, args = {}, opts) {
244
244
  return await call();
245
245
  }
246
246
  if (rawToken && ableTimeUsesRest(rawToken) && isAbleTimeRejectedCredential(message)) {
247
- const { callAbleTimeRestTool } = await import("./abletime-rest-GGQLUO55.js");
247
+ const { callAbleTimeRestTool } = await import("./abletime-rest-HBIK234Y.js");
248
248
  return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
249
249
  }
250
250
  throw err instanceof Error ? new Error(rewriteAbleTimeError(err.message)) : err;
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  ACP_HARNESSES,
5
5
  isAcpHarnessId
6
- } from "./chunk-BF6INES4.js";
6
+ } from "./chunk-X52SO3DM.js";
7
7
  import {
8
8
  enrichPathWithNpmGlobalBin,
9
9
  isConductorBundledCli,
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-TL2HK6LZ.js";
14
14
  import {
15
15
  resolveAgentExecutable
16
- } from "./chunk-VL6F2KRE.js";
16
+ } from "./chunk-RMJXFABA.js";
17
17
 
18
18
  // src/agents/install.ts
19
19
  import { chmodSync, existsSync } from "fs";
@@ -411,7 +411,7 @@ async function loginAgent(agent) {
411
411
  };
412
412
  }
413
413
  async function loginManagedAccount(accountId) {
414
- const { loadAppSettings } = await import("./app-settings-XILTSD6L.js");
414
+ const { loadAppSettings } = await import("./app-settings-X3UFWRAF.js");
415
415
  const { loginEnvPrefix } = await import("./managed-accounts-PITLFLKU.js");
416
416
  const account = loadAppSettings().accounts.accounts.find((a) => a.id === accountId);
417
417
  if (!account) {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-RSA47QYR.js";
10
10
  import {
11
11
  listAssignedLinearIssues
12
- } from "./chunk-WB3G2LQO.js";
12
+ } from "./chunk-BCNPZ7H2.js";
13
13
  import {
14
14
  looksLikeConversationSummary,
15
15
  looksLikeSkillBody,
@@ -22,19 +22,19 @@ import {
22
22
  detectAcpHarness,
23
23
  isAcpHarnessId,
24
24
  resolveAcpHarnessCommand
25
- } from "./chunk-YE7Z5WH3.js";
25
+ } from "./chunk-QKNOKO2P.js";
26
26
  import {
27
27
  httpFetch
28
28
  } from "./chunk-JAT3JFOS.js";
29
29
  import {
30
30
  isOrchestratorThread
31
- } from "./chunk-HISSQICH.js";
31
+ } from "./chunk-HBRP2SHA.js";
32
32
  import {
33
33
  codexUnattendedGitConfigArgs,
34
34
  mergeAgentGitAuthEnv,
35
35
  resolveAgentGitAuthEnv,
36
36
  resolveCodexGitWritableRoots
37
- } from "./chunk-FQ3JYUKI.js";
37
+ } from "./chunk-SBUR2WCP.js";
38
38
  import {
39
39
  acpPriorTranscript,
40
40
  acpUserStdioServers,
@@ -82,7 +82,7 @@ import {
82
82
  PILOT_TOOL_DESCRIPTIONS,
83
83
  PILOT_TOOL_NAMES,
84
84
  agentRpcConnectFromMetadata
85
- } from "./chunk-SUZOPJZC.js";
85
+ } from "./chunk-EAV2ZF5S.js";
86
86
  import {
87
87
  claudeChromeEnabled,
88
88
  fromInclusiveInputUsage,
@@ -93,7 +93,7 @@ import {
93
93
  requestOccupancy,
94
94
  resolveAgentExecutable,
95
95
  resolveClaudeExecutable
96
- } from "./chunk-UFUAIVNV.js";
96
+ } from "./chunk-TB7SYXXS.js";
97
97
  import {
98
98
  isElectronLikeCommand,
99
99
  unwrapStrippedElectronLaunch
@@ -501,7 +501,8 @@ function injectedSideboardMcpEnv(opts) {
501
501
  var AGENT_RPC_PILOT_MCP_TOOLS = [
502
502
  "present_artifact",
503
503
  "wait_for_job",
504
- "stop_job"
504
+ "stop_job",
505
+ "computer_use"
505
506
  ];
506
507
  function shouldRegisterMcpWaitForTurn(env = process.env) {
507
508
  return !agentRpcOwnsPilotTools(env);
@@ -523,6 +524,7 @@ var WORKTREE_MCP_TOOLS = [
523
524
  "run_dev_script",
524
525
  "stop_dev_script",
525
526
  "get_run_log",
527
+ "computer_use",
526
528
  "get_orchestrator",
527
529
  "notify_orchestrator",
528
530
  "set_workspace_tags",
@@ -3261,7 +3263,7 @@ var claudeAdapter = {
3261
3263
  );
3262
3264
  }
3263
3265
  const mode = permissionMode(thread);
3264
- const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-WXDWFZAN.js");
3266
+ const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-EFPSYP4N.js");
3265
3267
  const isOrchestrator = isOrchestratorThread2(thread);
3266
3268
  const rpc = worktreeAgentRpc(isOrchestrator);
3267
3269
  const injectedServers = await buildInjectedMcpServers({
@@ -3498,7 +3500,7 @@ ${hint}` : hint;
3498
3500
  return { file: claude, args, cwd: thread.worktreePath };
3499
3501
  },
3500
3502
  async listLinearIssues(_repoPath) {
3501
- const { listAssignedLinearIssues: listAssignedLinearIssues2 } = await import("./linear-list-VU47BNUV.js");
3503
+ const { listAssignedLinearIssues: listAssignedLinearIssues2 } = await import("./linear-list-5A3BAWRZ.js");
3502
3504
  return listAssignedLinearIssues2();
3503
3505
  }
3504
3506
  };
@@ -4194,6 +4196,22 @@ export const SideboardRpc = async (ctx) => {
4194
4196
  return job("job.stop", args)
4195
4197
  },
4196
4198
  }),
4199
+ computer_use: tool({
4200
+ description: ${JSON.stringify(PILOT_TOOL_DESCRIPTIONS.computer_use)},
4201
+ args: {
4202
+ action: tool.schema.enum(["screenshot", "click", "type", "key", "scroll"]),
4203
+ x: tool.schema.number().optional().describe("Screen x in points, not PNG pixels"),
4204
+ y: tool.schema.number().optional().describe("Screen y in points, not PNG pixels"),
4205
+ text: opt("Text to type"),
4206
+ key: opt("One key: return, tab, escape, arrows, delete, or one character"),
4207
+ modifiers: tool.schema.array(tool.schema.string()).optional().describe("command, shift, option, control"),
4208
+ dx: tool.schema.number().optional().describe("Horizontal scroll in points. Positive is right"),
4209
+ dy: tool.schema.number().optional().describe("Vertical scroll in points. Positive is down"),
4210
+ },
4211
+ async execute(args) {
4212
+ return job("computer.act", args)
4213
+ },
4214
+ }),
4197
4215
  },
4198
4216
  }
4199
4217
  }
@@ -4589,7 +4607,7 @@ var opencodeAdapter = {
4589
4607
  };
4590
4608
  },
4591
4609
  async listLinearIssues(_repoPath) {
4592
- const { listAssignedLinearIssues: listAssignedLinearIssues2 } = await import("./linear-list-VU47BNUV.js");
4610
+ const { listAssignedLinearIssues: listAssignedLinearIssues2 } = await import("./linear-list-5A3BAWRZ.js");
4593
4611
  return listAssignedLinearIssues2();
4594
4612
  }
4595
4613
  };
@@ -23,11 +23,11 @@ import {
23
23
  normalizeTakenSlug,
24
24
  normalizeWorktreePath,
25
25
  takenSlugsFromThread
26
- } from "./chunk-SMSD6U3N.js";
26
+ } from "./chunk-GA5MLYVG.js";
27
27
  import {
28
28
  getGithubGitAuthMode,
29
29
  getGithubPat
30
- } from "./chunk-VL6F2KRE.js";
30
+ } from "./chunk-RMJXFABA.js";
31
31
  import {
32
32
  worktreesRoot
33
33
  } from "./chunk-WOU343SI.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  getAbleTimeHost,
6
6
  isAbleTimeConnected
7
- } from "./chunk-UFUAIVNV.js";
7
+ } from "./chunk-TB7SYXXS.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-SL3NMNEC.js").then((m) => m.ensureAbleTimeAccessToken());
156
+ const rawToken = opts?.token ?? await import("./abletime-oauth-JAINJBNY.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-SL3NMNEC.js").then((m) => m.ensureAbleTimeAccessToken());
227
+ const rawToken = opts?.token ?? await import("./abletime-oauth-JAINJBNY.js").then((m) => m.ensureAbleTimeAccessToken());
228
228
  if (rawToken && ableTimeUsesRest(rawToken)) {
229
- const { callAbleTimeRestTool } = await import("./abletime-rest-JZU6JJCV.js");
229
+ const { callAbleTimeRestTool } = await import("./abletime-rest-4TCWPN7E.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-JZU6JJCV.js");
245
+ const { callAbleTimeRestTool } = await import("./abletime-rest-4TCWPN7E.js");
246
246
  return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
247
247
  }
248
248
  throw err instanceof Error ? new Error(rewriteAbleTimeError(err.message)) : err;
@@ -32,12 +32,12 @@ import {
32
32
  tryReservePort,
33
33
  tryReservePorts,
34
34
  worktreeRunPortsPath
35
- } from "./chunk-C3E2DGDF.js";
35
+ } from "./chunk-MBQU6RE2.js";
36
36
  import "./chunk-WWBPK7GB.js";
37
- import "./chunk-YE7Z5WH3.js";
38
- import "./chunk-HISSQICH.js";
39
- import "./chunk-FQ3JYUKI.js";
40
- import "./chunk-TCEUNSLX.js";
37
+ import "./chunk-QKNOKO2P.js";
38
+ import "./chunk-HBRP2SHA.js";
39
+ import "./chunk-SBUR2WCP.js";
40
+ import "./chunk-NRGT7RMO.js";
41
41
  import "./chunk-BMRJNRQK.js";
42
42
  import "./chunk-NJV5YEKI.js";
43
43
  import "./chunk-N6ZF3XRP.js";
@@ -45,7 +45,7 @@ import "./chunk-PWOFUPYM.js";
45
45
  import "./chunk-6K64FJDD.js";
46
46
  import "./chunk-LG6RJBIY.js";
47
47
  import "./chunk-R4W4VQJZ.js";
48
- import "./chunk-UFUAIVNV.js";
48
+ import "./chunk-TB7SYXXS.js";
49
49
  import "./chunk-JT7R45JB.js";
50
50
  import {
51
51
  stripNestedElectronEnv
@@ -34,17 +34,17 @@ import {
34
34
  tryReservePort,
35
35
  tryReservePorts,
36
36
  worktreeRunPortsPath
37
- } from "./chunk-AEEOYLVK.js";
37
+ } from "./chunk-SWU5C3HQ.js";
38
38
  import "./chunk-LESWJ7L4.js";
39
- import "./chunk-BF6INES4.js";
40
- import "./chunk-SZY23KGS.js";
41
- import "./chunk-VHQ6OG3U.js";
39
+ import "./chunk-X52SO3DM.js";
40
+ import "./chunk-WTT525MC.js";
41
+ import "./chunk-ZHYFRRPN.js";
42
42
  import "./chunk-N2WW62LF.js";
43
43
  import "./chunk-GK7H3SY7.js";
44
44
  import "./chunk-TL2HK6LZ.js";
45
- import "./chunk-SMSD6U3N.js";
45
+ import "./chunk-GA5MLYVG.js";
46
46
  import "./chunk-WMZIANPV.js";
47
- import "./chunk-VL6F2KRE.js";
47
+ import "./chunk-RMJXFABA.js";
48
48
  import "./chunk-NSTQ6QKD.js";
49
49
  import {
50
50
  stripNestedElectronEnv
@@ -9,14 +9,14 @@ import {
9
9
  enrichWorkspacesWithGithub,
10
10
  ensureGlobalCoordinatorCwd,
11
11
  formatWorkspaceInventory
12
- } from "./chunk-SZY23KGS.js";
13
- import "./chunk-VHQ6OG3U.js";
12
+ } from "./chunk-WTT525MC.js";
13
+ import "./chunk-ZHYFRRPN.js";
14
14
  import "./chunk-N2WW62LF.js";
15
15
  import "./chunk-GK7H3SY7.js";
16
16
  import "./chunk-TL2HK6LZ.js";
17
- import "./chunk-SMSD6U3N.js";
17
+ import "./chunk-GA5MLYVG.js";
18
18
  import "./chunk-WMZIANPV.js";
19
- import "./chunk-VL6F2KRE.js";
19
+ import "./chunk-RMJXFABA.js";
20
20
  import "./chunk-NSTQ6QKD.js";
21
21
  import "./chunk-WWUABK6B.js";
22
22
  import "./chunk-FJZWM2ON.js";
@@ -7,15 +7,15 @@ import {
7
7
  enrichWorkspacesWithGithub,
8
8
  ensureGlobalCoordinatorCwd,
9
9
  formatWorkspaceInventory
10
- } from "./chunk-HISSQICH.js";
11
- import "./chunk-FQ3JYUKI.js";
12
- import "./chunk-TCEUNSLX.js";
10
+ } from "./chunk-HBRP2SHA.js";
11
+ import "./chunk-SBUR2WCP.js";
12
+ import "./chunk-NRGT7RMO.js";
13
13
  import "./chunk-BMRJNRQK.js";
14
14
  import "./chunk-N6ZF3XRP.js";
15
15
  import "./chunk-6K64FJDD.js";
16
16
  import "./chunk-LG6RJBIY.js";
17
17
  import "./chunk-R4W4VQJZ.js";
18
- import "./chunk-UFUAIVNV.js";
18
+ import "./chunk-TB7SYXXS.js";
19
19
  import "./chunk-JT7R45JB.js";
20
20
  import "./chunk-4TR3HZFT.js";
21
21
  import "./chunk-WDRMZKVB.js";
@@ -18,15 +18,15 @@ import {
18
18
  remoteCoordinatorSourceRef,
19
19
  slackCoordinatorSourceRef,
20
20
  takenTeamSlugsForOrchestration
21
- } from "./chunk-HISSQICH.js";
22
- import "./chunk-FQ3JYUKI.js";
23
- import "./chunk-TCEUNSLX.js";
21
+ } from "./chunk-HBRP2SHA.js";
22
+ import "./chunk-SBUR2WCP.js";
23
+ import "./chunk-NRGT7RMO.js";
24
24
  import "./chunk-BMRJNRQK.js";
25
25
  import "./chunk-N6ZF3XRP.js";
26
26
  import "./chunk-6K64FJDD.js";
27
27
  import "./chunk-LG6RJBIY.js";
28
28
  import "./chunk-R4W4VQJZ.js";
29
- import "./chunk-UFUAIVNV.js";
29
+ import "./chunk-TB7SYXXS.js";
30
30
  import "./chunk-JT7R45JB.js";
31
31
  import "./chunk-4TR3HZFT.js";
32
32
  import "./chunk-WDRMZKVB.js";
@@ -20,14 +20,14 @@ import {
20
20
  remoteCoordinatorSourceRef,
21
21
  slackCoordinatorSourceRef,
22
22
  takenTeamSlugsForOrchestration
23
- } from "./chunk-SZY23KGS.js";
24
- import "./chunk-VHQ6OG3U.js";
23
+ } from "./chunk-WTT525MC.js";
24
+ import "./chunk-ZHYFRRPN.js";
25
25
  import "./chunk-N2WW62LF.js";
26
26
  import "./chunk-GK7H3SY7.js";
27
27
  import "./chunk-TL2HK6LZ.js";
28
- import "./chunk-SMSD6U3N.js";
28
+ import "./chunk-GA5MLYVG.js";
29
29
  import "./chunk-WMZIANPV.js";
30
- import "./chunk-VL6F2KRE.js";
30
+ import "./chunk-RMJXFABA.js";
31
31
  import "./chunk-NSTQ6QKD.js";
32
32
  import "./chunk-WWUABK6B.js";
33
33
  import "./chunk-FJZWM2ON.js";