@sideboard-ai/core 0.1.192 → 0.1.193
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-JFMBCSIQ.js → abletime-QHKWGTBY.js} +4 -3
- package/dist/{abletime-53T7G667.js → abletime-UX53JTIH.js} +4 -3
- package/dist/agents/cursor-runner.js +4 -4
- package/dist/{agents-TXGQIK2E.js → agents-MN4GSQTL.js} +19 -17
- package/dist/{agents-T5VBB6X3.js → agents-OK5VD25T.js} +10 -8
- package/dist/{app-settings-663VQWUV.js → app-settings-LO7UFHQ6.js} +5 -2
- package/dist/{app-settings-74HBAAH7.js → app-settings-QYLNKRK4.js} +5 -2
- package/dist/branch-prefix-7F37FIPX.js +10 -0
- package/dist/branch-prefix-EVW2KHGQ.js +12 -0
- package/dist/{caffeinate-hold-SK2QISPE.js → caffeinate-hold-22VFDPSO.js} +2 -2
- package/dist/{caffeinate-hold-DBKMRZZO.js → caffeinate-hold-OK4JJ5PP.js} +2 -2
- package/dist/{chunk-FZ3G5TXM.js → chunk-3DX2T2KR.js} +174 -172
- package/dist/{chunk-HVIEYTUK.js → chunk-3OHR73VK.js} +1 -1
- package/dist/{chunk-VV7UT3E2.js → chunk-4OVCJPVI.js} +11 -9
- package/dist/{chunk-UBQIELFS.js → chunk-4QJRH5DL.js} +1 -1
- package/dist/{chunk-AO35MGOE.js → chunk-4TYXWPAJ.js} +1 -1
- package/dist/chunk-64QSHOKV.js +869 -0
- package/dist/{chunk-FY64F2ZQ.js → chunk-7AJ7OZZF.js} +4 -4
- package/dist/{chunk-WLPXZFRE.js → chunk-7J72QJOM.js} +1 -1
- package/dist/chunk-7SNJMKD6.js +20 -0
- package/dist/{chunk-WXKXSZN4.js → chunk-BIKCWYRP.js} +16 -873
- package/dist/{chunk-J7LQVLFQ.js → chunk-BWRS6GAS.js} +19 -1
- package/dist/{chunk-GOZ6T3AG.js → chunk-CJFBSQIB.js} +1 -1
- package/dist/{chunk-WHD4JNTN.js → chunk-EBPBGQ4P.js} +13 -13
- package/dist/{chunk-JTJHOYCU.js → chunk-EQNRWDLN.js} +10 -4
- package/dist/{chunk-NF6ENGHS.js → chunk-EQXXGOMD.js} +185 -182
- package/dist/{chunk-7NSXGL6L.js → chunk-HIX2VDRE.js} +11 -9
- package/dist/chunk-ILWQT2UN.js +55 -0
- package/dist/chunk-JTWKGOFI.js +23 -0
- package/dist/{chunk-TCQAFTSV.js → chunk-KJBYIIJU.js} +1 -1
- package/dist/{chunk-OKZFTOM2.js → chunk-KORE4WOF.js} +19 -1
- package/dist/{chunk-TWSCTJCR.js → chunk-MQC2VA5U.js} +14 -14
- package/dist/{chunk-4M2AK3O5.js → chunk-O4BMPY5Y.js} +1 -1
- package/dist/chunk-PBEPPXMY.js +57 -0
- package/dist/{chunk-IEEAVWAP.js → chunk-PE337IM2.js} +7 -7
- package/dist/chunk-RCWHL4TK.js +866 -0
- package/dist/{chunk-EFVFB2AH.js → chunk-WFUDY6PC.js} +12 -5
- package/dist/{chunk-XBLN52RZ.js → chunk-XPKKCFRT.js} +9 -866
- package/dist/{chunk-OCQPTUR7.js → chunk-YWI3IBP2.js} +1 -1
- package/dist/{connected-teams-WOYCH7FR.js → connected-teams-PU4AMFNA.js} +2 -2
- package/dist/{connected-teams-ON2KIKQX.js → connected-teams-SYQQGCXD.js} +2 -2
- package/dist/{coordinator-prompt-PNUDN4DW.js → coordinator-prompt-GXJIPWNA.js} +7 -5
- package/dist/{coordinator-prompt-S4HHFSLI.js → coordinator-prompt-WB65HIZ3.js} +9 -7
- package/dist/{cursor-recover-NDMLLNYX.js → cursor-recover-DTQAUDGO.js} +2 -2
- package/dist/{cursor-recover-L5MD6MBO.js → cursor-recover-TXVTLAMA.js} +1 -1
- package/dist/github-DWROJOB7.js +11 -0
- package/dist/github-IIF7AQNO.js +9 -0
- package/dist/{global-workspace-2BVCJUAL.js → global-workspace-BZ6V6TEX.js} +7 -5
- package/dist/{global-workspace-JTBBH2K5.js → global-workspace-MMK5UFUZ.js} +9 -7
- package/dist/index.cjs +274 -194
- package/dist/index.d.cts +47 -8
- package/dist/index.d.ts +47 -8
- package/dist/index.js +98 -127
- package/dist/mcp/run-stdio.cjs +260 -190
- package/dist/mcp/run-stdio.js +36 -76
- package/dist/{orchestrator-LWEZ74RK.js → orchestrator-4KI6VIFG.js} +14 -12
- package/dist/{orchestrator-4G76BOHH.js → orchestrator-SFOT6Q6F.js} +13 -11
- package/dist/{paths-RRCLNSJB.js → paths-C2VERLAE.js} +1 -1
- package/dist/{paths-53TLA7VQ.js → paths-LOXCISLX.js} +1 -1
- package/dist/{thread-store-ZL6GDIDP.js → thread-store-CO77HV2K.js} +2 -2
- package/dist/{thread-store-RXXNSRVO.js → thread-store-M4B52FUS.js} +2 -2
- package/dist/{workspaces-OY7D5RPU.js → workspaces-ACMZMKPD.js} +7 -5
- package/dist/{workspaces-ZYPME3YD.js → workspaces-KPJS7GLY.js} +9 -7
- package/dist/{worktree-7LOSSD7G.js → worktree-6IEVF3GN.js} +15 -12
- package/dist/{worktree-LPWTX2NA.js → worktree-UW6DNBIE.js} +20 -17
- package/dist/worktree-labels-3XDS6O3U.js +22 -0
- package/dist/worktree-labels-PEDOJBMD.js +24 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,3 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ABLETIME_MCP_PATH,
|
|
3
|
+
ABLETIME_MCP_PM_PATH,
|
|
4
|
+
ABLETIME_PM_TOOL_NAMES,
|
|
5
|
+
DEFAULT_ABLETIME_HOST,
|
|
6
|
+
ableTimeDependencyTarget,
|
|
7
|
+
abletimeMcpRequest,
|
|
8
|
+
abletimeMcpUrl,
|
|
9
|
+
abletimeToolUsesPm,
|
|
10
|
+
callAbleTimeTool,
|
|
11
|
+
commentAbleTimeTask,
|
|
12
|
+
createAbleTimeTask,
|
|
13
|
+
ensureAbleTimeTask,
|
|
14
|
+
getAbleTimeOrientation,
|
|
15
|
+
getAbleTimeTask,
|
|
16
|
+
issueAttachmentForAbleTimeTask,
|
|
17
|
+
listAbleTimeAssignedIssues,
|
|
18
|
+
listAbleTimeProjects,
|
|
19
|
+
listAbleTimeTasks,
|
|
20
|
+
mapAbleTimeTask,
|
|
21
|
+
normalizeAbleTimeHost,
|
|
22
|
+
rewriteAbleTimeError,
|
|
23
|
+
searchAbleTimeTasks,
|
|
24
|
+
taskUrl,
|
|
25
|
+
toAbleTimeIssueInfo,
|
|
26
|
+
updateAbleTimeTask,
|
|
27
|
+
verifyAbleTimeConnection
|
|
28
|
+
} from "./chunk-O4BMPY5Y.js";
|
|
29
|
+
import {
|
|
30
|
+
getGitHubStatus,
|
|
31
|
+
refreshGitHubAuth
|
|
32
|
+
} from "./chunk-ILWQT2UN.js";
|
|
1
33
|
import {
|
|
2
34
|
AGENT_GIT_ACTIONS,
|
|
3
35
|
BOARD_COLUMN_DEFS,
|
|
@@ -201,6 +233,7 @@ import {
|
|
|
201
233
|
resolveReviewGuidelines,
|
|
202
234
|
resolveScheduleThreadId,
|
|
203
235
|
resolveSendFollowUp,
|
|
236
|
+
resolveSidebarGitPrompt,
|
|
204
237
|
runArchiveScript,
|
|
205
238
|
runConventionSetup,
|
|
206
239
|
runSetupScript,
|
|
@@ -239,18 +272,7 @@ import {
|
|
|
239
272
|
worktreeCleanupSettings,
|
|
240
273
|
wrapReviewSkillMarkdown,
|
|
241
274
|
writeWorktreeFile
|
|
242
|
-
} from "./chunk-
|
|
243
|
-
import {
|
|
244
|
-
LEGACY_PLAN_FILE_REL,
|
|
245
|
-
PLAN_FILE_NAME,
|
|
246
|
-
PLAN_FILE_REL,
|
|
247
|
-
extractPresentedPlan,
|
|
248
|
-
isPresentPlanToolName,
|
|
249
|
-
planFileAbs,
|
|
250
|
-
readPlanFile,
|
|
251
|
-
resolvePlanMarkdown,
|
|
252
|
-
writePlanFile
|
|
253
|
-
} from "./chunk-DJU54RYW.js";
|
|
275
|
+
} from "./chunk-EQXXGOMD.js";
|
|
254
276
|
import {
|
|
255
277
|
BRIGHTSY_MCP_ALLOWED_TOOLS,
|
|
256
278
|
CLAUDE_MODEL_CATALOG,
|
|
@@ -345,7 +367,18 @@ import {
|
|
|
345
367
|
withEventParentId,
|
|
346
368
|
withEventsParentId,
|
|
347
369
|
writeInjectedMcpConfig
|
|
348
|
-
} from "./chunk-
|
|
370
|
+
} from "./chunk-MQC2VA5U.js";
|
|
371
|
+
import {
|
|
372
|
+
LEGACY_PLAN_FILE_REL,
|
|
373
|
+
PLAN_FILE_NAME,
|
|
374
|
+
PLAN_FILE_REL,
|
|
375
|
+
extractPresentedPlan,
|
|
376
|
+
isPresentPlanToolName,
|
|
377
|
+
planFileAbs,
|
|
378
|
+
readPlanFile,
|
|
379
|
+
resolvePlanMarkdown,
|
|
380
|
+
writePlanFile
|
|
381
|
+
} from "./chunk-DJU54RYW.js";
|
|
349
382
|
import {
|
|
350
383
|
CLOUD_COORDINATOR_BUSY_REPLY,
|
|
351
384
|
CLOUD_COORDINATOR_STOPPED_REPLY,
|
|
@@ -388,18 +421,15 @@ import {
|
|
|
388
421
|
stageBuffersAsAttachments,
|
|
389
422
|
syncWorkspacesFromThreads,
|
|
390
423
|
takenTeamSlugsForOrchestration
|
|
391
|
-
} from "./chunk-
|
|
424
|
+
} from "./chunk-4OVCJPVI.js";
|
|
392
425
|
import {
|
|
393
|
-
FAMOUS_SOCCER_TEAMS,
|
|
394
426
|
GITHUB_PR_BODY_MAX_CHARS,
|
|
395
427
|
GITHUB_PR_BODY_SAFE_CHARS,
|
|
396
428
|
PR_DETAILS_JSON_FIELDS,
|
|
397
429
|
addPrStackLayer,
|
|
398
|
-
allocateTeamName,
|
|
399
430
|
allocateTeamSlug,
|
|
400
431
|
appendIndexedGitConfig,
|
|
401
432
|
applyGithubGitAuthEnv,
|
|
402
|
-
branchDisplayLabel,
|
|
403
433
|
canonicalizeRepoPath,
|
|
404
434
|
checkoutPrStackLayer,
|
|
405
435
|
clampGithubPrBody,
|
|
@@ -440,19 +470,16 @@ import {
|
|
|
440
470
|
isGhPrBodyTooLongError,
|
|
441
471
|
isGhRateLimitError,
|
|
442
472
|
isInPrStack,
|
|
443
|
-
isPlaceholderBranch,
|
|
444
473
|
isPrNotMergeableError,
|
|
445
474
|
isSideboardScratchPath,
|
|
446
475
|
listBranches,
|
|
447
476
|
listPrs,
|
|
448
477
|
listWorktrees,
|
|
449
|
-
lookupSoccerTeam,
|
|
450
478
|
markPrReady,
|
|
451
479
|
mergeAgentGitAuthEnv,
|
|
452
480
|
mergePr,
|
|
453
481
|
mergePrStack,
|
|
454
482
|
nonInteractiveGitProcessEnv,
|
|
455
|
-
normalizeWorktreePath,
|
|
456
483
|
originFetchBranch,
|
|
457
484
|
originGhRepoEnv,
|
|
458
485
|
parseGhStackViewJson,
|
|
@@ -478,14 +505,8 @@ import {
|
|
|
478
505
|
stackMergeReadiness,
|
|
479
506
|
submitPrStack,
|
|
480
507
|
suggestSlug,
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
warmGithubAgentAuth,
|
|
484
|
-
worktreeDisplayLabel,
|
|
485
|
-
worktreeDisplayLabelForGroup,
|
|
486
|
-
worktreeNameFromPath,
|
|
487
|
-
worktreeSlugForTicket
|
|
488
|
-
} from "./chunk-WXKXSZN4.js";
|
|
508
|
+
warmGithubAgentAuth
|
|
509
|
+
} from "./chunk-BIKCWYRP.js";
|
|
489
510
|
import {
|
|
490
511
|
ATTACHMENTS_DIR,
|
|
491
512
|
CLI_DIR,
|
|
@@ -495,6 +516,7 @@ import {
|
|
|
495
516
|
attachmentsGitignoreBody,
|
|
496
517
|
isWorkspaceScratchPath
|
|
497
518
|
} from "./chunk-6K64FJDD.js";
|
|
519
|
+
import "./chunk-QQKDGPUI.js";
|
|
498
520
|
import {
|
|
499
521
|
brightsyMcpServerName,
|
|
500
522
|
connectBrightsyTeam,
|
|
@@ -504,7 +526,7 @@ import {
|
|
|
504
526
|
listBrightsyAccounts,
|
|
505
527
|
listConnectedBrightsyTeams,
|
|
506
528
|
switchBrightsyAccount
|
|
507
|
-
} from "./chunk-
|
|
529
|
+
} from "./chunk-PE337IM2.js";
|
|
508
530
|
import {
|
|
509
531
|
brightsyAccessTokenNeedsRefresh,
|
|
510
532
|
brightsyConfigPath,
|
|
@@ -513,34 +535,6 @@ import {
|
|
|
513
535
|
refreshBrightsyAccessToken,
|
|
514
536
|
saveBrightsyConfig
|
|
515
537
|
} from "./chunk-AN3THU7F.js";
|
|
516
|
-
import {
|
|
517
|
-
ABLETIME_MCP_PATH,
|
|
518
|
-
ABLETIME_MCP_PM_PATH,
|
|
519
|
-
ABLETIME_PM_TOOL_NAMES,
|
|
520
|
-
DEFAULT_ABLETIME_HOST,
|
|
521
|
-
ableTimeDependencyTarget,
|
|
522
|
-
abletimeMcpRequest,
|
|
523
|
-
abletimeMcpUrl,
|
|
524
|
-
abletimeToolUsesPm,
|
|
525
|
-
callAbleTimeTool,
|
|
526
|
-
commentAbleTimeTask,
|
|
527
|
-
createAbleTimeTask,
|
|
528
|
-
ensureAbleTimeTask,
|
|
529
|
-
getAbleTimeOrientation,
|
|
530
|
-
getAbleTimeTask,
|
|
531
|
-
issueAttachmentForAbleTimeTask,
|
|
532
|
-
listAbleTimeAssignedIssues,
|
|
533
|
-
listAbleTimeProjects,
|
|
534
|
-
listAbleTimeTasks,
|
|
535
|
-
mapAbleTimeTask,
|
|
536
|
-
normalizeAbleTimeHost,
|
|
537
|
-
rewriteAbleTimeError,
|
|
538
|
-
searchAbleTimeTasks,
|
|
539
|
-
taskUrl,
|
|
540
|
-
toAbleTimeIssueInfo,
|
|
541
|
-
updateAbleTimeTask,
|
|
542
|
-
verifyAbleTimeConnection
|
|
543
|
-
} from "./chunk-4M2AK3O5.js";
|
|
544
538
|
import {
|
|
545
539
|
formatFetchError,
|
|
546
540
|
httpFetch,
|
|
@@ -558,7 +552,21 @@ import {
|
|
|
558
552
|
trustSystemCertificates,
|
|
559
553
|
turnCostUsdFromCursorUsage,
|
|
560
554
|
withMaxOldSpaceSize
|
|
561
|
-
} from "./chunk-
|
|
555
|
+
} from "./chunk-7AJ7OZZF.js";
|
|
556
|
+
import {
|
|
557
|
+
conductorBundledBinDir,
|
|
558
|
+
enrichPathWithNpmGlobalBin,
|
|
559
|
+
ensureAgentPath,
|
|
560
|
+
gh,
|
|
561
|
+
git,
|
|
562
|
+
isConductorBundledCli,
|
|
563
|
+
posixShellSingleQuote,
|
|
564
|
+
resolveCommandBinarySync,
|
|
565
|
+
resolveGhAuthToken,
|
|
566
|
+
resolveGitDirsForLockRecovery,
|
|
567
|
+
run,
|
|
568
|
+
withExportedPath
|
|
569
|
+
} from "./chunk-UFHNSFAS.js";
|
|
562
570
|
import {
|
|
563
571
|
FOLLOW_UP_BEHAVIORS,
|
|
564
572
|
GITHUB_GIT_AUTH_MODES,
|
|
@@ -608,6 +616,7 @@ import {
|
|
|
608
616
|
getGithubPat,
|
|
609
617
|
getIssueSource,
|
|
610
618
|
getLinearApiKey,
|
|
619
|
+
gitBranchPrefixSetting,
|
|
611
620
|
harnessEnvKey,
|
|
612
621
|
isAbleTimeConnected,
|
|
613
622
|
isIssueSourceConnected,
|
|
@@ -653,17 +662,22 @@ import {
|
|
|
653
662
|
updateOpencodeSettings,
|
|
654
663
|
updateProjectProfileSettings,
|
|
655
664
|
writeViewerContext
|
|
656
|
-
} from "./chunk-
|
|
665
|
+
} from "./chunk-BWRS6GAS.js";
|
|
657
666
|
import {
|
|
658
667
|
stripNestedElectronEnv
|
|
659
668
|
} from "./chunk-4TR3HZFT.js";
|
|
669
|
+
import {
|
|
670
|
+
examplePrefixedBranch,
|
|
671
|
+
resolveGitBranchPrefix,
|
|
672
|
+
sanitizeGitBranchPrefix
|
|
673
|
+
} from "./chunk-7SNJMKD6.js";
|
|
660
674
|
import {
|
|
661
675
|
caffeinateHoldPath,
|
|
662
676
|
getCaffeinateHold,
|
|
663
677
|
isThreadCaffeinated,
|
|
664
678
|
releaseCaffeinateHoldForThread,
|
|
665
679
|
setCaffeinateHold
|
|
666
|
-
} from "./chunk-
|
|
680
|
+
} from "./chunk-4TYXWPAJ.js";
|
|
667
681
|
import "./chunk-JT7R45JB.js";
|
|
668
682
|
import {
|
|
669
683
|
appendMessage,
|
|
@@ -680,7 +694,7 @@ import {
|
|
|
680
694
|
updateThread,
|
|
681
695
|
withThreadLock,
|
|
682
696
|
writeThread
|
|
683
|
-
} from "./chunk-
|
|
697
|
+
} from "./chunk-KJBYIIJU.js";
|
|
684
698
|
import {
|
|
685
699
|
THINKING_EFFORTS,
|
|
686
700
|
isThinkingEffort,
|
|
@@ -716,69 +730,21 @@ import {
|
|
|
716
730
|
threadsDir,
|
|
717
731
|
workspaceSettingsSourceLabel,
|
|
718
732
|
worktreesRoot
|
|
719
|
-
} from "./chunk-
|
|
720
|
-
import "./chunk-QQKDGPUI.js";
|
|
733
|
+
} from "./chunk-WFUDY6PC.js";
|
|
721
734
|
import {
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
} from "./chunk-
|
|
735
|
-
|
|
736
|
-
// src/integrations/github.ts
|
|
737
|
-
async function getGitHubStatus() {
|
|
738
|
-
const which = await run("which", ["gh"], { reject: false });
|
|
739
|
-
if (which.exitCode !== 0 || !which.stdout.trim()) {
|
|
740
|
-
return {
|
|
741
|
-
connected: false,
|
|
742
|
-
login: null,
|
|
743
|
-
hosts: [],
|
|
744
|
-
reason: "gh CLI not found on PATH"
|
|
745
|
-
};
|
|
746
|
-
}
|
|
747
|
-
const loginResult = await run(
|
|
748
|
-
"gh",
|
|
749
|
-
["api", "user", "--jq", ".login"],
|
|
750
|
-
{ reject: false }
|
|
751
|
-
);
|
|
752
|
-
if (loginResult.exitCode === 0 && loginResult.stdout.trim()) {
|
|
753
|
-
return {
|
|
754
|
-
connected: true,
|
|
755
|
-
login: loginResult.stdout.trim(),
|
|
756
|
-
hosts: ["github.com"],
|
|
757
|
-
reason: null
|
|
758
|
-
};
|
|
759
|
-
}
|
|
760
|
-
const status = await run("gh", ["auth", "status"], { reject: false });
|
|
761
|
-
const text7 = `${status.stdout}
|
|
762
|
-
${status.stderr}`;
|
|
763
|
-
const loginMatch = text7.match(/Logged in to ([^\s]+) account (\S+)/i) ?? text7.match(/Logged in to ([^\s]+) as (\S+)/i);
|
|
764
|
-
if (loginMatch) {
|
|
765
|
-
return {
|
|
766
|
-
connected: true,
|
|
767
|
-
login: loginMatch[2].replace(/['"]/g, ""),
|
|
768
|
-
hosts: [loginMatch[1]],
|
|
769
|
-
reason: null
|
|
770
|
-
};
|
|
771
|
-
}
|
|
772
|
-
return {
|
|
773
|
-
connected: false,
|
|
774
|
-
login: null,
|
|
775
|
-
hosts: [],
|
|
776
|
-
reason: status.stderr.trim() || status.stdout.trim() || "Not logged in to GitHub (run: gh auth login)"
|
|
777
|
-
};
|
|
778
|
-
}
|
|
779
|
-
async function refreshGitHubAuth() {
|
|
780
|
-
return getGitHubStatus();
|
|
781
|
-
}
|
|
735
|
+
FAMOUS_SOCCER_TEAMS,
|
|
736
|
+
allocateTeamName,
|
|
737
|
+
branchDisplayLabel,
|
|
738
|
+
isPlaceholderBranch,
|
|
739
|
+
lookupSoccerTeam,
|
|
740
|
+
normalizeWorktreePath,
|
|
741
|
+
threadDisplayLabel,
|
|
742
|
+
ticketSlugForBranch,
|
|
743
|
+
worktreeDisplayLabel,
|
|
744
|
+
worktreeDisplayLabelForGroup,
|
|
745
|
+
worktreeNameFromPath,
|
|
746
|
+
worktreeSlugForTicket
|
|
747
|
+
} from "./chunk-RCWHL4TK.js";
|
|
782
748
|
|
|
783
749
|
// src/integrations/issue-since.ts
|
|
784
750
|
var ISSUE_SINCE_ERROR = "updatedSince must be an ISO datetime, YYYY-MM-DD, or relative time (yesterday, 2d, 3 hours ago)";
|
|
@@ -5098,7 +5064,7 @@ async function startMcpServer() {
|
|
|
5098
5064
|
);
|
|
5099
5065
|
}
|
|
5100
5066
|
try {
|
|
5101
|
-
const { maxConcurrentAgents: maxConcurrentAgents2 } = await import("./app-settings-
|
|
5067
|
+
const { maxConcurrentAgents: maxConcurrentAgents2 } = await import("./app-settings-LO7UFHQ6.js");
|
|
5102
5068
|
orch.setMaxConcurrent(maxConcurrentAgents2());
|
|
5103
5069
|
} catch {
|
|
5104
5070
|
}
|
|
@@ -5412,8 +5378,8 @@ async function startMcpServer() {
|
|
|
5412
5378
|
registerSlackTools(server);
|
|
5413
5379
|
registerConnectedIssueVendorTools(server);
|
|
5414
5380
|
registerScheduleTools(server);
|
|
5415
|
-
const { getCaffeinateHold: getCaffeinateHold2, setCaffeinateHold: setCaffeinateHold2 } = await import("./caffeinate-hold-
|
|
5416
|
-
const { resolveNewThreadOptions: resolveNewThreadOptions2, resolveThreadDefaults: resolveThreadDefaults2 } = await import("./app-settings-
|
|
5381
|
+
const { getCaffeinateHold: getCaffeinateHold2, setCaffeinateHold: setCaffeinateHold2 } = await import("./caffeinate-hold-22VFDPSO.js");
|
|
5382
|
+
const { resolveNewThreadOptions: resolveNewThreadOptions2, resolveThreadDefaults: resolveThreadDefaults2 } = await import("./app-settings-LO7UFHQ6.js");
|
|
5417
5383
|
const accountDefaults = resolveThreadDefaults2();
|
|
5418
5384
|
const accountDefaultsHint = `Account defaults: agent=${accountDefaults.agent}, model=${accountDefaults.model?.trim() || "Auto"}, effort=${accountDefaults.effort}`;
|
|
5419
5385
|
server.tool(
|
|
@@ -5756,7 +5722,7 @@ async function startMcpServer() {
|
|
|
5756
5722
|
);
|
|
5757
5723
|
server.tool(
|
|
5758
5724
|
"ask_git",
|
|
5759
|
-
"Commit & push, open a draft PR, mark ready for review, resolve conflicts, or merge \u2014 same
|
|
5725
|
+
"Commit & push, open a draft PR, mark ready for review, resolve conflicts, or merge \u2014 same prompts as the desktop git buttons (including Resolve). Always steers the worktree agent; does not push or open the PR locally. Then wait_for_turn (loop while stillRunning). Do not start a checks loop on a plain push \u2014 only if the user gave a goal (Greptile 5/5, CI green). Pass a worktree thread ref (not the orchestrator). action=ready-for-review and action=merge only when the user explicitly asked (or clicked the desktop button). Do not run git or gh from the orchestration cwd.",
|
|
5760
5726
|
{
|
|
5761
5727
|
ref: z9.string().describe("Worktree thread id/ref"),
|
|
5762
5728
|
action: z9.enum(AGENT_GIT_ACTIONS).describe(
|
|
@@ -8631,6 +8597,7 @@ export {
|
|
|
8631
8597
|
estimateMessageChars,
|
|
8632
8598
|
estimateOccupancyTokens,
|
|
8633
8599
|
estimateThreadChars,
|
|
8600
|
+
examplePrefixedBranch,
|
|
8634
8601
|
expandComposerPrompt,
|
|
8635
8602
|
extractBrightsyContextSummary,
|
|
8636
8603
|
extractGhErrorDetail,
|
|
@@ -8743,6 +8710,7 @@ export {
|
|
|
8743
8710
|
ghHeadRef,
|
|
8744
8711
|
ghRepoSelectArgs,
|
|
8745
8712
|
git,
|
|
8713
|
+
gitBranchPrefixSetting,
|
|
8746
8714
|
githubAgentGitEnv,
|
|
8747
8715
|
githubHttpsInsteadOfEntries,
|
|
8748
8716
|
githubRelationEditFlag,
|
|
@@ -8991,6 +8959,7 @@ export {
|
|
|
8991
8959
|
resolveEffectiveIssueSource,
|
|
8992
8960
|
resolveFilesToCopy,
|
|
8993
8961
|
resolveGhAuthToken,
|
|
8962
|
+
resolveGitBranchPrefix,
|
|
8994
8963
|
resolveGitDirsForLockRecovery,
|
|
8995
8964
|
resolveGitHubIssueRepo,
|
|
8996
8965
|
resolveGithubAgentToken,
|
|
@@ -9013,6 +8982,7 @@ export {
|
|
|
9013
8982
|
resolveReviewGuidelines,
|
|
9014
8983
|
resolveScheduleThreadId,
|
|
9015
8984
|
resolveSendFollowUp,
|
|
8985
|
+
resolveSidebarGitPrompt,
|
|
9016
8986
|
resolveSlackListenMode,
|
|
9017
8987
|
resolveThreadDefaults,
|
|
9018
8988
|
resolveThreadEffort,
|
|
@@ -9032,6 +9002,7 @@ export {
|
|
|
9032
9002
|
runSlackRelayClient,
|
|
9033
9003
|
runWorkspaceSetup,
|
|
9034
9004
|
sameWorktreePath,
|
|
9005
|
+
sanitizeGitBranchPrefix,
|
|
9035
9006
|
sanitizeMcpServerName,
|
|
9036
9007
|
saveAbleTimeConnection,
|
|
9037
9008
|
saveAppSettings,
|