darwin-langgraph 0.4.0-alpha.1 → 0.5.0-alpha.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to `darwin-langgraph` are documented here.
4
4
  The project adheres to [Semantic Versioning](https://semver.org/).
5
5
 
6
+ ## [0.5.0-alpha.1] — 2026-06-19
7
+
8
+ Compatibility + tracking release. **Zero breaking changes** — no public surface
9
+ changed; every V0.4 consumer keeps working unchanged.
10
+
11
+ ### Changed
12
+
13
+ - **LangGraph 1.4.x verified.** Tested green against `@langchain/langgraph@1.4.4`
14
+ (242/242 vitest). The peer range is now `^1.3.0 || ^1.4.0`. LangGraph 1.4.4
15
+ ships an `ensureLangGraphConfig` fix that isolates concurrent singleton-agent
16
+ invocations by thread; the adapter's `DarwinCallbackHandler` already keys all
17
+ state on the per-invoke LangChain `runId`, so it composes cleanly with it.
18
+ - **darwin-agents peer widened** to `>=0.5.0-alpha.1 <0.8.0` to track
19
+ `darwin-agents@0.7.0-alpha.1` (statistical-rigor + coverage-sampling wave). The
20
+ re-exported `ExecutionTrace` / trajectory types are unchanged, so the adapter
21
+ is compatible across darwin-agents 0.5 → 0.7.
22
+
23
+ ### Added
24
+
25
+ - **Concurrent-isolation regression test** — two parallel `graph.invoke()` runs
26
+ with distinct trajectories now assert each `onTrajectory` event carries its
27
+ OWN trajectory mapped to the correct node/agent (no cross-leak), guarding the
28
+ LangGraph 1.4.x concurrent-singleton behaviour explicitly.
29
+
6
30
  ## [0.4.0-alpha.1] — 2026-05-29
7
31
 
8
32
  V0.4 is an additive release that closes the V0.3 R2 deferrals and lands
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ <!-- studiomeyer-mcp-stack-banner:start -->
2
+ > **Part of the [StudioMeyer MCP Stack](https://studiomeyer.io)** — Built in Mallorca 🌴 · ⭐ if you use it
3
+ <!-- studiomeyer-mcp-stack-banner:end -->
4
+
1
5
  # darwin-langgraph
2
6
 
3
7
  > **LangGraph.js adapter for [`darwin-agents`](https://www.npmjs.com/package/darwin-agents).**
@@ -219,14 +223,17 @@ The [`examples/`](./examples/) directory ships three runnable scripts:
219
223
 
220
224
  | `darwin-langgraph` | `darwin-agents` | `@langchain/langgraph` | Status |
221
225
  |---|---|---|---|
222
- | `0.3.0-alpha.x` | `^0.5.0-alpha.1` | `^1.3.0` | alpha (this release) |
226
+ | `0.5.0-alpha.x` | `>=0.5.0-alpha.1 <0.8.0` | `^1.3.0 \|\| ^1.4.0` | alpha (this release) |
227
+ | `0.4.0-alpha.x` | `^0.5.0-alpha.1` | `^1.3.0` | superseded |
228
+ | `0.3.0-alpha.x` | `^0.5.0-alpha.1` | `^1.3.0` | superseded |
223
229
  | `0.2.0-alpha.x` | `^0.5.0-alpha.1` | `^1.3.0` | superseded |
224
230
  | `0.1.0-alpha.x` | `^0.5.0-alpha.1` | `^1.3.0` | superseded |
225
231
 
226
- The peer-dep range `darwin-agents: "^0.5.0-alpha.1"` follows npm's
227
- prerelease semver rules `0.5.0-alpha.N` and `0.5.0` final satisfy it,
228
- but `0.5.1-alpha.0` does NOT. A patch release of this adapter will be
229
- required when `darwin-agents` bumps past `0.5.x`.
232
+ As of `0.5.0-alpha.1` the adapter is **verified against
233
+ `@langchain/langgraph@1.4.4`** (242/242 tests) and the `darwin-agents` peer is
234
+ widened to `>=0.5.0-alpha.1 <0.8.0`, so it tracks `darwin-agents@0.7.x` without
235
+ a patch bump. The re-exported trajectory types (`ExecutionTrace` et al.) are
236
+ unchanged across darwin-agents 0.5 → 0.7, so the adapter contract is stable.
230
237
 
231
238
  ## V0.3 — observability + safety (LIVE this release)
232
239
 
package/dist/index.d.ts CHANGED
@@ -50,5 +50,5 @@ export type { DarwinNodeAttemptInfo } from "./create-darwin-node.js";
50
50
  export { DarwinNodeError, DarwinEvolutionHookError, DarwinTokenBudgetExceededError, } from "./errors.js";
51
51
  export type { AgentDefinition, DarwinExperiment, ExecutionTrace, MemoryProvider, RunResult, TraceToolCall, TraceTokenUsage, TraceTurnError, } from "./types.js";
52
52
  /** Adapter version — sync with `package.json` on every release. */
53
- export declare const VERSION = "0.4.0-alpha.1";
53
+ export declare const VERSION = "0.5.0-alpha.1";
54
54
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -56,5 +56,5 @@ export { TokenBudgetCallbackHandler, createTokenBudgetCallbacks, } from "./token
56
56
  export { toW3CTraceContext, } from "./to-w3c-trace-context.js";
57
57
  export { DarwinNodeError, DarwinEvolutionHookError, DarwinTokenBudgetExceededError, } from "./errors.js";
58
58
  /** Adapter version — sync with `package.json` on every release. */
59
- export const VERSION = "0.4.0-alpha.1";
59
+ export const VERSION = "0.5.0-alpha.1";
60
60
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "darwin-langgraph",
3
- "version": "0.4.0-alpha.1",
4
- "description": "LangGraph.js adapter for darwin-agents — wrap self-evolving Darwin agents as StateGraph nodes with zero hard deps. V0.4 adds tool-event capture, OpenTelemetry GenAI LangGraph attributes, W3C trace context, token-budget enforcement, and an accumulating trajectory annotation.",
3
+ "version": "0.5.0-alpha.1",
4
+ "description": "LangGraph.js adapter for darwin-agents — wrap self-evolving Darwin agents as StateGraph nodes with zero hard deps. V0.5 verifies LangGraph 1.4.x compatibility (concurrent-invoke isolation) and tracks darwin-agents 0.7. V0.4 added tool-event capture, OpenTelemetry GenAI LangGraph attributes, W3C trace context, token-budget enforcement, and an accumulating trajectory annotation.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -50,8 +50,8 @@
50
50
  },
51
51
  "homepage": "https://github.com/studiomeyer-io/darwin-langgraph#readme",
52
52
  "peerDependencies": {
53
- "@langchain/langgraph": "^1.3.0",
54
- "darwin-agents": "^0.5.0-alpha.1"
53
+ "@langchain/langgraph": "^1.3.0 || ^1.4.0",
54
+ "darwin-agents": ">=0.5.0-alpha.1 <0.8.0"
55
55
  },
56
56
  "peerDependenciesMeta": {
57
57
  "@langchain/langgraph": {
@@ -62,7 +62,7 @@
62
62
  }
63
63
  },
64
64
  "devDependencies": {
65
- "@langchain/langgraph": "^1.3.2",
65
+ "@langchain/langgraph": "^1.4.4",
66
66
  "@types/node": "^22.10.0",
67
67
  "darwin-agents": "^0.5.0-alpha.1",
68
68
  "tsx": "^4.19.0",