@sideboard-ai/core 0.1.317 → 0.1.319

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 (40) hide show
  1. package/dist/{abletime-NZ2ABWAL.js → abletime-DVYO4IVS.js} +6 -4
  2. package/dist/{abletime-TKAFNXCM.js → abletime-L3ODNTBT.js} +5 -3
  3. package/dist/{abletime-oauth-S4AXA4WR.js → abletime-oauth-2VWQCXGT.js} +2 -2
  4. package/dist/{abletime-oauth-CBFFBINA.js → abletime-oauth-6DTX7LB7.js} +3 -3
  5. package/dist/{abletime-rest-ORBELZQO.js → abletime-rest-7NICZYOC.js} +2 -2
  6. package/dist/{abletime-rest-NSOP72AI.js → abletime-rest-PYQM234B.js} +3 -3
  7. package/dist/{agents-BJVSYC6Y.js → agents-2AR7I6B6.js} +5 -5
  8. package/dist/{app-settings-RQAFJZCD.js → app-settings-V6YPYY57.js} +1 -1
  9. package/dist/{chunk-CCUGIVYN.js → chunk-5OM7UCTQ.js} +3 -3
  10. package/dist/{chunk-NXNNYY3Q.js → chunk-AESO2KJS.js} +2 -2
  11. package/dist/{chunk-VVV7EI6T.js → chunk-AUJ4XB6H.js} +2 -2
  12. package/dist/{chunk-S3U4HR5F.js → chunk-AZ4GEEGL.js} +2 -2
  13. package/dist/{chunk-U7PNCYNX.js → chunk-E52SQENB.js} +1 -0
  14. package/dist/{chunk-OLYNM52B.js → chunk-FDXHNROD.js} +2 -2
  15. package/dist/{chunk-XWUDFLBX.js → chunk-IAPO7ZFG.js} +4 -4
  16. package/dist/{chunk-VZAJVX36.js → chunk-JD7CC6SW.js} +1 -1
  17. package/dist/{chunk-ELBK34TY.js → chunk-LXBZQP2Q.js} +5 -5
  18. package/dist/{chunk-BXTISNKW.js → chunk-OO3R6CS2.js} +216 -64
  19. package/dist/{chunk-I5CLCWUK.js → chunk-QPLQXWND.js} +8 -4
  20. package/dist/{chunk-4XZJYBO2.js → chunk-ST2UQBJT.js} +4 -4
  21. package/dist/{chunk-YN6XONV5.js → chunk-TUJFCJJU.js} +1 -1
  22. package/dist/{chunk-U53JICJ2.js → chunk-U2N32EA6.js} +233 -81
  23. package/dist/{chunk-GXSV3X3L.js → chunk-WLZHRNE6.js} +9 -5
  24. package/dist/{chunk-PX324N7P.js → chunk-YALFZKSC.js} +2 -2
  25. package/dist/{chunk-7SCVGGF6.js → chunk-ZM43NTJJ.js} +4 -4
  26. package/dist/{conductor-TP2NA44I.js → conductor-MG2RAQNT.js} +4 -4
  27. package/dist/{coordinator-prompt-FQC2SZPP.js → coordinator-prompt-X74F3JIC.js} +3 -3
  28. package/dist/{global-workspace-72K6D354.js → global-workspace-FTNJEML3.js} +3 -3
  29. package/dist/index.cjs +301 -79
  30. package/dist/index.d.cts +29 -9
  31. package/dist/index.d.ts +29 -9
  32. package/dist/index.js +72 -27
  33. package/dist/mcp/run-stdio.cjs +240 -63
  34. package/dist/mcp/run-stdio.js +4 -4
  35. package/dist/{optional-cli-LMSRZNH4.js → optional-cli-6GGESWGE.js} +4 -4
  36. package/dist/{orchestrator-N54V3B76.js → orchestrator-H3DSZ5RM.js} +1 -1
  37. package/dist/{orchestrator-E72HYGTB.js → orchestrator-NCA4LSCC.js} +8 -8
  38. package/dist/{workspaces-GAUHXBUL.js → workspaces-MGKEAYNM.js} +3 -3
  39. package/dist/{worktree-6FUQ7FEF.js → worktree-THAXW5U7.js} +2 -2
  40. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  ableTimeDependencyTarget,
3
+ ableTimeStateIsClosed,
3
4
  commentAbleTimeTask,
4
5
  createAbleTimeTask,
5
6
  downloadAbleTimeAttachment,
@@ -16,12 +17,12 @@ import {
16
17
  toAbleTimeIssueInfo,
17
18
  updateAbleTimeTask,
18
19
  verifyAbleTimeConnection
19
- } from "./chunk-GXSV3X3L.js";
20
- import "./chunk-VVV7EI6T.js";
21
- import "./chunk-ELBK34TY.js";
20
+ } from "./chunk-WLZHRNE6.js";
21
+ import "./chunk-AUJ4XB6H.js";
22
+ import "./chunk-LXBZQP2Q.js";
22
23
  import "./chunk-JAT3JFOS.js";
23
24
  import "./chunk-6K64FJDD.js";
24
- import "./chunk-U7PNCYNX.js";
25
+ import "./chunk-E52SQENB.js";
25
26
  import "./chunk-77WWLBCI.js";
26
27
  import "./chunk-4TR3HZFT.js";
27
28
  import "./chunk-WDRMZKVB.js";
@@ -30,6 +31,7 @@ import "./chunk-JT7R45JB.js";
30
31
  import "./chunk-H4UEFJRI.js";
31
32
  export {
32
33
  ableTimeDependencyTarget,
34
+ ableTimeStateIsClosed,
33
35
  commentAbleTimeTask,
34
36
  createAbleTimeTask,
35
37
  downloadAbleTimeAttachment,
@@ -2,6 +2,7 @@
2
2
 
3
3
  import {
4
4
  ableTimeDependencyTarget,
5
+ ableTimeStateIsClosed,
5
6
  commentAbleTimeTask,
6
7
  createAbleTimeTask,
7
8
  downloadAbleTimeAttachment,
@@ -18,9 +19,9 @@ import {
18
19
  toAbleTimeIssueInfo,
19
20
  updateAbleTimeTask,
20
21
  verifyAbleTimeConnection
21
- } from "./chunk-I5CLCWUK.js";
22
- import "./chunk-VZAJVX36.js";
23
- import "./chunk-7SCVGGF6.js";
22
+ } from "./chunk-QPLQXWND.js";
23
+ import "./chunk-JD7CC6SW.js";
24
+ import "./chunk-ZM43NTJJ.js";
24
25
  import "./chunk-2GPQZZLY.js";
25
26
  import "./chunk-N2WW62LF.js";
26
27
  import "./chunk-GCHSJCCX.js";
@@ -32,6 +33,7 @@ import "./chunk-KGZBYWZ3.js";
32
33
  import "./chunk-WOU343SI.js";
33
34
  export {
34
35
  ableTimeDependencyTarget,
36
+ ableTimeStateIsClosed,
35
37
  commentAbleTimeTask,
36
38
  createAbleTimeTask,
37
39
  downloadAbleTimeAttachment,
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  DEFAULT_ABLETIME_HOST,
5
5
  normalizeAbleTimeHost
6
- } from "./chunk-7SCVGGF6.js";
6
+ } from "./chunk-ZM43NTJJ.js";
7
7
  import {
8
8
  httpFetch
9
9
  } from "./chunk-2GPQZZLY.js";
@@ -288,7 +288,7 @@ async function startAbleTimeOAuth(opts) {
288
288
  persistAbleTimeTokens(data, { host });
289
289
  const token = data.access_token.trim();
290
290
  try {
291
- const { getAbleTimeOrientation } = await import("./abletime-TKAFNXCM.js");
291
+ const { getAbleTimeOrientation } = await import("./abletime-L3ODNTBT.js");
292
292
  const orientation = await getAbleTimeOrientation({ token, host });
293
293
  return saveAbleTimeConnection({
294
294
  accessToken: token,
@@ -20,10 +20,10 @@ import {
20
20
  parseAbleTimeOAuthCallbackUrl,
21
21
  resolveAbleTimeOAuthHost,
22
22
  startAbleTimeOAuth
23
- } from "./chunk-CCUGIVYN.js";
24
- import "./chunk-ELBK34TY.js";
23
+ } from "./chunk-5OM7UCTQ.js";
24
+ import "./chunk-LXBZQP2Q.js";
25
25
  import "./chunk-JAT3JFOS.js";
26
- import "./chunk-U7PNCYNX.js";
26
+ import "./chunk-E52SQENB.js";
27
27
  import "./chunk-77WWLBCI.js";
28
28
  import "./chunk-4TR3HZFT.js";
29
29
  import "./chunk-WDRMZKVB.js";
@@ -7,8 +7,8 @@ import {
7
7
  callAbleTimeRestTool,
8
8
  looksLikeAbleTimeUlid,
9
9
  textFromAbleTimeDoc
10
- } from "./chunk-VZAJVX36.js";
11
- import "./chunk-7SCVGGF6.js";
10
+ } from "./chunk-JD7CC6SW.js";
11
+ import "./chunk-ZM43NTJJ.js";
12
12
  import "./chunk-2GPQZZLY.js";
13
13
  import "./chunk-GCHSJCCX.js";
14
14
  import "./chunk-NSTQ6QKD.js";
@@ -5,10 +5,10 @@ import {
5
5
  callAbleTimeRestTool,
6
6
  looksLikeAbleTimeUlid,
7
7
  textFromAbleTimeDoc
8
- } from "./chunk-VVV7EI6T.js";
9
- import "./chunk-ELBK34TY.js";
8
+ } from "./chunk-AUJ4XB6H.js";
9
+ import "./chunk-LXBZQP2Q.js";
10
10
  import "./chunk-JAT3JFOS.js";
11
- import "./chunk-U7PNCYNX.js";
11
+ import "./chunk-E52SQENB.js";
12
12
  import "./chunk-77WWLBCI.js";
13
13
  import "./chunk-4TR3HZFT.js";
14
14
  import "./chunk-WDRMZKVB.js";
@@ -37,7 +37,7 @@ import {
37
37
  planModeTurnInstruction,
38
38
  resolveCursorModelId,
39
39
  resolveQuotaFallbackAgent
40
- } from "./chunk-XWUDFLBX.js";
40
+ } from "./chunk-IAPO7ZFG.js";
41
41
  import "./chunk-HH3VVTEC.js";
42
42
  import "./chunk-7Q327QF2.js";
43
43
  import {
@@ -51,9 +51,9 @@ import {
51
51
  prepareTerminalCommand,
52
52
  resolveLoginCommand,
53
53
  whichOnPath
54
- } from "./chunk-NXNNYY3Q.js";
55
- import "./chunk-PX324N7P.js";
56
- import "./chunk-YN6XONV5.js";
54
+ } from "./chunk-AESO2KJS.js";
55
+ import "./chunk-YALFZKSC.js";
56
+ import "./chunk-TUJFCJJU.js";
57
57
  import "./chunk-YEIHCSZS.js";
58
58
  import "./chunk-2P4XKWV2.js";
59
59
  import "./chunk-RSA47QYR.js";
@@ -88,7 +88,7 @@ import {
88
88
  assertOrchestratorCapableAgent,
89
89
  coerceOrchestratorAgent,
90
90
  isOrchestratorCapableAgent
91
- } from "./chunk-U7PNCYNX.js";
91
+ } from "./chunk-E52SQENB.js";
92
92
  import "./chunk-77WWLBCI.js";
93
93
  import "./chunk-4TR3HZFT.js";
94
94
  import "./chunk-WDRMZKVB.js";
@@ -107,7 +107,7 @@ import {
107
107
  updateProjectProfileSettings,
108
108
  usageOnLimit,
109
109
  writeViewerContext
110
- } from "./chunk-U7PNCYNX.js";
110
+ } from "./chunk-E52SQENB.js";
111
111
  import "./chunk-77WWLBCI.js";
112
112
  import "./chunk-4TR3HZFT.js";
113
113
  import "./chunk-WDRMZKVB.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DEFAULT_ABLETIME_HOST,
3
3
  normalizeAbleTimeHost
4
- } from "./chunk-ELBK34TY.js";
4
+ } from "./chunk-LXBZQP2Q.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-U7PNCYNX.js";
13
+ } from "./chunk-E52SQENB.js";
14
14
 
15
15
  // src/integrations/abletime-oauth.ts
16
16
  import { createHash, randomBytes } from "crypto";
@@ -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-NZ2ABWAL.js");
283
+ const { getAbleTimeOrientation } = await import("./abletime-DVYO4IVS.js");
284
284
  const orientation = await getAbleTimeOrientation({ token, host });
285
285
  return saveAbleTimeConnection({
286
286
  accessToken: token,
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-QVN2WOKJ.js";
8
8
  import {
9
9
  resolveAgentExecutable
10
- } from "./chunk-U7PNCYNX.js";
10
+ } from "./chunk-E52SQENB.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-RQAFJZCD.js");
268
+ const { loadAppSettings } = await import("./app-settings-V6YPYY57.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) {
@@ -4,14 +4,14 @@ import {
4
4
  normalizeAbleTimeCredential,
5
5
  normalizeAbleTimeHost,
6
6
  rewriteAbleTimeError
7
- } from "./chunk-ELBK34TY.js";
7
+ } from "./chunk-LXBZQP2Q.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-U7PNCYNX.js";
14
+ } from "./chunk-E52SQENB.js";
15
15
 
16
16
  // src/integrations/abletime-rest.ts
17
17
  var ABLETIME_REST_PREFIX = "/api/public/v2";
@@ -2,11 +2,11 @@ import {
2
2
  OPTIONAL_SERVICES,
3
3
  isOptionalServiceId,
4
4
  optionalServiceSpec
5
- } from "./chunk-OLYNM52B.js";
5
+ } from "./chunk-FDXHNROD.js";
6
6
  import {
7
7
  installNpmGlobalPackage,
8
8
  whichOnPath
9
- } from "./chunk-NXNNYY3Q.js";
9
+ } from "./chunk-AESO2KJS.js";
10
10
  import {
11
11
  enrichPathWithNpmGlobalBin
12
12
  } from "./chunk-QVN2WOKJ.js";
@@ -293,6 +293,7 @@ function parseRemoteClientMessage(raw) {
293
293
  const msg = parsed;
294
294
  if (msg.type === "ping") return { type: "ping" };
295
295
  if (msg.type === "host_pair") return { type: "host_pair" };
296
+ if (msg.type === "pairing_done") return { type: "pairing_done" };
296
297
  if (msg.type === "e2ee_fail") return { type: "e2ee_fail" };
297
298
  if (msg.type === "stop") return { type: "stop" };
298
299
  if (msg.type === "host_register") {
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  loadAppSettings,
6
6
  saveAppSettings
7
- } from "./chunk-U7PNCYNX.js";
7
+ } from "./chunk-E52SQENB.js";
8
8
 
9
9
  // src/integrations/optional-services.ts
10
10
  var OPTIONAL_SERVICE_IDS = ["vercel", "supabase", "posthog", "sentry"];
@@ -273,7 +273,7 @@ async function connectedCliPresence(integrations) {
273
273
  const ids = connectedOptionalServices(integrations).filter((spec) => spec.cli).map((spec) => spec.id);
274
274
  if (ids.length === 0) return void 0;
275
275
  try {
276
- const { optionalCliPresence } = await import("./optional-cli-LMSRZNH4.js");
276
+ const { optionalCliPresence } = await import("./optional-cli-6GGESWGE.js");
277
277
  return await optionalCliPresence(ids);
278
278
  } catch {
279
279
  return void 0;
@@ -12,13 +12,13 @@ import {
12
12
  } from "./chunk-7Q327QF2.js";
13
13
  import {
14
14
  isOrchestratorThread
15
- } from "./chunk-PX324N7P.js";
15
+ } from "./chunk-YALFZKSC.js";
16
16
  import {
17
17
  codexUnattendedGitConfigArgs,
18
18
  mergeAgentGitAuthEnv,
19
19
  resolveAgentGitAuthEnv,
20
20
  resolveCodexGitWritableRoots
21
- } from "./chunk-YN6XONV5.js";
21
+ } from "./chunk-TUJFCJJU.js";
22
22
  import {
23
23
  loadBrightsyConfig
24
24
  } from "./chunk-RSA47QYR.js";
@@ -76,7 +76,7 @@ import {
76
76
  loadAppSettings,
77
77
  resolveAgentExecutable,
78
78
  resolveClaudeExecutable
79
- } from "./chunk-U7PNCYNX.js";
79
+ } from "./chunk-E52SQENB.js";
80
80
  import {
81
81
  isElectronLikeCommand,
82
82
  unwrapStrippedElectronLaunch
@@ -2609,7 +2609,7 @@ var claudeAdapter = {
2609
2609
  );
2610
2610
  }
2611
2611
  const mode = permissionMode(thread);
2612
- const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-72K6D354.js");
2612
+ const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-FTNJEML3.js");
2613
2613
  const isOrchestrator = isOrchestratorThread2(thread);
2614
2614
  const rpc = worktreeAgentRpc(isOrchestrator);
2615
2615
  const injectedServers = await buildInjectedMcpServers({
@@ -6,7 +6,7 @@ import {
6
6
  normalizeAbleTimeCredential,
7
7
  normalizeAbleTimeHost,
8
8
  rewriteAbleTimeError
9
- } from "./chunk-7SCVGGF6.js";
9
+ } from "./chunk-ZM43NTJJ.js";
10
10
  import {
11
11
  httpFetch
12
12
  } from "./chunk-2GPQZZLY.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  getAbleTimeHost,
6
6
  isAbleTimeConnected
7
- } from "./chunk-U7PNCYNX.js";
7
+ } from "./chunk-E52SQENB.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-CBFFBINA.js").then((m) => m.ensureAbleTimeAccessToken());
156
+ const rawToken = opts?.token ?? await import("./abletime-oauth-6DTX7LB7.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-CBFFBINA.js").then((m) => m.ensureAbleTimeAccessToken());
227
+ const rawToken = opts?.token ?? await import("./abletime-oauth-6DTX7LB7.js").then((m) => m.ensureAbleTimeAccessToken());
228
228
  if (rawToken && ableTimeUsesRest(rawToken)) {
229
- const { callAbleTimeRestTool } = await import("./abletime-rest-NSOP72AI.js");
229
+ const { callAbleTimeRestTool } = await import("./abletime-rest-PYQM234B.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-NSOP72AI.js");
245
+ const { callAbleTimeRestTool } = await import("./abletime-rest-PYQM234B.js");
246
246
  return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
247
247
  }
248
248
  throw err instanceof Error ? new Error(rewriteAbleTimeError(err.message)) : err;