@sideboard-ai/core 0.1.157 → 0.1.158
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-LCDXN2B2.js → agents-E3ZPWZRS.js} +1 -1
- package/dist/{agents-C55LAEUR.js → agents-RGE7PSUY.js} +4 -4
- package/dist/{chunk-4I4VKAPZ.js → chunk-3SUZMPGL.js} +2 -2
- package/dist/{chunk-NVXVEGGM.js → chunk-5U4NZLBH.js} +4 -0
- package/dist/{chunk-CJQLPPEJ.js → chunk-A7QXLYBN.js} +1 -1
- package/dist/{chunk-TIJ6QVX5.js → chunk-BLRHO7XQ.js} +7 -2
- package/dist/{chunk-KQ4JOGUH.js → chunk-EPQIOAAY.js} +8 -4
- package/dist/{chunk-SUCJAWV4.js → chunk-FBFIOVDH.js} +375 -105
- package/dist/{chunk-2SDMENAL.js → chunk-JV4VNFMS.js} +1 -1
- package/dist/{chunk-GWEEGE6L.js → chunk-KYKNFJK5.js} +369 -99
- package/dist/{coordinator-prompt-AM47SATF.js → coordinator-prompt-GZESIQNH.js} +3 -3
- package/dist/{global-workspace-QV7CC7SK.js → global-workspace-REI55FZ6.js} +3 -3
- package/dist/index.cjs +456 -183
- package/dist/index.d.cts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +21 -24
- package/dist/mcp/run-stdio.cjs +456 -182
- package/dist/mcp/run-stdio.js +27 -30
- package/dist/{orchestrator-KQO4MXBI.js → orchestrator-J727WIJY.js} +6 -6
- package/dist/{orchestrator-BUH3LJLL.js → orchestrator-ZVW2AC6B.js} +2 -2
- package/dist/{plan-file-OZEBFSGQ.js → plan-file-I24VJVP2.js} +2 -2
- package/dist/{workspaces-Q2VCHIAS.js → workspaces-OCEPZXFD.js} +3 -3
- package/dist/{worktree-PEWDAX5O.js → worktree-VTMBZKY6.js} +2 -2
- package/package.json +1 -1
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
resolveQuotaFallbackAgent,
|
|
38
38
|
turnCostUsdFromCursorUsage,
|
|
39
39
|
whichOnPath
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-EPQIOAAY.js";
|
|
41
41
|
import "./chunk-LZ6QMEQC.js";
|
|
42
42
|
import "./chunk-S42XV45P.js";
|
|
43
43
|
import "./chunk-6GN5WPYZ.js";
|
|
@@ -46,9 +46,9 @@ import {
|
|
|
46
46
|
assertOrchestratorCapableAgent,
|
|
47
47
|
coerceOrchestratorAgent,
|
|
48
48
|
isOrchestratorCapableAgent
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-3SUZMPGL.js";
|
|
50
|
+
import "./chunk-A7QXLYBN.js";
|
|
51
|
+
import "./chunk-5U4NZLBH.js";
|
|
52
52
|
import "./chunk-LZQULFIT.js";
|
|
53
53
|
import "./chunk-SYFVUF2C.js";
|
|
54
54
|
import {
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
resolveRepoRoot,
|
|
8
8
|
takenSlugsFromThread,
|
|
9
9
|
teamSlugFromName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A7QXLYBN.js";
|
|
11
11
|
import {
|
|
12
12
|
ATTACHMENTS_DIR,
|
|
13
13
|
attachmentsGitignoreBody
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5U4NZLBH.js";
|
|
15
15
|
import {
|
|
16
16
|
createEmptyThread,
|
|
17
17
|
listThreads,
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
// src/paths/workspace-scratch.ts
|
|
5
5
|
var ATTACHMENTS_DIR = ".context/attachments";
|
|
6
|
+
var DETACHED_JOBS_DIR = ".context/.sideboard/detached-jobs";
|
|
6
7
|
var LEGACY_ATTACHMENTS_DIR = ".sideboard/attachments";
|
|
8
|
+
var LEGACY_DETACHED_JOBS_DIR = ".sideboard/detached-jobs";
|
|
7
9
|
var ATTACHMENTS_GITIGNORE = `# Sideboard / workspace attachments (local only)
|
|
8
10
|
*
|
|
9
11
|
!.gitignore
|
|
@@ -18,7 +20,9 @@ function isWorkspaceScratchPath(relativePath) {
|
|
|
18
20
|
|
|
19
21
|
export {
|
|
20
22
|
ATTACHMENTS_DIR,
|
|
23
|
+
DETACHED_JOBS_DIR,
|
|
21
24
|
LEGACY_ATTACHMENTS_DIR,
|
|
25
|
+
LEGACY_DETACHED_JOBS_DIR,
|
|
22
26
|
attachmentsGitignoreBody,
|
|
23
27
|
isWorkspaceScratchPath
|
|
24
28
|
};
|
|
@@ -650,6 +650,9 @@ function toolDescription(name, input) {
|
|
|
650
650
|
if (/present_files$/i.test(name)) {
|
|
651
651
|
return str(input?.title) ? `Files ${str(input?.title)}` : "Present files";
|
|
652
652
|
}
|
|
653
|
+
if (/wait_for_job$/i.test(name)) {
|
|
654
|
+
return str(input?.id) ? `Wait for ${str(input?.id)}` : "Wait for job";
|
|
655
|
+
}
|
|
653
656
|
if (isSubagentToolName(name)) {
|
|
654
657
|
const desc = str(input?.description);
|
|
655
658
|
const sub = asRecord(input?.subagentType);
|
|
@@ -1132,7 +1135,8 @@ var WORKTREE_MCP_TOOLS = [
|
|
|
1132
1135
|
"ask_user",
|
|
1133
1136
|
"present_plan",
|
|
1134
1137
|
"present_schema",
|
|
1135
|
-
"present_files"
|
|
1138
|
+
"present_files",
|
|
1139
|
+
"wait_for_job"
|
|
1136
1140
|
];
|
|
1137
1141
|
var WORKTREE_GITHUB_MCP_TOOLS = [
|
|
1138
1142
|
"github_get_issue",
|
|
@@ -1173,7 +1177,8 @@ var SIDEBOARD_ARTIFACT_MCP_ALLOWED_TOOLS = [
|
|
|
1173
1177
|
"mcp__sideboard__present_schema",
|
|
1174
1178
|
"mcp__sideboard__present_files",
|
|
1175
1179
|
"mcp__sideboard__ask_user",
|
|
1176
|
-
"mcp__sideboard__present_plan"
|
|
1180
|
+
"mcp__sideboard__present_plan",
|
|
1181
|
+
"mcp__sideboard__wait_for_job"
|
|
1177
1182
|
];
|
|
1178
1183
|
var SIDEBOARD_GITHUB_MCP_ALLOWED_TOOLS = ["mcp__sideboard__github_*"];
|
|
1179
1184
|
var SIDEBOARD_LINEAR_MCP_ALLOWED_TOOLS = ["mcp__sideboard__linear_*"];
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
} from "./chunk-S42XV45P.js";
|
|
12
12
|
import {
|
|
13
13
|
isOrchestratorThread
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3SUZMPGL.js";
|
|
15
15
|
import {
|
|
16
16
|
codexUnattendedGitConfigArgs,
|
|
17
17
|
mergeAgentGitAuthEnv,
|
|
18
18
|
resolveAgentGitAuthEnv,
|
|
19
19
|
resolveCodexGitWritableRoots
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-A7QXLYBN.js";
|
|
21
21
|
import {
|
|
22
22
|
enrichPathWithNpmGlobalBin,
|
|
23
23
|
isConductorBundledCli,
|
|
@@ -813,6 +813,9 @@ function toolDescription(name, input) {
|
|
|
813
813
|
if (/present_files$/i.test(name)) {
|
|
814
814
|
return str(input?.title) ? `Files ${str(input?.title)}` : "Present files";
|
|
815
815
|
}
|
|
816
|
+
if (/wait_for_job$/i.test(name)) {
|
|
817
|
+
return str(input?.id) ? `Wait for ${str(input?.id)}` : "Wait for job";
|
|
818
|
+
}
|
|
816
819
|
if (isSubagentToolName(name)) {
|
|
817
820
|
const desc = str(input?.description);
|
|
818
821
|
const sub = asRecord(input?.subagentType);
|
|
@@ -1476,7 +1479,8 @@ var SIDEBOARD_ARTIFACT_MCP_ALLOWED_TOOLS = [
|
|
|
1476
1479
|
"mcp__sideboard__present_schema",
|
|
1477
1480
|
"mcp__sideboard__present_files",
|
|
1478
1481
|
"mcp__sideboard__ask_user",
|
|
1479
|
-
"mcp__sideboard__present_plan"
|
|
1482
|
+
"mcp__sideboard__present_plan",
|
|
1483
|
+
"mcp__sideboard__wait_for_job"
|
|
1480
1484
|
];
|
|
1481
1485
|
var SIDEBOARD_GITHUB_MCP_ALLOWED_TOOLS = ["mcp__sideboard__github_*"];
|
|
1482
1486
|
var SIDEBOARD_LINEAR_MCP_ALLOWED_TOOLS = ["mcp__sideboard__linear_*"];
|
|
@@ -2152,7 +2156,7 @@ var claudeAdapter = {
|
|
|
2152
2156
|
);
|
|
2153
2157
|
}
|
|
2154
2158
|
const mode = permissionMode(thread);
|
|
2155
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
2159
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-REI55FZ6.js");
|
|
2156
2160
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
2157
2161
|
const injectedServers = await buildInjectedMcpServers({
|
|
2158
2162
|
includeSideboard: true,
|