ceulen 0.5.1 → 0.8.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/CHANGELOG.md +365 -12
- package/README.md +87 -91
- package/extensions/lib/advisor-marker.ts +33 -0
- package/extensions/lib/panel.ts +25 -2
- package/extensions/lib/rate.ts +24 -0
- package/extensions/lib/registry.test.ts +67 -0
- package/extensions/lib/registry.ts +104 -8
- package/extensions/lib/tools.ts +47 -0
- package/extensions/lib/usage-store.ts +33 -0
- package/extensions/modules/advisor/commands/advisor.ts +244 -0
- package/extensions/modules/advisor/configPanel.ts +194 -0
- package/extensions/modules/advisor/index.ts +235 -0
- package/extensions/modules/advisor/lib/config.ts +248 -0
- package/extensions/modules/advisor/lib/emission-guard.ts +153 -0
- package/extensions/modules/advisor/lib/isolated-model.ts +160 -0
- package/extensions/modules/advisor/lib/model-picker.ts +47 -0
- package/extensions/modules/advisor/lib/watcher.ts +288 -0
- package/extensions/modules/advisor/test/compliance.test.ts +125 -0
- package/extensions/modules/advisor/test/config.test.ts +202 -0
- package/extensions/modules/advisor/test/configPanel.test.ts +223 -0
- package/extensions/modules/advisor/test/emission-guard.test.ts +201 -0
- package/extensions/modules/advisor/test/isolated-model.test.ts +311 -0
- package/extensions/modules/advisor/test/model-picker.test.ts +32 -0
- package/extensions/modules/advisor/test/module.test.ts +649 -0
- package/extensions/modules/advisor/test/watcher.test.ts +478 -0
- package/extensions/modules/classifier/configPanel.ts +104 -0
- package/extensions/modules/classifier/index.ts +297 -0
- package/extensions/modules/classifier/lib/settings.ts +95 -0
- package/extensions/modules/classifier/test/classifier.test.ts +475 -0
- package/extensions/modules/composer/index.ts +152 -3
- package/extensions/modules/composer/lib/footer.ts +119 -0
- package/extensions/modules/composer/lib/shapes.ts +265 -26
- package/extensions/modules/composer/test/editor.test.ts +1 -1
- package/extensions/modules/composer/test/footer.test.ts +96 -0
- package/extensions/modules/composer/test/module.test.ts +113 -11
- package/extensions/modules/composer/test/screen.test.ts +29 -1
- package/extensions/modules/composer/test/shapes.test.ts +224 -8
- package/extensions/modules/config/defaultTools.ts +96 -0
- package/extensions/modules/config/index.ts +147 -7
- package/extensions/modules/config/piSettings.ts +254 -69
- package/extensions/modules/config/test/defaultTools.test.ts +122 -0
- package/extensions/modules/config/test/menu.test.ts +64 -0
- package/extensions/modules/config/test/panel.test.ts +38 -23
- package/extensions/modules/config/test/piSettings.test.ts +130 -3
- package/extensions/modules/config/test/renderTools.test.ts +71 -0
- package/extensions/modules/config/test/tools.test.ts +146 -0
- package/extensions/modules/fff/index.ts +2094 -0
- package/extensions/modules/fff/lib/query.ts +129 -0
- package/extensions/modules/fff/test/index.test.ts +607 -0
- package/extensions/modules/fff/test/query.test.ts +71 -0
- package/extensions/modules/munin/configPanel.ts +108 -0
- package/extensions/modules/munin/index.ts +641 -0
- package/extensions/modules/munin/lib/helpers.ts +471 -0
- package/extensions/modules/munin/lib/retry.ts +20 -0
- package/extensions/modules/munin/lib/sdk.ts +218 -0
- package/extensions/modules/munin/test/config.test.ts +168 -0
- package/extensions/modules/munin/test/configPanel.test.ts +186 -0
- package/extensions/modules/munin/test/extension.test.ts +224 -0
- package/extensions/modules/munin/test/helpers.test.ts +523 -0
- package/extensions/modules/munin/test/retry.test.ts +145 -0
- package/extensions/modules/munin/test/stale-protocol.test.ts +554 -0
- package/extensions/modules/plan/configPanel.ts +152 -0
- package/extensions/modules/plan/index.ts +917 -0
- package/extensions/modules/plan/lib/plan-tools.ts +72 -0
- package/extensions/modules/plan/lib/prompt.ts +65 -0
- package/extensions/modules/plan/lib/settings.ts +166 -0
- package/extensions/modules/plan/lib/shell-gate.ts +200 -0
- package/extensions/modules/plan/test/configPanel.test.ts +96 -0
- package/extensions/modules/plan/test/harness.ts +133 -0
- package/extensions/modules/plan/test/module.test.ts +305 -0
- package/extensions/modules/plan/test/settings.test.ts +114 -0
- package/extensions/modules/plan/test/shell-gate.test.ts +103 -0
- package/extensions/modules/ponytail/index.ts +23 -73
- package/extensions/modules/ponytail/lib/config.ts +1 -6
- package/extensions/modules/ponytail/test/extension.test.ts +1 -85
- package/extensions/modules/repair/configPanel.ts +96 -0
- package/extensions/modules/repair/index.ts +414 -0
- package/extensions/modules/repair/lib/auto-bg.ts +333 -0
- package/extensions/modules/repair/lib/edit-repair.ts +155 -0
- package/extensions/modules/repair/lib/editor.ts +251 -0
- package/extensions/modules/repair/lib/guards.ts +34 -0
- package/extensions/modules/repair/lib/input-repair.ts +324 -0
- package/extensions/modules/repair/lib/patch.ts +481 -0
- package/extensions/modules/repair/lib/settings.ts +114 -0
- package/extensions/modules/repair/test/auto-bg.test.ts +405 -0
- package/extensions/modules/repair/test/edit-repair.test.ts +224 -0
- package/extensions/modules/repair/test/editor.test.ts +141 -0
- package/extensions/modules/repair/test/guards.test.ts +64 -0
- package/extensions/modules/repair/test/input-repair.test.ts +231 -0
- package/extensions/modules/repair/test/patch.test.ts +563 -0
- package/extensions/modules/repair/test/settings.test.ts +167 -0
- package/extensions/modules/repair/test/wrapper.test.ts +210 -0
- package/extensions/modules/router/commands/commands.ts +4 -0
- package/extensions/modules/router/configPanel.ts +24 -10
- package/extensions/modules/router/lib/client.ts +63 -0
- package/extensions/modules/router/lib/provider.ts +34 -13
- package/extensions/modules/router/lib/systemone.ts +152 -0
- package/extensions/modules/router/test/unit.test.ts +260 -0
- package/extensions/modules/rtk/findFallback.js +68 -0
- package/extensions/modules/rtk/index.ts +248 -0
- package/extensions/modules/rtk/safe-rewrite.js +74 -0
- package/extensions/modules/rtk/test/findFallback.test.js +66 -0
- package/extensions/modules/rtk/test/index.test.js +131 -0
- package/extensions/modules/rtk/test/safe-rewrite.test.js +96 -0
- package/extensions/modules/rtk/version-gate.js +34 -0
- package/extensions/modules/rules/index.ts +120 -0
- package/extensions/modules/rules/lib/rules.ts +348 -0
- package/extensions/modules/rules/test/lib.test.ts +263 -0
- package/extensions/modules/rules/test/module.test.ts +222 -0
- package/extensions/modules/serena/index.ts +629 -0
- package/extensions/modules/serena/lib/detect.ts +73 -0
- package/extensions/modules/serena/lib/env.ts +76 -0
- package/extensions/modules/serena/lib/guidance.ts +26 -0
- package/extensions/modules/serena/lib/normalize.ts +27 -0
- package/extensions/modules/serena/lib/symbol-key.ts +20 -0
- package/extensions/modules/serena/lib/truncate.ts +20 -0
- package/extensions/modules/serena/test/env.test.ts +122 -0
- package/extensions/modules/serena/test/index.test.ts +347 -0
- package/extensions/modules/serena/test/worker.test.ts +562 -0
- package/extensions/modules/serena/worker.ts +858 -0
- package/extensions/modules/steering/configPanel.ts +122 -0
- package/extensions/modules/steering/index.ts +616 -0
- package/extensions/modules/steering/lib/anchor.ts +175 -0
- package/extensions/modules/steering/lib/errors.ts +253 -0
- package/extensions/modules/steering/lib/family.ts +33 -0
- package/extensions/modules/steering/lib/guidance.ts +172 -0
- package/extensions/modules/steering/lib/history.ts +170 -0
- package/extensions/modules/steering/lib/settings.ts +127 -0
- package/extensions/modules/steering/test/anchor-regressions.test.ts +93 -0
- package/extensions/modules/steering/test/anchor-wiring.test.ts +99 -0
- package/extensions/modules/steering/test/anchor.test.ts +160 -0
- package/extensions/modules/steering/test/cache-stats.test.ts +43 -0
- package/extensions/modules/steering/test/errors.test.ts +309 -0
- package/extensions/modules/steering/test/family.test.ts +43 -0
- package/extensions/modules/steering/test/guidance.test.ts +357 -0
- package/extensions/modules/steering/test/harness.ts +93 -0
- package/extensions/modules/steering/test/history.test.ts +118 -0
- package/extensions/modules/steering/test/settings.test.ts +182 -0
- package/extensions/modules/steering/test/status.test.ts +71 -0
- package/extensions/modules/steering/test/toolCall.test.ts +99 -0
- package/extensions/modules/subagent/agents/planner.md +14 -0
- package/extensions/modules/subagent/agents/reviewer.md +42 -0
- package/extensions/modules/subagent/agents/scout.md +47 -0
- package/extensions/modules/subagent/agents/tester.md +12 -0
- package/extensions/modules/subagent/agents/worker.md +18 -0
- package/extensions/modules/subagent/configPanel.ts +219 -0
- package/extensions/modules/subagent/index.ts +2464 -0
- package/extensions/modules/subagent/lib/agents.ts +408 -0
- package/extensions/modules/subagent/lib/background.ts +383 -0
- package/extensions/modules/subagent/lib/herdr.ts +1019 -0
- package/extensions/modules/subagent/lib/history.ts +126 -0
- package/extensions/modules/subagent/lib/model.ts +156 -0
- package/extensions/modules/subagent/lib/render.ts +335 -0
- package/extensions/modules/subagent/lib/result.ts +110 -0
- package/extensions/modules/subagent/lib/roles.ts +296 -0
- package/extensions/modules/subagent/lib/routing.ts +228 -0
- package/extensions/modules/subagent/lib/runner.ts +559 -0
- package/extensions/modules/subagent/lib/schema.ts +21 -0
- package/extensions/modules/subagent/lib/security.ts +763 -0
- package/extensions/modules/subagent/lib/settings.ts +159 -0
- package/extensions/modules/subagent/lib/thread-viewer.ts +319 -0
- package/extensions/modules/subagent/lib/threads.ts +135 -0
- package/extensions/modules/subagent/lib/types.ts +18 -0
- package/extensions/modules/subagent/lib/widget.ts +475 -0
- package/extensions/modules/subagent/test/configPanel.test.ts +132 -0
- package/extensions/modules/subagent/test/herdr-advisor.test.ts +40 -0
- package/extensions/modules/subagent/test/routing.test.ts +524 -0
- package/extensions/modules/subagent/test/widget.test.ts +208 -0
- package/extensions/modules/todo/index.ts +478 -0
- package/extensions/modules/todo/test/todo.test.ts +252 -0
- package/extensions/modules/usage/index.ts +70 -16
- package/extensions/modules/usage/test/genrate.test.ts +70 -0
- package/extensions/modules/usage/test/parsers.test.ts +13 -0
- package/extensions/modules/usage/test/session-accumulators.test.ts +85 -0
- package/extensions/modules/ux/UPSTREAM +24 -0
- package/extensions/modules/ux/index.ts +393 -0
- package/extensions/modules/ux/lib/audit.ts +562 -0
- package/extensions/modules/ux/lib/config.ts +136 -0
- package/extensions/modules/ux/lib/instructions.ts +77 -0
- package/extensions/modules/ux/test/audit.test.ts +756 -0
- package/extensions/modules/ux/test/extension.test.ts +394 -0
- package/extensions/modules/ux/test/instructions.test.ts +19 -0
- package/extensions/modules/web/configPanel.ts +218 -0
- package/extensions/modules/web/index.ts +978 -0
- package/extensions/modules/web/lib/agy.ts +209 -0
- package/extensions/modules/web/lib/brave.ts +42 -0
- package/extensions/modules/web/lib/cdp.ts +686 -0
- package/extensions/modules/web/lib/chatapi.ts +101 -0
- package/extensions/modules/web/lib/chatgpt.ts +796 -0
- package/extensions/modules/web/lib/chrome.ts +328 -0
- package/extensions/modules/web/lib/config.ts +136 -0
- package/extensions/modules/web/lib/content.ts +99 -0
- package/extensions/modules/web/lib/crawl4ai.ts +172 -0
- package/extensions/modules/web/lib/extract.ts +235 -0
- package/extensions/modules/web/lib/firecrawl.ts +56 -0
- package/extensions/modules/web/lib/format.ts +197 -0
- package/extensions/modules/web/lib/gemini-auth.ts +286 -0
- package/extensions/modules/web/lib/gemini-dr.ts +338 -0
- package/extensions/modules/web/lib/gemini.ts +551 -0
- package/extensions/modules/web/lib/imageapi.ts +559 -0
- package/extensions/modules/web/lib/retry.ts +71 -0
- package/extensions/modules/web/lib/search.ts +237 -0
- package/extensions/modules/web/lib/searxng.ts +69 -0
- package/extensions/modules/web/lib/settings.ts +157 -0
- package/extensions/modules/web/scripts/cdp-smoke.ts +77 -0
- package/extensions/modules/web/scripts/gemini-smoke.ts +107 -0
- package/extensions/modules/web/test/agy.test.ts +383 -0
- package/extensions/modules/web/test/cdp.test.ts +717 -0
- package/extensions/modules/web/test/chat.test.ts +171 -0
- package/extensions/modules/web/test/chatgpt.test.ts +633 -0
- package/extensions/modules/web/test/chrome.test.ts +282 -0
- package/extensions/modules/web/test/config.test.ts +218 -0
- package/extensions/modules/web/test/configPanel.test.ts +198 -0
- package/extensions/modules/web/test/crawl.test.ts +134 -0
- package/extensions/modules/web/test/crawl4ai.test.ts +105 -0
- package/extensions/modules/web/test/extension.test.ts +118 -0
- package/extensions/modules/web/test/extract.test.ts +436 -0
- package/extensions/modules/web/test/fixtures/dr-confirm.bin +12 -0
- package/extensions/modules/web/test/fixtures/dr-plan.bin +20 -0
- package/extensions/modules/web/test/fixtures/interaction.html +31 -0
- package/extensions/modules/web/test/format.test.ts +230 -0
- package/extensions/modules/web/test/gemini-auth.test.ts +465 -0
- package/extensions/modules/web/test/gemini-dr.test.ts +249 -0
- package/extensions/modules/web/test/gemini.test.ts +472 -0
- package/extensions/modules/web/test/hook.test.ts +101 -0
- package/extensions/modules/web/test/image.test.ts +1089 -0
- package/extensions/modules/web/test/retry.test.ts +119 -0
- package/extensions/modules/web/test/screenshot.test.ts +109 -0
- package/extensions/modules/web/test/search.test.ts +210 -0
- package/extensions/modules/web/test/settings.test.ts +165 -0
- package/extensions/modules/web/test/skill.test.ts +72 -0
- package/extensions/modules/web/types.d.ts +3 -0
- package/extensions/modules/web/vendor/package.json +1 -0
- package/extensions/modules/web/vendor/readability/LICENSE.md +13 -0
- package/extensions/modules/web/vendor/readability/Readability-readerable.js +123 -0
- package/extensions/modules/web/vendor/readability/Readability.js +2787 -0
- package/extensions/modules/web/vendor/readability/index.d.ts +64 -0
- package/extensions/modules/web/vendor/readability/index.js +9 -0
- package/extensions/modules/web/vendor/turndown/LICENSE +21 -0
- package/extensions/modules/web/vendor/turndown/turndown.cjs.js +784 -0
- package/extensions/modules/web/vendor/turndown-plugin-gfm/LICENSE +21 -0
- package/extensions/modules/web/vendor/turndown-plugin-gfm/turndown-plugin-gfm.cjs.js +163 -0
- package/extensions/modules/zai/configPanel.ts +154 -0
- package/extensions/modules/zai/index.ts +186 -0
- package/extensions/modules/zai/lib/anthropic.ts +159 -0
- package/extensions/modules/zai/lib/settings.ts +198 -0
- package/extensions/modules/zai/lib/signing.ts +721 -0
- package/extensions/modules/zai/lib/throttle.ts +198 -0
- package/extensions/modules/zai/test/anthropic.test.ts +132 -0
- package/extensions/modules/zai/test/configPanel.test.ts +230 -0
- package/extensions/modules/zai/test/extension.test.ts +249 -0
- package/extensions/modules/zai/test/settings.test.ts +183 -0
- package/extensions/modules/zai/test/signing-wiring.test.ts +108 -0
- package/extensions/modules/zai/test/signing.test.ts +364 -0
- package/extensions/modules/zai/test/throttle.test.ts +329 -0
- package/package.json +19 -4
- package/scripts/validate-themes.mjs +75 -0
- package/skills/munin/SKILL.md +117 -0
- package/skills/ux-capture/SKILL.md +202 -0
- package/skills/ux-design/SKILL.md +279 -0
- package/skills/ux-presets/SKILL.md +484 -0
- package/skills/ux-routing/SKILL.md +46 -0
- package/skills/web/SKILL.md +153 -0
- package/themes/alabaster.json +93 -0
- package/themes/amethyst.json +96 -0
- package/themes/anthracite.json +93 -0
- package/themes/basalt.json +91 -0
- package/themes/birch.json +95 -0
- package/themes/catppuccin-mocha.json +91 -0
- package/themes/dark-abyss.json +91 -0
- package/themes/dark-arctic.json +104 -0
- package/themes/dark-aurora.json +95 -0
- package/themes/dark-catppuccin.json +107 -0
- package/themes/dark-cavern.json +91 -0
- package/themes/dark-celestial.json +106 -0
- package/themes/dark-copper.json +95 -0
- package/themes/dark-cosmos.json +90 -0
- package/themes/dark-cyberpunk.json +102 -0
- package/themes/dark-dracula.json +98 -0
- package/themes/dark-eclipse.json +91 -0
- package/themes/dark-ember.json +95 -0
- package/themes/dark-equinox.json +90 -0
- package/themes/dark-forest.json +96 -0
- package/themes/dark-github.json +105 -0
- package/themes/dark-gruvbox.json +112 -0
- package/themes/dark-lavender.json +95 -0
- package/themes/dark-lunar.json +89 -0
- package/themes/dark-midnight.json +95 -0
- package/themes/dark-monochrome.json +94 -0
- package/themes/dark-monokai.json +98 -0
- package/themes/dark-nebula.json +90 -0
- package/themes/dark-neon-noir.json +100 -0
- package/themes/dark-nord.json +98 -0
- package/themes/dark-ocean.json +101 -0
- package/themes/dark-one.json +100 -0
- package/themes/dark-poimandres.json +115 -0
- package/themes/dark-rainforest.json +91 -0
- package/themes/dark-reef.json +91 -0
- package/themes/dark-retro.json +92 -0
- package/themes/dark-rose-pine.json +96 -0
- package/themes/dark-sakura.json +95 -0
- package/themes/dark-slate.json +95 -0
- package/themes/dark-solarized.json +97 -0
- package/themes/dark-solstice.json +90 -0
- package/themes/dark-starfall.json +91 -0
- package/themes/dark-sunset.json +99 -0
- package/themes/dark-swamp.json +90 -0
- package/themes/dark-synthwave.json +103 -0
- package/themes/dark-taiga.json +91 -0
- package/themes/dark-terminal.json +95 -0
- package/themes/dark-tokyo-night.json +101 -0
- package/themes/dark-tundra.json +91 -0
- package/themes/dark-twilight.json +91 -0
- package/themes/dark-volcanic.json +91 -0
- package/themes/dark.json +80 -0
- package/themes/graphite.json +92 -0
- package/themes/light-arctic.json +107 -0
- package/themes/light-aurora-day.json +91 -0
- package/themes/light-canyon.json +91 -0
- package/themes/light-catppuccin.json +106 -0
- package/themes/light-cirrus.json +90 -0
- package/themes/light-coral.json +95 -0
- package/themes/light-cyberpunk.json +96 -0
- package/themes/light-dawn.json +90 -0
- package/themes/light-dunes.json +91 -0
- package/themes/light-eucalyptus.json +95 -0
- package/themes/light-forest.json +100 -0
- package/themes/light-frost.json +95 -0
- package/themes/light-github.json +115 -0
- package/themes/light-glacier.json +91 -0
- package/themes/light-gruvbox.json +108 -0
- package/themes/light-haze.json +90 -0
- package/themes/light-honeycomb.json +95 -0
- package/themes/light-lagoon.json +91 -0
- package/themes/light-lavender.json +95 -0
- package/themes/light-meadow.json +91 -0
- package/themes/light-mint.json +95 -0
- package/themes/light-monochrome.json +101 -0
- package/themes/light-ocean.json +99 -0
- package/themes/light-one.json +99 -0
- package/themes/light-opal.json +91 -0
- package/themes/light-orchard.json +91 -0
- package/themes/light-paper.json +95 -0
- package/themes/light-poimandres.json +115 -0
- package/themes/light-prism.json +90 -0
- package/themes/light-retro.json +98 -0
- package/themes/light-sand.json +95 -0
- package/themes/light-savanna.json +91 -0
- package/themes/light-solarized.json +102 -0
- package/themes/light-soleil.json +90 -0
- package/themes/light-sunset.json +99 -0
- package/themes/light-synthwave.json +98 -0
- package/themes/light-tokyo-night.json +111 -0
- package/themes/light-wetland.json +91 -0
- package/themes/light-zenith.json +89 -0
- package/themes/light.json +80 -0
- package/themes/limestone.json +94 -0
- package/themes/mahogany.json +97 -0
- package/themes/marble.json +93 -0
- package/themes/mirage.json +79 -0
- package/themes/obsidian.json +91 -0
- package/themes/onyx.json +91 -0
- package/themes/pearl.json +93 -0
- package/themes/porcelain.json +91 -0
- package/themes/quartz.json +96 -0
- package/themes/sandstone.json +95 -0
- package/themes/titanium.json +90 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,343 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 0.8.0 — 2026-10-04
|
|
4
4
|
|
|
5
|
-
- **
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
- **todo**: new module (OMP port) — phased task tracking: one `todo` tool
|
|
6
|
+
(`init/start/done/rm/block/unblock/append/view`) over an ordered phase list.
|
|
7
|
+
Blocked is derived from unmet `blockedBy` edges (finishing a blocker
|
|
8
|
+
auto-unblocks dependents); the earliest pending unblocked phase auto-starts
|
|
9
|
+
after every mutation; `start` errors while another phase is in progress
|
|
10
|
+
unless `force`. Every mutation persists (`ceulen-todo` entries, rehydrated
|
|
11
|
+
on session start) and updates a `▸ n/m done · in_progress: …` status
|
|
12
|
+
segment. `/todo` prints the board, `/todo clear` resets.
|
|
13
|
+
- **rules**: new module (OMP port) — sticky RULES.md + rulebook. Sources:
|
|
14
|
+
nearest-first walk from cwd to root for `.pi/RULES.md`, then
|
|
15
|
+
`~/.pi/agent/RULES.md`; project names override user. One rule per
|
|
16
|
+
`## name` section — a `description:` first line makes it a rulebook rule
|
|
17
|
+
(listed in the prompt, body served on demand by the `rule_get` tool);
|
|
18
|
+
otherwise the body is sticky (appended to every request inside
|
|
19
|
+
`<user-rules>…</user-rules>`, 4000-char cap with a loud truncation marker).
|
|
20
|
+
`@path` imports expand at load (cycle-guarded); files cached by mtime so
|
|
21
|
+
edits apply without `/reload`. `/rules` = status, `/rules reload` = drop
|
|
22
|
+
the cache. Zero footprint when no RULES.md exists anywhere.
|
|
23
|
+
- **subagent**: `subagent.idleTimeoutMins` now actually reaches the timeout
|
|
24
|
+
resolver (it was dead config — children always died on the env default);
|
|
25
|
+
a typo'd `@alias` fails the dispatch loud on BOTH runners instead of
|
|
26
|
+
silently running the child on the parent model; the classifier tier gates
|
|
27
|
+
on the chosen label's own probability, not the max across all labels.
|
|
28
|
+
- **router**: `/config` saves re-register the provider from the EFFECTIVE
|
|
29
|
+
(trust-aware) snapshot — a trusted-project endpoint is no longer clobbered
|
|
30
|
+
and the catalog refresh can no longer send the API key to a saved-but-
|
|
31
|
+
shadowed URL; `combo/*` thinking `off` now OMITS `reasoning_effort`
|
|
32
|
+
(the upstream 422s on the literal value — found by live-testing).
|
|
33
|
+
- **steering**: registry reorder — steering is now genuinely the LAST
|
|
34
|
+
`before_agent_start` rewriter (serena/web loaded after it and appended to
|
|
35
|
+
the ds-anchor bootstrap prompt, breaking byte-identity on request #1).
|
|
36
|
+
- **advisor**: the "paused after 3 consecutive failures" notice actually
|
|
37
|
+
reaches the user (it was defeated by its own pause flag); the cursor
|
|
38
|
+
reseed fires when enable + chain are saved in one `/config` write.
|
|
39
|
+
- **usage**: session cost / tok-s accumulators reset on `session_start` —
|
|
40
|
+
"Session cost" no longer reports whole-process totals after `/new` or
|
|
41
|
+
reload.
|
|
42
|
+
- **zai**: config panel baseline honors project trust; the 401 ladder clears
|
|
43
|
+
its signed-request marker on success so unsigned 401s no longer count
|
|
44
|
+
toward signing bypass.
|
|
45
|
+
- **web**: garbage input on a number row is skipped instead of persisted as
|
|
46
|
+
`0`; nested-shaped project `web` entries are disclosed as save shadows.
|
|
47
|
+
- **munin**: config panel baseline honors project trust.
|
|
48
|
+
- **registry**: `isProjectTrusted` walks each agent dir from cwd (a mutated
|
|
49
|
+
cursor made the second dir probe at `/`).
|
|
50
|
+
|
|
51
|
+
## 0.7.0 — 2026-10-04
|
|
52
|
+
|
|
53
|
+
- **web**: new module — the 11 unified web tools ported from `@bacnh85/pi-web`
|
|
54
|
+
0.17.8: `web_search` (SearXNG → Brave → Firecrawl adaptive), `web_extract`
|
|
55
|
+
(static JSDOM → Firecrawl → Crawl4AI → agy), `web_map`, `web_crawl`,
|
|
56
|
+
`web_screenshot` / `web_pdf` (Crawl4AI daemon, local headless Chrome for
|
|
57
|
+
localhost/LAN/file URLs), `web_interact` (trusted CDP click/type/evaluate
|
|
58
|
+
with device-metrics emulation), `web_research` (Gemini web ask / Deep
|
|
59
|
+
Research), `web_image` (Gemini web → ChatGPT web → Z.ai GLM-Image → custom),
|
|
60
|
+
`web_chat`, `web_status`. Ships the `web` skill and injects the
|
|
61
|
+
backend-routing guidance only while a `web_*` tool is active.
|
|
62
|
+
- Config: `/config` → Tools → Web — 16 rows over the GLOBAL `web` settings
|
|
63
|
+
section (SearXNG/Brave/Firecrawl/Crawl4AI endpoints, keys and timeouts,
|
|
64
|
+
Gemini web cookie/proxy, image + chat providers), read per tool call so a
|
|
65
|
+
save applies with no `/reload`; a trusted project `.pi/settings.json`
|
|
66
|
+
`web` section shadows per field, env vars win over both. Secrets are masked
|
|
67
|
+
rows. The two timeout rows are a closed set — pi-web's loaders reject
|
|
68
|
+
anything below 1000 ms by throwing.
|
|
69
|
+
- Per-tool kill-switch: all 11 tools appear as toggle rows (Tools tab).
|
|
70
|
+
- Dependencies: `jsdom` + `gemini-reverse` (+ `axios`, which gemini-reverse
|
|
71
|
+
hard-depends on) are the module's un-vendorable engines;
|
|
72
|
+
`@mozilla/readability`, `turndown`, and `turndown-plugin-gfm` are vendored
|
|
73
|
+
under `extensions/modules/web/vendor/`.
|
|
74
|
+
- Remove the standalone `@bacnh85/pi-web` when enabling this module — the
|
|
75
|
+
conflict guard refuses the duplicate `web_*` names.
|
|
76
|
+
|
|
77
|
+
- **plan**: new module — read-only plan mode ported from `@bacnh85/pi-plan`
|
|
78
|
+
0.16.6, reduced to the permission + review gate. `/plan` (also `--plan`,
|
|
79
|
+
`ctrl+alt+p`) toggles planning; `write_plan` records a reviewable Markdown
|
|
80
|
+
plan (default `.pi/plans/<timestamp>-<slug>.md`) and `ask_user_question`
|
|
81
|
+
resolves consequential ambiguities with 2–4 options, a ★-recommended
|
|
82
|
+
default, and an "Other" free-form path. `/plan-approve current|new` executes
|
|
83
|
+
the approved plan here or in a fresh session; `/plan-auto` arms autonomous
|
|
84
|
+
approval (a written plan executes with no keypress).
|
|
85
|
+
- **Save-plans policy** (`plan.savePlans`, /config → Tasks → Plan mode):
|
|
86
|
+
`all` writes every draft, `approved` keeps drafts in memory and writes the
|
|
87
|
+
file at approval, `none` never persists (the conversation is the copy;
|
|
88
|
+
fresh-session execution is refused because it needs a file). Plans
|
|
89
|
+
directory (`plan.plansDir`, default `.pi/plans`, `{yyyymm}` supported),
|
|
90
|
+
plan-only model/thinking (restored on exit), and the auto-approve toggle
|
|
91
|
+
are rows too.
|
|
92
|
+
- **Tool gating**: mutators (`edit`/`write`/`apply_patch`/
|
|
93
|
+
`str_replace_editor`/Serena-Munin mutations) hard-block; bash writers
|
|
94
|
+
hard-block, read-only bash (incl. pipelines of reads, `cd &&` chains,
|
|
95
|
+
`VAR=` prefixes, read-only git) auto-runs; unknown executables and non-read
|
|
96
|
+
tools take an Allow-once / Allow-for-this-session / Deny prompt (headless
|
|
97
|
+
blocks). A `subagent` dispatch auto-allows only when every named agent
|
|
98
|
+
resolves `sandbox: read-only`.
|
|
99
|
+
- **Dropped from upstream** (ceulen covers them elsewhere): the
|
|
100
|
+
implement→verify→review flow, `/rewind`, `/goal`, `/specs`, `/handoff`,
|
|
101
|
+
`/btw`, `/doctor`, the fallback chain, and the Jev plan gate. Vendored
|
|
102
|
+
shell classifier with one hardening deviation: `xargs --null rm` no longer
|
|
103
|
+
strips to an empty payload (upstream read it as "read").
|
|
104
|
+
- Config: `plan` section (GLOBAL settings.json + trusted project overlay),
|
|
105
|
+
read per event so /config saves apply live; Tasks tab → Plan mode.
|
|
106
|
+
- Remove the standalone `@bacnh85/pi-plan` when enabling this module — the
|
|
107
|
+
conflict guard refuses the duplicate commands/tools.
|
|
108
|
+
|
|
109
|
+
- **subagent**: two runner-level upgrades for herdr-mode delegation.
|
|
110
|
+
- **Classifier-chosen dispatch**: the classify round-trip can now answer a
|
|
111
|
+
third question — pane or detached background — for a single dispatch
|
|
112
|
+
inside herdr whose caller named neither `runner` nor `background`
|
|
113
|
+
(`subagent.routing.dispatch`, default `classify`, new /config row).
|
|
114
|
+
Explicit params always win, the verdict is reused for tier/effort (one
|
|
115
|
+
Jev call per dispatch), and a background verdict says so on the receipt.
|
|
116
|
+
Verified live: a long, self-contained audit → background; a trivial
|
|
117
|
+
one-liner → visible pane.
|
|
118
|
+
- **Dead `wantTier` gate fixed** (surfaced by a live routing probe): the
|
|
119
|
+
tier question is now actually suppressed for an unresolvable chain
|
|
120
|
+
(typo'd `@alias`), matching its comment — previously the question was
|
|
121
|
+
asked unconditionally and a confident tier verdict could silently swap
|
|
122
|
+
in the role pools, hiding the typo. Tier answers are also only read when
|
|
123
|
+
the question was asked (defensive parse, mirroring effort/dispatch).
|
|
124
|
+
- **Advisor-aware collection**: a herdr child runs full pi, so its own
|
|
125
|
+
advisor reviews the settled turn and can steer corrections after the
|
|
126
|
+
parent had already collected the report (observed live: draft collected,
|
|
127
|
+
advisor note 16s later, child revised — the parent never saw the fix).
|
|
128
|
+
The child's advisor now publishes its review cycle
|
|
129
|
+
(`reviewing` → `done` + `steered`) to a sidecar named by
|
|
130
|
+
`CEULEN_ADVISOR_MARKER` (passed to the pane via `herdr --env`), and the
|
|
131
|
+
parent waits for the verdict before collecting: a short grace poll when no
|
|
132
|
+
review starts, the steered revision's settle when one does, ≤2 rounds,
|
|
133
|
+
bounded by `subagent.advisorWaitSecs` (default 120s, 0 = off; new /config
|
|
134
|
+
row). Write-capable children are told to update the report file when
|
|
135
|
+
follow-up feedback arrives. Results, history, and the usage line record
|
|
136
|
+
folded revisions (`advisor:N revision(s)`); the widget shows
|
|
137
|
+
`herdr: advisor-review` / `advisor-revise` while waiting. SDK children get
|
|
138
|
+
no advisor (the watch is TUI-gated) — nothing to wait for there.
|
|
139
|
+
|
|
140
|
+
- **subagent**: classifier routing now applies to herdr dispatches too — the
|
|
141
|
+
herdr runner (`prepareHerdrOne`, used by foreground single/parallel
|
|
142
|
+
dispatch) resolved the model chain straight from frontmatter/pins and never
|
|
143
|
+
asked the classifier, so in a live herdr session every agent silently ran
|
|
144
|
+
its frontmatter default (a trivial reviewer went to `@smart`/`high` instead
|
|
145
|
+
of the routed `fast`/`off`). Both runners now share one `routedChain()`
|
|
146
|
+
helper, so tier, effort, pins, and `solutionSpace` behave identically
|
|
147
|
+
in-process and in panes. Verified live in herdr: reviewer trivial →
|
|
148
|
+
`combo/deepseek-v4.1-flash` · `off`, planner trivial →
|
|
149
|
+
`combo/deepseek-v4.1-flash` · `off`, worker deep-design →
|
|
150
|
+
`cmd/deepseek/deepseek-v4-pro` · `xhigh`. Alongside:
|
|
151
|
+
- history entries (`.pi/subagent-history.json`, `/subagent history`) now
|
|
152
|
+
record the resolved `thinking` level next to `model`, so routing decisions
|
|
153
|
+
stay auditable after the run;
|
|
154
|
+
- the bundled `worker` agent gains `timeout: 10` (same as planner/reviewer).
|
|
155
|
+
Herdr's prompt wait falls back to the 3-min inactivity constant when the
|
|
156
|
+
agent declares no timeout, and that window is a TOTAL cap there (the pane
|
|
157
|
+
is cancelled), unlike the SDK path where it resets on activity — a routed
|
|
158
|
+
`xhigh` worker could otherwise die at 3 min.
|
|
159
|
+
|
|
160
|
+
- **subagent**: OMP-parity live-UI surface for running agents, covering SDK,
|
|
161
|
+
background, and herdr threads alike (all store-driven; pure renderers
|
|
162
|
+
unit-tested in `test/widget.test.ts`):
|
|
163
|
+
- the live widget gains a `Subagents · N running · M ✓ · K ✗` header, a
|
|
164
|
+
`/agent to inspect` tail, per-thread token counters (`↑12k, ↓1.4k`), and
|
|
165
|
+
herdr panes now render their `herdr: <state>` lifecycle label where SDK
|
|
166
|
+
threads show their latest tool call (raw SDK event labels like
|
|
167
|
+
`message_end` never render); failed threads count as `✗`, never `✓`;
|
|
168
|
+
- a new footer status item `ceulen-subagent` (`👥 N running · …`) shows
|
|
169
|
+
while any thread runs and clears on idle/session change — the widget
|
|
170
|
+
controller owns set + clear, and both pi's native footer and the
|
|
171
|
+
composer footer pass it through;
|
|
172
|
+
- `operation: status|wait` tool rows render the OMP-style job tree
|
|
173
|
+
(`⏳ waiting on N of M jobs`, waited task first, settled rows with a
|
|
174
|
+
`⎿` first-line output snippet);
|
|
175
|
+
- chain/parallel call rows honor Ctrl+O expansion (full task list instead
|
|
176
|
+
of the cap-3 preview, with a `(Ctrl+O to expand)` hint when truncated).
|
|
12
177
|
|
|
13
|
-
|
|
178
|
+
- **security hardening** across the bundle:
|
|
179
|
+
- **serena**: the Python worker's env no longer merges an *untrusted*
|
|
180
|
+
checkout's cwd `.env` (it could set `NODE_OPTIONS`/`PYTHONPATH` and reach
|
|
181
|
+
the language servers the worker spawns — RCE class). Cwd dot-files load
|
|
182
|
+
only for trusted projects now, same rule as the bundle's `.env`
|
|
183
|
+
ingestion; global agent-dir dot-files always load.
|
|
184
|
+
- **classifier**: the bash verdict hook is reframed honestly as
|
|
185
|
+
audit/annotation only. pi 1.0.0 core has no per-call approval prompt
|
|
186
|
+
for `tool_call` to skip, so the previous "auto-approve/enforce" framing
|
|
187
|
+
described behavior that never existed — nothing was ever approved or
|
|
188
|
+
denied. Behavior is unchanged (verdict + audit +, in enforce mode, a
|
|
189
|
+
transcript annotation); `classifier.log` is now written `0600`.
|
|
190
|
+
- **usage**: router settings resolve through `PI_CODING_AGENT_DIR`
|
|
191
|
+
(was hardcoded `~/.pi/agent/settings.json`, so usage fetches could hit
|
|
192
|
+
the wrong endpoint under an alternate agent dir).
|
|
193
|
+
- **munin**: the vendored SDK's `capabilities` fetch now arms the same
|
|
194
|
+
timeout as `invoke()` (a dead server could hang every
|
|
195
|
+
`ensureCapability` tool call forever).
|
|
14
196
|
|
|
197
|
+
- **munin** (new module, ported from `@bacnh85/pi-munin` 0.5.12): Munin
|
|
198
|
+
long-term memory — eight `munin_*` tools (search/get/store/list/recent/
|
|
199
|
+
delete/capabilities/share, each per-tool toggleable in `/config`),
|
|
200
|
+
`/munin-status`, the Munin Memory Protocol injected into the system prompt
|
|
201
|
+
while Munin is configured, the `tool_result` error sanitizer, and the `munin`
|
|
202
|
+
skill (kill-switch gated via `resources_discover`). The `@kalera/munin-sdk`
|
|
203
|
+
client is vendored (152 lines, zero deps; capabilities cache now keyed by
|
|
204
|
+
`baseUrl|apiKey`) and dotenv dropped (ceulen's trust-gated `.env` ingestion
|
|
205
|
+
covers it) — no new runtime dependency. **Config is project-level**:
|
|
206
|
+
`munin.project`/`munin.baseUrl`/`munin.apiKey` saved to
|
|
207
|
+
`<repo>/.pi/settings.json` via `/config` (new **Memory** tab, masked key row
|
|
208
|
+
with a gitignore warning), read only when the project is trusted; precedence
|
|
209
|
+
per-call params > `MUNIN_*` env > project file > global file > default.
|
|
210
|
+
Applies immediately — config resolves per tool call, no reload.
|
|
211
|
+
- **advisor** (new module, ported from `@bacnh85/pi-advisor` 0.3.8): a
|
|
212
|
+
second-model reviewer — after each settled turn an isolated reviewer reads the
|
|
213
|
+
transcript and may emit ONE severity-routed note (`nit` / `concern` /
|
|
214
|
+
`blocker`), steered as a follow-up turn or deferred to the next turn as an
|
|
215
|
+
LLM-visible aside during the post-steer calm-down window, under the ported
|
|
216
|
+
emission guard (content-free drop, dedupe with escalation, one note per
|
|
217
|
+
cycle). The ordered fallback chain (per-entry `:level` thinking) backs the
|
|
218
|
+
on-demand `advisor` tool (per-tool toggleable). Config: `/config` → Model →
|
|
219
|
+
Advisor — **Review settled turns** (the background watch; off = no review,
|
|
220
|
+
the consult tool keeps working), **Primary model** (catalogue picker),
|
|
221
|
+
**Thinking**, **Fallback chain** (inline model completions), min tool calls,
|
|
222
|
+
immune turns, and **Consult tool** (register the on-demand `advisor` tool);
|
|
223
|
+
saved to the GLOBAL **`advisor`** settings section and applied live through a
|
|
224
|
+
module bridge (no `/reload`). The module is **core**: always loaded, no
|
|
225
|
+
Enable row — its off-switch is an empty primary model (a stale
|
|
226
|
+
`ceulen.disabled: ["advisor"]` entry is ignored). The standalone `pi-advisor`
|
|
227
|
+
section is a read-only legacy alias (legacy `watch.enabled` folds into the new
|
|
228
|
+
`enabled`, the legacy section is deleted on the first save); the pi-plan
|
|
229
|
+
`advisorModel` migration is dropped (pi-plan's own port owns it). The
|
|
230
|
+
pi-config-panel models editor and the `ModelSelectorComponent` picker are
|
|
231
|
+
gone — `/config` is the editor. Isolated calls go through the public
|
|
232
|
+
`modelRegistry.streamSimple`, so no `@earendil-works/pi-ai` dependency is
|
|
233
|
+
added. Watch is TUI-only, fire-and-forget, pauses after 3 consecutive
|
|
234
|
+
failures, self-disarms on session shutdown, and the `advisor` tool is
|
|
235
|
+
re-synced on session_start/model_select while always honoring
|
|
236
|
+
`ceulen.disabledTools`. OMP-parity hardening: the reviewer prompt bans the
|
|
237
|
+
production noise classes (restating errors the agent already has, user-intent
|
|
238
|
+
and ceremony advice, scope policing, unsolicited back-compat, second-guessing
|
|
239
|
+
committed decisions, partial-work critique) and requires cited evidence;
|
|
240
|
+
token/cost accounting accumulates into `/advisor status` and the consult
|
|
241
|
+
tool's result; the review cursor and guard reset on `session_compact` /
|
|
242
|
+
`session_before_switch` (a re-primed reviewer may re-raise against the
|
|
243
|
+
rewritten transcript); the guard folds Unicode letters/digits (full-width
|
|
244
|
+
filler dedupes) and carries omp's larger content-free phrase list.
|
|
245
|
+
- **classifier** (new module, ported from `@bacnh85/pi-classifier` 0.2.3,
|
|
246
|
+
registry-backed): System One decision models (TypeSafe Jev) — the `classify`
|
|
247
|
+
tool (same name/schema, per-tool toggleable) and the bash permission
|
|
248
|
+
auto-approve hook (static RISKY list first, LRU verdict cache keyed by
|
|
249
|
+
command+cwd+task, observe/enforce + threshold, never denies, audit lines in
|
|
250
|
+
`classifier.log`). Every ask now goes through `modelRegistry.classify()`:
|
|
251
|
+
the **router** module discovers decision models from
|
|
252
|
+
`GET <router.baseUrl>/v1/systemone/models` (404-fail-open — plain OmniRoute
|
|
253
|
+
keeps a chat-only catalog), registers them as `type: "classifier"` models
|
|
254
|
+
with a vendored System One transport (`lib/systemone.ts`, ~130 lines), and
|
|
255
|
+
the mixed chat+classifier catalog persists/restores in models-store.json.
|
|
256
|
+
Chat `/models` stay clean; core consumers (codemode, extensions) can use
|
|
257
|
+
`router/combo/jev` via the registry. Auth is the shared ROUTER credential —
|
|
258
|
+
no separate `classifier.baseUrl`/`CLASSIFIER_API_KEY`. Config: `/config` →
|
|
259
|
+
Model tab → Classifier (Jev) (model menu from live discovery, auto-approve
|
|
260
|
+
toggle/mode/threshold). `planGate` is dropped (pi-plan removed; returns with
|
|
261
|
+
the pi-plan port). Replaces the standalone pi-classifier package — remove it
|
|
262
|
+
from `packages` to avoid a duplicate `classify` tool (first registration
|
|
263
|
+
wins); `/router-status` now shows the classifier model count.
|
|
264
|
+
|
|
265
|
+
- **config**: new **Tools → Built-in tools** section — one toggle per pi
|
|
266
|
+
built-in tool (`read`, `bash`, `powershell`, `edit`, `write`, `grep`,
|
|
267
|
+
`find`, `ls`) plus the built-in extension tools `codemode` and
|
|
268
|
+
`tool_search`; the stock four (`read`, `bash`, `edit`, `write`) default on.
|
|
269
|
+
Toggling writes the `defaultTools` setting (global settings.json; a
|
|
270
|
+
stock-equal selection deletes the key again) and applies to the current
|
|
271
|
+
session immediately — enabling grep/codemode no longer needs a settings
|
|
272
|
+
edit or a restart.
|
|
273
|
+
- **composer**: the line above the band is now a full usage line — token
|
|
274
|
+
stats + provider quota windows flush LEFT (`↑1.9M ↓377k R69M W2.0k CH99.6%
|
|
275
|
+
· (router) R:59%/2H3M`), Generation Rate justified RIGHT (`⚡ N tok/s`),
|
|
276
|
+
split by the composer's stock left/right groups. `CH` (cache-hit share of
|
|
277
|
+
the latest assistant prompt) joins the stats figures; cost stays `/usage`-
|
|
278
|
+
only. Under width pressure the left group sheds whole segments (usage →
|
|
279
|
+
stats) while the rate stands; rate alone still right-justifies. The band
|
|
280
|
+
itself stays identity-only (π · model · dir · git + context%).
|
|
281
|
+
- **ux** (new module, ported from `@bacnh85/pi-ux` 0.6.6): anti-slop UI/UX
|
|
282
|
+
design discipline — `/ux off|lite|strict` (session-persisted, `stop ux` /
|
|
283
|
+
`normal mode` deactivates) injects the ux-design method into the system
|
|
284
|
+
prompt each turn; strict blocks handoff until the `ux_audit` tool passes
|
|
285
|
+
(deterministic APCA-contrast / token / state / slop-tell gates, no model).
|
|
286
|
+
Ships the four `ux-*` skills (`ux-design`, `ux-presets`, `ux-routing`,
|
|
287
|
+
`ux-capture`) through `resources_discover`, gated by the module kill-switch.
|
|
288
|
+
Configured in `/config` (Appearance → UX discipline: default mode,
|
|
289
|
+
quiet startup; per-tool toggle for `ux_audit`) — persists to
|
|
290
|
+
`~/.config/pi-ux/config.json` with `PI_UX_*` env overrides, so standalone
|
|
291
|
+
pi-ux settings carry over. **No status-bar footprint** (upstream's status
|
|
292
|
+
segment, `hideStatus` setting and `PI_UX_HIDE_STATUS` are dropped), and
|
|
293
|
+
bare `/ux` reports status instead of resetting (ponytail #99 precedent);
|
|
294
|
+
`/ux default <mode>` is gone — the central panel owns defaults. The
|
|
295
|
+
ponytail module's skill contribution was narrowed from the whole `skills/`
|
|
296
|
+
root to its own six `ponytail*` dirs so the ux kill-switch actually gates
|
|
297
|
+
the ux skills.
|
|
298
|
+
- **themes** (new package resource): 104 selectable themes ship with the bundle —
|
|
299
|
+
the 4 from `@bacnh85/pi-themes` (`pi-dark`, `pi-mirage`, `pi-light`,
|
|
300
|
+
`pi-catppuccin-mocha`) plus 100 from oh-my-pi's collection (`dark-*` /
|
|
301
|
+
`light-*` families + stone/gem one-offs). Loaded by pi itself via the
|
|
302
|
+
package manifest (`pi.themes`) — no module, no kill-switch; select in
|
|
303
|
+
`/theme` or `/config` (Appearance → Theme, live preview). omp copies were
|
|
304
|
+
re-pointed at pi's theme schema and their 8-digit RGBA `selectedBg`
|
|
305
|
+
(poimandres pair) truncated to 6-digit hex (pi's `parseColor` rejects
|
|
306
|
+
alpha). `scripts/validate-themes.mjs` (in `npm test`) enforces name
|
|
307
|
+
uniqueness, no builtin collisions (`dark`/`light`/`system`), the full
|
|
308
|
+
pi-required token set, and resolvable color values across all 104.
|
|
309
|
+
- **serena, fff, rtk** (new modules, ported from the pi-extensions monorepo):
|
|
310
|
+
Serena semantic code tools (`serena_*`, Python worker), FFF fuzzy
|
|
311
|
+
file/content search (`ffgrep`, `ffind`, `fff_multi_grep`, `resolve_file`,
|
|
312
|
+
`related_files` + @-mention completions), and RTK bash-command rewriting
|
|
313
|
+
(`/rtk`). Every tool they register gets a **per-tool toggle row in /config**
|
|
314
|
+
(Tools · Serena / FFF search, Shell · RTK sections): toggling writes
|
|
315
|
+
`ceulen.disabledTools` and applies to the running session immediately via
|
|
316
|
+
`setActiveTools` (disabled tools re-register inactive on every load, so the
|
|
317
|
+
setting survives restarts without a /reload). rtk has no tools — its surface
|
|
318
|
+
is the module Enable row. No status-bar entries — the modules stay silent
|
|
319
|
+
in the footer. First runtime dependency: `@ff-labs/fff-node`
|
|
320
|
+
(native FFI engine, unvendorable); `typebox` joins the peer deps (pi aliases
|
|
321
|
+
it at runtime). Serena/fff tests converted to the repo's `node:test` + tsx
|
|
322
|
+
convention; rtk's were already `node:test`.
|
|
323
|
+
- **config**: stock-`/settings` parity — every pi setting with a typed
|
|
324
|
+
`SettingsManager` setter is now a `/config` row. New: **per-model thinking
|
|
325
|
+
overrides** (one row per model + an **Add model override** row whose menu
|
|
326
|
+
lists catalog models; the clear option reverts to the default — rows appear
|
|
327
|
+
and disappear on commit via the kernel's new `rebuildOnCommit`), **Fullscreen
|
|
328
|
+
wheel scrolling**, and the extra-resource-dir lists (**Extension dirs**,
|
|
329
|
+
**Skill dirs**, **Template dirs**, **Theme dirs**). Stock choice UX: HTTP idle
|
|
330
|
+
timeout renders the labeled choices (`30 sec`…`disabled`), Default project
|
|
331
|
+
trust `Ask`/`Always trust`/`Never trust`, editor padding / autocomplete /
|
|
332
|
+
image width as stock choice sets, and thinking levels carry their per-level
|
|
333
|
+
descriptions (`off` … `max`, ~token hints). OMP taxonomy: transport →
|
|
334
|
+
**Providers · Protocol**, HTTP idle timeout → **Providers · Timeouts**,
|
|
335
|
+
telemetry/analytics → **Providers · Privacy**, skill commands + skill dirs →
|
|
336
|
+
**Tasks · Commands & Skills**, extension dirs → **Tools · Extensions**,
|
|
337
|
+
template dirs → **Context · Prompt templates**; descriptions now match pi's
|
|
338
|
+
own stock `/settings` copy. Kernel: `ConfigPanelOpts.rebuildOnCommit` +
|
|
339
|
+
`ConfigPanelModel.rebuild` rebuild the row set after any committed edit
|
|
340
|
+
(toggle, menu pick, inline submit) — used by the dynamic per-model rows.
|
|
15
341
|
- **composer** (new CORE module): Composer Shape for the input editor with
|
|
16
342
|
OMP's full vocabulary and copy — **Status Band** (default) · **Rounded Box**
|
|
17
343
|
· **Claude Code** · **Pi** · **Borderless** · **Top Rule Dock** · **Compact
|
|
@@ -23,9 +349,19 @@
|
|
|
23
349
|
and filled surfaces are composed by re-laying the editor out at the
|
|
24
350
|
shape's content width and wrapping each row — the cursor marker survives,
|
|
25
351
|
so wrapping and hardware-cursor placement stay exact. Status-bearing
|
|
26
|
-
shapes show
|
|
27
|
-
|
|
28
|
-
|
|
352
|
+
shapes show OMP's stock status split with icons on every segment — left
|
|
353
|
+
group: `π` brand · `(provider) model (thinking level)` (level live via `thinking_level_select`; `off` hidden; the provider prefix is skipped when the display name already carries it) · `📁` cwd · `⑂` branch + working-tree counts
|
|
354
|
+
(`*N`/`+N`/`?N`, warning when dirty) · provider quota windows (`(router)
|
|
355
|
+
R:59%/2H3M`, fed by the usage module) · session token stats (`↑40k ↓44 R64
|
|
356
|
+
CH0.2%`) · `⚡` Generation Rate; right group: the context window
|
|
357
|
+
(`0.0%/1.0M (auto)`, stepped at 70%/90%). The band fills the
|
|
358
|
+
status chip only, not the whole line. On status-bearing
|
|
359
|
+
shapes the module replaces Pi's built-in footer with a narrowed one —
|
|
360
|
+
the other extensions' statuses only, since cwd/branch/
|
|
361
|
+
model/context%/token-stats/quota-windows are already in the band;
|
|
362
|
+
non-embedding shapes keep the
|
|
363
|
+
native footer. The working spinner stays visible in every shape. Always on:
|
|
364
|
+
no kill-switch (a half-configured composer is worse than none).
|
|
29
365
|
- **config**: rows can carry a `previewLines` hook — a read-only preview
|
|
30
366
|
block under the rows pane / selection menu that follows the highlighted
|
|
31
367
|
option (OMP's settings-screen preview window).
|
|
@@ -127,6 +463,23 @@
|
|
|
127
463
|
- **bundle**: trusted cwd `.env` ingestion (`loadCwdEnvFilesIfTrusted`) is now also registered at the bundle entry, before every module's `session_start` — sub previously loaded it in its own handler, which runs after router's, so a trusted repo's `.env`-provided `ROUTER_BASE_URL`/`ROUTER_ENABLE_REASONING` was invisible to router for the entire first session.
|
|
128
464
|
- **sub**: backported the nightly-review security fix from pi-sub — cwd `.env.local`/`.env` are no longer ingested at import time (an untrusted checkout could inject `ROUTER_MGMT_TOKEN` etc.); they now load in `session_start` only behind `ctx.isProjectTrusted()`, with global agent-dir env files still injected at import and trusted-cwd files overriding only those. Also backported the expired-Codex-JWT fix: a plan label no longer renders from a token whose `exp` has passed (shows `expired`).
|
|
129
465
|
|
|
466
|
+
## 0.5.1 — 2026-09-30
|
|
467
|
+
|
|
468
|
+
- Widened pi peer range from `^0.99.1` to `>=0.99.1 <0.101.0`: caret on a
|
|
469
|
+
0.x dependency is patch-only (≥0.99.1 <0.100.0), too narrow for pi's fast
|
|
470
|
+
minor releases. No other changes.
|
|
471
|
+
|
|
472
|
+
## 0.5.0 — 2026-09-30
|
|
473
|
+
|
|
474
|
+
- **pi 0.99.1 compatibility**: peer dependencies widened from
|
|
475
|
+
`>=0.80.8 <0.88.0` to `^0.99.1` for both
|
|
476
|
+
`@earendil-works/pi-coding-agent` and `@earendil-works/pi-tui` (range
|
|
477
|
+
corrected to `>=0.99.1 <0.101.0` in 0.5.1). No code changes — all surfaces verified:
|
|
478
|
+
registration API (guarded() claims), composer `CustomEditor` duck-typing,
|
|
479
|
+
theme Proxy/`setTheme` semantics, `session_start` re-fire, trust.json
|
|
480
|
+
gating, jiti extension loading (the 0.99 tsx→type-stripping switch affects
|
|
481
|
+
pi's own build only). 306 tests + live `pi --mode rpc` smoke pass.
|
|
482
|
+
|
|
130
483
|
## 0.3.0 — 2026-09-28
|
|
131
484
|
|
|
132
485
|
Wave 2: ponytail merged into the bundle.
|
package/README.md
CHANGED
|
@@ -2,17 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
**The Pi coding agent, fully dressed.**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
One extension bundle that turns [Pi](https://github.com/earendil-works/pi) into a fully equipped coding agent: a router provider, a second-model reviewer, long-term memory, usage display, themes, and a central settings panel — one install, one command surface, most modules individually switchable.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
A [Pi](https://github.com/earendil-works/pi) distro in the form of one extension bundle:
|
|
10
|
-
|
|
11
|
-
- **One install** — the suite ships as a unit
|
|
12
|
-
- **One surface** — modules register into Pi's native UX: tools, commands, events
|
|
13
|
-
- **Selective adoption** — every module has an individual kill-switch; disable what you don't use
|
|
14
|
-
- **No core patches** — Pi's public extension API only, so upstream upgrades stay drop-in
|
|
15
|
-
- **Zero runtime dependencies** — everything is vendored
|
|
7
|
+
Named for Ludolph van Ceulen, who computed π to 35 digits — they're carved on his tombstone.
|
|
16
8
|
|
|
17
9
|
## Install
|
|
18
10
|
|
|
@@ -20,108 +12,112 @@ A [Pi](https://github.com/earendil-works/pi) distro in the form of one extension
|
|
|
20
12
|
pi install npm:ceulen
|
|
21
13
|
```
|
|
22
14
|
|
|
23
|
-
Add `-l` to install into the current project instead of your user scope. Update with `pi update --extensions`. Then start Pi in your project
|
|
15
|
+
Add `-l` to install into the current project instead of your user scope. Update with `pi update --extensions`. Then start Pi in your project — the modules load automatically.
|
|
16
|
+
|
|
17
|
+
## Quick start
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
/config # one panel for pi core + every ceulen module
|
|
21
|
+
/ceulen # which modules are active
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Most modules work out of the box. Two need credentials; one is optionally configured:
|
|
25
|
+
|
|
26
|
+
- **router** — set `router.baseUrl` (via `/config` → Providers, or `ROUTER_BASE_URL` env), then `/login router`.
|
|
27
|
+
- **munin** — set project + API key via `/config` → Memory (saved to `<repo>/.pi/settings.json`).
|
|
28
|
+
- **web** — optional: set search/extract backends via `/config` → Tools → Web (SearXNG/Brave/Firecrawl/Crawl4AI). Works with only one backend configured; `web_status` reports what is ready.
|
|
24
29
|
|
|
25
30
|
## Modules
|
|
26
31
|
|
|
27
32
|
### router — any OpenAI-compatible router as a Pi provider
|
|
28
33
|
|
|
29
|
-
|
|
34
|
+
Use 9router, OmniRoute, yardmaster, or any OpenAI-compatible endpoint as a normal Pi provider: models appear in `/model`, chat goes through `/v1/chat/completions`.
|
|
30
35
|
|
|
31
|
-
- Config: `
|
|
32
|
-
- Auth: `/login router`
|
|
33
|
-
- Commands: `/router-status`, `/router-model`
|
|
36
|
+
- Config: `/config` → Providers (base URL + thinking levels; a save re-registers and refreshes live)
|
|
37
|
+
- Auth: `/login router` or `ROUTER_API_KEY` env
|
|
38
|
+
- Commands: `/router-status`, `/router-model`
|
|
34
39
|
|
|
35
|
-
|
|
40
|
+
If the router serves System One decision models (yardmaster's `GET /v1/systemone/models`), they're listed as classifier models for the `classify` tool — never mixed into the chat picker.
|
|
36
41
|
|
|
37
|
-
|
|
42
|
+
### classifier — decision models (Jev) for typed answers
|
|
38
43
|
|
|
39
|
-
|
|
44
|
+
The `classify` tool asks a System One decision model typed questions (yes-probability, multiple choice with confidence, scored position) and gets calibrated answers instead of prose — useful for routing, verification, and gating decisions inside scripts and codemode.
|
|
40
45
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
46
|
+
It also audits bash commands (reversible? serves the task?) to `~/.pi/agent/classifier.log`. This is **observation only** — it never blocks or approves anything.
|
|
47
|
+
|
|
48
|
+
- Config: `/config` → Model → Classifier (Jev)
|
|
49
|
+
- Needs the router module configured
|
|
50
|
+
|
|
51
|
+
### advisor — a second pair of eyes
|
|
52
|
+
|
|
53
|
+
After each turn with real work, a separate reviewer model reads the transcript and may raise **one** note — `nit` (consider), `concern` (address or justify), `blocker` (fix first) — or stay silent. A dedupe/rate-limit guard keeps it quiet; the reviewer never uses your primary model.
|
|
54
|
+
|
|
55
|
+
- Tool: `advisor` — consult the reviewer on demand
|
|
56
|
+
- Config: `/config` → Model → Advisor (reviewer model, fallback chain, watch knobs — applies live)
|
|
57
|
+
- Commands: `/advisor [model[, model…]|models|on|off|status]`
|
|
58
|
+
- Turn it off: clear the Primary model row
|
|
59
|
+
|
|
60
|
+
### usage — subscription usage in the footer
|
|
61
|
+
|
|
62
|
+
A status footer with provider usage: 5-hour / weekly / monthly windows, credits, and a generation-rate indicator. `/usage` for detail, `/context` for a context-window breakdown. Supports openai-codex, opencode-go, z.ai, Command Code, and router/yardmaster (needs a key with usage permission).
|
|
63
|
+
|
|
64
|
+
### composer — a proper input editor
|
|
44
65
|
|
|
45
|
-
|
|
66
|
+
Pick the input editor's look from `/config` → Appearance → Composer Shape: Status Band (default), Rounded Box, Claude Code, Pi, Borderless, and more — with live preview while you browse. Status-bearing shapes show model, directory, git branch + working-tree state, generation rate, and context usage in one strip. Always on.
|
|
46
67
|
|
|
47
|
-
###
|
|
68
|
+
### munin — long-term memory
|
|
48
69
|
|
|
49
|
-
|
|
50
|
-
OMP's full composer vocabulary — **Status Band** (default) · **Rounded Box** ·
|
|
51
|
-
**Claude Code** · **Pi** · **Borderless** · **Top Rule Dock** · **Compact
|
|
52
|
-
Field** · **Accent Rail** — each with OMP's own label and one-line
|
|
53
|
-
description in the selection menu. Browsing the Shape row previews the shape
|
|
54
|
-
right in the panel (rendered through the same chrome builders the live editor
|
|
55
|
-
uses — no drift); Enter applies it to the running editor immediately — text,
|
|
56
|
-
autocomplete and all app keybindings intact (the custom editor extends Pi's
|
|
57
|
-
`CustomEditor`) — and persists `composer.shape` to the global settings.json.
|
|
58
|
-
Status-bearing shapes (Band, Box, Claude, Top Rule Dock) show live session
|
|
59
|
-
data — model · directory · context %; the working spinner stays visible in
|
|
60
|
-
every shape. **Core module**: always loaded, no kill-switch — a
|
|
61
|
-
half-configured composer is worse than none.
|
|
70
|
+
`munin_search` / `munin_get` / `munin_store` / `munin_list` / `munin_recent` / `munin_share` / `munin_delete` / `munin_capabilities`, plus a memory protocol that teaches the agent when to search and what's worth storing. `/munin-status` shows where each config field comes from (never the key itself).
|
|
62
71
|
|
|
63
|
-
- Config: `
|
|
72
|
+
- Config: `/config` → Memory — **project-level** (`<repo>/.pi/settings.json`; add it to `.gitignore`). Read only when the project is trusted; `MUNIN_*` env vars override.
|
|
64
73
|
|
|
65
74
|
### ponytail — lazy-senior-dev mode
|
|
66
75
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
- **
|
|
87
|
-
- **
|
|
88
|
-
- **
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
`
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
Multi-choice rows (theme, thinking level, transport, model, …) open an
|
|
105
|
-
OMP-style **selection menu** in place: `↑↓` browse, type to filter, `Enter`
|
|
106
|
-
selects, `Esc` backs out. **Theme changes preview live** as you browse (the
|
|
107
|
-
whole terminal restyles; `Esc` restores the previous theme) and the model
|
|
108
|
-
picker lists `provider/id` from the model catalogue. Values differing
|
|
109
|
-
from their default render in warning color; rows that env vars can override
|
|
110
|
-
say so in the help area.
|
|
111
|
-
|
|
112
|
-
Pi's builtin `/settings` cannot be overridden by extensions (a colliding
|
|
113
|
-
command is renamed `/settings:1`); `/config` adds the ceulen modules around
|
|
114
|
-
pi's own settings. Non-TUI shells get a text summary (`/config show`).
|
|
115
|
-
|
|
116
|
-
## Kill-switches
|
|
117
|
-
|
|
118
|
-
In `~/.pi/agent/settings.json` (or a trusted project's `.pi/settings.json`):
|
|
76
|
+
`/ponytail off|lite|full|ultra` switches an over-engineering discipline: simplest solution that works, stdlib first, no speculative abstraction. Also ships `/ponytail-review`, `/ponytail-audit`, `/ponytail-debt`, `/ponytail-gain` skills. Deactivate with `stop ponytail`.
|
|
77
|
+
|
|
78
|
+
### ux — anti-slop UI discipline
|
|
79
|
+
|
|
80
|
+
`/ux off|lite|strict` injects a UI design method (tokens only, full interaction states, no AI-slop tells) for any UI work; `strict` blocks handoff until the deterministic `ux_audit` tool passes (APCA contrast, token, and state gates — no model needed). Ships the `ux-*` skills. Deactivate with `stop ux`.
|
|
81
|
+
|
|
82
|
+
### plan — read-only plan mode
|
|
83
|
+
|
|
84
|
+
`/plan` (or `--plan`, `ctrl+alt+p`) switches a read-only planning mode: research tools and read-only bash run untouched, file mutators hard-block, unknown commands ask first. The agent produces a reviewable plan via `write_plan` and can resolve ambiguities with `ask_user_question`; `/plan-approve current|new` executes it in this session or a fresh one. Plans land in `.pi/plans/` by default — **Save plans** in `/config` → Tasks → Plan mode decides which ones hit disk (`all` drafts, `approved` only finalized ones, `none` conversation-only). Plan-only model/thinking and `/plan-auto` autonomous approval are config rows too.
|
|
85
|
+
|
|
86
|
+
### web — unified web tools
|
|
87
|
+
|
|
88
|
+
`web_search` (adaptive SearXNG → Brave → Firecrawl), `web_extract`, `web_map`, `web_crawl`, `web_screenshot`, `web_pdf`, `web_interact` (real headless-Chrome click/type/evaluate for verifying UI behaviour), `web_research` (Gemini web + Deep Research), `web_image`, `web_chat`, `web_status`. Backend-routing guidance is injected only while a web tool is active.
|
|
89
|
+
|
|
90
|
+
- Config: `/config` → Tools → **Web** — 16 provider rows (endpoints, keys, timeouts, Gemini cookie, image/chat providers). Written to the global `web` settings section and read per tool call, so saves apply without `/reload`; `BRAVE_API_KEY`, `SEARXNG_BASE_URL`, `FIRECRAWL_*`, `CRAWL4AI_*`, `GEMINI_WEB_*`, `ZAI_API_KEY`, `WEB_IMAGE_*`, `WEB_CHAT_*` env vars still win. Secrets are masked. Individual tools toggle from the same section.
|
|
91
|
+
- Static extraction uses vendored readability/turndown (no extra install); `jsdom` and `gemini-reverse` are the module's only runtime dependencies.
|
|
92
|
+
|
|
93
|
+
### serena / fff / rtk — code navigation & search (bundled tools)
|
|
94
|
+
|
|
95
|
+
- **serena** — semantic code tools (find symbol, references, rename, diagnostics) via a persistent language-server worker
|
|
96
|
+
- **fff** — fast fuzzy file/content search (`ffgrep`, `fffind`) feeding the built-in grep/find experience and `@`-mention completions
|
|
97
|
+
- **rtk** — transparently rewrites shell commands to save tokens (`/rtk status`, `RTK_DISABLED=1` to bypass)
|
|
98
|
+
|
|
99
|
+
### config — the settings panel
|
|
100
|
+
|
|
101
|
+
`/config` opens one fullscreen panel covering **pi core settings and every ceulen module**, organized in tabs (Appearance · Model · Interaction · Memory · Context · Shell · Tasks · Providers · Plugins).
|
|
102
|
+
|
|
103
|
+
- Theme and composer changes preview live while you browse; tool toggles apply immediately
|
|
104
|
+
- Module on/off switches and pi-core rows take effect after `/reload`
|
|
105
|
+
- Type any text to fuzzy-search every tab; `Esc` saves and closes
|
|
106
|
+
- Non-TUI contexts get a text summary: `/config show`
|
|
107
|
+
|
|
108
|
+
## Themes
|
|
109
|
+
|
|
110
|
+
104 themes ship with the package — select them in Pi's `/theme` picker or `/config` (Appearance → Theme; previews live). Includes the Ayu/Catppuccin ports and the 100-theme oh-my-pi collection.
|
|
111
|
+
|
|
112
|
+
## Turning modules off
|
|
119
113
|
|
|
120
114
|
```json
|
|
121
|
-
{ "ceulen": { "disabled": ["
|
|
115
|
+
{ "ceulen": { "disabled": ["munin", "ponytail"] } }
|
|
122
116
|
```
|
|
123
117
|
|
|
124
|
-
|
|
118
|
+
In `~/.pi/agent/settings.json` or a trusted project's `.pi/settings.json`. `/ceulen` lists what's active; `/config` toggles the same list. Individual tools can be toggled too (Tools tab). Disabled modules register nothing.
|
|
119
|
+
|
|
120
|
+
The core set — router, usage, ux, classifier, composer, advisor, and the `/config` panel itself — is always on and never appears in the kill-switch list.
|
|
125
121
|
|
|
126
122
|
## License
|
|
127
123
|
|