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
62
63
64
{
"name": "Echo",
"description": "A step protocol toy: watch a repo event stream, or hold an iroh session to a guest, streaming what it prints.",
"session": "echo",
"actions": [
{
"entry": "watch",
"label": "Watch",
"description": "Subscribes to com.atproto.sync.subscribeRepos at a service, stops after limit messages or seconds.",
"fields": [
{
"key": "service",
"label": "Relay or PDS (https origin)"
},
{
"key": "limit",
"label": "Messages"
},
{
"key": "seconds",
"label": "Seconds"
}
]
},
{
"entry": "session",
"label": "iroh session",
"description": "Opens com.fedfork.exec.iroh.connect as a session: ssh command (or a raw alpn stream) output as it arrives.",
"fields": [
{
"key": "ticket",
"label": "iroh ticket"
},
{
"key": "command",
"label": "Command"
}
]
},
{
"entry": "connect",
"label": "iroh exec",
"description": "One com.fedfork.exec.iroh.connect call (ssh command with stdin, or a raw alpn exchange); returns its output.",
"fields": [
{
"key": "ticket",
"label": "iroh ticket"
},
{
"key": "command",
"label": "Command"
}
]
}
],
"calls": [
"com.atproto.repo.describeRepo",
"com.atproto.sync.subscribeRepos",
"com.fedfork.exec.iroh.connect"
],
"hooks": [
{ "nsid": "com.fedfork.exec.iroh.connect", "required": true, "entries": ["session", "connect"], "reason": "session and connect dial the guest over iroh: a host built without iroh refuses them at load" }
]
}