darwin-langgraph 0.4.0-alpha.1 → 0.5.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/CHANGELOG.md +27 -0
- package/README.md +12 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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] — 2026-06-20
|
|
7
|
+
|
|
8
|
+
Compatibility + tracking release, promoted to `latest`. **Zero breaking
|
|
9
|
+
changes** — no public surface changed; every V0.4 consumer keeps working
|
|
10
|
+
unchanged. This is the first stable `latest` since 0.1.0-alpha.1: `npm i
|
|
11
|
+
darwin-langgraph` now resolves to 0.5.0 (verified against LangGraph 1.4.4 and
|
|
12
|
+
darwin-agents 0.7.0).
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- **LangGraph 1.4.x verified.** Tested green against `@langchain/langgraph@1.4.4`
|
|
17
|
+
(242/242 vitest). The peer range is now `^1.3.0 || ^1.4.0`. LangGraph 1.4.4
|
|
18
|
+
ships an `ensureLangGraphConfig` fix that isolates concurrent singleton-agent
|
|
19
|
+
invocations by thread; the adapter's `DarwinCallbackHandler` already keys all
|
|
20
|
+
state on the per-invoke LangChain `runId`, so it composes cleanly with it.
|
|
21
|
+
- **darwin-agents peer widened** to `>=0.5.0-alpha.1 <0.8.0` to track
|
|
22
|
+
`darwin-agents@0.7.0-alpha.1` (statistical-rigor + coverage-sampling wave). The
|
|
23
|
+
re-exported `ExecutionTrace` / trajectory types are unchanged, so the adapter
|
|
24
|
+
is compatible across darwin-agents 0.5 → 0.7.
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- **Concurrent-isolation regression test** — two parallel `graph.invoke()` runs
|
|
29
|
+
with distinct trajectories now assert each `onTrajectory` event carries its
|
|
30
|
+
OWN trajectory mapped to the correct node/agent (no cross-leak), guarding the
|
|
31
|
+
LangGraph 1.4.x concurrent-singleton behaviour explicitly.
|
|
32
|
+
|
|
6
33
|
## [0.4.0-alpha.1] — 2026-05-29
|
|
7
34
|
|
|
8
35
|
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.
|
|
226
|
+
| `0.5.0` | `>=0.5.0-alpha.1 <0.8.0` | `^1.3.0 \|\| ^1.4.0` | stable / `latest` (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
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
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.
|
|
53
|
+
export declare const VERSION = "0.5.0";
|
|
54
54
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,OAAO,EACL,gBAAgB,EAChB,KAAK,uBAAuB,EAC5B,KAAK,YAAY,EACjB,KAAK,2BAA2B,GACjC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,8BAA8B,GAC/B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,mBAAmB,EACnB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,GAC3B,MAAM,4BAA4B,CAAC;AAIpC,OAAO,EACL,qBAAqB,EACrB,uBAAuB,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B,EAC3B,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,GAC3B,MAAM,4BAA4B,CAAC;AAIpC,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,KAAK,4BAA4B,EACjC,KAAK,eAAe,GACrB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,GACzB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EACL,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,4BAA4B,EAC5B,gCAAgC,EAChC,kCAAkC,GACnC,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,GACrB,MAAM,2BAA2B,CAAC;AAGnC,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,8BAA8B,GAC/B,MAAM,aAAa,CAAC;AAErB,YAAY,EACV,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,SAAS,EACT,aAAa,EACb,eAAe,EACf,cAAc,GACf,MAAM,YAAY,CAAC;AAEpB,mEAAmE;AACnE,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
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.
|
|
59
|
+
export const VERSION = "0.5.0";
|
|
60
60
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,OAAO,EACL,gBAAgB,GAIjB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,8BAA8B,GAC/B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,mBAAmB,GAIpB,MAAM,4BAA4B,CAAC;AAEpC,kFAAkF;AAClF,kFAAkF;AAClF,OAAO,EACL,qBAAqB,EACrB,uBAAuB,GAGxB,MAAM,8BAA8B,CAAC;AAEtC,iDAAiD;AACjD,0EAA0E;AAC1E,OAAO,EACL,gBAAgB,EAChB,wBAAwB,GAIzB,MAAM,yBAAyB,CAAC;AAEjC,0FAA0F;AAC1F,OAAO,EACL,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,iCAAiC,CAAC;AAEzC,+EAA+E;AAC/E,OAAO,EACL,4BAA4B,EAC5B,gCAAgC,EAChC,kCAAkC,GACnC,MAAM,qCAAqC,CAAC;AAE7C,0EAA0E;AAC1E,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,GAI3B,MAAM,mBAAmB,CAAC;AAE3B,qEAAqE;AACrE,OAAO,EACL,iBAAiB,GAGlB,MAAM,2BAA2B,CAAC;AAKnC,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,8BAA8B,GAC/B,MAAM,aAAa,CAAC;AAarB,mEAAmE;AACnE,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,OAAO,EACL,gBAAgB,GAIjB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,8BAA8B,GAC/B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,mBAAmB,GAIpB,MAAM,4BAA4B,CAAC;AAEpC,kFAAkF;AAClF,kFAAkF;AAClF,OAAO,EACL,qBAAqB,EACrB,uBAAuB,GAGxB,MAAM,8BAA8B,CAAC;AAEtC,iDAAiD;AACjD,0EAA0E;AAC1E,OAAO,EACL,gBAAgB,EAChB,wBAAwB,GAIzB,MAAM,yBAAyB,CAAC;AAEjC,0FAA0F;AAC1F,OAAO,EACL,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,iCAAiC,CAAC;AAEzC,+EAA+E;AAC/E,OAAO,EACL,4BAA4B,EAC5B,gCAAgC,EAChC,kCAAkC,GACnC,MAAM,qCAAqC,CAAC;AAE7C,0EAA0E;AAC1E,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,GAI3B,MAAM,mBAAmB,CAAC;AAE3B,qEAAqE;AACrE,OAAO,EACL,iBAAiB,GAGlB,MAAM,2BAA2B,CAAC;AAKnC,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,8BAA8B,GAC/B,MAAM,aAAa,CAAC;AAarB,mEAAmE;AACnE,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "darwin-langgraph",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "LangGraph.js adapter for darwin-agents — wrap self-evolving Darwin agents as StateGraph nodes with zero hard deps. V0.4
|
|
3
|
+
"version": "0.5.0",
|
|
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": "
|
|
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.
|
|
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",
|
|
@@ -73,7 +73,6 @@
|
|
|
73
73
|
"node": ">=20"
|
|
74
74
|
},
|
|
75
75
|
"publishConfig": {
|
|
76
|
-
"access": "public"
|
|
77
|
-
"tag": "alpha"
|
|
76
|
+
"access": "public"
|
|
78
77
|
}
|
|
79
78
|
}
|