@sideboard-ai/core 0.1.293 → 0.1.295
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-VFKYNSJT.js → abletime-APP3DZ4P.js} +4 -4
- package/dist/{abletime-4WJUVE64.js → abletime-RYDAQ3FE.js} +4 -4
- package/dist/{abletime-oauth-ICMB2XV2.js → abletime-oauth-KTERKARA.js} +3 -3
- package/dist/{abletime-oauth-FW24YHYX.js → abletime-oauth-ZURGXSY6.js} +3 -3
- package/dist/{abletime-rest-OGWC7BC6.js → abletime-rest-4TVIWLZK.js} +3 -3
- package/dist/{abletime-rest-HFMRTUDT.js → abletime-rest-EUB6RW7K.js} +3 -3
- package/dist/agents/cursor-runner.cjs +128 -50
- package/dist/agents/cursor-runner.js +62 -43
- package/dist/{agents-SITR5V6F.js → agents-EFHYZUZT.js} +8 -8
- package/dist/{agents-WT72O5A3.js → agents-S55DBAVO.js} +6 -6
- package/dist/{app-settings-EHMXHNG5.js → app-settings-2IH42VA5.js} +3 -1
- package/dist/{app-settings-MR2U6AXN.js → app-settings-3OQWRKOK.js} +3 -1
- package/dist/{chunk-3E4NOIXN.js → chunk-3D3GGL6X.js} +3 -3
- package/dist/{chunk-UO5C2L2G.js → chunk-6SGYGYH7.js} +1 -1
- package/dist/{chunk-RPCKGO3J.js → chunk-ABLHTRRG.js} +17 -12
- package/dist/{chunk-NXXQFLNQ.js → chunk-B42H6GJR.js} +2 -2
- package/dist/{chunk-MVZO7QZ2.js → chunk-BU6HH5VA.js} +4 -0
- package/dist/{chunk-PO3PDNMV.js → chunk-E7G7RY6T.js} +3 -3
- package/dist/{chunk-AFLNFGGB.js → chunk-ED4ZXQVO.js} +1 -0
- package/dist/{chunk-K6IOJI3L.js → chunk-ER6BGGME.js} +70 -1
- package/dist/{chunk-NFPWLDCH.js → chunk-FAXOEKQR.js} +5 -5
- package/dist/{chunk-MIVX7QKI.js → chunk-HO5R3ZRH.js} +1 -0
- package/dist/{chunk-GU6DT6NO.js → chunk-HSF2RQSQ.js} +5 -5
- package/dist/{chunk-WRDKJRWF.js → chunk-HWIIRVYE.js} +5 -5
- package/dist/{chunk-7UUILVMV.js → chunk-IOY2LF3Y.js} +1 -1
- package/dist/{chunk-OH4EN323.js → chunk-ISEYRGMP.js} +2 -2
- package/dist/{chunk-4YXXLWDI.js → chunk-KCP6IVRI.js} +6 -6
- package/dist/{chunk-MYJYINTS.js → chunk-LZVWKJXY.js} +3 -3
- package/dist/{chunk-Y67TBJD5.js → chunk-MOP5L5QZ.js} +3 -3
- package/dist/{chunk-YSLCWCMJ.js → chunk-Q3DPZ4DE.js} +1 -1
- package/dist/{chunk-AF2DMY3K.js → chunk-QDDTVIWE.js} +13 -4
- package/dist/{chunk-B3BPLPKQ.js → chunk-R3R3ZDFC.js} +2 -2
- package/dist/{chunk-36J3IZBS.js → chunk-RSATPXU4.js} +4 -0
- package/dist/{chunk-XZW3BXZW.js → chunk-RWIYYFID.js} +20 -14
- package/dist/{chunk-AHH5USEA.js → chunk-SSETL5EX.js} +2 -2
- package/dist/{chunk-W2KZTDET.js → chunk-WZCPZVUC.js} +2 -2
- package/dist/{chunk-4BXRRHDC.js → chunk-XCXUVX7I.js} +12 -3
- package/dist/{chunk-LSHGJI4S.js → chunk-XXT3C2EF.js} +22 -22
- package/dist/{chunk-ZRQWV3MS.js → chunk-YEIPPZ5W.js} +3 -3
- package/dist/{chunk-IP5WSADC.js → chunk-YFKAC4LB.js} +19 -19
- package/dist/{chunk-2VGLZIU6.js → chunk-ZEP6JIRF.js} +1 -1
- package/dist/{conductor-P7XPGYF4.js → conductor-GURU5XD7.js} +5 -5
- package/dist/{conductor-MAYZSFL6.js → conductor-HT2UANDY.js} +6 -6
- package/dist/{coordinator-prompt-NAM5JHLT.js → coordinator-prompt-AROMFCP2.js} +3 -3
- package/dist/{coordinator-prompt-OZFKNCM3.js → coordinator-prompt-K6XHUG3N.js} +3 -3
- package/dist/{global-workspace-UGR6FQXI.js → global-workspace-4WAU4PAL.js} +3 -3
- package/dist/{global-workspace-CTFQDG7G.js → global-workspace-PX4GUVLW.js} +3 -3
- package/dist/index.cjs +58 -13
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +40 -24
- package/dist/mcp/run-stdio.cjs +78 -37
- package/dist/mcp/run-stdio.js +39 -16
- package/dist/{optional-cli-FRUZSZ3U.js → optional-cli-JQVNSMSU.js} +3 -3
- package/dist/{optional-cli-6SW4OOX3.js → optional-cli-PZXDOVJJ.js} +4 -4
- package/dist/{orchestrator-BOGVTCWI.js → orchestrator-VDYZSZWY.js} +11 -11
- package/dist/{orchestrator-4QVF6CE2.js → orchestrator-VNSEXL62.js} +9 -9
- package/dist/{workspaces-QNKFBA63.js → workspaces-MFU3IGAP.js} +3 -3
- package/dist/{workspaces-YNZXVBSF.js → workspaces-U7SSD27C.js} +3 -3
- package/dist/{worktree-EMCWDPZJ.js → worktree-2VSHRI72.js} +2 -2
- package/dist/{worktree-ERRH4TAG.js → worktree-TQKASYPZ.js} +2 -2
- package/package.json +1 -1
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
looksLikeSkillBody,
|
|
10
10
|
skillCommandFromBody,
|
|
11
11
|
withEventParentId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Q3DPZ4DE.js";
|
|
13
13
|
import {
|
|
14
14
|
isOrchestratorThread
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YEIPPZ5W.js";
|
|
16
16
|
import {
|
|
17
17
|
codexUnattendedGitConfigArgs,
|
|
18
18
|
mergeAgentGitAuthEnv,
|
|
19
19
|
resolveAgentGitAuthEnv,
|
|
20
20
|
resolveCodexGitWritableRoots
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZEP6JIRF.js";
|
|
22
22
|
import {
|
|
23
23
|
loadBrightsyConfig
|
|
24
24
|
} from "./chunk-33KDPEK4.js";
|
|
@@ -38,13 +38,13 @@ import {
|
|
|
38
38
|
packagedMcpStdioPath,
|
|
39
39
|
parseCursorRunnerLine,
|
|
40
40
|
resolveNodeLaunch
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-IOY2LF3Y.js";
|
|
42
42
|
import {
|
|
43
43
|
extractJsonErrorMessage,
|
|
44
44
|
formatUnknownDetail,
|
|
45
45
|
looksLikeAgentFailureMessage,
|
|
46
46
|
looksLikeBrightsyEmptyCompletion
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-HO5R3ZRH.js";
|
|
48
48
|
import {
|
|
49
49
|
run
|
|
50
50
|
} from "./chunk-QVN2WOKJ.js";
|
|
@@ -64,10 +64,11 @@ import {
|
|
|
64
64
|
fromInclusiveInputUsage,
|
|
65
65
|
isAbleTimeConnected,
|
|
66
66
|
isLinearConnected,
|
|
67
|
+
isPosthogConnected,
|
|
67
68
|
loadAppSettings,
|
|
68
69
|
resolveAgentExecutable,
|
|
69
70
|
resolveClaudeExecutable
|
|
70
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-RSATPXU4.js";
|
|
71
72
|
import {
|
|
72
73
|
isElectronLikeCommand,
|
|
73
74
|
unwrapStrippedElectronLaunch
|
|
@@ -574,6 +575,10 @@ var CLAUDE_CHROME_ALLOWED_TOOLS = [
|
|
|
574
575
|
"mcp__claude-in-chrome__*",
|
|
575
576
|
"Skill(claude-in-chrome)"
|
|
576
577
|
];
|
|
578
|
+
var CLAUDE_POSTHOG_CONNECTOR_ALLOWED_TOOLS = [
|
|
579
|
+
"mcp__claude_ai_PostHog",
|
|
580
|
+
"mcp__claude_ai_PostHog__*"
|
|
581
|
+
];
|
|
577
582
|
|
|
578
583
|
// src/agents/orch-mcp-isolation.ts
|
|
579
584
|
import { existsSync as existsSync4, readFileSync as readFileSync2 } from "fs";
|
|
@@ -719,11 +724,9 @@ var SIDEBOARD_GITHUB_MCP_ALLOWED_TOOLS = ["mcp__sideboard__github_*"];
|
|
|
719
724
|
var SIDEBOARD_LINEAR_MCP_ALLOWED_TOOLS = ["mcp__sideboard__linear_*"];
|
|
720
725
|
var SIDEBOARD_ABLETIME_MCP_ALLOWED_TOOLS = ["mcp__sideboard__abletime_*"];
|
|
721
726
|
function sideboardWorktreeAllowedTools(opts) {
|
|
722
|
-
const out =
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
if (idx >= 0) out.splice(idx, 1);
|
|
726
|
-
}
|
|
727
|
+
const out = SIDEBOARD_ARTIFACT_MCP_ALLOWED_TOOLS.filter(
|
|
728
|
+
(tool) => (opts?.planMode || tool !== "mcp__sideboard__present_plan") && (opts?.posthog || tool !== "mcp__sideboard__posthog_api")
|
|
729
|
+
);
|
|
727
730
|
if (opts?.github !== false) out.push(...SIDEBOARD_GITHUB_MCP_ALLOWED_TOOLS);
|
|
728
731
|
if (opts?.linear) out.push(...SIDEBOARD_LINEAR_MCP_ALLOWED_TOOLS);
|
|
729
732
|
if (opts?.abletime) out.push(...SIDEBOARD_ABLETIME_MCP_ALLOWED_TOOLS);
|
|
@@ -1752,7 +1755,7 @@ var claudeAdapter = {
|
|
|
1752
1755
|
);
|
|
1753
1756
|
}
|
|
1754
1757
|
const mode = permissionMode(thread);
|
|
1755
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
1758
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-4WAU4PAL.js");
|
|
1756
1759
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
1757
1760
|
const rpc = worktreeAgentRpc(isOrchestrator);
|
|
1758
1761
|
const injectedServers = await buildInjectedMcpServers({
|
|
@@ -1782,9 +1785,11 @@ var claudeAdapter = {
|
|
|
1782
1785
|
github: true,
|
|
1783
1786
|
linear: isLinearConnected(),
|
|
1784
1787
|
abletime: isAbleTimeConnected(),
|
|
1785
|
-
planMode: thread.planMode
|
|
1788
|
+
planMode: thread.planMode,
|
|
1789
|
+
posthog: isPosthogConnected()
|
|
1786
1790
|
}),
|
|
1787
|
-
...brightsyMcpAllowedTools(injectedBrightsyNames)
|
|
1791
|
+
...brightsyMcpAllowedTools(injectedBrightsyNames),
|
|
1792
|
+
...isPosthogConnected() ? [] : CLAUDE_POSTHOG_CONNECTOR_ALLOWED_TOOLS
|
|
1788
1793
|
];
|
|
1789
1794
|
}
|
|
1790
1795
|
if (chromeOn) {
|
|
@@ -3683,6 +3688,7 @@ export {
|
|
|
3683
3688
|
BASE_ALLOWED_TOOLS,
|
|
3684
3689
|
CLAUDE_PRINT_BG_WAIT_CEILING_MS,
|
|
3685
3690
|
CLAUDE_CHROME_ALLOWED_TOOLS,
|
|
3691
|
+
CLAUDE_POSTHOG_CONNECTOR_ALLOWED_TOOLS,
|
|
3686
3692
|
SIDEBOARD_MCP_PROFILE_ENV,
|
|
3687
3693
|
SIDEBOARD_THREAD_ID_ENV,
|
|
3688
3694
|
shouldRegisterMcpWaitForTurn,
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
normalizeAbleTimeCredential,
|
|
7
7
|
normalizeAbleTimeHost,
|
|
8
8
|
rewriteAbleTimeError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HSF2RQSQ.js";
|
|
10
10
|
import {
|
|
11
11
|
httpFetch
|
|
12
12
|
} from "./chunk-2GPQZZLY.js";
|
|
13
13
|
import {
|
|
14
14
|
getAbleTimeAccessToken,
|
|
15
15
|
getAbleTimeHost
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BU6HH5VA.js";
|
|
17
17
|
|
|
18
18
|
// src/integrations/abletime-rest.ts
|
|
19
19
|
var ABLETIME_REST_PREFIX = "/api/public/v2";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-2UG25RMK.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveAgentExecutable
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BU6HH5VA.js";
|
|
13
13
|
|
|
14
14
|
// src/agents/install.ts
|
|
15
15
|
import { existsSync } from "fs";
|
|
@@ -267,7 +267,7 @@ async function loginAgent(agent) {
|
|
|
267
267
|
};
|
|
268
268
|
}
|
|
269
269
|
async function loginManagedAccount(accountId) {
|
|
270
|
-
const { loadAppSettings } = await import("./app-settings-
|
|
270
|
+
const { loadAppSettings } = await import("./app-settings-2IH42VA5.js");
|
|
271
271
|
const { loginEnvPrefix } = await import("./managed-accounts-46A4KRUE.js");
|
|
272
272
|
const account = loadAppSettings().accounts.accounts.find((a) => a.id === accountId);
|
|
273
273
|
if (!account) {
|
|
@@ -87,6 +87,12 @@ function connectorDirectiveLine(spec, cli) {
|
|
|
87
87
|
}
|
|
88
88
|
return `- ${spec.label}: call \`posthog_api\`. Path must start with \`/api/\`. GET is the default. POST \`/api/projects/:id/query/\` or \`/api/environments/:id/query/\` is a read and does not need \`write=true\`. Other POST and PATCH require \`write=true\` only when the user asked to change data. Do not read the API key from the environment. Do not add a ${spec.label} MCP.`;
|
|
89
89
|
}
|
|
90
|
+
function connectorAuthCaution(posthog, cliConnected) {
|
|
91
|
+
const signIn = posthog ? "If a connector MCP is listed but needsAuth or returns unauthorized, do not sign in to that MCP." : "If a Vercel, Supabase, or Sentry MCP is listed but needsAuth or returns unauthorized, do not sign in to that MCP.";
|
|
92
|
+
const token = cliConnected ? " CLI tokens are already in this process." : "";
|
|
93
|
+
const key = posthog ? " Do not read a PostHog key from the environment." : "";
|
|
94
|
+
return `${signIn}${token}${key}`;
|
|
95
|
+
}
|
|
90
96
|
function connectorReminderBit(spec, cli) {
|
|
91
97
|
if (!spec.cli) return `${spec.label}: \`posthog_api\``;
|
|
92
98
|
const presence = cliPresencePhrase(spec, cli);
|
|
@@ -96,10 +102,11 @@ function formatOptionalServicesDirective(integrations, cli) {
|
|
|
96
102
|
const connected = connectedOptionalServices(integrations);
|
|
97
103
|
if (connected.length === 0) return null;
|
|
98
104
|
const cliConnected = connected.some((spec) => spec.cli);
|
|
105
|
+
const posthog = connected.some((spec) => spec.id === "posthog");
|
|
99
106
|
const lines = [
|
|
100
107
|
cliConnected ? "Optional connectors (connected \u2014 CLI tokens are already in this process env):" : "Optional connectors (connected):",
|
|
101
108
|
...connected.map((spec) => connectorDirectiveLine(spec, cli)),
|
|
102
|
-
|
|
109
|
+
connectorAuthCaution(posthog, cliConnected),
|
|
103
110
|
"Do not add a vendor MCP. When a binary is missing, ask the user to press Install CLI in Settings \u2192 Connectors.",
|
|
104
111
|
"When you shell a connector CLI, write bulky output to `.context/cli/` and read a slice."
|
|
105
112
|
];
|
|
@@ -110,13 +117,15 @@ function formatOptionalServicesReminder(integrations, cli) {
|
|
|
110
117
|
if (connected.length === 0) return null;
|
|
111
118
|
const bits = connected.map((spec) => connectorReminderBit(spec, cli)).join(". ");
|
|
112
119
|
const tokenBit = connected.some((spec) => spec.cli) ? "CLI tokens are already in this process. " : "";
|
|
113
|
-
|
|
120
|
+
const posthog = connected.some((spec) => spec.id === "posthog");
|
|
121
|
+
const auth = posthog ? "If a connector MCP needsAuth or is unauthorized, ignore it and use the CLI or `posthog_api`. Do not read a PostHog key from the environment." : "If a Vercel, Supabase, or Sentry MCP needsAuth or is unauthorized, ignore it and use the CLI.";
|
|
122
|
+
return `Settings \u2192 Connectors: ${tokenBit}${bits}. ${auth} Do not add vendor MCPs. Shell dumps from those CLIs go in \`.context/cli/\` \u2014 read a slice.`;
|
|
114
123
|
}
|
|
115
124
|
async function connectedCliPresence(integrations) {
|
|
116
125
|
const ids = connectedOptionalServices(integrations).filter((spec) => spec.cli).map((spec) => spec.id);
|
|
117
126
|
if (ids.length === 0) return void 0;
|
|
118
127
|
try {
|
|
119
|
-
const { optionalCliPresence } = await import("./optional-cli-
|
|
128
|
+
const { optionalCliPresence } = await import("./optional-cli-JQVNSMSU.js");
|
|
120
129
|
return await optionalCliPresence(ids);
|
|
121
130
|
} catch {
|
|
122
131
|
return void 0;
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
parseSessionQuotaResetAt,
|
|
15
15
|
planModeTurnInstruction,
|
|
16
16
|
resolveQuotaFallbackAgent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RWIYYFID.js";
|
|
18
18
|
import {
|
|
19
19
|
REVIEW_TAB_TITLE,
|
|
20
20
|
applyWorktreePkgCacheEnv,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
worktreeDevProcessKey,
|
|
54
54
|
worktreeRunProcessKey,
|
|
55
55
|
worktreeSetupProcessKey
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-KCP6IVRI.js";
|
|
57
57
|
import {
|
|
58
58
|
applyAgentEvent,
|
|
59
59
|
clipAgentEventForPaint,
|
|
@@ -68,14 +68,14 @@ import {
|
|
|
68
68
|
partsToAssistantText,
|
|
69
69
|
stripBrightsyNdjsonNoise,
|
|
70
70
|
toolDescription
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-Q3DPZ4DE.js";
|
|
72
72
|
import {
|
|
73
73
|
titleFromPrompt
|
|
74
74
|
} from "./chunk-7H655NEW.js";
|
|
75
75
|
import {
|
|
76
76
|
formatOptionalServicesDirectiveForTurn,
|
|
77
77
|
formatOptionalServicesReminderForTurn
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-QDDTVIWE.js";
|
|
79
79
|
import {
|
|
80
80
|
SLACK_REPLY_FORMATTING,
|
|
81
81
|
addWorkspace,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
stageAbsolutePathsAsAttachments,
|
|
101
101
|
stageBuffersAsAttachments,
|
|
102
102
|
syncWorkspacesFromThreads
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-YEIPPZ5W.js";
|
|
104
104
|
import {
|
|
105
105
|
addPrStackLayer,
|
|
106
106
|
allocateTeamSlug,
|
|
@@ -142,7 +142,7 @@ import {
|
|
|
142
142
|
resolveRepoRoot,
|
|
143
143
|
switchWorktreeBranch,
|
|
144
144
|
withRepoGitLock
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-ZEP6JIRF.js";
|
|
146
146
|
import {
|
|
147
147
|
agentNicknameFromWorktreePath,
|
|
148
148
|
appendMessage,
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
import {
|
|
174
174
|
applyAgentRunnerHeapEnv,
|
|
175
175
|
packagedMcpDir
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-IOY2LF3Y.js";
|
|
177
177
|
import {
|
|
178
178
|
fallbackTurnFailDetail,
|
|
179
179
|
formatAgentErrorContinuePrompt,
|
|
@@ -188,7 +188,7 @@ import {
|
|
|
188
188
|
shouldRetryFailedAgentTurn,
|
|
189
189
|
summarizeTurnStderr,
|
|
190
190
|
turnFailChatText
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-HO5R3ZRH.js";
|
|
192
192
|
import {
|
|
193
193
|
clearStaleIndexLocks,
|
|
194
194
|
enrichPathWithNpmGlobalBin,
|
|
@@ -229,7 +229,7 @@ import {
|
|
|
229
229
|
usageOnLimit,
|
|
230
230
|
withTurnScopedCost,
|
|
231
231
|
writeViewerContext
|
|
232
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-RSATPXU4.js";
|
|
233
233
|
import {
|
|
234
234
|
examplePrefixedBranch,
|
|
235
235
|
sanitizeGitBranchPrefix
|
|
@@ -451,9 +451,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
|
|
|
451
451
|
`Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
|
|
452
452
|
);
|
|
453
453
|
}
|
|
454
|
-
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-
|
|
454
|
+
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-4WAU4PAL.js");
|
|
455
455
|
if (isGlobalThread2(thread)) {
|
|
456
|
-
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-
|
|
456
|
+
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-AROMFCP2.js");
|
|
457
457
|
ensureGlobalCoordinatorCwd2(
|
|
458
458
|
isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
|
|
459
459
|
);
|
|
@@ -2570,7 +2570,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
2570
2570
|
});
|
|
2571
2571
|
await requireAgent(resolved.agent);
|
|
2572
2572
|
if (input.cowboy) {
|
|
2573
|
-
const { cowboyModeEnabled } = await import("./app-settings-
|
|
2573
|
+
const { cowboyModeEnabled } = await import("./app-settings-3OQWRKOK.js");
|
|
2574
2574
|
if (!cowboyModeEnabled()) {
|
|
2575
2575
|
throw new Error(
|
|
2576
2576
|
"Cowboy mode is off. Enable it in Settings \u2192 Advanced."
|
|
@@ -2629,7 +2629,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
2629
2629
|
let sourceIsFork = false;
|
|
2630
2630
|
if (!input.cowboy && sourceType === "branch" && (!sourceRef || sourceRef === "HEAD" || sourceRef === "default")) {
|
|
2631
2631
|
if (isAbleTimeConnected() && getIssueSource() === "abletime") {
|
|
2632
|
-
const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-
|
|
2632
|
+
const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-RYDAQ3FE.js");
|
|
2633
2633
|
const task = await ensureAbleTimeTask({
|
|
2634
2634
|
title: title?.trim() || "Untitled work",
|
|
2635
2635
|
description: input.prompt?.trim() || void 0
|
|
@@ -2740,7 +2740,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
2740
2740
|
return readThread(thread.id) ?? thread;
|
|
2741
2741
|
}
|
|
2742
2742
|
async function listLinearIssues(agent, repoPath) {
|
|
2743
|
-
const { getAdapter: getAdapter2 } = await import("./agents-
|
|
2743
|
+
const { getAdapter: getAdapter2 } = await import("./agents-EFHYZUZT.js");
|
|
2744
2744
|
await requireAgent(agent, { requireLinear: true });
|
|
2745
2745
|
const adapter = getAdapter2(agent);
|
|
2746
2746
|
if (!adapter.listLinearIssues) {
|
|
@@ -3251,7 +3251,7 @@ async function adoptThread(input) {
|
|
|
3251
3251
|
messages: input.messages ?? []
|
|
3252
3252
|
});
|
|
3253
3253
|
writeThread(thread);
|
|
3254
|
-
const { addWorkspace: addWorkspace2 } = await import("./workspaces-
|
|
3254
|
+
const { addWorkspace: addWorkspace2 } = await import("./workspaces-U7SSD27C.js");
|
|
3255
3255
|
await addWorkspace2(repoPath);
|
|
3256
3256
|
const { ensureWorktreeSideboardIgnored } = await import("./worktree-exclude-RXZPTCNH.js");
|
|
3257
3257
|
await ensureWorktreeSideboardIgnored(input.worktreePath);
|
|
@@ -6170,7 +6170,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
6170
6170
|
${prompt}`;
|
|
6171
6171
|
}
|
|
6172
6172
|
async function defaultDeps() {
|
|
6173
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
6173
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-VDYZSZWY.js");
|
|
6174
6174
|
const orch = getOrchestrator2();
|
|
6175
6175
|
return {
|
|
6176
6176
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -6488,7 +6488,7 @@ var Orchestrator = class {
|
|
|
6488
6488
|
orphans: orphans.map((o) => ({ path: o.path, repoPath: o.repoPath }))
|
|
6489
6489
|
});
|
|
6490
6490
|
}
|
|
6491
|
-
const { autoCleanupOrphansEnabled } = await import("./app-settings-
|
|
6491
|
+
const { autoCleanupOrphansEnabled } = await import("./app-settings-3OQWRKOK.js");
|
|
6492
6492
|
if (autoCleanupOrphansEnabled() && shouldRunWorktreeCleanup() && orphans.length > 0) {
|
|
6493
6493
|
await cleanupOrphanWorktrees({ repoPaths });
|
|
6494
6494
|
}
|
|
@@ -6882,7 +6882,7 @@ var Orchestrator = class {
|
|
|
6882
6882
|
}
|
|
6883
6883
|
await setup;
|
|
6884
6884
|
if (skipSetup) return;
|
|
6885
|
-
const { autoRunAfterSetupEnabled } = await import("./app-settings-
|
|
6885
|
+
const { autoRunAfterSetupEnabled } = await import("./app-settings-3OQWRKOK.js");
|
|
6886
6886
|
if (autoRunAfterSetupEnabled()) {
|
|
6887
6887
|
try {
|
|
6888
6888
|
await this.startDev(threadId);
|
|
@@ -7273,7 +7273,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
|
|
|
7273
7273
|
}
|
|
7274
7274
|
const isBrightsy = fresh.agent === "brightsy";
|
|
7275
7275
|
const isOrchestration = isOrchestratorThread(fresh);
|
|
7276
|
-
const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-
|
|
7276
|
+
const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-3OQWRKOK.js");
|
|
7277
7277
|
const gitAuthMode = getGithubGitAuthMode();
|
|
7278
7278
|
const worktreeDirective = isBrightsy || isOrchestration ? null : formatWorktreeDirective(fresh, {
|
|
7279
7279
|
githubSlug: await withTimeout(
|
|
@@ -8589,7 +8589,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
|
|
|
8589
8589
|
if (Object.keys(patch).length === 0) continue;
|
|
8590
8590
|
updateThread(t.id, patch);
|
|
8591
8591
|
}
|
|
8592
|
-
const { autoArchiveOnMergeEnabled } = await import("./app-settings-
|
|
8592
|
+
const { autoArchiveOnMergeEnabled } = await import("./app-settings-3OQWRKOK.js");
|
|
8593
8593
|
const latest = this.requireThread(thread.id);
|
|
8594
8594
|
if (!shouldAutoArchiveOnPrMerge({
|
|
8595
8595
|
previousPrState: prevState || null,
|
|
@@ -8906,7 +8906,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
|
|
|
8906
8906
|
await runArchiveScript(thread.repoPath, thread.worktreePath);
|
|
8907
8907
|
} catch {
|
|
8908
8908
|
}
|
|
8909
|
-
const { deleteBranchOnPurgeEnabled } = await import("./app-settings-
|
|
8909
|
+
const { deleteBranchOnPurgeEnabled } = await import("./app-settings-3OQWRKOK.js");
|
|
8910
8910
|
const deleteBranch = opts?.deleteBranch ?? deleteBranchOnPurgeEnabled();
|
|
8911
8911
|
await removeWorktree(thread.repoPath, thread.worktreePath, {
|
|
8912
8912
|
deleteBranch: deleteBranch ? thread.branchName : void 0
|
|
@@ -9042,7 +9042,7 @@ async function startOrchestration(opts) {
|
|
|
9042
9042
|
sourceRef: "default",
|
|
9043
9043
|
...createOpts
|
|
9044
9044
|
}).catch(async () => {
|
|
9045
|
-
const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-
|
|
9045
|
+
const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-TQKASYPZ.js");
|
|
9046
9046
|
const repo = await resolveRepoRoot2(repoPath);
|
|
9047
9047
|
const def = await resolveDefaultBranch2(repo);
|
|
9048
9048
|
return orch.createThread({
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ensureGhPreferOrigin,
|
|
4
4
|
resolveGithubRepoSlug,
|
|
5
5
|
resolveRepoRoot
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZEP6JIRF.js";
|
|
7
7
|
import {
|
|
8
8
|
allocateTeamName,
|
|
9
9
|
createEmptyThread,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
resolveThreadDefaults,
|
|
30
30
|
resolveViewerProfile,
|
|
31
31
|
resolveViewerProfileForRepo
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-RSATPXU4.js";
|
|
33
33
|
import {
|
|
34
34
|
appDataDir,
|
|
35
35
|
globalAgentCwd,
|
|
@@ -391,7 +391,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
|
|
|
391
391
|
"- linear_* (when Linear is connected) \u2014 list_teams for team key/states; linear_list_projects for project names; get/search include the project a ticket is on; get/create/update/comment with ENG-123. Worktree agents have the same Account tools \u2014 prefer they comment, update status, and create spin-offs (parent=) on their own ticket when they were asked to do the work. When reviewing a PR or ticket, do not comment or update until the user types a next step \u2014 they should work through the feedback in chat first. Do not tell the child to ask_user after the review. Scope errors: reconnect Linear in Account settings. Prefer these over any Linear MCP the CLI may still list.",
|
|
392
392
|
"- github_* \u2014 get/comment/update/create GitHub issues via Account `gh` (#123). github_list_projects and get/search include GitHub Projects. projectsError or a missing read:project scope \u2192 `gh auth refresh -s read:project`. Worktree agents have these too. Prefer over any vendor GitHub MCP. Pass parent= for spin-offs. When reviewing a PR or ticket, do not comment, submit `gh pr review`, or update the PR/ticket until the user types a next step.",
|
|
393
393
|
"- abletime_* (when AbleTime is connected) \u2014 orientation first; abletime_list_projects lists projects; get/list include the project a task is on; get/comment/update/create (parent= for spin-offs); ensure_task when work has no ticket (or create_workspace from the default branch auto-creates one). Worktree agents have the same Account tools. Same review-write gate as Linear/GitHub.",
|
|
394
|
-
"- Optional connectors (Vercel, Supabase, Sentry) in Settings \u2192 Connectors inject tokens into worktree agent env when connected. Prefer official CLIs (`vercel`, `supabase`, `sentry-cli`). PostHog is the Sideboard tool `posthog_api` (GET by default; POST `/api/projects/:id/query/` or `/api/environments/:id/query/` is a read and does not need write=true; other POST and PATCH need write=true only when the user asked to change data). The PostHog key stays in the vault \u2014 do not read it from the environment. If a
|
|
394
|
+
"- Optional connectors (Vercel, Supabase, Sentry) in Settings \u2192 Connectors inject tokens into worktree agent env when connected. Prefer official CLIs (`vercel`, `supabase`, `sentry-cli`). When Settings \u2192 Connectors has a PostHog personal API key, PostHog is the Sideboard tool `posthog_api` (GET by default; POST `/api/projects/:id/query/` or `/api/environments/:id/query/` is a read and does not need write=true; other POST and PATCH need write=true only when the user asked to change data). The PostHog key stays in the vault \u2014 do not read it from the environment, and do not sign in to a PostHog MCP. When no PostHog API key is set, leave the Claude PostHog connector alone. If a Vercel, Supabase, or Sentry MCP needsAuth or is unauthorized, do not sign in \u2014 use the native CLI. Tell any worktree agent (Claude / Cursor / Codex / OpenCode) to write CLI output to `.context/cli/` and read a slice. If a CLI is missing, the user presses Install CLI on that row. Do not add vendor MCPs. Git (`gh`) stays Settings \u2192 Git; issue tracking stays Settings \u2192 Issues. The phone remote is Settings \u2192 Remote \u2014 do not look up Slack users.",
|
|
395
395
|
"- get_pr_stack / open_pr_stack_layers / add_stack_layer / create_pr_stack \u2014 GitHub stacked PRs (`gh stack`); one worktree per layer",
|
|
396
396
|
"- list_models \u2014 only when you need a specific model (rare); otherwise omit model so Account defaults apply",
|
|
397
397
|
"- list_chats / get_chat \u2014 live thread list (parent id + last message preview). get_chat on this orchestration chat lists child worktree agents (status + lastText). blockedReason is why that agent is waiting on a person. Also includes usage / lastTurnUsage.",
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
formatOptionalServicesDirectiveForTurn,
|
|
8
8
|
formatOptionalServicesReminderForTurn
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XCXUVX7I.js";
|
|
10
10
|
import {
|
|
11
11
|
extractPresentedPlan,
|
|
12
12
|
isPresentPlanToolName,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
parseSessionQuotaResetAt,
|
|
28
28
|
planModeTurnInstruction,
|
|
29
29
|
resolveQuotaFallbackAgent
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ABLHTRRG.js";
|
|
31
31
|
import {
|
|
32
32
|
REVIEW_TAB_TITLE,
|
|
33
33
|
applyWorktreePkgCacheEnv,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
worktreeDevProcessKey,
|
|
67
67
|
worktreeRunProcessKey,
|
|
68
68
|
worktreeSetupProcessKey
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-HWIIRVYE.js";
|
|
70
70
|
import {
|
|
71
71
|
applyAgentEvent,
|
|
72
72
|
clipAgentEventForPaint,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
summarizeTurnStderr,
|
|
94
94
|
toolDescription,
|
|
95
95
|
turnFailChatText
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-ED4ZXQVO.js";
|
|
97
97
|
import {
|
|
98
98
|
SLACK_REPLY_FORMATTING,
|
|
99
99
|
addWorkspace,
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
stageAbsolutePathsAsAttachments,
|
|
119
119
|
stageBuffersAsAttachments,
|
|
120
120
|
syncWorkspacesFromThreads
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-E7G7RY6T.js";
|
|
122
122
|
import {
|
|
123
123
|
addPrStackLayer,
|
|
124
124
|
allocateTeamSlug,
|
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
resolveRepoRoot,
|
|
161
161
|
switchWorktreeBranch,
|
|
162
162
|
withRepoGitLock
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-6SGYGYH7.js";
|
|
164
164
|
import {
|
|
165
165
|
clearStaleIndexLocks,
|
|
166
166
|
enrichPathWithNpmGlobalBin,
|
|
@@ -201,7 +201,7 @@ import {
|
|
|
201
201
|
usageOnLimit,
|
|
202
202
|
withTurnScopedCost,
|
|
203
203
|
writeViewerContext
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-BU6HH5VA.js";
|
|
205
205
|
import {
|
|
206
206
|
writePrivateFile
|
|
207
207
|
} from "./chunk-NSTQ6QKD.js";
|
|
@@ -503,9 +503,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
|
|
|
503
503
|
`Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
|
|
504
504
|
);
|
|
505
505
|
}
|
|
506
|
-
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-
|
|
506
|
+
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-PX4GUVLW.js");
|
|
507
507
|
if (isGlobalThread2(thread)) {
|
|
508
|
-
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-
|
|
508
|
+
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-K6XHUG3N.js");
|
|
509
509
|
ensureGlobalCoordinatorCwd2(
|
|
510
510
|
isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
|
|
511
511
|
);
|
|
@@ -2453,7 +2453,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
2453
2453
|
});
|
|
2454
2454
|
await requireAgent(resolved.agent);
|
|
2455
2455
|
if (input.cowboy) {
|
|
2456
|
-
const { cowboyModeEnabled } = await import("./app-settings-
|
|
2456
|
+
const { cowboyModeEnabled } = await import("./app-settings-2IH42VA5.js");
|
|
2457
2457
|
if (!cowboyModeEnabled()) {
|
|
2458
2458
|
throw new Error(
|
|
2459
2459
|
"Cowboy mode is off. Enable it in Settings \u2192 Advanced."
|
|
@@ -2512,7 +2512,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
2512
2512
|
let sourceIsFork = false;
|
|
2513
2513
|
if (!input.cowboy && sourceType === "branch" && (!sourceRef || sourceRef === "HEAD" || sourceRef === "default")) {
|
|
2514
2514
|
if (isAbleTimeConnected() && getIssueSource() === "abletime") {
|
|
2515
|
-
const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-
|
|
2515
|
+
const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-APP3DZ4P.js");
|
|
2516
2516
|
const task = await ensureAbleTimeTask({
|
|
2517
2517
|
title: title?.trim() || "Untitled work",
|
|
2518
2518
|
description: input.prompt?.trim() || void 0
|
|
@@ -3119,7 +3119,7 @@ async function adoptThread(input) {
|
|
|
3119
3119
|
messages: input.messages ?? []
|
|
3120
3120
|
});
|
|
3121
3121
|
writeThread(thread);
|
|
3122
|
-
const { addWorkspace: addWorkspace2 } = await import("./workspaces-
|
|
3122
|
+
const { addWorkspace: addWorkspace2 } = await import("./workspaces-MFU3IGAP.js");
|
|
3123
3123
|
await addWorkspace2(repoPath);
|
|
3124
3124
|
const { ensureWorktreeSideboardIgnored } = await import("./worktree-exclude-5N2KTYIT.js");
|
|
3125
3125
|
await ensureWorktreeSideboardIgnored(input.worktreePath);
|
|
@@ -5994,7 +5994,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
5994
5994
|
${prompt}`;
|
|
5995
5995
|
}
|
|
5996
5996
|
async function defaultDeps() {
|
|
5997
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
5997
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-VNSEXL62.js");
|
|
5998
5998
|
const orch = getOrchestrator2();
|
|
5999
5999
|
return {
|
|
6000
6000
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -6312,7 +6312,7 @@ var Orchestrator = class {
|
|
|
6312
6312
|
orphans: orphans.map((o) => ({ path: o.path, repoPath: o.repoPath }))
|
|
6313
6313
|
});
|
|
6314
6314
|
}
|
|
6315
|
-
const { autoCleanupOrphansEnabled } = await import("./app-settings-
|
|
6315
|
+
const { autoCleanupOrphansEnabled } = await import("./app-settings-2IH42VA5.js");
|
|
6316
6316
|
if (autoCleanupOrphansEnabled() && shouldRunWorktreeCleanup() && orphans.length > 0) {
|
|
6317
6317
|
await cleanupOrphanWorktrees({ repoPaths });
|
|
6318
6318
|
}
|
|
@@ -6706,7 +6706,7 @@ var Orchestrator = class {
|
|
|
6706
6706
|
}
|
|
6707
6707
|
await setup;
|
|
6708
6708
|
if (skipSetup) return;
|
|
6709
|
-
const { autoRunAfterSetupEnabled } = await import("./app-settings-
|
|
6709
|
+
const { autoRunAfterSetupEnabled } = await import("./app-settings-2IH42VA5.js");
|
|
6710
6710
|
if (autoRunAfterSetupEnabled()) {
|
|
6711
6711
|
try {
|
|
6712
6712
|
await this.startDev(threadId);
|
|
@@ -7097,7 +7097,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
|
|
|
7097
7097
|
}
|
|
7098
7098
|
const isBrightsy = fresh.agent === "brightsy";
|
|
7099
7099
|
const isOrchestration = isOrchestratorThread(fresh);
|
|
7100
|
-
const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-
|
|
7100
|
+
const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-2IH42VA5.js");
|
|
7101
7101
|
const gitAuthMode = getGithubGitAuthMode();
|
|
7102
7102
|
const worktreeDirective = isBrightsy || isOrchestration ? null : formatWorktreeDirective(fresh, {
|
|
7103
7103
|
githubSlug: await withTimeout(
|
|
@@ -8413,7 +8413,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
|
|
|
8413
8413
|
if (Object.keys(patch).length === 0) continue;
|
|
8414
8414
|
updateThread(t.id, patch);
|
|
8415
8415
|
}
|
|
8416
|
-
const { autoArchiveOnMergeEnabled } = await import("./app-settings-
|
|
8416
|
+
const { autoArchiveOnMergeEnabled } = await import("./app-settings-2IH42VA5.js");
|
|
8417
8417
|
const latest = this.requireThread(thread.id);
|
|
8418
8418
|
if (!shouldAutoArchiveOnPrMerge({
|
|
8419
8419
|
previousPrState: prevState || null,
|
|
@@ -8730,7 +8730,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
|
|
|
8730
8730
|
await runArchiveScript(thread.repoPath, thread.worktreePath);
|
|
8731
8731
|
} catch {
|
|
8732
8732
|
}
|
|
8733
|
-
const { deleteBranchOnPurgeEnabled } = await import("./app-settings-
|
|
8733
|
+
const { deleteBranchOnPurgeEnabled } = await import("./app-settings-2IH42VA5.js");
|
|
8734
8734
|
const deleteBranch = opts?.deleteBranch ?? deleteBranchOnPurgeEnabled();
|
|
8735
8735
|
await removeWorktree(thread.repoPath, thread.worktreePath, {
|
|
8736
8736
|
deleteBranch: deleteBranch ? thread.branchName : void 0
|
|
@@ -8866,7 +8866,7 @@ async function startOrchestration(opts) {
|
|
|
8866
8866
|
sourceRef: "default",
|
|
8867
8867
|
...createOpts
|
|
8868
8868
|
}).catch(async () => {
|
|
8869
|
-
const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-
|
|
8869
|
+
const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-2VSHRI72.js");
|
|
8870
8870
|
const repo = await resolveRepoRoot2(repoPath);
|
|
8871
8871
|
const def = await resolveDefaultBranch2(repo);
|
|
8872
8872
|
return orch.createThread({
|
|
@@ -33,14 +33,14 @@ import {
|
|
|
33
33
|
tryReservePort,
|
|
34
34
|
tryReservePorts,
|
|
35
35
|
worktreeRunPortsPath
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-HWIIRVYE.js";
|
|
37
|
+
import "./chunk-ED4ZXQVO.js";
|
|
38
|
+
import "./chunk-E7G7RY6T.js";
|
|
39
|
+
import "./chunk-6SGYGYH7.js";
|
|
40
40
|
import "./chunk-N2WW62LF.js";
|
|
41
41
|
import "./chunk-DD67JWTN.js";
|
|
42
42
|
import "./chunk-2UG25RMK.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-BU6HH5VA.js";
|
|
44
44
|
import "./chunk-NSTQ6QKD.js";
|
|
45
45
|
import {
|
|
46
46
|
stripNestedElectronEnv
|
|
@@ -31,17 +31,17 @@ import {
|
|
|
31
31
|
tryReservePort,
|
|
32
32
|
tryReservePorts,
|
|
33
33
|
worktreeRunPortsPath
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-KCP6IVRI.js";
|
|
35
|
+
import "./chunk-Q3DPZ4DE.js";
|
|
36
|
+
import "./chunk-YEIPPZ5W.js";
|
|
37
|
+
import "./chunk-ZEP6JIRF.js";
|
|
38
38
|
import "./chunk-QB5MDOHL.js";
|
|
39
39
|
import "./chunk-2P4XKWV2.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-HO5R3ZRH.js";
|
|
41
41
|
import "./chunk-6K64FJDD.js";
|
|
42
42
|
import "./chunk-UWQ6UCIB.js";
|
|
43
43
|
import "./chunk-QVN2WOKJ.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-RSATPXU4.js";
|
|
45
45
|
import "./chunk-77WWLBCI.js";
|
|
46
46
|
import {
|
|
47
47
|
stripNestedElectronEnv
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
enrichWorkspacesWithGithub,
|
|
8
8
|
ensureGlobalCoordinatorCwd,
|
|
9
9
|
formatWorkspaceInventory
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-YEIPPZ5W.js";
|
|
11
|
+
import "./chunk-ZEP6JIRF.js";
|
|
12
12
|
import "./chunk-QB5MDOHL.js";
|
|
13
13
|
import "./chunk-2P4XKWV2.js";
|
|
14
14
|
import "./chunk-6K64FJDD.js";
|
|
15
15
|
import "./chunk-UWQ6UCIB.js";
|
|
16
16
|
import "./chunk-QVN2WOKJ.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-RSATPXU4.js";
|
|
18
18
|
import "./chunk-77WWLBCI.js";
|
|
19
19
|
import "./chunk-4TR3HZFT.js";
|
|
20
20
|
import "./chunk-WDRMZKVB.js";
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
enrichWorkspacesWithGithub,
|
|
10
10
|
ensureGlobalCoordinatorCwd,
|
|
11
11
|
formatWorkspaceInventory
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-E7G7RY6T.js";
|
|
13
|
+
import "./chunk-6SGYGYH7.js";
|
|
14
14
|
import "./chunk-N2WW62LF.js";
|
|
15
15
|
import "./chunk-DD67JWTN.js";
|
|
16
16
|
import "./chunk-2UG25RMK.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-BU6HH5VA.js";
|
|
18
18
|
import "./chunk-NSTQ6QKD.js";
|
|
19
19
|
import "./chunk-WWUABK6B.js";
|
|
20
20
|
import "./chunk-FJZWM2ON.js";
|