@sideboard-ai/core 0.1.314 → 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 (59) hide show
  1. package/dist/{abletime-T5YSJLNZ.js → abletime-NZ2ABWAL.js} +4 -4
  2. package/dist/{abletime-SJUVZVRU.js → abletime-TKAFNXCM.js} +4 -4
  3. package/dist/{abletime-oauth-73TFJME4.js → abletime-oauth-CBFFBINA.js} +3 -3
  4. package/dist/{abletime-oauth-2TOOZ2FN.js → abletime-oauth-S4AXA4WR.js} +3 -3
  5. package/dist/{abletime-rest-PNUGH2FS.js → abletime-rest-NSOP72AI.js} +3 -3
  6. package/dist/{abletime-rest-5TDRIFEV.js → abletime-rest-ORBELZQO.js} +3 -3
  7. package/dist/{agents-KIC6CNXF.js → agents-5XJ7EHGU.js} +6 -6
  8. package/dist/{agents-S7VBS5JL.js → agents-Y3M3EKLY.js} +6 -6
  9. package/dist/{app-settings-CC65VPBL.js → app-settings-CZVFMOI5.js} +3 -1
  10. package/dist/{app-settings-DZ5AY7N5.js → app-settings-RQAFJZCD.js} +3 -1
  11. package/dist/{chunk-6EGQPMSR.js → chunk-4ISF5XUA.js} +47 -26
  12. package/dist/{chunk-EGTCXNQM.js → chunk-53OCOGND.js} +2 -2
  13. package/dist/{chunk-DLGGLV2M.js → chunk-5CTG5W7S.js} +2 -2
  14. package/dist/{chunk-YK77HB3W.js → chunk-7BLIY2DD.js} +45 -25
  15. package/dist/{chunk-CFTOKVQN.js → chunk-7SCVGGF6.js} +5 -5
  16. package/dist/{chunk-7UP4D5XI.js → chunk-ATSZXRFQ.js} +6 -5
  17. package/dist/{chunk-BIPXOHZI.js → chunk-BPBDGJ43.js} +2 -2
  18. package/dist/{chunk-CW4FIIDE.js → chunk-CCUGIVYN.js} +3 -3
  19. package/dist/{chunk-HG25AYBV.js → chunk-CHUPIJP7.js} +14 -0
  20. package/dist/{chunk-5QYCCXXQ.js → chunk-DNWO6PQJ.js} +6 -5
  21. package/dist/{chunk-JWW66PO3.js → chunk-ELBK34TY.js} +5 -5
  22. package/dist/{chunk-A45QMSVB.js → chunk-FVTR54LY.js} +5 -5
  23. package/dist/{chunk-PHMFAU35.js → chunk-GCHSJCCX.js} +96 -64
  24. package/dist/{chunk-ZSVKUOFH.js → chunk-GFM63DTU.js} +8 -5
  25. package/dist/{chunk-OLSLE3LO.js → chunk-GXSV3X3L.js} +3 -3
  26. package/dist/{chunk-JARCAPKL.js → chunk-I5CLCWUK.js} +3 -3
  27. package/dist/{chunk-TO5UL7VN.js → chunk-MBYGWNLQ.js} +1 -1
  28. package/dist/{chunk-7DBL5AF4.js → chunk-NKVNHBDB.js} +4 -4
  29. package/dist/{chunk-U4WACWBC.js → chunk-NXNNYY3Q.js} +2 -2
  30. package/dist/{chunk-NMPQ7GIS.js → chunk-OLYNM52B.js} +2 -2
  31. package/dist/{chunk-S3KYDK6W.js → chunk-PN32Z4JL.js} +8 -5
  32. package/dist/{chunk-ZQLZ2A3I.js → chunk-S3U4HR5F.js} +2 -2
  33. package/dist/{chunk-3UDRWMIM.js → chunk-U35AHE2P.js} +14 -0
  34. package/dist/{chunk-A2YXQC65.js → chunk-U7PNCYNX.js} +96 -64
  35. package/dist/{chunk-SZ3XS2WM.js → chunk-VVV7EI6T.js} +3 -2
  36. package/dist/{chunk-6424BACS.js → chunk-VZAJVX36.js} +3 -2
  37. package/dist/{conductor-IIDQ2U24.js → conductor-CFLBKVHJ.js} +5 -5
  38. package/dist/{conductor-G6TKCMIW.js → conductor-NZ4V5CJX.js} +5 -5
  39. package/dist/{coordinator-prompt-EXJSULAR.js → coordinator-prompt-HUZC4DZ2.js} +4 -4
  40. package/dist/{coordinator-prompt-5USNNCG6.js → coordinator-prompt-SPOYUZG5.js} +4 -4
  41. package/dist/{global-workspace-ZGPIGJ6J.js → global-workspace-3NNDDTFD.js} +4 -4
  42. package/dist/{global-workspace-UDRTONQE.js → global-workspace-SK4JQBPN.js} +4 -4
  43. package/dist/index.cjs +448 -71
  44. package/dist/index.d.cts +81 -55
  45. package/dist/index.d.ts +81 -55
  46. package/dist/index.js +310 -27
  47. package/dist/mcp/run-stdio.cjs +152 -63
  48. package/dist/mcp/run-stdio.js +15 -14
  49. package/dist/{optional-cli-MLZSE6KW.js → optional-cli-EMSZBYDE.js} +3 -3
  50. package/dist/{optional-cli-SI4BCPRH.js → optional-cli-LMSRZNH4.js} +4 -4
  51. package/dist/{orchestrator-AM7VT2BD.js → orchestrator-7342RGRU.js} +9 -9
  52. package/dist/{orchestrator-V6NLIPLH.js → orchestrator-KXEPWTG5.js} +9 -9
  53. package/dist/{thread-store-HY22M5A7.js → thread-store-5OF6M6VZ.js} +1 -1
  54. package/dist/{thread-store-XMUQDO5O.js → thread-store-GOVVXQV2.js} +1 -1
  55. package/dist/{workspaces-3TTODHKN.js → workspaces-52L6NZ3P.js} +4 -4
  56. package/dist/{workspaces-TATO466L.js → workspaces-EYNZDL45.js} +4 -4
  57. package/dist/{worktree-C5VI46RZ.js → worktree-BP5ICYQ2.js} +3 -3
  58. package/dist/{worktree-FMK57ULT.js → worktree-UCOSAI7J.js} +3 -3
  59. package/package.json +1 -1
@@ -16,12 +16,12 @@ import {
16
16
  toAbleTimeIssueInfo,
17
17
  updateAbleTimeTask,
18
18
  verifyAbleTimeConnection
19
- } from "./chunk-OLSLE3LO.js";
20
- import "./chunk-SZ3XS2WM.js";
21
- import "./chunk-JWW66PO3.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
- import "./chunk-A2YXQC65.js";
24
+ import "./chunk-U7PNCYNX.js";
25
25
  import "./chunk-77WWLBCI.js";
26
26
  import "./chunk-4TR3HZFT.js";
27
27
  import "./chunk-WDRMZKVB.js";
@@ -18,12 +18,12 @@ import {
18
18
  toAbleTimeIssueInfo,
19
19
  updateAbleTimeTask,
20
20
  verifyAbleTimeConnection
21
- } from "./chunk-JARCAPKL.js";
22
- import "./chunk-6424BACS.js";
23
- import "./chunk-CFTOKVQN.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
- import "./chunk-PHMFAU35.js";
26
+ import "./chunk-GCHSJCCX.js";
27
27
  import "./chunk-NSTQ6QKD.js";
28
28
  import "./chunk-WWUABK6B.js";
29
29
  import "./chunk-FJZWM2ON.js";
@@ -20,10 +20,10 @@ import {
20
20
  parseAbleTimeOAuthCallbackUrl,
21
21
  resolveAbleTimeOAuthHost,
22
22
  startAbleTimeOAuth
23
- } from "./chunk-CW4FIIDE.js";
24
- import "./chunk-JWW66PO3.js";
23
+ } from "./chunk-CCUGIVYN.js";
24
+ import "./chunk-ELBK34TY.js";
25
25
  import "./chunk-JAT3JFOS.js";
26
- import "./chunk-A2YXQC65.js";
26
+ import "./chunk-U7PNCYNX.js";
27
27
  import "./chunk-77WWLBCI.js";
28
28
  import "./chunk-4TR3HZFT.js";
29
29
  import "./chunk-WDRMZKVB.js";
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  DEFAULT_ABLETIME_HOST,
5
5
  normalizeAbleTimeHost
6
- } from "./chunk-CFTOKVQN.js";
6
+ } from "./chunk-7SCVGGF6.js";
7
7
  import {
8
8
  httpFetch
9
9
  } from "./chunk-2GPQZZLY.js";
@@ -12,7 +12,7 @@ import {
12
12
  getAbleTimeHost,
13
13
  loadAppSettings,
14
14
  saveAbleTimeConnection
15
- } from "./chunk-PHMFAU35.js";
15
+ } from "./chunk-GCHSJCCX.js";
16
16
  import "./chunk-NSTQ6QKD.js";
17
17
  import "./chunk-WWUABK6B.js";
18
18
  import "./chunk-FJZWM2ON.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-SJUVZVRU.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,10 +5,10 @@ import {
5
5
  callAbleTimeRestTool,
6
6
  looksLikeAbleTimeUlid,
7
7
  textFromAbleTimeDoc
8
- } from "./chunk-SZ3XS2WM.js";
9
- import "./chunk-JWW66PO3.js";
8
+ } from "./chunk-VVV7EI6T.js";
9
+ import "./chunk-ELBK34TY.js";
10
10
  import "./chunk-JAT3JFOS.js";
11
- import "./chunk-A2YXQC65.js";
11
+ import "./chunk-U7PNCYNX.js";
12
12
  import "./chunk-77WWLBCI.js";
13
13
  import "./chunk-4TR3HZFT.js";
14
14
  import "./chunk-WDRMZKVB.js";
@@ -7,10 +7,10 @@ import {
7
7
  callAbleTimeRestTool,
8
8
  looksLikeAbleTimeUlid,
9
9
  textFromAbleTimeDoc
10
- } from "./chunk-6424BACS.js";
11
- import "./chunk-CFTOKVQN.js";
10
+ } from "./chunk-VZAJVX36.js";
11
+ import "./chunk-7SCVGGF6.js";
12
12
  import "./chunk-2GPQZZLY.js";
13
- import "./chunk-PHMFAU35.js";
13
+ import "./chunk-GCHSJCCX.js";
14
14
  import "./chunk-NSTQ6QKD.js";
15
15
  import "./chunk-WWUABK6B.js";
16
16
  import "./chunk-FJZWM2ON.js";
@@ -46,7 +46,7 @@ import {
46
46
  resolveCursorSdkRoot,
47
47
  resolveQuotaFallbackAgent,
48
48
  turnCostUsdFromCursorUsage
49
- } from "./chunk-A45QMSVB.js";
49
+ } from "./chunk-FVTR54LY.js";
50
50
  import {
51
51
  getAgentSetupInfo,
52
52
  installAgent,
@@ -58,13 +58,13 @@ import {
58
58
  prepareTerminalCommand,
59
59
  resolveLoginCommand,
60
60
  whichOnPath
61
- } from "./chunk-EGTCXNQM.js";
61
+ } from "./chunk-53OCOGND.js";
62
62
  import "./chunk-V5BTGQ6M.js";
63
63
  import "./chunk-E63AM3PW.js";
64
64
  import "./chunk-2GPQZZLY.js";
65
65
  import "./chunk-I5TESHDN.js";
66
- import "./chunk-S3KYDK6W.js";
67
- import "./chunk-DLGGLV2M.js";
66
+ import "./chunk-PN32Z4JL.js";
67
+ import "./chunk-5CTG5W7S.js";
68
68
  import "./chunk-N2WW62LF.js";
69
69
  import "./chunk-DD67JWTN.js";
70
70
  import {
@@ -83,12 +83,12 @@ import {
83
83
  assertOrchestratorCapableAgent,
84
84
  coerceOrchestratorAgent,
85
85
  isOrchestratorCapableAgent
86
- } from "./chunk-PHMFAU35.js";
86
+ } from "./chunk-GCHSJCCX.js";
87
87
  import "./chunk-NSTQ6QKD.js";
88
88
  import "./chunk-WWUABK6B.js";
89
89
  import "./chunk-FJZWM2ON.js";
90
90
  import "./chunk-J2LNLI4S.js";
91
- import "./chunk-3UDRWMIM.js";
91
+ import "./chunk-U35AHE2P.js";
92
92
  import "./chunk-WMZIANPV.js";
93
93
  import "./chunk-KGZBYWZ3.js";
94
94
  import "./chunk-WOU343SI.js";
@@ -37,7 +37,7 @@ import {
37
37
  planModeTurnInstruction,
38
38
  resolveCursorModelId,
39
39
  resolveQuotaFallbackAgent
40
- } from "./chunk-7DBL5AF4.js";
40
+ } from "./chunk-NKVNHBDB.js";
41
41
  import "./chunk-HH3VVTEC.js";
42
42
  import "./chunk-7Q327QF2.js";
43
43
  import {
@@ -51,10 +51,10 @@ import {
51
51
  prepareTerminalCommand,
52
52
  resolveLoginCommand,
53
53
  whichOnPath
54
- } from "./chunk-U4WACWBC.js";
55
- import "./chunk-ZSVKUOFH.js";
56
- import "./chunk-BIPXOHZI.js";
57
- import "./chunk-HG25AYBV.js";
54
+ } from "./chunk-NXNNYY3Q.js";
55
+ import "./chunk-GFM63DTU.js";
56
+ import "./chunk-BPBDGJ43.js";
57
+ import "./chunk-CHUPIJP7.js";
58
58
  import "./chunk-2P4XKWV2.js";
59
59
  import "./chunk-RSA47QYR.js";
60
60
  import "./chunk-JAT3JFOS.js";
@@ -88,7 +88,7 @@ import {
88
88
  assertOrchestratorCapableAgent,
89
89
  coerceOrchestratorAgent,
90
90
  isOrchestratorCapableAgent
91
- } from "./chunk-A2YXQC65.js";
91
+ } from "./chunk-U7PNCYNX.js";
92
92
  import "./chunk-77WWLBCI.js";
93
93
  import "./chunk-4TR3HZFT.js";
94
94
  import "./chunk-WDRMZKVB.js";
@@ -48,6 +48,7 @@ import {
48
48
  getAbleTimeAccessToken,
49
49
  getAbleTimeHost,
50
50
  getDefaultAgent,
51
+ getDefaultAutonomy,
51
52
  getDefaultEffort,
52
53
  getDefaultFast,
53
54
  getDefaultModel,
@@ -108,7 +109,7 @@ import {
108
109
  updateProjectProfileSettings,
109
110
  usageOnLimit,
110
111
  writeViewerContext
111
- } from "./chunk-PHMFAU35.js";
112
+ } from "./chunk-GCHSJCCX.js";
112
113
  import "./chunk-NSTQ6QKD.js";
113
114
  import "./chunk-WWUABK6B.js";
114
115
  import "./chunk-FJZWM2ON.js";
@@ -163,6 +164,7 @@ export {
163
164
  getAbleTimeAccessToken,
164
165
  getAbleTimeHost,
165
166
  getDefaultAgent,
167
+ getDefaultAutonomy,
166
168
  getDefaultEffort,
167
169
  getDefaultFast,
168
170
  getDefaultModel,
@@ -46,6 +46,7 @@ import {
46
46
  getAbleTimeAccessToken,
47
47
  getAbleTimeHost,
48
48
  getDefaultAgent,
49
+ getDefaultAutonomy,
49
50
  getDefaultEffort,
50
51
  getDefaultFast,
51
52
  getDefaultModel,
@@ -106,7 +107,7 @@ import {
106
107
  updateProjectProfileSettings,
107
108
  usageOnLimit,
108
109
  writeViewerContext
109
- } from "./chunk-A2YXQC65.js";
110
+ } from "./chunk-U7PNCYNX.js";
110
111
  import "./chunk-77WWLBCI.js";
111
112
  import "./chunk-4TR3HZFT.js";
112
113
  import "./chunk-WDRMZKVB.js";
@@ -161,6 +162,7 @@ export {
161
162
  getAbleTimeAccessToken,
162
163
  getAbleTimeHost,
163
164
  getDefaultAgent,
165
+ getDefaultAutonomy,
164
166
  getDefaultEffort,
165
167
  getDefaultFast,
166
168
  getDefaultModel,
@@ -14,7 +14,7 @@ import {
14
14
  parseSessionQuotaResetAt,
15
15
  planModeTurnInstruction,
16
16
  resolveQuotaFallbackAgent
17
- } from "./chunk-7DBL5AF4.js";
17
+ } from "./chunk-NKVNHBDB.js";
18
18
  import {
19
19
  REVIEW_TAB_TITLE,
20
20
  applyWorktreePkgCacheEnv,
@@ -56,7 +56,7 @@ import {
56
56
  worktreeDevProcessKey,
57
57
  worktreeRunProcessKey,
58
58
  worktreeSetupProcessKey
59
- } from "./chunk-7UP4D5XI.js";
59
+ } from "./chunk-ATSZXRFQ.js";
60
60
  import {
61
61
  applyAgentEvent,
62
62
  clipAgentEventForPaint,
@@ -78,7 +78,7 @@ import {
78
78
  import {
79
79
  formatOptionalServicesDirectiveForTurn,
80
80
  formatOptionalServicesReminderForTurn
81
- } from "./chunk-NMPQ7GIS.js";
81
+ } from "./chunk-OLYNM52B.js";
82
82
  import {
83
83
  SLACK_REPLY_FORMATTING,
84
84
  addWorkspace,
@@ -103,7 +103,7 @@ import {
103
103
  stageAbsolutePathsAsAttachments,
104
104
  stageBuffersAsAttachments,
105
105
  syncWorkspacesFromThreads
106
- } from "./chunk-ZSVKUOFH.js";
106
+ } from "./chunk-GFM63DTU.js";
107
107
  import {
108
108
  addPrStackLayer,
109
109
  allocateTeamSlug,
@@ -147,7 +147,7 @@ import {
147
147
  resolveRepoRoot,
148
148
  switchWorktreeBranch,
149
149
  withRepoGitLock
150
- } from "./chunk-BIPXOHZI.js";
150
+ } from "./chunk-BPBDGJ43.js";
151
151
  import {
152
152
  agentNicknameFromWorktreePath,
153
153
  appendMessage,
@@ -171,7 +171,7 @@ import {
171
171
  worktreeNameFromPath,
172
172
  worktreeSlugForTicket,
173
173
  writeThread
174
- } from "./chunk-HG25AYBV.js";
174
+ } from "./chunk-CHUPIJP7.js";
175
175
  import {
176
176
  mcpServerIdForPermission,
177
177
  mcpServerPermissionUpdate
@@ -216,6 +216,7 @@ import {
216
216
  followUpBehavior,
217
217
  formatViewerContextDirective,
218
218
  formatViewerContextReminder,
219
+ getDefaultAutonomy,
219
220
  getIssueSource,
220
221
  historyMaxCount,
221
222
  historyMaxDays,
@@ -238,7 +239,7 @@ import {
238
239
  usageOnLimit,
239
240
  withTurnScopedCost,
240
241
  writeViewerContext
241
- } from "./chunk-A2YXQC65.js";
242
+ } from "./chunk-U7PNCYNX.js";
242
243
  import {
243
244
  examplePrefixedBranch,
244
245
  sanitizeGitBranchPrefix
@@ -460,9 +461,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
460
461
  `Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
461
462
  );
462
463
  }
463
- const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-ZGPIGJ6J.js");
464
+ const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-3NNDDTFD.js");
464
465
  if (isGlobalThread2(thread)) {
465
- const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-5USNNCG6.js");
466
+ const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-SPOYUZG5.js");
466
467
  ensureGlobalCoordinatorCwd2(
467
468
  isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
468
469
  );
@@ -2134,6 +2135,22 @@ async function requireAgent(agent, opts) {
2134
2135
  return status;
2135
2136
  }
2136
2137
 
2138
+ // src/board/issue-blocked-view.ts
2139
+ function issueBlockedByIds(group) {
2140
+ const out = [];
2141
+ const seen = /* @__PURE__ */ new Set();
2142
+ for (const thread of group) {
2143
+ for (const raw of thread.issueBlockedBy ?? []) {
2144
+ const id = String(raw ?? "").trim();
2145
+ const key = id.toLowerCase();
2146
+ if (!id || seen.has(key)) continue;
2147
+ seen.add(key);
2148
+ out.push(id);
2149
+ }
2150
+ }
2151
+ return out;
2152
+ }
2153
+
2137
2154
  // src/board/pr-state.ts
2138
2155
  function isOpenPrState(prUrl, prState) {
2139
2156
  if (!prUrl?.trim()) return false;
@@ -2715,6 +2732,7 @@ function toThreadCard(group) {
2715
2732
  const thread = group[0];
2716
2733
  const withPr = group.find((t) => t.prUrl?.trim()) ?? thread;
2717
2734
  const tags = workspaceTagsFromGroup(group);
2735
+ const issueBlockedBy = issueBlockedByIds(group);
2718
2736
  return {
2719
2737
  kind: "thread",
2720
2738
  id: thread.id,
@@ -2728,6 +2746,7 @@ function toThreadCard(group) {
2728
2746
  link: `sideboard://chat/${thread.id}`,
2729
2747
  ...group.length > 1 ? { chatCount: group.length } : {},
2730
2748
  ...threadCardBlockFields(group) ?? {},
2749
+ ...issueBlockedBy.length > 0 ? { issueBlockedBy } : {},
2731
2750
  ...tags.length > 0 ? { tags } : {}
2732
2751
  };
2733
2752
  }
@@ -2804,7 +2823,7 @@ function assembleHomeBoard(input) {
2804
2823
  }
2805
2824
  return { columns, hidden, totals };
2806
2825
  }
2807
- var HOME_BOARD_AGENT_HINT = "Home is a Kanban of workspaces (one card per checkout; sibling chats on a card are separate agents). Do not create a second workspace for a ticket, PR, or named branch that already has a live checkout \u2014 create_workspace / start_board_card return that checkout (alreadyStarted) and its chats. Add another agent with fork_chat. Creating from the default branch still opens a new isolated workspace. Columns are the path to merge: New (no PR) \u2192 Draft (draft PR) \u2192 Review (open PR) \u2192 Approved (approved, not merged) \u2192 Merged. ownership=mine is PRs you authored (or WIP with no PR); ownership=reviewing is someone else's PR (or a review-requested checkout). Viewer login comes from gh, not a setting. Archive removes the card to Settings \u2192 History (list_archive to browse, restore_workspace to bring it back). Queued/running are activity on the card, not columns. blockedReason means an agent on that card is waiting on a person (the question, plan approval, or a reported block) \u2014 read it and do not send_to_chat a check-in. Orchestration chats stay in the sidebar. Do not invent status.";
2826
+ var HOME_BOARD_AGENT_HINT = "Home is a Kanban of workspaces (one card per checkout; sibling chats on a card are separate agents). Do not create a second workspace for a ticket, PR, or named branch that already has a live checkout \u2014 create_workspace / start_board_card return that checkout (alreadyStarted) and its chats. Add another agent with fork_chat. Creating from the default branch still opens a new isolated workspace. Columns are the path to merge: New (no PR) \u2192 Draft (draft PR) \u2192 Review (open PR) \u2192 Approved (approved, not merged) \u2192 Merged. ownership=mine is PRs you authored (or WIP with no PR); ownership=reviewing is someone else's PR (or a review-requested checkout). Viewer login comes from gh, not a setting. Archive removes the card to Settings \u2192 History (list_archive to browse, restore_workspace to bring it back). Queued/running are activity on the card, not columns. blockedReason means an agent on that card is waiting on a person (the question, plan approval, or a reported block) \u2014 read it and do not send_to_chat a check-in. issueBlockedBy, when present, lists issues blocking that workspace's source ticket (the tracker dependency, not a person). Orchestration chats stay in the sidebar. Do not invent status.";
2808
2827
 
2809
2828
  // src/threads/workspace-tags.ts
2810
2829
  function workspaceTagTargetRef(opts) {
@@ -2906,11 +2925,12 @@ async function createThread(input, _onSetupLine) {
2906
2925
  agent: input.agent,
2907
2926
  model: input.model,
2908
2927
  effort: input.effort,
2909
- fast: input.fast
2928
+ fast: input.fast,
2929
+ autonomy: input.autonomy
2910
2930
  });
2911
2931
  await requireAgent(resolved.agent);
2912
2932
  if (input.cowboy) {
2913
- const { cowboyModeEnabled } = await import("./app-settings-DZ5AY7N5.js");
2933
+ const { cowboyModeEnabled } = await import("./app-settings-RQAFJZCD.js");
2914
2934
  if (!cowboyModeEnabled()) {
2915
2935
  throw new Error(
2916
2936
  "Cowboy mode is off. Enable it in Settings \u2192 Advanced."
@@ -2945,7 +2965,7 @@ async function createThread(input, _onSetupLine) {
2945
2965
  worktreePath: repoPath,
2946
2966
  repoPath,
2947
2967
  agent: resolved.agent,
2948
- autonomy: input.autonomy ?? "default",
2968
+ autonomy: resolved.autonomy,
2949
2969
  model: resolved.model,
2950
2970
  effort: resolved.effort,
2951
2971
  fast: resolved.fast,
@@ -2969,7 +2989,7 @@ async function createThread(input, _onSetupLine) {
2969
2989
  let sourceIsFork = false;
2970
2990
  if (!input.cowboy && sourceType === "branch" && (!sourceRef || sourceRef === "HEAD" || sourceRef === "default")) {
2971
2991
  if (isAbleTimeConnected() && getIssueSource() === "abletime") {
2972
- const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-T5YSJLNZ.js");
2992
+ const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-NZ2ABWAL.js");
2973
2993
  const task = await ensureAbleTimeTask({
2974
2994
  title: title?.trim() || "Untitled work",
2975
2995
  description: input.prompt?.trim() || void 0
@@ -3059,7 +3079,7 @@ async function createThread(input, _onSetupLine) {
3059
3079
  worktreePath,
3060
3080
  repoPath,
3061
3081
  agent: resolved.agent,
3062
- autonomy: input.autonomy ?? "default",
3082
+ autonomy: resolved.autonomy,
3063
3083
  model: resolved.model,
3064
3084
  effort: resolved.effort,
3065
3085
  fast: resolved.fast,
@@ -3080,7 +3100,7 @@ async function createThread(input, _onSetupLine) {
3080
3100
  return readThread(thread.id) ?? thread;
3081
3101
  }
3082
3102
  async function listLinearIssues(agent, repoPath) {
3083
- const { getAdapter: getAdapter2 } = await import("./agents-S7VBS5JL.js");
3103
+ const { getAdapter: getAdapter2 } = await import("./agents-Y3M3EKLY.js");
3084
3104
  await requireAgent(agent, { requireLinear: true });
3085
3105
  const adapter = getAdapter2(agent);
3086
3106
  if (!adapter.listLinearIssues) {
@@ -3857,7 +3877,7 @@ async function adoptThread(input) {
3857
3877
  messages: input.messages ?? []
3858
3878
  });
3859
3879
  writeThread(thread);
3860
- const { addWorkspace: addWorkspace2 } = await import("./workspaces-3TTODHKN.js");
3880
+ const { addWorkspace: addWorkspace2 } = await import("./workspaces-52L6NZ3P.js");
3861
3881
  await addWorkspace2(repoPath);
3862
3882
  const { ensureWorktreeSideboardIgnored } = await import("./worktree-exclude-RXZPTCNH.js");
3863
3883
  await ensureWorktreeSideboardIgnored(input.worktreePath);
@@ -4152,7 +4172,7 @@ async function openStackLayer(input, _onSetupLine) {
4152
4172
  worktreePath,
4153
4173
  repoPath,
4154
4174
  agent: input.agent,
4155
- autonomy: input.autonomy ?? "default",
4175
+ autonomy: input.autonomy ?? getDefaultAutonomy(),
4156
4176
  model: input.model ?? null,
4157
4177
  effort: input.effort ?? "high",
4158
4178
  fast: Boolean(input.fast),
@@ -6795,7 +6815,7 @@ function formatScheduledPrompt(name, prompt) {
6795
6815
  ${prompt}`;
6796
6816
  }
6797
6817
  async function defaultDeps() {
6798
- const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-V6NLIPLH.js");
6818
+ const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-KXEPWTG5.js");
6799
6819
  const orch = getOrchestrator2();
6800
6820
  return {
6801
6821
  findThread: (id) => findThreadByRef(id),
@@ -7113,7 +7133,7 @@ var Orchestrator = class {
7113
7133
  orphans: orphans.map((o) => ({ path: o.path, repoPath: o.repoPath }))
7114
7134
  });
7115
7135
  }
7116
- const { autoCleanupOrphansEnabled } = await import("./app-settings-DZ5AY7N5.js");
7136
+ const { autoCleanupOrphansEnabled } = await import("./app-settings-RQAFJZCD.js");
7117
7137
  if (autoCleanupOrphansEnabled() && shouldRunWorktreeCleanup() && orphans.length > 0) {
7118
7138
  await cleanupOrphanWorktrees({ repoPaths });
7119
7139
  }
@@ -7507,7 +7527,7 @@ var Orchestrator = class {
7507
7527
  }
7508
7528
  await setup;
7509
7529
  if (skipSetup) return;
7510
- const { autoRunAfterSetupEnabled } = await import("./app-settings-DZ5AY7N5.js");
7530
+ const { autoRunAfterSetupEnabled } = await import("./app-settings-RQAFJZCD.js");
7511
7531
  if (autoRunAfterSetupEnabled()) {
7512
7532
  try {
7513
7533
  await this.startDev(threadId);
@@ -7901,7 +7921,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
7901
7921
  }
7902
7922
  const isBrightsy = fresh.agent === "brightsy";
7903
7923
  const isOrchestration = isOrchestratorThread(fresh);
7904
- const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-DZ5AY7N5.js");
7924
+ const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-RQAFJZCD.js");
7905
7925
  const gitAuthMode = getGithubGitAuthMode();
7906
7926
  const worktreeDirective = isBrightsy || isOrchestration ? null : formatWorktreeDirective(fresh, {
7907
7927
  githubSlug: await withTimeout(
@@ -9217,7 +9237,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
9217
9237
  if (Object.keys(patch).length === 0) continue;
9218
9238
  updateThread(t.id, patch);
9219
9239
  }
9220
- const { autoArchiveOnMergeEnabled } = await import("./app-settings-DZ5AY7N5.js");
9240
+ const { autoArchiveOnMergeEnabled } = await import("./app-settings-RQAFJZCD.js");
9221
9241
  const latest = this.requireThread(thread.id);
9222
9242
  if (!shouldAutoArchiveOnPrMerge({
9223
9243
  previousPrState: prevState || null,
@@ -9541,7 +9561,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
9541
9561
  await runArchiveScript(thread.repoPath, thread.worktreePath);
9542
9562
  } catch {
9543
9563
  }
9544
- const { deleteBranchOnPurgeEnabled } = await import("./app-settings-DZ5AY7N5.js");
9564
+ const { deleteBranchOnPurgeEnabled } = await import("./app-settings-RQAFJZCD.js");
9545
9565
  const deleteBranch = opts?.deleteBranch ?? deleteBranchOnPurgeEnabled();
9546
9566
  await removeWorktree(thread.repoPath, thread.worktreePath, {
9547
9567
  deleteBranch: deleteBranch ? thread.branchName : void 0
@@ -9677,7 +9697,7 @@ async function startOrchestration(opts) {
9677
9697
  sourceRef: "default",
9678
9698
  ...createOpts
9679
9699
  }).catch(async () => {
9680
- const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-C5VI46RZ.js");
9700
+ const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-BP5ICYQ2.js");
9681
9701
  const repo = await resolveRepoRoot2(repoPath);
9682
9702
  const def = await resolveDefaultBranch2(repo);
9683
9703
  return orch.createThread({
@@ -9687,7 +9707,7 @@ async function startOrchestration(opts) {
9687
9707
  repoPath: repo
9688
9708
  });
9689
9709
  });
9690
- const { updateThread: upd } = await import("./thread-store-HY22M5A7.js");
9710
+ const { updateThread: upd } = await import("./thread-store-5OF6M6VZ.js");
9691
9711
  const updated = upd(thread.id, {
9692
9712
  sourceType: "orchestration",
9693
9713
  sourceRef: goal
@@ -9710,6 +9730,7 @@ export {
9710
9730
  sidebarRowAgentBlock,
9711
9731
  sidebarParentSelectId,
9712
9732
  sidebarQuestionThreadId,
9733
+ issueBlockedByIds,
9713
9734
  reviewLabelForRepo,
9714
9735
  classifyWorktreeListBadges,
9715
9736
  isHomeBoardThread,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-2UG25RMK.js";
10
10
  import {
11
11
  resolveAgentExecutable
12
- } from "./chunk-PHMFAU35.js";
12
+ } from "./chunk-GCHSJCCX.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-CC65VPBL.js");
270
+ const { loadAppSettings } = await import("./app-settings-CZVFMOI5.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) {
@@ -19,14 +19,14 @@ import {
19
19
  import {
20
20
  getGithubGitAuthMode,
21
21
  getGithubPat
22
- } from "./chunk-PHMFAU35.js";
22
+ } from "./chunk-GCHSJCCX.js";
23
23
  import {
24
24
  allocateTeamName,
25
25
  listThreads,
26
26
  normalizeTakenSlug,
27
27
  normalizeWorktreePath,
28
28
  takenSlugsFromThread
29
- } from "./chunk-3UDRWMIM.js";
29
+ } from "./chunk-U35AHE2P.js";
30
30
  import {
31
31
  worktreesRoot
32
32
  } from "./chunk-WOU343SI.js";