@pi-unipi/unipi 2.10.0 → 2.10.1
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/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/packages/ask-user/package.json +1 -1
- package/packages/autocomplete/package.json +1 -1
- package/packages/background-tasks/package.json +1 -1
- package/packages/btw/package.json +1 -1
- package/packages/compactor/package.json +1 -1
- package/packages/core/package.json +1 -1
- package/packages/footer/package.json +1 -1
- package/packages/image/package.json +1 -1
- package/packages/info-screen/package.json +1 -1
- package/packages/input-shortcuts/package.json +1 -1
- package/packages/kanboard/package.json +1 -1
- package/packages/mcp/package.json +1 -1
- package/packages/memory/package.json +1 -1
- package/packages/milestone/package.json +1 -1
- package/packages/notify/package.json +1 -1
- package/packages/ralph/package.json +1 -1
- package/packages/subagents/package.json +1 -1
- package/packages/trajectory/README.md +4 -0
- package/packages/trajectory/index.ts +22 -0
- package/packages/trajectory/package.json +1 -1
- package/packages/unipi/bundled.js +7523 -2386
- package/packages/updater/package.json +1 -1
- package/packages/utility/package.json +1 -1
- package/packages/web-api/package.json +1 -1
- package/packages/workflow/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [2.10.1] — 2026-08-25
|
|
10
|
+
|
|
11
|
+
Patch release: `/unipi:trajectory` now registers argument auto-completion so users discover its `stop`, `off`, and `toggle` options inline instead of having to read the docs.
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- `trajectory`: `/unipi:trajectory` registered its command with only a `description` and `handler`, so the TUI never offered argument completions and users had no way to learn that `stop`/`off`/`toggle` (or running it bare to open the server) existed. Added `getArgumentCompletions` to the registered command, returning `stop`, `off`, `toggle`, and a `(no argument)` hint that opens/reuses the server — matching the action set the handler already accepts.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- All `@pi-unipi/*` packages and the umbrella re-versioned to `2.10.1` so npm installs keep a single synchronized workspace set and avoid nested stale package copies.
|
|
20
|
+
|
|
9
21
|
## [2.10.0] — 2026-08-25
|
|
10
22
|
|
|
11
23
|
This release adds UniPi Trajectory, a localhost-only live inspector for the current Pi session, with durable redacted sidecar telemetry for exact request/tool timings and provider metadata.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/background-tasks",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.1",
|
|
4
4
|
"description": "Background tasks for UniPi — durable shell jobs, delegated agents, attested Pi runs, and fixed-purpose Fusion workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -11,6 +11,10 @@ Live, localhost-only UniPi trajectory inspector for the current Pi session.
|
|
|
11
11
|
/unipi:trajectory toggle # open when stopped, stop when running
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
+
Typing `/unipi:trajectory` followed by a space auto-completes the available
|
|
15
|
+
actions (`stop`, `off`, `toggle`), so the options are discoverable without
|
|
16
|
+
reading the docs. Running it with no argument opens or reuses the server.
|
|
17
|
+
|
|
14
18
|
The command starts or reuses an in-process server on `127.0.0.1:8176-8186` and opens it in the default browser. The page follows the active session every 500 ms. The server is owned by the current Pi process and is stopped on any Pi session shutdown/reload/resume/new/fork event.
|
|
15
19
|
|
|
16
20
|
## What it shows
|
|
@@ -18,6 +18,28 @@ export default function trajectory(pi: ExtensionAPI): void {
|
|
|
18
18
|
|
|
19
19
|
pi.registerCommand("unipi:trajectory", {
|
|
20
20
|
description: "Open or manage UniPi's live trajectory for the current session",
|
|
21
|
+
getArgumentCompletions: (argumentPrefix: string) => {
|
|
22
|
+
const prefix = argumentPrefix.trim().toLowerCase();
|
|
23
|
+
const actions = [
|
|
24
|
+
{ value: "stop", label: "stop", description: "Stop this session's trajectory server" },
|
|
25
|
+
{ value: "off", label: "off", description: "Alias of stop" },
|
|
26
|
+
{ value: "toggle", label: "toggle", description: "Open when stopped, stop when running" },
|
|
27
|
+
];
|
|
28
|
+
const matches = prefix
|
|
29
|
+
? actions.filter((a) => a.value.startsWith(prefix) || a.label.startsWith(prefix))
|
|
30
|
+
: actions;
|
|
31
|
+
// With no prefix (or a matching one) also surface a hint that running bare
|
|
32
|
+
// opens/reuses the server, so users learn the default behavior exists.
|
|
33
|
+
const items = matches.map((a) => ({ value: a.value, label: a.label, description: a.description }));
|
|
34
|
+
if (!prefix) {
|
|
35
|
+
items.unshift({
|
|
36
|
+
value: "",
|
|
37
|
+
label: "(no argument)",
|
|
38
|
+
description: "Open or reuse the trajectory server in the browser",
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
return items;
|
|
42
|
+
},
|
|
21
43
|
handler: async (args, ctx) => {
|
|
22
44
|
const action = String(args ?? "").trim().toLowerCase();
|
|
23
45
|
const wantsStop = ["stop", "off", "--stop", "--off"].includes(action);
|