@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
|
@@ -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-
|
|
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,
|
|
@@ -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-
|
|
17
|
+
} from "./chunk-3OHR73VK.js";
|
|
9
18
|
import {
|
|
10
19
|
loadBrightsyConfig
|
|
11
20
|
} from "./chunk-Y4MIXGPA.js";
|
|
12
|
-
import {
|
|
13
|
-
isOrchestratorThread
|
|
14
|
-
} from "./chunk-7NSXGL6L.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-
|
|
38
|
+
} from "./chunk-KORE4WOF.js";
|
|
39
39
|
import {
|
|
40
40
|
appDataDir
|
|
41
|
-
} from "./chunk-
|
|
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-
|
|
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(
|
|
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(
|
|
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,
|