@sideboard-ai/core 0.1.192 → 0.1.194

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.
Files changed (60) hide show
  1. package/dist/{abletime-53T7G667.js → abletime-HR6P4GJH.js} +4 -3
  2. package/dist/{abletime-JFMBCSIQ.js → abletime-JINF5KJV.js} +4 -3
  3. package/dist/agents/cursor-runner.js +3 -3
  4. package/dist/{agents-TXGQIK2E.js → agents-OXDDPH2O.js} +10 -9
  5. package/dist/{agents-T5VBB6X3.js → agents-WQL7SZY6.js} +8 -7
  6. package/dist/{app-settings-663VQWUV.js → app-settings-5KHVKJKO.js} +5 -2
  7. package/dist/{app-settings-74HBAAH7.js → app-settings-J775CYOO.js} +5 -2
  8. package/dist/branch-prefix-7DTIUJT2.js +12 -0
  9. package/dist/branch-prefix-N3KTCRCE.js +10 -0
  10. package/dist/{caffeinate-hold-SK2QISPE.js → caffeinate-hold-22VFDPSO.js} +2 -2
  11. package/dist/{caffeinate-hold-DBKMRZZO.js → caffeinate-hold-OK4JJ5PP.js} +2 -2
  12. package/dist/{chunk-TWSCTJCR.js → chunk-2X6RGKLI.js} +7 -7
  13. package/dist/{chunk-HVIEYTUK.js → chunk-3OHR73VK.js} +1 -1
  14. package/dist/{chunk-AO35MGOE.js → chunk-4TYXWPAJ.js} +1 -1
  15. package/dist/{chunk-WHD4JNTN.js → chunk-6H2XPPPR.js} +8 -8
  16. package/dist/{chunk-7NSXGL6L.js → chunk-6YTI2HBG.js} +5 -5
  17. package/dist/{chunk-WLPXZFRE.js → chunk-7J72QJOM.js} +1 -1
  18. package/dist/{chunk-OKZFTOM2.js → chunk-AH6WIBLY.js} +19 -1
  19. package/dist/{chunk-GOZ6T3AG.js → chunk-CJFBSQIB.js} +1 -1
  20. package/dist/{chunk-XBLN52RZ.js → chunk-DP4TKAMZ.js} +3 -3
  21. package/dist/{chunk-4M2AK3O5.js → chunk-E37JHCO3.js} +1 -1
  22. package/dist/{chunk-JTJHOYCU.js → chunk-EQNRWDLN.js} +10 -4
  23. package/dist/chunk-FJZWM2ON.js +23 -0
  24. package/dist/{chunk-VV7UT3E2.js → chunk-HZTHWU6A.js} +5 -5
  25. package/dist/{chunk-TCQAFTSV.js → chunk-KJBYIIJU.js} +1 -1
  26. package/dist/{chunk-UBQIELFS.js → chunk-KTHRWHA3.js} +1 -1
  27. package/dist/{chunk-FY64F2ZQ.js → chunk-NLHFAMC2.js} +1 -1
  28. package/dist/{chunk-NF6ENGHS.js → chunk-NY366OEZ.js} +151 -160
  29. package/dist/{chunk-WXKXSZN4.js → chunk-S4QCBBXS.js} +6 -6
  30. package/dist/{chunk-J7LQVLFQ.js → chunk-S5GLSRLP.js} +19 -1
  31. package/dist/{chunk-IEEAVWAP.js → chunk-SALM35KD.js} +5 -5
  32. package/dist/{chunk-FZ3G5TXM.js → chunk-VRPPFKAO.js} +152 -162
  33. package/dist/chunk-WDRMZKVB.js +20 -0
  34. package/dist/{chunk-EFVFB2AH.js → chunk-WFUDY6PC.js} +12 -5
  35. package/dist/{chunk-OCQPTUR7.js → chunk-YWI3IBP2.js} +1 -1
  36. package/dist/{connected-teams-WOYCH7FR.js → connected-teams-PU4AMFNA.js} +2 -2
  37. package/dist/{connected-teams-ON2KIKQX.js → connected-teams-WK47ATT7.js} +2 -2
  38. package/dist/{coordinator-prompt-S4HHFSLI.js → coordinator-prompt-IX66YUJ2.js} +7 -6
  39. package/dist/{coordinator-prompt-PNUDN4DW.js → coordinator-prompt-LYKS3YNG.js} +6 -5
  40. package/dist/{cursor-recover-NDMLLNYX.js → cursor-recover-DTQAUDGO.js} +2 -2
  41. package/dist/{cursor-recover-L5MD6MBO.js → cursor-recover-TXVTLAMA.js} +1 -1
  42. package/dist/{global-workspace-JTBBH2K5.js → global-workspace-4QX6UEOY.js} +7 -6
  43. package/dist/{global-workspace-2BVCJUAL.js → global-workspace-SNJ2Z6SL.js} +6 -5
  44. package/dist/index.cjs +192 -146
  45. package/dist/index.d.cts +46 -8
  46. package/dist/index.d.ts +46 -8
  47. package/dist/index.js +55 -43
  48. package/dist/mcp/run-stdio.cjs +179 -145
  49. package/dist/mcp/run-stdio.js +19 -18
  50. package/dist/{orchestrator-4G76BOHH.js → orchestrator-A5KF2335.js} +10 -9
  51. package/dist/{orchestrator-LWEZ74RK.js → orchestrator-S3M2E7O6.js} +12 -11
  52. package/dist/{paths-RRCLNSJB.js → paths-C2VERLAE.js} +1 -1
  53. package/dist/{paths-53TLA7VQ.js → paths-LOXCISLX.js} +1 -1
  54. package/dist/{thread-store-ZL6GDIDP.js → thread-store-CO77HV2K.js} +2 -2
  55. package/dist/{thread-store-RXXNSRVO.js → thread-store-M4B52FUS.js} +2 -2
  56. package/dist/{workspaces-ZYPME3YD.js → workspaces-URMUVGAQ.js} +7 -6
  57. package/dist/{workspaces-OY7D5RPU.js → workspaces-UTOYGBYB.js} +6 -5
  58. package/dist/{worktree-7LOSSD7G.js → worktree-R43JOR4V.js} +5 -4
  59. package/dist/{worktree-LPWTX2NA.js → worktree-RM6UWNGZ.js} +6 -5
  60. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,3 +1,31 @@
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-E37JHCO3.js";
1
29
  import {
2
30
  AGENT_GIT_ACTIONS,
3
31
  BOARD_COLUMN_DEFS,
@@ -201,6 +229,7 @@ import {
201
229
  resolveReviewGuidelines,
202
230
  resolveScheduleThreadId,
203
231
  resolveSendFollowUp,
232
+ resolveSidebarGitPrompt,
204
233
  runArchiveScript,
205
234
  runConventionSetup,
206
235
  runSetupScript,
@@ -239,7 +268,7 @@ import {
239
268
  worktreeCleanupSettings,
240
269
  wrapReviewSkillMarkdown,
241
270
  writeWorktreeFile
242
- } from "./chunk-NF6ENGHS.js";
271
+ } from "./chunk-NY366OEZ.js";
243
272
  import {
244
273
  LEGACY_PLAN_FILE_REL,
245
274
  PLAN_FILE_NAME,
@@ -345,7 +374,7 @@ import {
345
374
  withEventParentId,
346
375
  withEventsParentId,
347
376
  writeInjectedMcpConfig
348
- } from "./chunk-TWSCTJCR.js";
377
+ } from "./chunk-2X6RGKLI.js";
349
378
  import {
350
379
  CLOUD_COORDINATOR_BUSY_REPLY,
351
380
  CLOUD_COORDINATOR_STOPPED_REPLY,
@@ -388,7 +417,7 @@ import {
388
417
  stageBuffersAsAttachments,
389
418
  syncWorkspacesFromThreads,
390
419
  takenTeamSlugsForOrchestration
391
- } from "./chunk-VV7UT3E2.js";
420
+ } from "./chunk-HZTHWU6A.js";
392
421
  import {
393
422
  FAMOUS_SOCCER_TEAMS,
394
423
  GITHUB_PR_BODY_MAX_CHARS,
@@ -485,7 +514,7 @@ import {
485
514
  worktreeDisplayLabelForGroup,
486
515
  worktreeNameFromPath,
487
516
  worktreeSlugForTicket
488
- } from "./chunk-WXKXSZN4.js";
517
+ } from "./chunk-S4QCBBXS.js";
489
518
  import {
490
519
  ATTACHMENTS_DIR,
491
520
  CLI_DIR,
@@ -495,6 +524,7 @@ import {
495
524
  attachmentsGitignoreBody,
496
525
  isWorkspaceScratchPath
497
526
  } from "./chunk-6K64FJDD.js";
527
+ import "./chunk-QQKDGPUI.js";
498
528
  import {
499
529
  brightsyMcpServerName,
500
530
  connectBrightsyTeam,
@@ -504,7 +534,7 @@ import {
504
534
  listBrightsyAccounts,
505
535
  listConnectedBrightsyTeams,
506
536
  switchBrightsyAccount
507
- } from "./chunk-IEEAVWAP.js";
537
+ } from "./chunk-SALM35KD.js";
508
538
  import {
509
539
  brightsyAccessTokenNeedsRefresh,
510
540
  brightsyConfigPath,
@@ -513,34 +543,6 @@ import {
513
543
  refreshBrightsyAccessToken,
514
544
  saveBrightsyConfig
515
545
  } 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
546
  import {
545
547
  formatFetchError,
546
548
  httpFetch,
@@ -558,7 +560,7 @@ import {
558
560
  trustSystemCertificates,
559
561
  turnCostUsdFromCursorUsage,
560
562
  withMaxOldSpaceSize
561
- } from "./chunk-FY64F2ZQ.js";
563
+ } from "./chunk-NLHFAMC2.js";
562
564
  import {
563
565
  FOLLOW_UP_BEHAVIORS,
564
566
  GITHUB_GIT_AUTH_MODES,
@@ -608,6 +610,7 @@ import {
608
610
  getGithubPat,
609
611
  getIssueSource,
610
612
  getLinearApiKey,
613
+ gitBranchPrefixSetting,
611
614
  harnessEnvKey,
612
615
  isAbleTimeConnected,
613
616
  isIssueSourceConnected,
@@ -653,17 +656,22 @@ import {
653
656
  updateOpencodeSettings,
654
657
  updateProjectProfileSettings,
655
658
  writeViewerContext
656
- } from "./chunk-J7LQVLFQ.js";
659
+ } from "./chunk-S5GLSRLP.js";
657
660
  import {
658
661
  stripNestedElectronEnv
659
662
  } from "./chunk-4TR3HZFT.js";
663
+ import {
664
+ examplePrefixedBranch,
665
+ resolveGitBranchPrefix,
666
+ sanitizeGitBranchPrefix
667
+ } from "./chunk-WDRMZKVB.js";
660
668
  import {
661
669
  caffeinateHoldPath,
662
670
  getCaffeinateHold,
663
671
  isThreadCaffeinated,
664
672
  releaseCaffeinateHoldForThread,
665
673
  setCaffeinateHold
666
- } from "./chunk-AO35MGOE.js";
674
+ } from "./chunk-4TYXWPAJ.js";
667
675
  import "./chunk-JT7R45JB.js";
668
676
  import {
669
677
  appendMessage,
@@ -680,7 +688,7 @@ import {
680
688
  updateThread,
681
689
  withThreadLock,
682
690
  writeThread
683
- } from "./chunk-TCQAFTSV.js";
691
+ } from "./chunk-KJBYIIJU.js";
684
692
  import {
685
693
  THINKING_EFFORTS,
686
694
  isThinkingEffort,
@@ -716,8 +724,7 @@ import {
716
724
  threadsDir,
717
725
  workspaceSettingsSourceLabel,
718
726
  worktreesRoot
719
- } from "./chunk-EFVFB2AH.js";
720
- import "./chunk-QQKDGPUI.js";
727
+ } from "./chunk-WFUDY6PC.js";
721
728
  import {
722
729
  conductorBundledBinDir,
723
730
  enrichPathWithNpmGlobalBin,
@@ -5098,7 +5105,7 @@ async function startMcpServer() {
5098
5105
  );
5099
5106
  }
5100
5107
  try {
5101
- const { maxConcurrentAgents: maxConcurrentAgents2 } = await import("./app-settings-663VQWUV.js");
5108
+ const { maxConcurrentAgents: maxConcurrentAgents2 } = await import("./app-settings-5KHVKJKO.js");
5102
5109
  orch.setMaxConcurrent(maxConcurrentAgents2());
5103
5110
  } catch {
5104
5111
  }
@@ -5412,8 +5419,8 @@ async function startMcpServer() {
5412
5419
  registerSlackTools(server);
5413
5420
  registerConnectedIssueVendorTools(server);
5414
5421
  registerScheduleTools(server);
5415
- const { getCaffeinateHold: getCaffeinateHold2, setCaffeinateHold: setCaffeinateHold2 } = await import("./caffeinate-hold-SK2QISPE.js");
5416
- const { resolveNewThreadOptions: resolveNewThreadOptions2, resolveThreadDefaults: resolveThreadDefaults2 } = await import("./app-settings-663VQWUV.js");
5422
+ const { getCaffeinateHold: getCaffeinateHold2, setCaffeinateHold: setCaffeinateHold2 } = await import("./caffeinate-hold-22VFDPSO.js");
5423
+ const { resolveNewThreadOptions: resolveNewThreadOptions2, resolveThreadDefaults: resolveThreadDefaults2 } = await import("./app-settings-5KHVKJKO.js");
5417
5424
  const accountDefaults = resolveThreadDefaults2();
5418
5425
  const accountDefaultsHint = `Account defaults: agent=${accountDefaults.agent}, model=${accountDefaults.model?.trim() || "Auto"}, effort=${accountDefaults.effort}`;
5419
5426
  server.tool(
@@ -5756,7 +5763,7 @@ async function startMcpServer() {
5756
5763
  );
5757
5764
  server.tool(
5758
5765
  "ask_git",
5759
- "Commit & push, open a draft PR, mark ready for review, resolve conflicts, or merge \u2014 same actions as the desktop git buttons. When the worktree is clean, Sideboard pushes / opens the PR itself (HTTPS via `gh` even when origin is SSH / Settings \u2192 Git is SSH). When dirty, steers the worktree agent to commit (Settings \u2192 Follow-up, default interrupt now); 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. If this tool errors that the GraphQL/PR body is too long, the branch is already pushed \u2014 have the worktree agent retry `gh pr create --body-file` with a short description (GitHub limit 65,536 characters). Do not invent SSH/auth failures from that error.",
5766
+ "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
5767
  {
5761
5768
  ref: z9.string().describe("Worktree thread id/ref"),
5762
5769
  action: z9.enum(AGENT_GIT_ACTIONS).describe(
@@ -8631,6 +8638,7 @@ export {
8631
8638
  estimateMessageChars,
8632
8639
  estimateOccupancyTokens,
8633
8640
  estimateThreadChars,
8641
+ examplePrefixedBranch,
8634
8642
  expandComposerPrompt,
8635
8643
  extractBrightsyContextSummary,
8636
8644
  extractGhErrorDetail,
@@ -8743,6 +8751,7 @@ export {
8743
8751
  ghHeadRef,
8744
8752
  ghRepoSelectArgs,
8745
8753
  git,
8754
+ gitBranchPrefixSetting,
8746
8755
  githubAgentGitEnv,
8747
8756
  githubHttpsInsteadOfEntries,
8748
8757
  githubRelationEditFlag,
@@ -8991,6 +9000,7 @@ export {
8991
9000
  resolveEffectiveIssueSource,
8992
9001
  resolveFilesToCopy,
8993
9002
  resolveGhAuthToken,
9003
+ resolveGitBranchPrefix,
8994
9004
  resolveGitDirsForLockRecovery,
8995
9005
  resolveGitHubIssueRepo,
8996
9006
  resolveGithubAgentToken,
@@ -9013,6 +9023,7 @@ export {
9013
9023
  resolveReviewGuidelines,
9014
9024
  resolveScheduleThreadId,
9015
9025
  resolveSendFollowUp,
9026
+ resolveSidebarGitPrompt,
9016
9027
  resolveSlackListenMode,
9017
9028
  resolveThreadDefaults,
9018
9029
  resolveThreadEffort,
@@ -9032,6 +9043,7 @@ export {
9032
9043
  runSlackRelayClient,
9033
9044
  runWorkspaceSetup,
9034
9045
  sameWorktreePath,
9046
+ sanitizeGitBranchPrefix,
9035
9047
  sanitizeMcpServerName,
9036
9048
  saveAbleTimeConnection,
9037
9049
  saveAppSettings,