@shapeshift-labs/frontier-lang-parser 0.3.16 → 0.3.17
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 +2 -2
- package/dist/conversion.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -230,14 +230,14 @@ conversion TodoJavascriptToRust @id("conversion_todo_js_rust") {
|
|
|
230
230
|
target rust
|
|
231
231
|
sourceRuntime javascript node
|
|
232
232
|
targetRuntime rust cli
|
|
233
|
-
runtimeRequirement fetchRuntime @id("runtime_requirement_fetch") capability fetch sourceRuntime node targetRuntime cli evidence artifact_todo_title_probe
|
|
233
|
+
runtimeRequirement fetchRuntime @id("runtime_requirement_fetch") capability fetch sourceRuntime node targetRuntime cli requiredSignals source-hash|target-hash|runtime-command|probe-id|telemetry-hash|network-trace-hash evidence artifact_todo_title_probe proofEvidence artifact_todo_title_probe
|
|
234
234
|
dialect nodeProcess @id("dialect_node_process") language javascript dialect node.runtime kind runtime target rust disposition unsupported readiness blocked loss loss_node_process_projection
|
|
235
235
|
extern viteRoutes @id("extern_vite_routes") language javascript dialect vite.plugin.virtual-module externKind generatorArtifact target rust disposition runtime-required evidence evidence_vite_routes_manifest bindingSymbol virtual:routes
|
|
236
236
|
constraint type publicApi @id("type_constraint_public_api") role source kind public-function symbol symbol:addTodo signatureHash sig_add_todo evidence artifact_todo_title_probe
|
|
237
237
|
}
|
|
238
238
|
```
|
|
239
239
|
|
|
240
|
-
`sourceRuntime` and `targetRuntime` become runtime maps. `runtimeRequirement` rows become proof obligations for host/runtime capabilities. `dialect` and `extern` rows preserve dialect-specific constructs, projection readiness, loss/evidence ids, and binding metadata without requiring the authored Frontier file to drop down to raw JSON.
|
|
240
|
+
`sourceRuntime` and `targetRuntime` become runtime maps. `runtimeRequirement` rows become proof obligations for host/runtime capabilities, including authored `requiredSignals` denominators such as source hashes, target hashes, probe ids, runtime commands, telemetry hashes, and capability-specific trace hashes. `proofEvidence` and `evidence` attach evidence ids, but the compiler still requires bound evidence records before a proof obligation is satisfied. `dialect` and `extern` rows preserve dialect-specific constructs, projection readiness, loss/evidence ids, and binding metadata without requiring the authored Frontier file to drop down to raw JSON.
|
|
241
241
|
|
|
242
242
|
## Authored native source evidence
|
|
243
243
|
|
package/dist/conversion.js
CHANGED
|
@@ -77,6 +77,8 @@ function addRuntimeRequirement(plan, name, text) {
|
|
|
77
77
|
sourceHost: readInlineWord('sourceHost', text),
|
|
78
78
|
targetHost: readInlineWord('targetHost', text),
|
|
79
79
|
reason: readInlineQuoted('reason', text) ?? readInlineWord('reason', text),
|
|
80
|
+
requiredSignals: readInlineList(text, 'requiredSignal', 'requiredSignals', 'signal', 'signals'),
|
|
81
|
+
proofEvidenceIds: readInlineList(text, 'proofEvidence', 'proofEvidenceIds'),
|
|
80
82
|
evidenceIds: readInlineList(text, 'evidence', 'evidenceIds')
|
|
81
83
|
})];
|
|
82
84
|
}
|