@sideboard-ai/core 0.1.348 → 0.1.350

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 (84) hide show
  1. package/dist/{abletime-CGFJZB7L.js → abletime-TX7BTTR2.js} +5 -5
  2. package/dist/{abletime-3HRWLQZJ.js → abletime-URSRZW7P.js} +4 -4
  3. package/dist/{abletime-oauth-QNJQLHR4.js → abletime-oauth-QS3WPSCC.js} +3 -3
  4. package/dist/{abletime-oauth-JQDSH5OL.js → abletime-oauth-SL3NMNEC.js} +4 -4
  5. package/dist/{abletime-rest-TANL5TMY.js → abletime-rest-GGQLUO55.js} +3 -3
  6. package/dist/{abletime-rest-UQA2CRZN.js → abletime-rest-JZU6JJCV.js} +4 -4
  7. package/dist/agents/acp-runner.cjs +491 -0
  8. package/dist/agents/acp-runner.d.cts +46 -0
  9. package/dist/agents/acp-runner.d.ts +46 -0
  10. package/dist/agents/acp-runner.js +323 -0
  11. package/dist/agents/cursor-runner.js +3 -3
  12. package/dist/{agents-T4XBZZDA.js → agents-P5QIV24I.js} +38 -8
  13. package/dist/{agents-5MFGVK7C.js → agents-RGAV5OHD.js} +44 -13
  14. package/dist/{app-settings-SNOPJ7P5.js → app-settings-IA7ZZKWQ.js} +2 -2
  15. package/dist/{app-settings-PPIMYJKS.js → app-settings-XILTSD6L.js} +1 -1
  16. package/dist/{chunk-UGUWFONI.js → chunk-2E2HMJDU.js} +1 -1
  17. package/dist/{chunk-OH3BAUMC.js → chunk-2MESZ5XR.js} +273 -84
  18. package/dist/{chunk-RUIHNWRV.js → chunk-37ZBEBP6.js} +6 -6
  19. package/dist/{chunk-Y6VQX2LY.js → chunk-5AHWUJRT.js} +1927 -1718
  20. package/dist/{chunk-7B2OUQON.js → chunk-5TCMXEYL.js} +48 -3
  21. package/dist/{chunk-FDYMVJFU.js → chunk-5WF54R3B.js} +5 -5
  22. package/dist/{chunk-PVCECFJK.js → chunk-7ZD4OK6G.js} +1 -1
  23. package/dist/{chunk-RYPD7XWV.js → chunk-B4EFQTMP.js} +5 -5
  24. package/dist/chunk-BF6INES4.js +144 -0
  25. package/dist/{chunk-IVRWRYTH.js → chunk-BZK62VPT.js} +2 -2
  26. package/dist/{chunk-AJMERXZP.js → chunk-CCWQ65VD.js} +2 -2
  27. package/dist/{chunk-62ALWH3T.js → chunk-DL4OHDBV.js} +3 -3
  28. package/dist/{chunk-6TV6L2DD.js → chunk-EZ2MUWNW.js} +7 -6
  29. package/dist/{chunk-4NXGVJA6.js → chunk-F4RFFE2H.js} +48 -3
  30. package/dist/{chunk-E77SRVVO.js → chunk-FCKTBE26.js} +1 -1
  31. package/dist/{chunk-NTY5WGRD.js → chunk-FQ3JYUKI.js} +2 -2
  32. package/dist/{chunk-CEQ4Z32M.js → chunk-J4EA5SHF.js} +3 -3
  33. package/dist/{chunk-ORO4ENZR.js → chunk-LESWJ7L4.js} +1 -0
  34. package/dist/{chunk-XNGW4OYD.js → chunk-LFSTOECH.js} +7 -6
  35. package/dist/{chunk-OHUAAX3O.js → chunk-M45WGODR.js} +2 -2
  36. package/dist/{chunk-ZJMYCDYQ.js → chunk-MANERA6F.js} +55 -10
  37. package/dist/{chunk-Q4TZA4MN.js → chunk-NDEVAA34.js} +1629 -1486
  38. package/dist/{chunk-OPXEJJBM.js → chunk-PWOFUPYM.js} +1 -0
  39. package/dist/{chunk-UJMCTGV7.js → chunk-PXSWVZIL.js} +2 -2
  40. package/dist/{chunk-MOUAM6ZC.js → chunk-SMSD6U3N.js} +135 -3
  41. package/dist/{chunk-ATS7SYHG.js → chunk-TCEUNSLX.js} +135 -3
  42. package/dist/chunk-TRMPDDVL.js +232 -0
  43. package/dist/{chunk-6WMNIX2U.js → chunk-UFUAIVNV.js} +9 -5
  44. package/dist/{chunk-2HPVGTHF.js → chunk-VHQ6OG3U.js} +2 -2
  45. package/dist/{chunk-WWU4SYZR.js → chunk-VL6F2KRE.js} +5 -1
  46. package/dist/{chunk-WMD77UCY.js → chunk-W5GHFT7E.js} +279 -87
  47. package/dist/{chunk-5FUAOU3G.js → chunk-WB3G2LQO.js} +1 -1
  48. package/dist/{chunk-JCYGQKER.js → chunk-WFX4ZVSZ.js} +1 -1
  49. package/dist/{chunk-F7WP2U5I.js → chunk-WJURGCBR.js} +1 -1
  50. package/dist/{chunk-BIM24I3O.js → chunk-WWBPK7GB.js} +1 -1
  51. package/dist/chunk-YE7Z5WH3.js +142 -0
  52. package/dist/{chunk-5YCKATG6.js → chunk-YVN7L4KG.js} +1 -1
  53. package/dist/{chunk-GAGTEI6B.js → chunk-ZBSEJIOV.js} +56 -11
  54. package/dist/{conductor-LYQKONSA.js → conductor-HVOGBK63.js} +7 -6
  55. package/dist/{conductor-EMGMDNHL.js → conductor-VGCXUUG6.js} +9 -8
  56. package/dist/connected-teams-2YDE2EZ2.js +1 -1
  57. package/dist/{coordinator-prompt-DLY3FS2L.js → coordinator-prompt-DPO7L2JO.js} +5 -5
  58. package/dist/{coordinator-prompt-WALVMGKI.js → coordinator-prompt-E736TJBS.js} +4 -4
  59. package/dist/{global-workspace-UG2A3CEM.js → global-workspace-4RDPAOTT.js} +5 -5
  60. package/dist/{global-workspace-7OQ5O6JT.js → global-workspace-TG2TVLUF.js} +4 -4
  61. package/dist/index.cjs +2881 -1761
  62. package/dist/index.d.cts +140 -877
  63. package/dist/index.d.ts +140 -877
  64. package/dist/index.js +865 -559
  65. package/dist/{linear-PKYJH4WK.js → linear-E3BX5PX5.js} +2 -2
  66. package/dist/{linear-MIJO6DCV.js → linear-WG23LBCX.js} +3 -3
  67. package/dist/{linear-list-JPQ27RXG.js → linear-list-OINZWVV5.js} +1 -1
  68. package/dist/{linear-list-N57PR6JM.js → linear-list-VU47BNUV.js} +1 -1
  69. package/dist/mcp/run-stdio.cjs +2112 -1287
  70. package/dist/mcp/run-stdio.js +318 -230
  71. package/dist/{optional-cli-4GTEDEYJ.js → optional-cli-K6HX2X5O.js} +4 -3
  72. package/dist/{optional-cli-RPJIQBDX.js → optional-cli-SA3EQYML.js} +6 -5
  73. package/dist/{orchestrator-KNOMW5CZ.js → orchestrator-3I2FLEZL.js} +20 -18
  74. package/dist/{orchestrator-4SXTORD2.js → orchestrator-QDHZ56LA.js} +12 -11
  75. package/dist/thread-CJRchYLj.d.cts +856 -0
  76. package/dist/thread-CJRchYLj.d.ts +856 -0
  77. package/dist/{thread-store-R3G5VBII.js → thread-store-4YTOV2HL.js} +3 -3
  78. package/dist/{thread-store-MEUWZDVV.js → thread-store-LME2ICZP.js} +2 -2
  79. package/dist/{workspaces-KWGTP7DI.js → workspaces-4PA24IX6.js} +4 -4
  80. package/dist/{workspaces-35T6FW57.js → workspaces-6TMYV4N2.js} +5 -5
  81. package/dist/{worktree-ROJXGBWS.js → worktree-4ATMCYIE.js} +3 -3
  82. package/dist/{worktree-5P7SCST3.js → worktree-DA6SKIU5.js} +4 -4
  83. package/package.json +3 -3
  84. /package/dist/{chunk-XOEKCE6L.js → chunk-OHXNGBC4.js} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,845 +1,55 @@
1
+ import { A as AcpHarnessId, b as AgentStatus, c as AgentKind, T as Thread, d as ThinkingEffort, e as Autonomy, f as ThreadMessage, g as ThreadStatus, h as ThreadAttachment, P as PrInfo, i as PrCheckRun, j as PrDetails, k as PrMeta, B as BranchInfo, l as PrStack, m as PrStackLayer, I as IssueInfo, n as IssueActivityComment, a as AgentEvent, M as MessagePart, o as TokenUsage, p as ActiveRun, D as DiffScope, q as DiffResult, W as WorktreeDirtyStat, r as DiffCommit, L as LandResult, s as LandPreview, C as CreateThreadInput, t as CreateChatTabInput, F as ForkChatTabInput, u as AgentBlockSource, v as ForkThreadWorktreeInput, w as AdoptInput, x as ConductorWorkspace, O as OrchestratorEvent, y as ThreadOptionsPatch, z as OrchestratorRuntime, E as AgentBlock } from './thread-CJRchYLj.js';
2
+ export { G as AgentPermissionPrompt, H as DiffFile, J as DiffScopeStat, K as IssueCycleInfo, N as PrActor, Q as PrCommentInfo, R as PrCommitInfo, S as PrReviewInfo, U as RunScriptRequest, V as SourceType, X as SteerRequest, Y as THINKING_EFFORTS, Z as isAdoptableRunScriptRequest, _ as isThinkingEffort, $ as isUnclaimedRunScriptRequest, a0 as nextThinkingEffort, a1 as normalizeThinkingEffort, a2 as thinkingEffortBars, a3 as thinkingEffortLabel } from './thread-CJRchYLj.js';
1
3
  import { NetworkInterfaceInfo } from 'node:os';
2
4
  import { SpawnSyncOptionsWithStringEncoding } from 'node:child_process';
3
5
  import tls from 'node:tls';
4
6
  import { ResultPromise } from 'execa';
5
7
  import { EventEmitter } from 'node:events';
6
8
 
7
- /**
8
- * Why an agent is waiting on a person. Process liveness stays on
9
- * `ThreadStatus`; this is the attention flag (Herdr `blocked`).
10
- * Cleared when the next user message starts a turn. An ask_user highlight
11
- * stays until the user answers or skips. A later tool in the same turn
12
- * does not remove it — the tool returns immediately, and the model often
13
- * keeps going before the person can answer.
14
- */
15
- type AgentBlockSource = 'ask_user' | 'plan' | 'reported' | 'permission';
16
- /** Composer Allow / Deny while a tool waits on the user. */
17
- interface AgentPermissionPrompt {
18
- id: string;
19
- title: string;
20
- detail: string;
21
- path?: string;
22
- /** Offer a remembered allow (a directory, or every tool on an MCP server). */
23
- allowSession: boolean;
24
- /** Button label when it is not "Allow for this session". */
25
- sessionLabel?: string;
26
- /** Claude asked that a stray keystroke must not approve this. */
27
- defaultToNo?: boolean;
28
- }
29
- interface AgentBlock {
30
- /** Short reason shown on the sidebar, board, and to orchestrators. */
31
- reason: string;
32
- source: AgentBlockSource;
33
- at: string;
34
- /** ask_user question-set signature, so a skip can drop this highlight. */
35
- questionSignature?: string;
36
- /**
37
- * Full ask_user payload. The composer reads this when the transcript
38
- * tool call never stored its input, so the sidebar highlight and the
39
- * chat picker stay the same question.
40
- */
41
- questions?: Array<{
42
- question: string;
43
- header?: string;
44
- multiSelect?: boolean;
45
- options: Array<{
46
- label: string;
47
- description?: string;
48
- }>;
49
- }>;
50
- /**
51
- * True once ask_user is in the live stream or the finished turn.
52
- * A mid-turn stamp without this stays off the sidebar / board / phone
53
- * until the picker is actually on screen. A later tool does not clear it.
54
- */
55
- onScreen?: boolean;
56
- permission?: AgentPermissionPrompt;
57
- }
58
-
59
- /**
60
- * Agent thinking / reasoning effort.
61
- * Matches Claude Code `--effort` and Conductor's 5-rung effort chip:
62
- * low → medium → high → xhigh → max.
63
- */
64
- type ThinkingEffort = 'low' | 'medium' | 'high' | 'xhigh' | 'max';
65
- declare const THINKING_EFFORTS: ThinkingEffort[];
66
- /** Conductor settings sometimes use `normal` for the mid Claude effort band. */
67
- declare function normalizeThinkingEffort(value: unknown): ThinkingEffort | null;
68
- declare function isThinkingEffort(value: unknown): value is ThinkingEffort;
69
- /** Cycle Low → … → Max → Low (Conductor ⌥T-style). */
70
- declare function nextThinkingEffort(current: ThinkingEffort): ThinkingEffort;
71
- /** How many of 5 Conductor-style signal bars are filled. */
72
- declare function thinkingEffortBars(effort: ThinkingEffort): number;
73
- declare function thinkingEffortLabel(effort: ThinkingEffort): string;
74
-
75
- type AgentKind = 'claude' | 'codex' | 'opencode' | 'brightsy' | 'cursor';
76
- type SourceType = 'branch' | 'pr' | 'ticket' | 'orchestration' | 'adopt';
77
- type ThreadStatus = 'idle' | 'queued' | 'running' | 'stopped' | 'error' | 'broken' | 'archived';
78
- type Autonomy = 'default' | 'full';
79
- /** Structured agent turn content (thinking / tools / text). */
80
- type MessagePart = {
81
- type: 'text';
82
- text: string;
83
- parentId?: string;
84
- startedAt?: number;
85
- updatedAt?: number;
86
- } | {
87
- type: 'thinking';
88
- text: string;
89
- parentId?: string;
90
- startedAt?: number;
91
- updatedAt?: number;
92
- } | {
93
- type: 'tool';
94
- id: string;
95
- name: string;
96
- input?: Record<string, unknown>;
97
- /** Short human label (e.g. "Fetch latest from origin"). */
98
- description?: string;
99
- /** Command / path shown in the monospace pill. */
100
- detail?: string;
101
- result?: string;
102
- status: 'running' | 'done' | 'error';
103
- filePath?: string;
104
- additions?: number;
105
- deletions?: number;
106
- /**
107
- * When set, this part belongs inside a parent tool (Cursor Task / Agent
108
- * subagent stream). Omitted on top-level parts.
109
- */
110
- parentId?: string;
111
- startedAt?: number;
112
- updatedAt?: number;
113
- };
114
- /** Token usage for a single agent turn, aggregated across the turn's API calls. */
115
- interface TokenUsage {
116
- /** Uncached prompt tokens. Adapters must subtract provider cache hits first. */
117
- inputTokens: number;
118
- outputTokens: number;
119
- /** Cache hits, not included in `inputTokens` (Claude-shaped). */
120
- cacheReadTokens?: number;
121
- cacheWriteTokens?: number;
122
- /** Last-request occupancy (input + cache); billed totals sum every tool round. */
123
- lastRequestTokens?: number;
124
- /** USD for this turn (not Claude session total). */
125
- costUsd?: number;
126
- /** Claude `total_cost_usd` session total; not additive. */
127
- sessionCostUsd?: number;
128
- }
129
- interface ThreadMessage {
130
- role: 'user' | 'agent' | 'summary';
131
- text: string;
132
- /** Structured parts for expandable tool/thinking UI. Optional for older threads. */
133
- parts?: MessagePart[];
134
- /** Agent turn duration in milliseconds (from turn start to message persist). */
135
- durationMs?: number;
136
- /** Token usage for this turn, when the agent CLI reports it. */
137
- usage?: TokenUsage;
138
- /**
139
- * Snapshot of composer attachments sent with this user turn (chips stay visible
140
- * in chat history after pending thread.attachments are cleared).
141
- */
142
- attachments?: ThreadAttachment[];
143
- /**
144
- * Host-queued keep-alive (job still running / crash recover). Shown as a
145
- * system note — not a user bubble.
146
- */
147
- origin?: 'continue';
148
- ts: string;
149
- }
150
- /** Composer / turn attachment (e.g. forked chat transcript). */
151
- interface ThreadAttachment {
152
- id: string;
153
- name: string;
154
- kind: 'transcript' | 'file' | 'issue' | 'workspace' | 'diff-comment' | 'code-ref';
155
- content: string;
156
- /** Worktree-relative path when this attachment is a real file that can be opened in a tab. */
157
- path?: string;
158
- /** data: URL thumbnail for image attachments (composer + sent user messages). */
159
- previewDataUrl?: string;
160
- }
161
- /** Persisted chat record (product word: chat). One conversation tab. */
162
- interface Thread {
163
- id: string;
164
- title: string;
165
- sourceType: SourceType;
166
- sourceRef: string;
167
- branchName: string;
168
- worktreePath: string;
169
- repoPath: string;
170
- agent: AgentKind;
171
- /** Agent model alias (e.g. sonnet, opus). null = Auto / CLI default. */
172
- model: string | null;
173
- /**
174
- * Thinking / reasoning effort (Claude: `--effort`, Cursor: `effort` param).
175
- * Independent of {@link Thread.fast}.
176
- */
177
- effort: ThinkingEffort;
178
- /**
179
- * Prefer a faster model variant when the agent supports it (Cursor: `fast` param).
180
- * Independent of {@link Thread.effort}.
181
- */
182
- fast: boolean;
183
- /** Plan-only turns — analyze and plan without editing files (Conductor-style). */
184
- planMode: boolean;
185
- /**
186
- * After a Codex plugin/App MCP kills `codex exec` (AuthRequired / invalid
187
- * transport), later turns isolate Apps/plugins so the same fatal error
188
- * cannot loop. Worktree first tries with plugins on.
189
- */
190
- isolateCodexPlugins?: boolean;
191
- sessionId: string | null;
192
- /** Pinned Claude/Codex account. `null` = system default. Omitted until the first spawn pins it. */
193
- accountId?: string | null;
194
- autonomy: Autonomy;
195
- /** MCP servers this chat may call without another prompt (`gmail` in `mcp__gmail__search`). */
196
- approvedMcpServers?: string[];
197
- sourceIsFork: boolean;
198
- status: ThreadStatus;
199
- agentBlock?: AgentBlock | null;
200
- dismissedQuestionSignature?: string | null;
201
- queue: string[];
202
- parentThreadId: string | null;
203
- /** Port of the default/primary run script (legacy + sidebar). */
204
- devPort: number | null;
205
- /** Named run scripts currently tracked for this thread. */
206
- activeRuns?: ActiveRun[];
207
- /** MCP/CLI run script or steer for the desktop host to apply in-process. */
208
- runScriptRequest?: RunScriptRequest | null;
209
- steerRequest?: SteerRequest | null;
210
- prUrl: string | null;
211
- /** Cached PR title for Conductor-style sidebar labels (PR title > branch). */
212
- prTitle: string | null;
213
- /**
214
- * Cached GitHub PR lifecycle from the last `getPrMeta` / merge
215
- * (`OPEN` | `MERGED` | `CLOSED`, etc.). Used for purple “done” sidebar
216
- * styling and Conductor-style auto-archive-on-merge.
217
- */
218
- prState: string | null;
219
- /**
220
- * Cached GitHub draft flag from the last `getPrMeta`. Open + draft → Home
221
- * Draft column; open + not draft → Review. Omitted/false when unknown.
222
- */
223
- prIsDraft?: boolean;
224
- /**
225
- * Cached GitHub PR author login from create-from-PR / `getPrMeta`.
226
- * Compared to the `gh` viewer login for Board/sidebar Mine vs Reviewing.
227
- */
228
- prAuthorLogin?: string | null;
229
- /**
230
- * Cached human requested-reviewer logins (bots and team slugs omitted).
231
- * Used when the author is unknown so a review-requested PR still counts
232
- * as Reviewing.
233
- */
234
- prReviewerLogins?: string[];
235
- /** Cached GitHub reviewDecision (APPROVED, CHANGES_REQUESTED, or REVIEW_REQUIRED). */
236
- prReviewDecision?: string | null;
237
- /** Cached GitHub `mergeable` (`MERGEABLE` / `CONFLICTING` / `UNKNOWN`). */
238
- prMergeable?: string | null;
239
- /** Cached GitHub `mergeStateStatus` (`CLEAN` / `DIRTY` / `BLOCKED` / `UNSTABLE` / …). */
240
- prMergeStateStatus?: string | null;
241
- /** Cached GitHub merge-queue flag from the last `getPrMeta`. */
242
- prIsInMergeQueue?: boolean;
243
- /**
244
- * Cached GitHub label names (workflow tags like `eng-review`).
245
- * Used for sidebar / board list badges.
246
- */
247
- prLabels?: string[];
248
- /** True when `gh pr checks` reported a failing CI run. */
249
- prChecksFailed?: boolean;
250
- /** This checkout opts in to CI / review-request wakes. Off until set. */
251
- wakeOnGithubEdges?: boolean;
252
- /** Source-ticket blockers. Empty if none; absent until looked up. Not an agent block. */
253
- issueBlockedBy?: string[];
254
- /**
255
- * When true, skip auto-archive if the PR is already MERGED (set on restore
256
- * so unarchiving a merged workspace does not immediately re-archive).
257
- * Cleared when `prState` becomes a non-merged open state again.
258
- */
259
- skipAutoArchiveOnMerge?: boolean;
260
- /**
261
- * Work in the registered project folder on the default branch (no `thread/*`
262
- * worktree). Land is commit+push to that branch, not a PR. Archive/purge
263
- * must not delete the project folder.
264
- */
265
- cowboy?: boolean;
266
- /**
267
- * Stable id for a GitHub PR stack this thread belongs to (shared across layer worktrees).
268
- * Null when not part of a stack.
269
- */
270
- stackId: string | null;
271
- /** 1-based layer position in the stack (bottom = 1), when {@link stackId} is set. */
272
- stackLayer: number | null;
273
- /** When true, `title` is a manual override and is not overwritten by branch/PR sync. */
274
- userSetTitle: boolean;
275
- /** Short labels shared by every chat on this workspace. */
276
- tags?: string[];
277
- createdAt: string;
278
- updatedAt: string;
279
- /** When this chat was archived. History age uses this, not later row updates. */
280
- archivedAt?: string;
281
- ephemeralAutomationId?: string;
282
- messages: ThreadMessage[];
283
- /**
284
- * Prose-only turns dropped by auto-compact (user text + agent answers).
285
- * Chat search / “show earlier” read this. Seed, occupancy, and session
286
- * resume must keep using {@link messages} only.
287
- */
288
- compactedMessages?: ThreadMessage[];
289
- /** Pending composer attachments (forked transcripts, etc.). */
290
- attachments: ThreadAttachment[];
291
- /**
292
- * Composer attachments consumed on send, waiting for the next user turn.
293
- * Keeps the chip tray empty after submit while `runTurn` still has the files.
294
- */
295
- pendingTurnAttachments?: ThreadAttachment[];
296
- /**
297
- * Files parked with each queued prompt (same length as `queue`).
298
- * Remove / reorder / Send now must move these with the text so a later
299
- * turn does not inherit images from a discarded follow-up.
300
- */
301
- queueAttachments?: ThreadAttachment[][];
302
- lastError?: string | null;
303
- /** Live agent pid, and its `ps` lstart so Stop skips a recycled pid. */
304
- agentPid?: number | null;
305
- agentPidStartedAt?: string | null;
306
- /**
307
- * When set, host auto-retries this chat after a provider session/usage
308
- * quota reset (ISO timestamp).
309
- */
310
- quotaResumeAt?: string | null;
311
- /**
312
- * Chat this one was auto-continued from after a session quota limit
313
- * (prevents infinite agent-switch cascades).
314
- */
315
- quotaContinuedFromId?: string | null;
316
- mcpAppModelContext?: string | null;
317
- }
318
- interface CreateChatTabInput {
319
- /** Existing thread in the worktree to clone workspace metadata from. */
320
- fromThreadId: string;
321
- agent?: AgentKind;
322
- model?: string | null;
323
- autonomy?: Autonomy;
324
- /** Thinking effort; omit to inherit from source thread. */
325
- effort?: ThinkingEffort;
326
- /** Prefer faster model variant; omit to inherit from source thread. */
327
- fast?: boolean;
328
- title?: string;
329
- attachments?: ThreadAttachment[];
330
- /** Pin a managed Claude/Codex account (`null` = system default). */
331
- accountId?: string | null;
332
- }
333
- interface ForkChatTabInput {
334
- threadId: string;
335
- /** Inclusive message index to fork through; default = all messages. */
336
- throughIndex?: number;
337
- agent?: AgentKind;
338
- /** Model for the forked chat; omit to inherit or Auto when agent changes. */
339
- model?: string | null;
340
- title?: string;
341
- }
342
- /** Fork a thread into a new git worktree (new branch + worktree dir). */
343
- interface ForkThreadWorktreeInput {
344
- threadId: string;
345
- /** Inclusive message index to seed transcript through; default = all messages. */
346
- throughIndex?: number;
347
- agent?: AgentKind;
348
- /** Model for the forked chat; omit to inherit or Auto when agent changes. */
349
- model?: string | null;
350
- title?: string;
351
- }
352
- interface ThreadOptionsPatch {
353
- agent?: AgentKind;
354
- model?: string | null;
355
- effort?: ThinkingEffort;
356
- fast?: boolean;
357
- planMode?: boolean;
358
- autonomy?: Autonomy;
359
- }
360
- interface AgentStatus {
361
- agent: AgentKind;
362
- installed: boolean;
363
- authenticated: boolean;
364
- linearMcp: boolean;
365
- warnings: string[];
366
- reason?: string;
367
- }
368
- interface BranchInfo {
369
- name: string;
370
- remote: boolean;
371
- current: boolean;
372
- }
373
- interface PrInfo {
374
- number: number;
375
- title: string;
376
- headRefName: string;
377
- url: string;
378
- isCrossRepository: boolean;
379
- /** Present when listed via `gh pr list --json author`. */
380
- author?: {
381
- login: string;
382
- } | null;
383
- /** Present when `gh pr view --json isDraft` is requested. */
384
- isDraft?: boolean;
385
- /** Present when `gh pr view --json state` is requested. */
386
- state?: string;
387
- /** GitHub label names when listed via `gh pr list --json labels`. */
388
- labels?: string[];
389
- /** Requested reviewer logins / team slugs (humans and bots). */
390
- reviewRequests?: string[];
391
- /** Individual user reviewers only (bots and teams omitted). */
392
- reviewers?: string[];
393
- /** Team / group review requests (e.g. `engineering-team`) — not a claim. */
394
- teams?: string[];
395
- /** GraphQL `reviewDecision` when requested (`APPROVED`, `CHANGES_REQUESTED`, …). */
396
- reviewDecision?: string | null;
397
- /** Assignee logins when listed via `gh pr list --json assignees`. */
398
- assignees?: string[];
399
- /** Ticket ids parsed from the title (`ENG-12`, `#44`) when the PR is for assigned work. */
400
- tickets?: string[];
401
- }
402
- /** One CI check from `gh pr checks --json`, or a synthetic merge/review gate. */
403
- interface PrCheckRun {
404
- name: string;
405
- state: string;
406
- bucket: 'pass' | 'fail' | 'pending' | 'skipping' | 'cancel' | string;
407
- startedAt: string | null;
408
- completedAt: string | null;
409
- link: string | null;
410
- description: string | null;
411
- workflow: string | null;
412
- /**
413
- * Origin of the row. Omitted / `ci` = GitHub Actions / check suite.
414
- * `mergeability` / `review` are Sideboard synthetics (conflicts, behind, review).
415
- */
416
- kind?: 'ci' | 'mergeability' | 'review';
417
- }
418
- interface PrActor {
419
- login: string;
420
- name?: string | null;
421
- }
422
- interface PrCommitInfo {
423
- oid: string;
424
- messageHeadline: string;
425
- committedDate: string;
426
- authors: PrActor[];
427
- }
428
- interface PrCommentInfo {
429
- author: PrActor;
430
- body: string;
431
- createdAt: string;
432
- }
433
- interface PrReviewInfo {
434
- author: PrActor;
435
- state: string;
436
- body: string;
437
- submittedAt: string | null;
438
- }
439
- /** Rich PR payload for Sideboard Review tab (`gh pr view --json`). */
440
- interface PrDetails {
441
- number: number;
442
- title: string;
443
- body: string;
444
- url: string;
445
- state: string;
446
- isDraft: boolean;
447
- reviewDecision: string | null;
448
- author: PrActor;
449
- /** When the PR was opened (`gh pr view --json createdAt`). */
450
- createdAt?: string | null;
451
- baseRefName: string;
452
- headRefName: string;
453
- additions: number;
454
- deletions: number;
455
- changedFiles: number;
456
- commits: PrCommitInfo[];
457
- comments: PrCommentInfo[];
458
- reviews: PrReviewInfo[];
459
- /** Assignee logins (`gh pr view --json assignees`). */
460
- assignees: string[];
461
- /** Label names (`gh pr view --json labels`). */
462
- labels: string[];
463
- /** Requested reviewer logins / team slugs (humans and bots). */
464
- reviewRequests: string[];
465
- /** Individual user reviewers only (bots and teams omitted). */
466
- reviewers: string[];
467
- /** Team / group review requests (e.g. `engineering-team`). */
468
- teams: string[];
469
- /** Prefer `getPrChecks` — kept for callers; often empty to avoid nested GraphQL. */
470
- checks: PrCheckRun[];
471
- }
472
- /** PR lifecycle + mergeability for the sidebar pill (cheap GraphQL + local merge-tree). */
473
- interface PrMeta {
474
- number: number;
475
- title: string;
476
- url: string;
477
- state: string;
478
- isDraft: boolean;
479
- reviewDecision: string | null;
480
- baseRefName: string;
481
- headRefName: string;
482
- /** True when the PR is sitting in a GitHub merge queue. */
483
- isInMergeQueue: boolean;
484
- /** GitHub `mergeable` (MERGEABLE / CONFLICTING / UNKNOWN). */
485
- mergeable: string | null;
486
- /** GitHub `mergeStateStatus` (CLEAN / DIRTY / BEHIND / BLOCKED / …). */
487
- mergeStateStatus: string | null;
488
- /** GitHub author login when fetched with `--json author`. */
489
- authorLogin?: string | null;
490
- /** Human requested-reviewer logins (bots and team slugs omitted). */
491
- reviewerLogins?: string[];
492
- /** GitHub label names when fetched with `--json labels`. */
493
- labels?: string[];
494
- }
495
- /** One layer in a GitHub PR stack (bottom = position 1). */
496
- interface PrStackLayer {
497
- /** 1-based index from trunk (bottom = 1). */
498
- position: number;
499
- branchName: string;
500
- /** Tip SHA when known from `gh stack view`. */
501
- headSha?: string;
502
- /** Parent tip SHA last recorded by gh-stack (may lag). */
503
- baseSha?: string;
504
- isCurrent: boolean;
505
- isMerged: boolean;
506
- isQueued: boolean;
507
- needsRebase: boolean;
508
- prNumber: number | null;
509
- prUrl: string | null;
510
- /** OPEN | MERGED | QUEUED when a PR exists. */
511
- prState: string | null;
512
- title?: string;
513
- }
514
- /** GitHub stacked PRs for a worktree / branch. */
515
- interface PrStack {
516
- /** GitHub stack number when known. */
517
- stackNumber: number | null;
518
- trunk: string;
519
- currentBranch: string;
520
- /** Bottom → top. */
521
- layers: PrStackLayer[];
522
- /** Current layer index in `layers` (0-based), or -1. */
523
- currentIndex: number;
524
- /** True when every open layer below+including current looks mergeable. */
525
- readyToMerge: boolean;
526
- blockedReason: string | null;
527
- }
528
- interface IssueCycleInfo {
529
- id?: string;
530
- name: string;
531
- number?: number;
532
- isActive: boolean;
533
- }
534
- interface IssueInfo {
535
- id: string;
536
- identifier: string;
537
- title: string;
538
- url: string;
539
- labels: string[];
540
- /** When set, which tracker produced this issue. */
541
- provider?: 'linear' | 'github' | 'abletime';
542
- /** Display name / login of the primary assignee. */
543
- assignee?: string;
544
- /** Logins or display names (GitHub assignees; Linear is usually one). */
545
- assignees?: string[];
546
- /** Linear cycle (sprint). Absent on GitHub / unscheduled issues. */
547
- cycle?: IssueCycleInfo | null;
548
- teamKey?: string;
549
- projects?: Array<{
550
- id?: string;
551
- name?: string;
552
- }>;
553
- createdAt?: string;
554
- updatedAt?: string;
555
- }
556
- /** Comment on a listed ticket (inbox / updatedSince). Body is already preview-truncated. */
557
- interface IssueActivityComment {
558
- identifier: string;
559
- title?: string;
560
- author?: string;
561
- createdAt?: string;
562
- body: string;
563
- url?: string;
564
- }
565
- interface DiffFile {
566
- path: string;
567
- /** Git name-status letter (M/A/D/R/…). */
568
- status: string;
569
- patch: string;
570
- /** From `git diff --numstat` when available. */
571
- additions?: number;
572
- deletions?: number;
573
- }
574
- /** Cursor-style Changes panel filters. */
575
- type DiffScope = 'last_turn' | 'uncommitted' | 'staged' | 'unstaged' | 'commits';
576
- interface DiffScopeStat {
577
- files: number;
578
- additions: number;
579
- deletions: number;
580
- }
581
- /** Sidebar/board dirty glyph — `numstat HEAD` counts + porcelain dirt. Not a Changes payload. */
582
- interface WorktreeDirtyStat {
583
- additions: number;
584
- deletions: number;
585
- dirty: boolean;
586
- }
587
- /** One commit on the branch (for the Changes → Commits submenu). */
588
- interface DiffCommit {
589
- sha: string;
590
- shortSha: string;
591
- subject: string;
592
- relativeTime: string;
593
- }
594
- interface DiffResult {
595
- /** Active filter for this result. */
596
- scope: DiffScope;
597
- /** When scope is commits and a single commit is selected. */
598
- commitSha?: string | null;
599
- base: string;
600
- files: DiffFile[];
601
- stat: string;
602
- dirty: boolean;
603
- /** Commits on HEAD not yet on the remote tracking branch (0 if none/unknown). */
604
- unpushed: number;
605
- /** Counts for each filter option (for the Changes dropdown). */
606
- scopeStats: Record<DiffScope, DiffScopeStat>;
607
- /** True when a last-agent-turn baseline is available. */
608
- hasLastTurnBase: boolean;
609
- /** Recent commits on the branch (vs merge-base), for the Commits flyout. */
610
- commits: DiffCommit[];
611
- /** Resolved merge-base SHA when comparing the branch to the default. */
612
- mergeBase?: string | null;
613
- }
614
- interface LandPreview {
615
- branch: string;
616
- target: string;
617
- diffStat: string;
618
- dirty: boolean;
619
- blocked: boolean;
620
- blockReason?: string;
621
- isFork: boolean;
622
- /** Direct push to the default branch (no PR). */
623
- cowboy?: boolean;
624
- }
625
- interface LandResult {
626
- prUrl: string | null;
627
- pushed: boolean;
628
- committed: boolean;
629
- }
630
- type AgentEvent = {
631
- type: 'stdout';
632
- data: string;
633
- parentId?: string;
634
- } | {
635
- type: 'stderr';
636
- data: string;
637
- } | {
638
- type: 'session_id';
639
- data: string;
640
- } | {
641
- type: 'thinking';
642
- data: string;
643
- parentId?: string;
644
- /** Replace the last thinking part with this parent (status pulses, not token deltas). */
645
- replace?: boolean;
646
- } | {
647
- type: 'tool_use';
648
- id: string;
649
- name: string;
650
- input?: Record<string, unknown>;
651
- /** Cursor Task / Agent nested stream — inner events set this to the parent call id. */
652
- parentId?: string;
653
- } | {
654
- type: 'tool_result';
655
- id: string;
656
- content?: string;
657
- isError?: boolean;
658
- parentId?: string;
659
- /**
660
- * Update `result` without finishing the tool (live command tail).
661
- * Codex `command_execution.aggregated_output` while in progress.
662
- */
663
- partial?: boolean;
664
- } | {
665
- type: 'usage';
666
- data: TokenUsage;
667
- /** `request` = one API call; `turn` = billed total for the whole agent turn. */
668
- scope?: 'request' | 'turn';
669
- /** Repeated assistant snapshot; spawn replaces the earlier usage. */
670
- messageId?: string;
671
- } | {
672
- type: 'exit';
673
- data: number | null;
674
- };
675
- type OrchestratorEvent = {
676
- type: 'turn_started';
677
- threadId: string;
678
- prompt: string;
679
- } | {
680
- type: 'turn_output';
681
- threadId: string;
682
- event: AgentEvent;
683
- } | {
684
- type: 'turn_finished';
685
- threadId: string;
686
- exitCode: number | null;
687
- routineStop?: boolean;
688
- } | {
689
- type: 'status_changed';
690
- threadId: string;
691
- status: ThreadStatus;
692
- } | {
693
- type: 'queue_changed';
694
- threadId: string;
695
- queue: string[];
696
- } | {
697
- type: 'context_compacted';
698
- threadId: string;
699
- olderCount: number;
700
- method: 'claude' | 'extractive';
701
- } | {
702
- type: 'quota_failover';
703
- threadId: string;
704
- action: 'switch_account' | 'switch_agent' | 'wait_reset';
705
- message: string;
706
- /** New orchestration chat when action is switch_agent. */
707
- toThreadId?: string;
708
- /** When action is wait_reset — ISO resume time. */
709
- resumeAt?: string;
710
- } | {
711
- type: 'dev_server_started';
712
- threadId: string;
713
- port: number;
714
- scriptName?: string;
715
- } | {
716
- type: 'dev_server_stopped';
717
- threadId: string;
718
- scriptName?: string;
719
- } | {
720
- type: 'run_output';
721
- threadId: string;
722
- scriptName: string;
723
- /** One line, or several `\n`-joined lines coalesced within one tick. */
724
- line: string;
725
- } | {
726
- type: 'setup_started';
727
- threadId: string;
728
- }
729
- /** `line` may be a `\n`-joined chunk — consumers append with `\n`. */
730
- | {
731
- type: 'setup_output';
732
- threadId: string;
733
- line: string;
734
- } | {
735
- type: 'setup_finished';
736
- threadId: string;
737
- exitCode: number | null;
738
- } | {
739
- type: 'orphan_worktrees';
740
- orphans: Array<{
741
- path: string;
742
- repoPath: string;
743
- }>;
744
- } | {
745
- type: 'error';
746
- threadId: string;
747
- message: string;
748
- };
749
- /** Active named run script (in-memory + mirrored on thread for UI). */
750
- interface ActiveRun {
751
- scriptName: string;
752
- port: number;
753
- ports: number[];
754
- startedAt: string;
755
- /** Detached shell pid. Survives Electron restart so reap can kill the tree. */
756
- pid?: number;
757
- }
758
- /** MCP/CLI → desktop run-script request. Host claims, runs, then fulfills. */
759
- interface RunScriptRequest {
760
- op: 'start' | 'stop';
761
- scriptName?: string | null;
762
- requestId: string;
763
- requestedAt: string;
764
- claimedAt?: string | null;
765
- fulfilledAt?: string | null;
766
- error?: string | null;
767
- }
768
- /** Unapplied orchestrator steer. Desktop interrupts the live turn and starts it. */
769
- interface SteerRequest {
770
- requestId: string;
771
- requestedAt: string;
772
- claimedAt?: string | null;
773
- }
774
- /** True when desktop should first-claim this persisted request. */
775
- declare function isUnclaimedRunScriptRequest(req: RunScriptRequest | null | undefined): boolean;
776
- /**
777
- * True when desktop should `startDev`/`stopDev` this request — including a
778
- * claimed-but-unfulfilled row left behind after Electron restarted.
779
- */
780
- declare function isAdoptableRunScriptRequest(req: RunScriptRequest | null | undefined): boolean;
781
- /** Live snapshot for the global orchestrator board. */
782
- interface OrchestratorRuntime {
783
- running: number;
784
- maxConcurrent: number;
785
- queued: number;
786
- idle: number;
787
- error: number;
788
- stopped: number;
789
- broken: number;
790
- totalActive: number;
791
- }
792
- interface CreateThreadInput {
793
- sourceType: Exclude<SourceType, 'orchestration'>;
794
- sourceRef: string;
795
- agent: AgentKind;
796
- repoPath: string;
797
- autonomy?: Autonomy;
798
- /** Claude model id, or Brightsy `agent:` / `model:` target encoding. */
799
- model?: string | null;
800
- effort?: ThinkingEffort;
801
- fast?: boolean;
802
- planMode?: boolean;
803
- /** Attachments available to the first prompt (and subsequent turns). */
804
- attachments?: ThreadAttachment[];
805
- title?: string;
806
- parentThreadId?: string | null;
807
- /**
808
- * Optional first prompt — queued after the thread is created (Conductor-style).
809
- * Ticket creates with no prompt (and no orchestration parent) imply “Resolve this issue.”
810
- */
811
- prompt?: string;
812
- /**
813
- * Use the project checkout on the default branch (no isolated worktree).
814
- * Pushes go to that branch; archive does not remove the folder.
815
- */
816
- cowboy?: boolean;
817
- /** When false, always create a new worktree. Default true reuses a live ticket, PR, or named branch. */
818
- reuseExisting?: boolean;
819
- /** Workspace labels. Added when this checkout already exists. */
820
- tags?: string[];
821
- }
822
- interface AdoptInput {
823
- worktreePath: string;
824
- agent: AgentKind;
825
- title?: string;
826
- sessionId?: string | null;
827
- messages?: ThreadMessage[];
828
- sourceRef?: string;
829
- }
830
- interface ConductorWorkspace {
831
- id: string;
832
- workspacePath: string;
833
- branch: string;
834
- workspaceName: string;
835
- prTitle: string | null;
836
- prDescription: string | null;
837
- intendedTargetBranch: string | null;
838
- notes: string | null;
839
- claudeSessionId: string | null;
840
- agentType: AgentKind | null;
841
- messageCount: number;
842
- }
9
+ type AcpHarnessSpec = {
10
+ id: AcpHarnessId;
11
+ label: string;
12
+ bin: string;
13
+ /** Args that start the CLI as an ACP agent on stdio. */
14
+ args: string[];
15
+ npmPackage: string;
16
+ installCommand: string;
17
+ loginCommand: string;
18
+ docsUrl: string;
19
+ /** Shown when the binary is installed but no local credential was found. */
20
+ authHint: string;
21
+ };
22
+ declare const ACP_HARNESSES: Record<AcpHarnessId, AcpHarnessSpec>;
23
+ declare const ACP_HARNESS_IDS: AcpHarnessId[];
24
+ declare function isAcpHarnessId(value: unknown): value is AcpHarnessId;
25
+ declare function acpHarnessLabel(id: string | null | undefined): string;
26
+ /** Settings default, else Gemini CLI. */
27
+ declare function defaultAcpHarness(): AcpHarnessId;
28
+ declare function agentSupportsAttach(agent: AgentKind): boolean;
29
+ /**
30
+ * Local auth hint. Does not spawn the harness (a login prompt would hang
31
+ * detect). Copilot also counts a logged-in `gh` when the caller has already
32
+ * checked `gh auth status` — macOS keeps that token in the keychain, so
33
+ * hosts.yml often has no `oauth_token`. A miss is "no credential found".
34
+ */
35
+ declare function acpHarnessLooksAuthenticated(id: AcpHarnessId, env?: NodeJS.ProcessEnv, home?: string, opts?: {
36
+ ghLoggedIn?: boolean;
37
+ }): boolean;
38
+ declare function acpHarnessStatus(input: {
39
+ id: AcpHarnessId;
40
+ /** Absolute path from `which`, or null when the binary is missing. */
41
+ binPath: string | null;
42
+ env?: NodeJS.ProcessEnv;
43
+ home?: string;
44
+ /** True when `gh auth status` already succeeded (keychain login). */
45
+ ghLoggedIn?: boolean;
46
+ }): AgentStatus;
47
+ declare function resolveAcpHarnessCommand(id: AcpHarnessId): Promise<{
48
+ file: string;
49
+ args: string[];
50
+ }>;
51
+ declare function detectAcpHarness(id: AcpHarnessId): Promise<AgentStatus>;
52
+ declare function detectAcpHarnesses(): Promise<AgentStatus[]>;
843
53
 
844
54
  type ToolPermissionDecision = 'allow' | 'deny' | 'allow_session';
845
55
  /** Composer click. False when that prompt is already gone. */
@@ -1088,6 +298,8 @@ interface DefaultsAppSettings {
1088
298
  * `default` is the agent's normal permission prompts.
1089
299
  */
1090
300
  autonomy?: Autonomy;
301
+ /** ACP CLI for new chats when `agent` is `acp`. Gemini CLI when omitted. */
302
+ acpHarness?: 'gemini' | 'copilot';
1091
303
  /**
1092
304
  * Account context (Settings → Agents): roles, tickets, review queues.
1093
305
  * Project context (Settings → Projects) adds for that repo.
@@ -1547,6 +759,7 @@ declare function updateIntegrationsSettings(patch: {
1547
759
  }): AppSettings;
1548
760
  type DefaultsSettingsPatch = {
1549
761
  agent?: AgentKind | null;
762
+ acpHarness?: 'gemini' | 'copilot' | null;
1550
763
  model?: string | null;
1551
764
  /** Effort level, or Conductor's `normal` (stored as medium). */
1552
765
  effort?: ThinkingEffort | 'normal' | null;
@@ -3149,10 +2362,10 @@ declare function installNpmGlobalPackage(opts: {
3149
2362
  installCommand: string;
3150
2363
  cliBin: string | null;
3151
2364
  }): Promise<AgentSetupActionResult>;
3152
- /** Install or update a CLI agent. */
3153
- declare function installAgent(agent: AgentKind): Promise<AgentSetupActionResult>;
2365
+ /** Install or update a CLI agent. `gemini` / `copilot` install that ACP harness. */
2366
+ declare function installAgent(agent: AgentKind | AcpHarnessId): Promise<AgentSetupActionResult>;
3154
2367
  /** Open the agent’s login/auth command in the system terminal. */
3155
- declare function loginAgent(agent: AgentKind): Promise<AgentSetupActionResult>;
2368
+ declare function loginAgent(agent: AgentKind | AcpHarnessId): Promise<AgentSetupActionResult>;
3156
2369
  /** Open login for a managed Claude/Codex account with an isolated config dir. */
3157
2370
  declare function loginManagedAccount(accountId: string): Promise<AgentSetupActionResult>;
3158
2371
 
@@ -4594,6 +3807,11 @@ declare function listCursorModels(): Promise<AgentModelInfo[]>;
4594
3807
 
4595
3808
  declare const cursorAdapter: AgentAdapter;
4596
3809
 
3810
+ /** Compiled runner, the packaged cursor-runtime copy, or the TypeScript source in dev. */
3811
+ declare function acpRunnerPath(): string;
3812
+ declare const acpAdapter: AgentAdapter;
3813
+ declare function acpHarnessDisplayName(thread: Pick<Thread, 'agent' | 'acpHarness'>): string;
3814
+
4597
3815
  /**
4598
3816
  * Models from `opencode models` (`provider/model` lines).
4599
3817
  * Falls back to a small static list when OpenCode isn't installed.
@@ -5137,6 +4355,7 @@ declare function formatUiReminder(): string;
5137
4355
  declare function detectAgents(): Promise<AgentStatus[]>;
5138
4356
  declare function requireAgent(agent: AgentKind, opts?: {
5139
4357
  requireLinear?: boolean;
4358
+ acpHarness?: AcpHarnessId;
5140
4359
  }): Promise<AgentStatus>;
5141
4360
 
5142
4361
  type RunMode = 'concurrent' | 'nonconcurrent';
@@ -5982,6 +5201,7 @@ declare function workspaceAgentChatSummaries(worktreePath: string | undefined):
5982
5201
  id: string;
5983
5202
  title: string;
5984
5203
  agent: Thread['agent'];
5204
+ acpHarness?: Thread['acpHarness'];
5985
5205
  status: Thread['status'];
5986
5206
  link: string;
5987
5207
  blockedReason?: string;
@@ -6275,14 +5495,18 @@ declare function isPidAlive(pid: number): boolean;
6275
5495
  /** Wait until pid exits, or `timeoutMs` elapses. */
6276
5496
  declare function waitForPidExit(pid: number, timeoutMs: number): Promise<boolean>;
6277
5497
 
5498
+ /** `join` waits behind a running turn. Settings still use `queue` or `steer`. */
5499
+ type SendFollowUp = FollowUpBehavior | 'join';
6278
5500
  /**
6279
5501
  * Desktop/CLI pass follow-up explicitly. Internal sends (child-halt
6280
5502
  * "Sideboard: …" notices, Slack, schedules) omit it — orchestrators then
6281
5503
  * use Settings → Follow-up behavior (default steer) so those do not sit
6282
5504
  * in the queue while the user asked to interrupt.
6283
5505
  *
6284
- * Orchestrator → worktree talk (`send_to_chat`, `ask_git`) must
6285
- * pass {@link resolveOrchChildFollowUp} so those prompts steer by default.
5506
+ * `ask_git` passes {@link resolveOrchChildFollowUp} so those prompts steer.
5507
+ * `send_to_chat` passes `join`. That merges only while the prompt is still
5508
+ * queued or not yet handed to the process. Once the process has started, the
5509
+ * new text waits behind the turn and the running prompt is left as sent.
6286
5510
  * Create/reuse first prompts still queue unless the caller opts in.
6287
5511
  */
6288
5512
  declare function resolveSendFollowUp(thread: Pick<Thread, 'sourceType' | 'repoPath'>, requested?: FollowUpBehavior): FollowUpBehavior;
@@ -6447,7 +5671,7 @@ declare class Orchestrator {
6447
5671
  listConductor(): ConductorWorkspace[];
6448
5672
  adoptFromConductor(workspaceId: string): Promise<Thread>;
6449
5673
  send(threadRef: string, prompt: string, opts?: {
6450
- followUp?: FollowUpBehavior;
5674
+ followUp?: SendFollowUp;
6451
5675
  attachments?: Thread['attachments'];
6452
5676
  }): Promise<Thread>;
6453
5677
  fanOut(threadRefs: string[], prompt: string, opts?: {
@@ -6696,6 +5920,7 @@ declare class Orchestrator {
6696
5920
  createChatTab(input: {
6697
5921
  fromThreadId: string;
6698
5922
  agent?: Thread['agent'];
5923
+ acpHarness?: Thread['acpHarness'];
6699
5924
  model?: string | null;
6700
5925
  autonomy?: Thread['autonomy'];
6701
5926
  effort?: Thread['effort'];
@@ -6707,6 +5932,7 @@ declare class Orchestrator {
6707
5932
  threadId: string;
6708
5933
  throughIndex?: number;
6709
5934
  agent?: Thread['agent'];
5935
+ acpHarness?: Thread['acpHarness'];
6710
5936
  model?: string | null;
6711
5937
  title?: string;
6712
5938
  }): Thread;
@@ -6714,6 +5940,7 @@ declare class Orchestrator {
6714
5940
  threadId: string;
6715
5941
  throughIndex?: number;
6716
5942
  agent?: Thread['agent'];
5943
+ acpHarness?: Thread['acpHarness'];
6717
5944
  model?: string | null;
6718
5945
  title?: string;
6719
5946
  }): Promise<Thread>;
@@ -6800,7 +6027,7 @@ declare function outboundReplyFromTurn(result: OutboundTurnSnapshot, copy: Outbo
6800
6027
  type SideboardMcpProfile = 'worktree' | 'orchestration';
6801
6028
  declare const SIDEBOARD_MCP_PROFILE_ENV = "SIDEBOARD_MCP_PROFILE";
6802
6029
  /** Full worktree MCP catalog. `worktreeMcpToolNames` drops Agent RPC pilots when native. */
6803
- declare const WORKTREE_MCP_TOOLS: readonly ["present_artifact", "ask_user", "present_plan", "present_schema", "present_files", "wait_for_job", "stop_job", "list_run_scripts", "run_dev_script", "stop_dev_script", "get_run_log", "get_orchestrator", "notify_orchestrator", "set_workspace_tags", "set_wake_on_github_edges", "get_viewer_context", "update_viewer_context", "list_env", "set_env", "delete_env", "list_schedules", "create_schedule", "update_schedule", "delete_schedule", "run_schedule", "list_order", "show_plan", "set_dependency", "clear_dependency", "satisfy_dependency"];
6030
+ declare const WORKTREE_MCP_TOOLS: readonly ["present_artifact", "ask_user", "present_plan", "present_schema", "present_files", "wait_for_job", "stop_job", "list_run_scripts", "run_dev_script", "stop_dev_script", "get_run_log", "get_orchestrator", "notify_orchestrator", "set_workspace_tags", "set_wake_on_github_edges", "get_viewer_context", "update_viewer_context", "list_env", "set_env", "delete_env", "list_schedules", "create_schedule", "update_schedule", "delete_schedule", "run_schedule", "list_follow_ups", "create_follow_up", "delete_follow_up", "list_order", "show_plan", "set_dependency", "clear_dependency", "satisfy_dependency"];
6804
6031
  /** GitHub Issues via Account `gh` — always registered on worktree + orchestration. */
6805
6032
  declare const WORKTREE_GITHUB_MCP_TOOLS: readonly ["github_search_issues", "github_list_projects", "github_get_issue", "github_download_attachment", "github_comment", "github_update_issue", "github_create_issue"];
6806
6033
  /** Account Linear tools registered when Linear is connected. */
@@ -7624,6 +6851,13 @@ declare function listSlackWorkspaces(): SlackWorkspaceInfo[];
7624
6851
  declare function getSlackWorkspace(teamId: string): SlackWorkspace | null;
7625
6852
  declare function disconnectSlackWorkspace(teamId: string): SlackWorkspaceInfo[];
7626
6853
 
6854
+ /** A Mac registered on one Sideboard account. */
6855
+ type RelayAccountMac = {
6856
+ deviceId: string;
6857
+ deviceLabel: string;
6858
+ createdAt: number;
6859
+ };
6860
+
7627
6861
  /**
7628
6862
  * Git hosts that can sign a Mac into the relay. A Mac's projects do not all
7629
6863
  * use the same host; each identity links onto one Sideboard account when the
@@ -7639,6 +6873,63 @@ type RelayOAuthClient = {
7639
6873
  };
7640
6874
  type RelayOAuthConfig = Partial<Record<RelayGitHost, RelayOAuthClient>>;
7641
6875
 
6876
+ declare function isRemoteAccountLoginCancelled(err: unknown): boolean;
6877
+ /** `wss://relay.sideboard.build/remote` → `https://relay.sideboard.build`. */
6878
+ declare function remoteAccountHttpOrigin(wsUrl?: string): string;
6879
+ type RemoteAccountSession = {
6880
+ credential: string;
6881
+ email: string | null;
6882
+ accountId: string;
6883
+ };
6884
+ /** A Mac on the signed-in relay account. `thisMac` is set by the desktop. */
6885
+ type RemoteAccountMac = RelayAccountMac & {
6886
+ thisMac?: boolean;
6887
+ };
6888
+ /**
6889
+ * Open the git host in the browser. The relay holds the client secret and
6890
+ * returns a Sideboard credential for this Mac.
6891
+ */
6892
+ declare function startRemoteAccountLogin(opts: {
6893
+ provider: RelayAccountProvider;
6894
+ /** When set, the new provider is attached to that account. */
6895
+ linkToken?: string;
6896
+ openUrl?: (url: string) => void | Promise<void>;
6897
+ origin?: string;
6898
+ fetchImpl?: typeof fetch;
6899
+ timeoutMs?: number;
6900
+ pollIntervalMs?: number;
6901
+ signal?: AbortSignal;
6902
+ }): Promise<RemoteAccountSession>;
6903
+ /** Forget this Mac’s credential on the relay. Local vault cleanup is separate. */
6904
+ declare function disconnectRemoteAccount(opts: {
6905
+ accountToken: string;
6906
+ origin?: string;
6907
+ fetchImpl?: typeof fetch;
6908
+ }): Promise<void>;
6909
+ /** Macs registered on the account that owns `accountToken`. */
6910
+ declare function listRemoteAccountMacs(opts: {
6911
+ accountToken: string;
6912
+ origin?: string;
6913
+ fetchImpl?: typeof fetch;
6914
+ }): Promise<RemoteAccountMac[]>;
6915
+ /** Remove one Mac from the account. The slot is free for the next register. */
6916
+ declare function forgetRemoteAccountMac(opts: {
6917
+ accountToken: string;
6918
+ deviceId: string;
6919
+ origin?: string;
6920
+ fetchImpl?: typeof fetch;
6921
+ }): Promise<void>;
6922
+
6923
+ /** Macs registered on the signed-in relay account. */
6924
+ interface RemoteAccountIpc {
6925
+ /** `thisMac` marks the computer running Sideboard. */
6926
+ listRemoteAccountMacs(): Promise<Array<RemoteAccountMac & {
6927
+ thisMac: boolean;
6928
+ }>>;
6929
+ /** Forgetting this Mac also signs out. */
6930
+ forgetRemoteAccountMac(deviceId: string): Promise<PublicAppSettings>;
6931
+ }
6932
+
7642
6933
  /** Live status of the phone remote (hosted relay). */
7643
6934
  interface RemoteHostStatus {
7644
6935
  running: boolean;
@@ -7729,14 +7020,14 @@ interface CloudConnectStatus {
7729
7020
  lastLog: string | null;
7730
7021
  }
7731
7022
 
7732
- interface IpcApi extends McpUiIpc, GitHostIpcApi, SlackOrgIpc, OrderIpc {
7023
+ interface IpcApi extends McpUiIpc, GitHostIpcApi, SlackOrgIpc, OrderIpc, RemoteAccountIpc {
7733
7024
  detectAgents(): Promise<AgentStatus[]>;
7734
7025
  /** Install recipe + docs for Settings → Agents. */
7735
7026
  getAgentSetupInfo(agent: AgentKind): Promise<AgentSetupInfo>;
7736
7027
  /** Install a CLI agent (npm in-process or Terminal for curl installers). */
7737
- installAgent(agent: AgentKind): Promise<AgentSetupActionResult>;
7028
+ installAgent(agent: AgentKind | 'gemini' | 'copilot'): Promise<AgentSetupActionResult>;
7738
7029
  /** Open the agent’s login/auth command in the system terminal. */
7739
- loginAgent(agent: AgentKind): Promise<AgentSetupActionResult>;
7030
+ loginAgent(agent: AgentKind | 'gemini' | 'copilot'): Promise<AgentSetupActionResult>;
7740
7031
  getAppSettings(): Promise<PublicAppSettings>;
7741
7032
  saveAppSettings(settings: AppSettings): Promise<PublicAppSettings>;
7742
7033
  updateAppEnvironment(patch: Record<string, string | null | undefined>): Promise<PublicAppSettings>;
@@ -7840,6 +7131,7 @@ interface IpcApi extends McpUiIpc, GitHostIpcApi, SlackOrgIpc, OrderIpc {
7840
7131
  }): Promise<PublicAppSettings>;
7841
7132
  updateDefaultsSettings(patch: {
7842
7133
  agent?: AgentKind | null;
7134
+ acpHarness?: 'gemini' | 'copilot' | null;
7843
7135
  model?: string | null;
7844
7136
  effort?: ThinkingEffort | 'normal' | null;
7845
7137
  fast?: boolean | null;
@@ -9026,6 +8318,7 @@ declare class RemoteHub {
9026
8318
  onAuthorized?: (socket: RemoteSocket) => void;
9027
8319
  });
9028
8320
  handleClientMessage(socket: RemoteSocket, raw: string): void;
8321
+ forgetDevice(deviceId: string): void;
9029
8322
  detachSocket(socket: RemoteSocket): void;
9030
8323
  private dispatch;
9031
8324
  /** Forward an encrypted frame. The hub does not read it. */
@@ -9210,36 +8503,6 @@ declare function handleRemoteInbound(text: string, opts: {
9210
8503
  onOpenArtifact?: (request: PhoneOpenArtifactRequest) => void;
9211
8504
  }): void;
9212
8505
 
9213
- declare function isRemoteAccountLoginCancelled(err: unknown): boolean;
9214
- /** `wss://relay.sideboard.build/remote` → `https://relay.sideboard.build`. */
9215
- declare function remoteAccountHttpOrigin(wsUrl?: string): string;
9216
- type RemoteAccountSession = {
9217
- credential: string;
9218
- email: string | null;
9219
- accountId: string;
9220
- };
9221
- /**
9222
- * Open the git host in the browser. The relay holds the client secret and
9223
- * returns a Sideboard credential for this Mac.
9224
- */
9225
- declare function startRemoteAccountLogin(opts: {
9226
- provider: RelayAccountProvider;
9227
- /** When set, the new provider is attached to that account. */
9228
- linkToken?: string;
9229
- openUrl?: (url: string) => void | Promise<void>;
9230
- origin?: string;
9231
- fetchImpl?: typeof fetch;
9232
- timeoutMs?: number;
9233
- pollIntervalMs?: number;
9234
- signal?: AbortSignal;
9235
- }): Promise<RemoteAccountSession>;
9236
- /** Forget this Mac’s credential on the relay. Local vault cleanup is separate. */
9237
- declare function disconnectRemoteAccount(opts: {
9238
- accountToken: string;
9239
- origin?: string;
9240
- fetchImpl?: typeof fetch;
9241
- }): Promise<void>;
9242
-
9243
8506
  interface SlackAuthTest {
9244
8507
  ok: boolean;
9245
8508
  url?: string;
@@ -9529,4 +8792,4 @@ declare function pollSlackOutboundWatches(opts?: {
9529
8792
  now?: number;
9530
8793
  }): Promise<void>;
9531
8794
 
9532
- export { ABLETIME_MCP_PATH, ABLETIME_MCP_PM_PATH, ABLETIME_OAUTH_CALLBACK_PATH, ABLETIME_OAUTH_CANCELLED, ABLETIME_OAUTH_LOCAL_CALLBACK, ABLETIME_OAUTH_PORT, ABLETIME_OAUTH_REDIRECT, ABLETIME_OAUTH_RESOURCE, ABLETIME_OAUTH_TOKEN_PREFIX, ABLETIME_ORG_KEY_PREFIX, ABLETIME_PAT_PREFIX, ABLETIME_PM_TOOL_NAMES, AGENT_DONE_CUSTOM_SOUND_EXTENSIONS, AGENT_DONE_CUSTOM_SOUND_MAX_BYTES, AGENT_DONE_SOUNDS, AGENT_GIT_ACTIONS, AGENT_RPC_NATIVE_ENV, AGENT_RPC_PROTOCOL_VERSION, AGENT_RUNNER_MAX_OLD_SPACE_MB, ATTACHMENTS_DIR, type AbleTimeAssignedIssuesResult, type AbleTimeComment, type AbleTimeCredentialKind, type AbleTimeMcpToolName, AbleTimeOAuthCancelledError, type AbleTimeOrientation, type AbleTimePmToolName, type AbleTimeProject, type AbleTimeTask, type AbleTimeTaskRelationInput, type AbleTimeViewer, type AccountProfile, type ActiveRun, type AddBoardPinInput, type AddStackLayerInput, type AdoptInput, type AdvancedAppSettings, type AgentAdapter, type AgentBlock, type AgentBlockSource, type AgentDoneCustomSoundPayload, type AgentDoneSound, type AgentEvent, type AgentGitAction, type AgentKind, type AgentModelCatalog, type AgentModelInfo, type AgentPermissionPrompt, type AgentRpcConnect, type AgentRuntimeMetadata, type AgentSetupActionResult, type AgentSetupInfo, type AgentSetupKind, type AgentStatus, type AgentTurnInput, type AnthropicCacheControl, type AppSettings, type ApplyIntoMainResult, type AskBlockSnapshot, type AttachCommand, type Autonomy, BAKED_ABLETIME_OAUTH_CLIENT_ID, BAKED_POSTHOG_OAUTH_CLIENT_ID, BAKED_REMOTE_RELAY_URL, BAKED_SLACK_CLIENT_ID, BAKED_SLACK_RELAY_URL, BASE_ALLOWED_TOOLS, BRIGHTSY_MCP_ALLOWED_TOOLS, BRIGHTSY_OAUTH_CLIENT_ID, BRIGHTSY_OAUTH_REDIRECT, BRIGHTSY_SUMMARIZE_CONTEXT_TOOL, BUNDLED_LONG_RUNNING_PATH, BUNDLED_SKILL_PREFIX, type BoardPin, type BranchInfo, type BrightsyAccount, type BrightsyChatTarget, type BrightsyChatTargets, type BrightsyCloudConnectAgent, type BrightsyHarnessSettings, type BrightsySession, BrightsySideboardApi, type BrightsyTeamTargets, CHARS_PER_CONTEXT_TOKEN, CHAT_LINK_PREFIX, CHAT_TEXT_SCALES, CHAT_TEXT_SCALE_DEFAULT, CLAUDE_CHROME_ALLOWED_TOOLS, CLAUDE_MODEL_CATALOG, CLAUDE_POSTHOG_CONNECTOR_ALLOWED_TOOLS, CLAUDE_PRINT_BG_WAIT_CEILING_MS, CLAUDE_SUMMARY_TIMEOUT_MS, CLI_DIR, CLOUD_COORDINATOR_BUSY_REPLY, CLOUD_COORDINATOR_CANCELED_REPLY, CLOUD_COORDINATOR_INPUT_REQUIRED_REPLY, CLOUD_COORDINATOR_STOPPED_REPLY, CLOUD_COORDINATOR_TIMEOUT_REPLY, CLOUD_ORCHESTRATOR_GOAL, CONTEXT_COMPACT_CHARS, CONTEXT_KEEP_RECENT_CHARS, CONTEXT_KEEP_RECENT_MESSAGES, CONTEXT_MIN_MESSAGES, CONTEXT_REVIEW_PATH, CONVENTION_SETUP_RELPATHS, COORDINATOR_TOOL_PLAYBOOK, CURSOR_ISSUES_UNAVAILABLE, CURSOR_SDK_INSTALL_HINT, type CaffeinateHoldState, type ChatTextScale, type ClaudeExtraUsage, type ClaudeHarnessSettings, type ClaudePlanUsage, type ClaudeUsageWindow, type ClaudeUsageWindowId, type CleanupOrphansResult, type CliAgentKind, type CliExecutableSettings, type CloudConnectAgent, type CloudConnectOptions, type CloudConnectStatus, type CodeLineRange, type CodeRefInput, type CompactResult, type CompactThresholds, type ComposerFileBuffer, type ConductorSettings, type ConductorWorkspace, type ConnectedBrightsyTeamInfo, type ConventionSetupFile, type CowboyThreadFields, type CreateChatTabInput, type CreateGlobalChatOpts, type CreateScheduledTaskInput, type CreateStackInput, type CreateThreadInput, type CreateWorktreeResult, type CursorAgentUsageSnapshot, type CursorGitStatus, type CursorModelInfo, type CursorSdkStreamMessage, type CursorTurnRequest, type CursorUsageCost, type CursorWorktreesConfig, DEFAULT_ABLETIME_HOST, DEFAULT_RUN_LOG_TAIL_CHARS, DEFAULT_WORKTREE_SORT, DETACHED_JOBS_DIR, type DefaultsAppSettings, type DefaultsSettingsPatch, type DevAccessRun, type DevPreview, type DevServerHandle, type DiffCommentInput, type DiffCommentLine, type DiffCommit, type DiffFile, type DiffResult, type DiffScope, type DiffScopeStat, EMPTY_MANAGED_ACCOUNTS, ENTIRE_ISSUES_ARE_TRAILS, type EnsuredReviewGuidelines, type EntireGitStatus, type ExpandResult, FAMOUS_SOCCER_TEAMS, FOLLOW_UP_BEHAVIORS, type FastForwardMainResult, type FollowUpBehavior, type ForkChatTabInput, type ForkThreadWorktreeInput, type FormatGhLandErrorOptions, GITHUB_GIT_AUTH_MODES, GITHUB_PR_BODY_MAX_CHARS, GITHUB_PR_BODY_SAFE_CHARS, GLOBAL_WORKSPACE_ID, type GetDiffOptions, type GhStackStatus, type GitHubIssue, type GitHubIssueComment, type GitHubIssueRelationInput, type GitHubProject, type GitHubProjectRef, type GitHubStatus, type GitWorktreeStatus, type GithubGitAuthMode, HARNESS_ENV_KEYS, HISTORY_DISCARDED_TEXT, HISTORY_MAX_COUNT_DEFAULT, HISTORY_MAX_COUNT_MAX, HISTORY_MAX_COUNT_MIN, HISTORY_MAX_DAYS_DEFAULT, HISTORY_MAX_DAYS_MAX, HOME_BOARD_CACHE_TTL_MS, type HarnessId, type HistoryCleanupResult, type HistoryRetentionPlan, type HomeBoardLoaded, type HomeBoardRemoteData, IMPLIED_TICKET_RESOLVE_PROMPT, ISSUE_SOURCE_LABELS, type ImportedAgentDoneSound, type InitStackFromThreadInput, type IntegrationsSettings, type IpcApi, type IssueActivityComment, type IssueAssigneeFilter, type IssueCycleInfo, type IssueInfo, type IssueSource, LEGACY_ATTACHMENTS_DIR, LEGACY_DETACHED_JOBS_DIR, LEGACY_PLAN_FILE_REL, LEGACY_REVIEW_REQUEST_PATH, LEGACY_THREAD_LINK_PREFIX, LIGHT_RECONCILE_THROTTLE_MS, LINEAR_OAUTH_CANCELLED, LINEAR_OAUTH_PORT, LINEAR_OAUTH_REDIRECT, LINEAR_OAUTH_SCOPES, LIVE_TURN_SPAWN_GRACE_MS, LONG_RUNNING_SKILL_COMMAND, type LandPreview, type LandResult, type LinearAssignedIssuesResult, type LinearAssigneeFilter, type LinearComment, type LinearCycle, type LinearIssue, type LinearIssueAttachment, type LinearIssueComment, type LinearIssueRef, type LinearIssueRelation, type LinearIssueRelationInput, type LinearNamedRef, LinearOAuthCancelledError, type LinearProjectRef, type LinearTeam, type LinearTeamsResult, type LinearWorkflowState, type ListIssuesOptions, type ListIssuesResult, type ListPrsOptions, MAX_ANTHROPIC_CACHE_CONTROL_BLOCKS, MAX_ORCH_THREADS_DEFAULT, MAX_ORCH_THREADS_MAX, MAX_ORCH_THREADS_MIN, type ManagedAccount, type ManagedAccountKind, type ManagedAccountsState, type McpServerStatus, type McpUiView, type MessagePart, type NextManagedAccount, type NotifyOrchestratorReason, type NotifyOrchestratorResult, OPTIONAL_SERVICES, OPTIONAL_SERVICE_IDS, ORCHESTRATOR_AGENT_KINDS, type OpenPrStackLayersInput, type OpenStackLayerInput, type OpenStackLayerResult, type OptionalCliPresence, type OptionalServiceCliStatus, type OptionalServiceId, type OptionalServiceSpec, type OrchestrationQuotaOnLimit, Orchestrator, type OrchestratorAgentKind, type OrchestratorDefaultsSettings, type OrchestratorEvent, type OrchestratorRuntime, type OrderBoard, type OrderEdge, type OrderGate, type OrderHold, type OrderMark, type OrderPlan, type OrderPlanBoard, type OrderRow, type OrderTarget, type OrderTargetKind, type OrderThreadSnapshot, type OrphanWorktree, type OutboundTurnCopy, type OutboundTurnSnapshot, PASTE_ATTACH_MIN_CHARS, PASTE_ATTACH_MIN_LINES, PLAN_FILE_NAME, PLAN_FILE_REL, PLAN_MODE_INSTRUCTION, PLAN_MODE_OFF_INSTRUCTION, PLAN_QUESTION_ANSWERS_PREFIX, PORT_RANGE_SIZE, POSTHOG_OAUTH_OPTIONAL_SCOPES, POSTHOG_OAUTH_REGISTERED_REDIRECT, POSTHOG_OAUTH_SCOPES, PRESENT_PLAN_REQUIRES_PLAN_MODE, PRESENT_PLAN_TOOL_DESCRIPTION, PROFILE_NOTES_MAX, PR_DETAILS_JSON_FIELDS, type PathRefInput, type PendingPlanQuestions, type PlanQuestion, type PlanQuestionAnswer, type PlanQuestionOption, type PlanToolPartLike, type PortReservation, PosthogOAuthCancelledError, type PrActor, type PrCheckRun, type PrCommentInfo, type PrCommitInfo, type PrDetails, type PrInfo, type PrMeta, type PrReviewInfo, type PrStack, type PrStackLayer, type PresentedPlan, type ProjectProfileSettings, type PublicAppSettings, type PublicIntegrationsSettings, READ_ALOUD_RATE_DEFAULT, READ_ALOUD_RATE_MAX, READ_ALOUD_RATE_MIN, REMOTE_RELAY_PATH, REPO_REVIEW_NAME, REPO_REVIEW_PATH, REVIEW_LABEL_MAX, REVIEW_REQUEST_NAME, REVIEW_REQUEST_PATH, REVIEW_REQUEST_PREFILL, REVIEW_REQUEST_TEMPLATE, REVIEW_SKILL_NAME, REVIEW_SKILL_PATH, RUN_PORTS_REL, RUN_SCRIPT_DESKTOP_ADOPT_MS, type ReadAloudSettingsFields, type RelayAccountProvider, type RelayServerHandle, type RelayServerOptions, type RemoteAccountSession, type RemoteAskQuestion, type RemoteHostClientOptions, type RemoteHostHandle, type RemoteHostStatus, RemoteHub, type RemoteServerMessage, type RepoSettings, type RepoSetupInfo, type RequestReviewResult, type ReservePortRangeOpts, type ResolvedAccountProfile, type ResolvedReviewGuidelines, type ResolvedThreadDefaults, type ResolvedViewerProfile, type ReviewGuidelinesSource, type RunLogSnapshot, type RunMode, type RunScript, type RunScriptPreviewInput, type RunScriptRequest, SCHEDULE_RUN_HISTORY_LIMIT, SEED_FULL_TOOL_MESSAGES, SEED_MAX_CHARS, SESSION_RESET_OCCUPANCY_TOKENS, SIDEBOARD_FORCE_STOP, SIDEBOARD_MCP_ALLOWED_TOOLS, SIDEBOARD_MCP_PROFILE_ENV, SLACK_LISTEN_INPUT_REQUIRED_REPLY, SLACK_LISTEN_STOPPED_REPLY, SLACK_LISTEN_TIMEOUT_REPLY, SLACK_OAUTH_CANCELLED, SLACK_OAUTH_REDIRECT, SLACK_PROGRESS_DELAY_MS, SLACK_PROGRESS_EDIT_MS, SLACK_REPLY_FORMATTING, SLACK_SEEN_REACTION, STDERR_EVENT_MAX_CHARS, STDOUT_EVENT_MAX_CHARS, type ScheduleCreatedBy, type ScheduleRunRecord, type ScheduleWhen, type ScheduledTask, type ScriptHandle, type SessionSeedOptions, type SetOrderDependencyInput, type SetupLogSnapshot, type SetupRunResult, type SidebarGitAction, type SideboardMcpProfile, type SkillInfo, type SlackInboundMessage, type SlackListenOptions, type SlackListenStatus, SlackOAuthCancelledError, type SlackOrgRegistration, type SlackOutboundReply, type SlackOutboundWatch, type SlackRelayClientMessage, type SlackRelayClientOptions, SlackRelayHub, type SlackRelayServerMessage, type SlackWorkspaceInfo, type SourceType, type SpawnTurnHandle, type SteerRequest, type SummarizeResult, THINKING_EFFORTS, THINKING_PART_MAX_CHARS, type TaskState, type TeamName, type ThinkingEffort, type Thread, type ThreadAttachment, type ThreadMessage, type ThreadOptionsPatch, type ThreadStatus, type TokenUsage, type ToolPartLike, type TranscriptToolDetail, type TurnCommand, USAGE_ON_LIMIT_VALUES, type UpdateScheduledTaskPatch, type UsageOnLimit, type UsageScope, type ViewerContextWriteResult, type ViewerProfile, WEEKDAY_LABELS, WORKTREE_ABLETIME_MCP_TOOLS, WORKTREE_GITHUB_MCP_TOOLS, WORKTREE_LINEAR_MCP_TOOLS, WORKTREE_MCP_TOOLS, type WaterfallChain, type WaterfallIncoming, type WaterfallNode, type WeekdayIndex, type Workspace, type WorkspaceInventoryEntry, type WorkspaceScriptEnvOpts, type WorkspaceTagMode, type WorktreeDirtyStat, type WorktreeListBadge, type WorktreeOpener, type WorktreeOpenerId, type WorktreeSortMode, type WorktreeStatKind, ableTimeCredentialKind, ableTimeDependencyTarget, ableTimeOAuthAuthorizeUrl, ableTimeOAuthBouncePage, ableTimeOAuthClientId, ableTimeOAuthLocalBounceUrl, ableTimeOAuthRedirectUri, ableTimeOAuthResource, ableTimeStateIsClosed, ableTimeUsesRest, abletimeMcpRequest, abletimeMcpUrl, abletimeToolUsesPm, accountIdToPin, ackSlackInboundSeen, activeAccountId, activeRunPreview, addBoardPin, addManagedAccount, addPrStackLayer, addStackLayerFromThread, addWorkspace, adoptThread, agentDoneCustomSoundMime, agentDoneSound, agentDoneSoundsDir, agentGitPrompt, agentRpcConnectFromMetadata, alignQueueAttachments, allAdapters, allocatePort, allocatePortRange, allocateTeamName, allocateTeamSlug, annotateDevAccessRuns, answerToolPermission, appDataDir, appSettingsPath, appendCompactedMessages, appendIndexedGitConfig, appendMessage, appendQueuedItem, applyAgentEvent, applyAgentRunnerHeapEnv, applyAppEnvironment, applyCompaction, applyForwardOccupancy, applyGithubGitAuthEnv, applyManagedAccountEnv, applyPromptCacheTtlEnv, applySystemCaEnv, applyThreadIntoMain, applyTurnUsage, applyWakeOnGithubEdges, applyWorkspaceTags, archiveRemovedWorkspaceChats, archivesWithRemovedWorkspace, armGithubEdgeWatch, armSchedules, askBlockStillWaiting, assertAbleTimeCredential, assertAbleTimeMcpCredential, assertCallerOwnsSubject, assertOrchestratorCapableAgent, attachmentFromAbsolutePath, attachmentsFromBuffers, attachmentsFromWorktreePaths, attachmentsGitignoreBody, autoArchiveOnMergeEnabled, autoCleanupHistoryEnabled, autoCleanupOrphansEnabled, autoRenameBranchEnabled, autoRunAfterSetupEnabled, bootstrapSystemCa, branchDisplayLabel, brightsyAccessTokenNeedsRefresh, brightsyAdapter, brightsyCloudConnectAgent, brightsyCloudConnectEnabled, brightsyConfigPath, brightsyInjectWorktreeMcpEnabled, brightsyMcpAllowedTools, brightsyMcpServerName, buildBrightsySessionSeed, buildCachedUserContent, buildClaudeStreamJsonUserMessage, buildCodeRefAttachment, buildDiffCommentAttachment, buildForkTranscriptAttachment, buildLinearIssueFilter, buildPastedTextAttachment, buildPathRefAttachment, buildPlanMap, buildReviewRequestAttachment, buildSessionSeed, buildWaterfall, buildWorkspaceScriptEnv, caffeinateHoldPath, caffeinateWhileCloudConnectEnabled, caffeinateWhileRunningEnabled, caffeinateWhileSchedulesEnabled, caffeinateWhileSlackListenEnabled, callAbleTimeTool, canReuseIdleWorktreeAgentForReview, canonicalizeRepoPath, captureLoginEnv, captureTurnBaseline, chatLinkUrl, chatTextScale, checkoutPrStackLayer, childEnvWithAppSettings, claimDesktopHost, clampGithubPrBody, clampHistoryMaxCount, clampHistoryMaxDays, clampReadAloudRate, classifyRunScriptPreview, classifyWorktreeColumn, classifyWorktreeListBadges, claudeAdapter, claudeChromeEnabled, claudeSubagentTurnReminder, claudeUsageOverLimitWindows, claudeUserSettingsPath, cleanupArchivedHistory, cleanupOrphanWorktrees, clearAgentDoneCustomSoundFile, clearBoardPins, clearHomeBoardCache, clearOptionalCliPresenceCache, clearOrderDependency, clipAgentEventForPaint, clipThinkingForStore, cloneRepoIntoSideboard, closeMcpUiHost, codeRefRangeLabel, codexAdapter, codexSandboxWritableRootsArgs, codexUnattendedGitConfigArgs, coerceOrchestratorAgent, collectTakenTeamSlugs, commandLooksLikeElectron, commentAbleTimeTask, commentGitHubIssue, commentLinearIssue, commitAll, compactArchiveProse, compactPartsForSummaryMessage, compactSummaryPart, computeNextRunAt, conductorBundledBinDir, conductorDbPath, confirmClaudeUsageOverLimitEnabled, confirmLand, connectBrightsyTeam, connectOptionalService, connectedOptionalServices, connectedOrchestratorTurnReminder, connectedPrSelectors, consumeComposerAttachments, contextTokens, coordinatorSystemPrompt, coordinatorTurnReminder, copyConfiguredFiles, copyReadAloudFromUnknown, countCacheControlBlocks, countUnpushedVsOrigin, cowboyModeEnabled, createAbleTimePkce, createAbleTimeTask, createChatTab, createEmptyThread, createExistingBranchWorktree, createGitHubIssue, createGlobalChat, createLinearIssue, createLinearPkce, createOrUpdatePr, createPosthogPkce, createPrStack, createSchedule, createSlackOrgApp, createThread, createThreadWorktree, currentBranch, cursorAdapter, cursorIssuesUnavailableReason, cursorSdkMessageToEvents, decodeBrightsyTarget, defaultOrderSubject, defaultScheduleName, deleteBranchOnPurgeEnabled, deleteSchedule, deleteSchedulesForThread, deleteThreadRecord, deriveTaskState, desktopHostPidPath, detectAgents, detectGhStack, detectLocalMergeConflicts, detectOptionalServiceClis, disconnectAbleTimeConnection, disconnectBrightsyTeam, disconnectLinear, disconnectLinearConnection, disconnectOptionalService, disconnectRemoteAccount, disconnectSlackWorkspace, discoverPosthogHost, discoverSkills, downloadAbleTimeAttachment, downloadGitHubIssueAttachment, downloadLinearAttachment, dropCachedPrefixOnResume, emptyPublicIntegrations, emptyRunLog, emptySetupLog, encodeBrightsyTarget, endedOnAskUser, enrichPathWithNpmGlobalBin, enrichWorkspacesWithGithub, ensureAbleTimeAccessToken, ensureAbleTimeTask, ensureAgentPath, ensureBrightsyLocalConfigFresh, ensureBrightsyOAuthClientId, ensureCloudCoordinator, ensureConnectedBrightsyTeamTokens, ensureGhPreferOrigin, ensureGlobalCoordinatorCwd, ensureManagedAccountDir, ensureRemoteCoordinator, ensureRemoteHostCredentials, ensureReviewGuidelinesFile, ensureReviewRequestFile, ensureReviewSkillFile, ensureSlackCoordinator, ensureSlackDeviceIdentity, ensureWorkspace, entireUsesTrails, estimateMessageChars, estimateOccupancyTokens, estimateThreadChars, examplePrefixedBranch, executeOrderPlan, executionSlice, expandComposerPrompt, extractBrightsyContextSummary, extractGhErrorDetail, extractPendingPlanQuestions, extractPresentedPlan, extractiveSummary, fastForwardMainCheckoutIfSafe, fetchOriginForWorktree, fetchPrHead, finalizeParts, findAgentDoneCustomSoundPath, findConventionSetup, findInvalidCacheControlTtlOrder, findLastBrightsyContextSummary, findLiveThreadForCreate, findLiveThreadForCreateSource, findManagedAccount, findOrphanWorktrees, findProjectProfileKey, findRemoteCoordinator, findSlackCoordinator, findThreadByRef, findThreadForStackLayer, fireSchedule, flattenTurnInput, flipLinearRelationType, foldLegacyRolesIntoNotes, followUpBehavior, forkChatTab, forkMessageSlice, forkThreadWorktree, formatAccountProfilePlaybookLine, formatArtifactDirective, formatAskUserNotifyMessage, formatBrightsyFetchError, formatClaudeExtraUsageDetail, formatClaudeSubagentReminder, formatClaudeUsageCompact, formatClaudeUsageFetchedAt, formatClaudeUsageOverLimitConfirm, formatClaudeUsageOverLimitWait, formatClaudeUsageReset, formatClaudeUsageResetClock, formatClaudeUsageTooltip, formatCloudTurnReply, formatConnectedOrchestratorReminder, formatCursorGitDirective, formatDetachedJobInvoke, formatDevAccessHint, formatEntireGitDirective, formatFetchError, formatGhLandError, formatGitAuthModeDirective, formatInjectedNoticesForTurn, formatIpcInvokeError, formatIssueToolsDirective, formatIssueToolsReminder, formatLinearDirective, formatLinearReminder, formatLongRunningDirective, formatLongRunningReminder, formatMergePrError, formatMessagesAsTranscript, formatNotifyOrchestratorPrompt, formatOptionalServicesDirective, formatOptionalServicesDirectiveForTurn, formatOptionalServicesReminder, formatOptionalServicesReminderForTurn, formatOrderPlace, formatOrderText, formatPlanQuestionAnswers, formatPlanQuestionsForChat, formatPrGateDirective, formatProcessGuideDirective, formatProjectProfilePlaybookLines, formatRateLimitResetHint, formatRemotePrompt, formatRenameBranchDirective, formatScheduleWhen, formatScheduledPrompt, formatSlackExternalReplyPrompt, formatSlackInboundPrompt, formatSlackRepliesForTurn, formatSlackReplyContinuePrompt, formatSlackSignedReply, formatSlackTurnReply, formatSlackWorkingText, formatTranscriptMarkdown, formatUiReminder, formatViewerContextDirective, formatViewerContextReminder, formatWaterfallHtml, formatWeeklyDays, formatWorkspaceInventory, formatWorkspaceProfileSuffix, formatWorktreeDirective, formatWorktreeReminder, forwardContextUsage, forwardOccupancyTokens, fromInclusiveInputUsage, gatePhrase, getAbleTimeAccessToken, getAbleTimeHost, getAbleTimeOrientation, getAbleTimeTask, getAdapter, getAgentRpcServer, getAgentSetupInfo, getBrightsySession, getCaffeinateHold, getClaudePlanUsage, getCursorGitStatus, getDefaultAgent, getDefaultAutonomy, getDefaultEffort, getDefaultFast, getDefaultModel, getDefaultRunScript, getDiff, getDiffSummary, getEntireGitStatus, getGitHubIssue, getGitHubStatus, getGithubGitAuthMode, getGithubPat, getHomeBoardInputs, getIssueSource, getLinearApiKey, getLinearAuthToken, getLinearIssue, getMcpUiHost, getOrchestrator, getOrderPlan, getPosthogAccessToken, getPr, getPrChecks, getPrCiChecks, getPrDetails, getPrForHeadBranch, getPrMeta, getPrStack, getRepoSetupInfo, getRunMode, getRunScript, getSchedule, getSlackWorkspace, getWorktreeDirtyStat, gh, ghHeadRef, ghPrCreateAssigneeArgs, ghRepoSelectArgs, git, gitBranchPrefixSetting, githubAgentGitEnv, githubHttpsInsteadOfEntries, githubProjectsOnIssue, githubRelationEditFlag, globalAgentCwd, groupHomeBoardWorktrees, handleRemoteInbound, handleSlackInbound, harnessEnvKey, hasBakedAbleTimeOAuth, hasBakedLinearOAuth, hasBakedSlackOAuth, hasConductorHook, hasConventionSetup, hasCursorWorktreeSetup, hasEnabledSchedules, hasRepoHook, hasWorkspaceHook, hasWorkspaceSettingsToml, headlessHostBlockedReason, healOrchestrationSoccerTitles, historyMaxCount, historyMaxDays, holdPhrase, hostKeepsMacAwake, hottestClaudeWindow, httpFetch, importAgentDoneCustomSound, importConductorWorkspace, importConductorWorkspaceAsync, initPrStack, initStackFromThread, initializeGitRepository, inspectGitWorktree, installAgent, installNpmGlobalPackage, installOptionalServiceCli, interruptSlackCoordinatorForInbound, invalidateThreadListCache, invalidateThreadRecord, isAbleTimeConnected, isAbleTimeOAuthCancelled, isAbleTimeRejectedCredential, isAdoptableRunScriptRequest, isAgentDoneSound, isAskUserToolName, isBrightsyConnected, isBrightsyNdjsonLine, isChatTextScale, isClaudeAiConnectorMcp, isCloudCoordinatorThread, isCompactToolName, isConductorBundledCli, isContextCompactDone, isContextCompactInProgress, isCowboyThread, isCursorApiKeyConfigured, isCursorAutoModel, isCursorSdkInstalled, isDefaultishSourceRef, isDesktopHostAlive, isDirty, isGhPrBodyTooLongError, isGhRateLimitError, isGlobalRepoPath, isGlobalThread, isHistoryRetentionStub, isHomeBoardThread, isImageFilePath, isInPrStack, isInboundForThisDesktop, isIncompleteTaskState, isInjectedNoticeText, isInjectedOrchMcpName, isInternalAgentStatusText, isIssueSourceConnected, isLinearConnected, isLinearNoneToken, isLinearOAuthCancelled, isManagedAccountKind, isOptionalServiceId, isOrchestratorCapableAgent, isOrchestratorThread, isOtherWorktreeListenerCwd, isPidAlive, isPlaceholderBranch, isPlanQuestionAnswersMessage, isPollWrapperToolName, isPosthogConnected, isPosthogOAuthCancelled, isPrNotMergeableError, isPresentPlanToolName, isPrimaryCheckoutThread, isRemoteAccountLoginCancelled, isRemoteStopCommand, isRemovedWorkspace, isSelfWrittenRecord, isSessionQuotaLimit, isSetupLastError, isShellToolName, isSideboardScratchPath, isSkillToolName, isSlackCoordinatorThread, isSlackExternalReplyPrompt, isSlackOAuthCancelled, isStaleLastErrorDuringTurn, isSubagentToolName, isSystemStatusThinking, isTerminalTaskState, isThinkingEffort, isThisProcessDesktopHost, isThisWorktreeListenerCwd, isThreadCaffeinated, isThreadRecordFile, isUnclaimedRunScriptRequest, isUsageOnLimit, isWorkspaceScratchPath, issueAttachmentForAbleTimeTask, issueMatchesAssignee, issueSourceLabel, issueTicketFromThread, joinSteerPrompt, killDetachedRunTree, killListenersOnPorts, killStaleWorktreeListeners, killableListenerPids, lanRelayUrls, lastAgentReply, lastAssistantMessageText, lastRequestOccupancy, lastTopLevelToolIsAskUser, latestPendingPlanQuestions, linearAuthorizationHeader, linearCycleIsActive, linearGraphql, linearOAuthAuthorizeUrl, linearOAuthCredentials, linearRelationCreateInput, linearTicketIdFromThread, linkSharedDirectories, linkifyChatUrls, listAbleTimeAssignedIssues, listAbleTimeProjects, listAbleTimeTasks, listAgentSetupInfo, listBoardPins, listBranchCommits, listBranches, listBrightsyAccounts, listBrightsyChatTargets, listCodexModels, listConductorWorkspaces, listConnectedBrightsyTeams, listCursorModels, listGitHubIssueCommentsSince, listGitHubIssues, listGitHubProjects, listGlobalThreads, listIssues, listLinearAssignedIssues, listLinearCommentsSince, listLinearIssues, listLinearIssuesDirect, listLinearIssuesFiltered, listLinearProjects, listLinearTeamCycles, listLinearTeams, listModelsForAgent, listOpencodeModels, listOrderBoard, listOrderEdges, listOrderMarks, listOrderPlans, listOrderRows, listPrs, listRunScripts, listSchedules, listSlackOutboundWatches, listSlackWorkspaces, listThreads, listWaterfall, listWorkspaces, listWorktreeFiles, listWorktrees, listenerCwd, liveActivitySummary, livePartsShowAgentReply, loadAppSettings, loadBrightsyConfig, loadConductorSettings, loadHomeBoardInputs, loadRepoSettings, loadWorkspaceSettings, loadWorktreeRunPorts, localhostPreviewUrl, locksDir, loginAgent, loginCursorGit, loginEntireGit, loginEnvPrefix, loginManagedAccount, looksLikeComposerSkillExpansion, looksLikeConversationSummary, looksLikeIncompleteSkillDump, looksLikeSkillBody, lookupSoccerTeam, managedAccountConfigDir, mapAbleTimeTask, markPrReady, materializeSystemCaBundle, maxConcurrentAgents, maxOrchThreads, maybeCompactContext, mcpAllowTools, mcpAllowToolsFromNames, mcpAuthWarnings, mcpServerIdForPermission, mcpServerPermissionUpdate, mcpStatusThinkingFromClaudeInit, mcpUiContentSecurityPolicy, mentionsPrGoal, mergeAgentGitAuthEnv, mergePr, mergePrStack, mergeSetupOutput, mergeSideboardIntoMcpServersJson, mergeSlackClientIds, mergeTurnAttachments, mergeUsage, messagePartParentId, messagesForCompactArchive, messagesSinceLastBrightsyContextSummary, messagesWithRewrittenUserPrompt, mirrorHostConfig, moveQueuedItemToFront, needsCoordinatorAction, nextManagedAccount, nextPastedTextName, nextThinkingEffort, nonInteractiveGitProcessEnv, normalizeAbleTimeCredential, normalizeAbleTimeHost, normalizeBrightsyEndpoint, normalizeCodeSelection, normalizeLinearRelationType, normalizeManagedAccounts, normalizeParseResult, normalizeRemoteRelayUrl, normalizeReviewLabel, normalizeServiceOrigin, normalizeThinkingEffort, normalizeThread, normalizeTurnInput, normalizeWeekdays, normalizeWeeklyTime, normalizeWorkspaceTags, normalizeWorktreePath, notifyOrchestrator, npmGlobalNodeModules, npmGlobalPrefix, openInSystemTerminal, openPrStackLayers, openStackLayer, opencodeAdapter, optionalCliPresence, optionalServiceConnected, optionalServiceSpec, orchestrationQuotaFallbackAgent, orchestrationQuotaOnLimit, orchestrationTitleNeedsSoccerNickname, orchestratorSessionPoisonedByBuiltins, orderEdgeTouches, orderPath, orderSnapshotFromThread, orderTargetMatches, originCli, originFetchBranch, originGhRepoEnv, outboundReplyFromTurn, packagedDetachedJobPath, parseAbleTimeOAuthCallbackUrl, parseChatLink, parseClaudeUsagePayload, parseCursorRunnerLine, parseDevPreview, parseDurationMs, parseEntireAuthContexts, parseForceStopMessage, parseGhStackViewJson, parseGitHubIssueNumber, parseGithubSlugFromRemoteUrl, parseMcpList, parseOrderGate, parseOrderHold, parseOrderKind, parseOriginAuthStatus, parsePlanQuestionsInput, parsePrDetailsView, parseSessionQuotaResetAt, parseSlackRelayClientMessage, parseSlackRelayServerMessage, parseWeeklyDays, partsToAssistantText, pastedTextStats, patchReadAloudSettings, pendingInjectedNotices, pendingSlackExternalReplies, permissionMode, persistPendingFileAttachments, persistVaultKeyInKeychain, planFileAbs, planHistoryAgePurge, planHistoryRetention, planModeTurnInstruction, planQuestionsSignature, pnpmFilterPackage, pollSlackOutboundWatches, posixShellSingleQuote, posthogOAuthAuthorizeUrl, posthogOAuthClientId, posthogOAuthScopeParam, preferredCursorCostCents, prepareTerminalCommand, prependQueuedItem, previewLand, previousCostBaseline, primaryCheckoutFromLinkedWorktree, promptMentionsBrightsy, pushBranch, readAgentDoneCustomSound, readAgentRuntimeMetadata, readExistingReviewRequestFile, readKeychainVaultKey, readPlanFile, readRunLog, readSetupLog, readSkillBody, readThread, readViewerContext, readWorktreeFile, readWorktreeFileForUpload, readWorktreeInclude, recordScheduleRun, recordSlackOutboundWatch, refreshBrightsyAccessToken, refreshGitHubAuth, refreshWorktreeIssueBlocked, registerBrightsyOAuthClient, registerPackagedUserMcpClients, releaseCaffeinateHoldForThread, releaseDesktopHost, remoteAccountHttpOrigin, remoteCoordinatorSourceRef, remoteRelayUrl, removeBoardPin, removeManagedAccount, removeQueuedItem, removeWorkspace, removeWorktree, renameManagedAccount, repoSlug, requestOccupancy, requestReview, requireAgent, reservePort, reservePortRange, resetGhStackDetectCache, resetGithubAgentTokenMemo, resolveAbleTimeOAuthHost, resolveAccountForThread, resolveAccountProfile, resolveAccountProfileFromSettings, resolveAgentExecutable, resolveAgentGitAuthEnv, resolveClaudeExecutable, resolveCodexGitWritableRoots, resolveCommandBinarySync, resolveConductorCursorAgentId, resolveCreateFirstPrompt, resolveCursorModelId, resolveCursorSdkRoot, resolveDefaultBranch, resolveDetachedJobScript, resolveDiffBaseRef, resolveEffectiveIssueSource, resolveFilesToCopy, resolveGhAuthToken, resolveGitBranchPrefix, resolveGitDirsForLockRecovery, resolveGitHubIssueRepo, resolveGithubAgentToken, resolveGithubRepoSlug, resolveLinearCycle, resolveLinearLabel, resolveLinearProject, resolveLinearState, resolveLinearTeam, resolveLoginCommand, resolveNewOrchestratorOptions, resolveNewThreadOptions, resolveOrchChildFollowUp, resolveOrchestrationGates, resolveOrchestratorDefaults, resolveOrderRows, resolveOriginRemote, resolvePlanMarkdown, resolvePrSelector, resolvePrSelectors, resolveProjectRemoteTag, resolveProjectReviewLabel, resolveQuotaFallbackAgent, resolveRepoRoot, resolveReviewGuidelines, resolveScheduleThreadId, resolveSendFollowUp, resolveSidebarGitPrompt, resolveSlackListenMode, resolveThreadDefaults, resolveThreadEffort, resolveUsageOnLimit, resolveVaultKey, resolveViewerProfile, resolveViewerProfileForRepo, resolveWorktreeStartPoint, reviewLabelForRepo, rewriteAbleTimeError, rewriteLinearError, run, runArchiveScript, runCloudConnect, runConventionSetup, runCursorWorktreeSetup, runRemoteHost, runScriptPreview, runSetupScript, runSlackListen, runSlackRelayClient, runWorkspaceSetup, sameTurnAttachments, sameWorkspacePath, sameWorktreePath, sanitizeGitBranchPrefix, sanitizeMcpServerName, sanitizeReadAloudVoiceURI, satisfyOrderDependency, saveAbleTimeConnection, saveAppSettings, saveLinearOAuth, savePosthogOAuth, saveRemotePhoneToken, saveSlackOrgCredentials, saveWorktreeRunPorts, scheduleNeedsCaffeinate, schedulesPath, scrubGithubTokensFromChildEnv, searchAbleTimeTasks, secureFileUnlocksWith, selectManagedAccount, setCaffeinateHold, setHttpFetchImpl, setOrderDependency, setOrderPlan, setStatus, setVaultMasterKey, settingsSourceLabel, setupCursorGit, shiftQueuedItem, shouldAttachPastedText, shouldCompactContext, shouldInjectBrightsyMcp, shouldNotifyOrchestrator, shouldRefreshReviewRequestTemplate, shouldRegisterPresentPlan, shouldRemoveWorktreeOnTeardown, shouldResetSessionForOccupancy, shouldRunHistoryCleanup, shouldRunWorktreeCleanup, shouldStampSetupLastError, showCostEnabled, showPlanDocuments, showPlanMessage, sidebarParentSelectId, sidebarQuestionThreadId, sidebarRowAgentBlock, sideboardHomeDir, sideboardMcpProfile, sideboardReposDir, sideboardWorkspacesDir, skillCommandFromBody, skillCommandFromInput, skillNameFromFrontmatter, slackAppLevelToken, slackArchiveUrl, slackCoordinatorSourceRef, slackListenEnabled, slackOAuthCredentials, slackOAuthResultUrl, slackRelayUrl, sliceRunLogOutput, slimMessagesForUiList, slimThreadForUiList, slugify, spawnAgentTurn, splitForCompaction, splitTurnInputForSystemPrompt, stackAgentDefaultsFrom, stackIdFrom, stackMergeReadiness, stageAbsolutePathsAsAttachments, stageBuffersAsAttachments, startAbleTimeOAuth, startAgentRpcServer, startDevServer, startHeadlessHost, startLinearOAuth, startMcpServer, startOrchestration, startPosthogOAuth, startRelayServer, startRemoteAccountLogin, startSlackOAuth, stashMcpAppModelContext, statWorktreePath, stopAgentRpcServer, stripBrightsyNdjsonNoise, stripNestedElectronEnv, submitPrStack, subtractUsage, suggestSlug, sumUsageList, summarizeConversation, switchBrightsyAccount, switchWorktreeBranch, syncWorkspacesFromThreads, systemConfigDir, takePendingTurnAttachments, takenTeamSlugsForChatTab, takenTeamSlugsForOrchestration, taskMessageText, taskUrl, thinkingEffortBars, thinkingEffortLabel, thisProcessShouldDrainAgentQueues, threadDisplayLabel, threadFilePath, threadHasCompactedContext, threadLivePath, threadLockPath, threadMayPresentPlan, threadRequestsBrightsyMcp, threadsDir, threadsSharingWorktree, ticketSlugForBranch, toAbleTimeIssueInfo, toGitHubIssueInfo, toPublicAppSettings, toolActivityLine, toolDescription, toolDetail, toolFilePath, totalTokens, trailingUnansweredUserText, trustSystemCertificates, tryReservePort, tryReservePorts, turnCostUsdFromCursorUsage, turnCostUsdFromProviderSnapshot, updateAbleTimeTask, updateAdvancedSettings, updateAgentExecutable, updateAppEnvironment, updateBrightsySettings, updateClaudeSettings, updateCodexSettings, updateDefaultsSettings, updateGitHubIssue, updateIntegrationsSettings, updateLinearIssue, updateOpencodeSettings, updateProjectProfileSettings, updateSchedule, updateThread, usageOnLimit, userClaudeMcpConfigPath, userCursorMcpConfigPath, userMcpNamesToDisable, validateLinearApiKey, verifyAbleTimeConnection, verifyOptionalService, visibleAgentBlock, visibleAssistantText, visibleToolRowDetail, waitForPidExit, wakeOrchestratorOnGithubEdgesEnabled, warmGithubAgentAuth, weeklyCronExpr, whichOnPath, withAddedAccount, withEventParentId, withEventsParentId, withExportedPath, withMaxOldSpaceSize, withRemovedAccount, withSelectedAccount, withThreadLock, withTurnScopedCost, workspaceAgentChatSummaries, workspaceSettingsSourceLabel, workspaceTagTargetRef, workspaceTagsFromGroup, worktreeAgentBlock, worktreeBoardStatus, worktreeCleanupSettings, worktreeDisplayLabel, worktreeDisplayLabelForGroup, worktreeNameFromPath, worktreeRunPortsPath, worktreeSlugForTicket, worktreesRoot, wrapReviewSkillMarkdown, writeInjectedMcpConfig, writePlanFile, writeThread, writeViewerContext, writeWorktreeFile };
8795
+ export { ABLETIME_MCP_PATH, ABLETIME_MCP_PM_PATH, ABLETIME_OAUTH_CALLBACK_PATH, ABLETIME_OAUTH_CANCELLED, ABLETIME_OAUTH_LOCAL_CALLBACK, ABLETIME_OAUTH_PORT, ABLETIME_OAUTH_REDIRECT, ABLETIME_OAUTH_RESOURCE, ABLETIME_OAUTH_TOKEN_PREFIX, ABLETIME_ORG_KEY_PREFIX, ABLETIME_PAT_PREFIX, ABLETIME_PM_TOOL_NAMES, ACP_HARNESSES, ACP_HARNESS_IDS, AGENT_DONE_CUSTOM_SOUND_EXTENSIONS, AGENT_DONE_CUSTOM_SOUND_MAX_BYTES, AGENT_DONE_SOUNDS, AGENT_GIT_ACTIONS, AGENT_RPC_NATIVE_ENV, AGENT_RPC_PROTOCOL_VERSION, AGENT_RUNNER_MAX_OLD_SPACE_MB, ATTACHMENTS_DIR, type AbleTimeAssignedIssuesResult, type AbleTimeComment, type AbleTimeCredentialKind, type AbleTimeMcpToolName, AbleTimeOAuthCancelledError, type AbleTimeOrientation, type AbleTimePmToolName, type AbleTimeProject, type AbleTimeTask, type AbleTimeTaskRelationInput, type AbleTimeViewer, type AccountProfile, AcpHarnessId, type AcpHarnessSpec, ActiveRun, type AddBoardPinInput, type AddStackLayerInput, AdoptInput, type AdvancedAppSettings, type AgentAdapter, AgentBlock, AgentBlockSource, type AgentDoneCustomSoundPayload, type AgentDoneSound, AgentEvent, type AgentGitAction, AgentKind, type AgentModelCatalog, type AgentModelInfo, type AgentRpcConnect, type AgentRuntimeMetadata, type AgentSetupActionResult, type AgentSetupInfo, type AgentSetupKind, AgentStatus, type AgentTurnInput, type AnthropicCacheControl, type AppSettings, type ApplyIntoMainResult, type AskBlockSnapshot, type AttachCommand, Autonomy, BAKED_ABLETIME_OAUTH_CLIENT_ID, BAKED_POSTHOG_OAUTH_CLIENT_ID, BAKED_REMOTE_RELAY_URL, BAKED_SLACK_CLIENT_ID, BAKED_SLACK_RELAY_URL, BASE_ALLOWED_TOOLS, BRIGHTSY_MCP_ALLOWED_TOOLS, BRIGHTSY_OAUTH_CLIENT_ID, BRIGHTSY_OAUTH_REDIRECT, BRIGHTSY_SUMMARIZE_CONTEXT_TOOL, BUNDLED_LONG_RUNNING_PATH, BUNDLED_SKILL_PREFIX, type BoardPin, BranchInfo, type BrightsyAccount, type BrightsyChatTarget, type BrightsyChatTargets, type BrightsyCloudConnectAgent, type BrightsyHarnessSettings, type BrightsySession, BrightsySideboardApi, type BrightsyTeamTargets, CHARS_PER_CONTEXT_TOKEN, CHAT_LINK_PREFIX, CHAT_TEXT_SCALES, CHAT_TEXT_SCALE_DEFAULT, CLAUDE_CHROME_ALLOWED_TOOLS, CLAUDE_MODEL_CATALOG, CLAUDE_POSTHOG_CONNECTOR_ALLOWED_TOOLS, CLAUDE_PRINT_BG_WAIT_CEILING_MS, CLAUDE_SUMMARY_TIMEOUT_MS, CLI_DIR, CLOUD_COORDINATOR_BUSY_REPLY, CLOUD_COORDINATOR_CANCELED_REPLY, CLOUD_COORDINATOR_INPUT_REQUIRED_REPLY, CLOUD_COORDINATOR_STOPPED_REPLY, CLOUD_COORDINATOR_TIMEOUT_REPLY, CLOUD_ORCHESTRATOR_GOAL, CONTEXT_COMPACT_CHARS, CONTEXT_KEEP_RECENT_CHARS, CONTEXT_KEEP_RECENT_MESSAGES, CONTEXT_MIN_MESSAGES, CONTEXT_REVIEW_PATH, CONVENTION_SETUP_RELPATHS, COORDINATOR_TOOL_PLAYBOOK, CURSOR_ISSUES_UNAVAILABLE, CURSOR_SDK_INSTALL_HINT, type CaffeinateHoldState, type ChatTextScale, type ClaudeExtraUsage, type ClaudeHarnessSettings, type ClaudePlanUsage, type ClaudeUsageWindow, type ClaudeUsageWindowId, type CleanupOrphansResult, type CliAgentKind, type CliExecutableSettings, type CloudConnectAgent, type CloudConnectOptions, type CloudConnectStatus, type CodeLineRange, type CodeRefInput, type CompactResult, type CompactThresholds, type ComposerFileBuffer, type ConductorSettings, ConductorWorkspace, type ConnectedBrightsyTeamInfo, type ConventionSetupFile, type CowboyThreadFields, CreateChatTabInput, type CreateGlobalChatOpts, type CreateScheduledTaskInput, type CreateStackInput, CreateThreadInput, type CreateWorktreeResult, type CursorAgentUsageSnapshot, type CursorGitStatus, type CursorModelInfo, type CursorSdkStreamMessage, type CursorTurnRequest, type CursorUsageCost, type CursorWorktreesConfig, DEFAULT_ABLETIME_HOST, DEFAULT_RUN_LOG_TAIL_CHARS, DEFAULT_WORKTREE_SORT, DETACHED_JOBS_DIR, type DefaultsAppSettings, type DefaultsSettingsPatch, type DevAccessRun, type DevPreview, type DevServerHandle, type DiffCommentInput, type DiffCommentLine, DiffCommit, DiffResult, DiffScope, EMPTY_MANAGED_ACCOUNTS, ENTIRE_ISSUES_ARE_TRAILS, type EnsuredReviewGuidelines, type EntireGitStatus, type ExpandResult, FAMOUS_SOCCER_TEAMS, FOLLOW_UP_BEHAVIORS, type FastForwardMainResult, type FollowUpBehavior, ForkChatTabInput, ForkThreadWorktreeInput, type FormatGhLandErrorOptions, GITHUB_GIT_AUTH_MODES, GITHUB_PR_BODY_MAX_CHARS, GITHUB_PR_BODY_SAFE_CHARS, GLOBAL_WORKSPACE_ID, type GetDiffOptions, type GhStackStatus, type GitHubIssue, type GitHubIssueComment, type GitHubIssueRelationInput, type GitHubProject, type GitHubProjectRef, type GitHubStatus, type GitWorktreeStatus, type GithubGitAuthMode, HARNESS_ENV_KEYS, HISTORY_DISCARDED_TEXT, HISTORY_MAX_COUNT_DEFAULT, HISTORY_MAX_COUNT_MAX, HISTORY_MAX_COUNT_MIN, HISTORY_MAX_DAYS_DEFAULT, HISTORY_MAX_DAYS_MAX, HOME_BOARD_CACHE_TTL_MS, type HarnessId, type HistoryCleanupResult, type HistoryRetentionPlan, type HomeBoardLoaded, type HomeBoardRemoteData, IMPLIED_TICKET_RESOLVE_PROMPT, ISSUE_SOURCE_LABELS, type ImportedAgentDoneSound, type InitStackFromThreadInput, type IntegrationsSettings, type IpcApi, IssueActivityComment, type IssueAssigneeFilter, IssueInfo, type IssueSource, LEGACY_ATTACHMENTS_DIR, LEGACY_DETACHED_JOBS_DIR, LEGACY_PLAN_FILE_REL, LEGACY_REVIEW_REQUEST_PATH, LEGACY_THREAD_LINK_PREFIX, LIGHT_RECONCILE_THROTTLE_MS, LINEAR_OAUTH_CANCELLED, LINEAR_OAUTH_PORT, LINEAR_OAUTH_REDIRECT, LINEAR_OAUTH_SCOPES, LIVE_TURN_SPAWN_GRACE_MS, LONG_RUNNING_SKILL_COMMAND, LandPreview, LandResult, type LinearAssignedIssuesResult, type LinearAssigneeFilter, type LinearComment, type LinearCycle, type LinearIssue, type LinearIssueAttachment, type LinearIssueComment, type LinearIssueRef, type LinearIssueRelation, type LinearIssueRelationInput, type LinearNamedRef, LinearOAuthCancelledError, type LinearProjectRef, type LinearTeam, type LinearTeamsResult, type LinearWorkflowState, type ListIssuesOptions, type ListIssuesResult, type ListPrsOptions, MAX_ANTHROPIC_CACHE_CONTROL_BLOCKS, MAX_ORCH_THREADS_DEFAULT, MAX_ORCH_THREADS_MAX, MAX_ORCH_THREADS_MIN, type ManagedAccount, type ManagedAccountKind, type ManagedAccountsState, type McpServerStatus, type McpUiView, MessagePart, type NextManagedAccount, type NotifyOrchestratorReason, type NotifyOrchestratorResult, OPTIONAL_SERVICES, OPTIONAL_SERVICE_IDS, ORCHESTRATOR_AGENT_KINDS, type OpenPrStackLayersInput, type OpenStackLayerInput, type OpenStackLayerResult, type OptionalCliPresence, type OptionalServiceCliStatus, type OptionalServiceId, type OptionalServiceSpec, type OrchestrationQuotaOnLimit, Orchestrator, type OrchestratorAgentKind, type OrchestratorDefaultsSettings, OrchestratorEvent, OrchestratorRuntime, type OrderBoard, type OrderEdge, type OrderGate, type OrderHold, type OrderMark, type OrderPlan, type OrderPlanBoard, type OrderRow, type OrderTarget, type OrderTargetKind, type OrderThreadSnapshot, type OrphanWorktree, type OutboundTurnCopy, type OutboundTurnSnapshot, PASTE_ATTACH_MIN_CHARS, PASTE_ATTACH_MIN_LINES, PLAN_FILE_NAME, PLAN_FILE_REL, PLAN_MODE_INSTRUCTION, PLAN_MODE_OFF_INSTRUCTION, PLAN_QUESTION_ANSWERS_PREFIX, PORT_RANGE_SIZE, POSTHOG_OAUTH_OPTIONAL_SCOPES, POSTHOG_OAUTH_REGISTERED_REDIRECT, POSTHOG_OAUTH_SCOPES, PRESENT_PLAN_REQUIRES_PLAN_MODE, PRESENT_PLAN_TOOL_DESCRIPTION, PROFILE_NOTES_MAX, PR_DETAILS_JSON_FIELDS, type PathRefInput, type PendingPlanQuestions, type PlanQuestion, type PlanQuestionAnswer, type PlanQuestionOption, type PlanToolPartLike, type PortReservation, PosthogOAuthCancelledError, PrCheckRun, PrDetails, PrInfo, PrMeta, PrStack, PrStackLayer, type PresentedPlan, type ProjectProfileSettings, type PublicAppSettings, type PublicIntegrationsSettings, READ_ALOUD_RATE_DEFAULT, READ_ALOUD_RATE_MAX, READ_ALOUD_RATE_MIN, REMOTE_RELAY_PATH, REPO_REVIEW_NAME, REPO_REVIEW_PATH, REVIEW_LABEL_MAX, REVIEW_REQUEST_NAME, REVIEW_REQUEST_PATH, REVIEW_REQUEST_PREFILL, REVIEW_REQUEST_TEMPLATE, REVIEW_SKILL_NAME, REVIEW_SKILL_PATH, RUN_PORTS_REL, RUN_SCRIPT_DESKTOP_ADOPT_MS, type ReadAloudSettingsFields, type RelayAccountProvider, type RelayServerHandle, type RelayServerOptions, type RemoteAccountMac, type RemoteAccountSession, type RemoteAskQuestion, type RemoteHostClientOptions, type RemoteHostHandle, type RemoteHostStatus, RemoteHub, type RemoteServerMessage, type RepoSettings, type RepoSetupInfo, type RequestReviewResult, type ReservePortRangeOpts, type ResolvedAccountProfile, type ResolvedReviewGuidelines, type ResolvedThreadDefaults, type ResolvedViewerProfile, type ReviewGuidelinesSource, type RunLogSnapshot, type RunMode, type RunScript, type RunScriptPreviewInput, SCHEDULE_RUN_HISTORY_LIMIT, SEED_FULL_TOOL_MESSAGES, SEED_MAX_CHARS, SESSION_RESET_OCCUPANCY_TOKENS, SIDEBOARD_FORCE_STOP, SIDEBOARD_MCP_ALLOWED_TOOLS, SIDEBOARD_MCP_PROFILE_ENV, SLACK_LISTEN_INPUT_REQUIRED_REPLY, SLACK_LISTEN_STOPPED_REPLY, SLACK_LISTEN_TIMEOUT_REPLY, SLACK_OAUTH_CANCELLED, SLACK_OAUTH_REDIRECT, SLACK_PROGRESS_DELAY_MS, SLACK_PROGRESS_EDIT_MS, SLACK_REPLY_FORMATTING, SLACK_SEEN_REACTION, STDERR_EVENT_MAX_CHARS, STDOUT_EVENT_MAX_CHARS, type ScheduleCreatedBy, type ScheduleRunRecord, type ScheduleWhen, type ScheduledTask, type ScriptHandle, type SessionSeedOptions, type SetOrderDependencyInput, type SetupLogSnapshot, type SetupRunResult, type SidebarGitAction, type SideboardMcpProfile, type SkillInfo, type SlackInboundMessage, type SlackListenOptions, type SlackListenStatus, SlackOAuthCancelledError, type SlackOrgRegistration, type SlackOutboundReply, type SlackOutboundWatch, type SlackRelayClientMessage, type SlackRelayClientOptions, SlackRelayHub, type SlackRelayServerMessage, type SlackWorkspaceInfo, type SpawnTurnHandle, type SummarizeResult, THINKING_PART_MAX_CHARS, type TaskState, type TeamName, ThinkingEffort, Thread, ThreadAttachment, ThreadMessage, ThreadOptionsPatch, ThreadStatus, TokenUsage, type ToolPartLike, type TranscriptToolDetail, type TurnCommand, USAGE_ON_LIMIT_VALUES, type UpdateScheduledTaskPatch, type UsageOnLimit, type UsageScope, type ViewerContextWriteResult, type ViewerProfile, WEEKDAY_LABELS, WORKTREE_ABLETIME_MCP_TOOLS, WORKTREE_GITHUB_MCP_TOOLS, WORKTREE_LINEAR_MCP_TOOLS, WORKTREE_MCP_TOOLS, type WaterfallChain, type WaterfallIncoming, type WaterfallNode, type WeekdayIndex, type Workspace, type WorkspaceInventoryEntry, type WorkspaceScriptEnvOpts, type WorkspaceTagMode, WorktreeDirtyStat, type WorktreeListBadge, type WorktreeOpener, type WorktreeOpenerId, type WorktreeSortMode, type WorktreeStatKind, ableTimeCredentialKind, ableTimeDependencyTarget, ableTimeOAuthAuthorizeUrl, ableTimeOAuthBouncePage, ableTimeOAuthClientId, ableTimeOAuthLocalBounceUrl, ableTimeOAuthRedirectUri, ableTimeOAuthResource, ableTimeStateIsClosed, ableTimeUsesRest, abletimeMcpRequest, abletimeMcpUrl, abletimeToolUsesPm, accountIdToPin, ackSlackInboundSeen, acpAdapter, acpHarnessDisplayName, acpHarnessLabel, acpHarnessLooksAuthenticated, acpHarnessStatus, acpRunnerPath, activeAccountId, activeRunPreview, addBoardPin, addManagedAccount, addPrStackLayer, addStackLayerFromThread, addWorkspace, adoptThread, agentDoneCustomSoundMime, agentDoneSound, agentDoneSoundsDir, agentGitPrompt, agentRpcConnectFromMetadata, agentSupportsAttach, alignQueueAttachments, allAdapters, allocatePort, allocatePortRange, allocateTeamName, allocateTeamSlug, annotateDevAccessRuns, answerToolPermission, appDataDir, appSettingsPath, appendCompactedMessages, appendIndexedGitConfig, appendMessage, appendQueuedItem, applyAgentEvent, applyAgentRunnerHeapEnv, applyAppEnvironment, applyCompaction, applyForwardOccupancy, applyGithubGitAuthEnv, applyManagedAccountEnv, applyPromptCacheTtlEnv, applySystemCaEnv, applyThreadIntoMain, applyTurnUsage, applyWakeOnGithubEdges, applyWorkspaceTags, archiveRemovedWorkspaceChats, archivesWithRemovedWorkspace, armGithubEdgeWatch, armSchedules, askBlockStillWaiting, assertAbleTimeCredential, assertAbleTimeMcpCredential, assertCallerOwnsSubject, assertOrchestratorCapableAgent, attachmentFromAbsolutePath, attachmentsFromBuffers, attachmentsFromWorktreePaths, attachmentsGitignoreBody, autoArchiveOnMergeEnabled, autoCleanupHistoryEnabled, autoCleanupOrphansEnabled, autoRenameBranchEnabled, autoRunAfterSetupEnabled, bootstrapSystemCa, branchDisplayLabel, brightsyAccessTokenNeedsRefresh, brightsyAdapter, brightsyCloudConnectAgent, brightsyCloudConnectEnabled, brightsyConfigPath, brightsyInjectWorktreeMcpEnabled, brightsyMcpAllowedTools, brightsyMcpServerName, buildBrightsySessionSeed, buildCachedUserContent, buildClaudeStreamJsonUserMessage, buildCodeRefAttachment, buildDiffCommentAttachment, buildForkTranscriptAttachment, buildLinearIssueFilter, buildPastedTextAttachment, buildPathRefAttachment, buildPlanMap, buildReviewRequestAttachment, buildSessionSeed, buildWaterfall, buildWorkspaceScriptEnv, caffeinateHoldPath, caffeinateWhileCloudConnectEnabled, caffeinateWhileRunningEnabled, caffeinateWhileSchedulesEnabled, caffeinateWhileSlackListenEnabled, callAbleTimeTool, canReuseIdleWorktreeAgentForReview, canonicalizeRepoPath, captureLoginEnv, captureTurnBaseline, chatLinkUrl, chatTextScale, checkoutPrStackLayer, childEnvWithAppSettings, claimDesktopHost, clampGithubPrBody, clampHistoryMaxCount, clampHistoryMaxDays, clampReadAloudRate, classifyRunScriptPreview, classifyWorktreeColumn, classifyWorktreeListBadges, claudeAdapter, claudeChromeEnabled, claudeSubagentTurnReminder, claudeUsageOverLimitWindows, claudeUserSettingsPath, cleanupArchivedHistory, cleanupOrphanWorktrees, clearAgentDoneCustomSoundFile, clearBoardPins, clearHomeBoardCache, clearOptionalCliPresenceCache, clearOrderDependency, clipAgentEventForPaint, clipThinkingForStore, cloneRepoIntoSideboard, closeMcpUiHost, codeRefRangeLabel, codexAdapter, codexSandboxWritableRootsArgs, codexUnattendedGitConfigArgs, coerceOrchestratorAgent, collectTakenTeamSlugs, commandLooksLikeElectron, commentAbleTimeTask, commentGitHubIssue, commentLinearIssue, commitAll, compactArchiveProse, compactPartsForSummaryMessage, compactSummaryPart, computeNextRunAt, conductorBundledBinDir, conductorDbPath, confirmClaudeUsageOverLimitEnabled, confirmLand, connectBrightsyTeam, connectOptionalService, connectedOptionalServices, connectedOrchestratorTurnReminder, connectedPrSelectors, consumeComposerAttachments, contextTokens, coordinatorSystemPrompt, coordinatorTurnReminder, copyConfiguredFiles, copyReadAloudFromUnknown, countCacheControlBlocks, countUnpushedVsOrigin, cowboyModeEnabled, createAbleTimePkce, createAbleTimeTask, createChatTab, createEmptyThread, createExistingBranchWorktree, createGitHubIssue, createGlobalChat, createLinearIssue, createLinearPkce, createOrUpdatePr, createPosthogPkce, createPrStack, createSchedule, createSlackOrgApp, createThread, createThreadWorktree, currentBranch, cursorAdapter, cursorIssuesUnavailableReason, cursorSdkMessageToEvents, decodeBrightsyTarget, defaultAcpHarness, defaultOrderSubject, defaultScheduleName, deleteBranchOnPurgeEnabled, deleteSchedule, deleteSchedulesForThread, deleteThreadRecord, deriveTaskState, desktopHostPidPath, detectAcpHarness, detectAcpHarnesses, detectAgents, detectGhStack, detectLocalMergeConflicts, detectOptionalServiceClis, disconnectAbleTimeConnection, disconnectBrightsyTeam, disconnectLinear, disconnectLinearConnection, disconnectOptionalService, disconnectRemoteAccount, disconnectSlackWorkspace, discoverPosthogHost, discoverSkills, downloadAbleTimeAttachment, downloadGitHubIssueAttachment, downloadLinearAttachment, dropCachedPrefixOnResume, emptyPublicIntegrations, emptyRunLog, emptySetupLog, encodeBrightsyTarget, endedOnAskUser, enrichPathWithNpmGlobalBin, enrichWorkspacesWithGithub, ensureAbleTimeAccessToken, ensureAbleTimeTask, ensureAgentPath, ensureBrightsyLocalConfigFresh, ensureBrightsyOAuthClientId, ensureCloudCoordinator, ensureConnectedBrightsyTeamTokens, ensureGhPreferOrigin, ensureGlobalCoordinatorCwd, ensureManagedAccountDir, ensureRemoteCoordinator, ensureRemoteHostCredentials, ensureReviewGuidelinesFile, ensureReviewRequestFile, ensureReviewSkillFile, ensureSlackCoordinator, ensureSlackDeviceIdentity, ensureWorkspace, entireUsesTrails, estimateMessageChars, estimateOccupancyTokens, estimateThreadChars, examplePrefixedBranch, executeOrderPlan, executionSlice, expandComposerPrompt, extractBrightsyContextSummary, extractGhErrorDetail, extractPendingPlanQuestions, extractPresentedPlan, extractiveSummary, fastForwardMainCheckoutIfSafe, fetchOriginForWorktree, fetchPrHead, finalizeParts, findAgentDoneCustomSoundPath, findConventionSetup, findInvalidCacheControlTtlOrder, findLastBrightsyContextSummary, findLiveThreadForCreate, findLiveThreadForCreateSource, findManagedAccount, findOrphanWorktrees, findProjectProfileKey, findRemoteCoordinator, findSlackCoordinator, findThreadByRef, findThreadForStackLayer, fireSchedule, flattenTurnInput, flipLinearRelationType, foldLegacyRolesIntoNotes, followUpBehavior, forgetRemoteAccountMac, forkChatTab, forkMessageSlice, forkThreadWorktree, formatAccountProfilePlaybookLine, formatArtifactDirective, formatAskUserNotifyMessage, formatBrightsyFetchError, formatClaudeExtraUsageDetail, formatClaudeSubagentReminder, formatClaudeUsageCompact, formatClaudeUsageFetchedAt, formatClaudeUsageOverLimitConfirm, formatClaudeUsageOverLimitWait, formatClaudeUsageReset, formatClaudeUsageResetClock, formatClaudeUsageTooltip, formatCloudTurnReply, formatConnectedOrchestratorReminder, formatCursorGitDirective, formatDetachedJobInvoke, formatDevAccessHint, formatEntireGitDirective, formatFetchError, formatGhLandError, formatGitAuthModeDirective, formatInjectedNoticesForTurn, formatIpcInvokeError, formatIssueToolsDirective, formatIssueToolsReminder, formatLinearDirective, formatLinearReminder, formatLongRunningDirective, formatLongRunningReminder, formatMergePrError, formatMessagesAsTranscript, formatNotifyOrchestratorPrompt, formatOptionalServicesDirective, formatOptionalServicesDirectiveForTurn, formatOptionalServicesReminder, formatOptionalServicesReminderForTurn, formatOrderPlace, formatOrderText, formatPlanQuestionAnswers, formatPlanQuestionsForChat, formatPrGateDirective, formatProcessGuideDirective, formatProjectProfilePlaybookLines, formatRateLimitResetHint, formatRemotePrompt, formatRenameBranchDirective, formatScheduleWhen, formatScheduledPrompt, formatSlackExternalReplyPrompt, formatSlackInboundPrompt, formatSlackRepliesForTurn, formatSlackReplyContinuePrompt, formatSlackSignedReply, formatSlackTurnReply, formatSlackWorkingText, formatTranscriptMarkdown, formatUiReminder, formatViewerContextDirective, formatViewerContextReminder, formatWaterfallHtml, formatWeeklyDays, formatWorkspaceInventory, formatWorkspaceProfileSuffix, formatWorktreeDirective, formatWorktreeReminder, forwardContextUsage, forwardOccupancyTokens, fromInclusiveInputUsage, gatePhrase, getAbleTimeAccessToken, getAbleTimeHost, getAbleTimeOrientation, getAbleTimeTask, getAdapter, getAgentRpcServer, getAgentSetupInfo, getBrightsySession, getCaffeinateHold, getClaudePlanUsage, getCursorGitStatus, getDefaultAgent, getDefaultAutonomy, getDefaultEffort, getDefaultFast, getDefaultModel, getDefaultRunScript, getDiff, getDiffSummary, getEntireGitStatus, getGitHubIssue, getGitHubStatus, getGithubGitAuthMode, getGithubPat, getHomeBoardInputs, getIssueSource, getLinearApiKey, getLinearAuthToken, getLinearIssue, getMcpUiHost, getOrchestrator, getOrderPlan, getPosthogAccessToken, getPr, getPrChecks, getPrCiChecks, getPrDetails, getPrForHeadBranch, getPrMeta, getPrStack, getRepoSetupInfo, getRunMode, getRunScript, getSchedule, getSlackWorkspace, getWorktreeDirtyStat, gh, ghHeadRef, ghPrCreateAssigneeArgs, ghRepoSelectArgs, git, gitBranchPrefixSetting, githubAgentGitEnv, githubHttpsInsteadOfEntries, githubProjectsOnIssue, githubRelationEditFlag, globalAgentCwd, groupHomeBoardWorktrees, handleRemoteInbound, handleSlackInbound, harnessEnvKey, hasBakedAbleTimeOAuth, hasBakedLinearOAuth, hasBakedSlackOAuth, hasConductorHook, hasConventionSetup, hasCursorWorktreeSetup, hasEnabledSchedules, hasRepoHook, hasWorkspaceHook, hasWorkspaceSettingsToml, headlessHostBlockedReason, healOrchestrationSoccerTitles, historyMaxCount, historyMaxDays, holdPhrase, hostKeepsMacAwake, hottestClaudeWindow, httpFetch, importAgentDoneCustomSound, importConductorWorkspace, importConductorWorkspaceAsync, initPrStack, initStackFromThread, initializeGitRepository, inspectGitWorktree, installAgent, installNpmGlobalPackage, installOptionalServiceCli, interruptSlackCoordinatorForInbound, invalidateThreadListCache, invalidateThreadRecord, isAbleTimeConnected, isAbleTimeOAuthCancelled, isAbleTimeRejectedCredential, isAcpHarnessId, isAgentDoneSound, isAskUserToolName, isBrightsyConnected, isBrightsyNdjsonLine, isChatTextScale, isClaudeAiConnectorMcp, isCloudCoordinatorThread, isCompactToolName, isConductorBundledCli, isContextCompactDone, isContextCompactInProgress, isCowboyThread, isCursorApiKeyConfigured, isCursorAutoModel, isCursorSdkInstalled, isDefaultishSourceRef, isDesktopHostAlive, isDirty, isGhPrBodyTooLongError, isGhRateLimitError, isGlobalRepoPath, isGlobalThread, isHistoryRetentionStub, isHomeBoardThread, isImageFilePath, isInPrStack, isInboundForThisDesktop, isIncompleteTaskState, isInjectedNoticeText, isInjectedOrchMcpName, isInternalAgentStatusText, isIssueSourceConnected, isLinearConnected, isLinearNoneToken, isLinearOAuthCancelled, isManagedAccountKind, isOptionalServiceId, isOrchestratorCapableAgent, isOrchestratorThread, isOtherWorktreeListenerCwd, isPidAlive, isPlaceholderBranch, isPlanQuestionAnswersMessage, isPollWrapperToolName, isPosthogConnected, isPosthogOAuthCancelled, isPrNotMergeableError, isPresentPlanToolName, isPrimaryCheckoutThread, isRemoteAccountLoginCancelled, isRemoteStopCommand, isRemovedWorkspace, isSelfWrittenRecord, isSessionQuotaLimit, isSetupLastError, isShellToolName, isSideboardScratchPath, isSkillToolName, isSlackCoordinatorThread, isSlackExternalReplyPrompt, isSlackOAuthCancelled, isStaleLastErrorDuringTurn, isSubagentToolName, isSystemStatusThinking, isTerminalTaskState, isThisProcessDesktopHost, isThisWorktreeListenerCwd, isThreadCaffeinated, isThreadRecordFile, isUsageOnLimit, isWorkspaceScratchPath, issueAttachmentForAbleTimeTask, issueMatchesAssignee, issueSourceLabel, issueTicketFromThread, joinSteerPrompt, killDetachedRunTree, killListenersOnPorts, killStaleWorktreeListeners, killableListenerPids, lanRelayUrls, lastAgentReply, lastAssistantMessageText, lastRequestOccupancy, lastTopLevelToolIsAskUser, latestPendingPlanQuestions, linearAuthorizationHeader, linearCycleIsActive, linearGraphql, linearOAuthAuthorizeUrl, linearOAuthCredentials, linearRelationCreateInput, linearTicketIdFromThread, linkSharedDirectories, linkifyChatUrls, listAbleTimeAssignedIssues, listAbleTimeProjects, listAbleTimeTasks, listAgentSetupInfo, listBoardPins, listBranchCommits, listBranches, listBrightsyAccounts, listBrightsyChatTargets, listCodexModels, listConductorWorkspaces, listConnectedBrightsyTeams, listCursorModels, listGitHubIssueCommentsSince, listGitHubIssues, listGitHubProjects, listGlobalThreads, listIssues, listLinearAssignedIssues, listLinearCommentsSince, listLinearIssues, listLinearIssuesDirect, listLinearIssuesFiltered, listLinearProjects, listLinearTeamCycles, listLinearTeams, listModelsForAgent, listOpencodeModels, listOrderBoard, listOrderEdges, listOrderMarks, listOrderPlans, listOrderRows, listPrs, listRemoteAccountMacs, listRunScripts, listSchedules, listSlackOutboundWatches, listSlackWorkspaces, listThreads, listWaterfall, listWorkspaces, listWorktreeFiles, listWorktrees, listenerCwd, liveActivitySummary, livePartsShowAgentReply, loadAppSettings, loadBrightsyConfig, loadConductorSettings, loadHomeBoardInputs, loadRepoSettings, loadWorkspaceSettings, loadWorktreeRunPorts, localhostPreviewUrl, locksDir, loginAgent, loginCursorGit, loginEntireGit, loginEnvPrefix, loginManagedAccount, looksLikeComposerSkillExpansion, looksLikeConversationSummary, looksLikeIncompleteSkillDump, looksLikeSkillBody, lookupSoccerTeam, managedAccountConfigDir, mapAbleTimeTask, markPrReady, materializeSystemCaBundle, maxConcurrentAgents, maxOrchThreads, maybeCompactContext, mcpAllowTools, mcpAllowToolsFromNames, mcpAuthWarnings, mcpServerIdForPermission, mcpServerPermissionUpdate, mcpStatusThinkingFromClaudeInit, mcpUiContentSecurityPolicy, mentionsPrGoal, mergeAgentGitAuthEnv, mergePr, mergePrStack, mergeSetupOutput, mergeSideboardIntoMcpServersJson, mergeSlackClientIds, mergeTurnAttachments, mergeUsage, messagePartParentId, messagesForCompactArchive, messagesSinceLastBrightsyContextSummary, messagesWithRewrittenUserPrompt, mirrorHostConfig, moveQueuedItemToFront, needsCoordinatorAction, nextManagedAccount, nextPastedTextName, nonInteractiveGitProcessEnv, normalizeAbleTimeCredential, normalizeAbleTimeHost, normalizeBrightsyEndpoint, normalizeCodeSelection, normalizeLinearRelationType, normalizeManagedAccounts, normalizeParseResult, normalizeRemoteRelayUrl, normalizeReviewLabel, normalizeServiceOrigin, normalizeThread, normalizeTurnInput, normalizeWeekdays, normalizeWeeklyTime, normalizeWorkspaceTags, normalizeWorktreePath, notifyOrchestrator, npmGlobalNodeModules, npmGlobalPrefix, openInSystemTerminal, openPrStackLayers, openStackLayer, opencodeAdapter, optionalCliPresence, optionalServiceConnected, optionalServiceSpec, orchestrationQuotaFallbackAgent, orchestrationQuotaOnLimit, orchestrationTitleNeedsSoccerNickname, orchestratorSessionPoisonedByBuiltins, orderEdgeTouches, orderPath, orderSnapshotFromThread, orderTargetMatches, originCli, originFetchBranch, originGhRepoEnv, outboundReplyFromTurn, packagedDetachedJobPath, parseAbleTimeOAuthCallbackUrl, parseChatLink, parseClaudeUsagePayload, parseCursorRunnerLine, parseDevPreview, parseDurationMs, parseEntireAuthContexts, parseForceStopMessage, parseGhStackViewJson, parseGitHubIssueNumber, parseGithubSlugFromRemoteUrl, parseMcpList, parseOrderGate, parseOrderHold, parseOrderKind, parseOriginAuthStatus, parsePlanQuestionsInput, parsePrDetailsView, parseSessionQuotaResetAt, parseSlackRelayClientMessage, parseSlackRelayServerMessage, parseWeeklyDays, partsToAssistantText, pastedTextStats, patchReadAloudSettings, pendingInjectedNotices, pendingSlackExternalReplies, permissionMode, persistPendingFileAttachments, persistVaultKeyInKeychain, planFileAbs, planHistoryAgePurge, planHistoryRetention, planModeTurnInstruction, planQuestionsSignature, pnpmFilterPackage, pollSlackOutboundWatches, posixShellSingleQuote, posthogOAuthAuthorizeUrl, posthogOAuthClientId, posthogOAuthScopeParam, preferredCursorCostCents, prepareTerminalCommand, prependQueuedItem, previewLand, previousCostBaseline, primaryCheckoutFromLinkedWorktree, promptMentionsBrightsy, pushBranch, readAgentDoneCustomSound, readAgentRuntimeMetadata, readExistingReviewRequestFile, readKeychainVaultKey, readPlanFile, readRunLog, readSetupLog, readSkillBody, readThread, readViewerContext, readWorktreeFile, readWorktreeFileForUpload, readWorktreeInclude, recordScheduleRun, recordSlackOutboundWatch, refreshBrightsyAccessToken, refreshGitHubAuth, refreshWorktreeIssueBlocked, registerBrightsyOAuthClient, registerPackagedUserMcpClients, releaseCaffeinateHoldForThread, releaseDesktopHost, remoteAccountHttpOrigin, remoteCoordinatorSourceRef, remoteRelayUrl, removeBoardPin, removeManagedAccount, removeQueuedItem, removeWorkspace, removeWorktree, renameManagedAccount, repoSlug, requestOccupancy, requestReview, requireAgent, reservePort, reservePortRange, resetGhStackDetectCache, resetGithubAgentTokenMemo, resolveAbleTimeOAuthHost, resolveAccountForThread, resolveAccountProfile, resolveAccountProfileFromSettings, resolveAcpHarnessCommand, resolveAgentExecutable, resolveAgentGitAuthEnv, resolveClaudeExecutable, resolveCodexGitWritableRoots, resolveCommandBinarySync, resolveConductorCursorAgentId, resolveCreateFirstPrompt, resolveCursorModelId, resolveCursorSdkRoot, resolveDefaultBranch, resolveDetachedJobScript, resolveDiffBaseRef, resolveEffectiveIssueSource, resolveFilesToCopy, resolveGhAuthToken, resolveGitBranchPrefix, resolveGitDirsForLockRecovery, resolveGitHubIssueRepo, resolveGithubAgentToken, resolveGithubRepoSlug, resolveLinearCycle, resolveLinearLabel, resolveLinearProject, resolveLinearState, resolveLinearTeam, resolveLoginCommand, resolveNewOrchestratorOptions, resolveNewThreadOptions, resolveOrchChildFollowUp, resolveOrchestrationGates, resolveOrchestratorDefaults, resolveOrderRows, resolveOriginRemote, resolvePlanMarkdown, resolvePrSelector, resolvePrSelectors, resolveProjectRemoteTag, resolveProjectReviewLabel, resolveQuotaFallbackAgent, resolveRepoRoot, resolveReviewGuidelines, resolveScheduleThreadId, resolveSendFollowUp, resolveSidebarGitPrompt, resolveSlackListenMode, resolveThreadDefaults, resolveThreadEffort, resolveUsageOnLimit, resolveVaultKey, resolveViewerProfile, resolveViewerProfileForRepo, resolveWorktreeStartPoint, reviewLabelForRepo, rewriteAbleTimeError, rewriteLinearError, run, runArchiveScript, runCloudConnect, runConventionSetup, runCursorWorktreeSetup, runRemoteHost, runScriptPreview, runSetupScript, runSlackListen, runSlackRelayClient, runWorkspaceSetup, sameTurnAttachments, sameWorkspacePath, sameWorktreePath, sanitizeGitBranchPrefix, sanitizeMcpServerName, sanitizeReadAloudVoiceURI, satisfyOrderDependency, saveAbleTimeConnection, saveAppSettings, saveLinearOAuth, savePosthogOAuth, saveRemotePhoneToken, saveSlackOrgCredentials, saveWorktreeRunPorts, scheduleNeedsCaffeinate, schedulesPath, scrubGithubTokensFromChildEnv, searchAbleTimeTasks, secureFileUnlocksWith, selectManagedAccount, setCaffeinateHold, setHttpFetchImpl, setOrderDependency, setOrderPlan, setStatus, setVaultMasterKey, settingsSourceLabel, setupCursorGit, shiftQueuedItem, shouldAttachPastedText, shouldCompactContext, shouldInjectBrightsyMcp, shouldNotifyOrchestrator, shouldRefreshReviewRequestTemplate, shouldRegisterPresentPlan, shouldRemoveWorktreeOnTeardown, shouldResetSessionForOccupancy, shouldRunHistoryCleanup, shouldRunWorktreeCleanup, shouldStampSetupLastError, showCostEnabled, showPlanDocuments, showPlanMessage, sidebarParentSelectId, sidebarQuestionThreadId, sidebarRowAgentBlock, sideboardHomeDir, sideboardMcpProfile, sideboardReposDir, sideboardWorkspacesDir, skillCommandFromBody, skillCommandFromInput, skillNameFromFrontmatter, slackAppLevelToken, slackArchiveUrl, slackCoordinatorSourceRef, slackListenEnabled, slackOAuthCredentials, slackOAuthResultUrl, slackRelayUrl, sliceRunLogOutput, slimMessagesForUiList, slimThreadForUiList, slugify, spawnAgentTurn, splitForCompaction, splitTurnInputForSystemPrompt, stackAgentDefaultsFrom, stackIdFrom, stackMergeReadiness, stageAbsolutePathsAsAttachments, stageBuffersAsAttachments, startAbleTimeOAuth, startAgentRpcServer, startDevServer, startHeadlessHost, startLinearOAuth, startMcpServer, startOrchestration, startPosthogOAuth, startRelayServer, startRemoteAccountLogin, startSlackOAuth, stashMcpAppModelContext, statWorktreePath, stopAgentRpcServer, stripBrightsyNdjsonNoise, stripNestedElectronEnv, submitPrStack, subtractUsage, suggestSlug, sumUsageList, summarizeConversation, switchBrightsyAccount, switchWorktreeBranch, syncWorkspacesFromThreads, systemConfigDir, takePendingTurnAttachments, takenTeamSlugsForChatTab, takenTeamSlugsForOrchestration, taskMessageText, taskUrl, thisProcessShouldDrainAgentQueues, threadDisplayLabel, threadFilePath, threadHasCompactedContext, threadLivePath, threadLockPath, threadMayPresentPlan, threadRequestsBrightsyMcp, threadsDir, threadsSharingWorktree, ticketSlugForBranch, toAbleTimeIssueInfo, toGitHubIssueInfo, toPublicAppSettings, toolActivityLine, toolDescription, toolDetail, toolFilePath, totalTokens, trailingUnansweredUserText, trustSystemCertificates, tryReservePort, tryReservePorts, turnCostUsdFromCursorUsage, turnCostUsdFromProviderSnapshot, updateAbleTimeTask, updateAdvancedSettings, updateAgentExecutable, updateAppEnvironment, updateBrightsySettings, updateClaudeSettings, updateCodexSettings, updateDefaultsSettings, updateGitHubIssue, updateIntegrationsSettings, updateLinearIssue, updateOpencodeSettings, updateProjectProfileSettings, updateSchedule, updateThread, usageOnLimit, userClaudeMcpConfigPath, userCursorMcpConfigPath, userMcpNamesToDisable, validateLinearApiKey, verifyAbleTimeConnection, verifyOptionalService, visibleAgentBlock, visibleAssistantText, visibleToolRowDetail, waitForPidExit, wakeOrchestratorOnGithubEdgesEnabled, warmGithubAgentAuth, weeklyCronExpr, whichOnPath, withAddedAccount, withEventParentId, withEventsParentId, withExportedPath, withMaxOldSpaceSize, withRemovedAccount, withSelectedAccount, withThreadLock, withTurnScopedCost, workspaceAgentChatSummaries, workspaceSettingsSourceLabel, workspaceTagTargetRef, workspaceTagsFromGroup, worktreeAgentBlock, worktreeBoardStatus, worktreeCleanupSettings, worktreeDisplayLabel, worktreeDisplayLabelForGroup, worktreeNameFromPath, worktreeRunPortsPath, worktreeSlugForTicket, worktreesRoot, wrapReviewSkillMarkdown, writeInjectedMcpConfig, writePlanFile, writeThread, writeViewerContext, writeWorktreeFile };