@sideboard-ai/core 0.1.349 → 0.1.351
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.
- package/dist/{abletime-CGFJZB7L.js → abletime-TX7BTTR2.js} +5 -5
- package/dist/{abletime-3HRWLQZJ.js → abletime-URSRZW7P.js} +4 -4
- package/dist/{abletime-oauth-QNJQLHR4.js → abletime-oauth-QS3WPSCC.js} +3 -3
- package/dist/{abletime-oauth-JQDSH5OL.js → abletime-oauth-SL3NMNEC.js} +4 -4
- package/dist/{abletime-rest-TANL5TMY.js → abletime-rest-GGQLUO55.js} +3 -3
- package/dist/{abletime-rest-UQA2CRZN.js → abletime-rest-JZU6JJCV.js} +4 -4
- package/dist/agents/acp-runner.cjs +491 -0
- package/dist/agents/acp-runner.d.cts +46 -0
- package/dist/agents/acp-runner.d.ts +46 -0
- package/dist/agents/acp-runner.js +323 -0
- package/dist/{agents-DMPBFF3F.js → agents-D5CL4CR4.js} +37 -7
- package/dist/{agents-AZ2PV6XP.js → agents-INTH7J3F.js} +42 -11
- package/dist/{app-settings-SNOPJ7P5.js → app-settings-IA7ZZKWQ.js} +2 -2
- package/dist/{app-settings-PPIMYJKS.js → app-settings-XILTSD6L.js} +1 -1
- package/dist/{chunk-RUIHNWRV.js → chunk-37ZBEBP6.js} +6 -6
- package/dist/{chunk-7B2OUQON.js → chunk-5TCMXEYL.js} +48 -3
- package/dist/{chunk-FDYMVJFU.js → chunk-5WF54R3B.js} +5 -5
- package/dist/{chunk-Q4I6KDOL.js → chunk-7WPQAVS5.js} +60 -39
- package/dist/{chunk-PVCECFJK.js → chunk-7ZD4OK6G.js} +1 -1
- package/dist/{chunk-ZXI5DR5S.js → chunk-AAKQU4UZ.js} +1624 -1487
- package/dist/{chunk-MVFFLU5V.js → chunk-AEEOYLVK.js} +12 -5
- package/dist/{chunk-RYPD7XWV.js → chunk-B4EFQTMP.js} +5 -5
- package/dist/{chunk-IRFBD6GU.js → chunk-BDWVBEKN.js} +71 -47
- package/dist/chunk-BF6INES4.js +144 -0
- package/dist/{chunk-IVRWRYTH.js → chunk-BZK62VPT.js} +2 -2
- package/dist/{chunk-ROXM6QZV.js → chunk-C3E2DGDF.js} +12 -5
- package/dist/{chunk-AJMERXZP.js → chunk-CCWQ65VD.js} +2 -2
- package/dist/{chunk-62ALWH3T.js → chunk-DL4OHDBV.js} +3 -3
- package/dist/{chunk-4NXGVJA6.js → chunk-F4RFFE2H.js} +48 -3
- package/dist/{chunk-E77SRVVO.js → chunk-FCKTBE26.js} +1 -1
- package/dist/{chunk-3DBL2C45.js → chunk-FQ3JYUKI.js} +2 -2
- package/dist/{chunk-MHSBF3SO.js → chunk-HISSQICH.js} +4 -4
- package/dist/{chunk-CEQ4Z32M.js → chunk-J4EA5SHF.js} +3 -3
- package/dist/{chunk-OHUAAX3O.js → chunk-M45WGODR.js} +2 -2
- package/dist/{chunk-UJMCTGV7.js → chunk-PXSWVZIL.js} +2 -2
- package/dist/{chunk-6RIPZ73M.js → chunk-SMSD6U3N.js} +3 -1
- package/dist/{chunk-CATTIFSP.js → chunk-SZY23KGS.js} +4 -4
- package/dist/{chunk-RPHH4FNK.js → chunk-TCEUNSLX.js} +3 -1
- package/dist/chunk-TRMPDDVL.js +232 -0
- package/dist/{chunk-6WMNIX2U.js → chunk-UFUAIVNV.js} +9 -5
- package/dist/{chunk-WHMLMCPU.js → chunk-UXAKH4AW.js} +1925 -1722
- package/dist/{chunk-QHXZKHUL.js → chunk-VHQ6OG3U.js} +2 -2
- package/dist/{chunk-WWU4SYZR.js → chunk-VL6F2KRE.js} +5 -1
- package/dist/{chunk-5FUAOU3G.js → chunk-WB3G2LQO.js} +1 -1
- package/dist/{chunk-JCYGQKER.js → chunk-WFX4ZVSZ.js} +1 -1
- package/dist/{chunk-F7WP2U5I.js → chunk-WJURGCBR.js} +1 -1
- package/dist/chunk-YE7Z5WH3.js +142 -0
- package/dist/{conductor-65VPUPOW.js → conductor-FWYWIHEW.js} +7 -6
- package/dist/{conductor-NHC6X74J.js → conductor-W2X7QUKZ.js} +6 -5
- package/dist/connected-teams-2YDE2EZ2.js +1 -1
- package/dist/{coordinator-prompt-R2PURZL3.js → coordinator-prompt-J57Q4Z4W.js} +4 -4
- package/dist/{coordinator-prompt-5GZWIVSY.js → coordinator-prompt-KIHNLENN.js} +5 -5
- package/dist/{global-workspace-UEECLWSX.js → global-workspace-CGB5CY4U.js} +4 -4
- package/dist/{global-workspace-64KC7PST.js → global-workspace-WXDWFZAN.js} +5 -5
- package/dist/index.cjs +1750 -950
- package/dist/index.d.cts +151 -895
- package/dist/index.d.ts +151 -895
- package/dist/index.js +582 -227
- package/dist/{linear-PKYJH4WK.js → linear-E3BX5PX5.js} +2 -2
- package/dist/{linear-MIJO6DCV.js → linear-WG23LBCX.js} +3 -3
- package/dist/{linear-list-JPQ27RXG.js → linear-list-OINZWVV5.js} +1 -1
- package/dist/{linear-list-N57PR6JM.js → linear-list-VU47BNUV.js} +1 -1
- package/dist/mcp/run-stdio.cjs +1247 -741
- package/dist/mcp/run-stdio.js +181 -44
- package/dist/{optional-cli-4GTEDEYJ.js → optional-cli-K6HX2X5O.js} +4 -3
- package/dist/{optional-cli-RPJIQBDX.js → optional-cli-SA3EQYML.js} +6 -5
- package/dist/{orchestrator-I5G5A5BV.js → orchestrator-DMEE7CEW.js} +11 -10
- package/dist/{orchestrator-Y5PYSMR6.js → orchestrator-MUD4FY7Q.js} +17 -15
- package/dist/thread-CJRchYLj.d.cts +856 -0
- package/dist/thread-CJRchYLj.d.ts +856 -0
- package/dist/{thread-store-HZ4U4OXB.js → thread-store-4YTOV2HL.js} +3 -3
- package/dist/{thread-store-QKNU5CHM.js → thread-store-LME2ICZP.js} +2 -2
- package/dist/{workspaces-6TIM2TM2.js → workspaces-7DPHDXNY.js} +4 -4
- package/dist/{workspaces-I2EHNTFE.js → workspaces-ZCTF4ECL.js} +5 -5
- package/dist/{worktree-7JFYDNUX.js → worktree-4ATMCYIE.js} +3 -3
- package/dist/{worktree-M2GJGK2P.js → worktree-DA6SKIU5.js} +4 -4
- package/package.json +3 -3
- /package/dist/{chunk-XOEKCE6L.js → chunk-OHXNGBC4.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,863 +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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
-
type ChatFollowUpKind = 'ci' | 'at';
|
|
60
|
-
/** `pending` still running, `done` every check finished, `none` no PR or no rows. */
|
|
61
|
-
/** `unknown` is a failed checks read. It must not count as pending or finished. */
|
|
62
|
-
type CiPhase = 'pending' | 'done' | 'none' | 'unknown';
|
|
63
|
-
type ChatFollowUp = {
|
|
64
|
-
id: string;
|
|
65
|
-
kind: ChatFollowUpKind;
|
|
66
|
-
prompt: string;
|
|
67
|
-
/** When an `at` follow-up should send. */
|
|
68
|
-
at?: string;
|
|
69
|
-
/** Drop a still-pending `ci` follow-up after this without sending. */
|
|
70
|
-
deadline: string;
|
|
71
|
-
createdAt: string;
|
|
72
|
-
/** CI state when this follow-up was registered. */
|
|
73
|
-
ciBaseline?: CiPhase;
|
|
74
|
-
/** True after a later poll saw checks still running. */
|
|
75
|
-
ciSawPending?: boolean;
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Agent thinking / reasoning effort.
|
|
80
|
-
* Matches Claude Code `--effort` and Conductor's 5-rung effort chip:
|
|
81
|
-
* low → medium → high → xhigh → max.
|
|
82
|
-
*/
|
|
83
|
-
type ThinkingEffort = 'low' | 'medium' | 'high' | 'xhigh' | 'max';
|
|
84
|
-
declare const THINKING_EFFORTS: ThinkingEffort[];
|
|
85
|
-
/** Conductor settings sometimes use `normal` for the mid Claude effort band. */
|
|
86
|
-
declare function normalizeThinkingEffort(value: unknown): ThinkingEffort | null;
|
|
87
|
-
declare function isThinkingEffort(value: unknown): value is ThinkingEffort;
|
|
88
|
-
/** Cycle Low → … → Max → Low (Conductor ⌥T-style). */
|
|
89
|
-
declare function nextThinkingEffort(current: ThinkingEffort): ThinkingEffort;
|
|
90
|
-
/** How many of 5 Conductor-style signal bars are filled. */
|
|
91
|
-
declare function thinkingEffortBars(effort: ThinkingEffort): number;
|
|
92
|
-
declare function thinkingEffortLabel(effort: ThinkingEffort): string;
|
|
93
|
-
|
|
94
|
-
type AgentKind = 'claude' | 'codex' | 'opencode' | 'brightsy' | 'cursor';
|
|
95
|
-
type SourceType = 'branch' | 'pr' | 'ticket' | 'orchestration' | 'adopt';
|
|
96
|
-
type ThreadStatus = 'idle' | 'queued' | 'running' | 'stopped' | 'error' | 'broken' | 'archived';
|
|
97
|
-
type Autonomy = 'default' | 'full';
|
|
98
|
-
/** Structured agent turn content (thinking / tools / text). */
|
|
99
|
-
type MessagePart = {
|
|
100
|
-
type: 'text';
|
|
101
|
-
text: string;
|
|
102
|
-
parentId?: string;
|
|
103
|
-
startedAt?: number;
|
|
104
|
-
updatedAt?: number;
|
|
105
|
-
} | {
|
|
106
|
-
type: 'thinking';
|
|
107
|
-
text: string;
|
|
108
|
-
parentId?: string;
|
|
109
|
-
startedAt?: number;
|
|
110
|
-
updatedAt?: number;
|
|
111
|
-
} | {
|
|
112
|
-
type: 'tool';
|
|
113
|
-
id: string;
|
|
114
|
-
name: string;
|
|
115
|
-
input?: Record<string, unknown>;
|
|
116
|
-
/** Short human label (e.g. "Fetch latest from origin"). */
|
|
117
|
-
description?: string;
|
|
118
|
-
/** Command / path shown in the monospace pill. */
|
|
119
|
-
detail?: string;
|
|
120
|
-
result?: string;
|
|
121
|
-
status: 'running' | 'done' | 'error';
|
|
122
|
-
filePath?: string;
|
|
123
|
-
additions?: number;
|
|
124
|
-
deletions?: number;
|
|
125
|
-
/**
|
|
126
|
-
* When set, this part belongs inside a parent tool (Cursor Task / Agent
|
|
127
|
-
* subagent stream). Omitted on top-level parts.
|
|
128
|
-
*/
|
|
129
|
-
parentId?: string;
|
|
130
|
-
startedAt?: number;
|
|
131
|
-
updatedAt?: number;
|
|
132
|
-
};
|
|
133
|
-
/** Token usage for a single agent turn, aggregated across the turn's API calls. */
|
|
134
|
-
interface TokenUsage {
|
|
135
|
-
/** Uncached prompt tokens. Adapters must subtract provider cache hits first. */
|
|
136
|
-
inputTokens: number;
|
|
137
|
-
outputTokens: number;
|
|
138
|
-
/** Cache hits, not included in `inputTokens` (Claude-shaped). */
|
|
139
|
-
cacheReadTokens?: number;
|
|
140
|
-
cacheWriteTokens?: number;
|
|
141
|
-
/** Last-request occupancy (input + cache); billed totals sum every tool round. */
|
|
142
|
-
lastRequestTokens?: number;
|
|
143
|
-
/** USD for this turn (not Claude session total). */
|
|
144
|
-
costUsd?: number;
|
|
145
|
-
/** Claude `total_cost_usd` session total; not additive. */
|
|
146
|
-
sessionCostUsd?: number;
|
|
147
|
-
}
|
|
148
|
-
interface ThreadMessage {
|
|
149
|
-
role: 'user' | 'agent' | 'summary';
|
|
150
|
-
text: string;
|
|
151
|
-
/** Structured parts for expandable tool/thinking UI. Optional for older threads. */
|
|
152
|
-
parts?: MessagePart[];
|
|
153
|
-
/** Agent turn duration in milliseconds (from turn start to message persist). */
|
|
154
|
-
durationMs?: number;
|
|
155
|
-
/** Token usage for this turn, when the agent CLI reports it. */
|
|
156
|
-
usage?: TokenUsage;
|
|
157
|
-
/**
|
|
158
|
-
* Snapshot of composer attachments sent with this user turn (chips stay visible
|
|
159
|
-
* in chat history after pending thread.attachments are cleared).
|
|
160
|
-
*/
|
|
161
|
-
attachments?: ThreadAttachment[];
|
|
162
|
-
/**
|
|
163
|
-
* Host-queued keep-alive (job still running / crash recover). Shown as a
|
|
164
|
-
* system note — not a user bubble.
|
|
165
|
-
*/
|
|
166
|
-
origin?: 'continue';
|
|
167
|
-
ts: string;
|
|
168
|
-
}
|
|
169
|
-
/** Composer / turn attachment (e.g. forked chat transcript). */
|
|
170
|
-
interface ThreadAttachment {
|
|
171
|
-
id: string;
|
|
172
|
-
name: string;
|
|
173
|
-
kind: 'transcript' | 'file' | 'issue' | 'workspace' | 'diff-comment' | 'code-ref';
|
|
174
|
-
content: string;
|
|
175
|
-
/** Worktree-relative path when this attachment is a real file that can be opened in a tab. */
|
|
176
|
-
path?: string;
|
|
177
|
-
/** data: URL thumbnail for image attachments (composer + sent user messages). */
|
|
178
|
-
previewDataUrl?: string;
|
|
179
|
-
}
|
|
180
|
-
/** Persisted chat record (product word: chat). One conversation tab. */
|
|
181
|
-
interface Thread {
|
|
182
|
-
id: string;
|
|
183
|
-
title: string;
|
|
184
|
-
sourceType: SourceType;
|
|
185
|
-
sourceRef: string;
|
|
186
|
-
branchName: string;
|
|
187
|
-
worktreePath: string;
|
|
188
|
-
repoPath: string;
|
|
189
|
-
agent: AgentKind;
|
|
190
|
-
/** Agent model alias (e.g. sonnet, opus). null = Auto / CLI default. */
|
|
191
|
-
model: string | null;
|
|
192
|
-
/**
|
|
193
|
-
* Thinking / reasoning effort (Claude: `--effort`, Cursor: `effort` param).
|
|
194
|
-
* Independent of {@link Thread.fast}.
|
|
195
|
-
*/
|
|
196
|
-
effort: ThinkingEffort;
|
|
197
|
-
/**
|
|
198
|
-
* Prefer a faster model variant when the agent supports it (Cursor: `fast` param).
|
|
199
|
-
* Independent of {@link Thread.effort}.
|
|
200
|
-
*/
|
|
201
|
-
fast: boolean;
|
|
202
|
-
/** Plan-only turns — analyze and plan without editing files (Conductor-style). */
|
|
203
|
-
planMode: boolean;
|
|
204
|
-
/**
|
|
205
|
-
* After a Codex plugin/App MCP kills `codex exec` (AuthRequired / invalid
|
|
206
|
-
* transport), later turns isolate Apps/plugins so the same fatal error
|
|
207
|
-
* cannot loop. Worktree first tries with plugins on.
|
|
208
|
-
*/
|
|
209
|
-
isolateCodexPlugins?: boolean;
|
|
210
|
-
sessionId: string | null;
|
|
211
|
-
/** Pinned Claude/Codex account. `null` = system default. Omitted until the first spawn pins it. */
|
|
212
|
-
accountId?: string | null;
|
|
213
|
-
autonomy: Autonomy;
|
|
214
|
-
/** MCP servers this chat may call without another prompt (`gmail` in `mcp__gmail__search`). */
|
|
215
|
-
approvedMcpServers?: string[];
|
|
216
|
-
sourceIsFork: boolean;
|
|
217
|
-
status: ThreadStatus;
|
|
218
|
-
agentBlock?: AgentBlock | null;
|
|
219
|
-
dismissedQuestionSignature?: string | null;
|
|
220
|
-
queue: string[];
|
|
221
|
-
parentThreadId: string | null;
|
|
222
|
-
/** Port of the default/primary run script (legacy + sidebar). */
|
|
223
|
-
devPort: number | null;
|
|
224
|
-
/** Named run scripts currently tracked for this thread. */
|
|
225
|
-
activeRuns?: ActiveRun[];
|
|
226
|
-
/** MCP/CLI run script or steer for the desktop host to apply in-process. */
|
|
227
|
-
runScriptRequest?: RunScriptRequest | null;
|
|
228
|
-
steerRequest?: SteerRequest | null;
|
|
229
|
-
prUrl: string | null;
|
|
230
|
-
/** Cached PR title for Conductor-style sidebar labels (PR title > branch). */
|
|
231
|
-
prTitle: string | null;
|
|
232
|
-
/**
|
|
233
|
-
* Cached GitHub PR lifecycle from the last `getPrMeta` / merge
|
|
234
|
-
* (`OPEN` | `MERGED` | `CLOSED`, etc.). Used for purple “done” sidebar
|
|
235
|
-
* styling and Conductor-style auto-archive-on-merge.
|
|
236
|
-
*/
|
|
237
|
-
prState: string | null;
|
|
238
|
-
/**
|
|
239
|
-
* Cached GitHub draft flag from the last `getPrMeta`. Open + draft → Home
|
|
240
|
-
* Draft column; open + not draft → Review. Omitted/false when unknown.
|
|
241
|
-
*/
|
|
242
|
-
prIsDraft?: boolean;
|
|
243
|
-
/**
|
|
244
|
-
* Cached GitHub PR author login from create-from-PR / `getPrMeta`.
|
|
245
|
-
* Compared to the `gh` viewer login for Board/sidebar Mine vs Reviewing.
|
|
246
|
-
*/
|
|
247
|
-
prAuthorLogin?: string | null;
|
|
248
|
-
/**
|
|
249
|
-
* Cached human requested-reviewer logins (bots and team slugs omitted).
|
|
250
|
-
* Used when the author is unknown so a review-requested PR still counts
|
|
251
|
-
* as Reviewing.
|
|
252
|
-
*/
|
|
253
|
-
prReviewerLogins?: string[];
|
|
254
|
-
/** Cached GitHub reviewDecision (APPROVED, CHANGES_REQUESTED, or REVIEW_REQUIRED). */
|
|
255
|
-
prReviewDecision?: string | null;
|
|
256
|
-
/** Cached GitHub `mergeable` (`MERGEABLE` / `CONFLICTING` / `UNKNOWN`). */
|
|
257
|
-
prMergeable?: string | null;
|
|
258
|
-
/** Cached GitHub `mergeStateStatus` (`CLEAN` / `DIRTY` / `BLOCKED` / `UNSTABLE` / …). */
|
|
259
|
-
prMergeStateStatus?: string | null;
|
|
260
|
-
/** Cached GitHub merge-queue flag from the last `getPrMeta`. */
|
|
261
|
-
prIsInMergeQueue?: boolean;
|
|
262
|
-
/** Cached GitHub label names (workflow tags like `eng-review`) for sidebar and board badges. */
|
|
263
|
-
prLabels?: string[];
|
|
264
|
-
/** True when `gh pr checks` reported a failing CI run. */
|
|
265
|
-
prChecksFailed?: boolean;
|
|
266
|
-
/** This checkout opts in to CI / review-request wakes. Off until set. */
|
|
267
|
-
wakeOnGithubEdges?: boolean;
|
|
268
|
-
/** CI or time follow-ups on this chat. A running turn is not interrupted. Cap 10. */
|
|
269
|
-
followUps?: ChatFollowUp[];
|
|
270
|
-
/** Source-ticket blockers. Empty if none; absent until looked up. Not an agent block. */
|
|
271
|
-
issueBlockedBy?: string[];
|
|
272
|
-
/**
|
|
273
|
-
* When true, skip auto-archive if the PR is already MERGED (set on restore
|
|
274
|
-
* so unarchiving a merged workspace does not immediately re-archive).
|
|
275
|
-
* Cleared when `prState` becomes a non-merged open state again.
|
|
276
|
-
*/
|
|
277
|
-
skipAutoArchiveOnMerge?: boolean;
|
|
278
|
-
/**
|
|
279
|
-
* Work in the registered project folder on the default branch (no `thread/*`
|
|
280
|
-
* worktree). Land is commit+push to that branch, not a PR. Archive/purge
|
|
281
|
-
* must not delete the project folder.
|
|
282
|
-
*/
|
|
283
|
-
cowboy?: boolean;
|
|
284
|
-
/**
|
|
285
|
-
* Stable id for a GitHub PR stack this thread belongs to (shared across layer worktrees).
|
|
286
|
-
* Null when not part of a stack.
|
|
287
|
-
*/
|
|
288
|
-
stackId: string | null;
|
|
289
|
-
/** 1-based layer position in the stack (bottom = 1), when {@link stackId} is set. */
|
|
290
|
-
stackLayer: number | null;
|
|
291
|
-
/** When true, `title` is a manual override and is not overwritten by branch/PR sync. */
|
|
292
|
-
userSetTitle: boolean;
|
|
293
|
-
/** Short labels shared by every chat on this workspace. */
|
|
294
|
-
tags?: string[];
|
|
295
|
-
createdAt: string;
|
|
296
|
-
updatedAt: string;
|
|
297
|
-
/** When this chat was archived. History age uses this, not later row updates. */
|
|
298
|
-
archivedAt?: string;
|
|
299
|
-
ephemeralAutomationId?: string;
|
|
300
|
-
messages: ThreadMessage[];
|
|
301
|
-
/**
|
|
302
|
-
* Prose-only turns dropped by auto-compact (user text + agent answers).
|
|
303
|
-
* Chat search / “show earlier” read this. Seed, occupancy, and session
|
|
304
|
-
* resume must keep using {@link messages} only.
|
|
305
|
-
*/
|
|
306
|
-
compactedMessages?: ThreadMessage[];
|
|
307
|
-
/** Pending composer attachments (forked transcripts, etc.). */
|
|
308
|
-
attachments: ThreadAttachment[];
|
|
309
|
-
/**
|
|
310
|
-
* Composer attachments consumed on send, waiting for the next user turn.
|
|
311
|
-
* Keeps the chip tray empty after submit while `runTurn` still has the files.
|
|
312
|
-
*/
|
|
313
|
-
pendingTurnAttachments?: ThreadAttachment[];
|
|
314
|
-
/**
|
|
315
|
-
* Files parked with each queued prompt (same length as `queue`).
|
|
316
|
-
* Remove / reorder / Send now must move these with the text so a later
|
|
317
|
-
* turn does not inherit images from a discarded follow-up.
|
|
318
|
-
*/
|
|
319
|
-
queueAttachments?: ThreadAttachment[][];
|
|
320
|
-
lastError?: string | null;
|
|
321
|
-
/** Live agent pid, and its `ps` lstart so Stop skips a recycled pid. */
|
|
322
|
-
agentPid?: number | null;
|
|
323
|
-
agentPidStartedAt?: string | null;
|
|
324
|
-
/**
|
|
325
|
-
* When set, host auto-retries this chat after a provider session/usage
|
|
326
|
-
* quota reset (ISO timestamp).
|
|
327
|
-
*/
|
|
328
|
-
quotaResumeAt?: string | null;
|
|
329
|
-
/**
|
|
330
|
-
* Chat this one was auto-continued from after a session quota limit
|
|
331
|
-
* (prevents infinite agent-switch cascades).
|
|
332
|
-
*/
|
|
333
|
-
quotaContinuedFromId?: string | null;
|
|
334
|
-
mcpAppModelContext?: string | null;
|
|
335
|
-
}
|
|
336
|
-
interface CreateChatTabInput {
|
|
337
|
-
/** Existing thread in the worktree to clone workspace metadata from. */
|
|
338
|
-
fromThreadId: string;
|
|
339
|
-
agent?: AgentKind;
|
|
340
|
-
model?: string | null;
|
|
341
|
-
autonomy?: Autonomy;
|
|
342
|
-
/** Thinking effort; omit to inherit from source thread. */
|
|
343
|
-
effort?: ThinkingEffort;
|
|
344
|
-
/** Prefer faster model variant; omit to inherit from source thread. */
|
|
345
|
-
fast?: boolean;
|
|
346
|
-
title?: string;
|
|
347
|
-
attachments?: ThreadAttachment[];
|
|
348
|
-
/** Pin a managed Claude/Codex account (`null` = system default). */
|
|
349
|
-
accountId?: string | null;
|
|
350
|
-
}
|
|
351
|
-
interface ForkChatTabInput {
|
|
352
|
-
threadId: string;
|
|
353
|
-
/** Inclusive message index to fork through; default = all messages. */
|
|
354
|
-
throughIndex?: number;
|
|
355
|
-
agent?: AgentKind;
|
|
356
|
-
/** Model for the forked chat; omit to inherit or Auto when agent changes. */
|
|
357
|
-
model?: string | null;
|
|
358
|
-
title?: string;
|
|
359
|
-
}
|
|
360
|
-
/** Fork a thread into a new git worktree (new branch + worktree dir). */
|
|
361
|
-
interface ForkThreadWorktreeInput {
|
|
362
|
-
threadId: string;
|
|
363
|
-
/** Inclusive message index to seed transcript through; default = all messages. */
|
|
364
|
-
throughIndex?: number;
|
|
365
|
-
agent?: AgentKind;
|
|
366
|
-
/** Model for the forked chat; omit to inherit or Auto when agent changes. */
|
|
367
|
-
model?: string | null;
|
|
368
|
-
title?: string;
|
|
369
|
-
}
|
|
370
|
-
interface ThreadOptionsPatch {
|
|
371
|
-
agent?: AgentKind;
|
|
372
|
-
model?: string | null;
|
|
373
|
-
effort?: ThinkingEffort;
|
|
374
|
-
fast?: boolean;
|
|
375
|
-
planMode?: boolean;
|
|
376
|
-
autonomy?: Autonomy;
|
|
377
|
-
}
|
|
378
|
-
interface AgentStatus {
|
|
379
|
-
agent: AgentKind;
|
|
380
|
-
installed: boolean;
|
|
381
|
-
authenticated: boolean;
|
|
382
|
-
linearMcp: boolean;
|
|
383
|
-
warnings: string[];
|
|
384
|
-
reason?: string;
|
|
385
|
-
}
|
|
386
|
-
interface BranchInfo {
|
|
387
|
-
name: string;
|
|
388
|
-
remote: boolean;
|
|
389
|
-
current: boolean;
|
|
390
|
-
}
|
|
391
|
-
interface PrInfo {
|
|
392
|
-
number: number;
|
|
393
|
-
title: string;
|
|
394
|
-
headRefName: string;
|
|
395
|
-
url: string;
|
|
396
|
-
isCrossRepository: boolean;
|
|
397
|
-
/** Present when listed via `gh pr list --json author`. */
|
|
398
|
-
author?: {
|
|
399
|
-
login: string;
|
|
400
|
-
} | null;
|
|
401
|
-
/** Present when `gh pr view --json isDraft` is requested. */
|
|
402
|
-
isDraft?: boolean;
|
|
403
|
-
/** Present when `gh pr view --json state` is requested. */
|
|
404
|
-
state?: string;
|
|
405
|
-
/** GitHub label names when listed via `gh pr list --json labels`. */
|
|
406
|
-
labels?: string[];
|
|
407
|
-
/** Requested reviewer logins / team slugs (humans and bots). */
|
|
408
|
-
reviewRequests?: string[];
|
|
409
|
-
/** Individual user reviewers only (bots and teams omitted). */
|
|
410
|
-
reviewers?: string[];
|
|
411
|
-
/** Team / group review requests (e.g. `engineering-team`) — not a claim. */
|
|
412
|
-
teams?: string[];
|
|
413
|
-
/** GraphQL `reviewDecision` when requested (`APPROVED`, `CHANGES_REQUESTED`, …). */
|
|
414
|
-
reviewDecision?: string | null;
|
|
415
|
-
/** Assignee logins when listed via `gh pr list --json assignees`. */
|
|
416
|
-
assignees?: string[];
|
|
417
|
-
/** Ticket ids parsed from the title (`ENG-12`, `#44`) when the PR is for assigned work. */
|
|
418
|
-
tickets?: string[];
|
|
419
|
-
}
|
|
420
|
-
/** One CI check from `gh pr checks --json`, or a synthetic merge/review gate. */
|
|
421
|
-
interface PrCheckRun {
|
|
422
|
-
name: string;
|
|
423
|
-
state: string;
|
|
424
|
-
bucket: 'pass' | 'fail' | 'pending' | 'skipping' | 'cancel' | string;
|
|
425
|
-
startedAt: string | null;
|
|
426
|
-
completedAt: string | null;
|
|
427
|
-
link: string | null;
|
|
428
|
-
description: string | null;
|
|
429
|
-
workflow: string | null;
|
|
430
|
-
/**
|
|
431
|
-
* Origin of the row. Omitted / `ci` = GitHub Actions / check suite.
|
|
432
|
-
* `mergeability` / `review` are Sideboard synthetics (conflicts, behind, review).
|
|
433
|
-
*/
|
|
434
|
-
kind?: 'ci' | 'mergeability' | 'review';
|
|
435
|
-
}
|
|
436
|
-
interface PrActor {
|
|
437
|
-
login: string;
|
|
438
|
-
name?: string | null;
|
|
439
|
-
}
|
|
440
|
-
interface PrCommitInfo {
|
|
441
|
-
oid: string;
|
|
442
|
-
messageHeadline: string;
|
|
443
|
-
committedDate: string;
|
|
444
|
-
authors: PrActor[];
|
|
445
|
-
}
|
|
446
|
-
interface PrCommentInfo {
|
|
447
|
-
author: PrActor;
|
|
448
|
-
body: string;
|
|
449
|
-
createdAt: string;
|
|
450
|
-
}
|
|
451
|
-
interface PrReviewInfo {
|
|
452
|
-
author: PrActor;
|
|
453
|
-
state: string;
|
|
454
|
-
body: string;
|
|
455
|
-
submittedAt: string | null;
|
|
456
|
-
}
|
|
457
|
-
/** Rich PR payload for Sideboard Review tab (`gh pr view --json`). */
|
|
458
|
-
interface PrDetails {
|
|
459
|
-
number: number;
|
|
460
|
-
title: string;
|
|
461
|
-
body: string;
|
|
462
|
-
url: string;
|
|
463
|
-
state: string;
|
|
464
|
-
isDraft: boolean;
|
|
465
|
-
reviewDecision: string | null;
|
|
466
|
-
author: PrActor;
|
|
467
|
-
/** When the PR was opened (`gh pr view --json createdAt`). */
|
|
468
|
-
createdAt?: string | null;
|
|
469
|
-
baseRefName: string;
|
|
470
|
-
headRefName: string;
|
|
471
|
-
additions: number;
|
|
472
|
-
deletions: number;
|
|
473
|
-
changedFiles: number;
|
|
474
|
-
commits: PrCommitInfo[];
|
|
475
|
-
comments: PrCommentInfo[];
|
|
476
|
-
reviews: PrReviewInfo[];
|
|
477
|
-
/** Assignee logins (`gh pr view --json assignees`). */
|
|
478
|
-
assignees: string[];
|
|
479
|
-
/** Label names (`gh pr view --json labels`). */
|
|
480
|
-
labels: string[];
|
|
481
|
-
/** Requested reviewer logins / team slugs (humans and bots). */
|
|
482
|
-
reviewRequests: string[];
|
|
483
|
-
/** Individual user reviewers only (bots and teams omitted). */
|
|
484
|
-
reviewers: string[];
|
|
485
|
-
/** Team / group review requests (e.g. `engineering-team`). */
|
|
486
|
-
teams: string[];
|
|
487
|
-
/** Prefer `getPrChecks` — kept for callers; often empty to avoid nested GraphQL. */
|
|
488
|
-
checks: PrCheckRun[];
|
|
489
|
-
}
|
|
490
|
-
/** PR lifecycle + mergeability for the sidebar pill (cheap GraphQL + local merge-tree). */
|
|
491
|
-
interface PrMeta {
|
|
492
|
-
number: number;
|
|
493
|
-
title: string;
|
|
494
|
-
url: string;
|
|
495
|
-
state: string;
|
|
496
|
-
isDraft: boolean;
|
|
497
|
-
reviewDecision: string | null;
|
|
498
|
-
baseRefName: string;
|
|
499
|
-
headRefName: string;
|
|
500
|
-
/** True when the PR is sitting in a GitHub merge queue. */
|
|
501
|
-
isInMergeQueue: boolean;
|
|
502
|
-
/** GitHub `mergeable` (MERGEABLE / CONFLICTING / UNKNOWN). */
|
|
503
|
-
mergeable: string | null;
|
|
504
|
-
/** GitHub `mergeStateStatus` (CLEAN / DIRTY / BEHIND / BLOCKED / …). */
|
|
505
|
-
mergeStateStatus: string | null;
|
|
506
|
-
/** GitHub author login when fetched with `--json author`. */
|
|
507
|
-
authorLogin?: string | null;
|
|
508
|
-
/** Human requested-reviewer logins (bots and team slugs omitted). */
|
|
509
|
-
reviewerLogins?: string[];
|
|
510
|
-
/** GitHub label names when fetched with `--json labels`. */
|
|
511
|
-
labels?: string[];
|
|
512
|
-
}
|
|
513
|
-
/** One layer in a GitHub PR stack (bottom = position 1). */
|
|
514
|
-
interface PrStackLayer {
|
|
515
|
-
/** 1-based index from trunk (bottom = 1). */
|
|
516
|
-
position: number;
|
|
517
|
-
branchName: string;
|
|
518
|
-
/** Tip SHA when known from `gh stack view`. */
|
|
519
|
-
headSha?: string;
|
|
520
|
-
/** Parent tip SHA last recorded by gh-stack (may lag). */
|
|
521
|
-
baseSha?: string;
|
|
522
|
-
isCurrent: boolean;
|
|
523
|
-
isMerged: boolean;
|
|
524
|
-
isQueued: boolean;
|
|
525
|
-
needsRebase: boolean;
|
|
526
|
-
prNumber: number | null;
|
|
527
|
-
prUrl: string | null;
|
|
528
|
-
/** OPEN | MERGED | QUEUED when a PR exists. */
|
|
529
|
-
prState: string | null;
|
|
530
|
-
title?: string;
|
|
531
|
-
}
|
|
532
|
-
/** GitHub stacked PRs for a worktree / branch. */
|
|
533
|
-
interface PrStack {
|
|
534
|
-
/** GitHub stack number when known. */
|
|
535
|
-
stackNumber: number | null;
|
|
536
|
-
trunk: string;
|
|
537
|
-
currentBranch: string;
|
|
538
|
-
/** Bottom → top. */
|
|
539
|
-
layers: PrStackLayer[];
|
|
540
|
-
/** Current layer index in `layers` (0-based), or -1. */
|
|
541
|
-
currentIndex: number;
|
|
542
|
-
/** True when every open layer below+including current looks mergeable. */
|
|
543
|
-
readyToMerge: boolean;
|
|
544
|
-
blockedReason: string | null;
|
|
545
|
-
}
|
|
546
|
-
interface IssueCycleInfo {
|
|
547
|
-
id?: string;
|
|
548
|
-
name: string;
|
|
549
|
-
number?: number;
|
|
550
|
-
isActive: boolean;
|
|
551
|
-
}
|
|
552
|
-
interface IssueInfo {
|
|
553
|
-
id: string;
|
|
554
|
-
identifier: string;
|
|
555
|
-
title: string;
|
|
556
|
-
url: string;
|
|
557
|
-
labels: string[];
|
|
558
|
-
/** When set, which tracker produced this issue. */
|
|
559
|
-
provider?: 'linear' | 'github' | 'abletime';
|
|
560
|
-
/** Display name / login of the primary assignee. */
|
|
561
|
-
assignee?: string;
|
|
562
|
-
/** Logins or display names (GitHub assignees; Linear is usually one). */
|
|
563
|
-
assignees?: string[];
|
|
564
|
-
/** Linear cycle (sprint). Absent on GitHub / unscheduled issues. */
|
|
565
|
-
cycle?: IssueCycleInfo | null;
|
|
566
|
-
teamKey?: string;
|
|
567
|
-
projects?: Array<{
|
|
568
|
-
id?: string;
|
|
569
|
-
name?: string;
|
|
570
|
-
}>;
|
|
571
|
-
createdAt?: string;
|
|
572
|
-
updatedAt?: string;
|
|
573
|
-
}
|
|
574
|
-
/** Comment on a listed ticket (inbox / updatedSince). Body is already preview-truncated. */
|
|
575
|
-
interface IssueActivityComment {
|
|
576
|
-
identifier: string;
|
|
577
|
-
title?: string;
|
|
578
|
-
author?: string;
|
|
579
|
-
createdAt?: string;
|
|
580
|
-
body: string;
|
|
581
|
-
url?: string;
|
|
582
|
-
}
|
|
583
|
-
interface DiffFile {
|
|
584
|
-
path: string;
|
|
585
|
-
/** Git name-status letter (M/A/D/R/…). */
|
|
586
|
-
status: string;
|
|
587
|
-
patch: string;
|
|
588
|
-
/** From `git diff --numstat` when available. */
|
|
589
|
-
additions?: number;
|
|
590
|
-
deletions?: number;
|
|
591
|
-
}
|
|
592
|
-
/** Cursor-style Changes panel filters. */
|
|
593
|
-
type DiffScope = 'last_turn' | 'uncommitted' | 'staged' | 'unstaged' | 'commits';
|
|
594
|
-
interface DiffScopeStat {
|
|
595
|
-
files: number;
|
|
596
|
-
additions: number;
|
|
597
|
-
deletions: number;
|
|
598
|
-
}
|
|
599
|
-
/** Sidebar/board dirty glyph — `numstat HEAD` counts + porcelain dirt. Not a Changes payload. */
|
|
600
|
-
interface WorktreeDirtyStat {
|
|
601
|
-
additions: number;
|
|
602
|
-
deletions: number;
|
|
603
|
-
dirty: boolean;
|
|
604
|
-
}
|
|
605
|
-
/** One commit on the branch (for the Changes → Commits submenu). */
|
|
606
|
-
interface DiffCommit {
|
|
607
|
-
sha: string;
|
|
608
|
-
shortSha: string;
|
|
609
|
-
subject: string;
|
|
610
|
-
relativeTime: string;
|
|
611
|
-
}
|
|
612
|
-
interface DiffResult {
|
|
613
|
-
/** Active filter for this result. */
|
|
614
|
-
scope: DiffScope;
|
|
615
|
-
/** When scope is commits and a single commit is selected. */
|
|
616
|
-
commitSha?: string | null;
|
|
617
|
-
base: string;
|
|
618
|
-
files: DiffFile[];
|
|
619
|
-
stat: string;
|
|
620
|
-
dirty: boolean;
|
|
621
|
-
/** Commits on HEAD not yet on the remote tracking branch (0 if none/unknown). */
|
|
622
|
-
unpushed: number;
|
|
623
|
-
/** Counts for each filter option (for the Changes dropdown). */
|
|
624
|
-
scopeStats: Record<DiffScope, DiffScopeStat>;
|
|
625
|
-
/** True when a last-agent-turn baseline is available. */
|
|
626
|
-
hasLastTurnBase: boolean;
|
|
627
|
-
/** Recent commits on the branch (vs merge-base), for the Commits flyout. */
|
|
628
|
-
commits: DiffCommit[];
|
|
629
|
-
/** Resolved merge-base SHA when comparing the branch to the default. */
|
|
630
|
-
mergeBase?: string | null;
|
|
631
|
-
}
|
|
632
|
-
interface LandPreview {
|
|
633
|
-
branch: string;
|
|
634
|
-
target: string;
|
|
635
|
-
diffStat: string;
|
|
636
|
-
dirty: boolean;
|
|
637
|
-
blocked: boolean;
|
|
638
|
-
blockReason?: string;
|
|
639
|
-
isFork: boolean;
|
|
640
|
-
/** Direct push to the default branch (no PR). */
|
|
641
|
-
cowboy?: boolean;
|
|
642
|
-
}
|
|
643
|
-
interface LandResult {
|
|
644
|
-
prUrl: string | null;
|
|
645
|
-
pushed: boolean;
|
|
646
|
-
committed: boolean;
|
|
647
|
-
}
|
|
648
|
-
type AgentEvent = {
|
|
649
|
-
type: 'stdout';
|
|
650
|
-
data: string;
|
|
651
|
-
parentId?: string;
|
|
652
|
-
} | {
|
|
653
|
-
type: 'stderr';
|
|
654
|
-
data: string;
|
|
655
|
-
} | {
|
|
656
|
-
type: 'session_id';
|
|
657
|
-
data: string;
|
|
658
|
-
} | {
|
|
659
|
-
type: 'thinking';
|
|
660
|
-
data: string;
|
|
661
|
-
parentId?: string;
|
|
662
|
-
/** Replace the last thinking part with this parent (status pulses, not token deltas). */
|
|
663
|
-
replace?: boolean;
|
|
664
|
-
} | {
|
|
665
|
-
type: 'tool_use';
|
|
666
|
-
id: string;
|
|
667
|
-
name: string;
|
|
668
|
-
input?: Record<string, unknown>;
|
|
669
|
-
/** Cursor Task / Agent nested stream — inner events set this to the parent call id. */
|
|
670
|
-
parentId?: string;
|
|
671
|
-
} | {
|
|
672
|
-
type: 'tool_result';
|
|
673
|
-
id: string;
|
|
674
|
-
content?: string;
|
|
675
|
-
isError?: boolean;
|
|
676
|
-
parentId?: string;
|
|
677
|
-
/**
|
|
678
|
-
* Update `result` without finishing the tool (live command tail).
|
|
679
|
-
* Codex `command_execution.aggregated_output` while in progress.
|
|
680
|
-
*/
|
|
681
|
-
partial?: boolean;
|
|
682
|
-
} | {
|
|
683
|
-
type: 'usage';
|
|
684
|
-
data: TokenUsage;
|
|
685
|
-
/** `request` = one API call; `turn` = billed total for the whole agent turn. */
|
|
686
|
-
scope?: 'request' | 'turn';
|
|
687
|
-
/** Repeated assistant snapshot; spawn replaces the earlier usage. */
|
|
688
|
-
messageId?: string;
|
|
689
|
-
} | {
|
|
690
|
-
type: 'exit';
|
|
691
|
-
data: number | null;
|
|
692
|
-
};
|
|
693
|
-
type OrchestratorEvent = {
|
|
694
|
-
type: 'turn_started';
|
|
695
|
-
threadId: string;
|
|
696
|
-
prompt: string;
|
|
697
|
-
} | {
|
|
698
|
-
type: 'turn_output';
|
|
699
|
-
threadId: string;
|
|
700
|
-
event: AgentEvent;
|
|
701
|
-
} | {
|
|
702
|
-
type: 'turn_finished';
|
|
703
|
-
threadId: string;
|
|
704
|
-
exitCode: number | null;
|
|
705
|
-
routineStop?: boolean;
|
|
706
|
-
} | {
|
|
707
|
-
type: 'status_changed';
|
|
708
|
-
threadId: string;
|
|
709
|
-
status: ThreadStatus;
|
|
710
|
-
} | {
|
|
711
|
-
type: 'queue_changed';
|
|
712
|
-
threadId: string;
|
|
713
|
-
queue: string[];
|
|
714
|
-
} | {
|
|
715
|
-
type: 'context_compacted';
|
|
716
|
-
threadId: string;
|
|
717
|
-
olderCount: number;
|
|
718
|
-
method: 'claude' | 'extractive';
|
|
719
|
-
} | {
|
|
720
|
-
type: 'quota_failover';
|
|
721
|
-
threadId: string;
|
|
722
|
-
action: 'switch_account' | 'switch_agent' | 'wait_reset';
|
|
723
|
-
message: string;
|
|
724
|
-
/** New orchestration chat when action is switch_agent. */
|
|
725
|
-
toThreadId?: string;
|
|
726
|
-
/** When action is wait_reset — ISO resume time. */
|
|
727
|
-
resumeAt?: string;
|
|
728
|
-
} | {
|
|
729
|
-
type: 'dev_server_started';
|
|
730
|
-
threadId: string;
|
|
731
|
-
port: number;
|
|
732
|
-
scriptName?: string;
|
|
733
|
-
} | {
|
|
734
|
-
type: 'dev_server_stopped';
|
|
735
|
-
threadId: string;
|
|
736
|
-
scriptName?: string;
|
|
737
|
-
} | {
|
|
738
|
-
type: 'run_output';
|
|
739
|
-
threadId: string;
|
|
740
|
-
scriptName: string;
|
|
741
|
-
/** One line, or several `\n`-joined lines coalesced within one tick. */
|
|
742
|
-
line: string;
|
|
743
|
-
} | {
|
|
744
|
-
type: 'setup_started';
|
|
745
|
-
threadId: string;
|
|
746
|
-
}
|
|
747
|
-
/** `line` may be a `\n`-joined chunk — consumers append with `\n`. */
|
|
748
|
-
| {
|
|
749
|
-
type: 'setup_output';
|
|
750
|
-
threadId: string;
|
|
751
|
-
line: string;
|
|
752
|
-
} | {
|
|
753
|
-
type: 'setup_finished';
|
|
754
|
-
threadId: string;
|
|
755
|
-
exitCode: number | null;
|
|
756
|
-
} | {
|
|
757
|
-
type: 'orphan_worktrees';
|
|
758
|
-
orphans: Array<{
|
|
759
|
-
path: string;
|
|
760
|
-
repoPath: string;
|
|
761
|
-
}>;
|
|
762
|
-
} | {
|
|
763
|
-
type: 'error';
|
|
764
|
-
threadId: string;
|
|
765
|
-
message: string;
|
|
766
|
-
};
|
|
767
|
-
/** Active named run script (in-memory + mirrored on thread for UI). */
|
|
768
|
-
interface ActiveRun {
|
|
769
|
-
scriptName: string;
|
|
770
|
-
port: number;
|
|
771
|
-
ports: number[];
|
|
772
|
-
startedAt: string;
|
|
773
|
-
/** Detached shell pid. Survives Electron restart so reap can kill the tree. */
|
|
774
|
-
pid?: number;
|
|
775
|
-
}
|
|
776
|
-
/** MCP/CLI → desktop run-script request. Host claims, runs, then fulfills. */
|
|
777
|
-
interface RunScriptRequest {
|
|
778
|
-
op: 'start' | 'stop';
|
|
779
|
-
scriptName?: string | null;
|
|
780
|
-
requestId: string;
|
|
781
|
-
requestedAt: string;
|
|
782
|
-
claimedAt?: string | null;
|
|
783
|
-
fulfilledAt?: string | null;
|
|
784
|
-
error?: string | null;
|
|
785
|
-
}
|
|
786
|
-
/** Unapplied orchestrator steer. Desktop interrupts the live turn and starts it. */
|
|
787
|
-
interface SteerRequest {
|
|
788
|
-
requestId: string;
|
|
789
|
-
requestedAt: string;
|
|
790
|
-
claimedAt?: string | null;
|
|
791
|
-
}
|
|
792
|
-
/** True when desktop should first-claim this persisted request. */
|
|
793
|
-
declare function isUnclaimedRunScriptRequest(req: RunScriptRequest | null | undefined): boolean;
|
|
794
|
-
/**
|
|
795
|
-
* True when desktop should `startDev`/`stopDev` this request — including a
|
|
796
|
-
* claimed-but-unfulfilled row left behind after Electron restarted.
|
|
797
|
-
*/
|
|
798
|
-
declare function isAdoptableRunScriptRequest(req: RunScriptRequest | null | undefined): boolean;
|
|
799
|
-
/** Live snapshot for the global orchestrator board. */
|
|
800
|
-
interface OrchestratorRuntime {
|
|
801
|
-
running: number;
|
|
802
|
-
maxConcurrent: number;
|
|
803
|
-
queued: number;
|
|
804
|
-
idle: number;
|
|
805
|
-
error: number;
|
|
806
|
-
stopped: number;
|
|
807
|
-
broken: number;
|
|
808
|
-
totalActive: number;
|
|
809
|
-
}
|
|
810
|
-
interface CreateThreadInput {
|
|
811
|
-
sourceType: Exclude<SourceType, 'orchestration'>;
|
|
812
|
-
sourceRef: string;
|
|
813
|
-
agent: AgentKind;
|
|
814
|
-
repoPath: string;
|
|
815
|
-
autonomy?: Autonomy;
|
|
816
|
-
/** Claude model id, or Brightsy `agent:` / `model:` target encoding. */
|
|
817
|
-
model?: string | null;
|
|
818
|
-
effort?: ThinkingEffort;
|
|
819
|
-
fast?: boolean;
|
|
820
|
-
planMode?: boolean;
|
|
821
|
-
/** Attachments available to the first prompt (and subsequent turns). */
|
|
822
|
-
attachments?: ThreadAttachment[];
|
|
823
|
-
title?: string;
|
|
824
|
-
parentThreadId?: string | null;
|
|
825
|
-
/**
|
|
826
|
-
* Optional first prompt — queued after the thread is created (Conductor-style).
|
|
827
|
-
* Ticket creates with no prompt (and no orchestration parent) imply “Resolve this issue.”
|
|
828
|
-
*/
|
|
829
|
-
prompt?: string;
|
|
830
|
-
/**
|
|
831
|
-
* Use the project checkout on the default branch (no isolated worktree).
|
|
832
|
-
* Pushes go to that branch; archive does not remove the folder.
|
|
833
|
-
*/
|
|
834
|
-
cowboy?: boolean;
|
|
835
|
-
/** When false, always create a new worktree. Default true reuses a live ticket, PR, or named branch. */
|
|
836
|
-
reuseExisting?: boolean;
|
|
837
|
-
/** Workspace labels. Added when this checkout already exists. */
|
|
838
|
-
tags?: string[];
|
|
839
|
-
}
|
|
840
|
-
interface AdoptInput {
|
|
841
|
-
worktreePath: string;
|
|
842
|
-
agent: AgentKind;
|
|
843
|
-
title?: string;
|
|
844
|
-
sessionId?: string | null;
|
|
845
|
-
messages?: ThreadMessage[];
|
|
846
|
-
sourceRef?: string;
|
|
847
|
-
}
|
|
848
|
-
interface ConductorWorkspace {
|
|
849
|
-
id: string;
|
|
850
|
-
workspacePath: string;
|
|
851
|
-
branch: string;
|
|
852
|
-
workspaceName: string;
|
|
853
|
-
prTitle: string | null;
|
|
854
|
-
prDescription: string | null;
|
|
855
|
-
intendedTargetBranch: string | null;
|
|
856
|
-
notes: string | null;
|
|
857
|
-
claudeSessionId: string | null;
|
|
858
|
-
agentType: AgentKind | null;
|
|
859
|
-
messageCount: number;
|
|
860
|
-
}
|
|
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[]>;
|
|
861
53
|
|
|
862
54
|
type ToolPermissionDecision = 'allow' | 'deny' | 'allow_session';
|
|
863
55
|
/** Composer click. False when that prompt is already gone. */
|
|
@@ -1106,6 +298,8 @@ interface DefaultsAppSettings {
|
|
|
1106
298
|
* `default` is the agent's normal permission prompts.
|
|
1107
299
|
*/
|
|
1108
300
|
autonomy?: Autonomy;
|
|
301
|
+
/** ACP CLI for new chats when `agent` is `acp`. Gemini CLI when omitted. */
|
|
302
|
+
acpHarness?: 'gemini' | 'copilot';
|
|
1109
303
|
/**
|
|
1110
304
|
* Account context (Settings → Agents): roles, tickets, review queues.
|
|
1111
305
|
* Project context (Settings → Projects) adds for that repo.
|
|
@@ -1565,6 +759,7 @@ declare function updateIntegrationsSettings(patch: {
|
|
|
1565
759
|
}): AppSettings;
|
|
1566
760
|
type DefaultsSettingsPatch = {
|
|
1567
761
|
agent?: AgentKind | null;
|
|
762
|
+
acpHarness?: 'gemini' | 'copilot' | null;
|
|
1568
763
|
model?: string | null;
|
|
1569
764
|
/** Effort level, or Conductor's `normal` (stored as medium). */
|
|
1570
765
|
effort?: ThinkingEffort | 'normal' | null;
|
|
@@ -2205,9 +1400,23 @@ declare function resolveOrderRows(edges: OrderEdge[], threads: OrderThreadSnapsh
|
|
|
2205
1400
|
|
|
2206
1401
|
/** Steps this checkout is waiting on, ready for, or blocking. */
|
|
2207
1402
|
declare function formatOrderPlace(rows: OrderRow[], you: OrderThreadSnapshot): string;
|
|
1403
|
+
/** One pull request, issue, workspace, or orchestration chat on a plan. */
|
|
1404
|
+
interface PlanWork {
|
|
1405
|
+
target: OrderTarget;
|
|
1406
|
+
label: string;
|
|
1407
|
+
detail: string;
|
|
1408
|
+
}
|
|
1409
|
+
/**
|
|
1410
|
+
* Work this plan can start now, work held from starting, and work that may
|
|
1411
|
+
* proceed but must not merge. A root that others wait on is in `start` until
|
|
1412
|
+
* it reaches that gate. `hold=merge` does not keep the later step from starting.
|
|
1413
|
+
* An unmet `hold=start` keeps that step in `waiting` only.
|
|
1414
|
+
* A loop does not block the first pass.
|
|
1415
|
+
*/
|
|
2208
1416
|
declare function executionSlice(rows: OrderRow[]): {
|
|
2209
|
-
|
|
2210
|
-
waiting:
|
|
1417
|
+
start: PlanWork[];
|
|
1418
|
+
waiting: PlanWork[];
|
|
1419
|
+
mergeHeld: PlanWork[];
|
|
2211
1420
|
};
|
|
2212
1421
|
declare function orderEdgeTouches(edge: Pick<OrderEdge, 'waitsOn' | 'subject'>, you: OrderThreadSnapshot): boolean;
|
|
2213
1422
|
declare function formatOrderText(rows: OrderRow[], plan?: OrderPlan | null): string;
|
|
@@ -2307,8 +1516,9 @@ declare function setOrderPlan(input: {
|
|
|
2307
1516
|
}): OrderPlan;
|
|
2308
1517
|
declare function executeOrderPlan(ownerThreadId?: string): {
|
|
2309
1518
|
plan: OrderPlan;
|
|
2310
|
-
|
|
2311
|
-
waiting:
|
|
1519
|
+
start: PlanWork[];
|
|
1520
|
+
waiting: PlanWork[];
|
|
1521
|
+
mergeHeld: PlanWork[];
|
|
2312
1522
|
};
|
|
2313
1523
|
declare function listOrderEdges(): OrderEdge[];
|
|
2314
1524
|
declare function listOrderMarks(): OrderMark[];
|
|
@@ -3167,10 +2377,10 @@ declare function installNpmGlobalPackage(opts: {
|
|
|
3167
2377
|
installCommand: string;
|
|
3168
2378
|
cliBin: string | null;
|
|
3169
2379
|
}): Promise<AgentSetupActionResult>;
|
|
3170
|
-
/** Install or update a CLI agent. */
|
|
3171
|
-
declare function installAgent(agent: AgentKind): Promise<AgentSetupActionResult>;
|
|
2380
|
+
/** Install or update a CLI agent. `gemini` / `copilot` install that ACP harness. */
|
|
2381
|
+
declare function installAgent(agent: AgentKind | AcpHarnessId): Promise<AgentSetupActionResult>;
|
|
3172
2382
|
/** Open the agent’s login/auth command in the system terminal. */
|
|
3173
|
-
declare function loginAgent(agent: AgentKind): Promise<AgentSetupActionResult>;
|
|
2383
|
+
declare function loginAgent(agent: AgentKind | AcpHarnessId): Promise<AgentSetupActionResult>;
|
|
3174
2384
|
/** Open login for a managed Claude/Codex account with an isolated config dir. */
|
|
3175
2385
|
declare function loginManagedAccount(accountId: string): Promise<AgentSetupActionResult>;
|
|
3176
2386
|
|
|
@@ -4612,6 +3822,11 @@ declare function listCursorModels(): Promise<AgentModelInfo[]>;
|
|
|
4612
3822
|
|
|
4613
3823
|
declare const cursorAdapter: AgentAdapter;
|
|
4614
3824
|
|
|
3825
|
+
/** Compiled runner, the packaged cursor-runtime copy, or the TypeScript source in dev. */
|
|
3826
|
+
declare function acpRunnerPath(): string;
|
|
3827
|
+
declare const acpAdapter: AgentAdapter;
|
|
3828
|
+
declare function acpHarnessDisplayName(thread: Pick<Thread, 'agent' | 'acpHarness'>): string;
|
|
3829
|
+
|
|
4615
3830
|
/**
|
|
4616
3831
|
* Models from `opencode models` (`provider/model` lines).
|
|
4617
3832
|
* Falls back to a small static list when OpenCode isn't installed.
|
|
@@ -5155,6 +4370,7 @@ declare function formatUiReminder(): string;
|
|
|
5155
4370
|
declare function detectAgents(): Promise<AgentStatus[]>;
|
|
5156
4371
|
declare function requireAgent(agent: AgentKind, opts?: {
|
|
5157
4372
|
requireLinear?: boolean;
|
|
4373
|
+
acpHarness?: AcpHarnessId;
|
|
5158
4374
|
}): Promise<AgentStatus>;
|
|
5159
4375
|
|
|
5160
4376
|
type RunMode = 'concurrent' | 'nonconcurrent';
|
|
@@ -6000,6 +5216,7 @@ declare function workspaceAgentChatSummaries(worktreePath: string | undefined):
|
|
|
6000
5216
|
id: string;
|
|
6001
5217
|
title: string;
|
|
6002
5218
|
agent: Thread['agent'];
|
|
5219
|
+
acpHarness?: Thread['acpHarness'];
|
|
6003
5220
|
status: Thread['status'];
|
|
6004
5221
|
link: string;
|
|
6005
5222
|
blockedReason?: string;
|
|
@@ -6718,6 +5935,7 @@ declare class Orchestrator {
|
|
|
6718
5935
|
createChatTab(input: {
|
|
6719
5936
|
fromThreadId: string;
|
|
6720
5937
|
agent?: Thread['agent'];
|
|
5938
|
+
acpHarness?: Thread['acpHarness'];
|
|
6721
5939
|
model?: string | null;
|
|
6722
5940
|
autonomy?: Thread['autonomy'];
|
|
6723
5941
|
effort?: Thread['effort'];
|
|
@@ -6729,6 +5947,7 @@ declare class Orchestrator {
|
|
|
6729
5947
|
threadId: string;
|
|
6730
5948
|
throughIndex?: number;
|
|
6731
5949
|
agent?: Thread['agent'];
|
|
5950
|
+
acpHarness?: Thread['acpHarness'];
|
|
6732
5951
|
model?: string | null;
|
|
6733
5952
|
title?: string;
|
|
6734
5953
|
}): Thread;
|
|
@@ -6736,6 +5955,7 @@ declare class Orchestrator {
|
|
|
6736
5955
|
threadId: string;
|
|
6737
5956
|
throughIndex?: number;
|
|
6738
5957
|
agent?: Thread['agent'];
|
|
5958
|
+
acpHarness?: Thread['acpHarness'];
|
|
6739
5959
|
model?: string | null;
|
|
6740
5960
|
title?: string;
|
|
6741
5961
|
}): Promise<Thread>;
|
|
@@ -7646,6 +6866,13 @@ declare function listSlackWorkspaces(): SlackWorkspaceInfo[];
|
|
|
7646
6866
|
declare function getSlackWorkspace(teamId: string): SlackWorkspace | null;
|
|
7647
6867
|
declare function disconnectSlackWorkspace(teamId: string): SlackWorkspaceInfo[];
|
|
7648
6868
|
|
|
6869
|
+
/** A Mac registered on one Sideboard account. */
|
|
6870
|
+
type RelayAccountMac = {
|
|
6871
|
+
deviceId: string;
|
|
6872
|
+
deviceLabel: string;
|
|
6873
|
+
createdAt: number;
|
|
6874
|
+
};
|
|
6875
|
+
|
|
7649
6876
|
/**
|
|
7650
6877
|
* Git hosts that can sign a Mac into the relay. A Mac's projects do not all
|
|
7651
6878
|
* use the same host; each identity links onto one Sideboard account when the
|
|
@@ -7661,6 +6888,63 @@ type RelayOAuthClient = {
|
|
|
7661
6888
|
};
|
|
7662
6889
|
type RelayOAuthConfig = Partial<Record<RelayGitHost, RelayOAuthClient>>;
|
|
7663
6890
|
|
|
6891
|
+
declare function isRemoteAccountLoginCancelled(err: unknown): boolean;
|
|
6892
|
+
/** `wss://relay.sideboard.build/remote` → `https://relay.sideboard.build`. */
|
|
6893
|
+
declare function remoteAccountHttpOrigin(wsUrl?: string): string;
|
|
6894
|
+
type RemoteAccountSession = {
|
|
6895
|
+
credential: string;
|
|
6896
|
+
email: string | null;
|
|
6897
|
+
accountId: string;
|
|
6898
|
+
};
|
|
6899
|
+
/** A Mac on the signed-in relay account. `thisMac` is set by the desktop. */
|
|
6900
|
+
type RemoteAccountMac = RelayAccountMac & {
|
|
6901
|
+
thisMac?: boolean;
|
|
6902
|
+
};
|
|
6903
|
+
/**
|
|
6904
|
+
* Open the git host in the browser. The relay holds the client secret and
|
|
6905
|
+
* returns a Sideboard credential for this Mac.
|
|
6906
|
+
*/
|
|
6907
|
+
declare function startRemoteAccountLogin(opts: {
|
|
6908
|
+
provider: RelayAccountProvider;
|
|
6909
|
+
/** When set, the new provider is attached to that account. */
|
|
6910
|
+
linkToken?: string;
|
|
6911
|
+
openUrl?: (url: string) => void | Promise<void>;
|
|
6912
|
+
origin?: string;
|
|
6913
|
+
fetchImpl?: typeof fetch;
|
|
6914
|
+
timeoutMs?: number;
|
|
6915
|
+
pollIntervalMs?: number;
|
|
6916
|
+
signal?: AbortSignal;
|
|
6917
|
+
}): Promise<RemoteAccountSession>;
|
|
6918
|
+
/** Forget this Mac’s credential on the relay. Local vault cleanup is separate. */
|
|
6919
|
+
declare function disconnectRemoteAccount(opts: {
|
|
6920
|
+
accountToken: string;
|
|
6921
|
+
origin?: string;
|
|
6922
|
+
fetchImpl?: typeof fetch;
|
|
6923
|
+
}): Promise<void>;
|
|
6924
|
+
/** Macs registered on the account that owns `accountToken`. */
|
|
6925
|
+
declare function listRemoteAccountMacs(opts: {
|
|
6926
|
+
accountToken: string;
|
|
6927
|
+
origin?: string;
|
|
6928
|
+
fetchImpl?: typeof fetch;
|
|
6929
|
+
}): Promise<RemoteAccountMac[]>;
|
|
6930
|
+
/** Remove one Mac from the account. The slot is free for the next register. */
|
|
6931
|
+
declare function forgetRemoteAccountMac(opts: {
|
|
6932
|
+
accountToken: string;
|
|
6933
|
+
deviceId: string;
|
|
6934
|
+
origin?: string;
|
|
6935
|
+
fetchImpl?: typeof fetch;
|
|
6936
|
+
}): Promise<void>;
|
|
6937
|
+
|
|
6938
|
+
/** Macs registered on the signed-in relay account. */
|
|
6939
|
+
interface RemoteAccountIpc {
|
|
6940
|
+
/** `thisMac` marks the computer running Sideboard. */
|
|
6941
|
+
listRemoteAccountMacs(): Promise<Array<RemoteAccountMac & {
|
|
6942
|
+
thisMac: boolean;
|
|
6943
|
+
}>>;
|
|
6944
|
+
/** Forgetting this Mac also signs out. */
|
|
6945
|
+
forgetRemoteAccountMac(deviceId: string): Promise<PublicAppSettings>;
|
|
6946
|
+
}
|
|
6947
|
+
|
|
7664
6948
|
/** Live status of the phone remote (hosted relay). */
|
|
7665
6949
|
interface RemoteHostStatus {
|
|
7666
6950
|
running: boolean;
|
|
@@ -7751,14 +7035,14 @@ interface CloudConnectStatus {
|
|
|
7751
7035
|
lastLog: string | null;
|
|
7752
7036
|
}
|
|
7753
7037
|
|
|
7754
|
-
interface IpcApi extends McpUiIpc, GitHostIpcApi, SlackOrgIpc, OrderIpc {
|
|
7038
|
+
interface IpcApi extends McpUiIpc, GitHostIpcApi, SlackOrgIpc, OrderIpc, RemoteAccountIpc {
|
|
7755
7039
|
detectAgents(): Promise<AgentStatus[]>;
|
|
7756
7040
|
/** Install recipe + docs for Settings → Agents. */
|
|
7757
7041
|
getAgentSetupInfo(agent: AgentKind): Promise<AgentSetupInfo>;
|
|
7758
7042
|
/** Install a CLI agent (npm in-process or Terminal for curl installers). */
|
|
7759
|
-
installAgent(agent: AgentKind): Promise<AgentSetupActionResult>;
|
|
7043
|
+
installAgent(agent: AgentKind | 'gemini' | 'copilot'): Promise<AgentSetupActionResult>;
|
|
7760
7044
|
/** Open the agent’s login/auth command in the system terminal. */
|
|
7761
|
-
loginAgent(agent: AgentKind): Promise<AgentSetupActionResult>;
|
|
7045
|
+
loginAgent(agent: AgentKind | 'gemini' | 'copilot'): Promise<AgentSetupActionResult>;
|
|
7762
7046
|
getAppSettings(): Promise<PublicAppSettings>;
|
|
7763
7047
|
saveAppSettings(settings: AppSettings): Promise<PublicAppSettings>;
|
|
7764
7048
|
updateAppEnvironment(patch: Record<string, string | null | undefined>): Promise<PublicAppSettings>;
|
|
@@ -7862,6 +7146,7 @@ interface IpcApi extends McpUiIpc, GitHostIpcApi, SlackOrgIpc, OrderIpc {
|
|
|
7862
7146
|
}): Promise<PublicAppSettings>;
|
|
7863
7147
|
updateDefaultsSettings(patch: {
|
|
7864
7148
|
agent?: AgentKind | null;
|
|
7149
|
+
acpHarness?: 'gemini' | 'copilot' | null;
|
|
7865
7150
|
model?: string | null;
|
|
7866
7151
|
effort?: ThinkingEffort | 'normal' | null;
|
|
7867
7152
|
fast?: boolean | null;
|
|
@@ -9048,6 +8333,7 @@ declare class RemoteHub {
|
|
|
9048
8333
|
onAuthorized?: (socket: RemoteSocket) => void;
|
|
9049
8334
|
});
|
|
9050
8335
|
handleClientMessage(socket: RemoteSocket, raw: string): void;
|
|
8336
|
+
forgetDevice(deviceId: string): void;
|
|
9051
8337
|
detachSocket(socket: RemoteSocket): void;
|
|
9052
8338
|
private dispatch;
|
|
9053
8339
|
/** Forward an encrypted frame. The hub does not read it. */
|
|
@@ -9232,36 +8518,6 @@ declare function handleRemoteInbound(text: string, opts: {
|
|
|
9232
8518
|
onOpenArtifact?: (request: PhoneOpenArtifactRequest) => void;
|
|
9233
8519
|
}): void;
|
|
9234
8520
|
|
|
9235
|
-
declare function isRemoteAccountLoginCancelled(err: unknown): boolean;
|
|
9236
|
-
/** `wss://relay.sideboard.build/remote` → `https://relay.sideboard.build`. */
|
|
9237
|
-
declare function remoteAccountHttpOrigin(wsUrl?: string): string;
|
|
9238
|
-
type RemoteAccountSession = {
|
|
9239
|
-
credential: string;
|
|
9240
|
-
email: string | null;
|
|
9241
|
-
accountId: string;
|
|
9242
|
-
};
|
|
9243
|
-
/**
|
|
9244
|
-
* Open the git host in the browser. The relay holds the client secret and
|
|
9245
|
-
* returns a Sideboard credential for this Mac.
|
|
9246
|
-
*/
|
|
9247
|
-
declare function startRemoteAccountLogin(opts: {
|
|
9248
|
-
provider: RelayAccountProvider;
|
|
9249
|
-
/** When set, the new provider is attached to that account. */
|
|
9250
|
-
linkToken?: string;
|
|
9251
|
-
openUrl?: (url: string) => void | Promise<void>;
|
|
9252
|
-
origin?: string;
|
|
9253
|
-
fetchImpl?: typeof fetch;
|
|
9254
|
-
timeoutMs?: number;
|
|
9255
|
-
pollIntervalMs?: number;
|
|
9256
|
-
signal?: AbortSignal;
|
|
9257
|
-
}): Promise<RemoteAccountSession>;
|
|
9258
|
-
/** Forget this Mac’s credential on the relay. Local vault cleanup is separate. */
|
|
9259
|
-
declare function disconnectRemoteAccount(opts: {
|
|
9260
|
-
accountToken: string;
|
|
9261
|
-
origin?: string;
|
|
9262
|
-
fetchImpl?: typeof fetch;
|
|
9263
|
-
}): Promise<void>;
|
|
9264
|
-
|
|
9265
8521
|
interface SlackAuthTest {
|
|
9266
8522
|
ok: boolean;
|
|
9267
8523
|
url?: string;
|
|
@@ -9551,4 +8807,4 @@ declare function pollSlackOutboundWatches(opts?: {
|
|
|
9551
8807
|
now?: number;
|
|
9552
8808
|
}): Promise<void>;
|
|
9553
8809
|
|
|
9554
|
-
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 };
|
|
8810
|
+
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 };
|