@sideboard-ai/core 0.1.45 → 0.1.49
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.cjs +11 -4
- package/dist/agents/cursor-runner.js +11 -4
- package/dist/{agents-JSHCAZUZ.js → agents-3P4N6KHC.js} +12 -2
- package/dist/agents-LUB3Q773.js +82 -0
- package/dist/app-settings-7XVDQJ7F.js +80 -0
- package/dist/{app-settings-LYGVDGZY.js → app-settings-LZP632KI.js} +1 -1
- package/dist/{chunk-U3EQKJHA.js → chunk-3NAS4MWH.js} +1 -1
- package/dist/{chunk-ZNSM2DDD.js → chunk-5WYEJ3F3.js} +6 -2
- package/dist/chunk-7MV3RXSC.js +277 -0
- package/dist/chunk-DF5VQQKA.js +191 -0
- package/dist/chunk-E35APBHV.js +269 -0
- package/dist/chunk-EOYDCKQC.js +172 -0
- package/dist/chunk-GI7E5733.js +30 -0
- package/dist/chunk-GZXBYHJC.js +148 -0
- package/dist/chunk-HBJSHRY2.js +494 -0
- package/dist/chunk-ISY4EGF6.js +77 -0
- package/dist/chunk-KGZBYWZ3.js +23 -0
- package/dist/chunk-RQI4TOXK.js +2232 -0
- package/dist/chunk-S2LL5HA4.js +33 -0
- package/dist/{chunk-ANZ566Z5.js → chunk-SS34TVSY.js} +66 -7
- package/dist/{chunk-WYY3J7GR.js → chunk-T5QQVXK3.js} +6 -3
- package/dist/chunk-V4JRXYYU.js +122 -0
- package/dist/{chunk-6NAPN2N5.js → chunk-ZQCQIWIP.js} +1 -1
- package/dist/chunk-ZVV5EEQN.js +1892 -0
- package/dist/connected-teams-UBXHZGO4.js +24 -0
- package/dist/{coordinator-prompt-2XFYG3C5.js → coordinator-prompt-SPGDT7J5.js} +1 -1
- package/dist/coordinator-prompt-VG4BZ5JL.js +25 -0
- package/dist/cursor-recover-NNK7JPQM.js +44 -0
- package/dist/{global-workspace-YFOQUGWD.js → global-workspace-KSR3E63K.js} +3 -2
- package/dist/global-workspace-OJF4ENH4.js +40 -0
- package/dist/index.cjs +377 -30
- package/dist/index.d.cts +70 -11
- package/dist/index.d.ts +70 -11
- package/dist/index.js +5779 -193
- package/dist/mcp/run-stdio.cjs +331 -32
- package/dist/mcp/run-stdio.js +5618 -14
- package/dist/paths-2OFB7UJG.js +28 -0
- package/dist/run-HMRSRG3U.js +12 -0
- package/dist/thread-store-XICUWFNM.js +32 -0
- package/dist/title-4WAKWZRF.js +27 -0
- package/dist/workspaces-OZE7LRDO.js +24 -0
- package/dist/{workspaces-TIKLNDW3.js → workspaces-UJX7JIGH.js} +4 -3
- package/dist/worktree-XG5PCLZY.js +94 -0
- package/package.json +2 -2
- package/dist/chunk-I6QGZOOS.js +0 -5667
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
applyConnectedTeamToCli,
|
|
5
|
+
brightsyMcpServerName,
|
|
6
|
+
connectBrightsyTeam,
|
|
7
|
+
disconnectBrightsyTeam,
|
|
8
|
+
ensureCliTeamTracked,
|
|
9
|
+
ensureConnectedBrightsyTeamTokens,
|
|
10
|
+
getConnectedBrightsyTeamsRaw,
|
|
11
|
+
listConnectedBrightsyTeams
|
|
12
|
+
} from "./chunk-E35APBHV.js";
|
|
13
|
+
import "./chunk-ISY4EGF6.js";
|
|
14
|
+
import "./chunk-7MV3RXSC.js";
|
|
15
|
+
export {
|
|
16
|
+
applyConnectedTeamToCli,
|
|
17
|
+
brightsyMcpServerName,
|
|
18
|
+
connectBrightsyTeam,
|
|
19
|
+
disconnectBrightsyTeam,
|
|
20
|
+
ensureCliTeamTracked,
|
|
21
|
+
ensureConnectedBrightsyTeamTokens,
|
|
22
|
+
getConnectedBrightsyTeamsRaw,
|
|
23
|
+
listConnectedBrightsyTeams
|
|
24
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
COORDINATOR_TOOL_PLAYBOOK,
|
|
5
|
+
coordinatorGreenfieldPlaybook,
|
|
6
|
+
coordinatorSystemPrompt,
|
|
7
|
+
coordinatorTurnReminder,
|
|
8
|
+
enrichWorkspacesWithGithub,
|
|
9
|
+
ensureGlobalCoordinatorCwd,
|
|
10
|
+
formatWorkspaceInventory
|
|
11
|
+
} from "./chunk-GZXBYHJC.js";
|
|
12
|
+
import "./chunk-ZVV5EEQN.js";
|
|
13
|
+
import "./chunk-EOYDCKQC.js";
|
|
14
|
+
import "./chunk-ISY4EGF6.js";
|
|
15
|
+
import "./chunk-KGZBYWZ3.js";
|
|
16
|
+
import "./chunk-7MV3RXSC.js";
|
|
17
|
+
export {
|
|
18
|
+
COORDINATOR_TOOL_PLAYBOOK,
|
|
19
|
+
coordinatorGreenfieldPlaybook,
|
|
20
|
+
coordinatorSystemPrompt,
|
|
21
|
+
coordinatorTurnReminder,
|
|
22
|
+
enrichWorkspacesWithGithub,
|
|
23
|
+
ensureGlobalCoordinatorCwd,
|
|
24
|
+
formatWorkspaceInventory
|
|
25
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
appDataDir
|
|
5
|
+
} from "./chunk-7MV3RXSC.js";
|
|
6
|
+
|
|
7
|
+
// src/agents/cursor-recover.ts
|
|
8
|
+
import { existsSync, readFileSync } from "fs";
|
|
9
|
+
import { join } from "path";
|
|
10
|
+
function recoverFinishedCursorRun(opts) {
|
|
11
|
+
const agentId = opts.agentId.trim();
|
|
12
|
+
if (!agentId) return null;
|
|
13
|
+
const runsPath = join(appDataDir(), "cursor-sdk-store", "runs.ndjson");
|
|
14
|
+
if (!existsSync(runsPath)) return null;
|
|
15
|
+
try {
|
|
16
|
+
const lines = readFileSync(runsPath, "utf8").split("\n");
|
|
17
|
+
let best = null;
|
|
18
|
+
for (const line of lines) {
|
|
19
|
+
const trimmed = line.trim();
|
|
20
|
+
if (!trimmed) continue;
|
|
21
|
+
let row;
|
|
22
|
+
try {
|
|
23
|
+
row = JSON.parse(trimmed);
|
|
24
|
+
} catch {
|
|
25
|
+
continue;
|
|
26
|
+
}
|
|
27
|
+
if (row.agentId !== agentId) continue;
|
|
28
|
+
if (row.status !== "finished") continue;
|
|
29
|
+
if (typeof row.result !== "string" || !row.result.trim()) continue;
|
|
30
|
+
const endedAt = typeof row.endedAt === "number" ? row.endedAt : 0;
|
|
31
|
+
const createdAt = typeof row.createdAt === "number" ? row.createdAt : 0;
|
|
32
|
+
if (createdAt < opts.startedAfterMs && endedAt < opts.startedAfterMs) continue;
|
|
33
|
+
if (!best || endedAt >= best.endedAt) {
|
|
34
|
+
best = { runId: row.runId || "", result: row.result.trim(), endedAt };
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return best;
|
|
38
|
+
} catch {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export {
|
|
43
|
+
recoverFinishedCursorRun
|
|
44
|
+
};
|
|
@@ -11,8 +11,9 @@ import {
|
|
|
11
11
|
orchestrationTitleNeedsSoccerNickname,
|
|
12
12
|
orchestratorSessionPoisonedByBuiltins,
|
|
13
13
|
takenTeamSlugsForOrchestration
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-5WYEJ3F3.js";
|
|
15
|
+
import "./chunk-GI7E5733.js";
|
|
16
|
+
import "./chunk-ZQCQIWIP.js";
|
|
16
17
|
import "./chunk-FV6FN6V5.js";
|
|
17
18
|
import "./chunk-O6W3P7V3.js";
|
|
18
19
|
import "./chunk-77WWLBCI.js";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
GLOBAL_WORKSPACE_ID,
|
|
5
|
+
createGlobalChat,
|
|
6
|
+
ensureCloudCoordinator,
|
|
7
|
+
healOrchestrationSoccerTitles,
|
|
8
|
+
isCloudCoordinatorThread,
|
|
9
|
+
isGlobalRepoPath,
|
|
10
|
+
isGlobalThread,
|
|
11
|
+
isOrchestratorThread,
|
|
12
|
+
listGlobalThreads,
|
|
13
|
+
orchestrationTitleNeedsSoccerNickname,
|
|
14
|
+
orchestratorSessionPoisonedByBuiltins,
|
|
15
|
+
takenTeamSlugsForOrchestration
|
|
16
|
+
} from "./chunk-DF5VQQKA.js";
|
|
17
|
+
import "./chunk-S2LL5HA4.js";
|
|
18
|
+
import "./chunk-GZXBYHJC.js";
|
|
19
|
+
import "./chunk-ZVV5EEQN.js";
|
|
20
|
+
import "./chunk-EOYDCKQC.js";
|
|
21
|
+
import "./chunk-ISY4EGF6.js";
|
|
22
|
+
import "./chunk-KGZBYWZ3.js";
|
|
23
|
+
import {
|
|
24
|
+
globalAgentCwd
|
|
25
|
+
} from "./chunk-7MV3RXSC.js";
|
|
26
|
+
export {
|
|
27
|
+
GLOBAL_WORKSPACE_ID,
|
|
28
|
+
createGlobalChat,
|
|
29
|
+
ensureCloudCoordinator,
|
|
30
|
+
globalAgentCwd,
|
|
31
|
+
healOrchestrationSoccerTitles,
|
|
32
|
+
isCloudCoordinatorThread,
|
|
33
|
+
isGlobalRepoPath,
|
|
34
|
+
isGlobalThread,
|
|
35
|
+
isOrchestratorThread,
|
|
36
|
+
listGlobalThreads,
|
|
37
|
+
orchestrationTitleNeedsSoccerNickname,
|
|
38
|
+
orchestratorSessionPoisonedByBuiltins,
|
|
39
|
+
takenTeamSlugsForOrchestration
|
|
40
|
+
};
|