pantheon-opencode 1.6.3-beta.12 → 1.6.3-beta.13

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,14 @@ 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.13] - 2026-11-05
14
+
15
+ ## 🆕 What's New
16
+ - One coherent setup summary: a single closing block instead of two competing "Next steps" lists.
17
+ - Warnings restate their text inline — no more hunting for what scrolled past.
18
+ - The worktree guidance box is project-only (a global install from $HOME showed a nonsense path).
19
+ - The banner now prints the exact `source` line for the decision-layer flags file — the silent-off gap fixed.
20
+
13
21
  ## [v1.6.3-beta.12] - 2026-11-05
14
22
 
15
23
  ## 🆕 What's New
@@ -1064,10 +1064,33 @@ async function main() {
1064
1064
  console.log(` ${S.nextVerify}`)
1065
1065
  console.log(` ${S.nextLaunch}`)
1066
1066
  console.log(` ${S.nextAgents}`)
1067
- console.log(` ${S.nextProject}`)
1067
+ if (!isProject) {
1068
+ // The project-local hint only matters when this install was not one.
1069
+ console.log(` ${S.nextProject}`)
1070
+ }
1068
1071
  if (!decisionTarget) {
1069
1072
  console.log(` ${S.nextJev}`)
1070
1073
  }
1074
+ // The decision-layer extras (J1/J3/specialist callers) write an env file;
1075
+ // without sourcing it the gates stay off silently — the exact gap the
1076
+ // field hit on the beta.12 setup pass.
1077
+ try {
1078
+ const { existsSync } = await import('node:fs')
1079
+ const flagsPath = path.join(
1080
+ process.env.XDG_CONFIG_HOME ?? path.join(process.env.HOME ?? '', '.config'),
1081
+ 'pantheon',
1082
+ 'decision-flags.env',
1083
+ )
1084
+ if (existsSync(flagsPath)) {
1085
+ console.log('')
1086
+ console.log(' Decision-layer flags (J1/J3/specialist callers):')
1087
+ console.log(
1088
+ ` source ${flagsPath} # add to your shell profile; applies to NEW opencode sessions`,
1089
+ )
1090
+ }
1091
+ } catch {
1092
+ // Hint is best-effort; never fail the install over it.
1093
+ }
1071
1094
  console.log('')
1072
1095
 
1073
1096
  return
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pantheon-opencode",
3
- "version": "1.6.3-beta.12",
3
+ "version": "1.6.3-beta.13",
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.12",
4
+ "version": "1.6.3-beta.13",
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.12"
7
+ version = "1.6.3-beta.13"
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
@@ -386,8 +386,9 @@ export function printWorktreeGuidance({
386
386
  projectRoot = process.cwd(),
387
387
  interactive = false,
388
388
  dryRun = false,
389
+ enabled = true,
389
390
  } = {}) {
390
- if (!interactive || dryRun || !tty()) return
391
+ if (!interactive || dryRun || !tty() || enabled === false) return
391
392
 
392
393
  const recommendation = getWorktreeRecommendation(projectRoot)
393
394
  const rows = [
@@ -1427,6 +1427,8 @@ export function setupRuntimePhase(
1427
1427
  error(S.runtimeFailed(err.message))
1428
1428
  warning(S.runtimeSkippedMcp)
1429
1429
  stats.warnings += 1
1430
+ if (!Array.isArray(stats.warningMessages)) stats.warningMessages = []
1431
+ stats.warningMessages.push(S.runtimeSkippedMcp)
1430
1432
  stats.errors += 1
1431
1433
  return false
1432
1434
  }
@@ -2406,6 +2408,10 @@ async function installPass(
2406
2408
  // payload and the host config are already in place.
2407
2409
  warning(`Could not disable the builtin Context sidebar block: ${cause.message}`)
2408
2410
  stats.warnings++
2411
+ if (!Array.isArray(stats.warningMessages)) stats.warningMessages = []
2412
+ stats.warningMessages.push(
2413
+ `Could not disable the builtin Context sidebar block: ${cause.message}`,
2414
+ )
2409
2415
  }
2410
2416
  }
2411
2417
  if (componentSet.has('plugins')) advancePhase()
@@ -3091,6 +3097,8 @@ async function installPass(
3091
3097
  for (const message of mcp.warnings ?? []) {
3092
3098
  warning(message)
3093
3099
  stats.warnings += 1
3100
+ if (!Array.isArray(stats.warningMessages)) stats.warningMessages = []
3101
+ stats.warningMessages.push(message)
3094
3102
  }
3095
3103
  }
3096
3104
 
@@ -3421,19 +3429,27 @@ async function installPass(
3421
3429
  process.stdout.write(` [OK] ${created} component(s) installed\n`)
3422
3430
  if (skipped > 0)
3423
3431
  process.stdout.write(` ${colors.dim('\u2014')} ${skipped} already up-to-date\n`)
3424
- if (warnings > 0)
3432
+ // The warning TEXT restates here — the count alone sent users to doctor to
3433
+ // learn what had already scrolled past.
3434
+ for (const message of stats.warningMessages ?? []) {
3435
+ process.stdout.write(` [WARN] ${message}\n`)
3436
+ }
3437
+ if (warnings > 0 && (stats.warningMessages ?? []).length === 0) {
3438
+ process.stdout.write(` [WARN] ${warnings} warning(s)\n`)
3439
+ }
3440
+ if (warnings > 0) {
3425
3441
  process.stdout.write(
3426
- ` [WARN] ${warnings} warning(s) — run 'pantheon-opencode doctor' for details\n`,
3442
+ ` ${colors.dim("Run 'pantheon-opencode doctor' for the full health check")}\n`,
3427
3443
  )
3444
+ }
3428
3445
  process.stdout.write('\n')
3429
- process.stdout.write(` ${colors.bold('Next steps:')}\n`)
3430
- process.stdout.write(` ${colors.dim('\u2022')} Configure agents in opencode.json\n`)
3431
- process.stdout.write(` ${colors.dim('\u2022')} Run 'pantheon-opencode doctor' to verify\n`)
3432
- process.stdout.write(
3433
- ` ${colors.dim('\u2022')} Run 'opencode' to start using Pantheon agents\n`,
3434
- )
3435
- process.stdout.write('\n')
3436
- printWorktreeGuidance({ projectRoot: process.cwd(), interactive: true })
3446
+ // Worktree guidance is a project-install concept: a global install run
3447
+ // from $HOME derived a nonsense `<home>/.pantheon-worktrees/<user>` path.
3448
+ printWorktreeGuidance({
3449
+ projectRoot: process.cwd(),
3450
+ interactive: true,
3451
+ enabled: !(opts.global ?? isGlobalConfigDir(target)),
3452
+ })
3437
3453
  }
3438
3454
 
3439
3455
  // Beta 11 Setup phase 3: report whether this call APPLIED, so the caller can
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pantheon-tui",
3
- "version": "1.6.3-beta.12",
3
+ "version": "1.6.3-beta.13",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pantheon-tui",
9
- "version": "1.6.3-beta.12",
9
+ "version": "1.6.3-beta.13",
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.12",
4
+ "version": "1.6.3-beta.13",
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": {