nexus-agents 9.4.0 → 9.4.1

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.
Files changed (24) hide show
  1. package/dist/{chunk-AI6LKFGU.js → chunk-72IBCL2X.js} +2 -2
  2. package/dist/{chunk-TQEXRC5C.js → chunk-B5YROFD2.js} +8 -8
  3. package/dist/{chunk-ETGNAHY3.js → chunk-IU7CN5UQ.js} +2 -2
  4. package/dist/{chunk-LWLFWWA7.js → chunk-L34WFGDZ.js} +2 -2
  5. package/dist/{chunk-II4XITQ6.js → chunk-OCKU3I4A.js} +3 -3
  6. package/dist/{chunk-ONWH4UGD.js → chunk-PFGLZZ7E.js} +44 -15
  7. package/dist/{chunk-ONWH4UGD.js.map → chunk-PFGLZZ7E.js.map} +1 -1
  8. package/dist/cli.js +7 -7
  9. package/dist/{consensus-vote-RD3SME3K.js → consensus-vote-5PNCR3FT.js} +4 -4
  10. package/dist/{improvement-review-RAISKC3W.js → improvement-review-SRQQBAGG.js} +4 -4
  11. package/dist/index.d.ts +9 -3
  12. package/dist/index.js +6 -6
  13. package/dist/{setup-data-dir-5MRGQD2G.js → setup-data-dir-B6URVYUD.js} +3 -3
  14. package/node_modules/@modelcontextprotocol/sdk/README.md +8 -2
  15. package/node_modules/@modelcontextprotocol/sdk/package.json +1 -1
  16. package/package.json +1 -1
  17. /package/dist/{chunk-AI6LKFGU.js.map → chunk-72IBCL2X.js.map} +0 -0
  18. /package/dist/{chunk-TQEXRC5C.js.map → chunk-B5YROFD2.js.map} +0 -0
  19. /package/dist/{chunk-ETGNAHY3.js.map → chunk-IU7CN5UQ.js.map} +0 -0
  20. /package/dist/{chunk-LWLFWWA7.js.map → chunk-L34WFGDZ.js.map} +0 -0
  21. /package/dist/{chunk-II4XITQ6.js.map → chunk-OCKU3I4A.js.map} +0 -0
  22. /package/dist/{consensus-vote-RD3SME3K.js.map → consensus-vote-5PNCR3FT.js.map} +0 -0
  23. /package/dist/{improvement-review-RAISKC3W.js.map → improvement-review-SRQQBAGG.js.map} +0 -0
  24. /package/dist/{setup-data-dir-5MRGQD2G.js.map → setup-data-dir-B6URVYUD.js.map} +0 -0
package/dist/cli.js CHANGED
@@ -165,7 +165,7 @@ import {
165
165
  validateWorkflow,
166
166
  withPanelWorkspace,
167
167
  wrapInMarkdownFence
168
- } from "./chunk-TQEXRC5C.js";
168
+ } from "./chunk-B5YROFD2.js";
169
169
  import "./chunk-6Z3MAHAC.js";
170
170
  import "./chunk-WDAND5YU.js";
171
171
  import {
@@ -189,7 +189,7 @@ import {
189
189
  registerConsensusVoteTool,
190
190
  seatFallbacks,
191
191
  toRecordDecision
192
- } from "./chunk-ONWH4UGD.js";
192
+ } from "./chunk-PFGLZZ7E.js";
193
193
  import {
194
194
  synthesizeResearch
195
195
  } from "./chunk-Q7RFJSR5.js";
@@ -227,14 +227,14 @@ import {
227
227
  renderPlanAsResearch,
228
228
  runImprovementReview,
229
229
  scanForSecrets
230
- } from "./chunk-AI6LKFGU.js";
230
+ } from "./chunk-72IBCL2X.js";
231
231
  import {
232
232
  getGlobalExecutionMode,
233
233
  setGlobalExecutionMode,
234
234
  setGlobalPolicyFirewall,
235
235
  setSecureHandlerAuditLogger,
236
236
  stagePolicyFirewallForRollout
237
- } from "./chunk-ETGNAHY3.js";
237
+ } from "./chunk-IU7CN5UQ.js";
238
238
  import "./chunk-6WPXQTQY.js";
239
239
  import "./chunk-4GDMHCKX.js";
240
240
  import "./chunk-3UWT434E.js";
@@ -299,7 +299,7 @@ import {
299
299
  initDataDirectories,
300
300
  printDoctorSummary,
301
301
  runDoctor
302
- } from "./chunk-II4XITQ6.js";
302
+ } from "./chunk-OCKU3I4A.js";
303
303
  import {
304
304
  allOf,
305
305
  anyOf
@@ -308,7 +308,7 @@ import {
308
308
  NODE_ENGINE_RANGE,
309
309
  VERSION,
310
310
  isNodeVersionSupported
311
- } from "./chunk-LWLFWWA7.js";
311
+ } from "./chunk-L34WFGDZ.js";
312
312
  import "./chunk-6H4NUU7G.js";
313
313
  import {
314
314
  GatewayHostRefusedError,
@@ -20102,7 +20102,7 @@ function startImprovementReviewScheduler(options) {
20102
20102
  let running = false;
20103
20103
  const runOnce = async () => {
20104
20104
  try {
20105
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-RAISKC3W.js");
20105
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-SRQQBAGG.js");
20106
20106
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
20107
20107
  const result = await runImprovementReview2(input, { logger: logger23 });
20108
20108
  logger23.info("Scheduled improvement_review complete", {
@@ -10,12 +10,12 @@ import {
10
10
  resetCorrelationTracker,
11
11
  runConsensusForGoal,
12
12
  unwrapVoteOrThrow
13
- } from "./chunk-ONWH4UGD.js";
14
- import "./chunk-ETGNAHY3.js";
13
+ } from "./chunk-PFGLZZ7E.js";
14
+ import "./chunk-IU7CN5UQ.js";
15
15
  import "./chunk-2AN5NGCQ.js";
16
16
  import "./chunk-ZO6ZKR7L.js";
17
17
  import "./chunk-EZNIYU5T.js";
18
- import "./chunk-LWLFWWA7.js";
18
+ import "./chunk-L34WFGDZ.js";
19
19
  import "./chunk-C5WECFBR.js";
20
20
  import "./chunk-TFQMVUWQ.js";
21
21
  import "./chunk-ONYCBTOH.js";
@@ -55,4 +55,4 @@ export {
55
55
  runConsensusForGoal,
56
56
  unwrapVoteOrThrow
57
57
  };
58
- //# sourceMappingURL=consensus-vote-RD3SME3K.js.map
58
+ //# sourceMappingURL=consensus-vote-5PNCR3FT.js.map
@@ -10,9 +10,9 @@ import {
10
10
  loadSelfEvalSignals,
11
11
  registerImprovementReviewTool,
12
12
  runImprovementReview
13
- } from "./chunk-AI6LKFGU.js";
14
- import "./chunk-ETGNAHY3.js";
15
- import "./chunk-LWLFWWA7.js";
13
+ } from "./chunk-72IBCL2X.js";
14
+ import "./chunk-IU7CN5UQ.js";
15
+ import "./chunk-L34WFGDZ.js";
16
16
  import "./chunk-ECJ52NSK.js";
17
17
  import "./chunk-2AW2VHMK.js";
18
18
  import "./chunk-7XJZTSHW.js";
@@ -34,4 +34,4 @@ export {
34
34
  registerImprovementReviewTool,
35
35
  runImprovementReview
36
36
  };
37
- //# sourceMappingURL=improvement-review-RAISKC3W.js.map
37
+ //# sourceMappingURL=improvement-review-SRQQBAGG.js.map
package/dist/index.d.ts CHANGED
@@ -21894,7 +21894,7 @@ declare class OrchestrationUnavailableError extends AgentError$1 {
21894
21894
  *
21895
21895
  * Extends the in-memory OutcomeStore with disk-backed append-only
21896
21896
  * JSONL storage. Hydrates on construction, appends on every write.
21897
- * Corrupt lines are skipped with a warning (graceful degradation).
21897
+ * Unreadable lines are skipped with a count-only warning and preserved on rewrite.
21898
21898
  *
21899
21899
  * @module orchestration/outcomes/outcome-store-persistence
21900
21900
  * (Source: Issue #1009 — Cross-session persistence)
@@ -21911,11 +21911,13 @@ interface PersistentOutcomeStoreConfig extends OutcomeStoreConfig {
21911
21911
  *
21912
21912
  * - Construction: hydrates from existing JSONL file (Zod-validates each line)
21913
21913
  * - Append: calls super.append() then appendFileSync one JSON line
21914
- * - Corruption: bad lines are skipped with a warning log
21914
+ * - Unreadable lines: retained verbatim, with one count-only warning per load
21915
21915
  */
21916
21916
  declare class PersistentOutcomeStore extends OutcomeStore {
21917
21917
  private readonly filePath;
21918
21918
  private readonly logger;
21919
+ /** Raw unreadable segments, including their original line terminators. */
21920
+ private readonly unreadableLines;
21919
21921
  constructor(config?: PersistentOutcomeStoreConfig, logger?: ILogger);
21920
21922
  /** Override append to persist each entry to disk. */
21921
21923
  append(outcome: TaskOutcome$1): void;
@@ -21932,7 +21934,11 @@ declare class PersistentOutcomeStore extends OutcomeStore {
21932
21934
  private purgeSkippedOnHydrate;
21933
21935
  private reclassifyHydrated;
21934
21936
  private hydrate;
21935
- /** Rewrite the JSONL file from in-memory state after reclassification. */
21937
+ /**
21938
+ * Atomically rewrite readable records, then append unreadable segments verbatim.
21939
+ * Their relative order is preserved; their positions among readable records may
21940
+ * change after reclassification, purge or FIFO eviction (#7146).
21941
+ */
21936
21942
  private rewriteFile;
21937
21943
  private persistLine;
21938
21944
  }
package/dist/index.js CHANGED
@@ -538,7 +538,7 @@ import {
538
538
  withLogging,
539
539
  withRetry,
540
540
  withRetryWrapper
541
- } from "./chunk-TQEXRC5C.js";
541
+ } from "./chunk-B5YROFD2.js";
542
542
  import {
543
543
  AST_RULE_LANGUAGES,
544
544
  AST_RULE_SEVERITIES,
@@ -601,7 +601,7 @@ import {
601
601
  generateProposalId,
602
602
  parseAgentPairKey,
603
603
  registerConsensusVoteTool
604
- } from "./chunk-ONWH4UGD.js";
604
+ } from "./chunk-PFGLZZ7E.js";
605
605
  import "./chunk-Q7RFJSR5.js";
606
606
  import {
607
607
  AgentActionSchema,
@@ -656,7 +656,7 @@ import {
656
656
  import {
657
657
  ImprovementReviewInputSchema,
658
658
  registerImprovementReviewTool
659
- } from "./chunk-AI6LKFGU.js";
659
+ } from "./chunk-72IBCL2X.js";
660
660
  import {
661
661
  ConsensusAlgorithmSchema,
662
662
  ConsensusEngineConfigSchema,
@@ -692,7 +692,7 @@ import {
692
692
  toolSuccess,
693
693
  toolSuccessStructured,
694
694
  validateToolInput
695
- } from "./chunk-ETGNAHY3.js";
695
+ } from "./chunk-IU7CN5UQ.js";
696
696
  import {
697
697
  FALLBACK_SCANNER_DATA,
698
698
  buildPlanFromAnalysis,
@@ -740,13 +740,13 @@ import {
740
740
  connectTransport,
741
741
  createServer,
742
742
  startStdioServer
743
- } from "./chunk-II4XITQ6.js";
743
+ } from "./chunk-OCKU3I4A.js";
744
744
  import {
745
745
  allOf
746
746
  } from "./chunk-EZNIYU5T.js";
747
747
  import {
748
748
  VERSION
749
- } from "./chunk-LWLFWWA7.js";
749
+ } from "./chunk-L34WFGDZ.js";
750
750
  import "./chunk-6H4NUU7G.js";
751
751
  import {
752
752
  OPENAI_MODELS,
@@ -2,9 +2,9 @@ import {
2
2
  NEXUS_DATA_DIR,
3
3
  describeDataDirFix,
4
4
  initDataDirectories
5
- } from "./chunk-II4XITQ6.js";
5
+ } from "./chunk-OCKU3I4A.js";
6
6
  import "./chunk-EZNIYU5T.js";
7
- import "./chunk-LWLFWWA7.js";
7
+ import "./chunk-L34WFGDZ.js";
8
8
  import "./chunk-6H4NUU7G.js";
9
9
  import "./chunk-C5WECFBR.js";
10
10
  import "./chunk-TFQMVUWQ.js";
@@ -33,4 +33,4 @@ export {
33
33
  describeDataDirFix,
34
34
  initDataDirectories
35
35
  };
36
- //# sourceMappingURL=setup-data-dir-5MRGQD2G.js.map
36
+ //# sourceMappingURL=setup-data-dir-B6URVYUD.js.map
@@ -1,4 +1,10 @@
1
- # MCP TypeScript SDK [![NPM Version](https://img.shields.io/npm/v/%40modelcontextprotocol%2Fsdk)](https://www.npmjs.com/package/@modelcontextprotocol/sdk) [![MIT licensed](https://img.shields.io/npm/l/%40modelcontextprotocol%2Fsdk)](https://github.com/modelcontextprotocol/typescript-sdk/blob/main/LICENSE)
1
+ # MCP TypeScript SDK [![NPM Version](https://img.shields.io/npm/v/%40modelcontextprotocol%2Fsdk)](https://www.npmjs.com/package/@modelcontextprotocol/sdk) [![MIT licensed](https://img.shields.io/npm/l/%40modelcontextprotocol%2Fsdk)](https://github.com/modelcontextprotocol/typescript-sdk/blob/v1.x/LICENSE)
2
+
3
+ > **This is v1.x of the MCP TypeScript SDK, the maintenance line.** It implements the MCP spec up to 2025-11-25. Support for the [2026-07-28 spec](https://modelcontextprotocol.io/specification/2026-07-28) is not planned for v1.x: it is in v2, the current stable release, which
4
+ > ships as separate packages, [`@modelcontextprotocol/server`](https://www.npmjs.com/package/@modelcontextprotocol/server) and [`@modelcontextprotocol/client`](https://www.npmjs.com/package/@modelcontextprotocol/client). See the
5
+ > [v2 documentation](https://ts.sdk.modelcontextprotocol.io/v2/) and the [migration guide](https://ts.sdk.modelcontextprotocol.io/v2/migration/upgrade-to-v2).
6
+ >
7
+ > **Staying on v1.x?** It continues to receive bug fixes and security updates for at least six months after the v2 release (2026-07-27). The v1 documentation is at <https://ts.sdk.modelcontextprotocol.io/>.
2
8
 
3
9
  <details>
4
10
  <summary>Table of Contents</summary>
@@ -17,7 +23,7 @@
17
23
  ## Overview
18
24
 
19
25
  The Model Context Protocol allows applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM interaction. This TypeScript SDK implements
20
- [the full MCP specification](https://modelcontextprotocol.io/specification/draft), making it easy to:
26
+ [the 2025-11-25 MCP specification](https://modelcontextprotocol.io/specification/2025-11-25), making it easy to:
21
27
 
22
28
  - Create MCP servers that expose resources, prompts and tools
23
29
  - Build MCP clients that can connect to any MCP server
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modelcontextprotocol/sdk",
3
- "version": "1.32.0",
3
+ "version": "1.32.1",
4
4
  "description": "Model Context Protocol implementation for TypeScript",
5
5
  "license": "MIT",
6
6
  "author": "Anthropic, PBC (https://anthropic.com)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-agents",
3
- "version": "9.4.0",
3
+ "version": "9.4.1",
4
4
  "description": "Governance substrate for AI coding agents — adversarial PR review, drift-detected rules, tamper-evident audit, and closed-loop outcome routing for Claude, Codex, Gemini, and OpenCode",
5
5
  "mcpName": "io.github.nexus-substrate/nexus-agents",
6
6
  "license": "MIT",