space-data-module-sdk 0.8.27 → 0.9.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/README.md +5 -4
- package/docs/assembly.js +0 -18
- package/docs/assets/ai-credits/ai-credits.js +116 -0
- package/docs/assets/sdn-chrome/sdn-chrome.css +434 -0
- package/docs/assets/sdn-chrome/sdn-chrome.js +236 -0
- package/docs/browser-wasmedge-isomorphic.html +29 -41
- package/docs/byo-wasm-quickstart.html +29 -41
- package/docs/conformance.html +29 -41
- package/docs/events-abi.html +29 -41
- package/docs/families/analytics.html +29 -41
- package/docs/families/attitude.html +29 -41
- package/docs/families/behavior.html +29 -41
- package/docs/families/breakup.html +29 -41
- package/docs/families/conjunction.html +29 -41
- package/docs/families/data-source.html +29 -41
- package/docs/families/effects.html +29 -41
- package/docs/families/environment.html +29 -41
- package/docs/families/estimation.html +29 -41
- package/docs/families/gnc.html +29 -41
- package/docs/families/maneuver.html +29 -41
- package/docs/families/obstruction.html +29 -41
- package/docs/families/propagator.html +29 -41
- package/docs/families/propulsion.html +29 -41
- package/docs/families/reentry.html +29 -41
- package/docs/families/rf.html +29 -41
- package/docs/families/scheduler.html +29 -41
- package/docs/families/sensor.html +29 -41
- package/docs/families/signature.html +29 -41
- package/docs/flatsql-host-contract.html +29 -41
- package/docs/flatsql-streaming-standard.html +29 -41
- package/docs/gpu-module-abi.html +29 -41
- package/docs/index.html +43 -47
- package/docs/isomorphic-pthreads.html +29 -41
- package/docs/isomorphic-sdn-runtime-plan.html +29 -41
- package/docs/language-runtime-matrix.html +29 -41
- package/docs/media/module-sdk-reel-poster.webp +0 -0
- package/docs/media/module-sdk-reel.mp4 +0 -0
- package/docs/media/module-sdk-reel.webm +0 -0
- package/docs/media/reel/reel.css +53 -0
- package/docs/media/reel/reel.js +272 -0
- package/docs/module-bundle-runtime-plan.html +29 -41
- package/docs/module-publication-standard.html +29 -41
- package/docs/node-red-default-node-parity.html +29 -41
- package/docs/protect-and-sign.html +29 -41
- package/docs/protocol-installation.html +29 -41
- package/docs/publication-submission.html +29 -41
- package/docs/secrets-capability.html +29 -41
- package/docs/styles.css +89 -157
- package/docs/testing-harness.html +29 -41
- package/docs/tri-runtime-parity-gate.html +29 -41
- package/docs/tri-runtime-parity.html +29 -41
- package/package.json +5 -3
- package/schemas/runtime/FlowNotice.fbs +39 -0
- package/schemas/runtime/HostOps.fbs +453 -0
- package/schemas/runtime/HttpRequest.fbs +25 -0
- package/schemas/runtime/HttpResponse.fbs +24 -0
- package/schemas/runtime/IngestRequest.fbs +58 -0
- package/schemas/runtime/IngestResult.fbs +23 -0
- package/schemas/runtime/ModuleConfig.fbs +41 -0
- package/schemas/runtime/RuntimeCommon.fbs +33 -0
- package/schemas/runtime/TimerTick.fbs +18 -0
- package/src/compiler/compileModule.js +20 -2
- package/src/generated/runtime/aligned/HostOps_aligned.js +3924 -0
- package/src/generated/runtime/aligned/HostOps_aligned.ts +4620 -0
- package/src/generated/runtime/aligned/HostOps_enums.js +14 -0
- package/src/generated/runtime/aligned/HostOps_enums.ts +7 -0
- package/src/generated/runtime/cpp/FlowNotice_generated.h +367 -0
- package/src/generated/runtime/cpp/HostOps_aligned.h +3547 -0
- package/src/generated/runtime/cpp/HttpRequest_generated.h +317 -0
- package/src/generated/runtime/cpp/HttpResponse_generated.h +315 -0
- package/src/generated/runtime/cpp/IngestRequest_generated.h +764 -0
- package/src/generated/runtime/cpp/IngestResult_generated.h +319 -0
- package/src/generated/runtime/cpp/ModuleConfig_generated.h +604 -0
- package/src/generated/runtime/cpp/RuntimeCommon_generated.h +410 -0
- package/src/generated/runtime/cpp/TimerTick_generated.h +229 -0
- package/src/generated/runtime/sdn/runtime/ArchiveTarget.js +78 -0
- package/src/generated/runtime/sdn/runtime/ArchiveTarget.ts +104 -0
- package/src/generated/runtime/sdn/runtime/ConfigEntry.js +202 -0
- package/src/generated/runtime/sdn/runtime/ConfigEntry.ts +251 -0
- package/src/generated/runtime/sdn/runtime/ConfigTable.js +80 -0
- package/src/generated/runtime/sdn/runtime/ConfigTable.ts +97 -0
- package/src/generated/runtime/sdn/runtime/FlowNotice.js +196 -0
- package/src/generated/runtime/sdn/runtime/FlowNotice.ts +254 -0
- package/src/generated/runtime/sdn/runtime/Header.js +79 -0
- package/src/generated/runtime/sdn/runtime/Header.ts +100 -0
- package/src/generated/runtime/sdn/runtime/HttpRequest.js +216 -0
- package/src/generated/runtime/sdn/runtime/HttpRequest.ts +265 -0
- package/src/generated/runtime/sdn/runtime/HttpResponse.js +216 -0
- package/src/generated/runtime/sdn/runtime/HttpResponse.ts +267 -0
- package/src/generated/runtime/sdn/runtime/IngestRequest.js +121 -0
- package/src/generated/runtime/sdn/runtime/IngestRequest.ts +155 -0
- package/src/generated/runtime/sdn/runtime/IngestResult.js +184 -0
- package/src/generated/runtime/sdn/runtime/IngestResult.ts +235 -0
- package/src/generated/runtime/sdn/runtime/ModuleConfig.js +92 -0
- package/src/generated/runtime/sdn/runtime/ModuleConfig.ts +114 -0
- package/src/generated/runtime/sdn/runtime/Provenance.js +288 -0
- package/src/generated/runtime/sdn/runtime/Provenance.ts +368 -0
- package/src/generated/runtime/sdn/runtime/SourceTags.js +181 -0
- package/src/generated/runtime/sdn/runtime/SourceTags.ts +253 -0
- package/src/generated/runtime/sdn/runtime/TimerTick.js +119 -0
- package/src/generated/runtime/sdn/runtime/TimerTick.ts +148 -0
- package/src/generated/runtime/sdn/runtime/configValueKind.js +12 -0
- package/src/generated/runtime/sdn/runtime/configValueKind.ts +19 -0
- package/src/generated/runtime/sdn/runtime/flowNoticeKind.js +11 -0
- package/src/generated/runtime/sdn/runtime/flowNoticeKind.ts +34 -0
- package/src/generated/runtime/sdn/runtime/reconcileMode.js +9 -0
- package/src/generated/runtime/sdn/runtime/reconcileMode.ts +23 -0
- package/src/generated/runtime/sdn/runtime.js +16 -0
- package/src/generated/runtime/sdn/runtime.ts +17 -0
- package/src/host/abi.js +20 -3
- package/src/host/browserHost.js +2 -0
- package/src/host/cpp/typedHostcall.hpp +201 -0
- package/src/host/hostWorkerBundleSources.js +3 -3
- package/src/host/nodeHost.js +1 -0
- package/src/host/typedDispatch.js +230 -0
- package/src/invoke/codec.js +3 -2
- package/src/standards/runtimeContracts.js +536 -0
- package/src/standards/sharedCatalog.js +27 -0
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
|
-
<
|
|
5
|
+
<link rel="stylesheet" href="./assets/sdn-chrome/sdn-chrome.css" />
|
|
6
|
+
<script src="./assets/sdn-chrome/sdn-chrome.js"></script>
|
|
6
7
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
8
|
<meta name="description" content="docs/tri-runtime-parity.md describes the parity harness: one" />
|
|
8
9
|
<title>Tri-runtime parity gate — Space Data Module SDK</title>
|
|
10
|
+
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'><defs><linearGradient id='t' gradientUnits='userSpaceOnUse' x1='16' y1='29' x2='16' y2='3'><stop offset='0' stop-color='%23f5a524' stop-opacity='0'/><stop offset='.55' stop-color='%23f5a524' stop-opacity='.55'/><stop offset='1' stop-color='%23f5a524'/></linearGradient></defs><circle cx='16' cy='16' r='13' stroke='%23f5f5f7' stroke-width='1.6' opacity='.3'/><path d='M16 29A13 13 0 0 1 16 3' stroke='url(%23t)' stroke-width='2.2' stroke-linecap='round'/><path d='M16 10.2L10.4 20.1H21.6Z' stroke='%23f5f5f7' stroke-width='1.6' stroke-linejoin='round'/><circle cx='16' cy='10.2' r='2.6' fill='%23f5f5f7'/><circle cx='10.4' cy='20.1' r='2.6' fill='%23f5f5f7'/><circle cx='21.6' cy='20.1' r='2.6' fill='%23f5f5f7'/><circle cx='16' cy='3' r='2.5' fill='%23f5a524'/></svg>" />
|
|
9
11
|
<link rel="stylesheet" href="./styles.css" />
|
|
10
12
|
<script src="./assembly.js" defer></script>
|
|
13
|
+
<script src="./assets/ai-credits/ai-credits.js" defer></script>
|
|
11
14
|
<!-- SDN_CONSUMER_ASSETS_START -->
|
|
12
15
|
<link rel="stylesheet" href="https://static.spacedatanetwork.org/assets/hd-wallet-ui/2.0.28/sdn-wallet-public-client.c3f68d1cfd88478f10d836a5e829d1dfc6a10157972cf0f7d4d319d0636f2cc4.css" integrity="sha384-fICuhN4I9xqOK1F5vGGzl26opuO+xQIvTZXMSV76lWTBiQ6AfzztMGLLDw8yRT8i" crossorigin="anonymous">
|
|
13
16
|
<script defer src="https://static.spacedatanetwork.org/assets/hd-wallet-ui/2.0.28/sdn-wallet-public-client.f611e7e151a3b5c38384272f8894a4c6634f0a29bf925b0e02e0e27f8db0bfff.js" integrity="sha384-R+QqsKoWJIS7iWrtPmgJ49DVnb1hSGjZokupbLInJd1PLp8RwQhtF/hnaerc33ci" crossorigin="anonymous" data-sdn-wallet-public-client="v1"></script>
|
|
@@ -18,15 +21,20 @@
|
|
|
18
21
|
<canvas id="assembly" aria-hidden="true"></canvas>
|
|
19
22
|
<a class="skip-link" href="#main">Skip to content</a>
|
|
20
23
|
<sdn-stack-nav active="module-sdk"></sdn-stack-nav>
|
|
21
|
-
<header class="
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
<header class="sdn-header sdn-header-inflow">
|
|
25
|
+
<div class="sdn-header-inner">
|
|
26
|
+
<a class="sdn-header-brand" href="./"><span>Space Data Module SDK</span></a>
|
|
27
|
+
<nav class="sdn-header-links" aria-label="Site">
|
|
28
|
+
<a href="./byo-wasm-quickstart.html">Quickstart</a>
|
|
29
|
+
<a href="./conformance.html">Conformance</a>
|
|
30
|
+
<a href="#stack">Stack</a>
|
|
31
|
+
<a href="https://github.com/DigitalArsenal/space-data-module-sdk">GitHub</a>
|
|
32
|
+
</nav>
|
|
33
|
+
<div class="sdn-header-actions">
|
|
34
|
+
<button data-sdn-theme-toggle aria-label="Switch between light and dark theme"></button>
|
|
35
|
+
<button data-sdn-menu-toggle aria-label="Menu"></button>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
30
38
|
</header>
|
|
31
39
|
<div class="shell">
|
|
32
40
|
<nav class="sidebar" id="sidebar" aria-label="Documentation">
|
|
@@ -150,38 +158,18 @@ space-data-module parity-gate --gate-manifest ./parity/negative-control.json --e
|
|
|
150
158
|
<li><a class="depth-2" href="#the-one-runtime-difference-the-sdk-absorbs-and-where">The one runtime difference the SDK absorbs (and where)</a></li>
|
|
151
159
|
<li><a class="depth-2" href="#negative-control">Negative control</a></li></ul></nav>
|
|
152
160
|
</div>
|
|
153
|
-
<section id="stack"
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
<
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
<
|
|
161
|
-
<
|
|
162
|
-
</
|
|
163
|
-
<a href="
|
|
164
|
-
<span>FlatBuffers</span>
|
|
165
|
-
<small>Binary encoding, schema tooling, and runtime documentation.</small>
|
|
166
|
-
</a>
|
|
167
|
-
<a href="https://digitalarsenal.github.io/flatsql/">
|
|
168
|
-
<span>FlatSQL</span>
|
|
169
|
-
<small>SQL-style queries over FlatBuffer-backed datasets and streams.</small>
|
|
170
|
-
</a>
|
|
171
|
-
<a href="https://spacedatanetwork.org/">
|
|
172
|
-
<span>SDN</span>
|
|
173
|
-
<small>Distributed publication, discovery, delivery, and marketplace infrastructure.</small>
|
|
174
|
-
</a>
|
|
175
|
-
<a href="https://digitalarsenal.github.io/space-data-module-sdk/" class="active">
|
|
176
|
-
<span>Module SDK</span>
|
|
177
|
-
<small>WASM module packaging, validation, and host compatibility tooling.</small>
|
|
178
|
-
</a>
|
|
161
|
+
<section id="stack" data-sdn-stack="module-sdk"></section>
|
|
162
|
+
<footer class="sdn-footer">
|
|
163
|
+
<div class="sdn-footer-inner">
|
|
164
|
+
<a class="sdn-footer-brand" href="https://spacedatanetwork.org/">Space Data Network</a>
|
|
165
|
+
<nav class="sdn-footer-links" aria-label="Footer">
|
|
166
|
+
<a href="./byo-wasm-quickstart.html">Quickstart</a>
|
|
167
|
+
<a href="./conformance.html">Conformance</a>
|
|
168
|
+
<a href="./llms.txt">llms.txt</a>
|
|
169
|
+
<a href="https://github.com/DigitalArsenal/space-data-module-sdk">GitHub</a>
|
|
170
|
+
</nav>
|
|
171
|
+
<p class="sdn-footer-legal">Apache-2.0 License · © Edgesource Corporation · <a href="mailto:tj@edgesource.com">tj@edgesource.com</a></p>
|
|
179
172
|
</div>
|
|
180
|
-
</section>
|
|
181
|
-
<footer class="site-footer">
|
|
182
|
-
Space Data Module SDK — Apache-2.0. Every ABI page renders a Markdown
|
|
183
|
-
source in <code>docs/</code>; edit the Markdown, never the HTML.
|
|
184
|
-
Contact <a href="mailto:tj@edgesource.com">tj@edgesource.com</a>.
|
|
185
173
|
</footer>
|
|
186
174
|
</body>
|
|
187
175
|
</html>
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
|
-
<
|
|
5
|
+
<link rel="stylesheet" href="./assets/sdn-chrome/sdn-chrome.css" />
|
|
6
|
+
<script src="./assets/sdn-chrome/sdn-chrome.js"></script>
|
|
6
7
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
8
|
<meta name="description" content="ONE dist/isomorphic/module.wasm, THREE runtimes, IDENTICAL behavior:" />
|
|
8
9
|
<title>Tri-runtime parity — Space Data Module SDK</title>
|
|
10
|
+
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'><defs><linearGradient id='t' gradientUnits='userSpaceOnUse' x1='16' y1='29' x2='16' y2='3'><stop offset='0' stop-color='%23f5a524' stop-opacity='0'/><stop offset='.55' stop-color='%23f5a524' stop-opacity='.55'/><stop offset='1' stop-color='%23f5a524'/></linearGradient></defs><circle cx='16' cy='16' r='13' stroke='%23f5f5f7' stroke-width='1.6' opacity='.3'/><path d='M16 29A13 13 0 0 1 16 3' stroke='url(%23t)' stroke-width='2.2' stroke-linecap='round'/><path d='M16 10.2L10.4 20.1H21.6Z' stroke='%23f5f5f7' stroke-width='1.6' stroke-linejoin='round'/><circle cx='16' cy='10.2' r='2.6' fill='%23f5f5f7'/><circle cx='10.4' cy='20.1' r='2.6' fill='%23f5f5f7'/><circle cx='21.6' cy='20.1' r='2.6' fill='%23f5f5f7'/><circle cx='16' cy='3' r='2.5' fill='%23f5a524'/></svg>" />
|
|
9
11
|
<link rel="stylesheet" href="./styles.css" />
|
|
10
12
|
<script src="./assembly.js" defer></script>
|
|
13
|
+
<script src="./assets/ai-credits/ai-credits.js" defer></script>
|
|
11
14
|
<!-- SDN_CONSUMER_ASSETS_START -->
|
|
12
15
|
<link rel="stylesheet" href="https://static.spacedatanetwork.org/assets/hd-wallet-ui/2.0.28/sdn-wallet-public-client.c3f68d1cfd88478f10d836a5e829d1dfc6a10157972cf0f7d4d319d0636f2cc4.css" integrity="sha384-fICuhN4I9xqOK1F5vGGzl26opuO+xQIvTZXMSV76lWTBiQ6AfzztMGLLDw8yRT8i" crossorigin="anonymous">
|
|
13
16
|
<script defer src="https://static.spacedatanetwork.org/assets/hd-wallet-ui/2.0.28/sdn-wallet-public-client.f611e7e151a3b5c38384272f8894a4c6634f0a29bf925b0e02e0e27f8db0bfff.js" integrity="sha384-R+QqsKoWJIS7iWrtPmgJ49DVnb1hSGjZokupbLInJd1PLp8RwQhtF/hnaerc33ci" crossorigin="anonymous" data-sdn-wallet-public-client="v1"></script>
|
|
@@ -18,15 +21,20 @@
|
|
|
18
21
|
<canvas id="assembly" aria-hidden="true"></canvas>
|
|
19
22
|
<a class="skip-link" href="#main">Skip to content</a>
|
|
20
23
|
<sdn-stack-nav active="module-sdk"></sdn-stack-nav>
|
|
21
|
-
<header class="
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
<header class="sdn-header sdn-header-inflow">
|
|
25
|
+
<div class="sdn-header-inner">
|
|
26
|
+
<a class="sdn-header-brand" href="./"><span>Space Data Module SDK</span></a>
|
|
27
|
+
<nav class="sdn-header-links" aria-label="Site">
|
|
28
|
+
<a href="./byo-wasm-quickstart.html">Quickstart</a>
|
|
29
|
+
<a href="./conformance.html">Conformance</a>
|
|
30
|
+
<a href="#stack">Stack</a>
|
|
31
|
+
<a href="https://github.com/DigitalArsenal/space-data-module-sdk">GitHub</a>
|
|
32
|
+
</nav>
|
|
33
|
+
<div class="sdn-header-actions">
|
|
34
|
+
<button data-sdn-theme-toggle aria-label="Switch between light and dark theme"></button>
|
|
35
|
+
<button data-sdn-menu-toggle aria-label="Menu"></button>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
30
38
|
</header>
|
|
31
39
|
<div class="shell">
|
|
32
40
|
<nav class="sidebar" id="sidebar" aria-label="Documentation">
|
|
@@ -171,38 +179,18 @@
|
|
|
171
179
|
<li><a class="depth-2" href="#fixtures">Fixtures</a></li>
|
|
172
180
|
<li><a class="depth-2" href="#scope-and-current-limits-v1">Scope and current limits (v1)</a></li></ul></nav>
|
|
173
181
|
</div>
|
|
174
|
-
<section id="stack"
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
<
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
<
|
|
182
|
-
<
|
|
183
|
-
</
|
|
184
|
-
<a href="
|
|
185
|
-
<span>FlatBuffers</span>
|
|
186
|
-
<small>Binary encoding, schema tooling, and runtime documentation.</small>
|
|
187
|
-
</a>
|
|
188
|
-
<a href="https://digitalarsenal.github.io/flatsql/">
|
|
189
|
-
<span>FlatSQL</span>
|
|
190
|
-
<small>SQL-style queries over FlatBuffer-backed datasets and streams.</small>
|
|
191
|
-
</a>
|
|
192
|
-
<a href="https://spacedatanetwork.org/">
|
|
193
|
-
<span>SDN</span>
|
|
194
|
-
<small>Distributed publication, discovery, delivery, and marketplace infrastructure.</small>
|
|
195
|
-
</a>
|
|
196
|
-
<a href="https://digitalarsenal.github.io/space-data-module-sdk/" class="active">
|
|
197
|
-
<span>Module SDK</span>
|
|
198
|
-
<small>WASM module packaging, validation, and host compatibility tooling.</small>
|
|
199
|
-
</a>
|
|
182
|
+
<section id="stack" data-sdn-stack="module-sdk"></section>
|
|
183
|
+
<footer class="sdn-footer">
|
|
184
|
+
<div class="sdn-footer-inner">
|
|
185
|
+
<a class="sdn-footer-brand" href="https://spacedatanetwork.org/">Space Data Network</a>
|
|
186
|
+
<nav class="sdn-footer-links" aria-label="Footer">
|
|
187
|
+
<a href="./byo-wasm-quickstart.html">Quickstart</a>
|
|
188
|
+
<a href="./conformance.html">Conformance</a>
|
|
189
|
+
<a href="./llms.txt">llms.txt</a>
|
|
190
|
+
<a href="https://github.com/DigitalArsenal/space-data-module-sdk">GitHub</a>
|
|
191
|
+
</nav>
|
|
192
|
+
<p class="sdn-footer-legal">Apache-2.0 License · © Edgesource Corporation · <a href="mailto:tj@edgesource.com">tj@edgesource.com</a></p>
|
|
200
193
|
</div>
|
|
201
|
-
</section>
|
|
202
|
-
<footer class="site-footer">
|
|
203
|
-
Space Data Module SDK — Apache-2.0. Every ABI page renders a Markdown
|
|
204
|
-
source in <code>docs/</code>; edit the Markdown, never the HTML.
|
|
205
|
-
Contact <a href="mailto:tj@edgesource.com">tj@edgesource.com</a>.
|
|
206
194
|
</footer>
|
|
207
195
|
</body>
|
|
208
196
|
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "space-data-module-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Module SDK for building, validating, signing, and deploying WebAssembly modules on the Space Data Network.",
|
|
6
6
|
"type": "module",
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"./flow/compiler": "./src/flow/flowCompiler.js",
|
|
54
54
|
"./http": "./src/http/index.js",
|
|
55
|
+
"./runtime-contracts": "./src/standards/runtimeContracts.js",
|
|
55
56
|
"./host/browser-edge-shims": "./src/host/browserEdgeShims.js",
|
|
56
57
|
"./host/wasi-shim": "./src/host/wasiShim.js",
|
|
57
58
|
"./host/isomorphic": {
|
|
@@ -110,7 +111,7 @@
|
|
|
110
111
|
"build:docs": "node scripts/build-docs.mjs",
|
|
111
112
|
"check:docs": "node scripts/build-docs.mjs --check && node scripts/check-docs-links.mjs",
|
|
112
113
|
"check:docs-links": "node scripts/check-docs-links.mjs",
|
|
113
|
-
"check:nav": "node scripts/check-sdn-stack-nav.mjs module-sdk docs/index.html docs/families/propagator.html docs/families/rf.html docs/byo-wasm-quickstart.html docs/conformance.html docs/protect-and-sign.html docs/publication-submission.html docs/styles.css",
|
|
114
|
+
"check:nav": "node scripts/check-sdn-stack-nav.mjs module-sdk docs/index.html docs/families/propagator.html docs/families/rf.html docs/byo-wasm-quickstart.html docs/conformance.html docs/protect-and-sign.html docs/publication-submission.html docs/styles.css docs/assets/sdn-chrome/sdn-chrome.css",
|
|
114
115
|
"check:compliance": "node ./bin/space-data-module.js check --repo-root .",
|
|
115
116
|
"check:generated-bindings": "node scripts/check-generated-bindings.mjs",
|
|
116
117
|
"check:propagator-abi": "node scripts/check-propagator-abi.mjs",
|
|
@@ -121,7 +122,8 @@
|
|
|
121
122
|
"prepublishOnly": "npm test && npm run check:compliance",
|
|
122
123
|
"playground:build": "node ./playground/build.mjs",
|
|
123
124
|
"playground:serve": "node ./playground/build.mjs && node ./playground/server.mjs",
|
|
124
|
-
"playground:gate": "node ./playground/build.mjs && node ./playground/test/browser-gate.mjs"
|
|
125
|
+
"playground:gate": "node ./playground/build.mjs && node ./playground/test/browser-gate.mjs",
|
|
126
|
+
"generate:runtime-contracts": "node scripts/generate-runtime-bindings.mjs"
|
|
125
127
|
},
|
|
126
128
|
"dependencies": {
|
|
127
129
|
"flatbuffers": "^25.9.23",
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
include "RuntimeCommon.fbs";
|
|
2
|
+
namespace sdn.runtime;
|
|
3
|
+
|
|
4
|
+
/// What a module pass did that is not a stored batch.
|
|
5
|
+
enum flowNoticeKind : ubyte {
|
|
6
|
+
/// The source has nothing new (a 304, or the planned run already planned): a success without a batch. The flow
|
|
7
|
+
/// runtime does not count it as a failed retrieval.
|
|
8
|
+
Unchanged,
|
|
9
|
+
/// The pass did nothing by design (live access off, nothing to fetch).
|
|
10
|
+
Skipped,
|
|
11
|
+
/// Something expected was not there (a lead the run lacks, a file not yet published).
|
|
12
|
+
Missing,
|
|
13
|
+
/// Records left a rolling window and were deleted.
|
|
14
|
+
Expired,
|
|
15
|
+
/// Anything else worth recording.
|
|
16
|
+
Info
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/// A module's report of a pass, to the flow's egress and the node's ledger. Replaces the JSON status, report and
|
|
20
|
+
/// unchanged-notice frames.
|
|
21
|
+
table FlowNotice {
|
|
22
|
+
KIND: flowNoticeKind;
|
|
23
|
+
/// The lane it concerns (any of them may be empty).
|
|
24
|
+
SCHEMA: string;
|
|
25
|
+
PROVIDER_ID: string;
|
|
26
|
+
SOURCE_NAME: string;
|
|
27
|
+
BATCH_ID: string;
|
|
28
|
+
/// How many (records expired, leads missing, inventories unchanged ...).
|
|
29
|
+
COUNT: uint64;
|
|
30
|
+
/// A short reason, e.g. "already-planned".
|
|
31
|
+
REASON: string;
|
|
32
|
+
/// The items concerned, e.g. the missing inventories' URLs.
|
|
33
|
+
ITEMS: [string];
|
|
34
|
+
/// A time the notice is about (e.g. a retention cutoff), Unix milliseconds UTC; 0 = none.
|
|
35
|
+
AT_MS: uint64;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
root_type FlowNotice;
|
|
39
|
+
file_identifier "FNTC";
|