@usine/executor 0.4.1-next.246.gd1fd769 → 0.4.1-next.249.g0536c26
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 +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -188,7 +188,7 @@ A Hetzner server is created from `image` with the project's SSH key, in `network
|
|
|
188
188
|
|
|
189
189
|
Preflight of a provisioned worker creates no machine: it checks the provider token, the image, SSH key, network, and firewall or the account's limits, the gateway's admin API, and that each harness has a credential outside the machine: Claude Code needs `anthropic` in the gateway's `llmProviders` or `apiKeys.anthropic`, which each attempt gets as `ANTHROPIC_API_KEY`; Codex needs `openai` there or `apiKeys.openai`, which each attempt gets as `OPENAI_API_KEY` with a `CODEX_HOME` whose `config.toml` reads it; and Pi is refused. Its report's `deferred` says that the harnesses are checked on the first machine each day.
|
|
190
190
|
|
|
191
|
-
The SSH layer needs a `ChildProcessSpawner`, a `CredentialProvider`, an `AttemptRuntime`, an `HttpClient` for admin and provider APIs, and a `FileSystem` and `Path` for host key, public key, and worker record files. It provides `SshWorkers` and `WorkerMachines` beside the `Executor`, starting with the workers of `workers`. `addWorker(address)` adds a worker at runtime and records how to reach a long-lived worker's machine (destination, port, identity file, and root, without secrets) in `workerRecordsDirectory`, a temporary directory by default, for `sshWorkerRecordsFor`; behind a gateway, the worker shares that gateway's forward, or opens one if it's the first. `removeWorker(name)` removes a worker once no attempt runs on it, and closes its gateway's forward if no other worker uses it. Adding a worker the executor has with the same address changes nothing; with another address, it fails with a `machine` capability error until the worker is removed.
|
|
191
|
+
The SSH layer needs a `ChildProcessSpawner`, a `CredentialProvider`, an `AttemptRuntime`, an `HttpClient` for admin and provider APIs (use `NodeHttpClient.layerNodeHttp` from `@effect/platform-node` for Boat tailnet workers so gateway probes preserve the explicit `Host` header), and a `FileSystem` and `Path` for host key, public key, and worker record files. It provides `SshWorkers` and `WorkerMachines` beside the `Executor`, starting with the workers of `workers`. `addWorker(address)` adds a worker at runtime and records how to reach a long-lived worker's machine (destination, port, identity file, and root, without secrets) in `workerRecordsDirectory`, a temporary directory by default, for `sshWorkerRecordsFor`; behind a gateway, the worker shares that gateway's forward, or opens one if it's the first. `removeWorker(name)` removes a worker once no attempt runs on it, and closes its gateway's forward if no other worker uses it. Adding a worker the executor has with the same address changes nothing; with another address, it fails with a `machine` capability error until the worker is removed.
|
|
192
192
|
|
|
193
193
|
```ts
|
|
194
194
|
import { InstanceId } from "@usine/core/instance"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usine/executor",
|
|
3
|
-
"version": "0.4.1-next.
|
|
3
|
+
"version": "0.4.1-next.249.g0536c26",
|
|
4
4
|
"description": "The usine scoped Worker contract with local, exe.dev, SSH, and Cloudflare adapters.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@usine/
|
|
44
|
-
"@usine/durable": "0.2.1-next.
|
|
45
|
-
"@usine/
|
|
46
|
-
"@usine/
|
|
47
|
-
"@usine/
|
|
43
|
+
"@usine/cloudflare": "0.1.1-next.249.g0536c26",
|
|
44
|
+
"@usine/durable": "0.2.1-next.249.g0536c26",
|
|
45
|
+
"@usine/gateway": "0.2.1-next.249.g0536c26",
|
|
46
|
+
"@usine/agents": "0.5.1-next.249.g0536c26",
|
|
47
|
+
"@usine/core": "0.5.1-next.249.g0536c26"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@effect/platform-node": "4.0.6",
|