@gjermundgaraba/effect-actions 0.13.0 → 0.14.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/README.md CHANGED
@@ -100,11 +100,11 @@ const greeting = Effect.gen(function* () {
100
100
  ## Install
101
101
 
102
102
  ```sh
103
- pnpm add @gjermundgaraba/effect-actions effect@~4.0.3
103
+ pnpm add @gjermundgaraba/effect-actions effect@~4.0.4
104
104
  ```
105
105
 
106
106
  It needs TypeScript 7 or newer and is ESM only
107
- ([docs/setup.md](docs/setup.md#install)). Add `@effect/platform-node@~4.0.3` to serve or run a CLI from Node. Every module is a
107
+ ([docs/setup.md](docs/setup.md#install)). Add `@effect/platform-node@~4.0.4` to serve or run a CLI from Node. Every module is a
108
108
  subpath import (`.../Action`, `.../ActionHttp`, ...); there is no package root, so a
109
109
  contracts-only bundle never loads a server.
110
110
 
@@ -31,7 +31,7 @@ The tasks are in [setup.md](setup.md).
31
31
  such as `found 4.1.0`, or a start failing with `Cannot find module '…/effect/dist/…'` under an
32
32
  `@effect/*` package: more than one Effect release is installed, or one outside the peer
33
33
  range. Install the `effect` range [Install](setup.md#install) names, with every `@effect/*`
34
- package at the version `effect` resolved to, such as `@effect/platform-node@4.0.3` beside
35
- `effect@4.0.3`.
34
+ package at the version `effect` resolved to, such as `@effect/platform-node@4.0.4` beside
35
+ `effect@4.0.4`.
36
36
  - `Cannot find module 'effect/unstable/http'` (or `…/httpapi`, `…/cli`, `…/ai`): these modules
37
37
  are now `effect/http`, `effect/http-api`, `effect/cli` and `effect/ai`.
package/docs/setup.md CHANGED
@@ -10,21 +10,21 @@ When something fails, search [setup-failures.md](setup-failures.md). Reading ord
10
10
  ## Install
11
11
 
12
12
  ```sh
13
- pnpm add @gjermundgaraba/effect-actions effect@~4.0.3
13
+ pnpm add @gjermundgaraba/effect-actions effect@~4.0.4
14
14
  ```
15
15
 
16
16
  | Need | Add |
17
17
  | ----------------------------------- | ---------------------------------------------------------------- |
18
- | Node HTTP server, stdio host or CLI | `@effect/platform-node@~4.0.3` |
19
- | Tests | `vitest@^5.0.3` and `@effect/vitest@~4.0.3`, as dev dependencies |
18
+ | Node HTTP server, stdio host or CLI | `@effect/platform-node@~4.0.4` |
19
+ | Tests | `vitest@^5.0.3` and `@effect/vitest@~4.0.4`, as dev dependencies |
20
20
  | Type checking | `typescript@^7.0.2`, as a dev dependency |
21
21
  | Running a TypeScript entrypoint | `tsx`, as a dev dependency: `node --import tsx <entrypoint>.ts` |
22
22
 
23
23
  The `effect` peer admits only the patches of the Effect release the package is tested against:
24
24
  a minor release may change the unstable Effect modules the surfaces build on.
25
25
 
26
- Keep the tilde in `package.json`: `^4.0.3`, which npm writes for `effect@4.0.3`, admits a minor
27
- release outside the peer range. `npm install effect@~4.0.3` keeps it.
26
+ Keep the tilde in `package.json`: `^4.0.4`, which npm writes for `effect@4.0.4`, admits a minor
27
+ release outside the peer range. `npm install effect@~4.0.4` keeps it.
28
28
 
29
29
  Node `^22.12.0 || ^24.0.0 || >=26.0.0`: the package's `engines`, where its `devEngines` is
30
30
  what developing the library itself takes. TypeScript 7 or newer. ESM only. No example ships a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjermundgaraba/effect-actions",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "Define Effect action contracts once and project them onto HTTP, MCP, Effect RPC, native Toolkits, and CLIs.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -49,11 +49,11 @@
49
49
  "access": "public"
50
50
  },
51
51
  "devDependencies": {
52
- "@effect/platform-node": "4.0.3",
53
- "@effect/vitest": "4.0.3",
52
+ "@effect/platform-node": "4.0.4",
53
+ "@effect/vitest": "4.0.4",
54
54
  "@modelcontextprotocol/client": "2.3.1",
55
55
  "@types/node": "26.6.4",
56
- "effect": "4.0.3",
56
+ "effect": "4.0.4",
57
57
  "tsx": "4.23.15",
58
58
  "typescript": "7.0.2",
59
59
  "vite": "npm:@voidzero-dev/vite-plus-core@1.1.0",
@@ -61,7 +61,7 @@
61
61
  "vitest": "5.0.3"
62
62
  },
63
63
  "peerDependencies": {
64
- "effect": "~4.0.3"
64
+ "effect": "~4.0.4"
65
65
  },
66
66
  "devEngines": {
67
67
  "packageManager": {