nexus-agents 6.1.4 → 6.2.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-4DDBRYPA.js → child-mcp-config-MAEPMEMJ.js} +2 -2
- package/dist/{chunk-JYOSSAYY.js → chunk-5WVP7C3Z.js} +4 -4
- package/dist/{chunk-K3P5KQXZ.js → chunk-6JBCXRWI.js} +2 -2
- package/dist/{chunk-JPIEVAVJ.js → chunk-74FMJTGV.js} +7 -7
- package/dist/{chunk-ETEKZ4RK.js → chunk-7ANADXHH.js} +2 -2
- package/dist/{chunk-OMDOE7TS.js → chunk-AQOUQIIO.js} +16 -11
- package/dist/{chunk-OMDOE7TS.js.map → chunk-AQOUQIIO.js.map} +1 -1
- package/dist/{chunk-DDCKXILN.js → chunk-B7DESALP.js} +2 -2
- package/dist/{chunk-BSUATLSL.js → chunk-BA6LALHG.js} +2 -2
- package/dist/{chunk-BIOAMDHR.js → chunk-CJQRCKR4.js} +2 -2
- package/dist/{chunk-QNXB6PVL.js → chunk-FCJN757G.js} +2 -2
- package/dist/{chunk-2PEHRCZ2.js → chunk-HKP47JNU.js} +3 -3
- package/dist/{chunk-5OISEA34.js → chunk-JVQU5EDH.js} +5 -5
- package/dist/{chunk-KQYXPAFQ.js → chunk-KUP3YM2J.js} +2 -2
- package/dist/{chunk-62JZZXZA.js → chunk-L4BL4UHG.js} +2 -2
- package/dist/{chunk-CL4TF6YT.js → chunk-LHDMQAYQ.js} +2 -2
- package/dist/{chunk-3N3HTDAK.js → chunk-LJEUEU6B.js} +2 -2
- package/dist/{chunk-RPXCZLC7.js → chunk-MPCVF44P.js} +4 -4
- package/dist/{chunk-YYCQ5G3K.js → chunk-NDPUIPKN.js} +2 -2
- package/dist/{chunk-LQOANCSX.js → chunk-OWPBJIWP.js} +2 -2
- package/dist/{chunk-MGXRJZUQ.js → chunk-OYMLM23M.js} +2 -2
- package/dist/{chunk-RGK3N3UN.js → chunk-P7URBNEC.js} +3 -3
- package/dist/chunk-P7URBNEC.js.map +1 -0
- package/dist/{chunk-3NCBSBSA.js → chunk-QKAGRX22.js} +2 -2
- package/dist/{chunk-RGLSWWTT.js → chunk-QPGSBGG5.js} +5 -5
- package/dist/{chunk-5C5AJ3AK.js → chunk-SEQIGOAF.js} +3 -3
- package/dist/{chunk-JPEXSNOX.js → chunk-SJH3ZEKK.js} +52 -9
- package/dist/chunk-SJH3ZEKK.js.map +1 -0
- package/dist/{chunk-I7VQGYLE.js → chunk-TCKBYC7Z.js} +2 -2
- package/dist/{chunk-XZHGPNSB.js → chunk-U443FR6F.js} +4 -4
- package/dist/{chunk-GHD3CUV7.js → chunk-V36QXMIL.js} +7 -7
- package/dist/{chunk-3B5746AG.js → chunk-VXXA5UN7.js} +2 -2
- package/dist/{chunk-TOK5RX5Y.js → chunk-WP4ILUPM.js} +35 -35
- package/dist/chunk-WTS6XM5S.js +7 -0
- package/dist/{chunk-OBCBF2AI.js → chunk-WZHWX3SA.js} +6 -6
- package/dist/{chunk-XKHFPXIP.js → chunk-YAT2GTVH.js} +4 -4
- package/dist/{chunk-6U2OC56L.js → chunk-ZQSBNRKS.js} +3 -3
- package/dist/{cli-circuit-breaker-EZYSMS5J.js → cli-circuit-breaker-XUP4B3CR.js} +3 -3
- package/dist/cli.js +41 -41
- package/dist/{composite-router-4MX77KAO.js → composite-router-EY5NIZUY.js} +2 -2
- package/dist/{consensus-vote-UXITDP2P.js → consensus-vote-TFCCNC67.js} +17 -17
- package/dist/{context-retriever-XQXSR7X2.js → context-retriever-3UYUB2VS.js} +8 -8
- package/dist/{doctor-deep-LTNNWX2R.js → doctor-deep-LFUNO5N5.js} +3 -3
- package/dist/{doctor-live-S3EP4CDZ.js → doctor-live-PT63BVXI.js} +9 -9
- package/dist/{expert-bridge-3EHBG44P.js → expert-bridge-CLYAPS4Q.js} +4 -4
- package/dist/{factory-5EQYMH5L.js → factory-OBIKYM7M.js} +5 -5
- package/dist/{factory-I7V3JB6F.js → factory-RKYK7SS3.js} +9 -9
- package/dist/{improvement-review-KGPFAXTX.js → improvement-review-V4AQIMAI.js} +6 -6
- package/dist/index.d.ts +30 -1
- package/dist/index.js +31 -31
- package/dist/{init-opencode-CX5YQG7X.js → init-opencode-WXD57CGR.js} +6 -6
- package/dist/issue-triage-3BMIT32P.js +17 -0
- package/dist/{pr-reviewer-helpers-BVQYKJQC.js → pr-reviewer-helpers-GNQAEMFV.js} +4 -4
- package/dist/{registry-command-AM4NCHY6.js → registry-command-ZSMUSV6O.js} +2 -2
- package/dist/{repo-security-plan-4LB6D3NE.js → repo-security-plan-O6V4POGE.js} +3 -3
- package/dist/{research-helpers-synthesize-R3NHYY7G.js → research-helpers-synthesize-AKWLYM53.js} +4 -4
- package/dist/{routing-memory-UFJLIHRW.js → routing-memory-6JURKD7X.js} +2 -2
- package/dist/{session-memory-47LD45HS.js → session-memory-AOHQ7GFR.js} +3 -3
- package/dist/{setup-config-CZ4ATPBX.js → setup-config-YBPHQKMF.js} +3 -3
- package/dist/{setup-custom-api-7W5AHZVX.js → setup-custom-api-F24U4TMD.js} +4 -4
- package/dist/setup-data-dir-2D6SXQHE.js +29 -0
- package/dist/{tool-memory-FTLUCKZI.js → tool-memory-QNOIOXGA.js} +5 -5
- package/dist/{unified-registry-GBD77P3U.js → unified-registry-YEKBJ4R4.js} +10 -10
- package/dist/{weather-report-C6HWZL3B.js → weather-report-RTKKHFDM.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-JPEXSNOX.js.map +0 -1
- package/dist/chunk-RGK3N3UN.js.map +0 -1
- package/dist/chunk-YDX6SDOB.js +0 -7
- package/dist/issue-triage-FQXZ2UCS.js +0 -17
- package/dist/setup-data-dir-QH76XJKH.js +0 -29
- /package/dist/{child-mcp-config-4DDBRYPA.js.map → child-mcp-config-MAEPMEMJ.js.map} +0 -0
- /package/dist/{chunk-JYOSSAYY.js.map → chunk-5WVP7C3Z.js.map} +0 -0
- /package/dist/{chunk-K3P5KQXZ.js.map → chunk-6JBCXRWI.js.map} +0 -0
- /package/dist/{chunk-JPIEVAVJ.js.map → chunk-74FMJTGV.js.map} +0 -0
- /package/dist/{chunk-ETEKZ4RK.js.map → chunk-7ANADXHH.js.map} +0 -0
- /package/dist/{chunk-DDCKXILN.js.map → chunk-B7DESALP.js.map} +0 -0
- /package/dist/{chunk-BSUATLSL.js.map → chunk-BA6LALHG.js.map} +0 -0
- /package/dist/{chunk-BIOAMDHR.js.map → chunk-CJQRCKR4.js.map} +0 -0
- /package/dist/{chunk-QNXB6PVL.js.map → chunk-FCJN757G.js.map} +0 -0
- /package/dist/{chunk-2PEHRCZ2.js.map → chunk-HKP47JNU.js.map} +0 -0
- /package/dist/{chunk-5OISEA34.js.map → chunk-JVQU5EDH.js.map} +0 -0
- /package/dist/{chunk-KQYXPAFQ.js.map → chunk-KUP3YM2J.js.map} +0 -0
- /package/dist/{chunk-62JZZXZA.js.map → chunk-L4BL4UHG.js.map} +0 -0
- /package/dist/{chunk-CL4TF6YT.js.map → chunk-LHDMQAYQ.js.map} +0 -0
- /package/dist/{chunk-3N3HTDAK.js.map → chunk-LJEUEU6B.js.map} +0 -0
- /package/dist/{chunk-RPXCZLC7.js.map → chunk-MPCVF44P.js.map} +0 -0
- /package/dist/{chunk-YYCQ5G3K.js.map → chunk-NDPUIPKN.js.map} +0 -0
- /package/dist/{chunk-LQOANCSX.js.map → chunk-OWPBJIWP.js.map} +0 -0
- /package/dist/{chunk-MGXRJZUQ.js.map → chunk-OYMLM23M.js.map} +0 -0
- /package/dist/{chunk-3NCBSBSA.js.map → chunk-QKAGRX22.js.map} +0 -0
- /package/dist/{chunk-RGLSWWTT.js.map → chunk-QPGSBGG5.js.map} +0 -0
- /package/dist/{chunk-5C5AJ3AK.js.map → chunk-SEQIGOAF.js.map} +0 -0
- /package/dist/{chunk-I7VQGYLE.js.map → chunk-TCKBYC7Z.js.map} +0 -0
- /package/dist/{chunk-XZHGPNSB.js.map → chunk-U443FR6F.js.map} +0 -0
- /package/dist/{chunk-GHD3CUV7.js.map → chunk-V36QXMIL.js.map} +0 -0
- /package/dist/{chunk-3B5746AG.js.map → chunk-VXXA5UN7.js.map} +0 -0
- /package/dist/{chunk-TOK5RX5Y.js.map → chunk-WP4ILUPM.js.map} +0 -0
- /package/dist/{chunk-YDX6SDOB.js.map → chunk-WTS6XM5S.js.map} +0 -0
- /package/dist/{chunk-OBCBF2AI.js.map → chunk-WZHWX3SA.js.map} +0 -0
- /package/dist/{chunk-XKHFPXIP.js.map → chunk-YAT2GTVH.js.map} +0 -0
- /package/dist/{chunk-6U2OC56L.js.map → chunk-ZQSBNRKS.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-EZYSMS5J.js.map → cli-circuit-breaker-XUP4B3CR.js.map} +0 -0
- /package/dist/{composite-router-4MX77KAO.js.map → composite-router-EY5NIZUY.js.map} +0 -0
- /package/dist/{consensus-vote-UXITDP2P.js.map → consensus-vote-TFCCNC67.js.map} +0 -0
- /package/dist/{context-retriever-XQXSR7X2.js.map → context-retriever-3UYUB2VS.js.map} +0 -0
- /package/dist/{doctor-deep-LTNNWX2R.js.map → doctor-deep-LFUNO5N5.js.map} +0 -0
- /package/dist/{doctor-live-S3EP4CDZ.js.map → doctor-live-PT63BVXI.js.map} +0 -0
- /package/dist/{expert-bridge-3EHBG44P.js.map → expert-bridge-CLYAPS4Q.js.map} +0 -0
- /package/dist/{factory-5EQYMH5L.js.map → factory-OBIKYM7M.js.map} +0 -0
- /package/dist/{factory-I7V3JB6F.js.map → factory-RKYK7SS3.js.map} +0 -0
- /package/dist/{improvement-review-KGPFAXTX.js.map → improvement-review-V4AQIMAI.js.map} +0 -0
- /package/dist/{init-opencode-CX5YQG7X.js.map → init-opencode-WXD57CGR.js.map} +0 -0
- /package/dist/{issue-triage-FQXZ2UCS.js.map → issue-triage-3BMIT32P.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-BVQYKJQC.js.map → pr-reviewer-helpers-GNQAEMFV.js.map} +0 -0
- /package/dist/{registry-command-AM4NCHY6.js.map → registry-command-ZSMUSV6O.js.map} +0 -0
- /package/dist/{repo-security-plan-4LB6D3NE.js.map → repo-security-plan-O6V4POGE.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-R3NHYY7G.js.map → research-helpers-synthesize-AKWLYM53.js.map} +0 -0
- /package/dist/{routing-memory-UFJLIHRW.js.map → routing-memory-6JURKD7X.js.map} +0 -0
- /package/dist/{session-memory-47LD45HS.js.map → session-memory-AOHQ7GFR.js.map} +0 -0
- /package/dist/{setup-config-CZ4ATPBX.js.map → setup-config-YBPHQKMF.js.map} +0 -0
- /package/dist/{setup-custom-api-7W5AHZVX.js.map → setup-custom-api-F24U4TMD.js.map} +0 -0
- /package/dist/{setup-data-dir-QH76XJKH.js.map → setup-data-dir-2D6SXQHE.js.map} +0 -0
- /package/dist/{tool-memory-FTLUCKZI.js.map → tool-memory-QNOIOXGA.js.map} +0 -0
- /package/dist/{unified-registry-GBD77P3U.js.map → unified-registry-YEKBJ4R4.js.map} +0 -0
- /package/dist/{weather-report-C6HWZL3B.js.map → weather-report-RTKKHFDM.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
parseFindings,
|
|
20
20
|
reviewPostingBlock,
|
|
21
21
|
sumFindings
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-HKP47JNU.js";
|
|
23
|
+
import "./chunk-B7DESALP.js";
|
|
24
24
|
import {
|
|
25
25
|
runConfigInitSync
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CJQRCKR4.js";
|
|
27
27
|
import {
|
|
28
28
|
AuthHandler,
|
|
29
29
|
CustomExpertDefinitionSchema,
|
|
@@ -153,8 +153,8 @@ import {
|
|
|
153
153
|
validateNexusEnv,
|
|
154
154
|
validateWorkflow,
|
|
155
155
|
wrapInMarkdownFence
|
|
156
|
-
} from "./chunk-
|
|
157
|
-
import "./chunk-
|
|
156
|
+
} from "./chunk-WP4ILUPM.js";
|
|
157
|
+
import "./chunk-KUP3YM2J.js";
|
|
158
158
|
import "./chunk-HFOQKCD2.js";
|
|
159
159
|
import "./chunk-RSMG2DPB.js";
|
|
160
160
|
import {
|
|
@@ -172,14 +172,14 @@ import {
|
|
|
172
172
|
doctorCommand,
|
|
173
173
|
initDataDirectories,
|
|
174
174
|
runDoctor
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-74FMJTGV.js";
|
|
176
176
|
import {
|
|
177
177
|
buildOpenAICompatAdapters,
|
|
178
178
|
readOpenAICompatEnv
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-QPGSBGG5.js";
|
|
180
180
|
import {
|
|
181
181
|
shutdownExpertBridge
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-V36QXMIL.js";
|
|
183
183
|
import {
|
|
184
184
|
ConsensusVoteInputSchema,
|
|
185
185
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
@@ -191,29 +191,29 @@ import {
|
|
|
191
191
|
recordAuthenticVote,
|
|
192
192
|
registerConsensusVoteTool,
|
|
193
193
|
toRecordDecision
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-AQOUQIIO.js";
|
|
195
195
|
import {
|
|
196
196
|
loadUsageEvents,
|
|
197
197
|
rollupByModel
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-TCKBYC7Z.js";
|
|
199
199
|
import {
|
|
200
200
|
allOf,
|
|
201
201
|
anyOf
|
|
202
202
|
} from "./chunk-OQB3XC5O.js";
|
|
203
203
|
import {
|
|
204
204
|
synthesizeResearch
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-ZQSBNRKS.js";
|
|
206
206
|
import {
|
|
207
207
|
classifyTrust,
|
|
208
208
|
createFullGitHubProvider,
|
|
209
209
|
evaluatePolicy,
|
|
210
210
|
parsePRUrl
|
|
211
|
-
} from "./chunk-
|
|
212
|
-
import "./chunk-
|
|
211
|
+
} from "./chunk-WZHWX3SA.js";
|
|
212
|
+
import "./chunk-BA6LALHG.js";
|
|
213
213
|
import {
|
|
214
214
|
ReputationCache,
|
|
215
215
|
sanitizeInput
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-FCJN757G.js";
|
|
217
217
|
import {
|
|
218
218
|
ImprovementReviewInputSchema,
|
|
219
219
|
calculateFitnessScore,
|
|
@@ -227,20 +227,20 @@ import {
|
|
|
227
227
|
registerImprovementReviewTool,
|
|
228
228
|
runImprovementReview,
|
|
229
229
|
scanForSecrets
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-SEQIGOAF.js";
|
|
231
231
|
import {
|
|
232
232
|
createDefaultPolicyFirewall,
|
|
233
233
|
setGlobalPolicyFirewall,
|
|
234
234
|
stagePolicyFirewallForRollout
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-5WVP7C3Z.js";
|
|
236
236
|
import {
|
|
237
237
|
VERSION
|
|
238
|
-
} from "./chunk-
|
|
239
|
-
import "./chunk-
|
|
238
|
+
} from "./chunk-WTS6XM5S.js";
|
|
239
|
+
import "./chunk-OYMLM23M.js";
|
|
240
240
|
import {
|
|
241
241
|
createUnifiedRegistry,
|
|
242
242
|
getGlobalRegistry
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-U443FR6F.js";
|
|
244
244
|
import {
|
|
245
245
|
CodebaseIndexSchema,
|
|
246
246
|
PaperStatusSchema,
|
|
@@ -266,24 +266,24 @@ import {
|
|
|
266
266
|
loadSourcesRegistry,
|
|
267
267
|
rankDiscoveredItems,
|
|
268
268
|
saveSourcesRegistry
|
|
269
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-JVQU5EDH.js";
|
|
270
270
|
import {
|
|
271
271
|
loadPapersRegistry,
|
|
272
272
|
loadTechniquesRegistry,
|
|
273
273
|
savePapersRegistry
|
|
274
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-6JBCXRWI.js";
|
|
275
275
|
import {
|
|
276
276
|
resolveToken
|
|
277
|
-
} from "./chunk-
|
|
277
|
+
} from "./chunk-LJEUEU6B.js";
|
|
278
278
|
import {
|
|
279
279
|
MemoryError,
|
|
280
280
|
shutdownToolMemory
|
|
281
|
-
} from "./chunk-
|
|
281
|
+
} from "./chunk-YAT2GTVH.js";
|
|
282
282
|
import {
|
|
283
283
|
capitalize,
|
|
284
284
|
capitalizeKebab
|
|
285
285
|
} from "./chunk-6T3EPABN.js";
|
|
286
|
-
import "./chunk-
|
|
286
|
+
import "./chunk-7ANADXHH.js";
|
|
287
287
|
import {
|
|
288
288
|
BUILT_IN_EXPERTS
|
|
289
289
|
} from "./chunk-YPNQPT2F.js";
|
|
@@ -296,19 +296,19 @@ import {
|
|
|
296
296
|
isRecord,
|
|
297
297
|
probeAllClis,
|
|
298
298
|
readSubprocessDepth
|
|
299
|
-
} from "./chunk-
|
|
300
|
-
import "./chunk-
|
|
299
|
+
} from "./chunk-SJH3ZEKK.js";
|
|
300
|
+
import "./chunk-QKAGRX22.js";
|
|
301
301
|
import {
|
|
302
302
|
DEFAULTS
|
|
303
|
-
} from "./chunk-
|
|
304
|
-
import "./chunk-
|
|
303
|
+
} from "./chunk-NDPUIPKN.js";
|
|
304
|
+
import "./chunk-VXXA5UN7.js";
|
|
305
305
|
import {
|
|
306
306
|
nexusMkdtempSync
|
|
307
307
|
} from "./chunk-4OW67KT2.js";
|
|
308
|
-
import "./chunk-
|
|
308
|
+
import "./chunk-LHDMQAYQ.js";
|
|
309
309
|
import "./chunk-QZUG667L.js";
|
|
310
|
-
import "./chunk-
|
|
311
|
-
import "./chunk-
|
|
310
|
+
import "./chunk-L4BL4UHG.js";
|
|
311
|
+
import "./chunk-OWPBJIWP.js";
|
|
312
312
|
import {
|
|
313
313
|
API_TIMEOUTS,
|
|
314
314
|
AgentCapability,
|
|
@@ -385,7 +385,7 @@ import {
|
|
|
385
385
|
validateTimeout,
|
|
386
386
|
writeEmptyLine,
|
|
387
387
|
writeLine
|
|
388
|
-
} from "./chunk-
|
|
388
|
+
} from "./chunk-P7URBNEC.js";
|
|
389
389
|
import "./chunk-GBHJ37V3.js";
|
|
390
390
|
import {
|
|
391
391
|
applyPortableMode,
|
|
@@ -4438,7 +4438,7 @@ ${file.patch}
|
|
|
4438
4438
|
violations: policyResult.violations
|
|
4439
4439
|
});
|
|
4440
4440
|
}
|
|
4441
|
-
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-
|
|
4441
|
+
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-GNQAEMFV.js");
|
|
4442
4442
|
const body = formatReviewComment2(result);
|
|
4443
4443
|
const postResult = await provider.createReview(pr.prNumber, body, result.decision);
|
|
4444
4444
|
if (!postResult.ok) {
|
|
@@ -19579,7 +19579,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19579
19579
|
let running = false;
|
|
19580
19580
|
const runOnce = async () => {
|
|
19581
19581
|
try {
|
|
19582
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19582
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-V4AQIMAI.js");
|
|
19583
19583
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19584
19584
|
const result = await runImprovementReview2(input, { logger: logger22 });
|
|
19585
19585
|
logger22.info("Scheduled improvement_review complete", {
|
|
@@ -21664,7 +21664,7 @@ function adaptConfigToLibrary(config) {
|
|
|
21664
21664
|
}
|
|
21665
21665
|
function createBeliefPromoter() {
|
|
21666
21666
|
return async (event) => {
|
|
21667
|
-
const { getToolMemory } = await import("./tool-memory-
|
|
21667
|
+
const { getToolMemory } = await import("./tool-memory-QNOIOXGA.js");
|
|
21668
21668
|
const tm = getToolMemory();
|
|
21669
21669
|
await tm.recordBelief(
|
|
21670
21670
|
`skill:${event.name}`,
|
|
@@ -22885,7 +22885,7 @@ async function handleResearchCommand(args) {
|
|
|
22885
22885
|
}
|
|
22886
22886
|
}
|
|
22887
22887
|
async function handleRegistryCommand(args) {
|
|
22888
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
22888
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-ZSMUSV6O.js");
|
|
22889
22889
|
const subcommand = args.subcommand;
|
|
22890
22890
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
22891
22891
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -22933,12 +22933,12 @@ async function handleVerifyCommand(args) {
|
|
|
22933
22933
|
async function handleDoctorCommand(args) {
|
|
22934
22934
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
22935
22935
|
if (args.options.deep) {
|
|
22936
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
22936
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-LFUNO5N5.js");
|
|
22937
22937
|
const diag = runDeepDiagnostics2();
|
|
22938
22938
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
22939
22939
|
}
|
|
22940
22940
|
if (args.options.live) {
|
|
22941
|
-
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-
|
|
22941
|
+
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-PT63BVXI.js");
|
|
22942
22942
|
const report = await runLiveReadiness();
|
|
22943
22943
|
process.stdout.write(formatLiveReadiness(report) + "\n");
|
|
22944
22944
|
if (report.some((r) => r.levels.serves.status === "failed")) {
|
|
@@ -22991,7 +22991,7 @@ async function runInitPortableFlow(args) {
|
|
|
22991
22991
|
return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
22992
22992
|
}
|
|
22993
22993
|
async function runInitOpencodeFlow(args) {
|
|
22994
|
-
const { runInitOpencode } = await import("./init-opencode-
|
|
22994
|
+
const { runInitOpencode } = await import("./init-opencode-WXD57CGR.js");
|
|
22995
22995
|
const opencodePath = args.options.opencode;
|
|
22996
22996
|
if (opencodePath === void 0 || opencodePath === "") {
|
|
22997
22997
|
process.stderr.write("Error: --opencode requires a path argument.\n");
|
|
@@ -23017,7 +23017,7 @@ async function runInitOpencodeFlow(args) {
|
|
|
23017
23017
|
return cliExit(EXIT_CODES.SUCCESS);
|
|
23018
23018
|
}
|
|
23019
23019
|
async function renderOpencodeValidate(opencodePath) {
|
|
23020
|
-
const { runOpencodeValidate } = await import("./init-opencode-
|
|
23020
|
+
const { runOpencodeValidate } = await import("./init-opencode-WXD57CGR.js");
|
|
23021
23021
|
const result = await runOpencodeValidate(opencodePath);
|
|
23022
23022
|
if (!result.ok) {
|
|
23023
23023
|
process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
|
|
@@ -23056,7 +23056,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
23056
23056
|
return cliExitFromStatus(exitCode);
|
|
23057
23057
|
}
|
|
23058
23058
|
async function runCustomApiSetup(args) {
|
|
23059
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
23059
|
+
const { configureCustomApi } = await import("./setup-custom-api-F24U4TMD.js");
|
|
23060
23060
|
const baseUrl = args.options.customApi;
|
|
23061
23061
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
23062
23062
|
const input = {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
CompositeRoutingError,
|
|
5
5
|
DEFAULT_COMPOSITE_CONFIG,
|
|
6
6
|
createCompositeRouter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-P7URBNEC.js";
|
|
8
8
|
import "./chunk-GBHJ37V3.js";
|
|
9
9
|
import "./chunk-OGHEKPLD.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-EY5NIZUY.js.map
|
|
@@ -11,28 +11,28 @@ import {
|
|
|
11
11
|
resetCorrelationTracker,
|
|
12
12
|
runConsensusForGoal,
|
|
13
13
|
unwrapVoteOrThrow
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-AQOUQIIO.js";
|
|
15
|
+
import "./chunk-TCKBYC7Z.js";
|
|
16
16
|
import "./chunk-OQB3XC5O.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-5WVP7C3Z.js";
|
|
18
|
+
import "./chunk-WTS6XM5S.js";
|
|
19
|
+
import "./chunk-OYMLM23M.js";
|
|
20
|
+
import "./chunk-U443FR6F.js";
|
|
21
|
+
import "./chunk-YAT2GTVH.js";
|
|
22
22
|
import "./chunk-6T3EPABN.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-7ANADXHH.js";
|
|
24
24
|
import "./chunk-JEAKVUWM.js";
|
|
25
25
|
import "./chunk-KSQSWEFH.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-SJH3ZEKK.js";
|
|
27
|
+
import "./chunk-QKAGRX22.js";
|
|
28
|
+
import "./chunk-NDPUIPKN.js";
|
|
29
|
+
import "./chunk-VXXA5UN7.js";
|
|
30
30
|
import "./chunk-4OW67KT2.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-LHDMQAYQ.js";
|
|
32
32
|
import "./chunk-QZUG667L.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-L4BL4UHG.js";
|
|
34
|
+
import "./chunk-OWPBJIWP.js";
|
|
35
|
+
import "./chunk-P7URBNEC.js";
|
|
36
36
|
import "./chunk-GBHJ37V3.js";
|
|
37
37
|
import "./chunk-OGHEKPLD.js";
|
|
38
38
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -50,4 +50,4 @@ export {
|
|
|
50
50
|
runConsensusForGoal,
|
|
51
51
|
unwrapVoteOrThrow
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=consensus-vote-
|
|
53
|
+
//# sourceMappingURL=consensus-vote-TFCCNC67.js.map
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
inferTaskCategory,
|
|
7
7
|
selectRelevantResearch,
|
|
8
8
|
summarizeContextForPrompt
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-JVQU5EDH.js";
|
|
10
|
+
import "./chunk-6JBCXRWI.js";
|
|
11
|
+
import "./chunk-LJEUEU6B.js";
|
|
12
|
+
import "./chunk-YAT2GTVH.js";
|
|
13
13
|
import "./chunk-6T3EPABN.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-7ANADXHH.js";
|
|
15
15
|
import "./chunk-JEAKVUWM.js";
|
|
16
16
|
import "./chunk-KSQSWEFH.js";
|
|
17
17
|
import "./chunk-QZUG667L.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-L4BL4UHG.js";
|
|
19
|
+
import "./chunk-P7URBNEC.js";
|
|
20
20
|
import "./chunk-GBHJ37V3.js";
|
|
21
21
|
import "./chunk-OGHEKPLD.js";
|
|
22
22
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
selectRelevantResearch,
|
|
30
30
|
summarizeContextForPrompt
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=context-retriever-
|
|
32
|
+
//# sourceMappingURL=context-retriever-3UYUB2VS.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatDeepDiagnostics,
|
|
3
3
|
runDeepDiagnostics
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-B7DESALP.js";
|
|
5
|
+
import "./chunk-P7URBNEC.js";
|
|
6
6
|
import "./chunk-GBHJ37V3.js";
|
|
7
7
|
import "./chunk-OGHEKPLD.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-LFUNO5N5.js.map
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createAllAdapters,
|
|
6
6
|
probeAllClis
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-SJH3ZEKK.js";
|
|
8
|
+
import "./chunk-QKAGRX22.js";
|
|
9
|
+
import "./chunk-NDPUIPKN.js";
|
|
10
|
+
import "./chunk-VXXA5UN7.js";
|
|
11
11
|
import "./chunk-4OW67KT2.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-LHDMQAYQ.js";
|
|
13
13
|
import "./chunk-QZUG667L.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-L4BL4UHG.js";
|
|
15
|
+
import "./chunk-OWPBJIWP.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveClassGuardMs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-P7URBNEC.js";
|
|
19
19
|
import "./chunk-GBHJ37V3.js";
|
|
20
20
|
import "./chunk-OGHEKPLD.js";
|
|
21
21
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -157,4 +157,4 @@ export {
|
|
|
157
157
|
formatLiveReadiness,
|
|
158
158
|
runLiveReadiness
|
|
159
159
|
};
|
|
160
|
-
//# sourceMappingURL=doctor-live-
|
|
160
|
+
//# sourceMappingURL=doctor-live-PT63BVXI.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-V36QXMIL.js";
|
|
7
|
+
import "./chunk-LHDMQAYQ.js";
|
|
8
|
+
import "./chunk-P7URBNEC.js";
|
|
9
9
|
import "./chunk-GBHJ37V3.js";
|
|
10
10
|
import "./chunk-OGHEKPLD.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-CLYAPS4Q.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-MPCVF44P.js";
|
|
5
|
+
import "./chunk-BA6LALHG.js";
|
|
6
|
+
import "./chunk-LJEUEU6B.js";
|
|
7
|
+
import "./chunk-P7URBNEC.js";
|
|
8
8
|
import "./chunk-GBHJ37V3.js";
|
|
9
9
|
import "./chunk-OGHEKPLD.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-OBIKYM7M.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-SJH3ZEKK.js";
|
|
7
|
+
import "./chunk-QKAGRX22.js";
|
|
8
|
+
import "./chunk-NDPUIPKN.js";
|
|
9
|
+
import "./chunk-VXXA5UN7.js";
|
|
10
10
|
import "./chunk-4OW67KT2.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-LHDMQAYQ.js";
|
|
12
12
|
import "./chunk-QZUG667L.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-L4BL4UHG.js";
|
|
14
|
+
import "./chunk-OWPBJIWP.js";
|
|
15
|
+
import "./chunk-P7URBNEC.js";
|
|
16
16
|
import "./chunk-GBHJ37V3.js";
|
|
17
17
|
import "./chunk-OGHEKPLD.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-RKYK7SS3.js.map
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
loadSelfEvalSignals,
|
|
12
12
|
registerImprovementReviewTool,
|
|
13
13
|
runImprovementReview
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-SEQIGOAF.js";
|
|
15
|
+
import "./chunk-5WVP7C3Z.js";
|
|
16
|
+
import "./chunk-WTS6XM5S.js";
|
|
17
|
+
import "./chunk-OYMLM23M.js";
|
|
18
|
+
import "./chunk-P7URBNEC.js";
|
|
19
19
|
import "./chunk-GBHJ37V3.js";
|
|
20
20
|
import "./chunk-OGHEKPLD.js";
|
|
21
21
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
registerImprovementReviewTool,
|
|
34
34
|
runImprovementReview
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=improvement-review-
|
|
36
|
+
//# sourceMappingURL=improvement-review-V4AQIMAI.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1381,6 +1381,23 @@ interface ICliResponseParser<T = unknown> {
|
|
|
1381
1381
|
* @returns Response text or null
|
|
1382
1382
|
*/
|
|
1383
1383
|
extractResponse(raw: string): string | null;
|
|
1384
|
+
/**
|
|
1385
|
+
* Extracts a cost the CLI itself reported, in USD.
|
|
1386
|
+
*
|
|
1387
|
+
* OPTIONAL, and the optionality carries meaning (#5241). An ABSENT method
|
|
1388
|
+
* says "this vendor does not report cost" — true of codex, gemini, opencode
|
|
1389
|
+
* and agy. A PRESENT method returning `null` says "this vendor reports cost,
|
|
1390
|
+
* and this response carried none". Collapsing those two into a missing number
|
|
1391
|
+
* is what left `CliResponse.costUsd` with no producer while a consumer
|
|
1392
|
+
* (`budget-router`) fell back to an estimate under a field named `actual`.
|
|
1393
|
+
*
|
|
1394
|
+
* The value is a MEASUREMENT from the vendor, not a rate-derived figure, so
|
|
1395
|
+
* it does not pass through the token→USD pricing chain.
|
|
1396
|
+
*
|
|
1397
|
+
* @param raw - Raw CLI output
|
|
1398
|
+
* @returns Vendor-reported cost in USD, or null if this response carried none
|
|
1399
|
+
*/
|
|
1400
|
+
extractCostUsd?(raw: string): number | null;
|
|
1384
1401
|
/**
|
|
1385
1402
|
* Extracts an error-only message from a failure stream — when the CLI
|
|
1386
1403
|
* surfaced an error event but no usable assistant content (so
|
|
@@ -27813,7 +27830,7 @@ declare abstract class SubprocessCliAdapter extends BaseCliAdapter {
|
|
|
27813
27830
|
/**
|
|
27814
27831
|
* Handles successful subprocess output.
|
|
27815
27832
|
*/
|
|
27816
|
-
|
|
27833
|
+
protected handleSubprocessOutput(stdout: string, stderr: string, startTime: number): Result<CliResponse, CliError>;
|
|
27817
27834
|
/**
|
|
27818
27835
|
* Classify an error-only stream — one where the parser surfaced an
|
|
27819
27836
|
* `errorMessage` but no usable content (so `extractResponse` returned null).
|
|
@@ -28257,6 +28274,18 @@ declare class ClaudeResponseParser implements ICliResponseParser<ClaudeCliRespon
|
|
|
28257
28274
|
* Extracts token usage from response.
|
|
28258
28275
|
*/
|
|
28259
28276
|
extractUsage(raw: string): TokenUsage$1 | null;
|
|
28277
|
+
/**
|
|
28278
|
+
* Extracts the cost the Claude CLI reported for this call.
|
|
28279
|
+
*
|
|
28280
|
+
* Prefers `total_cost_usd` — the vendor's own total — over summing
|
|
28281
|
+
* `modelUsage[*].costUSD`, because a per-model breakdown can omit a component
|
|
28282
|
+
* the total includes. Both are declared on {@link ClaudeCliResponse} and
|
|
28283
|
+
* neither reached `CliResponse` before #5241.
|
|
28284
|
+
*
|
|
28285
|
+
* Rejects a negative or non-finite figure: a cost is a measurement, and
|
|
28286
|
+
* letting a corrupt one through would debit the budget router with garbage.
|
|
28287
|
+
*/
|
|
28288
|
+
extractCostUsd(raw: string): number | null;
|
|
28260
28289
|
/**
|
|
28261
28290
|
* Extracts session ID for resumption.
|
|
28262
28291
|
*/
|