relayflows 2.0.1 → 2.0.3

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/README.md +11 -0
  2. package/package.json +6 -2
package/README.md CHANGED
@@ -17,4 +17,15 @@ carry the same version number, and this package pins its dependency to that
17
17
  exact version rather than a range, so `npm install -g relayflows` always
18
18
  resolves the SDK build it shipped with.
19
19
 
20
+ It also declares the per-platform runtime packages
21
+ (`@relayflows/runtime-linux-x64`, `@relayflows/runtime-darwin-arm64`) as
22
+ `optionalDependencies`, pinned the same way. Each declares `os`/`cpu`, so npm
23
+ installs only the one matching the current machine and silently skips the
24
+ rest — this is what lets `flows run` spawn `relayflowd` with no manual build
25
+ step (`kernel/DAEMON-LIFECYCLE.md` §3.1's `relayflowd-path.ts` resolution
26
+ finds it as an optional dependency of this package). A platform with no
27
+ runtime package yet (Intel Mac, Windows) installs `relayflows` fine; `flows`
28
+ then falls through to a source checkout or `PATH`, and refuses with
29
+ `relayflowd_not_found` if neither has a binary.
30
+
20
31
  See `@relayflows/sdk` and `docs/SURFACE.md` for what the CLI actually does.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "relayflows",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Relayflow v2 CLI. Installs the `flows` command — a thin wrapper around @relayflows/sdk, published under the unscoped name for `npm install -g relayflows`.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -16,7 +16,11 @@
16
16
  "flows": "./bin/flows.js"
17
17
  },
18
18
  "dependencies": {
19
- "@relayflows/sdk": "2.0.1"
19
+ "@relayflows/sdk": "2.0.3"
20
+ },
21
+ "optionalDependencies": {
22
+ "@relayflows/runtime-linux-x64": "2.0.3",
23
+ "@relayflows/runtime-darwin-arm64": "2.0.3"
20
24
  },
21
25
  "engines": {
22
26
  "node": ">=20"