@sideboard-ai/core 0.1.202 → 0.1.204
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-KGPD3UUJ.js → abletime-S3UHQZVW.js} +4 -2
- package/dist/{abletime-345SE3B4.js → abletime-TONBQP4O.js} +4 -2
- package/dist/abletime-oauth-AVCEO2DY.js +314 -0
- package/dist/abletime-oauth-SD4SZY5U.js +52 -0
- package/dist/abletime-rest-6ODSXV7G.js +25 -0
- package/dist/abletime-rest-J2OBB4VA.js +24 -0
- package/dist/agents/cursor-runner.js +1 -1
- package/dist/{agents-573ZDIX6.js → agents-67K4BQFJ.js} +4 -4
- package/dist/{agents-OXX3ONVY.js → agents-BVOJNHV6.js} +5 -5
- package/dist/{app-settings-V6IHESEQ.js → app-settings-LGHMNHSP.js} +1 -1
- package/dist/{app-settings-AXCURTZJ.js → app-settings-YEPF46IJ.js} +1 -1
- package/dist/chunk-3K257PCS.js +393 -0
- package/dist/{chunk-54RSAMBH.js → chunk-5SMS6QTO.js} +2 -2
- package/dist/chunk-6Q7DFVDQ.js +309 -0
- package/dist/chunk-CYLDJWRK.js +391 -0
- package/dist/{chunk-PGQGP4FD.js → chunk-FO2NTJ7L.js} +37 -219
- package/dist/{chunk-7NKY2OX7.js → chunk-FO45DMJ5.js} +125 -109
- package/dist/{chunk-CQ5R3VPP.js → chunk-KZ7PI7FE.js} +18 -0
- package/dist/{chunk-7AHAABKN.js → chunk-QAVWH2RQ.js} +37 -229
- package/dist/{chunk-CXFW5LIH.js → chunk-QFBBUFD4.js} +38 -3
- package/dist/{chunk-RPX6VDW7.js → chunk-QUW5D62C.js} +34 -20
- package/dist/chunk-SGUVAK66.js +262 -0
- package/dist/{chunk-27GGXX27.js → chunk-ULZLWQBS.js} +128 -112
- package/dist/{chunk-LJHC62LZ.js → chunk-VIPA75ZA.js} +2 -2
- package/dist/chunk-W6VM36YO.js +272 -0
- package/dist/{chunk-NIVF5NDN.js → chunk-WF33LOP4.js} +44 -6
- package/dist/{chunk-STPZQR5B.js → chunk-WVATAIF4.js} +34 -20
- package/dist/{chunk-ISV5IFH3.js → chunk-X743YN5Y.js} +38 -3
- package/dist/{chunk-A2TAKYSG.js → chunk-YOSTWSNC.js} +27 -7
- package/dist/{coordinator-prompt-BH4EHFOO.js → coordinator-prompt-NPT555BO.js} +3 -3
- package/dist/{coordinator-prompt-TY5FHAXC.js → coordinator-prompt-WEPXXLLX.js} +3 -3
- package/dist/{global-workspace-NLLAPQJI.js → global-workspace-2I2T7FL5.js} +3 -3
- package/dist/{global-workspace-5AZEEQRU.js → global-workspace-NSILADOM.js} +3 -3
- package/dist/index.cjs +1137 -213
- package/dist/index.d.cts +87 -13
- package/dist/index.d.ts +87 -13
- package/dist/index.js +94 -19
- package/dist/mcp/run-stdio.cjs +1023 -180
- package/dist/mcp/run-stdio.js +22 -20
- package/dist/{orchestrator-JNSQDRZI.js → orchestrator-CMAVNELS.js} +6 -6
- package/dist/{orchestrator-NCYKEI3E.js → orchestrator-I7GFXLHF.js} +6 -6
- package/dist/{workspaces-RP76JH3J.js → workspaces-BOC6M7BW.js} +3 -3
- package/dist/{workspaces-PEWYWVHZ.js → workspaces-RFGZBUAR.js} +3 -3
- package/dist/{worktree-72TZWUSH.js → worktree-G3ZLM4DC.js} +4 -2
- package/dist/{worktree-ZQEUKSNE.js → worktree-WSUQMMK4.js} +4 -2
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isOrchestratorThread
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VIPA75ZA.js";
|
|
4
4
|
import {
|
|
5
5
|
codexUnattendedGitConfigArgs,
|
|
6
6
|
mergeAgentGitAuthEnv,
|
|
7
7
|
resolveAgentGitAuthEnv,
|
|
8
8
|
resolveCodexGitWritableRoots
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WVATAIF4.js";
|
|
10
10
|
import {
|
|
11
11
|
applyConnectedTeamToCli,
|
|
12
12
|
brightsyMcpServerName,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
packagedMcpStdioPath,
|
|
34
34
|
parseCursorRunnerLine,
|
|
35
35
|
resolveNodeLaunch
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-KZ7PI7FE.js";
|
|
37
37
|
import {
|
|
38
38
|
claudeChromeEnabled,
|
|
39
39
|
isAbleTimeConnected,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
loadAppSettings,
|
|
42
42
|
resolveAgentExecutable,
|
|
43
43
|
resolveClaudeExecutable
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-QFBBUFD4.js";
|
|
45
45
|
import {
|
|
46
46
|
isElectronLikeCommand,
|
|
47
47
|
unwrapStrippedElectronLaunch
|
|
@@ -1937,7 +1937,7 @@ var claudeAdapter = {
|
|
|
1937
1937
|
);
|
|
1938
1938
|
}
|
|
1939
1939
|
const mode = permissionMode(thread);
|
|
1940
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
1940
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-NSILADOM.js");
|
|
1941
1941
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
1942
1942
|
const injectedServers = await buildInjectedMcpServers({
|
|
1943
1943
|
includeSideboard: true,
|
|
@@ -2333,7 +2333,18 @@ function toCodexDisableUserMcpArgs(names) {
|
|
|
2333
2333
|
return args;
|
|
2334
2334
|
}
|
|
2335
2335
|
function toCodexUnattendedAppsArgs() {
|
|
2336
|
-
return [
|
|
2336
|
+
return [
|
|
2337
|
+
"-c",
|
|
2338
|
+
"features.apps=false",
|
|
2339
|
+
"-c",
|
|
2340
|
+
"apps._default.enabled=false",
|
|
2341
|
+
"-c",
|
|
2342
|
+
"apps.posthog.enabled=false",
|
|
2343
|
+
"-c",
|
|
2344
|
+
"features.plugins=false",
|
|
2345
|
+
"-c",
|
|
2346
|
+
"mcp_servers.posthog.enabled=false"
|
|
2347
|
+
];
|
|
2337
2348
|
}
|
|
2338
2349
|
|
|
2339
2350
|
// src/agents/codex.ts
|
|
@@ -3727,11 +3738,14 @@ function staleOk(now) {
|
|
|
3727
3738
|
if (now - lastGood.at > CLAUDE_USAGE_STALE_OK_MS) return null;
|
|
3728
3739
|
return lastGood.value;
|
|
3729
3740
|
}
|
|
3741
|
+
function reuseLast() {
|
|
3742
|
+
return lastGood?.value ?? null;
|
|
3743
|
+
}
|
|
3730
3744
|
async function getClaudePlanUsage(opts = {}) {
|
|
3731
3745
|
const now = opts.now ?? Date.now();
|
|
3746
|
+
if (now < errorUntil) return reuseLast() ?? staleOk(now);
|
|
3732
3747
|
if (!opts.force) {
|
|
3733
3748
|
if (cache && now - cache.at < CLAUDE_USAGE_TTL_MS) return cache.value;
|
|
3734
|
-
if (now < errorUntil) return staleOk(now);
|
|
3735
3749
|
}
|
|
3736
3750
|
if (inflight) return inflight;
|
|
3737
3751
|
inflight = (async () => {
|
|
@@ -3762,6 +3776,12 @@ async function getClaudePlanUsage(opts = {}) {
|
|
|
3762
3776
|
cache = { at: now, value: null };
|
|
3763
3777
|
return null;
|
|
3764
3778
|
}
|
|
3779
|
+
if (res.status === 429) {
|
|
3780
|
+
errorUntil = now + CLAUDE_USAGE_ERROR_TTL_MS;
|
|
3781
|
+
const last = reuseLast();
|
|
3782
|
+
if (last) cache = { at: now, value: last };
|
|
3783
|
+
return last;
|
|
3784
|
+
}
|
|
3765
3785
|
if (!res.ok) {
|
|
3766
3786
|
errorUntil = now + CLAUDE_USAGE_ERROR_TTL_MS;
|
|
3767
3787
|
return staleOk(now);
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
enrichWorkspacesWithGithub,
|
|
10
10
|
ensureGlobalCoordinatorCwd,
|
|
11
11
|
formatWorkspaceInventory
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-5SMS6QTO.js";
|
|
13
|
+
import "./chunk-QUW5D62C.js";
|
|
14
14
|
import "./chunk-D6JWYJ4P.js";
|
|
15
15
|
import "./chunk-INNLWYXW.js";
|
|
16
16
|
import "./chunk-SYFVUF2C.js";
|
|
17
17
|
import "./chunk-FNQNJOHY.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-X743YN5Y.js";
|
|
19
19
|
import "./chunk-NSTQ6QKD.js";
|
|
20
20
|
import "./chunk-KGZBYWZ3.js";
|
|
21
21
|
import "./chunk-EQNRWDLN.js";
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
enrichWorkspacesWithGithub,
|
|
8
8
|
ensureGlobalCoordinatorCwd,
|
|
9
9
|
formatWorkspaceInventory
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-VIPA75ZA.js";
|
|
11
|
+
import "./chunk-WVATAIF4.js";
|
|
12
12
|
import "./chunk-6K64FJDD.js";
|
|
13
13
|
import "./chunk-QQKDGPUI.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-QFBBUFD4.js";
|
|
15
15
|
import "./chunk-4TR3HZFT.js";
|
|
16
16
|
import "./chunk-WDRMZKVB.js";
|
|
17
17
|
import "./chunk-JT7R45JB.js";
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
orchestratorSessionPoisonedByBuiltins,
|
|
18
18
|
slackCoordinatorSourceRef,
|
|
19
19
|
takenTeamSlugsForOrchestration
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-5SMS6QTO.js";
|
|
21
|
+
import "./chunk-QUW5D62C.js";
|
|
22
22
|
import "./chunk-D6JWYJ4P.js";
|
|
23
23
|
import "./chunk-INNLWYXW.js";
|
|
24
24
|
import "./chunk-SYFVUF2C.js";
|
|
25
25
|
import "./chunk-FNQNJOHY.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-X743YN5Y.js";
|
|
27
27
|
import "./chunk-NSTQ6QKD.js";
|
|
28
28
|
import "./chunk-KGZBYWZ3.js";
|
|
29
29
|
import {
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
orchestratorSessionPoisonedByBuiltins,
|
|
16
16
|
slackCoordinatorSourceRef,
|
|
17
17
|
takenTeamSlugsForOrchestration
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-VIPA75ZA.js";
|
|
19
|
+
import "./chunk-WVATAIF4.js";
|
|
20
20
|
import "./chunk-6K64FJDD.js";
|
|
21
21
|
import "./chunk-QQKDGPUI.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-QFBBUFD4.js";
|
|
23
23
|
import "./chunk-4TR3HZFT.js";
|
|
24
24
|
import "./chunk-WDRMZKVB.js";
|
|
25
25
|
import "./chunk-JT7R45JB.js";
|