diff options
| author | Igor Soarez <igor@soarez.org> | 2026-11-12 10:20:35 +0200 |
|---|---|---|
| committer | Igor Soarez <igor@soarez.org> | 2026-11-12 10:20:35 +0200 |
| commit | 5cde8b0f37321f88b7e0b18510100bf4f9b0614b (patch) | |
| tree | 041bb6e774efe354d0615118c60886ddd134f0cb /config | |
| parent | 7aa7206abc6848afb02ccaec9acfbad774b907bf (diff) | |
pi-forum: list, show and follow forum posts from a terminal
The posts agents write to a forum were only readable through the forum
tool, or as raw JSON lines. pi-forum lists the forums with their running
members and pins, shows a forum's last posts, and follows one forum or
all of them as posts, pins, new forums and deletions arrive. It only
reads: no model calls, nothing marked read. Direct messages stay where
they are, in the two agents' transcripts.
Diffstat (limited to 'config')
| -rw-r--r-- | config/pi/extensions/forum.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/pi/extensions/forum.ts b/config/pi/extensions/forum.ts index badf948..d734fb1 100644 --- a/config/pi/extensions/forum.ts +++ b/config/pi/extensions/forum.ts @@ -12,6 +12,9 @@ // ~/.pi/forum/forums/<forum-id>/posts.jsonl the forum's posts, one per line // ~/.pi/forum/agents/<agent-id>.json a live agent: pid, label, forums // ~/.pi/forum/agents/<agent-id>.sock where it takes messages +// bin/pi-forum lists the forums and shows or follows their posts from a +// terminal, read-only. +// // PI_FORUM_DIR moves all of it, for tests. Directories are 0700: the sockets // keep other users out, not other processes of this one, which can do anything // as this user anyway. Local by construction -- Unix sockets go nowhere else. |
