{ "$type": "com.fedfork.exec.wasm.module", "name": "Compose toys", "module": { "$type": "blob", "ref": { "$link": "bafkreifouhfk2eujx4jdipuce54qdtkwvuoupgjppyikaup5dpijujnzfi" }, "mimeType": "application/wasm", "size": 101527 }, "abi": "emdash-wasm-json-v1", "source": { "uri": "at://did:plc:ocnuqjlzgohypj3zoznermms/com.fedfork.exec.source.manifest/compose.1794351992615", "cid": "bafyreidctm6qwcpdonnsbevp2pazz647aeduq3lp4d2jtmrcrmmz4nfr5u" }, "actions": [ { "entry": "caller", "label": "Call", "description": "Calls nsid with input plus a progress callback and returns the outcome." }, { "entry": "lookup", "label": "Lookup", "description": "Doubles n, calling the progress capability first when given one." }, { "entry": "even", "label": "Even policy", "description": "Policy: allows calls whose input n is even." } ], "createdAt": "2026-11-09T07:00:14.595Z", "description": "Composition toys: a caller that passes a progress callback, a lookup that invokes it, and an even-n policy.", "config": [ { "key": "n", "label": "n", "type": "integer", "description": "The n lookup doubles when a call gives none." } ], "calls": [], "hooks": [ { "nsid": "com.example.compose.lookup", "reason": "the example's lookup: another instance doubles n" }, { "nsid": "com.example.compose.confirm", "reason": "the example's confirm: the caller's handler" } ], "implements": [ { "nsid": "com.example.compose.lookup", "entry": "lookup" } ] }