@sideboard-ai/core 0.1.168 → 0.1.170
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-BMS53RIZ.js → abletime-ESVTHTFH.js} +2 -2
- package/dist/{abletime-AGF54TNA.js → abletime-IC2V7CNB.js} +2 -2
- package/dist/{agents-TSO4MB3X.js → agents-GOBVOXFG.js} +9 -9
- package/dist/{agents-KWJXZAHB.js → agents-ZCIMZHXZ.js} +9 -9
- package/dist/{app-settings-BRLZQA7N.js → app-settings-LF3TS7XS.js} +5 -1
- package/dist/{app-settings-JJQDWPEK.js → app-settings-VMOTQORT.js} +5 -1
- package/dist/{chunk-74TWOSQP.js → chunk-3C4B52TS.js} +78 -42
- package/dist/{chunk-CVZ4KXVP.js → chunk-7IUO67CW.js} +122 -2
- package/dist/{chunk-HSGSQA42.js → chunk-DHPZW2EA.js} +8 -34
- package/dist/{chunk-KJFFQAMA.js → chunk-DKLGWRWC.js} +1 -1
- package/dist/{chunk-NYMFNUT5.js → chunk-GQHVICNT.js} +194 -147
- package/dist/{chunk-ILXKJ4ZD.js → chunk-NB7TEKCF.js} +1 -1
- package/dist/{chunk-RS756MKF.js → chunk-P2VCMIZU.js} +8 -34
- package/dist/{chunk-UIR4VDYA.js → chunk-SAZIRJR4.js} +30 -10
- package/dist/{chunk-UVLPL2FJ.js → chunk-TEI72FYD.js} +198 -216
- package/dist/{chunk-3A54S244.js → chunk-UDEWGTP6.js} +29 -10
- package/dist/{chunk-TW5A2HFY.js → chunk-Y7DJA3UW.js} +78 -42
- package/dist/{chunk-LTXS26K5.js → chunk-YMF5WCIA.js} +122 -2
- package/dist/{coordinator-prompt-75N74HAO.js → coordinator-prompt-JTDCEU74.js} +3 -3
- package/dist/{coordinator-prompt-Y372QRFE.js → coordinator-prompt-RRUU2OYO.js} +3 -3
- package/dist/{global-workspace-JNNFVSP7.js → global-workspace-4SI3CRRT.js} +3 -3
- package/dist/{global-workspace-TPE4LKVM.js → global-workspace-ZF6EJAM3.js} +3 -3
- package/dist/index.cjs +421 -278
- package/dist/index.d.cts +135 -37
- package/dist/index.d.ts +135 -37
- package/dist/index.js +33 -19
- package/dist/mcp/run-stdio.cjs +401 -207
- package/dist/mcp/run-stdio.js +8 -8
- package/dist/{orchestrator-XG3QCMOS.js → orchestrator-LE6L6MJC.js} +5 -5
- package/dist/{orchestrator-IIME6KXQ.js → orchestrator-UZSFTDKA.js} +5 -5
- package/dist/{workspaces-2IGQNFPL.js → workspaces-A7C3WA54.js} +3 -3
- package/dist/{workspaces-BWZSDSGG.js → workspaces-NOC2MWQV.js} +3 -3
- package/dist/{worktree-7X7XNSYL.js → worktree-GXO2VDQF.js} +12 -4
- package/dist/{worktree-5BFEK6PF.js → worktree-PODE23PD.js} +12 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28,6 +28,8 @@ import {
|
|
|
28
28
|
REVIEW_REQUEST_TEMPLATE,
|
|
29
29
|
REVIEW_SKILL_NAME,
|
|
30
30
|
REVIEW_SKILL_PATH,
|
|
31
|
+
SEED_FULL_TOOL_MESSAGES,
|
|
32
|
+
SEED_MAX_CHARS,
|
|
31
33
|
SESSION_RESET_OCCUPANCY_TOKENS,
|
|
32
34
|
SlackApiError,
|
|
33
35
|
addStackLayerFromThread,
|
|
@@ -95,7 +97,6 @@ import {
|
|
|
95
97
|
forkChatTab,
|
|
96
98
|
forkMessageSlice,
|
|
97
99
|
forkThreadWorktree,
|
|
98
|
-
formatAgentInstructions,
|
|
99
100
|
formatArtifactDirective,
|
|
100
101
|
formatDetachedJobInvoke,
|
|
101
102
|
formatIssueToolsDirective,
|
|
@@ -161,12 +162,12 @@ import {
|
|
|
161
162
|
listSlackWorkspaces,
|
|
162
163
|
listSlackWorkspacesRaw,
|
|
163
164
|
listWorktreeFiles,
|
|
164
|
-
loadAgentInstructions,
|
|
165
165
|
maybeCompactContext,
|
|
166
166
|
mcpWaitFinishedHint,
|
|
167
167
|
mcpWaitForJobTimeoutMs,
|
|
168
168
|
mcpWaitForTurnTimeoutMs,
|
|
169
169
|
mcpWaitStillRunningHint,
|
|
170
|
+
mentionsPrGoal,
|
|
170
171
|
mergeSetupOutput,
|
|
171
172
|
messagesSinceLastBrightsyContextSummary,
|
|
172
173
|
normalizeServiceOrigin,
|
|
@@ -232,12 +233,11 @@ import {
|
|
|
232
233
|
verifyOptionalService,
|
|
233
234
|
waitForDetachedJob,
|
|
234
235
|
waitForPidExit,
|
|
235
|
-
withAgentInstructions,
|
|
236
236
|
worktreeBoardStatus,
|
|
237
237
|
worktreeCleanupSettings,
|
|
238
238
|
wrapReviewSkillMarkdown,
|
|
239
239
|
writeWorktreeFile
|
|
240
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-TEI72FYD.js";
|
|
241
241
|
import {
|
|
242
242
|
LEGACY_PLAN_FILE_REL,
|
|
243
243
|
PLAN_FILE_NAME,
|
|
@@ -325,6 +325,7 @@ import {
|
|
|
325
325
|
sanitizeMcpServerName,
|
|
326
326
|
shouldInjectBrightsyMcp,
|
|
327
327
|
sideboardMcpProfile,
|
|
328
|
+
splitTurnInputForSystemPrompt,
|
|
328
329
|
stripBrightsyNdjsonNoise,
|
|
329
330
|
sumUsageList,
|
|
330
331
|
threadRequestsBrightsyMcp,
|
|
@@ -341,7 +342,7 @@ import {
|
|
|
341
342
|
withEventParentId,
|
|
342
343
|
withEventsParentId,
|
|
343
344
|
writeInjectedMcpConfig
|
|
344
|
-
} from "./chunk-
|
|
345
|
+
} from "./chunk-SAZIRJR4.js";
|
|
345
346
|
import {
|
|
346
347
|
CLOUD_COORDINATOR_BUSY_REPLY,
|
|
347
348
|
CLOUD_COORDINATOR_STOPPED_REPLY,
|
|
@@ -349,15 +350,12 @@ import {
|
|
|
349
350
|
CLOUD_ORCHESTRATOR_GOAL,
|
|
350
351
|
COORDINATOR_TOOL_PLAYBOOK,
|
|
351
352
|
GLOBAL_WORKSPACE_ID,
|
|
352
|
-
ORCHESTRATOR_AGENT_KINDS,
|
|
353
353
|
SIDEBOARD_FORCE_STOP,
|
|
354
354
|
SLACK_REPLY_FORMATTING,
|
|
355
355
|
addWorkspace,
|
|
356
|
-
assertOrchestratorCapableAgent,
|
|
357
356
|
attachmentFromAbsolutePath,
|
|
358
357
|
attachmentsFromBuffers,
|
|
359
358
|
attachmentsFromWorktreePaths,
|
|
360
|
-
coerceOrchestratorAgent,
|
|
361
359
|
coordinatorSystemPrompt,
|
|
362
360
|
coordinatorTurnReminder,
|
|
363
361
|
createGlobalChat,
|
|
@@ -373,7 +371,6 @@ import {
|
|
|
373
371
|
isGlobalRepoPath,
|
|
374
372
|
isGlobalThread,
|
|
375
373
|
isImageFilePath,
|
|
376
|
-
isOrchestratorCapableAgent,
|
|
377
374
|
isOrchestratorThread,
|
|
378
375
|
isSlackCoordinatorThread,
|
|
379
376
|
listGlobalThreads,
|
|
@@ -388,11 +385,12 @@ import {
|
|
|
388
385
|
stageBuffersAsAttachments,
|
|
389
386
|
syncWorkspacesFromThreads,
|
|
390
387
|
takenTeamSlugsForOrchestration
|
|
391
|
-
} from "./chunk-
|
|
388
|
+
} from "./chunk-DHPZW2EA.js";
|
|
392
389
|
import {
|
|
393
390
|
FAMOUS_SOCCER_TEAMS,
|
|
394
391
|
GITHUB_PR_BODY_MAX_CHARS,
|
|
395
392
|
GITHUB_PR_BODY_SAFE_CHARS,
|
|
393
|
+
PR_DETAILS_JSON_FIELDS,
|
|
396
394
|
addPrStackLayer,
|
|
397
395
|
allocateTeamName,
|
|
398
396
|
allocateTeamSlug,
|
|
@@ -456,6 +454,7 @@ import {
|
|
|
456
454
|
originGhRepoEnv,
|
|
457
455
|
parseGhStackViewJson,
|
|
458
456
|
parseGithubSlugFromRemoteUrl,
|
|
457
|
+
parsePrDetailsView,
|
|
459
458
|
pushBranch,
|
|
460
459
|
removeWorktree,
|
|
461
460
|
resetGhStackDetectCache,
|
|
@@ -477,11 +476,13 @@ import {
|
|
|
477
476
|
submitPrStack,
|
|
478
477
|
suggestSlug,
|
|
479
478
|
threadDisplayLabel,
|
|
479
|
+
ticketSlugForBranch,
|
|
480
480
|
warmGithubAgentAuth,
|
|
481
481
|
worktreeDisplayLabel,
|
|
482
482
|
worktreeDisplayLabelForGroup,
|
|
483
|
-
worktreeNameFromPath
|
|
484
|
-
|
|
483
|
+
worktreeNameFromPath,
|
|
484
|
+
worktreeSlugForTicket
|
|
485
|
+
} from "./chunk-3C4B52TS.js";
|
|
485
486
|
import {
|
|
486
487
|
ATTACHMENTS_DIR,
|
|
487
488
|
CLI_DIR,
|
|
@@ -532,7 +533,7 @@ import {
|
|
|
532
533
|
toAbleTimeIssueInfo,
|
|
533
534
|
updateAbleTimeTask,
|
|
534
535
|
verifyAbleTimeConnection
|
|
535
|
-
} from "./chunk-
|
|
536
|
+
} from "./chunk-NB7TEKCF.js";
|
|
536
537
|
import {
|
|
537
538
|
formatFetchError,
|
|
538
539
|
httpFetch,
|
|
@@ -553,9 +554,11 @@ import {
|
|
|
553
554
|
GITHUB_GIT_AUTH_MODES,
|
|
554
555
|
HARNESS_ENV_KEYS,
|
|
555
556
|
ISSUE_SOURCE_LABELS,
|
|
557
|
+
ORCHESTRATOR_AGENT_KINDS,
|
|
556
558
|
PROFILE_NOTES_MAX,
|
|
557
559
|
appSettingsPath,
|
|
558
560
|
applyAppEnvironment,
|
|
561
|
+
assertOrchestratorCapableAgent,
|
|
559
562
|
autoArchiveOnMergeEnabled,
|
|
560
563
|
autoCleanupOrphansEnabled,
|
|
561
564
|
autoRenameBranchEnabled,
|
|
@@ -570,6 +573,7 @@ import {
|
|
|
570
573
|
childEnvWithAppSettings,
|
|
571
574
|
claudeChromeEnabled,
|
|
572
575
|
claudeUserSettingsPath,
|
|
576
|
+
coerceOrchestratorAgent,
|
|
573
577
|
cowboyModeEnabled,
|
|
574
578
|
deleteBranchOnPurgeEnabled,
|
|
575
579
|
disconnectAbleTimeConnection,
|
|
@@ -598,6 +602,7 @@ import {
|
|
|
598
602
|
isAbleTimeConnected,
|
|
599
603
|
isIssueSourceConnected,
|
|
600
604
|
isLinearConnected,
|
|
605
|
+
isOrchestratorCapableAgent,
|
|
601
606
|
issueSourceLabel,
|
|
602
607
|
loadAppSettings,
|
|
603
608
|
maxConcurrentAgents,
|
|
@@ -611,7 +616,9 @@ import {
|
|
|
611
616
|
resolveAgentExecutable,
|
|
612
617
|
resolveClaudeExecutable,
|
|
613
618
|
resolveEffectiveIssueSource,
|
|
619
|
+
resolveNewOrchestratorOptions,
|
|
614
620
|
resolveNewThreadOptions,
|
|
621
|
+
resolveOrchestratorDefaults,
|
|
615
622
|
resolveThreadDefaults,
|
|
616
623
|
resolveVaultKey,
|
|
617
624
|
resolveViewerProfile,
|
|
@@ -636,7 +643,7 @@ import {
|
|
|
636
643
|
updateOpencodeSettings,
|
|
637
644
|
updateProjectProfileSettings,
|
|
638
645
|
writeViewerContext
|
|
639
|
-
} from "./chunk-
|
|
646
|
+
} from "./chunk-7IUO67CW.js";
|
|
640
647
|
import {
|
|
641
648
|
stripNestedElectronEnv
|
|
642
649
|
} from "./chunk-4TR3HZFT.js";
|
|
@@ -4232,7 +4239,7 @@ async function startMcpServer() {
|
|
|
4232
4239
|
);
|
|
4233
4240
|
}
|
|
4234
4241
|
try {
|
|
4235
|
-
const { maxConcurrentAgents: maxConcurrentAgents2 } = await import("./app-settings-
|
|
4242
|
+
const { maxConcurrentAgents: maxConcurrentAgents2 } = await import("./app-settings-VMOTQORT.js");
|
|
4236
4243
|
orch.setMaxConcurrent(maxConcurrentAgents2());
|
|
4237
4244
|
} catch {
|
|
4238
4245
|
}
|
|
@@ -4541,7 +4548,7 @@ async function startMcpServer() {
|
|
|
4541
4548
|
registerConnectedIssueVendorTools(server);
|
|
4542
4549
|
registerScheduleTools(server);
|
|
4543
4550
|
const { getCaffeinateHold: getCaffeinateHold2, setCaffeinateHold: setCaffeinateHold2 } = await import("./caffeinate-hold-SK2QISPE.js");
|
|
4544
|
-
const { resolveNewThreadOptions: resolveNewThreadOptions2, resolveThreadDefaults: resolveThreadDefaults2 } = await import("./app-settings-
|
|
4551
|
+
const { resolveNewThreadOptions: resolveNewThreadOptions2, resolveThreadDefaults: resolveThreadDefaults2 } = await import("./app-settings-VMOTQORT.js");
|
|
4545
4552
|
const accountDefaults = resolveThreadDefaults2();
|
|
4546
4553
|
const accountDefaultsHint = `Account defaults: agent=${accountDefaults.agent}, model=${accountDefaults.model?.trim() || "Auto"}, effort=${accountDefaults.effort}`;
|
|
4547
4554
|
server.tool(
|
|
@@ -7564,6 +7571,7 @@ export {
|
|
|
7564
7571
|
PLAN_MODE_INSTRUCTION,
|
|
7565
7572
|
PLAN_QUESTION_ANSWERS_PREFIX,
|
|
7566
7573
|
PROFILE_NOTES_MAX,
|
|
7574
|
+
PR_DETAILS_JSON_FIELDS,
|
|
7567
7575
|
REPO_REVIEW_NAME,
|
|
7568
7576
|
REPO_REVIEW_PATH,
|
|
7569
7577
|
REVIEW_REQUEST_NAME,
|
|
@@ -7572,6 +7580,8 @@ export {
|
|
|
7572
7580
|
REVIEW_REQUEST_TEMPLATE,
|
|
7573
7581
|
REVIEW_SKILL_NAME,
|
|
7574
7582
|
REVIEW_SKILL_PATH,
|
|
7583
|
+
SEED_FULL_TOOL_MESSAGES,
|
|
7584
|
+
SEED_MAX_CHARS,
|
|
7575
7585
|
SESSION_RESET_OCCUPANCY_TOKENS,
|
|
7576
7586
|
SIDEBOARD_FORCE_STOP,
|
|
7577
7587
|
SIDEBOARD_MCP_ALLOWED_TOOLS,
|
|
@@ -7779,7 +7789,6 @@ export {
|
|
|
7779
7789
|
forkMessageSlice,
|
|
7780
7790
|
forkThreadWorktree,
|
|
7781
7791
|
formatAccountProfilePlaybookLine,
|
|
7782
|
-
formatAgentInstructions,
|
|
7783
7792
|
formatArtifactDirective,
|
|
7784
7793
|
formatBrightsyFetchError,
|
|
7785
7794
|
formatDetachedJobInvoke,
|
|
@@ -7984,7 +7993,6 @@ export {
|
|
|
7984
7993
|
listWorktreeFiles,
|
|
7985
7994
|
listWorktrees,
|
|
7986
7995
|
liveActivitySummary,
|
|
7987
|
-
loadAgentInstructions,
|
|
7988
7996
|
loadAppSettings,
|
|
7989
7997
|
loadBrightsyConfig,
|
|
7990
7998
|
loadConductorSettings,
|
|
@@ -8001,6 +8009,7 @@ export {
|
|
|
8001
8009
|
mcpAllowTools,
|
|
8002
8010
|
mcpAuthWarnings,
|
|
8003
8011
|
mcpStatusThinkingFromClaudeInit,
|
|
8012
|
+
mentionsPrGoal,
|
|
8004
8013
|
mergeAgentGitAuthEnv,
|
|
8005
8014
|
mergePr,
|
|
8006
8015
|
mergePrStack,
|
|
@@ -8041,6 +8050,7 @@ export {
|
|
|
8041
8050
|
parseGithubSlugFromRemoteUrl,
|
|
8042
8051
|
parseMcpList,
|
|
8043
8052
|
parsePlanQuestionsInput,
|
|
8053
|
+
parsePrDetailsView,
|
|
8044
8054
|
parseSessionQuotaResetAt,
|
|
8045
8055
|
parseSlackRelayClientMessage,
|
|
8046
8056
|
parseSlackRelayServerMessage,
|
|
@@ -8108,7 +8118,9 @@ export {
|
|
|
8108
8118
|
resolveLinearState,
|
|
8109
8119
|
resolveLinearTeam,
|
|
8110
8120
|
resolveLoginCommand,
|
|
8121
|
+
resolveNewOrchestratorOptions,
|
|
8111
8122
|
resolveNewThreadOptions,
|
|
8123
|
+
resolveOrchestratorDefaults,
|
|
8112
8124
|
resolvePlanMarkdown,
|
|
8113
8125
|
resolvePrSelector,
|
|
8114
8126
|
resolvePrSelectors,
|
|
@@ -8171,6 +8183,7 @@ export {
|
|
|
8171
8183
|
slugify,
|
|
8172
8184
|
spawnAgentTurn,
|
|
8173
8185
|
splitForCompaction,
|
|
8186
|
+
splitTurnInputForSystemPrompt,
|
|
8174
8187
|
stackAgentDefaultsFrom,
|
|
8175
8188
|
stackIdFrom,
|
|
8176
8189
|
stackMergeReadiness,
|
|
@@ -8205,6 +8218,7 @@ export {
|
|
|
8205
8218
|
threadRequestsBrightsyMcp,
|
|
8206
8219
|
threadsDir,
|
|
8207
8220
|
threadsSharingWorktree,
|
|
8221
|
+
ticketSlugForBranch,
|
|
8208
8222
|
toAbleTimeIssueInfo,
|
|
8209
8223
|
toGitHubIssueInfo,
|
|
8210
8224
|
toPublicAppSettings,
|
|
@@ -8239,7 +8253,6 @@ export {
|
|
|
8239
8253
|
waitForPidExit,
|
|
8240
8254
|
warmGithubAgentAuth,
|
|
8241
8255
|
whichOnPath,
|
|
8242
|
-
withAgentInstructions,
|
|
8243
8256
|
withEventParentId,
|
|
8244
8257
|
withEventsParentId,
|
|
8245
8258
|
withExportedPath,
|
|
@@ -8251,6 +8264,7 @@ export {
|
|
|
8251
8264
|
worktreeDisplayLabel,
|
|
8252
8265
|
worktreeDisplayLabelForGroup,
|
|
8253
8266
|
worktreeNameFromPath,
|
|
8267
|
+
worktreeSlugForTicket,
|
|
8254
8268
|
worktreesRoot,
|
|
8255
8269
|
wrapReviewSkillMarkdown,
|
|
8256
8270
|
writeInjectedMcpConfig,
|