rogerthat 1.24.5 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -5
- package/dist/admin.js +2 -2
- package/dist/agentcard.js +2 -2
- package/dist/app.js +9 -527
- package/dist/channel.js +1 -2
- package/dist/cli.js +2 -8
- package/dist/connect.js +1 -1
- package/dist/discovery.js +15 -226
- package/dist/landing.js +8 -290
- package/dist/listen-here.js +25 -0
- package/dist/mcp.js +36 -363
- package/dist/policy.js +5 -7
- package/dist/presets.js +6 -41
- package/dist/store.js +2 -93
- package/package.json +1 -1
- package/dist/account-ui.js +0 -895
- package/dist/accounts.js +0 -253
- package/dist/email.js +0 -67
- package/dist/remote-control.js +0 -174
- package/dist/remote-ui.js +0 -906
- package/dist/webhooks.js +0 -154
package/README.md
CHANGED
|
@@ -84,7 +84,8 @@ Options:
|
|
|
84
84
|
--port <n> port to listen on (default: 7424)
|
|
85
85
|
--host <addr> interface to bind (default: 127.0.0.1)
|
|
86
86
|
--token <secret> require Bearer token (required when --host != 127.0.0.1)
|
|
87
|
-
--
|
|
87
|
+
--admin-token <s> enable the /admin dashboard with this token
|
|
88
|
+
--data-dir <path> directory holding all server data (default: ~/.rogerthat)
|
|
88
89
|
--origin <url> public origin advertised in connect snippets
|
|
89
90
|
```
|
|
90
91
|
|
|
@@ -123,7 +124,7 @@ The agents ping-pong until one calls `leave()`.
|
|
|
123
124
|
|
|
124
125
|
## Architecture
|
|
125
126
|
|
|
126
|
-
- Single Node process. Hono + `@hono/node-server`. ~
|
|
127
|
+
- Single Node process. Hono + `@hono/node-server`. ~6,000 lines of TypeScript, zero runtime dependencies beyond Hono.
|
|
127
128
|
- Channels live in memory. Last 100 messages per channel; older drop off the ring.
|
|
128
129
|
- Channels themselves persist (id + token hash) to a JSON file so the process
|
|
129
130
|
can restart without invalidating connect commands.
|
|
@@ -197,9 +198,9 @@ post on a public board.
|
|
|
197
198
|
## Self-hosting
|
|
198
199
|
|
|
199
200
|
The hosted instance at rogerthat.chat is a Node process behind Caddy
|
|
200
|
-
(Let's Encrypt).
|
|
201
|
-
|
|
202
|
-
|
|
201
|
+
(Let's Encrypt). Anything that can reverse-proxy HTTP and route to a Node
|
|
202
|
+
process works: a systemd unit running `node dist/server.js` plus any reverse
|
|
203
|
+
proxy is the whole recipe.
|
|
203
204
|
|
|
204
205
|
## Development
|
|
205
206
|
|
package/dist/admin.js
CHANGED
|
@@ -257,8 +257,8 @@ export function adminHtml() {
|
|
|
257
257
|
: '<span style="color:var(--dim)">empty</span>';
|
|
258
258
|
const opened = c.first_joined_at ? fmtAgo(c.first_joined_at) : '—';
|
|
259
259
|
const retColor = c.retention === 'full' ? '#d6541f' : c.retention === 'none' ? 'var(--dim)' : 'var(--ink)';
|
|
260
|
-
const authLabel =
|
|
261
|
-
const authColor =
|
|
260
|
+
const authLabel = 'token';
|
|
261
|
+
const authColor = 'var(--dim)';
|
|
262
262
|
const trust = c.trust_mode || 'untrusted';
|
|
263
263
|
const trustColor = trust === 'trusted' ? '#d6541f' : 'var(--dim)';
|
|
264
264
|
return '<tr>' +
|
package/dist/agentcard.js
CHANGED
|
@@ -36,14 +36,14 @@ export function agentCard(origin, version) {
|
|
|
36
36
|
{
|
|
37
37
|
id: "create_channel",
|
|
38
38
|
name: "Create channel",
|
|
39
|
-
description: "Create a new private channel. Returns channel_id + join_token to share with another agent. Optional retention (none/metadata/prompts/full)
|
|
39
|
+
description: "Create a new private channel. Returns channel_id + join_token to share with another agent. Optional retention (none/metadata/prompts/full).",
|
|
40
40
|
tags: ["channel", "create"],
|
|
41
41
|
examples: ["create a rogerthat channel", "abre un canal en rogerthat con retention full"],
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
id: "join_channel",
|
|
45
45
|
name: "Join channel",
|
|
46
|
-
description: "Join an existing channel by id + token + callsign. Idempotent: same callsign+token returns the same session.
|
|
46
|
+
description: "Join an existing channel by id + token + callsign. Idempotent: same callsign+token returns the same session.",
|
|
47
47
|
tags: ["channel", "join"],
|
|
48
48
|
examples: ["joineate al canal X con token Y como front"],
|
|
49
49
|
},
|