@hadoku/host-wire 0.1.178 → 0.1.179
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/dist/wire.d.ts +2 -11
- package/dist/wire.js +0 -8
- package/package.json +2 -2
package/dist/wire.d.ts
CHANGED
|
@@ -175,20 +175,11 @@ export interface LaunchSpec {
|
|
|
175
175
|
* What the JVM needs to launch, named by `kind` rather than flattened onto `LaunchSpec` itself —
|
|
176
176
|
* the only shape a `launch` carries. It was additive for one rollout: a server sent both this
|
|
177
177
|
* and four flat fields (`xmxMb`, `main`, `jvmFlags`, `forgePreferences`) so an agent built before
|
|
178
|
-
* `runtime` existed could still launch off the flat ones
|
|
179
|
-
*
|
|
180
|
-
* flat fields and `runtimeOf`'s fallback both went with them — in either order, safely: the old
|
|
181
|
-
* agent's own `runtimeOf` already preferred `runtime` whenever one was sent, flat fields or not,
|
|
182
|
-
* and a new agent (built after the drop) only ever meets a server that still sends `runtime`.
|
|
178
|
+
* `runtime` existed could still launch off the flat ones. Every agent in the fleet reads `runtime`
|
|
179
|
+
* now (confirmed per-claw before this dropped), so the flat fields went.
|
|
183
180
|
*/
|
|
184
181
|
runtime: JvmRuntimeSpec;
|
|
185
182
|
}
|
|
186
|
-
/**
|
|
187
|
-
* `spec.runtime`, named for the callers that read a JVM's shape through a `LaunchSpec` rather than
|
|
188
|
-
* holding a `JvmRuntimeSpec` directly (`jvm.ts`, `agent.ts`). No fallback any more — the flat fields
|
|
189
|
-
* it used to fall back to no longer exist on `LaunchSpec` at all.
|
|
190
|
-
*/
|
|
191
|
-
export declare function runtimeOf(spec: LaunchSpec): JvmRuntimeSpec;
|
|
192
183
|
export type ToAgent = ({
|
|
193
184
|
op: 'launch';
|
|
194
185
|
} & LaunchSpec) | {
|
package/dist/wire.js
CHANGED
|
@@ -203,11 +203,3 @@ export const ARTIFACT_KINDS = [...JVM_ARTIFACT_KINDS, 'draftbot'];
|
|
|
203
203
|
* is `{inputs}` and the answer the service's own (`{success, results}`).
|
|
204
204
|
*/
|
|
205
205
|
export const DRAFTBOT_PATH = '/draftbot/batchdraft';
|
|
206
|
-
/**
|
|
207
|
-
* `spec.runtime`, named for the callers that read a JVM's shape through a `LaunchSpec` rather than
|
|
208
|
-
* holding a `JvmRuntimeSpec` directly (`jvm.ts`, `agent.ts`). No fallback any more — the flat fields
|
|
209
|
-
* it used to fall back to no longer exist on `LaunchSpec` at all.
|
|
210
|
-
*/
|
|
211
|
-
export function runtimeOf(spec) {
|
|
212
|
-
return spec.runtime;
|
|
213
|
-
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hadoku/host-wire",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "0.1.179",
|
|
4
|
+
"gitHead": "989dce1f6edefb23bc21cdde27935b9e8ef9d35a",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"description": "The signed wire between a match host and the agent on a hosting claw: request signing, the relay's frames, the messages each side sends, artifact hashes and slice sizing. Knows no game. MIT; imports only node builtins, because the agent bundles it for node 22.",
|