@sideboard-ai/core 0.1.32 → 0.1.34
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 +53 -2
- package/dist/agents/cursor-runner.js +6 -3
- package/dist/{agents-HWIPJLC3.js → agents-2OX5XXYP.js} +2 -2
- package/dist/{chunk-OY47OEY2.js → chunk-AL2GL5HJ.js} +175 -28
- package/dist/chunk-BSZX63TV.js +212 -0
- package/dist/{chunk-4YLTMPEO.js → chunk-MULWZLDI.js} +83 -18
- package/dist/index.cjs +371 -44
- package/dist/index.d.cts +29 -3
- package/dist/index.d.ts +29 -3
- package/dist/index.js +3 -3
- package/dist/mcp/run-stdio.cjs +356 -39
- package/dist/mcp/run-stdio.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-3DKGI32Q.js +0 -92
package/dist/index.d.cts
CHANGED
|
@@ -1776,6 +1776,11 @@ declare class Orchestrator {
|
|
|
1776
1776
|
* the killed turn's handle.done resolves.
|
|
1777
1777
|
*/
|
|
1778
1778
|
private readonly stoppedTurns;
|
|
1779
|
+
/**
|
|
1780
|
+
* Pause drainQueue after the in-flight turn unwinds (Stop with a preserved
|
|
1781
|
+
* queue). Cleared when the user sends or promotes a queued message again.
|
|
1782
|
+
*/
|
|
1783
|
+
private readonly haltDrain;
|
|
1779
1784
|
/** WIP snapshot SHA at the start of the latest agent turn (per thread). */
|
|
1780
1785
|
private readonly turnBaselines;
|
|
1781
1786
|
private maxConcurrent;
|
|
@@ -1806,16 +1811,31 @@ declare class Orchestrator {
|
|
|
1806
1811
|
adoptFromConductor(workspaceId: string): Promise<Thread>;
|
|
1807
1812
|
send(threadRef: string, prompt: string): Promise<Thread>;
|
|
1808
1813
|
fanOut(threadRefs: string[], prompt: string): Promise<Thread[]>;
|
|
1814
|
+
/** Edit the text of a not-yet-started queued message. */
|
|
1815
|
+
editQueuedMessage(threadRef: string, index: number, text: string): Promise<Thread>;
|
|
1816
|
+
/** Remove a not-yet-started queued message. */
|
|
1817
|
+
removeQueuedMessage(threadRef: string, index: number): Promise<Thread>;
|
|
1818
|
+
/**
|
|
1819
|
+
* Promote a queued message to run next, interrupting the in-flight turn (if any).
|
|
1820
|
+
* The current turn is stopped without clearing the rest of the queue — drainQueue
|
|
1821
|
+
* picks the promoted message up as soon as the interrupted turn unwinds.
|
|
1822
|
+
*/
|
|
1823
|
+
sendQueuedMessageNow(threadRef: string, index: number): Promise<Thread>;
|
|
1809
1824
|
private drainQueue;
|
|
1810
1825
|
private runTurn;
|
|
1811
1826
|
/**
|
|
1812
1827
|
* Stop an in-flight agent turn.
|
|
1813
|
-
*
|
|
1814
|
-
*
|
|
1815
|
-
*
|
|
1828
|
+
*
|
|
1829
|
+
* - Default `clearQueue: true` (force-stop): empties queued prompts so nothing
|
|
1830
|
+
* resumes. Used by MCP force-stop, archive, and cloud-connect.
|
|
1831
|
+
* - Desktop Stop uses `{ clearQueue: false }` so follow-ups stay editable.
|
|
1832
|
+
* - `continueQueue: true` (Send now): keep the queue and let drainQueue resume
|
|
1833
|
+
* after the interrupted turn unwinds. Without it, drain pauses until send /
|
|
1834
|
+
* promote.
|
|
1816
1835
|
*/
|
|
1817
1836
|
stop(threadRef: string, opts?: {
|
|
1818
1837
|
clearQueue?: boolean;
|
|
1838
|
+
continueQueue?: boolean;
|
|
1819
1839
|
}): Thread;
|
|
1820
1840
|
startDev(threadRef: string, scriptName?: string): Promise<{
|
|
1821
1841
|
port: number;
|
|
@@ -2182,6 +2202,12 @@ interface IpcApi {
|
|
|
2182
2202
|
listConductor(): Promise<ConductorWorkspace[]>;
|
|
2183
2203
|
adoptFromConductor(workspaceId: string): Promise<Thread>;
|
|
2184
2204
|
sendToThread(threadRef: string, prompt: string): Promise<Thread>;
|
|
2205
|
+
/** Edit the text of a not-yet-started queued message. */
|
|
2206
|
+
editQueuedMessage(threadRef: string, index: number, text: string): Promise<Thread>;
|
|
2207
|
+
/** Remove a not-yet-started queued message. */
|
|
2208
|
+
removeQueuedMessage(threadRef: string, index: number): Promise<Thread>;
|
|
2209
|
+
/** Promote a queued message to run next, interrupting the in-flight turn (if any). */
|
|
2210
|
+
sendQueuedMessageNow(threadRef: string, index: number): Promise<Thread>;
|
|
2185
2211
|
setAutonomy(threadRef: string, autonomy: Autonomy): Promise<Thread>;
|
|
2186
2212
|
setThreadOptions(threadRef: string, patch: ThreadOptionsPatch): Promise<Thread>;
|
|
2187
2213
|
fanOut(threadRefs: string[], prompt: string): Promise<Thread[]>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1776,6 +1776,11 @@ declare class Orchestrator {
|
|
|
1776
1776
|
* the killed turn's handle.done resolves.
|
|
1777
1777
|
*/
|
|
1778
1778
|
private readonly stoppedTurns;
|
|
1779
|
+
/**
|
|
1780
|
+
* Pause drainQueue after the in-flight turn unwinds (Stop with a preserved
|
|
1781
|
+
* queue). Cleared when the user sends or promotes a queued message again.
|
|
1782
|
+
*/
|
|
1783
|
+
private readonly haltDrain;
|
|
1779
1784
|
/** WIP snapshot SHA at the start of the latest agent turn (per thread). */
|
|
1780
1785
|
private readonly turnBaselines;
|
|
1781
1786
|
private maxConcurrent;
|
|
@@ -1806,16 +1811,31 @@ declare class Orchestrator {
|
|
|
1806
1811
|
adoptFromConductor(workspaceId: string): Promise<Thread>;
|
|
1807
1812
|
send(threadRef: string, prompt: string): Promise<Thread>;
|
|
1808
1813
|
fanOut(threadRefs: string[], prompt: string): Promise<Thread[]>;
|
|
1814
|
+
/** Edit the text of a not-yet-started queued message. */
|
|
1815
|
+
editQueuedMessage(threadRef: string, index: number, text: string): Promise<Thread>;
|
|
1816
|
+
/** Remove a not-yet-started queued message. */
|
|
1817
|
+
removeQueuedMessage(threadRef: string, index: number): Promise<Thread>;
|
|
1818
|
+
/**
|
|
1819
|
+
* Promote a queued message to run next, interrupting the in-flight turn (if any).
|
|
1820
|
+
* The current turn is stopped without clearing the rest of the queue — drainQueue
|
|
1821
|
+
* picks the promoted message up as soon as the interrupted turn unwinds.
|
|
1822
|
+
*/
|
|
1823
|
+
sendQueuedMessageNow(threadRef: string, index: number): Promise<Thread>;
|
|
1809
1824
|
private drainQueue;
|
|
1810
1825
|
private runTurn;
|
|
1811
1826
|
/**
|
|
1812
1827
|
* Stop an in-flight agent turn.
|
|
1813
|
-
*
|
|
1814
|
-
*
|
|
1815
|
-
*
|
|
1828
|
+
*
|
|
1829
|
+
* - Default `clearQueue: true` (force-stop): empties queued prompts so nothing
|
|
1830
|
+
* resumes. Used by MCP force-stop, archive, and cloud-connect.
|
|
1831
|
+
* - Desktop Stop uses `{ clearQueue: false }` so follow-ups stay editable.
|
|
1832
|
+
* - `continueQueue: true` (Send now): keep the queue and let drainQueue resume
|
|
1833
|
+
* after the interrupted turn unwinds. Without it, drain pauses until send /
|
|
1834
|
+
* promote.
|
|
1816
1835
|
*/
|
|
1817
1836
|
stop(threadRef: string, opts?: {
|
|
1818
1837
|
clearQueue?: boolean;
|
|
1838
|
+
continueQueue?: boolean;
|
|
1819
1839
|
}): Thread;
|
|
1820
1840
|
startDev(threadRef: string, scriptName?: string): Promise<{
|
|
1821
1841
|
port: number;
|
|
@@ -2182,6 +2202,12 @@ interface IpcApi {
|
|
|
2182
2202
|
listConductor(): Promise<ConductorWorkspace[]>;
|
|
2183
2203
|
adoptFromConductor(workspaceId: string): Promise<Thread>;
|
|
2184
2204
|
sendToThread(threadRef: string, prompt: string): Promise<Thread>;
|
|
2205
|
+
/** Edit the text of a not-yet-started queued message. */
|
|
2206
|
+
editQueuedMessage(threadRef: string, index: number, text: string): Promise<Thread>;
|
|
2207
|
+
/** Remove a not-yet-started queued message. */
|
|
2208
|
+
removeQueuedMessage(threadRef: string, index: number): Promise<Thread>;
|
|
2209
|
+
/** Promote a queued message to run next, interrupting the in-flight turn (if any). */
|
|
2210
|
+
sendQueuedMessageNow(threadRef: string, index: number): Promise<Thread>;
|
|
2185
2211
|
setAutonomy(threadRef: string, autonomy: Autonomy): Promise<Thread>;
|
|
2186
2212
|
setThreadOptions(threadRef: string, patch: ThreadOptionsPatch): Promise<Thread>;
|
|
2187
2213
|
fanOut(threadRefs: string[], prompt: string): Promise<Thread[]>;
|
package/dist/index.js
CHANGED
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
withAgentInstructions,
|
|
102
102
|
worktreeCleanupSettings,
|
|
103
103
|
writeWorktreeFile
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-AL2GL5HJ.js";
|
|
105
105
|
import {
|
|
106
106
|
addWorkspace,
|
|
107
107
|
ensureWorkspace,
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
resolveCursorModelId,
|
|
177
177
|
sanitizeMcpServerName,
|
|
178
178
|
writeInjectedMcpConfig
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-MULWZLDI.js";
|
|
180
180
|
import {
|
|
181
181
|
brightsyConfigPath,
|
|
182
182
|
brightsyMcpServerName,
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
import {
|
|
193
193
|
cursorSdkMessageToEvents,
|
|
194
194
|
parseCursorRunnerLine
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-BSZX63TV.js";
|
|
196
196
|
import {
|
|
197
197
|
HARNESS_ENV_KEYS,
|
|
198
198
|
appSettingsPath,
|