@sideboard-ai/core 0.1.77 → 0.1.81
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/{agents-LKUHPPEQ.js → agents-EBKJ55PN.js} +5 -5
- package/dist/{agents-XJV6J3K2.js → agents-UQ7D6U6L.js} +6 -6
- package/dist/{app-settings-3TLA2EJ7.js → app-settings-6IOQYGBK.js} +7 -1
- package/dist/{app-settings-P42Z3VOB.js → app-settings-NILNWNNQ.js} +7 -1
- package/dist/{chunk-2FJI5JXX.js → chunk-4AVU4QXO.js} +54 -20
- package/dist/{chunk-XJNCWYFR.js → chunk-4HJK57XU.js} +8 -14
- package/dist/{chunk-VERLUKN2.js → chunk-6F2TQFJE.js} +6 -6
- package/dist/{chunk-EEKSZTMU.js → chunk-CQBQWX73.js} +10 -16
- package/dist/{chunk-OE7YBB5X.js → chunk-FUUVPN4A.js} +108 -3
- package/dist/{chunk-W7YOTDVO.js → chunk-IFPN6TER.js} +47 -2
- package/dist/{chunk-75U65MBE.js → chunk-K553XK7M.js} +2 -2
- package/dist/{chunk-GWTLKXXP.js → chunk-P5VDPGAN.js} +3 -3
- package/dist/{chunk-2ZIPJRJE.js → chunk-TDJ43HUD.js} +2 -2
- package/dist/{chunk-PTJJIQK7.js → chunk-XKNBSYA7.js} +47 -2
- package/dist/{chunk-QD37IILI.js → chunk-XNECBC6T.js} +66 -20
- package/dist/{chunk-MF2YMEGD.js → chunk-YVVXWWCC.js} +110 -3
- package/dist/{coordinator-prompt-LLFJUO2R.js → coordinator-prompt-JQF72JKX.js} +4 -4
- package/dist/{coordinator-prompt-MRCMMRSF.js → coordinator-prompt-NYNEFKIV.js} +3 -3
- package/dist/{global-workspace-YNMNO4CL.js → global-workspace-DZM4ZFGU.js} +5 -5
- package/dist/{global-workspace-TWHMYLTZ.js → global-workspace-NUMUJRWG.js} +4 -4
- package/dist/index.cjs +585 -251
- package/dist/index.d.cts +97 -8
- package/dist/index.d.ts +97 -8
- package/dist/index.js +363 -222
- package/dist/mcp/run-stdio.cjs +2502 -2286
- package/dist/mcp/run-stdio.js +162 -133
- package/dist/{workspaces-O3U5BENH.js → workspaces-QLRCOXAY.js} +6 -6
- package/dist/{workspaces-GQ4XKBD3.js → workspaces-SUU2GO3A.js} +5 -5
- package/dist/{worktree-VOCH3WS3.js → worktree-5VLLFI5W.js} +5 -1
- package/dist/{worktree-KWXHMKRN.js → worktree-UNSOCYZU.js} +5 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -45,8 +45,10 @@ type MessagePart = {
|
|
|
45
45
|
};
|
|
46
46
|
/** Token usage for a single agent turn, aggregated across the turn's API calls. */
|
|
47
47
|
interface TokenUsage {
|
|
48
|
+
/** Uncached prompt tokens. Adapters must subtract provider cache hits first. */
|
|
48
49
|
inputTokens: number;
|
|
49
50
|
outputTokens: number;
|
|
51
|
+
/** Cache hits, not included in `inputTokens` (Claude-shaped). */
|
|
50
52
|
cacheReadTokens?: number;
|
|
51
53
|
cacheWriteTokens?: number;
|
|
52
54
|
/**
|
|
@@ -628,9 +630,21 @@ interface BrightsyHarnessSettings {
|
|
|
628
630
|
}
|
|
629
631
|
/** Preferred issue tracker for Create-from / Link issue. */
|
|
630
632
|
type IssueSource = 'linear' | 'github';
|
|
633
|
+
/**
|
|
634
|
+
* How Sideboard and worktree agents authenticate GitHub git operations.
|
|
635
|
+
* A declared mode so the app and injected prompts agree. Sideboard never
|
|
636
|
+
* uses a third-party GitHub App (including Conductor.build) for git auth.
|
|
637
|
+
* - `auto` (default): keep remotes as-is (SSH first); prompt HTTPS/`gh` fallback
|
|
638
|
+
* - `gh`: rewrite SSH remotes to HTTPS; `gh auth git-credential`
|
|
639
|
+
* - `ssh`: keep `git@` remotes; use this Mac’s SSH agent
|
|
640
|
+
* - `token`: stored PAT + HTTPS rewrite; `GH_TOKEN` in the agent env
|
|
641
|
+
*/
|
|
642
|
+
type GithubGitAuthMode = 'auto' | 'gh' | 'ssh' | 'token';
|
|
643
|
+
declare const GITHUB_GIT_AUTH_MODES: readonly ["auto", "gh", "ssh", "token"];
|
|
631
644
|
/**
|
|
632
645
|
* Sideboard-owned third-party connections (Account / Integrations).
|
|
633
|
-
* GitHub uses
|
|
646
|
+
* GitHub uses a declared git-auth mode (`gh` / SSH / PAT); Linear uses OAuth
|
|
647
|
+
* (or a stored API key).
|
|
634
648
|
*/
|
|
635
649
|
interface IntegrationsSettings {
|
|
636
650
|
/** Linear personal API key (https://linear.app/settings/api). Fallback when OAuth is unused. */
|
|
@@ -672,6 +686,13 @@ interface IntegrationsSettings {
|
|
|
672
686
|
slackDeviceId?: string;
|
|
673
687
|
/** Human label for this Mac destination, e.g. Personal / Work. */
|
|
674
688
|
slackDeviceLabel?: string;
|
|
689
|
+
/**
|
|
690
|
+
* How agents and Sideboard git helpers authenticate GitHub.
|
|
691
|
+
* Omitted = {@link getGithubGitAuthMode} default (`auto`).
|
|
692
|
+
*/
|
|
693
|
+
githubGitAuthMode?: GithubGitAuthMode;
|
|
694
|
+
/** Fine-grained or classic PAT when mode is `token` (vaulted). */
|
|
695
|
+
githubPat?: string;
|
|
675
696
|
}
|
|
676
697
|
/**
|
|
677
698
|
* Conductor-inspired power-user preferences (Settings → Advanced).
|
|
@@ -754,12 +775,14 @@ interface AppSettings {
|
|
|
754
775
|
advanced: AdvancedAppSettings;
|
|
755
776
|
}
|
|
756
777
|
/** Integrations fields safe to send to the renderer (no token values). */
|
|
757
|
-
type PublicIntegrationsSettings = Omit<IntegrationsSettings, 'linearApiKey' | 'linearAccessToken' | 'linearRefreshToken' | 'linearClientSecret' | 'slackClientSecret' | 'slackAppToken'> & {
|
|
778
|
+
type PublicIntegrationsSettings = Omit<IntegrationsSettings, 'linearApiKey' | 'linearAccessToken' | 'linearRefreshToken' | 'linearClientSecret' | 'slackClientSecret' | 'slackAppToken' | 'githubPat'> & {
|
|
758
779
|
/** True when Linear is connected (OAuth or API key). */
|
|
759
780
|
hasLinearApiKey: boolean;
|
|
760
781
|
hasLinearOAuth: boolean;
|
|
761
782
|
hasSlackClientSecret: boolean;
|
|
762
783
|
hasSlackAppToken: boolean;
|
|
784
|
+
/** True when a GitHub PAT is stored (token mode). */
|
|
785
|
+
hasGithubPat: boolean;
|
|
763
786
|
};
|
|
764
787
|
/** Settings payload for the desktop UI. Secret values are omitted. */
|
|
765
788
|
type PublicAppSettings = Omit<AppSettings, 'integrations'> & {
|
|
@@ -799,6 +822,8 @@ declare function updateIntegrationsSettings(patch: {
|
|
|
799
822
|
slackListenEnabled?: boolean | null;
|
|
800
823
|
slackDeviceId?: string | null;
|
|
801
824
|
slackDeviceLabel?: string | null;
|
|
825
|
+
githubGitAuthMode?: GithubGitAuthMode | null;
|
|
826
|
+
githubPat?: string | null;
|
|
802
827
|
}): AppSettings;
|
|
803
828
|
declare function updateDefaultsSettings(patch: {
|
|
804
829
|
agent?: AgentKind | null;
|
|
@@ -852,6 +877,10 @@ declare function saveLinearOAuth(input: {
|
|
|
852
877
|
declare function disconnectLinearConnection(): AppSettings;
|
|
853
878
|
/** Preferred issue source (default GitHub). */
|
|
854
879
|
declare function getIssueSource(settings?: AppSettings): IssueSource;
|
|
880
|
+
/** Declared GitHub git-auth mode (default `auto`). */
|
|
881
|
+
declare function getGithubGitAuthMode(settings?: AppSettings): GithubGitAuthMode;
|
|
882
|
+
/** Stored GitHub PAT for `token` mode (null when unset). */
|
|
883
|
+
declare function getGithubPat(settings?: AppSettings): string | null;
|
|
855
884
|
/**
|
|
856
885
|
* Runtime issue source: honors preference, but falls back to GitHub when
|
|
857
886
|
* Linear is preferred and not connected.
|
|
@@ -1107,6 +1136,31 @@ declare function formatGhLandError(raw: string, opts?: FormatGhLandErrorOptions)
|
|
|
1107
1136
|
/** Strip Electron's IPC invoke wrapper, then humanize known gh failures. */
|
|
1108
1137
|
declare function formatIpcInvokeError(err: unknown): string;
|
|
1109
1138
|
|
|
1139
|
+
type EnvLike = NodeJS.ProcessEnv | Record<string, string | undefined>;
|
|
1140
|
+
/**
|
|
1141
|
+
* Append `GIT_CONFIG_KEY_n` / `VALUE_n` entries without clobbering inherited
|
|
1142
|
+
* command-scoped git config (enterprise insteadOf, custom certs, …).
|
|
1143
|
+
*/
|
|
1144
|
+
declare function appendIndexedGitConfig(existing: EnvLike | undefined, entries: Array<{
|
|
1145
|
+
key: string;
|
|
1146
|
+
value: string;
|
|
1147
|
+
}>): Record<string, string>;
|
|
1148
|
+
/**
|
|
1149
|
+
* Rewrite GitHub SSH remotes to HTTPS and let `gh` supply credentials.
|
|
1150
|
+
* GUI / agent shells often have no ssh-agent; `gh` keyring still works.
|
|
1151
|
+
*/
|
|
1152
|
+
declare function githubAgentGitEnv(existing?: EnvLike): Record<string, string>;
|
|
1153
|
+
/**
|
|
1154
|
+
* Extra env for a worktree agent given Account → GitHub git-auth mode.
|
|
1155
|
+
* Does not set `GH_REPO` (caller adds that after resolving origin).
|
|
1156
|
+
*/
|
|
1157
|
+
declare function applyGithubGitAuthEnv(existing: EnvLike | undefined, opts: {
|
|
1158
|
+
mode: GithubGitAuthMode;
|
|
1159
|
+
token?: string | null;
|
|
1160
|
+
}): Record<string, string>;
|
|
1161
|
+
/** Injected prompt block so agents use the same git path as Sideboard. */
|
|
1162
|
+
declare function formatGitAuthModeDirective(mode: GithubGitAuthMode): string;
|
|
1163
|
+
|
|
1110
1164
|
interface TeamName {
|
|
1111
1165
|
name: string;
|
|
1112
1166
|
slug: string;
|
|
@@ -1185,11 +1239,16 @@ declare function ghHeadRef(slug: string, branch: string): string;
|
|
|
1185
1239
|
* Pin the CLI default to `origin` once per repo (shared by all worktrees).
|
|
1186
1240
|
*/
|
|
1187
1241
|
declare function ensureGhPreferOrigin(cwd: string): Promise<void>;
|
|
1242
|
+
|
|
1188
1243
|
/**
|
|
1189
1244
|
* Env pin so bare `gh` (and agents) target this checkout's **origin**, not
|
|
1190
1245
|
* Makerkit-style `upstream`. `GH_REPO` is the CLI's documented override.
|
|
1246
|
+
* HTTPS rewrite / `GH_TOKEN` follow Account → GitHub git-auth mode.
|
|
1191
1247
|
*/
|
|
1192
|
-
declare function originGhRepoEnv(cwd: string
|
|
1248
|
+
declare function originGhRepoEnv(cwd: string, opts?: {
|
|
1249
|
+
env?: NodeJS.ProcessEnv | Record<string, string | undefined>;
|
|
1250
|
+
mode?: GithubGitAuthMode;
|
|
1251
|
+
}): Promise<Record<string, string>>;
|
|
1193
1252
|
declare function resolveDefaultBranch(repoPath: string, opts?: {
|
|
1194
1253
|
network?: boolean;
|
|
1195
1254
|
}): Promise<string>;
|
|
@@ -1917,6 +1976,16 @@ declare function isBrightsyNdjsonLine(line: string): boolean;
|
|
|
1917
1976
|
declare function finalizeParts(parts: MessagePart[]): MessagePart[];
|
|
1918
1977
|
declare function normalizeParseResult(parsed: AgentEvent | AgentEvent[] | null): AgentEvent[];
|
|
1919
1978
|
|
|
1979
|
+
/**
|
|
1980
|
+
* OpenAI/Codex/Brightsy-shaped usage → Claude-shaped {@link TokenUsage}.
|
|
1981
|
+
* `cachedInputTokens` is already inside `inputTokens`; reasoning is already
|
|
1982
|
+
* inside `outputTokens` when the provider reports it separately.
|
|
1983
|
+
*/
|
|
1984
|
+
declare function fromInclusiveInputUsage(opts: {
|
|
1985
|
+
inputTokens: number;
|
|
1986
|
+
outputTokens: number;
|
|
1987
|
+
cachedInputTokens?: number;
|
|
1988
|
+
}): TokenUsage | null;
|
|
1920
1989
|
/** Prompt tokens occupying the context window for a single API call. */
|
|
1921
1990
|
declare function requestOccupancy(u: TokenUsage): number;
|
|
1922
1991
|
/** Accumulate incremental usage (one CLI turn may report usage in several steps). */
|
|
@@ -1973,6 +2042,7 @@ declare function formatRenameBranchDirective(thread: Pick<Thread, 'worktreePath'
|
|
|
1973
2042
|
*/
|
|
1974
2043
|
declare function formatWorktreeDirective(thread: Pick<Thread, 'worktreePath' | 'repoPath' | 'branchName'> & Partial<Pick<Thread, 'title' | 'prUrl'>>, opts?: {
|
|
1975
2044
|
githubSlug?: string | null;
|
|
2045
|
+
gitAuthMode?: GithubGitAuthMode;
|
|
1976
2046
|
}): string;
|
|
1977
2047
|
/**
|
|
1978
2048
|
* Tell agents how Sideboard renders Claude-style artifacts (side column).
|
|
@@ -2091,6 +2161,7 @@ interface WorkspaceScriptEnvOpts {
|
|
|
2091
2161
|
defaultBranch?: string;
|
|
2092
2162
|
ports?: number[];
|
|
2093
2163
|
}
|
|
2164
|
+
declare function stripNestedElectronEnv(env: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
|
|
2094
2165
|
/** Build Conductor/Sideboard env vars for setup/run scripts. */
|
|
2095
2166
|
declare function buildWorkspaceScriptEnv(opts: WorkspaceScriptEnvOpts, baseEnv?: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
|
|
2096
2167
|
interface ScriptHandle {
|
|
@@ -2849,10 +2920,13 @@ declare class Orchestrator {
|
|
|
2849
2920
|
*/
|
|
2850
2921
|
requestReview(threadRef: string): Promise<Thread>;
|
|
2851
2922
|
/**
|
|
2852
|
-
*
|
|
2853
|
-
*
|
|
2923
|
+
* Desktop git buttons + MCP `ask_git`.
|
|
2924
|
+
* When the worktree is clean, push / open the PR here (HTTPS via `gh` if SSH
|
|
2925
|
+
* is missing). When dirty, queue the worktree agent to commit first.
|
|
2854
2926
|
*/
|
|
2855
2927
|
askGit(threadRef: string, action: AgentGitAction): Promise<Thread>;
|
|
2928
|
+
/** Push origin (gh HTTPS fallback) and create/update the PR when requested. */
|
|
2929
|
+
private pushAndMaybeOpenPr;
|
|
2856
2930
|
setThreadOptions(threadRef: string, patch: ThreadOptionsPatch): Thread;
|
|
2857
2931
|
createChatTab(input: {
|
|
2858
2932
|
fromThreadId: string;
|
|
@@ -3100,6 +3174,7 @@ declare function coordinatorTurnReminder(opts: {
|
|
|
3100
3174
|
/**
|
|
3101
3175
|
* Write durable CLAUDE.md / AGENTS.md into the global synthetic cwd so Claude
|
|
3102
3176
|
* (and other agents that load AGENTS.md) keep orchestrator identity on resume.
|
|
3177
|
+
* Both files get the same body — they are filename aliases, not two documents.
|
|
3103
3178
|
* When `orchestratorThreadId` is set, embed that uuid so Codex/Claude resume
|
|
3104
3179
|
* cannot invent a stale parentThreadId.
|
|
3105
3180
|
*/
|
|
@@ -3129,8 +3204,10 @@ declare function cloneRepoIntoSideboard(opts: {
|
|
|
3129
3204
|
/**
|
|
3130
3205
|
* Sideboard MCP server — agent-facing judgment surface.
|
|
3131
3206
|
* Deliberately excludes ready-for-review confirm_land and purge_thread.
|
|
3132
|
-
* Orchestrators commit, push, open PRs
|
|
3133
|
-
*
|
|
3207
|
+
* Orchestrators commit, push, and open PRs via `ask_git` / `send_to_thread`
|
|
3208
|
+
* — they do not run git/gh from the synthetic home. `ask_git` pushes itself when
|
|
3209
|
+
* the worktree is already clean. Merge (`ask_git` action=merge) only when the
|
|
3210
|
+
* user explicitly asked.
|
|
3134
3211
|
*/
|
|
3135
3212
|
declare function startMcpServer(): Promise<void>;
|
|
3136
3213
|
|
|
@@ -3390,6 +3467,8 @@ interface IpcApi {
|
|
|
3390
3467
|
slackListenEnabled?: boolean | null;
|
|
3391
3468
|
slackDeviceId?: string | null;
|
|
3392
3469
|
slackDeviceLabel?: string | null;
|
|
3470
|
+
githubGitAuthMode?: GithubGitAuthMode | null;
|
|
3471
|
+
githubPat?: string | null;
|
|
3393
3472
|
}): Promise<PublicAppSettings>;
|
|
3394
3473
|
updateDefaultsSettings(patch: {
|
|
3395
3474
|
agent?: AgentKind | null;
|
|
@@ -3634,6 +3713,8 @@ interface IpcApi {
|
|
|
3634
3713
|
url: string;
|
|
3635
3714
|
state: string;
|
|
3636
3715
|
}>;
|
|
3716
|
+
/** Desktop git buttons: push/PR when clean, else queue the worktree agent. */
|
|
3717
|
+
askGit(threadRef: string, action: 'commit-push' | 'create-draft' | 'create-web' | 'resolve-conflicts' | 'merge'): Promise<Thread>;
|
|
3637
3718
|
archiveThread(threadRef: string): Promise<Thread>;
|
|
3638
3719
|
purgeThread(threadRef: string, opts?: {
|
|
3639
3720
|
deleteBranch?: boolean;
|
|
@@ -4176,6 +4257,14 @@ interface SlackRelayServerOptions {
|
|
|
4176
4257
|
hub?: SlackRelayHub;
|
|
4177
4258
|
/** Skip Slack Socket Mode (tests). */
|
|
4178
4259
|
skipSocketMode?: boolean;
|
|
4260
|
+
/** Optional marketing site root (Fly: `/app/site`). `/health` stays JSON. */
|
|
4261
|
+
staticRoot?: string;
|
|
4262
|
+
/** Hostnames that get the marketing site (e.g. `www.sideboard.cloud`). Empty = any host. */
|
|
4263
|
+
staticHosts?: string[];
|
|
4264
|
+
/** Apex (or aliases) that 301 to `canonicalSiteHost`. */
|
|
4265
|
+
redirectHosts?: string[];
|
|
4266
|
+
/** Canonical public site host (default `www.sideboard.cloud`). */
|
|
4267
|
+
canonicalSiteHost?: string;
|
|
4179
4268
|
}
|
|
4180
4269
|
interface SlackRelayServerHandle {
|
|
4181
4270
|
port: number;
|
|
@@ -4216,4 +4305,4 @@ interface SlackRelayClientOptions {
|
|
|
4216
4305
|
*/
|
|
4217
4306
|
declare function runSlackRelayClient(opts: SlackRelayClientOptions): Promise<void>;
|
|
4218
4307
|
|
|
4219
|
-
export { AGENT_GIT_ACTIONS, ATTACHMENTS_DIR, type ActiveRun, type AddStackLayerInput, type AdoptInput, type AdvancedAppSettings, type AgentAdapter, type AgentEvent, type AgentGitAction, type AgentInstructionFile, type AgentKind, type AgentModelCatalog, type AgentModelInfo, type AgentSetupActionResult, type AgentSetupInfo, type AgentSetupKind, type AgentStatus, type AgentTurnInput, type AnthropicCacheControl, type AppSettings, type ApplyIntoMainResult, type AttachCommand, type Autonomy, BAKED_SLACK_RELAY_URL, BRIGHTSY_MCP_ALLOWED_TOOLS, type BranchInfo, type BrightsyAccount, type BrightsyChatTarget, type BrightsyChatTargets, type BrightsyCloudConnectAgent, type BrightsyHarnessSettings, type BrightsySession, BrightsySideboardApi, type BrightsyTeamTargets, CLAUDE_MODEL_CATALOG, CLOUD_COORDINATOR_BUSY_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, COORDINATOR_TOOL_PLAYBOOK, type CaffeinateHoldState, type ClaudeHarnessSettings, type CleanupOrphansResult, type CliAgentKind, type CliExecutableSettings, type CloudConnectAgent, type CloudConnectOptions, type CloudConnectStatus, type CompactResult, type CompactThresholds, type ComposerFileBuffer, type ConductorSettings, type ConductorWorkspace, type ConnectedBrightsyTeamInfo, type CreateChatTabInput, type CreateGlobalChatOpts, type CreateStackInput, type CreateThreadInput, type CreateWorktreeResult, type CursorModelInfo, type CursorSdkStreamMessage, type CursorTurnRequest, type CursorWorktreesConfig, type DefaultsAppSettings, type DevServerHandle, type DiffCommentInput, type DiffCommentLine, type DiffCommit, type DiffFile, type DiffResult, type DiffScope, type DiffScopeStat, type ExpandResult, FAMOUS_SOCCER_TEAMS, type ForkChatTabInput, type ForkThreadWorktreeInput, type FormatGhLandErrorOptions, GLOBAL_WORKSPACE_ID, type GetDiffOptions, type GhStackStatus, type GitHubStatus, type GitWorktreeStatus, HARNESS_ENV_KEYS, type HarnessId, type InitStackFromThreadInput, type IntegrationsSettings, type IpcApi, type IssueInfo, type IssueSource, LEGACY_ATTACHMENTS_DIR, LEGACY_PLAN_FILE_REL, LEGACY_REVIEW_REQUEST_PATH, LINEAR_OAUTH_CANCELLED, LINEAR_OAUTH_PORT, LINEAR_OAUTH_REDIRECT, LINEAR_OAUTH_SCOPES, type LandPreview, type LandResult, type LinearComment, type LinearIssue, LinearOAuthCancelledError, type LinearTeam, type LinearTeamsResult, type LinearWorkflowState, type ListIssuesResult, MAX_ANTHROPIC_CACHE_CONTROL_BLOCKS, type McpServerStatus, type MessagePart, ORCHESTRATOR_AGENT_KINDS, type OpenPrStackLayersInput, type OpenStackLayerInput, type OpenStackLayerResult, type OrchestrationQuotaOnLimit, Orchestrator, type OrchestratorAgentKind, type OrchestratorEvent, type OrchestratorRuntime, type OrphanWorktree, PASTE_ATTACH_MIN_CHARS, PASTE_ATTACH_MIN_LINES, PLAN_FILE_NAME, PLAN_FILE_REL, PLAN_MODE_INSTRUCTION, type PendingPlanQuestions, type PlanQuestion, type PlanQuestionAnswer, type PlanQuestionOption, type PlanToolPartLike, type PrActor, type PrCheckRun, type PrCommentInfo, type PrCommitInfo, type PrDetails, type PrInfo, type PrMeta, type PrReviewInfo, type PrStack, type PrStackLayer, type PresentedPlan, type PublicAppSettings, type PublicIntegrationsSettings, REPO_REVIEW_NAME, REPO_REVIEW_PATH, REVIEW_REQUEST_NAME, REVIEW_REQUEST_PATH, REVIEW_REQUEST_PREFILL, type RepoSettings, type RepoSetupInfo, type RequestReviewResult, type ResolvedReviewGuidelines, type ReviewGuidelinesSource, type RunMode, type RunScript, SIDEBOARD_FORCE_STOP, SIDEBOARD_MCP_ALLOWED_TOOLS, SIDEBOARD_MCP_PROFILE_ENV, SLACK_LISTEN_BUSY_REPLY, SLACK_LISTEN_STOPPED_REPLY, SLACK_LISTEN_TIMEOUT_REPLY, SLACK_OAUTH_CANCELLED, SLACK_OAUTH_REDIRECT, SLACK_REPLY_FORMATTING, SLACK_SEEN_REACTION, type ScriptHandle, type SideboardMcpProfile, type SkillInfo, type SlackInboundMessage, type SlackListenOptions, type SlackListenStatus, SlackOAuthCancelledError, type SlackOutboundReply, type SlackOutboundWatch, type SlackRelayClientMessage, type SlackRelayClientOptions, SlackRelayHub, type SlackRelayServerHandle, type SlackRelayServerMessage, type SlackRelayServerOptions, type SlackReplyBadge, type SlackWorkspaceInfo, type SourceType, type SpawnTurnHandle, type SummarizeResult, THINKING_EFFORTS, type TeamName, type ThinkingEffort, type Thread, type ThreadAttachment, type ThreadMessage, type ThreadOptionsPatch, type ThreadStatus, type TokenUsage, type ToolPartLike, type TranscriptToolDetail, type TurnCommand, type UsageScope, type Workspace, type WorkspaceInventoryEntry, type WorkspaceScriptEnvOpts, ackSlackInboundSeen, addPrStackLayer, addStackLayerFromThread, addWorkspace, adoptThread, agentGitPrompt, allAdapters, allocatePort, allocatePortRange, allocateTeamName, allocateTeamSlug, appDataDir, appSettingsPath, appendMessage, applyAgentEvent, applyAppEnvironment, applyCompaction, applyThreadIntoMain, applyTurnUsage, assertOrchestratorCapableAgent, attachmentFromAbsolutePath, attachmentsFromBuffers, attachmentsFromWorktreePaths, attachmentsGitignoreBody, autoArchiveOnMergeEnabled, autoCleanupOrphansEnabled, autoRenameBranchEnabled, autoRunAfterSetupEnabled, branchDisplayLabel, brightsyAdapter, brightsyCloudConnectAgent, brightsyCloudConnectEnabled, brightsyConfigPath, brightsyInjectWorktreeMcpEnabled, brightsyMcpAllowedTools, brightsyMcpServerName, buildCachedUserContent, buildClaudeStreamJsonUserMessage, buildDiffCommentAttachment, buildForkTranscriptAttachment, buildPastedTextAttachment, buildReviewRequestAttachment, buildSessionSeed, buildWorkspaceScriptEnv, caffeinateHoldPath, caffeinateWhileCloudConnectEnabled, caffeinateWhileRunningEnabled, caffeinateWhileSlackListenEnabled, captureLoginEnv, captureTurnBaseline, checkoutPrStackLayer, childEnvWithAppSettings, claudeAdapter, claudeChromeEnabled, claudeUserSettingsPath, cleanupOrphanWorktrees, cloneRepoIntoSideboard, codexAdapter, coerceOrchestratorAgent, collectTakenTeamSlugs, commentLinearIssue, commitAll, conductorBundledBinDir, conductorDbPath, confirmLand, connectBrightsyTeam, connectSlackToken, contextTokens, coordinatorSystemPrompt, coordinatorTurnReminder, copyConfiguredFiles, countCacheControlBlocks, createChatTab, createEmptyThread, createExistingBranchWorktree, createGlobalChat, createLinearIssue, createLinearPkce, createOrUpdatePr, createPrStack, createThread, createThreadWorktree, currentBranch, cursorAdapter, cursorSdkMessageToEvents, decodeBrightsyTarget, deleteBranchOnPurgeEnabled, deleteThreadRecord, detectAgents, detectGhStack, detectLocalMergeConflicts, disconnectBrightsyTeam, disconnectLinear, disconnectLinearConnection, disconnectSlackWorkspace, discoverSkills, dismissSlackReplyBadge, dropCachedPrefixOnResume, encodeBrightsyTarget, enrichPathWithNpmGlobalBin, enrichWorkspacesWithGithub, ensureAgentPath, ensureCloudCoordinator, ensureGhPreferOrigin, ensureGlobalCoordinatorCwd, ensureReviewRequestFile, ensureSlackCoordinator, ensureSlackDeviceIdentity, ensureWorkspace, estimateMessageChars, estimateThreadChars, expandComposerPrompt, extractGhErrorDetail, extractPendingPlanQuestions, extractPresentedPlan, extractiveSummary, fetchPrHead, finalizeParts, findInvalidCacheControlTtlOrder, findOrphanWorktrees, findThreadByRef, findThreadForStackLayer, flattenTurnInput, forkChatTab, forkMessageSlice, forkThreadWorktree, formatAgentInstructions, formatArtifactDirective, formatBrightsyFetchError, formatFetchError, formatGhLandError, formatIpcInvokeError, formatMessagesAsTranscript, formatPlanQuestionAnswers, formatPlanQuestionsForChat, formatRateLimitResetHint, formatRenameBranchDirective, formatSlackExternalReplyPrompt, formatSlackInboundPrompt, formatSlackRepliesForTurn, formatSlackSignedReply, formatTranscriptMarkdown, formatWorkspaceInventory, formatWorktreeDirective, formatWorktreeReminder, getAdapter, getAgentSetupInfo, getBrightsySession, getCaffeinateHold, getDefaultAgent, getDefaultEffort, getDefaultFast, getDefaultModel, getDefaultRunScript, getDiff, getDiffSummary, getGitHubStatus, getIssueSource, getLinearApiKey, getLinearAuthToken, getLinearIssue, getOrchestrator, getPr, getPrChecks, getPrDetails, getPrMeta, getPrStack, getRepoSetupInfo, getRunMode, getRunScript, getSlackWorkspace, gh, ghHeadRef, ghRepoSelectArgs, git, globalAgentCwd, handleSlackInbound, harnessEnvKey, hasBakedLinearOAuth, hasBakedSlackOAuth, hasConductorHook, hasCursorWorktreeSetup, hasRepoHook, hasWorkspaceHook, healOrchestrationSoccerTitles, httpFetch, importConductorWorkspace, importConductorWorkspaceAsync, initPrStack, initStackFromThread, initializeGitRepository, inspectGitWorktree, installAgent, isAskUserToolName, isBrightsyConnected, isBrightsyNdjsonLine, isCloudCoordinatorThread, isConductorBundledCli, isCursorAutoModel, isDirty, isGhRateLimitError, isGlobalRepoPath, isGlobalThread, isImageFilePath, isInPrStack, isInboundForThisDesktop, isLinearConnected, isLinearOAuthCancelled, isOrchestratorCapableAgent, isOrchestratorThread, isPidAlive, isPlaceholderBranch, isPresentPlanToolName, isSessionQuotaLimit, isSideboardScratchPath, isSlackCoordinatorThread, isSlackExternalReplyPrompt, isSlackOAuthCancelled, isThinkingEffort, isThreadCaffeinated, isWorkspaceScratchPath, linearAuthorizationHeader, linearGraphql, linearOAuthAuthorizeUrl, linearOAuthCredentials, listAgentSetupInfo, listBranchCommits, listBranches, listBrightsyAccounts, listBrightsyChatTargets, listCodexModels, listConductorWorkspaces, listConnectedBrightsyTeams, listCursorModels, listGitHubIssues, listGlobalThreads, listIssues, listLinearIssues, listLinearIssuesDirect, listLinearTeams, listModelsForAgent, listOpencodeModels, listPrs, listRunScripts, listSlackOutboundWatches, listSlackReplyBadges, listSlackWorkspaces, listThreads, listWorkspaces, listWorktreeFiles, listWorktrees, loadAgentInstructions, loadAppSettings, loadBrightsyConfig, loadConductorSettings, loadRepoSettings, loadWorkspaceSettings, locksDir, loginAgent, lookupSoccerTeam, maxConcurrentAgents, maybeCompactContext, mcpAllowTools, mcpAuthWarnings, mergePr, mergePrStack, mergeUsage, nextPastedTextName, nextThinkingEffort, normalizeParseResult, normalizeThinkingEffort, normalizeThread, normalizeTurnInput, normalizeWorktreePath, openInSystemTerminal, openPrStackLayers, openStackLayer, opencodeAdapter, orchestrationQuotaFallbackAgent, orchestrationQuotaOnLimit, orchestrationTitleNeedsSoccerNickname, orchestratorSessionPoisonedByBuiltins, originGhRepoEnv, parseCursorRunnerLine, parseForceStopMessage, parseGhStackViewJson, parseGithubSlugFromRemoteUrl, parseMcpList, parsePlanQuestionsInput, parseSessionQuotaResetAt, parseSlackRelayClientMessage, parseSlackRelayServerMessage, partsToAssistantText, pastedTextStats, pendingSlackExternalReplies, permalinkForSlackReplyBadge, permissionMode, persistVaultKeyInKeychain, planFileAbs, posixShellSingleQuote, prepareTerminalCommand, previewLand, promptMentionsBrightsy, pushBranch, readExistingReviewRequestFile, readKeychainVaultKey, readPlanFile, readSkillBody, readThread, readWorktreeFile, readWorktreeFileForUpload, readWorktreeInclude, recordSlackOutboundWatch, refreshGitHubAuth, refreshSlackReplyBadges, releaseCaffeinateHoldForThread, removeWorkspace, removeWorktree, repoSlug, requestOccupancy, requestReview, requireAgent, resetGhStackDetectCache, resolveAgentExecutable, resolveClaudeExecutable, resolveCommandBinarySync, resolveConductorCursorAgentId, resolveCursorModelId, resolveDefaultBranch, resolveDiffBaseRef, resolveEffectiveIssueSource, resolveFilesToCopy, resolveGhAuthToken, resolveGithubRepoSlug, resolveLinearState, resolveLinearTeam, resolveLoginCommand, resolveNewThreadOptions, resolvePlanMarkdown, resolvePrSelector, resolveQuotaFallbackAgent, resolveRepoRoot, resolveReviewGuidelines, resolveSlackListenMode, resolveThreadDefaults, resolveThreadEffort, resolveVaultKey, resolveWorktreeStartPoint, rewriteLinearError, run, runArchiveScript, runCloudConnect, runCursorWorktreeSetup, runSetupScript, runSlackListen, runSlackRelayClient, sameWorktreePath, sanitizeMcpServerName, saveAppSettings, saveLinearOAuth, secureFileUnlocksWith, setCaffeinateHold, setHttpFetchImpl, setStatus, setVaultMasterKey, settingsSourceLabel, shouldAttachPastedText, shouldCompactContext, shouldInjectBrightsyMcp, shouldRefreshReviewRequestTemplate, shouldRunWorktreeCleanup, sideboardHomeDir, sideboardMcpProfile, sideboardReposDir, sideboardWorkspacesDir, slackAppLevelToken, slackArchiveUrl, slackCoordinatorSourceRef, slackListenEnabled, slackOAuthCredentials, slackOAuthResultUrl, slackRelayUrl, slugify, spawnAgentTurn, splitForCompaction, stackAgentDefaultsFrom, stackIdFrom, stackMergeReadiness, stageAbsolutePathsAsAttachments, stageBuffersAsAttachments, startDevServer, startLinearOAuth, startMcpServer, startOrchestration, startSlackOAuth, startSlackRelayServer, stripBrightsyNdjsonNoise, submitPrStack, suggestSlug, summarizeConversation, switchBrightsyAccount, syncWorkspacesFromThreads, takenTeamSlugsForChatTab, takenTeamSlugsForOrchestration, taskMessageText, thinkingEffortBars, thinkingEffortLabel, threadDisplayLabel, threadFilePath, threadLockPath, threadRequestsBrightsyMcp, threadsDir, threadsSharingWorktree, toPublicAppSettings, toolDescription, toolDetail, toolFilePath, totalTokens, updateAdvancedSettings, updateAgentExecutable, updateAppEnvironment, updateBrightsySettings, updateClaudeSettings, updateCodexSettings, updateDefaultsSettings, updateIntegrationsSettings, updateLinearIssue, updateOpencodeSettings, updateThread, validateLinearApiKey, withAgentInstructions, withExportedPath, withThreadLock, workspaceSettingsSourceLabel, worktreeCleanupSettings, worktreeDisplayLabel, worktreeDisplayLabelForGroup, worktreeNameFromPath, worktreesRoot, writeInjectedMcpConfig, writePlanFile, writeThread, writeWorktreeFile };
|
|
4308
|
+
export { AGENT_GIT_ACTIONS, ATTACHMENTS_DIR, type ActiveRun, type AddStackLayerInput, type AdoptInput, type AdvancedAppSettings, type AgentAdapter, type AgentEvent, type AgentGitAction, type AgentInstructionFile, type AgentKind, type AgentModelCatalog, type AgentModelInfo, type AgentSetupActionResult, type AgentSetupInfo, type AgentSetupKind, type AgentStatus, type AgentTurnInput, type AnthropicCacheControl, type AppSettings, type ApplyIntoMainResult, type AttachCommand, type Autonomy, BAKED_SLACK_RELAY_URL, BRIGHTSY_MCP_ALLOWED_TOOLS, type BranchInfo, type BrightsyAccount, type BrightsyChatTarget, type BrightsyChatTargets, type BrightsyCloudConnectAgent, type BrightsyHarnessSettings, type BrightsySession, BrightsySideboardApi, type BrightsyTeamTargets, CLAUDE_MODEL_CATALOG, CLOUD_COORDINATOR_BUSY_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, COORDINATOR_TOOL_PLAYBOOK, type CaffeinateHoldState, type ClaudeHarnessSettings, type CleanupOrphansResult, type CliAgentKind, type CliExecutableSettings, type CloudConnectAgent, type CloudConnectOptions, type CloudConnectStatus, type CompactResult, type CompactThresholds, type ComposerFileBuffer, type ConductorSettings, type ConductorWorkspace, type ConnectedBrightsyTeamInfo, type CreateChatTabInput, type CreateGlobalChatOpts, type CreateStackInput, type CreateThreadInput, type CreateWorktreeResult, type CursorModelInfo, type CursorSdkStreamMessage, type CursorTurnRequest, type CursorWorktreesConfig, type DefaultsAppSettings, type DevServerHandle, type DiffCommentInput, type DiffCommentLine, type DiffCommit, type DiffFile, type DiffResult, type DiffScope, type DiffScopeStat, type ExpandResult, FAMOUS_SOCCER_TEAMS, type ForkChatTabInput, type ForkThreadWorktreeInput, type FormatGhLandErrorOptions, GITHUB_GIT_AUTH_MODES, GLOBAL_WORKSPACE_ID, type GetDiffOptions, type GhStackStatus, type GitHubStatus, type GitWorktreeStatus, type GithubGitAuthMode, HARNESS_ENV_KEYS, type HarnessId, type InitStackFromThreadInput, type IntegrationsSettings, type IpcApi, type IssueInfo, type IssueSource, LEGACY_ATTACHMENTS_DIR, LEGACY_PLAN_FILE_REL, LEGACY_REVIEW_REQUEST_PATH, LINEAR_OAUTH_CANCELLED, LINEAR_OAUTH_PORT, LINEAR_OAUTH_REDIRECT, LINEAR_OAUTH_SCOPES, type LandPreview, type LandResult, type LinearComment, type LinearIssue, LinearOAuthCancelledError, type LinearTeam, type LinearTeamsResult, type LinearWorkflowState, type ListIssuesResult, MAX_ANTHROPIC_CACHE_CONTROL_BLOCKS, type McpServerStatus, type MessagePart, ORCHESTRATOR_AGENT_KINDS, type OpenPrStackLayersInput, type OpenStackLayerInput, type OpenStackLayerResult, type OrchestrationQuotaOnLimit, Orchestrator, type OrchestratorAgentKind, type OrchestratorEvent, type OrchestratorRuntime, type OrphanWorktree, PASTE_ATTACH_MIN_CHARS, PASTE_ATTACH_MIN_LINES, PLAN_FILE_NAME, PLAN_FILE_REL, PLAN_MODE_INSTRUCTION, type PendingPlanQuestions, type PlanQuestion, type PlanQuestionAnswer, type PlanQuestionOption, type PlanToolPartLike, type PrActor, type PrCheckRun, type PrCommentInfo, type PrCommitInfo, type PrDetails, type PrInfo, type PrMeta, type PrReviewInfo, type PrStack, type PrStackLayer, type PresentedPlan, type PublicAppSettings, type PublicIntegrationsSettings, REPO_REVIEW_NAME, REPO_REVIEW_PATH, REVIEW_REQUEST_NAME, REVIEW_REQUEST_PATH, REVIEW_REQUEST_PREFILL, type RepoSettings, type RepoSetupInfo, type RequestReviewResult, type ResolvedReviewGuidelines, type ReviewGuidelinesSource, type RunMode, type RunScript, SIDEBOARD_FORCE_STOP, SIDEBOARD_MCP_ALLOWED_TOOLS, SIDEBOARD_MCP_PROFILE_ENV, SLACK_LISTEN_BUSY_REPLY, SLACK_LISTEN_STOPPED_REPLY, SLACK_LISTEN_TIMEOUT_REPLY, SLACK_OAUTH_CANCELLED, SLACK_OAUTH_REDIRECT, SLACK_REPLY_FORMATTING, SLACK_SEEN_REACTION, type ScriptHandle, type SideboardMcpProfile, type SkillInfo, type SlackInboundMessage, type SlackListenOptions, type SlackListenStatus, SlackOAuthCancelledError, type SlackOutboundReply, type SlackOutboundWatch, type SlackRelayClientMessage, type SlackRelayClientOptions, SlackRelayHub, type SlackRelayServerHandle, type SlackRelayServerMessage, type SlackRelayServerOptions, type SlackReplyBadge, type SlackWorkspaceInfo, type SourceType, type SpawnTurnHandle, type SummarizeResult, THINKING_EFFORTS, type TeamName, type ThinkingEffort, type Thread, type ThreadAttachment, type ThreadMessage, type ThreadOptionsPatch, type ThreadStatus, type TokenUsage, type ToolPartLike, type TranscriptToolDetail, type TurnCommand, type UsageScope, type Workspace, type WorkspaceInventoryEntry, type WorkspaceScriptEnvOpts, ackSlackInboundSeen, addPrStackLayer, addStackLayerFromThread, addWorkspace, adoptThread, agentGitPrompt, allAdapters, allocatePort, allocatePortRange, allocateTeamName, allocateTeamSlug, appDataDir, appSettingsPath, appendIndexedGitConfig, appendMessage, applyAgentEvent, applyAppEnvironment, applyCompaction, applyGithubGitAuthEnv, applyThreadIntoMain, applyTurnUsage, assertOrchestratorCapableAgent, attachmentFromAbsolutePath, attachmentsFromBuffers, attachmentsFromWorktreePaths, attachmentsGitignoreBody, autoArchiveOnMergeEnabled, autoCleanupOrphansEnabled, autoRenameBranchEnabled, autoRunAfterSetupEnabled, branchDisplayLabel, brightsyAdapter, brightsyCloudConnectAgent, brightsyCloudConnectEnabled, brightsyConfigPath, brightsyInjectWorktreeMcpEnabled, brightsyMcpAllowedTools, brightsyMcpServerName, buildCachedUserContent, buildClaudeStreamJsonUserMessage, buildDiffCommentAttachment, buildForkTranscriptAttachment, buildPastedTextAttachment, buildReviewRequestAttachment, buildSessionSeed, buildWorkspaceScriptEnv, caffeinateHoldPath, caffeinateWhileCloudConnectEnabled, caffeinateWhileRunningEnabled, caffeinateWhileSlackListenEnabled, captureLoginEnv, captureTurnBaseline, checkoutPrStackLayer, childEnvWithAppSettings, claudeAdapter, claudeChromeEnabled, claudeUserSettingsPath, cleanupOrphanWorktrees, cloneRepoIntoSideboard, codexAdapter, coerceOrchestratorAgent, collectTakenTeamSlugs, commentLinearIssue, commitAll, conductorBundledBinDir, conductorDbPath, confirmLand, connectBrightsyTeam, connectSlackToken, contextTokens, coordinatorSystemPrompt, coordinatorTurnReminder, copyConfiguredFiles, countCacheControlBlocks, createChatTab, createEmptyThread, createExistingBranchWorktree, createGlobalChat, createLinearIssue, createLinearPkce, createOrUpdatePr, createPrStack, createThread, createThreadWorktree, currentBranch, cursorAdapter, cursorSdkMessageToEvents, decodeBrightsyTarget, deleteBranchOnPurgeEnabled, deleteThreadRecord, detectAgents, detectGhStack, detectLocalMergeConflicts, disconnectBrightsyTeam, disconnectLinear, disconnectLinearConnection, disconnectSlackWorkspace, discoverSkills, dismissSlackReplyBadge, dropCachedPrefixOnResume, encodeBrightsyTarget, enrichPathWithNpmGlobalBin, enrichWorkspacesWithGithub, ensureAgentPath, ensureCloudCoordinator, ensureGhPreferOrigin, ensureGlobalCoordinatorCwd, ensureReviewRequestFile, ensureSlackCoordinator, ensureSlackDeviceIdentity, ensureWorkspace, estimateMessageChars, estimateThreadChars, expandComposerPrompt, extractGhErrorDetail, extractPendingPlanQuestions, extractPresentedPlan, extractiveSummary, fetchPrHead, finalizeParts, findInvalidCacheControlTtlOrder, findOrphanWorktrees, findThreadByRef, findThreadForStackLayer, flattenTurnInput, forkChatTab, forkMessageSlice, forkThreadWorktree, formatAgentInstructions, formatArtifactDirective, formatBrightsyFetchError, formatFetchError, formatGhLandError, formatGitAuthModeDirective, formatIpcInvokeError, formatMessagesAsTranscript, formatPlanQuestionAnswers, formatPlanQuestionsForChat, formatRateLimitResetHint, formatRenameBranchDirective, formatSlackExternalReplyPrompt, formatSlackInboundPrompt, formatSlackRepliesForTurn, formatSlackSignedReply, formatTranscriptMarkdown, formatWorkspaceInventory, formatWorktreeDirective, formatWorktreeReminder, fromInclusiveInputUsage, getAdapter, getAgentSetupInfo, getBrightsySession, getCaffeinateHold, getDefaultAgent, getDefaultEffort, getDefaultFast, getDefaultModel, getDefaultRunScript, getDiff, getDiffSummary, getGitHubStatus, getGithubGitAuthMode, getGithubPat, getIssueSource, getLinearApiKey, getLinearAuthToken, getLinearIssue, getOrchestrator, getPr, getPrChecks, getPrDetails, getPrMeta, getPrStack, getRepoSetupInfo, getRunMode, getRunScript, getSlackWorkspace, gh, ghHeadRef, ghRepoSelectArgs, git, githubAgentGitEnv, globalAgentCwd, handleSlackInbound, harnessEnvKey, hasBakedLinearOAuth, hasBakedSlackOAuth, hasConductorHook, hasCursorWorktreeSetup, hasRepoHook, hasWorkspaceHook, healOrchestrationSoccerTitles, httpFetch, importConductorWorkspace, importConductorWorkspaceAsync, initPrStack, initStackFromThread, initializeGitRepository, inspectGitWorktree, installAgent, isAskUserToolName, isBrightsyConnected, isBrightsyNdjsonLine, isCloudCoordinatorThread, isConductorBundledCli, isCursorAutoModel, isDirty, isGhRateLimitError, isGlobalRepoPath, isGlobalThread, isImageFilePath, isInPrStack, isInboundForThisDesktop, isLinearConnected, isLinearOAuthCancelled, isOrchestratorCapableAgent, isOrchestratorThread, isPidAlive, isPlaceholderBranch, isPresentPlanToolName, isSessionQuotaLimit, isSideboardScratchPath, isSlackCoordinatorThread, isSlackExternalReplyPrompt, isSlackOAuthCancelled, isThinkingEffort, isThreadCaffeinated, isWorkspaceScratchPath, linearAuthorizationHeader, linearGraphql, linearOAuthAuthorizeUrl, linearOAuthCredentials, listAgentSetupInfo, listBranchCommits, listBranches, listBrightsyAccounts, listBrightsyChatTargets, listCodexModels, listConductorWorkspaces, listConnectedBrightsyTeams, listCursorModels, listGitHubIssues, listGlobalThreads, listIssues, listLinearIssues, listLinearIssuesDirect, listLinearTeams, listModelsForAgent, listOpencodeModels, listPrs, listRunScripts, listSlackOutboundWatches, listSlackReplyBadges, listSlackWorkspaces, listThreads, listWorkspaces, listWorktreeFiles, listWorktrees, loadAgentInstructions, loadAppSettings, loadBrightsyConfig, loadConductorSettings, loadRepoSettings, loadWorkspaceSettings, locksDir, loginAgent, lookupSoccerTeam, maxConcurrentAgents, maybeCompactContext, mcpAllowTools, mcpAuthWarnings, mergePr, mergePrStack, mergeUsage, nextPastedTextName, nextThinkingEffort, normalizeParseResult, normalizeThinkingEffort, normalizeThread, normalizeTurnInput, normalizeWorktreePath, openInSystemTerminal, openPrStackLayers, openStackLayer, opencodeAdapter, orchestrationQuotaFallbackAgent, orchestrationQuotaOnLimit, orchestrationTitleNeedsSoccerNickname, orchestratorSessionPoisonedByBuiltins, originGhRepoEnv, parseCursorRunnerLine, parseForceStopMessage, parseGhStackViewJson, parseGithubSlugFromRemoteUrl, parseMcpList, parsePlanQuestionsInput, parseSessionQuotaResetAt, parseSlackRelayClientMessage, parseSlackRelayServerMessage, partsToAssistantText, pastedTextStats, pendingSlackExternalReplies, permalinkForSlackReplyBadge, permissionMode, persistVaultKeyInKeychain, planFileAbs, posixShellSingleQuote, prepareTerminalCommand, previewLand, promptMentionsBrightsy, pushBranch, readExistingReviewRequestFile, readKeychainVaultKey, readPlanFile, readSkillBody, readThread, readWorktreeFile, readWorktreeFileForUpload, readWorktreeInclude, recordSlackOutboundWatch, refreshGitHubAuth, refreshSlackReplyBadges, releaseCaffeinateHoldForThread, removeWorkspace, removeWorktree, repoSlug, requestOccupancy, requestReview, requireAgent, resetGhStackDetectCache, resolveAgentExecutable, resolveClaudeExecutable, resolveCommandBinarySync, resolveConductorCursorAgentId, resolveCursorModelId, resolveDefaultBranch, resolveDiffBaseRef, resolveEffectiveIssueSource, resolveFilesToCopy, resolveGhAuthToken, resolveGithubRepoSlug, resolveLinearState, resolveLinearTeam, resolveLoginCommand, resolveNewThreadOptions, resolvePlanMarkdown, resolvePrSelector, resolveQuotaFallbackAgent, resolveRepoRoot, resolveReviewGuidelines, resolveSlackListenMode, resolveThreadDefaults, resolveThreadEffort, resolveVaultKey, resolveWorktreeStartPoint, rewriteLinearError, run, runArchiveScript, runCloudConnect, runCursorWorktreeSetup, runSetupScript, runSlackListen, runSlackRelayClient, sameWorktreePath, sanitizeMcpServerName, saveAppSettings, saveLinearOAuth, secureFileUnlocksWith, setCaffeinateHold, setHttpFetchImpl, setStatus, setVaultMasterKey, settingsSourceLabel, shouldAttachPastedText, shouldCompactContext, shouldInjectBrightsyMcp, shouldRefreshReviewRequestTemplate, shouldRunWorktreeCleanup, sideboardHomeDir, sideboardMcpProfile, sideboardReposDir, sideboardWorkspacesDir, slackAppLevelToken, slackArchiveUrl, slackCoordinatorSourceRef, slackListenEnabled, slackOAuthCredentials, slackOAuthResultUrl, slackRelayUrl, slugify, spawnAgentTurn, splitForCompaction, stackAgentDefaultsFrom, stackIdFrom, stackMergeReadiness, stageAbsolutePathsAsAttachments, stageBuffersAsAttachments, startDevServer, startLinearOAuth, startMcpServer, startOrchestration, startSlackOAuth, startSlackRelayServer, stripBrightsyNdjsonNoise, stripNestedElectronEnv, submitPrStack, suggestSlug, summarizeConversation, switchBrightsyAccount, syncWorkspacesFromThreads, takenTeamSlugsForChatTab, takenTeamSlugsForOrchestration, taskMessageText, thinkingEffortBars, thinkingEffortLabel, threadDisplayLabel, threadFilePath, threadLockPath, threadRequestsBrightsyMcp, threadsDir, threadsSharingWorktree, toPublicAppSettings, toolDescription, toolDetail, toolFilePath, totalTokens, updateAdvancedSettings, updateAgentExecutable, updateAppEnvironment, updateBrightsySettings, updateClaudeSettings, updateCodexSettings, updateDefaultsSettings, updateIntegrationsSettings, updateLinearIssue, updateOpencodeSettings, updateThread, validateLinearApiKey, withAgentInstructions, withExportedPath, withThreadLock, workspaceSettingsSourceLabel, worktreeCleanupSettings, worktreeDisplayLabel, worktreeDisplayLabelForGroup, worktreeNameFromPath, worktreesRoot, writeInjectedMcpConfig, writePlanFile, writeThread, writeWorktreeFile };
|
package/dist/index.d.ts
CHANGED
|
@@ -45,8 +45,10 @@ type MessagePart = {
|
|
|
45
45
|
};
|
|
46
46
|
/** Token usage for a single agent turn, aggregated across the turn's API calls. */
|
|
47
47
|
interface TokenUsage {
|
|
48
|
+
/** Uncached prompt tokens. Adapters must subtract provider cache hits first. */
|
|
48
49
|
inputTokens: number;
|
|
49
50
|
outputTokens: number;
|
|
51
|
+
/** Cache hits, not included in `inputTokens` (Claude-shaped). */
|
|
50
52
|
cacheReadTokens?: number;
|
|
51
53
|
cacheWriteTokens?: number;
|
|
52
54
|
/**
|
|
@@ -628,9 +630,21 @@ interface BrightsyHarnessSettings {
|
|
|
628
630
|
}
|
|
629
631
|
/** Preferred issue tracker for Create-from / Link issue. */
|
|
630
632
|
type IssueSource = 'linear' | 'github';
|
|
633
|
+
/**
|
|
634
|
+
* How Sideboard and worktree agents authenticate GitHub git operations.
|
|
635
|
+
* A declared mode so the app and injected prompts agree. Sideboard never
|
|
636
|
+
* uses a third-party GitHub App (including Conductor.build) for git auth.
|
|
637
|
+
* - `auto` (default): keep remotes as-is (SSH first); prompt HTTPS/`gh` fallback
|
|
638
|
+
* - `gh`: rewrite SSH remotes to HTTPS; `gh auth git-credential`
|
|
639
|
+
* - `ssh`: keep `git@` remotes; use this Mac’s SSH agent
|
|
640
|
+
* - `token`: stored PAT + HTTPS rewrite; `GH_TOKEN` in the agent env
|
|
641
|
+
*/
|
|
642
|
+
type GithubGitAuthMode = 'auto' | 'gh' | 'ssh' | 'token';
|
|
643
|
+
declare const GITHUB_GIT_AUTH_MODES: readonly ["auto", "gh", "ssh", "token"];
|
|
631
644
|
/**
|
|
632
645
|
* Sideboard-owned third-party connections (Account / Integrations).
|
|
633
|
-
* GitHub uses
|
|
646
|
+
* GitHub uses a declared git-auth mode (`gh` / SSH / PAT); Linear uses OAuth
|
|
647
|
+
* (or a stored API key).
|
|
634
648
|
*/
|
|
635
649
|
interface IntegrationsSettings {
|
|
636
650
|
/** Linear personal API key (https://linear.app/settings/api). Fallback when OAuth is unused. */
|
|
@@ -672,6 +686,13 @@ interface IntegrationsSettings {
|
|
|
672
686
|
slackDeviceId?: string;
|
|
673
687
|
/** Human label for this Mac destination, e.g. Personal / Work. */
|
|
674
688
|
slackDeviceLabel?: string;
|
|
689
|
+
/**
|
|
690
|
+
* How agents and Sideboard git helpers authenticate GitHub.
|
|
691
|
+
* Omitted = {@link getGithubGitAuthMode} default (`auto`).
|
|
692
|
+
*/
|
|
693
|
+
githubGitAuthMode?: GithubGitAuthMode;
|
|
694
|
+
/** Fine-grained or classic PAT when mode is `token` (vaulted). */
|
|
695
|
+
githubPat?: string;
|
|
675
696
|
}
|
|
676
697
|
/**
|
|
677
698
|
* Conductor-inspired power-user preferences (Settings → Advanced).
|
|
@@ -754,12 +775,14 @@ interface AppSettings {
|
|
|
754
775
|
advanced: AdvancedAppSettings;
|
|
755
776
|
}
|
|
756
777
|
/** Integrations fields safe to send to the renderer (no token values). */
|
|
757
|
-
type PublicIntegrationsSettings = Omit<IntegrationsSettings, 'linearApiKey' | 'linearAccessToken' | 'linearRefreshToken' | 'linearClientSecret' | 'slackClientSecret' | 'slackAppToken'> & {
|
|
778
|
+
type PublicIntegrationsSettings = Omit<IntegrationsSettings, 'linearApiKey' | 'linearAccessToken' | 'linearRefreshToken' | 'linearClientSecret' | 'slackClientSecret' | 'slackAppToken' | 'githubPat'> & {
|
|
758
779
|
/** True when Linear is connected (OAuth or API key). */
|
|
759
780
|
hasLinearApiKey: boolean;
|
|
760
781
|
hasLinearOAuth: boolean;
|
|
761
782
|
hasSlackClientSecret: boolean;
|
|
762
783
|
hasSlackAppToken: boolean;
|
|
784
|
+
/** True when a GitHub PAT is stored (token mode). */
|
|
785
|
+
hasGithubPat: boolean;
|
|
763
786
|
};
|
|
764
787
|
/** Settings payload for the desktop UI. Secret values are omitted. */
|
|
765
788
|
type PublicAppSettings = Omit<AppSettings, 'integrations'> & {
|
|
@@ -799,6 +822,8 @@ declare function updateIntegrationsSettings(patch: {
|
|
|
799
822
|
slackListenEnabled?: boolean | null;
|
|
800
823
|
slackDeviceId?: string | null;
|
|
801
824
|
slackDeviceLabel?: string | null;
|
|
825
|
+
githubGitAuthMode?: GithubGitAuthMode | null;
|
|
826
|
+
githubPat?: string | null;
|
|
802
827
|
}): AppSettings;
|
|
803
828
|
declare function updateDefaultsSettings(patch: {
|
|
804
829
|
agent?: AgentKind | null;
|
|
@@ -852,6 +877,10 @@ declare function saveLinearOAuth(input: {
|
|
|
852
877
|
declare function disconnectLinearConnection(): AppSettings;
|
|
853
878
|
/** Preferred issue source (default GitHub). */
|
|
854
879
|
declare function getIssueSource(settings?: AppSettings): IssueSource;
|
|
880
|
+
/** Declared GitHub git-auth mode (default `auto`). */
|
|
881
|
+
declare function getGithubGitAuthMode(settings?: AppSettings): GithubGitAuthMode;
|
|
882
|
+
/** Stored GitHub PAT for `token` mode (null when unset). */
|
|
883
|
+
declare function getGithubPat(settings?: AppSettings): string | null;
|
|
855
884
|
/**
|
|
856
885
|
* Runtime issue source: honors preference, but falls back to GitHub when
|
|
857
886
|
* Linear is preferred and not connected.
|
|
@@ -1107,6 +1136,31 @@ declare function formatGhLandError(raw: string, opts?: FormatGhLandErrorOptions)
|
|
|
1107
1136
|
/** Strip Electron's IPC invoke wrapper, then humanize known gh failures. */
|
|
1108
1137
|
declare function formatIpcInvokeError(err: unknown): string;
|
|
1109
1138
|
|
|
1139
|
+
type EnvLike = NodeJS.ProcessEnv | Record<string, string | undefined>;
|
|
1140
|
+
/**
|
|
1141
|
+
* Append `GIT_CONFIG_KEY_n` / `VALUE_n` entries without clobbering inherited
|
|
1142
|
+
* command-scoped git config (enterprise insteadOf, custom certs, …).
|
|
1143
|
+
*/
|
|
1144
|
+
declare function appendIndexedGitConfig(existing: EnvLike | undefined, entries: Array<{
|
|
1145
|
+
key: string;
|
|
1146
|
+
value: string;
|
|
1147
|
+
}>): Record<string, string>;
|
|
1148
|
+
/**
|
|
1149
|
+
* Rewrite GitHub SSH remotes to HTTPS and let `gh` supply credentials.
|
|
1150
|
+
* GUI / agent shells often have no ssh-agent; `gh` keyring still works.
|
|
1151
|
+
*/
|
|
1152
|
+
declare function githubAgentGitEnv(existing?: EnvLike): Record<string, string>;
|
|
1153
|
+
/**
|
|
1154
|
+
* Extra env for a worktree agent given Account → GitHub git-auth mode.
|
|
1155
|
+
* Does not set `GH_REPO` (caller adds that after resolving origin).
|
|
1156
|
+
*/
|
|
1157
|
+
declare function applyGithubGitAuthEnv(existing: EnvLike | undefined, opts: {
|
|
1158
|
+
mode: GithubGitAuthMode;
|
|
1159
|
+
token?: string | null;
|
|
1160
|
+
}): Record<string, string>;
|
|
1161
|
+
/** Injected prompt block so agents use the same git path as Sideboard. */
|
|
1162
|
+
declare function formatGitAuthModeDirective(mode: GithubGitAuthMode): string;
|
|
1163
|
+
|
|
1110
1164
|
interface TeamName {
|
|
1111
1165
|
name: string;
|
|
1112
1166
|
slug: string;
|
|
@@ -1185,11 +1239,16 @@ declare function ghHeadRef(slug: string, branch: string): string;
|
|
|
1185
1239
|
* Pin the CLI default to `origin` once per repo (shared by all worktrees).
|
|
1186
1240
|
*/
|
|
1187
1241
|
declare function ensureGhPreferOrigin(cwd: string): Promise<void>;
|
|
1242
|
+
|
|
1188
1243
|
/**
|
|
1189
1244
|
* Env pin so bare `gh` (and agents) target this checkout's **origin**, not
|
|
1190
1245
|
* Makerkit-style `upstream`. `GH_REPO` is the CLI's documented override.
|
|
1246
|
+
* HTTPS rewrite / `GH_TOKEN` follow Account → GitHub git-auth mode.
|
|
1191
1247
|
*/
|
|
1192
|
-
declare function originGhRepoEnv(cwd: string
|
|
1248
|
+
declare function originGhRepoEnv(cwd: string, opts?: {
|
|
1249
|
+
env?: NodeJS.ProcessEnv | Record<string, string | undefined>;
|
|
1250
|
+
mode?: GithubGitAuthMode;
|
|
1251
|
+
}): Promise<Record<string, string>>;
|
|
1193
1252
|
declare function resolveDefaultBranch(repoPath: string, opts?: {
|
|
1194
1253
|
network?: boolean;
|
|
1195
1254
|
}): Promise<string>;
|
|
@@ -1917,6 +1976,16 @@ declare function isBrightsyNdjsonLine(line: string): boolean;
|
|
|
1917
1976
|
declare function finalizeParts(parts: MessagePart[]): MessagePart[];
|
|
1918
1977
|
declare function normalizeParseResult(parsed: AgentEvent | AgentEvent[] | null): AgentEvent[];
|
|
1919
1978
|
|
|
1979
|
+
/**
|
|
1980
|
+
* OpenAI/Codex/Brightsy-shaped usage → Claude-shaped {@link TokenUsage}.
|
|
1981
|
+
* `cachedInputTokens` is already inside `inputTokens`; reasoning is already
|
|
1982
|
+
* inside `outputTokens` when the provider reports it separately.
|
|
1983
|
+
*/
|
|
1984
|
+
declare function fromInclusiveInputUsage(opts: {
|
|
1985
|
+
inputTokens: number;
|
|
1986
|
+
outputTokens: number;
|
|
1987
|
+
cachedInputTokens?: number;
|
|
1988
|
+
}): TokenUsage | null;
|
|
1920
1989
|
/** Prompt tokens occupying the context window for a single API call. */
|
|
1921
1990
|
declare function requestOccupancy(u: TokenUsage): number;
|
|
1922
1991
|
/** Accumulate incremental usage (one CLI turn may report usage in several steps). */
|
|
@@ -1973,6 +2042,7 @@ declare function formatRenameBranchDirective(thread: Pick<Thread, 'worktreePath'
|
|
|
1973
2042
|
*/
|
|
1974
2043
|
declare function formatWorktreeDirective(thread: Pick<Thread, 'worktreePath' | 'repoPath' | 'branchName'> & Partial<Pick<Thread, 'title' | 'prUrl'>>, opts?: {
|
|
1975
2044
|
githubSlug?: string | null;
|
|
2045
|
+
gitAuthMode?: GithubGitAuthMode;
|
|
1976
2046
|
}): string;
|
|
1977
2047
|
/**
|
|
1978
2048
|
* Tell agents how Sideboard renders Claude-style artifacts (side column).
|
|
@@ -2091,6 +2161,7 @@ interface WorkspaceScriptEnvOpts {
|
|
|
2091
2161
|
defaultBranch?: string;
|
|
2092
2162
|
ports?: number[];
|
|
2093
2163
|
}
|
|
2164
|
+
declare function stripNestedElectronEnv(env: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
|
|
2094
2165
|
/** Build Conductor/Sideboard env vars for setup/run scripts. */
|
|
2095
2166
|
declare function buildWorkspaceScriptEnv(opts: WorkspaceScriptEnvOpts, baseEnv?: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
|
|
2096
2167
|
interface ScriptHandle {
|
|
@@ -2849,10 +2920,13 @@ declare class Orchestrator {
|
|
|
2849
2920
|
*/
|
|
2850
2921
|
requestReview(threadRef: string): Promise<Thread>;
|
|
2851
2922
|
/**
|
|
2852
|
-
*
|
|
2853
|
-
*
|
|
2923
|
+
* Desktop git buttons + MCP `ask_git`.
|
|
2924
|
+
* When the worktree is clean, push / open the PR here (HTTPS via `gh` if SSH
|
|
2925
|
+
* is missing). When dirty, queue the worktree agent to commit first.
|
|
2854
2926
|
*/
|
|
2855
2927
|
askGit(threadRef: string, action: AgentGitAction): Promise<Thread>;
|
|
2928
|
+
/** Push origin (gh HTTPS fallback) and create/update the PR when requested. */
|
|
2929
|
+
private pushAndMaybeOpenPr;
|
|
2856
2930
|
setThreadOptions(threadRef: string, patch: ThreadOptionsPatch): Thread;
|
|
2857
2931
|
createChatTab(input: {
|
|
2858
2932
|
fromThreadId: string;
|
|
@@ -3100,6 +3174,7 @@ declare function coordinatorTurnReminder(opts: {
|
|
|
3100
3174
|
/**
|
|
3101
3175
|
* Write durable CLAUDE.md / AGENTS.md into the global synthetic cwd so Claude
|
|
3102
3176
|
* (and other agents that load AGENTS.md) keep orchestrator identity on resume.
|
|
3177
|
+
* Both files get the same body — they are filename aliases, not two documents.
|
|
3103
3178
|
* When `orchestratorThreadId` is set, embed that uuid so Codex/Claude resume
|
|
3104
3179
|
* cannot invent a stale parentThreadId.
|
|
3105
3180
|
*/
|
|
@@ -3129,8 +3204,10 @@ declare function cloneRepoIntoSideboard(opts: {
|
|
|
3129
3204
|
/**
|
|
3130
3205
|
* Sideboard MCP server — agent-facing judgment surface.
|
|
3131
3206
|
* Deliberately excludes ready-for-review confirm_land and purge_thread.
|
|
3132
|
-
* Orchestrators commit, push, open PRs
|
|
3133
|
-
*
|
|
3207
|
+
* Orchestrators commit, push, and open PRs via `ask_git` / `send_to_thread`
|
|
3208
|
+
* — they do not run git/gh from the synthetic home. `ask_git` pushes itself when
|
|
3209
|
+
* the worktree is already clean. Merge (`ask_git` action=merge) only when the
|
|
3210
|
+
* user explicitly asked.
|
|
3134
3211
|
*/
|
|
3135
3212
|
declare function startMcpServer(): Promise<void>;
|
|
3136
3213
|
|
|
@@ -3390,6 +3467,8 @@ interface IpcApi {
|
|
|
3390
3467
|
slackListenEnabled?: boolean | null;
|
|
3391
3468
|
slackDeviceId?: string | null;
|
|
3392
3469
|
slackDeviceLabel?: string | null;
|
|
3470
|
+
githubGitAuthMode?: GithubGitAuthMode | null;
|
|
3471
|
+
githubPat?: string | null;
|
|
3393
3472
|
}): Promise<PublicAppSettings>;
|
|
3394
3473
|
updateDefaultsSettings(patch: {
|
|
3395
3474
|
agent?: AgentKind | null;
|
|
@@ -3634,6 +3713,8 @@ interface IpcApi {
|
|
|
3634
3713
|
url: string;
|
|
3635
3714
|
state: string;
|
|
3636
3715
|
}>;
|
|
3716
|
+
/** Desktop git buttons: push/PR when clean, else queue the worktree agent. */
|
|
3717
|
+
askGit(threadRef: string, action: 'commit-push' | 'create-draft' | 'create-web' | 'resolve-conflicts' | 'merge'): Promise<Thread>;
|
|
3637
3718
|
archiveThread(threadRef: string): Promise<Thread>;
|
|
3638
3719
|
purgeThread(threadRef: string, opts?: {
|
|
3639
3720
|
deleteBranch?: boolean;
|
|
@@ -4176,6 +4257,14 @@ interface SlackRelayServerOptions {
|
|
|
4176
4257
|
hub?: SlackRelayHub;
|
|
4177
4258
|
/** Skip Slack Socket Mode (tests). */
|
|
4178
4259
|
skipSocketMode?: boolean;
|
|
4260
|
+
/** Optional marketing site root (Fly: `/app/site`). `/health` stays JSON. */
|
|
4261
|
+
staticRoot?: string;
|
|
4262
|
+
/** Hostnames that get the marketing site (e.g. `www.sideboard.cloud`). Empty = any host. */
|
|
4263
|
+
staticHosts?: string[];
|
|
4264
|
+
/** Apex (or aliases) that 301 to `canonicalSiteHost`. */
|
|
4265
|
+
redirectHosts?: string[];
|
|
4266
|
+
/** Canonical public site host (default `www.sideboard.cloud`). */
|
|
4267
|
+
canonicalSiteHost?: string;
|
|
4179
4268
|
}
|
|
4180
4269
|
interface SlackRelayServerHandle {
|
|
4181
4270
|
port: number;
|
|
@@ -4216,4 +4305,4 @@ interface SlackRelayClientOptions {
|
|
|
4216
4305
|
*/
|
|
4217
4306
|
declare function runSlackRelayClient(opts: SlackRelayClientOptions): Promise<void>;
|
|
4218
4307
|
|
|
4219
|
-
export { AGENT_GIT_ACTIONS, ATTACHMENTS_DIR, type ActiveRun, type AddStackLayerInput, type AdoptInput, type AdvancedAppSettings, type AgentAdapter, type AgentEvent, type AgentGitAction, type AgentInstructionFile, type AgentKind, type AgentModelCatalog, type AgentModelInfo, type AgentSetupActionResult, type AgentSetupInfo, type AgentSetupKind, type AgentStatus, type AgentTurnInput, type AnthropicCacheControl, type AppSettings, type ApplyIntoMainResult, type AttachCommand, type Autonomy, BAKED_SLACK_RELAY_URL, BRIGHTSY_MCP_ALLOWED_TOOLS, type BranchInfo, type BrightsyAccount, type BrightsyChatTarget, type BrightsyChatTargets, type BrightsyCloudConnectAgent, type BrightsyHarnessSettings, type BrightsySession, BrightsySideboardApi, type BrightsyTeamTargets, CLAUDE_MODEL_CATALOG, CLOUD_COORDINATOR_BUSY_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, COORDINATOR_TOOL_PLAYBOOK, type CaffeinateHoldState, type ClaudeHarnessSettings, type CleanupOrphansResult, type CliAgentKind, type CliExecutableSettings, type CloudConnectAgent, type CloudConnectOptions, type CloudConnectStatus, type CompactResult, type CompactThresholds, type ComposerFileBuffer, type ConductorSettings, type ConductorWorkspace, type ConnectedBrightsyTeamInfo, type CreateChatTabInput, type CreateGlobalChatOpts, type CreateStackInput, type CreateThreadInput, type CreateWorktreeResult, type CursorModelInfo, type CursorSdkStreamMessage, type CursorTurnRequest, type CursorWorktreesConfig, type DefaultsAppSettings, type DevServerHandle, type DiffCommentInput, type DiffCommentLine, type DiffCommit, type DiffFile, type DiffResult, type DiffScope, type DiffScopeStat, type ExpandResult, FAMOUS_SOCCER_TEAMS, type ForkChatTabInput, type ForkThreadWorktreeInput, type FormatGhLandErrorOptions, GLOBAL_WORKSPACE_ID, type GetDiffOptions, type GhStackStatus, type GitHubStatus, type GitWorktreeStatus, HARNESS_ENV_KEYS, type HarnessId, type InitStackFromThreadInput, type IntegrationsSettings, type IpcApi, type IssueInfo, type IssueSource, LEGACY_ATTACHMENTS_DIR, LEGACY_PLAN_FILE_REL, LEGACY_REVIEW_REQUEST_PATH, LINEAR_OAUTH_CANCELLED, LINEAR_OAUTH_PORT, LINEAR_OAUTH_REDIRECT, LINEAR_OAUTH_SCOPES, type LandPreview, type LandResult, type LinearComment, type LinearIssue, LinearOAuthCancelledError, type LinearTeam, type LinearTeamsResult, type LinearWorkflowState, type ListIssuesResult, MAX_ANTHROPIC_CACHE_CONTROL_BLOCKS, type McpServerStatus, type MessagePart, ORCHESTRATOR_AGENT_KINDS, type OpenPrStackLayersInput, type OpenStackLayerInput, type OpenStackLayerResult, type OrchestrationQuotaOnLimit, Orchestrator, type OrchestratorAgentKind, type OrchestratorEvent, type OrchestratorRuntime, type OrphanWorktree, PASTE_ATTACH_MIN_CHARS, PASTE_ATTACH_MIN_LINES, PLAN_FILE_NAME, PLAN_FILE_REL, PLAN_MODE_INSTRUCTION, type PendingPlanQuestions, type PlanQuestion, type PlanQuestionAnswer, type PlanQuestionOption, type PlanToolPartLike, type PrActor, type PrCheckRun, type PrCommentInfo, type PrCommitInfo, type PrDetails, type PrInfo, type PrMeta, type PrReviewInfo, type PrStack, type PrStackLayer, type PresentedPlan, type PublicAppSettings, type PublicIntegrationsSettings, REPO_REVIEW_NAME, REPO_REVIEW_PATH, REVIEW_REQUEST_NAME, REVIEW_REQUEST_PATH, REVIEW_REQUEST_PREFILL, type RepoSettings, type RepoSetupInfo, type RequestReviewResult, type ResolvedReviewGuidelines, type ReviewGuidelinesSource, type RunMode, type RunScript, SIDEBOARD_FORCE_STOP, SIDEBOARD_MCP_ALLOWED_TOOLS, SIDEBOARD_MCP_PROFILE_ENV, SLACK_LISTEN_BUSY_REPLY, SLACK_LISTEN_STOPPED_REPLY, SLACK_LISTEN_TIMEOUT_REPLY, SLACK_OAUTH_CANCELLED, SLACK_OAUTH_REDIRECT, SLACK_REPLY_FORMATTING, SLACK_SEEN_REACTION, type ScriptHandle, type SideboardMcpProfile, type SkillInfo, type SlackInboundMessage, type SlackListenOptions, type SlackListenStatus, SlackOAuthCancelledError, type SlackOutboundReply, type SlackOutboundWatch, type SlackRelayClientMessage, type SlackRelayClientOptions, SlackRelayHub, type SlackRelayServerHandle, type SlackRelayServerMessage, type SlackRelayServerOptions, type SlackReplyBadge, type SlackWorkspaceInfo, type SourceType, type SpawnTurnHandle, type SummarizeResult, THINKING_EFFORTS, type TeamName, type ThinkingEffort, type Thread, type ThreadAttachment, type ThreadMessage, type ThreadOptionsPatch, type ThreadStatus, type TokenUsage, type ToolPartLike, type TranscriptToolDetail, type TurnCommand, type UsageScope, type Workspace, type WorkspaceInventoryEntry, type WorkspaceScriptEnvOpts, ackSlackInboundSeen, addPrStackLayer, addStackLayerFromThread, addWorkspace, adoptThread, agentGitPrompt, allAdapters, allocatePort, allocatePortRange, allocateTeamName, allocateTeamSlug, appDataDir, appSettingsPath, appendMessage, applyAgentEvent, applyAppEnvironment, applyCompaction, applyThreadIntoMain, applyTurnUsage, assertOrchestratorCapableAgent, attachmentFromAbsolutePath, attachmentsFromBuffers, attachmentsFromWorktreePaths, attachmentsGitignoreBody, autoArchiveOnMergeEnabled, autoCleanupOrphansEnabled, autoRenameBranchEnabled, autoRunAfterSetupEnabled, branchDisplayLabel, brightsyAdapter, brightsyCloudConnectAgent, brightsyCloudConnectEnabled, brightsyConfigPath, brightsyInjectWorktreeMcpEnabled, brightsyMcpAllowedTools, brightsyMcpServerName, buildCachedUserContent, buildClaudeStreamJsonUserMessage, buildDiffCommentAttachment, buildForkTranscriptAttachment, buildPastedTextAttachment, buildReviewRequestAttachment, buildSessionSeed, buildWorkspaceScriptEnv, caffeinateHoldPath, caffeinateWhileCloudConnectEnabled, caffeinateWhileRunningEnabled, caffeinateWhileSlackListenEnabled, captureLoginEnv, captureTurnBaseline, checkoutPrStackLayer, childEnvWithAppSettings, claudeAdapter, claudeChromeEnabled, claudeUserSettingsPath, cleanupOrphanWorktrees, cloneRepoIntoSideboard, codexAdapter, coerceOrchestratorAgent, collectTakenTeamSlugs, commentLinearIssue, commitAll, conductorBundledBinDir, conductorDbPath, confirmLand, connectBrightsyTeam, connectSlackToken, contextTokens, coordinatorSystemPrompt, coordinatorTurnReminder, copyConfiguredFiles, countCacheControlBlocks, createChatTab, createEmptyThread, createExistingBranchWorktree, createGlobalChat, createLinearIssue, createLinearPkce, createOrUpdatePr, createPrStack, createThread, createThreadWorktree, currentBranch, cursorAdapter, cursorSdkMessageToEvents, decodeBrightsyTarget, deleteBranchOnPurgeEnabled, deleteThreadRecord, detectAgents, detectGhStack, detectLocalMergeConflicts, disconnectBrightsyTeam, disconnectLinear, disconnectLinearConnection, disconnectSlackWorkspace, discoverSkills, dismissSlackReplyBadge, dropCachedPrefixOnResume, encodeBrightsyTarget, enrichPathWithNpmGlobalBin, enrichWorkspacesWithGithub, ensureAgentPath, ensureCloudCoordinator, ensureGhPreferOrigin, ensureGlobalCoordinatorCwd, ensureReviewRequestFile, ensureSlackCoordinator, ensureSlackDeviceIdentity, ensureWorkspace, estimateMessageChars, estimateThreadChars, expandComposerPrompt, extractGhErrorDetail, extractPendingPlanQuestions, extractPresentedPlan, extractiveSummary, fetchPrHead, finalizeParts, findInvalidCacheControlTtlOrder, findOrphanWorktrees, findThreadByRef, findThreadForStackLayer, flattenTurnInput, forkChatTab, forkMessageSlice, forkThreadWorktree, formatAgentInstructions, formatArtifactDirective, formatBrightsyFetchError, formatFetchError, formatGhLandError, formatIpcInvokeError, formatMessagesAsTranscript, formatPlanQuestionAnswers, formatPlanQuestionsForChat, formatRateLimitResetHint, formatRenameBranchDirective, formatSlackExternalReplyPrompt, formatSlackInboundPrompt, formatSlackRepliesForTurn, formatSlackSignedReply, formatTranscriptMarkdown, formatWorkspaceInventory, formatWorktreeDirective, formatWorktreeReminder, getAdapter, getAgentSetupInfo, getBrightsySession, getCaffeinateHold, getDefaultAgent, getDefaultEffort, getDefaultFast, getDefaultModel, getDefaultRunScript, getDiff, getDiffSummary, getGitHubStatus, getIssueSource, getLinearApiKey, getLinearAuthToken, getLinearIssue, getOrchestrator, getPr, getPrChecks, getPrDetails, getPrMeta, getPrStack, getRepoSetupInfo, getRunMode, getRunScript, getSlackWorkspace, gh, ghHeadRef, ghRepoSelectArgs, git, globalAgentCwd, handleSlackInbound, harnessEnvKey, hasBakedLinearOAuth, hasBakedSlackOAuth, hasConductorHook, hasCursorWorktreeSetup, hasRepoHook, hasWorkspaceHook, healOrchestrationSoccerTitles, httpFetch, importConductorWorkspace, importConductorWorkspaceAsync, initPrStack, initStackFromThread, initializeGitRepository, inspectGitWorktree, installAgent, isAskUserToolName, isBrightsyConnected, isBrightsyNdjsonLine, isCloudCoordinatorThread, isConductorBundledCli, isCursorAutoModel, isDirty, isGhRateLimitError, isGlobalRepoPath, isGlobalThread, isImageFilePath, isInPrStack, isInboundForThisDesktop, isLinearConnected, isLinearOAuthCancelled, isOrchestratorCapableAgent, isOrchestratorThread, isPidAlive, isPlaceholderBranch, isPresentPlanToolName, isSessionQuotaLimit, isSideboardScratchPath, isSlackCoordinatorThread, isSlackExternalReplyPrompt, isSlackOAuthCancelled, isThinkingEffort, isThreadCaffeinated, isWorkspaceScratchPath, linearAuthorizationHeader, linearGraphql, linearOAuthAuthorizeUrl, linearOAuthCredentials, listAgentSetupInfo, listBranchCommits, listBranches, listBrightsyAccounts, listBrightsyChatTargets, listCodexModels, listConductorWorkspaces, listConnectedBrightsyTeams, listCursorModels, listGitHubIssues, listGlobalThreads, listIssues, listLinearIssues, listLinearIssuesDirect, listLinearTeams, listModelsForAgent, listOpencodeModels, listPrs, listRunScripts, listSlackOutboundWatches, listSlackReplyBadges, listSlackWorkspaces, listThreads, listWorkspaces, listWorktreeFiles, listWorktrees, loadAgentInstructions, loadAppSettings, loadBrightsyConfig, loadConductorSettings, loadRepoSettings, loadWorkspaceSettings, locksDir, loginAgent, lookupSoccerTeam, maxConcurrentAgents, maybeCompactContext, mcpAllowTools, mcpAuthWarnings, mergePr, mergePrStack, mergeUsage, nextPastedTextName, nextThinkingEffort, normalizeParseResult, normalizeThinkingEffort, normalizeThread, normalizeTurnInput, normalizeWorktreePath, openInSystemTerminal, openPrStackLayers, openStackLayer, opencodeAdapter, orchestrationQuotaFallbackAgent, orchestrationQuotaOnLimit, orchestrationTitleNeedsSoccerNickname, orchestratorSessionPoisonedByBuiltins, originGhRepoEnv, parseCursorRunnerLine, parseForceStopMessage, parseGhStackViewJson, parseGithubSlugFromRemoteUrl, parseMcpList, parsePlanQuestionsInput, parseSessionQuotaResetAt, parseSlackRelayClientMessage, parseSlackRelayServerMessage, partsToAssistantText, pastedTextStats, pendingSlackExternalReplies, permalinkForSlackReplyBadge, permissionMode, persistVaultKeyInKeychain, planFileAbs, posixShellSingleQuote, prepareTerminalCommand, previewLand, promptMentionsBrightsy, pushBranch, readExistingReviewRequestFile, readKeychainVaultKey, readPlanFile, readSkillBody, readThread, readWorktreeFile, readWorktreeFileForUpload, readWorktreeInclude, recordSlackOutboundWatch, refreshGitHubAuth, refreshSlackReplyBadges, releaseCaffeinateHoldForThread, removeWorkspace, removeWorktree, repoSlug, requestOccupancy, requestReview, requireAgent, resetGhStackDetectCache, resolveAgentExecutable, resolveClaudeExecutable, resolveCommandBinarySync, resolveConductorCursorAgentId, resolveCursorModelId, resolveDefaultBranch, resolveDiffBaseRef, resolveEffectiveIssueSource, resolveFilesToCopy, resolveGhAuthToken, resolveGithubRepoSlug, resolveLinearState, resolveLinearTeam, resolveLoginCommand, resolveNewThreadOptions, resolvePlanMarkdown, resolvePrSelector, resolveQuotaFallbackAgent, resolveRepoRoot, resolveReviewGuidelines, resolveSlackListenMode, resolveThreadDefaults, resolveThreadEffort, resolveVaultKey, resolveWorktreeStartPoint, rewriteLinearError, run, runArchiveScript, runCloudConnect, runCursorWorktreeSetup, runSetupScript, runSlackListen, runSlackRelayClient, sameWorktreePath, sanitizeMcpServerName, saveAppSettings, saveLinearOAuth, secureFileUnlocksWith, setCaffeinateHold, setHttpFetchImpl, setStatus, setVaultMasterKey, settingsSourceLabel, shouldAttachPastedText, shouldCompactContext, shouldInjectBrightsyMcp, shouldRefreshReviewRequestTemplate, shouldRunWorktreeCleanup, sideboardHomeDir, sideboardMcpProfile, sideboardReposDir, sideboardWorkspacesDir, slackAppLevelToken, slackArchiveUrl, slackCoordinatorSourceRef, slackListenEnabled, slackOAuthCredentials, slackOAuthResultUrl, slackRelayUrl, slugify, spawnAgentTurn, splitForCompaction, stackAgentDefaultsFrom, stackIdFrom, stackMergeReadiness, stageAbsolutePathsAsAttachments, stageBuffersAsAttachments, startDevServer, startLinearOAuth, startMcpServer, startOrchestration, startSlackOAuth, startSlackRelayServer, stripBrightsyNdjsonNoise, submitPrStack, suggestSlug, summarizeConversation, switchBrightsyAccount, syncWorkspacesFromThreads, takenTeamSlugsForChatTab, takenTeamSlugsForOrchestration, taskMessageText, thinkingEffortBars, thinkingEffortLabel, threadDisplayLabel, threadFilePath, threadLockPath, threadRequestsBrightsyMcp, threadsDir, threadsSharingWorktree, toPublicAppSettings, toolDescription, toolDetail, toolFilePath, totalTokens, updateAdvancedSettings, updateAgentExecutable, updateAppEnvironment, updateBrightsySettings, updateClaudeSettings, updateCodexSettings, updateDefaultsSettings, updateIntegrationsSettings, updateLinearIssue, updateOpencodeSettings, updateThread, validateLinearApiKey, withAgentInstructions, withExportedPath, withThreadLock, workspaceSettingsSourceLabel, worktreeCleanupSettings, worktreeDisplayLabel, worktreeDisplayLabelForGroup, worktreeNameFromPath, worktreesRoot, writeInjectedMcpConfig, writePlanFile, writeThread, writeWorktreeFile };
|
|
4308
|
+
export { AGENT_GIT_ACTIONS, ATTACHMENTS_DIR, type ActiveRun, type AddStackLayerInput, type AdoptInput, type AdvancedAppSettings, type AgentAdapter, type AgentEvent, type AgentGitAction, type AgentInstructionFile, type AgentKind, type AgentModelCatalog, type AgentModelInfo, type AgentSetupActionResult, type AgentSetupInfo, type AgentSetupKind, type AgentStatus, type AgentTurnInput, type AnthropicCacheControl, type AppSettings, type ApplyIntoMainResult, type AttachCommand, type Autonomy, BAKED_SLACK_RELAY_URL, BRIGHTSY_MCP_ALLOWED_TOOLS, type BranchInfo, type BrightsyAccount, type BrightsyChatTarget, type BrightsyChatTargets, type BrightsyCloudConnectAgent, type BrightsyHarnessSettings, type BrightsySession, BrightsySideboardApi, type BrightsyTeamTargets, CLAUDE_MODEL_CATALOG, CLOUD_COORDINATOR_BUSY_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, COORDINATOR_TOOL_PLAYBOOK, type CaffeinateHoldState, type ClaudeHarnessSettings, type CleanupOrphansResult, type CliAgentKind, type CliExecutableSettings, type CloudConnectAgent, type CloudConnectOptions, type CloudConnectStatus, type CompactResult, type CompactThresholds, type ComposerFileBuffer, type ConductorSettings, type ConductorWorkspace, type ConnectedBrightsyTeamInfo, type CreateChatTabInput, type CreateGlobalChatOpts, type CreateStackInput, type CreateThreadInput, type CreateWorktreeResult, type CursorModelInfo, type CursorSdkStreamMessage, type CursorTurnRequest, type CursorWorktreesConfig, type DefaultsAppSettings, type DevServerHandle, type DiffCommentInput, type DiffCommentLine, type DiffCommit, type DiffFile, type DiffResult, type DiffScope, type DiffScopeStat, type ExpandResult, FAMOUS_SOCCER_TEAMS, type ForkChatTabInput, type ForkThreadWorktreeInput, type FormatGhLandErrorOptions, GITHUB_GIT_AUTH_MODES, GLOBAL_WORKSPACE_ID, type GetDiffOptions, type GhStackStatus, type GitHubStatus, type GitWorktreeStatus, type GithubGitAuthMode, HARNESS_ENV_KEYS, type HarnessId, type InitStackFromThreadInput, type IntegrationsSettings, type IpcApi, type IssueInfo, type IssueSource, LEGACY_ATTACHMENTS_DIR, LEGACY_PLAN_FILE_REL, LEGACY_REVIEW_REQUEST_PATH, LINEAR_OAUTH_CANCELLED, LINEAR_OAUTH_PORT, LINEAR_OAUTH_REDIRECT, LINEAR_OAUTH_SCOPES, type LandPreview, type LandResult, type LinearComment, type LinearIssue, LinearOAuthCancelledError, type LinearTeam, type LinearTeamsResult, type LinearWorkflowState, type ListIssuesResult, MAX_ANTHROPIC_CACHE_CONTROL_BLOCKS, type McpServerStatus, type MessagePart, ORCHESTRATOR_AGENT_KINDS, type OpenPrStackLayersInput, type OpenStackLayerInput, type OpenStackLayerResult, type OrchestrationQuotaOnLimit, Orchestrator, type OrchestratorAgentKind, type OrchestratorEvent, type OrchestratorRuntime, type OrphanWorktree, PASTE_ATTACH_MIN_CHARS, PASTE_ATTACH_MIN_LINES, PLAN_FILE_NAME, PLAN_FILE_REL, PLAN_MODE_INSTRUCTION, type PendingPlanQuestions, type PlanQuestion, type PlanQuestionAnswer, type PlanQuestionOption, type PlanToolPartLike, type PrActor, type PrCheckRun, type PrCommentInfo, type PrCommitInfo, type PrDetails, type PrInfo, type PrMeta, type PrReviewInfo, type PrStack, type PrStackLayer, type PresentedPlan, type PublicAppSettings, type PublicIntegrationsSettings, REPO_REVIEW_NAME, REPO_REVIEW_PATH, REVIEW_REQUEST_NAME, REVIEW_REQUEST_PATH, REVIEW_REQUEST_PREFILL, type RepoSettings, type RepoSetupInfo, type RequestReviewResult, type ResolvedReviewGuidelines, type ReviewGuidelinesSource, type RunMode, type RunScript, SIDEBOARD_FORCE_STOP, SIDEBOARD_MCP_ALLOWED_TOOLS, SIDEBOARD_MCP_PROFILE_ENV, SLACK_LISTEN_BUSY_REPLY, SLACK_LISTEN_STOPPED_REPLY, SLACK_LISTEN_TIMEOUT_REPLY, SLACK_OAUTH_CANCELLED, SLACK_OAUTH_REDIRECT, SLACK_REPLY_FORMATTING, SLACK_SEEN_REACTION, type ScriptHandle, type SideboardMcpProfile, type SkillInfo, type SlackInboundMessage, type SlackListenOptions, type SlackListenStatus, SlackOAuthCancelledError, type SlackOutboundReply, type SlackOutboundWatch, type SlackRelayClientMessage, type SlackRelayClientOptions, SlackRelayHub, type SlackRelayServerHandle, type SlackRelayServerMessage, type SlackRelayServerOptions, type SlackReplyBadge, type SlackWorkspaceInfo, type SourceType, type SpawnTurnHandle, type SummarizeResult, THINKING_EFFORTS, type TeamName, type ThinkingEffort, type Thread, type ThreadAttachment, type ThreadMessage, type ThreadOptionsPatch, type ThreadStatus, type TokenUsage, type ToolPartLike, type TranscriptToolDetail, type TurnCommand, type UsageScope, type Workspace, type WorkspaceInventoryEntry, type WorkspaceScriptEnvOpts, ackSlackInboundSeen, addPrStackLayer, addStackLayerFromThread, addWorkspace, adoptThread, agentGitPrompt, allAdapters, allocatePort, allocatePortRange, allocateTeamName, allocateTeamSlug, appDataDir, appSettingsPath, appendIndexedGitConfig, appendMessage, applyAgentEvent, applyAppEnvironment, applyCompaction, applyGithubGitAuthEnv, applyThreadIntoMain, applyTurnUsage, assertOrchestratorCapableAgent, attachmentFromAbsolutePath, attachmentsFromBuffers, attachmentsFromWorktreePaths, attachmentsGitignoreBody, autoArchiveOnMergeEnabled, autoCleanupOrphansEnabled, autoRenameBranchEnabled, autoRunAfterSetupEnabled, branchDisplayLabel, brightsyAdapter, brightsyCloudConnectAgent, brightsyCloudConnectEnabled, brightsyConfigPath, brightsyInjectWorktreeMcpEnabled, brightsyMcpAllowedTools, brightsyMcpServerName, buildCachedUserContent, buildClaudeStreamJsonUserMessage, buildDiffCommentAttachment, buildForkTranscriptAttachment, buildPastedTextAttachment, buildReviewRequestAttachment, buildSessionSeed, buildWorkspaceScriptEnv, caffeinateHoldPath, caffeinateWhileCloudConnectEnabled, caffeinateWhileRunningEnabled, caffeinateWhileSlackListenEnabled, captureLoginEnv, captureTurnBaseline, checkoutPrStackLayer, childEnvWithAppSettings, claudeAdapter, claudeChromeEnabled, claudeUserSettingsPath, cleanupOrphanWorktrees, cloneRepoIntoSideboard, codexAdapter, coerceOrchestratorAgent, collectTakenTeamSlugs, commentLinearIssue, commitAll, conductorBundledBinDir, conductorDbPath, confirmLand, connectBrightsyTeam, connectSlackToken, contextTokens, coordinatorSystemPrompt, coordinatorTurnReminder, copyConfiguredFiles, countCacheControlBlocks, createChatTab, createEmptyThread, createExistingBranchWorktree, createGlobalChat, createLinearIssue, createLinearPkce, createOrUpdatePr, createPrStack, createThread, createThreadWorktree, currentBranch, cursorAdapter, cursorSdkMessageToEvents, decodeBrightsyTarget, deleteBranchOnPurgeEnabled, deleteThreadRecord, detectAgents, detectGhStack, detectLocalMergeConflicts, disconnectBrightsyTeam, disconnectLinear, disconnectLinearConnection, disconnectSlackWorkspace, discoverSkills, dismissSlackReplyBadge, dropCachedPrefixOnResume, encodeBrightsyTarget, enrichPathWithNpmGlobalBin, enrichWorkspacesWithGithub, ensureAgentPath, ensureCloudCoordinator, ensureGhPreferOrigin, ensureGlobalCoordinatorCwd, ensureReviewRequestFile, ensureSlackCoordinator, ensureSlackDeviceIdentity, ensureWorkspace, estimateMessageChars, estimateThreadChars, expandComposerPrompt, extractGhErrorDetail, extractPendingPlanQuestions, extractPresentedPlan, extractiveSummary, fetchPrHead, finalizeParts, findInvalidCacheControlTtlOrder, findOrphanWorktrees, findThreadByRef, findThreadForStackLayer, flattenTurnInput, forkChatTab, forkMessageSlice, forkThreadWorktree, formatAgentInstructions, formatArtifactDirective, formatBrightsyFetchError, formatFetchError, formatGhLandError, formatGitAuthModeDirective, formatIpcInvokeError, formatMessagesAsTranscript, formatPlanQuestionAnswers, formatPlanQuestionsForChat, formatRateLimitResetHint, formatRenameBranchDirective, formatSlackExternalReplyPrompt, formatSlackInboundPrompt, formatSlackRepliesForTurn, formatSlackSignedReply, formatTranscriptMarkdown, formatWorkspaceInventory, formatWorktreeDirective, formatWorktreeReminder, fromInclusiveInputUsage, getAdapter, getAgentSetupInfo, getBrightsySession, getCaffeinateHold, getDefaultAgent, getDefaultEffort, getDefaultFast, getDefaultModel, getDefaultRunScript, getDiff, getDiffSummary, getGitHubStatus, getGithubGitAuthMode, getGithubPat, getIssueSource, getLinearApiKey, getLinearAuthToken, getLinearIssue, getOrchestrator, getPr, getPrChecks, getPrDetails, getPrMeta, getPrStack, getRepoSetupInfo, getRunMode, getRunScript, getSlackWorkspace, gh, ghHeadRef, ghRepoSelectArgs, git, githubAgentGitEnv, globalAgentCwd, handleSlackInbound, harnessEnvKey, hasBakedLinearOAuth, hasBakedSlackOAuth, hasConductorHook, hasCursorWorktreeSetup, hasRepoHook, hasWorkspaceHook, healOrchestrationSoccerTitles, httpFetch, importConductorWorkspace, importConductorWorkspaceAsync, initPrStack, initStackFromThread, initializeGitRepository, inspectGitWorktree, installAgent, isAskUserToolName, isBrightsyConnected, isBrightsyNdjsonLine, isCloudCoordinatorThread, isConductorBundledCli, isCursorAutoModel, isDirty, isGhRateLimitError, isGlobalRepoPath, isGlobalThread, isImageFilePath, isInPrStack, isInboundForThisDesktop, isLinearConnected, isLinearOAuthCancelled, isOrchestratorCapableAgent, isOrchestratorThread, isPidAlive, isPlaceholderBranch, isPresentPlanToolName, isSessionQuotaLimit, isSideboardScratchPath, isSlackCoordinatorThread, isSlackExternalReplyPrompt, isSlackOAuthCancelled, isThinkingEffort, isThreadCaffeinated, isWorkspaceScratchPath, linearAuthorizationHeader, linearGraphql, linearOAuthAuthorizeUrl, linearOAuthCredentials, listAgentSetupInfo, listBranchCommits, listBranches, listBrightsyAccounts, listBrightsyChatTargets, listCodexModels, listConductorWorkspaces, listConnectedBrightsyTeams, listCursorModels, listGitHubIssues, listGlobalThreads, listIssues, listLinearIssues, listLinearIssuesDirect, listLinearTeams, listModelsForAgent, listOpencodeModels, listPrs, listRunScripts, listSlackOutboundWatches, listSlackReplyBadges, listSlackWorkspaces, listThreads, listWorkspaces, listWorktreeFiles, listWorktrees, loadAgentInstructions, loadAppSettings, loadBrightsyConfig, loadConductorSettings, loadRepoSettings, loadWorkspaceSettings, locksDir, loginAgent, lookupSoccerTeam, maxConcurrentAgents, maybeCompactContext, mcpAllowTools, mcpAuthWarnings, mergePr, mergePrStack, mergeUsage, nextPastedTextName, nextThinkingEffort, normalizeParseResult, normalizeThinkingEffort, normalizeThread, normalizeTurnInput, normalizeWorktreePath, openInSystemTerminal, openPrStackLayers, openStackLayer, opencodeAdapter, orchestrationQuotaFallbackAgent, orchestrationQuotaOnLimit, orchestrationTitleNeedsSoccerNickname, orchestratorSessionPoisonedByBuiltins, originGhRepoEnv, parseCursorRunnerLine, parseForceStopMessage, parseGhStackViewJson, parseGithubSlugFromRemoteUrl, parseMcpList, parsePlanQuestionsInput, parseSessionQuotaResetAt, parseSlackRelayClientMessage, parseSlackRelayServerMessage, partsToAssistantText, pastedTextStats, pendingSlackExternalReplies, permalinkForSlackReplyBadge, permissionMode, persistVaultKeyInKeychain, planFileAbs, posixShellSingleQuote, prepareTerminalCommand, previewLand, promptMentionsBrightsy, pushBranch, readExistingReviewRequestFile, readKeychainVaultKey, readPlanFile, readSkillBody, readThread, readWorktreeFile, readWorktreeFileForUpload, readWorktreeInclude, recordSlackOutboundWatch, refreshGitHubAuth, refreshSlackReplyBadges, releaseCaffeinateHoldForThread, removeWorkspace, removeWorktree, repoSlug, requestOccupancy, requestReview, requireAgent, resetGhStackDetectCache, resolveAgentExecutable, resolveClaudeExecutable, resolveCommandBinarySync, resolveConductorCursorAgentId, resolveCursorModelId, resolveDefaultBranch, resolveDiffBaseRef, resolveEffectiveIssueSource, resolveFilesToCopy, resolveGhAuthToken, resolveGithubRepoSlug, resolveLinearState, resolveLinearTeam, resolveLoginCommand, resolveNewThreadOptions, resolvePlanMarkdown, resolvePrSelector, resolveQuotaFallbackAgent, resolveRepoRoot, resolveReviewGuidelines, resolveSlackListenMode, resolveThreadDefaults, resolveThreadEffort, resolveVaultKey, resolveWorktreeStartPoint, rewriteLinearError, run, runArchiveScript, runCloudConnect, runCursorWorktreeSetup, runSetupScript, runSlackListen, runSlackRelayClient, sameWorktreePath, sanitizeMcpServerName, saveAppSettings, saveLinearOAuth, secureFileUnlocksWith, setCaffeinateHold, setHttpFetchImpl, setStatus, setVaultMasterKey, settingsSourceLabel, shouldAttachPastedText, shouldCompactContext, shouldInjectBrightsyMcp, shouldRefreshReviewRequestTemplate, shouldRunWorktreeCleanup, sideboardHomeDir, sideboardMcpProfile, sideboardReposDir, sideboardWorkspacesDir, slackAppLevelToken, slackArchiveUrl, slackCoordinatorSourceRef, slackListenEnabled, slackOAuthCredentials, slackOAuthResultUrl, slackRelayUrl, slugify, spawnAgentTurn, splitForCompaction, stackAgentDefaultsFrom, stackIdFrom, stackMergeReadiness, stageAbsolutePathsAsAttachments, stageBuffersAsAttachments, startDevServer, startLinearOAuth, startMcpServer, startOrchestration, startSlackOAuth, startSlackRelayServer, stripBrightsyNdjsonNoise, stripNestedElectronEnv, submitPrStack, suggestSlug, summarizeConversation, switchBrightsyAccount, syncWorkspacesFromThreads, takenTeamSlugsForChatTab, takenTeamSlugsForOrchestration, taskMessageText, thinkingEffortBars, thinkingEffortLabel, threadDisplayLabel, threadFilePath, threadLockPath, threadRequestsBrightsyMcp, threadsDir, threadsSharingWorktree, toPublicAppSettings, toolDescription, toolDetail, toolFilePath, totalTokens, updateAdvancedSettings, updateAgentExecutable, updateAppEnvironment, updateBrightsySettings, updateClaudeSettings, updateCodexSettings, updateDefaultsSettings, updateIntegrationsSettings, updateLinearIssue, updateOpencodeSettings, updateThread, validateLinearApiKey, withAgentInstructions, withExportedPath, withThreadLock, workspaceSettingsSourceLabel, worktreeCleanupSettings, worktreeDisplayLabel, worktreeDisplayLabelForGroup, worktreeNameFromPath, worktreesRoot, writeInjectedMcpConfig, writePlanFile, writeThread, writeWorktreeFile };
|