pi-post 0.5.0 → 0.6.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 +1 -1
- package/extensions/pi-post.ts +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -83,7 +83,7 @@ Nothing to enable; every session registers itself on startup.
|
|
|
83
83
|
| `send_message` (tool) | Send text to one or more sessions (name, path, address, or session id); reports **delivered** or **queued** per target |
|
|
84
84
|
| `list_sessions` (tool) | Known sessions, live first with ages, queued mail counts, resume handles; stale offline rows collapse unless `all` |
|
|
85
85
|
| `/inbox` | Peek at this session's queued messages without consuming them |
|
|
86
|
-
| `/
|
|
86
|
+
| `/sessions` | The `list_sessions` listing, without spending a model turn |
|
|
87
87
|
| `pi-post send` (CLI) | Send from any process: `--to` (repeatable), `--body`/stdin, `--from`, `--reply-to` |
|
|
88
88
|
| `pi-post resolve <handle>` (CLI) | One session's full record: name, address, session id, presence, cwd, resume command |
|
|
89
89
|
| `pi-post list [--all]` / `peek` / `whoami` (CLI) | Inspect the registry, a mailbox, or your own address |
|
package/extensions/pi-post.ts
CHANGED
|
@@ -231,12 +231,12 @@ export default function (pi: ExtensionAPI) {
|
|
|
231
231
|
},
|
|
232
232
|
});
|
|
233
233
|
|
|
234
|
-
pi.registerCommand("
|
|
235
|
-
description: "List pi sessions reachable by message, without spending a model turn (`/
|
|
234
|
+
pi.registerCommand("sessions", {
|
|
235
|
+
description: "List pi sessions reachable by message, without spending a model turn (`/sessions all` includes stale offline sessions)",
|
|
236
236
|
handler: async (args, ctx) => {
|
|
237
237
|
const all = typeof args === "string" && args.trim() === "all";
|
|
238
238
|
ctx.ui.notify(
|
|
239
|
-
formatListing(root, listRecords(root), selfAddress, { all, allHint: "/
|
|
239
|
+
formatListing(root, listRecords(root), selfAddress, { all, allHint: "/sessions all" }),
|
|
240
240
|
"info",
|
|
241
241
|
);
|
|
242
242
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-post",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Messages between pi sessions — delivered mid-task or queued until they return. Briefs, findings, and handoffs straight into the receiving agent's context.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|