@githolon/runtime 0.113.3 → 0.114.0
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/RUNTIME-SOURCES.sha256 +53 -44
- package/dist/application-reception.js +1 -1
- package/dist/nomos-native-runtime.js +2613 -601
- package/dist/nomos-runner-web.js +12 -2
- package/dist/nomos-runner-worker.js +3066 -863
- package/dist/nomos-runner.js +3011 -844
- package/dist/remote-reception.cjs +21 -21
- package/dist/remote-reception.js +21 -21
- package/dist/typescript-application-desk.js +24 -25
- package/package.json +1 -1
- package/runner/node-entry.mjs +2807 -691
- package/src/protocol/nomos/kernel/v1/kernel_pb.d.ts +349 -0
- package/src/protocol/nomos/kernel/v1/kernel_pb.js +310 -275
- package/src/protocol/nomos/runtime/v2/application_desk_pb.d.ts +8 -0
- package/src/protocol/nomos/runtime/v2/application_desk_pb.js +1 -1
- package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.d.ts +220 -0
- package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.js +62 -20
- package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.d.ts +14 -2
- package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.js +1 -1
- package/src/protocol/nomos/runtime/v2/observability_desk_pb.d.ts +111 -2
- package/src/protocol/nomos/runtime/v2/observability_desk_pb.js +27 -12
- package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.d.ts +0 -29
- package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.js +6 -13
- package/src/protocol/nomos/runtime/v2/residency_desk_pb.d.ts +19 -0
- package/src/protocol/nomos/runtime/v2/residency_desk_pb.js +1 -1
- package/src/typescript_application_desk.public.d.ts +0 -1
package/dist/nomos-runner-web.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
(() => {
|
|
3
3
|
// ../../platform-shells/browser/worker_page_entry.ts
|
|
4
|
-
var workerDigest = true ? "
|
|
4
|
+
var workerDigest = true ? "961e0de48782cb8f30d35c183811f3c9b93cbe87d04e3f3c7d94445e38d89fa9" : "";
|
|
5
5
|
var SLOW_OPERATION_MICROS = 1e6;
|
|
6
6
|
var slowOperationsReported = 0;
|
|
7
7
|
var bootStages = [];
|
|
@@ -42,6 +42,11 @@
|
|
|
42
42
|
worker?.terminate();
|
|
43
43
|
worker = void 0;
|
|
44
44
|
};
|
|
45
|
+
var heldEvents = [];
|
|
46
|
+
var deliverEvent = (frame) => {
|
|
47
|
+
if (heldEvents) heldEvents.push(frame);
|
|
48
|
+
else window.__nomosOnMessage?.(`runtime-v2-event:${frame}`);
|
|
49
|
+
};
|
|
45
50
|
var receive = (message) => {
|
|
46
51
|
switch (message.kind) {
|
|
47
52
|
case "boot-progress":
|
|
@@ -107,7 +112,7 @@
|
|
|
107
112
|
})();
|
|
108
113
|
break;
|
|
109
114
|
case "event":
|
|
110
|
-
|
|
115
|
+
deliverEvent(message.frame);
|
|
111
116
|
break;
|
|
112
117
|
case "kernel-work":
|
|
113
118
|
if (message.snapshot) lastSnapshot = message.snapshot;
|
|
@@ -166,6 +171,11 @@
|
|
|
166
171
|
send({ kind: "invoke", id, frame: frameBase64, sentAt: Date.now() });
|
|
167
172
|
});
|
|
168
173
|
};
|
|
174
|
+
window.__nomosFlushEvents = () => {
|
|
175
|
+
const held = heldEvents ?? [];
|
|
176
|
+
heldEvents = void 0;
|
|
177
|
+
for (const frame of held) window.__nomosOnMessage?.(`runtime-v2-event:${frame}`);
|
|
178
|
+
};
|
|
169
179
|
window.__nomosKernelWorkSnapshot = () => lastSnapshot;
|
|
170
180
|
window.__nomosWorkerHosted = true;
|
|
171
181
|
window.__nomosDisposeRuntime = () => {
|