@hyperdreamer/pi-webui 1.11.0-beta.5 → 1.11.0-beta.6

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.
@@ -53,7 +53,7 @@
53
53
  html, body { margin: 0; height: 100%; overflow: hidden; background: var(--pi-bg); color: var(--pi-text); }
54
54
  body { min-height: 100dvh; }
55
55
  </style>
56
- <script type="module" crossorigin src="./assets/index-CsVTzPPD.js"></script>
56
+ <script type="module" crossorigin src="./assets/index-CcRQiTO_.js"></script>
57
57
  <link rel="modulepreload" crossorigin href="./assets/vendor-editor-core-vUi74DnD.js">
58
58
  <link rel="modulepreload" crossorigin href="./assets/vendor-editor-languages-DoaXUodB.js">
59
59
  <link rel="modulepreload" crossorigin href="./assets/vendor-terminal-D8k4UKM2.js">
package/docs/config.md CHANGED
@@ -237,9 +237,10 @@ In **Settings → Model tiers**, you edit one complete six-rung ladder: `economy
237
237
 
238
238
  Sessions can also use a per-session model policy from the composer:
239
239
 
240
- - **Exact (default):** New root sessions start in Exact mode. It pins the selected provider, model, and thinking level, and keeps the existing provider/model/thinking controls.
241
- - **Tiered:** Use the first composer control, **Mode**, to select Tiered, then choose one of the six ladder tiers. The Tier selector is disabled while Mode is Exact. Tiered remembers both the selected tier and the Exact model/thinking selection, so switching modes does not discard either choice. It shows the resolved model and thinking level instead of editable Exact controls. Saving the policy or creating a root session applies the selected tier's model and thinking-level tuple atomically.
242
- - **Validation and recovery:** Tiered requires a complete, valid six-tier ladder on the selected machine. If a configured model becomes unavailable, authentication no longer permits it, or its thinking level is unsupported, PI WEBUI shows the reason and never silently substitutes a model, tier, or thinking level. If a saved policy cannot be restored, prompts remain blocked until you save an explicit repair; PI WEBUI does not silently reuse an older choice.
240
+ - **Composer controls:** The composer action row has three cascading controls: a mode pill, a mode-dependent second control, and an Exact-only thinking menu. The mode pill opens a two-item mode menu: **Exact model** with the hint "Choose a model and thinking level", and **Tiered** with the hint "Use a configured model tier". A checkmark marks the current mode. There is no policy panel or Save button.
241
+ - **Exact (default):** New root sessions start in Exact mode. The second control is the searchable model picker, and the third is a thinking level menu whose trigger is a bar gauge showing the current level's rank, with the level name in its tooltip. The menu lists levels relevant to the selected model in canonical ascending order: `off`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. A level the model does not support stays visible but dimmed, says `unsupported by this model`, and cannot be selected. An Exact change applies once both a model and a supported thinking level are selected.
242
+ - **Tiered:** In Tiered mode, the second control is a tier menu listing all six ladder tiers. An unusable tier stays visible with its specific reason inline instead of being hidden, and selecting a valid tier applies immediately. No thinking control renders in Tiered mode; it is absent rather than disabled. Switching modes is non-destructive in both directions: the remembered tier and the remembered Exact model/thinking selection stay intact.
243
+ - **Validation and recovery:** Tiered requires a complete, valid six-tier ladder on the selected machine. If a configured model becomes unavailable, authentication no longer permits it, or its thinking level is unsupported, PI WEBUI shows the reason and never silently substitutes a model, tier, or thinking level. If a saved policy cannot be restored, prompts remain blocked until you make an explicit repair; PI WEBUI does not silently reuse an older choice. A machine with no configured model leaves the dependent controls unset with an explanation instead of hiding them. If tier settings cannot be fetched, the options show as unavailable but sending with the session's confirmed tuple remains possible.
243
244
  - **When changes are available:** You can change a policy only while its session is idle and writable. During active work and for archived sessions, the current policy and any block reason remain visible but the controls are disabled. Once the session is idle and writable, a blocked policy remains repairable through an explicit update.
244
245
  - **Availability and compatibility:** Model-policy controls require the `sessions.modelPolicy` capability on both the web process and the session daemon for the selected machine. When that capability is unavailable, PI WEBUI keeps the existing model and thinking controls and hides the additive policy control.
245
246
  - **Starting and persistence:** The selected policy is carried into root-session creation from both the first-prompt and **New Session** paths, persists with that session, and remains selected after a failed creation so a retry uses the same choice.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperdreamer/pi-webui",
3
- "version": "1.11.0-beta.5",
3
+ "version": "1.11.0-beta.6",
4
4
  "description": "Web UI for persistent Pi Coding Agent sessions in real workspaces.",
5
5
  "license": "MIT",
6
6
  "author": "Federico Jaramillo Martinez and HyperDreamer",
@@ -84,9 +84,9 @@
84
84
  },
85
85
  "devDependencies": {
86
86
  "@changesets/cli": "^2.31.0",
87
- "@earendil-works/pi-agent-core": "^0.82.1",
88
- "@earendil-works/pi-ai": "^0.82.1",
89
- "@earendil-works/pi-coding-agent": "^0.82.1",
87
+ "@earendil-works/pi-agent-core": "^0.83.0",
88
+ "@earendil-works/pi-ai": "^0.83.0",
89
+ "@earendil-works/pi-coding-agent": "^0.83.0",
90
90
  "@eslint/js": "^10.0.1",
91
91
  "@types/node": "^24.13.3",
92
92
  "@types/ws": "^8.18.1",
@@ -116,9 +116,9 @@
116
116
  "homepage": "https://pi-webui.dev/",
117
117
  "packageManager": "npm@11.11.0",
118
118
  "peerDependencies": {
119
- "@earendil-works/pi-agent-core": ">=0.82.1 <0.83",
120
- "@earendil-works/pi-ai": ">=0.82.1 <0.83",
121
- "@earendil-works/pi-coding-agent": ">=0.82.1 <0.83"
119
+ "@earendil-works/pi-agent-core": ">=0.83.0 <0.84",
120
+ "@earendil-works/pi-ai": ">=0.83.0 <0.84",
121
+ "@earendil-works/pi-coding-agent": ">=0.83.0 <0.84"
122
122
  },
123
123
  "keywords": [
124
124
  "pi-package",