darwin-agents 0.4.7 → 0.4.8

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 (2) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.4.8] — 2026-05-22
4
+
5
+ Hotfix on top of v0.4.7. Path resolution in the `exports` map pointed at
6
+ `./dist/*` but the v0.4.7 build emitted into `./dist/src/*` (because
7
+ `tsconfig` `rootDir` was widened to `./` so examples could compile into
8
+ `./dist/examples/`). The pre-existing entrypoints (`darwin-agents`,
9
+ `darwin-agents/providers`, `darwin-agents/memory`, `darwin-agents/agents`)
10
+ were therefore unreachable from v0.4.7 — only the new `./memory/bridge`
11
+ and `./memory/closed-loop` subpaths resolved correctly.
12
+
13
+ ### Fixed
14
+
15
+ - `main`, `types`, `bin`, and every `./dist/*` entry in `exports` now
16
+ point at `./dist/src/*` to match the actual build output layout.
17
+ - `./memory/bridge` and `./memory/closed-loop` continue to resolve to
18
+ `./dist/examples/mcp-memory-bridge.js` / `memory-darwin-integration.js`
19
+ unchanged — those paths were already correct.
20
+
21
+ ### Recommendation
22
+
23
+ Upgrade from v0.4.7 to v0.4.8 (`npm install darwin-agents@latest`).
24
+ v0.4.7 is functional only via the two new `./memory/*` subpaths; the
25
+ core API and CLI are unreachable in that release.
26
+
3
27
  ## [0.4.7] — 2026-05-22
4
28
 
5
29
  Generic MCP-Memory bridge — Darwin's closed loop now plugs into any
package/package.json CHANGED
@@ -1,29 +1,29 @@
1
1
  {
2
2
  "name": "darwin-agents",
3
- "version": "0.4.7",
3
+ "version": "0.4.8",
4
4
  "description": "AI agents that improve themselves. Self-evolving prompts via A/B testing, multi-model critics, safety gates, and pattern detection.",
5
5
  "type": "module",
6
6
  "bin": {
7
- "darwin": "./dist/cli/index.js"
7
+ "darwin": "./dist/src/cli/index.js"
8
8
  },
9
- "main": "./dist/index.js",
10
- "types": "./dist/index.d.ts",
9
+ "main": "./dist/src/index.js",
10
+ "types": "./dist/src/index.d.ts",
11
11
  "exports": {
12
12
  ".": {
13
- "import": "./dist/index.js",
14
- "types": "./dist/index.d.ts"
13
+ "import": "./dist/src/index.js",
14
+ "types": "./dist/src/index.d.ts"
15
15
  },
16
16
  "./providers": {
17
- "import": "./dist/providers/index.js",
18
- "types": "./dist/providers/index.d.ts"
17
+ "import": "./dist/src/providers/index.js",
18
+ "types": "./dist/src/providers/index.d.ts"
19
19
  },
20
20
  "./memory": {
21
- "import": "./dist/memory/index.js",
22
- "types": "./dist/memory/index.d.ts"
21
+ "import": "./dist/src/memory/index.js",
22
+ "types": "./dist/src/memory/index.d.ts"
23
23
  },
24
24
  "./agents": {
25
- "import": "./dist/agents/index.js",
26
- "types": "./dist/agents/index.d.ts"
25
+ "import": "./dist/src/agents/index.js",
26
+ "types": "./dist/src/agents/index.d.ts"
27
27
  },
28
28
  "./examples/*": {
29
29
  "import": "./dist/examples/*.js",