@astrale-os/kernel-server 1.0.0-beta.7 → 1.0.0-beta.9
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/routes/native.js
CHANGED
|
@@ -68,8 +68,9 @@ export async function nativeResponse(request, snapshot, options, responseCors) {
|
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
if (result.kind === 'execution') {
|
|
71
|
-
// The call has started its Execution: accept it with the reference, never a
|
|
72
|
-
|
|
71
|
+
// The call has started or replayed its Execution: accept it with the reference, never a
|
|
72
|
+
// failure, saying whether this call created it.
|
|
73
|
+
return new Response(encodedBody(codecs.json.encode({ id: result.execution, replayed: result.replayed })), {
|
|
73
74
|
status: 202,
|
|
74
75
|
headers: {
|
|
75
76
|
...responseCors,
|
|
@@ -198,6 +198,7 @@ async function sendResult(socket, codec, requestId, assigned, result, operation,
|
|
|
198
198
|
case 'execution':
|
|
199
199
|
await send(socket, codec, {
|
|
200
200
|
execution: result.execution,
|
|
201
|
+
replayed: result.replayed,
|
|
201
202
|
requestId,
|
|
202
203
|
invocation: assigned,
|
|
203
204
|
}, sendOutput);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-os/kernel-server",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.9",
|
|
4
4
|
"description": "Portable HTTP and WebSocket boundary for Astrale invocation, Release, installation, and issuer protocols",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@astrale-os/kernel-core": "1.0.0-beta.
|
|
29
|
-
"@astrale-os/kernel-dsl": "1.0.0-beta.
|
|
30
|
-
"@astrale-os/kernel-protocol": "1.0.0-beta.
|
|
28
|
+
"@astrale-os/kernel-core": "1.0.0-beta.9",
|
|
29
|
+
"@astrale-os/kernel-dsl": "1.0.0-beta.4",
|
|
30
|
+
"@astrale-os/kernel-protocol": "1.0.0-beta.9",
|
|
31
31
|
"hono": "^4.6.20"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|