@sideboard-ai/core 0.1.293 → 0.1.294
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-WT72O5A3.js → agents-2PDBDZPS.js} +5 -5
- package/dist/{agents-SITR5V6F.js → agents-73JXQXF2.js} +5 -5
- 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-NXXQFLNQ.js → chunk-B42H6GJR.js} +2 -2
- package/dist/{chunk-WRDKJRWF.js → chunk-BJUHZSZQ.js} +4 -4
- package/dist/{chunk-MVZO7QZ2.js → chunk-BU6HH5VA.js} +4 -0
- package/dist/{chunk-LSHGJI4S.js → chunk-BYAFYLLZ.js} +19 -19
- package/dist/{chunk-IP5WSADC.js → chunk-CECZUHA5.js} +18 -18
- package/dist/{chunk-PO3PDNMV.js → chunk-E7G7RY6T.js} +3 -3
- package/dist/{chunk-NFPWLDCH.js → chunk-FAXOEKQR.js} +5 -5
- package/dist/{chunk-GU6DT6NO.js → chunk-HSF2RQSQ.js} +5 -5
- package/dist/{chunk-OH4EN323.js → chunk-ISEYRGMP.js} +2 -2
- package/dist/{chunk-XZW3BXZW.js → chunk-JEYJGQ33.js} +17 -11
- package/dist/{chunk-MYJYINTS.js → chunk-LZVWKJXY.js} +3 -3
- package/dist/{chunk-Y67TBJD5.js → chunk-MOP5L5QZ.js} +3 -3
- 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-AHH5USEA.js → chunk-SSETL5EX.js} +2 -2
- package/dist/{chunk-RPCKGO3J.js → chunk-SVQTKVXH.js} +16 -11
- package/dist/{chunk-W2KZTDET.js → chunk-WZCPZVUC.js} +2 -2
- package/dist/{chunk-4BXRRHDC.js → chunk-XCXUVX7I.js} +12 -3
- package/dist/{chunk-ZRQWV3MS.js → chunk-YEIPPZ5W.js} +3 -3
- package/dist/{chunk-4YXXLWDI.js → chunk-YKO6HG74.js} +4 -4
- package/dist/{chunk-2VGLZIU6.js → chunk-ZEP6JIRF.js} +1 -1
- package/dist/{conductor-P7XPGYF4.js → conductor-7DEMFEIO.js} +4 -4
- package/dist/{conductor-MAYZSFL6.js → conductor-ZQZTYXSX.js} +4 -4
- 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 +33 -11
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +22 -17
- package/dist/mcp/run-stdio.cjs +29 -11
- package/dist/mcp/run-stdio.js +15 -13
- 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-4QVF6CE2.js → orchestrator-LIEGSQ6M.js} +8 -8
- package/dist/{orchestrator-BOGVTCWI.js → orchestrator-YNEEEP6O.js} +8 -8
- 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
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
toAbleTimeIssueInfo,
|
|
19
19
|
updateAbleTimeTask,
|
|
20
20
|
verifyAbleTimeConnection
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-MOP5L5QZ.js";
|
|
22
|
+
import "./chunk-SSETL5EX.js";
|
|
23
|
+
import "./chunk-HSF2RQSQ.js";
|
|
24
24
|
import "./chunk-2GPQZZLY.js";
|
|
25
25
|
import "./chunk-N2WW62LF.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-BU6HH5VA.js";
|
|
27
27
|
import "./chunk-NSTQ6QKD.js";
|
|
28
28
|
import "./chunk-WWUABK6B.js";
|
|
29
29
|
import "./chunk-FJZWM2ON.js";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
toAbleTimeIssueInfo,
|
|
17
17
|
updateAbleTimeTask,
|
|
18
18
|
verifyAbleTimeConnection
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-LZVWKJXY.js";
|
|
20
|
+
import "./chunk-R3R3ZDFC.js";
|
|
21
|
+
import "./chunk-FAXOEKQR.js";
|
|
22
22
|
import "./chunk-JAT3JFOS.js";
|
|
23
23
|
import "./chunk-6K64FJDD.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-RSATPXU4.js";
|
|
25
25
|
import "./chunk-77WWLBCI.js";
|
|
26
26
|
import "./chunk-4TR3HZFT.js";
|
|
27
27
|
import "./chunk-WDRMZKVB.js";
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
parseAbleTimeOAuthCallbackUrl,
|
|
21
21
|
resolveAbleTimeOAuthHost,
|
|
22
22
|
startAbleTimeOAuth
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-3D3GGL6X.js";
|
|
24
|
+
import "./chunk-FAXOEKQR.js";
|
|
25
25
|
import "./chunk-JAT3JFOS.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-RSATPXU4.js";
|
|
27
27
|
import "./chunk-77WWLBCI.js";
|
|
28
28
|
import "./chunk-4TR3HZFT.js";
|
|
29
29
|
import "./chunk-WDRMZKVB.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
DEFAULT_ABLETIME_HOST,
|
|
5
5
|
normalizeAbleTimeHost
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HSF2RQSQ.js";
|
|
7
7
|
import {
|
|
8
8
|
httpFetch
|
|
9
9
|
} from "./chunk-2GPQZZLY.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
getAbleTimeHost,
|
|
13
13
|
loadAppSettings,
|
|
14
14
|
saveAbleTimeConnection
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BU6HH5VA.js";
|
|
16
16
|
import "./chunk-NSTQ6QKD.js";
|
|
17
17
|
import "./chunk-WWUABK6B.js";
|
|
18
18
|
import "./chunk-FJZWM2ON.js";
|
|
@@ -288,7 +288,7 @@ async function startAbleTimeOAuth(opts) {
|
|
|
288
288
|
persistAbleTimeTokens(data, { host });
|
|
289
289
|
const token = data.access_token.trim();
|
|
290
290
|
try {
|
|
291
|
-
const { getAbleTimeOrientation } = await import("./abletime-
|
|
291
|
+
const { getAbleTimeOrientation } = await import("./abletime-APP3DZ4P.js");
|
|
292
292
|
const orientation = await getAbleTimeOrientation({ token, host });
|
|
293
293
|
return saveAbleTimeConnection({
|
|
294
294
|
accessToken: token,
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
callAbleTimeRestTool,
|
|
8
8
|
looksLikeAbleTimeUlid,
|
|
9
9
|
textFromAbleTimeDoc
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-SSETL5EX.js";
|
|
11
|
+
import "./chunk-HSF2RQSQ.js";
|
|
12
12
|
import "./chunk-2GPQZZLY.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-BU6HH5VA.js";
|
|
14
14
|
import "./chunk-NSTQ6QKD.js";
|
|
15
15
|
import "./chunk-WWUABK6B.js";
|
|
16
16
|
import "./chunk-FJZWM2ON.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
callAbleTimeRestTool,
|
|
6
6
|
looksLikeAbleTimeUlid,
|
|
7
7
|
textFromAbleTimeDoc
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-R3R3ZDFC.js";
|
|
9
|
+
import "./chunk-FAXOEKQR.js";
|
|
10
10
|
import "./chunk-JAT3JFOS.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-RSATPXU4.js";
|
|
12
12
|
import "./chunk-77WWLBCI.js";
|
|
13
13
|
import "./chunk-4TR3HZFT.js";
|
|
14
14
|
import "./chunk-WDRMZKVB.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
resolveCursorSdkRoot,
|
|
47
47
|
resolveQuotaFallbackAgent,
|
|
48
48
|
turnCostUsdFromCursorUsage
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-SVQTKVXH.js";
|
|
50
50
|
import {
|
|
51
51
|
getAgentSetupInfo,
|
|
52
52
|
installAgent,
|
|
@@ -58,13 +58,13 @@ import {
|
|
|
58
58
|
prepareTerminalCommand,
|
|
59
59
|
resolveLoginCommand,
|
|
60
60
|
whichOnPath
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-WZCPZVUC.js";
|
|
62
62
|
import "./chunk-7IAMHN2N.js";
|
|
63
63
|
import "./chunk-PXMLMBMI.js";
|
|
64
64
|
import "./chunk-2GPQZZLY.js";
|
|
65
65
|
import "./chunk-AFLNFGGB.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-E7G7RY6T.js";
|
|
67
|
+
import "./chunk-6SGYGYH7.js";
|
|
68
68
|
import "./chunk-N2WW62LF.js";
|
|
69
69
|
import "./chunk-DD67JWTN.js";
|
|
70
70
|
import {
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
assertOrchestratorCapableAgent,
|
|
84
84
|
coerceOrchestratorAgent,
|
|
85
85
|
isOrchestratorCapableAgent
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-BU6HH5VA.js";
|
|
87
87
|
import "./chunk-NSTQ6QKD.js";
|
|
88
88
|
import "./chunk-WWUABK6B.js";
|
|
89
89
|
import "./chunk-FJZWM2ON.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
planModeTurnInstruction,
|
|
38
38
|
resolveCursorModelId,
|
|
39
39
|
resolveQuotaFallbackAgent
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-JEYJGQ33.js";
|
|
41
41
|
import "./chunk-VGNLMGBK.js";
|
|
42
42
|
import "./chunk-YSLCWCMJ.js";
|
|
43
43
|
import {
|
|
@@ -51,9 +51,9 @@ import {
|
|
|
51
51
|
prepareTerminalCommand,
|
|
52
52
|
resolveLoginCommand,
|
|
53
53
|
whichOnPath
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
54
|
+
} from "./chunk-B42H6GJR.js";
|
|
55
|
+
import "./chunk-YEIPPZ5W.js";
|
|
56
|
+
import "./chunk-ZEP6JIRF.js";
|
|
57
57
|
import "./chunk-QB5MDOHL.js";
|
|
58
58
|
import "./chunk-2P4XKWV2.js";
|
|
59
59
|
import "./chunk-33KDPEK4.js";
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
assertOrchestratorCapableAgent,
|
|
88
88
|
coerceOrchestratorAgent,
|
|
89
89
|
isOrchestratorCapableAgent
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-RSATPXU4.js";
|
|
91
91
|
import "./chunk-77WWLBCI.js";
|
|
92
92
|
import "./chunk-4TR3HZFT.js";
|
|
93
93
|
import "./chunk-WDRMZKVB.js";
|
|
@@ -64,6 +64,7 @@ import {
|
|
|
64
64
|
isChatTextScale,
|
|
65
65
|
isIssueSourceConnected,
|
|
66
66
|
isLinearConnected,
|
|
67
|
+
isPosthogConnected,
|
|
67
68
|
isUsageOnLimit,
|
|
68
69
|
issueSourceLabel,
|
|
69
70
|
loadAppSettings,
|
|
@@ -107,7 +108,7 @@ import {
|
|
|
107
108
|
updateProjectProfileSettings,
|
|
108
109
|
usageOnLimit,
|
|
109
110
|
writeViewerContext
|
|
110
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-BU6HH5VA.js";
|
|
111
112
|
import "./chunk-NSTQ6QKD.js";
|
|
112
113
|
import "./chunk-WWUABK6B.js";
|
|
113
114
|
import "./chunk-FJZWM2ON.js";
|
|
@@ -178,6 +179,7 @@ export {
|
|
|
178
179
|
isChatTextScale,
|
|
179
180
|
isIssueSourceConnected,
|
|
180
181
|
isLinearConnected,
|
|
182
|
+
isPosthogConnected,
|
|
181
183
|
isUsageOnLimit,
|
|
182
184
|
issueSourceLabel,
|
|
183
185
|
loadAppSettings,
|
|
@@ -62,6 +62,7 @@ import {
|
|
|
62
62
|
isChatTextScale,
|
|
63
63
|
isIssueSourceConnected,
|
|
64
64
|
isLinearConnected,
|
|
65
|
+
isPosthogConnected,
|
|
65
66
|
isUsageOnLimit,
|
|
66
67
|
issueSourceLabel,
|
|
67
68
|
loadAppSettings,
|
|
@@ -105,7 +106,7 @@ import {
|
|
|
105
106
|
updateProjectProfileSettings,
|
|
106
107
|
usageOnLimit,
|
|
107
108
|
writeViewerContext
|
|
108
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-RSATPXU4.js";
|
|
109
110
|
import "./chunk-77WWLBCI.js";
|
|
110
111
|
import "./chunk-4TR3HZFT.js";
|
|
111
112
|
import "./chunk-WDRMZKVB.js";
|
|
@@ -176,6 +177,7 @@ export {
|
|
|
176
177
|
isChatTextScale,
|
|
177
178
|
isIssueSourceConnected,
|
|
178
179
|
isLinearConnected,
|
|
180
|
+
isPosthogConnected,
|
|
179
181
|
isUsageOnLimit,
|
|
180
182
|
issueSourceLabel,
|
|
181
183
|
loadAppSettings,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_ABLETIME_HOST,
|
|
3
3
|
normalizeAbleTimeHost
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FAXOEKQR.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-RSATPXU4.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-RYDAQ3FE.js");
|
|
284
284
|
const orientation = await getAbleTimeOrientation({ token, host });
|
|
285
285
|
return saveAbleTimeConnection({
|
|
286
286
|
accessToken: token,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-QVN2WOKJ.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveAgentExecutable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RSATPXU4.js";
|
|
11
11
|
|
|
12
12
|
// src/agents/install.ts
|
|
13
13
|
import { existsSync } from "fs";
|
|
@@ -265,7 +265,7 @@ async function loginAgent(agent) {
|
|
|
265
265
|
};
|
|
266
266
|
}
|
|
267
267
|
async function loginManagedAccount(accountId) {
|
|
268
|
-
const { loadAppSettings } = await import("./app-settings-
|
|
268
|
+
const { loadAppSettings } = await import("./app-settings-3OQWRKOK.js");
|
|
269
269
|
const { loginEnvPrefix } = await import("./managed-accounts-2AK5RIAF.js");
|
|
270
270
|
const account = loadAppSettings().accounts.accounts.find((a) => a.id === accountId);
|
|
271
271
|
if (!account) {
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
isGlobalThread,
|
|
12
12
|
isOrchestratorThread,
|
|
13
13
|
isSlackCoordinatorThread
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-E7G7RY6T.js";
|
|
15
15
|
import {
|
|
16
16
|
mergeAgentGitAuthEnv,
|
|
17
17
|
resolveAgentGitAuthEnv
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6SGYGYH7.js";
|
|
19
19
|
import {
|
|
20
20
|
ATTACHMENTS_DIR,
|
|
21
21
|
DETACHED_JOBS_DIR,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
assertOrchestratorCapableAgent,
|
|
34
34
|
contextTokens
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-BU6HH5VA.js";
|
|
36
36
|
import {
|
|
37
37
|
stripNestedElectronEnv
|
|
38
38
|
} from "./chunk-WWUABK6B.js";
|
|
@@ -1674,7 +1674,7 @@ var PORT_RANGE_SIZE = 10;
|
|
|
1674
1674
|
var RECLAIM_RETRY_DELAY_MS = 40;
|
|
1675
1675
|
var RECLAIM_TRIES = 8;
|
|
1676
1676
|
async function killReclaimable(ports, worktreePath, signal) {
|
|
1677
|
-
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-
|
|
1677
|
+
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-7DEMFEIO.js");
|
|
1678
1678
|
if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
|
|
1679
1679
|
else killListenersOnPorts2(ports);
|
|
1680
1680
|
}
|
|
@@ -1880,6 +1880,9 @@ function disconnectLinearConnection() {
|
|
|
1880
1880
|
delete integrations.linearOrganizationName;
|
|
1881
1881
|
return saveAppSettings({ ...current, integrations });
|
|
1882
1882
|
}
|
|
1883
|
+
function isPosthogConnected(settings = loadAppSettings()) {
|
|
1884
|
+
return Boolean(settings.integrations.posthogPersonalApiKey?.trim());
|
|
1885
|
+
}
|
|
1883
1886
|
function isAbleTimeConnected(settings = loadAppSettings()) {
|
|
1884
1887
|
return Boolean(
|
|
1885
1888
|
settings.integrations.abletimeAccessToken?.trim() || settings.integrations.abletimeRefreshToken?.trim()
|
|
@@ -2320,6 +2323,7 @@ export {
|
|
|
2320
2323
|
isLinearConnected,
|
|
2321
2324
|
saveLinearOAuth,
|
|
2322
2325
|
disconnectLinearConnection,
|
|
2326
|
+
isPosthogConnected,
|
|
2323
2327
|
isAbleTimeConnected,
|
|
2324
2328
|
getAbleTimeAccessToken,
|
|
2325
2329
|
getAbleTimeHost,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
parseSessionQuotaResetAt,
|
|
15
15
|
planModeTurnInstruction,
|
|
16
16
|
resolveQuotaFallbackAgent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JEYJGQ33.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-YKO6HG74.js";
|
|
57
57
|
import {
|
|
58
58
|
applyAgentEvent,
|
|
59
59
|
clipAgentEventForPaint,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
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,
|
|
@@ -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-73JXQXF2.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-YNEEEP6O.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({
|
|
@@ -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-SVQTKVXH.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-BJUHZSZQ.js";
|
|
70
70
|
import {
|
|
71
71
|
applyAgentEvent,
|
|
72
72
|
clipAgentEventForPaint,
|
|
@@ -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-LIEGSQ6M.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({
|