@sideboard-ai/core 0.1.326 → 0.1.327
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-RYYFGKMU.js → abletime-NW4PJGHN.js} +4 -5
- package/dist/{abletime-RDHYSZL2.js → abletime-OW7LTFQD.js} +4 -5
- package/dist/{abletime-oauth-OYGS2DAU.js → abletime-oauth-KWQQRHOQ.js} +3 -4
- package/dist/{abletime-oauth-QR2QDVMK.js → abletime-oauth-TPR2QDRI.js} +3 -4
- package/dist/{abletime-rest-QDPTWNS4.js → abletime-rest-5DCWN3P4.js} +3 -4
- package/dist/{abletime-rest-BKYKNPTC.js → abletime-rest-UJ6SXDBN.js} +3 -4
- package/dist/agents/claude-runner.cjs +11 -0
- package/dist/agents/claude-runner.js +7 -1
- package/dist/{agents-QO7GKBYT.js → agents-IYBY3JT5.js} +8 -9
- package/dist/{agents-HANWZNI6.js → agents-XWIPONJR.js} +8 -9
- package/dist/{app-settings-RXBH7KY4.js → app-settings-A5D364JD.js} +1 -2
- package/dist/{app-settings-TUVLZNDE.js → app-settings-SA4HX3ZQ.js} +1 -2
- package/dist/{chunk-3Q4XNYHY.js → chunk-2GEUFPQQ.js} +1 -1
- package/dist/{chunk-MAW7DIG7.js → chunk-4F7THWIO.js} +2 -2
- package/dist/{chunk-K7M7MIWL.js → chunk-4G3W23X3.js} +3 -3
- package/dist/{chunk-Q3FHTGIW.js → chunk-5Y2C7Q55.js} +441 -20
- package/dist/{chunk-TMCK5TLA.js → chunk-ATQLP22S.js} +1 -1
- package/dist/{chunk-PB6HW7SA.js → chunk-CHYUUETG.js} +3 -3
- package/dist/{chunk-QPSKQP6E.js → chunk-D446IWPP.js} +48 -3
- package/dist/{chunk-C7HUCBX7.js → chunk-DACWFN4O.js} +5 -5
- package/dist/{chunk-GP3RLZ6A.js → chunk-DEB47BII.js} +51 -487
- package/dist/{chunk-B244TJWC.js → chunk-ECY7WL6T.js} +2 -2
- package/dist/{chunk-D744HOI5.js → chunk-EJRCHCXM.js} +18 -3
- package/dist/{chunk-KXRF6RNL.js → chunk-EUIVQAPK.js} +2 -2
- package/dist/{chunk-46FECFZU.js → chunk-IXWPCOLQ.js} +8 -195
- package/dist/{chunk-75RPUXJS.js → chunk-JKHCADKB.js} +5 -5
- package/dist/{chunk-4H5MWZ6J.js → chunk-KLVW3J2B.js} +2 -2
- package/dist/{chunk-QG4CYRA3.js → chunk-MO46K6WK.js} +14 -14
- package/dist/{chunk-F2PVRF3B.js → chunk-N6ZF3XRP.js} +2 -1
- package/dist/{chunk-BBNWKL4I.js → chunk-NQGLDQYB.js} +8 -8
- package/dist/{chunk-YGVGXQA7.js → chunk-Q4UPRQOS.js} +12 -12
- package/dist/{chunk-ZUAYA57W.js → chunk-QMLDR63X.js} +2 -2
- package/dist/{chunk-KECHK3ZT.js → chunk-R2C45NHT.js} +2 -2
- package/dist/{chunk-FWVUGLBG.js → chunk-RDXODLEN.js} +4 -4
- package/dist/{chunk-XLVLMQKN.js → chunk-RZJ3QJZT.js} +11 -11
- package/dist/{chunk-JM2TGOHP.js → chunk-SB5ADEZZ.js} +5 -5
- package/dist/{chunk-SO7G6O24.js → chunk-SFXGD5KJ.js} +1 -1
- package/dist/{chunk-LRHUBGEM.js → chunk-TUH4ICHQ.js} +1 -1
- package/dist/chunk-ULWPSBAB.js +192 -0
- package/dist/{chunk-WUCAVIIP.js → chunk-UMXBH344.js} +1 -1
- package/dist/{chunk-RZVOX2MT.js → chunk-XBBZZHJY.js} +3 -3
- package/dist/{chunk-ZSHS46V5.js → chunk-Y6OHM672.js} +476 -20
- package/dist/{chunk-2EOLWHXH.js → chunk-YUHZEIVG.js} +69 -473
- package/dist/{chunk-YWQF7WAG.js → chunk-ZPBOWO64.js} +2 -2
- package/dist/{conductor-4GVTHUUB.js → conductor-CP7TW6TN.js} +7 -7
- package/dist/{conductor-TGWI6ETZ.js → conductor-D62Q2XJC.js} +6 -7
- package/dist/{coordinator-prompt-3E6SIDTM.js → coordinator-prompt-3PJLU3UH.js} +5 -6
- package/dist/{coordinator-prompt-WEYJREV6.js → coordinator-prompt-J7O7JB26.js} +5 -6
- package/dist/{global-workspace-UIEXAG2B.js → global-workspace-4CTLU2BV.js} +5 -6
- package/dist/{global-workspace-FPDZKUPF.js → global-workspace-Y3UDZYJX.js} +5 -6
- package/dist/index.cjs +507 -492
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +67 -65
- package/dist/{linear-6S7MK5YK.js → linear-CXWGH2TW.js} +2 -3
- package/dist/{linear-Z2T4KUAQ.js → linear-WLDCJ3AF.js} +2 -3
- package/dist/{linear-list-Q4M7AZO2.js → linear-list-52LEDEWO.js} +1 -1
- package/dist/{linear-list-A37WLUBO.js → linear-list-FGVN65JU.js} +1 -1
- package/dist/mcp/run-stdio.cjs +19654 -19641
- package/dist/mcp/run-stdio.js +33 -34
- package/dist/{optional-cli-CA4LL322.js → optional-cli-FN4MGB6W.js} +4 -5
- package/dist/{optional-cli-AANBL4U5.js → optional-cli-INRVBBBG.js} +3 -4
- package/dist/{orchestrator-7FVDBE7Y.js → orchestrator-EN3ZKD73.js} +12 -12
- package/dist/{orchestrator-RQXRZW7Z.js → orchestrator-W4TZBBDO.js} +11 -12
- package/dist/{thread-store-4ZN3DS2W.js → thread-store-4WE24XA2.js} +6 -2
- package/dist/{thread-store-IC4BQXDW.js → thread-store-K2ZNGUSM.js} +7 -3
- package/dist/{workspaces-LEW4UP56.js → workspaces-MM7CQYR6.js} +5 -6
- package/dist/{workspaces-QONNLHNR.js → workspaces-WYCVZ6XH.js} +5 -6
- package/dist/{worktree-KFEJAQ2H.js → worktree-JBNEMJ5Z.js} +7 -8
- package/dist/{worktree-6GIONDQO.js → worktree-NNVRGPP4.js} +4 -5
- package/package.json +1 -1
- package/dist/chunk-77WWLBCI.js +0 -50
- package/dist/chunk-KGZBYWZ3.js +0 -23
package/dist/index.js
CHANGED
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
toAbleTimeIssueInfo,
|
|
18
18
|
updateAbleTimeTask,
|
|
19
19
|
verifyAbleTimeConnection
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CHYUUETG.js";
|
|
21
21
|
import {
|
|
22
22
|
clearOptionalCliPresenceCache,
|
|
23
23
|
detectOptionalServiceClis,
|
|
24
24
|
installOptionalServiceCli,
|
|
25
25
|
optionalCliPresence
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QMLDR63X.js";
|
|
27
27
|
import {
|
|
28
28
|
AGENT_GIT_ACTIONS,
|
|
29
29
|
BOARD_COLUMN_DEFS,
|
|
@@ -40,7 +40,6 @@ import {
|
|
|
40
40
|
MAX_RUN_LOG_CHARS,
|
|
41
41
|
Orchestrator,
|
|
42
42
|
RUN_SCRIPT_DESKTOP_ADOPT_MS,
|
|
43
|
-
WEEKDAY_LABELS,
|
|
44
43
|
addStackLayerFromThread,
|
|
45
44
|
adoptThread,
|
|
46
45
|
agentBlockFields,
|
|
@@ -67,7 +66,6 @@ import {
|
|
|
67
66
|
cleanupArchivedHistory,
|
|
68
67
|
cleanupOrphanWorktrees,
|
|
69
68
|
cloneRepoIntoSideboard,
|
|
70
|
-
computeNextRunAt,
|
|
71
69
|
conductorDbPath,
|
|
72
70
|
confirmLand,
|
|
73
71
|
connectedOrchestrator,
|
|
@@ -75,12 +73,9 @@ import {
|
|
|
75
73
|
consumeComposerAttachments,
|
|
76
74
|
createOrUpdatePr,
|
|
77
75
|
createPrStack,
|
|
78
|
-
createSchedule,
|
|
79
76
|
createThread,
|
|
80
77
|
dedupeBoardIssues,
|
|
81
78
|
dedupeBoardPrs,
|
|
82
|
-
defaultScheduleName,
|
|
83
|
-
deleteSchedule,
|
|
84
79
|
desktopHostPidPath,
|
|
85
80
|
detectAgents,
|
|
86
81
|
discoverSkills,
|
|
@@ -117,20 +112,16 @@ import {
|
|
|
117
112
|
formatPrGateDirective,
|
|
118
113
|
formatProcessGuideDirective,
|
|
119
114
|
formatRenameBranchDirective,
|
|
120
|
-
formatScheduleWhen,
|
|
121
115
|
formatScheduledPrompt,
|
|
122
116
|
formatUiReminder,
|
|
123
|
-
formatWeeklyDays,
|
|
124
117
|
formatWorktreeDirective,
|
|
125
118
|
formatWorktreeReminder,
|
|
126
119
|
getDiff,
|
|
127
120
|
getDiffSummary,
|
|
128
121
|
getOrchestrator,
|
|
129
|
-
getSchedule,
|
|
130
122
|
getWorktreeDirtyStat,
|
|
131
123
|
ghPrCreateAssigneeArgs,
|
|
132
124
|
groupHomeBoardWorktrees,
|
|
133
|
-
hasEnabledSchedules,
|
|
134
125
|
importConductorWorkspace,
|
|
135
126
|
importConductorWorkspaceAsync,
|
|
136
127
|
initStackFromThread,
|
|
@@ -160,7 +151,6 @@ import {
|
|
|
160
151
|
listConductorWorkspaces,
|
|
161
152
|
listFleetArchive,
|
|
162
153
|
listLinearIssues,
|
|
163
|
-
listSchedules,
|
|
164
154
|
listWorktreeFiles,
|
|
165
155
|
livePartsShowAgentReply,
|
|
166
156
|
localhostPreviewUrl,
|
|
@@ -170,14 +160,10 @@ import {
|
|
|
170
160
|
mentionsPrGoal,
|
|
171
161
|
mergeSetupOutput,
|
|
172
162
|
moveQueuedItemToFront,
|
|
173
|
-
normalizeWeekdays,
|
|
174
|
-
normalizeWeeklyTime,
|
|
175
163
|
notifyOrchestrator,
|
|
176
164
|
openPrStackLayers,
|
|
177
165
|
openStackLayer,
|
|
178
166
|
packagedDetachedJobPath,
|
|
179
|
-
parseDurationMs,
|
|
180
|
-
parseWeeklyDays,
|
|
181
167
|
pendingInjectedNotices,
|
|
182
168
|
prependQueuedItem,
|
|
183
169
|
previewLand,
|
|
@@ -188,7 +174,6 @@ import {
|
|
|
188
174
|
readTurnLiveParts,
|
|
189
175
|
readWorktreeFile,
|
|
190
176
|
readWorktreeFileForUpload,
|
|
191
|
-
recordScheduleRun,
|
|
192
177
|
registerViewerContextTools,
|
|
193
178
|
releaseDesktopHost,
|
|
194
179
|
removeQueuedItem,
|
|
@@ -198,12 +183,9 @@ import {
|
|
|
198
183
|
resolveDetachedJobScript,
|
|
199
184
|
resolveNotifyCallerThread,
|
|
200
185
|
resolveOrchChildFollowUp,
|
|
201
|
-
resolveScheduleThreadId,
|
|
202
186
|
resolveSendFollowUp,
|
|
203
187
|
resolveSidebarGitPrompt,
|
|
204
188
|
reviewLabelForRepo,
|
|
205
|
-
scheduleNeedsCaffeinate,
|
|
206
|
-
schedulesPath,
|
|
207
189
|
setToolPermissionPublisher,
|
|
208
190
|
shiftQueuedItem,
|
|
209
191
|
shouldNotifyOrchestrator,
|
|
@@ -228,17 +210,15 @@ import {
|
|
|
228
210
|
takePendingTurnAttachments,
|
|
229
211
|
thisProcessShouldDrainAgentQueues,
|
|
230
212
|
trailingUnansweredUserText,
|
|
231
|
-
updateSchedule,
|
|
232
213
|
visibleAgentBlock,
|
|
233
214
|
waitForPidExit,
|
|
234
|
-
weeklyCronExpr,
|
|
235
215
|
workspaceTagTargetRef,
|
|
236
216
|
worktreeAgentBlock,
|
|
237
217
|
worktreeBoardStatus,
|
|
238
218
|
worktreeCleanupSettings,
|
|
239
219
|
writeAgentBlock,
|
|
240
220
|
writeWorktreeFile
|
|
241
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-DEB47BII.js";
|
|
242
222
|
import {
|
|
243
223
|
OPTIONAL_SERVICES,
|
|
244
224
|
OPTIONAL_SERVICE_IDS,
|
|
@@ -254,7 +234,7 @@ import {
|
|
|
254
234
|
optionalServiceConnected,
|
|
255
235
|
optionalServiceSpec,
|
|
256
236
|
verifyOptionalService
|
|
257
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-ECY7WL6T.js";
|
|
258
238
|
import {
|
|
259
239
|
LEGACY_PLAN_FILE_REL,
|
|
260
240
|
PLAN_FILE_NAME,
|
|
@@ -311,7 +291,7 @@ import {
|
|
|
311
291
|
startLinearOAuth,
|
|
312
292
|
updateLinearIssue,
|
|
313
293
|
validateLinearApiKey
|
|
314
|
-
} from "./chunk-
|
|
294
|
+
} from "./chunk-SFXGD5KJ.js";
|
|
315
295
|
import {
|
|
316
296
|
downloadAuthenticatedFile,
|
|
317
297
|
extractHttpUrls,
|
|
@@ -399,7 +379,7 @@ import {
|
|
|
399
379
|
userMcpNamesToDisable,
|
|
400
380
|
worktreeMcpToolNames,
|
|
401
381
|
writeInjectedMcpConfig
|
|
402
|
-
} from "./chunk-
|
|
382
|
+
} from "./chunk-NQGLDQYB.js";
|
|
403
383
|
import {
|
|
404
384
|
getAgentSetupInfo,
|
|
405
385
|
installAgent,
|
|
@@ -411,7 +391,7 @@ import {
|
|
|
411
391
|
prepareTerminalCommand,
|
|
412
392
|
resolveLoginCommand,
|
|
413
393
|
whichOnPath
|
|
414
|
-
} from "./chunk-
|
|
394
|
+
} from "./chunk-KLVW3J2B.js";
|
|
415
395
|
import {
|
|
416
396
|
brightsyMcpServerName,
|
|
417
397
|
connectBrightsyTeam,
|
|
@@ -422,7 +402,7 @@ import {
|
|
|
422
402
|
listConnectedBrightsyTeams,
|
|
423
403
|
switchBrightsyAccount
|
|
424
404
|
} from "./chunk-S5CJUIPY.js";
|
|
425
|
-
import "./chunk-
|
|
405
|
+
import "./chunk-ATQLP22S.js";
|
|
426
406
|
import {
|
|
427
407
|
BRIGHTSY_SUMMARIZE_CONTEXT_TOOL,
|
|
428
408
|
CHARS_PER_CONTEXT_TOKEN,
|
|
@@ -433,7 +413,6 @@ import {
|
|
|
433
413
|
CONTEXT_MIN_MESSAGES,
|
|
434
414
|
CONTEXT_REVIEW_PATH,
|
|
435
415
|
LEGACY_REVIEW_REQUEST_PATH,
|
|
436
|
-
PLAN_QUESTION_ANSWERS_PREFIX,
|
|
437
416
|
PORT_RANGE_SIZE,
|
|
438
417
|
REPO_REVIEW_NAME,
|
|
439
418
|
REPO_REVIEW_PATH,
|
|
@@ -452,7 +431,6 @@ import {
|
|
|
452
431
|
appendCompactedMessages,
|
|
453
432
|
applyCompaction,
|
|
454
433
|
applyForwardOccupancy,
|
|
455
|
-
askBlockStillWaiting,
|
|
456
434
|
buildBrightsySessionSeed,
|
|
457
435
|
buildForkTranscriptAttachment,
|
|
458
436
|
buildReviewRequestAttachment,
|
|
@@ -472,25 +450,20 @@ import {
|
|
|
472
450
|
estimateOccupancyTokens,
|
|
473
451
|
estimateThreadChars,
|
|
474
452
|
extractBrightsyContextSummary,
|
|
475
|
-
extractPendingPlanQuestions,
|
|
476
453
|
extractiveSummary,
|
|
477
454
|
findLastBrightsyContextSummary,
|
|
478
455
|
forkChatTab,
|
|
479
456
|
forkMessageSlice,
|
|
480
457
|
formatMessagesAsTranscript,
|
|
481
|
-
formatPlanQuestionAnswers,
|
|
482
|
-
formatPlanQuestionsForChat,
|
|
483
458
|
formatTranscriptMarkdown,
|
|
484
459
|
forwardContextUsage,
|
|
485
460
|
forwardOccupancyTokens,
|
|
486
461
|
getDefaultRunScript,
|
|
487
462
|
getRunMode,
|
|
488
463
|
getRunScript,
|
|
489
|
-
isAskUserToolName,
|
|
490
464
|
isIncompleteTaskState,
|
|
491
465
|
isJobContinuePrompt,
|
|
492
466
|
isOtherWorktreeListenerCwd,
|
|
493
|
-
isPlanQuestionAnswersMessage,
|
|
494
467
|
isTerminalTaskState,
|
|
495
468
|
isThisWorktreeListenerCwd,
|
|
496
469
|
killDetachedRunTree,
|
|
@@ -498,8 +471,6 @@ import {
|
|
|
498
471
|
killStaleWorktreeListeners,
|
|
499
472
|
killableListenerPids,
|
|
500
473
|
lastRequestOccupancy,
|
|
501
|
-
lastTopLevelToolIsAskUser,
|
|
502
|
-
latestPendingPlanQuestions,
|
|
503
474
|
linkSharedDirectories,
|
|
504
475
|
listRunScripts,
|
|
505
476
|
listenerCwd,
|
|
@@ -511,8 +482,6 @@ import {
|
|
|
511
482
|
messagesForCompactArchive,
|
|
512
483
|
messagesSinceLastBrightsyContextSummary,
|
|
513
484
|
needsCoordinatorAction,
|
|
514
|
-
parsePlanQuestionsInput,
|
|
515
|
-
planQuestionsSignature,
|
|
516
485
|
readExistingReviewRequestFile,
|
|
517
486
|
readWorktreeInclude,
|
|
518
487
|
requestReview,
|
|
@@ -543,7 +512,7 @@ import {
|
|
|
543
512
|
workspaceAgentChatSummaries,
|
|
544
513
|
worktreeRunPortsPath,
|
|
545
514
|
wrapReviewSkillMarkdown
|
|
546
|
-
} from "./chunk-
|
|
515
|
+
} from "./chunk-IXWPCOLQ.js";
|
|
547
516
|
import {
|
|
548
517
|
STDERR_EVENT_MAX_CHARS,
|
|
549
518
|
STDOUT_EVENT_MAX_CHARS,
|
|
@@ -609,10 +578,10 @@ import {
|
|
|
609
578
|
parseAbleTimeOAuthCallbackUrl,
|
|
610
579
|
resolveAbleTimeOAuthHost,
|
|
611
580
|
startAbleTimeOAuth
|
|
612
|
-
} from "./chunk-
|
|
581
|
+
} from "./chunk-XBBZZHJY.js";
|
|
613
582
|
import {
|
|
614
583
|
looksLikeAbleTimeUlid
|
|
615
|
-
} from "./chunk-
|
|
584
|
+
} from "./chunk-EUIVQAPK.js";
|
|
616
585
|
import {
|
|
617
586
|
ABLETIME_MCP_PATH,
|
|
618
587
|
ABLETIME_MCP_PM_PATH,
|
|
@@ -633,7 +602,7 @@ import {
|
|
|
633
602
|
normalizeAbleTimeCredential,
|
|
634
603
|
normalizeAbleTimeHost,
|
|
635
604
|
rewriteAbleTimeError
|
|
636
|
-
} from "./chunk-
|
|
605
|
+
} from "./chunk-DACWFN4O.js";
|
|
637
606
|
import {
|
|
638
607
|
CLOUD_COORDINATOR_BUSY_REPLY,
|
|
639
608
|
CLOUD_COORDINATOR_CANCELED_REPLY,
|
|
@@ -686,7 +655,7 @@ import {
|
|
|
686
655
|
stageBuffersAsAttachments,
|
|
687
656
|
syncWorkspacesFromThreads,
|
|
688
657
|
takenTeamSlugsForOrchestration
|
|
689
|
-
} from "./chunk-
|
|
658
|
+
} from "./chunk-RDXODLEN.js";
|
|
690
659
|
import {
|
|
691
660
|
GITHUB_PR_BODY_MAX_CHARS,
|
|
692
661
|
GITHUB_PR_BODY_SAFE_CHARS,
|
|
@@ -775,31 +744,52 @@ import {
|
|
|
775
744
|
suggestSlug,
|
|
776
745
|
switchWorktreeBranch,
|
|
777
746
|
warmGithubAgentAuth
|
|
778
|
-
} from "./chunk-
|
|
747
|
+
} from "./chunk-R2C45NHT.js";
|
|
779
748
|
import {
|
|
780
749
|
FAMOUS_SOCCER_TEAMS,
|
|
750
|
+
WEEKDAY_LABELS,
|
|
781
751
|
allocateTeamName,
|
|
782
752
|
appendMessage,
|
|
783
753
|
branchDisplayLabel,
|
|
754
|
+
computeNextRunAt,
|
|
784
755
|
createEmptyThread,
|
|
756
|
+
createSchedule,
|
|
757
|
+
defaultScheduleName,
|
|
758
|
+
deleteSchedule,
|
|
759
|
+
deleteSchedulesForThread,
|
|
785
760
|
deleteThreadRecord,
|
|
786
761
|
findThreadByRef,
|
|
762
|
+
formatScheduleWhen,
|
|
763
|
+
formatWeeklyDays,
|
|
764
|
+
getSchedule,
|
|
765
|
+
hasEnabledSchedules,
|
|
787
766
|
invalidateThreadListCache,
|
|
788
767
|
invalidateThreadRecord,
|
|
789
768
|
isPlaceholderBranch,
|
|
790
769
|
isSelfWrittenRecord,
|
|
791
770
|
isThreadRecordFile,
|
|
771
|
+
listSchedules,
|
|
792
772
|
listThreads,
|
|
793
773
|
lookupSoccerTeam,
|
|
794
774
|
normalizeThread,
|
|
775
|
+
normalizeWeekdays,
|
|
776
|
+
normalizeWeeklyTime,
|
|
795
777
|
normalizeWorkspaceTags,
|
|
796
778
|
normalizeWorktreePath,
|
|
779
|
+
parseDurationMs,
|
|
780
|
+
parseWeeklyDays,
|
|
797
781
|
readThread,
|
|
782
|
+
recordScheduleRun,
|
|
783
|
+
resolveScheduleThreadId,
|
|
798
784
|
resolveThreadEffort,
|
|
785
|
+
scheduleNeedsCaffeinate,
|
|
786
|
+
schedulesPath,
|
|
799
787
|
setStatus,
|
|
800
788
|
threadDisplayLabel,
|
|
801
789
|
ticketSlugForBranch,
|
|
790
|
+
updateSchedule,
|
|
802
791
|
updateThread,
|
|
792
|
+
weeklyCronExpr,
|
|
803
793
|
withThreadLock,
|
|
804
794
|
workspaceNameLabel,
|
|
805
795
|
workspaceRowLabel,
|
|
@@ -810,7 +800,7 @@ import {
|
|
|
810
800
|
worktreeNameFromPath,
|
|
811
801
|
worktreeSlugForTicket,
|
|
812
802
|
writeThread
|
|
813
|
-
} from "./chunk-
|
|
803
|
+
} from "./chunk-Y6OHM672.js";
|
|
814
804
|
import "./chunk-QKHEVSB5.js";
|
|
815
805
|
import {
|
|
816
806
|
BRIGHTSY_OAUTH_CLIENT_ID,
|
|
@@ -831,6 +821,19 @@ import {
|
|
|
831
821
|
httpFetch,
|
|
832
822
|
setHttpFetchImpl
|
|
833
823
|
} from "./chunk-JAT3JFOS.js";
|
|
824
|
+
import {
|
|
825
|
+
PLAN_QUESTION_ANSWERS_PREFIX,
|
|
826
|
+
askBlockStillWaiting,
|
|
827
|
+
extractPendingPlanQuestions,
|
|
828
|
+
formatPlanQuestionAnswers,
|
|
829
|
+
formatPlanQuestionsForChat,
|
|
830
|
+
isAskUserToolName,
|
|
831
|
+
isPlanQuestionAnswersMessage,
|
|
832
|
+
lastTopLevelToolIsAskUser,
|
|
833
|
+
latestPendingPlanQuestions,
|
|
834
|
+
parsePlanQuestionsInput,
|
|
835
|
+
planQuestionsSignature
|
|
836
|
+
} from "./chunk-ULWPSBAB.js";
|
|
834
837
|
import {
|
|
835
838
|
BASE_ALLOWED_TOOLS,
|
|
836
839
|
CLAUDE_CHROME_ALLOWED_TOOLS,
|
|
@@ -844,7 +847,7 @@ import {
|
|
|
844
847
|
mcpServerPermissionUpdate,
|
|
845
848
|
parseMcpList,
|
|
846
849
|
sanitizeMcpServerName
|
|
847
|
-
} from "./chunk-
|
|
850
|
+
} from "./chunk-N6ZF3XRP.js";
|
|
848
851
|
import {
|
|
849
852
|
clipMcpToolResult,
|
|
850
853
|
cursorToolErrorText
|
|
@@ -941,6 +944,7 @@ import {
|
|
|
941
944
|
REMOTE_PONG_TIMEOUT_MS,
|
|
942
945
|
REMOTE_RELAY_PATH,
|
|
943
946
|
REVIEW_LABEL_MAX,
|
|
947
|
+
THINKING_EFFORTS,
|
|
944
948
|
USAGE_ON_LIMIT_VALUES,
|
|
945
949
|
addManagedAccount,
|
|
946
950
|
agentDoneSound,
|
|
@@ -1009,14 +1013,17 @@ import {
|
|
|
1009
1013
|
isOrchestratorCapableAgent,
|
|
1010
1014
|
isPosthogConnected,
|
|
1011
1015
|
isSecureFileEncrypted,
|
|
1016
|
+
isThinkingEffort,
|
|
1012
1017
|
isUsageOnLimit,
|
|
1013
1018
|
issueSourceLabel,
|
|
1014
1019
|
loadAppSettings,
|
|
1015
1020
|
loadSecretVault,
|
|
1016
1021
|
maxConcurrentAgents,
|
|
1017
1022
|
mergeUsage,
|
|
1023
|
+
nextThinkingEffort,
|
|
1018
1024
|
normalizeRemoteRelayUrl,
|
|
1019
1025
|
normalizeReviewLabel,
|
|
1026
|
+
normalizeThinkingEffort,
|
|
1020
1027
|
orchestrationQuotaFallbackAgent,
|
|
1021
1028
|
orchestrationQuotaOnLimit,
|
|
1022
1029
|
parseRemoteClientMessage,
|
|
@@ -1060,6 +1067,8 @@ import {
|
|
|
1060
1067
|
slackListenEnabled,
|
|
1061
1068
|
subtractUsage,
|
|
1062
1069
|
sumUsageList,
|
|
1070
|
+
thinkingEffortBars,
|
|
1071
|
+
thinkingEffortLabel,
|
|
1063
1072
|
toPublicAppSettings,
|
|
1064
1073
|
totalTokens,
|
|
1065
1074
|
turnCostUsdFromProviderSnapshot,
|
|
@@ -1077,15 +1086,7 @@ import {
|
|
|
1077
1086
|
withTurnScopedCost,
|
|
1078
1087
|
writeSecureJson,
|
|
1079
1088
|
writeViewerContext
|
|
1080
|
-
} from "./chunk-
|
|
1081
|
-
import {
|
|
1082
|
-
THINKING_EFFORTS,
|
|
1083
|
-
isThinkingEffort,
|
|
1084
|
-
nextThinkingEffort,
|
|
1085
|
-
normalizeThinkingEffort,
|
|
1086
|
-
thinkingEffortBars,
|
|
1087
|
-
thinkingEffortLabel
|
|
1088
|
-
} from "./chunk-77WWLBCI.js";
|
|
1089
|
+
} from "./chunk-D446IWPP.js";
|
|
1089
1090
|
import {
|
|
1090
1091
|
stripNestedElectronEnv
|
|
1091
1092
|
} from "./chunk-4TR3HZFT.js";
|
|
@@ -7684,7 +7685,7 @@ async function startHeadlessHost(opts) {
|
|
|
7684
7685
|
};
|
|
7685
7686
|
const refreshRunning = async () => {
|
|
7686
7687
|
try {
|
|
7687
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
7688
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-EN3ZKD73.js");
|
|
7688
7689
|
agentsRunning = getOrchestrator2().getRuntime().running;
|
|
7689
7690
|
} catch {
|
|
7690
7691
|
agentsRunning = 0;
|
|
@@ -9506,7 +9507,7 @@ function whenFromUpdate(id, args) {
|
|
|
9506
9507
|
}
|
|
9507
9508
|
function createdHint(schedule) {
|
|
9508
9509
|
const awake = scheduleNeedsCaffeinate(schedule) ? " Caffeinate while automations are enabled is now on so the Mac can stay awake until this job is due." : "";
|
|
9509
|
-
const fresh = schedule.threadId ? "" : schedule.archiveChat === false ? " This job leaves the new chat open so you can keep talking." : " A new Global chat is archived when the run finishes (History keeps the last 5 runs). Pass archiveChat=false to leave it open.";
|
|
9510
|
+
const fresh = schedule.threadId ? " This job is removed when that chat is archived." : schedule.archiveChat === false ? " This job leaves the new chat open so you can keep talking." : " A new Global chat is archived when the run finishes (History keeps the last 5 runs). Pass archiveChat=false to leave it open.";
|
|
9510
9511
|
return `Fires while Sideboard.app is running.${fresh}${awake}`;
|
|
9511
9512
|
}
|
|
9512
9513
|
function registerScheduleTools(server) {
|
|
@@ -9524,7 +9525,7 @@ function registerScheduleTools(server) {
|
|
|
9524
9525
|
);
|
|
9525
9526
|
server.tool(
|
|
9526
9527
|
"create_schedule",
|
|
9527
|
-
"Create a local automation that, when due, sends a prompt to an existing chat (chatId) or starts a new Global orchestration chat (omit chatId). Pass chatId=self to continue this chat.
|
|
9528
|
+
"Create a local automation that, when due, sends a prompt to an existing chat (chatId) or starts a new Global orchestration chat (omit chatId). Pass chatId=self to continue this chat. A job bound to a chat is removed when that chat is archived or gone; it does not start a new Global chat. Omit chatId only for a Global automation that should outlive this chat. Exactly one of at (ISO datetime), every (15m/1h/6h/1d), time (HH:mm, with days such as weekdays or mon,wed), or cron (5-field). Recurring jobs without chatId open a new Global chat each run and archive it when that run finishes unless archiveChat is false (leave the chat open to keep talking, for example a morning start-my-day run). History keeps the last 5 archived runs for that automation. Creating or enabling a future job turns on Settings \u2192 Advanced \u2192 Caffeinate while automations are enabled so the Mac stays awake until due. Sideboard.app must be running for the job to fire.",
|
|
9528
9529
|
{
|
|
9529
9530
|
prompt: z7.string().describe("User message / goal queued when the automation fires"),
|
|
9530
9531
|
name: z7.string().optional(),
|
|
@@ -9538,7 +9539,7 @@ function registerScheduleTools(server) {
|
|
|
9538
9539
|
"Archive a new Global chat when the run finishes. Default true. Pass false to leave the chat open."
|
|
9539
9540
|
),
|
|
9540
9541
|
chatId: z7.string().optional().describe(
|
|
9541
|
-
'Existing chat id
|
|
9542
|
+
'Existing chat id, or "self" for this chat. That job is removed when the chat is archived. Omit only for a Global automation that should outlive this chat.'
|
|
9542
9543
|
),
|
|
9543
9544
|
threadId: z7.string().optional().describe("Legacy alias for chatId."),
|
|
9544
9545
|
agent: z7.enum(["claude", "cursor", "codex", "opencode"]).optional().describe("Agent for a new Global chat (omit for Account default)"),
|
|
@@ -9590,7 +9591,7 @@ function registerScheduleTools(server) {
|
|
|
9590
9591
|
tz: z7.string().optional(),
|
|
9591
9592
|
archiveChat: z7.boolean().optional().describe("Archive a new Global chat when the run finishes. False leaves it open."),
|
|
9592
9593
|
chatId: z7.string().optional().describe(
|
|
9593
|
-
'Existing chat
|
|
9594
|
+
'Existing chat, "self", or empty string for a Global chat each run. A bound job is removed when that chat is archived.'
|
|
9594
9595
|
),
|
|
9595
9596
|
threadId: z7.string().optional().describe("Legacy alias for chatId."),
|
|
9596
9597
|
agent: z7.enum(["claude", "cursor", "codex", "opencode"]).optional(),
|
|
@@ -9827,7 +9828,7 @@ async function handleJobStop(params, _ctx) {
|
|
|
9827
9828
|
return stopDetachedJob(jobCwd(rec), id, reason ? { reason } : void 0);
|
|
9828
9829
|
}
|
|
9829
9830
|
async function defaultTurnWait(ref, timeoutMs) {
|
|
9830
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
9831
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-EN3ZKD73.js");
|
|
9831
9832
|
const orch = getOrchestrator2();
|
|
9832
9833
|
const thread = await orch.waitForTurn(ref, timeoutMs, {
|
|
9833
9834
|
resolveIfStillRunning: true
|
|
@@ -10180,7 +10181,7 @@ async function startMcpServer() {
|
|
|
10180
10181
|
);
|
|
10181
10182
|
}
|
|
10182
10183
|
try {
|
|
10183
|
-
const { maxConcurrentAgents: maxConcurrentAgents2 } = await import("./app-settings-
|
|
10184
|
+
const { maxConcurrentAgents: maxConcurrentAgents2 } = await import("./app-settings-A5D364JD.js");
|
|
10184
10185
|
orch.setMaxConcurrent(maxConcurrentAgents2());
|
|
10185
10186
|
} catch {
|
|
10186
10187
|
}
|
|
@@ -10728,7 +10729,7 @@ async function startMcpServer() {
|
|
|
10728
10729
|
if (!worktreeProfile) {
|
|
10729
10730
|
registerConnectedIssueVendorTools(server);
|
|
10730
10731
|
const { getCaffeinateHold: getCaffeinateHold2, setCaffeinateHold: setCaffeinateHold2 } = await import("./caffeinate-hold-ZNUEZGHB.js");
|
|
10731
|
-
const { resolveNewThreadOptions: resolveNewThreadOptions2, resolveThreadDefaults: resolveThreadDefaults2 } = await import("./app-settings-
|
|
10732
|
+
const { resolveNewThreadOptions: resolveNewThreadOptions2, resolveThreadDefaults: resolveThreadDefaults2 } = await import("./app-settings-A5D364JD.js");
|
|
10732
10733
|
const accountDefaults = resolveThreadDefaults2();
|
|
10733
10734
|
const accountDefaultsHint = `Account defaults: agent=${accountDefaults.agent}, model=${accountDefaults.model?.trim() || "Auto"}, effort=${accountDefaults.effort}`;
|
|
10734
10735
|
server.tool(
|
|
@@ -13495,7 +13496,7 @@ async function continueSourceThread(threadId, prompt) {
|
|
|
13495
13496
|
await continueOnReply(threadId, prompt);
|
|
13496
13497
|
return;
|
|
13497
13498
|
}
|
|
13498
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
13499
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-EN3ZKD73.js");
|
|
13499
13500
|
await getOrchestrator2().send(threadId, prompt);
|
|
13500
13501
|
} catch {
|
|
13501
13502
|
}
|
|
@@ -14091,6 +14092,7 @@ export {
|
|
|
14091
14092
|
defaultScheduleName,
|
|
14092
14093
|
deleteBranchOnPurgeEnabled,
|
|
14093
14094
|
deleteSchedule,
|
|
14095
|
+
deleteSchedulesForThread,
|
|
14094
14096
|
deleteThreadRecord,
|
|
14095
14097
|
deriveTaskState,
|
|
14096
14098
|
desktopHostPidPath,
|
|
@@ -27,17 +27,16 @@ import {
|
|
|
27
27
|
rewriteLinearError,
|
|
28
28
|
updateLinearIssue,
|
|
29
29
|
validateLinearApiKey
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-TUH4ICHQ.js";
|
|
31
31
|
import "./chunk-OYRN356W.js";
|
|
32
32
|
import "./chunk-F6GE7V3Q.js";
|
|
33
33
|
import "./chunk-N2WW62LF.js";
|
|
34
34
|
import "./chunk-2GPQZZLY.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-EJRCHCXM.js";
|
|
36
36
|
import "./chunk-NSTQ6QKD.js";
|
|
37
37
|
import "./chunk-WWUABK6B.js";
|
|
38
38
|
import "./chunk-FJZWM2ON.js";
|
|
39
39
|
import "./chunk-J2LNLI4S.js";
|
|
40
|
-
import "./chunk-KGZBYWZ3.js";
|
|
41
40
|
import "./chunk-WOU343SI.js";
|
|
42
41
|
export {
|
|
43
42
|
buildLinearIssueFilter,
|
|
@@ -25,13 +25,12 @@ import {
|
|
|
25
25
|
rewriteLinearError,
|
|
26
26
|
updateLinearIssue,
|
|
27
27
|
validateLinearApiKey
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-SFXGD5KJ.js";
|
|
29
29
|
import "./chunk-DBKHL7NC.js";
|
|
30
30
|
import "./chunk-W3ZLE4PO.js";
|
|
31
31
|
import "./chunk-JAT3JFOS.js";
|
|
32
32
|
import "./chunk-6K64FJDD.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-77WWLBCI.js";
|
|
33
|
+
import "./chunk-D446IWPP.js";
|
|
35
34
|
import "./chunk-4TR3HZFT.js";
|
|
36
35
|
import "./chunk-WDRMZKVB.js";
|
|
37
36
|
import "./chunk-KI45T4DI.js";
|