pi-advisor-flow 0.12.1-dev.1 → 0.12.1-dev.2

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 CHANGED
@@ -6,8 +6,13 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ### Added
10
+
11
+ - Added a **Jev provider** row in `/advisor-settings` that owns the screening and turn-gate provider, including a new System One–compatible option for pointing pi-advisor at any deployment that speaks TypeSafe's System One contract — your own gateway, a third-party compatible host, or a decision model running on `localhost`. Set `advisorJevBaseUrl` to the endpoint root (`/v1/systemone` is appended) and supply its key either from `JEV_API_KEY`, the guided secure store, or an existing Pi provider login via `advisorJevKeyProvider`. The provider is live-verified before it is saved.
12
+
9
13
  ### Changed
10
14
 
15
+ - Jev/Decisions provider selection moved out of the consultation-filter row into its own row, so the provider can be configured and verified without enabling screening. The filter row now only switches the filter on and off, and it refuses to enable while no provider resolves. `AdvisorSettingsSelectorOptions` gained `onJevFilter` and `onJevProvider` for the two rows; the combined `onJevSetup` is deprecated and is still called when neither is supplied.
11
16
  - Updated Pi development dependencies to 1.1.0 and refreshed transitive dependency versions.
12
17
 
13
18
  ## 0.12.0 - 2026-10-07
package/README.md CHANGED
@@ -30,7 +30,7 @@ Keep implementation on a fast model and borrow frontier reasoning only when deci
30
30
  - **Optional persistent activation, Simple mode, session summaries, and Herdr integration.**
31
31
  - **Compact searchable `/advisor-settings`** that matches Pi's settings list and saves changes immediately.
32
32
  - **Experimental Advisor Scout** that uses the configured Executor model to curate conversation evidence before every Advisor call.
33
- - **Optional Jev/Decisions consultation filter and proactive turn gate**: typed screening can skip low-stakes, self-answerable consultations or proactively pull in the Advisor. Choose TypeSafe, an existing OpenRouter login, or OpenAI Decisions (`gpt-6-luna`; `advisorJevTransport: "openai-decisions"`) in guided setup. The default `auto` order remains TypeSafe → OpenRouter; OpenAI Decisions requires an OpenAI Platform API key, not ChatGPT subscription OAuth. Guided setup stores entered keys securely. Both features are off by default.
33
+ - **Optional Jev/Decisions consultation filter and proactive turn gate**: typed screening can skip low-stakes, self-answerable consultations or proactively pull in the Advisor. The **Jev provider** row in `/advisor-settings` chooses TypeSafe, an existing OpenRouter login, OpenAI Decisions (`gpt-6-luna`; `advisorJevTransport: "openai-decisions"`), or any System One–compatible endpoint of your own (`advisorJevBaseUrl`) — a corporate gateway, a compatible third-party host, or a decision model on `localhost`. Every provider is live-verified before it is saved, and `auto` never picks the custom endpoint; OpenAI Decisions requires an OpenAI Platform API key, not ChatGPT subscription OAuth. Guided setup stores entered keys securely. Both features are off by default.
34
34
 
35
35
  ## How it works
36
36
 
@@ -124,7 +124,7 @@ Draft text is explicit disclosure: it does **not** inherit the policies of the t
124
124
 
125
125
  Advisor responses show provider-reported input, output, cache, and cost details when available. Successful `ask_advisor` calls also carry normalized usage into Pi's built-in `/cost` totals. Manual consultations and automatic gates keep their own session-local accounting instead, so nothing is double-counted. Missing or partial provider usage is shown as unavailable rather than fabricated as zero. `/advisor-settings` controls both the per-response details and the optional cumulative footer independently. Configure `advisorFallbackModel` or choose **Fallback Advisor model** in the model/settings pickers to retry one failed primary request; the final response is labelled with the model that answered, and both failures are shown together.
126
126
 
127
- Jev/Decisions token usage stays in local session summaries. TypeSafe/OpenRouter costs use the configurable estimate; OpenAI Decisions token counts are recorded with cost shown as unavailable until endpoint-specific billing is confirmed.
127
+ Jev/Decisions token usage stays in local session summaries. TypeSafe/OpenRouter/System One–compatible costs use the configurable estimate; OpenAI Decisions token counts are recorded with cost shown as unavailable until endpoint-specific billing is confirmed.
128
128
 
129
129
  A follow-up reuses only the original post-redaction payload in memory. It expires after five minutes, is cleared by a new user turn or three subsequent non-Advisor tool results, and allows at most three chained follow-ups. Use a fresh consultation when it expires or when you need new repository context or attachments.
130
130