@sideboard-ai/core 0.1.44 → 0.1.45
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.js +1 -1
- package/dist/{agents-PP3URTSF.js → agents-JSHCAZUZ.js} +15 -5
- package/dist/{app-settings-ZKVZHJPQ.js → app-settings-LYGVDGZY.js} +5 -1
- package/dist/{chunk-JM2TVGNW.js → chunk-6NAPN2N5.js} +4 -1
- package/dist/{chunk-XX26NCB6.js → chunk-ANZ566Z5.js} +184 -3
- package/dist/{chunk-7PCTK4WO.js → chunk-FV6FN6V5.js} +1 -1
- package/dist/{chunk-V3S4NF5F.js → chunk-I6QGZOOS.js} +392 -29
- package/dist/{chunk-PU27NUO4.js → chunk-J5JTEJ5O.js} +7 -2
- package/dist/{chunk-ENSD62HW.js → chunk-O6W3P7V3.js} +3 -1
- package/dist/{chunk-TXFJEXFB.js → chunk-U3EQKJHA.js} +2 -2
- package/dist/{chunk-FSIK442J.js → chunk-WYY3J7GR.js} +21 -0
- package/dist/{chunk-I3PKMLFW.js → chunk-ZNSM2DDD.js} +3 -3
- package/dist/{coordinator-prompt-I5YNS27B.js → coordinator-prompt-2XFYG3C5.js} +3 -3
- package/dist/{global-workspace-FU6UIPDY.js → global-workspace-YFOQUGWD.js} +4 -4
- package/dist/index.cjs +619 -13
- package/dist/index.d.cts +76 -2
- package/dist/index.d.ts +76 -2
- package/dist/index.js +23 -9
- package/dist/mcp/run-stdio.cjs +615 -23
- package/dist/mcp/run-stdio.js +9 -9
- package/dist/{thread-store-EHROA3VZ.js → thread-store-OV2X6PYO.js} +1 -1
- package/dist/{workspaces-RSEDTBGJ.js → workspaces-TIKLNDW3.js} +5 -5
- package/dist/{worktree-N4PRV4V3.js → worktree-TEDAJ57S.js} +2 -2
- package/package.json +1 -1
|
@@ -130,6 +130,12 @@ function normalizeAdvanced(raw) {
|
|
|
130
130
|
if (typeof source.autoCleanupOrphans === "boolean") {
|
|
131
131
|
out.autoCleanupOrphans = source.autoCleanupOrphans;
|
|
132
132
|
}
|
|
133
|
+
if (source.orchestrationQuotaOnLimit === "switch_agent" || source.orchestrationQuotaOnLimit === "wait_reset") {
|
|
134
|
+
out.orchestrationQuotaOnLimit = source.orchestrationQuotaOnLimit;
|
|
135
|
+
}
|
|
136
|
+
if (typeof source.orchestrationQuotaFallbackAgent === "string" && DEFAULT_AGENTS.has(source.orchestrationQuotaFallbackAgent)) {
|
|
137
|
+
out.orchestrationQuotaFallbackAgent = source.orchestrationQuotaFallbackAgent;
|
|
138
|
+
}
|
|
133
139
|
return out;
|
|
134
140
|
}
|
|
135
141
|
function normalizeSettings(raw) {
|
|
@@ -372,6 +378,12 @@ function updateAdvancedSettings(patch) {
|
|
|
372
378
|
if (typeof patch.autoCleanupOrphans === "boolean") {
|
|
373
379
|
advanced.autoCleanupOrphans = patch.autoCleanupOrphans;
|
|
374
380
|
}
|
|
381
|
+
if (patch.orchestrationQuotaOnLimit === "switch_agent" || patch.orchestrationQuotaOnLimit === "wait_reset") {
|
|
382
|
+
advanced.orchestrationQuotaOnLimit = patch.orchestrationQuotaOnLimit;
|
|
383
|
+
}
|
|
384
|
+
if (typeof patch.orchestrationQuotaFallbackAgent === "string" && DEFAULT_AGENTS.has(patch.orchestrationQuotaFallbackAgent)) {
|
|
385
|
+
advanced.orchestrationQuotaFallbackAgent = patch.orchestrationQuotaFallbackAgent;
|
|
386
|
+
}
|
|
375
387
|
return saveAppSettings({ ...current, advanced });
|
|
376
388
|
}
|
|
377
389
|
function autoRenameBranchEnabled(settings = loadAppSettings()) {
|
|
@@ -392,6 +404,13 @@ function deleteBranchOnPurgeEnabled(settings = loadAppSettings()) {
|
|
|
392
404
|
function autoCleanupOrphansEnabled(settings = loadAppSettings()) {
|
|
393
405
|
return Boolean(settings.advanced.autoCleanupOrphans);
|
|
394
406
|
}
|
|
407
|
+
function orchestrationQuotaOnLimit(settings = loadAppSettings()) {
|
|
408
|
+
return settings.advanced.orchestrationQuotaOnLimit ?? "switch_agent";
|
|
409
|
+
}
|
|
410
|
+
function orchestrationQuotaFallbackAgent(settings = loadAppSettings()) {
|
|
411
|
+
const preferred = settings.advanced.orchestrationQuotaFallbackAgent;
|
|
412
|
+
return preferred && DEFAULT_AGENTS.has(preferred) ? preferred : "cursor";
|
|
413
|
+
}
|
|
395
414
|
function maxConcurrentAgents(settings = loadAppSettings()) {
|
|
396
415
|
const n = settings.advanced.maxConcurrent;
|
|
397
416
|
if (typeof n === "number" && Number.isFinite(n)) {
|
|
@@ -459,6 +478,8 @@ export {
|
|
|
459
478
|
caffeinateWhileCloudConnectEnabled,
|
|
460
479
|
deleteBranchOnPurgeEnabled,
|
|
461
480
|
autoCleanupOrphansEnabled,
|
|
481
|
+
orchestrationQuotaOnLimit,
|
|
482
|
+
orchestrationQuotaFallbackAgent,
|
|
462
483
|
maxConcurrentAgents,
|
|
463
484
|
resolveClaudeExecutable,
|
|
464
485
|
claudeChromeEnabled,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureGlobalCoordinatorCwd
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6NAPN2N5.js";
|
|
4
4
|
import {
|
|
5
5
|
allocateTeamName,
|
|
6
6
|
takenSlugsFromThread,
|
|
7
7
|
teamSlugFromName
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FV6FN6V5.js";
|
|
9
9
|
import {
|
|
10
10
|
createEmptyThread,
|
|
11
11
|
listThreads,
|
|
12
12
|
updateThread,
|
|
13
13
|
writeThread
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-O6W3P7V3.js";
|
|
15
15
|
import {
|
|
16
16
|
globalAgentCwd
|
|
17
17
|
} from "./chunk-M37RITA6.js";
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
enrichWorkspacesWithGithub,
|
|
7
7
|
ensureGlobalCoordinatorCwd,
|
|
8
8
|
formatWorkspaceInventory
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-6NAPN2N5.js";
|
|
10
|
+
import "./chunk-FV6FN6V5.js";
|
|
11
|
+
import "./chunk-O6W3P7V3.js";
|
|
12
12
|
import "./chunk-77WWLBCI.js";
|
|
13
13
|
import "./chunk-M37RITA6.js";
|
|
14
14
|
import "./chunk-AJ6ROGD7.js";
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
orchestrationTitleNeedsSoccerNickname,
|
|
12
12
|
orchestratorSessionPoisonedByBuiltins,
|
|
13
13
|
takenTeamSlugsForOrchestration
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-ZNSM2DDD.js";
|
|
15
|
+
import "./chunk-6NAPN2N5.js";
|
|
16
|
+
import "./chunk-FV6FN6V5.js";
|
|
17
|
+
import "./chunk-O6W3P7V3.js";
|
|
18
18
|
import "./chunk-77WWLBCI.js";
|
|
19
19
|
import {
|
|
20
20
|
globalAgentCwd
|