@sideboard-ai/core 0.1.311 → 0.1.312
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-XXXRQJJO.js → agents-IOJRGGK3.js} +1 -1
- package/dist/{agents-QIIZYNOM.js → agents-XDI6QHBA.js} +1 -1
- package/dist/{chunk-GQJOLTZU.js → chunk-2P2HYXA2.js} +620 -18
- package/dist/{chunk-4YBQBVYL.js → chunk-4FZUUH6W.js} +514 -22
- package/dist/{chunk-7ORMOP3D.js → chunk-LLTWP4PK.js} +12 -2
- package/dist/{chunk-2ER7DQJP.js → chunk-VIVXKN5N.js} +19 -3
- package/dist/index.cjs +743 -384
- package/dist/index.d.cts +42 -8
- package/dist/index.d.ts +42 -8
- package/dist/index.js +27 -216
- package/dist/mcp/run-stdio.cjs +759 -116
- package/dist/mcp/run-stdio.js +2 -2
- package/dist/{orchestrator-2CCFGYAA.js → orchestrator-BYTSILLH.js} +2 -2
- package/dist/{orchestrator-3W5S6TNP.js → orchestrator-S44BMNN7.js} +2 -2
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
parseSessionQuotaResetAt,
|
|
15
15
|
planModeTurnInstruction,
|
|
16
16
|
resolveQuotaFallbackAgent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4FZUUH6W.js";
|
|
18
18
|
import {
|
|
19
19
|
REVIEW_TAB_TITLE,
|
|
20
20
|
applyWorktreePkgCacheEnv,
|
|
@@ -1485,6 +1485,20 @@ function thisProcessShouldDrainAgentQueues() {
|
|
|
1485
1485
|
return !isDesktopHostAlive();
|
|
1486
1486
|
}
|
|
1487
1487
|
|
|
1488
|
+
// src/mcp-ui/model-context.ts
|
|
1489
|
+
function stashMcpAppModelContext(threadId, text3) {
|
|
1490
|
+
const body = text3.trim().slice(0, 8e3);
|
|
1491
|
+
if (!body) return;
|
|
1492
|
+
updateThread(threadId, { mcpAppModelContext: body });
|
|
1493
|
+
}
|
|
1494
|
+
function takeMcpAppModelContext(threadId) {
|
|
1495
|
+
const thread = readThread(threadId);
|
|
1496
|
+
const text3 = thread?.mcpAppModelContext?.trim();
|
|
1497
|
+
if (!text3) return void 0;
|
|
1498
|
+
updateThread(threadId, { mcpAppModelContext: null });
|
|
1499
|
+
return text3;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1488
1502
|
// src/agents/tool-permission.ts
|
|
1489
1503
|
import { randomUUID } from "crypto";
|
|
1490
1504
|
import { dirname } from "path";
|
|
@@ -3066,7 +3080,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
3066
3080
|
return readThread(thread.id) ?? thread;
|
|
3067
3081
|
}
|
|
3068
3082
|
async function listLinearIssues(agent, repoPath) {
|
|
3069
|
-
const { getAdapter: getAdapter2 } = await import("./agents-
|
|
3083
|
+
const { getAdapter: getAdapter2 } = await import("./agents-IOJRGGK3.js");
|
|
3070
3084
|
await requireAgent(agent, { requireLinear: true });
|
|
3071
3085
|
const adapter = getAdapter2(agent);
|
|
3072
3086
|
if (!adapter.listLinearIssues) {
|
|
@@ -6781,7 +6795,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
6781
6795
|
${prompt}`;
|
|
6782
6796
|
}
|
|
6783
6797
|
async function defaultDeps() {
|
|
6784
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
6798
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-BYTSILLH.js");
|
|
6785
6799
|
const orch = getOrchestrator2();
|
|
6786
6800
|
return {
|
|
6787
6801
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -7868,6 +7882,7 @@ ${formatEnvReminder(projectNameForRepoPath(thread.repoPath || thread.worktreePat
|
|
|
7868
7882
|
orchestrationReminder,
|
|
7869
7883
|
prGateDirective,
|
|
7870
7884
|
injectedNoticeContext,
|
|
7885
|
+
takeMcpAppModelContext(threadId),
|
|
7871
7886
|
expandedPrompt
|
|
7872
7887
|
].filter(Boolean).join("\n\n");
|
|
7873
7888
|
if (!autoContinue && sentAttachments) {
|
|
@@ -9764,6 +9779,7 @@ export {
|
|
|
9764
9779
|
shouldRunHistoryCleanup,
|
|
9765
9780
|
applyThreadIntoMain,
|
|
9766
9781
|
cloneRepoIntoSideboard,
|
|
9782
|
+
stashMcpAppModelContext,
|
|
9767
9783
|
connectedOrchestrator,
|
|
9768
9784
|
formatAskUserNotifyMessage,
|
|
9769
9785
|
formatNotifyOrchestratorPrompt,
|