@pi-unipi/unipi 3.0.0-alpha.10 → 3.0.0-alpha.11
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 +10 -0
- package/README.md +2 -2
- package/package.json +21 -22
- package/packages/ask-user/package.json +2 -2
- package/packages/autocomplete/package.json +1 -1
- package/packages/background-tasks/package.json +2 -2
- package/packages/btw/package.json +2 -2
- package/packages/compactor/package.json +3 -3
- package/packages/core/package.json +1 -1
- package/packages/footer/package.json +3 -3
- package/packages/fusion/package.json +3 -3
- package/packages/info-screen/package.json +2 -2
- package/packages/input-shortcuts/package.json +2 -2
- package/packages/kanboard/package.json +7 -7
- package/packages/long-horizon/package.json +2 -2
- package/packages/mcp/package.json +2 -2
- package/packages/memory/package.json +3 -3
- package/packages/notify/package.json +2 -2
- package/packages/skill-registry/README.md +8 -10
- package/packages/skill-registry/index.ts +6 -6
- package/packages/skill-registry/package.json +2 -7
- package/packages/skill-registry/src/editor.ts +9 -11
- package/packages/skill-registry/src/judge.ts +11 -15
- package/packages/skill-registry/src/registry.ts +4 -15
- package/packages/skill-registry/src/settings.ts +13 -12
- package/packages/subagents/package.json +2 -2
- package/packages/unipi/bundled.js +18 -31
- package/packages/updater/package.json +2 -2
- package/packages/utility/package.json +2 -2
- package/packages/watchdog/package.json +3 -3
- package/packages/web-api/package.json +2 -2
- package/packages/workflow/index.ts +0 -2
- package/packages/workflow/package.json +2 -2
- package/packages/skill-registry/skills/auto/SKILL.md +0 -465
- package/packages/skill-registry/skills/brainstorm/SKILL.md +0 -222
- package/packages/skill-registry/skills/chore-create/SKILL.md +0 -315
- package/packages/skill-registry/skills/chore-execute/SKILL.md +0 -314
- package/packages/skill-registry/skills/consolidate/SKILL.md +0 -142
- package/packages/skill-registry/skills/consultant/SKILL.md +0 -97
- package/packages/skill-registry/skills/debug/SKILL.md +0 -228
- package/packages/skill-registry/skills/document/SKILL.md +0 -120
- package/packages/skill-registry/skills/fix/SKILL.md +0 -212
- package/packages/skill-registry/skills/gather-context/SKILL.md +0 -147
- package/packages/skill-registry/skills/plan/SKILL.md +0 -234
- package/packages/skill-registry/skills/quick-fix/SKILL.md +0 -135
- package/packages/skill-registry/skills/quick-work/SKILL.md +0 -110
- package/packages/skill-registry/skills/research/SKILL.md +0 -251
- package/packages/skill-registry/skills/review-work/SKILL.md +0 -190
- package/packages/skill-registry/skills/scan-issues/SKILL.md +0 -195
- package/packages/skill-registry/skills/work/SKILL.md +0 -221
- package/packages/skill-registry/skills/worktree-create/SKILL.md +0 -69
- package/packages/skill-registry/skills/worktree-list/SKILL.md +0 -78
- package/packages/skill-registry/skills/worktree-merge/SKILL.md +0 -89
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [3.0.0-alpha.11] — 2026-09-29
|
|
10
|
+
|
|
11
|
+
### Removed
|
|
12
|
+
- `skill-registry`: the ~20 bundled workflow skills (`brainstorm`, `plan`, `work`, `debug`, `quick-fix`, `worktree-*`, …) are deleted and no longer ship — the package is now registry/exposure only (`isWorkflowSkill` and the generic-skill cap are gone with them).
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- `skill-registry`: skill exposure `threshold` default 0.3 → 0.8, and the later-prompt reveal now uses the same threshold (was hard-floored at 0.6) — one number governs the first-prompt keep and later reveals.
|
|
16
|
+
- `skill-registry`: skill-name pinning ignores pi's `[Image #N]` placeholders, so attached images no longer pin a skill named `image` (a plain "generate an image" still does).
|
|
17
|
+
- `skill-registry`: skill states reduced to **Enabled + Must show** — the "discoverable" (unlisted) middle state is gone. Off still removes a skill from the session entirely (not listed, never revealed, `/skill:name` blocked); must show implies enabled and is always listed. Stored `discoverable: false` states and the legacy `"unlisted"` value migrate to off on read (a `mustShow: true` wins). The Skill settings… grid now has two columns, E and M.
|
|
18
|
+
|
|
9
19
|
## [3.0.0-alpha.10] — 2026-09-29
|
|
10
20
|
|
|
11
21
|
### Changed
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ pi install npm:@pi-unipi/unipi
|
|
|
15
15
|
|
|
16
16
|
## What You Get
|
|
17
17
|
|
|
18
|
-
**[Workflow](./packages/workflow/README.md)** — **plan mode** (`/unipi:plan`, `Alt+P`) and **permission modes** (`ask` · `auto` · `full`). Plan mode makes a session read-only except for its plan file; auto mode lets jev judge ambiguous bash before it runs.
|
|
18
|
+
**[Workflow](./packages/workflow/README.md)** — **plan mode** (`/unipi:plan`, `Alt+P`) and **permission modes** (`ask` · `auto` · `full`). Plan mode makes a session read-only except for its plan file; auto mode lets jev judge ambiguous bash before it runs.
|
|
19
19
|
|
|
20
20
|
**[Long-Horizon](./packages/long-horizon/)** — Mode-gated long-horizon execution: `/goal` (one objective until verifiably true, propose+verify), `/ralph` (task-file iteration loops), `/swarm` (independent fan-out + synthesis), `/graph` (dependent multi-step work). A TypeSafe jev prompt judge routes each turn; one automation owner per session with park/resume; runaway-guard steering; token/turn/stall budgets.
|
|
21
21
|
|
|
@@ -138,7 +138,7 @@ unipi/
|
|
|
138
138
|
├── packages/
|
|
139
139
|
│ ├── core/ # Shared constants, events, utilities
|
|
140
140
|
│ ├── workflow/ # plan mode + permission modes
|
|
141
|
-
│ ├── skill-registry/ #
|
|
141
|
+
│ ├── skill-registry/ # per-project skill on/off + jev-judged exposure
|
|
142
142
|
│ ├── long-horizon/ # /goal /ralph /swarm /graph mode-gated execution
|
|
143
143
|
│ ├── memory/ # SQLite + vector search
|
|
144
144
|
│ ├── compactor/ # Context engine
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/unipi",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "All-in-one extension suite for Pi coding agent",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
"packages/unipi/bundled.js"
|
|
61
61
|
],
|
|
62
62
|
"skills": [
|
|
63
|
-
"packages/skill-registry/skills",
|
|
64
63
|
"packages/memory/skills",
|
|
65
64
|
"packages/btw/skills",
|
|
66
65
|
"packages/ask-user/skills",
|
|
@@ -83,26 +82,26 @@
|
|
|
83
82
|
"typebox": "^1.1.38"
|
|
84
83
|
},
|
|
85
84
|
"dependencies": {
|
|
86
|
-
"@pi-unipi/ask-user": "3.0.0-alpha.
|
|
87
|
-
"@pi-unipi/background-tasks": "3.0.0-alpha.
|
|
88
|
-
"@pi-unipi/btw": "3.0.0-alpha.
|
|
89
|
-
"@pi-unipi/command-enchantment": "3.0.0-alpha.
|
|
90
|
-
"@pi-unipi/compactor": "3.0.0-alpha.
|
|
91
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
92
|
-
"@pi-unipi/footer": "3.0.0-alpha.
|
|
93
|
-
"@pi-unipi/fusion": "3.0.0-alpha.
|
|
94
|
-
"@pi-unipi/info-screen": "3.0.0-alpha.
|
|
95
|
-
"@pi-unipi/input-shortcuts": "3.0.0-alpha.
|
|
96
|
-
"@pi-unipi/kanboard": "3.0.0-alpha.
|
|
97
|
-
"@pi-unipi/mcp": "3.0.0-alpha.
|
|
98
|
-
"@pi-unipi/memory": "3.0.0-alpha.
|
|
99
|
-
"@pi-unipi/notify": "3.0.0-alpha.
|
|
100
|
-
"@pi-unipi/skill-registry": "3.0.0-alpha.
|
|
101
|
-
"@pi-unipi/subagents": "3.0.0-alpha.
|
|
102
|
-
"@pi-unipi/updater": "3.0.0-alpha.
|
|
103
|
-
"@pi-unipi/utility": "3.0.0-alpha.
|
|
104
|
-
"@pi-unipi/web-api": "3.0.0-alpha.
|
|
105
|
-
"@pi-unipi/workflow": "3.0.0-alpha.
|
|
85
|
+
"@pi-unipi/ask-user": "3.0.0-alpha.11",
|
|
86
|
+
"@pi-unipi/background-tasks": "3.0.0-alpha.11",
|
|
87
|
+
"@pi-unipi/btw": "3.0.0-alpha.11",
|
|
88
|
+
"@pi-unipi/command-enchantment": "3.0.0-alpha.11",
|
|
89
|
+
"@pi-unipi/compactor": "3.0.0-alpha.11",
|
|
90
|
+
"@pi-unipi/core": "3.0.0-alpha.11",
|
|
91
|
+
"@pi-unipi/footer": "3.0.0-alpha.11",
|
|
92
|
+
"@pi-unipi/fusion": "3.0.0-alpha.11",
|
|
93
|
+
"@pi-unipi/info-screen": "3.0.0-alpha.11",
|
|
94
|
+
"@pi-unipi/input-shortcuts": "3.0.0-alpha.11",
|
|
95
|
+
"@pi-unipi/kanboard": "3.0.0-alpha.11",
|
|
96
|
+
"@pi-unipi/mcp": "3.0.0-alpha.11",
|
|
97
|
+
"@pi-unipi/memory": "3.0.0-alpha.11",
|
|
98
|
+
"@pi-unipi/notify": "3.0.0-alpha.11",
|
|
99
|
+
"@pi-unipi/skill-registry": "3.0.0-alpha.11",
|
|
100
|
+
"@pi-unipi/subagents": "3.0.0-alpha.11",
|
|
101
|
+
"@pi-unipi/updater": "3.0.0-alpha.11",
|
|
102
|
+
"@pi-unipi/utility": "3.0.0-alpha.11",
|
|
103
|
+
"@pi-unipi/web-api": "3.0.0-alpha.11",
|
|
104
|
+
"@pi-unipi/workflow": "3.0.0-alpha.11"
|
|
106
105
|
},
|
|
107
106
|
"devDependencies": {
|
|
108
107
|
"@earendil-works/pi-agent-core": "^0.87.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/ask-user",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "Structured user input tool for Pi coding agent — single-select, multi-select, freeform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
43
|
+
"@pi-unipi/core": "3.0.0-alpha.11"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@earendil-works/pi-coding-agent": "^0.87.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/background-tasks",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "Background tasks for UniPi — durable shell jobs and delegated background agents with a footer dock",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@earendil-works/pi-ai": "^0.87.1",
|
|
13
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
13
|
+
"@pi-unipi/core": "3.0.0-alpha.11",
|
|
14
14
|
"turndown": "^7.2.4"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/btw",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "A pi extension for parallel side conversations with /unipi:btw — part of the Unipi suite",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "extensions/btw.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@earendil-works/pi-tui": "^0.87.1"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
40
|
+
"@pi-unipi/core": "3.0.0-alpha.11"
|
|
41
41
|
},
|
|
42
42
|
"pi": {
|
|
43
43
|
"extensions": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/compactor",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "Compaction for Pi — lossless zero-LLM or model summaries, rebuilt from full history, with session recall",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
37
|
-
"@pi-unipi/info-screen": "3.0.0-alpha.
|
|
36
|
+
"@pi-unipi/core": "3.0.0-alpha.11",
|
|
37
|
+
"@pi-unipi/info-screen": "3.0.0-alpha.11",
|
|
38
38
|
"@earendil-works/pi-agent-core": "^0.87.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/footer",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "Persistent status bar for Unipi — subscribes to UNIPI_EVENTS and renders key stats from all unipi packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
36
|
-
"@pi-unipi/background-tasks": "3.0.0-alpha.
|
|
35
|
+
"@pi-unipi/core": "3.0.0-alpha.11",
|
|
36
|
+
"@pi-unipi/background-tasks": "3.0.0-alpha.11"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@earendil-works/pi-coding-agent": "^0.87.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/fusion",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "Devin-style model picker, fusion presets (lead + sidekick), and Local Fusion runtime for UniPi",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
36
|
-
"@pi-unipi/subagents": "3.0.0-alpha.
|
|
35
|
+
"@pi-unipi/core": "3.0.0-alpha.11",
|
|
36
|
+
"@pi-unipi/subagents": "3.0.0-alpha.11"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@earendil-works/pi-ai": "^0.87.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/info-screen",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "Dashboard and module registry for Unipi — configurable info overlay with tabbed groups",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
35
|
+
"@pi-unipi/core": "3.0.0-alpha.11"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@earendil-works/pi-coding-agent": "^0.87.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/input-shortcuts",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "Keyboard shortcuts for stash/restore, undo/redo, clipboard, and thinking toggle — chord-based overlay system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
36
|
+
"@pi-unipi/core": "3.0.0-alpha.11"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@earendil-works/pi-coding-agent": "^0.87.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/kanboard",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "Kanboard v3 — deferred-work board: CLI/daemon bridge, task runner and skill",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
34
|
+
"@pi-unipi/core": "3.0.0-alpha.11"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@earendil-works/pi-coding-agent": "^0.87.1",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"themes": []
|
|
49
49
|
},
|
|
50
50
|
"optionalDependencies": {
|
|
51
|
-
"@pi-unipi/kanboard-linux-x64": "3.0.0-alpha.
|
|
52
|
-
"@pi-unipi/kanboard-linux-arm64": "3.0.0-alpha.
|
|
53
|
-
"@pi-unipi/kanboard-darwin-x64": "3.0.0-alpha.
|
|
54
|
-
"@pi-unipi/kanboard-darwin-arm64": "3.0.0-alpha.
|
|
55
|
-
"@pi-unipi/kanboard-win32-x64": "3.0.0-alpha.
|
|
51
|
+
"@pi-unipi/kanboard-linux-x64": "3.0.0-alpha.11",
|
|
52
|
+
"@pi-unipi/kanboard-linux-arm64": "3.0.0-alpha.11",
|
|
53
|
+
"@pi-unipi/kanboard-darwin-x64": "3.0.0-alpha.11",
|
|
54
|
+
"@pi-unipi/kanboard-darwin-arm64": "3.0.0-alpha.11",
|
|
55
|
+
"@pi-unipi/kanboard-win32-x64": "3.0.0-alpha.11"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/long-horizon",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "Long-horizon execution for Pi — mode-gated /goal /ralph /swarm /graph orchestration with a TypeSafe prompt judge",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
40
|
+
"@pi-unipi/core": "3.0.0-alpha.11"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@earendil-works/pi-coding-agent": "^0.87.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/mcp",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "MCP server management extension for Pi coding agent — browse, add, configure, and use MCP servers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"test": "npx tsx --test tests/**/*.test.ts"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
33
|
+
"@pi-unipi/core": "3.0.0-alpha.11"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@earendil-works/pi-coding-agent": "^0.87.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/memory",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "Persistent cross-session memory on MemPalace (auto-installed): daemon-routed writes, shared palace with other agents, for Pi coding agent",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"README.md"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
46
|
-
"@pi-unipi/info-screen": "3.0.0-alpha.
|
|
45
|
+
"@pi-unipi/core": "3.0.0-alpha.11",
|
|
46
|
+
"@pi-unipi/info-screen": "3.0.0-alpha.11",
|
|
47
47
|
"js-yaml": "^4.1.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/notify",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "Cross-platform notification extension for Pi — native OS, Gotify, and Telegram notifications for agent lifecycle events",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
37
|
+
"@pi-unipi/core": "3.0.0-alpha.11",
|
|
38
38
|
"node-notifier": "^10.0.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @pi-unipi/skill-registry
|
|
2
2
|
|
|
3
|
-
Decides which skills the agent sees: per-project on/off, a vault of extra skills, and jev-judged exposure.
|
|
3
|
+
Decides which skills the agent sees: per-project on/off, a vault of extra skills, and jev-judged exposure.
|
|
4
4
|
|
|
5
5
|
## Commands
|
|
6
6
|
|
|
@@ -14,12 +14,11 @@ Decides which skills the agent sees: per-project on/off, a vault of extra skills
|
|
|
14
14
|
|
|
15
15
|
```
|
|
16
16
|
Skill settings · 42 skills · editing global · proxy on
|
|
17
|
-
E
|
|
18
|
-
› [x] [
|
|
19
|
-
[ ] [
|
|
17
|
+
E M skill source description
|
|
18
|
+
› [x] [ ] api-contract user Check REST/JSON API changes ...
|
|
19
|
+
[ ] [ ] aws-deploy vault Deploy services to AWS with ...
|
|
20
20
|
|
|
21
|
-
E enabled —
|
|
22
|
-
D discoverable — listed in the system prompt
|
|
21
|
+
E enabled — the model sees it (judged first when exposure is on); off removes it and blocks /skill:name
|
|
23
22
|
M must show — always listed, even when judging would hide it
|
|
24
23
|
bright = set in global · dim = inherited
|
|
25
24
|
```
|
|
@@ -27,7 +26,7 @@ bright = set in global · dim = inherited
|
|
|
27
26
|
| Key | Action |
|
|
28
27
|
|-----|--------|
|
|
29
28
|
| `↑` `↓` | Move between skills (PgUp/PgDn page) |
|
|
30
|
-
| `←` `→` | Move between the E /
|
|
29
|
+
| `←` `→` | Move between the E / M columns |
|
|
31
30
|
| `space` | Toggle the cell |
|
|
32
31
|
| `d` | Clear the cell in the edited scope (inherit again) |
|
|
33
32
|
| `g` | Edit the global or the project scope |
|
|
@@ -35,14 +34,13 @@ bright = set in global · dim = inherited
|
|
|
35
34
|
| type | Filter by name, source or description (Esc clears) |
|
|
36
35
|
| `enter` / `esc` | Save / cancel |
|
|
37
36
|
|
|
38
|
-
Cells show the effective value: project over global over the default (vault skills off, everything else on
|
|
37
|
+
Cells show the effective value: project over global over the default (vault skills off, everything else on). Only the cells you changed are written, each option on its own, so a project can override just one.
|
|
39
38
|
|
|
40
39
|
## Skill proxy
|
|
41
40
|
|
|
42
41
|
Off by default. While off, pi's skills pass through untouched (exposure judging still applies), vault skills stay hidden, and your choices are saved but not applied. Turn it on and:
|
|
43
42
|
|
|
44
43
|
- Skills turned **off** are removed from the session, including `/skill:name`.
|
|
45
|
-
- **Unlisted** skills are left out of the system prompt but still run with `/skill:name`.
|
|
46
44
|
- The **vault**, `~/.unipi/skill-vault/`, takes part. Keep as many skills there as you like; they stay off until a scope turns them on, so a project only gets the ones it needs. Changes apply on the next prompt, no reload needed. Any folder with a `SKILL.md`, up to three levels deep (`vault/<skill>/` or `vault/<pack>/<skill>/`).
|
|
47
45
|
|
|
48
46
|
## Exposure
|
|
@@ -51,7 +49,7 @@ Settings → Skills → Exposure:
|
|
|
51
49
|
|
|
52
50
|
- **judged** (default) — when more skills are available than *Max skills listed* (12), the first real request of the session picks the listed set, and it stays fixed for the session so the system prompt never changes (prefix cache intact). Greetings don't count.
|
|
53
51
|
1. **Named skills are always kept.** A skill whose name appears in the request (`agent-browser`, "grill me") or a word only its name contains ("ssh into **coffee**" → `coffee-sandbox`) is listed without asking a model.
|
|
54
|
-
2. **jev scores the rest** against the request; those above the threshold are listed best first,
|
|
52
|
+
2. **jev scores the rest** against the request; those above the threshold are listed best first, up to *Max skills listed* in total.
|
|
55
53
|
3. **Hidden skills are still named.** The system prompt gets a short section listing every hidden skill by folder, so the agent knows it exists and can read its `SKILL.md`.
|
|
56
54
|
4. **Later requests** that name a hidden skill (or, with *recheck*, that jev finds it relevant to) get a message pointing at it. The system prompt itself never changes.
|
|
57
55
|
- **all** — every skill is listed.
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* @pi-unipi/skill-registry — Extension entry
|
|
3
3
|
*
|
|
4
4
|
* Per turn (before_agent_start), on pi's discovered skills:
|
|
5
|
-
* 1. registry (proxy on): drop skills turned off
|
|
6
|
-
*
|
|
7
|
-
* a scope turns a skill on.
|
|
5
|
+
* 1. registry (proxy on): drop skills turned off — removed from the session,
|
|
6
|
+
* /skill:name included; the vault is mounted via resources_discover and
|
|
7
|
+
* stays off until a scope turns a skill on.
|
|
8
8
|
* 2. exposure: off (bundled stripped) | all | judged (see src/judge.ts).
|
|
9
9
|
* Plus /unipi:skills (the hub opened on Skills), the "Skill settings…" overlay
|
|
10
|
-
* (per-skill Enabled /
|
|
10
|
+
* (per-skill Enabled / Must show, src/editor.ts), and the
|
|
11
11
|
* reveal event kanboard uses to surface a skill mid-session.
|
|
12
12
|
*/
|
|
13
13
|
|
|
@@ -71,7 +71,7 @@ export default function skillRegistry(pi: ExtensionAPI) {
|
|
|
71
71
|
if (state) state.judged = false;
|
|
72
72
|
};
|
|
73
73
|
|
|
74
|
-
/** "Skill settings…" — the per-skill E/
|
|
74
|
+
/** "Skill settings…" — the per-skill E/M overlay. */
|
|
75
75
|
const openEditor = async (ctx: ExtensionContext) => {
|
|
76
76
|
if (!ctx.hasUI) return;
|
|
77
77
|
const cwd = ctx.cwd ?? process.cwd();
|
|
@@ -106,7 +106,7 @@ export default function skillRegistry(pi: ExtensionAPI) {
|
|
|
106
106
|
registerCommandRunner("unipi:skills-editor", async (raw: unknown) => openEditor(raw as ExtensionContext));
|
|
107
107
|
|
|
108
108
|
pi.registerCommand("unipi:skills", {
|
|
109
|
-
description: "Skill settings — proxy, exposure, and per-skill Enabled /
|
|
109
|
+
description: "Skill settings — proxy, exposure, and per-skill Enabled / Must show (opens /unipi:settings on Skills)",
|
|
110
110
|
handler: async (_args, ctx) => {
|
|
111
111
|
await openSettingsHub(ctx, {
|
|
112
112
|
filter: "skills",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/skill-registry",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "Skill registry for pi — per-project skill on/off, a skill vault, and jev-judged skill exposure",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,14 +12,12 @@
|
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"pi-package",
|
|
15
|
-
"pi-skills",
|
|
16
15
|
"unipi",
|
|
17
16
|
"skill-registry"
|
|
18
17
|
],
|
|
19
18
|
"files": [
|
|
20
19
|
"index.ts",
|
|
21
20
|
"src/**/*.ts",
|
|
22
|
-
"skills/**/*",
|
|
23
21
|
"README.md",
|
|
24
22
|
"!src/**/*.test.ts"
|
|
25
23
|
],
|
|
@@ -30,15 +28,12 @@
|
|
|
30
28
|
"extensions": [
|
|
31
29
|
"./index.ts"
|
|
32
30
|
],
|
|
33
|
-
"skills": [
|
|
34
|
-
"./skills"
|
|
35
|
-
],
|
|
36
31
|
"prompts": [],
|
|
37
32
|
"themes": []
|
|
38
33
|
},
|
|
39
34
|
"main": "index.ts",
|
|
40
35
|
"dependencies": {
|
|
41
|
-
"@pi-unipi/core": "3.0.0-alpha.
|
|
36
|
+
"@pi-unipi/core": "3.0.0-alpha.11"
|
|
42
37
|
},
|
|
43
38
|
"peerDependencies": {
|
|
44
39
|
"@earendil-works/pi-coding-agent": "^0.87.1",
|
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
* Skill settings · 47 skills · editing project · proxy on
|
|
5
5
|
* Search: (type to filter)
|
|
6
6
|
* ────────────────────────────────────────────────────────────
|
|
7
|
-
* E
|
|
8
|
-
* › [x] [
|
|
9
|
-
* [ ] [
|
|
7
|
+
* E M skill source
|
|
8
|
+
* › [x] [ ] sql-review user Review SQL migrations…
|
|
9
|
+
* [ ] [ ] aws-deploy vault Deploy services to AWS…
|
|
10
10
|
*
|
|
11
|
-
* E enabled —
|
|
12
|
-
* D discoverable — listed in the system prompt
|
|
11
|
+
* E enabled — the model sees it (judged first when exposure is on); off removes it and blocks /skill:name
|
|
13
12
|
* M must show — always listed, even when judging would hide it
|
|
14
13
|
* ↑↓ skill · ←→ column · space toggle · d inherit · g scope · p proxy · enter save · esc cancel · type to filter
|
|
15
14
|
*
|
|
@@ -22,9 +21,9 @@ import { frameOverlay } from "@pi-unipi/core";
|
|
|
22
21
|
import type { SkillSource } from "./registry.js";
|
|
23
22
|
import type { SkillState } from "./settings.js";
|
|
24
23
|
|
|
25
|
-
export type Column = "enabled" | "
|
|
26
|
-
export const COLUMNS: readonly Column[] = ["enabled", "
|
|
27
|
-
const LETTER: Record<Column, string> = { enabled: "E",
|
|
24
|
+
export type Column = "enabled" | "mustShow";
|
|
25
|
+
export const COLUMNS: readonly Column[] = ["enabled", "mustShow"];
|
|
26
|
+
const LETTER: Record<Column, string> = { enabled: "E", mustShow: "M" };
|
|
28
27
|
|
|
29
28
|
export interface EditorSkill {
|
|
30
29
|
name: string;
|
|
@@ -55,7 +54,7 @@ export interface EditorOptions {
|
|
|
55
54
|
|
|
56
55
|
function defaultFor(column: Column, source: SkillSource): boolean {
|
|
57
56
|
if (column === "enabled") return source !== "vault";
|
|
58
|
-
return
|
|
57
|
+
return false;
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
/** Effective value of one cell: project over global over the source default. */
|
|
@@ -193,8 +192,7 @@ export class SkillEditor {
|
|
|
193
192
|
|
|
194
193
|
lines.push("");
|
|
195
194
|
const legend: Array<[Column, string]> = [
|
|
196
|
-
["enabled", "enabled —
|
|
197
|
-
["discoverable", "discoverable — listed in the system prompt"],
|
|
195
|
+
["enabled", "enabled — the model sees it (judged first when exposure is on); off removes it and blocks /skill:name"],
|
|
198
196
|
["mustShow", "must show — always listed, even when judging would hide it"],
|
|
199
197
|
];
|
|
200
198
|
for (const [c, text] of legend) {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* 1. Pins — a skill whose name, or a distinctive word of it, appears in the
|
|
11
11
|
* prompt is always kept. No model needed ("ssh into coffee" → coffee-sandbox).
|
|
12
12
|
* 2. jev scores every remaining skill against the prompt; ≥ threshold stay,
|
|
13
|
-
* best first, at most
|
|
13
|
+
* best first, at most maxSkills in total.
|
|
14
14
|
* 3. Everything else is hidden — but NAMED in a static "other installed
|
|
15
15
|
* skills" section with where each lives, so the model knows it exists.
|
|
16
16
|
* Later prompts: pinned or (with recheck) jev-relevant hidden skills are
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
import { basename, dirname } from "node:path";
|
|
21
21
|
import { homedir } from "node:os";
|
|
22
22
|
import { askJev, isChatter, resolveDecisionModel, type JevAnswer } from "@pi-unipi/core";
|
|
23
|
-
import {
|
|
23
|
+
import { skillDir, type CatalogSkill } from "./registry.js";
|
|
24
24
|
import type { ExposureSettings } from "./settings.js";
|
|
25
25
|
|
|
26
26
|
/** Session-persisted entry types (pi.appendEntry custom entries). */
|
|
@@ -28,8 +28,6 @@ export const SKILLS_JUDGED_ENTRY = "unipi:skills-judged";
|
|
|
28
28
|
export const SKILLS_REVEALED_ENTRY = "unipi:skills-revealed";
|
|
29
29
|
/** System-prompt section naming the hidden skills. */
|
|
30
30
|
export const HIDDEN_SECTION = "unipi-skills-hidden";
|
|
31
|
-
/** At most this many generic workflow skills (brainstorm, work, …) by score. */
|
|
32
|
-
export const GENERIC_CAP = 4;
|
|
33
31
|
/** At most this many skills announced per later prompt. */
|
|
34
32
|
export const REVEAL_CAP = 5;
|
|
35
33
|
|
|
@@ -67,8 +65,11 @@ export function nameTokens(name: string): string[] {
|
|
|
67
65
|
* name, not a common word ("coffee" → coffee-sandbox, "kanboard").
|
|
68
66
|
*/
|
|
69
67
|
export function pinnedSkills(entries: readonly Entry[], prompt: string): Set<string> {
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
// pi's image attachments render as "[Image #1]" placeholders in the prompt;
|
|
69
|
+
// they must not read as mentions of a skill named "image".
|
|
70
|
+
const clean = prompt.replace(/\[Image #\d+\]/gi, " ");
|
|
71
|
+
const lower = ` ${clean.toLowerCase().replace(/\s+/g, " ")} `;
|
|
72
|
+
const promptWords = words(clean);
|
|
72
73
|
const freq = new Map<string, number>();
|
|
73
74
|
for (const e of entries) for (const t of new Set(nameTokens(e.name))) freq.set(t, (freq.get(t) ?? 0) + 1);
|
|
74
75
|
const pins = new Set<string>();
|
|
@@ -110,9 +111,9 @@ export function judgeRequest(
|
|
|
110
111
|
}
|
|
111
112
|
|
|
112
113
|
/**
|
|
113
|
-
* Pins always stay; others need ≥ threshold, best first,
|
|
114
|
-
*
|
|
115
|
-
*
|
|
114
|
+
* Pins always stay; others need ≥ threshold, best first, total capped at
|
|
115
|
+
* maxSkills (pins may exceed it — they were asked for by name). Kept set
|
|
116
|
+
* returned in catalog order.
|
|
116
117
|
*/
|
|
117
118
|
export function applyJudgement(
|
|
118
119
|
entries: readonly Entry[],
|
|
@@ -125,13 +126,8 @@ export function applyJudgement(
|
|
|
125
126
|
score: typeof answers?.[`s${i}`]?.noul === "number" ? (answers[`s${i}`]!.noul as number) : 0,
|
|
126
127
|
}));
|
|
127
128
|
const keep = new Set<Entry>(entries.filter((e) => pins.has(e.name)));
|
|
128
|
-
let generic = [...keep].filter((e) => isWorkflowSkill(e.location)).length;
|
|
129
129
|
for (const { entry, score } of scored.filter((s) => !keep.has(s.entry) && s.score >= settings.threshold).sort((a, b) => b.score - a.score)) {
|
|
130
130
|
if (keep.size >= Math.max(1, settings.maxSkills)) break;
|
|
131
|
-
if (isWorkflowSkill(entry.location)) {
|
|
132
|
-
if (generic >= GENERIC_CAP) continue;
|
|
133
|
-
generic++;
|
|
134
|
-
}
|
|
135
131
|
keep.add(entry);
|
|
136
132
|
}
|
|
137
133
|
return { kept: entries.filter((e) => keep.has(e)), hidden: entries.filter((e) => !keep.has(e)) };
|
|
@@ -274,7 +270,7 @@ export async function decideTurn(input: TurnInput): Promise<TurnOutput> {
|
|
|
274
270
|
if (answers) {
|
|
275
271
|
rest.forEach((c, i) => {
|
|
276
272
|
const score = answers[`s${i}`]?.noul;
|
|
277
|
-
if (typeof score === "number" && score >=
|
|
273
|
+
if (typeof score === "number" && score >= settings.threshold) reveal.push(c);
|
|
278
274
|
});
|
|
279
275
|
}
|
|
280
276
|
}
|