@sideboard-ai/core 0.1.191 → 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.
Files changed (68) hide show
  1. package/dist/{abletime-JFMBCSIQ.js → abletime-QHKWGTBY.js} +4 -3
  2. package/dist/{abletime-53T7G667.js → abletime-UX53JTIH.js} +4 -3
  3. package/dist/agents/cursor-runner.js +4 -4
  4. package/dist/{agents-DTPVTDB5.js → agents-MN4GSQTL.js} +19 -17
  5. package/dist/{agents-5OBZETUV.js → agents-OK5VD25T.js} +10 -8
  6. package/dist/{app-settings-663VQWUV.js → app-settings-LO7UFHQ6.js} +5 -2
  7. package/dist/{app-settings-74HBAAH7.js → app-settings-QYLNKRK4.js} +5 -2
  8. package/dist/branch-prefix-7F37FIPX.js +10 -0
  9. package/dist/branch-prefix-EVW2KHGQ.js +12 -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-GPSIZGEZ.js → chunk-3DX2T2KR.js} +181 -172
  13. package/dist/{chunk-HVIEYTUK.js → chunk-3OHR73VK.js} +1 -1
  14. package/dist/{chunk-VIODP5PT.js → chunk-4OVCJPVI.js} +13 -11
  15. package/dist/{chunk-UBQIELFS.js → chunk-4QJRH5DL.js} +1 -1
  16. package/dist/{chunk-AO35MGOE.js → chunk-4TYXWPAJ.js} +1 -1
  17. package/dist/chunk-64QSHOKV.js +869 -0
  18. package/dist/{chunk-FY64F2ZQ.js → chunk-7AJ7OZZF.js} +4 -4
  19. package/dist/{chunk-WLPXZFRE.js → chunk-7J72QJOM.js} +1 -1
  20. package/dist/chunk-7SNJMKD6.js +20 -0
  21. package/dist/{chunk-WXKXSZN4.js → chunk-BIKCWYRP.js} +16 -873
  22. package/dist/{chunk-J7LQVLFQ.js → chunk-BWRS6GAS.js} +19 -1
  23. package/dist/{chunk-GOZ6T3AG.js → chunk-CJFBSQIB.js} +1 -1
  24. package/dist/{chunk-GBWKMWUQ.js → chunk-EBPBGQ4P.js} +13 -13
  25. package/dist/{chunk-JTJHOYCU.js → chunk-EQNRWDLN.js} +10 -4
  26. package/dist/{chunk-5RRAKGPK.js → chunk-EQXXGOMD.js} +192 -182
  27. package/dist/{chunk-XXEIF2IL.js → chunk-HIX2VDRE.js} +13 -11
  28. package/dist/chunk-ILWQT2UN.js +55 -0
  29. package/dist/chunk-JTWKGOFI.js +23 -0
  30. package/dist/{chunk-TCQAFTSV.js → chunk-KJBYIIJU.js} +1 -1
  31. package/dist/{chunk-OKZFTOM2.js → chunk-KORE4WOF.js} +19 -1
  32. package/dist/{chunk-OLDZXO53.js → chunk-MQC2VA5U.js} +14 -14
  33. package/dist/{chunk-4M2AK3O5.js → chunk-O4BMPY5Y.js} +1 -1
  34. package/dist/chunk-PBEPPXMY.js +57 -0
  35. package/dist/{chunk-IEEAVWAP.js → chunk-PE337IM2.js} +7 -7
  36. package/dist/chunk-RCWHL4TK.js +866 -0
  37. package/dist/{chunk-EFVFB2AH.js → chunk-WFUDY6PC.js} +12 -5
  38. package/dist/{chunk-XBLN52RZ.js → chunk-XPKKCFRT.js} +9 -866
  39. package/dist/{chunk-OCQPTUR7.js → chunk-YWI3IBP2.js} +1 -1
  40. package/dist/{connected-teams-WOYCH7FR.js → connected-teams-PU4AMFNA.js} +2 -2
  41. package/dist/{connected-teams-ON2KIKQX.js → connected-teams-SYQQGCXD.js} +2 -2
  42. package/dist/{coordinator-prompt-LWKOL3AZ.js → coordinator-prompt-GXJIPWNA.js} +7 -5
  43. package/dist/{coordinator-prompt-MSC44OOM.js → coordinator-prompt-WB65HIZ3.js} +9 -7
  44. package/dist/{cursor-recover-NDMLLNYX.js → cursor-recover-DTQAUDGO.js} +2 -2
  45. package/dist/{cursor-recover-L5MD6MBO.js → cursor-recover-TXVTLAMA.js} +1 -1
  46. package/dist/github-DWROJOB7.js +11 -0
  47. package/dist/github-IIF7AQNO.js +9 -0
  48. package/dist/{global-workspace-6G5JJH2E.js → global-workspace-BZ6V6TEX.js} +7 -5
  49. package/dist/{global-workspace-XATJTV3N.js → global-workspace-MMK5UFUZ.js} +9 -7
  50. package/dist/index.cjs +332 -205
  51. package/dist/index.d.cts +53 -9
  52. package/dist/index.d.ts +53 -9
  53. package/dist/index.js +147 -136
  54. package/dist/mcp/run-stdio.cjs +316 -201
  55. package/dist/mcp/run-stdio.js +84 -85
  56. package/dist/{orchestrator-F3CXDBZB.js → orchestrator-4KI6VIFG.js} +16 -12
  57. package/dist/{orchestrator-2X6LYBQI.js → orchestrator-SFOT6Q6F.js} +15 -11
  58. package/dist/{paths-RRCLNSJB.js → paths-C2VERLAE.js} +1 -1
  59. package/dist/{paths-53TLA7VQ.js → paths-LOXCISLX.js} +1 -1
  60. package/dist/{thread-store-ZL6GDIDP.js → thread-store-CO77HV2K.js} +2 -2
  61. package/dist/{thread-store-RXXNSRVO.js → thread-store-M4B52FUS.js} +2 -2
  62. package/dist/{workspaces-LMFCRXTT.js → workspaces-ACMZMKPD.js} +7 -5
  63. package/dist/{workspaces-FWKPWSXV.js → workspaces-KPJS7GLY.js} +9 -7
  64. package/dist/{worktree-7LOSSD7G.js → worktree-6IEVF3GN.js} +15 -12
  65. package/dist/{worktree-LPWTX2NA.js → worktree-UW6DNBIE.js} +20 -17
  66. package/dist/worktree-labels-3XDS6O3U.js +22 -0
  67. package/dist/worktree-labels-PEDOJBMD.js +24 -0
  68. package/package.json +1 -1
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  stripNestedElectronEnv
3
3
  } from "./chunk-4TR3HZFT.js";
4
+ import {
5
+ sanitizeGitBranchPrefix
6
+ } from "./chunk-7SNJMKD6.js";
4
7
  import {
5
8
  chmodOwnerOnly,
6
9
  writePrivateFile
@@ -10,7 +13,7 @@ import {
10
13
  } from "./chunk-77WWLBCI.js";
11
14
  import {
12
15
  appDataDir
13
- } from "./chunk-EFVFB2AH.js";
16
+ } from "./chunk-WFUDY6PC.js";
14
17
 
15
18
  // src/store/app-settings.ts
16
19
  import { randomUUID } from "crypto";
@@ -723,6 +726,10 @@ function normalizeAdvanced(raw) {
723
726
  if (typeof source.autoRenameBranch === "boolean") {
724
727
  out.autoRenameBranch = source.autoRenameBranch;
725
728
  }
729
+ if (typeof source.branchPrefix === "string") {
730
+ const prefix = sanitizeGitBranchPrefix(source.branchPrefix);
731
+ if (prefix) out.branchPrefix = prefix;
732
+ }
726
733
  if (typeof source.autoRunAfterSetup === "boolean") {
727
734
  out.autoRunAfterSetup = source.autoRunAfterSetup;
728
735
  }
@@ -1589,6 +1596,13 @@ function updateAdvancedSettings(patch) {
1589
1596
  if (typeof patch.autoRenameBranch === "boolean") {
1590
1597
  advanced.autoRenameBranch = patch.autoRenameBranch;
1591
1598
  }
1599
+ if (patch.branchPrefix === null || patch.branchPrefix === "") {
1600
+ delete advanced.branchPrefix;
1601
+ } else if (typeof patch.branchPrefix === "string") {
1602
+ const prefix = sanitizeGitBranchPrefix(patch.branchPrefix);
1603
+ if (prefix) advanced.branchPrefix = prefix;
1604
+ else delete advanced.branchPrefix;
1605
+ }
1592
1606
  if (typeof patch.autoRunAfterSetup === "boolean") {
1593
1607
  advanced.autoRunAfterSetup = patch.autoRunAfterSetup;
1594
1608
  }
@@ -1649,6 +1663,9 @@ function updateAdvancedSettings(patch) {
1649
1663
  function autoRenameBranchEnabled(settings = loadAppSettings()) {
1650
1664
  return settings.advanced.autoRenameBranch !== false;
1651
1665
  }
1666
+ function gitBranchPrefixSetting(settings = loadAppSettings()) {
1667
+ return sanitizeGitBranchPrefix(settings.advanced.branchPrefix);
1668
+ }
1652
1669
  function autoRunAfterSetupEnabled(settings = loadAppSettings()) {
1653
1670
  return Boolean(settings.advanced.autoRunAfterSetup);
1654
1671
  }
@@ -1862,6 +1879,7 @@ export {
1862
1879
  brightsyCloudConnectAgent,
1863
1880
  updateAdvancedSettings,
1864
1881
  autoRenameBranchEnabled,
1882
+ gitBranchPrefixSetting,
1865
1883
  autoRunAfterSetupEnabled,
1866
1884
  caffeinateWhileRunningEnabled,
1867
1885
  caffeinateWhileSlackListenEnabled,
@@ -7,7 +7,7 @@ import {
7
7
  threadFilePath,
8
8
  threadLockPath,
9
9
  threadsDir
10
- } from "./chunk-JTJHOYCU.js";
10
+ } from "./chunk-EQNRWDLN.js";
11
11
 
12
12
  // src/store/thread-store.ts
13
13
  import { randomUUID } from "crypto";
@@ -1,23 +1,23 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ import {
4
+ isOrchestratorThread
5
+ } from "./chunk-HIX2VDRE.js";
6
+ import {
7
+ codexUnattendedGitConfigArgs,
8
+ mergeAgentGitAuthEnv,
9
+ resolveAgentGitAuthEnv,
10
+ resolveCodexGitWritableRoots
11
+ } from "./chunk-XPKKCFRT.js";
3
12
  import {
4
13
  applyConnectedTeamToCli,
5
14
  brightsyMcpServerName,
6
15
  ensureCliTeamTracked,
7
16
  ensureConnectedBrightsyTeamTokens
8
- } from "./chunk-HVIEYTUK.js";
17
+ } from "./chunk-3OHR73VK.js";
9
18
  import {
10
19
  loadBrightsyConfig
11
20
  } from "./chunk-Y4MIXGPA.js";
12
- import {
13
- isOrchestratorThread
14
- } from "./chunk-XXEIF2IL.js";
15
- import {
16
- codexUnattendedGitConfigArgs,
17
- mergeAgentGitAuthEnv,
18
- resolveAgentGitAuthEnv,
19
- resolveCodexGitWritableRoots
20
- } from "./chunk-XBLN52RZ.js";
21
21
  import {
22
22
  enrichPathWithNpmGlobalBin,
23
23
  isConductorBundledCli,
@@ -35,10 +35,10 @@ import {
35
35
  resolveClaudeExecutable,
36
36
  unwrapStrippedElectronLaunch,
37
37
  wrapElectronAsNodeLaunch
38
- } from "./chunk-OKZFTOM2.js";
38
+ } from "./chunk-KORE4WOF.js";
39
39
  import {
40
40
  appDataDir
41
- } from "./chunk-JTJHOYCU.js";
41
+ } from "./chunk-EQNRWDLN.js";
42
42
 
43
43
  // src/agents/brightsy.ts
44
44
  import { existsSync } from "fs";
@@ -2390,7 +2390,7 @@ var claudeAdapter = {
2390
2390
  );
2391
2391
  }
2392
2392
  const mode = permissionMode(thread);
2393
- const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-6G5JJH2E.js");
2393
+ const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-BZ6V6TEX.js");
2394
2394
  const isOrchestrator = isOrchestratorThread2(thread);
2395
2395
  const injectedServers = await buildInjectedMcpServers({
2396
2396
  includeSideboard: true,
@@ -187,9 +187,12 @@ function parseSettingsFile(path, source) {
187
187
  const prompts = {
188
188
  renameBranch: typeof promptsRaw.rename_branch === "string" ? promptsRaw.rename_branch : void 0,
189
189
  createPr: typeof promptsRaw.create_pr === "string" ? promptsRaw.create_pr : void 0,
190
- general: typeof promptsRaw.general === "string" ? promptsRaw.general : void 0
190
+ general: typeof promptsRaw.general === "string" ? promptsRaw.general : void 0,
191
+ resolveMergeConflicts: typeof promptsRaw.resolve_merge_conflicts === "string" ? promptsRaw.resolve_merge_conflicts : void 0
191
192
  };
192
- const hasPrompts = Boolean(prompts.renameBranch || prompts.createPr || prompts.general);
193
+ const hasPrompts = Boolean(
194
+ prompts.renameBranch || prompts.createPr || prompts.general || prompts.resolveMergeConflicts
195
+ );
193
196
  return {
194
197
  source,
195
198
  setup,
@@ -215,9 +218,12 @@ function mergeSettings(base, overlay) {
215
218
  const prompts = {
216
219
  renameBranch: overlay.prompts?.renameBranch ?? base.prompts?.renameBranch,
217
220
  createPr: overlay.prompts?.createPr ?? base.prompts?.createPr,
218
- general: overlay.prompts?.general ?? base.prompts?.general
221
+ general: overlay.prompts?.general ?? base.prompts?.general,
222
+ resolveMergeConflicts: overlay.prompts?.resolveMergeConflicts ?? base.prompts?.resolveMergeConflicts
219
223
  };
220
- const hasPrompts = Boolean(prompts.renameBranch || prompts.createPr || prompts.general);
224
+ const hasPrompts = Boolean(
225
+ prompts.renameBranch || prompts.createPr || prompts.general || prompts.resolveMergeConflicts
226
+ );
221
227
  return {
222
228
  source: overlay.source,
223
229
  setup: overlay.setup ?? base.setup,