@sideboard-ai/core 0.1.145 → 0.1.147
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-4WOO4WN4.js → agents-N3KMRQUZ.js} +4 -4
- package/dist/{agents-VFBNZHI4.js → agents-YVETHB2R.js} +4 -4
- package/dist/{chunk-TTJ6EYZC.js → chunk-4RYRNJPN.js} +3 -3
- package/dist/{chunk-2C5RE7K4.js → chunk-67K3FRKR.js} +1 -1
- package/dist/{chunk-G3KLNP2B.js → chunk-IHSR7EVK.js} +2 -2
- package/dist/{chunk-3UD2LW4P.js → chunk-JHZ6HGRI.js} +2 -2
- package/dist/{chunk-QS5JJ2IM.js → chunk-JTPDWTWJ.js} +117 -34
- package/dist/{chunk-LWRNRMYY.js → chunk-JW436RTA.js} +2 -2
- package/dist/{chunk-XUYIJY6D.js → chunk-KNE3FZ46.js} +2 -2
- package/dist/{chunk-335KQKWX.js → chunk-KZG47SZP.js} +18 -14
- package/dist/{chunk-DN7UA3UT.js → chunk-SXPTL222.js} +1 -1
- package/dist/{chunk-UJWGZM4K.js → chunk-WWH4NNBH.js} +3 -3
- package/dist/{chunk-JSYIBLBK.js → chunk-YP3CSOZ6.js} +117 -34
- package/dist/{chunk-3EMJ5LVV.js → chunk-ZZBN2MR7.js} +18 -14
- package/dist/{coordinator-prompt-JSX22ULD.js → coordinator-prompt-2EOR35TP.js} +2 -2
- package/dist/{coordinator-prompt-J2WBXGLP.js → coordinator-prompt-6EPVHVGJ.js} +2 -2
- package/dist/{global-workspace-6WR7OGMI.js → global-workspace-EZVQPMWT.js} +3 -3
- package/dist/{global-workspace-AQESFS7I.js → global-workspace-PANZGRUS.js} +3 -3
- package/dist/index.cjs +226 -34
- package/dist/index.d.cts +61 -2
- package/dist/index.d.ts +61 -2
- package/dist/index.js +109 -6
- package/dist/mcp/run-stdio.cjs +119 -34
- package/dist/mcp/run-stdio.js +6 -6
- package/dist/{orchestrator-XPGJV7JK.js → orchestrator-KWV2PPML.js} +6 -6
- package/dist/{orchestrator-WWQBBIPP.js → orchestrator-T35BJZWY.js} +6 -6
- package/dist/{workspaces-V3RNE5ZX.js → workspaces-DWERPUQJ.js} +4 -4
- package/dist/{workspaces-WALT3MJB.js → workspaces-ZJATBC4A.js} +4 -4
- package/dist/{worktree-3NLPMA7K.js → worktree-RZRJNHYL.js} +7 -1
- package/dist/{worktree-TUZX7F7P.js → worktree-UCWWTVLS.js} +7 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4952,6 +4952,8 @@ __export(worktree_exports, {
|
|
|
4952
4952
|
currentBranch: () => currentBranch,
|
|
4953
4953
|
detectLocalMergeConflicts: () => detectLocalMergeConflicts,
|
|
4954
4954
|
ensureGhPreferOrigin: () => ensureGhPreferOrigin,
|
|
4955
|
+
fastForwardMainCheckoutIfSafe: () => fastForwardMainCheckoutIfSafe,
|
|
4956
|
+
fetchOriginForWorktree: () => fetchOriginForWorktree,
|
|
4955
4957
|
fetchPrHead: () => fetchPrHead,
|
|
4956
4958
|
getPr: () => getPr,
|
|
4957
4959
|
getPrChecks: () => getPrChecks,
|
|
@@ -4972,6 +4974,7 @@ __export(worktree_exports, {
|
|
|
4972
4974
|
markPrReady: () => markPrReady,
|
|
4973
4975
|
mergePr: () => mergePr,
|
|
4974
4976
|
normalizeWorktreePath: () => normalizeWorktreePath,
|
|
4977
|
+
originFetchBranch: () => originFetchBranch,
|
|
4975
4978
|
originGhRepoEnv: () => originGhRepoEnv,
|
|
4976
4979
|
parseGithubSlugFromRemoteUrl: () => parseGithubSlugFromRemoteUrl,
|
|
4977
4980
|
pushBranch: () => pushBranch,
|
|
@@ -5750,45 +5753,128 @@ async function resolveWorktreeStartPoint(repoPath, sourceRef) {
|
|
|
5750
5753
|
function isLocalPrFetchBranch(ref) {
|
|
5751
5754
|
return /^sideboard-pr-\d+$/.test(ref.trim());
|
|
5752
5755
|
}
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
if (
|
|
5757
|
-
|
|
5756
|
+
function originFetchBranch(sourceRef) {
|
|
5757
|
+
const ref = sourceRef.trim();
|
|
5758
|
+
if (!ref || isLocalPrFetchBranch(ref)) return null;
|
|
5759
|
+
if (ref.startsWith("refs/remotes/origin/")) {
|
|
5760
|
+
return ref.slice("refs/remotes/origin/".length) || null;
|
|
5758
5761
|
}
|
|
5759
|
-
|
|
5760
|
-
|
|
5762
|
+
if (ref.startsWith("refs/heads/")) {
|
|
5763
|
+
return ref.slice("refs/heads/".length) || null;
|
|
5764
|
+
}
|
|
5765
|
+
if (ref.startsWith("refs/")) return null;
|
|
5766
|
+
if (ref.startsWith("origin/")) return ref.slice("origin/".length) || null;
|
|
5767
|
+
return ref;
|
|
5768
|
+
}
|
|
5769
|
+
async function fetchOriginWithAuth(repoPath, args, timeoutMs) {
|
|
5770
|
+
const first = await git(args, repoPath, { reject: false, timeoutMs });
|
|
5771
|
+
if (first.exitCode === 0) return true;
|
|
5772
|
+
let mode;
|
|
5761
5773
|
try {
|
|
5762
|
-
|
|
5774
|
+
mode = getGithubGitAuthMode();
|
|
5763
5775
|
} catch {
|
|
5764
|
-
|
|
5776
|
+
return false;
|
|
5765
5777
|
}
|
|
5766
|
-
if (
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5778
|
+
if (mode === "ssh") return false;
|
|
5779
|
+
const token = await resolveGithubAgentToken(mode, repoPath);
|
|
5780
|
+
if (!token) return false;
|
|
5781
|
+
const tryHttps = async (header) => git(args, repoPath, {
|
|
5782
|
+
reject: false,
|
|
5783
|
+
timeoutMs,
|
|
5784
|
+
env: { GIT_TERMINAL_PROMPT: "0" },
|
|
5785
|
+
config: {
|
|
5786
|
+
"url.https://github.com/.insteadOf": "git@github.com:",
|
|
5787
|
+
"http.extraHeader": header
|
|
5788
|
+
}
|
|
5789
|
+
});
|
|
5790
|
+
const bearer = await tryHttps(`AUTHORIZATION: bearer ${token}`);
|
|
5791
|
+
if (bearer.exitCode === 0) return true;
|
|
5792
|
+
const basic = Buffer.from(`x-access-token:${token}`, "utf8").toString("base64");
|
|
5793
|
+
const basicFetch = await tryHttps(`Authorization: Basic ${basic}`);
|
|
5794
|
+
return basicFetch.exitCode === 0;
|
|
5795
|
+
}
|
|
5796
|
+
async function fetchOriginForWorktree(repoPath, sourceRef, opts) {
|
|
5797
|
+
const timeoutMs = opts?.timeoutMs ?? 2e4;
|
|
5798
|
+
const branch = originFetchBranch(sourceRef);
|
|
5799
|
+
if (!branch) return false;
|
|
5800
|
+
const tipOk = await fetchOriginWithAuth(
|
|
5801
|
+
repoPath,
|
|
5802
|
+
["fetch", "origin", branch],
|
|
5803
|
+
timeoutMs
|
|
5804
|
+
);
|
|
5805
|
+
await fetchOriginWithAuth(repoPath, ["fetch", "origin", "--prune"], timeoutMs);
|
|
5806
|
+
return tipOk;
|
|
5807
|
+
}
|
|
5808
|
+
async function fastForwardMainCheckoutIfSafe(repoPath, opts) {
|
|
5809
|
+
try {
|
|
5810
|
+
const branch = opts?.branch?.trim() || await resolveDefaultBranch(repoPath, { network: false });
|
|
5811
|
+
const head = await git(["rev-parse", "--abbrev-ref", "HEAD"], repoPath, {
|
|
5812
|
+
reject: false
|
|
5771
5813
|
});
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
timeoutMs: fetchTimeoutMs
|
|
5776
|
-
});
|
|
5814
|
+
const current = head.stdout.trim();
|
|
5815
|
+
if (head.exitCode !== 0 || !current || current === "HEAD" || current !== branch) {
|
|
5816
|
+
return { updated: false, reason: "not-on-default" };
|
|
5777
5817
|
}
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
opts.repoPath,
|
|
5781
|
-
opts.sourceRef
|
|
5782
|
-
);
|
|
5783
|
-
} catch (err) {
|
|
5784
|
-
if (!startPoint) throw err;
|
|
5818
|
+
if (await isDirty(repoPath)) {
|
|
5819
|
+
return { updated: false, reason: "dirty" };
|
|
5785
5820
|
}
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5821
|
+
const remote = `origin/${branch}`;
|
|
5822
|
+
const remoteOk = await git(["rev-parse", "--verify", remote], repoPath, {
|
|
5823
|
+
reject: false
|
|
5824
|
+
});
|
|
5825
|
+
if (remoteOk.exitCode !== 0) {
|
|
5826
|
+
return { updated: false, reason: "no-origin-tip" };
|
|
5827
|
+
}
|
|
5828
|
+
const ancestor = await git(
|
|
5829
|
+
["merge-base", "--is-ancestor", "HEAD", remote],
|
|
5830
|
+
repoPath,
|
|
5831
|
+
{ reject: false }
|
|
5790
5832
|
);
|
|
5833
|
+
if (ancestor.exitCode !== 0) {
|
|
5834
|
+
return { updated: false, reason: "diverged" };
|
|
5835
|
+
}
|
|
5836
|
+
const behind = await git(
|
|
5837
|
+
["rev-list", "--count", `HEAD..${remote}`],
|
|
5838
|
+
repoPath,
|
|
5839
|
+
{ reject: false }
|
|
5840
|
+
);
|
|
5841
|
+
const n = Number(behind.stdout.trim());
|
|
5842
|
+
if (behind.exitCode !== 0 || !Number.isFinite(n) || n <= 0) {
|
|
5843
|
+
return { updated: false, reason: "already-current" };
|
|
5844
|
+
}
|
|
5845
|
+
const ff = await git(["merge", "--ff-only", remote], repoPath, {
|
|
5846
|
+
reject: false
|
|
5847
|
+
});
|
|
5848
|
+
if (ff.exitCode !== 0) {
|
|
5849
|
+
return { updated: false, reason: "ff-failed" };
|
|
5850
|
+
}
|
|
5851
|
+
return { updated: true, reason: "updated" };
|
|
5852
|
+
} catch {
|
|
5853
|
+
return { updated: false, reason: "ff-failed" };
|
|
5854
|
+
}
|
|
5855
|
+
}
|
|
5856
|
+
async function refreshOriginAndMaybeFastForwardMain(repoPath, sourceRef) {
|
|
5857
|
+
if (!isLocalPrFetchBranch(sourceRef)) {
|
|
5858
|
+
await fetchOriginForWorktree(repoPath, sourceRef);
|
|
5859
|
+
}
|
|
5860
|
+
const def = await resolveDefaultBranch(repoPath, { network: false });
|
|
5861
|
+
if (originFetchBranch(sourceRef) !== def) {
|
|
5862
|
+
await fetchOriginForWorktree(repoPath, def);
|
|
5791
5863
|
}
|
|
5864
|
+
await fastForwardMainCheckoutIfSafe(repoPath, { branch: def });
|
|
5865
|
+
}
|
|
5866
|
+
async function createThreadWorktree(opts) {
|
|
5867
|
+
let branchName = `thread/${opts.slug}`;
|
|
5868
|
+
const worktreePath = (0, import_node_path18.join)(worktreesRoot(opts.repoPath), opts.slug);
|
|
5869
|
+
if ((0, import_node_fs16.existsSync)(worktreePath)) {
|
|
5870
|
+
throw new Error(`Worktree already exists at ${worktreePath}`);
|
|
5871
|
+
}
|
|
5872
|
+
await ensureGhPreferOrigin(opts.repoPath);
|
|
5873
|
+
await refreshOriginAndMaybeFastForwardMain(opts.repoPath, opts.sourceRef);
|
|
5874
|
+
const startPoint = await resolveWorktreeStartPoint(
|
|
5875
|
+
opts.repoPath,
|
|
5876
|
+
opts.sourceRef
|
|
5877
|
+
);
|
|
5792
5878
|
const added = await withRepoGitLock(opts.repoPath, async () => {
|
|
5793
5879
|
const add = await git(
|
|
5794
5880
|
["worktree", "add", "-b", branchName, worktreePath, startPoint],
|
|
@@ -5825,10 +5911,7 @@ async function createExistingBranchWorktree(opts) {
|
|
|
5825
5911
|
throw new Error(`Worktree already exists at ${worktreePath}`);
|
|
5826
5912
|
}
|
|
5827
5913
|
await ensureGhPreferOrigin(opts.repoPath);
|
|
5828
|
-
await
|
|
5829
|
-
if (!branchName.startsWith("origin/") && !branchName.startsWith("refs/")) {
|
|
5830
|
-
await git(["fetch", "origin", branchName], opts.repoPath, { reject: false });
|
|
5831
|
-
}
|
|
5914
|
+
await refreshOriginAndMaybeFastForwardMain(opts.repoPath, branchName);
|
|
5832
5915
|
const existing = await listWorktrees(opts.repoPath);
|
|
5833
5916
|
const already = existing.find((w) => w.branch === branchName);
|
|
5834
5917
|
if (already?.path) {
|
|
@@ -14964,6 +15047,8 @@ async function createThread(input, _onSetupLine) {
|
|
|
14964
15047
|
`Cowboy mode uses ${defaultBranch} in the project folder. Switch that checkout to ${defaultBranch} first (currently ${head}).`
|
|
14965
15048
|
);
|
|
14966
15049
|
}
|
|
15050
|
+
await fetchOriginForWorktree(repoPath, defaultBranch);
|
|
15051
|
+
await fastForwardMainCheckoutIfSafe(repoPath, { branch: defaultBranch });
|
|
14967
15052
|
const explicitTitle2 = input.title?.trim();
|
|
14968
15053
|
const thread2 = createEmptyThread({
|
|
14969
15054
|
title: explicitTitle2 || `Cowboy \xB7 ${head}`,
|
|
@@ -20375,9 +20460,11 @@ __export(index_exports, {
|
|
|
20375
20460
|
buildBrightsySessionSeed: () => buildBrightsySessionSeed,
|
|
20376
20461
|
buildCachedUserContent: () => buildCachedUserContent,
|
|
20377
20462
|
buildClaudeStreamJsonUserMessage: () => buildClaudeStreamJsonUserMessage,
|
|
20463
|
+
buildCodeRefAttachment: () => buildCodeRefAttachment,
|
|
20378
20464
|
buildDiffCommentAttachment: () => buildDiffCommentAttachment,
|
|
20379
20465
|
buildForkTranscriptAttachment: () => buildForkTranscriptAttachment,
|
|
20380
20466
|
buildPastedTextAttachment: () => buildPastedTextAttachment,
|
|
20467
|
+
buildPathRefAttachment: () => buildPathRefAttachment,
|
|
20381
20468
|
buildReviewRequestAttachment: () => buildReviewRequestAttachment,
|
|
20382
20469
|
buildSessionSeed: () => buildSessionSeed,
|
|
20383
20470
|
buildWorkspaceScriptEnv: () => buildWorkspaceScriptEnv,
|
|
@@ -20401,6 +20488,7 @@ __export(index_exports, {
|
|
|
20401
20488
|
clearBoardPins: () => clearBoardPins,
|
|
20402
20489
|
clearHomeBoardCache: () => clearHomeBoardCache,
|
|
20403
20490
|
cloneRepoIntoSideboard: () => cloneRepoIntoSideboard,
|
|
20491
|
+
codeRefRangeLabel: () => codeRefRangeLabel,
|
|
20404
20492
|
codexAdapter: () => codexAdapter,
|
|
20405
20493
|
codexSandboxWritableRootsArgs: () => codexSandboxWritableRootsArgs,
|
|
20406
20494
|
codexUnattendedGitConfigArgs: () => codexUnattendedGitConfigArgs,
|
|
@@ -20481,6 +20569,8 @@ __export(index_exports, {
|
|
|
20481
20569
|
extractPendingPlanQuestions: () => extractPendingPlanQuestions,
|
|
20482
20570
|
extractPresentedPlan: () => extractPresentedPlan,
|
|
20483
20571
|
extractiveSummary: () => extractiveSummary,
|
|
20572
|
+
fastForwardMainCheckoutIfSafe: () => fastForwardMainCheckoutIfSafe,
|
|
20573
|
+
fetchOriginForWorktree: () => fetchOriginForWorktree,
|
|
20484
20574
|
fetchPrHead: () => fetchPrHead,
|
|
20485
20575
|
finalizeParts: () => finalizeParts,
|
|
20486
20576
|
findConventionSetup: () => findConventionSetup,
|
|
@@ -20707,6 +20797,7 @@ __export(index_exports, {
|
|
|
20707
20797
|
nextThinkingEffort: () => nextThinkingEffort,
|
|
20708
20798
|
nonInteractiveGitProcessEnv: () => nonInteractiveGitProcessEnv,
|
|
20709
20799
|
normalizeAbleTimeHost: () => normalizeAbleTimeHost,
|
|
20800
|
+
normalizeCodeSelection: () => normalizeCodeSelection,
|
|
20710
20801
|
normalizeParseResult: () => normalizeParseResult,
|
|
20711
20802
|
normalizeServiceOrigin: () => normalizeServiceOrigin,
|
|
20712
20803
|
normalizeThinkingEffort: () => normalizeThinkingEffort,
|
|
@@ -20723,6 +20814,7 @@ __export(index_exports, {
|
|
|
20723
20814
|
orchestrationQuotaOnLimit: () => orchestrationQuotaOnLimit,
|
|
20724
20815
|
orchestrationTitleNeedsSoccerNickname: () => orchestrationTitleNeedsSoccerNickname,
|
|
20725
20816
|
orchestratorSessionPoisonedByBuiltins: () => orchestratorSessionPoisonedByBuiltins,
|
|
20817
|
+
originFetchBranch: () => originFetchBranch,
|
|
20726
20818
|
originGhRepoEnv: () => originGhRepoEnv,
|
|
20727
20819
|
packagedDetachedJobPath: () => packagedDetachedJobPath,
|
|
20728
20820
|
parseCursorRunnerLine: () => parseCursorRunnerLine,
|
|
@@ -21850,6 +21942,99 @@ function buildDiffCommentAttachment(input) {
|
|
|
21850
21942
|
};
|
|
21851
21943
|
}
|
|
21852
21944
|
|
|
21945
|
+
// src/composer/code-ref.ts
|
|
21946
|
+
function codeRefRangeLabel(startLine, endLine) {
|
|
21947
|
+
return startLine === endLine ? `L${startLine}` : `L${startLine}-${endLine}`;
|
|
21948
|
+
}
|
|
21949
|
+
function normalizeCodeSelection(startLine, startColumn, endLine, endColumn) {
|
|
21950
|
+
if (startLine < 1 || endLine < 1) return null;
|
|
21951
|
+
let sl = startLine;
|
|
21952
|
+
let sc = startColumn;
|
|
21953
|
+
let el = endLine;
|
|
21954
|
+
let ec = endColumn;
|
|
21955
|
+
if (el < sl || el === sl && ec < sc) {
|
|
21956
|
+
sl = endLine;
|
|
21957
|
+
sc = endColumn;
|
|
21958
|
+
el = startLine;
|
|
21959
|
+
ec = startColumn;
|
|
21960
|
+
}
|
|
21961
|
+
if (sl === el && sc === ec) return null;
|
|
21962
|
+
if (ec <= 1 && el > sl) el -= 1;
|
|
21963
|
+
return { startLine: sl, endLine: el };
|
|
21964
|
+
}
|
|
21965
|
+
function fenceLanguage(path2, language) {
|
|
21966
|
+
if (language && language !== "plaintext") return language;
|
|
21967
|
+
const base = path2.split(/[/\\]/).pop()?.toLowerCase() ?? "";
|
|
21968
|
+
const ext = base.includes(".") ? base.split(".").pop() ?? "" : "";
|
|
21969
|
+
return ext;
|
|
21970
|
+
}
|
|
21971
|
+
function buildCodeRefAttachment(input) {
|
|
21972
|
+
const path2 = input.path.trim();
|
|
21973
|
+
const text5 = input.text.replace(/\n$/, "");
|
|
21974
|
+
if (!path2) {
|
|
21975
|
+
throw new Error("code reference requires a file path");
|
|
21976
|
+
}
|
|
21977
|
+
if (!text5.trim()) {
|
|
21978
|
+
throw new Error("code reference requires selected text");
|
|
21979
|
+
}
|
|
21980
|
+
if (input.startLine < 1 || input.endLine < 1 || input.endLine < input.startLine) {
|
|
21981
|
+
throw new Error("code reference requires a valid line range");
|
|
21982
|
+
}
|
|
21983
|
+
const range = codeRefRangeLabel(input.startLine, input.endLine);
|
|
21984
|
+
const lang = fenceLanguage(path2, input.language);
|
|
21985
|
+
const fence = lang ? "```" + lang : "```";
|
|
21986
|
+
const content = [
|
|
21987
|
+
`Referenced code from \`${path2}\` (${range}).`,
|
|
21988
|
+
"",
|
|
21989
|
+
fence,
|
|
21990
|
+
text5,
|
|
21991
|
+
"```"
|
|
21992
|
+
].join("\n");
|
|
21993
|
+
return {
|
|
21994
|
+
id: input.id ?? `code-ref-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,
|
|
21995
|
+
name: `${path2}:${range}`,
|
|
21996
|
+
kind: "code-ref",
|
|
21997
|
+
path: path2,
|
|
21998
|
+
content
|
|
21999
|
+
};
|
|
22000
|
+
}
|
|
22001
|
+
var FOLDER_LISTING_CAP = 40;
|
|
22002
|
+
function formatFolderListing(childPaths) {
|
|
22003
|
+
if (childPaths.length === 0) return ["(no tracked files in this folder)"];
|
|
22004
|
+
const shown = childPaths.slice(0, FOLDER_LISTING_CAP);
|
|
22005
|
+
const lines = ["Tracked files:", ...shown.map((p) => `- \`${p}\``)];
|
|
22006
|
+
if (childPaths.length > FOLDER_LISTING_CAP) {
|
|
22007
|
+
lines.push(`(and ${childPaths.length - FOLDER_LISTING_CAP} more)`);
|
|
22008
|
+
}
|
|
22009
|
+
return lines;
|
|
22010
|
+
}
|
|
22011
|
+
function buildPathRefAttachment(input) {
|
|
22012
|
+
const path2 = input.path.trim().replace(/\\/g, "/").replace(/\/+$/, "");
|
|
22013
|
+
if (!path2) {
|
|
22014
|
+
throw new Error("path reference requires a file or folder path");
|
|
22015
|
+
}
|
|
22016
|
+
const isDir = input.entry === "dir";
|
|
22017
|
+
const name = isDir ? `${path2}/` : path2;
|
|
22018
|
+
const content = isDir ? [
|
|
22019
|
+
`Referenced folder \`${path2}/\`.`,
|
|
22020
|
+
"",
|
|
22021
|
+
"Use Glob, Grep, and Read under this directory when you need files in it.",
|
|
22022
|
+
"",
|
|
22023
|
+
...formatFolderListing(input.childPaths ?? [])
|
|
22024
|
+
].join("\n") : [
|
|
22025
|
+
`Referenced file \`${path2}\`.`,
|
|
22026
|
+
"",
|
|
22027
|
+
`Use the Read tool on \`${path2}\` when you need the contents.`
|
|
22028
|
+
].join("\n");
|
|
22029
|
+
return {
|
|
22030
|
+
id: input.id ?? `path-ref-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,
|
|
22031
|
+
name,
|
|
22032
|
+
kind: "code-ref",
|
|
22033
|
+
path: name,
|
|
22034
|
+
content
|
|
22035
|
+
};
|
|
22036
|
+
}
|
|
22037
|
+
|
|
21853
22038
|
// src/index.ts
|
|
21854
22039
|
init_stage_files();
|
|
21855
22040
|
|
|
@@ -26963,9 +27148,11 @@ init_outbound_watch();
|
|
|
26963
27148
|
buildBrightsySessionSeed,
|
|
26964
27149
|
buildCachedUserContent,
|
|
26965
27150
|
buildClaudeStreamJsonUserMessage,
|
|
27151
|
+
buildCodeRefAttachment,
|
|
26966
27152
|
buildDiffCommentAttachment,
|
|
26967
27153
|
buildForkTranscriptAttachment,
|
|
26968
27154
|
buildPastedTextAttachment,
|
|
27155
|
+
buildPathRefAttachment,
|
|
26969
27156
|
buildReviewRequestAttachment,
|
|
26970
27157
|
buildSessionSeed,
|
|
26971
27158
|
buildWorkspaceScriptEnv,
|
|
@@ -26989,6 +27176,7 @@ init_outbound_watch();
|
|
|
26989
27176
|
clearBoardPins,
|
|
26990
27177
|
clearHomeBoardCache,
|
|
26991
27178
|
cloneRepoIntoSideboard,
|
|
27179
|
+
codeRefRangeLabel,
|
|
26992
27180
|
codexAdapter,
|
|
26993
27181
|
codexSandboxWritableRootsArgs,
|
|
26994
27182
|
codexUnattendedGitConfigArgs,
|
|
@@ -27069,6 +27257,8 @@ init_outbound_watch();
|
|
|
27069
27257
|
extractPendingPlanQuestions,
|
|
27070
27258
|
extractPresentedPlan,
|
|
27071
27259
|
extractiveSummary,
|
|
27260
|
+
fastForwardMainCheckoutIfSafe,
|
|
27261
|
+
fetchOriginForWorktree,
|
|
27072
27262
|
fetchPrHead,
|
|
27073
27263
|
finalizeParts,
|
|
27074
27264
|
findConventionSetup,
|
|
@@ -27295,6 +27485,7 @@ init_outbound_watch();
|
|
|
27295
27485
|
nextThinkingEffort,
|
|
27296
27486
|
nonInteractiveGitProcessEnv,
|
|
27297
27487
|
normalizeAbleTimeHost,
|
|
27488
|
+
normalizeCodeSelection,
|
|
27298
27489
|
normalizeParseResult,
|
|
27299
27490
|
normalizeServiceOrigin,
|
|
27300
27491
|
normalizeThinkingEffort,
|
|
@@ -27311,6 +27502,7 @@ init_outbound_watch();
|
|
|
27311
27502
|
orchestrationQuotaOnLimit,
|
|
27312
27503
|
orchestrationTitleNeedsSoccerNickname,
|
|
27313
27504
|
orchestratorSessionPoisonedByBuiltins,
|
|
27505
|
+
originFetchBranch,
|
|
27314
27506
|
originGhRepoEnv,
|
|
27315
27507
|
packagedDetachedJobPath,
|
|
27316
27508
|
parseCursorRunnerLine,
|
package/dist/index.d.cts
CHANGED
|
@@ -92,7 +92,7 @@ interface ThreadMessage {
|
|
|
92
92
|
interface ThreadAttachment {
|
|
93
93
|
id: string;
|
|
94
94
|
name: string;
|
|
95
|
-
kind: 'transcript' | 'file' | 'issue' | 'workspace' | 'diff-comment';
|
|
95
|
+
kind: 'transcript' | 'file' | 'issue' | 'workspace' | 'diff-comment' | 'code-ref';
|
|
96
96
|
content: string;
|
|
97
97
|
/** Worktree-relative path when this attachment is a real file that can be opened in a tab. */
|
|
98
98
|
path?: string;
|
|
@@ -1653,6 +1653,28 @@ interface CreateWorktreeResult {
|
|
|
1653
1653
|
* Local-only refs (e.g. fetched PR heads, existing thread branches) stay local.
|
|
1654
1654
|
*/
|
|
1655
1655
|
declare function resolveWorktreeStartPoint(repoPath: string, sourceRef: string): Promise<string>;
|
|
1656
|
+
/** Branch name to `git fetch origin <name>` — never a pull/checkout of the main tree. */
|
|
1657
|
+
declare function originFetchBranch(sourceRef: string): string | null;
|
|
1658
|
+
/**
|
|
1659
|
+
* Refresh `origin/<branch>` remote-tracking refs before `git worktree add`.
|
|
1660
|
+
* Does **not** pull, merge, checkout, or reset the main repo working tree —
|
|
1661
|
+
* new worktrees start from the remote tip; the project folder stays untouched.
|
|
1662
|
+
*/
|
|
1663
|
+
declare function fetchOriginForWorktree(repoPath: string, sourceRef: string, opts?: {
|
|
1664
|
+
timeoutMs?: number;
|
|
1665
|
+
}): Promise<boolean>;
|
|
1666
|
+
type FastForwardMainResult = {
|
|
1667
|
+
updated: boolean;
|
|
1668
|
+
reason: 'updated' | 'already-current' | 'not-on-default' | 'dirty' | 'diverged' | 'no-origin-tip' | 'ff-failed';
|
|
1669
|
+
};
|
|
1670
|
+
/**
|
|
1671
|
+
* Fast-forward the project-folder checkout to `origin/<default>` when that is
|
|
1672
|
+
* safe: already on the default branch, clean, and a strict ancestor of the
|
|
1673
|
+
* remote tip. Never checkout, reset, or merge if it would not fast-forward.
|
|
1674
|
+
*/
|
|
1675
|
+
declare function fastForwardMainCheckoutIfSafe(repoPath: string, opts?: {
|
|
1676
|
+
branch?: string;
|
|
1677
|
+
}): Promise<FastForwardMainResult>;
|
|
1656
1678
|
declare function createThreadWorktree(opts: {
|
|
1657
1679
|
repoPath: string;
|
|
1658
1680
|
sourceRef: string;
|
|
@@ -3096,6 +3118,43 @@ interface DiffCommentInput {
|
|
|
3096
3118
|
*/
|
|
3097
3119
|
declare function buildDiffCommentAttachment(input: DiffCommentInput): ThreadAttachment;
|
|
3098
3120
|
|
|
3121
|
+
interface CodeRefInput {
|
|
3122
|
+
path: string;
|
|
3123
|
+
startLine: number;
|
|
3124
|
+
endLine: number;
|
|
3125
|
+
text: string;
|
|
3126
|
+
language?: string;
|
|
3127
|
+
id?: string;
|
|
3128
|
+
}
|
|
3129
|
+
interface CodeLineRange {
|
|
3130
|
+
startLine: number;
|
|
3131
|
+
endLine: number;
|
|
3132
|
+
}
|
|
3133
|
+
/** Inclusive 1-based line label, matching diff-comment chips (`L10` / `L10-20`). */
|
|
3134
|
+
declare function codeRefRangeLabel(startLine: number, endLine: number): string;
|
|
3135
|
+
/**
|
|
3136
|
+
* Normalize a Monaco-style selection to an inclusive line range.
|
|
3137
|
+
* Selecting down to column 1 of the next line does not include that line.
|
|
3138
|
+
*/
|
|
3139
|
+
declare function normalizeCodeSelection(startLine: number, startColumn: number, endLine: number, endColumn: number): CodeLineRange | null;
|
|
3140
|
+
/**
|
|
3141
|
+
* Build a composer attachment from a code-file selection.
|
|
3142
|
+
* Expanded into agent context via `expandComposerPrompt` like other attachments.
|
|
3143
|
+
*/
|
|
3144
|
+
declare function buildCodeRefAttachment(input: CodeRefInput): ThreadAttachment;
|
|
3145
|
+
interface PathRefInput {
|
|
3146
|
+
path: string;
|
|
3147
|
+
entry: 'file' | 'dir';
|
|
3148
|
+
/** Tracked files under a folder (shown as a short listing). */
|
|
3149
|
+
childPaths?: string[];
|
|
3150
|
+
id?: string;
|
|
3151
|
+
}
|
|
3152
|
+
/**
|
|
3153
|
+
* Build a composer attachment from a file-tree file or folder.
|
|
3154
|
+
* Folder chips use a trailing slash so they are not opened as files.
|
|
3155
|
+
*/
|
|
3156
|
+
declare function buildPathRefAttachment(input: PathRefInput): ThreadAttachment;
|
|
3157
|
+
|
|
3099
3158
|
declare function isImageFilePath(filePath: string): boolean;
|
|
3100
3159
|
/**
|
|
3101
3160
|
* Build a composer attachment from an absolute filesystem path (no copy).
|
|
@@ -5465,4 +5524,4 @@ declare function pollSlackOutboundWatches(opts?: {
|
|
|
5465
5524
|
now?: number;
|
|
5466
5525
|
}): Promise<void>;
|
|
5467
5526
|
|
|
5468
|
-
export { ABLETIME_MCP_PATH, AGENT_GIT_ACTIONS, AGENT_RUNNER_MAX_OLD_SPACE_MB, ATTACHMENTS_DIR, type AbleTimeAssignedIssuesResult, type AbleTimeMcpToolName, type AbleTimeOrientation, type AbleTimeProject, type AbleTimeTask, type AbleTimeViewer, type ActiveRun, type AddBoardPinInput, 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, BRIGHTSY_SUMMARIZE_CONTEXT_TOOL, BUNDLED_LONG_RUNNING_PATH, BUNDLED_SKILL_PREFIX, type BoardPin, type BranchInfo, type BrightsyAccount, type BrightsyChatTarget, type BrightsyChatTargets, type BrightsyCloudConnectAgent, type BrightsyHarnessSettings, type BrightsySession, BrightsySideboardApi, type BrightsyTeamTargets, CHARS_PER_CONTEXT_TOKEN, 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 CowboyThreadFields, type CreateChatTabInput, type CreateGlobalChatOpts, type CreateScheduledTaskInput, type CreateStackInput, type CreateThreadInput, type CreateWorktreeResult, type CursorAgentUsageSnapshot, type CursorModelInfo, type CursorSdkStreamMessage, type CursorTurnRequest, type CursorUsageCost, type CursorWorktreesConfig, DEFAULT_ABLETIME_HOST, DEFAULT_WORKTREE_SORT, 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, HOME_BOARD_CACHE_TTL_MS, type HarnessId, type HomeBoardLoaded, type HomeBoardRemoteData, ISSUE_SOURCE_LABELS, type InitStackFromThreadInput, type IntegrationsSettings, type IpcApi, type IssueCycleInfo, 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, LONG_RUNNING_SKILL_COMMAND, type LandPreview, type LandResult, type LinearAssignedIssuesResult, type LinearComment, type LinearIssue, LinearOAuthCancelledError, type LinearTeam, type LinearTeamsResult, type LinearWorkflowState, type ListIssuesResult, MAX_ANTHROPIC_CACHE_CONTROL_BLOCKS, type McpServerStatus, type MessagePart, OPTIONAL_SERVICES, OPTIONAL_SERVICE_IDS, ORCHESTRATOR_AGENT_KINDS, type OpenPrStackLayersInput, type OpenStackLayerInput, type OpenStackLayerResult, type OptionalServiceCliStatus, type OptionalServiceId, type OptionalServiceSpec, 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, PLAN_QUESTION_ANSWERS_PREFIX, 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 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, type WorktreeSortMode, abletimeMcpRequest, abletimeMcpUrl, ackSlackInboundSeen, addBoardPin, addPrStackLayer, addStackLayerFromThread, addWorkspace, adoptThread, agentGitPrompt, allAdapters, allocatePort, allocatePortRange, allocateTeamName, allocateTeamSlug, appDataDir, appSettingsPath, appendIndexedGitConfig, appendMessage, applyAgentEvent, applyAgentRunnerHeapEnv, applyAppEnvironment, applyCompaction, applyForwardOccupancy, applyGithubGitAuthEnv, applyPromptCacheTtlEnv, applyThreadIntoMain, applyTurnUsage, armSchedules, assertOrchestratorCapableAgent, attachmentFromAbsolutePath, attachmentsFromBuffers, attachmentsFromWorktreePaths, attachmentsGitignoreBody, autoArchiveOnMergeEnabled, autoCleanupOrphansEnabled, autoRenameBranchEnabled, autoRunAfterSetupEnabled, branchDisplayLabel, brightsyAccessTokenNeedsRefresh, brightsyAdapter, brightsyCloudConnectAgent, brightsyCloudConnectEnabled, brightsyConfigPath, brightsyInjectWorktreeMcpEnabled, brightsyMcpAllowedTools, brightsyMcpServerName, buildBrightsySessionSeed, buildCachedUserContent, buildClaudeStreamJsonUserMessage, buildDiffCommentAttachment, buildForkTranscriptAttachment, buildPastedTextAttachment, buildReviewRequestAttachment, buildSessionSeed, buildWorkspaceScriptEnv, caffeinateHoldPath, caffeinateWhileCloudConnectEnabled, caffeinateWhileRunningEnabled, caffeinateWhileSchedulesEnabled, caffeinateWhileSlackListenEnabled, callAbleTimeTool, canonicalizeRepoPath, captureLoginEnv, captureTurnBaseline, checkoutPrStackLayer, childEnvWithAppSettings, claimDesktopHost, classifyWorktreeColumn, claudeAdapter, claudeChromeEnabled, claudeUserSettingsPath, cleanupOrphanWorktrees, clearBoardPins, clearHomeBoardCache, cloneRepoIntoSideboard, codexAdapter, codexSandboxWritableRootsArgs, codexUnattendedGitConfigArgs, coerceOrchestratorAgent, collectTakenTeamSlugs, commentLinearIssue, commitAll, computeNextRunAt, conductorBundledBinDir, conductorDbPath, confirmLand, connectBrightsyTeam, connectOptionalService, connectSlackToken, connectedOptionalServices, contextTokens, coordinatorSystemPrompt, coordinatorTurnReminder, copyConfiguredFiles, countCacheControlBlocks, countUnpushedVsOrigin, cowboyModeEnabled, createAbleTimeTask, createChatTab, createEmptyThread, createExistingBranchWorktree, createGlobalChat, createLinearIssue, createLinearPkce, createOrUpdatePr, createPrStack, createSchedule, createThread, createThreadWorktree, currentBranch, cursorAdapter, cursorSdkMessageToEvents, decodeBrightsyTarget, defaultScheduleName, deleteBranchOnPurgeEnabled, deleteSchedule, deleteThreadRecord, desktopHostPidPath, detectAgents, detectGhStack, detectLocalMergeConflicts, detectOptionalServiceClis, disconnectAbleTimeConnection, disconnectBrightsyTeam, disconnectLinear, disconnectLinearConnection, disconnectOptionalService, disconnectSlackWorkspace, discoverSkills, dropCachedPrefixOnResume, emptyPublicIntegrations, encodeBrightsyTarget, enrichPathWithNpmGlobalBin, enrichWorkspacesWithGithub, ensureAbleTimeTask, ensureAgentPath, ensureBrightsyLocalConfigFresh, ensureCloudCoordinator, ensureConnectedBrightsyTeamTokens, ensureGhPreferOrigin, ensureGlobalCoordinatorCwd, ensureReviewRequestFile, ensureReviewSkillFile, ensureSlackCoordinator, ensureSlackDeviceIdentity, ensureWorkspace, estimateMessageChars, estimateOccupancyTokens, estimateThreadChars, expandComposerPrompt, extractBrightsyContextSummary, extractGhErrorDetail, extractPendingPlanQuestions, extractPresentedPlan, extractiveSummary, fetchPrHead, finalizeParts, findConventionSetup, findInvalidCacheControlTtlOrder, findLastBrightsyContextSummary, findLiveThreadForCreate, findOrphanWorktrees, findSlackCoordinator, findThreadByRef, findThreadForStackLayer, fireSchedule, flattenTurnInput, forkChatTab, forkMessageSlice, forkThreadWorktree, formatAgentInstructions, formatArtifactDirective, formatBrightsyFetchError, formatDetachedJobInvoke, formatFetchError, formatGhLandError, formatGitAuthModeDirective, formatIpcInvokeError, formatLongRunningDirective, formatLongRunningReminder, formatMergePrError, formatMessagesAsTranscript, formatOptionalServicesDirective, formatOptionalServicesReminder, formatPlanQuestionAnswers, formatPlanQuestionsForChat, formatProcessGuideDirective, formatRateLimitResetHint, formatRenameBranchDirective, formatScheduleWhen, formatScheduledPrompt, formatSlackExternalReplyPrompt, formatSlackInboundPrompt, formatSlackRepliesForTurn, formatSlackReplyContinuePrompt, formatSlackSignedReply, formatSlackWorkingText, formatTranscriptMarkdown, formatUiReminder, formatWorkspaceInventory, formatWorktreeDirective, formatWorktreeReminder, forwardContextUsage, forwardOccupancyTokens, fromInclusiveInputUsage, getAbleTimeAccessToken, getAbleTimeHost, getAbleTimeOrientation, getAbleTimeTask, getAdapter, getAgentSetupInfo, getBrightsySession, getCaffeinateHold, getDefaultAgent, getDefaultEffort, getDefaultFast, getDefaultModel, getDefaultRunScript, getDiff, getDiffSummary, getGitHubStatus, getGithubGitAuthMode, getGithubPat, getHomeBoardInputs, getIssueSource, getLinearApiKey, getLinearAuthToken, getLinearIssue, getOrchestrator, getPr, getPrChecks, getPrDetails, getPrForHeadBranch, getPrMeta, getPrStack, getRepoSetupInfo, getRunMode, getRunScript, getSchedule, getSlackWorkspace, gh, ghHeadRef, ghRepoSelectArgs, git, githubAgentGitEnv, globalAgentCwd, groupHomeBoardWorktrees, handleSlackInbound, harnessEnvKey, hasBakedLinearOAuth, hasBakedSlackOAuth, hasConductorHook, hasConventionSetup, hasCursorWorktreeSetup, hasEnabledSchedules, hasRepoHook, hasWorkspaceHook, healOrchestrationSoccerTitles, httpFetch, importConductorWorkspace, importConductorWorkspaceAsync, initPrStack, initStackFromThread, initializeGitRepository, inspectGitWorktree, installAgent, installNpmGlobalPackage, installOptionalServiceCli, interruptSlackCoordinatorForInbound, invalidateThreadListCache, isAbleTimeConnected, isAskUserToolName, isBrightsyConnected, isBrightsyNdjsonLine, isCloudCoordinatorThread, isConductorBundledCli, isCowboyThread, isCursorAutoModel, isDefaultishSourceRef, isDesktopHostAlive, isDirty, isGhRateLimitError, isGlobalRepoPath, isGlobalThread, isHomeBoardThread, isImageFilePath, isInPrStack, isInboundForThisDesktop, isIssueSourceConnected, isLinearConnected, isLinearOAuthCancelled, isOptionalServiceId, isOrchestratorCapableAgent, isOrchestratorThread, isPidAlive, isPlaceholderBranch, isPlanQuestionAnswersMessage, isPollWrapperToolName, isPrNotMergeableError, isPresentPlanToolName, isPrimaryCheckoutThread, isSessionQuotaLimit, isShellToolName, isSideboardScratchPath, isSlackCoordinatorThread, isSlackExternalReplyPrompt, isSlackOAuthCancelled, isSubagentToolName, isThinkingEffort, isThisProcessDesktopHost, isThreadCaffeinated, isThreadRecordFile, isWorkspaceScratchPath, issueAttachmentForAbleTimeTask, issueSourceLabel, lastRequestOccupancy, latestPendingPlanQuestions, linearAuthorizationHeader, linearCycleIsActive, linearGraphql, linearOAuthAuthorizeUrl, linearOAuthCredentials, listAbleTimeAssignedIssues, listAbleTimeProjects, listAbleTimeTasks, listAgentSetupInfo, listBoardPins, listBranchCommits, listBranches, listBrightsyAccounts, listBrightsyChatTargets, listCodexModels, listConductorWorkspaces, listConnectedBrightsyTeams, listCursorModels, listGitHubIssues, listGlobalThreads, listIssues, listLinearAssignedIssues, listLinearIssues, listLinearIssuesDirect, listLinearTeams, listModelsForAgent, listOpencodeModels, listPrs, listRunScripts, listSchedules, listSlackOutboundWatches, listSlackWorkspaces, listThreads, listWorkspaces, listWorktreeFiles, listWorktrees, liveActivitySummary, loadAgentInstructions, loadAppSettings, loadBrightsyConfig, loadConductorSettings, loadHomeBoardInputs, loadRepoSettings, loadWorkspaceSettings, locksDir, loginAgent, lookupSoccerTeam, mapAbleTimeTask, markPrReady, maxConcurrentAgents, maybeCompactContext, mcpAllowTools, mcpAuthWarnings, mergeAgentGitAuthEnv, mergePr, mergePrStack, mergeSideboardIntoMcpServersJson, mergeUsage, messagePartParentId, messagesSinceLastBrightsyContextSummary, nextPastedTextName, nextThinkingEffort, nonInteractiveGitProcessEnv, normalizeAbleTimeHost, normalizeParseResult, normalizeServiceOrigin, normalizeThinkingEffort, normalizeThread, normalizeTurnInput, normalizeWorktreePath, openInSystemTerminal, openPrStackLayers, openStackLayer, opencodeAdapter, optionalServiceConnected, optionalServiceSpec, orchestrationQuotaFallbackAgent, orchestrationQuotaOnLimit, orchestrationTitleNeedsSoccerNickname, orchestratorSessionPoisonedByBuiltins, originGhRepoEnv, packagedDetachedJobPath, parseCursorRunnerLine, parseDurationMs, parseForceStopMessage, parseGhStackViewJson, parseGithubSlugFromRemoteUrl, parseMcpList, parsePlanQuestionsInput, parseSessionQuotaResetAt, parseSlackRelayClientMessage, parseSlackRelayServerMessage, partsToAssistantText, pastedTextStats, pendingSlackExternalReplies, permissionMode, persistPendingFileAttachments, persistVaultKeyInKeychain, planFileAbs, planQuestionsSignature, pollSlackOutboundWatches, posixShellSingleQuote, preferredCursorCostCents, prepareTerminalCommand, previewLand, promptMentionsBrightsy, pushBranch, readExistingReviewRequestFile, readKeychainVaultKey, readPlanFile, readSkillBody, readThread, readWorktreeFile, readWorktreeFileForUpload, readWorktreeInclude, recordScheduleRun, recordSlackOutboundWatch, refreshBrightsyAccessToken, refreshGitHubAuth, registerPackagedUserMcpClients, releaseCaffeinateHoldForThread, releaseDesktopHost, removeBoardPin, removeWorkspace, removeWorktree, repoSlug, requestOccupancy, requestReview, requireAgent, resetGhStackDetectCache, resetGithubAgentTokenMemo, resolveAgentExecutable, resolveAgentGitAuthEnv, resolveClaudeExecutable, resolveCodexGitWritableRoots, resolveCommandBinarySync, resolveConductorCursorAgentId, resolveCursorModelId, resolveDefaultBranch, resolveDetachedJobScript, resolveDiffBaseRef, resolveEffectiveIssueSource, resolveFilesToCopy, resolveGhAuthToken, resolveGitDirsForLockRecovery, resolveGithubAgentToken, resolveGithubRepoSlug, resolveLinearState, resolveLinearTeam, resolveLoginCommand, resolveNewThreadOptions, resolvePlanMarkdown, resolvePrSelector, resolvePrSelectors, resolveQuotaFallbackAgent, resolveRepoRoot, resolveReviewGuidelines, resolveScheduleThreadId, resolveSlackListenMode, resolveThreadDefaults, resolveThreadEffort, resolveVaultKey, resolveWorktreeStartPoint, rewriteAbleTimeError, rewriteLinearError, run, runArchiveScript, runCloudConnect, runConventionSetup, runCursorWorktreeSetup, runSetupScript, runSlackListen, runSlackRelayClient, runWorkspaceSetup, sameWorktreePath, sanitizeMcpServerName, saveAbleTimeConnection, saveAppSettings, saveLinearOAuth, schedulesPath, scrubGithubTokensFromChildEnv, searchAbleTimeTasks, secureFileUnlocksWith, setCaffeinateHold, setHttpFetchImpl, setStatus, setVaultMasterKey, settingsSourceLabel, shouldAttachPastedText, shouldCompactContext, shouldInjectBrightsyMcp, shouldRefreshReviewRequestTemplate, shouldRemoveWorktreeOnTeardown, shouldResetSessionForOccupancy, shouldRunWorktreeCleanup, showCostEnabled, 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, sumUsageList, summarizeConversation, switchBrightsyAccount, syncWorkspacesFromThreads, takenTeamSlugsForChatTab, takenTeamSlugsForOrchestration, taskMessageText, taskUrl, thinkingEffortBars, thinkingEffortLabel, thisProcessShouldDrainAgentQueues, threadDisplayLabel, threadFilePath, threadHasCompactedContext, threadLivePath, threadLockPath, threadRequestsBrightsyMcp, threadsDir, threadsSharingWorktree, toAbleTimeIssueInfo, toPublicAppSettings, toolActivityLine, toolDescription, toolDetail, toolFilePath, totalTokens, turnCostUsdFromCursorUsage, updateAdvancedSettings, updateAgentExecutable, updateAppEnvironment, updateBrightsySettings, updateClaudeSettings, updateCodexSettings, updateDefaultsSettings, updateIntegrationsSettings, updateLinearIssue, updateOpencodeSettings, updateSchedule, updateThread, userClaudeMcpConfigPath, userCursorMcpConfigPath, validateLinearApiKey, verifyAbleTimeConnection, verifyOptionalService, visibleToolRowDetail, waitForPidExit, warmGithubAgentAuth, whichOnPath, withAgentInstructions, withEventParentId, withEventsParentId, withExportedPath, withMaxOldSpaceSize, withThreadLock, workspaceSettingsSourceLabel, worktreeBoardStatus, worktreeCleanupSettings, worktreeDisplayLabel, worktreeDisplayLabelForGroup, worktreeNameFromPath, worktreesRoot, wrapReviewSkillMarkdown, writeInjectedMcpConfig, writePlanFile, writeThread, writeWorktreeFile };
|
|
5527
|
+
export { ABLETIME_MCP_PATH, AGENT_GIT_ACTIONS, AGENT_RUNNER_MAX_OLD_SPACE_MB, ATTACHMENTS_DIR, type AbleTimeAssignedIssuesResult, type AbleTimeMcpToolName, type AbleTimeOrientation, type AbleTimeProject, type AbleTimeTask, type AbleTimeViewer, type ActiveRun, type AddBoardPinInput, 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, BRIGHTSY_SUMMARIZE_CONTEXT_TOOL, BUNDLED_LONG_RUNNING_PATH, BUNDLED_SKILL_PREFIX, type BoardPin, type BranchInfo, type BrightsyAccount, type BrightsyChatTarget, type BrightsyChatTargets, type BrightsyCloudConnectAgent, type BrightsyHarnessSettings, type BrightsySession, BrightsySideboardApi, type BrightsyTeamTargets, CHARS_PER_CONTEXT_TOKEN, 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 CodeLineRange, type CodeRefInput, type CompactResult, type CompactThresholds, type ComposerFileBuffer, type ConductorSettings, type ConductorWorkspace, type ConnectedBrightsyTeamInfo, type ConventionSetupFile, type CowboyThreadFields, type CreateChatTabInput, type CreateGlobalChatOpts, type CreateScheduledTaskInput, type CreateStackInput, type CreateThreadInput, type CreateWorktreeResult, type CursorAgentUsageSnapshot, type CursorModelInfo, type CursorSdkStreamMessage, type CursorTurnRequest, type CursorUsageCost, type CursorWorktreesConfig, DEFAULT_ABLETIME_HOST, DEFAULT_WORKTREE_SORT, type DefaultsAppSettings, type DevServerHandle, type DiffCommentInput, type DiffCommentLine, type DiffCommit, type DiffFile, type DiffResult, type DiffScope, type DiffScopeStat, type ExpandResult, FAMOUS_SOCCER_TEAMS, type FastForwardMainResult, 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, HOME_BOARD_CACHE_TTL_MS, type HarnessId, type HomeBoardLoaded, type HomeBoardRemoteData, ISSUE_SOURCE_LABELS, type InitStackFromThreadInput, type IntegrationsSettings, type IpcApi, type IssueCycleInfo, 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, LONG_RUNNING_SKILL_COMMAND, type LandPreview, type LandResult, type LinearAssignedIssuesResult, type LinearComment, type LinearIssue, LinearOAuthCancelledError, type LinearTeam, type LinearTeamsResult, type LinearWorkflowState, type ListIssuesResult, MAX_ANTHROPIC_CACHE_CONTROL_BLOCKS, type McpServerStatus, type MessagePart, OPTIONAL_SERVICES, OPTIONAL_SERVICE_IDS, ORCHESTRATOR_AGENT_KINDS, type OpenPrStackLayersInput, type OpenStackLayerInput, type OpenStackLayerResult, type OptionalServiceCliStatus, type OptionalServiceId, type OptionalServiceSpec, 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, PLAN_QUESTION_ANSWERS_PREFIX, type PathRefInput, 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 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, type WorktreeSortMode, abletimeMcpRequest, abletimeMcpUrl, ackSlackInboundSeen, addBoardPin, addPrStackLayer, addStackLayerFromThread, addWorkspace, adoptThread, agentGitPrompt, allAdapters, allocatePort, allocatePortRange, allocateTeamName, allocateTeamSlug, appDataDir, appSettingsPath, appendIndexedGitConfig, appendMessage, applyAgentEvent, applyAgentRunnerHeapEnv, applyAppEnvironment, applyCompaction, applyForwardOccupancy, applyGithubGitAuthEnv, applyPromptCacheTtlEnv, applyThreadIntoMain, applyTurnUsage, armSchedules, assertOrchestratorCapableAgent, attachmentFromAbsolutePath, attachmentsFromBuffers, attachmentsFromWorktreePaths, attachmentsGitignoreBody, autoArchiveOnMergeEnabled, autoCleanupOrphansEnabled, autoRenameBranchEnabled, autoRunAfterSetupEnabled, branchDisplayLabel, brightsyAccessTokenNeedsRefresh, brightsyAdapter, brightsyCloudConnectAgent, brightsyCloudConnectEnabled, brightsyConfigPath, brightsyInjectWorktreeMcpEnabled, brightsyMcpAllowedTools, brightsyMcpServerName, buildBrightsySessionSeed, buildCachedUserContent, buildClaudeStreamJsonUserMessage, buildCodeRefAttachment, buildDiffCommentAttachment, buildForkTranscriptAttachment, buildPastedTextAttachment, buildPathRefAttachment, buildReviewRequestAttachment, buildSessionSeed, buildWorkspaceScriptEnv, caffeinateHoldPath, caffeinateWhileCloudConnectEnabled, caffeinateWhileRunningEnabled, caffeinateWhileSchedulesEnabled, caffeinateWhileSlackListenEnabled, callAbleTimeTool, canonicalizeRepoPath, captureLoginEnv, captureTurnBaseline, checkoutPrStackLayer, childEnvWithAppSettings, claimDesktopHost, classifyWorktreeColumn, claudeAdapter, claudeChromeEnabled, claudeUserSettingsPath, cleanupOrphanWorktrees, clearBoardPins, clearHomeBoardCache, cloneRepoIntoSideboard, codeRefRangeLabel, codexAdapter, codexSandboxWritableRootsArgs, codexUnattendedGitConfigArgs, coerceOrchestratorAgent, collectTakenTeamSlugs, commentLinearIssue, commitAll, computeNextRunAt, conductorBundledBinDir, conductorDbPath, confirmLand, connectBrightsyTeam, connectOptionalService, connectSlackToken, connectedOptionalServices, contextTokens, coordinatorSystemPrompt, coordinatorTurnReminder, copyConfiguredFiles, countCacheControlBlocks, countUnpushedVsOrigin, cowboyModeEnabled, createAbleTimeTask, createChatTab, createEmptyThread, createExistingBranchWorktree, createGlobalChat, createLinearIssue, createLinearPkce, createOrUpdatePr, createPrStack, createSchedule, createThread, createThreadWorktree, currentBranch, cursorAdapter, cursorSdkMessageToEvents, decodeBrightsyTarget, defaultScheduleName, deleteBranchOnPurgeEnabled, deleteSchedule, deleteThreadRecord, desktopHostPidPath, detectAgents, detectGhStack, detectLocalMergeConflicts, detectOptionalServiceClis, disconnectAbleTimeConnection, disconnectBrightsyTeam, disconnectLinear, disconnectLinearConnection, disconnectOptionalService, disconnectSlackWorkspace, discoverSkills, dropCachedPrefixOnResume, emptyPublicIntegrations, encodeBrightsyTarget, enrichPathWithNpmGlobalBin, enrichWorkspacesWithGithub, ensureAbleTimeTask, ensureAgentPath, ensureBrightsyLocalConfigFresh, ensureCloudCoordinator, ensureConnectedBrightsyTeamTokens, ensureGhPreferOrigin, ensureGlobalCoordinatorCwd, ensureReviewRequestFile, ensureReviewSkillFile, ensureSlackCoordinator, ensureSlackDeviceIdentity, ensureWorkspace, estimateMessageChars, estimateOccupancyTokens, estimateThreadChars, expandComposerPrompt, extractBrightsyContextSummary, extractGhErrorDetail, extractPendingPlanQuestions, extractPresentedPlan, extractiveSummary, fastForwardMainCheckoutIfSafe, fetchOriginForWorktree, fetchPrHead, finalizeParts, findConventionSetup, findInvalidCacheControlTtlOrder, findLastBrightsyContextSummary, findLiveThreadForCreate, findOrphanWorktrees, findSlackCoordinator, findThreadByRef, findThreadForStackLayer, fireSchedule, flattenTurnInput, forkChatTab, forkMessageSlice, forkThreadWorktree, formatAgentInstructions, formatArtifactDirective, formatBrightsyFetchError, formatDetachedJobInvoke, formatFetchError, formatGhLandError, formatGitAuthModeDirective, formatIpcInvokeError, formatLongRunningDirective, formatLongRunningReminder, formatMergePrError, formatMessagesAsTranscript, formatOptionalServicesDirective, formatOptionalServicesReminder, formatPlanQuestionAnswers, formatPlanQuestionsForChat, formatProcessGuideDirective, formatRateLimitResetHint, formatRenameBranchDirective, formatScheduleWhen, formatScheduledPrompt, formatSlackExternalReplyPrompt, formatSlackInboundPrompt, formatSlackRepliesForTurn, formatSlackReplyContinuePrompt, formatSlackSignedReply, formatSlackWorkingText, formatTranscriptMarkdown, formatUiReminder, formatWorkspaceInventory, formatWorktreeDirective, formatWorktreeReminder, forwardContextUsage, forwardOccupancyTokens, fromInclusiveInputUsage, getAbleTimeAccessToken, getAbleTimeHost, getAbleTimeOrientation, getAbleTimeTask, getAdapter, getAgentSetupInfo, getBrightsySession, getCaffeinateHold, getDefaultAgent, getDefaultEffort, getDefaultFast, getDefaultModel, getDefaultRunScript, getDiff, getDiffSummary, getGitHubStatus, getGithubGitAuthMode, getGithubPat, getHomeBoardInputs, getIssueSource, getLinearApiKey, getLinearAuthToken, getLinearIssue, getOrchestrator, getPr, getPrChecks, getPrDetails, getPrForHeadBranch, getPrMeta, getPrStack, getRepoSetupInfo, getRunMode, getRunScript, getSchedule, getSlackWorkspace, gh, ghHeadRef, ghRepoSelectArgs, git, githubAgentGitEnv, globalAgentCwd, groupHomeBoardWorktrees, handleSlackInbound, harnessEnvKey, hasBakedLinearOAuth, hasBakedSlackOAuth, hasConductorHook, hasConventionSetup, hasCursorWorktreeSetup, hasEnabledSchedules, hasRepoHook, hasWorkspaceHook, healOrchestrationSoccerTitles, httpFetch, importConductorWorkspace, importConductorWorkspaceAsync, initPrStack, initStackFromThread, initializeGitRepository, inspectGitWorktree, installAgent, installNpmGlobalPackage, installOptionalServiceCli, interruptSlackCoordinatorForInbound, invalidateThreadListCache, isAbleTimeConnected, isAskUserToolName, isBrightsyConnected, isBrightsyNdjsonLine, isCloudCoordinatorThread, isConductorBundledCli, isCowboyThread, isCursorAutoModel, isDefaultishSourceRef, isDesktopHostAlive, isDirty, isGhRateLimitError, isGlobalRepoPath, isGlobalThread, isHomeBoardThread, isImageFilePath, isInPrStack, isInboundForThisDesktop, isIssueSourceConnected, isLinearConnected, isLinearOAuthCancelled, isOptionalServiceId, isOrchestratorCapableAgent, isOrchestratorThread, isPidAlive, isPlaceholderBranch, isPlanQuestionAnswersMessage, isPollWrapperToolName, isPrNotMergeableError, isPresentPlanToolName, isPrimaryCheckoutThread, isSessionQuotaLimit, isShellToolName, isSideboardScratchPath, isSlackCoordinatorThread, isSlackExternalReplyPrompt, isSlackOAuthCancelled, isSubagentToolName, isThinkingEffort, isThisProcessDesktopHost, isThreadCaffeinated, isThreadRecordFile, isWorkspaceScratchPath, issueAttachmentForAbleTimeTask, issueSourceLabel, lastRequestOccupancy, latestPendingPlanQuestions, linearAuthorizationHeader, linearCycleIsActive, linearGraphql, linearOAuthAuthorizeUrl, linearOAuthCredentials, listAbleTimeAssignedIssues, listAbleTimeProjects, listAbleTimeTasks, listAgentSetupInfo, listBoardPins, listBranchCommits, listBranches, listBrightsyAccounts, listBrightsyChatTargets, listCodexModels, listConductorWorkspaces, listConnectedBrightsyTeams, listCursorModels, listGitHubIssues, listGlobalThreads, listIssues, listLinearAssignedIssues, listLinearIssues, listLinearIssuesDirect, listLinearTeams, listModelsForAgent, listOpencodeModels, listPrs, listRunScripts, listSchedules, listSlackOutboundWatches, listSlackWorkspaces, listThreads, listWorkspaces, listWorktreeFiles, listWorktrees, liveActivitySummary, loadAgentInstructions, loadAppSettings, loadBrightsyConfig, loadConductorSettings, loadHomeBoardInputs, loadRepoSettings, loadWorkspaceSettings, locksDir, loginAgent, lookupSoccerTeam, mapAbleTimeTask, markPrReady, maxConcurrentAgents, maybeCompactContext, mcpAllowTools, mcpAuthWarnings, mergeAgentGitAuthEnv, mergePr, mergePrStack, mergeSideboardIntoMcpServersJson, mergeUsage, messagePartParentId, messagesSinceLastBrightsyContextSummary, nextPastedTextName, nextThinkingEffort, nonInteractiveGitProcessEnv, normalizeAbleTimeHost, normalizeCodeSelection, normalizeParseResult, normalizeServiceOrigin, normalizeThinkingEffort, normalizeThread, normalizeTurnInput, normalizeWorktreePath, openInSystemTerminal, openPrStackLayers, openStackLayer, opencodeAdapter, optionalServiceConnected, optionalServiceSpec, orchestrationQuotaFallbackAgent, orchestrationQuotaOnLimit, orchestrationTitleNeedsSoccerNickname, orchestratorSessionPoisonedByBuiltins, originFetchBranch, originGhRepoEnv, packagedDetachedJobPath, parseCursorRunnerLine, parseDurationMs, parseForceStopMessage, parseGhStackViewJson, parseGithubSlugFromRemoteUrl, parseMcpList, parsePlanQuestionsInput, parseSessionQuotaResetAt, parseSlackRelayClientMessage, parseSlackRelayServerMessage, partsToAssistantText, pastedTextStats, pendingSlackExternalReplies, permissionMode, persistPendingFileAttachments, persistVaultKeyInKeychain, planFileAbs, planQuestionsSignature, pollSlackOutboundWatches, posixShellSingleQuote, preferredCursorCostCents, prepareTerminalCommand, previewLand, promptMentionsBrightsy, pushBranch, readExistingReviewRequestFile, readKeychainVaultKey, readPlanFile, readSkillBody, readThread, readWorktreeFile, readWorktreeFileForUpload, readWorktreeInclude, recordScheduleRun, recordSlackOutboundWatch, refreshBrightsyAccessToken, refreshGitHubAuth, registerPackagedUserMcpClients, releaseCaffeinateHoldForThread, releaseDesktopHost, removeBoardPin, removeWorkspace, removeWorktree, repoSlug, requestOccupancy, requestReview, requireAgent, resetGhStackDetectCache, resetGithubAgentTokenMemo, resolveAgentExecutable, resolveAgentGitAuthEnv, resolveClaudeExecutable, resolveCodexGitWritableRoots, resolveCommandBinarySync, resolveConductorCursorAgentId, resolveCursorModelId, resolveDefaultBranch, resolveDetachedJobScript, resolveDiffBaseRef, resolveEffectiveIssueSource, resolveFilesToCopy, resolveGhAuthToken, resolveGitDirsForLockRecovery, resolveGithubAgentToken, resolveGithubRepoSlug, resolveLinearState, resolveLinearTeam, resolveLoginCommand, resolveNewThreadOptions, resolvePlanMarkdown, resolvePrSelector, resolvePrSelectors, resolveQuotaFallbackAgent, resolveRepoRoot, resolveReviewGuidelines, resolveScheduleThreadId, resolveSlackListenMode, resolveThreadDefaults, resolveThreadEffort, resolveVaultKey, resolveWorktreeStartPoint, rewriteAbleTimeError, rewriteLinearError, run, runArchiveScript, runCloudConnect, runConventionSetup, runCursorWorktreeSetup, runSetupScript, runSlackListen, runSlackRelayClient, runWorkspaceSetup, sameWorktreePath, sanitizeMcpServerName, saveAbleTimeConnection, saveAppSettings, saveLinearOAuth, schedulesPath, scrubGithubTokensFromChildEnv, searchAbleTimeTasks, secureFileUnlocksWith, setCaffeinateHold, setHttpFetchImpl, setStatus, setVaultMasterKey, settingsSourceLabel, shouldAttachPastedText, shouldCompactContext, shouldInjectBrightsyMcp, shouldRefreshReviewRequestTemplate, shouldRemoveWorktreeOnTeardown, shouldResetSessionForOccupancy, shouldRunWorktreeCleanup, showCostEnabled, 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, sumUsageList, summarizeConversation, switchBrightsyAccount, syncWorkspacesFromThreads, takenTeamSlugsForChatTab, takenTeamSlugsForOrchestration, taskMessageText, taskUrl, thinkingEffortBars, thinkingEffortLabel, thisProcessShouldDrainAgentQueues, threadDisplayLabel, threadFilePath, threadHasCompactedContext, threadLivePath, threadLockPath, threadRequestsBrightsyMcp, threadsDir, threadsSharingWorktree, toAbleTimeIssueInfo, toPublicAppSettings, toolActivityLine, toolDescription, toolDetail, toolFilePath, totalTokens, turnCostUsdFromCursorUsage, updateAdvancedSettings, updateAgentExecutable, updateAppEnvironment, updateBrightsySettings, updateClaudeSettings, updateCodexSettings, updateDefaultsSettings, updateIntegrationsSettings, updateLinearIssue, updateOpencodeSettings, updateSchedule, updateThread, userClaudeMcpConfigPath, userCursorMcpConfigPath, validateLinearApiKey, verifyAbleTimeConnection, verifyOptionalService, visibleToolRowDetail, waitForPidExit, warmGithubAgentAuth, whichOnPath, withAgentInstructions, withEventParentId, withEventsParentId, withExportedPath, withMaxOldSpaceSize, withThreadLock, workspaceSettingsSourceLabel, worktreeBoardStatus, worktreeCleanupSettings, worktreeDisplayLabel, worktreeDisplayLabelForGroup, worktreeNameFromPath, worktreesRoot, wrapReviewSkillMarkdown, writeInjectedMcpConfig, writePlanFile, writeThread, writeWorktreeFile };
|