nexus-agents 8.44.2 → 8.44.3
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/{ast-rule-runner-WVDAA42T.js → ast-rule-runner-EBTFBTKZ.js} +3 -3
- package/dist/{child-mcp-config-7QA75U75.js → child-mcp-config-A3YWHFOY.js} +2 -4
- package/dist/child-mcp-config-A3YWHFOY.js.map +1 -0
- package/dist/{chunk-4XSUIYEJ.js → chunk-26E2ECC5.js} +4 -4
- package/dist/{chunk-K5AOFWUZ.js → chunk-2QZVFXR7.js} +2 -2
- package/dist/{chunk-VMUMZQRK.js → chunk-336MFOVV.js} +2 -2
- package/dist/{chunk-GNXA7QYJ.js → chunk-4XESQ3X6.js} +2 -2
- package/dist/{chunk-WTJARWUI.js → chunk-5OHQT3IJ.js} +2 -2
- package/dist/{chunk-ZYBVRWCQ.js → chunk-5XEPU5ZV.js} +5 -5
- package/dist/{chunk-Y5SMWBMT.js → chunk-6GAUJAMO.js} +2 -2
- package/dist/{chunk-II5QSTMF.js → chunk-7CPTOL6L.js} +38 -40
- package/dist/{chunk-II5QSTMF.js.map → chunk-7CPTOL6L.js.map} +1 -1
- package/dist/{chunk-L4M72UC3.js → chunk-ACDZL6ZM.js} +9 -10
- package/dist/chunk-ACDZL6ZM.js.map +1 -0
- package/dist/{chunk-CFD2JBFF.js → chunk-AOQDLJHG.js} +2 -2
- package/dist/{chunk-N5TB4D4Y.js → chunk-BBH3SKC3.js} +6 -6
- package/dist/{chunk-TCAOGMSJ.js → chunk-BPS4XQR2.js} +3 -3
- package/dist/{chunk-SSZ3UI5I.js → chunk-F5O7U6W5.js} +2 -2
- package/dist/{chunk-E7GG4QM4.js → chunk-GFXWGCWS.js} +2 -2
- package/dist/{chunk-Q4YQUVFY.js → chunk-HD6E32PW.js} +8 -9
- package/dist/chunk-HD6E32PW.js.map +1 -0
- package/dist/{chunk-WINAQRIP.js → chunk-HFZMMDZJ.js} +4 -4
- package/dist/{chunk-7LC7IAC6.js → chunk-JH4L3SH4.js} +2 -2
- package/dist/{chunk-W4FTZ6NQ.js → chunk-KM4MVL7X.js} +9 -9
- package/dist/{chunk-YO44KBCM.js → chunk-KO3KUF5M.js} +2 -2
- package/dist/{chunk-HT2X7CTV.js → chunk-NNL4EPHA.js} +2 -2
- package/dist/{chunk-OJQGBWSN.js → chunk-O5TIFR2H.js} +7 -7
- package/dist/{chunk-G6BYL67S.js → chunk-OZXILWVN.js} +5 -5
- package/dist/{chunk-LQQVESK4.js → chunk-PWLSN7FQ.js} +2 -2
- package/dist/{chunk-ZAQ7TGE5.js → chunk-QN5ME2N2.js} +2 -2
- package/dist/{chunk-OWFSWV2B.js → chunk-RNFQP4HB.js} +2 -2
- package/dist/{chunk-WG57CLZX.js → chunk-RZF4GUMI.js} +3 -3
- package/dist/{chunk-WG57CLZX.js.map → chunk-RZF4GUMI.js.map} +1 -1
- package/dist/{chunk-76RVBWFJ.js → chunk-TIUE5KC4.js} +2 -2
- package/dist/{chunk-KWBL4YBO.js → chunk-UIVQ2B7J.js} +3 -3
- package/dist/{chunk-2XVGARRY.js → chunk-WD6CZRSW.js} +4 -4
- package/dist/{chunk-UVWWUCTU.js → chunk-WIJZ57H3.js} +2 -2
- package/dist/{chunk-NAQZUL6T.js → chunk-WRGVTEKL.js} +4 -4
- package/dist/{chunk-4R7UX4LH.js → chunk-XJZF7HTC.js} +2 -2
- package/dist/{chunk-RTXOSQQ5.js → chunk-YIKC3GNF.js} +2 -2
- package/dist/{chunk-S4RQTNOJ.js → chunk-ZYJT5CMY.js} +3 -3
- package/dist/{cli-circuit-breaker-YNMILNBW.js → cli-circuit-breaker-DNKQCKSD.js} +3 -3
- package/dist/cli.js +44 -45
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-IMTJSNSW.js → composite-router-CKTUXIDB.js} +2 -2
- package/dist/{consensus-vote-M4LH7MXD.js → consensus-vote-BIGG6IYH.js} +17 -17
- package/dist/{context-retriever-TJD4G7VT.js → context-retriever-I4VJWGPK.js} +8 -8
- package/dist/{doctor-deep-A6KISK57.js → doctor-deep-JOFIWKO5.js} +3 -3
- package/dist/{doctor-live-PRGQCROP.js → doctor-live-LBTEIOOH.js} +9 -9
- package/dist/{expert-bridge-6C6RR6WF.js → expert-bridge-6KCCGNC3.js} +4 -4
- package/dist/{factory-YJQI6VWJ.js → factory-HJPJTSHY.js} +5 -5
- package/dist/{factory-YLPR5WLO.js → factory-YIFRH73W.js} +9 -9
- package/dist/{improvement-review-E6GLPXUP.js → improvement-review-5VMK5YJK.js} +6 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +31 -31
- package/dist/{init-opencode-KPMC65FE.js → init-opencode-2MM576TQ.js} +6 -6
- package/dist/issue-triage-D43CVBDL.js +17 -0
- package/dist/models-dev-snapshot.json +171 -27
- package/dist/{pr-reviewer-helpers-HOIPAC4C.js → pr-reviewer-helpers-G5MW4CBB.js} +4 -4
- package/dist/{registry-command-QTVLH3SG.js → registry-command-E4FZ56OB.js} +2 -2
- package/dist/{repo-security-plan-VSFW6JNC.js → repo-security-plan-3FGTIZY4.js} +3 -3
- package/dist/{research-helpers-synthesize-FEL4P5AM.js → research-helpers-synthesize-LRYFH55A.js} +4 -4
- package/dist/{routing-memory-3QEB367H.js → routing-memory-CRDEOBRO.js} +2 -2
- package/dist/{session-memory-MXNCBWWR.js → session-memory-XPBKOHCX.js} +3 -3
- package/dist/{setup-config-3EJ37UHP.js → setup-config-7G2UV4FN.js} +3 -3
- package/dist/{setup-custom-api-KZL36DTQ.js → setup-custom-api-GWZIDL3X.js} +4 -4
- package/dist/setup-data-dir-FWBXXCHF.js +29 -0
- package/dist/{tool-memory-K5XBNYLH.js → tool-memory-EUBYXYAI.js} +5 -5
- package/dist/{unified-registry-5Y5JXIT2.js → unified-registry-H6DRGQ37.js} +10 -10
- package/dist/{weather-report-K5JQJERB.js → weather-report-Q4EJXE5F.js} +2 -2
- package/package.json +1 -1
- package/dist/child-mcp-config-7QA75U75.js.map +0 -1
- package/dist/chunk-L4M72UC3.js.map +0 -1
- package/dist/chunk-Q4YQUVFY.js.map +0 -1
- package/dist/issue-triage-PV46T7GR.js +0 -17
- package/dist/setup-data-dir-EKNO344K.js +0 -29
- /package/dist/{ast-rule-runner-WVDAA42T.js.map → ast-rule-runner-EBTFBTKZ.js.map} +0 -0
- /package/dist/{chunk-4XSUIYEJ.js.map → chunk-26E2ECC5.js.map} +0 -0
- /package/dist/{chunk-K5AOFWUZ.js.map → chunk-2QZVFXR7.js.map} +0 -0
- /package/dist/{chunk-VMUMZQRK.js.map → chunk-336MFOVV.js.map} +0 -0
- /package/dist/{chunk-GNXA7QYJ.js.map → chunk-4XESQ3X6.js.map} +0 -0
- /package/dist/{chunk-WTJARWUI.js.map → chunk-5OHQT3IJ.js.map} +0 -0
- /package/dist/{chunk-ZYBVRWCQ.js.map → chunk-5XEPU5ZV.js.map} +0 -0
- /package/dist/{chunk-Y5SMWBMT.js.map → chunk-6GAUJAMO.js.map} +0 -0
- /package/dist/{chunk-CFD2JBFF.js.map → chunk-AOQDLJHG.js.map} +0 -0
- /package/dist/{chunk-N5TB4D4Y.js.map → chunk-BBH3SKC3.js.map} +0 -0
- /package/dist/{chunk-TCAOGMSJ.js.map → chunk-BPS4XQR2.js.map} +0 -0
- /package/dist/{chunk-SSZ3UI5I.js.map → chunk-F5O7U6W5.js.map} +0 -0
- /package/dist/{chunk-E7GG4QM4.js.map → chunk-GFXWGCWS.js.map} +0 -0
- /package/dist/{chunk-WINAQRIP.js.map → chunk-HFZMMDZJ.js.map} +0 -0
- /package/dist/{chunk-7LC7IAC6.js.map → chunk-JH4L3SH4.js.map} +0 -0
- /package/dist/{chunk-W4FTZ6NQ.js.map → chunk-KM4MVL7X.js.map} +0 -0
- /package/dist/{chunk-YO44KBCM.js.map → chunk-KO3KUF5M.js.map} +0 -0
- /package/dist/{chunk-HT2X7CTV.js.map → chunk-NNL4EPHA.js.map} +0 -0
- /package/dist/{chunk-OJQGBWSN.js.map → chunk-O5TIFR2H.js.map} +0 -0
- /package/dist/{chunk-G6BYL67S.js.map → chunk-OZXILWVN.js.map} +0 -0
- /package/dist/{chunk-LQQVESK4.js.map → chunk-PWLSN7FQ.js.map} +0 -0
- /package/dist/{chunk-ZAQ7TGE5.js.map → chunk-QN5ME2N2.js.map} +0 -0
- /package/dist/{chunk-OWFSWV2B.js.map → chunk-RNFQP4HB.js.map} +0 -0
- /package/dist/{chunk-76RVBWFJ.js.map → chunk-TIUE5KC4.js.map} +0 -0
- /package/dist/{chunk-KWBL4YBO.js.map → chunk-UIVQ2B7J.js.map} +0 -0
- /package/dist/{chunk-2XVGARRY.js.map → chunk-WD6CZRSW.js.map} +0 -0
- /package/dist/{chunk-UVWWUCTU.js.map → chunk-WIJZ57H3.js.map} +0 -0
- /package/dist/{chunk-NAQZUL6T.js.map → chunk-WRGVTEKL.js.map} +0 -0
- /package/dist/{chunk-4R7UX4LH.js.map → chunk-XJZF7HTC.js.map} +0 -0
- /package/dist/{chunk-RTXOSQQ5.js.map → chunk-YIKC3GNF.js.map} +0 -0
- /package/dist/{chunk-S4RQTNOJ.js.map → chunk-ZYJT5CMY.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-YNMILNBW.js.map → cli-circuit-breaker-DNKQCKSD.js.map} +0 -0
- /package/dist/{composite-router-IMTJSNSW.js.map → composite-router-CKTUXIDB.js.map} +0 -0
- /package/dist/{consensus-vote-M4LH7MXD.js.map → consensus-vote-BIGG6IYH.js.map} +0 -0
- /package/dist/{context-retriever-TJD4G7VT.js.map → context-retriever-I4VJWGPK.js.map} +0 -0
- /package/dist/{doctor-deep-A6KISK57.js.map → doctor-deep-JOFIWKO5.js.map} +0 -0
- /package/dist/{doctor-live-PRGQCROP.js.map → doctor-live-LBTEIOOH.js.map} +0 -0
- /package/dist/{expert-bridge-6C6RR6WF.js.map → expert-bridge-6KCCGNC3.js.map} +0 -0
- /package/dist/{factory-YJQI6VWJ.js.map → factory-HJPJTSHY.js.map} +0 -0
- /package/dist/{factory-YLPR5WLO.js.map → factory-YIFRH73W.js.map} +0 -0
- /package/dist/{improvement-review-E6GLPXUP.js.map → improvement-review-5VMK5YJK.js.map} +0 -0
- /package/dist/{init-opencode-KPMC65FE.js.map → init-opencode-2MM576TQ.js.map} +0 -0
- /package/dist/{issue-triage-PV46T7GR.js.map → issue-triage-D43CVBDL.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-HOIPAC4C.js.map → pr-reviewer-helpers-G5MW4CBB.js.map} +0 -0
- /package/dist/{registry-command-QTVLH3SG.js.map → registry-command-E4FZ56OB.js.map} +0 -0
- /package/dist/{repo-security-plan-VSFW6JNC.js.map → repo-security-plan-3FGTIZY4.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-FEL4P5AM.js.map → research-helpers-synthesize-LRYFH55A.js.map} +0 -0
- /package/dist/{routing-memory-3QEB367H.js.map → routing-memory-CRDEOBRO.js.map} +0 -0
- /package/dist/{session-memory-MXNCBWWR.js.map → session-memory-XPBKOHCX.js.map} +0 -0
- /package/dist/{setup-config-3EJ37UHP.js.map → setup-config-7G2UV4FN.js.map} +0 -0
- /package/dist/{setup-custom-api-KZL36DTQ.js.map → setup-custom-api-GWZIDL3X.js.map} +0 -0
- /package/dist/{setup-data-dir-EKNO344K.js.map → setup-data-dir-FWBXXCHF.js.map} +0 -0
- /package/dist/{tool-memory-K5XBNYLH.js.map → tool-memory-EUBYXYAI.js.map} +0 -0
- /package/dist/{unified-registry-5Y5JXIT2.js.map → unified-registry-H6DRGQ37.js.map} +0 -0
- /package/dist/{weather-report-K5JQJERB.js.map → weather-report-Q4EJXE5F.js.map} +0 -0
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
getBuiltInAstRulesPath,
|
|
10
10
|
loadRules,
|
|
11
11
|
runAstQaRules
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-NNL4EPHA.js";
|
|
13
|
+
import "./chunk-RZF4GUMI.js";
|
|
14
14
|
import "./chunk-3HELETAQ.js";
|
|
15
15
|
import "./chunk-JVNJJ2VL.js";
|
|
16
16
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
loadRules,
|
|
27
27
|
runAstQaRules
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
29
|
+
//# sourceMappingURL=ast-rule-runner-EBTFBTKZ.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-T5GVEXSA.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RZF4GUMI.js";
|
|
7
7
|
import "./chunk-3HELETAQ.js";
|
|
8
8
|
import "./chunk-JVNJJ2VL.js";
|
|
9
9
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -27,7 +27,6 @@ function resolveCliPath(override) {
|
|
|
27
27
|
}
|
|
28
28
|
function buildConfig(options) {
|
|
29
29
|
const cliPath = resolveCliPath(options?.cliPath);
|
|
30
|
-
const tools = options?.allowedTools ?? DEFAULT_ALLOWED_TOOLS;
|
|
31
30
|
const entry = {
|
|
32
31
|
command: "node",
|
|
33
32
|
args: [cliPath, "--mode=server"],
|
|
@@ -38,7 +37,6 @@ function buildConfig(options) {
|
|
|
38
37
|
"nexus-agents": entry
|
|
39
38
|
}
|
|
40
39
|
};
|
|
41
|
-
void tools;
|
|
42
40
|
}
|
|
43
41
|
async function generateMcpConfig(options) {
|
|
44
42
|
const config = buildConfig(options);
|
|
@@ -62,4 +60,4 @@ export {
|
|
|
62
60
|
generateMcpConfig,
|
|
63
61
|
getDefaultAllowedTools
|
|
64
62
|
};
|
|
65
|
-
//# sourceMappingURL=child-mcp-config-
|
|
63
|
+
//# sourceMappingURL=child-mcp-config-A3YWHFOY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/cli-adapters/child-mcp-config.ts"],"sourcesContent":["/**\n * nexus-agents/cli-adapters - Child CLI MCP Config Generator\n *\n * Generates MCP server configuration for child Claude CLI sessions so\n * spawned agents can call back into nexus-agents' MCP tools (memory,\n * research, etc.). Used by `pipeline/expert-bridge.ts` to give expert\n * agents tool access. Originally lived under `swe-bench/` (#1413);\n * relocated here in #2515 — the helper is generic CLI-spawn\n * infrastructure, not benchmark-specific.\n *\n * @module cli-adapters/child-mcp-config\n */\n\nimport { writeFile, rm } from 'node:fs/promises';\nimport { nexusMkdtemp } from '../config/nexus-tmp-dir.js';\nimport { join } from 'node:path';\nimport { createLogger } from '../core/index.js';\n\nconst logger = createLogger({ component: 'swe-bench-mcp-config' });\n\n/**\n * MCP server entry in Claude CLI config format.\n */\ninterface McpServerEntry {\n readonly command: string;\n readonly args: readonly string[];\n readonly env?: Readonly<Record<string, string>>;\n}\n\n/**\n * MCP config file format for Claude CLI (--mcp-config).\n */\ninterface McpConfigFile {\n readonly mcpServers: Readonly<Record<string, McpServerEntry>>;\n}\n\n/**\n * Options for generating MCP config.\n */\nexport interface McpConfigOptions {\n /** Path to nexus-agents CLI entry point. */\n readonly cliPath?: string;\n /** Additional environment variables for the MCP server. */\n readonly env?: Readonly<Record<string, string>>;\n /** Custom allowed tools (default: read-only subset). */\n readonly allowedTools?: readonly string[];\n}\n\n/** Default read-only tools available to SWE-bench child sessions. */\nconst DEFAULT_ALLOWED_TOOLS: readonly string[] = [\n 'memory_query',\n 'memory_stats',\n 'research_query',\n 'research_discover',\n 'weather_report',\n 'delegate_to_model',\n];\n\n/**\n * Resolves the nexus-agents CLI path.\n * Uses the built dist/cli.js relative to this package.\n */\nfunction resolveCliPath(override?: string): string {\n if (override !== undefined) return override;\n // Resolve relative to this file: src/swe-bench/ → dist/cli.js\n // At runtime we're in dist/swe-bench/, so go up one level\n const distDir = join(__dirname, '..');\n return join(distDir, 'cli.js');\n}\n\n/**\n * Builds the MCP config object for a nexus-agents server.\n */\nfunction buildConfig(options?: McpConfigOptions): McpConfigFile {\n const cliPath = resolveCliPath(options?.cliPath);\n\n const entry: McpServerEntry = {\n command: 'node',\n args: [cliPath, '--mode=server'],\n ...(options?.env !== undefined ? { env: options.env } : {}),\n };\n\n return {\n mcpServers: {\n 'nexus-agents': entry,\n },\n };\n\n // Tool allowlisting is handled by Claude CLI's --allowedTools flag, not in\n // the MCP config itself; the caller passes tools separately. Nothing here\n // needs the resolved list, so it is no longer computed.\n}\n\n/**\n * Generated MCP config with path and cleanup function.\n */\nexport interface GeneratedMcpConfig {\n /** Path to the generated config file. */\n readonly configPath: string;\n /** Cleanup function to remove temp files. */\n readonly cleanup: () => Promise<void>;\n /** Allowed tools list for --allowedTools flag. */\n readonly allowedTools: readonly string[];\n}\n\n/**\n * Generates an MCP config file for Claude CLI child sessions.\n *\n * Creates a temporary JSON file that can be passed to `claude --mcp-config`.\n * Returns the file path and a cleanup function.\n */\nexport async function generateMcpConfig(options?: McpConfigOptions): Promise<GeneratedMcpConfig> {\n const config = buildConfig(options);\n const tools = options?.allowedTools ?? DEFAULT_ALLOWED_TOOLS;\n\n const tempDir = await nexusMkdtemp('nexus-mcp-');\n const configPath = join(tempDir, 'mcp-config.json');\n\n await writeFile(configPath, JSON.stringify(config, null, 2), 'utf-8');\n\n const cleanup = async (): Promise<void> => {\n await rm(tempDir, { recursive: true, force: true }).catch((e: unknown) => {\n logger.debug('Best-effort cleanup failed', {\n error: e instanceof Error ? e.message : String(e),\n });\n });\n };\n\n return { configPath, cleanup, allowedTools: tools };\n}\n\n/**\n * Gets the default allowed tools for SWE-bench MCP sessions.\n */\nexport function getDefaultAllowedTools(): readonly string[] {\n return DEFAULT_ALLOWED_TOOLS;\n}\n"],"mappings":";;;;;;;;;;;AAaA,SAAS,WAAW,UAAU;AAE9B,SAAS,YAAY;AAGrB,IAAM,SAAS,aAAa,EAAE,WAAW,uBAAuB,CAAC;AA+BjE,IAAM,wBAA2C;AAAA,EAC/C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAMA,SAAS,eAAe,UAA2B;AACjD,MAAI,aAAa,OAAW,QAAO;AAGnC,QAAM,UAAU,KAAK,WAAW,IAAI;AACpC,SAAO,KAAK,SAAS,QAAQ;AAC/B;AAKA,SAAS,YAAY,SAA2C;AAC9D,QAAM,UAAU,eAAe,SAAS,OAAO;AAE/C,QAAM,QAAwB;AAAA,IAC5B,SAAS;AAAA,IACT,MAAM,CAAC,SAAS,eAAe;AAAA,IAC/B,GAAI,SAAS,QAAQ,SAAY,EAAE,KAAK,QAAQ,IAAI,IAAI,CAAC;AAAA,EAC3D;AAEA,SAAO;AAAA,IACL,YAAY;AAAA,MACV,gBAAgB;AAAA,IAClB;AAAA,EACF;AAKF;AAoBA,eAAsB,kBAAkB,SAAyD;AAC/F,QAAM,SAAS,YAAY,OAAO;AAClC,QAAM,QAAQ,SAAS,gBAAgB;AAEvC,QAAM,UAAU,MAAM,aAAa,YAAY;AAC/C,QAAM,aAAa,KAAK,SAAS,iBAAiB;AAElD,QAAM,UAAU,YAAY,KAAK,UAAU,QAAQ,MAAM,CAAC,GAAG,OAAO;AAEpE,QAAM,UAAU,YAA2B;AACzC,UAAM,GAAG,SAAS,EAAE,WAAW,MAAM,OAAO,KAAK,CAAC,EAAE,MAAM,CAAC,MAAe;AACxE,aAAO,MAAM,8BAA8B;AAAA,QACzC,OAAO,aAAa,QAAQ,EAAE,UAAU,OAAO,CAAC;AAAA,MAClD,CAAC;AAAA,IACH,CAAC;AAAA,EACH;AAEA,SAAO,EAAE,YAAY,SAAS,cAAc,MAAM;AACpD;AAKO,SAAS,yBAA4C;AAC1D,SAAO;AACT;","names":[]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoAdapter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ACDZL6ZM.js";
|
|
4
4
|
import {
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry,
|
|
6
6
|
mapModelErrorToCategory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RNFQP4HB.js";
|
|
8
8
|
import {
|
|
9
9
|
CLI_NAMES,
|
|
10
10
|
CircularBuffer,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
recordRateLimitEvent,
|
|
25
25
|
resolveModelIdentitySync,
|
|
26
26
|
toRateLimitError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RZF4GUMI.js";
|
|
28
28
|
|
|
29
29
|
// src/config/model-equivalence.ts
|
|
30
30
|
function canonicalModelKey(modelId) {
|
|
@@ -904,4 +904,4 @@ export {
|
|
|
904
904
|
getGlobalRegistry,
|
|
905
905
|
resetGlobalRegistry
|
|
906
906
|
};
|
|
907
|
-
//# sourceMappingURL=chunk-
|
|
907
|
+
//# sourceMappingURL=chunk-26E2ECC5.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createLogger,
|
|
4
4
|
getDefaultRegistry,
|
|
5
5
|
roundToMicroUsd
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RZF4GUMI.js";
|
|
7
7
|
import {
|
|
8
8
|
getNexusDataDir
|
|
9
9
|
} from "./chunk-JVNJJ2VL.js";
|
|
@@ -196,4 +196,4 @@ export {
|
|
|
196
196
|
loadUsageEvents,
|
|
197
197
|
rollupByModel
|
|
198
198
|
};
|
|
199
|
-
//# sourceMappingURL=chunk-
|
|
199
|
+
//# sourceMappingURL=chunk-2QZVFXR7.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
lookupInTreeCapability,
|
|
14
14
|
ok,
|
|
15
15
|
resolveRetryAfterMs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RZF4GUMI.js";
|
|
17
17
|
|
|
18
18
|
// src/config/model-parameter-support.ts
|
|
19
19
|
function parseClaudeMajorMinor(bareId) {
|
|
@@ -834,4 +834,4 @@ export {
|
|
|
834
834
|
DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
|
|
835
835
|
collectStream
|
|
836
836
|
};
|
|
837
|
-
//# sourceMappingURL=chunk-
|
|
837
|
+
//# sourceMappingURL=chunk-336MFOVV.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRandomProvider,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RZF4GUMI.js";
|
|
5
5
|
|
|
6
6
|
// src/utils/id-utils.ts
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
generateHyphenId,
|
|
25
25
|
generateUUID
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-4XESQ3X6.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RZF4GUMI.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -281,4 +281,4 @@ export {
|
|
|
281
281
|
ScmError,
|
|
282
282
|
GitHubProvider
|
|
283
283
|
};
|
|
284
|
-
//# sourceMappingURL=chunk-
|
|
284
|
+
//# sourceMappingURL=chunk-5OHQT3IJ.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
loadTechniquesRegistry,
|
|
6
6
|
resolveInsideRoot,
|
|
7
7
|
savePapersRegistry
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KO3KUF5M.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveToken
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JH4L3SH4.js";
|
|
12
12
|
import {
|
|
13
13
|
getToolMemory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WRGVTEKL.js";
|
|
15
15
|
import {
|
|
16
16
|
capitalizeWords,
|
|
17
17
|
tokenizeFiltered,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
ok,
|
|
41
41
|
registerPersistentDistillerFactory,
|
|
42
42
|
sigmoidConfidence
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-RZF4GUMI.js";
|
|
44
44
|
import {
|
|
45
45
|
ensureLearningDir,
|
|
46
46
|
getRulesFile
|
|
@@ -4238,4 +4238,4 @@ export {
|
|
|
4238
4238
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4239
4239
|
getContextPromptPrefix
|
|
4240
4240
|
};
|
|
4241
|
-
//# sourceMappingURL=chunk-
|
|
4241
|
+
//# sourceMappingURL=chunk-5XEPU5ZV.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
MCP_TIMEOUTS,
|
|
6
6
|
TEST_TIMEOUTS,
|
|
7
7
|
WORKFLOW_TIMEOUTS
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RZF4GUMI.js";
|
|
9
9
|
import {
|
|
10
10
|
createGetCircuitBreakerConfig,
|
|
11
11
|
createGetEnvVarDocumentation,
|
|
@@ -232,4 +232,4 @@ export {
|
|
|
232
232
|
CUSTOM_API_DEFAULT_MODEL,
|
|
233
233
|
DEFAULTS
|
|
234
234
|
};
|
|
235
|
-
//# sourceMappingURL=chunk-
|
|
235
|
+
//# sourceMappingURL=chunk-6GAUJAMO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F5O7U6W5.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-DGWT7DXX.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HD6E32PW.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-O5TIFR2H.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
VOTER_ROLES,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-KM4MVL7X.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -63,19 +63,19 @@ import {
|
|
|
63
63
|
import {
|
|
64
64
|
normalizeTopicToCanonical,
|
|
65
65
|
synthesizeResearch
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-UIVQ2B7J.js";
|
|
67
67
|
import {
|
|
68
68
|
IssueTriage,
|
|
69
69
|
createDurableAuditSink,
|
|
70
70
|
createDurableAuditTrail
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-BBH3SKC3.js";
|
|
72
72
|
import {
|
|
73
73
|
resolveEnvMode,
|
|
74
74
|
sanitizeInput
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-TIUE5KC4.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-BPS4XQR2.js";
|
|
79
79
|
import {
|
|
80
80
|
NOOP_NOTIFIER,
|
|
81
81
|
RateLimiter,
|
|
@@ -100,18 +100,18 @@ import {
|
|
|
100
100
|
withAuditTrail,
|
|
101
101
|
withProgressHeartbeat,
|
|
102
102
|
wrapToolWithTimeout
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-HFZMMDZJ.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
107
107
|
emitPipelinePolicyEvent
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-QN5ME2N2.js";
|
|
109
109
|
import {
|
|
110
110
|
EventTopics,
|
|
111
111
|
createEvent,
|
|
112
112
|
getGlobalEventBus,
|
|
113
113
|
getGlobalRegistry
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-26E2ECC5.js";
|
|
115
115
|
import {
|
|
116
116
|
IDENTIFIER_RE,
|
|
117
117
|
LANG_VALUES,
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
parseRegistry,
|
|
145
145
|
sourceExistsInRegistry,
|
|
146
146
|
summarizeContextForPrompt
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-5XEPU5ZV.js";
|
|
148
148
|
import {
|
|
149
149
|
REGISTRY_PATH,
|
|
150
150
|
getProjectRoot,
|
|
@@ -152,25 +152,25 @@ import {
|
|
|
152
152
|
loadTechniquesRegistry,
|
|
153
153
|
resolveInsideRoot,
|
|
154
154
|
resolveRegistryRoot
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-KO3KUF5M.js";
|
|
156
156
|
import {
|
|
157
157
|
getTokenEnvVars,
|
|
158
158
|
resolveToken
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-JH4L3SH4.js";
|
|
160
160
|
import {
|
|
161
161
|
DEFAULT_RELEVANCE_CONFIG,
|
|
162
162
|
MemoryImportance,
|
|
163
163
|
MemoryType,
|
|
164
164
|
calculateTextJaccardSimilarity,
|
|
165
165
|
getToolMemory
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-WRGVTEKL.js";
|
|
167
167
|
import {
|
|
168
168
|
STOPWORDS,
|
|
169
169
|
truncateWithInfo
|
|
170
170
|
} from "./chunk-7LP6VJRP.js";
|
|
171
171
|
import {
|
|
172
172
|
createSessionMemory
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-GFXWGCWS.js";
|
|
174
174
|
import {
|
|
175
175
|
BUILT_IN_EXPERTS,
|
|
176
176
|
BuiltInExpertTypeSchema,
|
|
@@ -188,25 +188,25 @@ import {
|
|
|
188
188
|
getAvailableClis,
|
|
189
189
|
sleep,
|
|
190
190
|
withTimeout
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-ACDZL6ZM.js";
|
|
192
192
|
import {
|
|
193
193
|
BaseAdapter,
|
|
194
194
|
createStream,
|
|
195
195
|
requireApiKey,
|
|
196
196
|
validateApiKeyPresence
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-336MFOVV.js";
|
|
198
198
|
import {
|
|
199
199
|
DEFAULTS
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-6GAUJAMO.js";
|
|
201
201
|
import {
|
|
202
202
|
getAvailabilityCache,
|
|
203
203
|
getCliForModelId,
|
|
204
204
|
resolveFallback
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-AOQDLJHG.js";
|
|
206
206
|
import {
|
|
207
207
|
generateHyphenId,
|
|
208
208
|
generateUUID
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-4XESQ3X6.js";
|
|
210
210
|
import {
|
|
211
211
|
AGENT_ROUTER_TIMEOUTS,
|
|
212
212
|
API_TIMEOUTS,
|
|
@@ -318,7 +318,7 @@ import {
|
|
|
318
318
|
selectStrategyByManifest,
|
|
319
319
|
toExpertTaskAnalysisResult,
|
|
320
320
|
withStep
|
|
321
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-RZF4GUMI.js";
|
|
322
322
|
import {
|
|
323
323
|
ensureLearningDir,
|
|
324
324
|
getMetaOutcomesFile,
|
|
@@ -30015,7 +30015,7 @@ function execIdFields(executionId) {
|
|
|
30015
30015
|
async function populateUnifiedContextOnState(state, options) {
|
|
30016
30016
|
const taskCandidate = state["task"];
|
|
30017
30017
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
30018
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
30018
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-I4VJWGPK.js");
|
|
30019
30019
|
const category = inferTaskCategory2(taskCandidate);
|
|
30020
30020
|
const executionId = options?.executionId;
|
|
30021
30021
|
const execFields = execIdFields(executionId);
|
|
@@ -35791,8 +35791,7 @@ var ReflectiveRetriever = class {
|
|
|
35791
35791
|
try {
|
|
35792
35792
|
const parsed = JSON.parse(trimmed);
|
|
35793
35793
|
return ReflectionCriteriaSchema.parse(parsed);
|
|
35794
|
-
} catch
|
|
35795
|
-
void directParseErr;
|
|
35794
|
+
} catch {
|
|
35796
35795
|
}
|
|
35797
35796
|
}
|
|
35798
35797
|
const start = text.indexOf("{");
|
|
@@ -45619,7 +45618,7 @@ async function tryIssueTriage(task) {
|
|
|
45619
45618
|
try {
|
|
45620
45619
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45621
45620
|
if (issueMatch === null) return null;
|
|
45622
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45621
|
+
const { createIssueTriage } = await import("./issue-triage-D43CVBDL.js");
|
|
45623
45622
|
const triage = createIssueTriage();
|
|
45624
45623
|
const owner = issueMatch[1] ?? "";
|
|
45625
45624
|
const num = issueMatch[2] ?? "";
|
|
@@ -45647,7 +45646,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45647
45646
|
]);
|
|
45648
45647
|
async function classifyWithLLM(task) {
|
|
45649
45648
|
try {
|
|
45650
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45649
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-6KCCGNC3.js");
|
|
45651
45650
|
const prompt = [
|
|
45652
45651
|
"Classify this task into exactly one pipeline template.",
|
|
45653
45652
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -46021,7 +46020,7 @@ function buildVotingInput(plan, config) {
|
|
|
46021
46020
|
}
|
|
46022
46021
|
async function executeSingleVote(plan, config, log) {
|
|
46023
46022
|
try {
|
|
46024
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46023
|
+
const { executeVoting } = await import("./consensus-vote-BIGG6IYH.js");
|
|
46025
46024
|
const input = buildVotingInput(plan, config);
|
|
46026
46025
|
const result = await executeVoting(input, log);
|
|
46027
46026
|
return parseVotingResult(result);
|
|
@@ -47583,7 +47582,7 @@ var memoryInitPromise = null;
|
|
|
47583
47582
|
async function initPipelineMemory() {
|
|
47584
47583
|
if (cachedMemory !== null) return cachedMemory;
|
|
47585
47584
|
try {
|
|
47586
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47585
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-XPBKOHCX.js");
|
|
47587
47586
|
const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
|
|
47588
47587
|
const mem = createSessionMemory2(getLearningDir());
|
|
47589
47588
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47645,7 +47644,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47645
47644
|
callRecord(routingMemoryCache);
|
|
47646
47645
|
return;
|
|
47647
47646
|
}
|
|
47648
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47647
|
+
routingMemoryInitPromise ??= import("./routing-memory-CRDEOBRO.js").then(({ createRoutingMemory }) => {
|
|
47649
47648
|
routingMemoryCache ??= createRoutingMemory();
|
|
47650
47649
|
return routingMemoryCache;
|
|
47651
47650
|
}).catch((error) => {
|
|
@@ -47679,7 +47678,7 @@ ${text}` : "";
|
|
|
47679
47678
|
}
|
|
47680
47679
|
async function getWeatherContext() {
|
|
47681
47680
|
try {
|
|
47682
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47681
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-Q4EJXE5F.js");
|
|
47683
47682
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47684
47683
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47685
47684
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47697,7 +47696,7 @@ ${lines}
|
|
|
47697
47696
|
}
|
|
47698
47697
|
async function getMemoryContext(task) {
|
|
47699
47698
|
try {
|
|
47700
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47699
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-XPBKOHCX.js");
|
|
47701
47700
|
const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
|
|
47702
47701
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47703
47702
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47816,7 +47815,7 @@ ${contextBlock}`;
|
|
|
47816
47815
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47817
47816
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47818
47817
|
try {
|
|
47819
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47818
|
+
const { executeVoting } = await import("./consensus-vote-BIGG6IYH.js");
|
|
47820
47819
|
const votingResult = await executeVoting(
|
|
47821
47820
|
{
|
|
47822
47821
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -48247,7 +48246,7 @@ async function searchCodebaseForTask(task) {
|
|
|
48247
48246
|
}
|
|
48248
48247
|
async function queryResearchRegistry(task) {
|
|
48249
48248
|
try {
|
|
48250
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
48249
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-LRYFH55A.js");
|
|
48251
48250
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
48252
48251
|
if (topic === void 0) return null;
|
|
48253
48252
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -48318,7 +48317,7 @@ function createScanStageWrapper() {
|
|
|
48318
48317
|
try {
|
|
48319
48318
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
48320
48319
|
if (slug !== void 0) {
|
|
48321
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
48320
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-3FGTIZY4.js");
|
|
48322
48321
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
48323
48322
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
48324
48323
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51558,7 +51557,7 @@ var GitHubTaskTracker = class {
|
|
|
51558
51557
|
cachedProvider = null;
|
|
51559
51558
|
async getProvider() {
|
|
51560
51559
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51561
|
-
const { createScmProvider } = await import("./factory-
|
|
51560
|
+
const { createScmProvider } = await import("./factory-HJPJTSHY.js");
|
|
51562
51561
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51563
51562
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51564
51563
|
this.cachedProvider = result.value;
|
|
@@ -52489,7 +52488,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
52489
52488
|
}
|
|
52490
52489
|
}
|
|
52491
52490
|
async function defaultSources(includeOpenRouter) {
|
|
52492
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
52491
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-YIFRH73W.js");
|
|
52493
52492
|
const adapters = createAllAdapters2();
|
|
52494
52493
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
52495
52494
|
}
|
|
@@ -52975,11 +52974,10 @@ function wrapWithObservability(toolName, cb, eventBus) {
|
|
|
52975
52974
|
var REGISTERED_TOOL_NAMES = TOOL_MANIFEST.map(
|
|
52976
52975
|
(t) => t.name
|
|
52977
52976
|
);
|
|
52978
|
-
function registerTools(
|
|
52977
|
+
function registerTools(_server, options) {
|
|
52979
52978
|
const logger55 = options?.logger ?? createMcpLogger({ component: "tools" });
|
|
52980
52979
|
const rateLimiter = options?.rateLimiter ?? createDefaultRateLimiter("mcp-tools", logger55);
|
|
52981
52980
|
logger55.info("Tool registration infrastructure initialized");
|
|
52982
|
-
void server;
|
|
52983
52981
|
return {
|
|
52984
52982
|
tools: [...REGISTERED_TOOL_NAMES],
|
|
52985
52983
|
logger: logger55,
|
|
@@ -56543,4 +56541,4 @@ export {
|
|
|
56543
56541
|
startPipelineEventBridge,
|
|
56544
56542
|
shutdownPipelineEventBridge
|
|
56545
56543
|
};
|
|
56546
|
-
//# sourceMappingURL=chunk-
|
|
56544
|
+
//# sourceMappingURL=chunk-7CPTOL6L.js.map
|