@sideboard-ai/core 0.1.315 → 0.1.316

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 (28) hide show
  1. package/dist/{abletime-QQZWYJXC.js → abletime-NZ2ABWAL.js} +3 -3
  2. package/dist/{abletime-QK3KMRQD.js → abletime-TKAFNXCM.js} +3 -3
  3. package/dist/{abletime-oauth-CAHTMB4V.js → abletime-oauth-CBFFBINA.js} +2 -2
  4. package/dist/{abletime-oauth-I2RRPVKT.js → abletime-oauth-S4AXA4WR.js} +2 -2
  5. package/dist/{abletime-rest-5V4KGMSY.js → abletime-rest-NSOP72AI.js} +2 -2
  6. package/dist/{abletime-rest-W5TLQK7C.js → abletime-rest-ORBELZQO.js} +2 -2
  7. package/dist/{chunk-BMORGDYI.js → chunk-4ISF5XUA.js} +4 -3
  8. package/dist/{chunk-CYPFOIUK.js → chunk-7BLIY2DD.js} +3 -3
  9. package/dist/{chunk-JRZTJ4F7.js → chunk-7SCVGGF6.js} +4 -4
  10. package/dist/{chunk-IODJCVMN.js → chunk-ATSZXRFQ.js} +2 -1
  11. package/dist/{chunk-7J2KOIYD.js → chunk-CCUGIVYN.js} +2 -2
  12. package/dist/{chunk-YR7NZYUT.js → chunk-DNWO6PQJ.js} +2 -1
  13. package/dist/{chunk-DV6ID6CK.js → chunk-ELBK34TY.js} +4 -4
  14. package/dist/{chunk-MKGSMPWB.js → chunk-GXSV3X3L.js} +2 -2
  15. package/dist/{chunk-72OWKHFJ.js → chunk-I5CLCWUK.js} +2 -2
  16. package/dist/{chunk-NZVD5EVX.js → chunk-VVV7EI6T.js} +2 -1
  17. package/dist/{chunk-Y4WARKPW.js → chunk-VZAJVX36.js} +2 -1
  18. package/dist/{conductor-DKWTQADV.js → conductor-CFLBKVHJ.js} +1 -1
  19. package/dist/{conductor-IMKNYQWZ.js → conductor-NZ4V5CJX.js} +1 -1
  20. package/dist/index.cjs +293 -6
  21. package/dist/index.d.cts +11 -5
  22. package/dist/index.d.ts +11 -5
  23. package/dist/index.js +294 -15
  24. package/dist/mcp/run-stdio.cjs +2 -0
  25. package/dist/mcp/run-stdio.js +5 -5
  26. package/dist/{orchestrator-ZRMZ4TCL.js → orchestrator-7342RGRU.js} +2 -2
  27. package/dist/{orchestrator-4XFRK57E.js → orchestrator-KXEPWTG5.js} +2 -2
  28. package/package.json +1 -1
@@ -16,9 +16,9 @@ import {
16
16
  toAbleTimeIssueInfo,
17
17
  updateAbleTimeTask,
18
18
  verifyAbleTimeConnection
19
- } from "./chunk-MKGSMPWB.js";
20
- import "./chunk-NZVD5EVX.js";
21
- import "./chunk-DV6ID6CK.js";
19
+ } from "./chunk-GXSV3X3L.js";
20
+ import "./chunk-VVV7EI6T.js";
21
+ import "./chunk-ELBK34TY.js";
22
22
  import "./chunk-JAT3JFOS.js";
23
23
  import "./chunk-6K64FJDD.js";
24
24
  import "./chunk-U7PNCYNX.js";
@@ -18,9 +18,9 @@ import {
18
18
  toAbleTimeIssueInfo,
19
19
  updateAbleTimeTask,
20
20
  verifyAbleTimeConnection
21
- } from "./chunk-72OWKHFJ.js";
22
- import "./chunk-Y4WARKPW.js";
23
- import "./chunk-JRZTJ4F7.js";
21
+ } from "./chunk-I5CLCWUK.js";
22
+ import "./chunk-VZAJVX36.js";
23
+ import "./chunk-7SCVGGF6.js";
24
24
  import "./chunk-2GPQZZLY.js";
25
25
  import "./chunk-N2WW62LF.js";
26
26
  import "./chunk-GCHSJCCX.js";
@@ -20,8 +20,8 @@ import {
20
20
  parseAbleTimeOAuthCallbackUrl,
21
21
  resolveAbleTimeOAuthHost,
22
22
  startAbleTimeOAuth
23
- } from "./chunk-7J2KOIYD.js";
24
- import "./chunk-DV6ID6CK.js";
23
+ } from "./chunk-CCUGIVYN.js";
24
+ import "./chunk-ELBK34TY.js";
25
25
  import "./chunk-JAT3JFOS.js";
26
26
  import "./chunk-U7PNCYNX.js";
27
27
  import "./chunk-77WWLBCI.js";
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  DEFAULT_ABLETIME_HOST,
5
5
  normalizeAbleTimeHost
6
- } from "./chunk-JRZTJ4F7.js";
6
+ } from "./chunk-7SCVGGF6.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-QK3KMRQD.js");
291
+ const { getAbleTimeOrientation } = await import("./abletime-TKAFNXCM.js");
292
292
  const orientation = await getAbleTimeOrientation({ token, host });
293
293
  return saveAbleTimeConnection({
294
294
  accessToken: token,
@@ -5,8 +5,8 @@ import {
5
5
  callAbleTimeRestTool,
6
6
  looksLikeAbleTimeUlid,
7
7
  textFromAbleTimeDoc
8
- } from "./chunk-NZVD5EVX.js";
9
- import "./chunk-DV6ID6CK.js";
8
+ } from "./chunk-VVV7EI6T.js";
9
+ import "./chunk-ELBK34TY.js";
10
10
  import "./chunk-JAT3JFOS.js";
11
11
  import "./chunk-U7PNCYNX.js";
12
12
  import "./chunk-77WWLBCI.js";
@@ -7,8 +7,8 @@ import {
7
7
  callAbleTimeRestTool,
8
8
  looksLikeAbleTimeUlid,
9
9
  textFromAbleTimeDoc
10
- } from "./chunk-Y4WARKPW.js";
11
- import "./chunk-JRZTJ4F7.js";
10
+ } from "./chunk-VZAJVX36.js";
11
+ import "./chunk-7SCVGGF6.js";
12
12
  import "./chunk-2GPQZZLY.js";
13
13
  import "./chunk-GCHSJCCX.js";
14
14
  import "./chunk-NSTQ6QKD.js";
@@ -56,7 +56,7 @@ import {
56
56
  worktreeDevProcessKey,
57
57
  worktreeRunProcessKey,
58
58
  worktreeSetupProcessKey
59
- } from "./chunk-IODJCVMN.js";
59
+ } from "./chunk-ATSZXRFQ.js";
60
60
  import {
61
61
  applyAgentEvent,
62
62
  clipAgentEventForPaint,
@@ -2989,7 +2989,7 @@ async function createThread(input, _onSetupLine) {
2989
2989
  let sourceIsFork = false;
2990
2990
  if (!input.cowboy && sourceType === "branch" && (!sourceRef || sourceRef === "HEAD" || sourceRef === "default")) {
2991
2991
  if (isAbleTimeConnected() && getIssueSource() === "abletime") {
2992
- const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-QQZWYJXC.js");
2992
+ const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-NZ2ABWAL.js");
2993
2993
  const task = await ensureAbleTimeTask({
2994
2994
  title: title?.trim() || "Untitled work",
2995
2995
  description: input.prompt?.trim() || void 0
@@ -6815,7 +6815,7 @@ function formatScheduledPrompt(name, prompt) {
6815
6815
  ${prompt}`;
6816
6816
  }
6817
6817
  async function defaultDeps() {
6818
- const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-4XFRK57E.js");
6818
+ const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-KXEPWTG5.js");
6819
6819
  const orch = getOrchestrator2();
6820
6820
  return {
6821
6821
  findThread: (id) => findThreadByRef(id),
@@ -9730,6 +9730,7 @@ export {
9730
9730
  sidebarRowAgentBlock,
9731
9731
  sidebarParentSelectId,
9732
9732
  sidebarQuestionThreadId,
9733
+ issueBlockedByIds,
9733
9734
  reviewLabelForRepo,
9734
9735
  classifyWorktreeListBadges,
9735
9736
  isHomeBoardThread,
@@ -69,7 +69,7 @@ import {
69
69
  worktreeDevProcessKey,
70
70
  worktreeRunProcessKey,
71
71
  worktreeSetupProcessKey
72
- } from "./chunk-YR7NZYUT.js";
72
+ } from "./chunk-DNWO6PQJ.js";
73
73
  import {
74
74
  applyAgentEvent,
75
75
  clipAgentEventForPaint,
@@ -2691,7 +2691,7 @@ async function createThread(input, _onSetupLine) {
2691
2691
  let sourceIsFork = false;
2692
2692
  if (!input.cowboy && sourceType === "branch" && (!sourceRef || sourceRef === "HEAD" || sourceRef === "default")) {
2693
2693
  if (isAbleTimeConnected() && getIssueSource() === "abletime") {
2694
- const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-QK3KMRQD.js");
2694
+ const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-TKAFNXCM.js");
2695
2695
  const task = await ensureAbleTimeTask({
2696
2696
  title: title?.trim() || "Untitled work",
2697
2697
  description: input.prompt?.trim() || void 0
@@ -6458,7 +6458,7 @@ function formatScheduledPrompt(name, prompt) {
6458
6458
  ${prompt}`;
6459
6459
  }
6460
6460
  async function defaultDeps() {
6461
- const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-ZRMZ4TCL.js");
6461
+ const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-7342RGRU.js");
6462
6462
  const orch = getOrchestrator2();
6463
6463
  return {
6464
6464
  findThread: (id) => findThreadByRef(id),
@@ -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-I2RRPVKT.js").then((m) => m.ensureAbleTimeAccessToken());
158
+ const rawToken = opts?.token ?? await import("./abletime-oauth-S4AXA4WR.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-I2RRPVKT.js").then((m) => m.ensureAbleTimeAccessToken());
229
+ const rawToken = opts?.token ?? await import("./abletime-oauth-S4AXA4WR.js").then((m) => m.ensureAbleTimeAccessToken());
230
230
  if (rawToken && ableTimeUsesRest(rawToken)) {
231
- const { callAbleTimeRestTool } = await import("./abletime-rest-W5TLQK7C.js");
231
+ const { callAbleTimeRestTool } = await import("./abletime-rest-ORBELZQO.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-W5TLQK7C.js");
247
+ const { callAbleTimeRestTool } = await import("./abletime-rest-ORBELZQO.js");
248
248
  return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
249
249
  }
250
250
  throw err instanceof Error ? new Error(rewriteAbleTimeError(err.message)) : err;
@@ -690,6 +690,7 @@ function worktreeBindingFrom(from) {
690
690
  prIsInMergeQueue: from.prIsInMergeQueue,
691
691
  prLabels: from.prLabels,
692
692
  prChecksFailed: from.prChecksFailed,
693
+ issueBlockedBy: from.issueBlockedBy,
693
694
  skipAutoArchiveOnMerge: from.skipAutoArchiveOnMerge,
694
695
  stackId: from.stackId,
695
696
  stackLayer: from.stackLayer,
@@ -1832,7 +1833,7 @@ var PORT_RANGE_SIZE = 10;
1832
1833
  var RECLAIM_RETRY_DELAY_MS = 40;
1833
1834
  var RECLAIM_TRIES = 8;
1834
1835
  async function killReclaimable(ports, worktreePath, signal) {
1835
- const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-DKWTQADV.js");
1836
+ const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-CFLBKVHJ.js");
1836
1837
  if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
1837
1838
  else killListenersOnPorts2(ports);
1838
1839
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DEFAULT_ABLETIME_HOST,
3
3
  normalizeAbleTimeHost
4
- } from "./chunk-DV6ID6CK.js";
4
+ } from "./chunk-ELBK34TY.js";
5
5
  import {
6
6
  httpFetch
7
7
  } from "./chunk-JAT3JFOS.js";
@@ -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-QQZWYJXC.js");
283
+ const { getAbleTimeOrientation } = await import("./abletime-NZ2ABWAL.js");
284
284
  const orientation = await getAbleTimeOrientation({ token, host });
285
285
  return saveAbleTimeConnection({
286
286
  accessToken: token,
@@ -665,6 +665,7 @@ function worktreeBindingFrom(from) {
665
665
  prIsInMergeQueue: from.prIsInMergeQueue,
666
666
  prLabels: from.prLabels,
667
667
  prChecksFailed: from.prChecksFailed,
668
+ issueBlockedBy: from.issueBlockedBy,
668
669
  skipAutoArchiveOnMerge: from.skipAutoArchiveOnMerge,
669
670
  stackId: from.stackId,
670
671
  stackLayer: from.stackLayer,
@@ -1702,7 +1703,7 @@ var PORT_RANGE_SIZE = 10;
1702
1703
  var RECLAIM_RETRY_DELAY_MS = 40;
1703
1704
  var RECLAIM_TRIES = 8;
1704
1705
  async function killReclaimable(ports, worktreePath, signal) {
1705
- const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-IMKNYQWZ.js");
1706
+ const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-NZ4V5CJX.js");
1706
1707
  if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
1707
1708
  else killListenersOnPorts2(ports);
1708
1709
  }
@@ -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-CAHTMB4V.js").then((m) => m.ensureAbleTimeAccessToken());
156
+ const rawToken = opts?.token ?? await import("./abletime-oauth-CBFFBINA.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-CAHTMB4V.js").then((m) => m.ensureAbleTimeAccessToken());
227
+ const rawToken = opts?.token ?? await import("./abletime-oauth-CBFFBINA.js").then((m) => m.ensureAbleTimeAccessToken());
228
228
  if (rawToken && ableTimeUsesRest(rawToken)) {
229
- const { callAbleTimeRestTool } = await import("./abletime-rest-5V4KGMSY.js");
229
+ const { callAbleTimeRestTool } = await import("./abletime-rest-NSOP72AI.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-5V4KGMSY.js");
245
+ const { callAbleTimeRestTool } = await import("./abletime-rest-NSOP72AI.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,13 +1,13 @@
1
1
  import {
2
2
  abletimeRestUrl,
3
3
  textFromAbleTimeDoc
4
- } from "./chunk-NZVD5EVX.js";
4
+ } from "./chunk-VVV7EI6T.js";
5
5
  import {
6
6
  assertAbleTimeCredential,
7
7
  callAbleTimeTool,
8
8
  normalizeAbleTimeHost,
9
9
  rewriteAbleTimeError
10
- } from "./chunk-DV6ID6CK.js";
10
+ } from "./chunk-ELBK34TY.js";
11
11
  import {
12
12
  httpFetch
13
13
  } from "./chunk-JAT3JFOS.js";
@@ -3,13 +3,13 @@
3
3
  import {
4
4
  abletimeRestUrl,
5
5
  textFromAbleTimeDoc
6
- } from "./chunk-Y4WARKPW.js";
6
+ } from "./chunk-VZAJVX36.js";
7
7
  import {
8
8
  assertAbleTimeCredential,
9
9
  callAbleTimeTool,
10
10
  normalizeAbleTimeHost,
11
11
  rewriteAbleTimeError
12
- } from "./chunk-JRZTJ4F7.js";
12
+ } from "./chunk-7SCVGGF6.js";
13
13
  import {
14
14
  httpFetch
15
15
  } from "./chunk-2GPQZZLY.js";
@@ -4,7 +4,7 @@ import {
4
4
  normalizeAbleTimeCredential,
5
5
  normalizeAbleTimeHost,
6
6
  rewriteAbleTimeError
7
- } from "./chunk-DV6ID6CK.js";
7
+ } from "./chunk-ELBK34TY.js";
8
8
  import {
9
9
  httpFetch
10
10
  } from "./chunk-JAT3JFOS.js";
@@ -153,6 +153,7 @@ function restTaskToRaw(raw, users) {
153
153
  projectId: asString(rec.projectId),
154
154
  categoryId: asString(rec.projectCategoryId) || asString(rec.categoryId),
155
155
  parentId: asString(rec.parentTaskId) || asString(rec.parentId),
156
+ depends_on: rec.dependencyParentTimeflowTaskId ?? null,
156
157
  tags: rec.tags,
157
158
  comments,
158
159
  attachments: rec.attachments ?? rec.files ?? rec.media,
@@ -6,7 +6,7 @@ import {
6
6
  normalizeAbleTimeCredential,
7
7
  normalizeAbleTimeHost,
8
8
  rewriteAbleTimeError
9
- } from "./chunk-JRZTJ4F7.js";
9
+ } from "./chunk-7SCVGGF6.js";
10
10
  import {
11
11
  httpFetch
12
12
  } from "./chunk-2GPQZZLY.js";
@@ -155,6 +155,7 @@ function restTaskToRaw(raw, users) {
155
155
  projectId: asString(rec.projectId),
156
156
  categoryId: asString(rec.projectCategoryId) || asString(rec.categoryId),
157
157
  parentId: asString(rec.parentTaskId) || asString(rec.parentId),
158
+ depends_on: rec.dependencyParentTimeflowTaskId ?? null,
158
159
  tags: rec.tags,
159
160
  comments,
160
161
  attachments: rec.attachments ?? rec.files ?? rec.media,
@@ -32,7 +32,7 @@ import {
32
32
  tryReservePort,
33
33
  tryReservePorts,
34
34
  worktreeRunPortsPath
35
- } from "./chunk-IODJCVMN.js";
35
+ } from "./chunk-ATSZXRFQ.js";
36
36
  import "./chunk-7Q327QF2.js";
37
37
  import "./chunk-GFM63DTU.js";
38
38
  import "./chunk-BPBDGJ43.js";
@@ -34,7 +34,7 @@ import {
34
34
  tryReservePort,
35
35
  tryReservePorts,
36
36
  worktreeRunPortsPath
37
- } from "./chunk-YR7NZYUT.js";
37
+ } from "./chunk-DNWO6PQJ.js";
38
38
  import "./chunk-I5TESHDN.js";
39
39
  import "./chunk-PN32Z4JL.js";
40
40
  import "./chunk-5CTG5W7S.js";