pi-advisor-flow 0.5.5 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -1
- package/README.md +1 -1
- package/dist/index.js +5786 -0
- package/extensions/index.ts +9 -9
- package/package.json +16 -10
- package/src/{untracked.ts → attachments.ts} +2 -5
- package/src/commands/activation-preparation.ts +6 -6
- package/src/commands/activation.ts +7 -7
- package/src/commands/lifecycle.ts +5 -5
- package/src/commands/manual-command.ts +13 -9
- package/src/commands/manual-consultation.ts +8 -8
- package/src/commands/manual-progress.ts +3 -3
- package/src/commands/model-commands.ts +6 -6
- package/src/commands/model-options.ts +4 -4
- package/src/commands/model-picker.ts +2 -2
- package/src/commands/registration.ts +8 -8
- package/src/commands/renderers.ts +5 -5
- package/src/commands/runtime.ts +8 -8
- package/src/commands/settings-commands.ts +8 -8
- package/src/commands/settings-persistence.ts +4 -4
- package/src/commands/types.ts +5 -13
- package/src/commands.ts +2 -2
- package/src/config/args.ts +3 -3
- package/src/config/defaults.ts +3 -3
- package/src/config/schema.ts +322 -0
- package/src/config/state.ts +2 -2
- package/src/config/storage.ts +113 -103
- package/src/config/types.ts +1 -1
- package/src/config/validation.ts +61 -181
- package/src/config.ts +7 -7
- package/src/content-utils.ts +30 -0
- package/src/conversation.ts +13 -168
- package/src/git.ts +4 -18
- package/src/herdr.ts +6 -8
- package/src/model-stream.ts +5 -8
- package/src/outcomes.ts +2 -5
- package/src/pi-settings.ts +59 -0
- package/src/preferences.ts +2 -2
- package/src/redaction.ts +50 -0
- package/src/scout-context.ts +121 -485
- package/src/scout-curation.ts +84 -0
- package/src/scout-groups.ts +485 -0
- package/src/scout-protocol.ts +122 -0
- package/src/scout-reconstruct.ts +44 -0
- package/src/scout-types.ts +66 -0
- package/src/scout.ts +53 -63
- package/src/session-state.ts +119 -76
- package/src/tool-result-cap.ts +88 -0
- package/src/tools/consult-context.ts +155 -0
- package/src/tools/consultation.ts +71 -220
- package/src/tools/gate-policy.ts +5 -5
- package/src/tools/gate-protocol.ts +2 -2
- package/src/tools/loop-gate.ts +70 -61
- package/src/tools/prompts.ts +4 -7
- package/src/tools/register-ask-advisor.ts +9 -14
- package/src/tools/register-lifecycle.ts +7 -7
- package/src/tools/register-outcome.ts +5 -5
- package/src/tools/register-renderers.ts +5 -5
- package/src/tools/registration.ts +10 -10
- package/src/tools/render-advisor-result.ts +11 -8
- package/src/tools/render-common.ts +25 -13
- package/src/tools/scout-status.ts +5 -5
- package/src/tools/session.ts +1 -1
- package/src/tools/types.ts +7 -7
- package/src/tools.ts +9 -9
- package/src/ui/manual-dialog-render.ts +10 -3
- package/src/ui/manual-dialog.ts +4 -9
- package/src/ui/model-selector.ts +7 -6
- package/src/ui/settings-formatting.ts +2 -2
- package/src/ui/settings-items.ts +4 -4
- package/src/ui/settings-mutations.ts +2 -2
- package/src/ui/settings-selector.ts +5 -5
- package/src/ui/text-setting-submenu.ts +6 -1
- package/src/ui/types.ts +2 -2
- package/src/ui.ts +4 -4
- package/src/usage.ts +1 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented here.
|
|
4
4
|
|
|
5
|
-
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
5
|
+
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0/).
|
|
6
|
+
|
|
7
|
+
## 0.6.0 - 2026-09-12
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Advisor and Scout thinking previews now respect Pi's `hide_thinking` setting, collapsing to a one-line `Thinking…` cue the way Pi renders the Executor's own hidden thinking.
|
|
12
|
+
- The `ask_advisor` result no longer renders a doubled blank gap between the request and the first Scout line; the result box's own top padding was stacking on the call box's padding.
|
|
13
|
+
- Session summaries keep the cumulative gate-intervention count when the loop gate resets repetition after a proceed decision.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Advisor thinking previews no longer render the 💭 emoji; the cue is a plain indented, italic line.
|
|
18
|
+
- Internal code-quality remediation with no behavior change: Biome scanner rules (`noConsole`, `noFloatingPromises`, `noPrivateImports`, `noUndeclaredDependencies`, `useImportExtensions`) activated and all import specifiers normalized to `.ts`; knip-verified dead exports removed; `src/untracked.ts` renamed to `src/attachments.ts` (deep imports of the old path must switch; the four `src/config.ts`, `src/ui.ts`, `src/tools.ts`, and `src/commands.ts` facades are unchanged and now pinned by `test/facade-exports.test.ts`); the registration test suite split into fifteen focused files under 500 lines each with shared mock/config/harness helpers; Scout context building decomposed into `scout-types`, `scout-protocol`, `scout-groups`, and `scout-reconstruct` modules with a single invalid-protocol failure constructor; configuration key lists derived from one declarative `src/config/schema.ts` table; conversation redaction and tool-result capping extracted into `redaction.ts` and `tool-result-cap.ts` with linear-time byte capping; and repeated cancellation/teardown/fallback blocks collapsed in the Scout runner.
|
|
19
|
+
|
|
20
|
+
## 0.5.6 - 2026-09-11
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- Preserve manual `advisor.json` edits when unrelated settings are saved.
|
|
25
|
+
- Bundle the published extension entry so Node's loader shares configuration state.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- Raised the Pi compatibility dev/test baseline to 0.85.1 and widened the peer ranges to `^0.84.1 || ^0.85.1`, keeping Pi 0.84.x supported while excluding Pi 0.85.0, whose undeclared `/server` import broke extension loading.
|
|
30
|
+
- The model picker frames its list with single border rules matching the other Advisor surfaces, normalizes every rendered line to the terminal width so long model identifiers no longer wrap the layout, and dims its hint row like the other hint rows.
|
|
31
|
+
- The `/advisor-manual` dialog centers its Submit and Cancel buttons between the dialog borders at supported overlay widths.
|
|
32
|
+
- Settings text submenus clear a validation error as soon as the value changes instead of leaving it until the next submit.
|
|
6
33
|
|
|
7
34
|
## 0.5.5 - 2026-09-08
|
|
8
35
|
|
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ Regular consultations never block execution. Automatic loop gates are different:
|
|
|
38
38
|
|
|
39
39
|
## Install
|
|
40
40
|
|
|
41
|
-
Requires Pi 0.84.1 or later.
|
|
41
|
+
Requires Pi 0.84.1 or later. Pi 0.85.0 is not supported (broken upstream release); use Pi 0.85.1 or later instead.
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
44
|
pi install npm:pi-advisor-flow
|