@sideboard-ai/core 0.1.343 → 0.1.345
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{abletime-ZIYFR4SI.js → abletime-X2TJ6PPK.js} +4 -4
- package/dist/{abletime-oauth-IQZ3LOB2.js → abletime-oauth-DEIENLHC.js} +3 -3
- package/dist/{abletime-rest-7YAO5B74.js → abletime-rest-HWBUPI4R.js} +3 -3
- package/dist/{agents-LNZ465IM.js → agents-7CHZO3K3.js} +2 -2
- package/dist/{agents-7DCNOMFP.js → agents-AQM7NLXD.js} +7 -7
- package/dist/{app-settings-FS7TM55D.js → app-settings-A6JUT2SF.js} +1 -1
- package/dist/{chunk-TKEYXNXY.js → chunk-4PHOJMZI.js} +15 -0
- package/dist/{chunk-A4ZI7SA3.js → chunk-4SNEW63T.js} +3 -3
- package/dist/{chunk-2BLJ726H.js → chunk-4YGVJRXY.js} +4 -3
- package/dist/{chunk-KCZM7WZ3.js → chunk-5IMXA563.js} +10 -10
- package/dist/{chunk-O2IRQAFB.js → chunk-AG2RM3DF.js} +3 -3
- package/dist/{chunk-DEQLDEYR.js → chunk-BD7KUYJA.js} +2 -2
- package/dist/{chunk-SLLTEMIL.js → chunk-FNAP6CCS.js} +2 -2
- package/dist/{chunk-6RO2AOE5.js → chunk-GHKJBZW5.js} +2 -2
- package/dist/{chunk-NGIGRAZB.js → chunk-IYX53WZY.js} +5 -5
- package/dist/{chunk-5BFEHSHO.js → chunk-J3BQHHDZ.js} +1 -0
- package/dist/{chunk-EDEYEYU6.js → chunk-JZKNRDKF.js} +24 -24
- package/dist/{chunk-4TTTEKNV.js → chunk-MB3GOWB3.js} +2 -2
- package/dist/{chunk-LDJT3TLN.js → chunk-MHRU743Z.js} +7 -7
- package/dist/{chunk-GUIJMZQG.js → chunk-NQHEEGTH.js} +1 -1
- package/dist/{chunk-D7US5R4H.js → chunk-O5WRVQFT.js} +1 -1
- package/dist/{chunk-JX3OWNOT.js → chunk-QTDCPMOW.js} +1 -1
- package/dist/{chunk-4HELMBYR.js → chunk-TD76ORBJ.js} +2 -2
- package/dist/{chunk-S3DTEGMK.js → chunk-TW63CYUA.js} +2 -2
- package/dist/{chunk-WO7VF4FG.js → chunk-YFPSTG52.js} +5 -5
- package/dist/{chunk-G3UV3GXJ.js → chunk-Z54FI4VL.js} +2 -2
- package/dist/{conductor-4SWJM5FS.js → conductor-3A2TNWUW.js} +2 -2
- package/dist/{conductor-Q433HU77.js → conductor-DUHRZUQY.js} +5 -5
- package/dist/{coordinator-prompt-Z7PPP45X.js → coordinator-prompt-7QALNDIV.js} +1 -1
- package/dist/{coordinator-prompt-5QHWCO7V.js → coordinator-prompt-OX6A4MDA.js} +4 -4
- package/dist/{global-workspace-VDCZMFCZ.js → global-workspace-6GGS3DWU.js} +4 -4
- package/dist/{global-workspace-DL4K4K7O.js → global-workspace-HM2RKBCT.js} +1 -1
- package/dist/index.cjs +230 -1
- package/dist/index.d.cts +33 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +230 -21
- package/dist/{linear-UXMDJAD4.js → linear-WYI64BMX.js} +2 -2
- package/dist/{linear-list-KDLU7QWX.js → linear-list-CGUCPWTV.js} +1 -1
- package/dist/mcp/run-stdio.cjs +2 -1
- package/dist/mcp/run-stdio.js +4 -4
- package/dist/{optional-cli-RUUCLNSM.js → optional-cli-YHLVTVRK.js} +4 -4
- package/dist/{orchestrator-RLFBFRAG.js → orchestrator-OWO6LQ5U.js} +4 -4
- package/dist/{orchestrator-Y5JCAJGV.js → orchestrator-POMFVZLB.js} +10 -10
- package/dist/{thread-store-ILM2ZJCB.js → thread-store-V5IDUJ4L.js} +2 -2
- package/dist/{workspaces-MX4W4SSB.js → workspaces-DTMPNDPW.js} +4 -4
- package/dist/{workspaces-EIIHHH4S.js → workspaces-V6IIBSKA.js} +1 -1
- package/dist/{worktree-QBVLKACU.js → worktree-FX5FT6BI.js} +3 -3
- package/package.json +1 -1
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
toAbleTimeIssueInfo,
|
|
18
18
|
updateAbleTimeTask,
|
|
19
19
|
verifyAbleTimeConnection
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4SNEW63T.js";
|
|
21
21
|
import "./chunk-DBKHL7NC.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-TD76ORBJ.js";
|
|
23
|
+
import "./chunk-YFPSTG52.js";
|
|
24
24
|
import "./chunk-JAT3JFOS.js";
|
|
25
25
|
import "./chunk-6K64FJDD.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-4PHOJMZI.js";
|
|
27
27
|
import "./chunk-4TR3HZFT.js";
|
|
28
28
|
import "./chunk-WDRMZKVB.js";
|
|
29
29
|
import "./chunk-KI45T4DI.js";
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
parseAbleTimeOAuthCallbackUrl,
|
|
21
21
|
resolveAbleTimeOAuthHost,
|
|
22
22
|
startAbleTimeOAuth
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-AG2RM3DF.js";
|
|
24
|
+
import "./chunk-YFPSTG52.js";
|
|
25
25
|
import "./chunk-JAT3JFOS.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-4PHOJMZI.js";
|
|
27
27
|
import "./chunk-4TR3HZFT.js";
|
|
28
28
|
import "./chunk-WDRMZKVB.js";
|
|
29
29
|
import "./chunk-KI45T4DI.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
callAbleTimeRestTool,
|
|
6
6
|
looksLikeAbleTimeUlid,
|
|
7
7
|
textFromAbleTimeDoc
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-TD76ORBJ.js";
|
|
9
|
+
import "./chunk-YFPSTG52.js";
|
|
10
10
|
import "./chunk-JAT3JFOS.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-4PHOJMZI.js";
|
|
12
12
|
import "./chunk-4TR3HZFT.js";
|
|
13
13
|
import "./chunk-WDRMZKVB.js";
|
|
14
14
|
import "./chunk-KI45T4DI.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
resolveCursorSdkRoot,
|
|
47
47
|
resolveQuotaFallbackAgent,
|
|
48
48
|
turnCostUsdFromCursorUsage
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-TW63CYUA.js";
|
|
50
50
|
import "./chunk-ORO4ENZR.js";
|
|
51
51
|
import {
|
|
52
52
|
getAgentSetupInfo,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
resolveLoginCommand,
|
|
61
61
|
whichOnPath
|
|
62
62
|
} from "./chunk-4PXHJA5K.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-J3BQHHDZ.js";
|
|
64
64
|
import "./chunk-RTZO2YJC.js";
|
|
65
65
|
import "./chunk-I6RGRUNY.js";
|
|
66
66
|
import "./chunk-E63AM3PW.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
planModeTurnInstruction,
|
|
38
38
|
resolveCursorModelId,
|
|
39
39
|
resolveQuotaFallbackAgent
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-MHRU743Z.js";
|
|
41
41
|
import {
|
|
42
42
|
getAgentSetupInfo,
|
|
43
43
|
installAgent,
|
|
@@ -49,13 +49,13 @@ import {
|
|
|
49
49
|
prepareTerminalCommand,
|
|
50
50
|
resolveLoginCommand,
|
|
51
51
|
whichOnPath
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-GHKJBZW5.js";
|
|
53
53
|
import "./chunk-XOEKCE6L.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-O5WRVQFT.js";
|
|
55
55
|
import "./chunk-BIM24I3O.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-4YGVJRXY.js";
|
|
57
|
+
import "./chunk-Z54FI4VL.js";
|
|
58
|
+
import "./chunk-QTDCPMOW.js";
|
|
59
59
|
import "./chunk-BMRJNRQK.js";
|
|
60
60
|
import "./chunk-RSA47QYR.js";
|
|
61
61
|
import "./chunk-JAT3JFOS.js";
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
assertOrchestratorCapableAgent,
|
|
90
90
|
coerceOrchestratorAgent,
|
|
91
91
|
isOrchestratorCapableAgent
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-4PHOJMZI.js";
|
|
93
93
|
import "./chunk-4TR3HZFT.js";
|
|
94
94
|
import "./chunk-WDRMZKVB.js";
|
|
95
95
|
import "./chunk-KI45T4DI.js";
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
usageOnLimit,
|
|
113
113
|
wakeOrchestratorOnGithubEdgesEnabled,
|
|
114
114
|
writeViewerContext
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-4PHOJMZI.js";
|
|
116
116
|
import "./chunk-4TR3HZFT.js";
|
|
117
117
|
import "./chunk-WDRMZKVB.js";
|
|
118
118
|
import "./chunk-KI45T4DI.js";
|
|
@@ -366,6 +366,21 @@ function parseRemoteClientMessage(raw) {
|
|
|
366
366
|
const sessionTokens = raw2.filter((item) => typeof item === "string" && item.trim().length > 0).map((item) => item.trim()).slice(0, 32);
|
|
367
367
|
return { type: "list_hosts", sessionTokens };
|
|
368
368
|
}
|
|
369
|
+
if (msg.type === "push_register") {
|
|
370
|
+
const token = str(parsed.token);
|
|
371
|
+
if (!/^(?:Exponent|Expo)PushToken\[[A-Za-z0-9_-]{8,140}\]$/.test(token)) return null;
|
|
372
|
+
const raw2 = parsed.sessionTokens;
|
|
373
|
+
if (!Array.isArray(raw2)) return null;
|
|
374
|
+
const sessionTokens = raw2.filter((item) => typeof item === "string" && item.trim().length > 0).map((item) => item.trim()).slice(0, 32);
|
|
375
|
+
return { type: "push_register", token, sessionTokens };
|
|
376
|
+
}
|
|
377
|
+
if (msg.type === "push_notify") {
|
|
378
|
+
const chatId = str(parsed.chatId);
|
|
379
|
+
const kind = parsed.kind;
|
|
380
|
+
if (!/^[A-Za-z0-9_-]{8,80}$/.test(chatId)) return null;
|
|
381
|
+
if (kind !== "needs_you" && kind !== "finished" && kind !== "failed") return null;
|
|
382
|
+
return { type: "push_notify", chatId, kind };
|
|
383
|
+
}
|
|
369
384
|
if (msg.type === "prompt") {
|
|
370
385
|
const text = str(parsed.text);
|
|
371
386
|
if (!text) return null;
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
abletimeRestUrl,
|
|
12
12
|
textFromAbleTimeDoc
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TD76ORBJ.js";
|
|
14
14
|
import {
|
|
15
15
|
assertAbleTimeCredential,
|
|
16
16
|
callAbleTimeTool,
|
|
17
17
|
normalizeAbleTimeHost,
|
|
18
18
|
rewriteAbleTimeError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YFPSTG52.js";
|
|
20
20
|
import {
|
|
21
21
|
httpFetch
|
|
22
22
|
} from "./chunk-JAT3JFOS.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
getAbleTimeHost,
|
|
26
26
|
isAbleTimeConnected,
|
|
27
27
|
saveAbleTimeConnection
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4PHOJMZI.js";
|
|
29
29
|
|
|
30
30
|
// src/integrations/abletime-attachments.ts
|
|
31
31
|
function asRecord(value) {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
resolveGithubRepoSlug,
|
|
6
6
|
resolveOriginRemote,
|
|
7
7
|
resolveRepoRoot
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Z54FI4VL.js";
|
|
9
9
|
import {
|
|
10
10
|
allocateTeamName,
|
|
11
11
|
createEmptyThread,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
teamSlugFromName,
|
|
15
15
|
updateThread,
|
|
16
16
|
writeThread
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QTDCPMOW.js";
|
|
18
18
|
import {
|
|
19
19
|
ATTACHMENTS_DIR,
|
|
20
20
|
attachmentsGitignoreBody
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolveThreadDefaults,
|
|
32
32
|
resolveViewerProfile,
|
|
33
33
|
resolveViewerProfileForRepo
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4PHOJMZI.js";
|
|
35
35
|
import {
|
|
36
36
|
appDataDir,
|
|
37
37
|
globalAgentCwd,
|
|
@@ -437,6 +437,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
|
|
|
437
437
|
"- Recurring multi-item / fan-out: if the child worktree has `.claude/skills/graph-engineering/SKILL.md`, tell the worker to follow it (`/graph-engineering`). Judge first; state on disk; grow the rulebook; do not patch three threads.",
|
|
438
438
|
"- Recurring shapes: have the worktree agent write `.claude/skills/<kebab-name>/SKILL.md` (commit it) so later threads and native Claude Code / attach see it. Merge-review sentences go in `.claude/skills/review/SKILL.md` when that skill already exists; otherwise `.context/review.md` (do not create a review skill). Do not use `.sideboard/skills/` (that folder only). Codex/OpenCode: one line in AGENTS.md pointing at that file.",
|
|
439
439
|
"- One-offs: no guide. Same miss across threads: edit the existing skill or `.context/review.md`, then rerun the batch \u2014 do not patch three threads.",
|
|
440
|
+
"- A miss that will recur (the worker made it twice, or a person told them the rule): if the worktree has `.claude/skills/skill-improver/SKILL.md`, tell the worker to follow it (`/skill-improver`) in that turn \u2014 one sentence in the skill that owns it, in the same change. The worker who heard it writes it down; no Sideboard tool hands that chat to a later run.",
|
|
440
441
|
"Human-only (do not attempt): ready-for-review land (confirm_land), purge_chat.",
|
|
441
442
|
"Chat links in replies: when mentioning a chat/thread for the user, include a markdown link `[Title](sideboard://chat/<id>)` using the full id (or the link field from create_workspace / list_chats). Sideboard renders these as clickable opens.",
|
|
442
443
|
"Bash / Read / etc: allowed for (1) inspecting target worktrees / registered repo paths from MCP, and (2) greenfield setup under ~/sideboard/repos (git clone, gh repo create, git init+remote). Never git init/clone *inside* this synthetic home cwd \u2014 emptiness here is expected, not a bug."
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
parseSessionQuotaResetAt,
|
|
15
15
|
planModeTurnInstruction,
|
|
16
16
|
resolveQuotaFallbackAgent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TW63CYUA.js";
|
|
18
18
|
import {
|
|
19
19
|
applyWorktreePkgCacheEnv,
|
|
20
20
|
askBlockStillWaiting,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
worktreeDevProcessKey,
|
|
55
55
|
worktreeRunProcessKey,
|
|
56
56
|
worktreeSetupProcessKey
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-BD7KUYJA.js";
|
|
58
58
|
import {
|
|
59
59
|
applyAgentEvent,
|
|
60
60
|
clipAgentEventForPaint,
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
stageAbsolutePathsAsAttachments,
|
|
122
122
|
stageBuffersAsAttachments,
|
|
123
123
|
syncWorkspacesFromThreads
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-J3BQHHDZ.js";
|
|
125
125
|
import {
|
|
126
126
|
addPrStackLayer,
|
|
127
127
|
allocateTeamSlug,
|
|
@@ -571,9 +571,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
|
|
|
571
571
|
`Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
|
|
572
572
|
);
|
|
573
573
|
}
|
|
574
|
-
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-
|
|
574
|
+
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-HM2RKBCT.js");
|
|
575
575
|
if (isGlobalThread2(thread)) {
|
|
576
|
-
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-
|
|
576
|
+
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-7QALNDIV.js");
|
|
577
577
|
ensureGlobalCoordinatorCwd2(
|
|
578
578
|
isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
|
|
579
579
|
);
|
|
@@ -3937,7 +3937,7 @@ async function adoptThread(input) {
|
|
|
3937
3937
|
messages: input.messages ?? []
|
|
3938
3938
|
});
|
|
3939
3939
|
writeThread(thread);
|
|
3940
|
-
const { addWorkspace: addWorkspace2 } = await import("./workspaces-
|
|
3940
|
+
const { addWorkspace: addWorkspace2 } = await import("./workspaces-V6IIBSKA.js");
|
|
3941
3941
|
await addWorkspace2(repoPath);
|
|
3942
3942
|
const { ensureWorktreeSideboardIgnored } = await import("./worktree-exclude-KMZQXZKP.js");
|
|
3943
3943
|
await ensureWorktreeSideboardIgnored(input.worktreePath);
|
|
@@ -6527,7 +6527,7 @@ function formatProcessGuideDirective(opts) {
|
|
|
6527
6527
|
hasInstallSkill ? "- After merge-from-main / lockfile change, or a hung `pnpm install`: follow `.claude/skills/worktree-install/SKILL.md` (`/worktree-install`). Use the worktree-local store Sideboard already set; do not share `~/.pnpm-store` across concurrent worktrees." : null,
|
|
6528
6528
|
"- If this same shape of work will happen again, write `.claude/skills/<kebab-name>/SKILL.md` in this worktree (Claude Code project skill; Sideboard `/name`, Claude Code, and `attach` all load it). Not under `.sideboard/skills/`. Point Codex/OpenCode at it from `AGENTS.md`.",
|
|
6529
6529
|
hasReviewSkill ? "- Merge-readiness notes go in `.claude/skills/review/SKILL.md` (edit it; do not create another review skill)." : "- Merge-readiness notes go in `.context/review.md` (copied from `.sideboard/review.md` when that file exists). Do not create a review skill.",
|
|
6530
|
-
"- Skip a guide for a one-off. If a matching skill exists, follow it. Same miss twice \u2192 edit the skill, do not patch around it."
|
|
6530
|
+
!!worktree && existsSync12(join13(worktree, ".claude/skills/skill-improver/SKILL.md")) ? "- Skip a guide for a one-off. If a matching skill exists, follow it. A miss that will recur (you made it twice, or a person told you the rule) \u2192 follow `.claude/skills/skill-improver/SKILL.md` (`/skill-improver`): one sentence in the skill that owns it, in this change. Do not patch around it." : "- Skip a guide for a one-off. If a matching skill exists, follow it. Same miss twice \u2192 edit the skill, do not patch around it."
|
|
6531
6531
|
].filter(Boolean).join("\n");
|
|
6532
6532
|
}
|
|
6533
6533
|
function formatLongRunningDirective(opts) {
|
|
@@ -7527,11 +7527,11 @@ function realDeps() {
|
|
|
7527
7527
|
parentIdForThread,
|
|
7528
7528
|
designatedId: designatedOrchestratorId,
|
|
7529
7529
|
send: async (threadId, prompt) => {
|
|
7530
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
7530
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-OWO6LQ5U.js");
|
|
7531
7531
|
await getOrchestrator2().send(threadId, prompt, { followUp: "queue" });
|
|
7532
7532
|
},
|
|
7533
7533
|
startOrchestration: async (prompt) => {
|
|
7534
|
-
const { startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
7534
|
+
const { startOrchestration: startOrchestration2 } = await import("./orchestrator-OWO6LQ5U.js");
|
|
7535
7535
|
const defaults = resolveOrchestratorDefaults();
|
|
7536
7536
|
await startOrchestration2({
|
|
7537
7537
|
goal: prompt,
|
|
@@ -7558,7 +7558,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
7558
7558
|
${prompt}`;
|
|
7559
7559
|
}
|
|
7560
7560
|
async function defaultDeps() {
|
|
7561
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
7561
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-OWO6LQ5U.js");
|
|
7562
7562
|
const orch = getOrchestrator2();
|
|
7563
7563
|
return {
|
|
7564
7564
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_ABLETIME_HOST,
|
|
3
3
|
normalizeAbleTimeHost
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YFPSTG52.js";
|
|
5
5
|
import {
|
|
6
6
|
httpFetch
|
|
7
7
|
} from "./chunk-JAT3JFOS.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
getAbleTimeHost,
|
|
11
11
|
loadAppSettings,
|
|
12
12
|
saveAbleTimeConnection
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4PHOJMZI.js";
|
|
14
14
|
|
|
15
15
|
// src/integrations/abletime-oauth.ts
|
|
16
16
|
import { createHash, randomBytes } from "crypto";
|
|
@@ -280,7 +280,7 @@ async function startAbleTimeOAuth(opts) {
|
|
|
280
280
|
persistAbleTimeTokens(data, { host });
|
|
281
281
|
const token = data.access_token.trim();
|
|
282
282
|
try {
|
|
283
|
-
const { getAbleTimeOrientation } = await import("./abletime-
|
|
283
|
+
const { getAbleTimeOrientation } = await import("./abletime-X2TJ6PPK.js");
|
|
284
284
|
const orientation = await getAbleTimeOrientation({ token, host });
|
|
285
285
|
return saveAbleTimeConnection({
|
|
286
286
|
accessToken: token,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
isGlobalThread,
|
|
12
12
|
isOrchestratorThread,
|
|
13
13
|
isSlackCoordinatorThread
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-J3BQHHDZ.js";
|
|
15
15
|
import {
|
|
16
16
|
mergeAgentGitAuthEnv,
|
|
17
17
|
resolveAgentGitAuthEnv
|
|
@@ -1737,7 +1737,7 @@ var PORT_RANGE_SIZE = 10;
|
|
|
1737
1737
|
var RECLAIM_RETRY_DELAY_MS = 40;
|
|
1738
1738
|
var RECLAIM_TRIES = 8;
|
|
1739
1739
|
async function killReclaimable(ports, worktreePath, signal) {
|
|
1740
|
-
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-
|
|
1740
|
+
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-3A2TNWUW.js");
|
|
1741
1741
|
if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
|
|
1742
1742
|
else killListenersOnPorts2(ports);
|
|
1743
1743
|
}
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
OPTIONAL_SERVICES,
|
|
3
3
|
isOptionalServiceId,
|
|
4
4
|
optionalServiceSpec
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MB3GOWB3.js";
|
|
6
6
|
import {
|
|
7
7
|
installNpmGlobalPackage,
|
|
8
8
|
whichOnPath
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GHKJBZW5.js";
|
|
10
10
|
import {
|
|
11
11
|
enrichPathWithNpmGlobalBin
|
|
12
12
|
} from "./chunk-R4W4VQJZ.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-R4W4VQJZ.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveAgentExecutable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4PHOJMZI.js";
|
|
11
11
|
|
|
12
12
|
// src/agents/install.ts
|
|
13
13
|
import { chmodSync, existsSync } from "fs";
|
|
@@ -364,7 +364,7 @@ async function loginAgent(agent) {
|
|
|
364
364
|
};
|
|
365
365
|
}
|
|
366
366
|
async function loginManagedAccount(accountId) {
|
|
367
|
-
const { loadAppSettings } = await import("./app-settings-
|
|
367
|
+
const { loadAppSettings } = await import("./app-settings-A6JUT2SF.js");
|
|
368
368
|
const { loginEnvPrefix } = await import("./managed-accounts-JJTAKHMG.js");
|
|
369
369
|
const account = loadAppSettings().accounts.accounts.find((a) => a.id === accountId);
|
|
370
370
|
if (!account) {
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
isGlobalThread,
|
|
9
9
|
isOrchestratorThread,
|
|
10
10
|
isSlackCoordinatorThread
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4YGVJRXY.js";
|
|
12
12
|
import {
|
|
13
13
|
mergeAgentGitAuthEnv,
|
|
14
14
|
resolveAgentGitAuthEnv
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Z54FI4VL.js";
|
|
16
16
|
import {
|
|
17
17
|
REVIEW_TAB_TITLE,
|
|
18
18
|
allocateTeamName,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
updateThread,
|
|
25
25
|
worktreeNameFromPath,
|
|
26
26
|
writeThread
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QTDCPMOW.js";
|
|
28
28
|
import {
|
|
29
29
|
ensureWorktreeSideboardIgnored
|
|
30
30
|
} from "./chunk-BMRJNRQK.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
import {
|
|
50
50
|
assertOrchestratorCapableAgent,
|
|
51
51
|
contextTokens
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-4PHOJMZI.js";
|
|
53
53
|
import {
|
|
54
54
|
stripNestedElectronEnv
|
|
55
55
|
} from "./chunk-4TR3HZFT.js";
|
|
@@ -1705,7 +1705,7 @@ var PORT_RANGE_SIZE = 10;
|
|
|
1705
1705
|
var RECLAIM_RETRY_DELAY_MS = 40;
|
|
1706
1706
|
var RECLAIM_TRIES = 8;
|
|
1707
1707
|
async function killReclaimable(ports, worktreePath, signal) {
|
|
1708
|
-
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-
|
|
1708
|
+
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-DUHRZUQY.js");
|
|
1709
1709
|
if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
|
|
1710
1710
|
else killListenersOnPorts2(ports);
|
|
1711
1711
|
}
|
|
@@ -392,6 +392,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
|
|
|
392
392
|
"- Recurring multi-item / fan-out: if the child worktree has `.claude/skills/graph-engineering/SKILL.md`, tell the worker to follow it (`/graph-engineering`). Judge first; state on disk; grow the rulebook; do not patch three threads.",
|
|
393
393
|
"- Recurring shapes: have the worktree agent write `.claude/skills/<kebab-name>/SKILL.md` (commit it) so later threads and native Claude Code / attach see it. Merge-review sentences go in `.claude/skills/review/SKILL.md` when that skill already exists; otherwise `.context/review.md` (do not create a review skill). Do not use `.sideboard/skills/` (that folder only). Codex/OpenCode: one line in AGENTS.md pointing at that file.",
|
|
394
394
|
"- One-offs: no guide. Same miss across threads: edit the existing skill or `.context/review.md`, then rerun the batch \u2014 do not patch three threads.",
|
|
395
|
+
"- A miss that will recur (the worker made it twice, or a person told them the rule): if the worktree has `.claude/skills/skill-improver/SKILL.md`, tell the worker to follow it (`/skill-improver`) in that turn \u2014 one sentence in the skill that owns it, in the same change. The worker who heard it writes it down; no Sideboard tool hands that chat to a later run.",
|
|
395
396
|
"Human-only (do not attempt): ready-for-review land (confirm_land), purge_chat.",
|
|
396
397
|
"Chat links in replies: when mentioning a chat/thread for the user, include a markdown link `[Title](sideboard://chat/<id>)` using the full id (or the link field from create_workspace / list_chats). Sideboard renders these as clickable opens.",
|
|
397
398
|
"Bash / Read / etc: allowed for (1) inspecting target worktrees / registered repo paths from MCP, and (2) greenfield setup under ~/sideboard/repos (git clone, gh repo create, git init+remote). Never git init/clone *inside* this synthetic home cwd \u2014 emptiness here is expected, not a bug."
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatOptionalServicesDirectiveForTurn,
|
|
3
3
|
formatOptionalServicesReminderForTurn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MB3GOWB3.js";
|
|
5
5
|
import {
|
|
6
6
|
extractPresentedPlan,
|
|
7
7
|
isPresentPlanToolName,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
parseSessionQuotaResetAt,
|
|
22
22
|
planModeTurnInstruction,
|
|
23
23
|
resolveQuotaFallbackAgent
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MHRU743Z.js";
|
|
25
25
|
import {
|
|
26
26
|
applyWorktreePkgCacheEnv,
|
|
27
27
|
buildBrightsySessionSeed,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
worktreeDevProcessKey,
|
|
57
57
|
worktreeRunProcessKey,
|
|
58
58
|
worktreeSetupProcessKey
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-IYX53WZY.js";
|
|
60
60
|
import {
|
|
61
61
|
applyAgentEvent,
|
|
62
62
|
clipAgentEventForPaint,
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
stageAbsolutePathsAsAttachments,
|
|
102
102
|
stageBuffersAsAttachments,
|
|
103
103
|
syncWorkspacesFromThreads
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-4YGVJRXY.js";
|
|
105
105
|
import {
|
|
106
106
|
addPrStackLayer,
|
|
107
107
|
allocateTeamSlug,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
resolveRepoRoot,
|
|
155
155
|
switchWorktreeBranch,
|
|
156
156
|
withRepoGitLock
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-Z54FI4VL.js";
|
|
158
158
|
import {
|
|
159
159
|
REVIEW_TAB_TITLE,
|
|
160
160
|
agentNicknameFromWorktreePath,
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
worktreeNameFromPath,
|
|
187
187
|
worktreeSlugForTicket,
|
|
188
188
|
writeThread
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-QTDCPMOW.js";
|
|
190
190
|
import {
|
|
191
191
|
askBlockStillWaiting,
|
|
192
192
|
extractPendingPlanQuestions,
|
|
@@ -264,7 +264,7 @@ import {
|
|
|
264
264
|
wakeOrchestratorOnGithubEdgesEnabled,
|
|
265
265
|
withTurnScopedCost,
|
|
266
266
|
writeViewerContext
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-4PHOJMZI.js";
|
|
268
268
|
import {
|
|
269
269
|
examplePrefixedBranch,
|
|
270
270
|
sanitizeGitBranchPrefix
|
|
@@ -527,9 +527,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
|
|
|
527
527
|
`Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
|
|
528
528
|
);
|
|
529
529
|
}
|
|
530
|
-
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-
|
|
530
|
+
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-6GGS3DWU.js");
|
|
531
531
|
if (isGlobalThread2(thread)) {
|
|
532
|
-
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-
|
|
532
|
+
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-OX6A4MDA.js");
|
|
533
533
|
ensureGlobalCoordinatorCwd2(
|
|
534
534
|
isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
|
|
535
535
|
);
|
|
@@ -3299,7 +3299,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
3299
3299
|
});
|
|
3300
3300
|
await requireAgent(resolved.agent);
|
|
3301
3301
|
if (input.cowboy) {
|
|
3302
|
-
const { cowboyModeEnabled } = await import("./app-settings-
|
|
3302
|
+
const { cowboyModeEnabled } = await import("./app-settings-A6JUT2SF.js");
|
|
3303
3303
|
if (!cowboyModeEnabled()) {
|
|
3304
3304
|
throw new Error(
|
|
3305
3305
|
"Cowboy mode is off. Enable it in Settings \u2192 Advanced."
|
|
@@ -3358,7 +3358,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
3358
3358
|
let sourceIsFork = false;
|
|
3359
3359
|
if (!input.cowboy && sourceType === "branch" && (!sourceRef || sourceRef === "HEAD" || sourceRef === "default")) {
|
|
3360
3360
|
if (isAbleTimeConnected() && getIssueSource() === "abletime") {
|
|
3361
|
-
const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-
|
|
3361
|
+
const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-X2TJ6PPK.js");
|
|
3362
3362
|
const task = await ensureAbleTimeTask({
|
|
3363
3363
|
title: title?.trim() || "Untitled work",
|
|
3364
3364
|
description: input.prompt?.trim() || void 0
|
|
@@ -3469,7 +3469,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
3469
3469
|
return readThread(thread.id) ?? thread;
|
|
3470
3470
|
}
|
|
3471
3471
|
async function listLinearIssues(agent, repoPath) {
|
|
3472
|
-
const { getAdapter: getAdapter2 } = await import("./agents-
|
|
3472
|
+
const { getAdapter: getAdapter2 } = await import("./agents-AQM7NLXD.js");
|
|
3473
3473
|
await requireAgent(agent, { requireLinear: true });
|
|
3474
3474
|
const adapter = getAdapter2(agent);
|
|
3475
3475
|
if (!adapter.listLinearIssues) {
|
|
@@ -4252,7 +4252,7 @@ async function adoptThread(input) {
|
|
|
4252
4252
|
messages: input.messages ?? []
|
|
4253
4253
|
});
|
|
4254
4254
|
writeThread(thread);
|
|
4255
|
-
const { addWorkspace: addWorkspace2 } = await import("./workspaces-
|
|
4255
|
+
const { addWorkspace: addWorkspace2 } = await import("./workspaces-DTMPNDPW.js");
|
|
4256
4256
|
await addWorkspace2(repoPath);
|
|
4257
4257
|
const { ensureWorktreeSideboardIgnored } = await import("./worktree-exclude-YQBN43QD.js");
|
|
4258
4258
|
await ensureWorktreeSideboardIgnored(input.worktreePath);
|
|
@@ -6877,7 +6877,7 @@ function formatProcessGuideDirective(opts) {
|
|
|
6877
6877
|
hasInstallSkill ? "- After merge-from-main / lockfile change, or a hung `pnpm install`: follow `.claude/skills/worktree-install/SKILL.md` (`/worktree-install`). Use the worktree-local store Sideboard already set; do not share `~/.pnpm-store` across concurrent worktrees." : null,
|
|
6878
6878
|
"- If this same shape of work will happen again, write `.claude/skills/<kebab-name>/SKILL.md` in this worktree (Claude Code project skill; Sideboard `/name`, Claude Code, and `attach` all load it). Not under `.sideboard/skills/`. Point Codex/OpenCode at it from `AGENTS.md`.",
|
|
6879
6879
|
hasReviewSkill ? "- Merge-readiness notes go in `.claude/skills/review/SKILL.md` (edit it; do not create another review skill)." : "- Merge-readiness notes go in `.context/review.md` (copied from `.sideboard/review.md` when that file exists). Do not create a review skill.",
|
|
6880
|
-
"- Skip a guide for a one-off. If a matching skill exists, follow it. Same miss twice \u2192 edit the skill, do not patch around it."
|
|
6880
|
+
!!worktree && existsSync12(join13(worktree, ".claude/skills/skill-improver/SKILL.md")) ? "- Skip a guide for a one-off. If a matching skill exists, follow it. A miss that will recur (you made it twice, or a person told you the rule) \u2192 follow `.claude/skills/skill-improver/SKILL.md` (`/skill-improver`): one sentence in the skill that owns it, in this change. Do not patch around it." : "- Skip a guide for a one-off. If a matching skill exists, follow it. Same miss twice \u2192 edit the skill, do not patch around it."
|
|
6881
6881
|
].filter(Boolean).join("\n");
|
|
6882
6882
|
}
|
|
6883
6883
|
function formatLongRunningDirective(opts) {
|
|
@@ -7877,11 +7877,11 @@ function realDeps() {
|
|
|
7877
7877
|
parentIdForThread,
|
|
7878
7878
|
designatedId: designatedOrchestratorId,
|
|
7879
7879
|
send: async (threadId, prompt) => {
|
|
7880
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
7880
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-POMFVZLB.js");
|
|
7881
7881
|
await getOrchestrator2().send(threadId, prompt, { followUp: "queue" });
|
|
7882
7882
|
},
|
|
7883
7883
|
startOrchestration: async (prompt) => {
|
|
7884
|
-
const { startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
7884
|
+
const { startOrchestration: startOrchestration2 } = await import("./orchestrator-POMFVZLB.js");
|
|
7885
7885
|
const defaults = resolveOrchestratorDefaults();
|
|
7886
7886
|
await startOrchestration2({
|
|
7887
7887
|
goal: prompt,
|
|
@@ -7908,7 +7908,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
7908
7908
|
${prompt}`;
|
|
7909
7909
|
}
|
|
7910
7910
|
async function defaultDeps() {
|
|
7911
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
7911
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-POMFVZLB.js");
|
|
7912
7912
|
const orch = getOrchestrator2();
|
|
7913
7913
|
return {
|
|
7914
7914
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -8264,7 +8264,7 @@ var Orchestrator = class {
|
|
|
8264
8264
|
orphans: orphans.map((o) => ({ path: o.path, repoPath: o.repoPath }))
|
|
8265
8265
|
});
|
|
8266
8266
|
}
|
|
8267
|
-
const { autoCleanupOrphansEnabled } = await import("./app-settings-
|
|
8267
|
+
const { autoCleanupOrphansEnabled } = await import("./app-settings-A6JUT2SF.js");
|
|
8268
8268
|
if (autoCleanupOrphansEnabled() && shouldRunWorktreeCleanup() && orphans.length > 0) {
|
|
8269
8269
|
await cleanupOrphanWorktrees({ repoPaths });
|
|
8270
8270
|
}
|
|
@@ -8654,7 +8654,7 @@ var Orchestrator = class {
|
|
|
8654
8654
|
}
|
|
8655
8655
|
await setup;
|
|
8656
8656
|
if (skipSetup) return;
|
|
8657
|
-
const { autoRunAfterSetupEnabled } = await import("./app-settings-
|
|
8657
|
+
const { autoRunAfterSetupEnabled } = await import("./app-settings-A6JUT2SF.js");
|
|
8658
8658
|
if (autoRunAfterSetupEnabled()) {
|
|
8659
8659
|
try {
|
|
8660
8660
|
await this.startDev(threadId);
|
|
@@ -9038,7 +9038,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
|
|
|
9038
9038
|
}
|
|
9039
9039
|
const isBrightsy = fresh.agent === "brightsy";
|
|
9040
9040
|
const isOrchestration = isOrchestratorThread(fresh);
|
|
9041
|
-
const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-
|
|
9041
|
+
const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-A6JUT2SF.js");
|
|
9042
9042
|
const gitAuthMode = getGithubGitAuthMode();
|
|
9043
9043
|
const worktreeDirective = isBrightsy || isOrchestration ? null : formatWorktreeDirective(fresh, {
|
|
9044
9044
|
githubSlug: turnOrigin?.forge === "github" ? turnOrigin.slug : await withTimeout(resolveGithubRepoSlug(fresh.worktreePath), 8e3, "resolveGithubRepoSlug").catch(() => null),
|
|
@@ -10380,7 +10380,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
|
|
|
10380
10380
|
if (Object.keys(patch).length === 0) continue;
|
|
10381
10381
|
updateThread(t.id, patch);
|
|
10382
10382
|
}
|
|
10383
|
-
const { autoArchiveOnMergeEnabled } = await import("./app-settings-
|
|
10383
|
+
const { autoArchiveOnMergeEnabled } = await import("./app-settings-A6JUT2SF.js");
|
|
10384
10384
|
const latest = this.requireThread(thread.id);
|
|
10385
10385
|
if (!shouldAutoArchiveOnPrMerge({
|
|
10386
10386
|
previousPrState: prevState || null,
|
|
@@ -10704,7 +10704,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
|
|
|
10704
10704
|
await runArchiveScript(thread.repoPath, thread.worktreePath);
|
|
10705
10705
|
} catch {
|
|
10706
10706
|
}
|
|
10707
|
-
const { deleteBranchOnPurgeEnabled } = await import("./app-settings-
|
|
10707
|
+
const { deleteBranchOnPurgeEnabled } = await import("./app-settings-A6JUT2SF.js");
|
|
10708
10708
|
const deleteBranch = opts?.deleteBranch ?? deleteBranchOnPurgeEnabled();
|
|
10709
10709
|
await removeWorktree(thread.repoPath, thread.worktreePath, {
|
|
10710
10710
|
deleteBranch: deleteBranch ? thread.branchName : void 0
|
|
@@ -10842,7 +10842,7 @@ async function startOrchestration(opts) {
|
|
|
10842
10842
|
sourceRef: "default",
|
|
10843
10843
|
...createOpts
|
|
10844
10844
|
}).catch(async () => {
|
|
10845
|
-
const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-
|
|
10845
|
+
const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-FX5FT6BI.js");
|
|
10846
10846
|
const repo = await resolveRepoRoot2(repoPath);
|
|
10847
10847
|
const def = await resolveDefaultBranch2(repo);
|
|
10848
10848
|
return orch.createThread({
|
|
@@ -10852,7 +10852,7 @@ async function startOrchestration(opts) {
|
|
|
10852
10852
|
repoPath: repo
|
|
10853
10853
|
});
|
|
10854
10854
|
});
|
|
10855
|
-
const { updateThread: upd } = await import("./thread-store-
|
|
10855
|
+
const { updateThread: upd } = await import("./thread-store-V5IDUJ4L.js");
|
|
10856
10856
|
const updated = upd(thread.id, {
|
|
10857
10857
|
sourceType: "orchestration",
|
|
10858
10858
|
sourceRef: goal
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
loadAppSettings,
|
|
6
6
|
saveAppSettings
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4PHOJMZI.js";
|
|
8
8
|
|
|
9
9
|
// src/integrations/optional-services.ts
|
|
10
10
|
var OPTIONAL_SERVICE_IDS = ["vercel", "supabase", "posthog", "sentry"];
|
|
@@ -273,7 +273,7 @@ async function connectedCliPresence(integrations) {
|
|
|
273
273
|
const ids = connectedOptionalServices(integrations).filter((spec) => spec.cli).map((spec) => spec.id);
|
|
274
274
|
if (ids.length === 0) return void 0;
|
|
275
275
|
try {
|
|
276
|
-
const { optionalCliPresence } = await import("./optional-cli-
|
|
276
|
+
const { optionalCliPresence } = await import("./optional-cli-YHLVTVRK.js");
|
|
277
277
|
return await optionalCliPresence(ids);
|
|
278
278
|
} catch {
|
|
279
279
|
return void 0;
|