pantheon-opencode 1.6.0-beta.13 โ 1.6.0-beta.14
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 +24 -6
- package/README.md +14 -0
- package/README.pt-BR.md +1 -1
- package/bin/pantheon-init.mjs +29 -36
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/pyproject.toml +1 -1
- package/scripts/check-plugin-v2-coverage.mjs +4 -1
- package/scripts/install/agents-md.mjs +2 -2
- package/scripts/install/cli-ui.mjs +32 -71
- package/scripts/install/component-selection.mjs +61 -0
- package/scripts/install/health-check.mjs +3 -3
- package/scripts/install/interactive.mjs +9 -6
- package/scripts/install/migrate.mjs +13 -19
- package/scripts/install/model-picker.mjs +155 -228
- package/scripts/install/opencode.mjs +52 -27
- package/scripts/install/shared.mjs +5 -5
- package/scripts/install/strings.mjs +6 -6
- package/scripts/install/venv.mjs +5 -5
- package/src/agents/apollo.md +3 -3
- package/src/plugins/tui/dist/tui-v2.js +2 -2
- package/src/plugins/tui/dist/tui.js +1 -1
- package/src/plugins/tui/package-lock.json +2 -2
- package/src/plugins/tui/package.json +1 -1
- package/src/routing.yml +45 -0
|
@@ -858,8 +858,9 @@ export function setupRuntimePhase(
|
|
|
858
858
|
const S = strings()
|
|
859
859
|
const setup = deps.setupVenv ?? setupVenv
|
|
860
860
|
const check = deps.healthCheck ?? healthCheck
|
|
861
|
+
let stopProgress
|
|
861
862
|
try {
|
|
862
|
-
|
|
863
|
+
stopProgress = spinner(S.settingUpRuntime)
|
|
863
864
|
setup(target, {
|
|
864
865
|
dryRun,
|
|
865
866
|
force: clean,
|
|
@@ -867,25 +868,29 @@ export function setupRuntimePhase(
|
|
|
867
868
|
reviewedRemovals,
|
|
868
869
|
reviewedSnapshots,
|
|
869
870
|
})
|
|
870
|
-
|
|
871
|
+
stopProgress(true)
|
|
872
|
+
stopProgress = null
|
|
871
873
|
const runtimeTarget = isGlobal ? target : join(target, '.opencode')
|
|
872
874
|
const health = check(runtimeTarget, { dryRun, pythonTarget: target })
|
|
873
875
|
|
|
874
|
-
section(
|
|
875
|
-
|
|
876
|
+
section(S.healthSection)
|
|
877
|
+
stopProgress = step(S.runningHealthChecks)
|
|
876
878
|
for (const p of health.passed) success(`${p.check}: ${p.detail}`)
|
|
877
879
|
for (const w of health.warnings) warning(`${w.check}: ${w.detail}`)
|
|
878
880
|
for (const f of health.failed) error(`${f.check}: ${f.detail}`)
|
|
879
881
|
|
|
880
882
|
if (health.failed.length > 0) {
|
|
881
|
-
|
|
883
|
+
stopProgress(false)
|
|
884
|
+
stopProgress = null
|
|
882
885
|
warning(`${health.failed.length} check(s) failed โ review above`)
|
|
883
886
|
stats.warnings += health.failed.length
|
|
884
887
|
return false
|
|
885
888
|
}
|
|
886
|
-
|
|
889
|
+
stopProgress(true)
|
|
890
|
+
stopProgress = null
|
|
887
891
|
return true
|
|
888
892
|
} catch (err) {
|
|
893
|
+
stopProgress?.(false)
|
|
889
894
|
error(S.runtimeFailed(err.message))
|
|
890
895
|
warning(S.runtimeSkippedMcp)
|
|
891
896
|
stats.warnings += 1
|
|
@@ -1059,7 +1064,9 @@ async function installPass(
|
|
|
1059
1064
|
target = join(homedir(), '.config', 'opencode')
|
|
1060
1065
|
}
|
|
1061
1066
|
|
|
1062
|
-
const componentSet = new Set(
|
|
1067
|
+
const componentSet = new Set(
|
|
1068
|
+
opts.noMcp ? components.filter((component) => component !== 'runtime') : components,
|
|
1069
|
+
)
|
|
1063
1070
|
const stats = summary.opencode
|
|
1064
1071
|
// Per-call baseline. `stats` is the module-level cumulative summary, so the
|
|
1065
1072
|
// consistency guard must compare against THIS call's delta, not the total.
|
|
@@ -1114,6 +1121,12 @@ async function installPass(
|
|
|
1114
1121
|
...opts,
|
|
1115
1122
|
skipProbe: dryRun,
|
|
1116
1123
|
})
|
|
1124
|
+
if (version === 'v2' && opts.preset) {
|
|
1125
|
+
throw new Error(
|
|
1126
|
+
'--preset is not supported for OpenCode V2 because V2 ignores the legacy active-preset marker. ' +
|
|
1127
|
+
'Configure models using V2-native OpenCode configuration instead.',
|
|
1128
|
+
)
|
|
1129
|
+
}
|
|
1117
1130
|
const versionAssumed =
|
|
1118
1131
|
dryRun &&
|
|
1119
1132
|
(opts.version ?? 'auto') === 'auto' &&
|
|
@@ -1150,9 +1163,17 @@ async function installPass(
|
|
|
1150
1163
|
|
|
1151
1164
|
if (interactive && !dryRun) {
|
|
1152
1165
|
const { runInteractiveInstall } = await import('./interactive.mjs')
|
|
1166
|
+
const hasRequestedComponents = Array.isArray(opts.requestedComponents)
|
|
1167
|
+
const promptComponents = hasRequestedComponents ? opts.requestedComponents : components
|
|
1168
|
+
const promptDefaults = hasRequestedComponents
|
|
1169
|
+
? []
|
|
1170
|
+
: opts.noMcp
|
|
1171
|
+
? COMPONENT_NAMES.filter((component) => component !== 'runtime')
|
|
1172
|
+
: COMPONENT_NAMES
|
|
1153
1173
|
const result = await runInteractiveInstall({
|
|
1154
|
-
components,
|
|
1155
|
-
defaultComponents:
|
|
1174
|
+
components: promptComponents,
|
|
1175
|
+
defaultComponents: promptDefaults,
|
|
1176
|
+
noMcp: opts.noMcp === true,
|
|
1156
1177
|
prompts: opts.deps?.prompts,
|
|
1157
1178
|
isTTY: opts.deps?.isTTY,
|
|
1158
1179
|
})
|
|
@@ -1162,13 +1183,15 @@ async function installPass(
|
|
|
1162
1183
|
return { ...stats, applied: false, reason: 'canceled' }
|
|
1163
1184
|
}
|
|
1164
1185
|
|
|
1165
|
-
if (!result.confirmed
|
|
1186
|
+
if (!result.confirmed) {
|
|
1166
1187
|
info('Installation canceled.')
|
|
1167
1188
|
return { ...stats, applied: false, reason: 'canceled' }
|
|
1168
1189
|
}
|
|
1169
1190
|
|
|
1170
1191
|
// Map target selection to actual path
|
|
1171
|
-
const newComponents = [...result.components]
|
|
1192
|
+
const newComponents = [...result.components].filter(
|
|
1193
|
+
(component) => !opts.noMcp || component !== 'runtime',
|
|
1194
|
+
)
|
|
1172
1195
|
componentSet.clear()
|
|
1173
1196
|
for (const c of newComponents) componentSet.add(c)
|
|
1174
1197
|
|
|
@@ -1385,7 +1408,7 @@ async function installPass(
|
|
|
1385
1408
|
// 1. Install agents (--components agents)
|
|
1386
1409
|
// -----------------------------------------------------------------------
|
|
1387
1410
|
if (componentSet.has('agents')) {
|
|
1388
|
-
section('
|
|
1411
|
+
section('Agents')
|
|
1389
1412
|
const srcDir = join(ROOT, 'src', 'agents')
|
|
1390
1413
|
if (!sourceDirValid(srcDir)) {
|
|
1391
1414
|
warning(`Agent source directory not found: ${srcDir}`)
|
|
@@ -1438,7 +1461,7 @@ async function installPass(
|
|
|
1438
1461
|
// 2. Install skills (--components skills)
|
|
1439
1462
|
// -----------------------------------------------------------------------
|
|
1440
1463
|
if (componentSet.has('skills')) {
|
|
1441
|
-
section('
|
|
1464
|
+
section('Skills')
|
|
1442
1465
|
const skillNames = collectSkillNames()
|
|
1443
1466
|
if (skillNames.length > 0) {
|
|
1444
1467
|
const skillStep = step(`Installing ${skillNames.length} skills`)
|
|
@@ -1484,7 +1507,7 @@ async function installPass(
|
|
|
1484
1507
|
// writeAgentsMdManaged is conservative: content outside the managed region
|
|
1485
1508
|
// is never deleted, and a legacy fully-generated file upgrades in place.
|
|
1486
1509
|
if (componentSet.has('instructions')) {
|
|
1487
|
-
section('
|
|
1510
|
+
section('Instructions')
|
|
1488
1511
|
const srcAgentsMd = isGlobal ? join(ROOT, 'AGENTS.global.md') : join(ROOT, 'AGENTS.md')
|
|
1489
1512
|
const dstAgentsMd = join(target, 'AGENTS.md')
|
|
1490
1513
|
if (existsSync(srcAgentsMd)) {
|
|
@@ -1522,7 +1545,7 @@ async function installPass(
|
|
|
1522
1545
|
// 2.6 Install prompts (--components prompts)
|
|
1523
1546
|
// -----------------------------------------------------------------------
|
|
1524
1547
|
if (componentSet.has('prompts')) {
|
|
1525
|
-
section('
|
|
1548
|
+
section('Prompts')
|
|
1526
1549
|
const srcPrompts = join(ROOT, 'prompts')
|
|
1527
1550
|
const dstPrompts = join(target, 'prompts')
|
|
1528
1551
|
if (existsSync(srcPrompts)) {
|
|
@@ -1545,7 +1568,7 @@ async function installPass(
|
|
|
1545
1568
|
// 2.7 Install commands (--components commands)
|
|
1546
1569
|
// -----------------------------------------------------------------------
|
|
1547
1570
|
if (componentSet.has('commands')) {
|
|
1548
|
-
section('
|
|
1571
|
+
section('Commands')
|
|
1549
1572
|
const srcCmds = join(ROOT, 'commands')
|
|
1550
1573
|
// V2 project sandboxes use OPENCODE_CONFIG_DIR=<project root>, so OpenCode
|
|
1551
1574
|
// discovers custom commands from <target>/commands. V1 project installs
|
|
@@ -1580,7 +1603,7 @@ async function installPass(
|
|
|
1580
1603
|
// 2.8 Install TUI plugins (--components plugins)
|
|
1581
1604
|
// -----------------------------------------------------------------------
|
|
1582
1605
|
if (componentSet.has('plugins')) {
|
|
1583
|
-
section('
|
|
1606
|
+
section('Plugins')
|
|
1584
1607
|
const srcPluginDir = join(ROOT, 'src', 'plugins', 'tui')
|
|
1585
1608
|
const dstPluginDir = isGlobal
|
|
1586
1609
|
? join(target, 'plugins', 'pantheon-tui')
|
|
@@ -1626,7 +1649,7 @@ async function installPass(
|
|
|
1626
1649
|
// MCP server scripts, code-mode scripts, tiers.json
|
|
1627
1650
|
// -----------------------------------------------------------------------
|
|
1628
1651
|
if (componentSet.has('runtime')) {
|
|
1629
|
-
section('
|
|
1652
|
+
section('Runtime')
|
|
1630
1653
|
const runtimeTarget = isGlobal ? target : join(target, '.opencode')
|
|
1631
1654
|
|
|
1632
1655
|
// โโ MCP server scripts โโ
|
|
@@ -1750,6 +1773,7 @@ async function installPass(
|
|
|
1750
1773
|
target,
|
|
1751
1774
|
{ dryRun, clean, isGlobal, recorder, reviewedRemovals, reviewedSnapshots },
|
|
1752
1775
|
stats,
|
|
1776
|
+
opts.deps,
|
|
1753
1777
|
)
|
|
1754
1778
|
}
|
|
1755
1779
|
|
|
@@ -2351,14 +2375,13 @@ async function installPass(
|
|
|
2351
2375
|
process.stdout.write(
|
|
2352
2376
|
` ${colors.dim('\u2500'.repeat(Math.min(process.stdout.columns || 60, 60)))}\n`,
|
|
2353
2377
|
)
|
|
2354
|
-
process.stdout.write(`
|
|
2378
|
+
process.stdout.write(` [OK] ${created} component(s) installed\n`)
|
|
2355
2379
|
if (skipped > 0)
|
|
2356
2380
|
process.stdout.write(` ${colors.dim('\u2014')} ${skipped} already up-to-date\n`)
|
|
2357
|
-
if (errors > 0)
|
|
2358
|
-
process.stdout.write(` ${colors.yellow('\u26a0')} ${errors} error(s) encountered\n`)
|
|
2381
|
+
if (errors > 0) process.stdout.write(` [WARN] ${errors} error(s) encountered\n`)
|
|
2359
2382
|
if (warnings > 0)
|
|
2360
2383
|
process.stdout.write(
|
|
2361
|
-
`
|
|
2384
|
+
` [WARN] ${warnings} warning(s) โ run 'pantheon-opencode doctor' for details\n`,
|
|
2362
2385
|
)
|
|
2363
2386
|
process.stdout.write('\n')
|
|
2364
2387
|
process.stdout.write(` ${colors.bold('Next steps:')}\n`)
|
|
@@ -2374,14 +2397,15 @@ async function installPass(
|
|
|
2374
2397
|
}
|
|
2375
2398
|
|
|
2376
2399
|
// -----------------------------------------------------------------------
|
|
2377
|
-
// 5.
|
|
2378
|
-
//
|
|
2400
|
+
// 5. V1 model preset selection (--components agents). V2 ignores the legacy
|
|
2401
|
+
// active-preset marker, so it has no profile wizard or --preset support.
|
|
2402
|
+
// The V1 interactive wizard runs unless autoYes or an explicit preset was given.
|
|
2379
2403
|
// Q1 default "herdar do chat" (inherit) writes no active-preset.json โ
|
|
2380
2404
|
// delegates inherit the parent chat model (native inheritance).
|
|
2381
2405
|
// -----------------------------------------------------------------------
|
|
2382
|
-
if (interactive && !dryRun && !autoYes && !opts.preset) {
|
|
2406
|
+
if (interactive && stdinTTY && version === 'v1' && !dryRun && !autoYes && !opts.preset) {
|
|
2383
2407
|
const { runInitWizard } = await import('./model-picker.mjs')
|
|
2384
|
-
await runInitWizard({ presetDir: target, logger: console })
|
|
2408
|
+
await runInitWizard({ presetDir: target, logger: console, prompts: opts.deps?.prompts })
|
|
2385
2409
|
}
|
|
2386
2410
|
|
|
2387
2411
|
if (opts.preset && !dryRun) {
|
|
@@ -2397,7 +2421,8 @@ async function installPass(
|
|
|
2397
2421
|
// must never fail the install: vision stays optional.
|
|
2398
2422
|
// -----------------------------------------------------------------------
|
|
2399
2423
|
if (interactive && !dryRun && !autoYes) {
|
|
2400
|
-
const
|
|
2424
|
+
const runVisionPrompt =
|
|
2425
|
+
opts.deps?.runVisionPrompt ?? (await import('./vision-prompt.mjs')).runVisionPrompt
|
|
2401
2426
|
try {
|
|
2402
2427
|
await runVisionPrompt({ logger: console })
|
|
2403
2428
|
} catch (err) {
|
|
@@ -140,7 +140,7 @@ export function parseArgs(argv) {
|
|
|
140
140
|
args.help = true
|
|
141
141
|
break
|
|
142
142
|
default:
|
|
143
|
-
console.warn(
|
|
143
|
+
console.warn(`[WARN] Unknown option: ${argv[i]}`)
|
|
144
144
|
break
|
|
145
145
|
}
|
|
146
146
|
}
|
|
@@ -165,12 +165,12 @@ export function resolveTarget(target) {
|
|
|
165
165
|
export function detectAndReport(target) {
|
|
166
166
|
const found = detectPlatforms(target).length > 0
|
|
167
167
|
|
|
168
|
-
console.log(`\n
|
|
168
|
+
console.log(`\n Pantheon Platform Detection`)
|
|
169
169
|
console.log(` Target: ${target}\n`)
|
|
170
170
|
|
|
171
171
|
console.log(` ${'Platform'.padEnd(12)} ${'Detected?'.padEnd(12)} Config file`)
|
|
172
172
|
console.log(` ${'โ'.repeat(55)}`)
|
|
173
|
-
const status = (found ? '
|
|
173
|
+
const status = (found ? '[OK] yes' : '[MISSING]').padEnd(12)
|
|
174
174
|
console.log(` ${'OpenCode'.padEnd(12)} ${status} ${found ? 'opencode.json' : '(not found)'}`)
|
|
175
175
|
console.log(`\n ๐ ${found ? 1 : 0} of 1 platforms detected.`)
|
|
176
176
|
if (found) {
|
|
@@ -813,7 +813,7 @@ export function printSummary(target, platforms) {
|
|
|
813
813
|
totalSkipped += stats.skipped
|
|
814
814
|
totalErrors += stats.errors
|
|
815
815
|
|
|
816
|
-
const status = stats.errors > 0 ? '
|
|
816
|
+
const status = stats.errors > 0 ? '[WARN]' : '[OK]'
|
|
817
817
|
console.log(
|
|
818
818
|
` ${status} ${label}: ${stats.created} created, ${stats.skipped} skipped${stats.errors > 0 ? `, ${stats.errors} errors` : ''}`,
|
|
819
819
|
)
|
|
@@ -825,7 +825,7 @@ export function printSummary(target, platforms) {
|
|
|
825
825
|
)
|
|
826
826
|
|
|
827
827
|
if (totalErrors > 0) {
|
|
828
|
-
console.log('
|
|
828
|
+
console.log(' [WARN] Some platforms had errors โ review warnings above.')
|
|
829
829
|
}
|
|
830
830
|
|
|
831
831
|
console.log('')
|
|
@@ -16,13 +16,13 @@ const TABLE = {
|
|
|
16
16
|
dryRun: 'DRY RUN',
|
|
17
17
|
canceled: 'Installation canceled โ nothing was broken; run init again anytime.',
|
|
18
18
|
canceledShort: 'Installation canceled.',
|
|
19
|
-
installFailed: (msg) =>
|
|
19
|
+
installFailed: (msg) => `Installation failed: ${msg}`,
|
|
20
20
|
failHintNoMcp:
|
|
21
21
|
' Run with --no-mcp to skip Python dependencies:\n npx pantheon-opencode init --no-mcp',
|
|
22
22
|
failHintForce:
|
|
23
23
|
' Or retry with --force to recreate the venv:\n npx pantheon-opencode init --force',
|
|
24
24
|
runningHealthCheck: 'Running health check...',
|
|
25
|
-
installedTitle: (v) =>
|
|
25
|
+
installedTitle: (v) => `Pantheon OpenCode v${v} installed.`,
|
|
26
26
|
nextSteps: 'Next steps:',
|
|
27
27
|
nextVerify: '1. Verify installation:\n npx pantheon-opencode doctor',
|
|
28
28
|
nextLaunch: '2. Launch OpenCode',
|
|
@@ -51,7 +51,7 @@ const TABLE = {
|
|
|
51
51
|
planOnlyNoYes: 'Plan only โ re-run with --yes to apply.',
|
|
52
52
|
driftHeader: 'State changed since preview โ aborting before any write:',
|
|
53
53
|
driftAbort: 'No files were written. Re-run to re-review.',
|
|
54
|
-
applyFailed: (msg) =>
|
|
54
|
+
applyFailed: (msg) => `Apply failed: ${msg}`,
|
|
55
55
|
alreadyApplied: 'Paths already applied โ no automatic rollback:',
|
|
56
56
|
restoreRecoveryHint: (dir) => `Recover with: pantheon-opencode restore (backup at ${dir})`,
|
|
57
57
|
restoreNoBackup:
|
|
@@ -74,13 +74,13 @@ const TABLE = {
|
|
|
74
74
|
dryRun: 'SIMULAรรO',
|
|
75
75
|
canceled: 'Instalaรงรฃo cancelada โ nada foi quebrado; rode init de novo quando quiser.',
|
|
76
76
|
canceledShort: 'Instalaรงรฃo cancelada.',
|
|
77
|
-
installFailed: (msg) =>
|
|
77
|
+
installFailed: (msg) => `Instalaรงรฃo falhou: ${msg}`,
|
|
78
78
|
failHintNoMcp:
|
|
79
79
|
' Rode com --no-mcp para pular dependรชncias Python:\n npx pantheon-opencode init --no-mcp',
|
|
80
80
|
failHintForce:
|
|
81
81
|
' Ou tente de novo com --force para recriar a venv:\n npx pantheon-opencode init --force',
|
|
82
82
|
runningHealthCheck: 'Rodando verificaรงรฃo de saรบde...',
|
|
83
|
-
installedTitle: (v) =>
|
|
83
|
+
installedTitle: (v) => `Pantheon OpenCode v${v} instalado.`,
|
|
84
84
|
nextSteps: 'Prรณximos passos:',
|
|
85
85
|
nextVerify: '1. Verifique a instalaรงรฃo:\n npx pantheon-opencode doctor',
|
|
86
86
|
nextLaunch: '2. Abra o OpenCode',
|
|
@@ -109,7 +109,7 @@ const TABLE = {
|
|
|
109
109
|
planOnlyNoYes: 'Apenas o plano โ rode de novo com --yes para aplicar.',
|
|
110
110
|
driftHeader: 'O estado mudou desde o preview โ abortando antes de qualquer escrita:',
|
|
111
111
|
driftAbort: 'Nenhum arquivo foi escrito. Rode de novo para revisar.',
|
|
112
|
-
applyFailed: (msg) =>
|
|
112
|
+
applyFailed: (msg) => `Falha ao aplicar: ${msg}`,
|
|
113
113
|
alreadyApplied: 'Caminhos jรก aplicados โ sem rollback automรกtico:',
|
|
114
114
|
restoreRecoveryHint: (dir) => `Recupere com: pantheon-opencode restore (backup em ${dir})`,
|
|
115
115
|
restoreNoBackup:
|
package/scripts/install/venv.mjs
CHANGED
|
@@ -67,7 +67,7 @@ export function setupVenv(
|
|
|
67
67
|
console.log(' Removing existing .venv (--force)...')
|
|
68
68
|
removeReviewedTree(venvPath, reviewedRemovals, reviewedSnapshots)
|
|
69
69
|
}
|
|
70
|
-
console.log('
|
|
70
|
+
console.log(' [OK] .venv removed')
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
// Step 1b: Create venv if not exists
|
|
@@ -83,7 +83,7 @@ export function setupVenv(
|
|
|
83
83
|
throw new Error('Failed to create virtual environment')
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
console.log('
|
|
86
|
+
console.log(' [OK] .venv created')
|
|
87
87
|
// A single synthetic entry for the venv directory โ never enumerate its
|
|
88
88
|
// thousands of files. Unscored: the install summary does not count it.
|
|
89
89
|
recordChange({ path: venvPath, action: ACTIONS.CREATE, bytes: 0, scored: false }, recorder)
|
|
@@ -123,7 +123,7 @@ export function setupVenv(
|
|
|
123
123
|
|
|
124
124
|
if (r.status !== 0) {
|
|
125
125
|
// Attempt 2: --break-system-packages (PEP 668 / externally-managed)
|
|
126
|
-
console.log('
|
|
126
|
+
console.log(' [WARN] First attempt failed, retrying with --break-system-packages...')
|
|
127
127
|
const r2 = spawnSync(pip, ['install', '-r', reqFile, '--break-system-packages'], {
|
|
128
128
|
stdio: 'inherit',
|
|
129
129
|
timeout: 120_000,
|
|
@@ -141,7 +141,7 @@ export function setupVenv(
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
console.log('
|
|
144
|
+
console.log(' [OK] MCP dependencies installed')
|
|
145
145
|
} else {
|
|
146
146
|
console.log(' โญ๏ธ Dependency install skipped (--skip-install)')
|
|
147
147
|
}
|
|
@@ -164,7 +164,7 @@ function main() {
|
|
|
164
164
|
const result = setupVenv(target, { dryRun, skipInstall, force })
|
|
165
165
|
console.log(` ๐ Python: ${result.python}`)
|
|
166
166
|
} catch (err) {
|
|
167
|
-
console.error(`\n
|
|
167
|
+
console.error(`\n [ERROR] ${err.message}`)
|
|
168
168
|
process.exit(1)
|
|
169
169
|
}
|
|
170
170
|
}
|
package/src/agents/apollo.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: apollo
|
|
3
|
-
description: "Read-only investigation scout โ
|
|
3
|
+
description: "Read-only investigation scout โ broad multi-query discovery when independent searches materially reduce uncertainty. Called by: athena, zeus, hermes, aphrodite, demeter. No edits, no commands."
|
|
4
4
|
mode: subagent
|
|
5
5
|
visible: false
|
|
6
6
|
tools:
|
|
@@ -33,7 +33,7 @@ mcp_tools:
|
|
|
33
33
|
## Core Capabilities
|
|
34
34
|
|
|
35
35
|
### 1. Codebase Discovery
|
|
36
|
-
-
|
|
36
|
+
- Use direct targeted searches for straightforward questions; batch independent searches only when the discovery scope benefits from it
|
|
37
37
|
- Search for files, patterns, symbols, imports
|
|
38
38
|
- Generate structured summaries (not raw dumps)
|
|
39
39
|
|
|
@@ -72,7 +72,7 @@ Return structured findings with:
|
|
|
72
72
|
|
|
73
73
|
## Auto-Continue (Embedded: Discovery)
|
|
74
74
|
|
|
75
|
-
-
|
|
75
|
+
- Continue through independent discovery queries when more evidence is needed; use only the breadth justified by the request
|
|
76
76
|
- Partial results OK on timeout โ return whatever is found
|
|
77
77
|
- No checkpoint needed (read-only, idempotent operations)
|
|
78
78
|
- If timeout occurs, return partial findings with confidence score
|
|
@@ -477,7 +477,7 @@ function Sidebar(props) {
|
|
|
477
477
|
setProp(_el$, "width", "100%");
|
|
478
478
|
setProp(_el$, "padding", 1);
|
|
479
479
|
setProp(_el$2, "attributes", 1);
|
|
480
|
-
insert(_el$2, `Pantheon v1.6.0-beta.
|
|
480
|
+
insert(_el$2, `Pantheon v1.6.0-beta.14`);
|
|
481
481
|
insertNode(_el$3, createTextNode(`OpenCode V2 ยท plugin TUI ativo`));
|
|
482
482
|
insert(_el$, createComponent(Show, {
|
|
483
483
|
get when() {
|
|
@@ -623,7 +623,7 @@ function HomeStatus(props) {
|
|
|
623
623
|
const muted = () => props.context.theme?.text?.muted ?? props.context.theme?.text?.base;
|
|
624
624
|
return (() => {
|
|
625
625
|
var _el$20 = createElement("text");
|
|
626
|
-
insert(_el$20, () => `Pantheon v1.6.0-beta.
|
|
626
|
+
insert(_el$20, () => `Pantheon v1.6.0-beta.14${preset().name ? ` โก ${preset().name}` : ""}`);
|
|
627
627
|
effect((_$p) => setProp(_el$20, "fg", muted(), _$p));
|
|
628
628
|
return _el$20;
|
|
629
629
|
})();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pantheon-tui",
|
|
3
|
-
"version": "1.6.0-beta.
|
|
3
|
+
"version": "1.6.0-beta.14",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pantheon-tui",
|
|
9
|
-
"version": "1.6.0-beta.
|
|
9
|
+
"version": "1.6.0-beta.14",
|
|
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.0-beta.
|
|
4
|
+
"version": "1.6.0-beta.14",
|
|
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": {
|
package/src/routing.yml
CHANGED
|
@@ -72,6 +72,51 @@ presets:
|
|
|
72
72
|
iris: { model: opencode-go/gpt-5.6-luna, reasoning_effort: low }
|
|
73
73
|
mnemosyne: { model: opencode-go/gpt-5.6-luna, reasoning_effort: low }
|
|
74
74
|
talos: { model: opencode-go/gpt-5.6-luna, reasoning_effort: low }
|
|
75
|
+
go-hybrid:
|
|
76
|
+
description: "OpenCode Go hybrid lineup: premium models for Zeus, Athena, Themis, and Hephaestus; the existing low-latency Go lineup for every other agent."
|
|
77
|
+
vision:
|
|
78
|
+
model: opencode-go/gpt-5.6-sol
|
|
79
|
+
reasoning_effort: high
|
|
80
|
+
providers:
|
|
81
|
+
opencode-go:
|
|
82
|
+
baseURL: https://opencode.ai/zen/go/v1
|
|
83
|
+
apiKeyEnv: PANTHEON_OPENCODE_API_KEY
|
|
84
|
+
agents:
|
|
85
|
+
zeus: { model: opencode-go/gpt-5.6-sol, reasoning_effort: medium }
|
|
86
|
+
athena: { model: opencode-go/deepseek-v4-pro, reasoning_effort: high }
|
|
87
|
+
themis: { model: opencode-go/qwen3.8-max, reasoning_effort: high }
|
|
88
|
+
hermes: { model: opencode-go/deepseek-v4-flash, reasoning_effort: medium }
|
|
89
|
+
aphrodite: { model: opencode-go/mimo-v2.5, reasoning_effort: low }
|
|
90
|
+
demeter: { model: opencode-go/gpt-5.6-luna, reasoning_effort: low }
|
|
91
|
+
prometheus: { model: opencode-go/deepseek-v4-flash, reasoning_effort: medium }
|
|
92
|
+
hephaestus: { model: opencode-go/gpt-5.6-terra, reasoning_effort: medium }
|
|
93
|
+
apollo: { model: opencode-go/gpt-5.6-luna-fast, reasoning_effort: low }
|
|
94
|
+
nyx: { model: opencode-go/gpt-5.6-luna-fast, reasoning_effort: low }
|
|
95
|
+
gaia: { model: opencode-go/gpt-5.6-luna-fast, reasoning_effort: low }
|
|
96
|
+
iris: { model: opencode-go/gpt-5.6-luna-fast, reasoning_effort: low }
|
|
97
|
+
mnemosyne: { model: opencode-go/gpt-5.6-luna-fast, reasoning_effort: low }
|
|
98
|
+
talos: { model: opencode-go/gpt-5.6-luna-fast, reasoning_effort: low }
|
|
99
|
+
anthropic:
|
|
100
|
+
description: "Anthropic direct provider profile using claude-sonnet-5-5 for every agent. Configure ANTHROPIC_API_KEY in your environment."
|
|
101
|
+
providers:
|
|
102
|
+
anthropic:
|
|
103
|
+
baseURL: https://api.anthropic.com/v1
|
|
104
|
+
apiKeyEnv: ANTHROPIC_API_KEY
|
|
105
|
+
agents:
|
|
106
|
+
zeus: { model: anthropic/claude-sonnet-5-5, reasoning_effort: medium }
|
|
107
|
+
athena: { model: anthropic/claude-sonnet-5-5, reasoning_effort: medium }
|
|
108
|
+
themis: { model: anthropic/claude-sonnet-5-5, reasoning_effort: medium }
|
|
109
|
+
hermes: { model: anthropic/claude-sonnet-5-5, reasoning_effort: medium }
|
|
110
|
+
aphrodite: { model: anthropic/claude-sonnet-5-5, reasoning_effort: medium }
|
|
111
|
+
demeter: { model: anthropic/claude-sonnet-5-5, reasoning_effort: medium }
|
|
112
|
+
prometheus: { model: anthropic/claude-sonnet-5-5, reasoning_effort: medium }
|
|
113
|
+
hephaestus: { model: anthropic/claude-sonnet-5-5, reasoning_effort: medium }
|
|
114
|
+
apollo: { model: anthropic/claude-sonnet-5-5, reasoning_effort: medium }
|
|
115
|
+
nyx: { model: anthropic/claude-sonnet-5-5, reasoning_effort: medium }
|
|
116
|
+
gaia: { model: anthropic/claude-sonnet-5-5, reasoning_effort: medium }
|
|
117
|
+
iris: { model: anthropic/claude-sonnet-5-5, reasoning_effort: medium }
|
|
118
|
+
mnemosyne: { model: anthropic/claude-sonnet-5-5, reasoning_effort: medium }
|
|
119
|
+
talos: { model: anthropic/claude-sonnet-5-5, reasoning_effort: medium }
|
|
75
120
|
openai:
|
|
76
121
|
description: "Pure OpenAI provider 2026: gpt-5.6-sol planners high, gpt-5.6-luna implementers high, gpt-5.6-luna-fast scouts low (fallback to luna low). Provider openai https://api.openai.com/v1 OPENAI_API_KEY. Pricing 2026."
|
|
77
122
|
vision:
|