@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.
Files changed (45) hide show
  1. package/dist/agents/cursor-runner.cjs +11 -4
  2. package/dist/agents/cursor-runner.js +11 -4
  3. package/dist/{agents-JSHCAZUZ.js → agents-3P4N6KHC.js} +12 -2
  4. package/dist/agents-LUB3Q773.js +82 -0
  5. package/dist/app-settings-7XVDQJ7F.js +80 -0
  6. package/dist/{app-settings-LYGVDGZY.js → app-settings-LZP632KI.js} +1 -1
  7. package/dist/{chunk-U3EQKJHA.js → chunk-3NAS4MWH.js} +1 -1
  8. package/dist/{chunk-ZNSM2DDD.js → chunk-5WYEJ3F3.js} +6 -2
  9. package/dist/chunk-7MV3RXSC.js +277 -0
  10. package/dist/chunk-DF5VQQKA.js +191 -0
  11. package/dist/chunk-E35APBHV.js +269 -0
  12. package/dist/chunk-EOYDCKQC.js +172 -0
  13. package/dist/chunk-GI7E5733.js +30 -0
  14. package/dist/chunk-GZXBYHJC.js +148 -0
  15. package/dist/chunk-HBJSHRY2.js +494 -0
  16. package/dist/chunk-ISY4EGF6.js +77 -0
  17. package/dist/chunk-KGZBYWZ3.js +23 -0
  18. package/dist/chunk-RQI4TOXK.js +2232 -0
  19. package/dist/chunk-S2LL5HA4.js +33 -0
  20. package/dist/{chunk-ANZ566Z5.js → chunk-SS34TVSY.js} +66 -7
  21. package/dist/{chunk-WYY3J7GR.js → chunk-T5QQVXK3.js} +6 -3
  22. package/dist/chunk-V4JRXYYU.js +122 -0
  23. package/dist/{chunk-6NAPN2N5.js → chunk-ZQCQIWIP.js} +1 -1
  24. package/dist/chunk-ZVV5EEQN.js +1892 -0
  25. package/dist/connected-teams-UBXHZGO4.js +24 -0
  26. package/dist/{coordinator-prompt-2XFYG3C5.js → coordinator-prompt-SPGDT7J5.js} +1 -1
  27. package/dist/coordinator-prompt-VG4BZ5JL.js +25 -0
  28. package/dist/cursor-recover-NNK7JPQM.js +44 -0
  29. package/dist/{global-workspace-YFOQUGWD.js → global-workspace-KSR3E63K.js} +3 -2
  30. package/dist/global-workspace-OJF4ENH4.js +40 -0
  31. package/dist/index.cjs +377 -30
  32. package/dist/index.d.cts +70 -11
  33. package/dist/index.d.ts +70 -11
  34. package/dist/index.js +5779 -193
  35. package/dist/mcp/run-stdio.cjs +331 -32
  36. package/dist/mcp/run-stdio.js +5618 -14
  37. package/dist/paths-2OFB7UJG.js +28 -0
  38. package/dist/run-HMRSRG3U.js +12 -0
  39. package/dist/thread-store-XICUWFNM.js +32 -0
  40. package/dist/title-4WAKWZRF.js +27 -0
  41. package/dist/workspaces-OZE7LRDO.js +24 -0
  42. package/dist/{workspaces-TIKLNDW3.js → workspaces-UJX7JIGH.js} +4 -3
  43. package/dist/worktree-XG5PCLZY.js +94 -0
  44. package/package.json +2 -2
  45. 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
+ };
@@ -6,7 +6,7 @@ import {
6
6
  enrichWorkspacesWithGithub,
7
7
  ensureGlobalCoordinatorCwd,
8
8
  formatWorkspaceInventory
9
- } from "./chunk-6NAPN2N5.js";
9
+ } from "./chunk-ZQCQIWIP.js";
10
10
  import "./chunk-FV6FN6V5.js";
11
11
  import "./chunk-O6W3P7V3.js";
12
12
  import "./chunk-77WWLBCI.js";
@@ -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-ZNSM2DDD.js";
15
- import "./chunk-6NAPN2N5.js";
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
+ };