@sideboard-ai/core 0.1.341 → 0.1.342
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-MK4T5FZY.js → abletime-MSIMJKKQ.js} +4 -4
- package/dist/{abletime-AYYRRDT2.js → abletime-ZIYFR4SI.js} +4 -4
- package/dist/{abletime-oauth-NB34M4X4.js → abletime-oauth-2RUKRZYZ.js} +3 -3
- package/dist/{abletime-oauth-7TOEFRWH.js → abletime-oauth-IQZ3LOB2.js} +3 -3
- package/dist/{abletime-rest-IF7IMJGU.js → abletime-rest-7YAO5B74.js} +3 -3
- package/dist/{abletime-rest-7M3QXAXY.js → abletime-rest-UBLSGMSA.js} +3 -3
- package/dist/{agents-4WL4U5WD.js → agents-7DCNOMFP.js} +7 -7
- package/dist/{agents-FH5NVVCJ.js → agents-LNZ465IM.js} +7 -7
- package/dist/{app-settings-377375BJ.js → app-settings-FS7TM55D.js} +9 -1
- package/dist/{app-settings-YTOPIRDH.js → app-settings-Q2F57NVK.js} +9 -1
- package/dist/{chunk-MGV6JFDY.js → chunk-2BLJ726H.js} +4 -3
- package/dist/{chunk-3HJ2USRA.js → chunk-3DMRQB4Y.js} +1 -1
- package/dist/{chunk-I5C42O2M.js → chunk-3J3XOIHF.js} +3 -3
- package/dist/{chunk-2IA556KV.js → chunk-4HELMBYR.js} +2 -2
- package/dist/{chunk-5MHENWO5.js → chunk-4PXHJA5K.js} +2 -2
- package/dist/{chunk-TZFYBQAD.js → chunk-4TTTEKNV.js} +2 -2
- package/dist/{chunk-K355SYYX.js → chunk-5BFEHSHO.js} +4 -3
- package/dist/{chunk-COFHTNQU.js → chunk-5HUR77ZH.js} +22 -22
- package/dist/{chunk-CN7GSNEL.js → chunk-5SJGR3VS.js} +1 -1
- package/dist/{chunk-WSW27W5R.js → chunk-5TS3KVGI.js} +1 -1
- package/dist/{chunk-43BOPWFV.js → chunk-6RO2AOE5.js} +2 -2
- package/dist/{chunk-QULOUTDQ.js → chunk-A4ZI7SA3.js} +3 -3
- package/dist/{chunk-NF3KRZXV.js → chunk-D7US5R4H.js} +1 -1
- package/dist/{chunk-4RIKHUKB.js → chunk-DEQLDEYR.js} +5 -5
- package/dist/{chunk-PHLFFV2M.js → chunk-DZF25KTX.js} +23 -23
- package/dist/{chunk-HZRYQ27Z.js → chunk-G3UV3GXJ.js} +2 -2
- package/dist/{chunk-IY4YNHYD.js → chunk-GUIJMZQG.js} +1 -1
- package/dist/{chunk-O6UAW76V.js → chunk-JHT3CYLT.js} +1 -1
- package/dist/{chunk-SLTWZRBN.js → chunk-JX3OWNOT.js} +1 -1
- package/dist/{chunk-5VXE4ZI4.js → chunk-LDJT3TLN.js} +7 -7
- package/dist/{chunk-FVX7JWFW.js → chunk-LHU6ZBFB.js} +2 -2
- package/dist/{chunk-ZS7AY6DS.js → chunk-NDBMDHQ5.js} +5 -5
- package/dist/{chunk-DF3S5X3H.js → chunk-NGIGRAZB.js} +5 -5
- package/dist/{chunk-47UDPUVZ.js → chunk-O2IRQAFB.js} +3 -3
- package/dist/{chunk-QBUX2EDG.js → chunk-RTZO2YJC.js} +2 -2
- package/dist/{chunk-CMYGUGGZ.js → chunk-S3DTEGMK.js} +8 -8
- package/dist/{chunk-DF34F3QR.js → chunk-S3UGLMGE.js} +21 -0
- package/dist/{chunk-4BUTF5LN.js → chunk-SLLTEMIL.js} +2 -2
- package/dist/{chunk-RZUZU5KD.js → chunk-TKEYXNXY.js} +21 -0
- package/dist/{chunk-HNIEEKKR.js → chunk-WO7VF4FG.js} +5 -5
- package/dist/{conductor-RGVRIOTZ.js → conductor-4SWJM5FS.js} +5 -5
- package/dist/{conductor-QZKG7YPO.js → conductor-Q433HU77.js} +5 -5
- package/dist/{coordinator-prompt-CDVIFBYS.js → coordinator-prompt-5QHWCO7V.js} +4 -4
- package/dist/{coordinator-prompt-66UHVADL.js → coordinator-prompt-Z7PPP45X.js} +4 -4
- package/dist/{global-workspace-KMQSUF2G.js → global-workspace-DL4K4K7O.js} +4 -4
- package/dist/{global-workspace-FNDRAJLF.js → global-workspace-VDCZMFCZ.js} +4 -4
- package/dist/index.cjs +53 -6
- package/dist/index.d.cts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +49 -26
- package/dist/{linear-ZJQM5IGJ.js → linear-JE4WAZ3W.js} +2 -2
- package/dist/{linear-6DM4FJWT.js → linear-UXMDJAD4.js} +2 -2
- package/dist/{linear-list-POPBU2VC.js → linear-list-I4NAOWPN.js} +1 -1
- package/dist/{linear-list-4EPKZTYE.js → linear-list-KDLU7QWX.js} +1 -1
- package/dist/mcp/run-stdio.cjs +45 -6
- package/dist/mcp/run-stdio.js +39 -22
- package/dist/{optional-cli-3G2274LT.js → optional-cli-7QXXPEN6.js} +3 -3
- package/dist/{optional-cli-CZF2ZFU5.js → optional-cli-RUUCLNSM.js} +4 -4
- package/dist/{orchestrator-BKCQUMLB.js → orchestrator-BPCM4OP3.js} +10 -10
- package/dist/{orchestrator-SCFWTIE7.js → orchestrator-HIWWPWL5.js} +10 -10
- package/dist/{thread-store-OARQT6DL.js → thread-store-HETUMDVA.js} +2 -2
- package/dist/{thread-store-W2SSO6IQ.js → thread-store-ILM2ZJCB.js} +2 -2
- package/dist/{workspaces-6GB56LMJ.js → workspaces-EIIHHH4S.js} +4 -4
- package/dist/{workspaces-EWWLVSZ5.js → workspaces-MX4W4SSB.js} +4 -4
- package/dist/{worktree-BRKMPZMJ.js → worktree-BD3EJE24.js} +3 -3
- package/dist/{worktree-OB5ABI22.js → worktree-QBVLKACU.js} +3 -3
- package/package.json +1 -1
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
toAbleTimeIssueInfo,
|
|
20
20
|
updateAbleTimeTask,
|
|
21
21
|
verifyAbleTimeConnection
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-3J3XOIHF.js";
|
|
23
|
+
import "./chunk-LHU6ZBFB.js";
|
|
24
|
+
import "./chunk-NDBMDHQ5.js";
|
|
25
25
|
import "./chunk-F6GE7V3Q.js";
|
|
26
26
|
import "./chunk-N2WW62LF.js";
|
|
27
27
|
import "./chunk-2GPQZZLY.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-S3UGLMGE.js";
|
|
29
29
|
import "./chunk-NSTQ6QKD.js";
|
|
30
30
|
import "./chunk-WWUABK6B.js";
|
|
31
31
|
import "./chunk-FJZWM2ON.js";
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
toAbleTimeIssueInfo,
|
|
18
18
|
updateAbleTimeTask,
|
|
19
19
|
verifyAbleTimeConnection
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-A4ZI7SA3.js";
|
|
21
21
|
import "./chunk-DBKHL7NC.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-4HELMBYR.js";
|
|
23
|
+
import "./chunk-WO7VF4FG.js";
|
|
24
24
|
import "./chunk-JAT3JFOS.js";
|
|
25
25
|
import "./chunk-6K64FJDD.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-TKEYXNXY.js";
|
|
27
27
|
import "./chunk-4TR3HZFT.js";
|
|
28
28
|
import "./chunk-WDRMZKVB.js";
|
|
29
29
|
import "./chunk-KI45T4DI.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
DEFAULT_ABLETIME_HOST,
|
|
5
5
|
normalizeAbleTimeHost
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NDBMDHQ5.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-S3UGLMGE.js";
|
|
16
16
|
import "./chunk-NSTQ6QKD.js";
|
|
17
17
|
import "./chunk-WWUABK6B.js";
|
|
18
18
|
import "./chunk-FJZWM2ON.js";
|
|
@@ -287,7 +287,7 @@ async function startAbleTimeOAuth(opts) {
|
|
|
287
287
|
persistAbleTimeTokens(data, { host });
|
|
288
288
|
const token = data.access_token.trim();
|
|
289
289
|
try {
|
|
290
|
-
const { getAbleTimeOrientation } = await import("./abletime-
|
|
290
|
+
const { getAbleTimeOrientation } = await import("./abletime-MSIMJKKQ.js");
|
|
291
291
|
const orientation = await getAbleTimeOrientation({ token, host });
|
|
292
292
|
return saveAbleTimeConnection({
|
|
293
293
|
accessToken: token,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
parseAbleTimeOAuthCallbackUrl,
|
|
21
21
|
resolveAbleTimeOAuthHost,
|
|
22
22
|
startAbleTimeOAuth
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-O2IRQAFB.js";
|
|
24
|
+
import "./chunk-WO7VF4FG.js";
|
|
25
25
|
import "./chunk-JAT3JFOS.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-TKEYXNXY.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-4HELMBYR.js";
|
|
9
|
+
import "./chunk-WO7VF4FG.js";
|
|
10
10
|
import "./chunk-JAT3JFOS.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-TKEYXNXY.js";
|
|
12
12
|
import "./chunk-4TR3HZFT.js";
|
|
13
13
|
import "./chunk-WDRMZKVB.js";
|
|
14
14
|
import "./chunk-KI45T4DI.js";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
callAbleTimeRestTool,
|
|
8
8
|
looksLikeAbleTimeUlid,
|
|
9
9
|
textFromAbleTimeDoc
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-LHU6ZBFB.js";
|
|
11
|
+
import "./chunk-NDBMDHQ5.js";
|
|
12
12
|
import "./chunk-2GPQZZLY.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-S3UGLMGE.js";
|
|
14
14
|
import "./chunk-NSTQ6QKD.js";
|
|
15
15
|
import "./chunk-WWUABK6B.js";
|
|
16
16
|
import "./chunk-FJZWM2ON.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
planModeTurnInstruction,
|
|
38
38
|
resolveCursorModelId,
|
|
39
39
|
resolveQuotaFallbackAgent
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-LDJT3TLN.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-6RO2AOE5.js";
|
|
53
53
|
import "./chunk-XOEKCE6L.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-D7US5R4H.js";
|
|
55
55
|
import "./chunk-BIM24I3O.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-2BLJ726H.js";
|
|
57
|
+
import "./chunk-G3UV3GXJ.js";
|
|
58
|
+
import "./chunk-JX3OWNOT.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-TKEYXNXY.js";
|
|
93
93
|
import "./chunk-4TR3HZFT.js";
|
|
94
94
|
import "./chunk-WDRMZKVB.js";
|
|
95
95
|
import "./chunk-KI45T4DI.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
resolveCursorSdkRoot,
|
|
47
47
|
resolveQuotaFallbackAgent,
|
|
48
48
|
turnCostUsdFromCursorUsage
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-S3DTEGMK.js";
|
|
50
50
|
import "./chunk-ORO4ENZR.js";
|
|
51
51
|
import {
|
|
52
52
|
getAgentSetupInfo,
|
|
@@ -59,14 +59,14 @@ import {
|
|
|
59
59
|
prepareTerminalCommand,
|
|
60
60
|
resolveLoginCommand,
|
|
61
61
|
whichOnPath
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-4PXHJA5K.js";
|
|
63
|
+
import "./chunk-5BFEHSHO.js";
|
|
64
|
+
import "./chunk-RTZO2YJC.js";
|
|
65
65
|
import "./chunk-I6RGRUNY.js";
|
|
66
66
|
import "./chunk-E63AM3PW.js";
|
|
67
67
|
import "./chunk-N2WW62LF.js";
|
|
68
68
|
import "./chunk-2GPQZZLY.js";
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-3DMRQB4Y.js";
|
|
70
70
|
import "./chunk-GK7H3SY7.js";
|
|
71
71
|
import {
|
|
72
72
|
conductorBundledBinDir,
|
|
@@ -79,14 +79,14 @@ import {
|
|
|
79
79
|
resolveCommandBinarySync,
|
|
80
80
|
withExportedPath
|
|
81
81
|
} from "./chunk-TL2HK6LZ.js";
|
|
82
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-JHT3CYLT.js";
|
|
83
83
|
import "./chunk-WMZIANPV.js";
|
|
84
84
|
import {
|
|
85
85
|
ORCHESTRATOR_AGENT_KINDS,
|
|
86
86
|
assertOrchestratorCapableAgent,
|
|
87
87
|
coerceOrchestratorAgent,
|
|
88
88
|
isOrchestratorCapableAgent
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-S3UGLMGE.js";
|
|
90
90
|
import "./chunk-NSTQ6QKD.js";
|
|
91
91
|
import "./chunk-WWUABK6B.js";
|
|
92
92
|
import "./chunk-FJZWM2ON.js";
|
|
@@ -6,6 +6,9 @@ import {
|
|
|
6
6
|
GITHUB_GIT_AUTH_MODES,
|
|
7
7
|
HARNESS_ENV_KEYS,
|
|
8
8
|
ISSUE_SOURCE_LABELS,
|
|
9
|
+
MAX_ORCH_THREADS_DEFAULT,
|
|
10
|
+
MAX_ORCH_THREADS_MAX,
|
|
11
|
+
MAX_ORCH_THREADS_MIN,
|
|
9
12
|
PROFILE_NOTES_MAX,
|
|
10
13
|
REVIEW_LABEL_MAX,
|
|
11
14
|
USAGE_ON_LIMIT_VALUES,
|
|
@@ -68,6 +71,7 @@ import {
|
|
|
68
71
|
issueSourceLabel,
|
|
69
72
|
loadAppSettings,
|
|
70
73
|
maxConcurrentAgents,
|
|
74
|
+
maxOrchThreads,
|
|
71
75
|
normalizeReviewLabel,
|
|
72
76
|
orchestrationQuotaFallbackAgent,
|
|
73
77
|
orchestrationQuotaOnLimit,
|
|
@@ -108,7 +112,7 @@ import {
|
|
|
108
112
|
usageOnLimit,
|
|
109
113
|
wakeOrchestratorOnGithubEdgesEnabled,
|
|
110
114
|
writeViewerContext
|
|
111
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-TKEYXNXY.js";
|
|
112
116
|
import "./chunk-4TR3HZFT.js";
|
|
113
117
|
import "./chunk-WDRMZKVB.js";
|
|
114
118
|
import "./chunk-KI45T4DI.js";
|
|
@@ -122,6 +126,9 @@ export {
|
|
|
122
126
|
GITHUB_GIT_AUTH_MODES,
|
|
123
127
|
HARNESS_ENV_KEYS,
|
|
124
128
|
ISSUE_SOURCE_LABELS,
|
|
129
|
+
MAX_ORCH_THREADS_DEFAULT,
|
|
130
|
+
MAX_ORCH_THREADS_MAX,
|
|
131
|
+
MAX_ORCH_THREADS_MIN,
|
|
125
132
|
PROFILE_NOTES_MAX,
|
|
126
133
|
REVIEW_LABEL_MAX,
|
|
127
134
|
USAGE_ON_LIMIT_VALUES,
|
|
@@ -184,6 +191,7 @@ export {
|
|
|
184
191
|
issueSourceLabel,
|
|
185
192
|
loadAppSettings,
|
|
186
193
|
maxConcurrentAgents,
|
|
194
|
+
maxOrchThreads,
|
|
187
195
|
normalizeReviewLabel,
|
|
188
196
|
orchestrationQuotaFallbackAgent,
|
|
189
197
|
orchestrationQuotaOnLimit,
|
|
@@ -8,6 +8,9 @@ import {
|
|
|
8
8
|
GITHUB_GIT_AUTH_MODES,
|
|
9
9
|
HARNESS_ENV_KEYS,
|
|
10
10
|
ISSUE_SOURCE_LABELS,
|
|
11
|
+
MAX_ORCH_THREADS_DEFAULT,
|
|
12
|
+
MAX_ORCH_THREADS_MAX,
|
|
13
|
+
MAX_ORCH_THREADS_MIN,
|
|
11
14
|
PROFILE_NOTES_MAX,
|
|
12
15
|
REVIEW_LABEL_MAX,
|
|
13
16
|
USAGE_ON_LIMIT_VALUES,
|
|
@@ -70,6 +73,7 @@ import {
|
|
|
70
73
|
issueSourceLabel,
|
|
71
74
|
loadAppSettings,
|
|
72
75
|
maxConcurrentAgents,
|
|
76
|
+
maxOrchThreads,
|
|
73
77
|
normalizeReviewLabel,
|
|
74
78
|
orchestrationQuotaFallbackAgent,
|
|
75
79
|
orchestrationQuotaOnLimit,
|
|
@@ -110,7 +114,7 @@ import {
|
|
|
110
114
|
usageOnLimit,
|
|
111
115
|
wakeOrchestratorOnGithubEdgesEnabled,
|
|
112
116
|
writeViewerContext
|
|
113
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-S3UGLMGE.js";
|
|
114
118
|
import "./chunk-NSTQ6QKD.js";
|
|
115
119
|
import "./chunk-WWUABK6B.js";
|
|
116
120
|
import "./chunk-FJZWM2ON.js";
|
|
@@ -124,6 +128,9 @@ export {
|
|
|
124
128
|
GITHUB_GIT_AUTH_MODES,
|
|
125
129
|
HARNESS_ENV_KEYS,
|
|
126
130
|
ISSUE_SOURCE_LABELS,
|
|
131
|
+
MAX_ORCH_THREADS_DEFAULT,
|
|
132
|
+
MAX_ORCH_THREADS_MAX,
|
|
133
|
+
MAX_ORCH_THREADS_MIN,
|
|
127
134
|
PROFILE_NOTES_MAX,
|
|
128
135
|
REVIEW_LABEL_MAX,
|
|
129
136
|
USAGE_ON_LIMIT_VALUES,
|
|
@@ -186,6 +193,7 @@ export {
|
|
|
186
193
|
issueSourceLabel,
|
|
187
194
|
loadAppSettings,
|
|
188
195
|
maxConcurrentAgents,
|
|
196
|
+
maxOrchThreads,
|
|
189
197
|
normalizeReviewLabel,
|
|
190
198
|
orchestrationQuotaFallbackAgent,
|
|
191
199
|
orchestrationQuotaOnLimit,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
resolveGithubRepoSlug,
|
|
6
6
|
resolveOriginRemote,
|
|
7
7
|
resolveRepoRoot
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-G3UV3GXJ.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-JX3OWNOT.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-TKEYXNXY.js";
|
|
35
35
|
import {
|
|
36
36
|
appDataDir,
|
|
37
37
|
globalAgentCwd,
|
|
@@ -407,6 +407,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
|
|
|
407
407
|
"- add_project / remove_project \u2014 register or unregister a git repo",
|
|
408
408
|
"Workspaces and chats:",
|
|
409
409
|
'- create_workspace \u2014 create a workspace (isolated checkout + first chat) from branch | pr | ticket (appears on Home). A ticket, PR, or named branch has one checkout: a second call returns that workspace (alreadyStarted=true) and chats for every agent already on it. That is not one agent. To put another agent on that checkout, fork_chat. send_to_chat only the chat that should do this job. Creating from the default branch still opens a new isolated workspace. Pass repoPath + parentChatId; omit agent and model so Sideboard applies Settings \u2192 Default agent, model & effort (never pass your own agent or agent=cursor). Pass the same tags (short labels, e.g. "phone-sync") on every workspace you open for one task so they group in the sidebar; reusing a checkout adds those tags. If the repo has a setup script, Sideboard runs it in the background (does not block send_to_chat). Nested Codex (you are Codex and the child would be Codex) can deadlock on ~/.codex locks \u2014 omit agent; Sideboard switches the child to Cursor when a CURSOR_API_KEY is set, otherwise keeps the Account default',
|
|
410
|
+
"- One orchestration chat can create at most the Settings \u2192 Advanced \u201CMax orchestration threads\u201D cap of child workspaces (default 5). fork_chat on an existing checkout does not use a slot.",
|
|
410
411
|
"- set_workspace_tags \u2014 set, add, or remove labels on a workspace after create. Pass any chat id on that checkout. Same tags on every workspace from one task. Worktree agents can update tags on their own checkout (they omit ref). set_wake_on_github_edges opts a workspace into CI and review-request wakes once Settings \u2192 Advanced is on. Pass a child chat id. Do not flip the Advanced switch.",
|
|
411
412
|
"- set_plan / show_plan / list_order / set_dependency / clear_dependency / satisfy_dependency / execute_plan \u2014 This chat owns one plan. show_plan opens it in the side column, the same way a worktree agent does. The Orchestration row in the sidebar opens that chat. Draft with set_plan (title, summary, and goal) and set_dependency. A step may loop back to an earlier step. This is a plan, not a one-way waterfall. Call show_plan after you draft or change the plan. Do not paste the diagram in chat. Do not create workspaces or send_to_chat for that work while the plan is draft. execute_plan with agreed: true only after they tell you to run it. It marks the plan active and returns ready vs waiting. Start ready steps with create_workspace or send_to_chat. Leave waiting steps alone. Merge only if they asked. Worktree agents show_plan to open the diagram and this checkout's implementation plan when plan.md exists. set_dependency / clear_dependency only for a step they are part of. A dependency says one PR, issue, or workspace must reach a gate before another can start or merge. gate=in-main is met when that PR is merged; gate=in-prod stays waiting until satisfy_dependency (Sideboard cannot see production). hold=start blocks starting the subject; hold=merge blocks merging it. Example: PR 1 in prod before PR 2 can merge; PR 3 in main before issue 4 can start. Pass waitsOnKind (pr|issue|workspace), waitsOnRef, gate, subjectKind, subjectRef, hold. Pass repoPath when the same number exists in more than one project. A step can name another orchestration chat (kind orchestration, ref that chat id). That chat drafts its own plan. Each orchestration chat opens its own plan with show_plan. Worktree agents set their own checkout and omit subject. Plan mode on a workspace agent stays a separate plan for that checkout. Do not tell a child to merge or start while list_order still marks that step waiting.",
|
|
412
413
|
"- start_board_card \u2014 same as create_workspace for a ticket/PR/named branch (attaches issue text when resolvable). Then send_to_chat.",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
var LIST_TIMEOUT_MS = 15e3;
|
|
6
6
|
async function listAssignedLinearIssues(opts) {
|
|
7
7
|
try {
|
|
8
|
-
const { listLinearIssuesDirect } = await import("./linear-
|
|
8
|
+
const { listLinearIssuesDirect } = await import("./linear-JE4WAZ3W.js");
|
|
9
9
|
const listed = listLinearIssuesDirect({ limit: 50 }).catch(() => []);
|
|
10
10
|
let timer;
|
|
11
11
|
try {
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
import {
|
|
4
4
|
abletimeRestUrl,
|
|
5
5
|
textFromAbleTimeDoc
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LHU6ZBFB.js";
|
|
7
7
|
import {
|
|
8
8
|
assertAbleTimeCredential,
|
|
9
9
|
callAbleTimeTool,
|
|
10
10
|
normalizeAbleTimeHost,
|
|
11
11
|
rewriteAbleTimeError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NDBMDHQ5.js";
|
|
13
13
|
import {
|
|
14
14
|
downloadAuthenticatedFile,
|
|
15
15
|
extractHttpUrls,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
getAbleTimeHost,
|
|
28
28
|
isAbleTimeConnected,
|
|
29
29
|
saveAbleTimeConnection
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-S3UGLMGE.js";
|
|
31
31
|
|
|
32
32
|
// src/integrations/abletime-attachments.ts
|
|
33
33
|
function asRecord(value) {
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
normalizeAbleTimeCredential,
|
|
5
5
|
normalizeAbleTimeHost,
|
|
6
6
|
rewriteAbleTimeError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WO7VF4FG.js";
|
|
8
8
|
import {
|
|
9
9
|
httpFetch
|
|
10
10
|
} from "./chunk-JAT3JFOS.js";
|
|
11
11
|
import {
|
|
12
12
|
getAbleTimeAccessToken,
|
|
13
13
|
getAbleTimeHost
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TKEYXNXY.js";
|
|
15
15
|
|
|
16
16
|
// src/integrations/abletime-rest.ts
|
|
17
17
|
var ABLETIME_REST_PREFIX = "/api/public/v2";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-TL2HK6LZ.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveAgentExecutable
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-S3UGLMGE.js";
|
|
13
13
|
|
|
14
14
|
// src/agents/install.ts
|
|
15
15
|
import { chmodSync, existsSync } from "fs";
|
|
@@ -366,7 +366,7 @@ async function loginAgent(agent) {
|
|
|
366
366
|
};
|
|
367
367
|
}
|
|
368
368
|
async function loginManagedAccount(accountId) {
|
|
369
|
-
const { loadAppSettings } = await import("./app-settings-
|
|
369
|
+
const { loadAppSettings } = await import("./app-settings-Q2F57NVK.js");
|
|
370
370
|
const { loginEnvPrefix } = await import("./managed-accounts-PITLFLKU.js");
|
|
371
371
|
const account = loadAppSettings().accounts.accounts.find((a) => a.id === accountId);
|
|
372
372
|
if (!account) {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
loadAppSettings,
|
|
6
6
|
saveAppSettings
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TKEYXNXY.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-RUUCLNSM.js");
|
|
277
277
|
return await optionalCliPresence(ids);
|
|
278
278
|
} catch {
|
|
279
279
|
return void 0;
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
resolveGithubRepoSlug,
|
|
8
8
|
resolveOriginRemote,
|
|
9
9
|
resolveRepoRoot
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RTZO2YJC.js";
|
|
11
11
|
import {
|
|
12
12
|
ATTACHMENTS_DIR,
|
|
13
13
|
attachmentsGitignoreBody
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
teamSlugFromName,
|
|
21
21
|
updateThread,
|
|
22
22
|
writeThread
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-JHT3CYLT.js";
|
|
24
24
|
import {
|
|
25
25
|
assertOrchestratorCapableAgent,
|
|
26
26
|
formatAccountProfilePlaybookLine,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
resolveThreadDefaults,
|
|
34
34
|
resolveViewerProfile,
|
|
35
35
|
resolveViewerProfileForRepo
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-S3UGLMGE.js";
|
|
37
37
|
import {
|
|
38
38
|
appDataDir,
|
|
39
39
|
globalAgentCwd,
|
|
@@ -362,6 +362,7 @@ var COORDINATOR_TOOL_PLAYBOOK = [
|
|
|
362
362
|
"- add_project / remove_project \u2014 register or unregister a git repo",
|
|
363
363
|
"Workspaces and chats:",
|
|
364
364
|
'- create_workspace \u2014 create a workspace (isolated checkout + first chat) from branch | pr | ticket (appears on Home). A ticket, PR, or named branch has one checkout: a second call returns that workspace (alreadyStarted=true) and chats for every agent already on it. That is not one agent. To put another agent on that checkout, fork_chat. send_to_chat only the chat that should do this job. Creating from the default branch still opens a new isolated workspace. Pass repoPath + parentChatId; omit agent and model so Sideboard applies Settings \u2192 Default agent, model & effort (never pass your own agent or agent=cursor). Pass the same tags (short labels, e.g. "phone-sync") on every workspace you open for one task so they group in the sidebar; reusing a checkout adds those tags. If the repo has a setup script, Sideboard runs it in the background (does not block send_to_chat). Nested Codex (you are Codex and the child would be Codex) can deadlock on ~/.codex locks \u2014 omit agent; Sideboard switches the child to Cursor when a CURSOR_API_KEY is set, otherwise keeps the Account default',
|
|
365
|
+
"- One orchestration chat can create at most the Settings \u2192 Advanced \u201CMax orchestration threads\u201D cap of child workspaces (default 5). fork_chat on an existing checkout does not use a slot.",
|
|
365
366
|
"- set_workspace_tags \u2014 set, add, or remove labels on a workspace after create. Pass any chat id on that checkout. Same tags on every workspace from one task. Worktree agents can update tags on their own checkout (they omit ref). set_wake_on_github_edges opts a workspace into CI and review-request wakes once Settings \u2192 Advanced is on. Pass a child chat id. Do not flip the Advanced switch.",
|
|
366
367
|
"- set_plan / show_plan / list_order / set_dependency / clear_dependency / satisfy_dependency / execute_plan \u2014 This chat owns one plan. show_plan opens it in the side column, the same way a worktree agent does. The Orchestration row in the sidebar opens that chat. Draft with set_plan (title, summary, and goal) and set_dependency. A step may loop back to an earlier step. This is a plan, not a one-way waterfall. Call show_plan after you draft or change the plan. Do not paste the diagram in chat. Do not create workspaces or send_to_chat for that work while the plan is draft. execute_plan with agreed: true only after they tell you to run it. It marks the plan active and returns ready vs waiting. Start ready steps with create_workspace or send_to_chat. Leave waiting steps alone. Merge only if they asked. Worktree agents show_plan to open the diagram and this checkout's implementation plan when plan.md exists. set_dependency / clear_dependency only for a step they are part of. A dependency says one PR, issue, or workspace must reach a gate before another can start or merge. gate=in-main is met when that PR is merged; gate=in-prod stays waiting until satisfy_dependency (Sideboard cannot see production). hold=start blocks starting the subject; hold=merge blocks merging it. Example: PR 1 in prod before PR 2 can merge; PR 3 in main before issue 4 can start. Pass waitsOnKind (pr|issue|workspace), waitsOnRef, gate, subjectKind, subjectRef, hold. Pass repoPath when the same number exists in more than one project. A step can name another orchestration chat (kind orchestration, ref that chat id). That chat drafts its own plan. Each orchestration chat opens its own plan with show_plan. Worktree agents set their own checkout and omit subject. Plan mode on a workspace agent stays a separate plan for that checkout. Do not tell a child to merge or start while list_order still marks that step waiting.",
|
|
367
368
|
"- start_board_card \u2014 same as create_workspace for a ticket/PR/named branch (attaches issue text when resolvable). Then send_to_chat.",
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
parseSessionQuotaResetAt,
|
|
15
15
|
planModeTurnInstruction,
|
|
16
16
|
resolveQuotaFallbackAgent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-S3DTEGMK.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-DEQLDEYR.js";
|
|
58
58
|
import {
|
|
59
59
|
applyAgentEvent,
|
|
60
60
|
clipAgentEventForPaint,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
import {
|
|
89
89
|
formatOptionalServicesDirectiveForTurn,
|
|
90
90
|
formatOptionalServicesReminderForTurn
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-5SJGR3VS.js";
|
|
92
92
|
import {
|
|
93
93
|
extractPresentedPlan,
|
|
94
94
|
isPresentPlanToolName,
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
stageAbsolutePathsAsAttachments,
|
|
122
122
|
stageBuffersAsAttachments,
|
|
123
123
|
syncWorkspacesFromThreads
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-5BFEHSHO.js";
|
|
125
125
|
import {
|
|
126
126
|
addPrStackLayer,
|
|
127
127
|
allocateTeamSlug,
|
|
@@ -172,7 +172,7 @@ import {
|
|
|
172
172
|
resolveRepoRoot,
|
|
173
173
|
switchWorktreeBranch,
|
|
174
174
|
withRepoGitLock
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-RTZO2YJC.js";
|
|
176
176
|
import {
|
|
177
177
|
issueActivityKind
|
|
178
178
|
} from "./chunk-OYRN356W.js";
|
|
@@ -215,7 +215,7 @@ import {
|
|
|
215
215
|
worktreeNameFromPath,
|
|
216
216
|
worktreeSlugForTicket,
|
|
217
217
|
writeThread
|
|
218
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-JHT3CYLT.js";
|
|
219
219
|
import {
|
|
220
220
|
HISTORY_CLEANUP_INTERVAL_HOURS_DEFAULT,
|
|
221
221
|
applyTurnUsage,
|
|
@@ -252,7 +252,7 @@ import {
|
|
|
252
252
|
wakeOrchestratorOnGithubEdgesEnabled,
|
|
253
253
|
withTurnScopedCost,
|
|
254
254
|
writeViewerContext
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-S3UGLMGE.js";
|
|
256
256
|
import {
|
|
257
257
|
writePrivateFile
|
|
258
258
|
} from "./chunk-NSTQ6QKD.js";
|
|
@@ -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-DL4K4K7O.js");
|
|
575
575
|
if (isGlobalThread2(thread)) {
|
|
576
|
-
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-
|
|
576
|
+
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-Z7PPP45X.js");
|
|
577
577
|
ensureGlobalCoordinatorCwd2(
|
|
578
578
|
isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
|
|
579
579
|
);
|
|
@@ -2996,7 +2996,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
2996
2996
|
});
|
|
2997
2997
|
await requireAgent(resolved.agent);
|
|
2998
2998
|
if (input.cowboy) {
|
|
2999
|
-
const { cowboyModeEnabled } = await import("./app-settings-
|
|
2999
|
+
const { cowboyModeEnabled } = await import("./app-settings-Q2F57NVK.js");
|
|
3000
3000
|
if (!cowboyModeEnabled()) {
|
|
3001
3001
|
throw new Error(
|
|
3002
3002
|
"Cowboy mode is off. Enable it in Settings \u2192 Advanced."
|
|
@@ -3055,7 +3055,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
3055
3055
|
let sourceIsFork = false;
|
|
3056
3056
|
if (!input.cowboy && sourceType === "branch" && (!sourceRef || sourceRef === "HEAD" || sourceRef === "default")) {
|
|
3057
3057
|
if (isAbleTimeConnected() && getIssueSource() === "abletime") {
|
|
3058
|
-
const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-
|
|
3058
|
+
const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-MSIMJKKQ.js");
|
|
3059
3059
|
const task = await ensureAbleTimeTask({
|
|
3060
3060
|
title: title?.trim() || "Untitled work",
|
|
3061
3061
|
description: input.prompt?.trim() || void 0
|
|
@@ -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-EIIHHH4S.js");
|
|
3941
3941
|
await addWorkspace2(repoPath);
|
|
3942
3942
|
const { ensureWorktreeSideboardIgnored } = await import("./worktree-exclude-KMZQXZKP.js");
|
|
3943
3943
|
await ensureWorktreeSideboardIgnored(input.worktreePath);
|
|
@@ -7457,11 +7457,11 @@ function realDeps() {
|
|
|
7457
7457
|
parentIdForThread,
|
|
7458
7458
|
designatedId: designatedOrchestratorId,
|
|
7459
7459
|
send: async (threadId, prompt) => {
|
|
7460
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
7460
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-BPCM4OP3.js");
|
|
7461
7461
|
await getOrchestrator2().send(threadId, prompt, { followUp: "queue" });
|
|
7462
7462
|
},
|
|
7463
7463
|
startOrchestration: async (prompt) => {
|
|
7464
|
-
const { startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
7464
|
+
const { startOrchestration: startOrchestration2 } = await import("./orchestrator-BPCM4OP3.js");
|
|
7465
7465
|
const defaults = resolveOrchestratorDefaults();
|
|
7466
7466
|
await startOrchestration2({
|
|
7467
7467
|
goal: prompt,
|
|
@@ -7488,7 +7488,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
7488
7488
|
${prompt}`;
|
|
7489
7489
|
}
|
|
7490
7490
|
async function defaultDeps() {
|
|
7491
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
7491
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-BPCM4OP3.js");
|
|
7492
7492
|
const orch = getOrchestrator2();
|
|
7493
7493
|
return {
|
|
7494
7494
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -7844,7 +7844,7 @@ var Orchestrator = class {
|
|
|
7844
7844
|
orphans: orphans.map((o) => ({ path: o.path, repoPath: o.repoPath }))
|
|
7845
7845
|
});
|
|
7846
7846
|
}
|
|
7847
|
-
const { autoCleanupOrphansEnabled } = await import("./app-settings-
|
|
7847
|
+
const { autoCleanupOrphansEnabled } = await import("./app-settings-Q2F57NVK.js");
|
|
7848
7848
|
if (autoCleanupOrphansEnabled() && shouldRunWorktreeCleanup() && orphans.length > 0) {
|
|
7849
7849
|
await cleanupOrphanWorktrees({ repoPaths });
|
|
7850
7850
|
}
|
|
@@ -8234,7 +8234,7 @@ var Orchestrator = class {
|
|
|
8234
8234
|
}
|
|
8235
8235
|
await setup;
|
|
8236
8236
|
if (skipSetup) return;
|
|
8237
|
-
const { autoRunAfterSetupEnabled } = await import("./app-settings-
|
|
8237
|
+
const { autoRunAfterSetupEnabled } = await import("./app-settings-Q2F57NVK.js");
|
|
8238
8238
|
if (autoRunAfterSetupEnabled()) {
|
|
8239
8239
|
try {
|
|
8240
8240
|
await this.startDev(threadId);
|
|
@@ -8619,7 +8619,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
|
|
|
8619
8619
|
}
|
|
8620
8620
|
const isBrightsy = fresh.agent === "brightsy";
|
|
8621
8621
|
const isOrchestration = isOrchestratorThread(fresh);
|
|
8622
|
-
const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-
|
|
8622
|
+
const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-Q2F57NVK.js");
|
|
8623
8623
|
const gitAuthMode = getGithubGitAuthMode();
|
|
8624
8624
|
const worktreeDirective = isBrightsy || isOrchestration ? null : formatWorktreeDirective(fresh, {
|
|
8625
8625
|
githubSlug: turnOrigin?.forge === "github" ? turnOrigin.slug : await withTimeout(resolveGithubRepoSlug(fresh.worktreePath), 8e3, "resolveGithubRepoSlug").catch(() => null),
|
|
@@ -9962,7 +9962,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
|
|
|
9962
9962
|
if (Object.keys(patch).length === 0) continue;
|
|
9963
9963
|
updateThread(t.id, patch);
|
|
9964
9964
|
}
|
|
9965
|
-
const { autoArchiveOnMergeEnabled } = await import("./app-settings-
|
|
9965
|
+
const { autoArchiveOnMergeEnabled } = await import("./app-settings-Q2F57NVK.js");
|
|
9966
9966
|
const latest = this.requireThread(thread.id);
|
|
9967
9967
|
if (!shouldAutoArchiveOnPrMerge({
|
|
9968
9968
|
previousPrState: prevState || null,
|
|
@@ -10286,7 +10286,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
|
|
|
10286
10286
|
await runArchiveScript(thread.repoPath, thread.worktreePath);
|
|
10287
10287
|
} catch {
|
|
10288
10288
|
}
|
|
10289
|
-
const { deleteBranchOnPurgeEnabled } = await import("./app-settings-
|
|
10289
|
+
const { deleteBranchOnPurgeEnabled } = await import("./app-settings-Q2F57NVK.js");
|
|
10290
10290
|
const deleteBranch = opts?.deleteBranch ?? deleteBranchOnPurgeEnabled();
|
|
10291
10291
|
await removeWorktree(thread.repoPath, thread.worktreePath, {
|
|
10292
10292
|
deleteBranch: deleteBranch ? thread.branchName : void 0
|
|
@@ -10424,7 +10424,7 @@ async function startOrchestration(opts) {
|
|
|
10424
10424
|
sourceRef: "default",
|
|
10425
10425
|
...createOpts
|
|
10426
10426
|
}).catch(async () => {
|
|
10427
|
-
const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-
|
|
10427
|
+
const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-BD3EJE24.js");
|
|
10428
10428
|
const repo = await resolveRepoRoot2(repoPath);
|
|
10429
10429
|
const def = await resolveDefaultBranch2(repo);
|
|
10430
10430
|
return orch.createThread({
|
|
@@ -10434,7 +10434,7 @@ async function startOrchestration(opts) {
|
|
|
10434
10434
|
repoPath: repo
|
|
10435
10435
|
});
|
|
10436
10436
|
});
|
|
10437
|
-
const { updateThread: upd } = await import("./thread-store-
|
|
10437
|
+
const { updateThread: upd } = await import("./thread-store-HETUMDVA.js");
|
|
10438
10438
|
const updated = upd(thread.id, {
|
|
10439
10439
|
sourceType: "orchestration",
|
|
10440
10440
|
sourceRef: goal
|
|
@@ -125,7 +125,7 @@ async function connectedCliPresence(integrations) {
|
|
|
125
125
|
const ids = connectedOptionalServices(integrations).filter((spec) => spec.cli).map((spec) => spec.id);
|
|
126
126
|
if (ids.length === 0) return void 0;
|
|
127
127
|
try {
|
|
128
|
-
const { optionalCliPresence } = await import("./optional-cli-
|
|
128
|
+
const { optionalCliPresence } = await import("./optional-cli-7QXXPEN6.js");
|
|
129
129
|
return await optionalCliPresence(ids);
|
|
130
130
|
} catch {
|
|
131
131
|
return void 0;
|