@sideboard-ai/core 0.1.103 → 0.1.109

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/agents/cursor-runner.js +2 -2
  2. package/dist/{agents-UT5GCJH3.js → agents-XB332VUJ.js} +5 -5
  3. package/dist/{agents-XZBAKBO2.js → agents-YIMHDI46.js} +8 -8
  4. package/dist/{app-settings-VDJK2BZ2.js → app-settings-EBCVMFF6.js} +3 -1
  5. package/dist/{app-settings-EKJM2344.js → app-settings-IYSSVZHH.js} +4 -2
  6. package/dist/{chunk-XHZJJWLI.js → chunk-4LKD3PGO.js} +11 -1
  7. package/dist/{chunk-TLPJHLLM.js → chunk-4TR3HZFT.js} +1 -1
  8. package/dist/{chunk-HHLZWO7U.js → chunk-756EO4GK.js} +7 -7
  9. package/dist/{chunk-LANDJIAI.js → chunk-AY2EQI2P.js} +16 -13
  10. package/dist/{chunk-DHAGMJIK.js → chunk-EW7COXYE.js} +1 -1
  11. package/dist/{chunk-27MCESES.js → chunk-FBV6NK62.js} +2 -2
  12. package/dist/{chunk-ETMRBJKA.js → chunk-I2OJ2YSP.js} +10 -17
  13. package/dist/{chunk-WA3DVVWG.js → chunk-JVIW55KT.js} +1 -1
  14. package/dist/{chunk-H6LP57EF.js → chunk-KKHDPV45.js} +17 -16
  15. package/dist/chunk-LTPX5N6K.js +6991 -0
  16. package/dist/{chunk-WSYCND2U.js → chunk-NE4TOOKS.js} +11 -1
  17. package/dist/{chunk-ND6AO7C5.js → chunk-OQDIYVDD.js} +2 -2
  18. package/dist/chunk-Q6B3NRCT.js +7335 -0
  19. package/dist/{chunk-OW34MVDN.js → chunk-TROJ3PVH.js} +3 -3
  20. package/dist/{chunk-YJADJH5U.js → chunk-VRTKGKUW.js} +10 -17
  21. package/dist/{chunk-HUKCGRAT.js → chunk-WD2TARQS.js} +7 -2
  22. package/dist/{coordinator-prompt-UWHSD65V.js → coordinator-prompt-JKOU6BWV.js} +4 -4
  23. package/dist/{coordinator-prompt-3DFZRMXE.js → coordinator-prompt-V66BYTUV.js} +3 -3
  24. package/dist/{global-workspace-UR4E3CCG.js → global-workspace-NCTBE7G7.js} +5 -5
  25. package/dist/{global-workspace-KJQS5S2C.js → global-workspace-WBQWQQQY.js} +4 -4
  26. package/dist/index.cjs +11716 -10808
  27. package/dist/index.d.cts +162 -35
  28. package/dist/index.d.ts +162 -35
  29. package/dist/index.js +774 -7046
  30. package/dist/mcp/run-stdio.cjs +14582 -13657
  31. package/dist/mcp/run-stdio.js +400 -6706
  32. package/dist/orchestrator-6W7EKSPO.js +32 -0
  33. package/dist/orchestrator-JVGVPKLI.js +31 -0
  34. package/dist/{workspaces-NTIVI6DI.js → workspaces-I3554R3F.js} +5 -5
  35. package/dist/{workspaces-TKJXPNV4.js → workspaces-SUBEDSGB.js} +6 -6
  36. package/dist/{worktree-PEUPFAKL.js → worktree-2UWO7VEK.js} +3 -3
  37. package/dist/{worktree-NKWN5ZTS.js → worktree-7H6HB6GW.js} +2 -2
  38. package/package.json +2 -1
package/dist/index.d.cts CHANGED
@@ -726,6 +726,12 @@ interface AdvancedAppSettings {
726
726
  * (so Personal/Work stay reachable with the lid closed on AC). Default off.
727
727
  */
728
728
  caffeinateWhileSlackListen?: boolean;
729
+ /**
730
+ * Keep the Mac awake with `caffeinate` while any local schedule is enabled
731
+ * (so a due job can fire). Default off — a 9am cron should not pin the Mac
732
+ * awake 24/7 unless the user opts in.
733
+ */
734
+ caffeinateWhileSchedules?: boolean;
729
735
  /**
730
736
  * @deprecated Prefer `caffeinateWhileSlackListen`. Still read on load for migration.
731
737
  */
@@ -924,6 +930,7 @@ declare function autoRenameBranchEnabled(settings?: AppSettings): boolean;
924
930
  declare function autoRunAfterSetupEnabled(settings?: AppSettings): boolean;
925
931
  declare function caffeinateWhileRunningEnabled(settings?: AppSettings): boolean;
926
932
  declare function caffeinateWhileSlackListenEnabled(settings?: AppSettings): boolean;
933
+ declare function caffeinateWhileSchedulesEnabled(settings?: AppSettings): boolean;
927
934
  /** @deprecated Use caffeinateWhileSlackListenEnabled. */
928
935
  declare function caffeinateWhileCloudConnectEnabled(settings?: AppSettings): boolean;
929
936
  declare function deleteBranchOnPurgeEnabled(settings?: AppSettings): boolean;
@@ -1017,6 +1024,90 @@ declare function appendMessage(id: string, message: ThreadMessage): Thread;
1017
1024
  declare function setStatus(id: string, status: ThreadStatus, lastError?: string | null): Thread;
1018
1025
  declare function findThreadByRef(ref: string): Thread | null;
1019
1026
 
1027
+ /**
1028
+ * Agents that Sideboard can inject Sideboard MCP into for fleet orchestration.
1029
+ * Brightsy CLI has no local MCP injection — it cannot be an orchestrator.
1030
+ */
1031
+ declare const ORCHESTRATOR_AGENT_KINDS: readonly ["claude", "codex", "opencode", "cursor"];
1032
+ type OrchestratorAgentKind = (typeof ORCHESTRATOR_AGENT_KINDS)[number];
1033
+ declare function isOrchestratorCapableAgent(agent: AgentKind | null | undefined): agent is OrchestratorAgentKind;
1034
+ declare function assertOrchestratorCapableAgent(agent: AgentKind, context?: string): OrchestratorAgentKind;
1035
+ /** Prefer a capable agent; fall back to Claude when the choice is unsupported. */
1036
+ declare function coerceOrchestratorAgent(agent: AgentKind | null | undefined, fallback?: OrchestratorAgentKind): OrchestratorAgentKind;
1037
+
1038
+ type ScheduleCreatedBy = 'mcp' | 'cli' | 'ui';
1039
+ type ScheduleWhen = {
1040
+ kind: 'once';
1041
+ at: string;
1042
+ } | {
1043
+ kind: 'every';
1044
+ every: string;
1045
+ } | {
1046
+ kind: 'cron';
1047
+ expr: string;
1048
+ tz?: string;
1049
+ };
1050
+ interface ScheduledTask {
1051
+ id: string;
1052
+ name: string;
1053
+ prompt: string;
1054
+ enabled: boolean;
1055
+ when: ScheduleWhen;
1056
+ /** Existing orchestration chat. Null = create a new Global chat on fire. */
1057
+ threadId: string | null;
1058
+ agent: OrchestratorAgentKind | null;
1059
+ model: string | null;
1060
+ nextRunAt: string;
1061
+ lastRunAt: string | null;
1062
+ lastThreadId: string | null;
1063
+ lastError: string | null;
1064
+ createdBy: ScheduleCreatedBy;
1065
+ createdAt: string;
1066
+ updatedAt: string;
1067
+ }
1068
+ interface CreateScheduledTaskInput {
1069
+ name?: string;
1070
+ prompt: string;
1071
+ when: ScheduleWhen;
1072
+ threadId?: string | null;
1073
+ agent?: AgentKind | null;
1074
+ model?: string | null;
1075
+ enabled?: boolean;
1076
+ createdBy: ScheduleCreatedBy;
1077
+ }
1078
+ type UpdateScheduledTaskPatch = Partial<Pick<ScheduledTask, 'name' | 'prompt' | 'enabled' | 'when' | 'threadId' | 'agent' | 'model'>>;
1079
+ declare function schedulesPath(): string;
1080
+ declare function parseDurationMs(every: string): number | null;
1081
+ declare function defaultScheduleName(prompt: string): string;
1082
+ /** `self` → SIDEBOARD_ORCHESTRATOR_THREAD_ID. Empty / missing → null (new chat). */
1083
+ declare function resolveScheduleThreadId(raw: string | null | undefined, env?: NodeJS.ProcessEnv): string | null;
1084
+ declare function computeNextRunAt(when: ScheduleWhen, from?: Date): Date;
1085
+ declare function formatScheduleWhen(when: ScheduleWhen): string;
1086
+ declare function listSchedules(): ScheduledTask[];
1087
+ /** True when at least one schedule is enabled (desktop caffeinate source). */
1088
+ declare function hasEnabledSchedules(): boolean;
1089
+ declare function getSchedule(id: string): ScheduledTask | null;
1090
+ declare function createSchedule(input: CreateScheduledTaskInput): ScheduledTask;
1091
+ declare function updateSchedule(id: string, patch: UpdateScheduledTaskPatch): ScheduledTask;
1092
+ declare function deleteSchedule(id: string): void;
1093
+ declare function recordScheduleRun(id: string, result: {
1094
+ lastThreadId?: string | null;
1095
+ lastError?: string | null;
1096
+ firedAt?: Date;
1097
+ }): ScheduledTask;
1098
+
1099
+ declare function formatScheduledPrompt(name: string, prompt: string): string;
1100
+ /**
1101
+ * Fire a schedule now (Run now / due timer). `send` still defers drain to the
1102
+ * desktop host when it is alive.
1103
+ */
1104
+ declare function fireSchedule(id: string): Promise<ScheduledTask>;
1105
+ /**
1106
+ * Arm (or catch-up) enabled schedules. Only the desktop host holds timers;
1107
+ * MCP/CLI persist the store and the desktop watcher re-arms.
1108
+ */
1109
+ declare function armSchedules(): void;
1110
+
1020
1111
  /** Written by the desktop Electron process so MCP/CLI can defer drain to it. */
1021
1112
  declare function desktopHostPidPath(): string;
1022
1113
  declare function claimDesktopHost(pid?: number): void;
@@ -1958,17 +2049,6 @@ declare function parseSessionQuotaResetAt(text: string, now?: Date): Date | null
1958
2049
  /** Pick a different orchestrator-capable agent for quota failover. */
1959
2050
  declare function resolveQuotaFallbackAgent(current: AgentKind, preferred?: AgentKind | null): AgentKind;
1960
2051
 
1961
- /**
1962
- * Agents that Sideboard can inject Sideboard MCP into for fleet orchestration.
1963
- * Brightsy CLI has no local MCP injection — it cannot be an orchestrator.
1964
- */
1965
- declare const ORCHESTRATOR_AGENT_KINDS: readonly ["claude", "codex", "opencode", "cursor"];
1966
- type OrchestratorAgentKind = (typeof ORCHESTRATOR_AGENT_KINDS)[number];
1967
- declare function isOrchestratorCapableAgent(agent: AgentKind | null | undefined): agent is OrchestratorAgentKind;
1968
- declare function assertOrchestratorCapableAgent(agent: AgentKind, context?: string): OrchestratorAgentKind;
1969
- /** Prefer a capable agent; fall back to Claude when the choice is unsupported. */
1970
- declare function coerceOrchestratorAgent(agent: AgentKind | null | undefined, fallback?: OrchestratorAgentKind): OrchestratorAgentKind;
1971
-
1972
2052
  /** Conductor-bundled Claude/Codex live here (not on a typical GUI PATH). */
1973
2053
  declare function conductorBundledBinDir(home?: string): string;
1974
2054
  declare function isConductorBundledCli(filePath: string | null | undefined): boolean;
@@ -2053,6 +2133,11 @@ interface SpawnTurnHandle {
2053
2133
  usage: TokenUsage | null;
2054
2134
  }>;
2055
2135
  }
2136
+ /**
2137
+ * Opt into 1h prompt-cache TTL for desktop gaps (read a diff, Slack, schedules).
2138
+ * Claude Code / OpenCode default to 5m on API keys. Honor an explicit 5m force.
2139
+ */
2140
+ declare function applyPromptCacheTtlEnv(agent: AgentKind, env: NodeJS.ProcessEnv): void;
2056
2141
  declare function spawnAgentTurn(thread: Thread, input: string | AgentTurnInput, onEvent: (event: AgentEvent) => void): Promise<SpawnTurnHandle>;
2057
2142
 
2058
2143
  declare function toolDetail(name: string, input?: Record<string, unknown>): string | undefined;
@@ -2294,8 +2379,8 @@ declare function runConventionSetup(repoPath: string, worktreePath: string, onLi
2294
2379
  defaultBranch?: string;
2295
2380
  }): Promise<SetupRunResult>;
2296
2381
  /**
2297
- * Setup for a new worktree. Order: Sideboard/Conductor `[scripts] setup`,
2298
- * then Cursor `.cursor/worktrees.json`, then conventional `script/setup` (etc).
2382
+ * Setup for a new worktree. Seeds `.claude/skills/review/SKILL.md` when missing,
2383
+ * then `[scripts] setup`, Cursor `.cursor/worktrees.json`, then `script/setup`.
2299
2384
  */
2300
2385
  declare function runWorkspaceSetup(repoPath: string, worktreePath: string, onLine?: (line: string) => void, opts?: {
2301
2386
  signal?: AbortSignal;
@@ -2575,14 +2660,24 @@ declare function summarizeConversation(transcript: string, opts?: {
2575
2660
  /** Deterministic fallback when Claude isn't available. */
2576
2661
  declare function extractiveSummary(transcript: string): string;
2577
2662
 
2578
- /** Rough char budget before we compact (≈ 25k tokens at ~4 chars/token). */
2579
- declare const CONTEXT_COMPACT_CHARS = 100000;
2663
+ /**
2664
+ * Sideboard transcript budget before summarizing older turns for the board /
2665
+ * future seed (≈ 100k tokens at ~4 chars/token). Independent of the CLI
2666
+ * session — compacting the store does not clear sessionId.
2667
+ */
2668
+ declare const CONTEXT_COMPACT_CHARS = 400000;
2580
2669
  /** Keep this much recent transcript after compaction. */
2581
2670
  declare const CONTEXT_KEEP_RECENT_CHARS = 24000;
2582
2671
  /** Always keep at least this many trailing messages. */
2583
2672
  declare const CONTEXT_KEEP_RECENT_MESSAGES = 12;
2584
2673
  /** Don't bother compacting tiny threads. */
2585
2674
  declare const CONTEXT_MIN_MESSAGES = 10;
2675
+ /**
2676
+ * Last-request occupancy at which the next turn should start a fresh CLI
2677
+ * session (seeded from the compacted transcript). ~75% of the 1M ring.
2678
+ * Below this, keep sessionId so prompt cache survives.
2679
+ */
2680
+ declare const SESSION_RESET_OCCUPANCY_TOKENS = 750000;
2586
2681
  interface CompactThresholds {
2587
2682
  maxChars?: number;
2588
2683
  keepRecentChars?: number;
@@ -2623,9 +2718,17 @@ interface CompactResult {
2623
2718
  method?: 'claude' | 'extractive';
2624
2719
  olderCount?: number;
2625
2720
  }
2721
+ /** Last agent turn's context-window occupancy, or 0. */
2722
+ declare function lastRequestOccupancy(thread: Pick<Thread, 'messages'>): number;
2626
2723
  /**
2627
- * If the thread transcript is oversized, summarize older turns, keep recent ones,
2628
- * and clear sessionId so the next agent turn starts fresh with a seed prompt.
2724
+ * True when the CLI session should be dropped so the next turn reseeds from
2725
+ * the (possibly compacted) Sideboard transcript instead of overflowing.
2726
+ */
2727
+ declare function shouldResetSessionForOccupancy(thread: Pick<Thread, 'messages'>, occupancyTokens?: number): boolean;
2728
+ /**
2729
+ * If the thread transcript is oversized, summarize older turns and keep recent
2730
+ * ones. The CLI session stays unless last-request occupancy is near the window
2731
+ * — killing --resume on every compact was a full prompt-cache miss.
2629
2732
  */
2630
2733
  declare function maybeCompactContext(thread: Thread, thresholds?: CompactThresholds, summarize?: typeof summarizeConversation): Promise<CompactResult>;
2631
2734
 
@@ -3147,21 +3250,26 @@ declare function startOrchestration(opts: {
3147
3250
  }): Promise<Thread>;
3148
3251
 
3149
3252
  /** Default Review request.md body (Conductor-style). Kept in sync with desktop review-request.ts. */
3150
- declare const REVIEW_REQUEST_TEMPLATE = "# Review guidelines:\n\nYou are reviewing a proposed code change so a human can decide whether it is **ready to merge / land**. Findings matter, but the primary deliverable is a clear readiness recommendation \u2014 not a laundry list of style notes.\n\n## Required outcome\n\nStart your reply with a **Recommendation** section using exactly one of:\n\n- **Approve** \u2014 ready to merge as-is (or with only trivial nits the author can ignore).\n- **Approve with nits** \u2014 ready to merge; list only optional polish that should not block.\n- **Request changes** \u2014 not ready; blocking issues must be fixed first.\n- **Needs more information** \u2014 cannot judge readiness yet (missing context, incomplete diff, unclear intent).\n\nIn 1\u20133 sentences, say **why** \u2014 grounded in correctness, risk, test coverage, and scope \u2014 not vibes. If you request changes, name the blockers explicitly.\n\nPeople running this review are asking \u201Ccan we ship this?\u201D Treat that as the question you answer first.\n\n## Findings\n\nBelow are guidelines for determining whether an issue is worth flagging to the original author.\n\nThese are not the final word. More specific guidelines elsewhere (developer message, user message, a file, etc.) override these.\n\nFlag something as a bug / blocking finding only when:\n\n1. It meaningfully impacts the accuracy, performance, security, or maintainability of the code.\n2. The bug is discrete and actionable (not a vague codebase-wide complaint or a bundle of unrelated issues).\n3. Fixing it does not demand rigor absent from the rest of the codebase.\n4. The issue was introduced by this change (do not flag pre-existing bugs unless they are newly exposed by this PR).\n5. The author would likely fix it if made aware.\n6. It does not rely on unstated assumptions about the codebase or author intent.\n7. Speculative breakage is not enough \u2014 identify the other code that is provably affected.\n8. It is clearly not just an intentional change by the author.\n\nWhen flagging an issue, include a short accompanying comment:\n\n1. Clear about why it is a problem.\n2. Severity must match reality \u2014 do not inflate.\n3. Brief: at most one paragraph; avoid unnecessary line breaks in prose.\n4. No code chunks longer than 3 lines; wrap code in inline ticks or a fenced block.\n5. Call out scenarios / environments / inputs needed to hit the bug when severity depends on them.\n6. Matter-of-fact tone \u2014 helpful assistant, not accusatory or effusive.\n7. Skimmable on first read.\n8. No empty flattery (\u201CGreat job\u2026\u201D, \u201CThanks for\u2026\u201D).\n\nHOW MANY FINDINGS TO RETURN:\n\nList every finding the author would fix if they knew about it. If nothing qualifies, say so and still give the Recommendation. Do not stop at the first finding.\n\nGUIDELINES:\n\n- Ignore trivial style unless it obscures meaning or violates documented standards.\n- One comment per distinct issue (or a short multi-line range if needed).\n- Use ```suggestion blocks ONLY for concrete replacement code (minimal lines; no commentary inside the block).\n- In every ```suggestion block, preserve the exact leading whitespace of the replaced lines (spaces vs tabs, number of spaces).\n- Do NOT introduce or remove outer indentation levels unless that is the actual fix.\n- Separate **blocking** findings from **nits**. Only blocking findings should drive Request changes.\n\nThe report appears in chat (and can become Sideboard diff comments). Avoid unnecessary location chatter in the body; keep line ranges as short as possible (prefer \u22645\u201310 lines).\n\n## Getting the diff\n\nUse Sideboard's diff for this thread's worktree. Prefer the `get_diff` MCP tool (pass this thread's ref) for a compact summary, then read specific files with Read/Glob as needed. In the Sideboard desktop app, the Changes panel shows the same worktree diff.\n\nIf the user asks you to address or read line comments they added in the Changes / file diff UI, those arrive as `diff-comment` attachments on the next turn \u2014 follow them precisely.\n\n## Fallback: if you don't have access to the Sideboard diff tool\n\nIf you don't have access to `get_diff`, use the following git commands to get the diff:\n\n```bash\n# Get the merge base between this branch and the target\nMERGE_BASE=$(git merge-base origin/main HEAD)\n\n# Get the committed diff against the merge base\ngit diff $MERGE_BASE HEAD\n\n# Get any uncommitted changes (staged and unstaged)\ngit diff HEAD\n```\n\nReview the combination of both outputs: the first shows all committed changes on this branch relative to the target, and the second shows any uncommitted work in progress.\n\nNo need to mention in your report whether or not you used one of the fallback strategies; it's usually irrelevant.\n\n## Output format\n\n**1. Recommendation first** (required), then **2. Findings** (may be empty).\n\nOnly report ONE finding per unique issue.\n\n<example>\n## Recommendation\n\n**Request changes** \u2014 The empty-input crash on load will break first-run users; fix that before merge. The unused helper is a nit and can wait.\n\n## Findings\n\n### **#1 Empty input causes crash** (blocking)\n\nIf the input field is empty when the page loads, the app will crash.\n\nFile: src/client/frontends/desktop/ui/Input.tsx\n\n### **#2 Dead code** (nit)\n\nThe getUserData function is now unused. It should be deleted.\n\nFile: src/client/frontends/desktop/core/UserData.ts\n</example>\n\n<example>\n## Recommendation\n\n**Approve** \u2014 Diff is scoped, behavior looks correct, and there are no blocking issues. Safe to merge.\n</example>\n\n## Growing the rules\n\nIf a blocking issue is a missing or ambiguous repo rule that will recur, say so and propose one sentence for `.sideboard/review.md` or a `.claude/skills/<name>/SKILL.md`. Do not only patch this diff when the same miss will happen again. New skills go under `.claude/skills` (Claude Code / attach) \u2014 not `.sideboard/skills`.\n";
3253
+ declare const REVIEW_REQUEST_TEMPLATE = "# Review guidelines:\n\nYou are reviewing a proposed code change so a human can decide whether it is **ready to merge / land**. Findings matter, but the primary deliverable is a clear readiness recommendation \u2014 not a laundry list of style notes.\n\n## Required outcome\n\nStart your reply with a **Recommendation** section using exactly one of:\n\n- **Approve** \u2014 ready to merge as-is (or with only trivial nits the author can ignore).\n- **Approve with nits** \u2014 ready to merge; list only optional polish that should not block.\n- **Request changes** \u2014 not ready; blocking issues must be fixed first.\n- **Needs more information** \u2014 cannot judge readiness yet (missing context, incomplete diff, unclear intent).\n\nIn 1\u20133 sentences, say **why** \u2014 grounded in correctness, risk, test coverage, and scope \u2014 not vibes. If you request changes, name the blockers explicitly.\n\nPeople running this review are asking \u201Ccan we ship this?\u201D Treat that as the question you answer first.\n\n## Findings\n\nBelow are guidelines for determining whether an issue is worth flagging to the original author.\n\nThese are not the final word. More specific guidelines elsewhere (developer message, user message, a file, etc.) override these.\n\nFlag something as a bug / blocking finding only when:\n\n1. It meaningfully impacts the accuracy, performance, security, or maintainability of the code.\n2. The bug is discrete and actionable (not a vague codebase-wide complaint or a bundle of unrelated issues).\n3. Fixing it does not demand rigor absent from the rest of the codebase.\n4. The issue was introduced by this change (do not flag pre-existing bugs unless they are newly exposed by this PR).\n5. The author would likely fix it if made aware.\n6. It does not rely on unstated assumptions about the codebase or author intent.\n7. Speculative breakage is not enough \u2014 identify the other code that is provably affected.\n8. It is clearly not just an intentional change by the author.\n\nWhen flagging an issue, include a short accompanying comment:\n\n1. Clear about why it is a problem.\n2. Severity must match reality \u2014 do not inflate.\n3. Brief: at most one paragraph; avoid unnecessary line breaks in prose.\n4. No code chunks longer than 3 lines; wrap code in inline ticks or a fenced block.\n5. Call out scenarios / environments / inputs needed to hit the bug when severity depends on them.\n6. Matter-of-fact tone \u2014 helpful assistant, not accusatory or effusive.\n7. Skimmable on first read.\n8. No empty flattery (\u201CGreat job\u2026\u201D, \u201CThanks for\u2026\u201D).\n\nHOW MANY FINDINGS TO RETURN:\n\nList every finding the author would fix if they knew about it. If nothing qualifies, say so and still give the Recommendation. Do not stop at the first finding.\n\nGUIDELINES:\n\n- Ignore trivial style unless it obscures meaning or violates documented standards.\n- One comment per distinct issue (or a short multi-line range if needed).\n- Use ```suggestion blocks ONLY for concrete replacement code (minimal lines; no commentary inside the block).\n- In every ```suggestion block, preserve the exact leading whitespace of the replaced lines (spaces vs tabs, number of spaces).\n- Do NOT introduce or remove outer indentation levels unless that is the actual fix.\n- Separate **blocking** findings from **nits**. Only blocking findings should drive Request changes.\n\nThe report appears in chat (and can become Sideboard diff comments). Avoid unnecessary location chatter in the body; keep line ranges as short as possible (prefer \u22645\u201310 lines).\n\n## Getting the diff\n\nUse Sideboard's diff for this thread's worktree. Prefer the `get_diff` MCP tool (pass this thread's ref) for a compact summary, then read specific files with Read/Glob as needed. In the Sideboard desktop app, the Changes panel shows the same worktree diff.\n\nIf the user asks you to address or read line comments they added in the Changes / file diff UI, those arrive as `diff-comment` attachments on the next turn \u2014 follow them precisely.\n\n## Fallback: if you don't have access to the Sideboard diff tool\n\nIf you don't have access to `get_diff`, use the following git commands to get the diff:\n\n```bash\n# Get the merge base between this branch and the target\nMERGE_BASE=$(git merge-base origin/main HEAD)\n\n# Get the committed diff against the merge base\ngit diff $MERGE_BASE HEAD\n\n# Get any uncommitted changes (staged and unstaged)\ngit diff HEAD\n```\n\nReview the combination of both outputs: the first shows all committed changes on this branch relative to the target, and the second shows any uncommitted work in progress.\n\nNo need to mention in your report whether or not you used one of the fallback strategies; it's usually irrelevant.\n\n## Output format\n\n**1. Recommendation first** (required), then **2. Findings** (may be empty).\n\nOnly report ONE finding per unique issue.\n\n<example>\n## Recommendation\n\n**Request changes** \u2014 The empty-input crash on load will break first-run users; fix that before merge. The unused helper is a nit and can wait.\n\n## Findings\n\n### **#1 Empty input causes crash** (blocking)\n\nIf the input field is empty when the page loads, the app will crash.\n\nFile: src/client/frontends/desktop/ui/Input.tsx\n\n### **#2 Dead code** (nit)\n\nThe getUserData function is now unused. It should be deleted.\n\nFile: src/client/frontends/desktop/core/UserData.ts\n</example>\n\n<example>\n## Recommendation\n\n**Approve** \u2014 Diff is scoped, behavior looks correct, and there are no blocking issues. Safe to merge.\n</example>\n\n## Growing the rules\n\nIf a blocking issue is a missing or ambiguous repo rule that will recur, add one sentence to `.claude/skills/review/SKILL.md` (create the skill if it is missing \u2014 that is allowed and should be committed). Do not only patch this diff when the same miss will happen again. Do not write new skills under `.sideboard/skills/`. Do not use `.sideboard/review.md` for new notes.\n";
3254
+ /** Committed Claude Code project skill — Review attaches this when present. */
3255
+ declare const REVIEW_SKILL_PATH = ".claude/skills/review/SKILL.md";
3256
+ declare const REVIEW_SKILL_NAME = "review";
3257
+ /** Wrap guidelines as a Claude Code skill. Leaves existing frontmatter intact. */
3258
+ declare function wrapReviewSkillMarkdown(body: string): string;
3151
3259
 
3152
- /** Committed per-repo review guidelines (preferred when present). */
3260
+ /** Legacy committed guidelines. New repos use {@link REVIEW_SKILL_PATH}. */
3153
3261
  declare const REPO_REVIEW_PATH = ".sideboard/review.md";
3154
3262
  declare const REPO_REVIEW_NAME = "review.md";
3155
3263
  /**
3156
3264
  * Local scratch guidelines (gitignored under `.context/attachments/`).
3157
- * Used as override when no repo file exists, or as the stock seed target.
3265
+ * Used as a gitignored override when the review skill is absent.
3158
3266
  */
3159
3267
  declare const REVIEW_REQUEST_PATH = ".context/attachments/Review request.md";
3160
3268
  declare const LEGACY_REVIEW_REQUEST_PATH = ".sideboard/attachments/Review request.md";
3161
3269
  declare const REVIEW_REQUEST_NAME = "Review request.md";
3162
3270
  /** Short chat message — guidelines live in the attached review file. */
3163
3271
  declare const REVIEW_REQUEST_PREFILL = "Review changes in this workspace.";
3164
- type ReviewGuidelinesSource = 'repo' | 'local' | 'stock';
3272
+ type ReviewGuidelinesSource = 'skill' | 'repo' | 'local' | 'stock';
3165
3273
  interface ResolvedReviewGuidelines {
3166
3274
  path: string;
3167
3275
  name: string;
@@ -3173,19 +3281,27 @@ interface ResolvedReviewGuidelines {
3173
3281
  * findings-only stock template. Preserve real user customizations.
3174
3282
  */
3175
3283
  declare function shouldRefreshReviewRequestTemplate(content: string): boolean;
3284
+ /**
3285
+ * Write `.claude/skills/review/SKILL.md` when missing so Review, Claude Code,
3286
+ * and `attach` share one committed file. Copies `.sideboard/review.md` or a
3287
+ * customized local attachment when present. Does not git commit.
3288
+ */
3289
+ declare function ensureReviewSkillFile(worktreePath: string): {
3290
+ path: string;
3291
+ content: string;
3292
+ wrote: boolean;
3293
+ };
3176
3294
  /**
3177
3295
  * Resolve which review guidelines to attach:
3178
- * 1. `.sideboard/review.md` (committed, per-repo)
3179
- * 2. `.context/attachments/Review request.md` (local override)
3180
- * 3. Legacy `.sideboard/attachments/Review request.md`
3181
- * 4. Seed stock template into `.context/attachments/` (does not write the repo file)
3296
+ * 1. `.claude/skills/review/SKILL.md` (committed Claude skill)
3297
+ * 2. `.context/attachments/Review request.md` (local override, gitignored)
3298
+ * 3. Legacy `.sideboard/review.md` / `.sideboard/attachments/`
3299
+ * 4. Seed the review skill from stock (or copy legacy repo file)
3182
3300
  */
3183
3301
  declare function resolveReviewGuidelines(worktreePath: string): ResolvedReviewGuidelines;
3184
3302
  /**
3185
3303
  * Ensure a file the user can edit for guidelines.
3186
- * Prefers creating/opening committed `.sideboard/review.md` (per-repo).
3187
- * Falls back to refreshing a legacy local attachments file only when that is
3188
- * what already exists and the repo file does not.
3304
+ * Prefers `.claude/skills/review/SKILL.md` (portable, committed).
3189
3305
  */
3190
3306
  declare function ensureReviewRequestFile(worktreePath: string): ResolvedReviewGuidelines;
3191
3307
  declare function buildReviewRequestAttachment(content: string, opts?: {
@@ -3194,7 +3310,7 @@ declare function buildReviewRequestAttachment(content: string, opts?: {
3194
3310
  }): ThreadAttachment;
3195
3311
  /**
3196
3312
  * Read existing guidelines without creating files.
3197
- * Prefers repo `.sideboard/review.md`, then local attachments copy.
3313
+ * Prefers the review skill, then legacy `.sideboard/review.md`, then local copy.
3198
3314
  */
3199
3315
  declare function readExistingReviewRequestFile(worktreePath: string): string | null;
3200
3316
  interface RequestReviewResult {
@@ -3211,7 +3327,8 @@ declare function requestReview(threadRef: string, send: SendFn): Promise<Request
3211
3327
 
3212
3328
  /**
3213
3329
  * Workspace-local scratch (Conductor-style `.context/`), not committed.
3214
- * Repo-owned Sideboard config stays under `.sideboard/` (settings, review.md).
3330
+ * Repo-owned Sideboard config stays under `.sideboard/` (settings) and
3331
+ * `.claude/skills/` (review + process guides).
3215
3332
  */
3216
3333
  /** Preferred local attachments root (plan, drops, review seed). */
3217
3334
  declare const ATTACHMENTS_DIR = ".context/attachments";
@@ -3327,7 +3444,9 @@ declare const COORDINATOR_TOOL_PLAYBOOK: string;
3327
3444
  declare const SLACK_REPLY_FORMATTING: string;
3328
3445
  /**
3329
3446
  * Short identity block prepended to every orchestration turn prompt.
3330
- * Survives Claude `--resume` (which drops cachedPrefix).
3447
+ * Survives Claude `--resume` (which drops cachedPrefix). Fleet playbook lives
3448
+ * in AGENTS.md / CLAUDE.md — do not repeat it here (it would accumulate in
3449
+ * CLI history and occupy the cached conversation).
3331
3450
  */
3332
3451
  declare function coordinatorTurnReminder(opts: {
3333
3452
  parentId: string;
@@ -3376,6 +3495,8 @@ declare function startMcpServer(): Promise<void>;
3376
3495
  /** Injected Sideboard MCP: worktree turns list UI tools only; orchestration gets the fleet. */
3377
3496
  type SideboardMcpProfile = 'worktree' | 'orchestration';
3378
3497
  declare const SIDEBOARD_MCP_PROFILE_ENV = "SIDEBOARD_MCP_PROFILE";
3498
+ /** Tools registered when SIDEBOARD_MCP_PROFILE=worktree (coding chats). */
3499
+ declare const WORKTREE_MCP_TOOLS: readonly ["present_artifact", "ask_user", "present_plan", "present_schema", "present_files"];
3379
3500
  declare function sideboardMcpProfile(env?: NodeJS.ProcessEnv): SideboardMcpProfile;
3380
3501
 
3381
3502
  interface BrightsyLocalConfig {
@@ -3743,6 +3864,12 @@ interface IpcApi {
3743
3864
  planMode?: boolean;
3744
3865
  attachments?: ThreadAttachment[];
3745
3866
  }): Promise<Thread>;
3867
+ listSchedules(): Promise<ScheduledTask[]>;
3868
+ createSchedule(input: Omit<CreateScheduledTaskInput, 'createdBy'>): Promise<ScheduledTask>;
3869
+ updateSchedule(id: string, patch: UpdateScheduledTaskPatch): Promise<ScheduledTask>;
3870
+ deleteSchedule(id: string): Promise<void>;
3871
+ runSchedule(id: string): Promise<ScheduledTask>;
3872
+ onSchedulesChanged(listener: () => void): () => void;
3746
3873
  createGlobalChat(opts: {
3747
3874
  title?: string;
3748
3875
  agent: AgentKind;
@@ -4296,7 +4423,7 @@ interface SlackListenOptions {
4296
4423
  updateReply?: (msg: SlackInboundMessage, ts: string, text: string) => Promise<void>;
4297
4424
  /** Tests: delete a previously posted reply (chat.delete). */
4298
4425
  deleteReply?: (msg: SlackInboundMessage, ts: string) => Promise<void>;
4299
- /** Tests: override Working… delay / edit cadence. */
4426
+ /** Tests: override Thinking… delay / edit cadence. */
4300
4427
  progressDelayMs?: number;
4301
4428
  progressEditMs?: number;
4302
4429
  /** Tests: ack reactions without talking to Slack Web API. */
@@ -4322,9 +4449,9 @@ declare function formatSlackInboundPrompt(msg: SlackInboundMessage): string;
4322
4449
  * more than one device can see who answered and address follow-ups the same way.
4323
4450
  */
4324
4451
  declare function formatSlackSignedReply(deviceLabel: string, text: string): string;
4325
- /** First Working… post after the turn is still running this long. */
4452
+ /** First Thinking… post after the turn is still running this long. */
4326
4453
  declare const SLACK_PROGRESS_DELAY_MS = 20000;
4327
- /** Edit the Working… message at most this often. */
4454
+ /** Edit the Thinking… message at most this often. */
4328
4455
  declare const SLACK_PROGRESS_EDIT_MS = 15000;
4329
4456
  declare function formatSlackWorkingText(summary?: string | null): string;
4330
4457
  /** Slack emoji short name for “seen / looking at this”. */
@@ -4517,4 +4644,4 @@ interface SlackRelayClientOptions {
4517
4644
  */
4518
4645
  declare function runSlackRelayClient(opts: SlackRelayClientOptions): Promise<void>;
4519
4646
 
4520
- 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, CONVENTION_SETUP_RELPATHS, 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 ConventionSetupFile, 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, REVIEW_REQUEST_TEMPLATE, 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_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, type ScriptHandle, type SetupRunResult, 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, claimDesktopHost, claudeAdapter, claudeChromeEnabled, claudeUserSettingsPath, cleanupOrphanWorktrees, cloneRepoIntoSideboard, codexAdapter, codexSandboxWritableRootsArgs, codexUnattendedGitConfigArgs, 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, desktopHostPidPath, 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, findConventionSetup, findInvalidCacheControlTtlOrder, findOrphanWorktrees, findSlackCoordinator, findThreadByRef, findThreadForStackLayer, flattenTurnInput, forkChatTab, forkMessageSlice, forkThreadWorktree, formatAgentInstructions, formatArtifactDirective, formatBrightsyFetchError, formatFetchError, formatGhLandError, formatGitAuthModeDirective, formatIpcInvokeError, formatMergePrError, formatMessagesAsTranscript, formatPlanQuestionAnswers, formatPlanQuestionsForChat, formatProcessGuideDirective, formatRateLimitResetHint, formatRenameBranchDirective, formatSlackExternalReplyPrompt, formatSlackInboundPrompt, formatSlackRepliesForTurn, formatSlackSignedReply, formatSlackWorkingText, formatTranscriptMarkdown, formatUiReminder, 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, getPrForHeadBranch, getPrMeta, getPrStack, getRepoSetupInfo, getRunMode, getRunScript, getSlackWorkspace, gh, ghHeadRef, ghRepoSelectArgs, git, githubAgentGitEnv, globalAgentCwd, handleSlackInbound, harnessEnvKey, hasBakedLinearOAuth, hasBakedSlackOAuth, hasConductorHook, hasConventionSetup, hasCursorWorktreeSetup, hasRepoHook, hasWorkspaceHook, healOrchestrationSoccerTitles, httpFetch, importConductorWorkspace, importConductorWorkspaceAsync, initPrStack, initStackFromThread, initializeGitRepository, inspectGitWorktree, installAgent, interruptSlackCoordinatorForInbound, isAskUserToolName, isBrightsyConnected, isBrightsyNdjsonLine, isCloudCoordinatorThread, isConductorBundledCli, isCursorAutoModel, isDefaultishSourceRef, isDesktopHostAlive, isDirty, isGhRateLimitError, isGlobalRepoPath, isGlobalThread, isImageFilePath, isInPrStack, isInboundForThisDesktop, isLinearConnected, isLinearOAuthCancelled, isOrchestratorCapableAgent, isOrchestratorThread, isPidAlive, isPlaceholderBranch, isPrNotMergeableError, isPresentPlanToolName, isSessionQuotaLimit, isSideboardScratchPath, isSlackCoordinatorThread, isSlackExternalReplyPrompt, isSlackOAuthCancelled, isThinkingEffort, isThisProcessDesktopHost, 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, mergeAgentGitAuthEnv, mergePr, mergePrStack, mergeSideboardIntoMcpServersJson, mergeUsage, nextPastedTextName, nextThinkingEffort, nonInteractiveGitProcessEnv, 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, registerPackagedUserMcpClients, releaseCaffeinateHoldForThread, releaseDesktopHost, removeWorkspace, removeWorktree, repoSlug, requestOccupancy, requestReview, requireAgent, resetGhStackDetectCache, resetGithubAgentTokenMemo, resolveAgentExecutable, resolveAgentGitAuthEnv, resolveClaudeExecutable, resolveCodexGitWritableRoots, resolveCommandBinarySync, resolveConductorCursorAgentId, resolveCursorModelId, resolveDefaultBranch, resolveDiffBaseRef, resolveEffectiveIssueSource, resolveFilesToCopy, resolveGhAuthToken, resolveGithubAgentToken, resolveGithubRepoSlug, resolveLinearState, resolveLinearTeam, resolveLoginCommand, resolveNewThreadOptions, resolvePlanMarkdown, resolvePrSelector, resolvePrSelectors, resolveQuotaFallbackAgent, resolveRepoRoot, resolveReviewGuidelines, resolveSlackListenMode, resolveThreadDefaults, resolveThreadEffort, resolveVaultKey, resolveWorktreeStartPoint, rewriteLinearError, run, runArchiveScript, runCloudConnect, runConventionSetup, runCursorWorktreeSetup, runSetupScript, runSlackListen, runSlackRelayClient, runWorkspaceSetup, sameWorktreePath, sanitizeMcpServerName, saveAppSettings, saveLinearOAuth, scrubGithubTokensFromChildEnv, 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, thisProcessShouldDrainAgentQueues, threadDisplayLabel, threadFilePath, threadLivePath, threadLockPath, threadRequestsBrightsyMcp, threadsDir, threadsSharingWorktree, toPublicAppSettings, toolDescription, toolDetail, toolFilePath, totalTokens, updateAdvancedSettings, updateAgentExecutable, updateAppEnvironment, updateBrightsySettings, updateClaudeSettings, updateCodexSettings, updateDefaultsSettings, updateIntegrationsSettings, updateLinearIssue, updateOpencodeSettings, updateThread, userClaudeMcpConfigPath, userCursorMcpConfigPath, validateLinearApiKey, waitForPidExit, warmGithubAgentAuth, withAgentInstructions, withExportedPath, withThreadLock, workspaceSettingsSourceLabel, worktreeCleanupSettings, worktreeDisplayLabel, worktreeDisplayLabelForGroup, worktreeNameFromPath, worktreesRoot, writeInjectedMcpConfig, writePlanFile, writeThread, writeWorktreeFile };
4647
+ 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, CONVENTION_SETUP_RELPATHS, 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 ConventionSetupFile, type CreateChatTabInput, type CreateGlobalChatOpts, type CreateScheduledTaskInput, 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, REVIEW_REQUEST_TEMPLATE, REVIEW_SKILL_NAME, REVIEW_SKILL_PATH, type RepoSettings, type RepoSetupInfo, type RequestReviewResult, type ResolvedReviewGuidelines, type ReviewGuidelinesSource, type RunMode, type RunScript, SESSION_RESET_OCCUPANCY_TOKENS, SIDEBOARD_FORCE_STOP, SIDEBOARD_MCP_ALLOWED_TOOLS, SIDEBOARD_MCP_PROFILE_ENV, 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, type ScheduleCreatedBy, type ScheduleWhen, type ScheduledTask, type ScriptHandle, type SetupRunResult, 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 UpdateScheduledTaskPatch, type UsageScope, WORKTREE_MCP_TOOLS, 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, applyPromptCacheTtlEnv, applyThreadIntoMain, applyTurnUsage, armSchedules, 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, caffeinateWhileSchedulesEnabled, caffeinateWhileSlackListenEnabled, captureLoginEnv, captureTurnBaseline, checkoutPrStackLayer, childEnvWithAppSettings, claimDesktopHost, claudeAdapter, claudeChromeEnabled, claudeUserSettingsPath, cleanupOrphanWorktrees, cloneRepoIntoSideboard, codexAdapter, codexSandboxWritableRootsArgs, codexUnattendedGitConfigArgs, coerceOrchestratorAgent, collectTakenTeamSlugs, commentLinearIssue, commitAll, computeNextRunAt, conductorBundledBinDir, conductorDbPath, confirmLand, connectBrightsyTeam, connectSlackToken, contextTokens, coordinatorSystemPrompt, coordinatorTurnReminder, copyConfiguredFiles, countCacheControlBlocks, createChatTab, createEmptyThread, createExistingBranchWorktree, createGlobalChat, createLinearIssue, createLinearPkce, createOrUpdatePr, createPrStack, createSchedule, createThread, createThreadWorktree, currentBranch, cursorAdapter, cursorSdkMessageToEvents, decodeBrightsyTarget, defaultScheduleName, deleteBranchOnPurgeEnabled, deleteSchedule, deleteThreadRecord, desktopHostPidPath, detectAgents, detectGhStack, detectLocalMergeConflicts, disconnectBrightsyTeam, disconnectLinear, disconnectLinearConnection, disconnectSlackWorkspace, discoverSkills, dismissSlackReplyBadge, dropCachedPrefixOnResume, encodeBrightsyTarget, enrichPathWithNpmGlobalBin, enrichWorkspacesWithGithub, ensureAgentPath, ensureCloudCoordinator, ensureGhPreferOrigin, ensureGlobalCoordinatorCwd, ensureReviewRequestFile, ensureReviewSkillFile, ensureSlackCoordinator, ensureSlackDeviceIdentity, ensureWorkspace, estimateMessageChars, estimateThreadChars, expandComposerPrompt, extractGhErrorDetail, extractPendingPlanQuestions, extractPresentedPlan, extractiveSummary, fetchPrHead, finalizeParts, findConventionSetup, findInvalidCacheControlTtlOrder, findOrphanWorktrees, findSlackCoordinator, findThreadByRef, findThreadForStackLayer, fireSchedule, flattenTurnInput, forkChatTab, forkMessageSlice, forkThreadWorktree, formatAgentInstructions, formatArtifactDirective, formatBrightsyFetchError, formatFetchError, formatGhLandError, formatGitAuthModeDirective, formatIpcInvokeError, formatMergePrError, formatMessagesAsTranscript, formatPlanQuestionAnswers, formatPlanQuestionsForChat, formatProcessGuideDirective, formatRateLimitResetHint, formatRenameBranchDirective, formatScheduleWhen, formatScheduledPrompt, formatSlackExternalReplyPrompt, formatSlackInboundPrompt, formatSlackRepliesForTurn, formatSlackSignedReply, formatSlackWorkingText, formatTranscriptMarkdown, formatUiReminder, 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, getPrForHeadBranch, getPrMeta, getPrStack, getRepoSetupInfo, getRunMode, getRunScript, getSchedule, getSlackWorkspace, gh, ghHeadRef, ghRepoSelectArgs, git, githubAgentGitEnv, globalAgentCwd, handleSlackInbound, harnessEnvKey, hasBakedLinearOAuth, hasBakedSlackOAuth, hasConductorHook, hasConventionSetup, hasCursorWorktreeSetup, hasEnabledSchedules, hasRepoHook, hasWorkspaceHook, healOrchestrationSoccerTitles, httpFetch, importConductorWorkspace, importConductorWorkspaceAsync, initPrStack, initStackFromThread, initializeGitRepository, inspectGitWorktree, installAgent, interruptSlackCoordinatorForInbound, isAskUserToolName, isBrightsyConnected, isBrightsyNdjsonLine, isCloudCoordinatorThread, isConductorBundledCli, isCursorAutoModel, isDefaultishSourceRef, isDesktopHostAlive, isDirty, isGhRateLimitError, isGlobalRepoPath, isGlobalThread, isImageFilePath, isInPrStack, isInboundForThisDesktop, isLinearConnected, isLinearOAuthCancelled, isOrchestratorCapableAgent, isOrchestratorThread, isPidAlive, isPlaceholderBranch, isPrNotMergeableError, isPresentPlanToolName, isSessionQuotaLimit, isSideboardScratchPath, isSlackCoordinatorThread, isSlackExternalReplyPrompt, isSlackOAuthCancelled, isThinkingEffort, isThisProcessDesktopHost, isThreadCaffeinated, isWorkspaceScratchPath, lastRequestOccupancy, linearAuthorizationHeader, linearGraphql, linearOAuthAuthorizeUrl, linearOAuthCredentials, listAgentSetupInfo, listBranchCommits, listBranches, listBrightsyAccounts, listBrightsyChatTargets, listCodexModels, listConductorWorkspaces, listConnectedBrightsyTeams, listCursorModels, listGitHubIssues, listGlobalThreads, listIssues, listLinearIssues, listLinearIssuesDirect, listLinearTeams, listModelsForAgent, listOpencodeModels, listPrs, listRunScripts, listSchedules, listSlackOutboundWatches, listSlackReplyBadges, listSlackWorkspaces, listThreads, listWorkspaces, listWorktreeFiles, listWorktrees, loadAgentInstructions, loadAppSettings, loadBrightsyConfig, loadConductorSettings, loadRepoSettings, loadWorkspaceSettings, locksDir, loginAgent, lookupSoccerTeam, maxConcurrentAgents, maybeCompactContext, mcpAllowTools, mcpAuthWarnings, mergeAgentGitAuthEnv, mergePr, mergePrStack, mergeSideboardIntoMcpServersJson, mergeUsage, nextPastedTextName, nextThinkingEffort, nonInteractiveGitProcessEnv, normalizeParseResult, normalizeThinkingEffort, normalizeThread, normalizeTurnInput, normalizeWorktreePath, openInSystemTerminal, openPrStackLayers, openStackLayer, opencodeAdapter, orchestrationQuotaFallbackAgent, orchestrationQuotaOnLimit, orchestrationTitleNeedsSoccerNickname, orchestratorSessionPoisonedByBuiltins, originGhRepoEnv, parseCursorRunnerLine, parseDurationMs, 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, recordScheduleRun, recordSlackOutboundWatch, refreshGitHubAuth, refreshSlackReplyBadges, registerPackagedUserMcpClients, releaseCaffeinateHoldForThread, releaseDesktopHost, removeWorkspace, removeWorktree, repoSlug, requestOccupancy, requestReview, requireAgent, resetGhStackDetectCache, resetGithubAgentTokenMemo, resolveAgentExecutable, resolveAgentGitAuthEnv, resolveClaudeExecutable, resolveCodexGitWritableRoots, resolveCommandBinarySync, resolveConductorCursorAgentId, resolveCursorModelId, resolveDefaultBranch, resolveDiffBaseRef, resolveEffectiveIssueSource, resolveFilesToCopy, resolveGhAuthToken, resolveGithubAgentToken, resolveGithubRepoSlug, resolveLinearState, resolveLinearTeam, resolveLoginCommand, resolveNewThreadOptions, resolvePlanMarkdown, resolvePrSelector, resolvePrSelectors, resolveQuotaFallbackAgent, resolveRepoRoot, resolveReviewGuidelines, resolveScheduleThreadId, resolveSlackListenMode, resolveThreadDefaults, resolveThreadEffort, resolveVaultKey, resolveWorktreeStartPoint, rewriteLinearError, run, runArchiveScript, runCloudConnect, runConventionSetup, runCursorWorktreeSetup, runSetupScript, runSlackListen, runSlackRelayClient, runWorkspaceSetup, sameWorktreePath, sanitizeMcpServerName, saveAppSettings, saveLinearOAuth, schedulesPath, scrubGithubTokensFromChildEnv, secureFileUnlocksWith, setCaffeinateHold, setHttpFetchImpl, setStatus, setVaultMasterKey, settingsSourceLabel, shouldAttachPastedText, shouldCompactContext, shouldInjectBrightsyMcp, shouldRefreshReviewRequestTemplate, shouldResetSessionForOccupancy, 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, thisProcessShouldDrainAgentQueues, threadDisplayLabel, threadFilePath, threadLivePath, threadLockPath, threadRequestsBrightsyMcp, threadsDir, threadsSharingWorktree, toPublicAppSettings, toolDescription, toolDetail, toolFilePath, totalTokens, updateAdvancedSettings, updateAgentExecutable, updateAppEnvironment, updateBrightsySettings, updateClaudeSettings, updateCodexSettings, updateDefaultsSettings, updateIntegrationsSettings, updateLinearIssue, updateOpencodeSettings, updateSchedule, updateThread, userClaudeMcpConfigPath, userCursorMcpConfigPath, validateLinearApiKey, waitForPidExit, warmGithubAgentAuth, withAgentInstructions, withExportedPath, withThreadLock, workspaceSettingsSourceLabel, worktreeCleanupSettings, worktreeDisplayLabel, worktreeDisplayLabelForGroup, worktreeNameFromPath, worktreesRoot, wrapReviewSkillMarkdown, writeInjectedMcpConfig, writePlanFile, writeThread, writeWorktreeFile };