@sideboard-ai/core 0.1.43 → 0.1.45
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/agents/cursor-runner.js +1 -1
- package/dist/{agents-T3EA7GZV.js → agents-JSHCAZUZ.js} +15 -5
- package/dist/{app-settings-ZKVZHJPQ.js → app-settings-LYGVDGZY.js} +5 -1
- package/dist/{chunk-Z2BQMXVM.js → chunk-6NAPN2N5.js} +6 -2
- package/dist/{chunk-VC7NORFX.js → chunk-ANZ566Z5.js} +184 -3
- package/dist/{chunk-7PCTK4WO.js → chunk-FV6FN6V5.js} +1 -1
- package/dist/{chunk-AGU52GTV.js → chunk-I6QGZOOS.js} +488 -32
- package/dist/{chunk-PU27NUO4.js → chunk-J5JTEJ5O.js} +7 -2
- package/dist/{chunk-ENSD62HW.js → chunk-O6W3P7V3.js} +3 -1
- package/dist/{chunk-FUCEOJFO.js → chunk-U3EQKJHA.js} +2 -2
- package/dist/{chunk-FSIK442J.js → chunk-WYY3J7GR.js} +21 -0
- package/dist/{chunk-X6P2QVRJ.js → chunk-ZNSM2DDD.js} +3 -3
- package/dist/{coordinator-prompt-BHXBQRPM.js → coordinator-prompt-2XFYG3C5.js} +3 -3
- package/dist/{global-workspace-SNN45OCN.js → global-workspace-YFOQUGWD.js} +4 -4
- package/dist/index.cjs +735 -25
- package/dist/index.d.cts +107 -2
- package/dist/index.d.ts +107 -2
- package/dist/index.js +35 -9
- package/dist/mcp/run-stdio.cjs +805 -123
- package/dist/mcp/run-stdio.js +9 -9
- package/dist/{thread-store-EHROA3VZ.js → thread-store-OV2X6PYO.js} +1 -1
- package/dist/{workspaces-AUYIJ64Z.js → workspaces-TIKLNDW3.js} +5 -5
- package/dist/{worktree-N4PRV4V3.js → worktree-TEDAJ57S.js} +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4,6 +4,9 @@ import {
|
|
|
4
4
|
CONTEXT_KEEP_RECENT_MESSAGES,
|
|
5
5
|
CONTEXT_MIN_MESSAGES,
|
|
6
6
|
Orchestrator,
|
|
7
|
+
REVIEW_REQUEST_NAME,
|
|
8
|
+
REVIEW_REQUEST_PATH,
|
|
9
|
+
REVIEW_REQUEST_PREFILL,
|
|
7
10
|
adoptThread,
|
|
8
11
|
allocatePort,
|
|
9
12
|
allocatePortRange,
|
|
@@ -14,6 +17,7 @@ import {
|
|
|
14
17
|
attachmentsFromBuffers,
|
|
15
18
|
attachmentsFromWorktreePaths,
|
|
16
19
|
buildForkTranscriptAttachment,
|
|
20
|
+
buildReviewRequestAttachment,
|
|
17
21
|
buildSessionSeed,
|
|
18
22
|
buildWorkspaceScriptEnv,
|
|
19
23
|
captureLoginEnv,
|
|
@@ -70,10 +74,12 @@ import {
|
|
|
70
74
|
normalizeParseResult,
|
|
71
75
|
partsToAssistantText,
|
|
72
76
|
previewLand,
|
|
77
|
+
readExistingReviewRequestFile,
|
|
73
78
|
readSkillBody,
|
|
74
79
|
readWorktreeFile,
|
|
75
80
|
readWorktreeFileForUpload,
|
|
76
81
|
readWorktreeInclude,
|
|
82
|
+
requestReview,
|
|
77
83
|
requireAgent,
|
|
78
84
|
resolveConductorCursorAgentId,
|
|
79
85
|
resolveFilesToCopy,
|
|
@@ -102,14 +108,14 @@ import {
|
|
|
102
108
|
withAgentInstructions,
|
|
103
109
|
worktreeCleanupSettings,
|
|
104
110
|
writeWorktreeFile
|
|
105
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-I6QGZOOS.js";
|
|
106
112
|
import {
|
|
107
113
|
addWorkspace,
|
|
108
114
|
ensureWorkspace,
|
|
109
115
|
listWorkspaces,
|
|
110
116
|
removeWorkspace,
|
|
111
117
|
syncWorkspacesFromThreads
|
|
112
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-U3EQKJHA.js";
|
|
113
119
|
import {
|
|
114
120
|
CLOUD_COORDINATOR_BUSY_REPLY,
|
|
115
121
|
CLOUD_COORDINATOR_STOPPED_REPLY,
|
|
@@ -129,7 +135,7 @@ import {
|
|
|
129
135
|
orchestratorSessionPoisonedByBuiltins,
|
|
130
136
|
parseForceStopMessage,
|
|
131
137
|
takenTeamSlugsForOrchestration
|
|
132
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-ZNSM2DDD.js";
|
|
133
139
|
import {
|
|
134
140
|
COORDINATOR_TOOL_PLAYBOOK,
|
|
135
141
|
coordinatorSystemPrompt,
|
|
@@ -137,9 +143,10 @@ import {
|
|
|
137
143
|
enrichWorkspacesWithGithub,
|
|
138
144
|
ensureGlobalCoordinatorCwd,
|
|
139
145
|
formatWorkspaceInventory
|
|
140
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-6NAPN2N5.js";
|
|
141
147
|
import {
|
|
142
148
|
BRIGHTSY_MCP_ALLOWED_TOOLS,
|
|
149
|
+
CLAUDE_MODEL_CATALOG,
|
|
143
150
|
MAX_ANTHROPIC_CACHE_CONTROL_BLOCKS,
|
|
144
151
|
PLAN_MODE_INSTRUCTION,
|
|
145
152
|
SIDEBOARD_MCP_ALLOWED_TOOLS,
|
|
@@ -161,10 +168,12 @@ import {
|
|
|
161
168
|
installAgent,
|
|
162
169
|
isBrightsyConnected,
|
|
163
170
|
isCursorAutoModel,
|
|
171
|
+
isSessionQuotaLimit,
|
|
164
172
|
listAgentSetupInfo,
|
|
165
173
|
listBrightsyChatTargets,
|
|
166
174
|
listCodexModels,
|
|
167
175
|
listCursorModels,
|
|
176
|
+
listModelsForAgent,
|
|
168
177
|
listOpencodeModels,
|
|
169
178
|
loginAgent,
|
|
170
179
|
mcpAllowTools,
|
|
@@ -173,11 +182,13 @@ import {
|
|
|
173
182
|
openInSystemTerminal,
|
|
174
183
|
opencodeAdapter,
|
|
175
184
|
parseMcpList,
|
|
185
|
+
parseSessionQuotaResetAt,
|
|
176
186
|
permissionMode,
|
|
177
187
|
resolveCursorModelId,
|
|
188
|
+
resolveQuotaFallbackAgent,
|
|
178
189
|
sanitizeMcpServerName,
|
|
179
190
|
writeInjectedMcpConfig
|
|
180
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-ANZ566Z5.js";
|
|
181
192
|
import {
|
|
182
193
|
brightsyConfigPath,
|
|
183
194
|
brightsyMcpServerName,
|
|
@@ -193,7 +204,7 @@ import {
|
|
|
193
204
|
import {
|
|
194
205
|
cursorSdkMessageToEvents,
|
|
195
206
|
parseCursorRunnerLine
|
|
196
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-J5JTEJ5O.js";
|
|
197
208
|
import {
|
|
198
209
|
HARNESS_ENV_KEYS,
|
|
199
210
|
appSettingsPath,
|
|
@@ -219,6 +230,8 @@ import {
|
|
|
219
230
|
isLinearConnected,
|
|
220
231
|
loadAppSettings,
|
|
221
232
|
maxConcurrentAgents,
|
|
233
|
+
orchestrationQuotaFallbackAgent,
|
|
234
|
+
orchestrationQuotaOnLimit,
|
|
222
235
|
resolveClaudeExecutable,
|
|
223
236
|
resolveEffectiveIssueSource,
|
|
224
237
|
resolveThreadDefaults,
|
|
@@ -229,7 +242,7 @@ import {
|
|
|
229
242
|
updateClaudeSettings,
|
|
230
243
|
updateDefaultsSettings,
|
|
231
244
|
updateIntegrationsSettings
|
|
232
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-WYY3J7GR.js";
|
|
233
246
|
import {
|
|
234
247
|
FAMOUS_SOCCER_TEAMS,
|
|
235
248
|
allocateTeamName,
|
|
@@ -278,7 +291,7 @@ import {
|
|
|
278
291
|
worktreeDisplayLabel,
|
|
279
292
|
worktreeDisplayLabelForGroup,
|
|
280
293
|
worktreeNameFromPath
|
|
281
|
-
} from "./chunk-
|
|
294
|
+
} from "./chunk-FV6FN6V5.js";
|
|
282
295
|
import {
|
|
283
296
|
appendMessage,
|
|
284
297
|
createEmptyThread,
|
|
@@ -292,7 +305,7 @@ import {
|
|
|
292
305
|
updateThread,
|
|
293
306
|
withThreadLock,
|
|
294
307
|
writeThread
|
|
295
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-O6W3P7V3.js";
|
|
296
309
|
import {
|
|
297
310
|
THINKING_EFFORTS,
|
|
298
311
|
isThinkingEffort,
|
|
@@ -790,6 +803,7 @@ async function runCloudConnect(opts) {
|
|
|
790
803
|
export {
|
|
791
804
|
BRIGHTSY_MCP_ALLOWED_TOOLS,
|
|
792
805
|
BrightsySideboardApi,
|
|
806
|
+
CLAUDE_MODEL_CATALOG,
|
|
793
807
|
CLOUD_COORDINATOR_BUSY_REPLY,
|
|
794
808
|
CLOUD_COORDINATOR_STOPPED_REPLY,
|
|
795
809
|
CLOUD_COORDINATOR_TIMEOUT_REPLY,
|
|
@@ -807,6 +821,9 @@ export {
|
|
|
807
821
|
PASTE_ATTACH_MIN_CHARS,
|
|
808
822
|
PASTE_ATTACH_MIN_LINES,
|
|
809
823
|
PLAN_MODE_INSTRUCTION,
|
|
824
|
+
REVIEW_REQUEST_NAME,
|
|
825
|
+
REVIEW_REQUEST_PATH,
|
|
826
|
+
REVIEW_REQUEST_PREFILL,
|
|
810
827
|
SIDEBOARD_FORCE_STOP,
|
|
811
828
|
SIDEBOARD_MCP_ALLOWED_TOOLS,
|
|
812
829
|
THINKING_EFFORTS,
|
|
@@ -842,6 +859,7 @@ export {
|
|
|
842
859
|
buildDiffCommentAttachment,
|
|
843
860
|
buildForkTranscriptAttachment,
|
|
844
861
|
buildPastedTextAttachment,
|
|
862
|
+
buildReviewRequestAttachment,
|
|
845
863
|
buildSessionSeed,
|
|
846
864
|
buildWorkspaceScriptEnv,
|
|
847
865
|
caffeinateWhileCloudConnectEnabled,
|
|
@@ -962,6 +980,7 @@ export {
|
|
|
962
980
|
isOrchestratorThread,
|
|
963
981
|
isPidAlive,
|
|
964
982
|
isPlaceholderBranch,
|
|
983
|
+
isSessionQuotaLimit,
|
|
965
984
|
isThinkingEffort,
|
|
966
985
|
listAgentSetupInfo,
|
|
967
986
|
listBranchCommits,
|
|
@@ -977,6 +996,7 @@ export {
|
|
|
977
996
|
listIssues,
|
|
978
997
|
listLinearIssues,
|
|
979
998
|
listLinearIssuesDirect,
|
|
999
|
+
listModelsForAgent,
|
|
980
1000
|
listOpencodeModels,
|
|
981
1001
|
listPrs,
|
|
982
1002
|
listRunScripts,
|
|
@@ -1008,6 +1028,8 @@ export {
|
|
|
1008
1028
|
normalizeWorktreePath,
|
|
1009
1029
|
openInSystemTerminal,
|
|
1010
1030
|
opencodeAdapter,
|
|
1031
|
+
orchestrationQuotaFallbackAgent,
|
|
1032
|
+
orchestrationQuotaOnLimit,
|
|
1011
1033
|
orchestrationTitleNeedsSoccerNickname,
|
|
1012
1034
|
orchestratorSessionPoisonedByBuiltins,
|
|
1013
1035
|
originGhRepoEnv,
|
|
@@ -1015,11 +1037,13 @@ export {
|
|
|
1015
1037
|
parseForceStopMessage,
|
|
1016
1038
|
parseGithubSlugFromRemoteUrl,
|
|
1017
1039
|
parseMcpList,
|
|
1040
|
+
parseSessionQuotaResetAt,
|
|
1018
1041
|
partsToAssistantText,
|
|
1019
1042
|
pastedTextStats,
|
|
1020
1043
|
permissionMode,
|
|
1021
1044
|
previewLand,
|
|
1022
1045
|
pushBranch,
|
|
1046
|
+
readExistingReviewRequestFile,
|
|
1023
1047
|
readSkillBody,
|
|
1024
1048
|
readThread,
|
|
1025
1049
|
readWorktreeFile,
|
|
@@ -1029,6 +1053,7 @@ export {
|
|
|
1029
1053
|
removeWorkspace,
|
|
1030
1054
|
removeWorktree,
|
|
1031
1055
|
repoSlug,
|
|
1056
|
+
requestReview,
|
|
1032
1057
|
requireAgent,
|
|
1033
1058
|
resolveClaudeExecutable,
|
|
1034
1059
|
resolveConductorCursorAgentId,
|
|
@@ -1039,6 +1064,7 @@ export {
|
|
|
1039
1064
|
resolveFilesToCopy,
|
|
1040
1065
|
resolveGithubRepoSlug,
|
|
1041
1066
|
resolvePrSelector,
|
|
1067
|
+
resolveQuotaFallbackAgent,
|
|
1042
1068
|
resolveRepoRoot,
|
|
1043
1069
|
resolveThreadDefaults,
|
|
1044
1070
|
resolveThreadEffort,
|