@hk_net/pi-advisor 0.1.9 → 0.1.10
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 +107 -101
- package/LICENSE +290 -290
- package/README.md +193 -193
- package/advisor.ts +1113 -1113
- package/package.json +56 -56
package/CHANGELOG.md
CHANGED
|
@@ -1,101 +1,107 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## 0.1.
|
|
4
|
-
|
|
5
|
-
### Changed
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
-
|
|
43
|
-
|
|
44
|
-
## 0.1.
|
|
45
|
-
|
|
46
|
-
### Changed
|
|
47
|
-
|
|
48
|
-
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
-
|
|
57
|
-
|
|
58
|
-
## 0.1.
|
|
59
|
-
|
|
60
|
-
### Changed
|
|
61
|
-
|
|
62
|
-
- Bumped
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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
|
-
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.10 - 2026-08-27
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Verify development, type compatibility, and tests against Pi SDK 0.84.3 while retaining runtime compatibility with Pi 0.84.1 and newer.
|
|
8
|
+
|
|
9
|
+
## 0.1.9 - 2026-08-23
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Add the copyright holder and EUPL licensing notice to the package license and canonical TypeScript source.
|
|
14
|
+
- Identify KAPPER NETWORK-COMMUNICATIONS GmbH and kapper.net in the npm author metadata.
|
|
15
|
+
|
|
16
|
+
## 0.1.8 - 2026-08-23
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Mark Pi's host-provided SDK packages as optional wildcard peers so npm does not install a redundant Pi SDK dependency tree.
|
|
21
|
+
- Verify development and tests against Pi SDK 0.84.2 while retaining runtime compatibility with Pi 0.84.1 and newer.
|
|
22
|
+
- Refine advisor tool guidance so non-trivial tasks require a review at an evidence-backed checkpoint before the final answer without encouraging an immediate first-action call.
|
|
23
|
+
- Make reviewer responses checkpoint-aware, evidence-grounded, and limited to a verdict plus three prioritized actions.
|
|
24
|
+
- Prevent `/advisor` from writing project-scoped configuration until Pi trusts the project.
|
|
25
|
+
- Run `onDone` review only after Pi fully settles retries, compaction recovery, and queued continuations.
|
|
26
|
+
- Write advisor configuration atomically with owner-only file permissions where supported.
|
|
27
|
+
- Document that the individual package and GitHub bundle must not be installed together.
|
|
28
|
+
|
|
29
|
+
## 0.1.7 - 2026-08-13
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- Raise the Pi peer dependency minimum to 0.84.1 and verify compatibility with that release.
|
|
34
|
+
- Accept Pi 0.84.1 provider headers that suppress defaults with `null` values.
|
|
35
|
+
- Refresh the repository lockfile to remove known dependency vulnerabilities.
|
|
36
|
+
|
|
37
|
+
## 0.1.6 - 2026-07-21
|
|
38
|
+
|
|
39
|
+
### Changed
|
|
40
|
+
|
|
41
|
+
- Raise the Pi peer dependency minimum to 0.81.1 and verify compatibility with that release.
|
|
42
|
+
- Update the repository lockfile to Pi's packaged `brace-expansion` 5.0.7 dependency.
|
|
43
|
+
|
|
44
|
+
## 0.1.5 - 2026-07-20
|
|
45
|
+
|
|
46
|
+
### Changed
|
|
47
|
+
|
|
48
|
+
- Correct and clarify the current Pi compatibility and autocomplete documentation.
|
|
49
|
+
|
|
50
|
+
## 0.1.4 - 2026-07-20
|
|
51
|
+
|
|
52
|
+
### Changed
|
|
53
|
+
|
|
54
|
+
- Derive advisor thinking-level choices from Pi's supported levels for the selected reviewer model.
|
|
55
|
+
- Add `max` support where the selected reviewer model exposes it.
|
|
56
|
+
- Improve `/advisor` autocomplete: `/adviso...` completes without a trailing space; model completion leads to that model's thinking-level picker; `on-done` and `when-stuck` open their value pickers directly.
|
|
57
|
+
|
|
58
|
+
## 0.1.3 - 2026-06-24
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
|
|
62
|
+
- Bumped pi peer dependencies to `>=0.80.2`.
|
|
63
|
+
|
|
64
|
+
## 0.1.2 - 2026-06-23
|
|
65
|
+
|
|
66
|
+
### Changed
|
|
67
|
+
|
|
68
|
+
- Bumped package and pi peer/dev dependencies to `0.80.1`.
|
|
69
|
+
- Updated advisor completion calls to import the compatibility helper from `@earendil-works/pi-ai/compat`, matching pi-ai `0.80.1`.
|
|
70
|
+
|
|
71
|
+
## 0.1.1
|
|
72
|
+
|
|
73
|
+
### Changed
|
|
74
|
+
|
|
75
|
+
- Bumped package and pi peer/dev dependencies to `0.79.1`.
|
|
76
|
+
- Added pi `0.79.1` autocomplete-provider integration for `/advisor ...` and `/advise ...` arguments.
|
|
77
|
+
- Honor pi project trust for project-local `.pi/advisor.json`; untrusted projects cannot silently configure advisor or enable auto-triggers.
|
|
78
|
+
|
|
79
|
+
## 0.1.0
|
|
80
|
+
|
|
81
|
+
### Added
|
|
82
|
+
|
|
83
|
+
- Initial release of pi-advisor
|
|
84
|
+
- Added runtime config validation and pure-helper tests
|
|
85
|
+
|
|
86
|
+
### Fixed
|
|
87
|
+
|
|
88
|
+
- Retry advisor once with visible-text-only prompting when the reviewer returns reasoning-only output, and show diagnostics instead of the vague "returned no text" placeholder
|
|
89
|
+
- Treat `timeoutMs: 0` as provider-default timeout when calling the reviewer model
|
|
90
|
+
- Remove arbitrary 120-char truncation from loop-detection fingerprint
|
|
91
|
+
- Reorder /advise autocomplete — steer/pipe before show
|
|
92
|
+
- Robust arg parsing in /advisor autocomplete
|
|
93
|
+
|
|
94
|
+
### Changed
|
|
95
|
+
|
|
96
|
+
- Require an explicitly configured advisor model before sending transcripts; removed implicit latest-GPT/current-model fallback
|
|
97
|
+
- Documented `/advise` default injection behavior and named transcript truncation limits
|
|
98
|
+
- Hardened the reviewer prompt against transcript-borne prompt injection
|
|
99
|
+
- Made /advisor model selection scrollable so long model lists stay within the terminal view
|
|
100
|
+
- Refreshed the model registry before listing and resolving advisor models so OAuth/subscription-backed providers added via /login are selectable
|
|
101
|
+
- Allowed advisor model resolution and execution to use header-only auth as well as API-key auth
|
|
102
|
+
- Changed /advise so its default show mode is clearly UI-only and not presented as model-injected chat content; added pipe and steer modes to feed advisor feedback into the active conversation
|
|
103
|
+
- Added loop detection to when-stuck trigger
|
|
104
|
+
- Clarified /advisor opens interactive model picker + thinking-level selection
|
|
105
|
+
- Split /advisor none/default into two lines
|
|
106
|
+
- Merged /advisor picker rows into single line
|
|
107
|
+
- Updated /advisor when-stuck table row to mention loop detection
|