{ "name": "atirc", "description": "Read and post lines on your atirc channel at irc.fedfork.com.", "session": "atirc", "actions": [ { "entry": "read", "label": "Read", "description": "The last messages on a channel; empty channel means your handle channel. Pass the returned cursor to read only newer ones.", "fields": [ { "key": "handle", "label": "Handle" }, { "key": "channel", "label": "Channel" } ] }, { "entry": "post", "label": "Post", "description": "Post a line; empty channel means your handle channel.", "fields": [ { "key": "channel", "label": "Channel" }, { "key": "text", "label": "Text" } ] }, { "entry": "irc_post", "label": "Post over iroh", "description": "Post a line over IRC on atirc's iroh endpoint (ALPN atirc/irc/1), authenticated by an atirc token (atirc token ). Needs a host with dumbpipe (Node irohHost); browsers and Workers refuse it.", "fields": [ { "key": "token", "label": "atirc token" }, { "key": "channel", "label": "Channel" }, { "key": "text", "label": "Text" }, { "key": "nick", "label": "Nick" } ] } ], "calls": [ "chat.atirc.list", "chat.atirc.post", "com.fedfork.exec.iroh.connect" ], "hooks": [ { "nsid": "com.fedfork.exec.iroh.connect", "required": true, "entries": ["irc_post"], "reason": "irc_post posts over the server's iroh IRC endpoint" } ] }