nexus-agents 8.63.0 → 8.63.2
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-BJYXY6R7.js → ast-rule-runner-OVEWJ4VI.js} +5 -5
- package/dist/{child-mcp-config-SPLQ6PUA.js → child-mcp-config-PCZKX4SI.js} +5 -5
- package/dist/{chunk-NFM6UHLJ.js → chunk-3X7U2LTF.js} +7 -7
- package/dist/{chunk-MTYJPPIG.js → chunk-4UHDDCRB.js} +2 -2
- package/dist/{chunk-YA7LV26Z.js → chunk-53HQP5UY.js} +2 -2
- package/dist/{chunk-IT7QW2UK.js → chunk-666BO45M.js} +10 -10
- package/dist/{chunk-ED3NOBP4.js → chunk-6RTJNYWK.js} +4 -4
- package/dist/{chunk-4ZXXHD34.js → chunk-6ZTPCRTD.js} +6 -6
- package/dist/{chunk-IGERXSCP.js → chunk-ACYV6HIF.js} +2 -2
- package/dist/{chunk-HVX5KC47.js → chunk-AD6FWKAO.js} +2 -2
- package/dist/{chunk-T6AREZER.js → chunk-AFBIOXNN.js} +5 -5
- package/dist/{chunk-QH53RCQ6.js → chunk-AFJXMJCJ.js} +3 -3
- package/dist/{chunk-4D5WBVZF.js → chunk-BPUYQPXF.js} +11 -11
- package/dist/{chunk-2U4GUQZQ.js → chunk-DZPAS2KT.js} +4 -4
- package/dist/{chunk-PNNJT6HR.js → chunk-G3WPIB2G.js} +2 -2
- package/dist/{chunk-T46RV7Y7.js → chunk-HERI7LXN.js} +2 -2
- package/dist/{chunk-Y367HRJV.js → chunk-HILODAJL.js} +3 -7
- package/dist/chunk-HILODAJL.js.map +1 -0
- package/dist/{chunk-6A6XOOYD.js → chunk-IKCULJYU.js} +3 -3
- package/dist/{chunk-AW6RARII.js → chunk-JRRAM2VZ.js} +2 -2
- package/dist/{chunk-JLIACIKN.js → chunk-L6F6N72F.js} +3 -3
- package/dist/{chunk-QPNOKY7U.js → chunk-OF4P5LQP.js} +2 -2
- package/dist/{chunk-DFEWV5HW.js → chunk-OFE2AQ4I.js} +5 -5
- package/dist/{chunk-PFSMPJKU.js → chunk-PEZRHADK.js} +2 -2
- package/dist/{chunk-F4OGKWX2.js → chunk-PQW42FX7.js} +2 -2
- package/dist/{chunk-2TJUC7OA.js → chunk-QLQUJLG3.js} +2 -2
- package/dist/{chunk-L5F67JWD.js → chunk-QTQKNZEP.js} +4 -4
- package/dist/{chunk-YKRMWZCX.js → chunk-QUWE3DRV.js} +2 -2
- package/dist/{chunk-D6ZN3IUC.js → chunk-R22LXCDU.js} +2 -2
- package/dist/{chunk-HBG5RYZ6.js → chunk-RK4YSKMS.js} +2 -2
- package/dist/{chunk-M26JTGBL.js → chunk-RKLT2TOT.js} +2 -2
- package/dist/{chunk-BTYRPZON.js → chunk-RNDHNRSX.js} +1 -33
- package/dist/chunk-RNDHNRSX.js.map +1 -0
- package/dist/{chunk-GGJRBO2C.js → chunk-SIAO7EFE.js} +6 -6
- package/dist/{chunk-A4JMZPCE.js → chunk-SYBTBLHP.js} +3 -3
- package/dist/{chunk-AJ7P4SID.js → chunk-TGYLZFU5.js} +4 -4
- package/dist/{chunk-ZOOM6I4A.js → chunk-TLYEHGIR.js} +7 -7
- package/dist/{chunk-VSVEWA7S.js → chunk-TZKXFJSF.js} +1093 -956
- package/dist/chunk-TZKXFJSF.js.map +1 -0
- package/dist/{chunk-XC3ZVY6S.js → chunk-U5KCGQ2Q.js} +2 -2
- package/dist/{chunk-E7JSXW5T.js → chunk-UJ5GVU2H.js} +2 -2
- package/dist/{chunk-VXZ4GHO6.js → chunk-VAMOJV55.js} +2 -2
- package/dist/{chunk-Q2ZBQQGY.js → chunk-Y466OQB2.js} +12 -12
- package/dist/{cli-circuit-breaker-DFRIRUQR.js → cli-circuit-breaker-T45NKZ35.js} +5 -5
- package/dist/cli.js +47 -47
- package/dist/{composite-router-66ZX2IG2.js → composite-router-7ARVOZRF.js} +4 -4
- package/dist/{consensus-vote-MYFV4X75.js → consensus-vote-OL7DLZNL.js} +20 -20
- package/dist/{context-retriever-WT67DEQE.js → context-retriever-BITYWLA2.js} +11 -11
- package/dist/doctor-deep-YNKNSQDO.js +13 -0
- package/dist/{doctor-live-HP2F44US.js → doctor-live-O5HUL4CE.js} +13 -13
- package/dist/{expert-bridge-WS4DCMUU.js → expert-bridge-25V5Z5NH.js} +6 -6
- package/dist/factory-AKKNZQRC.js +15 -0
- package/dist/factory-KKA2PEK4.js +25 -0
- package/dist/{improvement-review-2M2PL57A.js → improvement-review-UZ4MFHY6.js} +7 -7
- package/dist/index.js +35 -35
- package/dist/{init-opencode-E3235NXT.js → init-opencode-RLWDLWUC.js} +8 -8
- package/dist/issue-triage-LOTZZAOQ.js +16 -0
- package/dist/{learning-persistence-TQJVPLDN.js → learning-persistence-DDCQTBPS.js} +3 -3
- package/dist/{pr-reviewer-helpers-WXTZ5KRF.js → pr-reviewer-helpers-MDMJY3AJ.js} +6 -6
- package/dist/{registry-command-ODE62JQ6.js → registry-command-BDXLCM4D.js} +4 -4
- package/dist/{repo-security-plan-DF5MQUT7.js → repo-security-plan-55ZTF2TY.js} +5 -5
- package/dist/research-helpers-synthesize-L2HNQK7U.js +14 -0
- package/dist/{routing-memory-S4VNNGX2.js → routing-memory-LDELNOBJ.js} +4 -4
- package/dist/{session-memory-NZEGTYE7.js → session-memory-FW3BL34A.js} +5 -5
- package/dist/setup-config-ZTACUOJK.js +11 -0
- package/dist/{setup-custom-api-VW3ARY6H.js → setup-custom-api-E3IK7DZH.js} +6 -6
- package/dist/setup-data-dir-MYGXBT4E.js +31 -0
- package/dist/{tool-memory-HXLN4JH4.js → tool-memory-SOAZGLTG.js} +8 -8
- package/dist/{tool-memory-registry-adapters-ATMDGO4D.js → tool-memory-registry-adapters-IAYV4SBV.js} +3 -3
- package/dist/unified-registry-GPWSJDGN.js +28 -0
- package/dist/{weather-report-ZDHE4KN5.js → weather-report-BIJSJ5WH.js} +4 -4
- package/package.json +1 -1
- package/dist/chunk-BTYRPZON.js.map +0 -1
- package/dist/chunk-VSVEWA7S.js.map +0 -1
- package/dist/chunk-Y367HRJV.js.map +0 -1
- package/dist/doctor-deep-GMEIKBEF.js +0 -13
- package/dist/factory-LCNX522I.js +0 -25
- package/dist/factory-NMBGSHSQ.js +0 -15
- package/dist/issue-triage-M26H4XSG.js +0 -16
- package/dist/research-helpers-synthesize-DNEQZ56K.js +0 -14
- package/dist/setup-config-OOS7USYV.js +0 -11
- package/dist/setup-data-dir-TODDUZIO.js +0 -31
- package/dist/unified-registry-UYD65GIO.js +0 -28
- /package/dist/{ast-rule-runner-BJYXY6R7.js.map → ast-rule-runner-OVEWJ4VI.js.map} +0 -0
- /package/dist/{child-mcp-config-SPLQ6PUA.js.map → child-mcp-config-PCZKX4SI.js.map} +0 -0
- /package/dist/{chunk-NFM6UHLJ.js.map → chunk-3X7U2LTF.js.map} +0 -0
- /package/dist/{chunk-MTYJPPIG.js.map → chunk-4UHDDCRB.js.map} +0 -0
- /package/dist/{chunk-YA7LV26Z.js.map → chunk-53HQP5UY.js.map} +0 -0
- /package/dist/{chunk-IT7QW2UK.js.map → chunk-666BO45M.js.map} +0 -0
- /package/dist/{chunk-ED3NOBP4.js.map → chunk-6RTJNYWK.js.map} +0 -0
- /package/dist/{chunk-4ZXXHD34.js.map → chunk-6ZTPCRTD.js.map} +0 -0
- /package/dist/{chunk-IGERXSCP.js.map → chunk-ACYV6HIF.js.map} +0 -0
- /package/dist/{chunk-HVX5KC47.js.map → chunk-AD6FWKAO.js.map} +0 -0
- /package/dist/{chunk-T6AREZER.js.map → chunk-AFBIOXNN.js.map} +0 -0
- /package/dist/{chunk-QH53RCQ6.js.map → chunk-AFJXMJCJ.js.map} +0 -0
- /package/dist/{chunk-4D5WBVZF.js.map → chunk-BPUYQPXF.js.map} +0 -0
- /package/dist/{chunk-2U4GUQZQ.js.map → chunk-DZPAS2KT.js.map} +0 -0
- /package/dist/{chunk-PNNJT6HR.js.map → chunk-G3WPIB2G.js.map} +0 -0
- /package/dist/{chunk-T46RV7Y7.js.map → chunk-HERI7LXN.js.map} +0 -0
- /package/dist/{chunk-6A6XOOYD.js.map → chunk-IKCULJYU.js.map} +0 -0
- /package/dist/{chunk-AW6RARII.js.map → chunk-JRRAM2VZ.js.map} +0 -0
- /package/dist/{chunk-JLIACIKN.js.map → chunk-L6F6N72F.js.map} +0 -0
- /package/dist/{chunk-QPNOKY7U.js.map → chunk-OF4P5LQP.js.map} +0 -0
- /package/dist/{chunk-DFEWV5HW.js.map → chunk-OFE2AQ4I.js.map} +0 -0
- /package/dist/{chunk-PFSMPJKU.js.map → chunk-PEZRHADK.js.map} +0 -0
- /package/dist/{chunk-F4OGKWX2.js.map → chunk-PQW42FX7.js.map} +0 -0
- /package/dist/{chunk-2TJUC7OA.js.map → chunk-QLQUJLG3.js.map} +0 -0
- /package/dist/{chunk-L5F67JWD.js.map → chunk-QTQKNZEP.js.map} +0 -0
- /package/dist/{chunk-YKRMWZCX.js.map → chunk-QUWE3DRV.js.map} +0 -0
- /package/dist/{chunk-D6ZN3IUC.js.map → chunk-R22LXCDU.js.map} +0 -0
- /package/dist/{chunk-HBG5RYZ6.js.map → chunk-RK4YSKMS.js.map} +0 -0
- /package/dist/{chunk-M26JTGBL.js.map → chunk-RKLT2TOT.js.map} +0 -0
- /package/dist/{chunk-GGJRBO2C.js.map → chunk-SIAO7EFE.js.map} +0 -0
- /package/dist/{chunk-A4JMZPCE.js.map → chunk-SYBTBLHP.js.map} +0 -0
- /package/dist/{chunk-AJ7P4SID.js.map → chunk-TGYLZFU5.js.map} +0 -0
- /package/dist/{chunk-ZOOM6I4A.js.map → chunk-TLYEHGIR.js.map} +0 -0
- /package/dist/{chunk-XC3ZVY6S.js.map → chunk-U5KCGQ2Q.js.map} +0 -0
- /package/dist/{chunk-E7JSXW5T.js.map → chunk-UJ5GVU2H.js.map} +0 -0
- /package/dist/{chunk-VXZ4GHO6.js.map → chunk-VAMOJV55.js.map} +0 -0
- /package/dist/{chunk-Q2ZBQQGY.js.map → chunk-Y466OQB2.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-DFRIRUQR.js.map → cli-circuit-breaker-T45NKZ35.js.map} +0 -0
- /package/dist/{composite-router-66ZX2IG2.js.map → composite-router-7ARVOZRF.js.map} +0 -0
- /package/dist/{consensus-vote-MYFV4X75.js.map → consensus-vote-OL7DLZNL.js.map} +0 -0
- /package/dist/{context-retriever-WT67DEQE.js.map → context-retriever-BITYWLA2.js.map} +0 -0
- /package/dist/{doctor-deep-GMEIKBEF.js.map → doctor-deep-YNKNSQDO.js.map} +0 -0
- /package/dist/{doctor-live-HP2F44US.js.map → doctor-live-O5HUL4CE.js.map} +0 -0
- /package/dist/{expert-bridge-WS4DCMUU.js.map → expert-bridge-25V5Z5NH.js.map} +0 -0
- /package/dist/{factory-LCNX522I.js.map → factory-AKKNZQRC.js.map} +0 -0
- /package/dist/{factory-NMBGSHSQ.js.map → factory-KKA2PEK4.js.map} +0 -0
- /package/dist/{improvement-review-2M2PL57A.js.map → improvement-review-UZ4MFHY6.js.map} +0 -0
- /package/dist/{init-opencode-E3235NXT.js.map → init-opencode-RLWDLWUC.js.map} +0 -0
- /package/dist/{issue-triage-M26H4XSG.js.map → issue-triage-LOTZZAOQ.js.map} +0 -0
- /package/dist/{learning-persistence-TQJVPLDN.js.map → learning-persistence-DDCQTBPS.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-WXTZ5KRF.js.map → pr-reviewer-helpers-MDMJY3AJ.js.map} +0 -0
- /package/dist/{registry-command-ODE62JQ6.js.map → registry-command-BDXLCM4D.js.map} +0 -0
- /package/dist/{repo-security-plan-DF5MQUT7.js.map → repo-security-plan-55ZTF2TY.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-DNEQZ56K.js.map → research-helpers-synthesize-L2HNQK7U.js.map} +0 -0
- /package/dist/{routing-memory-S4VNNGX2.js.map → routing-memory-LDELNOBJ.js.map} +0 -0
- /package/dist/{session-memory-NZEGTYE7.js.map → session-memory-FW3BL34A.js.map} +0 -0
- /package/dist/{setup-config-OOS7USYV.js.map → setup-config-ZTACUOJK.js.map} +0 -0
- /package/dist/{setup-custom-api-VW3ARY6H.js.map → setup-custom-api-E3IK7DZH.js.map} +0 -0
- /package/dist/{setup-data-dir-TODDUZIO.js.map → setup-data-dir-MYGXBT4E.js.map} +0 -0
- /package/dist/{tool-memory-HXLN4JH4.js.map → tool-memory-SOAZGLTG.js.map} +0 -0
- /package/dist/{tool-memory-registry-adapters-ATMDGO4D.js.map → tool-memory-registry-adapters-IAYV4SBV.js.map} +0 -0
- /package/dist/{unified-registry-UYD65GIO.js.map → unified-registry-GPWSJDGN.js.map} +0 -0
- /package/dist/{weather-report-ZDHE4KN5.js.map → weather-report-BIJSJ5WH.js.map} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/config/defaults.ts"],"sourcesContent":["/**\n * Central Configuration Defaults\n *\n * Consolidates common default values used across the codebase.\n * This prevents scattered magic numbers and ensures consistency.\n *\n * Usage:\n * import { DEFAULTS, getTimeout, TIMEOUT_PROFILES } from '../config/defaults.js';\n * const timeout = options.timeout ?? DEFAULTS.TIMEOUT_DEFAULTS.cliMs;\n * const cliTimeout = getTimeoutForCli('claude', 'complex');\n *\n * Environment overrides can be added via NEXUS_* environment variables.\n *\n * @module config/defaults\n * (Source: Central config consolidation initiative)\n */\n\n// Re-export types from defaults-types\nexport type {\n TaskComplexity,\n TimeoutProfile,\n KnownCliName,\n TimeoutDefaults,\n RateLimitDefaults,\n ToolRateLimitConfig,\n RetryDefaults,\n CircuitBreakerDefaults,\n} from './defaults-types.js';\n\nexport { isTaskComplexity, isKnownCliName } from './defaults-types.js';\n\n// Re-export timeout profiles (delegates to config/timeouts.ts)\nexport {\n TIMEOUT_PROFILES,\n getTimeoutProfile,\n getTimeoutForCli,\n} from './defaults-timeout-profiles.js';\n\n// Re-export canonical timeout modules (Issue #984)\nexport {\n CLI_TIMEOUTS,\n VOTE_TIMEOUTS,\n MCP_TIMEOUTS,\n WORKFLOW_TIMEOUTS,\n GRAPH_TIMEOUTS,\n PER_CLI_TASK_TIMEOUTS,\n API_TIMEOUTS,\n INTERNAL_TIMEOUTS,\n TEST_TIMEOUTS,\n TIMEOUT_ENV_VARS,\n getCliTimeoutProfile,\n getCliTimeout,\n resolveVoteTimeout,\n resolveEnvTimeout,\n validateTimeout,\n BACKOFF_CONFIG,\n AGENT_ROUTER_TIMEOUTS,\n CODEX_MCP_TIMEOUTS,\n} from './timeouts.js';\n\n// Re-export env helpers (internal use)\nexport { parseIntEnv, parseFloatEnv, parseBoolEnv } from './defaults-env.js';\n\nimport {\n createGetTimeout,\n createGetToolRateLimit,\n createGetEnvVarDocumentation,\n} from './defaults-env.js';\nimport {\n API_TIMEOUTS as _API,\n WORKFLOW_TIMEOUTS as _WF,\n MCP_TIMEOUTS as _MCP,\n INTERNAL_TIMEOUTS as _INT,\n TEST_TIMEOUTS as _TEST,\n CLI_TIMEOUTS as _CLI,\n} from './timeouts.js';\n\n// ============================================================================\n// Default Model IDs (#2200 Child 4)\n// ============================================================================\n\n/**\n * Default model identifier for the custom OpenAI-compatible API gateway.\n *\n * Used by both `cli/setup-custom-api.ts` (write to nexus-agents.yaml) and\n * `adapters/auto-adapter.ts` (NEXUS_CUSTOM_MODEL env-var fallback). Single\n * source of truth so changes flow through all consumers.\n *\n * `gpt-4o` was the previous value, chosen because it was widely supported across\n * OpenAI-compatible gateways. It is now END-OF-LIFE at OpenAI, so defaulting to\n * it points new operators at a model their gateway may well refuse (#4408).\n *\n * A custom gateway can serve anything, so ANY default here is a guess — the\n * right long-term answer is to discover the model list from the endpoint\n * (`GET /v1/models`, which this repo already implements) rather than assume one.\n * Until that is wired, guess a current model instead of a retired one.\n *\n * Operators are expected to override via `NEXUS_CUSTOM_MODEL`.\n */\nexport const CUSTOM_API_DEFAULT_MODEL = 'gpt-5.5';\n\n// ============================================================================\n// Central Defaults Object\n// ============================================================================\n\n/**\n * Central defaults object containing all configuration categories.\n */\nexport const DEFAULTS = {\n /**\n * Default timeout settings in milliseconds.\n * Values sourced from config/timeouts.ts (Issue #984).\n */\n TIMEOUT_DEFAULTS: {\n /** CLI tool execution timeout in milliseconds. */\n cliMs: _CLI.default.standard,\n // cliSimpleMs / cliComplexMs removed in #4180 — never read by any production\n // code (the matching NEXUS_TIMEOUT_CLISIMPLE/CLICOMPLEX env vars were silent\n // no-ops, #2977 class). Per-complexity CLI timeouts come from\n // getTimeoutForCli/TIMEOUT_PROFILES (CLI_TIMEOUTS in config/timeouts.ts).\n /** API request timeout in milliseconds. */\n apiMs: _API.defaultMs,\n /** Maximum API timeout in milliseconds. */\n apiMaxMs: _API.maxMs,\n /** Workflow-level timeout in milliseconds (5 minutes). */\n workflowMs: _WF.workflowMs,\n /** Maximum workflow timeout in milliseconds (30 minutes). */\n workflowMaxMs: _WF.workflowMaxMs,\n /** Step-level timeout in milliseconds. */\n stepMs: _INT.selfEvalMs,\n /** MCP operation default timeout in milliseconds (generic, not per-tool). */\n mcpMs: _API.defaultMs,\n /** MCP operation maximum timeout in milliseconds. */\n mcpMaxMs: _MCP.maxMs,\n /** Health check timeout in milliseconds. */\n healthCheckMs: _INT.healthCheckMs,\n /** Global test run timeout in milliseconds (10 minutes). */\n testGlobalMs: _TEST.globalMs,\n /** Per-task test timeout in milliseconds. */\n testTaskMs: _TEST.taskMs,\n /** Circuit breaker reset timeout in milliseconds. */\n circuitBreakerResetMs: _INT.circuitBreakerResetMs,\n },\n\n /**\n * Default rate limit settings for outbound operations.\n */\n RATE_LIMIT_DEFAULTS: {\n /** Global requests per minute. */\n requestsPerMinute: 60,\n /** Whether rate limiting is enabled by default. */\n enabled: true,\n /** Maximum number of concurrent requests. */\n maxConcurrent: 4,\n /** Token bucket capacity. */\n capacity: 100,\n /** Token bucket refill rate per second. */\n refillRate: 10,\n /** Refill interval in milliseconds. */\n refillIntervalMs: 100,\n },\n\n /**\n * Per-tool rate limit defaults for MCP tools.\n * (Source: Issue #274 Phase 2 - per-tool rate limits)\n */\n TOOL_RATE_LIMITS: {\n orchestrate: { capacity: 10, refillRate: 10, refillIntervalMs: 60_000 },\n delegate: { capacity: 20, refillRate: 20, refillIntervalMs: 60_000 },\n workflow: { capacity: 5, refillRate: 5, refillIntervalMs: 60_000 },\n expert: { capacity: 30, refillRate: 30, refillIntervalMs: 60_000 },\n },\n\n /**\n * Default retry strategy settings for transient failures.\n */\n RETRY_DEFAULTS: {\n /** Maximum retry attempts before failing. */\n maxRetries: 3,\n /** Base delay between retries in milliseconds. */\n baseDelayMs: 1_000,\n /** Maximum delay between retries in milliseconds. */\n maxDelayMs: 30_000,\n /** Jitter factor (0-1) to randomize retry delays. */\n jitterFactor: 0.1,\n },\n\n /**\n * Workflow-specific retry defaults.\n */\n WORKFLOW_RETRY_DEFAULTS: {\n /** Maximum retry attempts for workflow steps. */\n maxRetries: 2,\n /** Base delay for workflow retries in milliseconds. */\n baseDelayMs: 2_000,\n /** Maximum delay for workflow retries in milliseconds. */\n maxDelayMs: 60_000,\n /** Jitter factor for workflow retries. */\n jitterFactor: 0.15,\n },\n\n /**\n * CLI-specific retry defaults.\n */\n CLI_RETRY_DEFAULTS: {\n /** Maximum retry attempts for CLI operations. */\n maxRetries: 2,\n /** Base delay for CLI retries in milliseconds. */\n baseDelayMs: 5_000,\n /** Maximum delay for CLI retries in milliseconds. */\n maxDelayMs: 60_000,\n /** Jitter factor for CLI retries. */\n jitterFactor: 0.2,\n },\n\n /**\n * Test framework retry defaults.\n */\n TEST_RETRY_DEFAULTS: {\n /** Maximum retries per test task. */\n maxRetries: 2,\n /** Whether to retry failed tasks by default. */\n retryFailedTasks: true,\n },\n\n /**\n * Default buffer sizing for batching and chunked processing.\n */\n BUFFER_DEFAULTS: {\n /** Preferred batch size for bulk operations. */\n batchSize: 100,\n /** Chunk size for streaming or segmented processing. */\n chunkSize: 256,\n /** Maximum items allowed in a buffer. */\n maxItems: 1_000,\n /** Maximum memory size in bytes (10 MB). */\n maxMemoryBytes: 10 * 1024 * 1024,\n /** Log buffer flush interval in milliseconds. */\n logFlushIntervalMs: 5_000,\n },\n\n // WORKER_DEFAULTS removed in #2977 — the eight settings under this category\n // (maxWorkers, poolSize, idleTimeoutMs, workflowMaxParallel, testParallelism,\n // evaluationMaxWorkers, eventBusMaxHistory, swarmObserverMaxEvents) had zero\n // production consumers. `getWorkerConfig()` was never called from anywhere\n // in src/, and the matching NEXUS_WORKERS_* env vars were silent no-ops.\n // Silent config rot is worse than missing knobs; re-add when a concrete\n // consumer exists.\n\n /**\n * Default circuit breaker settings.\n * (Source: Issue #81 - Circuit breaker for CLI failures)\n */\n CIRCUIT_BREAKER_DEFAULTS: {\n /** Failure threshold to open circuit. */\n failureThreshold: 5,\n /** Reset timeout in milliseconds. */\n resetTimeoutMs: 30_000,\n /** Success threshold to close circuit in half-open state. */\n halfOpenSuccessThreshold: 2,\n /** Whether to count timeouts as failures. */\n countTimeoutsAsFailures: true,\n /** Whether to count auth failures as failures. */\n countAuthFailuresAsFailures: false,\n /** Whether to count rate limit errors as failures (#1529). */\n countRateLimitsAsFailures: true,\n /** Maximum requests allowed in half-open state. */\n halfOpenMaxRequests: 3,\n },\n\n /**\n * Default context/memory settings.\n */\n CONTEXT_DEFAULTS: {\n /** Maximum context tokens. */\n maxTokens: 100_000,\n /** Token budget warning threshold (80%). */\n warningThreshold: 0.8,\n /** Token budget critical threshold (95%). */\n criticalThreshold: 0.95,\n /** Maximum history entries to retain. */\n maxHistoryEntries: 1_000,\n },\n\n /**\n * Default provider/model settings.\n */\n PROVIDER_DEFAULTS: {\n /** Default timeout for provider API calls in ms. */\n timeout: 30_000,\n /** Maximum retries for provider requests. */\n maxRetries: 3,\n /** Default model tier. */\n defaultTier: 'balanced' as const,\n /** Default temperature. */\n temperatureDefault: 0.3,\n /** Minimum temperature. */\n temperatureMin: 0,\n /** Maximum temperature. */\n temperatureMax: 1,\n /** Billing mode: 'plan' (monthly subscription) or 'api' (pay-per-token). Env: NEXUS_BILLING_MODE */\n billingMode: 'plan' as const,\n },\n\n /**\n * Security-related defaults.\n */\n SECURITY_DEFAULTS: {\n /** Maximum system prompt length in characters. */\n maxSystemPromptLength: 4_000,\n /** Default policy execution mode. */\n policyDefaultMode: 'read-only' as const,\n /** Default policy mode. */\n policyMode: 'enforce' as const,\n /** Default sandbox mode. */\n sandboxMode: 'policy' as const,\n /** Whether to fall back to policy mode if container unavailable. */\n sandboxFallbackToPolicy: true,\n /** Whether network is enabled in container mode. */\n sandboxNetworkEnabled: false,\n },\n} as const;\n\n// ============================================================================\n// Type Exports for DEFAULTS\n// ============================================================================\n\n/** Type for the DEFAULTS object (readonly/const). */\nexport type DefaultsConfig = typeof DEFAULTS;\n\n/** Type for timeout defaults (readonly/const). */\nexport type TimeoutDefaultsConst = typeof DEFAULTS.TIMEOUT_DEFAULTS;\n\n/** Type for rate limit defaults (readonly/const). */\nexport type RateLimitDefaultsConst = typeof DEFAULTS.RATE_LIMIT_DEFAULTS;\n\n/** Type for retry defaults (readonly/const). */\nexport type RetryDefaultsConst = typeof DEFAULTS.RETRY_DEFAULTS;\n\n/** Type for buffer defaults (readonly/const). */\nexport type BufferDefaults = typeof DEFAULTS.BUFFER_DEFAULTS;\n\n/** Type for circuit breaker defaults (readonly/const). */\nexport type CircuitBreakerDefaultsConst = typeof DEFAULTS.CIRCUIT_BREAKER_DEFAULTS;\n\n/** Type for context defaults (readonly/const). */\nexport type ContextDefaults = typeof DEFAULTS.CONTEXT_DEFAULTS;\n\n/** Type for provider defaults (readonly/const). */\nexport type ProviderDefaults = typeof DEFAULTS.PROVIDER_DEFAULTS;\n\n/** Type for security defaults (readonly/const). */\nexport type SecurityDefaults = typeof DEFAULTS.SECURITY_DEFAULTS;\n\n// ============================================================================\n// Environment Override Functions (bound to DEFAULTS)\n// ============================================================================\n\n/**\n * Get timeout with environment override support.\n *\n * @param key - Timeout key (e.g., 'cliMs', 'apiMs')\n * @returns Timeout value in milliseconds\n */\nexport const getTimeout = createGetTimeout(DEFAULTS.TIMEOUT_DEFAULTS);\n\n// getRetryConfig, getRateLimitConfig and getCircuitBreakerConfig removed in\n// #5903. They promised \"environment override support\" for twelve NEXUS_*\n// variables that no running code read: `config get` reported them as\n// `Source: (env)` while the rate limiter took `enabled` from the config file,\n// retry used the static DEFAULT_RETRY_CONFIG, and the circuit breakers carried\n// their own config. Same treatment as the worker knobs in #2977 and the\n// per-complexity CLI timeouts in #4180. Read DEFAULTS.* directly.\n\n/**\n * Gets the tool rate limit configuration for a specific tool category.\n *\n * @param tool - Tool category (orchestrate, delegate, workflow, expert)\n * @returns Rate limit configuration\n */\nexport const getToolRateLimit = createGetToolRateLimit(DEFAULTS.TOOL_RATE_LIMITS);\n\n// ============================================================================\n// Documentation Helper\n// ============================================================================\n\n/**\n * Returns documentation for all environment variable overrides.\n *\n * @returns Markdown documentation string\n */\nexport const getEnvVarDocumentation = createGetEnvVarDocumentation(DEFAULTS);\n"],"mappings":"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","names":[]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
formatDeepDiagnostics,
|
|
3
|
-
runDeepDiagnostics
|
|
4
|
-
} from "./chunk-PNNJT6HR.js";
|
|
5
|
-
import "./chunk-4ZXXHD34.js";
|
|
6
|
-
import "./chunk-MTYJPPIG.js";
|
|
7
|
-
import "./chunk-BTYRPZON.js";
|
|
8
|
-
import "./chunk-ZPWHCABL.js";
|
|
9
|
-
export {
|
|
10
|
-
formatDeepDiagnostics,
|
|
11
|
-
runDeepDiagnostics
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=doctor-deep-GMEIKBEF.js.map
|
package/dist/factory-LCNX522I.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createAllAdapters,
|
|
3
|
-
createCliAdapter,
|
|
4
|
-
getAvailableClis,
|
|
5
|
-
isCliAvailable
|
|
6
|
-
} from "./chunk-IT7QW2UK.js";
|
|
7
|
-
import "./chunk-2TJUC7OA.js";
|
|
8
|
-
import "./chunk-Y367HRJV.js";
|
|
9
|
-
import "./chunk-IGERXSCP.js";
|
|
10
|
-
import "./chunk-T46RV7Y7.js";
|
|
11
|
-
import "./chunk-AW6RARII.js";
|
|
12
|
-
import "./chunk-QZUG667L.js";
|
|
13
|
-
import "./chunk-YA7LV26Z.js";
|
|
14
|
-
import "./chunk-YKRMWZCX.js";
|
|
15
|
-
import "./chunk-4ZXXHD34.js";
|
|
16
|
-
import "./chunk-MTYJPPIG.js";
|
|
17
|
-
import "./chunk-BTYRPZON.js";
|
|
18
|
-
import "./chunk-ZPWHCABL.js";
|
|
19
|
-
export {
|
|
20
|
-
createAllAdapters,
|
|
21
|
-
createCliAdapter,
|
|
22
|
-
getAvailableClis,
|
|
23
|
-
isCliAvailable
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=factory-LCNX522I.js.map
|
package/dist/factory-NMBGSHSQ.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createGitHubProvider,
|
|
3
|
-
createScmProvider
|
|
4
|
-
} from "./chunk-L5F67JWD.js";
|
|
5
|
-
import "./chunk-QPNOKY7U.js";
|
|
6
|
-
import "./chunk-VXZ4GHO6.js";
|
|
7
|
-
import "./chunk-4ZXXHD34.js";
|
|
8
|
-
import "./chunk-MTYJPPIG.js";
|
|
9
|
-
import "./chunk-BTYRPZON.js";
|
|
10
|
-
import "./chunk-ZPWHCABL.js";
|
|
11
|
-
export {
|
|
12
|
-
createGitHubProvider,
|
|
13
|
-
createScmProvider
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=factory-NMBGSHSQ.js.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
IssueTriage,
|
|
3
|
-
createIssueTriage
|
|
4
|
-
} from "./chunk-DFEWV5HW.js";
|
|
5
|
-
import "./chunk-QPNOKY7U.js";
|
|
6
|
-
import "./chunk-PFSMPJKU.js";
|
|
7
|
-
import "./chunk-VXZ4GHO6.js";
|
|
8
|
-
import "./chunk-4ZXXHD34.js";
|
|
9
|
-
import "./chunk-MTYJPPIG.js";
|
|
10
|
-
import "./chunk-BTYRPZON.js";
|
|
11
|
-
import "./chunk-ZPWHCABL.js";
|
|
12
|
-
export {
|
|
13
|
-
IssueTriage,
|
|
14
|
-
createIssueTriage
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=issue-triage-M26H4XSG.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AttributedInsightSchema,
|
|
3
|
-
synthesizeResearch
|
|
4
|
-
} from "./chunk-6A6XOOYD.js";
|
|
5
|
-
import "./chunk-JLIACIKN.js";
|
|
6
|
-
import "./chunk-4ZXXHD34.js";
|
|
7
|
-
import "./chunk-MTYJPPIG.js";
|
|
8
|
-
import "./chunk-BTYRPZON.js";
|
|
9
|
-
import "./chunk-ZPWHCABL.js";
|
|
10
|
-
export {
|
|
11
|
-
AttributedInsightSchema,
|
|
12
|
-
synthesizeResearch
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=research-helpers-synthesize-DNEQZ56K.js.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
runConfigInitSync
|
|
3
|
-
} from "./chunk-XC3ZVY6S.js";
|
|
4
|
-
import "./chunk-4ZXXHD34.js";
|
|
5
|
-
import "./chunk-MTYJPPIG.js";
|
|
6
|
-
import "./chunk-BTYRPZON.js";
|
|
7
|
-
import "./chunk-ZPWHCABL.js";
|
|
8
|
-
export {
|
|
9
|
-
runConfigInitSync
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=setup-config-OOS7USYV.js.map
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
NEXUS_DATA_DIR,
|
|
3
|
-
describeDataDirFix,
|
|
4
|
-
initDataDirectories
|
|
5
|
-
} from "./chunk-Q2ZBQQGY.js";
|
|
6
|
-
import "./chunk-F4OGKWX2.js";
|
|
7
|
-
import "./chunk-T6AREZER.js";
|
|
8
|
-
import "./chunk-QH53RCQ6.js";
|
|
9
|
-
import "./chunk-OQB3XC5O.js";
|
|
10
|
-
import "./chunk-D6ZN3IUC.js";
|
|
11
|
-
import "./chunk-AJ7P4SID.js";
|
|
12
|
-
import "./chunk-7LP6VJRP.js";
|
|
13
|
-
import "./chunk-IT7QW2UK.js";
|
|
14
|
-
import "./chunk-2TJUC7OA.js";
|
|
15
|
-
import "./chunk-Y367HRJV.js";
|
|
16
|
-
import "./chunk-IGERXSCP.js";
|
|
17
|
-
import "./chunk-T46RV7Y7.js";
|
|
18
|
-
import "./chunk-AW6RARII.js";
|
|
19
|
-
import "./chunk-QZUG667L.js";
|
|
20
|
-
import "./chunk-YA7LV26Z.js";
|
|
21
|
-
import "./chunk-YKRMWZCX.js";
|
|
22
|
-
import "./chunk-4ZXXHD34.js";
|
|
23
|
-
import "./chunk-MTYJPPIG.js";
|
|
24
|
-
import "./chunk-BTYRPZON.js";
|
|
25
|
-
import "./chunk-ZPWHCABL.js";
|
|
26
|
-
export {
|
|
27
|
-
NEXUS_DATA_DIR,
|
|
28
|
-
describeDataDirFix,
|
|
29
|
-
initDataDirectories
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=setup-data-dir-TODDUZIO.js.map
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
UnifiedAdapterRegistry,
|
|
3
|
-
claimGlobalRegistry,
|
|
4
|
-
createUnifiedRegistry,
|
|
5
|
-
getGlobalRegistry,
|
|
6
|
-
resetGlobalRegistry
|
|
7
|
-
} from "./chunk-AJ7P4SID.js";
|
|
8
|
-
import "./chunk-IT7QW2UK.js";
|
|
9
|
-
import "./chunk-2TJUC7OA.js";
|
|
10
|
-
import "./chunk-Y367HRJV.js";
|
|
11
|
-
import "./chunk-IGERXSCP.js";
|
|
12
|
-
import "./chunk-T46RV7Y7.js";
|
|
13
|
-
import "./chunk-AW6RARII.js";
|
|
14
|
-
import "./chunk-QZUG667L.js";
|
|
15
|
-
import "./chunk-YA7LV26Z.js";
|
|
16
|
-
import "./chunk-YKRMWZCX.js";
|
|
17
|
-
import "./chunk-4ZXXHD34.js";
|
|
18
|
-
import "./chunk-MTYJPPIG.js";
|
|
19
|
-
import "./chunk-BTYRPZON.js";
|
|
20
|
-
import "./chunk-ZPWHCABL.js";
|
|
21
|
-
export {
|
|
22
|
-
UnifiedAdapterRegistry,
|
|
23
|
-
claimGlobalRegistry,
|
|
24
|
-
createUnifiedRegistry,
|
|
25
|
-
getGlobalRegistry,
|
|
26
|
-
resetGlobalRegistry
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=unified-registry-UYD65GIO.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|