Gap
The _openjd_rs binding exposes deserialize_step, which requires a full named step object. There is no entry point to deserialize a bare step script.
Consequence
Callers that hold a StepScript (e.g. the deadline-cloud-worker-agent's RustSessionRuntime adapter in aws-deadline/deadline-cloud-worker-agent#1002) must fabricate a synthetic wrapper — {"name": "Placeholder", "script": ...} — and pull .script off the deserialized step. Functional, but the synthetic name can leak into Rust-side validation error messages and confuse whoever reads the session log.
Proposal
Expose a deserialize_step_script-style function (binding and/or crate) that decodes a bare script object directly.
Related: #332 (run-task-without-session-env capability for the same adapter).
Gap
The
_openjd_rsbinding exposesdeserialize_step, which requires a full named step object. There is no entry point to deserialize a bare step script.Consequence
Callers that hold a StepScript (e.g. the deadline-cloud-worker-agent's RustSessionRuntime adapter in aws-deadline/deadline-cloud-worker-agent#1002) must fabricate a synthetic wrapper —
{"name": "Placeholder", "script": ...}— and pull.scriptoff the deserialized step. Functional, but the synthetic name can leak into Rust-side validation error messages and confuse whoever reads the session log.Proposal
Expose a
deserialize_step_script-style function (binding and/or crate) that decodes a bare script object directly.Related: #332 (run-task-without-session-env capability for the same adapter).