@sideboard-ai/core 0.1.83 → 0.1.85
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/agents/cursor-runner.cjs +88 -53
- package/dist/agents/cursor-runner.js +93 -56
- package/dist/{agents-4KRD46KG.js → agents-FD77JUOP.js} +10 -10
- package/dist/{agents-3YPUZME7.js → agents-YAYNNJWC.js} +9 -9
- package/dist/{app-settings-MQXL7OUF.js → app-settings-K6RFCRF6.js} +2 -2
- package/dist/{app-settings-GVSOIJLZ.js → app-settings-PEXK5VEX.js} +1 -1
- package/dist/{chunk-LVTNWH7B.js → chunk-2N5DVTGH.js} +2 -2
- package/dist/{chunk-JMRJ4F5B.js → chunk-3CCRD6WS.js} +69 -20
- package/dist/{chunk-AE5VBOFE.js → chunk-3KETJKYA.js} +9 -2
- package/dist/{chunk-IZ7RPF54.js → chunk-5KLC2MWZ.js} +5 -1
- package/dist/{chunk-DJFGX4RT.js → chunk-6GKDYUTJ.js} +3 -3
- package/dist/{chunk-VROPG6QF.js → chunk-6K5VAPVR.js} +3 -3
- package/dist/{chunk-HBBXS2FR.js → chunk-6WQAYBVE.js} +89 -21
- package/dist/{chunk-UHGN4KCL.js → chunk-AY53MPDE.js} +4 -0
- package/dist/{chunk-SEOICVGB.js → chunk-CBJSPTBG.js} +30 -6
- package/dist/{chunk-BTL7EMGT.js → chunk-HHTHF5BQ.js} +4 -4
- package/dist/{chunk-YO3CYL6B.js → chunk-I3FRXL7J.js} +1 -1
- package/dist/{chunk-RS54WYYH.js → chunk-JFQ2M6NQ.js} +2 -2
- package/dist/{chunk-NXXT5SE3.js → chunk-JTHWVYSD.js} +3 -3
- package/dist/{chunk-GD2FM6FN.js → chunk-KRAUS3RF.js} +87 -17
- package/dist/{chunk-D4DPQ552.js → chunk-LGXBYZZA.js} +9 -2
- package/dist/{chunk-E2MIA7DO.js → chunk-SH75CXJR.js} +2 -2
- package/dist/{chunk-JW6YFPQE.js → chunk-WGI6KXKJ.js} +36 -11
- package/dist/{chunk-ERJS3ZDP.js → chunk-XVFV56JG.js} +2 -2
- package/dist/{connected-teams-ZRS53OAT.js → connected-teams-BNBM7OIC.js} +2 -2
- package/dist/{connected-teams-35EIRJCP.js → connected-teams-LSQ5TAZP.js} +2 -2
- package/dist/{coordinator-prompt-46JE4NQR.js → coordinator-prompt-VN7FF76K.js} +5 -5
- package/dist/{coordinator-prompt-6ICA54JR.js → coordinator-prompt-YYQSPLIP.js} +4 -4
- package/dist/{global-workspace-GSLCEB5E.js → global-workspace-BRIDCBMY.js} +6 -6
- package/dist/{global-workspace-OBRWUPZG.js → global-workspace-U3XVTQLL.js} +5 -5
- package/dist/index.cjs +235 -94
- package/dist/index.d.cts +32 -6
- package/dist/index.d.ts +32 -6
- package/dist/index.js +47 -33
- package/dist/mcp/run-stdio.cjs +532 -399
- package/dist/mcp/run-stdio.js +43 -36
- package/dist/{run-V2WZUMJA.js → run-CFKZPY7F.js} +1 -1
- package/dist/{run-A4RHY7HH.js → run-XKTAJRWF.js} +1 -1
- package/dist/{workspaces-RJIWQB6J.js → workspaces-AIZDG6PS.js} +6 -6
- package/dist/{workspaces-7B3PTEF4.js → workspaces-IWQIWAMQ.js} +7 -7
- package/dist/{worktree-U3UIID2K.js → worktree-6ZALJUWG.js} +3 -3
- package/dist/{worktree-HSN5LWY6.js → worktree-7Y22WHR7.js} +4 -4
- package/package.json +1 -1
|
@@ -1,28 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isOrchestratorThread
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JTHWVYSD.js";
|
|
4
4
|
import {
|
|
5
5
|
applyConnectedTeamToCli,
|
|
6
6
|
brightsyMcpServerName,
|
|
7
7
|
ensureCliTeamTracked,
|
|
8
8
|
ensureConnectedBrightsyTeamTokens,
|
|
9
9
|
loadBrightsyConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HHTHF5BQ.js";
|
|
11
11
|
import {
|
|
12
12
|
extractJsonErrorMessage,
|
|
13
13
|
formatUnknownDetail,
|
|
14
14
|
looksLikeAgentFailureMessage,
|
|
15
15
|
parseCursorRunnerLine
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CBJSPTBG.js";
|
|
17
|
+
import {
|
|
18
|
+
codexUnattendedGitConfigArgs,
|
|
19
|
+
resolveAgentGitAuthEnv
|
|
20
|
+
} from "./chunk-KRAUS3RF.js";
|
|
17
21
|
import {
|
|
18
22
|
claudeChromeEnabled,
|
|
19
23
|
loadAppSettings,
|
|
20
24
|
resolveAgentExecutable,
|
|
21
25
|
resolveClaudeExecutable
|
|
22
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-I3FRXL7J.js";
|
|
23
27
|
import {
|
|
28
|
+
isStrippedElectronLaunch,
|
|
24
29
|
wrapElectronAsNodeLaunch
|
|
25
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-5KLC2MWZ.js";
|
|
26
31
|
import {
|
|
27
32
|
appDataDir
|
|
28
33
|
} from "./chunk-M37RITA6.js";
|
|
@@ -32,7 +37,7 @@ import {
|
|
|
32
37
|
resolveCommandBinarySync,
|
|
33
38
|
run,
|
|
34
39
|
withExportedPath
|
|
35
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-LGXBYZZA.js";
|
|
36
41
|
|
|
37
42
|
// src/agents/brightsy.ts
|
|
38
43
|
import { existsSync } from "fs";
|
|
@@ -536,7 +541,12 @@ function applyNodeLaunch(launch, args) {
|
|
|
536
541
|
return { file: launch.file, args, env: launch.env };
|
|
537
542
|
}
|
|
538
543
|
const wrapped = wrapElectronAsNodeLaunch(launch.file, args);
|
|
539
|
-
|
|
544
|
+
if (process.platform === "win32") {
|
|
545
|
+
return { file: wrapped.file, args: wrapped.args, env: launch.env };
|
|
546
|
+
}
|
|
547
|
+
const env = { ...launch.env };
|
|
548
|
+
delete env.ELECTRON_RUN_AS_NODE;
|
|
549
|
+
return { file: wrapped.file, args: wrapped.args, env };
|
|
540
550
|
}
|
|
541
551
|
async function resolveNodeLaunch(scriptPath) {
|
|
542
552
|
if (isAsarPath(scriptPath)) {
|
|
@@ -730,6 +740,10 @@ async function buildInjectedMcpServers(opts) {
|
|
|
730
740
|
if (orchId) {
|
|
731
741
|
sideboard.env.SIDEBOARD_ORCHESTRATOR_THREAD_ID = orchId;
|
|
732
742
|
}
|
|
743
|
+
try {
|
|
744
|
+
Object.assign(sideboard.env, await resolveAgentGitAuthEnv(sideboard.env));
|
|
745
|
+
} catch {
|
|
746
|
+
}
|
|
733
747
|
servers.push(sideboard);
|
|
734
748
|
}
|
|
735
749
|
if (opts.includeBrightsy && isBrightsyConnected()) {
|
|
@@ -752,10 +766,19 @@ async function buildInjectedMcpServers(opts) {
|
|
|
752
766
|
function toCursorMcpServers(servers) {
|
|
753
767
|
const out = {};
|
|
754
768
|
for (const s of servers) {
|
|
769
|
+
const env = s.env ? { ...s.env } : void 0;
|
|
770
|
+
if (env) delete env.ELECTRON_RUN_AS_NODE;
|
|
771
|
+
let command = s.command;
|
|
772
|
+
let args = s.args;
|
|
773
|
+
if (process.platform !== "win32" && !isStrippedElectronLaunch(command, args)) {
|
|
774
|
+
const wrapped = wrapElectronAsNodeLaunch(command, args ?? []);
|
|
775
|
+
command = wrapped.file;
|
|
776
|
+
args = wrapped.args;
|
|
777
|
+
}
|
|
755
778
|
out[s.name] = {
|
|
756
|
-
command
|
|
757
|
-
...
|
|
758
|
-
...
|
|
779
|
+
command,
|
|
780
|
+
...args && args.length > 0 ? { args } : {},
|
|
781
|
+
...env && Object.keys(env).length > 0 ? { env } : {}
|
|
759
782
|
};
|
|
760
783
|
}
|
|
761
784
|
return out;
|
|
@@ -1002,7 +1025,7 @@ var claudeAdapter = {
|
|
|
1002
1025
|
);
|
|
1003
1026
|
}
|
|
1004
1027
|
const mode = permissionMode(thread);
|
|
1005
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
1028
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-BRIDCBMY.js");
|
|
1006
1029
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
1007
1030
|
const injectedServers = await buildInjectedMcpServers({
|
|
1008
1031
|
includeSideboard: true,
|
|
@@ -1384,6 +1407,8 @@ var codexAdapter = {
|
|
|
1384
1407
|
// `codex exec` rejects `--ask-for-approval` (global-only on newer CLIs).
|
|
1385
1408
|
"-c",
|
|
1386
1409
|
'approval_policy="never"',
|
|
1410
|
+
// Seatbelt cannot use the login Keychain; default policy also strips GH_TOKEN.
|
|
1411
|
+
...codexUnattendedGitConfigArgs(mode.codexSandbox),
|
|
1387
1412
|
...model ? ["--model", model] : [],
|
|
1388
1413
|
...mcpOverrides
|
|
1389
1414
|
];
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
ensureConnectedBrightsyTeamTokens,
|
|
8
8
|
getConnectedBrightsyTeamsRaw,
|
|
9
9
|
listConnectedBrightsyTeams
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HHTHF5BQ.js";
|
|
11
11
|
import "./chunk-M37RITA6.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-LGXBYZZA.js";
|
|
13
13
|
export {
|
|
14
14
|
applyConnectedTeamToCli,
|
|
15
15
|
brightsyMcpServerName,
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
ensureConnectedBrightsyTeamTokens,
|
|
10
10
|
getConnectedBrightsyTeamsRaw,
|
|
11
11
|
listConnectedBrightsyTeams
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-AE5VBOFE.js";
|
|
12
|
+
} from "./chunk-6K5VAPVR.js";
|
|
14
13
|
import "./chunk-7MV3RXSC.js";
|
|
14
|
+
import "./chunk-3KETJKYA.js";
|
|
15
15
|
export {
|
|
16
16
|
applyConnectedTeamToCli,
|
|
17
17
|
brightsyMcpServerName,
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
enrichWorkspacesWithGithub,
|
|
8
8
|
ensureGlobalCoordinatorCwd,
|
|
9
9
|
formatWorkspaceInventory
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-SH75CXJR.js";
|
|
11
|
+
import "./chunk-KRAUS3RF.js";
|
|
12
12
|
import "./chunk-FKOIHGKV.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-I3FRXL7J.js";
|
|
14
|
+
import "./chunk-5KLC2MWZ.js";
|
|
15
15
|
import "./chunk-JT7R45JB.js";
|
|
16
16
|
import "./chunk-FWJYLBO6.js";
|
|
17
17
|
import "./chunk-77WWLBCI.js";
|
|
18
18
|
import "./chunk-M37RITA6.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-LGXBYZZA.js";
|
|
20
20
|
export {
|
|
21
21
|
COORDINATOR_TOOL_PLAYBOOK,
|
|
22
22
|
SLACK_REPLY_FORMATTING,
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
enrichWorkspacesWithGithub,
|
|
10
10
|
ensureGlobalCoordinatorCwd,
|
|
11
11
|
formatWorkspaceInventory
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-XVFV56JG.js";
|
|
13
|
+
import "./chunk-6WQAYBVE.js";
|
|
14
14
|
import "./chunk-B3SJXYIJ.js";
|
|
15
15
|
import "./chunk-7FD7COKE.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-UHGN4KCL.js";
|
|
16
|
+
import "./chunk-AY53MPDE.js";
|
|
18
17
|
import "./chunk-NSTQ6QKD.js";
|
|
19
18
|
import "./chunk-KGZBYWZ3.js";
|
|
20
19
|
import "./chunk-7MV3RXSC.js";
|
|
20
|
+
import "./chunk-3KETJKYA.js";
|
|
21
21
|
export {
|
|
22
22
|
COORDINATOR_TOOL_PLAYBOOK,
|
|
23
23
|
SLACK_REPLY_FORMATTING,
|
|
@@ -14,19 +14,19 @@ import {
|
|
|
14
14
|
orchestratorSessionPoisonedByBuiltins,
|
|
15
15
|
slackCoordinatorSourceRef,
|
|
16
16
|
takenTeamSlugsForOrchestration
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-JTHWVYSD.js";
|
|
18
|
+
import "./chunk-SH75CXJR.js";
|
|
19
|
+
import "./chunk-KRAUS3RF.js";
|
|
20
20
|
import "./chunk-FKOIHGKV.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-I3FRXL7J.js";
|
|
22
|
+
import "./chunk-5KLC2MWZ.js";
|
|
23
23
|
import "./chunk-JT7R45JB.js";
|
|
24
24
|
import "./chunk-FWJYLBO6.js";
|
|
25
25
|
import "./chunk-77WWLBCI.js";
|
|
26
26
|
import {
|
|
27
27
|
globalAgentCwd
|
|
28
28
|
} from "./chunk-M37RITA6.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-LGXBYZZA.js";
|
|
30
30
|
export {
|
|
31
31
|
GLOBAL_WORKSPACE_ID,
|
|
32
32
|
createGlobalChat,
|
|
@@ -16,18 +16,18 @@ import {
|
|
|
16
16
|
orchestratorSessionPoisonedByBuiltins,
|
|
17
17
|
slackCoordinatorSourceRef,
|
|
18
18
|
takenTeamSlugsForOrchestration
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-6GKDYUTJ.js";
|
|
20
|
+
import "./chunk-XVFV56JG.js";
|
|
21
|
+
import "./chunk-6WQAYBVE.js";
|
|
22
22
|
import "./chunk-B3SJXYIJ.js";
|
|
23
23
|
import "./chunk-7FD7COKE.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-UHGN4KCL.js";
|
|
24
|
+
import "./chunk-AY53MPDE.js";
|
|
26
25
|
import "./chunk-NSTQ6QKD.js";
|
|
27
26
|
import "./chunk-KGZBYWZ3.js";
|
|
28
27
|
import {
|
|
29
28
|
globalAgentCwd
|
|
30
29
|
} from "./chunk-7MV3RXSC.js";
|
|
30
|
+
import "./chunk-3KETJKYA.js";
|
|
31
31
|
export {
|
|
32
32
|
GLOBAL_WORKSPACE_ID,
|
|
33
33
|
createGlobalChat,
|