space-data-module-sdk 0.8.27 → 0.9.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.
Files changed (121) hide show
  1. package/README.md +5 -4
  2. package/docs/assembly.js +0 -18
  3. package/docs/assets/ai-credits/ai-credits.js +116 -0
  4. package/docs/assets/sdn-chrome/sdn-chrome.css +434 -0
  5. package/docs/assets/sdn-chrome/sdn-chrome.js +236 -0
  6. package/docs/browser-wasmedge-isomorphic.html +29 -41
  7. package/docs/byo-wasm-quickstart.html +29 -41
  8. package/docs/conformance.html +29 -41
  9. package/docs/events-abi.html +29 -41
  10. package/docs/families/analytics.html +29 -41
  11. package/docs/families/attitude.html +29 -41
  12. package/docs/families/behavior.html +29 -41
  13. package/docs/families/breakup.html +29 -41
  14. package/docs/families/conjunction.html +29 -41
  15. package/docs/families/data-source.html +29 -41
  16. package/docs/families/effects.html +29 -41
  17. package/docs/families/environment.html +29 -41
  18. package/docs/families/estimation.html +29 -41
  19. package/docs/families/gnc.html +29 -41
  20. package/docs/families/maneuver.html +29 -41
  21. package/docs/families/obstruction.html +29 -41
  22. package/docs/families/propagator.html +29 -41
  23. package/docs/families/propulsion.html +29 -41
  24. package/docs/families/reentry.html +29 -41
  25. package/docs/families/rf.html +29 -41
  26. package/docs/families/scheduler.html +29 -41
  27. package/docs/families/sensor.html +29 -41
  28. package/docs/families/signature.html +29 -41
  29. package/docs/flatsql-host-contract.html +29 -41
  30. package/docs/flatsql-streaming-standard.html +29 -41
  31. package/docs/gpu-module-abi.html +29 -41
  32. package/docs/index.html +43 -47
  33. package/docs/isomorphic-pthreads.html +29 -41
  34. package/docs/isomorphic-sdn-runtime-plan.html +29 -41
  35. package/docs/language-runtime-matrix.html +29 -41
  36. package/docs/media/module-sdk-reel-poster.webp +0 -0
  37. package/docs/media/module-sdk-reel.mp4 +0 -0
  38. package/docs/media/module-sdk-reel.webm +0 -0
  39. package/docs/media/reel/reel.css +53 -0
  40. package/docs/media/reel/reel.js +272 -0
  41. package/docs/module-bundle-runtime-plan.html +29 -41
  42. package/docs/module-publication-standard.html +29 -41
  43. package/docs/node-red-default-node-parity.html +29 -41
  44. package/docs/protect-and-sign.html +29 -41
  45. package/docs/protocol-installation.html +29 -41
  46. package/docs/publication-submission.html +29 -41
  47. package/docs/secrets-capability.html +29 -41
  48. package/docs/styles.css +89 -157
  49. package/docs/testing-harness.html +29 -41
  50. package/docs/tri-runtime-parity-gate.html +29 -41
  51. package/docs/tri-runtime-parity.html +29 -41
  52. package/package.json +5 -3
  53. package/schemas/runtime/FlowNotice.fbs +39 -0
  54. package/schemas/runtime/HostOps.fbs +455 -0
  55. package/schemas/runtime/HttpRequest.fbs +25 -0
  56. package/schemas/runtime/HttpResponse.fbs +24 -0
  57. package/schemas/runtime/IngestRequest.fbs +61 -0
  58. package/schemas/runtime/IngestResult.fbs +23 -0
  59. package/schemas/runtime/ModuleConfig.fbs +41 -0
  60. package/schemas/runtime/RuntimeCommon.fbs +33 -0
  61. package/schemas/runtime/TimerTick.fbs +18 -0
  62. package/src/capabilities.js +3 -0
  63. package/src/compiler/compileModule.js +20 -2
  64. package/src/generated/runtime/aligned/HostOps_aligned.js +3913 -0
  65. package/src/generated/runtime/aligned/HostOps_aligned.ts +4605 -0
  66. package/src/generated/runtime/aligned/HostOps_enums.js +12 -0
  67. package/src/generated/runtime/aligned/HostOps_enums.ts +6 -0
  68. package/src/generated/runtime/cpp/FlowNotice_generated.h +367 -0
  69. package/src/generated/runtime/cpp/HostOps_aligned.h +3540 -0
  70. package/src/generated/runtime/cpp/HttpRequest_generated.h +317 -0
  71. package/src/generated/runtime/cpp/HttpResponse_generated.h +315 -0
  72. package/src/generated/runtime/cpp/IngestRequest_generated.h +829 -0
  73. package/src/generated/runtime/cpp/IngestResult_generated.h +319 -0
  74. package/src/generated/runtime/cpp/ModuleConfig_generated.h +604 -0
  75. package/src/generated/runtime/cpp/RuntimeCommon_generated.h +410 -0
  76. package/src/generated/runtime/cpp/TimerTick_generated.h +229 -0
  77. package/src/generated/runtime/sdn/runtime/ArchiveTarget.js +78 -0
  78. package/src/generated/runtime/sdn/runtime/ArchiveTarget.ts +104 -0
  79. package/src/generated/runtime/sdn/runtime/ConfigEntry.js +202 -0
  80. package/src/generated/runtime/sdn/runtime/ConfigEntry.ts +251 -0
  81. package/src/generated/runtime/sdn/runtime/ConfigTable.js +80 -0
  82. package/src/generated/runtime/sdn/runtime/ConfigTable.ts +97 -0
  83. package/src/generated/runtime/sdn/runtime/FlowNotice.js +196 -0
  84. package/src/generated/runtime/sdn/runtime/FlowNotice.ts +254 -0
  85. package/src/generated/runtime/sdn/runtime/Header.js +79 -0
  86. package/src/generated/runtime/sdn/runtime/Header.ts +100 -0
  87. package/src/generated/runtime/sdn/runtime/HttpRequest.js +216 -0
  88. package/src/generated/runtime/sdn/runtime/HttpRequest.ts +265 -0
  89. package/src/generated/runtime/sdn/runtime/HttpResponse.js +216 -0
  90. package/src/generated/runtime/sdn/runtime/HttpResponse.ts +267 -0
  91. package/src/generated/runtime/sdn/runtime/IngestRequest.js +121 -0
  92. package/src/generated/runtime/sdn/runtime/IngestRequest.ts +155 -0
  93. package/src/generated/runtime/sdn/runtime/IngestResult.js +184 -0
  94. package/src/generated/runtime/sdn/runtime/IngestResult.ts +235 -0
  95. package/src/generated/runtime/sdn/runtime/ModuleConfig.js +92 -0
  96. package/src/generated/runtime/sdn/runtime/ModuleConfig.ts +114 -0
  97. package/src/generated/runtime/sdn/runtime/Provenance.js +320 -0
  98. package/src/generated/runtime/sdn/runtime/Provenance.ts +405 -0
  99. package/src/generated/runtime/sdn/runtime/SourceTags.js +181 -0
  100. package/src/generated/runtime/sdn/runtime/SourceTags.ts +253 -0
  101. package/src/generated/runtime/sdn/runtime/TimerTick.js +119 -0
  102. package/src/generated/runtime/sdn/runtime/TimerTick.ts +148 -0
  103. package/src/generated/runtime/sdn/runtime/configValueKind.js +12 -0
  104. package/src/generated/runtime/sdn/runtime/configValueKind.ts +19 -0
  105. package/src/generated/runtime/sdn/runtime/flowNoticeKind.js +11 -0
  106. package/src/generated/runtime/sdn/runtime/flowNoticeKind.ts +34 -0
  107. package/src/generated/runtime/sdn/runtime/reconcileMode.js +9 -0
  108. package/src/generated/runtime/sdn/runtime/reconcileMode.ts +23 -0
  109. package/src/generated/runtime/sdn/runtime.js +16 -0
  110. package/src/generated/runtime/sdn/runtime.ts +17 -0
  111. package/src/host/abi.js +32 -6
  112. package/src/host/adapterOperations.js +79 -0
  113. package/src/host/browserHost.js +65 -2
  114. package/src/host/cpp/typedHostcall.hpp +252 -0
  115. package/src/host/hostWorkerBundleSources.js +3 -3
  116. package/src/host/nodeHost.js +50 -0
  117. package/src/host/typedDispatch.js +582 -0
  118. package/src/index.d.ts +25 -2
  119. package/src/invoke/codec.js +3 -2
  120. package/src/standards/runtimeContracts.js +596 -0
  121. 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
- <script>try{var t=localStorage.getItem("sdn-theme");if(t==="light"||t==="dark")document.documentElement.setAttribute("data-theme",t)}catch(e){}</script>
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="The last step of the integrator path: turn a signed artifact into something a" />
8
9
  <title>Publication and listing — 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="site-header">
22
- <a class="site-brand" href="./">Space Data Module SDK</a>
23
- <nav class="header-links" aria-label="Site">
24
- <a href="./byo-wasm-quickstart.html">Quickstart</a>
25
- <a href="./conformance.html">Conformance</a>
26
- <a href="https://github.com/DigitalArsenal/space-data-module-sdk">GitHub</a>
27
- <a class="stack-button" href="#stack">Stack</a>
28
- <button class="theme-toggle" type="button" aria-label="Switch between light and dark theme" title="Light or dark theme"><svg class="sun" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg><svg class="moon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 14.5A8 8 0 0 1 9.5 4a8 8 0 1 0 10.5 10.5z"/></svg></button>
29
- </nav>
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">
@@ -126,38 +134,18 @@
126
134
  <li><a class="depth-2" href="#the-escorted-path-which-works-now">The escorted path, which works now</a></li>
127
135
  <li><a class="depth-2" href="#submission-checklist">Submission checklist</a></li></ul></nav>
128
136
  </div>
129
- <section id="stack" class="section" aria-labelledby="stack-title">
130
- <div class="section-head">
131
- <p class="eyebrow">SDN Stack</p>
132
- <h2 id="stack-title">Connected sites</h2>
133
- </div>
134
- <div class="link-list">
135
- <a href="https://spacedatastandards.org/">
136
- <span>Standards</span>
137
- <small>Canonical schemas, record contracts, and generated bindings.</small>
138
- </a>
139
- <a href="https://digitalarsenal.github.io/flatbuffers/">
140
- <span>FlatBuffers</span>
141
- <small>Binary encoding, schema tooling, and runtime documentation.</small>
142
- </a>
143
- <a href="https://digitalarsenal.github.io/flatsql/">
144
- <span>FlatSQL</span>
145
- <small>SQL-style queries over FlatBuffer-backed datasets and streams.</small>
146
- </a>
147
- <a href="https://spacedatanetwork.org/">
148
- <span>SDN</span>
149
- <small>Distributed publication, discovery, delivery, and marketplace infrastructure.</small>
150
- </a>
151
- <a href="https://digitalarsenal.github.io/space-data-module-sdk/" class="active">
152
- <span>Module SDK</span>
153
- <small>WASM module packaging, validation, and host compatibility tooling.</small>
154
- </a>
137
+ <section id="stack" data-sdn-stack="module-sdk"></section>
138
+ <footer class="sdn-footer">
139
+ <div class="sdn-footer-inner">
140
+ <a class="sdn-footer-brand" href="https://spacedatanetwork.org/">Space Data Network</a>
141
+ <nav class="sdn-footer-links" aria-label="Footer">
142
+ <a href="./byo-wasm-quickstart.html">Quickstart</a>
143
+ <a href="./conformance.html">Conformance</a>
144
+ <a href="./llms.txt">llms.txt</a>
145
+ <a href="https://github.com/DigitalArsenal/space-data-module-sdk">GitHub</a>
146
+ </nav>
147
+ <p class="sdn-footer-legal">Apache-2.0 License &middot; &copy; Edgesource Corporation &middot; <a href="mailto:tj@edgesource.com">tj@edgesource.com</a></p>
155
148
  </div>
156
- </section>
157
- <footer class="site-footer">
158
- Space Data Module SDK — Apache-2.0. Every ABI page renders a Markdown
159
- source in <code>docs/</code>; edit the Markdown, never the HTML.
160
- Contact <a href="mailto:tj@edgesource.com">tj@edgesource.com</a>.
161
149
  </footer>
162
150
  </body>
163
151
  </html>
@@ -2,12 +2,15 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <script>try{var t=localStorage.getItem("sdn-theme");if(t==="light"||t==="dark")document.documentElement.setAttribute("data-theme",t)}catch(e){}</script>
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="A module often needs an operator's third-party credential: a Space-Track login," />
8
9
  <title>Credential lanes — 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="site-header">
22
- <a class="site-brand" href="./">Space Data Module SDK</a>
23
- <nav class="header-links" aria-label="Site">
24
- <a href="./byo-wasm-quickstart.html">Quickstart</a>
25
- <a href="./conformance.html">Conformance</a>
26
- <a href="https://github.com/DigitalArsenal/space-data-module-sdk">GitHub</a>
27
- <a class="stack-button" href="#stack">Stack</a>
28
- <button class="theme-toggle" type="button" aria-label="Switch between light and dark theme" title="Light or dark theme"><svg class="sun" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg><svg class="moon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 14.5A8 8 0 0 1 9.5 4a8 8 0 1 0 10.5 10.5z"/></svg></button>
29
- </nav>
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">
@@ -174,38 +182,18 @@ secrets.status -&gt; {&quot;id&quot;:&quot;&lt;lane&gt;&quot;}
174
182
  <li><a class="depth-2" href="#wire-shapes">Wire shapes</a></li>
175
183
  <li><a class="depth-2" href="#failure-modes-worth-expecting">Failure modes worth expecting</a></li></ul></nav>
176
184
  </div>
177
- <section id="stack" class="section" aria-labelledby="stack-title">
178
- <div class="section-head">
179
- <p class="eyebrow">SDN Stack</p>
180
- <h2 id="stack-title">Connected sites</h2>
181
- </div>
182
- <div class="link-list">
183
- <a href="https://spacedatastandards.org/">
184
- <span>Standards</span>
185
- <small>Canonical schemas, record contracts, and generated bindings.</small>
186
- </a>
187
- <a href="https://digitalarsenal.github.io/flatbuffers/">
188
- <span>FlatBuffers</span>
189
- <small>Binary encoding, schema tooling, and runtime documentation.</small>
190
- </a>
191
- <a href="https://digitalarsenal.github.io/flatsql/">
192
- <span>FlatSQL</span>
193
- <small>SQL-style queries over FlatBuffer-backed datasets and streams.</small>
194
- </a>
195
- <a href="https://spacedatanetwork.org/">
196
- <span>SDN</span>
197
- <small>Distributed publication, discovery, delivery, and marketplace infrastructure.</small>
198
- </a>
199
- <a href="https://digitalarsenal.github.io/space-data-module-sdk/" class="active">
200
- <span>Module SDK</span>
201
- <small>WASM module packaging, validation, and host compatibility tooling.</small>
202
- </a>
185
+ <section id="stack" data-sdn-stack="module-sdk"></section>
186
+ <footer class="sdn-footer">
187
+ <div class="sdn-footer-inner">
188
+ <a class="sdn-footer-brand" href="https://spacedatanetwork.org/">Space Data Network</a>
189
+ <nav class="sdn-footer-links" aria-label="Footer">
190
+ <a href="./byo-wasm-quickstart.html">Quickstart</a>
191
+ <a href="./conformance.html">Conformance</a>
192
+ <a href="./llms.txt">llms.txt</a>
193
+ <a href="https://github.com/DigitalArsenal/space-data-module-sdk">GitHub</a>
194
+ </nav>
195
+ <p class="sdn-footer-legal">Apache-2.0 License &middot; &copy; Edgesource Corporation &middot; <a href="mailto:tj@edgesource.com">tj@edgesource.com</a></p>
203
196
  </div>
204
- </section>
205
- <footer class="site-footer">
206
- Space Data Module SDK — Apache-2.0. Every ABI page renders a Markdown
207
- source in <code>docs/</code>; edit the Markdown, never the HTML.
208
- Contact <a href="mailto:tj@edgesource.com">tj@edgesource.com</a>.
209
197
  </footer>
210
198
  </body>
211
199
  </html>
package/docs/styles.css CHANGED
@@ -25,7 +25,42 @@
25
25
  --size-code: 15px;
26
26
  --leading-body: 1.6;
27
27
 
28
- /* Near-monochrome light palette with one accent. */
28
+ /* Space Data Network style guide palette: dark first, one amber accent
29
+ (spacedatanetwork.org/style-guide.html). */
30
+ --ink: #f5f5f7;
31
+ --ink-secondary: rgba(245, 245, 247, 0.78);
32
+ --ink-tertiary: #8e8e93;
33
+ --ink-quaternary: #6e6e73;
34
+ --surface: #000000;
35
+ --surface-raised: #161617;
36
+ --surface-sunken: #0b0b0c;
37
+ --surface-code: #0b0b0c;
38
+ --surface-hover: rgba(255, 255, 255, 0.06);
39
+ --hairline: rgba(255, 255, 255, 0.12);
40
+ --hairline-strong: rgba(255, 255, 255, 0.22);
41
+ --accent: #f5a524;
42
+ --accent-ink: #f5a524;
43
+ --accent-wash: rgba(245, 165, 36, 0.14);
44
+ --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(0, 0, 0, 0.45);
45
+
46
+ --status-shipped-ink: #f5a524;
47
+ --status-shipped-wash: rgba(245, 165, 36, 0.14);
48
+ --status-experimental-ink: #59d9ff;
49
+ --status-experimental-wash: rgba(89, 217, 255, 0.13);
50
+ --status-designed-ink: #f5f5f7;
51
+ --status-designed-wash: rgba(245, 245, 247, 0.1);
52
+ --status-planned-ink: #8e8e93;
53
+ --status-planned-wash: rgba(142, 142, 147, 0.14);
54
+
55
+ --measure: 46rem;
56
+ --sidebar-width: 17.5rem;
57
+ --rail-width: 14rem;
58
+ --gutter: clamp(1.25rem, 4vw, 3rem);
59
+ --radius: 12px;
60
+ --radius-small: 7px;
61
+ }
62
+
63
+ :root[data-theme="light"] {
29
64
  --ink: #1d1d1f;
30
65
  --ink-secondary: #4a4a4f;
31
66
  --ink-tertiary: #6e6e73;
@@ -36,83 +71,20 @@
36
71
  --surface-code: #f5f5f7;
37
72
  --surface-hover: rgba(0, 0, 0, 0.04);
38
73
  --hairline: rgba(0, 0, 0, 0.11);
39
- --hairline-strong: rgba(0, 0, 0, 0.18);
40
- --accent: #0071e3;
41
- --accent-ink: #0058b0;
42
- --accent-wash: rgba(0, 113, 227, 0.09);
74
+ --hairline-strong: rgba(0, 0, 0, 0.2);
75
+ --accent: #c77d00;
76
+ --accent-ink: #c77d00;
77
+ --accent-wash: rgba(199, 125, 0, 0.1);
43
78
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.05);
44
79
 
45
- --status-shipped-ink: #146c2e;
46
- --status-shipped-wash: rgba(20, 108, 46, 0.11);
47
- --status-experimental-ink: #8a5300;
48
- --status-experimental-wash: rgba(138, 83, 0, 0.12);
49
- --status-designed-ink: #0058b0;
50
- --status-designed-wash: rgba(0, 88, 176, 0.11);
80
+ --status-shipped-ink: #c77d00;
81
+ --status-shipped-wash: rgba(199, 125, 0, 0.11);
82
+ --status-experimental-ink: #0f6f8f;
83
+ --status-experimental-wash: rgba(15, 111, 143, 0.1);
84
+ --status-designed-ink: #1d1d1f;
85
+ --status-designed-wash: rgba(0, 0, 0, 0.07);
51
86
  --status-planned-ink: #6e6e73;
52
87
  --status-planned-wash: rgba(110, 110, 115, 0.12);
53
-
54
- --measure: 46rem;
55
- --sidebar-width: 17.5rem;
56
- --rail-width: 14rem;
57
- --gutter: clamp(1.25rem, 4vw, 3rem);
58
- --radius: 12px;
59
- --radius-small: 7px;
60
- }
61
-
62
- @media (prefers-color-scheme: dark) {
63
- :root:not([data-theme="light"]) {
64
- --ink: #f5f5f7;
65
- --ink-secondary: #c7c7cc;
66
- --ink-tertiary: #98989d;
67
- --ink-quaternary: #7c7c82;
68
- --surface: #0b0b0d;
69
- --surface-raised: #131316;
70
- --surface-sunken: #17171a;
71
- --surface-code: #16161a;
72
- --surface-hover: rgba(255, 255, 255, 0.06);
73
- --hairline: rgba(255, 255, 255, 0.13);
74
- --hairline-strong: rgba(255, 255, 255, 0.22);
75
- --accent: #4da3ff;
76
- --accent-ink: #7cbcff;
77
- --accent-wash: rgba(77, 163, 255, 0.14);
78
- --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(0, 0, 0, 0.45);
79
-
80
- --status-shipped-ink: #6fd48a;
81
- --status-shipped-wash: rgba(111, 212, 138, 0.14);
82
- --status-experimental-ink: #e8b262;
83
- --status-experimental-wash: rgba(232, 178, 98, 0.14);
84
- --status-designed-ink: #7cbcff;
85
- --status-designed-wash: rgba(124, 188, 255, 0.14);
86
- --status-planned-ink: #98989d;
87
- --status-planned-wash: rgba(152, 152, 157, 0.14);
88
- }
89
- }
90
-
91
- :root[data-theme="dark"] {
92
- --ink: #f5f5f7;
93
- --ink-secondary: #c7c7cc;
94
- --ink-tertiary: #98989d;
95
- --ink-quaternary: #7c7c82;
96
- --surface: #0b0b0d;
97
- --surface-raised: #131316;
98
- --surface-sunken: #17171a;
99
- --surface-code: #16161a;
100
- --surface-hover: rgba(255, 255, 255, 0.06);
101
- --hairline: rgba(255, 255, 255, 0.13);
102
- --hairline-strong: rgba(255, 255, 255, 0.22);
103
- --accent: #4da3ff;
104
- --accent-ink: #7cbcff;
105
- --accent-wash: rgba(77, 163, 255, 0.14);
106
- --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(0, 0, 0, 0.45);
107
-
108
- --status-shipped-ink: #6fd48a;
109
- --status-shipped-wash: rgba(111, 212, 138, 0.14);
110
- --status-experimental-ink: #e8b262;
111
- --status-experimental-wash: rgba(232, 178, 98, 0.14);
112
- --status-designed-ink: #7cbcff;
113
- --status-designed-wash: rgba(124, 188, 255, 0.14);
114
- --status-planned-ink: #98989d;
115
- --status-planned-wash: rgba(152, 152, 157, 0.14);
116
88
  }
117
89
 
118
90
  /* ------------------------------------------------------------- baseline */
@@ -195,55 +167,8 @@ svg {
195
167
 
196
168
  /* --------------------------------------------------------- site header */
197
169
 
198
- .site-header {
199
- position: sticky;
200
- top: 0;
201
- z-index: 40;
202
- display: flex;
203
- align-items: center;
204
- justify-content: space-between;
205
- gap: 1rem;
206
- height: var(--sdn-stack-header-height, 52px);
207
- padding: 0 var(--gutter);
208
- background: color-mix(in srgb, var(--surface) 82%, transparent);
209
- backdrop-filter: saturate(180%) blur(20px);
210
- -webkit-backdrop-filter: saturate(180%) blur(20px);
211
- border-bottom: 1px solid var(--hairline);
212
- }
213
-
214
- .site-brand {
215
- color: var(--ink);
216
- font-size: var(--sdn-stack-header-brand-size, 15px);
217
- font-weight: 600;
218
- letter-spacing: -0.01em;
219
- }
220
-
221
- .site-brand:hover {
222
- text-decoration: none;
223
- color: var(--ink);
224
- }
225
-
226
- .header-links {
227
- display: flex;
228
- align-items: center;
229
- gap: 1.5rem;
230
- }
231
-
232
- .header-links a {
233
- color: var(--ink-secondary);
234
- font-size: var(--sdn-stack-header-link-size, 14px);
235
- font-weight: 400;
236
- }
237
-
238
- .header-links a:hover {
239
- color: var(--ink);
240
- text-decoration: none;
241
- }
242
-
243
- .stack-button {
244
- color: var(--ink-secondary);
245
- font-size: var(--sdn-stack-header-action-size, 13px);
246
- }
170
+ /* The top bar, its menu, the stack section and the footer are the shared
171
+ sdn-chrome kit (assets/sdn-chrome/). */
247
172
 
248
173
  .nav-toggle {
249
174
  display: none;
@@ -711,9 +636,9 @@ samp {
711
636
  /* --------------------------------------------------------------- landing */
712
637
 
713
638
  .hero {
714
- max-width: 60rem;
639
+ max-width: 70rem;
715
640
  margin: 0 auto;
716
- padding: 5rem var(--gutter) 3rem;
641
+ padding: 3.5rem var(--gutter) 3rem;
717
642
  text-align: center;
718
643
  }
719
644
 
@@ -729,9 +654,9 @@ samp {
729
654
  .hero h1 {
730
655
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 3.75rem);
731
656
  line-height: 1.06;
732
- letter-spacing: -0.026em;
733
- font-weight: 660;
734
- margin: 0 0 1.25rem;
657
+ letter-spacing: -0.03em;
658
+ font-weight: 700;
659
+ margin: 0 0 1rem;
735
660
  }
736
661
 
737
662
  .hero .lede {
@@ -762,19 +687,25 @@ samp {
762
687
  background: transparent;
763
688
  }
764
689
 
690
+ /* Style-guide pills: the primary is white; the hovered button turns white
691
+ and the primary gives up its white meanwhile. */
765
692
  .button:hover {
766
- background: var(--surface-hover);
693
+ background: var(--ink);
694
+ border-color: var(--ink);
695
+ color: var(--surface);
767
696
  text-decoration: none;
768
697
  }
769
698
 
770
699
  .button.primary {
771
- background: var(--accent);
772
- border-color: var(--accent);
773
- color: #fff;
700
+ background: var(--ink);
701
+ border-color: var(--ink);
702
+ color: var(--surface);
774
703
  }
775
704
 
776
- .button.primary:hover {
777
- filter: brightness(1.08);
705
+ .actions:hover .button.primary:not(:hover) {
706
+ background: transparent;
707
+ border-color: var(--hairline-strong);
708
+ color: var(--ink);
778
709
  }
779
710
 
780
711
  .section {
@@ -918,15 +849,6 @@ a.card:hover {
918
849
  color: var(--ink-tertiary);
919
850
  }
920
851
 
921
- .site-footer {
922
- max-width: 76rem;
923
- margin: 0 auto;
924
- padding: 2.5rem var(--gutter) 4rem;
925
- border-top: 1px solid var(--hairline);
926
- font-size: var(--size-micro);
927
- color: var(--ink-tertiary);
928
- }
929
-
930
852
  /* ------------------------------------------------------------ responsive */
931
853
 
932
854
  @media (max-width: 1180px) {
@@ -964,10 +886,6 @@ a.card:hover {
964
886
  .doc {
965
887
  padding-top: 2.25rem;
966
888
  }
967
-
968
- .header-links a:not(.stack-button) {
969
- display: none;
970
- }
971
889
  }
972
890
 
973
891
  @media (prefers-reduced-motion: reduce) {
@@ -1000,14 +918,28 @@ body:not([data-assembly="scroll"]) #assembly {
1000
918
  opacity: 0.45;
1001
919
  }
1002
920
 
1003
- /* Theme switcher: follows the system until the reader picks; the choice is remembered. */
1004
- .theme-toggle { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hairline-strong); background: transparent; color: var(--ink); cursor: pointer; }
1005
- .theme-toggle:hover { background: var(--surface-hover); }
1006
- .theme-toggle svg { width: 16px; height: 16px; }
1007
- .theme-toggle .moon { display: none; }
1008
- :root[data-theme="light"] .theme-toggle .moon { display: block; }
1009
- :root[data-theme="light"] .theme-toggle .sun { display: none; }
1010
- @media (prefers-color-scheme: light) {
1011
- :root:not([data-theme]) .theme-toggle .moon { display: block; }
1012
- :root:not([data-theme]) .theme-toggle .sun { display: none; }
921
+ /* The hero reel (player: media/reel/reel.css). */
922
+ .hero .hero-reel {
923
+ width: min(100%, 960px, max(560px, calc((100svh - 470px) * 16 / 9)));
924
+ max-width: 100%;
925
+ margin: 0 auto 1.75rem;
926
+ }
927
+
928
+ /* Long identifiers in running text wrap instead of widening the page. */
929
+ .doc p > code,
930
+ .doc li > code {
931
+ white-space: normal;
932
+ overflow-wrap: anywhere;
933
+ }
934
+
935
+ /* Wide tables and code blocks scroll inside themselves, never the page. */
936
+ .doc table,
937
+ .doc pre {
938
+ display: block;
939
+ max-width: 100%;
940
+ overflow-x: auto;
941
+ }
942
+ .shell > *,
943
+ .doc {
944
+ min-width: 0;
1013
945
  }
@@ -2,12 +2,15 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <script>try{var t=localStorage.getItem("sdn-theme");if(t==="light"||t==="dark")document.documentElement.setAttribute("data-theme",t)}catch(e){}</script>
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="This repo now includes two related testing/runtime surfaces in" />
8
9
  <title>Testing harness — 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="site-header">
22
- <a class="site-brand" href="./">Space Data Module SDK</a>
23
- <nav class="header-links" aria-label="Site">
24
- <a href="./byo-wasm-quickstart.html">Quickstart</a>
25
- <a href="./conformance.html">Conformance</a>
26
- <a href="https://github.com/DigitalArsenal/space-data-module-sdk">GitHub</a>
27
- <a class="stack-button" href="#stack">Stack</a>
28
- <button class="theme-toggle" type="button" aria-label="Switch between light and dark theme" title="Light or dark theme"><svg class="sun" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg><svg class="moon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 14.5A8 8 0 0 1 9.5 4a8 8 0 1 0 10.5 10.5z"/></svg></button>
29
- </nav>
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">
@@ -376,38 +384,18 @@ npm run benchmark:module-stream-1gib</code></pre></div>
376
384
  <li><a class="depth-2" href="#strict-standalone-wasi-target">Strict Standalone WASI Target</a></li>
377
385
  <li><a class="depth-2" href="#wasmedge-deployment-target">WasmEdge Deployment Target</a></li></ul></nav>
378
386
  </div>
379
- <section id="stack" class="section" aria-labelledby="stack-title">
380
- <div class="section-head">
381
- <p class="eyebrow">SDN Stack</p>
382
- <h2 id="stack-title">Connected sites</h2>
383
- </div>
384
- <div class="link-list">
385
- <a href="https://spacedatastandards.org/">
386
- <span>Standards</span>
387
- <small>Canonical schemas, record contracts, and generated bindings.</small>
388
- </a>
389
- <a href="https://digitalarsenal.github.io/flatbuffers/">
390
- <span>FlatBuffers</span>
391
- <small>Binary encoding, schema tooling, and runtime documentation.</small>
392
- </a>
393
- <a href="https://digitalarsenal.github.io/flatsql/">
394
- <span>FlatSQL</span>
395
- <small>SQL-style queries over FlatBuffer-backed datasets and streams.</small>
396
- </a>
397
- <a href="https://spacedatanetwork.org/">
398
- <span>SDN</span>
399
- <small>Distributed publication, discovery, delivery, and marketplace infrastructure.</small>
400
- </a>
401
- <a href="https://digitalarsenal.github.io/space-data-module-sdk/" class="active">
402
- <span>Module SDK</span>
403
- <small>WASM module packaging, validation, and host compatibility tooling.</small>
404
- </a>
387
+ <section id="stack" data-sdn-stack="module-sdk"></section>
388
+ <footer class="sdn-footer">
389
+ <div class="sdn-footer-inner">
390
+ <a class="sdn-footer-brand" href="https://spacedatanetwork.org/">Space Data Network</a>
391
+ <nav class="sdn-footer-links" aria-label="Footer">
392
+ <a href="./byo-wasm-quickstart.html">Quickstart</a>
393
+ <a href="./conformance.html">Conformance</a>
394
+ <a href="./llms.txt">llms.txt</a>
395
+ <a href="https://github.com/DigitalArsenal/space-data-module-sdk">GitHub</a>
396
+ </nav>
397
+ <p class="sdn-footer-legal">Apache-2.0 License &middot; &copy; Edgesource Corporation &middot; <a href="mailto:tj@edgesource.com">tj@edgesource.com</a></p>
405
398
  </div>
406
- </section>
407
- <footer class="site-footer">
408
- Space Data Module SDK — Apache-2.0. Every ABI page renders a Markdown
409
- source in <code>docs/</code>; edit the Markdown, never the HTML.
410
- Contact <a href="mailto:tj@edgesource.com">tj@edgesource.com</a>.
411
399
  </footer>
412
400
  </body>
413
401
  </html>