space-data-module-sdk 0.8.3 → 0.8.5

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 (354) hide show
  1. package/README.md +117 -20
  2. package/bin/space-data-module.js +263 -0
  3. package/docs/.nojekyll +1 -0
  4. package/docs/AGENTS.md +34 -0
  5. package/docs/architecture.svg +141 -0
  6. package/docs/browser-wasmedge-isomorphic.md +179 -0
  7. package/docs/flatsql-streaming-standard.md +341 -0
  8. package/docs/gpu-module-abi.md +193 -0
  9. package/docs/index.html +125 -0
  10. package/docs/isomorphic-pthreads.md +188 -0
  11. package/docs/isomorphic-sdn-runtime-plan.md +167 -0
  12. package/docs/language-runtime-matrix.md +82 -0
  13. package/docs/manifest-structure.svg +114 -0
  14. package/docs/module-bundle-runtime-plan.md +19 -0
  15. package/docs/module-lifecycle.svg +70 -0
  16. package/docs/module-publication-standard.md +540 -0
  17. package/docs/node-red-default-node-parity.md +88 -0
  18. package/docs/protocol-installation.md +196 -0
  19. package/docs/secrets-capability.md +152 -0
  20. package/docs/styles.css +288 -0
  21. package/docs/testing-harness.md +408 -0
  22. package/docs/tri-runtime-parity.md +132 -0
  23. package/docs/wallet-callback.html +2 -0
  24. package/package.json +26 -6
  25. package/schemas/HttpRequestAbi.fbs +41 -0
  26. package/schemas/HttpResponseAbi.fbs +36 -0
  27. package/schemas/PluginManifest.fbs +2 -1
  28. package/src/AGENTS.md +1 -1
  29. package/src/app/codec.js +548 -0
  30. package/src/app/index.js +6 -0
  31. package/src/browser.js +5 -0
  32. package/src/bundle/constants.js +1 -0
  33. package/src/bundle/index.js +15 -0
  34. package/src/bundle/sigdomain.js +179 -0
  35. package/src/bundle/signing.js +767 -0
  36. package/src/bundle/wasm.js +3 -2
  37. package/src/capabilities.js +3 -0
  38. package/src/compat/index.js +7 -0
  39. package/src/compat/sdnLegacy.js +449 -0
  40. package/src/compiler/compileModule.js +556 -55
  41. package/src/compiler/flatcSupport.js +41 -27
  42. package/src/compiler/index.d.ts +2 -0
  43. package/src/compiler/index.js +18 -0
  44. package/src/compiler/invokeGlue.js +1212 -183
  45. package/src/compiler/pthreadArtifactGuard.js +910 -0
  46. package/src/compiler/sdnShimGenerator.js +323 -0
  47. package/src/compiler/wasiThreadsToolchain.js +150 -0
  48. package/src/compliance/index.js +11 -1
  49. package/src/compliance/legacyWildcardPorts.js +228 -0
  50. package/src/compliance/pluginCompliance.js +1000 -96
  51. package/src/field-stream/index.d.ts +31 -0
  52. package/src/field-stream/index.js +119 -0
  53. package/src/flow/dependencyStreamBridge.js +234 -0
  54. package/src/flow/flatsqlLinkShim.js +304 -0
  55. package/src/flow/flowCodec.js +107 -0
  56. package/src/flow/flowCompiler.js +2900 -0
  57. package/src/flow/flowRuntimeHost.js +877 -0
  58. package/src/flow/index.d.ts +117 -0
  59. package/src/flow/index.js +31 -0
  60. package/src/flow/isomorphicFlowHost.js +384 -0
  61. package/src/flow/jsFlowRuntime.js +275 -0
  62. package/src/flow/normalize.js +294 -0
  63. package/src/flow/runtime-src/flow_runtime.cpp +1699 -0
  64. package/src/flow/vendor/sdn-flow/MethodRegistry.js +400 -0
  65. package/src/flow/vendor/sdn-flow/constants.js +39 -0
  66. package/src/flow/vendor/sdn-flow/index.js +29 -0
  67. package/src/flow/vendor/sdn-flow/normalize.js +506 -0
  68. package/src/flow/vendor/sdn-flow/wasmCompatibility.js +189 -0
  69. package/src/generated/http/cpp/HttpRequestAbi_generated.h +285 -0
  70. package/src/generated/http/cpp/HttpResponseAbi_generated.h +192 -0
  71. package/src/generated/http/sdn/http/http-header.js +53 -0
  72. package/src/generated/http/sdn/http/http-header.ts +67 -0
  73. package/src/generated/http/sdn/http/http-request.js +132 -0
  74. package/src/generated/http/sdn/http/http-request.ts +179 -0
  75. package/src/generated/http/sdn/http/http-response.js +144 -0
  76. package/src/generated/http/sdn/http/http-response.ts +168 -0
  77. package/src/generated/http/sdn/http.js +11 -0
  78. package/src/generated/http/sdn/http.ts +4 -0
  79. package/src/generated/orbpro/flow/backpressure-policy.d.ts +12 -0
  80. package/src/generated/orbpro/flow/backpressure-policy.d.ts.map +1 -0
  81. package/src/generated/orbpro/flow/backpressure-policy.js +17 -0
  82. package/src/generated/orbpro/flow/backpressure-policy.js.map +1 -0
  83. package/src/generated/orbpro/flow/backpressure-policy.ts +15 -0
  84. package/src/generated/orbpro/flow/flow-bundle-manifest.d.ts +142 -0
  85. package/src/generated/orbpro/flow/flow-bundle-manifest.d.ts.map +1 -0
  86. package/src/generated/orbpro/flow/flow-bundle-manifest.js +304 -0
  87. package/src/generated/orbpro/flow/flow-bundle-manifest.js.map +1 -0
  88. package/src/generated/orbpro/flow/flow-bundle-manifest.ts +399 -0
  89. package/src/generated/orbpro/flow/flow-edge.d.ts +113 -0
  90. package/src/generated/orbpro/flow/flow-edge.d.ts.map +1 -0
  91. package/src/generated/orbpro/flow/flow-edge.js +221 -0
  92. package/src/generated/orbpro/flow/flow-edge.js.map +1 -0
  93. package/src/generated/orbpro/flow/flow-edge.ts +292 -0
  94. package/src/generated/orbpro/flow/flow-node.d.ts +80 -0
  95. package/src/generated/orbpro/flow/flow-node.d.ts.map +1 -0
  96. package/src/generated/orbpro/flow/flow-node.js +158 -0
  97. package/src/generated/orbpro/flow/flow-node.js.map +1 -0
  98. package/src/generated/orbpro/flow/flow-node.ts +202 -0
  99. package/src/generated/orbpro/flow/flow-program.d.ts +164 -0
  100. package/src/generated/orbpro/flow/flow-program.d.ts.map +1 -0
  101. package/src/generated/orbpro/flow/flow-program.js +350 -0
  102. package/src/generated/orbpro/flow/flow-program.js.map +1 -0
  103. package/src/generated/orbpro/flow/flow-program.ts +477 -0
  104. package/src/generated/orbpro/flow/flow-trigger.d.ts +108 -0
  105. package/src/generated/orbpro/flow/flow-trigger.d.ts.map +1 -0
  106. package/src/generated/orbpro/flow/flow-trigger.js +207 -0
  107. package/src/generated/orbpro/flow/flow-trigger.js.map +1 -0
  108. package/src/generated/orbpro/flow/flow-trigger.ts +276 -0
  109. package/src/generated/orbpro/flow/node-kind.d.ts +13 -0
  110. package/src/generated/orbpro/flow/node-kind.d.ts.map +1 -0
  111. package/src/generated/orbpro/flow/node-kind.js +16 -0
  112. package/src/generated/orbpro/flow/node-kind.js.map +1 -0
  113. package/src/generated/orbpro/{invoke.ts → flow/node-kind.ts} +12 -2
  114. package/src/generated/orbpro/flow/plugin-version-binding.d.ts +52 -0
  115. package/src/generated/orbpro/flow/plugin-version-binding.d.ts.map +1 -0
  116. package/src/generated/orbpro/flow/plugin-version-binding.js +85 -0
  117. package/src/generated/orbpro/flow/plugin-version-binding.js.map +1 -0
  118. package/src/generated/orbpro/flow/plugin-version-binding.ts +121 -0
  119. package/src/generated/orbpro/flow/schema-hash-binding.d.ts +70 -0
  120. package/src/generated/orbpro/flow/schema-hash-binding.d.ts.map +1 -0
  121. package/src/generated/orbpro/flow/schema-hash-binding.js +143 -0
  122. package/src/generated/orbpro/flow/schema-hash-binding.js.map +1 -0
  123. package/src/generated/orbpro/flow/schema-hash-binding.ts +189 -0
  124. package/src/generated/orbpro/flow/trigger-binding.d.ts +71 -0
  125. package/src/generated/orbpro/flow/trigger-binding.d.ts.map +1 -0
  126. package/src/generated/orbpro/flow/trigger-binding.js +142 -0
  127. package/src/generated/orbpro/flow/trigger-binding.js.map +1 -0
  128. package/src/generated/orbpro/flow/trigger-binding.ts +181 -0
  129. package/src/generated/orbpro/flow/trigger-kind.d.ts +14 -0
  130. package/src/generated/orbpro/flow/trigger-kind.d.ts.map +1 -0
  131. package/src/generated/orbpro/flow/trigger-kind.js +17 -0
  132. package/src/generated/orbpro/flow/trigger-kind.js.map +1 -0
  133. package/src/generated/orbpro/flow/trigger-kind.ts +17 -0
  134. package/src/generated/orbpro/flow.d.ts +21 -0
  135. package/src/generated/orbpro/flow.d.ts.map +1 -0
  136. package/src/generated/orbpro/flow.js +23 -0
  137. package/src/generated/orbpro/flow.js.map +1 -0
  138. package/src/generated/orbpro/flow.ts +24 -0
  139. package/src/generated/orbpro/manifest/capability-kind.d.ts +2 -1
  140. package/src/generated/orbpro/manifest/capability-kind.js +1 -0
  141. package/src/generated/orbpro/manifest/capability-kind.ts +1 -0
  142. package/src/generated/orbpro/plugin/stream-invoke-request.d.ts +93 -0
  143. package/src/generated/orbpro/plugin/stream-invoke-request.js +160 -0
  144. package/src/generated/orbpro/plugin/stream-invoke-request.ts +211 -0
  145. package/src/generated/orbpro/plugin/stream-invoke-response.d.ts +99 -0
  146. package/src/generated/orbpro/plugin/stream-invoke-response.js +175 -0
  147. package/src/generated/orbpro/plugin/stream-invoke-response.ts +226 -0
  148. package/src/generated/orbpro/plugin.js +8 -0
  149. package/src/generated/orbpro/stream.d.ts +12 -0
  150. package/src/generated/orbpro/stream.js +14 -0
  151. package/src/generated/orbpro/stream.ts +15 -0
  152. package/src/generated/spacedatastandards/plg/EntryFunction.d.ts +52 -0
  153. package/src/generated/spacedatastandards/plg/EntryFunction.d.ts.map +1 -0
  154. package/src/generated/spacedatastandards/plg/EntryFunction.js +106 -0
  155. package/src/generated/spacedatastandards/plg/EntryFunction.ts +162 -0
  156. package/src/generated/spacedatastandards/plg/FlatBufferTypeRef.d.ts +90 -0
  157. package/src/generated/spacedatastandards/plg/FlatBufferTypeRef.d.ts.map +1 -0
  158. package/src/generated/spacedatastandards/plg/FlatBufferTypeRef.js +189 -0
  159. package/src/generated/spacedatastandards/plg/FlatBufferTypeRef.ts +270 -0
  160. package/src/generated/spacedatastandards/plg/PLG.d.ts +492 -0
  161. package/src/generated/spacedatastandards/plg/PLG.d.ts.map +1 -0
  162. package/src/generated/spacedatastandards/plg/PLG.js +1139 -0
  163. package/src/generated/spacedatastandards/plg/PLG.ts +1600 -0
  164. package/src/generated/spacedatastandards/plg/PLGAcceptedTypeSet.d.ts +63 -0
  165. package/src/generated/spacedatastandards/plg/PLGAcceptedTypeSet.d.ts.map +1 -0
  166. package/src/generated/spacedatastandards/plg/PLGAcceptedTypeSet.js +138 -0
  167. package/src/generated/spacedatastandards/plg/PLGAcceptedTypeSet.ts +189 -0
  168. package/src/generated/spacedatastandards/plg/PLGBuildArtifact.d.ts +41 -0
  169. package/src/generated/spacedatastandards/plg/PLGBuildArtifact.d.ts.map +1 -0
  170. package/src/generated/spacedatastandards/plg/PLGBuildArtifact.js +104 -0
  171. package/src/generated/spacedatastandards/plg/PLGBuildArtifact.ts +151 -0
  172. package/src/generated/spacedatastandards/plg/PLGFlowEdge.d.ts +68 -0
  173. package/src/generated/spacedatastandards/plg/PLGFlowEdge.d.ts.map +1 -0
  174. package/src/generated/spacedatastandards/plg/PLGFlowEdge.js +124 -0
  175. package/src/generated/spacedatastandards/plg/PLGFlowEdge.ts +184 -0
  176. package/src/generated/spacedatastandards/plg/PLGFlowEdgeContract.d.ts +58 -0
  177. package/src/generated/spacedatastandards/plg/PLGFlowEdgeContract.d.ts.map +1 -0
  178. package/src/generated/spacedatastandards/plg/PLGFlowEdgeContract.js +126 -0
  179. package/src/generated/spacedatastandards/plg/PLGFlowEdgeContract.ts +161 -0
  180. package/src/generated/spacedatastandards/plg/PLGFlowNode.d.ts +82 -0
  181. package/src/generated/spacedatastandards/plg/PLGFlowNode.d.ts.map +1 -0
  182. package/src/generated/spacedatastandards/plg/PLGFlowNode.js +164 -0
  183. package/src/generated/spacedatastandards/plg/PLGFlowNode.ts +244 -0
  184. package/src/generated/spacedatastandards/plg/PLGFlowTrigger.d.ts +55 -0
  185. package/src/generated/spacedatastandards/plg/PLGFlowTrigger.d.ts.map +1 -0
  186. package/src/generated/spacedatastandards/plg/PLGFlowTrigger.js +105 -0
  187. package/src/generated/spacedatastandards/plg/PLGFlowTrigger.ts +162 -0
  188. package/src/generated/spacedatastandards/plg/PLGFlowTriggerBinding.d.ts +42 -0
  189. package/src/generated/spacedatastandards/plg/PLGFlowTriggerBinding.d.ts.map +1 -0
  190. package/src/generated/spacedatastandards/plg/PLGFlowTriggerBinding.js +83 -0
  191. package/src/generated/spacedatastandards/plg/PLGFlowTriggerBinding.ts +127 -0
  192. package/src/generated/spacedatastandards/plg/PLGHostCapability.d.ts +36 -0
  193. package/src/generated/spacedatastandards/plg/PLGHostCapability.d.ts.map +1 -0
  194. package/src/generated/spacedatastandards/plg/PLGHostCapability.js +90 -0
  195. package/src/generated/spacedatastandards/plg/PLGHostCapability.ts +127 -0
  196. package/src/generated/spacedatastandards/plg/PLGMethodManifest.d.ts +53 -0
  197. package/src/generated/spacedatastandards/plg/PLGMethodManifest.d.ts.map +1 -0
  198. package/src/generated/spacedatastandards/plg/PLGMethodManifest.js +153 -0
  199. package/src/generated/spacedatastandards/plg/PLGMethodManifest.ts +210 -0
  200. package/src/generated/spacedatastandards/plg/PLGPortManifest.d.ts +70 -0
  201. package/src/generated/spacedatastandards/plg/PLGPortManifest.d.ts.map +1 -0
  202. package/src/generated/spacedatastandards/plg/PLGPortManifest.js +149 -0
  203. package/src/generated/spacedatastandards/plg/PLGPortManifest.ts +212 -0
  204. package/src/generated/spacedatastandards/plg/PLGProtocolSpec.d.ts +73 -0
  205. package/src/generated/spacedatastandards/plg/PLGProtocolSpec.d.ts.map +1 -0
  206. package/src/generated/spacedatastandards/plg/PLGProtocolSpec.js +199 -0
  207. package/src/generated/spacedatastandards/plg/PLGProtocolSpec.ts +292 -0
  208. package/src/generated/spacedatastandards/plg/PLGTimerSpec.d.ts +40 -0
  209. package/src/generated/spacedatastandards/plg/PLGTimerSpec.d.ts.map +1 -0
  210. package/src/generated/spacedatastandards/plg/PLGTimerSpec.js +103 -0
  211. package/src/generated/spacedatastandards/plg/PLGTimerSpec.ts +148 -0
  212. package/src/generated/spacedatastandards/plg/PluginCapability.d.ts +41 -0
  213. package/src/generated/spacedatastandards/plg/PluginCapability.d.ts.map +1 -0
  214. package/src/generated/spacedatastandards/plg/PluginCapability.js +82 -0
  215. package/src/generated/spacedatastandards/plg/{plugin-capability.ts → PluginCapability.ts} +55 -18
  216. package/src/generated/spacedatastandards/plg/PluginDependency.d.ts +42 -0
  217. package/src/generated/spacedatastandards/plg/PluginDependency.d.ts.map +1 -0
  218. package/src/generated/spacedatastandards/plg/PluginDependency.js +80 -0
  219. package/src/generated/spacedatastandards/plg/PluginDependency.ts +124 -0
  220. package/src/generated/spacedatastandards/plg/TAB.d.ts +85 -0
  221. package/src/generated/spacedatastandards/plg/TAB.d.ts.map +1 -0
  222. package/src/generated/spacedatastandards/plg/TAB.js +173 -0
  223. package/src/generated/spacedatastandards/plg/TAB.ts +228 -0
  224. package/src/generated/spacedatastandards/plg/bufferMutability.d.ts +18 -0
  225. package/src/generated/spacedatastandards/plg/bufferMutability.d.ts.map +1 -0
  226. package/src/generated/spacedatastandards/plg/bufferMutability.js +20 -0
  227. package/src/generated/spacedatastandards/plg/bufferMutability.ts +23 -0
  228. package/src/generated/spacedatastandards/plg/bufferOwnership.d.ts +18 -0
  229. package/src/generated/spacedatastandards/plg/bufferOwnership.d.ts.map +1 -0
  230. package/src/generated/spacedatastandards/plg/bufferOwnership.js +20 -0
  231. package/src/generated/spacedatastandards/plg/bufferOwnership.ts +23 -0
  232. package/src/generated/spacedatastandards/plg/drainBehavior.d.ts +20 -0
  233. package/src/generated/spacedatastandards/plg/drainBehavior.d.ts.map +1 -0
  234. package/src/generated/spacedatastandards/plg/drainBehavior.js +22 -0
  235. package/src/generated/spacedatastandards/plg/drainBehavior.ts +25 -0
  236. package/src/generated/spacedatastandards/plg/flowEdgeRoutePolicy.d.ts +10 -0
  237. package/src/generated/spacedatastandards/plg/flowEdgeRoutePolicy.d.ts.map +1 -0
  238. package/src/generated/spacedatastandards/plg/flowEdgeRoutePolicy.js +12 -0
  239. package/src/generated/spacedatastandards/plg/flowEdgeRoutePolicy.ts +13 -0
  240. package/src/generated/spacedatastandards/plg/hostCapabilityKind.d.ts +51 -0
  241. package/src/generated/spacedatastandards/plg/hostCapabilityKind.d.ts.map +1 -0
  242. package/src/generated/spacedatastandards/plg/hostCapabilityKind.js +53 -0
  243. package/src/generated/spacedatastandards/plg/hostCapabilityKind.ts +55 -0
  244. package/src/generated/spacedatastandards/plg/invokeSurfaceKind.d.ts +15 -0
  245. package/src/generated/spacedatastandards/plg/invokeSurfaceKind.d.ts.map +1 -0
  246. package/src/generated/spacedatastandards/plg/invokeSurfaceKind.js +17 -0
  247. package/src/generated/spacedatastandards/plg/invokeSurfaceKind.ts +19 -0
  248. package/src/generated/spacedatastandards/plg/main.d.ts +29 -0
  249. package/src/generated/spacedatastandards/plg/main.d.ts.map +1 -0
  250. package/src/generated/spacedatastandards/plg/main.js +30 -0
  251. package/src/generated/spacedatastandards/plg/main.ts +32 -0
  252. package/src/generated/spacedatastandards/plg/payloadWireFormat.d.ts +17 -0
  253. package/src/generated/spacedatastandards/plg/payloadWireFormat.d.ts.map +1 -0
  254. package/src/generated/spacedatastandards/plg/payloadWireFormat.js +19 -0
  255. package/src/generated/spacedatastandards/plg/payloadWireFormat.ts +21 -0
  256. package/src/generated/spacedatastandards/plg/pluginCategory.d.ts +82 -0
  257. package/src/generated/spacedatastandards/plg/pluginCategory.d.ts.map +1 -0
  258. package/src/generated/spacedatastandards/plg/pluginCategory.js +84 -0
  259. package/src/generated/spacedatastandards/plg/pluginCategory.ts +103 -0
  260. package/src/generated/spacedatastandards/plg/publicationState.d.ts +18 -0
  261. package/src/generated/spacedatastandards/plg/publicationState.d.ts.map +1 -0
  262. package/src/generated/spacedatastandards/plg/publicationState.js +20 -0
  263. package/src/generated/spacedatastandards/plg/purchaseTier.d.ts +18 -0
  264. package/src/generated/spacedatastandards/plg/purchaseTier.d.ts.map +1 -0
  265. package/src/generated/spacedatastandards/plg/purchaseTier.js +20 -0
  266. package/src/host/AGENTS.md +2 -2
  267. package/src/host/abi.js +53 -66
  268. package/src/host/browserHost.js +355 -8
  269. package/src/host/cpp/keyslotClient.hpp +231 -0
  270. package/src/host/cpp/secretsClient.hpp +583 -0
  271. package/src/host/hostcallWire.js +183 -0
  272. package/src/host/index.js +2 -0
  273. package/src/host/isomorphicLoader.js +44 -7
  274. package/src/host/nodeHost.js +227 -8
  275. package/src/host/sabHostcallChannel.js +206 -0
  276. package/src/host/timerDriver.js +203 -0
  277. package/src/host/wasiShim.js +41 -1
  278. package/src/host/wasiThreadBrowserWorker.mjs +48 -0
  279. package/src/host/wasiThreadHost.js +393 -0
  280. package/src/host/wasiThreadWorker.mjs +32 -0
  281. package/src/host/wasiThreadWorkerRuntime.js +93 -0
  282. package/src/http/index.js +339 -0
  283. package/src/index.d.ts +716 -10
  284. package/src/index.js +4 -0
  285. package/src/invoke/codec.js +1202 -128
  286. package/src/invoke/index.js +5 -1
  287. package/src/licensing/index.d.ts +2 -0
  288. package/src/licensing/index.js +2 -0
  289. package/src/licensing/records.js +287 -8
  290. package/src/manifest/codec.js +62 -14
  291. package/src/manifest/index.js +2 -0
  292. package/src/manifest/legacyToPlg.js +164 -25
  293. package/src/manifest/normalize.js +1 -0
  294. package/src/manifest/plgCodec.js +1303 -62
  295. package/src/manifest/typeRefs.js +162 -24
  296. package/src/runtime/compiledRuntimeAbi.js +47 -0
  297. package/src/runtime/compiledRuntimeAbi.json +33 -0
  298. package/src/runtime/index.d.ts +32 -0
  299. package/src/runtime/index.js +1 -0
  300. package/src/runtime-host/index.js +3 -0
  301. package/src/runtime-host/methodRegistry.js +55 -0
  302. package/src/standards/index.js +200 -56
  303. package/src/standards/sharedCatalog.js +16 -0
  304. package/src/testing/browserModuleHarness.js +604 -31
  305. package/src/testing/docker/wasmedge-parity.Dockerfile +39 -0
  306. package/src/testing/index.d.ts +151 -0
  307. package/src/testing/index.js +21 -0
  308. package/src/testing/native/wasmedge_emscripten_pthread_runner.c +25 -1
  309. package/src/testing/parityBrowserRunner.js +138 -0
  310. package/src/testing/parityHarness.js +616 -0
  311. package/src/testing/parityLanes.js +537 -0
  312. package/src/testing/processInvoke.js +29 -21
  313. package/src/testing/streamInvokeCodec.js +10 -175
  314. package/src/testing/wasmedgePin.json +6 -0
  315. package/src/testing/workerModuleHarness.js +242 -0
  316. package/src/testing/workerModuleHarnessWorker.js +176 -0
  317. package/src/transport/index.js +3 -0
  318. package/src/transport/pki.js +299 -11
  319. package/src/transport/records.js +16 -7
  320. package/src/utils/ecdsaDer.js +106 -0
  321. package/src/utils/wasmCrypto.js +0 -43
  322. package/templates/gpu-module/README.md +48 -0
  323. package/templates/gpu-module/include/space_data_gpu_abi.h +122 -0
  324. package/templates/gpu-module/manifest.json +84 -0
  325. package/schemas/PluginInvokeRequest.fbs +0 -18
  326. package/schemas/PluginInvokeResponse.fbs +0 -30
  327. package/schemas/spacedatastandards/PLG.fbs +0 -191
  328. package/src/generated/orbpro/invoke/plugin-invoke-request.d.ts +0 -51
  329. package/src/generated/orbpro/invoke/plugin-invoke-request.d.ts.map +0 -1
  330. package/src/generated/orbpro/invoke/plugin-invoke-request.js +0 -131
  331. package/src/generated/orbpro/invoke/plugin-invoke-request.js.map +0 -1
  332. package/src/generated/orbpro/invoke/plugin-invoke-request.ts +0 -173
  333. package/src/generated/orbpro/invoke/plugin-invoke-response.d.ts +0 -76
  334. package/src/generated/orbpro/invoke/plugin-invoke-response.d.ts.map +0 -1
  335. package/src/generated/orbpro/invoke/plugin-invoke-response.js +0 -184
  336. package/src/generated/orbpro/invoke/plugin-invoke-response.js.map +0 -1
  337. package/src/generated/orbpro/invoke/plugin-invoke-response.ts +0 -243
  338. package/src/generated/orbpro/invoke.d.ts +0 -3
  339. package/src/generated/orbpro/invoke.js +0 -5
  340. package/src/generated/spacedatastandards/plg/entry-function.js +0 -86
  341. package/src/generated/spacedatastandards/plg/entry-function.ts +0 -119
  342. package/src/generated/spacedatastandards/plg/index.js +0 -16
  343. package/src/generated/spacedatastandards/plg/index.ts +0 -11
  344. package/src/generated/spacedatastandards/plg/plg.js +0 -657
  345. package/src/generated/spacedatastandards/plg/plg.ts +0 -924
  346. package/src/generated/spacedatastandards/plg/plugin-capability.js +0 -66
  347. package/src/generated/spacedatastandards/plg/plugin-category.js +0 -15
  348. package/src/generated/spacedatastandards/plg/plugin-category.ts +0 -53
  349. package/src/generated/spacedatastandards/plg/plugin-dependency.js +0 -63
  350. package/src/generated/spacedatastandards/plg/plugin-dependency.ts +0 -86
  351. package/src/generated/spacedatastandards/plg/publication-state.js +0 -9
  352. package/src/generated/spacedatastandards/plg/purchase-tier.js +0 -9
  353. /package/src/generated/spacedatastandards/plg/{publication-state.ts → publicationState.ts} +0 -0
  354. /package/src/generated/spacedatastandards/plg/{purchase-tier.ts → purchaseTier.ts} +0 -0
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Host capability classes a plugin may request. Extends the simpler
3
+ * `PluginCapability` (which is name+version metadata) with the richer
4
+ * enum-based surface that runtime hosts gate on.
5
+ */
6
+ export declare enum hostCapabilityKind {
7
+ CLOCK = 0,
8
+ RANDOM = 1,
9
+ LOGGING = 2,
10
+ TIMERS = 3,
11
+ PUBSUB = 4,
12
+ PROTOCOL_DIAL = 5,
13
+ PROTOCOL_HANDLE = 6,
14
+ STORAGE_QUERY = 7,
15
+ SCENE_ACCESS = 8,
16
+ ENTITY_ACCESS = 9,
17
+ RENDER_HOOKS = 10,
18
+ HTTP = 11,
19
+ FILESYSTEM = 12,
20
+ PIPE = 13,
21
+ NETWORK = 14,
22
+ DATABASE = 15,
23
+ STORAGE_ADAPTER = 16,
24
+ STORAGE_WRITE = 17,
25
+ WALLET_SIGN = 18,
26
+ IPFS = 19,
27
+ TLS = 20,
28
+ MQTT = 21,
29
+ WEBSOCKET = 22,
30
+ TCP = 23,
31
+ UDP = 24,
32
+ PROCESS_EXEC = 25,
33
+ CONTEXT_READ = 26,
34
+ CONTEXT_WRITE = 27,
35
+ CRYPTO_HASH = 28,
36
+ CRYPTO_SIGN = 29,
37
+ CRYPTO_VERIFY = 30,
38
+ CRYPTO_ENCRYPT = 31,
39
+ CRYPTO_DECRYPT = 32,
40
+ CRYPTO_KEY_AGREEMENT = 33,
41
+ CRYPTO_KDF = 34,
42
+ SCHEDULE_CRON = 35,
43
+ /**
44
+ * Batch record ingest with source provenance tags (provider id, source
45
+ * name/url, batch id) — distinct from STORAGE_WRITE, which stores a
46
+ * single record without source attribution. Hosts gate
47
+ * storage.ingest_with_source on this capability specifically.
48
+ */
49
+ STORAGE_INGEST = 36
50
+ }
51
+ //# sourceMappingURL=hostCapabilityKind.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hostCapabilityKind.d.ts","sourceRoot":"","sources":["../../../ts/PLG/hostCapabilityKind.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,oBAAY,kBAAkB;IAC5B,KAAK,IAAI;IACT,MAAM,IAAI;IACV,OAAO,IAAI;IACX,MAAM,IAAI;IACV,MAAM,IAAI;IACV,aAAa,IAAI;IACjB,eAAe,IAAI;IACnB,aAAa,IAAI;IACjB,YAAY,IAAI;IAChB,aAAa,IAAI;IACjB,YAAY,KAAK;IACjB,IAAI,KAAK;IACT,UAAU,KAAK;IACf,IAAI,KAAK;IACT,OAAO,KAAK;IACZ,QAAQ,KAAK;IACb,eAAe,KAAK;IACpB,aAAa,KAAK;IAClB,WAAW,KAAK;IAChB,IAAI,KAAK;IACT,GAAG,KAAK;IACR,IAAI,KAAK;IACT,SAAS,KAAK;IACd,GAAG,KAAK;IACR,GAAG,KAAK;IACR,YAAY,KAAK;IACjB,YAAY,KAAK;IACjB,aAAa,KAAK;IAClB,WAAW,KAAK;IAChB,WAAW,KAAK;IAChB,aAAa,KAAK;IAClB,cAAc,KAAK;IACnB,cAAc,KAAK;IACnB,oBAAoB,KAAK;IACzB,UAAU,KAAK;IACf,aAAa,KAAK;IAElB;;;;;OAKG;IACH,cAAc,KAAK;CACpB"}
@@ -0,0 +1,53 @@
1
+ // automatically generated by the FlatBuffers compiler, do not modify
2
+ /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
3
+ /**
4
+ * Host capability classes a plugin may request. Extends the simpler
5
+ * `PluginCapability` (which is name+version metadata) with the richer
6
+ * enum-based surface that runtime hosts gate on.
7
+ */
8
+ export var hostCapabilityKind;
9
+ (function (hostCapabilityKind) {
10
+ hostCapabilityKind[hostCapabilityKind["CLOCK"] = 0] = "CLOCK";
11
+ hostCapabilityKind[hostCapabilityKind["RANDOM"] = 1] = "RANDOM";
12
+ hostCapabilityKind[hostCapabilityKind["LOGGING"] = 2] = "LOGGING";
13
+ hostCapabilityKind[hostCapabilityKind["TIMERS"] = 3] = "TIMERS";
14
+ hostCapabilityKind[hostCapabilityKind["PUBSUB"] = 4] = "PUBSUB";
15
+ hostCapabilityKind[hostCapabilityKind["PROTOCOL_DIAL"] = 5] = "PROTOCOL_DIAL";
16
+ hostCapabilityKind[hostCapabilityKind["PROTOCOL_HANDLE"] = 6] = "PROTOCOL_HANDLE";
17
+ hostCapabilityKind[hostCapabilityKind["STORAGE_QUERY"] = 7] = "STORAGE_QUERY";
18
+ hostCapabilityKind[hostCapabilityKind["SCENE_ACCESS"] = 8] = "SCENE_ACCESS";
19
+ hostCapabilityKind[hostCapabilityKind["ENTITY_ACCESS"] = 9] = "ENTITY_ACCESS";
20
+ hostCapabilityKind[hostCapabilityKind["RENDER_HOOKS"] = 10] = "RENDER_HOOKS";
21
+ hostCapabilityKind[hostCapabilityKind["HTTP"] = 11] = "HTTP";
22
+ hostCapabilityKind[hostCapabilityKind["FILESYSTEM"] = 12] = "FILESYSTEM";
23
+ hostCapabilityKind[hostCapabilityKind["PIPE"] = 13] = "PIPE";
24
+ hostCapabilityKind[hostCapabilityKind["NETWORK"] = 14] = "NETWORK";
25
+ hostCapabilityKind[hostCapabilityKind["DATABASE"] = 15] = "DATABASE";
26
+ hostCapabilityKind[hostCapabilityKind["STORAGE_ADAPTER"] = 16] = "STORAGE_ADAPTER";
27
+ hostCapabilityKind[hostCapabilityKind["STORAGE_WRITE"] = 17] = "STORAGE_WRITE";
28
+ hostCapabilityKind[hostCapabilityKind["WALLET_SIGN"] = 18] = "WALLET_SIGN";
29
+ hostCapabilityKind[hostCapabilityKind["IPFS"] = 19] = "IPFS";
30
+ hostCapabilityKind[hostCapabilityKind["TLS"] = 20] = "TLS";
31
+ hostCapabilityKind[hostCapabilityKind["MQTT"] = 21] = "MQTT";
32
+ hostCapabilityKind[hostCapabilityKind["WEBSOCKET"] = 22] = "WEBSOCKET";
33
+ hostCapabilityKind[hostCapabilityKind["TCP"] = 23] = "TCP";
34
+ hostCapabilityKind[hostCapabilityKind["UDP"] = 24] = "UDP";
35
+ hostCapabilityKind[hostCapabilityKind["PROCESS_EXEC"] = 25] = "PROCESS_EXEC";
36
+ hostCapabilityKind[hostCapabilityKind["CONTEXT_READ"] = 26] = "CONTEXT_READ";
37
+ hostCapabilityKind[hostCapabilityKind["CONTEXT_WRITE"] = 27] = "CONTEXT_WRITE";
38
+ hostCapabilityKind[hostCapabilityKind["CRYPTO_HASH"] = 28] = "CRYPTO_HASH";
39
+ hostCapabilityKind[hostCapabilityKind["CRYPTO_SIGN"] = 29] = "CRYPTO_SIGN";
40
+ hostCapabilityKind[hostCapabilityKind["CRYPTO_VERIFY"] = 30] = "CRYPTO_VERIFY";
41
+ hostCapabilityKind[hostCapabilityKind["CRYPTO_ENCRYPT"] = 31] = "CRYPTO_ENCRYPT";
42
+ hostCapabilityKind[hostCapabilityKind["CRYPTO_DECRYPT"] = 32] = "CRYPTO_DECRYPT";
43
+ hostCapabilityKind[hostCapabilityKind["CRYPTO_KEY_AGREEMENT"] = 33] = "CRYPTO_KEY_AGREEMENT";
44
+ hostCapabilityKind[hostCapabilityKind["CRYPTO_KDF"] = 34] = "CRYPTO_KDF";
45
+ hostCapabilityKind[hostCapabilityKind["SCHEDULE_CRON"] = 35] = "SCHEDULE_CRON";
46
+ /**
47
+ * Batch record ingest with source provenance tags (provider id, source
48
+ * name/url, batch id) — distinct from STORAGE_WRITE, which stores a
49
+ * single record without source attribution. Hosts gate
50
+ * storage.ingest_with_source on this capability specifically.
51
+ */
52
+ hostCapabilityKind[hostCapabilityKind["STORAGE_INGEST"] = 36] = "STORAGE_INGEST";
53
+ })(hostCapabilityKind || (hostCapabilityKind = {}));
@@ -0,0 +1,55 @@
1
+ // automatically generated by the FlatBuffers compiler, do not modify
2
+
3
+ /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
4
+
5
+ /**
6
+ * Host capability classes a plugin may request. Extends the simpler
7
+ * `PluginCapability` (which is name+version metadata) with the richer
8
+ * enum-based surface that runtime hosts gate on.
9
+ */
10
+ export enum hostCapabilityKind {
11
+ CLOCK = 0,
12
+ RANDOM = 1,
13
+ LOGGING = 2,
14
+ TIMERS = 3,
15
+ PUBSUB = 4,
16
+ PROTOCOL_DIAL = 5,
17
+ PROTOCOL_HANDLE = 6,
18
+ STORAGE_QUERY = 7,
19
+ SCENE_ACCESS = 8,
20
+ ENTITY_ACCESS = 9,
21
+ RENDER_HOOKS = 10,
22
+ HTTP = 11,
23
+ FILESYSTEM = 12,
24
+ PIPE = 13,
25
+ NETWORK = 14,
26
+ DATABASE = 15,
27
+ STORAGE_ADAPTER = 16,
28
+ STORAGE_WRITE = 17,
29
+ WALLET_SIGN = 18,
30
+ IPFS = 19,
31
+ TLS = 20,
32
+ MQTT = 21,
33
+ WEBSOCKET = 22,
34
+ TCP = 23,
35
+ UDP = 24,
36
+ PROCESS_EXEC = 25,
37
+ CONTEXT_READ = 26,
38
+ CONTEXT_WRITE = 27,
39
+ CRYPTO_HASH = 28,
40
+ CRYPTO_SIGN = 29,
41
+ CRYPTO_VERIFY = 30,
42
+ CRYPTO_ENCRYPT = 31,
43
+ CRYPTO_DECRYPT = 32,
44
+ CRYPTO_KEY_AGREEMENT = 33,
45
+ CRYPTO_KDF = 34,
46
+ SCHEDULE_CRON = 35,
47
+
48
+ /**
49
+ * Batch record ingest with source provenance tags (provider id, source
50
+ * name/url, batch id) — distinct from STORAGE_WRITE, which stores a
51
+ * single record without source attribution. Hosts gate
52
+ * storage.ingest_with_source on this capability specifically.
53
+ */
54
+ STORAGE_INGEST = 36
55
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Canonical invoke surfaces a plugin artifact can expose. A single
3
+ * artifact can support multiple.
4
+ */
5
+ export declare enum invokeSurfaceKind {
6
+ /**
7
+ * Direct ABI — host calls `plugin_invoke_stream` in-process.
8
+ */
9
+ DIRECT = 0,
10
+ /**
11
+ * Command surface — envelope is queued by a runtime host.
12
+ */
13
+ COMMAND = 1
14
+ }
15
+ //# sourceMappingURL=invokeSurfaceKind.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invokeSurfaceKind.d.ts","sourceRoot":"","sources":["../../../ts/PLG/invokeSurfaceKind.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,oBAAY,iBAAiB;IAC3B;;OAEG;IACH,MAAM,IAAI;IAEV;;OAEG;IACH,OAAO,IAAI;CACZ"}
@@ -0,0 +1,17 @@
1
+ // automatically generated by the FlatBuffers compiler, do not modify
2
+ /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
3
+ /**
4
+ * Canonical invoke surfaces a plugin artifact can expose. A single
5
+ * artifact can support multiple.
6
+ */
7
+ export var invokeSurfaceKind;
8
+ (function (invokeSurfaceKind) {
9
+ /**
10
+ * Direct ABI — host calls `plugin_invoke_stream` in-process.
11
+ */
12
+ invokeSurfaceKind[invokeSurfaceKind["DIRECT"] = 0] = "DIRECT";
13
+ /**
14
+ * Command surface — envelope is queued by a runtime host.
15
+ */
16
+ invokeSurfaceKind[invokeSurfaceKind["COMMAND"] = 1] = "COMMAND";
17
+ })(invokeSurfaceKind || (invokeSurfaceKind = {}));
@@ -0,0 +1,19 @@
1
+ // automatically generated by the FlatBuffers compiler, do not modify
2
+
3
+ /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
4
+
5
+ /**
6
+ * Canonical invoke surfaces a plugin artifact can expose. A single
7
+ * artifact can support multiple.
8
+ */
9
+ export enum invokeSurfaceKind {
10
+ /**
11
+ * Direct ABI — host calls `plugin_invoke_stream` in-process.
12
+ */
13
+ DIRECT = 0,
14
+
15
+ /**
16
+ * Command surface — envelope is queued by a runtime host.
17
+ */
18
+ COMMAND = 1
19
+ }
@@ -0,0 +1,29 @@
1
+ export * from './bufferMutability.js';
2
+ export * from './bufferOwnership.js';
3
+ export * from './drainBehavior.js';
4
+ export * from './EntryFunction.js';
5
+ export * from './FlatBufferTypeRef.js';
6
+ export * from './flowEdgeRoutePolicy.js';
7
+ export * from './hostCapabilityKind.js';
8
+ export * from './invokeSurfaceKind.js';
9
+ export * from './payloadWireFormat.js';
10
+ export * from './PLG.js';
11
+ export * from './PLGAcceptedTypeSet.js';
12
+ export * from './PLGBuildArtifact.js';
13
+ export * from './PLGFlowEdge.js';
14
+ export * from './PLGFlowEdgeContract.js';
15
+ export * from './PLGFlowNode.js';
16
+ export * from './PLGFlowTrigger.js';
17
+ export * from './PLGFlowTriggerBinding.js';
18
+ export * from './PLGHostCapability.js';
19
+ export * from './PLGMethodManifest.js';
20
+ export * from './PLGPortManifest.js';
21
+ export * from './PLGProtocolSpec.js';
22
+ export * from './PLGTimerSpec.js';
23
+ export * from './PluginCapability.js';
24
+ export * from './pluginCategory.js';
25
+ export * from './PluginDependency.js';
26
+ export * from './publicationState.js';
27
+ export * from './purchaseTier.js';
28
+ export * from './TAB.js';
29
+ //# sourceMappingURL=main.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../ts/PLG/main.ts"],"names":[],"mappings":"AAIA,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,UAAU,CAAC;AACzB,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC"}
@@ -0,0 +1,30 @@
1
+ // automatically generated by the FlatBuffers compiler, do not modify
2
+ /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
3
+ export * from './bufferMutability.js';
4
+ export * from './bufferOwnership.js';
5
+ export * from './drainBehavior.js';
6
+ export * from './EntryFunction.js';
7
+ export * from './FlatBufferTypeRef.js';
8
+ export * from './flowEdgeRoutePolicy.js';
9
+ export * from './hostCapabilityKind.js';
10
+ export * from './invokeSurfaceKind.js';
11
+ export * from './payloadWireFormat.js';
12
+ export * from './PLG.js';
13
+ export * from './PLGAcceptedTypeSet.js';
14
+ export * from './PLGBuildArtifact.js';
15
+ export * from './PLGFlowEdge.js';
16
+ export * from './PLGFlowEdgeContract.js';
17
+ export * from './PLGFlowNode.js';
18
+ export * from './PLGFlowTrigger.js';
19
+ export * from './PLGFlowTriggerBinding.js';
20
+ export * from './PLGHostCapability.js';
21
+ export * from './PLGMethodManifest.js';
22
+ export * from './PLGPortManifest.js';
23
+ export * from './PLGProtocolSpec.js';
24
+ export * from './PLGTimerSpec.js';
25
+ export * from './PluginCapability.js';
26
+ export * from './pluginCategory.js';
27
+ export * from './PluginDependency.js';
28
+ export * from './publicationState.js';
29
+ export * from './purchaseTier.js';
30
+ export * from './TAB.js';
@@ -0,0 +1,32 @@
1
+ // automatically generated by the FlatBuffers compiler, do not modify
2
+
3
+ /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
4
+
5
+ export * from './bufferMutability.js';
6
+ export * from './bufferOwnership.js';
7
+ export * from './drainBehavior.js';
8
+ export * from './EntryFunction.js';
9
+ export * from './FlatBufferTypeRef.js';
10
+ export * from './flowEdgeRoutePolicy.js';
11
+ export * from './hostCapabilityKind.js';
12
+ export * from './invokeSurfaceKind.js';
13
+ export * from './payloadWireFormat.js';
14
+ export * from './PLG.js';
15
+ export * from './PLGAcceptedTypeSet.js';
16
+ export * from './PLGBuildArtifact.js';
17
+ export * from './PLGFlowEdge.js';
18
+ export * from './PLGFlowEdgeContract.js';
19
+ export * from './PLGFlowNode.js';
20
+ export * from './PLGFlowTrigger.js';
21
+ export * from './PLGFlowTriggerBinding.js';
22
+ export * from './PLGHostCapability.js';
23
+ export * from './PLGMethodManifest.js';
24
+ export * from './PLGPortManifest.js';
25
+ export * from './PLGProtocolSpec.js';
26
+ export * from './PLGTimerSpec.js';
27
+ export * from './PluginCapability.js';
28
+ export * from './pluginCategory.js';
29
+ export * from './PluginDependency.js';
30
+ export * from './publicationState.js';
31
+ export * from './purchaseTier.js';
32
+ export * from './TAB.js';
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Typed Arena Buffer — descriptor for a schema-tagged payload frame moving
3
+ * through an arena-backed plugin stream. Carries enough identity for a
4
+ * receiver to dispatch on schema without inspecting the payload bytes.
5
+ * Logical payload wire format for a stream frame or an accepted port type.
6
+ */
7
+ export declare enum payloadWireFormat {
8
+ /**
9
+ * Body is a FlatBuffer with the root + file identifier stated in FLATBUFFER_TYPE_REF.
10
+ */
11
+ FLATBUFFER = 0,
12
+ /**
13
+ * Body is a raw aligned binary chunk (for example zero-copy structs).
14
+ */
15
+ ALIGNED_BINARY = 1
16
+ }
17
+ //# sourceMappingURL=payloadWireFormat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloadWireFormat.d.ts","sourceRoot":"","sources":["../../../ts/PLG/payloadWireFormat.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,oBAAY,iBAAiB;IAC3B;;OAEG;IACH,UAAU,IAAI;IAEd;;OAEG;IACH,cAAc,IAAI;CACnB"}
@@ -0,0 +1,19 @@
1
+ // automatically generated by the FlatBuffers compiler, do not modify
2
+ /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
3
+ /**
4
+ * Typed Arena Buffer — descriptor for a schema-tagged payload frame moving
5
+ * through an arena-backed plugin stream. Carries enough identity for a
6
+ * receiver to dispatch on schema without inspecting the payload bytes.
7
+ * Logical payload wire format for a stream frame or an accepted port type.
8
+ */
9
+ export var payloadWireFormat;
10
+ (function (payloadWireFormat) {
11
+ /**
12
+ * Body is a FlatBuffer with the root + file identifier stated in FLATBUFFER_TYPE_REF.
13
+ */
14
+ payloadWireFormat[payloadWireFormat["FLATBUFFER"] = 0] = "FLATBUFFER";
15
+ /**
16
+ * Body is a raw aligned binary chunk (for example zero-copy structs).
17
+ */
18
+ payloadWireFormat[payloadWireFormat["ALIGNED_BINARY"] = 1] = "ALIGNED_BINARY";
19
+ })(payloadWireFormat || (payloadWireFormat = {}));
@@ -0,0 +1,21 @@
1
+ // automatically generated by the FlatBuffers compiler, do not modify
2
+
3
+ /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
4
+
5
+ /**
6
+ * Typed Arena Buffer — descriptor for a schema-tagged payload frame moving
7
+ * through an arena-backed plugin stream. Carries enough identity for a
8
+ * receiver to dispatch on schema without inspecting the payload bytes.
9
+ * Logical payload wire format for a stream frame or an accepted port type.
10
+ */
11
+ export enum payloadWireFormat {
12
+ /**
13
+ * Body is a FlatBuffer with the root + file identifier stated in FLATBUFFER_TYPE_REF.
14
+ */
15
+ FLATBUFFER = 0,
16
+
17
+ /**
18
+ * Body is a raw aligned binary chunk (for example zero-copy structs).
19
+ */
20
+ ALIGNED_BINARY = 1
21
+ }
@@ -0,0 +1,82 @@
1
+ /**
2
+ * Plugin type category
3
+ */
4
+ export declare enum pluginCategory {
5
+ /**
6
+ * Sensor simulation and analysis
7
+ */
8
+ Sensor = 0,
9
+ /**
10
+ * Orbital propagation algorithms
11
+ */
12
+ Propagator = 1,
13
+ /**
14
+ * Custom rendering/visualization
15
+ */
16
+ Renderer = 2,
17
+ /**
18
+ * Data analysis and processing
19
+ */
20
+ Analysis = 3,
21
+ /**
22
+ * External data source integration
23
+ */
24
+ DataSource = 4,
25
+ /**
26
+ * Electronic warfare simulation
27
+ */
28
+ EW = 5,
29
+ /**
30
+ * Communications modeling
31
+ */
32
+ Comms = 6,
33
+ /**
34
+ * Physics simulation
35
+ */
36
+ Physics = 7,
37
+ /**
38
+ * GLSL shader plugins for custom visualization
39
+ */
40
+ Shader = 8,
41
+ /**
42
+ * Parses raw upstream bytes into canonical SDS records
43
+ */
44
+ Parser = 9,
45
+ /**
46
+ * Validates records (integrity, physical bounds, continuity)
47
+ */
48
+ Validator = 10,
49
+ /**
50
+ * Interpolates ephemeris / state-vector records
51
+ */
52
+ Interpolator = 11,
53
+ /**
54
+ * Exports records to external formats (CSV, etc.)
55
+ */
56
+ Exporter = 12,
57
+ /**
58
+ * Foundational math / utility library module
59
+ */
60
+ Foundation = 13,
61
+ /**
62
+ * Node infrastructure (runtime, delivery, registry)
63
+ */
64
+ Infrastructure = 14,
65
+ /**
66
+ * Module-delivery licensing / key authority
67
+ */
68
+ Licensing = 15,
69
+ /**
70
+ * Storefront listing / discovery
71
+ */
72
+ Storefront = 16,
73
+ /**
74
+ * Publication: PNM signing + pub/sub announcement
75
+ */
76
+ Publisher = 17,
77
+ /**
78
+ * Basilisk astrodynamics simulation module
79
+ */
80
+ Basilisk = 18
81
+ }
82
+ //# sourceMappingURL=pluginCategory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pluginCategory.d.ts","sourceRoot":"","sources":["../../../ts/PLG/pluginCategory.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,oBAAY,cAAc;IACxB;;OAEG;IACH,MAAM,IAAI;IAEV;;OAEG;IACH,UAAU,IAAI;IAEd;;OAEG;IACH,QAAQ,IAAI;IAEZ;;OAEG;IACH,QAAQ,IAAI;IAEZ;;OAEG;IACH,UAAU,IAAI;IAEd;;OAEG;IACH,EAAE,IAAI;IAEN;;OAEG;IACH,KAAK,IAAI;IAET;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,MAAM,IAAI;IAEV;;OAEG;IACH,MAAM,IAAI;IAEV;;OAEG;IACH,SAAS,KAAK;IAEd;;OAEG;IACH,YAAY,KAAK;IAEjB;;OAEG;IACH,QAAQ,KAAK;IAEb;;OAEG;IACH,UAAU,KAAK;IAEf;;OAEG;IACH,cAAc,KAAK;IAEnB;;OAEG;IACH,SAAS,KAAK;IAEd;;OAEG;IACH,UAAU,KAAK;IAEf;;OAEG;IACH,SAAS,KAAK;IAEd;;OAEG;IACH,QAAQ,KAAK;CACd"}
@@ -0,0 +1,84 @@
1
+ // automatically generated by the FlatBuffers compiler, do not modify
2
+ /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
3
+ /**
4
+ * Plugin type category
5
+ */
6
+ export var pluginCategory;
7
+ (function (pluginCategory) {
8
+ /**
9
+ * Sensor simulation and analysis
10
+ */
11
+ pluginCategory[pluginCategory["Sensor"] = 0] = "Sensor";
12
+ /**
13
+ * Orbital propagation algorithms
14
+ */
15
+ pluginCategory[pluginCategory["Propagator"] = 1] = "Propagator";
16
+ /**
17
+ * Custom rendering/visualization
18
+ */
19
+ pluginCategory[pluginCategory["Renderer"] = 2] = "Renderer";
20
+ /**
21
+ * Data analysis and processing
22
+ */
23
+ pluginCategory[pluginCategory["Analysis"] = 3] = "Analysis";
24
+ /**
25
+ * External data source integration
26
+ */
27
+ pluginCategory[pluginCategory["DataSource"] = 4] = "DataSource";
28
+ /**
29
+ * Electronic warfare simulation
30
+ */
31
+ pluginCategory[pluginCategory["EW"] = 5] = "EW";
32
+ /**
33
+ * Communications modeling
34
+ */
35
+ pluginCategory[pluginCategory["Comms"] = 6] = "Comms";
36
+ /**
37
+ * Physics simulation
38
+ */
39
+ pluginCategory[pluginCategory["Physics"] = 7] = "Physics";
40
+ /**
41
+ * GLSL shader plugins for custom visualization
42
+ */
43
+ pluginCategory[pluginCategory["Shader"] = 8] = "Shader";
44
+ /**
45
+ * Parses raw upstream bytes into canonical SDS records
46
+ */
47
+ pluginCategory[pluginCategory["Parser"] = 9] = "Parser";
48
+ /**
49
+ * Validates records (integrity, physical bounds, continuity)
50
+ */
51
+ pluginCategory[pluginCategory["Validator"] = 10] = "Validator";
52
+ /**
53
+ * Interpolates ephemeris / state-vector records
54
+ */
55
+ pluginCategory[pluginCategory["Interpolator"] = 11] = "Interpolator";
56
+ /**
57
+ * Exports records to external formats (CSV, etc.)
58
+ */
59
+ pluginCategory[pluginCategory["Exporter"] = 12] = "Exporter";
60
+ /**
61
+ * Foundational math / utility library module
62
+ */
63
+ pluginCategory[pluginCategory["Foundation"] = 13] = "Foundation";
64
+ /**
65
+ * Node infrastructure (runtime, delivery, registry)
66
+ */
67
+ pluginCategory[pluginCategory["Infrastructure"] = 14] = "Infrastructure";
68
+ /**
69
+ * Module-delivery licensing / key authority
70
+ */
71
+ pluginCategory[pluginCategory["Licensing"] = 15] = "Licensing";
72
+ /**
73
+ * Storefront listing / discovery
74
+ */
75
+ pluginCategory[pluginCategory["Storefront"] = 16] = "Storefront";
76
+ /**
77
+ * Publication: PNM signing + pub/sub announcement
78
+ */
79
+ pluginCategory[pluginCategory["Publisher"] = 17] = "Publisher";
80
+ /**
81
+ * Basilisk astrodynamics simulation module
82
+ */
83
+ pluginCategory[pluginCategory["Basilisk"] = 18] = "Basilisk";
84
+ })(pluginCategory || (pluginCategory = {}));
@@ -0,0 +1,103 @@
1
+ // automatically generated by the FlatBuffers compiler, do not modify
2
+
3
+ /* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
4
+
5
+ /**
6
+ * Plugin type category
7
+ */
8
+ export enum pluginCategory {
9
+ /**
10
+ * Sensor simulation and analysis
11
+ */
12
+ Sensor = 0,
13
+
14
+ /**
15
+ * Orbital propagation algorithms
16
+ */
17
+ Propagator = 1,
18
+
19
+ /**
20
+ * Custom rendering/visualization
21
+ */
22
+ Renderer = 2,
23
+
24
+ /**
25
+ * Data analysis and processing
26
+ */
27
+ Analysis = 3,
28
+
29
+ /**
30
+ * External data source integration
31
+ */
32
+ DataSource = 4,
33
+
34
+ /**
35
+ * Electronic warfare simulation
36
+ */
37
+ EW = 5,
38
+
39
+ /**
40
+ * Communications modeling
41
+ */
42
+ Comms = 6,
43
+
44
+ /**
45
+ * Physics simulation
46
+ */
47
+ Physics = 7,
48
+
49
+ /**
50
+ * GLSL shader plugins for custom visualization
51
+ */
52
+ Shader = 8,
53
+
54
+ /**
55
+ * Parses raw upstream bytes into canonical SDS records
56
+ */
57
+ Parser = 9,
58
+
59
+ /**
60
+ * Validates records (integrity, physical bounds, continuity)
61
+ */
62
+ Validator = 10,
63
+
64
+ /**
65
+ * Interpolates ephemeris / state-vector records
66
+ */
67
+ Interpolator = 11,
68
+
69
+ /**
70
+ * Exports records to external formats (CSV, etc.)
71
+ */
72
+ Exporter = 12,
73
+
74
+ /**
75
+ * Foundational math / utility library module
76
+ */
77
+ Foundation = 13,
78
+
79
+ /**
80
+ * Node infrastructure (runtime, delivery, registry)
81
+ */
82
+ Infrastructure = 14,
83
+
84
+ /**
85
+ * Module-delivery licensing / key authority
86
+ */
87
+ Licensing = 15,
88
+
89
+ /**
90
+ * Storefront listing / discovery
91
+ */
92
+ Storefront = 16,
93
+
94
+ /**
95
+ * Publication: PNM signing + pub/sub announcement
96
+ */
97
+ Publisher = 17,
98
+
99
+ /**
100
+ * Basilisk astrodynamics simulation module
101
+ */
102
+ Basilisk = 18
103
+ }