@sideboard-ai/core 0.1.136 → 0.1.142
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-QNTTLMG2.js → agents-E5AAMHDY.js} +12 -8
- package/dist/{agents-ELWR7A2T.js → agents-OEEOIKUB.js} +11 -7
- 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-4XKUHP6G.js → chunk-4D4PEBGB.js} +2 -2
- package/dist/{chunk-QAV3HGVS.js → chunk-4Q45TLZ5.js} +8 -8
- 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-JPBRMUM6.js → chunk-CG25RYQQ.js} +87 -41
- package/dist/chunk-ED4UPEJX.js +0 -0
- package/dist/{chunk-J5IBSVB3.js → chunk-EUXOHTUK.js} +42 -25
- package/dist/{chunk-K5YT5GX2.js → chunk-FADNFPZO.js} +4 -4
- package/dist/{chunk-TIGKDMIA.js → chunk-FGOD5MQ4.js} +550 -69
- package/dist/{chunk-MDCKV2NF.js → chunk-HC5N3BDL.js} +2 -2
- package/dist/{chunk-GJBHOJCZ.js → chunk-I77RYPOH.js} +201 -2
- package/dist/{chunk-WS5LFFU3.js → chunk-JUWVAMRS.js} +333 -64
- package/dist/chunk-KGZBYWZ3.js +0 -0
- package/dist/chunk-KLBOWJ74.js +0 -0
- package/dist/chunk-KPIYENTF.js +0 -0
- package/dist/chunk-N5PM7HGQ.js +0 -0
- package/dist/chunk-NSTQ6QKD.js +0 -0
- package/dist/{chunk-HQQNLDVC.js → chunk-O3JEC2UJ.js} +8 -8
- package/dist/{chunk-TQ4S5AGJ.js → chunk-OHWN4JEL.js} +7 -5
- package/dist/{chunk-GSKRGF7B.js → chunk-R2W7A2UO.js} +4 -4
- package/dist/chunk-S42XV45P.js +0 -0
- package/dist/{chunk-PM3C2J6K.js → chunk-TUGKX5BD.js} +42 -25
- package/dist/{chunk-IFZ4MOTN.js → chunk-UG5N7ET3.js} +7 -5
- package/dist/{chunk-CYM5DCHI.js → chunk-VHTIHOHE.js} +87 -42
- 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-IPL4Z6SL.js → coordinator-prompt-2LD3C74O.js} +4 -4
- package/dist/{coordinator-prompt-2OWSUAUR.js → coordinator-prompt-FBX7Y4EM.js} +4 -4
- package/dist/cursor-recover-NOQYOFRF.js +0 -0
- package/dist/{global-workspace-NIKZAKOO.js → global-workspace-NG7SU3GV.js} +5 -5
- package/dist/{global-workspace-JDUCUL7S.js → global-workspace-OCV77UYF.js} +5 -5
- package/dist/index.cjs +1064 -187
- package/dist/index.d.cts +239 -62
- package/dist/index.d.ts +239 -62
- package/dist/index.js +144 -20
- package/dist/mcp/run-stdio.cjs +759 -170
- package/dist/mcp/run-stdio.js +46 -18
- package/dist/oauth-YJBAURIJ.js +0 -0
- package/dist/{orchestrator-KK3CUW37.js → orchestrator-4BEZJ2BU.js} +8 -8
- package/dist/{orchestrator-6I47JMU2.js → orchestrator-I2T44CRP.js} +9 -9
- 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-FADXSMEJ.js → thread-store-57ZLHR3A.js} +1 -1
- package/dist/{thread-store-CRLQJ2HM.js → thread-store-WGASXXXR.js} +1 -1
- package/dist/title-4WAKWZRF.js +0 -0
- package/dist/{workspaces-5EWNNALF.js → workspaces-4FUQW5LD.js} +6 -6
- package/dist/{workspaces-KZA3TCEE.js → workspaces-PU5YHQ7Z.js} +6 -6
- package/dist/{worktree-MX7XBX6Z.js → worktree-GKLPPNWR.js} +3 -3
- package/dist/{worktree-BC6XDMQK.js → worktree-Z22HTSCU.js} +3 -3
- package/package.json +9 -8
- package/LICENSE +0 -190
package/dist/mcp/run-stdio.js
CHANGED
|
@@ -32,14 +32,14 @@ import {
|
|
|
32
32
|
slackTokenFor,
|
|
33
33
|
syncBoardPins,
|
|
34
34
|
updateSchedule
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-JUWVAMRS.js";
|
|
36
36
|
import {
|
|
37
37
|
listModelsForAgent,
|
|
38
38
|
sideboardMcpProfile
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-CG25RYQQ.js";
|
|
40
40
|
import "../chunk-ED4UPEJX.js";
|
|
41
41
|
import "../chunk-S42XV45P.js";
|
|
42
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-4D4PEBGB.js";
|
|
43
43
|
import {
|
|
44
44
|
createAbleTimeTask,
|
|
45
45
|
ensureAbleTimeTask,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
listAbleTimeTasks,
|
|
51
51
|
searchAbleTimeTasks,
|
|
52
52
|
toAbleTimeIssueInfo
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-BOD5V52W.js";
|
|
54
54
|
import {
|
|
55
55
|
httpFetch
|
|
56
56
|
} from "../chunk-6GN5WPYZ.js";
|
|
@@ -59,8 +59,8 @@ import "../chunk-KLBOWJ74.js";
|
|
|
59
59
|
import {
|
|
60
60
|
GLOBAL_WORKSPACE_ID,
|
|
61
61
|
isCloudCoordinatorThread
|
|
62
|
-
} from "../chunk-
|
|
63
|
-
import "../chunk-
|
|
62
|
+
} from "../chunk-FADNFPZO.js";
|
|
63
|
+
import "../chunk-OHWN4JEL.js";
|
|
64
64
|
import {
|
|
65
65
|
canonicalizeRepoPath,
|
|
66
66
|
listBranches,
|
|
@@ -68,9 +68,9 @@ import {
|
|
|
68
68
|
resolveGithubRepoSlug,
|
|
69
69
|
resolveRepoRoot,
|
|
70
70
|
warmGithubAgentAuth
|
|
71
|
-
} from "../chunk-
|
|
71
|
+
} from "../chunk-4Q45TLZ5.js";
|
|
72
72
|
import "../chunk-B3SJXYIJ.js";
|
|
73
|
-
import "../chunk-
|
|
73
|
+
import "../chunk-EUXOHTUK.js";
|
|
74
74
|
import {
|
|
75
75
|
gh
|
|
76
76
|
} from "../chunk-KPIYENTF.js";
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
loadAppSettings,
|
|
83
83
|
resolveEffectiveIssueSource,
|
|
84
84
|
saveLinearOAuth
|
|
85
|
-
} from "../chunk-
|
|
85
|
+
} from "../chunk-BGQBELGJ.js";
|
|
86
86
|
import "../chunk-NSTQ6QKD.js";
|
|
87
87
|
import "../chunk-KGZBYWZ3.js";
|
|
88
88
|
import {
|
|
@@ -664,6 +664,27 @@ function mcpWaitFinishedHint(status) {
|
|
|
664
664
|
return void 0;
|
|
665
665
|
}
|
|
666
666
|
|
|
667
|
+
// src/mcp/thread-visibility.ts
|
|
668
|
+
function lastMessagePreview(messages, max = 160) {
|
|
669
|
+
if (!messages?.length) return null;
|
|
670
|
+
for (let i = messages.length - 1; i >= 0; i--) {
|
|
671
|
+
const text5 = messages[i]?.text?.trim();
|
|
672
|
+
if (!text5) continue;
|
|
673
|
+
const flat = text5.replace(/\s+/g, " ");
|
|
674
|
+
return flat.length > max ? `${flat.slice(0, max)}\u2026` : flat;
|
|
675
|
+
}
|
|
676
|
+
return null;
|
|
677
|
+
}
|
|
678
|
+
function childThreadRefs(parentId, threads) {
|
|
679
|
+
return threads.filter((t) => t.parentThreadId === parentId).map((t) => ({
|
|
680
|
+
id: t.id,
|
|
681
|
+
title: t.title,
|
|
682
|
+
status: t.status,
|
|
683
|
+
agent: t.agent,
|
|
684
|
+
lastText: lastMessagePreview(t.messages, 120)
|
|
685
|
+
}));
|
|
686
|
+
}
|
|
687
|
+
|
|
667
688
|
// src/mcp/slack-tools.ts
|
|
668
689
|
import { z } from "zod";
|
|
669
690
|
|
|
@@ -910,14 +931,14 @@ function fail(err) {
|
|
|
910
931
|
function registerSlackTools(server) {
|
|
911
932
|
server.tool(
|
|
912
933
|
"list_teams",
|
|
913
|
-
"List Slack workspaces connected in
|
|
934
|
+
"List Slack workspaces connected in Settings \u2192 Remote. Each row is team_id + name. Pass team_id to slack_list_channels, slack_list_users, slack_search, slack_read, slack_post, and slack_replies.",
|
|
914
935
|
{},
|
|
915
936
|
async () => {
|
|
916
937
|
const teams = listSlackWorkspaces();
|
|
917
938
|
if (teams.length === 0) {
|
|
918
939
|
return text({
|
|
919
940
|
teams: [],
|
|
920
|
-
hint: "No Slack workspaces connected. Add one in
|
|
941
|
+
hint: "No Slack workspaces connected. Add one in Settings \u2192 Remote \u2192 Slack (paste xoxb-/xoxp- or browser sign-in)."
|
|
921
942
|
});
|
|
922
943
|
}
|
|
923
944
|
return text({
|
|
@@ -1876,7 +1897,7 @@ async function startMcpServer() {
|
|
|
1876
1897
|
);
|
|
1877
1898
|
}
|
|
1878
1899
|
try {
|
|
1879
|
-
const { maxConcurrentAgents } = await import("../app-settings-
|
|
1900
|
+
const { maxConcurrentAgents } = await import("../app-settings-ZCN632OJ.js");
|
|
1880
1901
|
orch.setMaxConcurrent(maxConcurrentAgents());
|
|
1881
1902
|
} catch {
|
|
1882
1903
|
}
|
|
@@ -1915,15 +1936,19 @@ async function startMcpServer() {
|
|
|
1915
1936
|
);
|
|
1916
1937
|
server.tool(
|
|
1917
1938
|
"list_threads",
|
|
1918
|
-
"List Sideboard threads across all workspaces (one summary line each \u2014 token-frugal). Each line ends with sideboard://thread/<id> \u2014 use that URL in markdown links so the UI can open the chat.",
|
|
1939
|
+
"List Sideboard threads across all workspaces (one summary line each \u2014 token-frugal). Includes parent id, last message preview, and live progress so you can see worktree children. Each line ends with sideboard://thread/<id> \u2014 use that URL in markdown links so the UI can open the chat.",
|
|
1919
1940
|
{},
|
|
1920
1941
|
async () => {
|
|
1921
1942
|
const threads = orch.getThreads(true);
|
|
1922
1943
|
const lines = threads.map((t) => {
|
|
1923
1944
|
const repo = t.repoPath === GLOBAL_WORKSPACE_ID ? "Orchestration" : basename(t.repoPath) || t.repoPath;
|
|
1924
1945
|
const live = t.status === "running" || t.status === "queued" ? readTurnLive(t.id) : null;
|
|
1946
|
+
const parent = t.parentThreadId ? ` parent:${t.parentThreadId.slice(0, 8)}` : "";
|
|
1947
|
+
const preview = lastMessagePreview(t.messages, 80);
|
|
1948
|
+
const previewBit = preview ? ` ${preview}` : "";
|
|
1949
|
+
const err = t.lastError ? ` error:${t.lastError.replace(/\s+/g, " ").slice(0, 60)}` : "";
|
|
1925
1950
|
const progress = live?.summary ? ` ${live.summary}` : "";
|
|
1926
|
-
return `${t.id.slice(0, 8)} ${t.status.padEnd(9)} ${t.agent.padEnd(8)} ${repo} ${t.sourceType}:${t.sourceRef} ${t.title} sideboard://thread/${t.id}${t.devPort ? ` http://localhost:${t.devPort}` : ""}${progress}`;
|
|
1951
|
+
return `${t.id.slice(0, 8)} ${t.status.padEnd(9)} ${t.agent.padEnd(8)} ${repo} ${t.sourceType}:${t.sourceRef} ${t.title}${parent}${previewBit}${err} sideboard://thread/${t.id}${t.devPort ? ` http://localhost:${t.devPort}` : ""}${progress}`;
|
|
1927
1952
|
});
|
|
1928
1953
|
return {
|
|
1929
1954
|
content: [{ type: "text", text: lines.join("\n") || "(no threads)" }]
|
|
@@ -1977,7 +2002,7 @@ async function startMcpServer() {
|
|
|
1977
2002
|
);
|
|
1978
2003
|
server.tool(
|
|
1979
2004
|
"get_thread",
|
|
1980
|
-
"Get a compact thread summary by id/ref. While running, includes progress (last tool/thinking) and lastActivityAt. Includes usage (thread billed token + costUsd totals when providers reported cost) and lastTurnUsage.",
|
|
2005
|
+
"Get a compact thread summary by id/ref. Includes last message preview, parentThreadId, and child worktree threads (status + lastText). While running, includes progress (last tool/thinking) and lastActivityAt. Includes usage (thread billed token + costUsd totals when providers reported cost) and lastTurnUsage.",
|
|
1981
2006
|
{ ref: z5.string() },
|
|
1982
2007
|
async ({ ref }) => {
|
|
1983
2008
|
const t = orch.getThread(ref);
|
|
@@ -1996,8 +2021,11 @@ async function startMcpServer() {
|
|
|
1996
2021
|
branchName: t.branchName,
|
|
1997
2022
|
worktreePath: t.worktreePath,
|
|
1998
2023
|
sessionId: t.sessionId,
|
|
2024
|
+
parentThreadId: t.parentThreadId,
|
|
2025
|
+
children: childThreadRefs(t.id, orch.getThreads(false)),
|
|
1999
2026
|
queueLength: t.queue.length,
|
|
2000
2027
|
messageCount: t.messages.length,
|
|
2028
|
+
lastText: lastMessagePreview(t.messages, 240),
|
|
2001
2029
|
devPort: t.devPort,
|
|
2002
2030
|
prUrl: t.prUrl,
|
|
2003
2031
|
lastError: t.lastError ?? null,
|
|
@@ -2151,7 +2179,7 @@ async function startMcpServer() {
|
|
|
2151
2179
|
registerAbleTimeTools(server);
|
|
2152
2180
|
registerScheduleTools(server);
|
|
2153
2181
|
const { getCaffeinateHold, setCaffeinateHold } = await import("../caffeinate-hold-NBRUWYXO.js");
|
|
2154
|
-
const { resolveNewThreadOptions, resolveThreadDefaults } = await import("../app-settings-
|
|
2182
|
+
const { resolveNewThreadOptions, resolveThreadDefaults } = await import("../app-settings-ZCN632OJ.js");
|
|
2155
2183
|
const accountDefaults = resolveThreadDefaults();
|
|
2156
2184
|
const accountDefaultsHint = `Account defaults: agent=${accountDefaults.agent}, model=${accountDefaults.model?.trim() || "Auto"}, effort=${accountDefaults.effort}`;
|
|
2157
2185
|
server.tool(
|
|
@@ -2328,7 +2356,7 @@ async function startMcpServer() {
|
|
|
2328
2356
|
);
|
|
2329
2357
|
server.tool(
|
|
2330
2358
|
"send_to_thread",
|
|
2331
|
-
'Queue a prompt on a worktree thread chat (runs under concurrency cap). Use after create_thread to start or continue a conversation. For commit/push/PR, prefer ask_git (canonical desktop-button phrases). Send "Merge PR." / ask_git merge only when the user explicitly asked to merge.
|
|
2359
|
+
'Queue a prompt on a worktree thread chat (runs under concurrency cap). Use after create_thread to start or continue a conversation. For commit/push/PR, prefer ask_git (canonical desktop-button phrases). Send "Merge PR." / ask_git merge only when the user explicitly asked to merge. force_stop=true kills the in-flight turn and clears the queue before this prompt \u2014 only when the current request is wrong and must be replaced. Do not force_stop to check in, resume after a halt notice, or because wait_for_turn returned stillRunning; that stops the child mid-thought. Call wait_for_turn again instead.',
|
|
2332
2360
|
{
|
|
2333
2361
|
ref: z5.string(),
|
|
2334
2362
|
prompt: z5.string(),
|
|
@@ -2338,7 +2366,7 @@ async function startMcpServer() {
|
|
|
2338
2366
|
if (force_stop) {
|
|
2339
2367
|
const existing = orch.getThread(ref);
|
|
2340
2368
|
if (existing) {
|
|
2341
|
-
orch.stop(ref, { clearQueue: true });
|
|
2369
|
+
orch.stop(ref, { clearQueue: true, notifyParent: false });
|
|
2342
2370
|
}
|
|
2343
2371
|
}
|
|
2344
2372
|
const thread = await orch.send(ref, prompt);
|
package/dist/oauth-YJBAURIJ.js
CHANGED
|
File without changes
|
|
@@ -6,21 +6,21 @@ import {
|
|
|
6
6
|
isPidAlive,
|
|
7
7
|
startOrchestration,
|
|
8
8
|
waitForPidExit
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-JUWVAMRS.js";
|
|
10
|
+
import "./chunk-CG25RYQQ.js";
|
|
11
11
|
import "./chunk-ED4UPEJX.js";
|
|
12
12
|
import "./chunk-S42XV45P.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-4D4PEBGB.js";
|
|
14
14
|
import "./chunk-6GN5WPYZ.js";
|
|
15
15
|
import "./chunk-N5PM7HGQ.js";
|
|
16
16
|
import "./chunk-KLBOWJ74.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-FADNFPZO.js";
|
|
18
|
+
import "./chunk-OHWN4JEL.js";
|
|
19
|
+
import "./chunk-4Q45TLZ5.js";
|
|
20
20
|
import "./chunk-B3SJXYIJ.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-EUXOHTUK.js";
|
|
22
22
|
import "./chunk-KPIYENTF.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-BGQBELGJ.js";
|
|
24
24
|
import "./chunk-NSTQ6QKD.js";
|
|
25
25
|
import "./chunk-KGZBYWZ3.js";
|
|
26
26
|
import "./chunk-BD2ICC4D.js";
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
isPidAlive,
|
|
5
5
|
startOrchestration,
|
|
6
6
|
waitForPidExit
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-FGOD5MQ4.js";
|
|
8
|
+
import "./chunk-VHTIHOHE.js";
|
|
9
9
|
import "./chunk-KBWND62T.js";
|
|
10
10
|
import "./chunk-M267JPEA.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-HC5N3BDL.js";
|
|
12
|
+
import "./chunk-R2W7A2UO.js";
|
|
13
|
+
import "./chunk-UG5N7ET3.js";
|
|
14
14
|
import "./chunk-ELBYOGVA.js";
|
|
15
15
|
import "./chunk-QTUESPAW.js";
|
|
16
16
|
import "./chunk-AXQ4ZWHK.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-WT5HSFOU.js";
|
|
18
18
|
import "./chunk-DCOZABNT.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-O3JEC2UJ.js";
|
|
20
20
|
import "./chunk-FKOIHGKV.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-I77RYPOH.js";
|
|
22
22
|
import "./chunk-4TR3HZFT.js";
|
|
23
23
|
import "./chunk-JT7R45JB.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-TUGKX5BD.js";
|
|
25
25
|
import "./chunk-77WWLBCI.js";
|
|
26
26
|
import "./chunk-QZQEXME2.js";
|
|
27
27
|
import "./chunk-DVM4ID64.js";
|
package/dist/paths-QCI3MTO5.js
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/run-USF6FRKV.js
CHANGED
|
File without changes
|
package/dist/title-4WAKWZRF.js
CHANGED
|
File without changes
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
listWorkspaces,
|
|
7
7
|
removeWorkspace,
|
|
8
8
|
syncWorkspacesFromThreads
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-4D4PEBGB.js";
|
|
10
|
+
import "./chunk-FADNFPZO.js";
|
|
11
|
+
import "./chunk-OHWN4JEL.js";
|
|
12
|
+
import "./chunk-4Q45TLZ5.js";
|
|
13
13
|
import "./chunk-B3SJXYIJ.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-EUXOHTUK.js";
|
|
15
15
|
import "./chunk-KPIYENTF.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-BGQBELGJ.js";
|
|
17
17
|
import "./chunk-NSTQ6QKD.js";
|
|
18
18
|
import "./chunk-KGZBYWZ3.js";
|
|
19
19
|
import "./chunk-BD2ICC4D.js";
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
listWorkspaces,
|
|
5
5
|
removeWorkspace,
|
|
6
6
|
syncWorkspacesFromThreads
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-HC5N3BDL.js";
|
|
8
|
+
import "./chunk-R2W7A2UO.js";
|
|
9
|
+
import "./chunk-UG5N7ET3.js";
|
|
10
|
+
import "./chunk-O3JEC2UJ.js";
|
|
11
11
|
import "./chunk-FKOIHGKV.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-I77RYPOH.js";
|
|
13
13
|
import "./chunk-4TR3HZFT.js";
|
|
14
14
|
import "./chunk-JT7R45JB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-TUGKX5BD.js";
|
|
16
16
|
import "./chunk-77WWLBCI.js";
|
|
17
17
|
import "./chunk-QZQEXME2.js";
|
|
18
18
|
import "./chunk-DVM4ID64.js";
|
|
@@ -48,12 +48,12 @@ import {
|
|
|
48
48
|
worktreeDisplayLabel,
|
|
49
49
|
worktreeDisplayLabelForGroup,
|
|
50
50
|
worktreeNameFromPath
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-O3JEC2UJ.js";
|
|
52
52
|
import "./chunk-FKOIHGKV.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-I77RYPOH.js";
|
|
54
54
|
import "./chunk-4TR3HZFT.js";
|
|
55
55
|
import "./chunk-JT7R45JB.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-TUGKX5BD.js";
|
|
57
57
|
import "./chunk-77WWLBCI.js";
|
|
58
58
|
import "./chunk-QZQEXME2.js";
|
|
59
59
|
import "./chunk-DVM4ID64.js";
|
|
@@ -50,11 +50,11 @@ import {
|
|
|
50
50
|
worktreeDisplayLabel,
|
|
51
51
|
worktreeDisplayLabelForGroup,
|
|
52
52
|
worktreeNameFromPath
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-4Q45TLZ5.js";
|
|
54
54
|
import "./chunk-B3SJXYIJ.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-EUXOHTUK.js";
|
|
56
56
|
import "./chunk-KPIYENTF.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-BGQBELGJ.js";
|
|
58
58
|
import "./chunk-NSTQ6QKD.js";
|
|
59
59
|
import "./chunk-KGZBYWZ3.js";
|
|
60
60
|
import "./chunk-BD2ICC4D.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sideboard-ai/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.142",
|
|
4
4
|
"description": "Sideboard core — orchestration, agents, git worktrees, MCP server",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -21,6 +21,13 @@
|
|
|
21
21
|
"files": [
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "tsup src/index.ts src/agents/cursor-runner.ts --format esm,cjs --dts --clean && tsup --config tsup.mcp.config.ts && node scripts/add-bin-shebang.cjs",
|
|
26
|
+
"dev": "tsup src/index.ts src/agents/cursor-runner.ts src/mcp/run-stdio.ts --format esm,cjs --dts --watch",
|
|
27
|
+
"prepublishOnly": "pnpm run build",
|
|
28
|
+
"test": "vitest run",
|
|
29
|
+
"typecheck": "tsc --noEmit"
|
|
30
|
+
},
|
|
24
31
|
"publishConfig": {
|
|
25
32
|
"access": "public"
|
|
26
33
|
},
|
|
@@ -56,11 +63,5 @@
|
|
|
56
63
|
"tsup": "^8.4.0",
|
|
57
64
|
"typescript": "^5.8.2",
|
|
58
65
|
"vitest": "^3.0.9"
|
|
59
|
-
},
|
|
60
|
-
"scripts": {
|
|
61
|
-
"build": "tsup src/index.ts src/agents/cursor-runner.ts --format esm,cjs --dts --clean && tsup --config tsup.mcp.config.ts && node scripts/add-bin-shebang.cjs",
|
|
62
|
-
"dev": "tsup src/index.ts src/agents/cursor-runner.ts src/mcp/run-stdio.ts --format esm,cjs --dts --watch",
|
|
63
|
-
"test": "vitest run",
|
|
64
|
-
"typecheck": "tsc --noEmit"
|
|
65
66
|
}
|
|
66
|
-
}
|
|
67
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or
|
|
95
|
-
Derivative Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
177
|
-
|
|
178
|
-
Copyright 2026 Sideboard contributors
|
|
179
|
-
|
|
180
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
|
-
you may not use this file except in compliance with the License.
|
|
182
|
-
You may obtain a copy of the License at
|
|
183
|
-
|
|
184
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
185
|
-
|
|
186
|
-
Unless required by applicable law or agreed to in writing, software
|
|
187
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
188
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
189
|
-
See the License for the specific language governing permissions and
|
|
190
|
-
limitations under the License.
|