pantheon-opencode 2.0.0-beta.1 → 2.0.0-beta.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
@@ -66,6 +66,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66
66
  <!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
67
67
  move this section to a versioned entry and reset the template below. -->
68
68
 
69
+ ## [v2.0.0-beta.2] - 2026-11-09
70
+
71
+ ### Added
72
+
73
+ - **tui** — the settings window becomes a sectioned window (`tab` cycles sections): Gates & Overrides, Decision Model, Model Preset, J1 Risk Gate, Updates, Doctor, About
74
+ - **tui** — Decision Model section: enable/disable the decision router live — the runtime re-reads the config on every gated call; egress consent stays CLI-owned and enabling remote candidates without it is refused
75
+ - **tui** — Model Preset section: activate any routing.yml preset globally (atomic write, `.bak` backup); `none` deletes the marker; a project marker wins every runtime candidate list and shows read-only
76
+ - **tui** — J1 Risk Gate status section: ladder mode, enforce threshold, effective gate state — the env-only config is displayed, never written (a file surface is a runtime-plugin change, deferred)
77
+ - **tui** — Updates section: channel classification (prerelease suffix → `beta`), last-check state, and a `Check now` action against the registry dist-tag matching the running channel; a stable install is never advertised a beta
78
+ - **tui** — Doctor section: install-version drift (H2), Node floor, overrides-file validation (K), decision-config health — file-derived checks only; process/network checks stay in `pantheon-opencode doctor`
79
+
80
+ ### Changed
81
+
82
+ - **tui** — the typecheck gate points at real files: the old includes referenced deleted V2 entries, so nothing had been type-checked since the rewrite; the settings modules typecheck under the repo's strict settings and update-notice's latent violations are fixed
83
+
84
+ ### Fixed
85
+
86
+ - **tui** — the settings window is closable again: `dialog.clear()` inside the host's dismissal path re-entered the dialog stack and left the window permanent (beta.1 field report)
87
+ - **tui** — overrides state guards: a corrupt global overrides file refuses writes instead of silently dropping the other entries on the next toggle; `replace` entries survive disable (content preserved) and restore on re-enable; project-file entries show a `(project)` marker and are not togglable from the window
88
+
89
+ &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
90
+ move this section to a versioned entry and reset the template below. --&gt;
69
91
  ## [v2.0.0-beta.1] - 2026-11-08
70
92
 
71
93
  ### Added
package/README.md CHANGED
@@ -158,13 +158,32 @@ see [Quick Start](docs/QUICKSTART.md).
158
158
  "What's new" dialog lists that version's highlights from the shipped
159
159
  changelog — once per version, `esc`/`q` dismisses; see
160
160
  [What's new window](docs/reference/whats-new.md). `/pantheon-settings`
161
- (also `Pantheon: Settings` in the command palette) opens the settings
162
- window: `up`/`down` selects a Pantheon runtime gate, `enter` toggles it —
163
- writing the global `pantheon-overrides.json` the installer and doctor
164
- consume — `tab` flips to the About page, `esc`/`q` closes. The installer
165
- selects the `plugins` component by default; in interactive setup you can
166
- change the component selection. A component-scoped install includes the TUI
167
- only when `plugins` is selected. The TUI ships no quota panel: for provider
161
+ (also `Pantheon: Settings` in the command palette) opens the sectioned
162
+ settings window — `tab` cycles sections, `up`/`down` selects,
163
+ `enter` applies, `esc`/`q` closes:
164
+
165
+ - **Gates & Overrides** — toggle the named behaviors, writing the global
166
+ `pantheon-overrides.json` the installer and doctor consume. A corrupt
167
+ overrides file refuses writes (repair with `doctor --fix`); entries in the
168
+ project `.pantheon/overrides.json` win at runtime and are shown read-only.
169
+ - **Decision Model** — enable/disable the advisory decision router live
170
+ (the runtime re-reads the config per call). Egress consent stays
171
+ CLI-owned (`decision-router setup-model`).
172
+ - **Model Preset** — activate any routing.yml preset globally (atomic
173
+ write with a `.bak` backup); `none` clears the marker. A project
174
+ `.pantheon/active-preset.json` wins and shows read-only.
175
+ - **J1 Risk Gate** — ladder mode/threshold status; env-only config
176
+ (`PANTHEON_J1_*`), read at startup, never written here.
177
+ - **Updates** — channel and a `Check now` registry probe for the running
178
+ channel; adopt with `pantheon-opencode update`.
179
+ - **Doctor** — file-derived health: install-version drift, Node floor,
180
+ overrides and decision-config validation. The full check (MCP smoke,
181
+ venv pins, git) remains `pantheon-opencode doctor`.
182
+
183
+ The installer selects the `plugins` component by default; in interactive
184
+ setup you can change the component selection. A component-scoped install
185
+ includes the TUI only when `plugins` is selected. The TUI ships no quota
186
+ panel: for provider
168
187
  quota and usage inside OpenCode, install the recommended community plugin
169
188
  [`@slkiser/opencode-quota`](https://github.com/slkiser/opencode-quota) — see
170
189
  [Quota & usage](docs/tui-v2-quota-providers.md). `pantheon_cost` and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pantheon-opencode",
3
- "version": "2.0.0-beta.1",
3
+ "version": "2.0.0-beta.2",
4
4
  "description": "Multi-agent orchestration for OpenCode \u2014 14 specialized agents, TDD, Themis review gates.",
5
5
  "type": "module",
6
6
  "workspaces": [
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pantheon",
3
3
  "publisher": "ils15",
4
- "version": "2.0.0-beta.1",
4
+ "version": "2.0.0-beta.2",
5
5
  "displayName": "Pantheon",
6
6
  "description": "Conductor-Delegate orchestration platform with 14 specialized agents, 23 skills, and OpenCode support.",
7
7
  "agents": "./src/agents",
package/pyproject.toml CHANGED
@@ -4,7 +4,7 @@ build-backend = "setuptools.backends._legacy:_Backend"
4
4
 
5
5
  [project]
6
6
  name = "pantheon"
7
- version = "2.0.0-beta.1"
7
+ version = "2.0.0-beta.2"
8
8
  description = "Multi-agent orchestration framework"
9
9
  requires-python = ">=3.11"
10
10
  # Python sources under src/mcp/ import fastmcp/pydantic at runtime, but those
package/src/plugin.ts CHANGED
@@ -95,12 +95,7 @@ import type {
95
95
  ReferenceDraft,
96
96
  } from '@opencode-ai/plugin/v2/promise'
97
97
  import { define } from '@opencode-ai/plugin/v2/promise'
98
- import {
99
- type EffectiveOverrides,
100
- installDecision,
101
- isRuntimeDisabled,
102
- mergeOverrides,
103
- } from './pantheon/behavior-overrides.ts'
98
+ import { type EffectiveOverrides, mergeOverrides } from './pantheon/behavior-overrides.ts'
104
99
  import {
105
100
  BOUNDED_READ_TOOL,
106
101
  createV2BoundedReadTool,
@@ -456,7 +451,7 @@ function loadRuntimeOverrides(): void {
456
451
 
457
452
  function resolveGlobalOverrideDir(): string {
458
453
  const env = process.env.XDG_CONFIG_HOME
459
- const base = env && env.startsWith('/') ? env : path.join(process.env.HOME ?? '', '.config')
454
+ const base = env?.startsWith('/') ? env : path.join(process.env.HOME ?? '', '.config')
460
455
  return path.join(base, 'opencode')
461
456
  }
462
457