nexus-agents 4.5.1 → 4.7.0
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/{child-mcp-config-OBOA4PE2.js → child-mcp-config-SZ7IYE3O.js} +2 -2
- package/dist/{chunk-TD6I5UHY.js → chunk-2MIG56ZD.js} +2 -2
- package/dist/{chunk-TI65NJOM.js → chunk-2ZO74IO7.js} +2 -2
- package/dist/{chunk-D7X2AMEB.js → chunk-3QC3IWRP.js} +2 -2
- package/dist/{chunk-XCUO5YUJ.js → chunk-6KPEN5OE.js} +2 -2
- package/dist/{chunk-34UKF4FB.js → chunk-7M566K5K.js} +3 -3
- package/dist/{chunk-BLY3DXM2.js → chunk-7MPLZ73P.js} +5 -5
- package/dist/{chunk-7BMK5VEO.js → chunk-7U5E7DJV.js} +8 -8
- package/dist/{chunk-7Y7UFVQ5.js → chunk-AOW5WVTT.js} +2 -2
- package/dist/{chunk-O32DMSG5.js → chunk-BYEBHNRS.js} +3 -3
- package/dist/{chunk-NH3O2D5O.js → chunk-C2DQXCIZ.js} +3 -3
- package/dist/{chunk-NH3O2D5O.js.map → chunk-C2DQXCIZ.js.map} +1 -1
- package/dist/{chunk-BAWVMEXA.js → chunk-FOBKXJMS.js} +4 -4
- package/dist/{chunk-NMX7AYYB.js → chunk-GBIL6A6D.js} +2 -2
- package/dist/{chunk-LVE7MN2F.js → chunk-GRWQU4XB.js} +6 -6
- package/dist/{chunk-CGJPW5BI.js → chunk-H44SVOTG.js} +74 -48
- package/dist/chunk-H44SVOTG.js.map +1 -0
- package/dist/{chunk-YY67CP2U.js → chunk-HCGUPBE3.js} +3 -3
- package/dist/{chunk-75K4TN5H.js → chunk-HGN5BYOW.js} +8 -8
- package/dist/{chunk-C6SAPXUV.js → chunk-HHRASHK4.js} +2 -2
- package/dist/{chunk-ESWY4Y7S.js → chunk-I5377PAC.js} +4 -4
- package/dist/{chunk-QNT5WS7E.js → chunk-LPPAXDV6.js} +5 -5
- package/dist/{chunk-5JRYCJ37.js → chunk-M5QKVRNH.js} +2 -2
- package/dist/{chunk-YLESXBB3.js → chunk-ND3KSSGU.js} +2 -2
- package/dist/{chunk-EPD5MGPB.js → chunk-PBSANZII.js} +8 -8
- package/dist/{chunk-ANTZOHQ6.js → chunk-RFXPWYM5.js} +5 -5
- package/dist/{chunk-ARTRA6YC.js → chunk-RHQNFMUW.js} +3 -3
- package/dist/{chunk-EYZIMY6I.js → chunk-RQ3F7KRP.js} +2 -2
- package/dist/{chunk-JDUTA6FI.js → chunk-S2BYGZIM.js} +2 -2
- package/dist/{chunk-BT6ONNFH.js → chunk-SWRXPVUQ.js} +2 -2
- package/dist/{chunk-6HSDJ5H6.js → chunk-V7EMWUUM.js} +2 -2
- package/dist/{chunk-VRJAJUUR.js → chunk-Y6C2VF2R.js} +7 -7
- package/dist/{chunk-KMUOL3AL.js → chunk-YAB5NYKM.js} +2 -2
- package/dist/{chunk-HBGA62JG.js → chunk-YMGPOFK3.js} +2 -2
- package/dist/{chunk-B6DNL7LG.js → chunk-YNWIXCPW.js} +4 -4
- package/dist/{chunk-SWUYPFXS.js → chunk-ZTQ4CHPG.js} +2 -2
- package/dist/{cli-circuit-breaker-TJVDSJU5.js → cli-circuit-breaker-SQHLH44A.js} +3 -3
- package/dist/cli.js +41 -41
- package/dist/{composite-router-CIC4BU6A.js → composite-router-WBT2V32V.js} +2 -2
- package/dist/{consensus-vote-77UCSVGM.js → consensus-vote-H6EIMQ7M.js} +16 -16
- package/dist/{context-retriever-CP72SNYZ.js → context-retriever-MON4VAVO.js} +8 -8
- package/dist/{doctor-deep-WI2ZC7Z3.js → doctor-deep-YB52D552.js} +3 -3
- package/dist/{doctor-live-W2KY3OIA.js → doctor-live-YCCSYF5X.js} +9 -9
- package/dist/{expert-bridge-HGBVHVJI.js → expert-bridge-MLP3CVUY.js} +4 -4
- package/dist/{factory-LEYEWZ4Y.js → factory-BOSRE2JV.js} +5 -5
- package/dist/{factory-GEBBVQHZ.js → factory-YRLWFERP.js} +9 -9
- package/dist/{improvement-review-XN2GZX3V.js → improvement-review-LTOEMHMZ.js} +5 -5
- package/dist/index.d.ts +64 -11
- package/dist/index.js +30 -30
- package/dist/{init-opencode-UPA3R362.js → init-opencode-ITKHZXYC.js} +6 -6
- package/dist/issue-triage-G7SWJLF2.js +17 -0
- package/dist/{pr-reviewer-helpers-KRKXKZIA.js → pr-reviewer-helpers-ISHVOYNB.js} +4 -4
- package/dist/{registry-command-2SCTKLEO.js → registry-command-ULIA5J5H.js} +2 -2
- package/dist/{repo-security-plan-NFYC64IS.js → repo-security-plan-QIXZWXKR.js} +3 -3
- package/dist/{research-helpers-synthesize-K5TX2WM3.js → research-helpers-synthesize-VKRSNV7Q.js} +4 -4
- package/dist/{routing-memory-JPDPHK7P.js → routing-memory-FVAEEVZ2.js} +2 -2
- package/dist/{session-memory-XIIEIJPT.js → session-memory-4U2BILBO.js} +3 -3
- package/dist/{setup-command-DIL56GPR.js → setup-command-TYHB2JK4.js} +14 -14
- package/dist/{setup-config-SUEPUZYL.js → setup-config-U6BM7PJO.js} +3 -3
- package/dist/{setup-custom-api-5TTLIPV3.js → setup-custom-api-WTUJWZK7.js} +4 -4
- package/dist/{tool-memory-ACUOYCYG.js → tool-memory-7NB5XYL3.js} +5 -5
- package/dist/{unified-registry-P3PLOFBN.js → unified-registry-LLMK2K43.js} +10 -10
- package/dist/{weather-report-464SS6FY.js → weather-report-5T7XP752.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-CGJPW5BI.js.map +0 -1
- package/dist/issue-triage-QAI2FNMN.js +0 -17
- /package/dist/{child-mcp-config-OBOA4PE2.js.map → child-mcp-config-SZ7IYE3O.js.map} +0 -0
- /package/dist/{chunk-TD6I5UHY.js.map → chunk-2MIG56ZD.js.map} +0 -0
- /package/dist/{chunk-TI65NJOM.js.map → chunk-2ZO74IO7.js.map} +0 -0
- /package/dist/{chunk-D7X2AMEB.js.map → chunk-3QC3IWRP.js.map} +0 -0
- /package/dist/{chunk-XCUO5YUJ.js.map → chunk-6KPEN5OE.js.map} +0 -0
- /package/dist/{chunk-34UKF4FB.js.map → chunk-7M566K5K.js.map} +0 -0
- /package/dist/{chunk-BLY3DXM2.js.map → chunk-7MPLZ73P.js.map} +0 -0
- /package/dist/{chunk-7BMK5VEO.js.map → chunk-7U5E7DJV.js.map} +0 -0
- /package/dist/{chunk-7Y7UFVQ5.js.map → chunk-AOW5WVTT.js.map} +0 -0
- /package/dist/{chunk-O32DMSG5.js.map → chunk-BYEBHNRS.js.map} +0 -0
- /package/dist/{chunk-BAWVMEXA.js.map → chunk-FOBKXJMS.js.map} +0 -0
- /package/dist/{chunk-NMX7AYYB.js.map → chunk-GBIL6A6D.js.map} +0 -0
- /package/dist/{chunk-LVE7MN2F.js.map → chunk-GRWQU4XB.js.map} +0 -0
- /package/dist/{chunk-YY67CP2U.js.map → chunk-HCGUPBE3.js.map} +0 -0
- /package/dist/{chunk-75K4TN5H.js.map → chunk-HGN5BYOW.js.map} +0 -0
- /package/dist/{chunk-C6SAPXUV.js.map → chunk-HHRASHK4.js.map} +0 -0
- /package/dist/{chunk-ESWY4Y7S.js.map → chunk-I5377PAC.js.map} +0 -0
- /package/dist/{chunk-QNT5WS7E.js.map → chunk-LPPAXDV6.js.map} +0 -0
- /package/dist/{chunk-5JRYCJ37.js.map → chunk-M5QKVRNH.js.map} +0 -0
- /package/dist/{chunk-YLESXBB3.js.map → chunk-ND3KSSGU.js.map} +0 -0
- /package/dist/{chunk-EPD5MGPB.js.map → chunk-PBSANZII.js.map} +0 -0
- /package/dist/{chunk-ANTZOHQ6.js.map → chunk-RFXPWYM5.js.map} +0 -0
- /package/dist/{chunk-ARTRA6YC.js.map → chunk-RHQNFMUW.js.map} +0 -0
- /package/dist/{chunk-EYZIMY6I.js.map → chunk-RQ3F7KRP.js.map} +0 -0
- /package/dist/{chunk-JDUTA6FI.js.map → chunk-S2BYGZIM.js.map} +0 -0
- /package/dist/{chunk-BT6ONNFH.js.map → chunk-SWRXPVUQ.js.map} +0 -0
- /package/dist/{chunk-6HSDJ5H6.js.map → chunk-V7EMWUUM.js.map} +0 -0
- /package/dist/{chunk-VRJAJUUR.js.map → chunk-Y6C2VF2R.js.map} +0 -0
- /package/dist/{chunk-KMUOL3AL.js.map → chunk-YAB5NYKM.js.map} +0 -0
- /package/dist/{chunk-HBGA62JG.js.map → chunk-YMGPOFK3.js.map} +0 -0
- /package/dist/{chunk-B6DNL7LG.js.map → chunk-YNWIXCPW.js.map} +0 -0
- /package/dist/{chunk-SWUYPFXS.js.map → chunk-ZTQ4CHPG.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-TJVDSJU5.js.map → cli-circuit-breaker-SQHLH44A.js.map} +0 -0
- /package/dist/{composite-router-CIC4BU6A.js.map → composite-router-WBT2V32V.js.map} +0 -0
- /package/dist/{consensus-vote-77UCSVGM.js.map → consensus-vote-H6EIMQ7M.js.map} +0 -0
- /package/dist/{context-retriever-CP72SNYZ.js.map → context-retriever-MON4VAVO.js.map} +0 -0
- /package/dist/{doctor-deep-WI2ZC7Z3.js.map → doctor-deep-YB52D552.js.map} +0 -0
- /package/dist/{doctor-live-W2KY3OIA.js.map → doctor-live-YCCSYF5X.js.map} +0 -0
- /package/dist/{expert-bridge-HGBVHVJI.js.map → expert-bridge-MLP3CVUY.js.map} +0 -0
- /package/dist/{factory-GEBBVQHZ.js.map → factory-BOSRE2JV.js.map} +0 -0
- /package/dist/{factory-LEYEWZ4Y.js.map → factory-YRLWFERP.js.map} +0 -0
- /package/dist/{improvement-review-XN2GZX3V.js.map → improvement-review-LTOEMHMZ.js.map} +0 -0
- /package/dist/{init-opencode-UPA3R362.js.map → init-opencode-ITKHZXYC.js.map} +0 -0
- /package/dist/{issue-triage-QAI2FNMN.js.map → issue-triage-G7SWJLF2.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-KRKXKZIA.js.map → pr-reviewer-helpers-ISHVOYNB.js.map} +0 -0
- /package/dist/{registry-command-2SCTKLEO.js.map → registry-command-ULIA5J5H.js.map} +0 -0
- /package/dist/{repo-security-plan-NFYC64IS.js.map → repo-security-plan-QIXZWXKR.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-K5TX2WM3.js.map → research-helpers-synthesize-VKRSNV7Q.js.map} +0 -0
- /package/dist/{routing-memory-JPDPHK7P.js.map → routing-memory-FVAEEVZ2.js.map} +0 -0
- /package/dist/{session-memory-XIIEIJPT.js.map → session-memory-4U2BILBO.js.map} +0 -0
- /package/dist/{setup-command-DIL56GPR.js.map → setup-command-TYHB2JK4.js.map} +0 -0
- /package/dist/{setup-config-SUEPUZYL.js.map → setup-config-U6BM7PJO.js.map} +0 -0
- /package/dist/{setup-custom-api-5TTLIPV3.js.map → setup-custom-api-WTUJWZK7.js.map} +0 -0
- /package/dist/{tool-memory-ACUOYCYG.js.map → tool-memory-7NB5XYL3.js.map} +0 -0
- /package/dist/{unified-registry-P3PLOFBN.js.map → unified-registry-LLMK2K43.js.map} +0 -0
- /package/dist/{weather-report-464SS6FY.js.map → weather-report-5T7XP752.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
generateSummary,
|
|
14
14
|
parseFindings,
|
|
15
15
|
sumFindings
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-HCGUPBE3.js";
|
|
17
|
+
import "./chunk-YMGPOFK3.js";
|
|
18
18
|
import {
|
|
19
19
|
setupCommandAsync,
|
|
20
20
|
verifyCommand
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-LPPAXDV6.js";
|
|
22
|
+
import "./chunk-ND3KSSGU.js";
|
|
23
23
|
import {
|
|
24
24
|
AuthHandler,
|
|
25
25
|
DEFAULT_EXPERTS,
|
|
@@ -139,8 +139,8 @@ import {
|
|
|
139
139
|
validateCommand,
|
|
140
140
|
validateWorkflow,
|
|
141
141
|
wrapInMarkdownFence
|
|
142
|
-
} from "./chunk-
|
|
143
|
-
import "./chunk-
|
|
142
|
+
} from "./chunk-H44SVOTG.js";
|
|
143
|
+
import "./chunk-HHRASHK4.js";
|
|
144
144
|
import "./chunk-HFOQKCD2.js";
|
|
145
145
|
import "./chunk-RSMG2DPB.js";
|
|
146
146
|
import {
|
|
@@ -166,14 +166,14 @@ import {
|
|
|
166
166
|
loadConfig,
|
|
167
167
|
runDoctor,
|
|
168
168
|
validateNexusEnv
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-PBSANZII.js";
|
|
170
170
|
import {
|
|
171
171
|
buildOpenAICompatAdapters,
|
|
172
172
|
readOpenAICompatEnv
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-7MPLZ73P.js";
|
|
174
174
|
import {
|
|
175
175
|
shutdownExpertBridge
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-Y6C2VF2R.js";
|
|
177
177
|
import {
|
|
178
178
|
ConsensusVoteInputSchema,
|
|
179
179
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
@@ -183,29 +183,29 @@ import {
|
|
|
183
183
|
executeVoting,
|
|
184
184
|
mapOutcomeToDecision,
|
|
185
185
|
registerConsensusVoteTool
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-HGN5BYOW.js";
|
|
187
187
|
import {
|
|
188
188
|
loadUsageEvents,
|
|
189
189
|
rollupByModel
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-AOW5WVTT.js";
|
|
191
191
|
import {
|
|
192
192
|
allOf,
|
|
193
193
|
anyOf
|
|
194
194
|
} from "./chunk-OQB3XC5O.js";
|
|
195
195
|
import {
|
|
196
196
|
synthesizeResearch
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-BYEBHNRS.js";
|
|
198
198
|
import {
|
|
199
199
|
classifyTrust,
|
|
200
200
|
createFullGitHubProvider,
|
|
201
201
|
evaluatePolicy,
|
|
202
202
|
parsePRUrl
|
|
203
|
-
} from "./chunk-
|
|
204
|
-
import "./chunk-
|
|
203
|
+
} from "./chunk-GRWQU4XB.js";
|
|
204
|
+
import "./chunk-V7EMWUUM.js";
|
|
205
205
|
import {
|
|
206
206
|
ReputationCache,
|
|
207
207
|
sanitizeInput
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-6KPEN5OE.js";
|
|
209
209
|
import {
|
|
210
210
|
ImprovementReviewInputSchema,
|
|
211
211
|
calculateFitnessScore,
|
|
@@ -219,15 +219,15 @@ import {
|
|
|
219
219
|
registerImprovementReviewTool,
|
|
220
220
|
runImprovementReview,
|
|
221
221
|
scanForSecrets
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-7M566K5K.js";
|
|
223
223
|
import {
|
|
224
224
|
createDefaultPolicyFirewall
|
|
225
|
-
} from "./chunk-
|
|
226
|
-
import "./chunk-
|
|
225
|
+
} from "./chunk-RHQNFMUW.js";
|
|
226
|
+
import "./chunk-RQ3F7KRP.js";
|
|
227
227
|
import {
|
|
228
228
|
createUnifiedRegistry,
|
|
229
229
|
getGlobalRegistry
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-FOBKXJMS.js";
|
|
231
231
|
import {
|
|
232
232
|
CodebaseIndexSchema,
|
|
233
233
|
PaperStatusSchema,
|
|
@@ -253,25 +253,25 @@ import {
|
|
|
253
253
|
loadSourcesRegistry,
|
|
254
254
|
rankDiscoveredItems,
|
|
255
255
|
saveSourcesRegistry
|
|
256
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-RFXPWYM5.js";
|
|
257
257
|
import {
|
|
258
258
|
loadPapersRegistry,
|
|
259
259
|
loadTechniquesRegistry,
|
|
260
260
|
savePapersRegistry
|
|
261
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-YAB5NYKM.js";
|
|
262
262
|
import "./chunk-NUBSJGQZ.js";
|
|
263
263
|
import {
|
|
264
264
|
resolveToken
|
|
265
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-ZTQ4CHPG.js";
|
|
266
266
|
import {
|
|
267
267
|
MemoryError,
|
|
268
268
|
shutdownToolMemory
|
|
269
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-YNWIXCPW.js";
|
|
270
270
|
import {
|
|
271
271
|
capitalize,
|
|
272
272
|
capitalizeKebab
|
|
273
273
|
} from "./chunk-6T3EPABN.js";
|
|
274
|
-
import "./chunk-
|
|
274
|
+
import "./chunk-3QC3IWRP.js";
|
|
275
275
|
import "./chunk-YPNQPT2F.js";
|
|
276
276
|
import "./chunk-XIIUIBSX.js";
|
|
277
277
|
import "./chunk-KSQSWEFH.js";
|
|
@@ -282,19 +282,19 @@ import {
|
|
|
282
282
|
isRecord,
|
|
283
283
|
probeAllClis,
|
|
284
284
|
readSubprocessDepth
|
|
285
|
-
} from "./chunk-
|
|
286
|
-
import "./chunk-
|
|
285
|
+
} from "./chunk-7U5E7DJV.js";
|
|
286
|
+
import "./chunk-2ZO74IO7.js";
|
|
287
287
|
import {
|
|
288
288
|
DEFAULTS
|
|
289
|
-
} from "./chunk-
|
|
290
|
-
import "./chunk-
|
|
289
|
+
} from "./chunk-M5QKVRNH.js";
|
|
290
|
+
import "./chunk-S2BYGZIM.js";
|
|
291
291
|
import {
|
|
292
292
|
nexusMkdtempSync
|
|
293
293
|
} from "./chunk-SNJNRDKZ.js";
|
|
294
|
-
import "./chunk-
|
|
294
|
+
import "./chunk-2MIG56ZD.js";
|
|
295
295
|
import "./chunk-QZUG667L.js";
|
|
296
|
-
import "./chunk-
|
|
297
|
-
import "./chunk-
|
|
296
|
+
import "./chunk-SWRXPVUQ.js";
|
|
297
|
+
import "./chunk-GBIL6A6D.js";
|
|
298
298
|
import {
|
|
299
299
|
API_TIMEOUTS,
|
|
300
300
|
AgentCapability,
|
|
@@ -368,7 +368,7 @@ import {
|
|
|
368
368
|
validateTimeout,
|
|
369
369
|
writeEmptyLine,
|
|
370
370
|
writeLine
|
|
371
|
-
} from "./chunk-
|
|
371
|
+
} from "./chunk-C2DQXCIZ.js";
|
|
372
372
|
import "./chunk-2HUC6NZN.js";
|
|
373
373
|
import {
|
|
374
374
|
applyPortableMode,
|
|
@@ -4126,7 +4126,7 @@ ${file.patch}
|
|
|
4126
4126
|
violations: policyResult.violations
|
|
4127
4127
|
});
|
|
4128
4128
|
}
|
|
4129
|
-
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-
|
|
4129
|
+
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-ISHVOYNB.js");
|
|
4130
4130
|
const body = formatReviewComment2(result);
|
|
4131
4131
|
const postResult = await provider.createReview(pr.prNumber, body, result.decision);
|
|
4132
4132
|
if (!postResult.ok) {
|
|
@@ -17598,7 +17598,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
17598
17598
|
let running = false;
|
|
17599
17599
|
const runOnce = async () => {
|
|
17600
17600
|
try {
|
|
17601
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
17601
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-LTOEMHMZ.js");
|
|
17602
17602
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
17603
17603
|
const result = await runImprovementReview2(input, { logger: logger19 });
|
|
17604
17604
|
logger19.info("Scheduled improvement_review complete", {
|
|
@@ -19655,7 +19655,7 @@ function adaptConfigToLibrary(config) {
|
|
|
19655
19655
|
}
|
|
19656
19656
|
function createBeliefPromoter() {
|
|
19657
19657
|
return async (event) => {
|
|
19658
|
-
const { getToolMemory } = await import("./tool-memory-
|
|
19658
|
+
const { getToolMemory } = await import("./tool-memory-7NB5XYL3.js");
|
|
19659
19659
|
const tm = getToolMemory();
|
|
19660
19660
|
await tm.recordBelief(
|
|
19661
19661
|
`skill:${event.name}`,
|
|
@@ -20842,7 +20842,7 @@ async function handleResearchCommand(args) {
|
|
|
20842
20842
|
}
|
|
20843
20843
|
}
|
|
20844
20844
|
async function handleRegistryCommand(args) {
|
|
20845
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
20845
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-ULIA5J5H.js");
|
|
20846
20846
|
const subcommand = args.subcommand;
|
|
20847
20847
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
20848
20848
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -20890,12 +20890,12 @@ async function handleVerifyCommand(args) {
|
|
|
20890
20890
|
async function handleDoctorCommand(args) {
|
|
20891
20891
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
20892
20892
|
if (args.options.deep) {
|
|
20893
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
20893
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-YB52D552.js");
|
|
20894
20894
|
const diag = runDeepDiagnostics2();
|
|
20895
20895
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
20896
20896
|
}
|
|
20897
20897
|
if (args.options.live) {
|
|
20898
|
-
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-
|
|
20898
|
+
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-YCCSYF5X.js");
|
|
20899
20899
|
const report = await runLiveReadiness();
|
|
20900
20900
|
process.stdout.write(formatLiveReadiness(report) + "\n");
|
|
20901
20901
|
if (report.some((r) => r.levels.serves.status === "failed")) {
|
|
@@ -20948,7 +20948,7 @@ async function runInitPortableFlow(args) {
|
|
|
20948
20948
|
return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
20949
20949
|
}
|
|
20950
20950
|
async function runInitOpencodeFlow(args) {
|
|
20951
|
-
const { runInitOpencode } = await import("./init-opencode-
|
|
20951
|
+
const { runInitOpencode } = await import("./init-opencode-ITKHZXYC.js");
|
|
20952
20952
|
const opencodePath = args.options.opencode;
|
|
20953
20953
|
if (opencodePath === void 0 || opencodePath === "") {
|
|
20954
20954
|
process.stderr.write("Error: --opencode requires a path argument.\n");
|
|
@@ -20974,7 +20974,7 @@ async function runInitOpencodeFlow(args) {
|
|
|
20974
20974
|
return cliExit(EXIT_CODES.SUCCESS);
|
|
20975
20975
|
}
|
|
20976
20976
|
async function renderOpencodeValidate(opencodePath) {
|
|
20977
|
-
const { runOpencodeValidate } = await import("./init-opencode-
|
|
20977
|
+
const { runOpencodeValidate } = await import("./init-opencode-ITKHZXYC.js");
|
|
20978
20978
|
const result = await runOpencodeValidate(opencodePath);
|
|
20979
20979
|
if (!result.ok) {
|
|
20980
20980
|
process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
|
|
@@ -21013,7 +21013,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
21013
21013
|
return cliExitFromStatus(exitCode);
|
|
21014
21014
|
}
|
|
21015
21015
|
async function runCustomApiSetup(args) {
|
|
21016
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
21016
|
+
const { configureCustomApi } = await import("./setup-custom-api-WTUJWZK7.js");
|
|
21017
21017
|
const baseUrl = args.options.customApi;
|
|
21018
21018
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
21019
21019
|
const input = {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
CompositeRoutingError,
|
|
5
5
|
DEFAULT_COMPOSITE_CONFIG,
|
|
6
6
|
createCompositeRouter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-C2DQXCIZ.js";
|
|
8
8
|
import "./chunk-2HUC6NZN.js";
|
|
9
9
|
import "./chunk-OQLFRJCW.js";
|
|
10
10
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
DEFAULT_COMPOSITE_CONFIG,
|
|
16
16
|
createCompositeRouter
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=composite-router-
|
|
18
|
+
//# sourceMappingURL=composite-router-WBT2V32V.js.map
|
|
@@ -11,27 +11,27 @@ import {
|
|
|
11
11
|
resetCorrelationTracker,
|
|
12
12
|
runConsensusForGoal,
|
|
13
13
|
unwrapVoteOrThrow
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-HGN5BYOW.js";
|
|
15
|
+
import "./chunk-AOW5WVTT.js";
|
|
16
16
|
import "./chunk-OQB3XC5O.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-RHQNFMUW.js";
|
|
18
|
+
import "./chunk-RQ3F7KRP.js";
|
|
19
|
+
import "./chunk-FOBKXJMS.js";
|
|
20
|
+
import "./chunk-YNWIXCPW.js";
|
|
21
21
|
import "./chunk-6T3EPABN.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-3QC3IWRP.js";
|
|
23
23
|
import "./chunk-XIIUIBSX.js";
|
|
24
24
|
import "./chunk-KSQSWEFH.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-7U5E7DJV.js";
|
|
26
|
+
import "./chunk-2ZO74IO7.js";
|
|
27
|
+
import "./chunk-M5QKVRNH.js";
|
|
28
|
+
import "./chunk-S2BYGZIM.js";
|
|
29
29
|
import "./chunk-SNJNRDKZ.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-2MIG56ZD.js";
|
|
31
31
|
import "./chunk-QZUG667L.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-SWRXPVUQ.js";
|
|
33
|
+
import "./chunk-GBIL6A6D.js";
|
|
34
|
+
import "./chunk-C2DQXCIZ.js";
|
|
35
35
|
import "./chunk-2HUC6NZN.js";
|
|
36
36
|
import "./chunk-OQLFRJCW.js";
|
|
37
37
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
runConsensusForGoal,
|
|
50
50
|
unwrapVoteOrThrow
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=consensus-vote-
|
|
52
|
+
//# sourceMappingURL=consensus-vote-H6EIMQ7M.js.map
|
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
inferTaskCategory,
|
|
7
7
|
selectRelevantResearch,
|
|
8
8
|
summarizeContextForPrompt
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-RFXPWYM5.js";
|
|
10
|
+
import "./chunk-YAB5NYKM.js";
|
|
11
11
|
import "./chunk-NUBSJGQZ.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-ZTQ4CHPG.js";
|
|
13
|
+
import "./chunk-YNWIXCPW.js";
|
|
14
14
|
import "./chunk-6T3EPABN.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-3QC3IWRP.js";
|
|
16
16
|
import "./chunk-XIIUIBSX.js";
|
|
17
17
|
import "./chunk-KSQSWEFH.js";
|
|
18
18
|
import "./chunk-QZUG667L.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-SWRXPVUQ.js";
|
|
20
|
+
import "./chunk-C2DQXCIZ.js";
|
|
21
21
|
import "./chunk-2HUC6NZN.js";
|
|
22
22
|
import "./chunk-OQLFRJCW.js";
|
|
23
23
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -30,4 +30,4 @@ export {
|
|
|
30
30
|
selectRelevantResearch,
|
|
31
31
|
summarizeContextForPrompt
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=context-retriever-
|
|
33
|
+
//# sourceMappingURL=context-retriever-MON4VAVO.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatDeepDiagnostics,
|
|
3
3
|
runDeepDiagnostics
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-YMGPOFK3.js";
|
|
5
|
+
import "./chunk-C2DQXCIZ.js";
|
|
6
6
|
import "./chunk-2HUC6NZN.js";
|
|
7
7
|
import "./chunk-OQLFRJCW.js";
|
|
8
8
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -10,4 +10,4 @@ export {
|
|
|
10
10
|
formatDeepDiagnostics,
|
|
11
11
|
runDeepDiagnostics
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=doctor-deep-
|
|
13
|
+
//# sourceMappingURL=doctor-deep-YB52D552.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAllAdapters,
|
|
3
3
|
probeAllClis
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-7U5E7DJV.js";
|
|
5
|
+
import "./chunk-2ZO74IO7.js";
|
|
6
|
+
import "./chunk-M5QKVRNH.js";
|
|
7
|
+
import "./chunk-S2BYGZIM.js";
|
|
8
8
|
import "./chunk-SNJNRDKZ.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-2MIG56ZD.js";
|
|
10
10
|
import "./chunk-QZUG667L.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-SWRXPVUQ.js";
|
|
12
|
+
import "./chunk-GBIL6A6D.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveClassGuardMs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-C2DQXCIZ.js";
|
|
16
16
|
import "./chunk-2HUC6NZN.js";
|
|
17
17
|
import "./chunk-OQLFRJCW.js";
|
|
18
18
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -146,4 +146,4 @@ export {
|
|
|
146
146
|
formatLiveReadiness,
|
|
147
147
|
runLiveReadiness
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=doctor-live-
|
|
149
|
+
//# sourceMappingURL=doctor-live-YCCSYF5X.js.map
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
shutdownExpertBridge,
|
|
4
4
|
tokenSplitFromUsage,
|
|
5
5
|
totalTokensFromUsage
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-Y6C2VF2R.js";
|
|
7
|
+
import "./chunk-2MIG56ZD.js";
|
|
8
|
+
import "./chunk-C2DQXCIZ.js";
|
|
9
9
|
import "./chunk-2HUC6NZN.js";
|
|
10
10
|
import "./chunk-OQLFRJCW.js";
|
|
11
11
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
tokenSplitFromUsage,
|
|
16
16
|
totalTokensFromUsage
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=expert-bridge-
|
|
18
|
+
//# sourceMappingURL=expert-bridge-MLP3CVUY.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGitHubProvider,
|
|
3
3
|
createScmProvider
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-I5377PAC.js";
|
|
5
|
+
import "./chunk-V7EMWUUM.js";
|
|
6
|
+
import "./chunk-ZTQ4CHPG.js";
|
|
7
|
+
import "./chunk-C2DQXCIZ.js";
|
|
8
8
|
import "./chunk-2HUC6NZN.js";
|
|
9
9
|
import "./chunk-OQLFRJCW.js";
|
|
10
10
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -12,4 +12,4 @@ export {
|
|
|
12
12
|
createGitHubProvider,
|
|
13
13
|
createScmProvider
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=factory-
|
|
15
|
+
//# sourceMappingURL=factory-BOSRE2JV.js.map
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
createCliAdapter,
|
|
4
4
|
getAvailableClis,
|
|
5
5
|
isCliAvailable
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-7U5E7DJV.js";
|
|
7
|
+
import "./chunk-2ZO74IO7.js";
|
|
8
|
+
import "./chunk-M5QKVRNH.js";
|
|
9
|
+
import "./chunk-S2BYGZIM.js";
|
|
10
10
|
import "./chunk-SNJNRDKZ.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-2MIG56ZD.js";
|
|
12
12
|
import "./chunk-QZUG667L.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-SWRXPVUQ.js";
|
|
14
|
+
import "./chunk-GBIL6A6D.js";
|
|
15
|
+
import "./chunk-C2DQXCIZ.js";
|
|
16
16
|
import "./chunk-2HUC6NZN.js";
|
|
17
17
|
import "./chunk-OQLFRJCW.js";
|
|
18
18
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
getAvailableClis,
|
|
23
23
|
isCliAvailable
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=factory-
|
|
25
|
+
//# sourceMappingURL=factory-YRLWFERP.js.map
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
loadSelfEvalSignals,
|
|
12
12
|
registerImprovementReviewTool,
|
|
13
13
|
runImprovementReview
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-7M566K5K.js";
|
|
15
|
+
import "./chunk-RHQNFMUW.js";
|
|
16
|
+
import "./chunk-RQ3F7KRP.js";
|
|
17
|
+
import "./chunk-C2DQXCIZ.js";
|
|
18
18
|
import "./chunk-2HUC6NZN.js";
|
|
19
19
|
import "./chunk-OQLFRJCW.js";
|
|
20
20
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -32,4 +32,4 @@ export {
|
|
|
32
32
|
registerImprovementReviewTool,
|
|
33
33
|
runImprovementReview
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=improvement-review-
|
|
35
|
+
//# sourceMappingURL=improvement-review-LTOEMHMZ.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -5402,8 +5402,17 @@ interface OrchestratorStep {
|
|
|
5402
5402
|
output: unknown;
|
|
5403
5403
|
/** Duration in ms */
|
|
5404
5404
|
durationMs: number;
|
|
5405
|
-
/** Tokens used in this step */
|
|
5405
|
+
/** Tokens used in this step. Meaningful only when {@link OrchestratorStep.tokensMeasured} is not `false`. */
|
|
5406
5406
|
tokensUsed: number;
|
|
5407
|
+
/**
|
|
5408
|
+
* Whether `tokensUsed` is a measurement (#4829).
|
|
5409
|
+
*
|
|
5410
|
+
* `false` means no usage was reported for this step, so `tokensUsed` is a
|
|
5411
|
+
* placeholder `0` and NOT a count. Absent means the producer predates the
|
|
5412
|
+
* distinction — unknown, not measured. Mirrors `ResultMetadata.tokensMeasured`
|
|
5413
|
+
* (#4734).
|
|
5414
|
+
*/
|
|
5415
|
+
tokensMeasured?: boolean;
|
|
5407
5416
|
/** Status */
|
|
5408
5417
|
status: 'success' | 'failed' | 'skipped';
|
|
5409
5418
|
/** Error if failed */
|
|
@@ -5423,8 +5432,16 @@ interface OrchestratorResult {
|
|
|
5423
5432
|
output: unknown;
|
|
5424
5433
|
/** Total execution time in ms */
|
|
5425
5434
|
totalDurationMs: number;
|
|
5426
|
-
/** Total tokens consumed */
|
|
5435
|
+
/** Total tokens consumed. Meaningful only when {@link OrchestratorResult.tokensMeasured} is not `false`. */
|
|
5427
5436
|
totalTokensUsed: number;
|
|
5437
|
+
/**
|
|
5438
|
+
* Whether `totalTokensUsed` is a measurement (#4829).
|
|
5439
|
+
*
|
|
5440
|
+
* `false` means no step reported usage, so the total is a placeholder `0`
|
|
5441
|
+
* and NOT a count — for anything cap-shaped, reading it as a count
|
|
5442
|
+
* under-counts in the dangerous direction.
|
|
5443
|
+
*/
|
|
5444
|
+
tokensMeasured?: boolean;
|
|
5428
5445
|
/** Agents involved */
|
|
5429
5446
|
agentsUsed: string[];
|
|
5430
5447
|
}
|
|
@@ -11183,15 +11200,44 @@ interface AdaptiveProtocolConfig {
|
|
|
11183
11200
|
* Selection result with metadata.
|
|
11184
11201
|
*/
|
|
11185
11202
|
interface SelectionResult$2 {
|
|
11186
|
-
/**
|
|
11203
|
+
/**
|
|
11204
|
+
* The pattern that will be used.
|
|
11205
|
+
*
|
|
11206
|
+
* This is always `config.pattern`. `CollaborationPattern` has no `auto`
|
|
11207
|
+
* member, so a caller cannot ask for adaptive selection and adaptation can
|
|
11208
|
+
* never win — see {@link adaptivePattern} for what it would have chosen
|
|
11209
|
+
* (#4833).
|
|
11210
|
+
*/
|
|
11187
11211
|
readonly pattern: CollaborationPattern;
|
|
11188
|
-
/**
|
|
11212
|
+
/**
|
|
11213
|
+
* The pattern adaptation would choose from the task classification (#4833).
|
|
11214
|
+
*
|
|
11215
|
+
* Advisory. Previously computed and discarded, which left the caller unable
|
|
11216
|
+
* to see the one thing this class exists to produce.
|
|
11217
|
+
*/
|
|
11218
|
+
readonly adaptivePattern: CollaborationPattern;
|
|
11219
|
+
/** Classification that led to {@link adaptivePattern}. */
|
|
11189
11220
|
readonly classification: ClassificationResult;
|
|
11190
|
-
/**
|
|
11221
|
+
/**
|
|
11222
|
+
* Whether the caller's pattern differs from {@link adaptivePattern}.
|
|
11223
|
+
*
|
|
11224
|
+
* A comparison, NOT evidence that a selection was applied and then
|
|
11225
|
+
* overridden — nothing is applied. It was logged as though a live decision
|
|
11226
|
+
* had been made and reversed (#4833).
|
|
11227
|
+
*/
|
|
11191
11228
|
readonly wasOverridden: boolean;
|
|
11192
11229
|
}
|
|
11193
11230
|
/**
|
|
11194
|
-
* Adaptive protocol selector that
|
|
11231
|
+
* Adaptive protocol selector that classifies tasks and recommends protocols.
|
|
11232
|
+
*
|
|
11233
|
+
* Advisory: `selectProtocol` cannot change the protocol in use, because
|
|
11234
|
+
* `CollaborationPattern` has no `auto` member and so a caller has no way to
|
|
11235
|
+
* defer to adaptation. `getRecommendation` reports what adaptation would
|
|
11236
|
+
* choose; acting on it is the caller's decision.
|
|
11237
|
+
*
|
|
11238
|
+
* Whether to add that sentinel so adaptation can win is #4833. Its named
|
|
11239
|
+
* consumer is `TechLeadCollaboration.executeCollaboration`, which currently
|
|
11240
|
+
* declines the recommendation on purpose.
|
|
11195
11241
|
*/
|
|
11196
11242
|
declare class AdaptiveProtocolSelector {
|
|
11197
11243
|
private readonly factory;
|
|
@@ -11200,10 +11246,14 @@ declare class AdaptiveProtocolSelector {
|
|
|
11200
11246
|
private readonly log;
|
|
11201
11247
|
constructor(config?: AdaptiveProtocolConfig);
|
|
11202
11248
|
/**
|
|
11203
|
-
*
|
|
11249
|
+
* Classify a task and report which protocol adaptation would choose.
|
|
11250
|
+
*
|
|
11251
|
+
* The returned `pattern` is always `config.pattern`: `CollaborationPattern`
|
|
11252
|
+
* has no `auto` member, so there is no way for a caller to defer to
|
|
11253
|
+
* adaptation. `adaptivePattern` carries the advisory choice (#4833).
|
|
11204
11254
|
*
|
|
11205
|
-
* @param config - Collaboration config
|
|
11206
|
-
* @returns
|
|
11255
|
+
* @param config - Collaboration config; its `pattern` is always honoured
|
|
11256
|
+
* @returns The pattern in use, the advisory choice, and the classification
|
|
11207
11257
|
*/
|
|
11208
11258
|
selectProtocol(config: CollaborationConfig): SelectionResult$2;
|
|
11209
11259
|
/**
|
|
@@ -11218,9 +11268,11 @@ declare class AdaptiveProtocolSelector {
|
|
|
11218
11268
|
*/
|
|
11219
11269
|
execute(config: CollaborationConfig, agents: Map<string, IAgent>): Promise<Result<CollaborationResult, AgentError$1>>;
|
|
11220
11270
|
/**
|
|
11221
|
-
* Get recommended protocol for a task without executing.
|
|
11271
|
+
* Get the recommended protocol for a task without executing.
|
|
11222
11272
|
*
|
|
11223
|
-
*
|
|
11273
|
+
* Returns the *adaptive* choice. It previously returned `selection.pattern`
|
|
11274
|
+
* — the caller's own input — so the "recommendation" echoed the question
|
|
11275
|
+
* back with reasoning attached that read as an answer (#4833).
|
|
11224
11276
|
*/
|
|
11225
11277
|
getRecommendation(config: CollaborationConfig): {
|
|
11226
11278
|
recommendedPattern: CollaborationPattern;
|
|
@@ -21292,6 +21344,7 @@ declare const OrchestrateOutputSchema: z.ZodObject<{
|
|
|
21292
21344
|
metadata: z.ZodObject<{
|
|
21293
21345
|
durationMs: z.ZodNumber;
|
|
21294
21346
|
tokensUsed: z.ZodNumber;
|
|
21347
|
+
tokensMeasured: z.ZodOptional<z.ZodBoolean>;
|
|
21295
21348
|
expertsUsed: z.ZodArray<z.ZodString>;
|
|
21296
21349
|
timeoutReason: z.ZodOptional<z.ZodString>;
|
|
21297
21350
|
}, z.core.$strip>;
|