pantheon-opencode 1.6.3-beta.14 → 1.6.3-beta.15

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,11 @@ 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.15] - 2026-11-05
14
+
15
+ ## 🆕 What's New
16
+ - "Agent not found" fixed: the installer stops writing the cwd-relative agent `source` provenance and heals it away from existing installs — the host 2.2.5 resolved it against the session cwd and the whole roster vanished outside the config dir.
17
+
13
18
  ## [v1.6.3-beta.14] - 2026-11-05
14
19
 
15
20
  ## 🆕 What's New
@@ -71,6 +71,11 @@ function readArgValue(name) {
71
71
  return undefined
72
72
  }
73
73
 
74
+ /** Render a cap in a repair hint without changing the validator's grammar. */
75
+ function formatUsdCapForRepair(value) {
76
+ return typeof value === 'string' && /^\.\d+$/.test(value) ? `0${value}` : value
77
+ }
78
+
74
79
  function printUsage() {
75
80
  console.log('Pantheon OpenCode — Multi-agent orchestration platform')
76
81
  console.log('')
@@ -994,6 +999,8 @@ async function main() {
994
999
  const monthly = readArgValue('--decision-monthly-usd') ?? wizardActivation?.monthly ?? '5'
995
1000
  const perDecision =
996
1001
  readArgValue('--decision-per-decision-usd') ?? wizardActivation?.perDecision ?? '0.10'
1002
+ const repairMonthly = formatUsdCapForRepair(monthly)
1003
+ const repairPerDecision = formatUsdCapForRepair(perDecision)
997
1004
  const noConsent = process.argv.includes('--decision-no-consent')
998
1005
  console.log('')
999
1006
  if (isDryRun) {
@@ -1019,7 +1026,7 @@ async function main() {
1019
1026
  ` ${S.jevConfigureFailed(error instanceof Error ? error.message : String(error))}`,
1020
1027
  )
1021
1028
  console.error(
1022
- ` Fix later with: npx pantheon-opencode decision-router setup-model ${decisionTarget} ${decisionTarget.startsWith('cloudflare-workers-jev/') ? '--account-id=<32-hex-id> ' : ''}--monthly-usd ${monthly} --per-decision-usd ${perDecision}`,
1029
+ ` Fix later with: npx pantheon-opencode decision-router setup-model ${decisionTarget} ${decisionTarget.startsWith('cloudflare-workers-jev/') ? '--account-id=<32-hex-id> ' : ''}--monthly-usd ${repairMonthly} --per-decision-usd ${repairPerDecision}`,
1023
1030
  )
1024
1031
  }
1025
1032
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pantheon-opencode",
3
- "version": "1.6.3-beta.14",
3
+ "version": "1.6.3-beta.15",
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.14",
4
+ "version": "1.6.3-beta.15",
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.14"
7
+ version = "1.6.3-beta.15"
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
@@ -2600,20 +2600,6 @@ async function installPass(
2600
2600
  // A. Parse canonical agent config from src/agents/*.md frontmatter
2601
2601
  // and merge into opencode.json config.
2602
2602
  // --------------------------------------------------------------------
2603
- function getAgentSources(agentPrefix) {
2604
- const agentsDir = join(ROOT, 'src', 'agents')
2605
- if (!existsSync(agentsDir)) return {}
2606
- const sources = {}
2607
- const files = readdirSync(agentsDir).filter(
2608
- (f) => (f.endsWith('.agent.md') || f.endsWith('.md')) && f.toLowerCase() !== 'readme.md',
2609
- )
2610
- for (const f of files) {
2611
- const name = f.replace(/\.(agent\.)?md$/, '')
2612
- sources[name] = `${agentPrefix}/${name}.md`
2613
- }
2614
- return sources
2615
- }
2616
-
2617
2603
  function readAgentConfigFromCanonical() {
2618
2604
  const agentsDir = join(ROOT, 'src', 'agents')
2619
2605
  if (!existsSync(agentsDir)) return {}
@@ -2664,8 +2650,6 @@ async function installPass(
2664
2650
  const configuredMcpServersForPolicies =
2665
2651
  version === 'v2' ? configuredMcpServerNames(config.mcp) : []
2666
2652
  const canonicalAgentConfig = readAgentConfigFromCanonical()
2667
- const agentSources = getAgentSources(agentPrefix)
2668
-
2669
2653
  if (config.agent === undefined) config.agent = {}
2670
2654
 
2671
2655
  if (config.agent && typeof config.agent === 'object' && !Array.isArray(config.agent)) {
@@ -2678,7 +2662,12 @@ async function installPass(
2678
2662
  // Preserve user-customized fields (model, provider, mcp, etc.)
2679
2663
  const existing = config.agent[agentName]
2680
2664
  if (!existing || typeof existing !== 'object' || Array.isArray(existing)) continue
2681
- if (agentSources[agentName]) existing.source = agentSources[agentName]
2665
+ // HEAL: older installs wrote `source: "agents/<name>.md"` (cwd-relative
2666
+ // provenance). Host 2.2.5 resolves that path against the SESSION cwd,
2667
+ // so every agent vanished outside the config dir (field report
2668
+ // beta.14: "Agent not found: zeus"). The host loads agents from the
2669
+ // agents directory without this field — remove it wherever found.
2670
+ delete existing.source
2682
2671
  for (const field of MANAGED_FIELDS) {
2683
2672
  if (field in agentCfg) {
2684
2673
  existing[field] = JSON.parse(JSON.stringify(agentCfg[field]))
@@ -2689,7 +2678,6 @@ async function installPass(
2689
2678
  } else {
2690
2679
  // ── New agent ──
2691
2680
  const newAgent = {}
2692
- if (agentSources[agentName]) newAgent.source = agentSources[agentName]
2693
2681
  if (agentCfg.description) newAgent.description = agentCfg.description
2694
2682
 
2695
2683
  // Copy all framework-managed fields from canonical config
@@ -367,7 +367,7 @@ async function readChangelogForBundle(bundleUrl) {
367
367
  }
368
368
  /** The ambient build-time version, or null outside a tsdown build. */
369
369
  function embeddedVersion() {
370
- return "1.6.3-beta.13";
370
+ return "1.6.3-beta.14";
371
371
  }
372
372
  /**
373
373
  * Resolve the running Pantheon version for the what's-new window: the plugin
@@ -3752,7 +3752,7 @@ function Sidebar(props) {
3752
3752
  setProp(_el$12, "width", "100%");
3753
3753
  setProp(_el$12, "padding", 1);
3754
3754
  setProp(_el$13, "attributes", 1);
3755
- insert(_el$13, `Pantheon v1.6.3-beta.13`);
3755
+ insert(_el$13, `Pantheon v1.6.3-beta.14`);
3756
3756
  insert(_el$14, () => presetHeaderLine(model.preset().name ?? "", model.provider()));
3757
3757
  insert(_el$12, createComponent(Show, {
3758
3758
  get when() {
@@ -4473,7 +4473,7 @@ function HomeStatus(props) {
4473
4473
  const muted = () => props.context.theme?.text?.muted ?? props.context.theme?.text?.base;
4474
4474
  return (() => {
4475
4475
  var _el$72 = createElement("text");
4476
- insert(_el$72, () => `Pantheon v1.6.3-beta.13${preset().name ? ` ▸ ${preset().name}` : ""}`);
4476
+ insert(_el$72, () => `Pantheon v1.6.3-beta.14${preset().name ? ` ▸ ${preset().name}` : ""}`);
4477
4477
  effect((_$p) => setProp(_el$72, "fg", muted(), _$p));
4478
4478
  return _el$72;
4479
4479
  })();
@@ -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.13";
170
+ return "1.6.3-beta.14";
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.14",
3
+ "version": "1.6.3-beta.15",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pantheon-tui",
9
- "version": "1.6.3-beta.14",
9
+ "version": "1.6.3-beta.15",
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.14",
4
+ "version": "1.6.3-beta.15",
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": {