@smthrs/platform-node 1.0.0-rc.6 → 1.0.0-rc.7
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 +10 -10
- package/bin/win32-x64/smithers-jj-export.exe +0 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Release candidate scope, host requirements and compatibility review are defined in the [library support policy](https://github.com/smithersai/smithers/blob/main/RELEASE_SUPPORT.md).
|
|
4
4
|
|
|
5
|
-
**Documentation:** https://platform-node
|
|
5
|
+
**Documentation:** https://github.com/smithersai/smithers/tree/main/packages/smithers/flows/platform-node/docs
|
|
6
6
|
|
|
7
7
|
The Node.js Host bundle for Smithers. One layer, `NodeHost.layer`, provides the
|
|
8
8
|
five services a program runs its side effects through: a filesystem, a path
|
|
@@ -30,7 +30,7 @@ general-purpose adapter makes, so this package implements them itself:
|
|
|
30
30
|
|
|
31
31
|
`@smthrs/platform-node` is not on npm at 1.0.0-rc.0. Its source lives in the
|
|
32
32
|
[smithers repository](https://github.com/smithersai/smithers), and the
|
|
33
|
-
[installation page](https://platform-node
|
|
33
|
+
[installation page](https://github.com/smithersai/smithers/blob/main/packages/smithers/flows/platform-node/docs/installation.md) covers how
|
|
34
34
|
to depend on it from a checkout and the `effect` version it pins.
|
|
35
35
|
|
|
36
36
|
On POSIX, filesystem confinement requires Node.js 26.4.0 or later and the
|
|
@@ -131,7 +131,7 @@ effect and cancellation is fiber interruption, not an `AbortSignal`.
|
|
|
131
131
|
provided here as `NodeHttpClient.layerUndici`. Undici installs no redirect
|
|
132
132
|
interceptor, so every hop stays a separate, checkable request.
|
|
133
133
|
|
|
134
|
-
Both are what lets [`@smthrs/kernel`](https://
|
|
134
|
+
Both are what lets [`@smthrs/kernel`](https://github.com/smithersai/smithers/tree/main/packages/smithers/flows/kernel/docs) check
|
|
135
135
|
`proc:spawn` against the rendered command line before any process starts, and
|
|
136
136
|
`net:get` / `net:post` against the host of every URL a request reaches,
|
|
137
137
|
redirect targets included. Wrap the bundle in its `HostServices.layer` to get
|
|
@@ -139,7 +139,7 @@ that permission-aware projection.
|
|
|
139
139
|
|
|
140
140
|
## Where this sits
|
|
141
141
|
|
|
142
|
-
[`@smthrs/flows`](https://
|
|
142
|
+
[`@smthrs/flows`](https://github.com/smithersai/smithers/tree/main/packages/smithers/flows/docs) is the durable flow engine: flows,
|
|
143
143
|
actions, the journal, and the runtime that replays a crashed run from where it
|
|
144
144
|
stopped. It deliberately re-exports no `@smthrs/platform-*` package, for the
|
|
145
145
|
same reason `effect`'s own index does not re-export `@effect/platform-node`:
|
|
@@ -150,14 +150,14 @@ and its `NodeRuntime` composes `NodeHost.layerContainedAt` plus
|
|
|
150
150
|
|
|
151
151
|
## Read next
|
|
152
152
|
|
|
153
|
-
The documentation site covers the rest: [the host bundle](https://platform-node
|
|
154
|
-
and everything it refuses, [process containment](https://platform-node
|
|
155
|
-
and every guard checked before a reap, the [API reference](https://platform-node
|
|
156
|
-
[troubleshooting](https://platform-node
|
|
153
|
+
The documentation site covers the rest: [the host bundle](https://github.com/smithersai/smithers/blob/main/packages/smithers/flows/platform-node/docs/concepts/host-bundle.md), [the descriptor-relative filesystem](https://github.com/smithersai/smithers/blob/main/packages/smithers/flows/platform-node/docs/concepts/descriptor-relative-filesystem.md)
|
|
154
|
+
and everything it refuses, [process containment](https://github.com/smithersai/smithers/blob/main/packages/smithers/flows/platform-node/docs/concepts/process-containment.md)
|
|
155
|
+
and every guard checked before a reap, the [API reference](https://github.com/smithersai/smithers/blob/main/packages/smithers/flows/platform-node/docs/api.md), and
|
|
156
|
+
[troubleshooting](https://github.com/smithersai/smithers/blob/main/packages/smithers/flows/platform-node/docs/troubleshooting.md).
|
|
157
157
|
|
|
158
158
|
For a different runtime, the sibling bundles are
|
|
159
|
-
[`@smthrs/platform-bun`](https://platform-bun
|
|
160
|
-
[`@smthrs/platform-browser`](https://platform-browser
|
|
159
|
+
[`@smthrs/platform-bun`](https://github.com/smithersai/smithers/tree/main/packages/smithers/flows/platform-bun/docs) and
|
|
160
|
+
[`@smthrs/platform-browser`](https://github.com/smithersai/smithers/tree/main/packages/smithers/flows/platform-browser/docs).
|
|
161
161
|
|
|
162
162
|
The host exports `implementationIds` for its five service slots. Its rooted
|
|
163
163
|
factories reject invalid roots before constructing a layer, using the host's
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smthrs/platform-node",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-rc.
|
|
4
|
+
"version": "1.0.0-rc.7",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"smthrs": {
|
|
7
7
|
"group": "engine",
|
|
@@ -161,8 +161,8 @@
|
|
|
161
161
|
"tag": "next"
|
|
162
162
|
},
|
|
163
163
|
"dependencies": {
|
|
164
|
-
"@smthrs/jj": "1.0.0-rc.
|
|
165
|
-
"@smthrs/kernel": "1.0.0-rc.
|
|
164
|
+
"@smthrs/jj": "1.0.0-rc.7",
|
|
165
|
+
"@smthrs/kernel": "1.0.0-rc.7",
|
|
166
166
|
"undici": "8.11.2",
|
|
167
167
|
"redis": "6.2.1",
|
|
168
168
|
"@types/ws": "8.18.2",
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
"@effect/platform-node-shared": "4.0.4",
|
|
178
178
|
"@effect/vitest": "4.0.4",
|
|
179
179
|
"@eslint/js": "9.39.5",
|
|
180
|
-
"@smthrs/journal": "1.0.0-rc.
|
|
180
|
+
"@smthrs/journal": "1.0.0-rc.7",
|
|
181
181
|
"@types/node": "26.4.1",
|
|
182
182
|
"@vitest/coverage-v8": "5.0.0",
|
|
183
183
|
"dprint": "0.57.1",
|