@native-sdk/cli 0.11.0 → 0.11.1
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/build/app.zig +73 -37
- package/build.zig +239 -5
- package/native-sdk.d.ts +5 -1
- package/package.json +13 -12
- package/packages/core/compile-surface/core.ts +30 -0
- package/packages/core/package-lock.json +6 -6
- package/packages/core/package.json +3 -3
- package/packages/core/scripts/scriptc-toolchain.json +44 -44
- package/packages/core/scripts/stage_external_core.mjs +27 -16
- package/packages/core/sdk/core.d.ts +24 -1
- package/packages/core/sdk/core.ts +51 -1
- package/packages/core/sdk/events.d.ts +5 -0
- package/packages/core/sdk/events.ts +10 -0
- package/packages/core/src/bridge_descriptors.ts +3 -3
- package/packages/core/src/checker.ts +20 -0
- package/packages/core/src/cli.ts +2 -11
- package/packages/core/src/context_menus.ts +76 -0
- package/packages/core/src/diagnostics.ts +7 -0
- package/packages/core/src/extent_program.ts +53 -0
- package/packages/core/src/frontend.ts +12 -10
- package/packages/core/src/markup_canonical.ts +140 -0
- package/packages/core/src/markup_construction.ts +189 -0
- package/packages/core/src/markup_display.ts +43 -0
- package/packages/core/src/markup_document.ts +226 -0
- package/packages/core/src/markup_elements.ts +225 -0
- package/packages/core/src/markup_expressions.ts +79 -0
- package/packages/core/src/markup_imports.ts +146 -0
- package/packages/core/src/markup_parser.ts +228 -0
- package/packages/core/src/markup_runtime.ts +93 -0
- package/packages/core/src/markup_scalars.ts +143 -0
- package/packages/core/src/markup_shapes.ts +243 -0
- package/packages/core/src/markup_specialized.ts +242 -0
- package/packages/core/src/markup_text.ts +86 -0
- package/packages/core/src/markup_values.ts +336 -0
- package/packages/core/src/portable_sources.json +24 -0
- package/packages/core/src/registered_font.ts +2 -3
- package/packages/core/src/runtime_policy.ts +24 -0
- package/packages/core/src/scalar_text.ts +1 -3
- package/packages/core/src/scroll_mutation.ts +86 -0
- package/packages/core/src/scroll_tree.ts +86 -0
- package/packages/core/src/service_contract.ts +53 -2
- package/packages/core/src/sqlite_cli.ts +3 -46
- package/packages/core/src/sqlite_codegen.ts +84 -0
- package/packages/core/src/staged_rebuild.ts +60 -0
- package/packages/core/src/view_bridge.ts +161 -0
- package/packages/core/src/view_check.ts +145 -0
- package/packages/core/src/view_evaluator.ts +823 -0
- package/packages/core/src/view_frontend.ts +340 -218
- package/packages/core/src/view_program.ts +221 -0
- package/packages/core/src/view_reload.ts +166 -0
- package/packages/core/src/view_reload_watch.ts +98 -0
- package/packages/core/src/view_sources.ts +34 -0
- package/packages/core/src/virtual_windows.ts +88 -0
- package/packages/core/src/web_panes.ts +67 -0
- package/packages/core/src/widget_continuity.ts +37 -0
- package/packages/core/src/widget_reconcile.ts +63 -0
- package/packages/core/src/widget_retention.ts +62 -0
- package/skill-data/native-ui/SKILL.md +2 -2
- package/skill-data/ts-core/SKILL.md +5 -3
- package/skill-data/ts-services/references/service-surface.md +29 -5
- package/src/app_runner/root.zig +14 -0
- package/src/app_runner/ts_compiled_view.zig +88 -17
- package/src/app_runner/ts_core_main.zig +43 -5
- package/src/app_runner/ts_core_mobile.zig +1 -1
- package/src/automation/server.zig +56 -3
- package/src/embed/host.zig +2 -0
- package/src/embed/tests.zig +2 -0
- package/src/embed/ui_host.zig +2 -0
- package/src/platform/keyboard_input.zig +32 -0
- package/src/platform/linux/root.zig +2 -0
- package/src/platform/macos/appkit_host.h +7 -2
- package/src/platform/macos/appkit_host.m +31 -9
- package/src/platform/macos/cef_host.mm +15 -1
- package/src/platform/macos/global_shortcuts.zig +138 -0
- package/src/platform/macos/key_codes.zig +102 -0
- package/src/platform/macos/keyboard_input.zig +81 -0
- package/src/platform/macos/root.zig +25 -3
- package/src/platform/macos/webview_inspection_test.m +106 -0
- package/src/platform/null_platform.zig +104 -0
- package/src/platform/root.zig +14 -0
- package/src/platform/types.zig +102 -0
- package/src/platform/windows/global_shortcuts.zig +157 -0
- package/src/platform/windows/key_codes.zig +63 -0
- package/src/platform/windows/keyboard_input.zig +136 -0
- package/src/platform/windows/root.zig +15 -0
- package/src/primitives/canvas/decision_reuse.zig +133 -0
- package/src/primitives/canvas/font_ttf.zig +27 -3
- package/src/primitives/canvas/fonts/Geist-Bold.ttf +0 -0
- package/src/primitives/canvas/fonts/Geist-Medium.ttf +0 -0
- package/src/primitives/canvas/fonts/OFL.txt +93 -0
- package/src/primitives/canvas/fonts/README.md +15 -0
- package/src/primitives/canvas/intrinsic_measure_policy.zig +4 -1
- package/src/primitives/canvas/markdown_tests.zig +3 -3
- package/src/primitives/canvas/reference.zig +3 -5
- package/src/primitives/canvas/reference_tests.zig +58 -0
- package/src/primitives/canvas/registered_font_policy.zig +1 -1
- package/src/primitives/canvas/root.zig +7 -4
- package/src/primitives/canvas/text_metrics.zig +32 -39
- package/src/primitives/canvas/text_metrics_tests.zig +52 -7
- package/src/primitives/canvas/text_query_policy.zig +142 -3
- package/src/primitives/canvas/text_scalar_policy.zig +80 -2
- package/src/primitives/canvas/tokens.zig +9 -0
- package/src/primitives/canvas/ui.zig +1 -0
- package/src/primitives/canvas/ui_markup.zig +69 -14
- package/src/primitives/canvas/ui_markup_canonical.zig +237 -0
- package/src/primitives/canvas/ui_markup_compiled.zig +1407 -23
- package/src/primitives/canvas/ui_markup_compiled_values.zig +76 -0
- package/src/primitives/canvas/ui_markup_construction.zig +146 -0
- package/src/primitives/canvas/ui_markup_display.zig +82 -0
- package/src/primitives/canvas/ui_markup_document.zig +196 -0
- package/src/primitives/canvas/ui_markup_elements.zig +163 -0
- package/src/primitives/canvas/ui_markup_expr.zig +192 -2
- package/src/primitives/canvas/ui_markup_imports.zig +262 -0
- package/src/primitives/canvas/ui_markup_parser.zig +117 -0
- package/src/primitives/canvas/ui_markup_runtime.zig +76 -0
- package/src/primitives/canvas/ui_markup_scalars.zig +115 -0
- package/src/primitives/canvas/ui_markup_shapes.zig +224 -0
- package/src/primitives/canvas/ui_markup_specialized.zig +106 -0
- package/src/primitives/canvas/ui_markup_text.zig +128 -0
- package/src/primitives/canvas/ui_markup_values.zig +368 -0
- package/src/primitives/canvas/ui_markup_view.zig +2817 -74
- package/src/primitives/canvas/virtual_extent_policy.zig +58 -0
- package/src/primitives/canvas/virtual_extents.zig +47 -33
- package/src/primitives/canvas/widget_metric_policy.zig +4 -1
- package/src/primitives/canvas/widget_runtime.zig +2 -1
- package/src/root.zig +5 -0
- package/src/runtime/api.zig +1 -0
- package/src/runtime/bridge_descriptor_policy.zig +1 -1
- package/src/runtime/bridge_payload.zig +2 -0
- package/src/runtime/canvas_widget_context_menu.zig +179 -0
- package/src/runtime/canvas_widget_context_menu_test_cases.zig +1147 -0
- package/src/runtime/canvas_widget_context_menu_tests.zig +23 -1098
- package/src/runtime/canvas_widget_runtime.zig +306 -92
- package/src/runtime/context_menu_policy.zig +112 -0
- package/src/runtime/core.zig +14 -0
- package/src/runtime/effects.zig +172 -4
- package/src/runtime/effects_host_tests.zig +25 -0
- package/src/runtime/flow.zig +1 -0
- package/src/runtime/flow_reference.zig +1 -0
- package/src/runtime/global_shortcuts.zig +75 -0
- package/src/runtime/keyboard_input.zig +86 -0
- package/src/runtime/root.zig +3 -0
- package/src/runtime/scroll_mutation_policy.zig +130 -0
- package/src/runtime/scroll_mutation_runtime.zig +158 -0
- package/src/runtime/scroll_tree_policy.zig +99 -0
- package/src/runtime/session_record.zig +7 -0
- package/src/runtime/staged_rebuild_policy.zig +83 -0
- package/src/runtime/system_services.zig +19 -0
- package/src/runtime/tests.zig +1 -0
- package/src/runtime/ts_core_host.zig +126 -0
- package/src/runtime/ts_ui_app.zig +24 -0
- package/src/runtime/ui_app.zig +274 -31
- package/src/runtime/ui_app_tests.zig +48 -179
- package/src/runtime/ui_app_window_tests.zig +133 -0
- package/src/runtime/view_reload.zig +226 -0
- package/src/runtime/view_widget_scroll.zig +30 -21
- package/src/runtime/view_widget_tree.zig +43 -13
- package/src/runtime/virtual_window_policy.zig +128 -0
- package/src/runtime/web_pane_policy.zig +111 -0
- package/src/runtime/web_pane_test_cases.zig +204 -0
- package/src/runtime/widget_continuity_policy.zig +73 -0
- package/src/runtime/widget_reconcile_policy.zig +81 -0
- package/src/runtime/widget_retention_policy.zig +75 -0
- package/src/runtime/window_views.zig +19 -4
- package/src/security/root.zig +1 -0
- package/src/tooling/templates.zig +8 -0
- package/src/tooling/ts_core.zig +84 -1
- package/src/tooling/verbs.zig +79 -15
- package/tools/corewire/core.test.ts +25 -3
- package/tools/corewire/core_abi.zig +4 -0
- package/tools/corewire/core_contract.ts +1 -1
- package/tools/corewire/core_goldens.json +75 -75
- package/tools/corewire/core_projection.ts +3 -2
- package/tools/corewire/emit_mirror.ts +19 -9
- package/tools/corewire/facade_templates.ts +1 -1
- package/tools/corewire/intake.test.ts +4 -0
- package/tools/corewire/intake_goldens.json +50 -50
- package/tools/corewire/invocation.test.ts +4 -0
- package/tools/corewire/invocation_goldens.json +3 -3
- package/tools/corewire/mirror_templates.ts +4 -0
- package/tools/corewire/profile_emission.ts +2 -0
- package/tools/corewire/sidecar.zig +2 -0
|
@@ -102,14 +102,15 @@ function chromeRecord(s: CoreContract, r: RecordType): boolean {
|
|
|
102
102
|
return insets && buttons && tabs;
|
|
103
103
|
}
|
|
104
104
|
function mirrorNames(s: CoreContract, out: Diagnostic[]): void {
|
|
105
|
-
const reserved = ["bootCommand", "decoded_model", "RuntimeModel", "RuntimeResult", "runtime_model", "initialRuntimeModel", "updateRuntimeModel", "commitRuntimeModel", "restoreRuntimeModel", "restoreCommittedModel", "runtimeSubscriptions", "runtimeFrameMsg", "dispatchMessage", "std", "shim_rt", "core_abi", "abi", "rt", "msg_tags", "boot", "initialModel", "update", "commitModelRoot", "sidecar_build_id", "sidecar_model_fingerprint", "sidecar_abi_version", "sidecar_snapshot_format", "deterministic", "async_free", "snapshotModel", "modelSnapshot", "persistenceSnapshot", "restoreModel", "referenceAttestedExports", "T", "n", "model", "msg", "payload", "encoded", "cmd_ptr", "cmd_len", "subs_ptr", "subs_len", "snap_ptr", "snap_len", "out", "out_ptr", "out_len", "tag", "tag_name", "name", "frame", "key", "pinch", "value", "self", "index", "args", "args_tuple", "allocator", "fields", "field", "next", "helper_args", "view_unbound"];
|
|
105
|
+
const reserved = ["bootCommand", "decoded_model", "RuntimeModel", "RuntimeResult", "runtime_model", "initialRuntimeModel", "updateRuntimeModel", "commitRuntimeModel", "restoreRuntimeModel", "restoreCommittedModel", "runtimeSubscriptions", "runtimeFrameMsg", "dispatchMessage", "std", "shim_rt", "core_abi", "abi", "rt", "msg_tags", "boot", "initialModel", "update", "commitModelRoot", "sidecar_build_id", "sidecar_model_fingerprint", "sidecar_abi_version", "sidecar_snapshot_format", "deterministic", "async_free", "snapshotModel", "modelSnapshot", "persistenceSnapshot", "restoreModel", "referenceAttestedExports", "T", "n", "model", "msg", "payload", "encoded", "cmd_ptr", "cmd_len", "subs_ptr", "subs_len", "snap_ptr", "snap_len", "out", "out_ptr", "out_len", "tag", "tag_name", "name", "frame", "key", "pinch", "value", "self", "index", "args", "args_tuple", "allocator", "fields", "field", "next", "helper_args", "view_unbound", "has_windows"];
|
|
106
106
|
for (const h of s.model_helpers) for (let i = 0; i < h.params.length; i++) reserved.push(`p${i}`);
|
|
107
107
|
reserved.push("subscriptions", "commandMsg", "frameMsg", "keyMsg", "pinchMsg", "dropMsg", "appearanceMsg", "chromeMsg", "envMsgs");
|
|
108
108
|
if (s.model !== "Model") reserved.push("Model");
|
|
109
109
|
if (s.msg.name !== "Msg") reserved.push("Msg");
|
|
110
110
|
if (s.abi.exports.includes("native_view")) reserved.push("nativeView", "nativeViewEvent", "ptr", "len", "arena");
|
|
111
111
|
if (s.abi.exports.includes("native_virtual_requests")) reserved.push("nativeVirtualRequests", "nativeVirtualView");
|
|
112
|
-
if (
|
|
112
|
+
if (s.abi.exports.includes("native_dev_view_prepare")) reserved.push("nativeDevViewPrepare", "nativeDevViewReset", "program", "arena");
|
|
113
|
+
if (usesVirtualExtentHelpers(s)) reserved.push("virtualExtentHelper", "virtualExtentEstimate", "shim_root");
|
|
113
114
|
if (s.abi.exports.includes("native_media_view")) reserved.push("nativeMediaView");
|
|
114
115
|
if (s.abi.exports.includes("native_media_window_view")) reserved.push("nativeMediaWindowView");
|
|
115
116
|
if (s.abi.exports.includes("native_window_view")) reserved.push("nativeWindowView", "label", "ptr", "len", "arena");
|
|
@@ -28,7 +28,7 @@ class MirrorEmitter extends CodeWriter {
|
|
|
28
28
|
this.inlined = projectionPlan(this.s).inlined;
|
|
29
29
|
}
|
|
30
30
|
run(): void {
|
|
31
|
-
this.header(); this.mirrorTypes(); this.modelStruct(); this.modelStruct(true); this.msgUnion(); this.wiringAliases();
|
|
31
|
+
this.header(); this.mirrorTypes(); this.modelStruct(); this.modelStruct(true); this.msgUnion(); this.wiringAliases(); this.hostFacts();
|
|
32
32
|
this.tagTable(); this.entryPoints(); this.channels(); this.helperPlumbing(); this.snapshotPlumbing();
|
|
33
33
|
}
|
|
34
34
|
header(): void {
|
|
@@ -126,22 +126,31 @@ class MirrorEmitter extends CodeWriter {
|
|
|
126
126
|
[zigIdent(h.name), name, params, returns, tuple, returns, String(i), h.arena ? "arena" : "shim_rt.frameAllocator()"]);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
// Native markup and its Debug interpreter
|
|
130
|
-
//
|
|
131
|
-
if (usesVirtualExtentHelpers(this.s)) this.
|
|
129
|
+
// Native markup and its Debug interpreter reflect over the model type, so
|
|
130
|
+
// it forwards the file-scope virtual extent capability.
|
|
131
|
+
if (usesVirtualExtentHelpers(this.s)) this.raw(text.virtualExtentForwarding);
|
|
132
132
|
this.unboundDecl(this.s.model_unbound); this.raw("\n};\n");
|
|
133
133
|
}
|
|
134
|
+
hostFacts(): void {
|
|
135
|
+
const windows = this.s.model_helpers.some(helper => helper.name === "windows");
|
|
136
|
+
this.print(text.hostFacts, [String(windows)]);
|
|
137
|
+
if (usesVirtualExtentHelpers(this.s)) { this.raw(text.virtualExtentRoot); this.virtualEstimates(); }
|
|
138
|
+
}
|
|
134
139
|
virtualEstimates(): void {
|
|
135
|
-
this.raw('\n
|
|
140
|
+
this.raw('\n/// Stable compiled helper identities; retained tables hold no model or arena pointer.\npub fn virtualExtentHelper(name: []const u8) ?u32 {\n');
|
|
136
141
|
const helpers = this.s.model_helpers.map((helper, index) => ({ helper, index })).filter(({ helper }) => helper.params.length === 1 && ["i64", "f64"].includes(helper.params[0].kind) && ["i64", "f64"].includes(helper.returns.kind));
|
|
137
|
-
|
|
138
|
-
|
|
142
|
+
if (helpers.length === 0) {
|
|
143
|
+
this.raw(' _ = name;\n return null;\n}\n\npub fn virtualExtentEstimate(context: ?*const anyopaque, index: u64) f32 {\n _ = context;\n _ = index;\n @panic("invalid virtual extent helper");\n}\n');
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
for (const { helper, index } of helpers) this.print(' if (std.mem.eql(u8, name, "{f}")) return {d};\n', [zigString(helper.name), String(index)]);
|
|
147
|
+
this.raw(' return null;\n}\n\npub fn virtualExtentEstimate(context: ?*const anyopaque, index: u64) f32 {\n if (index > 9007199254740991) @panic("virtual extent index exceeds safe integers");\n const helper: u32 = @intCast(@intFromPtr(context orelse @panic("missing virtual extent identity")) - 1);\n var args: [8]u8 = undefined;\n defer abi.frame_reset();\n const value: f64 = switch (helper) {\n');
|
|
139
148
|
for (const { helper, index } of helpers) {
|
|
140
149
|
const parameter = this.spellRef(helper.params[0], "helpers", helper.name, "helpers." + helper.name + ".params[0]");
|
|
141
150
|
const encoded = helper.params[0].kind === "i64" ? "@as(" + parameter + ", @intCast(index))" : "@as(f64, @floatFromInt(index))";
|
|
142
|
-
this.print('
|
|
151
|
+
this.print(' {d} => blk: {{\n std.mem.writeInt(u64, &args, @bitCast({s}), .little);\n break :blk {s}callHelper({s}, {d}, &args, shim_rt.frameAllocator()){s};\n }},\n', [String(index), encoded, helper.returns.kind === "i64" ? "@floatFromInt(" : "", this.spellRef(helper.returns, "helpers", helper.name, "helpers." + helper.name + ".return"), String(index), helper.returns.kind === "i64" ? ")" : ""]);
|
|
143
152
|
}
|
|
144
|
-
this.raw('
|
|
153
|
+
this.raw(' else => @panic("invalid virtual extent helper"),\n };\n if (!std.math.isFinite(value) or value < 0 or value > std.math.floatMax(f32)) @panic("invalid virtual extent result");\n return @floatCast(value);\n}\n');
|
|
145
154
|
}
|
|
146
155
|
unboundDecl(names: string[]): void {
|
|
147
156
|
if (names.length === 0) return;
|
|
@@ -258,6 +267,7 @@ class MirrorEmitter extends CodeWriter {
|
|
|
258
267
|
{ name: "native_db_policy", code: text.nativeDbPolicy }, { name: "native_effect_policy", code: text.nativeEffectPolicy },
|
|
259
268
|
{ name: "native_stream_policy", code: text.nativeStreamPolicy }, { name: "native_window_policy", code: text.nativeWindowPolicy },
|
|
260
269
|
{ name: "native_theme_policy", code: text.nativeThemePolicy }, { name: "native_status_policy", code: text.nativeStatusPolicy },
|
|
270
|
+
{ name: "native_dev_view_prepare", code: text.nativeDevView },
|
|
261
271
|
];
|
|
262
272
|
for (const e of extensions) if (this.s.abi.exports.includes(e.name)) this.raw(e.code);
|
|
263
273
|
if (c.command_msg) this.print(text.commandChannel, [msg]);
|
|
@@ -80,6 +80,6 @@ export const enumIndexCodec = "\nfunction nscfMemberIndex(members: string[], val
|
|
|
80
80
|
export const commandEncoderPrefix = "\n// ---------------------------------------------------- the cmd wire\n// Encoder for the inert Cmd data the author's update returns —\n// byte-for-byte the layouts the host's command decoder expects\n// (cmd_format_version 10). nscfTagOf maps a Msg arm name onto its\n// declaration-order wire tag.\n\nconst nscfFetchMethods = [\"GET\", \"POST\", \"PUT\", \"DELETE\", \"PATCH\", \"HEAD\"];\nconst nscfAudioVerbs = [\"pause\", \"resume\", \"stop\", \"seek\", \"volume\"];\nconst nscfAudioCaptureSources = [\"microphone\", \"system\"];\nconst nscfVideoVerbs = [\"play\", \"pause\", \"stop\", \"seek\", \"volume\", \"muted\", \"loop\", \"restart\"];\n\n// Preserve the store err route for dynamic invalid limits. Writing a\n// fractional or out-of-u32 number directly into the byte sink would\n// truncate/wrap it into a different, potentially valid request. 257\n// is the host's stable over-bound sentinel (the public maximum is 256).\nfunction nscfStoreScanLimit(value: number): number {{\n return Number.isInteger(value) && value >= 0 && value <= 256 ? value : 257;\n}}\n\nfunction nscfWDbValue(sink: nscfSink, value: unknown): void {{\n if (value === null) {{\n nscfWU8(sink, 0);\n }} else if (typeof value === \"number\") {{\n nscfWU8(sink, 1);\n nscfWF64(sink, value);\n }} else if (typeof value === \"string\") {{\n nscfWU8(sink, 2);\n nscfWBytes(sink, nscfUtf8TextBytes(value));\n }} else if (typeof value === \"boolean\") {{\n nscfWU8(sink, 4);\n nscfWU8(sink, value ? 1 : 0);\n }} else if (value instanceof Uint8Array) {{\n nscfWU8(sink, 3);\n nscfWBytes(sink, value);\n }} else {{\n nscfWU8(sink, 2);\n const bytes = (value as nscfDbText).bytes;\n nscfWU32(sink, bytes.length);\n for (let i = 0; i < bytes.length; i++) sink.push(bytes[i]!);\n }}\n}}\n\nfunction nscfEncodeCmd(sink: nscfSink, cmd: nscfCmd<{s}>): void {{\n";
|
|
81
81
|
export const commandEncoderBody = " switch (cmd.op) {\n case \"none\":\n return;\n case \"persist\":\n nscfWU8(sink, 0x01);\n return;\n case \"wall_time\":\n nscfWU8(sink, 0x39); nscfWU8(sink, nscfTagOf(cmd.msgKind)); return;\n case \"cancel_key\":\n nscfWU8(sink, 0x06); nscfWShortBytes(sink, cmd.key); return;\n case \"read_file_result_key\":\n nscfWU8(sink, cmd.replace ? 0x37 : 0x3e); nscfWShortBytes(sink, cmd.key); nscfWU8(sink, nscfTagOf(cmd.resultKind)); nscfWBytes(sink, cmd.path); return;\n case \"write_file_result_key\":\n nscfWU8(sink, cmd.replace ? 0x38 : 0x3f); nscfWShortBytes(sink, cmd.key); nscfWU8(sink, nscfTagOf(cmd.resultKind)); nscfWBytes(sink, cmd.path); nscfWBytes(sink, cmd.bytes); return;\n case \"read_file_result\":\n nscfWU8(sink, cmd.replace ? 0x37 : 0x3e); nscfWShortText(sink, cmd.key); nscfWU8(sink, nscfTagOf(cmd.resultKind)); nscfWBytes(sink, cmd.path); return;\n case \"write_file_result\":\n nscfWU8(sink, cmd.replace ? 0x38 : 0x3f); nscfWShortText(sink, cmd.key); nscfWU8(sink, nscfTagOf(cmd.resultKind)); nscfWBytes(sink, cmd.path); nscfWBytes(sink, cmd.bytes); return;\n case \"timer_result_exact\":\n nscfWU8(sink, 0x40); nscfWShortText(sink, cmd.key); nscfWU8(sink, cmd.mode === \"repeating\" ? 1 : 0); nscfWBytes(sink, cmd.afterMs); nscfWU8(sink, nscfTagOf(cmd.msgKind)); return;\n case \"timer_result\":\n nscfWU8(sink, 0x3a); nscfWShortText(sink, cmd.key); nscfWU8(sink, cmd.mode === \"repeating\" ? 1 : 0); nscfWF64(sink, cmd.afterMs); nscfWU8(sink, nscfTagOf(cmd.msgKind)); return;\n case \"now\":\n nscfWU8(sink, 0x02);\n nscfWU8(sink, nscfTagOf(cmd.msgKind));\n return;\n case \"host\": {\n nscfWU8(sink, 0x03);\n nscfWShortText(sink, cmd.name);\n if (cmd.args.length > 255) {\n nscfTrap(\"a host command carries over 255 scalar args — the wire's arg block cannot carry it\");\n }\n nscfWU8(sink, cmd.args.length);\n for (let i = 0; i < cmd.args.length; i++) {\n nscfWF64(sink, cmd.args[i]!);\n }\n return;\n }\n case \"host_bytes\":\n nscfWU8(sink, 0x04);\n nscfWShortText(sink, cmd.name);\n nscfWBytes(sink, cmd.payload);\n return;\n case \"request\":\n nscfWU8(sink, 0x05);\n nscfWShortText(sink, cmd.name);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWU8(sink, cmd.typedService ? 1 : 0);\n nscfWBytes(sink, cmd.payload);\n return;\n case \"service_stream_request\":\n nscfWU8(sink, 0x28);\n nscfWF64(sink, cmd.channelKey);\n nscfWU8(sink, nscfTagOf(cmd.eventKind));\n nscfWU8(sink, cmd.maxPending);\n nscfWShortText(sink, cmd.name);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWBytes(sink, cmd.payload);\n return;\n case \"cancel\":\n nscfWU8(sink, 0x06);\n nscfWShortText(sink, cmd.key);\n return;\n case \"read_file\":\n nscfWU8(sink, 0x07);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWBytes(sink, cmd.path);\n return;\n case \"write_file\":\n nscfWU8(sink, 0x08);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWBytes(sink, cmd.path);\n nscfWBytes(sink, cmd.bytes);\n return;\n case \"append_file\":\n nscfWU8(sink, 0x2b);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWBytes(sink, cmd.path);\n nscfWBytes(sink, cmd.bytes);\n return;\n case \"stat_file\":\n nscfWU8(sink, 0x2c);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWBytes(sink, cmd.path);\n return;\n case \"delete_file\":\n nscfWU8(sink, 0x32);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWBytes(sink, cmd.path);\n return;\n case \"read_file_stream\":\n nscfWU8(sink, 0x2d);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.chunkKind));\n nscfWU8(sink, nscfTagOf(cmd.doneKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWBytes(sink, cmd.path);\n return;\n case \"write_file_stream\":\n nscfWU8(sink, 0x2e);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWBytes(sink, cmd.path);\n return;\n case \"write_file_chunk\":\n nscfWU8(sink, 0x2f);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWBytes(sink, cmd.bytes);\n return;\n case \"write_file_close\":\n nscfWU8(sink, 0x30);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n return;\n case \"fetch\": {\n nscfWU8(sink, 0x09);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWU8(sink, nscfMemberIndex(nscfFetchMethods, cmd.method, \"fetch method\"));\n nscfWU32(sink, cmd.timeoutMs);\n nscfWBytes(sink, cmd.url);\n if (cmd.headers.length > 255) {\n nscfTrap(\"a fetch carries over 255 headers — the wire's header block cannot carry it\");\n }\n nscfWU8(sink, cmd.headers.length);\n for (let i = 0; i < cmd.headers.length; i++) {\n const header = cmd.headers[i]!;\n nscfWShortText(sink, header.name);\n const value = header.value;\n nscfWBytes(sink, typeof value === \"string\" ? nscfTextBytes(value) : value);\n }\n nscfWBytes(sink, cmd.body);\n return;\n }\n case \"clip_write\":\n nscfWU8(sink, 0x0a);\n nscfWBytes(sink, cmd.bytes);\n return;\n case \"clip_write_result\":\n nscfWU8(sink, 0x34);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.resultKind));\n nscfWBytes(sink, cmd.bytes);\n return;\n case \"video_snapshot\":\n nscfWU8(sink, 0x35);\n nscfWU8(sink, nscfTagOf(cmd.snapshotKind));\n return;\n case \"clip_read\":\n nscfWU8(sink, 0x0b);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n return;\n case \"delay\":\n nscfWU8(sink, 0x0c);\n nscfWShortText(sink, cmd.key);\n nscfWF64(sink, cmd.afterMs);\n nscfWU8(sink, nscfTagOf(cmd.msgKind));\n return;\n case \"cancel_exact\":\n nscfWU8(sink, 0x47); nscfWBytes(sink, cmd.key); return;\n case \"spawn_events_exact\":\n if (cmd.argv.length > 255) nscfTrap(\"an exact spawn carries over 255 argv entries\");\n nscfWU8(sink, 0x46); nscfWBytes(sink, cmd.key);\n nscfWU8(sink, cmd.lineKind === \"\" ? 255 : nscfTagOf(cmd.lineKind));\n nscfWU8(sink, nscfTagOf(cmd.exitKind)); nscfWU8(sink, cmd.collect ? 1 : 0);\n nscfWU8(sink, cmd.argv.length);\n for (let i = 0; i < cmd.argv.length; i++) nscfWBytes(sink, cmd.argv[i]!);\n nscfWBytes(sink, cmd.stdin); return;\n case \"spawn_events\": {\n nscfWU8(sink, 0x33);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, cmd.lineKind === \"\" ? 0xff : nscfTagOf(cmd.lineKind));\n nscfWU8(sink, nscfTagOf(cmd.exitKind));\n nscfWU8(sink, cmd.collect ? 1 : 0);\n if (cmd.argv.length === 0 || cmd.argv.length > 255) nscfTrap(\"invalid spawn argv count\");\n nscfWU8(sink, cmd.argv.length);\n for (let i = 0; i < cmd.argv.length; i++) nscfWBytes(sink, cmd.argv[i]!);\n nscfWBytes(sink, cmd.stdin);\n return;\n }\n case \"spawn\": {\n nscfWU8(sink, 0x0d);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, cmd.lineKind === \"\" ? 0xff : nscfTagOf(cmd.lineKind));\n nscfWU8(sink, nscfTagOf(cmd.exitKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWU8(sink, cmd.collect ? 1 : 0);\n if (cmd.argv.length === 0 || cmd.argv.length > 255) {\n nscfTrap(\"a spawn carries no argv or over 255 argv entries — the wire's argv block cannot carry it\");\n }\n nscfWU8(sink, cmd.argv.length);\n for (let i = 0; i < cmd.argv.length; i++) {\n nscfWBytes(sink, cmd.argv[i]!);\n }\n nscfWBytes(sink, cmd.stdin);\n return;\n }\n case \"audio_play\":\n nscfWU8(sink, 0x0e);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.eventKind));\n nscfWBytes(sink, cmd.path);\n nscfWBytes(sink, cmd.url);\n nscfWBytes(sink, cmd.cachePath);\n nscfWF64(sink, cmd.expectedBytes);\n return;\n case \"audio_play_exact\":\n nscfWU8(sink, 0x42);\n nscfWBytes(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.eventKind));\n nscfWBytes(sink, cmd.path);\n nscfWBytes(sink, cmd.url);\n nscfWBytes(sink, cmd.cachePath);\n nscfWBytes(sink, cmd.cacheDir);\n nscfWF64(sink, cmd.expectedBytes);\n return;\n case \"audio_transport\": {\n const transport = cmd.transport;\n nscfWU8(sink, 0x43);\n nscfWU8(sink, nscfMemberIndex(nscfAudioVerbs, transport.kind === \"play\" ? \"resume\" : transport.kind, \"audio transport verb\"));\n if (transport.kind === \"seek\") nscfWBytes(sink, transport.positionMs);\n if (transport.kind === \"volume\") nscfWF64(sink, transport.value);\n return;\n }\n case \"audio_ctl\":\n nscfWU8(sink, 0x0f);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfMemberIndex(nscfAudioVerbs, cmd.verb, \"audio verb\"));\n nscfWF64(sink, cmd.value);\n return;\n case \"window_show\":\n nscfWU8(sink, 0x10);\n nscfWShortText(sink, cmd.label);\n return;\n case \"window_hide\":\n nscfWU8(sink, 0x21);\n nscfWShortText(sink, cmd.label);\n return;\n case \"window_close\":\n case \"window_minimize\":\n nscfWU8(sink, cmd.op === \"window_close\" ? 0x44 : 0x45);\n nscfWShortBytes(sink, nscfUtf8TextBytes(cmd.label));\n return;\n case \"dock_presence\":\n nscfWU8(sink, 0x22);\n nscfWU8(sink, cmd.visible ? 1 : 0);\n return;\n case \"store_set\":\n nscfWU8(sink, 0x23);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWU32(sink, 0);\n nscfWBytes(sink, nscfUtf8TextBytes(cmd.storeKey));\n nscfWBytes(sink, cmd.bytes);\n return;\n case \"store_get\":\n case \"store_delete\":\n nscfWU8(sink, cmd.op === \"store_get\" ? 0x24 : 0x25);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWU32(sink, 0);\n nscfWBytes(sink, nscfUtf8TextBytes(cmd.storeKey));\n return;\n case \"store_scan\":\n nscfWU8(sink, 0x26);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWU32(sink, 0);\n nscfWBytes(sink, nscfUtf8TextBytes(cmd.prefix));\n nscfWU32(sink, nscfStoreScanLimit(cmd.limit));\n nscfWBytes(sink, typeof cmd.after === \"string\" ? nscfUtf8TextBytes(cmd.after) : cmd.after);\n return;\n case \"store_set_many\":\n nscfWU8(sink, 0x27);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWU32(sink, 0);\n nscfWU32(sink, cmd.entries.length);\n for (let i = 0; i < cmd.entries.length; i++) {\n nscfWBytes(sink, nscfUtf8TextBytes(cmd.entries[i]![0]));\n nscfWBytes(sink, cmd.entries[i]![1]);\n }\n return;\n case \"db_query\":\n nscfWU8(sink, 0x29);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.pageKind));\n nscfWU8(sink, nscfTagOf(cmd.doneKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWBytes(sink, nscfUtf8TextBytes(cmd.sql));\n nscfWU32(sink, cmd.params.length);\n for (let i = 0; i < cmd.params.length; i++) nscfWDbValue(sink, cmd.params[i]!);\n return;\n case \"db_exec\":\n nscfWU8(sink, 0x2a);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWU32(sink, cmd.statements.length);\n for (let i = 0; i < cmd.statements.length; i++) {\n const statement = cmd.statements[i]!;\n nscfWBytes(sink, nscfUtf8TextBytes(statement[0]));\n nscfWU32(sink, statement[1].length);\n for (let j = 0; j < statement[1].length; j++) nscfWDbValue(sink, statement[1][j]!);\n }\n return;\n case \"quit_app\":\n nscfWU8(sink, 0x11);\n return;\n case \"image_load_words\":\n case \"image_cancel_words\":\n case \"image_unregister_words\": {\n const id = cmd.identity;\n if (!Number.isInteger(id.imageLower) || !Number.isInteger(id.imageUpper) || id.imageLower < 0 || id.imageLower > 4294967295 || id.imageUpper < 0 || id.imageUpper > 4294967295) nscfTrap(\"image identity words must be unsigned 32-bit integers\");\n nscfWU8(sink, cmd.op === \"image_load_words\" ? 0x3b : cmd.op === \"image_cancel_words\" ? 0x3c : 0x3d);\n nscfWU32(sink, id.imageLower); nscfWU32(sink, id.imageUpper);\n if (cmd.op === \"image_load_words\") {\n nscfWU8(sink, nscfTagOf(cmd.eventKind)); nscfWBytes(sink, cmd.path); nscfWBytes(sink, cmd.url); nscfWBytes(sink, cmd.cachePath); nscfWF64(sink, cmd.expectedBytes);\n }\n return;\n }\n case \"image_load\":\n nscfWU8(sink, 0x12);\n nscfWF64(sink, cmd.id);\n nscfWU8(sink, nscfTagOf(cmd.eventKind));\n nscfWBytes(sink, cmd.path);\n nscfWBytes(sink, cmd.url);\n nscfWBytes(sink, cmd.cachePath);\n nscfWF64(sink, cmd.expectedBytes);\n return;\n case \"image_cancel\":\n nscfWU8(sink, 0x13);\n nscfWF64(sink, cmd.id);\n return;\n case \"image_unregister\":\n nscfWU8(sink, 0x14);\n nscfWF64(sink, cmd.id);\n return;\n case \"channel_open\":\n nscfWU8(sink, 0x15);\n nscfWF64(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.eventKind));\n nscfWU8(sink, cmd.maxPending);\n return;\n case \"channel_open_source\": {\n const sourceBytes = nscfUtf8TextBytes(cmd.source);\n if (sourceBytes.length === 0 || sourceBytes.length > 255 || cmd.payload.length > 4096) nscfTrap(\"invalid channel source arguments\");\n nscfWU8(sink, 0x41); nscfWF64(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.eventKind)); nscfWU8(sink, nscfTagOf(cmd.startedKind)); nscfWU8(sink, cmd.maxPending);\n nscfWShortText(sink, cmd.source); nscfWBytes(sink, cmd.payload); return;\n }\n case \"channel_close\":\n nscfWU8(sink, 0x16);\n nscfWF64(sink, cmd.key);\n return;\n case \"video_load\": {\n nscfWU8(sink, 0x17);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.eventKind));\n nscfWF64(sink, cmd.surface);\n nscfWBytes(sink, cmd.path);\n nscfWBytes(sink, cmd.url);\n // Wire flags: bit0 = autoplay, bit1 = loop, bit2 = muted.\n let flags = 0;\n if (cmd.autoplay) flags = flags + 1;\n if (cmd.loop) flags = flags + 2;\n if (cmd.muted) flags = flags + 4;\n nscfWU8(sink, flags);\n return;\n }\n case \"video_ctl\":\n nscfWU8(sink, 0x18);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfMemberIndex(nscfVideoVerbs, cmd.verb, \"video verb\"));\n nscfWF64(sink, cmd.value);\n return;\n case \"pty_spawn\": {\n nscfWU8(sink, 0x19);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.eventKind));\n nscfWF64(sink, cmd.cols);\n nscfWF64(sink, cmd.rows);\n nscfWShortText(sink, cmd.term);\n if (cmd.argv.length === 0 || cmd.argv.length > 255) {\n nscfTrap(\"a pty spawn carries no argv or over 255 argv entries — the wire's argv block cannot carry it\");\n }\n nscfWU8(sink, cmd.argv.length);\n for (let i = 0; i < cmd.argv.length; i++) {\n nscfWBytes(sink, cmd.argv[i]!);\n }\n return;\n }\n case \"pty_write\":\n nscfWU8(sink, 0x1a);\n nscfWShortText(sink, cmd.key);\n nscfWBytes(sink, cmd.bytes);\n return;\n case \"pty_resize\":\n nscfWU8(sink, 0x1b);\n nscfWShortText(sink, cmd.key);\n nscfWF64(sink, cmd.cols);\n nscfWF64(sink, cmd.rows);\n return;\n case \"pty_kill\":\n nscfWU8(sink, 0x1c);\n nscfWShortText(sink, cmd.key);\n return;\n case \"show_notification\":\n if (cmd.id.length === 0 && cmd.actionLabel.length === 0 && cmd.actionCommand.length === 0) {\n nscfWU8(sink, 0x1d);\n nscfWBytes(sink, cmd.title);\n nscfWBytes(sink, cmd.subtitle);\n nscfWBytes(sink, cmd.body);\n } else {\n nscfWU8(sink, 0x31);\n nscfWBytes(sink, cmd.id);\n nscfWBytes(sink, cmd.title);\n nscfWBytes(sink, cmd.subtitle);\n nscfWBytes(sink, cmd.body);\n nscfWBytes(sink, cmd.actionLabel);\n nscfWBytes(sink, cmd.actionCommand);\n }\n return;\n case \"audio_capture_start\":\n nscfWU8(sink, 0x1e);\n nscfWF64(sink, cmd.key);\n nscfWU8(sink, nscfMemberIndex(nscfAudioCaptureSources, cmd.source, \"audio capture source\"));\n nscfWU32(sink, cmd.sampleRate);\n nscfWU8(sink, cmd.channels);\n nscfWU8(sink, nscfTagOf(cmd.eventKind));\n return;\n case \"audio_capture_stop\":\n nscfWU8(sink, 0x1f);\n nscfWF64(sink, cmd.key);\n return;\n case \"fetch_stream\": {\n nscfWU8(sink, 0x20);\n nscfWShortText(sink, cmd.key);\n nscfWU8(sink, nscfTagOf(cmd.lineKind));\n nscfWU8(sink, nscfTagOf(cmd.okKind));\n nscfWU8(sink, nscfTagOf(cmd.errKind));\n nscfWU8(sink, nscfMemberIndex(nscfFetchMethods, cmd.method, \"fetch method\"));\n nscfWU32(sink, cmd.timeoutMs);\n nscfWU32(sink, cmd.maxLineBytes);\n nscfWBytes(sink, cmd.url);\n if (cmd.headers.length > 255) {\n nscfTrap(\"a fetch carries over 255 headers — the wire's header block cannot carry it\");\n }\n nscfWU8(sink, cmd.headers.length);\n for (let i = 0; i < cmd.headers.length; i++) {\n const header = cmd.headers[i]!;\n nscfWShortText(sink, header.name);\n const value = header.value;\n nscfWBytes(sink, typeof value === \"string\" ? nscfTextBytes(value) : value);\n }\n nscfWBytes(sink, cmd.body);\n return;\n }\n case \"batch\":\n for (let i = 0; i < cmd.cmds.length; i++) {\n nscfEncodeCmd(sink, cmd.cmds[i]!);\n }\n return;\n }\n}\n";
|
|
82
82
|
export const commandEncoderSuffix = "\nfunction nscfCmdBytes(cmd: nscfCmd<{s}>): Uint8Array {{\n const sink = nscfNewSink();\n nscfEncodeCmd(sink, cmd);\n return nscfFinish(sink);\n}}\n";
|
|
83
|
-
export const subscriptionEncoder = "\n// The v3 subscription wire: repeating timers and build-time\n// checked live relational queries.\nfunction nscfWSubDbValue(sink: nscfSink, value: unknown): void {{\n if (value === null) {{\n nscfWU8(sink, 0);\n }} else if (typeof value === \"number\") {{\n nscfWU8(sink, 1);\n nscfWF64(sink, value);\n }} else if (typeof value === \"string\") {{\n nscfWU8(sink, 2);\n nscfWBytes(sink, nscfUtf8TextBytes(value));\n }} else if (typeof value === \"boolean\") {{\n nscfWU8(sink, 4);\n nscfWU8(sink, value ? 1 : 0);\n }} else if (value instanceof Uint8Array) {{\n nscfWU8(sink, 3);\n nscfWBytes(sink, value);\n }} else {{\n nscfWU8(sink, 2);\n const bytes = (value as nscfDbText).bytes;\n nscfWU32(sink, bytes.length);\n for (let i = 0; i < bytes.length; i++) sink.push(bytes[i]!);\n }}\n}}\n\nfunction nscfEncodeSub(sink: nscfSink, sub: nscfSub<{s}>): void {{\n switch (sub.op) {{\n case \"none\":\n return;\n case \"timer\":\n nscfWU8(sink, 0x01);\n nscfWShortText(sink, sub.key);\n nscfWF64(sink, sub.everyMs);\n nscfWU8(sink, nscfTagOf(sub.msgKind));\n return;\n case \"db_live\":\n nscfWU8(sink, 0x02);\n nscfWShortText(sink, sub.key);\n nscfWU8(sink, nscfTagOf(sub.pageKind));\n nscfWU8(sink, nscfTagOf(sub.doneKind));\n nscfWU8(sink, nscfTagOf(sub.errKind));\n nscfWBytes(sink, nscfUtf8TextBytes(sub.sql));\n nscfWU32(sink, sub.params.length);\n for (let i = 0; i < sub.params.length; i++) nscfWSubDbValue(sink, sub.params[i]!);\n nscfWU32(sink, sub.tables.length);\n for (let i = 0; i < sub.tables.length; i++) nscfWShortText(sink, sub.tables[i]!);\n return;\n case \"batch\":\n for (let i = 0; i < sub.subs.length; i++) {{\n nscfEncodeSub(sink, sub.subs[i]!);\n }}\n return;\n }}\n}}\n\nfunction nscfSubBytes(sub: nscfSub<{s}>): Uint8Array {{\n const sink = nscfNewSink();\n nscfEncodeSub(sink, sub);\n return nscfFinish(sink);\n}}\n";
|
|
83
|
+
export const subscriptionEncoder = "\n// The v3 subscription wire: repeating timers and build-time\n// checked live relational queries.\nfunction nscfWSubDbValue(sink: nscfSink, value: unknown): void {{\n if (value === null) {{\n nscfWU8(sink, 0);\n }} else if (typeof value === \"number\") {{\n nscfWU8(sink, 1);\n nscfWF64(sink, value);\n }} else if (typeof value === \"string\") {{\n nscfWU8(sink, 2);\n nscfWBytes(sink, nscfUtf8TextBytes(value));\n }} else if (typeof value === \"boolean\") {{\n nscfWU8(sink, 4);\n nscfWU8(sink, value ? 1 : 0);\n }} else if (value instanceof Uint8Array) {{\n nscfWU8(sink, 3);\n nscfWBytes(sink, value);\n }} else {{\n nscfWU8(sink, 2);\n const bytes = (value as nscfDbText).bytes;\n nscfWU32(sink, bytes.length);\n for (let i = 0; i < bytes.length; i++) sink.push(bytes[i]!);\n }}\n}}\n\nfunction nscfEncodeSub(sink: nscfSink, sub: nscfSub<{s}>): void {{\n switch (sub.op) {{\n case \"none\":\n return;\n case \"timer\":\n nscfWU8(sink, 0x01);\n nscfWShortText(sink, sub.key);\n nscfWF64(sink, sub.everyMs);\n nscfWU8(sink, nscfTagOf(sub.msgKind));\n return;\n case \"global_shortcut\":\n nscfWU8(sink, 0x03);\n nscfWShortText(sink, sub.id);\n nscfWBytes(sink, sub.key);\n nscfWU8(sink, sub.modifiers);\n nscfWU8(sink, nscfTagOf(sub.msgKind));\n return;\n case \"db_live\":\n nscfWU8(sink, 0x02);\n nscfWShortText(sink, sub.key);\n nscfWU8(sink, nscfTagOf(sub.pageKind));\n nscfWU8(sink, nscfTagOf(sub.doneKind));\n nscfWU8(sink, nscfTagOf(sub.errKind));\n nscfWBytes(sink, nscfUtf8TextBytes(sub.sql));\n nscfWU32(sink, sub.params.length);\n for (let i = 0; i < sub.params.length; i++) nscfWSubDbValue(sink, sub.params[i]!);\n nscfWU32(sink, sub.tables.length);\n for (let i = 0; i < sub.tables.length; i++) nscfWShortText(sink, sub.tables[i]!);\n return;\n case \"batch\":\n for (let i = 0; i < sub.subs.length; i++) {{\n nscfEncodeSub(sink, sub.subs[i]!);\n }}\n return;\n }}\n}}\n\nfunction nscfSubBytes(sub: nscfSub<{s}>): Uint8Array {{\n const sink = nscfNewSink();\n nscfEncodeSub(sink, sub);\n return nscfFinish(sink);\n}}\n";
|
|
84
84
|
|
|
85
85
|
export const frameEntryNs = "\nexport function abi_frame_msg_ns(width: number, height: number, timestampMs: number, intervalMs: number, timestampNs: Uint8Array, intervalNs: Uint8Array): Uint8Array {\n const frame = { width, height, timestampMs, intervalMs, timestampNs, intervalNs };\n return nscfPackMsg(nscfChanFrameMsg(nscfCommitted, frame));\n}\n// Legacy hosts retain the four-number entry. Exact clocks are unavailable\n// through that entry; the matching generated host uses frame_msg_ns.\nexport function abi_frame_msg(width: number, height: number, timestampMs: number, intervalMs: number): Uint8Array {\n return abi_frame_msg_ns(width, height, timestampMs, intervalMs, new Uint8Array(0), new Uint8Array(0));\n}\n";
|
|
@@ -10,6 +10,10 @@ import { intakeCases } from "./intake_cases.ts";
|
|
|
10
10
|
assert.ok(process.argv[2], "run with the compiled corewire path");
|
|
11
11
|
const corewire = path.resolve(process.argv[2]);
|
|
12
12
|
// Mirror hashes include the reviewed stateless-runtime API addition.
|
|
13
|
+
// Mirror hashes also include file-scope host facts: `has_windows` and the
|
|
14
|
+
// virtual extent capability, which the model types forward. Removing that
|
|
15
|
+
// block and nesting the capability back in both model types recovers the
|
|
16
|
+
// previous mirror pins exactly.
|
|
13
17
|
// Facade hashes include exact u32 image identities, nonreplacing file
|
|
14
18
|
// results and exact-range timers. Removing the reviewed timer encoder
|
|
15
19
|
// addition recovers every previous complete facade pin. The byte-key
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"status": 0,
|
|
94
94
|
"diagnostics": "input.json: warning: additive: unknown field ignored (an emitter newer than this reader may emit additive facts)\n",
|
|
95
95
|
"hashes": {
|
|
96
|
-
"mirror": "
|
|
96
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
97
97
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
98
98
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
99
99
|
"effective": "e3bc23eb92273a9e320c2741fe52b4c102fc5ee150d10c099ee27561d9f5e6aa"
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
"status": 0,
|
|
474
474
|
"diagnostics": "",
|
|
475
475
|
"hashes": {
|
|
476
|
-
"mirror": "
|
|
476
|
+
"mirror": "1492af41f1e08edb802026a60079567509267c6ec95968d950521c7f09bd5d85",
|
|
477
477
|
"facade": "aeb3fb1bd9d87e5c51c9290650a749ddf9035abe3e169d07262a9e20ed4fb849",
|
|
478
478
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
479
479
|
"effective": "011d15343e4459b52c340e4d6ce3c6aacb6d7741a62af6134bd950eb55f03812"
|
|
@@ -573,7 +573,7 @@
|
|
|
573
573
|
"status": 0,
|
|
574
574
|
"diagnostics": "",
|
|
575
575
|
"hashes": {
|
|
576
|
-
"mirror": "
|
|
576
|
+
"mirror": "fa3e95cd730299828a13529356651c36348e7f59294c118b76c486497e62a4f8",
|
|
577
577
|
"facade": "dfcf6c01ef111acfb7a66d9233ad8a954a52ec62a7663d3e3533dd0a6e60514c",
|
|
578
578
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
579
579
|
"effective": "a1457b0173d54b52feec7dade810544e1f47ff9e00b046e470610e1570c3ffd3"
|
|
@@ -1003,7 +1003,7 @@
|
|
|
1003
1003
|
"status": 0,
|
|
1004
1004
|
"diagnostics": "input.json: warning: types.additive: unknown field ignored (an emitter newer than this reader may emit additive facts)\n",
|
|
1005
1005
|
"hashes": {
|
|
1006
|
-
"mirror": "
|
|
1006
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
1007
1007
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
1008
1008
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
1009
1009
|
"effective": "30c9e0116655b0cd4ddd900ed48199898b956f77d6a94a61f9b3b9121d98eded"
|
|
@@ -1203,7 +1203,7 @@
|
|
|
1203
1203
|
"status": 0,
|
|
1204
1204
|
"diagnostics": "input.json: warning: types.structs[0].additive: unknown field ignored (an emitter newer than this reader may emit additive facts)\n",
|
|
1205
1205
|
"hashes": {
|
|
1206
|
-
"mirror": "
|
|
1206
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
1207
1207
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
1208
1208
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
1209
1209
|
"effective": "634450e29449850308454c757467d13fc4f044f783f0b169fec02a03206b619c"
|
|
@@ -1383,7 +1383,7 @@
|
|
|
1383
1383
|
"status": 0,
|
|
1384
1384
|
"diagnostics": "",
|
|
1385
1385
|
"hashes": {
|
|
1386
|
-
"mirror": "
|
|
1386
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
1387
1387
|
"facade": "d14223528dfa53b684bdd0317beac37cfa71a10fed7536c928a27bd45bdc546a",
|
|
1388
1388
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
1389
1389
|
"effective": "d41e785385e73e809edd150fe471a52f3d11e2e17f568fd962d3af338cdaea2d"
|
|
@@ -1413,7 +1413,7 @@
|
|
|
1413
1413
|
"status": 0,
|
|
1414
1414
|
"diagnostics": "",
|
|
1415
1415
|
"hashes": {
|
|
1416
|
-
"mirror": "
|
|
1416
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
1417
1417
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
1418
1418
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
1419
1419
|
"effective": "43d383b1cbc672bea6e9df1e8e20687e33b20a849b09f67c8cf6a097dfededab"
|
|
@@ -1433,7 +1433,7 @@
|
|
|
1433
1433
|
"status": 0,
|
|
1434
1434
|
"diagnostics": "",
|
|
1435
1435
|
"hashes": {
|
|
1436
|
-
"mirror": "
|
|
1436
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
1437
1437
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
1438
1438
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
1439
1439
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -1443,7 +1443,7 @@
|
|
|
1443
1443
|
"status": 0,
|
|
1444
1444
|
"diagnostics": "",
|
|
1445
1445
|
"hashes": {
|
|
1446
|
-
"mirror": "
|
|
1446
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
1447
1447
|
"facade": "67a5ac8e26092d1df6d9d918ed832c3c9bf5d6ba63833446ed7cc08b331bf4d4",
|
|
1448
1448
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
1449
1449
|
"effective": "e2c4b217d2c9b3857e1a839780aed08a21844a079bfa0cf18181c4f6d70c9fed"
|
|
@@ -1703,7 +1703,7 @@
|
|
|
1703
1703
|
"status": 0,
|
|
1704
1704
|
"diagnostics": "input.json: warning: types.structs[0].fields[0].additive: unknown field ignored (an emitter newer than this reader may emit additive facts)\n",
|
|
1705
1705
|
"hashes": {
|
|
1706
|
-
"mirror": "
|
|
1706
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
1707
1707
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
1708
1708
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
1709
1709
|
"effective": "463e4114b1f0aa930a31716f7d4afb659cd4b87a4b415a2b2c3b29ad9dd48631"
|
|
@@ -1913,7 +1913,7 @@
|
|
|
1913
1913
|
"status": 0,
|
|
1914
1914
|
"diagnostics": "input.json: warning: types.structs[0].fields[0].type.additive: unknown field ignored (an emitter newer than this reader may emit additive facts)\n",
|
|
1915
1915
|
"hashes": {
|
|
1916
|
-
"mirror": "
|
|
1916
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
1917
1917
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
1918
1918
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
1919
1919
|
"effective": "8b308da533187e0876d3228cafa83c5a365adcf4d03442481de032ead98dfc54"
|
|
@@ -2103,7 +2103,7 @@
|
|
|
2103
2103
|
"status": 0,
|
|
2104
2104
|
"diagnostics": "",
|
|
2105
2105
|
"hashes": {
|
|
2106
|
-
"mirror": "
|
|
2106
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
2107
2107
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
2108
2108
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
2109
2109
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -2203,7 +2203,7 @@
|
|
|
2203
2203
|
"status": 0,
|
|
2204
2204
|
"diagnostics": "",
|
|
2205
2205
|
"hashes": {
|
|
2206
|
-
"mirror": "
|
|
2206
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
2207
2207
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
2208
2208
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
2209
2209
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -2403,7 +2403,7 @@
|
|
|
2403
2403
|
"status": 0,
|
|
2404
2404
|
"diagnostics": "",
|
|
2405
2405
|
"hashes": {
|
|
2406
|
-
"mirror": "
|
|
2406
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
2407
2407
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
2408
2408
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
2409
2409
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -2503,7 +2503,7 @@
|
|
|
2503
2503
|
"status": 0,
|
|
2504
2504
|
"diagnostics": "",
|
|
2505
2505
|
"hashes": {
|
|
2506
|
-
"mirror": "
|
|
2506
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
2507
2507
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
2508
2508
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
2509
2509
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -2623,7 +2623,7 @@
|
|
|
2623
2623
|
"status": 0,
|
|
2624
2624
|
"diagnostics": "input.json: warning: msg.additive: unknown field ignored (an emitter newer than this reader may emit additive facts)\n",
|
|
2625
2625
|
"hashes": {
|
|
2626
|
-
"mirror": "
|
|
2626
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
2627
2627
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
2628
2628
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
2629
2629
|
"effective": "6e1333386b44e61582c7769b9e4d385cd5d940ef0581b2bb7bcb4713553a9d56"
|
|
@@ -2703,7 +2703,7 @@
|
|
|
2703
2703
|
"status": 0,
|
|
2704
2704
|
"diagnostics": "",
|
|
2705
2705
|
"hashes": {
|
|
2706
|
-
"mirror": "
|
|
2706
|
+
"mirror": "eff62b82404a6f1051d9d6e51b61ce10c1ea0a4815eb315a120761e61facb2b7",
|
|
2707
2707
|
"facade": "21fe4f6eb965152a2330e968867bfb645aa365b0a138c8da20dea4d200a79986",
|
|
2708
2708
|
"profile": "4dde885542452cd0ed15df1081c51a422aeb93e82ebc73c6b3af641635104a0a",
|
|
2709
2709
|
"effective": "29f93cef5f0de0668e5939642defed979e31191eb660d08b1b41313a88313a4e"
|
|
@@ -2923,7 +2923,7 @@
|
|
|
2923
2923
|
"status": 0,
|
|
2924
2924
|
"diagnostics": "input.json: warning: msg.arms[0].additive: unknown field ignored (an emitter newer than this reader may emit additive facts)\n",
|
|
2925
2925
|
"hashes": {
|
|
2926
|
-
"mirror": "
|
|
2926
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
2927
2927
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
2928
2928
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
2929
2929
|
"effective": "a0b350097501f6fd07d37e448d5d5482fb6614de567e423cc7b47a5d014086dc"
|
|
@@ -3003,7 +3003,7 @@
|
|
|
3003
3003
|
"status": 0,
|
|
3004
3004
|
"diagnostics": "",
|
|
3005
3005
|
"hashes": {
|
|
3006
|
-
"mirror": "
|
|
3006
|
+
"mirror": "45e72749e17362d1404ca2abda88193d4c176aa2da6104eb3e1b16a56e86a4ff",
|
|
3007
3007
|
"facade": "2e21357fe83d0dc934948f140b5172ab0be1249143577f4cd7b9c669c5368af6",
|
|
3008
3008
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
3009
3009
|
"effective": "041a4ce359e91d7957b2ff3a8c465b21915e9f5eec17534d5202b5d67ded0a4e"
|
|
@@ -3133,7 +3133,7 @@
|
|
|
3133
3133
|
"status": 0,
|
|
3134
3134
|
"diagnostics": "input.json: warning: msg.arms[0].payload.additive: unknown field ignored (an emitter newer than this reader may emit additive facts)\n",
|
|
3135
3135
|
"hashes": {
|
|
3136
|
-
"mirror": "
|
|
3136
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
3137
3137
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
3138
3138
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
3139
3139
|
"effective": "1b3bd1140ab616be4d0012f9f47a2589db2955fdaf152786146200e8a875cb04"
|
|
@@ -3323,7 +3323,7 @@
|
|
|
3323
3323
|
"status": 0,
|
|
3324
3324
|
"diagnostics": "",
|
|
3325
3325
|
"hashes": {
|
|
3326
|
-
"mirror": "
|
|
3326
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
3327
3327
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
3328
3328
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
3329
3329
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -3363,7 +3363,7 @@
|
|
|
3363
3363
|
"status": 0,
|
|
3364
3364
|
"diagnostics": "",
|
|
3365
3365
|
"hashes": {
|
|
3366
|
-
"mirror": "
|
|
3366
|
+
"mirror": "147f46bac199cf7b7dc7a6ae62c55a34f7e309a52e51c3a68d9eb862b0fbda4e",
|
|
3367
3367
|
"facade": "05abb2509c29670a46a0448096f4e69897998b0ea067414e61df424c46613da8",
|
|
3368
3368
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
3369
3369
|
"effective": "01efcce03e446fabb95d2aed3bdd7677bdd2a99c80bd8759c4c9b476d7532380"
|
|
@@ -3373,7 +3373,7 @@
|
|
|
3373
3373
|
"status": 0,
|
|
3374
3374
|
"diagnostics": "",
|
|
3375
3375
|
"hashes": {
|
|
3376
|
-
"mirror": "
|
|
3376
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
3377
3377
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
3378
3378
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
3379
3379
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -3463,7 +3463,7 @@
|
|
|
3463
3463
|
"status": 0,
|
|
3464
3464
|
"diagnostics": "",
|
|
3465
3465
|
"hashes": {
|
|
3466
|
-
"mirror": "
|
|
3466
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
3467
3467
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
3468
3468
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
3469
3469
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -3473,7 +3473,7 @@
|
|
|
3473
3473
|
"status": 0,
|
|
3474
3474
|
"diagnostics": "",
|
|
3475
3475
|
"hashes": {
|
|
3476
|
-
"mirror": "
|
|
3476
|
+
"mirror": "2ba59154c80ebbcc64bc26e7a820d202b495da971fc04d3d5da54b450ca73ab3",
|
|
3477
3477
|
"facade": "e34a901be9fdd77fab6493c3f114e22cf9adf2eca2c15ecece8086321cb60f35",
|
|
3478
3478
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
3479
3479
|
"effective": "31ae7c68b631a0e34ed338ac9a41840db91d7e79c5953b505e7760f856130097"
|
|
@@ -3563,8 +3563,8 @@
|
|
|
3563
3563
|
"status": 0,
|
|
3564
3564
|
"diagnostics": "",
|
|
3565
3565
|
"hashes": {
|
|
3566
|
-
"mirror": "
|
|
3567
|
-
"facade": "
|
|
3566
|
+
"mirror": "7e75245a6a50423ca862066ae3f710f40b03d2ab091354afd293731fa74f3246",
|
|
3567
|
+
"facade": "a50260dc4406a586f33c1a51ff67e478721186add499ae1cf442bdf5d0759365",
|
|
3568
3568
|
"profile": "fb8fb569febb7c1ec564b5c3b47cdc3af3b37be6455af513dcca73f9a881b61f",
|
|
3569
3569
|
"effective": "8b61dd2e469c98d8ddbe0b3fff0e71f957526c6fed78a55587c7753f6ec43ad4"
|
|
3570
3570
|
}
|
|
@@ -3573,7 +3573,7 @@
|
|
|
3573
3573
|
"status": 0,
|
|
3574
3574
|
"diagnostics": "",
|
|
3575
3575
|
"hashes": {
|
|
3576
|
-
"mirror": "
|
|
3576
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
3577
3577
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
3578
3578
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
3579
3579
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -3663,7 +3663,7 @@
|
|
|
3663
3663
|
"status": 0,
|
|
3664
3664
|
"diagnostics": "",
|
|
3665
3665
|
"hashes": {
|
|
3666
|
-
"mirror": "
|
|
3666
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
3667
3667
|
"facade": "c78687a209b180315d81724a0098ff343bf9868eeeb5257db5a16e2c08646184",
|
|
3668
3668
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
3669
3669
|
"effective": "aca8e64a47cdade9428e1bcecff3741cf4669f42a0c06f4a0d6b59cf9824af3c"
|
|
@@ -3673,7 +3673,7 @@
|
|
|
3673
3673
|
"status": 0,
|
|
3674
3674
|
"diagnostics": "",
|
|
3675
3675
|
"hashes": {
|
|
3676
|
-
"mirror": "
|
|
3676
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
3677
3677
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
3678
3678
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
3679
3679
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -3843,7 +3843,7 @@
|
|
|
3843
3843
|
"status": 0,
|
|
3844
3844
|
"diagnostics": "input.json: warning: channels.additive: unknown field ignored (an emitter newer than this reader may emit additive facts)\n",
|
|
3845
3845
|
"hashes": {
|
|
3846
|
-
"mirror": "
|
|
3846
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
3847
3847
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
3848
3848
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
3849
3849
|
"effective": "053ec2e32c440e24a88d696f6e5343d0c55cf2f0c95bd0e6c028af93fda8c911"
|
|
@@ -3883,7 +3883,7 @@
|
|
|
3883
3883
|
"status": 0,
|
|
3884
3884
|
"diagnostics": "",
|
|
3885
3885
|
"hashes": {
|
|
3886
|
-
"mirror": "
|
|
3886
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
3887
3887
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
3888
3888
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
3889
3889
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -3983,7 +3983,7 @@
|
|
|
3983
3983
|
"status": 0,
|
|
3984
3984
|
"diagnostics": "",
|
|
3985
3985
|
"hashes": {
|
|
3986
|
-
"mirror": "
|
|
3986
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
3987
3987
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
3988
3988
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
3989
3989
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -4083,7 +4083,7 @@
|
|
|
4083
4083
|
"status": 0,
|
|
4084
4084
|
"diagnostics": "",
|
|
4085
4085
|
"hashes": {
|
|
4086
|
-
"mirror": "
|
|
4086
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
4087
4087
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
4088
4088
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
4089
4089
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -4183,7 +4183,7 @@
|
|
|
4183
4183
|
"status": 0,
|
|
4184
4184
|
"diagnostics": "",
|
|
4185
4185
|
"hashes": {
|
|
4186
|
-
"mirror": "
|
|
4186
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
4187
4187
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
4188
4188
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
4189
4189
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -4253,7 +4253,7 @@
|
|
|
4253
4253
|
"status": 0,
|
|
4254
4254
|
"diagnostics": "",
|
|
4255
4255
|
"hashes": {
|
|
4256
|
-
"mirror": "
|
|
4256
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
4257
4257
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
4258
4258
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
4259
4259
|
"effective": "552ee03abd7e45a092c9d87e2b60dc7937276da41a2f64672a9f2fa683ce0e2f"
|
|
@@ -4283,7 +4283,7 @@
|
|
|
4283
4283
|
"status": 0,
|
|
4284
4284
|
"diagnostics": "",
|
|
4285
4285
|
"hashes": {
|
|
4286
|
-
"mirror": "
|
|
4286
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
4287
4287
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
4288
4288
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
4289
4289
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -4363,7 +4363,7 @@
|
|
|
4363
4363
|
"status": 0,
|
|
4364
4364
|
"diagnostics": "",
|
|
4365
4365
|
"hashes": {
|
|
4366
|
-
"mirror": "
|
|
4366
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
4367
4367
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
4368
4368
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
4369
4369
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -4463,7 +4463,7 @@
|
|
|
4463
4463
|
"status": 0,
|
|
4464
4464
|
"diagnostics": "",
|
|
4465
4465
|
"hashes": {
|
|
4466
|
-
"mirror": "
|
|
4466
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
4467
4467
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
4468
4468
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
4469
4469
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -4633,7 +4633,7 @@
|
|
|
4633
4633
|
"status": 0,
|
|
4634
4634
|
"diagnostics": "",
|
|
4635
4635
|
"hashes": {
|
|
4636
|
-
"mirror": "
|
|
4636
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
4637
4637
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
4638
4638
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
4639
4639
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -4753,7 +4753,7 @@
|
|
|
4753
4753
|
"status": 0,
|
|
4754
4754
|
"diagnostics": "input.json: warning: abi.additive: unknown field ignored (an emitter newer than this reader may emit additive facts)\n",
|
|
4755
4755
|
"hashes": {
|
|
4756
|
-
"mirror": "
|
|
4756
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
4757
4757
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
4758
4758
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
4759
4759
|
"effective": "901da1878781333ea611db955368a35c2653dc4a7632a72e1224f45e7f497f77"
|
|
@@ -4833,7 +4833,7 @@
|
|
|
4833
4833
|
"status": 0,
|
|
4834
4834
|
"diagnostics": "",
|
|
4835
4835
|
"hashes": {
|
|
4836
|
-
"mirror": "
|
|
4836
|
+
"mirror": "7f20124d111ec9b3b5b5b8c00c2bca7d97ac6eee0ae2dea2750d25ba9bfa84d3",
|
|
4837
4837
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
4838
4838
|
"profile": "bbe20c40bc718d0d2df8731ce22da0a4b33d00311fb080eac5b151850630db6a",
|
|
4839
4839
|
"effective": "a61d5bc5e94704c708b340f645e5df4280973ea0d360ea261512aa3f6dd1f064"
|
|
@@ -5343,7 +5343,7 @@
|
|
|
5343
5343
|
"status": 0,
|
|
5344
5344
|
"diagnostics": "input.json: warning: integer_slots[0].additive: unknown field ignored (an emitter newer than this reader may emit additive facts)\n",
|
|
5345
5345
|
"hashes": {
|
|
5346
|
-
"mirror": "
|
|
5346
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
5347
5347
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
5348
5348
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
5349
5349
|
"effective": "9ace12aa1535d739de18f88e8f7efdacdb20256570b01e1808acfe230d906691"
|
|
@@ -5573,7 +5573,7 @@
|
|
|
5573
5573
|
"status": 0,
|
|
5574
5574
|
"diagnostics": "",
|
|
5575
5575
|
"hashes": {
|
|
5576
|
-
"mirror": "
|
|
5576
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
5577
5577
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
5578
5578
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
5579
5579
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -5673,7 +5673,7 @@
|
|
|
5673
5673
|
"status": 0,
|
|
5674
5674
|
"diagnostics": "",
|
|
5675
5675
|
"hashes": {
|
|
5676
|
-
"mirror": "
|
|
5676
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
5677
5677
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
5678
5678
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
5679
5679
|
"effective": "6a66c0857319947fce85caac42f1791e77b9683366ba584339b9841a8b1fee57"
|
|
@@ -11826,7 +11826,7 @@
|
|
|
11826
11826
|
"status": 0,
|
|
11827
11827
|
"diagnostics": "",
|
|
11828
11828
|
"hashes": {
|
|
11829
|
-
"mirror": "
|
|
11829
|
+
"mirror": "6a7d18241667281434b23a82c0837fdf3741e57238db1c0b21e3816c34dafa63",
|
|
11830
11830
|
"facade": "05ebac9400914b002841af77367889c76c4defd92fb225ec524050ae7d33a2e7",
|
|
11831
11831
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
11832
11832
|
"effective": "5dfd2995d7c910da7b8d06a2a4cf0b0c690525f758f903cd665e7d912f67cd50"
|
|
@@ -11836,7 +11836,7 @@
|
|
|
11836
11836
|
"status": 0,
|
|
11837
11837
|
"diagnostics": "",
|
|
11838
11838
|
"hashes": {
|
|
11839
|
-
"mirror": "
|
|
11839
|
+
"mirror": "8131b42cf398f521a8d7faf54b12f2473f4cdf02e29162590884e135a055b59a",
|
|
11840
11840
|
"facade": "e108e2564a56c84d1736ce5c1712278b0b71478d28109260da8318ac813cfb67",
|
|
11841
11841
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
11842
11842
|
"effective": "b4805cd68542706bfde1d1af871ff48a643c7544ca84b0c42c3ebc652069b103"
|
|
@@ -11846,7 +11846,7 @@
|
|
|
11846
11846
|
"status": 0,
|
|
11847
11847
|
"diagnostics": "",
|
|
11848
11848
|
"hashes": {
|
|
11849
|
-
"mirror": "
|
|
11849
|
+
"mirror": "251da77910d2d9bcd91994ac0983318f1ea1ce1e607c8d53b5a3db05c58678a2",
|
|
11850
11850
|
"facade": "961fe7d281bbb7f36979977ee966391ebd1cbb368cc2d92473112d2ebb1e8c01",
|
|
11851
11851
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
11852
11852
|
"effective": "a3b4b186c5e556194c1a20058d4d31db14663b080fa6c381d87fd9d8ef22c1fd"
|
|
@@ -11856,7 +11856,7 @@
|
|
|
11856
11856
|
"status": 0,
|
|
11857
11857
|
"diagnostics": "",
|
|
11858
11858
|
"hashes": {
|
|
11859
|
-
"mirror": "
|
|
11859
|
+
"mirror": "8ba018346d6cfd531df518357bb23ce9b16fb015c1355fd3c40ba922777d7e7a",
|
|
11860
11860
|
"facade": "35449b31a00500ed3affd858fb9ffb726d7806391799a58d06adcbbf22bcb33c",
|
|
11861
11861
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
11862
11862
|
"effective": "f908f189f33bebe6ed88ac296fa6211a05070e563f11edbe686d64ccbdd1f8dc"
|
|
@@ -11886,7 +11886,7 @@
|
|
|
11886
11886
|
"status": 0,
|
|
11887
11887
|
"diagnostics": "input.json: warning: types.structs[0].fields[0].type.inner: unknown field ignored (an emitter newer than this reader may emit additive facts)\ninput.json: warning: types.structs[0].fields[0].type.elem: unknown field ignored (an emitter newer than this reader may emit additive facts)\ninput.json: warning: types.structs[0].fields[0].type.name: unknown field ignored (an emitter newer than this reader may emit additive facts)\ninput.json: warning: types.structs[0].fields[0].type.extra: unknown field ignored (an emitter newer than this reader may emit additive facts)\n",
|
|
11888
11888
|
"hashes": {
|
|
11889
|
-
"mirror": "
|
|
11889
|
+
"mirror": "7d9d86e905a7160c77d875d8cbac67ff85a6cc76dbfc6888c254da05cac00c1a",
|
|
11890
11890
|
"facade": "c4dfccae18f7cb80c1a80bd3968a47811c6fcfd5697206cdf1a8491505a539b6",
|
|
11891
11891
|
"profile": "1eddcb19b3f52ff6fd4a596bbd45dcca49ae3d307dfd3af1a4a033465fae0035",
|
|
11892
11892
|
"effective": "c3bbb33e0452a353e5258e8e8582fd158357dfc07831df7ef1388f07b1224d2d"
|
|
@@ -8,6 +8,10 @@ assert.ok(process.argv[2], "run with the compiled corewire path (zig build test-
|
|
|
8
8
|
const corewire = path.resolve(process.argv[2]);
|
|
9
9
|
// Captured from the independent native coordinator, before this migration.
|
|
10
10
|
// Mirror hashes include the reviewed stateless-runtime API addition.
|
|
11
|
+
// Mirror hashes also include file-scope host facts: `has_windows` and the
|
|
12
|
+
// virtual extent capability, which the model types forward. Removing that
|
|
13
|
+
// block and nesting the capability back in both model types recovers the
|
|
14
|
+
// previous mirror pins exactly.
|
|
11
15
|
// Facade hashes include exact u32 image identities, nonreplacing file
|
|
12
16
|
// results and exact-range timers. Removing the reviewed timer encoder
|
|
13
17
|
// addition recovers every previous complete facade pin. The byte-key
|