@boardwalk-labs/runner 0.1.13 → 0.1.14
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.
|
@@ -47,8 +47,9 @@ export type InferenceFrame = {
|
|
|
47
47
|
} | {
|
|
48
48
|
kind: "ping";
|
|
49
49
|
};
|
|
50
|
-
/** Serialize the request body.
|
|
51
|
-
*
|
|
50
|
+
/** Serialize the request body. Multimodal image content rides transparently: message content parts
|
|
51
|
+
* (incl. `{ type: "image" }`) are plain JSON here — the broker's engine adapters render them per
|
|
52
|
+
* provider (@boardwalk-labs/engine ≥ 0.1.32). */
|
|
52
53
|
export declare function serializeInferenceRequest(req: InferenceProxyRequest): string;
|
|
53
54
|
/** Parse + minimally validate the request body (the runner is semi-trusted; fail closed on shape).
|
|
54
55
|
* The conversation is shape-trusted past the array check — it was built by the engine loop on the
|
|
@@ -31,8 +31,9 @@ export function runnerInferencePath(runId) {
|
|
|
31
31
|
/** Response content type — newline-delimited JSON frames. */
|
|
32
32
|
export const INFERENCE_NDJSON_CONTENT_TYPE = "application/x-ndjson";
|
|
33
33
|
// ---- request serialize / parse ----
|
|
34
|
-
/** Serialize the request body.
|
|
35
|
-
*
|
|
34
|
+
/** Serialize the request body. Multimodal image content rides transparently: message content parts
|
|
35
|
+
* (incl. `{ type: "image" }`) are plain JSON here — the broker's engine adapters render them per
|
|
36
|
+
* provider (@boardwalk-labs/engine ≥ 0.1.32). */
|
|
36
37
|
export function serializeInferenceRequest(req) {
|
|
37
38
|
return JSON.stringify(req);
|
|
38
39
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boardwalk-labs/runner",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "Boardwalk self-hosted runner: execute cloud-scheduled runs on your own machines. Currently: the canonical runner contract types.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"prebuild": "prebuildify --napi --strip -t 24.0.0"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@boardwalk-labs/engine": "^0.1.
|
|
57
|
-
"@boardwalk-labs/workflow": "^0.1.
|
|
56
|
+
"@boardwalk-labs/engine": "^0.1.34",
|
|
57
|
+
"@boardwalk-labs/workflow": "^0.1.24",
|
|
58
58
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
59
59
|
"node-gyp-build": "^4.8.4",
|
|
60
60
|
"tar": "^7.5.16",
|