{ lossPolicy, signal, context }Runstamp SDKs
Document operations in your runtime.
Discover typed capabilities, execute local document engines, and return the same result envelope your product can use across every surface.
local executionimport { diff } from "@runstamp/docx/ops";
const result = await diff([base, candidate], {
lossPolicy: "collect"
});
result // value · losses · receiptInvocation contract
One typed result shape across heterogeneous document engines.
{ ok, value, losses, diagnostics, receipt }Runtime sequence
Discover, invoke, resolve.
The calling surface changes; the operation name and result semantics do not.
- 01
Install
Select the format package and operation your workflow actually needs.
package - 02
Invoke
Pass native bytes, options, cancellation, and a declared loss policy.
typed call - 03
Verify
Read the artifact, losses, diagnostics, and receipt from one envelope.
result
Availability
Claims follow the registry.
SDK support and evidence are disclosed independently for each registry item.
Inspect current capability evidence