@sideboard-ai/core 0.1.208 → 0.1.210
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-I4IYZBKU.js → abletime-GDZLZRMY.js} +4 -4
- package/dist/{abletime-UWSSLXH3.js → abletime-QGGYL2G4.js} +4 -4
- package/dist/{abletime-oauth-C3BQXKW3.js → abletime-oauth-3X3BAPTF.js} +3 -3
- package/dist/{abletime-oauth-UZHPB3W2.js → abletime-oauth-F335TWKY.js} +3 -3
- package/dist/{abletime-rest-HYNYDYK3.js → abletime-rest-LAGTPAJL.js} +3 -3
- package/dist/{abletime-rest-5YPPEOKK.js → abletime-rest-PLJVY3H3.js} +3 -3
- package/dist/agents/cursor-runner.js +3 -3
- package/dist/{agents-QHQXR55O.js → agents-G3TFVFBQ.js} +6 -5
- package/dist/{agents-CCS5IEBV.js → agents-IQZUN47D.js} +6 -5
- package/dist/{app-settings-GJ6KDYEF.js → app-settings-2TN3WLZV.js} +7 -1
- package/dist/{app-settings-R2KNCT37.js → app-settings-XCRNCEEE.js} +7 -1
- package/dist/{chunk-F4LZUEIO.js → chunk-2M5B7YNY.js} +2 -2
- package/dist/{chunk-C6ZNQV5W.js → chunk-2R6BZRRB.js} +117 -25
- package/dist/{chunk-HA4EZKFY.js → chunk-3S2LDD2F.js} +3 -3
- package/dist/{chunk-6YZLSZLK.js → chunk-42IULNIY.js} +3 -3
- package/dist/{chunk-C5MNMITQ.js → chunk-AOQZZA3M.js} +119 -25
- package/dist/{chunk-4EGK47WV.js → chunk-BTC2D6LS.js} +217 -0
- package/dist/{chunk-7DKX5JLT.js → chunk-FGTPRMPS.js} +18 -3
- package/dist/{chunk-X45BV4VX.js → chunk-G4TANQC3.js} +5 -5
- package/dist/{chunk-Y4CF7LHH.js → chunk-L5CIEBLR.js} +232 -0
- package/dist/{chunk-WXWJ5MJ4.js → chunk-LS6TSOCE.js} +5 -5
- package/dist/{chunk-6J4OQ6TF.js → chunk-MN6YUD4O.js} +3 -3
- package/dist/{chunk-7PEIIN7P.js → chunk-NDE5RKZP.js} +24 -87
- package/dist/{chunk-W6X4GZJG.js → chunk-REZRGCKV.js} +3 -3
- package/dist/{chunk-NJ2CCLV6.js → chunk-WX4S775K.js} +2 -2
- package/dist/chunk-X5B3OS5I.js +34 -0
- package/dist/{chunk-ZHCB4CKR.js → chunk-X5PUFYDJ.js} +18 -3
- package/dist/{chunk-TEDEVD4O.js → chunk-YVE4PXCJ.js} +2 -2
- package/dist/{chunk-A6SOSLUV.js → chunk-YYELAUKP.js} +24 -94
- package/dist/{chunk-DNTPX6HV.js → chunk-ZC664YBJ.js} +3 -3
- package/dist/{chunk-OP6CFVTB.js → chunk-ZZNZX2QW.js} +2 -2
- package/dist/{coordinator-prompt-WOTJQMD5.js → coordinator-prompt-GCITY3Q5.js} +5 -4
- package/dist/{coordinator-prompt-TUHB6ZFA.js → coordinator-prompt-PONGPWIP.js} +5 -4
- package/dist/{cursor-recover-TXVTLAMA.js → cursor-recover-4PQAADAU.js} +3 -28
- package/dist/{global-workspace-V6G2KH2V.js → global-workspace-LIZHU4GM.js} +5 -4
- package/dist/{global-workspace-5UUUNA4A.js → global-workspace-LQZLTGFL.js} +5 -4
- package/dist/index.cjs +681 -385
- package/dist/index.d.cts +96 -5
- package/dist/index.d.ts +96 -5
- package/dist/index.js +52 -19
- package/dist/mcp/run-stdio.cjs +647 -385
- package/dist/mcp/run-stdio.js +12 -11
- package/dist/{orchestrator-4IGHVRAF.js → orchestrator-G5HELCVT.js} +7 -6
- package/dist/{orchestrator-D4AQNF25.js → orchestrator-ZBUXJCII.js} +7 -6
- package/dist/{thread-store-FMWDFAO5.js → thread-store-FCWU7Y3X.js} +2 -1
- package/dist/{thread-store-ESZYZSVC.js → thread-store-KMZRQEPY.js} +2 -1
- package/dist/{workspaces-PZ36M7EQ.js → workspaces-2XW2DMRG.js} +5 -4
- package/dist/{workspaces-CLNANACI.js → workspaces-T6PMQZYQ.js} +5 -4
- package/dist/{worktree-JKTM47K5.js → worktree-2OEMMFRT.js} +4 -3
- package/dist/{worktree-NC4XQNQI.js → worktree-5ZGWKKZ6.js} +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
parseAbleTimeOAuthCallbackUrl,
|
|
21
21
|
resolveAbleTimeOAuthHost,
|
|
22
22
|
startAbleTimeOAuth
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MN6YUD4O.js";
|
|
24
24
|
import {
|
|
25
25
|
ableTimeDependencyTarget,
|
|
26
26
|
commentAbleTimeTask,
|
|
@@ -38,8 +38,8 @@ import {
|
|
|
38
38
|
toAbleTimeIssueInfo,
|
|
39
39
|
updateAbleTimeTask,
|
|
40
40
|
verifyAbleTimeConnection
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-REZRGCKV.js";
|
|
42
|
+
import "./chunk-2M5B7YNY.js";
|
|
43
43
|
import {
|
|
44
44
|
ABLETIME_MCP_PATH,
|
|
45
45
|
ABLETIME_MCP_PM_PATH,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
normalizeAbleTimeCredential,
|
|
61
61
|
normalizeAbleTimeHost,
|
|
62
62
|
rewriteAbleTimeError
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-G4TANQC3.js";
|
|
64
64
|
import {
|
|
65
65
|
AGENT_GIT_ACTIONS,
|
|
66
66
|
BOARD_COLUMN_DEFS,
|
|
@@ -116,6 +116,7 @@ import {
|
|
|
116
116
|
captureTurnBaseline,
|
|
117
117
|
claimDesktopHost,
|
|
118
118
|
classifyWorktreeColumn,
|
|
119
|
+
cleanupArchivedHistory,
|
|
119
120
|
cleanupOrphanWorktrees,
|
|
120
121
|
cloneRepoIntoSideboard,
|
|
121
122
|
computeNextRunAt,
|
|
@@ -279,6 +280,7 @@ import {
|
|
|
279
280
|
shouldRefreshReviewRequestTemplate,
|
|
280
281
|
shouldRemoveWorktreeOnTeardown,
|
|
281
282
|
shouldResetSessionForOccupancy,
|
|
283
|
+
shouldRunHistoryCleanup,
|
|
282
284
|
shouldRunWorktreeCleanup,
|
|
283
285
|
shouldStampSetupLastError,
|
|
284
286
|
slackApi,
|
|
@@ -307,7 +309,7 @@ import {
|
|
|
307
309
|
worktreeCleanupSettings,
|
|
308
310
|
wrapReviewSkillMarkdown,
|
|
309
311
|
writeWorktreeFile
|
|
310
|
-
} from "./chunk-
|
|
312
|
+
} from "./chunk-AOQZZA3M.js";
|
|
311
313
|
import {
|
|
312
314
|
LEGACY_PLAN_FILE_REL,
|
|
313
315
|
PLAN_FILE_NAME,
|
|
@@ -335,7 +337,6 @@ import {
|
|
|
335
337
|
WORKTREE_MCP_TOOLS,
|
|
336
338
|
allAdapters,
|
|
337
339
|
applyAgentEvent,
|
|
338
|
-
applyTurnUsage,
|
|
339
340
|
brightsyAdapter,
|
|
340
341
|
brightsyMcpAllowedTools,
|
|
341
342
|
buildCachedUserContent,
|
|
@@ -345,7 +346,6 @@ import {
|
|
|
345
346
|
clipAgentEventForPaint,
|
|
346
347
|
clipThinkingForStore,
|
|
347
348
|
codexAdapter,
|
|
348
|
-
contextTokens,
|
|
349
349
|
countCacheControlBlocks,
|
|
350
350
|
cursorAdapter,
|
|
351
351
|
decodeBrightsyTarget,
|
|
@@ -362,7 +362,6 @@ import {
|
|
|
362
362
|
formatClaudeUsageReset,
|
|
363
363
|
formatClaudeUsageResetClock,
|
|
364
364
|
formatClaudeUsageTooltip,
|
|
365
|
-
fromInclusiveInputUsage,
|
|
366
365
|
getAdapter,
|
|
367
366
|
getAgentSetupInfo,
|
|
368
367
|
getClaudePlanUsage,
|
|
@@ -392,7 +391,6 @@ import {
|
|
|
392
391
|
mcpAuthWarnings,
|
|
393
392
|
mcpStatusThinkingFromClaudeInit,
|
|
394
393
|
mergeSideboardIntoMcpServersJson,
|
|
395
|
-
mergeUsage,
|
|
396
394
|
messagePartParentId,
|
|
397
395
|
normalizeParseResult,
|
|
398
396
|
normalizeTurnInput,
|
|
@@ -406,7 +404,6 @@ import {
|
|
|
406
404
|
prepareTerminalCommand,
|
|
407
405
|
promptMentionsBrightsy,
|
|
408
406
|
registerPackagedUserMcpClients,
|
|
409
|
-
requestOccupancy,
|
|
410
407
|
resolveCursorModelId,
|
|
411
408
|
resolveLoginCommand,
|
|
412
409
|
resolveQuotaFallbackAgent,
|
|
@@ -415,13 +412,11 @@ import {
|
|
|
415
412
|
sideboardMcpProfile,
|
|
416
413
|
splitTurnInputForSystemPrompt,
|
|
417
414
|
stripBrightsyNdjsonNoise,
|
|
418
|
-
sumUsageList,
|
|
419
415
|
threadRequestsBrightsyMcp,
|
|
420
416
|
toolActivityLine,
|
|
421
417
|
toolDescription,
|
|
422
418
|
toolDetail,
|
|
423
419
|
toolFilePath,
|
|
424
|
-
totalTokens,
|
|
425
420
|
userClaudeMcpConfigPath,
|
|
426
421
|
userCursorMcpConfigPath,
|
|
427
422
|
userMcpNamesToDisable,
|
|
@@ -430,7 +425,7 @@ import {
|
|
|
430
425
|
withEventParentId,
|
|
431
426
|
withEventsParentId,
|
|
432
427
|
writeInjectedMcpConfig
|
|
433
|
-
} from "./chunk-
|
|
428
|
+
} from "./chunk-YYELAUKP.js";
|
|
434
429
|
import {
|
|
435
430
|
CLOUD_COORDINATOR_BUSY_REPLY,
|
|
436
431
|
CLOUD_COORDINATOR_STOPPED_REPLY,
|
|
@@ -473,7 +468,7 @@ import {
|
|
|
473
468
|
stageBuffersAsAttachments,
|
|
474
469
|
syncWorkspacesFromThreads,
|
|
475
470
|
takenTeamSlugsForOrchestration
|
|
476
|
-
} from "./chunk-
|
|
471
|
+
} from "./chunk-3S2LDD2F.js";
|
|
477
472
|
import {
|
|
478
473
|
FAMOUS_SOCCER_TEAMS,
|
|
479
474
|
GITHUB_PR_BODY_MAX_CHARS,
|
|
@@ -571,7 +566,7 @@ import {
|
|
|
571
566
|
worktreeDisplayLabelForGroup,
|
|
572
567
|
worktreeNameFromPath,
|
|
573
568
|
worktreeSlugForTicket
|
|
574
|
-
} from "./chunk-
|
|
569
|
+
} from "./chunk-ZZNZX2QW.js";
|
|
575
570
|
import {
|
|
576
571
|
ATTACHMENTS_DIR,
|
|
577
572
|
CLI_DIR,
|
|
@@ -622,14 +617,22 @@ import {
|
|
|
622
617
|
FOLLOW_UP_BEHAVIORS,
|
|
623
618
|
GITHUB_GIT_AUTH_MODES,
|
|
624
619
|
HARNESS_ENV_KEYS,
|
|
620
|
+
HISTORY_DISCARDED_TEXT,
|
|
621
|
+
HISTORY_MAX_COUNT_DEFAULT,
|
|
622
|
+
HISTORY_MAX_COUNT_MAX,
|
|
623
|
+
HISTORY_MAX_COUNT_MIN,
|
|
624
|
+
HISTORY_MAX_DAYS_DEFAULT,
|
|
625
|
+
HISTORY_MAX_DAYS_MAX,
|
|
625
626
|
ISSUE_SOURCE_LABELS,
|
|
626
627
|
ORCHESTRATOR_AGENT_KINDS,
|
|
627
628
|
PROFILE_NOTES_MAX,
|
|
628
629
|
USAGE_ON_LIMIT_VALUES,
|
|
629
630
|
appSettingsPath,
|
|
630
631
|
applyAppEnvironment,
|
|
632
|
+
applyTurnUsage,
|
|
631
633
|
assertOrchestratorCapableAgent,
|
|
632
634
|
autoArchiveOnMergeEnabled,
|
|
635
|
+
autoCleanupHistoryEnabled,
|
|
633
636
|
autoCleanupOrphansEnabled,
|
|
634
637
|
autoRenameBranchEnabled,
|
|
635
638
|
autoRunAfterSetupEnabled,
|
|
@@ -641,10 +644,13 @@ import {
|
|
|
641
644
|
caffeinateWhileSchedulesEnabled,
|
|
642
645
|
caffeinateWhileSlackListenEnabled,
|
|
643
646
|
childEnvWithAppSettings,
|
|
647
|
+
clampHistoryMaxCount,
|
|
648
|
+
clampHistoryMaxDays,
|
|
644
649
|
claudeChromeEnabled,
|
|
645
650
|
claudeUserSettingsPath,
|
|
646
651
|
coerceOrchestratorAgent,
|
|
647
652
|
confirmClaudeUsageOverLimitEnabled,
|
|
653
|
+
contextTokens,
|
|
648
654
|
cowboyModeEnabled,
|
|
649
655
|
deleteBranchOnPurgeEnabled,
|
|
650
656
|
disconnectAbleTimeConnection,
|
|
@@ -659,6 +665,7 @@ import {
|
|
|
659
665
|
formatViewerContextDirective,
|
|
660
666
|
formatViewerContextReminder,
|
|
661
667
|
formatWorkspaceProfileSuffix,
|
|
668
|
+
fromInclusiveInputUsage,
|
|
662
669
|
getAbleTimeAccessToken,
|
|
663
670
|
getAbleTimeHost,
|
|
664
671
|
getDefaultAgent,
|
|
@@ -671,7 +678,10 @@ import {
|
|
|
671
678
|
getLinearApiKey,
|
|
672
679
|
gitBranchPrefixSetting,
|
|
673
680
|
harnessEnvKey,
|
|
681
|
+
historyMaxCount,
|
|
682
|
+
historyMaxDays,
|
|
674
683
|
isAbleTimeConnected,
|
|
684
|
+
isHistoryRetentionStub,
|
|
675
685
|
isIssueSourceConnected,
|
|
676
686
|
isLinearConnected,
|
|
677
687
|
isOrchestratorCapableAgent,
|
|
@@ -679,11 +689,15 @@ import {
|
|
|
679
689
|
issueSourceLabel,
|
|
680
690
|
loadAppSettings,
|
|
681
691
|
maxConcurrentAgents,
|
|
692
|
+
mergeUsage,
|
|
682
693
|
orchestrationQuotaFallbackAgent,
|
|
683
694
|
orchestrationQuotaOnLimit,
|
|
684
695
|
persistVaultKeyInKeychain,
|
|
696
|
+
planHistoryAgePurge,
|
|
697
|
+
planHistoryRetention,
|
|
685
698
|
readKeychainVaultKey,
|
|
686
699
|
readViewerContext,
|
|
700
|
+
requestOccupancy,
|
|
687
701
|
resolveAccountProfile,
|
|
688
702
|
resolveAccountProfileFromSettings,
|
|
689
703
|
resolveAgentExecutable,
|
|
@@ -705,7 +719,9 @@ import {
|
|
|
705
719
|
showCostEnabled,
|
|
706
720
|
slackAppLevelToken,
|
|
707
721
|
slackListenEnabled,
|
|
722
|
+
sumUsageList,
|
|
708
723
|
toPublicAppSettings,
|
|
724
|
+
totalTokens,
|
|
709
725
|
updateAdvancedSettings,
|
|
710
726
|
updateAgentExecutable,
|
|
711
727
|
updateAppEnvironment,
|
|
@@ -718,7 +734,7 @@ import {
|
|
|
718
734
|
updateProjectProfileSettings,
|
|
719
735
|
usageOnLimit,
|
|
720
736
|
writeViewerContext
|
|
721
|
-
} from "./chunk-
|
|
737
|
+
} from "./chunk-L5CIEBLR.js";
|
|
722
738
|
import {
|
|
723
739
|
stripNestedElectronEnv
|
|
724
740
|
} from "./chunk-4TR3HZFT.js";
|
|
@@ -751,7 +767,8 @@ import {
|
|
|
751
767
|
updateThread,
|
|
752
768
|
withThreadLock,
|
|
753
769
|
writeThread
|
|
754
|
-
} from "./chunk-
|
|
770
|
+
} from "./chunk-FGTPRMPS.js";
|
|
771
|
+
import "./chunk-7J72QJOM.js";
|
|
755
772
|
import {
|
|
756
773
|
THINKING_EFFORTS,
|
|
757
774
|
isThinkingEffort,
|
|
@@ -5237,7 +5254,7 @@ async function startMcpServer() {
|
|
|
5237
5254
|
);
|
|
5238
5255
|
}
|
|
5239
5256
|
try {
|
|
5240
|
-
const { maxConcurrentAgents: maxConcurrentAgents2 } = await import("./app-settings-
|
|
5257
|
+
const { maxConcurrentAgents: maxConcurrentAgents2 } = await import("./app-settings-2TN3WLZV.js");
|
|
5241
5258
|
orch.setMaxConcurrent(maxConcurrentAgents2());
|
|
5242
5259
|
} catch {
|
|
5243
5260
|
}
|
|
@@ -5552,7 +5569,7 @@ async function startMcpServer() {
|
|
|
5552
5569
|
registerConnectedIssueVendorTools(server);
|
|
5553
5570
|
registerScheduleTools(server);
|
|
5554
5571
|
const { getCaffeinateHold: getCaffeinateHold2, setCaffeinateHold: setCaffeinateHold2 } = await import("./caffeinate-hold-22VFDPSO.js");
|
|
5555
|
-
const { resolveNewThreadOptions: resolveNewThreadOptions2, resolveThreadDefaults: resolveThreadDefaults2 } = await import("./app-settings-
|
|
5572
|
+
const { resolveNewThreadOptions: resolveNewThreadOptions2, resolveThreadDefaults: resolveThreadDefaults2 } = await import("./app-settings-2TN3WLZV.js");
|
|
5556
5573
|
const accountDefaults = resolveThreadDefaults2();
|
|
5557
5574
|
const accountDefaultsHint = `Account defaults: agent=${accountDefaults.agent}, model=${accountDefaults.model?.trim() || "Auto"}, effort=${accountDefaults.effort}`;
|
|
5558
5575
|
server.tool(
|
|
@@ -8573,6 +8590,12 @@ export {
|
|
|
8573
8590
|
GITHUB_PR_BODY_SAFE_CHARS,
|
|
8574
8591
|
GLOBAL_WORKSPACE_ID,
|
|
8575
8592
|
HARNESS_ENV_KEYS,
|
|
8593
|
+
HISTORY_DISCARDED_TEXT,
|
|
8594
|
+
HISTORY_MAX_COUNT_DEFAULT,
|
|
8595
|
+
HISTORY_MAX_COUNT_MAX,
|
|
8596
|
+
HISTORY_MAX_COUNT_MIN,
|
|
8597
|
+
HISTORY_MAX_DAYS_DEFAULT,
|
|
8598
|
+
HISTORY_MAX_DAYS_MAX,
|
|
8576
8599
|
HOME_BOARD_CACHE_TTL_MS,
|
|
8577
8600
|
IMPLIED_TICKET_RESOLVE_PROMPT,
|
|
8578
8601
|
ISSUE_SOURCE_LABELS,
|
|
@@ -8680,6 +8703,7 @@ export {
|
|
|
8680
8703
|
attachmentsFromWorktreePaths,
|
|
8681
8704
|
attachmentsGitignoreBody,
|
|
8682
8705
|
autoArchiveOnMergeEnabled,
|
|
8706
|
+
autoCleanupHistoryEnabled,
|
|
8683
8707
|
autoCleanupOrphansEnabled,
|
|
8684
8708
|
autoRenameBranchEnabled,
|
|
8685
8709
|
autoRunAfterSetupEnabled,
|
|
@@ -8717,11 +8741,14 @@ export {
|
|
|
8717
8741
|
childEnvWithAppSettings,
|
|
8718
8742
|
claimDesktopHost,
|
|
8719
8743
|
clampGithubPrBody,
|
|
8744
|
+
clampHistoryMaxCount,
|
|
8745
|
+
clampHistoryMaxDays,
|
|
8720
8746
|
classifyWorktreeColumn,
|
|
8721
8747
|
claudeAdapter,
|
|
8722
8748
|
claudeChromeEnabled,
|
|
8723
8749
|
claudeUsageOverLimitWindows,
|
|
8724
8750
|
claudeUserSettingsPath,
|
|
8751
|
+
cleanupArchivedHistory,
|
|
8725
8752
|
cleanupOrphanWorktrees,
|
|
8726
8753
|
clearBoardPins,
|
|
8727
8754
|
clearHomeBoardCache,
|
|
@@ -8953,6 +8980,8 @@ export {
|
|
|
8953
8980
|
hasRepoHook,
|
|
8954
8981
|
hasWorkspaceHook,
|
|
8955
8982
|
healOrchestrationSoccerTitles,
|
|
8983
|
+
historyMaxCount,
|
|
8984
|
+
historyMaxDays,
|
|
8956
8985
|
hottestClaudeWindow,
|
|
8957
8986
|
httpFetch,
|
|
8958
8987
|
importConductorWorkspace,
|
|
@@ -8985,6 +9014,7 @@ export {
|
|
|
8985
9014
|
isGhRateLimitError,
|
|
8986
9015
|
isGlobalRepoPath,
|
|
8987
9016
|
isGlobalThread,
|
|
9017
|
+
isHistoryRetentionStub,
|
|
8988
9018
|
isHomeBoardThread,
|
|
8989
9019
|
isImageFilePath,
|
|
8990
9020
|
isInPrStack,
|
|
@@ -9143,6 +9173,8 @@ export {
|
|
|
9143
9173
|
persistPendingFileAttachments,
|
|
9144
9174
|
persistVaultKeyInKeychain,
|
|
9145
9175
|
planFileAbs,
|
|
9176
|
+
planHistoryAgePurge,
|
|
9177
|
+
planHistoryRetention,
|
|
9146
9178
|
planQuestionsSignature,
|
|
9147
9179
|
pollSlackOutboundWatches,
|
|
9148
9180
|
posixShellSingleQuote,
|
|
@@ -9258,6 +9290,7 @@ export {
|
|
|
9258
9290
|
shouldRefreshReviewRequestTemplate,
|
|
9259
9291
|
shouldRemoveWorktreeOnTeardown,
|
|
9260
9292
|
shouldResetSessionForOccupancy,
|
|
9293
|
+
shouldRunHistoryCleanup,
|
|
9261
9294
|
shouldRunWorktreeCleanup,
|
|
9262
9295
|
shouldStampSetupLastError,
|
|
9263
9296
|
showCostEnabled,
|