pantheon-opencode 1.6.3-beta.5 → 1.6.3-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.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
10
10
  <!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
11
11
  move this section to a versioned entry and reset the template below. -->
12
12
 
13
+ ## [v1.6.3-beta.6] - 2026-11-04
14
+
15
+ ### Added
16
+
17
+ - **install** — The setup wizard gains a **decision-layer step**: the shadow gates (`PANTHEON_J1_RISK_SCORE`, `PANTHEON_J3_ESCALATION`) and the specialist-caller allowlist (`athena,themis`) become first-class setup choices, written to `~/.config/pantheon/decision-flags.env` (source it from your shell profile). All advisory/shadow; none change behavior by default. Part of the ratified setup modernization.
18
+
13
19
  ## [v1.6.3-beta.5] - 2026-11-04
14
20
 
15
21
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pantheon-opencode",
3
- "version": "1.6.3-beta.5",
3
+ "version": "1.6.3-beta.6",
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": "1.6.3-beta.5",
4
+ "version": "1.6.3-beta.6",
5
5
  "displayName": "Pantheon",
6
6
  "description": "Conductor-Delegate orchestration platform with 14 specialized agents, 20 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 = "1.6.3-beta.5"
7
+ version = "1.6.3-beta.6"
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
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ import { mkdirSync, writeFileSync } from 'node:fs'
4
+ import { join } from 'node:path'
3
5
  import * as clack from '@clack/prompts'
4
6
  import {
5
7
  createDecisionRouterConfig,
@@ -169,6 +171,48 @@ export async function runInteractiveInstall({
169
171
  if (cancelPrompt(prompts, jevActivation, 'decisionRouter')) {
170
172
  return { canceled: true, cancelPoint: 'decisionRouter' }
171
173
  }
174
+
175
+ // Decision-layer options: the shadow gates and the specialist-caller
176
+ // allowlist are first-class setup choices. The installer writes a flags
177
+ // file the user sources (the host reads these at plugin registration from
178
+ // its own environment — the installer never edits shell profiles silently).
179
+ const jevFlags = await prompts.multiselect({
180
+ message: 'Decision layer extras (all advisory/shadow; none change behavior by default):',
181
+ options: [
182
+ {
183
+ label: 'J1 risk-score shadow gate',
184
+ value: 'PANTHEON_J1_RISK_SCORE=on',
185
+ hint: 'Records a Jev risk-score per exfil-capable tool call; observe-only',
186
+ },
187
+ {
188
+ label: 'J3 escalation shadow classifier',
189
+ value: 'PANTHEON_J3_ESCALATION=on',
190
+ hint: 'Records cheap-vs-main per delegate dispatch; never applies overrides in shadow',
191
+ },
192
+ {
193
+ label: 'Specialist callers: athena + themis (explicit questions)',
194
+ value: 'CALLERS=athena,themis',
195
+ hint: 'Allowlisted specialists may ask bounded Jev questions mid-task; presets stay Zeus-only',
196
+ },
197
+ ],
198
+ required: false,
199
+ initialValues: [],
200
+ })
201
+ if (cancelPrompt(prompts, jevFlags, 'decisionFlags')) {
202
+ return { canceled: true, cancelPoint: 'decisionFlags' }
203
+ }
204
+ if (Array.isArray(jevFlags) && jevFlags.length > 0) {
205
+ const flagsDir = join(process.env.XDG_CONFIG_HOME || `${process.env.HOME}/.config`, 'pantheon')
206
+ mkdirSync(flagsDir, { recursive: true, mode: 0o700 })
207
+ const flagsPath = join(flagsDir, 'decision-flags.env')
208
+ const lines = jevFlags.map((flag) => `export ${flag}`).join('\n')
209
+ writeFileSync(
210
+ flagsPath,
211
+ `# Pantheon decision layer — source from your shell profile
212
+ ${lines}
213
+ `,
214
+ )
215
+ }
172
216
  // Only known targets activate; anything else (a stale stub, a renamed
173
217
  // option) degrades to skip instead of configuring a wrong route.
174
218
  const KNOWN_JEV_TARGETS = new Set(['opencode-console-jev/jev-1.13', 'typesafe-jev/jev-1.14.0'])
@@ -330,7 +330,7 @@ async function readChangelogForBundle(bundleUrl) {
330
330
  }
331
331
  /** The ambient build-time version, or null outside a tsdown build. */
332
332
  function embeddedVersion() {
333
- return "1.6.3-beta.5";
333
+ return "1.6.3-beta.6";
334
334
  }
335
335
  /**
336
336
  * Resolve the running Pantheon version for the what's-new window: the plugin
@@ -3649,7 +3649,7 @@ function Sidebar(props) {
3649
3649
  setProp(_el$12, "width", "100%");
3650
3650
  setProp(_el$12, "padding", 1);
3651
3651
  setProp(_el$13, "attributes", 1);
3652
- insert(_el$13, `Pantheon v1.6.3-beta.5`);
3652
+ insert(_el$13, `Pantheon v1.6.3-beta.6`);
3653
3653
  insert(_el$14, () => presetHeaderLine(model.preset().name ?? "", model.provider()));
3654
3654
  insert(_el$12, createComponent(Show, {
3655
3655
  get when() {
@@ -4370,7 +4370,7 @@ function HomeStatus(props) {
4370
4370
  const muted = () => props.context.theme?.text?.muted ?? props.context.theme?.text?.base;
4371
4371
  return (() => {
4372
4372
  var _el$72 = createElement("text");
4373
- insert(_el$72, () => `Pantheon v1.6.3-beta.5${preset().name ? ` ▸ ${preset().name}` : ""}`);
4373
+ insert(_el$72, () => `Pantheon v1.6.3-beta.6${preset().name ? ` ▸ ${preset().name}` : ""}`);
4374
4374
  effect((_$p) => setProp(_el$72, "fg", muted(), _$p));
4375
4375
  return _el$72;
4376
4376
  })();
@@ -167,7 +167,7 @@ async function detectVersion(api) {
167
167
  if (ver) return ver;
168
168
  }
169
169
  } catch {}
170
- return "1.6.3-beta.5";
170
+ return "1.6.3-beta.6";
171
171
  }
172
172
  /**
173
173
  * usage-bar — AI subscription usage gauge for the opencode TUI.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pantheon-tui",
3
- "version": "1.6.3-beta.5",
3
+ "version": "1.6.3-beta.6",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pantheon-tui",
9
- "version": "1.6.3-beta.5",
9
+ "version": "1.6.3-beta.6",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@opencode-ai/plugin": "1.18.33",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pantheon-tui",
3
3
  "type": "module",
4
- "version": "1.6.3-beta.5",
4
+ "version": "1.6.3-beta.6",
5
5
  "description": "Pantheon TUI plugin — V1 rich sidebar and usage gauges; native V2 status, session and delegation sidebar",
6
6
  "license": "MIT",
7
7
  "engines": {