@sideboard-ai/core 0.1.139 → 0.1.143
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-VTP4JR63.js → abletime-DI55AJX3.js} +2 -2
- package/dist/{abletime-DDTV7WO3.js → abletime-QEVAE67D.js} +2 -2
- package/dist/agents/cursor-runner.cjs +0 -0
- package/dist/agents/cursor-runner.js +1 -1
- package/dist/{agents-665S7Z3R.js → agents-E5AAMHDY.js} +11 -7
- package/dist/{agents-OC3XM7UE.js → agents-OEEOIKUB.js} +10 -6
- package/dist/{app-settings-U5RZKUXG.js → app-settings-WJDCJFSY.js} +3 -1
- package/dist/{app-settings-YQ7YX2CC.js → app-settings-ZCN632OJ.js} +3 -1
- package/dist/caffeinate-hold-NBRUWYXO.js +0 -0
- package/dist/{chunk-HLIHBGVO.js → chunk-4D4PEBGB.js} +2 -2
- package/dist/{chunk-DJJ3DTT4.js → chunk-4Q45TLZ5.js} +7 -7
- package/dist/chunk-6GN5WPYZ.js +0 -0
- package/dist/chunk-B3SJXYIJ.js +0 -0
- package/dist/chunk-BD2ICC4D.js +0 -0
- package/dist/{chunk-GKKHXZCT.js → chunk-BGQBELGJ.js} +201 -2
- package/dist/{chunk-2XXAAIN3.js → chunk-BOD5V52W.js} +1 -1
- package/dist/{chunk-23KCPND2.js → chunk-CG25RYQQ.js} +47 -40
- package/dist/{chunk-YZQEJOAU.js → chunk-EAP4SMR3.js} +342 -36
- package/dist/chunk-ED4UPEJX.js +0 -0
- package/dist/chunk-EUXOHTUK.js +0 -0
- package/dist/{chunk-5XH5M6RA.js → chunk-FADNFPZO.js} +3 -3
- package/dist/{chunk-SSBM4GZX.js → chunk-HC5N3BDL.js} +2 -2
- package/dist/{chunk-GJBHOJCZ.js → chunk-I77RYPOH.js} +201 -2
- package/dist/chunk-KGZBYWZ3.js +0 -0
- package/dist/chunk-KLBOWJ74.js +0 -0
- package/dist/{chunk-ZCLHAOFR.js → chunk-KP4OJUPH.js} +551 -39
- package/dist/chunk-KPIYENTF.js +0 -0
- package/dist/chunk-N5PM7HGQ.js +0 -0
- package/dist/chunk-NSTQ6QKD.js +0 -0
- package/dist/{chunk-DKXZCIB2.js → chunk-O3JEC2UJ.js} +7 -7
- package/dist/{chunk-RTX3AY42.js → chunk-OHWN4JEL.js} +5 -3
- package/dist/{chunk-E2RE7P2S.js → chunk-R2W7A2UO.js} +3 -3
- package/dist/chunk-S42XV45P.js +0 -0
- package/dist/{chunk-7SYFWPOZ.js → chunk-UG5N7ET3.js} +5 -3
- package/dist/{chunk-CDJISVKN.js → chunk-VHTIHOHE.js} +47 -41
- package/dist/{chunk-AT346U23.js → chunk-VZJVKQHH.js} +1 -1
- package/dist/{chunk-FSCQXMGI.js → chunk-WT5HSFOU.js} +1 -0
- package/dist/connected-teams-IJUJQ7R6.js +0 -0
- package/dist/{coordinator-prompt-43O6EPA2.js → coordinator-prompt-2LD3C74O.js} +3 -3
- package/dist/{coordinator-prompt-4TXU6Q3R.js → coordinator-prompt-FBX7Y4EM.js} +3 -3
- package/dist/cursor-recover-NOQYOFRF.js +0 -0
- package/dist/{global-workspace-ZDYKHQ4O.js → global-workspace-NG7SU3GV.js} +4 -4
- package/dist/{global-workspace-VIU57E3Y.js → global-workspace-OCV77UYF.js} +4 -4
- package/dist/index.cjs +945 -129
- package/dist/index.d.cts +249 -62
- package/dist/index.d.ts +249 -62
- package/dist/index.js +110 -14
- package/dist/mcp/run-stdio.cjs +646 -112
- package/dist/mcp/run-stdio.js +12 -12
- package/dist/oauth-YJBAURIJ.js +0 -0
- package/dist/{orchestrator-ZCMYSDTC.js → orchestrator-TDJZKQPT.js} +7 -7
- package/dist/{orchestrator-WEFXUHFX.js → orchestrator-VIFXOHF4.js} +8 -8
- package/dist/paths-QCI3MTO5.js +0 -0
- package/dist/plan-file-PHVKUAEE.js +0 -0
- package/dist/run-USF6FRKV.js +0 -0
- package/dist/thread-store-57ZLHR3A.js +0 -0
- package/dist/title-4WAKWZRF.js +0 -0
- package/dist/{workspaces-4HYGNH4B.js → workspaces-4FUQW5LD.js} +5 -5
- package/dist/{workspaces-ALCTB65T.js → workspaces-PU5YHQ7Z.js} +5 -5
- package/dist/{worktree-GXD2NGOZ.js → worktree-GKLPPNWR.js} +2 -2
- package/dist/{worktree-NSNZODAM.js → worktree-Z22HTSCU.js} +2 -2
- package/package.json +9 -8
- package/LICENSE +0 -190
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
} from "./chunk-S42XV45P.js";
|
|
12
12
|
import {
|
|
13
13
|
isOrchestratorThread
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FADNFPZO.js";
|
|
15
15
|
import {
|
|
16
16
|
codexUnattendedGitConfigArgs,
|
|
17
17
|
mergeAgentGitAuthEnv,
|
|
18
18
|
resolveAgentGitAuthEnv,
|
|
19
19
|
resolveCodexGitWritableRoots
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4Q45TLZ5.js";
|
|
21
21
|
import {
|
|
22
22
|
enrichPathWithNpmGlobalBin,
|
|
23
23
|
isConductorBundledCli,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
resolveClaudeExecutable,
|
|
34
34
|
unwrapStrippedElectronLaunch,
|
|
35
35
|
wrapElectronAsNodeLaunch
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-BGQBELGJ.js";
|
|
37
37
|
import {
|
|
38
38
|
appDataDir
|
|
39
39
|
} from "./chunk-BD2ICC4D.js";
|
|
@@ -2085,7 +2085,7 @@ var claudeAdapter = {
|
|
|
2085
2085
|
);
|
|
2086
2086
|
}
|
|
2087
2087
|
const mode = permissionMode(thread);
|
|
2088
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
2088
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-OCV77UYF.js");
|
|
2089
2089
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
2090
2090
|
const injectedServers = await buildInjectedMcpServers({
|
|
2091
2091
|
includeSideboard: true,
|
|
@@ -3787,61 +3787,41 @@ async function openInSystemTerminal(command) {
|
|
|
3787
3787
|
`No terminal found to run: ${trimmed}. Install gnome-terminal (or similar), or run the command manually.`
|
|
3788
3788
|
);
|
|
3789
3789
|
}
|
|
3790
|
-
async function
|
|
3790
|
+
async function whichOnPath(bin) {
|
|
3791
3791
|
const which = await run("which", [bin], { reject: false, timeoutMs: 3e3 });
|
|
3792
3792
|
if (which.exitCode !== 0) return null;
|
|
3793
3793
|
return which.stdout.trim().split(/\r?\n/).find(Boolean) ?? null;
|
|
3794
3794
|
}
|
|
3795
|
-
async function
|
|
3796
|
-
const info = getAgentSetupInfo(agent);
|
|
3797
|
-
if (info.kind === "bundled-sdk" || info.kind === "api-key") {
|
|
3798
|
-
return {
|
|
3799
|
-
ok: true,
|
|
3800
|
-
message: info.summary
|
|
3801
|
-
};
|
|
3802
|
-
}
|
|
3803
|
-
if (!info.installCommand) {
|
|
3804
|
-
return { ok: false, message: `No install command for ${agent}` };
|
|
3805
|
-
}
|
|
3806
|
-
if (/curl\s| \|\s*bash/.test(info.installCommand) || !info.npmPackage) {
|
|
3807
|
-
await openInSystemTerminal(info.installCommand);
|
|
3808
|
-
return {
|
|
3809
|
-
ok: true,
|
|
3810
|
-
openedTerminal: true,
|
|
3811
|
-
command: info.installCommand,
|
|
3812
|
-
message: `Opened Terminal to run: ${info.installCommand}`
|
|
3813
|
-
};
|
|
3814
|
-
}
|
|
3795
|
+
async function installNpmGlobalPackage(opts) {
|
|
3815
3796
|
enrichPathWithNpmGlobalBin();
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
const existing = await whichCli(cliBin);
|
|
3797
|
+
if (opts.cliBin) {
|
|
3798
|
+
const existing = await whichOnPath(opts.cliBin);
|
|
3819
3799
|
if (existing) {
|
|
3820
3800
|
return {
|
|
3821
3801
|
ok: true,
|
|
3822
3802
|
command: existing,
|
|
3823
|
-
message: isConductorBundledCli(existing) ? `Using Conductor\u2019s ${cliBin} at ${existing}. No extra install \u2014 Log in only if auth is missing.` : `Already on PATH: ${existing}`
|
|
3803
|
+
message: isConductorBundledCli(existing) ? `Using Conductor\u2019s ${opts.cliBin} at ${existing}. No extra install \u2014 Log in only if auth is missing.` : `Already on PATH: ${existing}`
|
|
3824
3804
|
};
|
|
3825
3805
|
}
|
|
3826
3806
|
}
|
|
3827
|
-
const result = await run("npm", ["install", "-g",
|
|
3807
|
+
const result = await run("npm", ["install", "-g", opts.npmPackage], { reject: false });
|
|
3828
3808
|
const ok = result.exitCode === 0;
|
|
3829
3809
|
if (!ok) {
|
|
3830
3810
|
try {
|
|
3831
|
-
await openInSystemTerminal(
|
|
3811
|
+
await openInSystemTerminal(opts.installCommand);
|
|
3832
3812
|
return {
|
|
3833
3813
|
ok: false,
|
|
3834
3814
|
openedTerminal: true,
|
|
3835
|
-
command:
|
|
3815
|
+
command: opts.installCommand,
|
|
3836
3816
|
exitCode: result.exitCode,
|
|
3837
3817
|
stdout: result.stdout,
|
|
3838
3818
|
stderr: result.stderr,
|
|
3839
|
-
message: `npm install failed (exit ${result.exitCode}). Opened Terminal with: ${
|
|
3819
|
+
message: `npm install failed (exit ${result.exitCode}). Opened Terminal with: ${opts.installCommand}`
|
|
3840
3820
|
};
|
|
3841
3821
|
} catch {
|
|
3842
3822
|
return {
|
|
3843
3823
|
ok: false,
|
|
3844
|
-
command:
|
|
3824
|
+
command: opts.installCommand,
|
|
3845
3825
|
exitCode: result.exitCode,
|
|
3846
3826
|
stdout: result.stdout,
|
|
3847
3827
|
stderr: result.stderr,
|
|
@@ -3850,19 +3830,43 @@ async function installAgent(agent) {
|
|
|
3850
3830
|
}
|
|
3851
3831
|
}
|
|
3852
3832
|
enrichPathWithNpmGlobalBin();
|
|
3853
|
-
|
|
3854
|
-
if (cliBin) {
|
|
3855
|
-
binPath = await whichCli(cliBin);
|
|
3856
|
-
}
|
|
3833
|
+
const binPath = opts.cliBin ? await whichOnPath(opts.cliBin) : null;
|
|
3857
3834
|
return {
|
|
3858
3835
|
ok: true,
|
|
3859
|
-
command:
|
|
3836
|
+
command: opts.installCommand,
|
|
3860
3837
|
exitCode: 0,
|
|
3861
3838
|
stdout: result.stdout,
|
|
3862
3839
|
stderr: result.stderr,
|
|
3863
|
-
message: binPath ? `Installed ${
|
|
3840
|
+
message: binPath ? `Installed ${opts.npmPackage} \u2192 ${binPath}` : `Installed ${opts.npmPackage} (CLI not yet on PATH)`
|
|
3864
3841
|
};
|
|
3865
3842
|
}
|
|
3843
|
+
async function installAgent(agent) {
|
|
3844
|
+
const info = getAgentSetupInfo(agent);
|
|
3845
|
+
if (info.kind === "bundled-sdk" || info.kind === "api-key") {
|
|
3846
|
+
return {
|
|
3847
|
+
ok: true,
|
|
3848
|
+
message: info.summary
|
|
3849
|
+
};
|
|
3850
|
+
}
|
|
3851
|
+
if (!info.installCommand) {
|
|
3852
|
+
return { ok: false, message: `No install command for ${agent}` };
|
|
3853
|
+
}
|
|
3854
|
+
if (/curl\s| \|\s*bash/.test(info.installCommand) || !info.npmPackage) {
|
|
3855
|
+
await openInSystemTerminal(info.installCommand);
|
|
3856
|
+
return {
|
|
3857
|
+
ok: true,
|
|
3858
|
+
openedTerminal: true,
|
|
3859
|
+
command: info.installCommand,
|
|
3860
|
+
message: `Opened Terminal to run: ${info.installCommand}`
|
|
3861
|
+
};
|
|
3862
|
+
}
|
|
3863
|
+
const cliBin = agent === "cursor" ? null : CLI_BIN[agent];
|
|
3864
|
+
return installNpmGlobalPackage({
|
|
3865
|
+
npmPackage: info.npmPackage,
|
|
3866
|
+
installCommand: info.installCommand,
|
|
3867
|
+
cliBin
|
|
3868
|
+
});
|
|
3869
|
+
}
|
|
3866
3870
|
async function loginAgent(agent) {
|
|
3867
3871
|
const info = getAgentSetupInfo(agent);
|
|
3868
3872
|
const loginCommand = resolveLoginCommand(agent);
|
|
@@ -3927,6 +3931,7 @@ export {
|
|
|
3927
3931
|
finalizeParts,
|
|
3928
3932
|
normalizeParseResult,
|
|
3929
3933
|
sideboardMcpProfile,
|
|
3934
|
+
packagedMcpDir,
|
|
3930
3935
|
applyAgentRunnerHeapEnv,
|
|
3931
3936
|
PLAN_MODE_INSTRUCTION,
|
|
3932
3937
|
permissionMode,
|
|
@@ -3953,6 +3958,8 @@ export {
|
|
|
3953
3958
|
resolveLoginCommand,
|
|
3954
3959
|
prepareTerminalCommand,
|
|
3955
3960
|
openInSystemTerminal,
|
|
3961
|
+
whichOnPath,
|
|
3962
|
+
installNpmGlobalPackage,
|
|
3956
3963
|
installAgent,
|
|
3957
3964
|
loginAgent,
|
|
3958
3965
|
getAdapter,
|