@sideboard-ai/core 0.1.334 → 0.1.335
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-SO2YHMEI.js → abletime-OGOHNRVB.js} +4 -4
- package/dist/{abletime-5FBKBO3R.js → abletime-TNONAVJG.js} +4 -4
- package/dist/{abletime-oauth-EUC5FFMD.js → abletime-oauth-DAZEUQJI.js} +3 -3
- package/dist/{abletime-oauth-I34WZZZL.js → abletime-oauth-TYDQ73GK.js} +3 -3
- package/dist/{abletime-rest-EI5ZJ72Z.js → abletime-rest-3FWZGTX6.js} +3 -3
- package/dist/{abletime-rest-HEQXSZAQ.js → abletime-rest-B4VI46MI.js} +3 -3
- package/dist/{agents-5NJ3FROS.js → agents-ISEAOZD5.js} +7 -7
- package/dist/{agents-SRM6OVML.js → agents-VTLFLMMT.js} +7 -7
- package/dist/{app-settings-JAEV53LB.js → app-settings-KOSVLMO5.js} +1 -1
- package/dist/{app-settings-SHZWNJBV.js → app-settings-YS5AUJTF.js} +1 -1
- package/dist/{chunk-EY5BJAPV.js → chunk-23KYDM2U.js} +23 -0
- package/dist/{chunk-F4OUZDIB.js → chunk-4BRO5LNX.js} +3 -3
- package/dist/{chunk-RJT6JPNX.js → chunk-4O7436ZH.js} +5 -5
- package/dist/{chunk-JJRTVB7D.js → chunk-4OVQGZEI.js} +3 -3
- package/dist/{chunk-SKPX66MO.js → chunk-4SP26Z6H.js} +5 -5
- package/dist/{chunk-WXOJSFGO.js → chunk-54GBJC6J.js} +8 -8
- package/dist/{chunk-QNKJCD7B.js → chunk-5FGQTB2Z.js} +2 -2
- package/dist/{chunk-25KXB7W6.js → chunk-5TVRPOVS.js} +1 -1
- package/dist/{chunk-EW5D53VB.js → chunk-AFSLMWQK.js} +1 -1
- package/dist/{chunk-ELDJBZ52.js → chunk-B6TPN624.js} +5 -5
- package/dist/{chunk-QVLDZWHZ.js → chunk-BDQFZAE6.js} +1 -1
- package/dist/{chunk-LEUAYFSG.js → chunk-CDRGQ6GX.js} +3 -3
- package/dist/{chunk-4J7R2BFU.js → chunk-EKI7D2AJ.js} +21 -21
- package/dist/{chunk-P7S3XGKL.js → chunk-ERCYQTJU.js} +3 -3
- package/dist/{chunk-UV33UCV6.js → chunk-FCBUDWP6.js} +2 -2
- package/dist/{chunk-YMV5O7KY.js → chunk-FEGRY7NL.js} +3 -3
- package/dist/{chunk-CS6LQUL6.js → chunk-HNW5KMGK.js} +2 -2
- package/dist/{chunk-277I5IBI.js → chunk-I2C5ZRVO.js} +1 -1
- package/dist/{chunk-ZT5YPYZE.js → chunk-KAIOL2M5.js} +1 -1
- package/dist/{chunk-BAIPCN34.js → chunk-LYJ5AVK4.js} +2 -2
- package/dist/{chunk-6RUSADA7.js → chunk-MGEUXR6E.js} +3 -3
- package/dist/{chunk-7BAS6DF7.js → chunk-N6TGSJVC.js} +22 -0
- package/dist/{chunk-TLL2K2MY.js → chunk-NB4U75TJ.js} +7 -7
- package/dist/{chunk-MXQ66CLO.js → chunk-OMKTX7ZW.js} +3 -3
- package/dist/{chunk-QKJC725N.js → chunk-PSXBOMXI.js} +20 -20
- package/dist/{chunk-7MPRTC6X.js → chunk-Q73I6I2K.js} +1 -1
- package/dist/{chunk-RCRDNOAT.js → chunk-QWFNKOGA.js} +2 -2
- package/dist/{chunk-NCFYUUSC.js → chunk-SYTTUNX6.js} +1 -1
- package/dist/{chunk-HJIA4X3L.js → chunk-W6J3ZWLJ.js} +2 -2
- package/dist/{chunk-D6V6F74A.js → chunk-WSZIJNAR.js} +5 -5
- package/dist/{conductor-XSP3SOS2.js → conductor-77L3QTZ2.js} +5 -5
- package/dist/{conductor-LUPB6RBH.js → conductor-JH26KU3W.js} +5 -5
- package/dist/{coordinator-prompt-O75QUEHP.js → coordinator-prompt-UKJJAMBG.js} +4 -4
- package/dist/{coordinator-prompt-EJJNJ5K7.js → coordinator-prompt-WVVC2TLP.js} +4 -4
- package/dist/{global-workspace-3IG44NAT.js → global-workspace-B5IHENCP.js} +4 -4
- package/dist/{global-workspace-Q4OURN7M.js → global-workspace-QDIPRW6G.js} +4 -4
- package/dist/index.cjs +1476 -568
- package/dist/index.d.cts +101 -15
- package/dist/index.d.ts +101 -15
- package/dist/index.js +1403 -531
- package/dist/{linear-FRJRK6KI.js → linear-5E2WI4QQ.js} +2 -2
- package/dist/{linear-7HSIGV5S.js → linear-P3LP455O.js} +2 -2
- package/dist/{linear-list-LDMBSKYI.js → linear-list-AXK62DPW.js} +1 -1
- package/dist/{linear-list-I6DNJC6V.js → linear-list-Y3INIBYH.js} +1 -1
- package/dist/mcp/run-stdio.cjs +29 -1
- package/dist/mcp/run-stdio.js +16 -16
- package/dist/{optional-cli-KWIII44P.js → optional-cli-6J6C4I3X.js} +3 -3
- package/dist/{optional-cli-XJE4BELL.js → optional-cli-X6I35UNI.js} +4 -4
- package/dist/{orchestrator-WHXHBNRS.js → orchestrator-BOLYQZO7.js} +10 -10
- package/dist/{orchestrator-IYXIWNB5.js → orchestrator-ZUIU667R.js} +10 -10
- package/dist/{thread-store-PCIMS6RA.js → thread-store-DCO5MZWJ.js} +2 -2
- package/dist/{thread-store-NVFWKJFH.js → thread-store-QGBPSZU2.js} +2 -2
- package/dist/{workspaces-ALUHOCWK.js → workspaces-VXE2MBKD.js} +4 -4
- package/dist/{workspaces-QGKSXA76.js → workspaces-WZZNNUJL.js} +4 -4
- package/dist/{worktree-6WWUWH4K.js → worktree-GWS77LWX.js} +3 -3
- package/dist/{worktree-N435EXSP.js → worktree-S4YOAYRA.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-OMKTX7ZW.js";
|
|
23
|
+
import "./chunk-LYJ5AVK4.js";
|
|
24
|
+
import "./chunk-WSZIJNAR.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-N6TGSJVC.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-FEGRY7NL.js";
|
|
21
21
|
import "./chunk-DBKHL7NC.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-W6J3ZWLJ.js";
|
|
23
|
+
import "./chunk-4SP26Z6H.js";
|
|
24
24
|
import "./chunk-JAT3JFOS.js";
|
|
25
25
|
import "./chunk-6K64FJDD.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-23KYDM2U.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-WSZIJNAR.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-N6TGSJVC.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-OGOHNRVB.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-4BRO5LNX.js";
|
|
24
|
+
import "./chunk-4SP26Z6H.js";
|
|
25
25
|
import "./chunk-JAT3JFOS.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-23KYDM2U.js";
|
|
27
27
|
import "./chunk-4TR3HZFT.js";
|
|
28
28
|
import "./chunk-WDRMZKVB.js";
|
|
29
29
|
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-LYJ5AVK4.js";
|
|
11
|
+
import "./chunk-WSZIJNAR.js";
|
|
12
12
|
import "./chunk-2GPQZZLY.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-N6TGSJVC.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-W6J3ZWLJ.js";
|
|
9
|
+
import "./chunk-4SP26Z6H.js";
|
|
10
10
|
import "./chunk-JAT3JFOS.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-23KYDM2U.js";
|
|
12
12
|
import "./chunk-4TR3HZFT.js";
|
|
13
13
|
import "./chunk-WDRMZKVB.js";
|
|
14
14
|
import "./chunk-KI45T4DI.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
planModeTurnInstruction,
|
|
38
38
|
resolveCursorModelId,
|
|
39
39
|
resolveQuotaFallbackAgent
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-NB4U75TJ.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-5FGQTB2Z.js";
|
|
53
53
|
import "./chunk-XOEKCE6L.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-KAIOL2M5.js";
|
|
55
55
|
import "./chunk-OOXRMTU6.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-CDRGQ6GX.js";
|
|
57
|
+
import "./chunk-4OVQGZEI.js";
|
|
58
|
+
import "./chunk-BDQFZAE6.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-23KYDM2U.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-54GBJC6J.js";
|
|
50
50
|
import "./chunk-5MXLDDYF.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-HNW5KMGK.js";
|
|
63
|
+
import "./chunk-MGEUXR6E.js";
|
|
64
|
+
import "./chunk-ERCYQTJU.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-SYTTUNX6.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-AFSLMWQK.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-N6TGSJVC.js";
|
|
90
90
|
import "./chunk-NSTQ6QKD.js";
|
|
91
91
|
import "./chunk-WWUABK6B.js";
|
|
92
92
|
import "./chunk-FJZWM2ON.js";
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
updateProjectProfileSettings,
|
|
108
108
|
usageOnLimit,
|
|
109
109
|
writeViewerContext
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-23KYDM2U.js";
|
|
111
111
|
import "./chunk-4TR3HZFT.js";
|
|
112
112
|
import "./chunk-WDRMZKVB.js";
|
|
113
113
|
import "./chunk-KI45T4DI.js";
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
updateProjectProfileSettings,
|
|
110
110
|
usageOnLimit,
|
|
111
111
|
writeViewerContext
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-N6TGSJVC.js";
|
|
113
113
|
import "./chunk-NSTQ6QKD.js";
|
|
114
114
|
import "./chunk-WWUABK6B.js";
|
|
115
115
|
import "./chunk-FJZWM2ON.js";
|
|
@@ -486,6 +486,17 @@ function parseEncrypted(parsed) {
|
|
|
486
486
|
return null;
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
+
// src/slack/client-ids.ts
|
|
490
|
+
function mergeSlackClientIds(ids) {
|
|
491
|
+
const out = [];
|
|
492
|
+
for (const raw of ids) {
|
|
493
|
+
const id = raw?.trim() ?? "";
|
|
494
|
+
if (!id || out.includes(id)) continue;
|
|
495
|
+
out.push(id);
|
|
496
|
+
}
|
|
497
|
+
return out;
|
|
498
|
+
}
|
|
499
|
+
|
|
489
500
|
// src/store/secret-vault.ts
|
|
490
501
|
import { join } from "path";
|
|
491
502
|
|
|
@@ -1246,6 +1257,12 @@ function normalizeIntegrations(raw) {
|
|
|
1246
1257
|
const id = source.slackClientId.trim();
|
|
1247
1258
|
if (id) out.slackClientId = id;
|
|
1248
1259
|
}
|
|
1260
|
+
if (Array.isArray(source.slackClientIds)) {
|
|
1261
|
+
const ids = mergeSlackClientIds(
|
|
1262
|
+
source.slackClientIds.filter((id) => typeof id === "string")
|
|
1263
|
+
);
|
|
1264
|
+
if (ids.length > 0) out.slackClientIds = ids;
|
|
1265
|
+
}
|
|
1249
1266
|
if (typeof source.slackClientSecret === "string") {
|
|
1250
1267
|
const secret = source.slackClientSecret.trim();
|
|
1251
1268
|
if (secret) out.slackClientSecret = secret;
|
|
@@ -1837,6 +1854,11 @@ function updateIntegrationsSettings(patch) {
|
|
|
1837
1854
|
integrations.slackClientId = patch.slackClientId.trim();
|
|
1838
1855
|
}
|
|
1839
1856
|
}
|
|
1857
|
+
if ("slackClientIds" in patch) {
|
|
1858
|
+
const ids = mergeSlackClientIds(patch.slackClientIds ?? []);
|
|
1859
|
+
if (ids.length === 0) delete integrations.slackClientIds;
|
|
1860
|
+
else integrations.slackClientIds = ids;
|
|
1861
|
+
}
|
|
1840
1862
|
if ("slackClientSecret" in patch) {
|
|
1841
1863
|
if (patch.slackClientSecret == null || patch.slackClientSecret.trim() === "") {
|
|
1842
1864
|
delete integrations.slackClientSecret;
|
|
@@ -2659,6 +2681,7 @@ export {
|
|
|
2659
2681
|
remoteRelayUrl,
|
|
2660
2682
|
parseRemoteClientMessage,
|
|
2661
2683
|
parseRemoteServerMessage,
|
|
2684
|
+
mergeSlackClientIds,
|
|
2662
2685
|
setVaultMasterKey,
|
|
2663
2686
|
persistVaultKeyInKeychain,
|
|
2664
2687
|
readKeychainVaultKey,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_ABLETIME_HOST,
|
|
3
3
|
normalizeAbleTimeHost
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4SP26Z6H.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-23KYDM2U.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-TNONAVJG.js");
|
|
284
284
|
const orientation = await getAbleTimeOrientation({ token, host });
|
|
285
285
|
return saveAbleTimeConnection({
|
|
286
286
|
accessToken: token,
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
isGlobalThread,
|
|
12
12
|
isOrchestratorThread,
|
|
13
13
|
isSlackCoordinatorThread
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MGEUXR6E.js";
|
|
15
15
|
import {
|
|
16
16
|
mergeAgentGitAuthEnv,
|
|
17
17
|
resolveAgentGitAuthEnv
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ERCYQTJU.js";
|
|
19
19
|
import {
|
|
20
20
|
ATTACHMENTS_DIR,
|
|
21
21
|
DETACHED_JOBS_DIR,
|
|
@@ -40,11 +40,11 @@ import {
|
|
|
40
40
|
updateThread,
|
|
41
41
|
worktreeNameFromPath,
|
|
42
42
|
writeThread
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-AFSLMWQK.js";
|
|
44
44
|
import {
|
|
45
45
|
assertOrchestratorCapableAgent,
|
|
46
46
|
contextTokens
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-N6TGSJVC.js";
|
|
48
48
|
import {
|
|
49
49
|
stripNestedElectronEnv
|
|
50
50
|
} from "./chunk-WWUABK6B.js";
|
|
@@ -1696,7 +1696,7 @@ var PORT_RANGE_SIZE = 10;
|
|
|
1696
1696
|
var RECLAIM_RETRY_DELAY_MS = 40;
|
|
1697
1697
|
var RECLAIM_TRIES = 8;
|
|
1698
1698
|
async function killReclaimable(ports, worktreePath, signal) {
|
|
1699
|
-
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-
|
|
1699
|
+
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-77L3QTZ2.js");
|
|
1700
1700
|
if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
|
|
1701
1701
|
else killListenersOnPorts2(ports);
|
|
1702
1702
|
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
normalizeTakenSlug,
|
|
5
5
|
normalizeWorktreePath,
|
|
6
6
|
takenSlugsFromThread
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BDQFZAE6.js";
|
|
8
8
|
import {
|
|
9
9
|
ensureWorktreeSideboardIgnored
|
|
10
10
|
} from "./chunk-BMRJNRQK.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
getGithubGitAuthMode,
|
|
27
27
|
getGithubPat
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-23KYDM2U.js";
|
|
29
29
|
import {
|
|
30
30
|
worktreesRoot
|
|
31
31
|
} from "./chunk-H4UEFJRI.js";
|
|
@@ -1758,7 +1758,7 @@ async function listPrs(repoPath, opts) {
|
|
|
1758
1758
|
if (exitCode !== 0 || !stdout.trim()) return [];
|
|
1759
1759
|
return applyPrListResponse(stdout, { ...resolved, limit, viewerTeams });
|
|
1760
1760
|
}
|
|
1761
|
-
var PR_INFO_JSON_FIELDS = "number,title,headRefName,url,isCrossRepository,author,isDraft,labels";
|
|
1761
|
+
var PR_INFO_JSON_FIELDS = "number,title,headRefName,url,isCrossRepository,author,isDraft,labels,state";
|
|
1762
1762
|
function prInfoFromGhView(view) {
|
|
1763
1763
|
const author = view.author;
|
|
1764
1764
|
const login = author?.login?.trim();
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
getAbleTimeHost,
|
|
6
6
|
isAbleTimeConnected
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-23KYDM2U.js";
|
|
8
8
|
|
|
9
9
|
// src/integrations/abletime-mcp.ts
|
|
10
10
|
var DEFAULT_ABLETIME_HOST = "https://track.abletime.com";
|
|
@@ -153,7 +153,7 @@ function textsFromUnknown(value) {
|
|
|
153
153
|
return "";
|
|
154
154
|
}
|
|
155
155
|
async function abletimeMcpRequest(method, params, opts) {
|
|
156
|
-
const rawToken = opts?.token ?? await import("./abletime-oauth-
|
|
156
|
+
const rawToken = opts?.token ?? await import("./abletime-oauth-TYDQ73GK.js").then((m) => m.ensureAbleTimeAccessToken());
|
|
157
157
|
if (!rawToken?.trim()) {
|
|
158
158
|
throw new Error("AbleTime is not connected \u2014 paste a personal access token in Account settings");
|
|
159
159
|
}
|
|
@@ -224,9 +224,9 @@ async function callAbleTimeTool(name, args = {}, opts) {
|
|
|
224
224
|
if (!opts?.token && !isAbleTimeConnected()) {
|
|
225
225
|
throw new Error("AbleTime is not connected \u2014 paste a personal access token in Account settings");
|
|
226
226
|
}
|
|
227
|
-
const rawToken = opts?.token ?? await import("./abletime-oauth-
|
|
227
|
+
const rawToken = opts?.token ?? await import("./abletime-oauth-TYDQ73GK.js").then((m) => m.ensureAbleTimeAccessToken());
|
|
228
228
|
if (rawToken && ableTimeUsesRest(rawToken)) {
|
|
229
|
-
const { callAbleTimeRestTool } = await import("./abletime-rest-
|
|
229
|
+
const { callAbleTimeRestTool } = await import("./abletime-rest-B4VI46MI.js");
|
|
230
230
|
return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
|
|
231
231
|
}
|
|
232
232
|
const requestOpts = { ...opts, pm: opts?.pm ?? abletimeToolUsesPm(name) };
|
|
@@ -242,7 +242,7 @@ async function callAbleTimeTool(name, args = {}, opts) {
|
|
|
242
242
|
return await call();
|
|
243
243
|
}
|
|
244
244
|
if (rawToken && ableTimeUsesRest(rawToken) && isAbleTimeRejectedCredential(message)) {
|
|
245
|
-
const { callAbleTimeRestTool } = await import("./abletime-rest-
|
|
245
|
+
const { callAbleTimeRestTool } = await import("./abletime-rest-B4VI46MI.js");
|
|
246
246
|
return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
|
|
247
247
|
}
|
|
248
248
|
throw err instanceof Error ? new Error(rewriteAbleTimeError(err.message)) : err;
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
} from "./chunk-5MXLDDYF.js";
|
|
13
13
|
import {
|
|
14
14
|
isOrchestratorThread
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MGEUXR6E.js";
|
|
16
16
|
import {
|
|
17
17
|
codexUnattendedGitConfigArgs,
|
|
18
18
|
mergeAgentGitAuthEnv,
|
|
19
19
|
resolveAgentGitAuthEnv,
|
|
20
20
|
resolveCodexGitWritableRoots
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ERCYQTJU.js";
|
|
22
22
|
import {
|
|
23
23
|
applyConnectedTeamToCli,
|
|
24
24
|
brightsyMcpServerName,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./chunk-2GPQZZLY.js";
|
|
34
34
|
import {
|
|
35
35
|
listAssignedLinearIssues
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-SYTTUNX6.js";
|
|
37
37
|
import {
|
|
38
38
|
githubAgentAuthReady,
|
|
39
39
|
npmGlobalNodeModules,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
CLAUDE_POSTHOG_CONNECTOR_ALLOWED_TOOLS,
|
|
46
46
|
CLAUDE_PRINT_BG_WAIT_CEILING_MS,
|
|
47
47
|
mcpAllowToolsFromNames
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-AFSLMWQK.js";
|
|
49
49
|
import {
|
|
50
50
|
claudeChromeEnabled,
|
|
51
51
|
fromInclusiveInputUsage,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
requestOccupancy,
|
|
57
57
|
resolveAgentExecutable,
|
|
58
58
|
resolveClaudeExecutable
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-N6TGSJVC.js";
|
|
60
60
|
import {
|
|
61
61
|
isElectronLikeCommand,
|
|
62
62
|
unwrapStrippedElectronLaunch,
|
|
@@ -2966,7 +2966,7 @@ var claudeAdapter = {
|
|
|
2966
2966
|
);
|
|
2967
2967
|
}
|
|
2968
2968
|
const mode = permissionMode(thread);
|
|
2969
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
2969
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-B5IHENCP.js");
|
|
2970
2970
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
2971
2971
|
const rpc = worktreeAgentRpc(isOrchestrator);
|
|
2972
2972
|
const injectedServers = await buildInjectedMcpServers({
|
|
@@ -3193,7 +3193,7 @@ var claudeAdapter = {
|
|
|
3193
3193
|
return { file: claude, args, cwd: thread.worktreePath };
|
|
3194
3194
|
},
|
|
3195
3195
|
async listLinearIssues(_repoPath) {
|
|
3196
|
-
const { listAssignedLinearIssues: listAssignedLinearIssues2 } = await import("./linear-list-
|
|
3196
|
+
const { listAssignedLinearIssues: listAssignedLinearIssues2 } = await import("./linear-list-Y3INIBYH.js");
|
|
3197
3197
|
return listAssignedLinearIssues2();
|
|
3198
3198
|
}
|
|
3199
3199
|
};
|
|
@@ -4667,7 +4667,7 @@ var opencodeAdapter = {
|
|
|
4667
4667
|
};
|
|
4668
4668
|
},
|
|
4669
4669
|
async listLinearIssues(_repoPath) {
|
|
4670
|
-
const { listAssignedLinearIssues: listAssignedLinearIssues2 } = await import("./linear-list-
|
|
4670
|
+
const { listAssignedLinearIssues: listAssignedLinearIssues2 } = await import("./linear-list-Y3INIBYH.js");
|
|
4671
4671
|
return listAssignedLinearIssues2();
|
|
4672
4672
|
}
|
|
4673
4673
|
};
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-R4W4VQJZ.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveAgentExecutable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-23KYDM2U.js";
|
|
11
11
|
|
|
12
12
|
// src/agents/install.ts
|
|
13
13
|
import { chmodSync, existsSync } from "fs";
|
|
@@ -364,7 +364,7 @@ async function loginAgent(agent) {
|
|
|
364
364
|
};
|
|
365
365
|
}
|
|
366
366
|
async function loginManagedAccount(accountId) {
|
|
367
|
-
const { loadAppSettings } = await import("./app-settings-
|
|
367
|
+
const { loadAppSettings } = await import("./app-settings-KOSVLMO5.js");
|
|
368
368
|
const { loginEnvPrefix } = await import("./managed-accounts-JJTAKHMG.js");
|
|
369
369
|
const account = loadAppSettings().accounts.accounts.find((a) => a.id === accountId);
|
|
370
370
|
if (!account) {
|
|
@@ -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-6J6C4I3X.js");
|
|
129
129
|
return await optionalCliPresence(ids);
|
|
130
130
|
} catch {
|
|
131
131
|
return void 0;
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
isGlobalThread,
|
|
9
9
|
isOrchestratorThread,
|
|
10
10
|
isSlackCoordinatorThread
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CDRGQ6GX.js";
|
|
12
12
|
import {
|
|
13
13
|
mergeAgentGitAuthEnv,
|
|
14
14
|
resolveAgentGitAuthEnv
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4OVQGZEI.js";
|
|
16
16
|
import {
|
|
17
17
|
REVIEW_TAB_TITLE,
|
|
18
18
|
allocateTeamName,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
updateThread,
|
|
25
25
|
worktreeNameFromPath,
|
|
26
26
|
writeThread
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BDQFZAE6.js";
|
|
28
28
|
import {
|
|
29
29
|
ensureWorktreeSideboardIgnored
|
|
30
30
|
} from "./chunk-BMRJNRQK.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
import {
|
|
50
50
|
assertOrchestratorCapableAgent,
|
|
51
51
|
contextTokens
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-23KYDM2U.js";
|
|
53
53
|
import {
|
|
54
54
|
stripNestedElectronEnv
|
|
55
55
|
} from "./chunk-4TR3HZFT.js";
|
|
@@ -1664,7 +1664,7 @@ var PORT_RANGE_SIZE = 10;
|
|
|
1664
1664
|
var RECLAIM_RETRY_DELAY_MS = 40;
|
|
1665
1665
|
var RECLAIM_TRIES = 8;
|
|
1666
1666
|
async function killReclaimable(ports, worktreePath, signal) {
|
|
1667
|
-
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-
|
|
1667
|
+
const { killListenersOnPorts: killListenersOnPorts2, killStaleWorktreeListeners: killStaleWorktreeListeners2 } = await import("./conductor-JH26KU3W.js");
|
|
1668
1668
|
if (worktreePath) killStaleWorktreeListeners2(ports, worktreePath, signal);
|
|
1669
1669
|
else killListenersOnPorts2(ports);
|
|
1670
1670
|
}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
resolveGithubRepoSlug,
|
|
6
6
|
resolveOriginRemote,
|
|
7
7
|
resolveRepoRoot
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4OVQGZEI.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-BDQFZAE6.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-23KYDM2U.js";
|
|
35
35
|
import {
|
|
36
36
|
appDataDir,
|
|
37
37
|
globalAgentCwd,
|