@caupulican/pi-adaptative 0.80.94 → 0.80.96
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 +34 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +39 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/models/fitness-store.d.ts +2 -0
- package/dist/core/models/fitness-store.d.ts.map +1 -1
- package/dist/core/models/fitness-store.js +10 -0
- package/dist/core/models/fitness-store.js.map +1 -1
- package/dist/core/models/local-registration.d.ts +18 -0
- package/dist/core/models/local-registration.d.ts.map +1 -0
- package/dist/core/models/local-registration.js +83 -0
- package/dist/core/models/local-registration.js.map +1 -0
- package/dist/core/models/local-runtime.d.ts +84 -0
- package/dist/core/models/local-runtime.d.ts.map +1 -0
- package/dist/core/models/local-runtime.js +219 -0
- package/dist/core/models/local-runtime.js.map +1 -0
- package/dist/core/models/model-ref.d.ts +19 -0
- package/dist/core/models/model-ref.d.ts.map +1 -0
- package/dist/core/models/model-ref.js +61 -0
- package/dist/core/models/model-ref.js.map +1 -0
- package/dist/core/slash-commands.d.ts.map +1 -1
- package/dist/core/slash-commands.js +4 -0
- package/dist/core/slash-commands.js.map +1 -1
- package/dist/core/toolkit/reflex-interpreter.d.ts +28 -0
- package/dist/core/toolkit/reflex-interpreter.d.ts.map +1 -0
- package/dist/core/toolkit/reflex-interpreter.js +62 -0
- package/dist/core/toolkit/reflex-interpreter.js.map +1 -0
- package/dist/core/tools/run-toolkit-script.d.ts +8 -0
- package/dist/core/tools/run-toolkit-script.d.ts.map +1 -1
- package/dist/core/tools/run-toolkit-script.js +21 -3
- package/dist/core/tools/run-toolkit-script.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +7 -0
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +175 -0
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/npm-shrinkwrap.json +12 -12
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
## [0.80.96] - 2026-07-02
|
|
2
|
+
|
|
3
|
+
### Added
|
|
4
|
+
|
|
5
|
+
- Added routed-turn capability tool filtering (G4): when the model router swaps a turn to a
|
|
6
|
+
cheaper model, the tool surface now follows the ROUTED model's capability class for that turn
|
|
7
|
+
(an 8k local model no longer inherits — and pays schema tokens for — background-autonomy tools
|
|
8
|
+
it cannot drive), restored with the session model afterwards.
|
|
9
|
+
- Added the reflex brain to `run_toolkit_script`: when the deterministic Level-0 matcher is
|
|
10
|
+
ambiguous ("prepare db" vs "update db"), a fitness-gated local interpreter model (validated
|
|
11
|
+
10/10 on the hard registry) resolves the request into a registry pick with extracted args —
|
|
12
|
+
confidence-gated, registry-validated, and advisory only: danger confirmation and the structural
|
|
13
|
+
execution contract apply identically to brain-selected scripts, and an absent/unfit/unconfident
|
|
14
|
+
brain keeps today's shortlist behavior byte-for-byte. Brain spend is usage-accounted
|
|
15
|
+
("toolkit-brain").
|
|
16
|
+
|
|
17
|
+
## [0.80.95] - 2026-07-02
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Added `/models`, the local model lifecycle (install -> spawn -> probe -> consume -> uninstall):
|
|
22
|
+
`/models add <ref>` accepts an ollama tag, an `hf.co/org/repo[:quant]` GGUF ref, a full
|
|
23
|
+
HuggingFace URL, or a pasted `ollama pull ...` install command (parsed for its reference, never
|
|
24
|
+
executed as shell) — pi starts its own health-checked server with OWNED model storage under
|
|
25
|
+
`<agentDir>/models/ollama` (hardened env; an already-running system server is used instead, with
|
|
26
|
+
the storage tradeoff surfaced), pulls with streamed progress, registers the model in models.json
|
|
27
|
+
so `ollama/<ref>` resolves everywhere (session, lanes, judge, curator) across sessions, and
|
|
28
|
+
auto-runs the fitness probe with one-step role assignment. `/models list` shows installed models
|
|
29
|
+
with real sizes and cached fitness summaries; `/models stop` stops the pi-managed server
|
|
30
|
+
(resource hygiene, deletes nothing). Removal is an EXPLICIT user action only — `/models remove
|
|
31
|
+
<ref>` first discloses exactly what gets deleted (weights + size, registration, fitness report)
|
|
32
|
+
and requires the confirm token; pi never removes a model on its own. Hand-authored models.json
|
|
33
|
+
files with comments are never rewritten (a manual snippet is offered instead).
|
|
34
|
+
|
|
1
35
|
## [0.80.94] - 2026-07-02
|
|
2
36
|
|
|
3
37
|
### Fixed
|