1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"$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"
}
]
}