@sideboard-ai/core 0.1.347 → 0.1.349
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.js +3 -3
- package/dist/{agents-5MFGVK7C.js → agents-AZ2PV6XP.js} +7 -7
- package/dist/{agents-T4XBZZDA.js → agents-DMPBFF3F.js} +5 -5
- package/dist/{chunk-UGUWFONI.js → chunk-2E2HMJDU.js} +1 -1
- package/dist/{chunk-NTY5WGRD.js → chunk-3DBL2C45.js} +1 -1
- package/dist/{chunk-MOUAM6ZC.js → chunk-6RIPZ73M.js} +132 -2
- package/dist/{chunk-6TV6L2DD.js → chunk-CATTIFSP.js} +6 -5
- package/dist/{chunk-IJNTTVFH.js → chunk-IRFBD6GU.js} +247 -66
- package/dist/{chunk-ORO4ENZR.js → chunk-LESWJ7L4.js} +1 -0
- package/dist/{chunk-XNGW4OYD.js → chunk-MHSBF3SO.js} +6 -5
- package/dist/{chunk-ZJMYCDYQ.js → chunk-MVFFLU5V.js} +47 -9
- package/dist/{chunk-OPXEJJBM.js → chunk-PWOFUPYM.js} +1 -0
- package/dist/{chunk-27XWAI7S.js → chunk-Q4I6KDOL.js} +251 -70
- package/dist/{chunk-2HPVGTHF.js → chunk-QHXZKHUL.js} +1 -1
- package/dist/{chunk-GAGTEI6B.js → chunk-ROXM6QZV.js} +48 -10
- package/dist/{chunk-ATS7SYHG.js → chunk-RPHH4FNK.js} +132 -2
- package/dist/{chunk-Y6VQX2LY.js → chunk-WHMLMCPU.js} +11 -5
- package/dist/{chunk-BIM24I3O.js → chunk-WWBPK7GB.js} +1 -1
- package/dist/{chunk-5YCKATG6.js → chunk-YVN7L4KG.js} +1 -1
- package/dist/{chunk-Q4TZA4MN.js → chunk-ZXI5DR5S.js} +12 -6
- package/dist/{conductor-EMGMDNHL.js → conductor-65VPUPOW.js} +6 -6
- package/dist/{conductor-LYQKONSA.js → conductor-NHC6X74J.js} +5 -5
- package/dist/{coordinator-prompt-DLY3FS2L.js → coordinator-prompt-5GZWIVSY.js} +3 -3
- package/dist/{coordinator-prompt-WALVMGKI.js → coordinator-prompt-R2PURZL3.js} +3 -3
- package/dist/{global-workspace-UG2A3CEM.js → global-workspace-64KC7PST.js} +3 -3
- package/dist/{global-workspace-7OQ5O6JT.js → global-workspace-UEECLWSX.js} +3 -3
- package/dist/index.cjs +1321 -858
- package/dist/index.d.cts +31 -8
- package/dist/index.d.ts +31 -8
- package/dist/index.js +446 -365
- package/dist/mcp/run-stdio.cjs +1055 -594
- package/dist/mcp/run-stdio.js +296 -216
- package/dist/{orchestrator-AJZNVREM.js → orchestrator-I5G5A5BV.js} +7 -7
- package/dist/{orchestrator-BUEPWNCF.js → orchestrator-Y5PYSMR6.js} +9 -9
- package/dist/{thread-store-R3G5VBII.js → thread-store-HZ4U4OXB.js} +1 -1
- package/dist/{thread-store-MEUWZDVV.js → thread-store-QKNU5CHM.js} +1 -1
- package/dist/{workspaces-KWGTP7DI.js → workspaces-6TIM2TM2.js} +3 -3
- package/dist/{workspaces-35T6FW57.js → workspaces-I2EHNTFE.js} +3 -3
- package/dist/{worktree-ROJXGBWS.js → worktree-7JFYDNUX.js} +2 -2
- package/dist/{worktree-5P7SCST3.js → worktree-M2GJGK2P.js} +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -56,6 +56,25 @@ interface AgentBlock {
|
|
|
56
56
|
permission?: AgentPermissionPrompt;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
type ChatFollowUpKind = 'ci' | 'at';
|
|
60
|
+
/** `pending` still running, `done` every check finished, `none` no PR or no rows. */
|
|
61
|
+
/** `unknown` is a failed checks read. It must not count as pending or finished. */
|
|
62
|
+
type CiPhase = 'pending' | 'done' | 'none' | 'unknown';
|
|
63
|
+
type ChatFollowUp = {
|
|
64
|
+
id: string;
|
|
65
|
+
kind: ChatFollowUpKind;
|
|
66
|
+
prompt: string;
|
|
67
|
+
/** When an `at` follow-up should send. */
|
|
68
|
+
at?: string;
|
|
69
|
+
/** Drop a still-pending `ci` follow-up after this without sending. */
|
|
70
|
+
deadline: string;
|
|
71
|
+
createdAt: string;
|
|
72
|
+
/** CI state when this follow-up was registered. */
|
|
73
|
+
ciBaseline?: CiPhase;
|
|
74
|
+
/** True after a later poll saw checks still running. */
|
|
75
|
+
ciSawPending?: boolean;
|
|
76
|
+
};
|
|
77
|
+
|
|
59
78
|
/**
|
|
60
79
|
* Agent thinking / reasoning effort.
|
|
61
80
|
* Matches Claude Code `--effort` and Conductor's 5-rung effort chip:
|
|
@@ -240,15 +259,14 @@ interface Thread {
|
|
|
240
259
|
prMergeStateStatus?: string | null;
|
|
241
260
|
/** Cached GitHub merge-queue flag from the last `getPrMeta`. */
|
|
242
261
|
prIsInMergeQueue?: boolean;
|
|
243
|
-
/**
|
|
244
|
-
* Cached GitHub label names (workflow tags like `eng-review`).
|
|
245
|
-
* Used for sidebar / board list badges.
|
|
246
|
-
*/
|
|
262
|
+
/** Cached GitHub label names (workflow tags like `eng-review`) for sidebar and board badges. */
|
|
247
263
|
prLabels?: string[];
|
|
248
264
|
/** True when `gh pr checks` reported a failing CI run. */
|
|
249
265
|
prChecksFailed?: boolean;
|
|
250
266
|
/** This checkout opts in to CI / review-request wakes. Off until set. */
|
|
251
267
|
wakeOnGithubEdges?: boolean;
|
|
268
|
+
/** CI or time follow-ups on this chat. A running turn is not interrupted. Cap 10. */
|
|
269
|
+
followUps?: ChatFollowUp[];
|
|
252
270
|
/** Source-ticket blockers. Empty if none; absent until looked up. Not an agent block. */
|
|
253
271
|
issueBlockedBy?: string[];
|
|
254
272
|
/**
|
|
@@ -684,6 +702,7 @@ type OrchestratorEvent = {
|
|
|
684
702
|
type: 'turn_finished';
|
|
685
703
|
threadId: string;
|
|
686
704
|
exitCode: number | null;
|
|
705
|
+
routineStop?: boolean;
|
|
687
706
|
} | {
|
|
688
707
|
type: 'status_changed';
|
|
689
708
|
threadId: string;
|
|
@@ -6274,14 +6293,18 @@ declare function isPidAlive(pid: number): boolean;
|
|
|
6274
6293
|
/** Wait until pid exits, or `timeoutMs` elapses. */
|
|
6275
6294
|
declare function waitForPidExit(pid: number, timeoutMs: number): Promise<boolean>;
|
|
6276
6295
|
|
|
6296
|
+
/** `join` waits behind a running turn. Settings still use `queue` or `steer`. */
|
|
6297
|
+
type SendFollowUp = FollowUpBehavior | 'join';
|
|
6277
6298
|
/**
|
|
6278
6299
|
* Desktop/CLI pass follow-up explicitly. Internal sends (child-halt
|
|
6279
6300
|
* "Sideboard: …" notices, Slack, schedules) omit it — orchestrators then
|
|
6280
6301
|
* use Settings → Follow-up behavior (default steer) so those do not sit
|
|
6281
6302
|
* in the queue while the user asked to interrupt.
|
|
6282
6303
|
*
|
|
6283
|
-
*
|
|
6284
|
-
*
|
|
6304
|
+
* `ask_git` passes {@link resolveOrchChildFollowUp} so those prompts steer.
|
|
6305
|
+
* `send_to_chat` passes `join`. That merges only while the prompt is still
|
|
6306
|
+
* queued or not yet handed to the process. Once the process has started, the
|
|
6307
|
+
* new text waits behind the turn and the running prompt is left as sent.
|
|
6285
6308
|
* Create/reuse first prompts still queue unless the caller opts in.
|
|
6286
6309
|
*/
|
|
6287
6310
|
declare function resolveSendFollowUp(thread: Pick<Thread, 'sourceType' | 'repoPath'>, requested?: FollowUpBehavior): FollowUpBehavior;
|
|
@@ -6446,7 +6469,7 @@ declare class Orchestrator {
|
|
|
6446
6469
|
listConductor(): ConductorWorkspace[];
|
|
6447
6470
|
adoptFromConductor(workspaceId: string): Promise<Thread>;
|
|
6448
6471
|
send(threadRef: string, prompt: string, opts?: {
|
|
6449
|
-
followUp?:
|
|
6472
|
+
followUp?: SendFollowUp;
|
|
6450
6473
|
attachments?: Thread['attachments'];
|
|
6451
6474
|
}): Promise<Thread>;
|
|
6452
6475
|
fanOut(threadRefs: string[], prompt: string, opts?: {
|
|
@@ -6799,7 +6822,7 @@ declare function outboundReplyFromTurn(result: OutboundTurnSnapshot, copy: Outbo
|
|
|
6799
6822
|
type SideboardMcpProfile = 'worktree' | 'orchestration';
|
|
6800
6823
|
declare const SIDEBOARD_MCP_PROFILE_ENV = "SIDEBOARD_MCP_PROFILE";
|
|
6801
6824
|
/** Full worktree MCP catalog. `worktreeMcpToolNames` drops Agent RPC pilots when native. */
|
|
6802
|
-
declare const WORKTREE_MCP_TOOLS: readonly ["present_artifact", "ask_user", "present_plan", "present_schema", "present_files", "wait_for_job", "stop_job", "list_run_scripts", "run_dev_script", "stop_dev_script", "get_run_log", "get_orchestrator", "notify_orchestrator", "set_workspace_tags", "set_wake_on_github_edges", "get_viewer_context", "update_viewer_context", "list_env", "set_env", "delete_env", "list_schedules", "create_schedule", "update_schedule", "delete_schedule", "run_schedule", "list_order", "show_plan", "set_dependency", "clear_dependency", "satisfy_dependency"];
|
|
6825
|
+
declare const WORKTREE_MCP_TOOLS: readonly ["present_artifact", "ask_user", "present_plan", "present_schema", "present_files", "wait_for_job", "stop_job", "list_run_scripts", "run_dev_script", "stop_dev_script", "get_run_log", "get_orchestrator", "notify_orchestrator", "set_workspace_tags", "set_wake_on_github_edges", "get_viewer_context", "update_viewer_context", "list_env", "set_env", "delete_env", "list_schedules", "create_schedule", "update_schedule", "delete_schedule", "run_schedule", "list_follow_ups", "create_follow_up", "delete_follow_up", "list_order", "show_plan", "set_dependency", "clear_dependency", "satisfy_dependency"];
|
|
6803
6826
|
/** GitHub Issues via Account `gh` — always registered on worktree + orchestration. */
|
|
6804
6827
|
declare const WORKTREE_GITHUB_MCP_TOOLS: readonly ["github_search_issues", "github_list_projects", "github_get_issue", "github_download_attachment", "github_comment", "github_update_issue", "github_create_issue"];
|
|
6805
6828
|
/** Account Linear tools registered when Linear is connected. */
|
package/dist/index.d.ts
CHANGED
|
@@ -56,6 +56,25 @@ interface AgentBlock {
|
|
|
56
56
|
permission?: AgentPermissionPrompt;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
type ChatFollowUpKind = 'ci' | 'at';
|
|
60
|
+
/** `pending` still running, `done` every check finished, `none` no PR or no rows. */
|
|
61
|
+
/** `unknown` is a failed checks read. It must not count as pending or finished. */
|
|
62
|
+
type CiPhase = 'pending' | 'done' | 'none' | 'unknown';
|
|
63
|
+
type ChatFollowUp = {
|
|
64
|
+
id: string;
|
|
65
|
+
kind: ChatFollowUpKind;
|
|
66
|
+
prompt: string;
|
|
67
|
+
/** When an `at` follow-up should send. */
|
|
68
|
+
at?: string;
|
|
69
|
+
/** Drop a still-pending `ci` follow-up after this without sending. */
|
|
70
|
+
deadline: string;
|
|
71
|
+
createdAt: string;
|
|
72
|
+
/** CI state when this follow-up was registered. */
|
|
73
|
+
ciBaseline?: CiPhase;
|
|
74
|
+
/** True after a later poll saw checks still running. */
|
|
75
|
+
ciSawPending?: boolean;
|
|
76
|
+
};
|
|
77
|
+
|
|
59
78
|
/**
|
|
60
79
|
* Agent thinking / reasoning effort.
|
|
61
80
|
* Matches Claude Code `--effort` and Conductor's 5-rung effort chip:
|
|
@@ -240,15 +259,14 @@ interface Thread {
|
|
|
240
259
|
prMergeStateStatus?: string | null;
|
|
241
260
|
/** Cached GitHub merge-queue flag from the last `getPrMeta`. */
|
|
242
261
|
prIsInMergeQueue?: boolean;
|
|
243
|
-
/**
|
|
244
|
-
* Cached GitHub label names (workflow tags like `eng-review`).
|
|
245
|
-
* Used for sidebar / board list badges.
|
|
246
|
-
*/
|
|
262
|
+
/** Cached GitHub label names (workflow tags like `eng-review`) for sidebar and board badges. */
|
|
247
263
|
prLabels?: string[];
|
|
248
264
|
/** True when `gh pr checks` reported a failing CI run. */
|
|
249
265
|
prChecksFailed?: boolean;
|
|
250
266
|
/** This checkout opts in to CI / review-request wakes. Off until set. */
|
|
251
267
|
wakeOnGithubEdges?: boolean;
|
|
268
|
+
/** CI or time follow-ups on this chat. A running turn is not interrupted. Cap 10. */
|
|
269
|
+
followUps?: ChatFollowUp[];
|
|
252
270
|
/** Source-ticket blockers. Empty if none; absent until looked up. Not an agent block. */
|
|
253
271
|
issueBlockedBy?: string[];
|
|
254
272
|
/**
|
|
@@ -684,6 +702,7 @@ type OrchestratorEvent = {
|
|
|
684
702
|
type: 'turn_finished';
|
|
685
703
|
threadId: string;
|
|
686
704
|
exitCode: number | null;
|
|
705
|
+
routineStop?: boolean;
|
|
687
706
|
} | {
|
|
688
707
|
type: 'status_changed';
|
|
689
708
|
threadId: string;
|
|
@@ -6274,14 +6293,18 @@ declare function isPidAlive(pid: number): boolean;
|
|
|
6274
6293
|
/** Wait until pid exits, or `timeoutMs` elapses. */
|
|
6275
6294
|
declare function waitForPidExit(pid: number, timeoutMs: number): Promise<boolean>;
|
|
6276
6295
|
|
|
6296
|
+
/** `join` waits behind a running turn. Settings still use `queue` or `steer`. */
|
|
6297
|
+
type SendFollowUp = FollowUpBehavior | 'join';
|
|
6277
6298
|
/**
|
|
6278
6299
|
* Desktop/CLI pass follow-up explicitly. Internal sends (child-halt
|
|
6279
6300
|
* "Sideboard: …" notices, Slack, schedules) omit it — orchestrators then
|
|
6280
6301
|
* use Settings → Follow-up behavior (default steer) so those do not sit
|
|
6281
6302
|
* in the queue while the user asked to interrupt.
|
|
6282
6303
|
*
|
|
6283
|
-
*
|
|
6284
|
-
*
|
|
6304
|
+
* `ask_git` passes {@link resolveOrchChildFollowUp} so those prompts steer.
|
|
6305
|
+
* `send_to_chat` passes `join`. That merges only while the prompt is still
|
|
6306
|
+
* queued or not yet handed to the process. Once the process has started, the
|
|
6307
|
+
* new text waits behind the turn and the running prompt is left as sent.
|
|
6285
6308
|
* Create/reuse first prompts still queue unless the caller opts in.
|
|
6286
6309
|
*/
|
|
6287
6310
|
declare function resolveSendFollowUp(thread: Pick<Thread, 'sourceType' | 'repoPath'>, requested?: FollowUpBehavior): FollowUpBehavior;
|
|
@@ -6446,7 +6469,7 @@ declare class Orchestrator {
|
|
|
6446
6469
|
listConductor(): ConductorWorkspace[];
|
|
6447
6470
|
adoptFromConductor(workspaceId: string): Promise<Thread>;
|
|
6448
6471
|
send(threadRef: string, prompt: string, opts?: {
|
|
6449
|
-
followUp?:
|
|
6472
|
+
followUp?: SendFollowUp;
|
|
6450
6473
|
attachments?: Thread['attachments'];
|
|
6451
6474
|
}): Promise<Thread>;
|
|
6452
6475
|
fanOut(threadRefs: string[], prompt: string, opts?: {
|
|
@@ -6799,7 +6822,7 @@ declare function outboundReplyFromTurn(result: OutboundTurnSnapshot, copy: Outbo
|
|
|
6799
6822
|
type SideboardMcpProfile = 'worktree' | 'orchestration';
|
|
6800
6823
|
declare const SIDEBOARD_MCP_PROFILE_ENV = "SIDEBOARD_MCP_PROFILE";
|
|
6801
6824
|
/** Full worktree MCP catalog. `worktreeMcpToolNames` drops Agent RPC pilots when native. */
|
|
6802
|
-
declare const WORKTREE_MCP_TOOLS: readonly ["present_artifact", "ask_user", "present_plan", "present_schema", "present_files", "wait_for_job", "stop_job", "list_run_scripts", "run_dev_script", "stop_dev_script", "get_run_log", "get_orchestrator", "notify_orchestrator", "set_workspace_tags", "set_wake_on_github_edges", "get_viewer_context", "update_viewer_context", "list_env", "set_env", "delete_env", "list_schedules", "create_schedule", "update_schedule", "delete_schedule", "run_schedule", "list_order", "show_plan", "set_dependency", "clear_dependency", "satisfy_dependency"];
|
|
6825
|
+
declare const WORKTREE_MCP_TOOLS: readonly ["present_artifact", "ask_user", "present_plan", "present_schema", "present_files", "wait_for_job", "stop_job", "list_run_scripts", "run_dev_script", "stop_dev_script", "get_run_log", "get_orchestrator", "notify_orchestrator", "set_workspace_tags", "set_wake_on_github_edges", "get_viewer_context", "update_viewer_context", "list_env", "set_env", "delete_env", "list_schedules", "create_schedule", "update_schedule", "delete_schedule", "run_schedule", "list_follow_ups", "create_follow_up", "delete_follow_up", "list_order", "show_plan", "set_dependency", "clear_dependency", "satisfy_dependency"];
|
|
6803
6826
|
/** GitHub Issues via Account `gh` — always registered on worktree + orchestration. */
|
|
6804
6827
|
declare const WORKTREE_GITHUB_MCP_TOOLS: readonly ["github_search_issues", "github_list_projects", "github_get_issue", "github_download_attachment", "github_comment", "github_update_issue", "github_create_issue"];
|
|
6805
6828
|
/** Account Linear tools registered when Linear is connected. */
|