@sideboard-ai/core 0.1.24 → 0.1.31
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.cjs +33 -3
- package/dist/agents/cursor-runner.js +17 -4
- package/dist/{agents-LJJRPW4Y.js → agents-HWIPJLC3.js} +23 -3
- package/dist/{chunk-WK6AK7NK.js → chunk-4YLTMPEO.js} +319 -2
- package/dist/{chunk-JNMLRJ3D.js → chunk-OY47OEY2.js} +332 -58
- package/dist/index.cjs +692 -65
- package/dist/index.d.cts +152 -3
- package/dist/index.d.ts +152 -3
- package/dist/index.js +35 -2
- package/dist/mcp/run-stdio.cjs +579 -24
- package/dist/mcp/run-stdio.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10,6 +10,9 @@ import {
|
|
|
10
10
|
applyAgentEvent,
|
|
11
11
|
applyCompaction,
|
|
12
12
|
applyThreadIntoMain,
|
|
13
|
+
attachmentFromAbsolutePath,
|
|
14
|
+
attachmentsFromBuffers,
|
|
15
|
+
attachmentsFromWorktreePaths,
|
|
13
16
|
buildForkTranscriptAttachment,
|
|
14
17
|
buildSessionSeed,
|
|
15
18
|
buildWorkspaceScriptEnv,
|
|
@@ -51,6 +54,7 @@ import {
|
|
|
51
54
|
initializeGitRepository,
|
|
52
55
|
inspectGitWorktree,
|
|
53
56
|
isBrightsyNdjsonLine,
|
|
57
|
+
isImageFilePath,
|
|
54
58
|
listBranchCommits,
|
|
55
59
|
listConductorWorkspaces,
|
|
56
60
|
listGitHubIssues,
|
|
@@ -80,6 +84,8 @@ import {
|
|
|
80
84
|
shouldRunWorktreeCleanup,
|
|
81
85
|
spawnAgentTurn,
|
|
82
86
|
splitForCompaction,
|
|
87
|
+
stageAbsolutePathsAsAttachments,
|
|
88
|
+
stageBuffersAsAttachments,
|
|
83
89
|
startDevServer,
|
|
84
90
|
startMcpServer,
|
|
85
91
|
startOrchestration,
|
|
@@ -95,7 +101,7 @@ import {
|
|
|
95
101
|
withAgentInstructions,
|
|
96
102
|
worktreeCleanupSettings,
|
|
97
103
|
writeWorktreeFile
|
|
98
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-OY47OEY2.js";
|
|
99
105
|
import {
|
|
100
106
|
addWorkspace,
|
|
101
107
|
ensureWorkspace,
|
|
@@ -150,17 +156,27 @@ import {
|
|
|
150
156
|
findInvalidCacheControlTtlOrder,
|
|
151
157
|
flattenTurnInput,
|
|
152
158
|
getAdapter,
|
|
159
|
+
getAgentSetupInfo,
|
|
160
|
+
installAgent,
|
|
153
161
|
isBrightsyConnected,
|
|
162
|
+
isCursorAutoModel,
|
|
163
|
+
listAgentSetupInfo,
|
|
154
164
|
listBrightsyChatTargets,
|
|
165
|
+
listCodexModels,
|
|
166
|
+
listCursorModels,
|
|
167
|
+
listOpencodeModels,
|
|
168
|
+
loginAgent,
|
|
155
169
|
mcpAllowTools,
|
|
156
170
|
mcpAuthWarnings,
|
|
157
171
|
normalizeTurnInput,
|
|
172
|
+
openInSystemTerminal,
|
|
158
173
|
opencodeAdapter,
|
|
159
174
|
parseMcpList,
|
|
160
175
|
permissionMode,
|
|
176
|
+
resolveCursorModelId,
|
|
161
177
|
sanitizeMcpServerName,
|
|
162
178
|
writeInjectedMcpConfig
|
|
163
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-4YLTMPEO.js";
|
|
164
180
|
import {
|
|
165
181
|
brightsyConfigPath,
|
|
166
182
|
brightsyMcpServerName,
|
|
@@ -388,6 +404,7 @@ function buildDiffCommentAttachment(input) {
|
|
|
388
404
|
id: input.id ?? `diff-comment-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,
|
|
389
405
|
name,
|
|
390
406
|
kind: "diff-comment",
|
|
407
|
+
path: input.path.trim(),
|
|
391
408
|
content
|
|
392
409
|
};
|
|
393
410
|
}
|
|
@@ -752,6 +769,9 @@ export {
|
|
|
752
769
|
applyAppEnvironment,
|
|
753
770
|
applyCompaction,
|
|
754
771
|
applyThreadIntoMain,
|
|
772
|
+
attachmentFromAbsolutePath,
|
|
773
|
+
attachmentsFromBuffers,
|
|
774
|
+
attachmentsFromWorktreePaths,
|
|
755
775
|
autoCleanupOrphansEnabled,
|
|
756
776
|
autoRenameBranchEnabled,
|
|
757
777
|
autoRunAfterSetupEnabled,
|
|
@@ -837,6 +857,7 @@ export {
|
|
|
837
857
|
formatWorkspaceInventory,
|
|
838
858
|
formatWorktreeDirective,
|
|
839
859
|
getAdapter,
|
|
860
|
+
getAgentSetupInfo,
|
|
840
861
|
getBrightsySession,
|
|
841
862
|
getDefaultRunScript,
|
|
842
863
|
getDiff,
|
|
@@ -867,27 +888,34 @@ export {
|
|
|
867
888
|
importConductorWorkspaceAsync,
|
|
868
889
|
initializeGitRepository,
|
|
869
890
|
inspectGitWorktree,
|
|
891
|
+
installAgent,
|
|
870
892
|
isBrightsyConnected,
|
|
871
893
|
isBrightsyNdjsonLine,
|
|
872
894
|
isCloudCoordinatorThread,
|
|
895
|
+
isCursorAutoModel,
|
|
873
896
|
isDirty,
|
|
874
897
|
isGhRateLimitError,
|
|
875
898
|
isGlobalRepoPath,
|
|
876
899
|
isGlobalThread,
|
|
900
|
+
isImageFilePath,
|
|
877
901
|
isLinearConnected,
|
|
878
902
|
isOrchestratorThread,
|
|
879
903
|
isPlaceholderBranch,
|
|
904
|
+
listAgentSetupInfo,
|
|
880
905
|
listBranchCommits,
|
|
881
906
|
listBranches,
|
|
882
907
|
listBrightsyAccounts,
|
|
883
908
|
listBrightsyChatTargets,
|
|
909
|
+
listCodexModels,
|
|
884
910
|
listConductorWorkspaces,
|
|
885
911
|
listConnectedBrightsyTeams,
|
|
912
|
+
listCursorModels,
|
|
886
913
|
listGitHubIssues,
|
|
887
914
|
listGlobalThreads,
|
|
888
915
|
listIssues,
|
|
889
916
|
listLinearIssues,
|
|
890
917
|
listLinearIssuesDirect,
|
|
918
|
+
listOpencodeModels,
|
|
891
919
|
listPrs,
|
|
892
920
|
listRunScripts,
|
|
893
921
|
listThreads,
|
|
@@ -901,6 +929,7 @@ export {
|
|
|
901
929
|
loadRepoSettings,
|
|
902
930
|
loadWorkspaceSettings,
|
|
903
931
|
locksDir,
|
|
932
|
+
loginAgent,
|
|
904
933
|
lookupSoccerTeam,
|
|
905
934
|
maxConcurrentAgents,
|
|
906
935
|
maybeCompactContext,
|
|
@@ -912,6 +941,7 @@ export {
|
|
|
912
941
|
normalizeThread,
|
|
913
942
|
normalizeTurnInput,
|
|
914
943
|
normalizeWorktreePath,
|
|
944
|
+
openInSystemTerminal,
|
|
915
945
|
opencodeAdapter,
|
|
916
946
|
orchestrationTitleNeedsSoccerNickname,
|
|
917
947
|
orchestratorSessionPoisonedByBuiltins,
|
|
@@ -936,6 +966,7 @@ export {
|
|
|
936
966
|
requireAgent,
|
|
937
967
|
resolveClaudeExecutable,
|
|
938
968
|
resolveConductorCursorAgentId,
|
|
969
|
+
resolveCursorModelId,
|
|
939
970
|
resolveDefaultBranch,
|
|
940
971
|
resolveDiffBaseRef,
|
|
941
972
|
resolveEffectiveIssueSource,
|
|
@@ -962,6 +993,8 @@ export {
|
|
|
962
993
|
slugify,
|
|
963
994
|
spawnAgentTurn,
|
|
964
995
|
splitForCompaction,
|
|
996
|
+
stageAbsolutePathsAsAttachments,
|
|
997
|
+
stageBuffersAsAttachments,
|
|
965
998
|
startDevServer,
|
|
966
999
|
startMcpServer,
|
|
967
1000
|
startOrchestration,
|