pantheon-opencode 2.0.0 → 2.0.1
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 +47 -9
- package/README.md +13 -2
- package/README.pt-BR.md +13 -2
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/pyproject.toml +1 -1
- package/src/agents/athena.md +14 -7
- package/src/instructions/zeus-council-synthesis.instructions.md +28 -9
- package/src/plugins/tui/dist/tui.js +124 -72
- package/src/plugins/tui/dist/tui.js.map +1 -1
- package/src/plugins/tui/package-lock.json +2 -2
- package/src/plugins/tui/package.json +1 -1
- package/src/plugins/tui/src/autonomy-state.ts +51 -22
- package/src/plugins/tui/src/decision-router-state.ts +59 -24
- package/src/plugins/tui/src/j1-gate-status.ts +26 -9
- package/src/plugins/tui/src/pantheon-settings.tsx +24 -20
- package/src/plugins/tui/src/settings-i18n.ts +203 -0
- package/src/plugins/tui/src/tui-prefs.ts +25 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
## [v2.0.1] - 2026-11-11
|
|
9
|
+
|
|
10
|
+
### 🆕 What's New
|
|
11
|
+
|
|
12
|
+
- **Bilingual TUI Settings**: Portuguese (pt-BR) and English (en) with system locale auto-detection and manual toggle in the TUI menu.
|
|
13
|
+
- **Decision Model Selector**: Interactive selector in TUI settings to cycle across all remote Jev models without manual JSON editing.
|
|
14
|
+
- **Modernized Council Synthesis**: Domain Authority table, Mermaid arbitration diagram, and immediate action checklist.
|
|
15
|
+
- **Modernized Strategic Planning**: Sub-10s test slicing, Mermaid workflow diagram, impact matrix, and rollback blueprint.
|
|
16
|
+
- **Demystified J1 Safety Ladder**: Plain-language descriptions for execution modes (shadow, enforce, off) and safety limits.
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- **tui** — bilingual dictionary and locale resolution helper (PT-BR / EN) in settings-i18n.ts.
|
|
21
|
+
- **tui** — language preference in TuiPrefs with cycling options (auto, pt-BR, en) and live preview.
|
|
22
|
+
- **tui** — unit test suite in tests/tui-settings-i18n.test.mjs validating locale and tab rendering.
|
|
23
|
+
- **routing** — permanent interactive target selector cycler row in the Decision tab across all modes.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- **council** — modernized Zeus council synthesis with Domain Authority matrix and Mermaid graph.
|
|
28
|
+
- **planning** — modernized Athena strategic planning template with sub-10s test slicing.
|
|
29
|
+
- **tui** — humanized settings labels for Decision Router, Selection mode, Egress, and J1 Ladder.
|
|
30
|
+
- **tui** — localized Autonomy tab notes for Goal Loop continuation, budgets, and risk gradient.
|
|
31
|
+
|
|
8
32
|
## [v1.7.0] - 2026-11-07
|
|
9
33
|
|
|
10
34
|
### 🆕 What's New
|
|
@@ -77,28 +101,42 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
77
101
|
|
|
78
102
|
- **OpenCode 2.x Architecture**: Official 2.0 release dedicated to OpenCode 2.x, removing legacy V1 shims for low latency.
|
|
79
103
|
- **Fast-Path Direct Dispatch**: Zeus executes direct implementation requests in 1 turn without mandatory planning or approval cascades.
|
|
80
|
-
- **Native Subagent Execution**: Parallel background subagents (
|
|
104
|
+
- **Native Subagent Execution**: Parallel background subagents (task(background: true)) for non-blocking test and build workflows.
|
|
81
105
|
- **Implementer Tool Grants**: Added native glob, grep, and bash access across all implementers to eliminate discovery round-trips.
|
|
82
106
|
- **Prompt Diet & English Unification**: Condensed agent prompts by up to 70% and standardized instructions across all agents to English.
|
|
83
|
-
- **TUI Settings
|
|
107
|
+
- **Full TUI Settings Suite**: Fullscreen settings overlay (/pantheon-settings) with Autonomy, Decision, TUI, and Doctor tabs.
|
|
84
108
|
|
|
85
109
|
### Added
|
|
86
110
|
|
|
87
|
-
- **agents** — Fast-Path Direct Implementation in Zeus routing direct coding requests immediately to domain specialists.
|
|
88
|
-
- **agents** — Native glob and
|
|
89
|
-
- **agents** — Parallel background execution guidance for tests and builds using
|
|
111
|
+
- **agents** — Fast-Path Direct Implementation in Zeus routing direct coding requests immediately to domain specialists in 1 turn.
|
|
112
|
+
- **agents** — Native glob, grep, and bash permissions granted to implementers (Talos, Prometheus, Demeter, Hermes, Aphrodite).
|
|
113
|
+
- **agents** — Parallel background execution guidance for tests and builds using task(background: true).
|
|
114
|
+
- **tui** — Full-screen settings overlay (/pantheon-settings) with tabs for Autonomy, Decision, TUI Personalization, and Doctor.
|
|
115
|
+
- **tui** — Autonomy tab managing persisted goal loops, cooldown periods, and continuation caps.
|
|
116
|
+
- **tui** — Decision tab configuring Jev routing model, candidate selection mode, provider status, and egress consent.
|
|
117
|
+
- **skills** — In-process pantheon_skill_search with 24h query cache and test-slicing skill for fast bounded runs under 100ms.
|
|
118
|
+
- **routing** — Named-behavior overrides registered in routing.yml with pure loader and quarantine fallback.
|
|
90
119
|
|
|
91
120
|
### Changed
|
|
92
121
|
|
|
93
|
-
- **agents** — Condensed Hermes
|
|
94
|
-
- **agents** — Cleaned double-spaced headings and emoji remnants across Aphrodite instructions.
|
|
122
|
+
- **agents** — Condensed Hermes, Zeus, and Apollo prompts by up to 70%, eliminating tutorial boilerplate and saving >8,000 tokens per turn.
|
|
95
123
|
- **instructions** — Standardized all agent instructions and repository headers to English with zero-emoji enforcement.
|
|
124
|
+
- **install** — Native opencode plugin add pantheon-opencode flow, lean init, and automated sibling opencode.jsonc sync.
|
|
125
|
+
- **skills** — Progressive disclosure architecture separating core instructions (<120 lines) from references/.
|
|
126
|
+
- **council** — Assertive synthesis protocol with Domain Authority precedence and JEV arbitration.
|
|
127
|
+
|
|
128
|
+
### Removed
|
|
129
|
+
|
|
130
|
+
- 💥 **host** — Removed OpenCode V1 runtime contract, shims, and legacy bridge per ADR-0014.
|
|
131
|
+
- **install** — Removed interactive init wizard in favor of one-shot preview and /pantheon-settings configuration.
|
|
96
132
|
|
|
97
133
|
### Fixed
|
|
98
134
|
|
|
99
|
-
- **release** — Corrected canonical changelog structure and bold scope formatting for Gate (e) compliance.
|
|
100
135
|
- **tools** — Replaced legacy shell permissions with native OpenCode V2 bash across all implementers.
|
|
101
|
-
- **tui** — Resolved tab squish and footer overlap on narrow viewports in settings window.
|
|
136
|
+
- **tui** — Resolved tab squish and footer overlap on narrow viewports in settings window using flexWrap.
|
|
137
|
+
- **tui** — Fixed settings navigation loss and cyclic route structure errors when closing dialogs.
|
|
138
|
+
- **install** — Fixed missing pantheon tools caused by opencode.jsonc overriding opencode.json.
|
|
139
|
+
- **vision** — Reconciled temp-dir restart orphans and crash strays with disk cap.
|
|
102
140
|
|
|
103
141
|
## [v2.0.0-rc.2] - 2026-11-11
|
|
104
142
|
|
package/README.md
CHANGED
|
@@ -184,10 +184,11 @@ Run `/pantheon-settings` (or `Pantheon: Settings` in the command palette) to ope
|
|
|
184
184
|
|
|
185
185
|
- **Gates & Overrides:** Toggle named behaviors live; persists to `pantheon-overrides.json`.
|
|
186
186
|
- **Model Presets:** Switch active model tier globally or per project.
|
|
187
|
-
- **Decision Model:**
|
|
187
|
+
- **Decision Model Selector:** Interactive selector to cycle across all remote decision models (`openrouter-jev`, `typesafe-jev`, `openai-decisions`, `vercel-gateway-jev`, etc.) directly from the UI.
|
|
188
|
+
- **Bilingual Settings (PT-BR / EN):** Full visual localization for Decision, Autonomy, and Safety tabs, auto-detecting environment locale with manual toggle in the TUI tab.
|
|
188
189
|
- **Updates:** Check registry channel (`beta` / `stable`) and trigger upgrades.
|
|
189
190
|
- **Doctor:** Run inline system health diagnostics.
|
|
190
|
-
- **TUI Personalization:** Adjust spacing (`comfortable` vs `compact`), separators, gauge bar styles,
|
|
191
|
+
- **TUI Personalization:** Adjust spacing (`comfortable` vs `compact`), separators, gauge bar styles, context display rows, and language.
|
|
191
192
|
- **Non-Destructive Overlay & Mouse Navigation:** Opens as a floating dialog overlay over the active session without blanking the workspace (configurable via `dialog` vs `fullscreen`), with full mouse click support for tabs, sidebar, rows, value cyclers, and actions.
|
|
192
193
|
- **Modernized What's New Window:** Card layout with rounded border, pagination buttons, and a dedicated `[OK, Entendido]` button with keyboard (`Enter`/`Esc`/`Q`) and mouse click support.
|
|
193
194
|
|
|
@@ -204,6 +205,16 @@ Run `/pantheon-settings` (or `Pantheon: Settings` in the command palette) to ope
|
|
|
204
205
|
|
|
205
206
|
---
|
|
206
207
|
|
|
208
|
+
## What's New in v2.0.1
|
|
209
|
+
|
|
210
|
+
- **Bilingual TUI Settings (PT-BR / EN):** Visual localization for Decision Router, Autonomy & Budgets, and J1 Safety Gate tabs, with intelligent system locale auto-detection (`LANG` / `LC_ALL`) and manual preference cycling (`auto`, `pt-BR`, `en`).
|
|
211
|
+
- **Interactive Decision Model Selector:** Permanently accessible selector row in `/pantheon-settings` to cycle across all 6 remote decision models without manual JSON configuration.
|
|
212
|
+
- **Modernized Council Synthesis (`/pantheon`):** Rich synthesis artifacts featuring Domain Authority breakdown, Mermaid arbitration diagrams, and immediate action checklists.
|
|
213
|
+
- **Modernized Strategic Planning (`/pantheon-deepwork`):** Athena plans now enforce mandatory sub-10s test slicing, execution dependency diagrams, blast radius impact matrix, and rollback blueprints.
|
|
214
|
+
- **Demystified J1 Safety Ladder:** Plain-language descriptions for J1 execution modes (`shadow`, `enforce`, `off`), making telemetry and protection gates clear.
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
207
218
|
## What's New in v2.0.0-rc.1
|
|
208
219
|
|
|
209
220
|
- **Release Candidate Series Inauguration:** Production-ready multi-agent orchestration for OpenCode 2.x.
|
package/README.pt-BR.md
CHANGED
|
@@ -180,10 +180,11 @@ Execute `/pantheon-settings` (ou `Pantheon: Settings` na paleta de comandos) par
|
|
|
180
180
|
|
|
181
181
|
- **Gates & Overrides:** Habilite ou desabilite comportamentos nomeados em tempo real (salvo em `pantheon-overrides.json`).
|
|
182
182
|
- **Presets de Modelos:** Alterne o tier de modelos ativo globalmente ou no projeto.
|
|
183
|
-
- **Modelo de Decisão:**
|
|
183
|
+
- **Seletor de Modelo de Decisão:** Alterne interativamente entre os modelos remotos de decisão (`openrouter-jev`, `typesafe-jev`, `openai-decisions`, etc.) diretamente na interface.
|
|
184
|
+
- **Suporte Multilíngue (PT-BR / EN):** Tradução visual completa das abas Decisões, Autonomia e Segurança, com detecção automática da linguagem do sistema e troca manual na aba TUI.
|
|
184
185
|
- **Atualizações:** Verifique o canal do registro (`beta` / `stable`) e dispare upgrades.
|
|
185
186
|
- **Doctor:** Execute o diagnóstico de saúde do sistema diretamente na interface.
|
|
186
|
-
- **Personalização da TUI:** Ajuste espaçamento (`comfortable` vs `compact`), separadores, estilo das barras de progresso
|
|
187
|
+
- **Personalização da TUI:** Ajuste espaçamento (`comfortable` vs `compact`), separadores, estilo das barras de progresso, linhas de contexto e idioma.
|
|
187
188
|
- **Overlay Não-Destrutivo e Navegação por Clique:** Abre como diálogo flutuante sobre a sessão ativa mantendo a TUI visível (configurável entre `dialog` e `fullscreen`), com suporte completo a cliques de mouse em abas, menu lateral, linhas, seletores e botões de ação.
|
|
188
189
|
- **Janela de Novidades Modernizada:** Layout em card com bordas arredondadas, paginação visual e botão dedicado `[OK, Entendido]` com confirmação via mouse ou teclado (`Enter`/`Esc`/`Q`).
|
|
189
190
|
|
|
@@ -200,6 +201,16 @@ Execute `/pantheon-settings` (ou `Pantheon: Settings` na paleta de comandos) par
|
|
|
200
201
|
|
|
201
202
|
---
|
|
202
203
|
|
|
204
|
+
## O Que Há de Novo na v2.0.1
|
|
205
|
+
|
|
206
|
+
- **Configurações TUI Bilíngues (PT-BR / EN):** Localização visual para o Assistente de Decisão Jev, Autonomia & Orçamentos e Portão de Segurança J1, com detecção inteligente da linguagem do ambiente (`LANG` / `LC_ALL`) e seleção manual (`auto`, `pt-BR`, `en`).
|
|
207
|
+
- **Seletor Interativo de Modelos Jev:** Linha de seleção sempre visível em `/pantheon-settings` para alternar entre os 6 modelos remotos suportados sem editar arquivos JSON manualmente.
|
|
208
|
+
- **Síntese do Conselho Modernizada (`/pantheon`):** Artefatos com Autoridade por Domínio, diagrama visual de arbitragem em Mermaid e checklist de ações imediatas.
|
|
209
|
+
- **Planejamento Estratégico Modernizado (`/pantheon-deepwork`):** Planos da Athena com fluxo visual em Mermaid, fatiamento rigoroso de testes (< 10s), análise de raio de impacto e plano de rollback.
|
|
210
|
+
- **Desmistificação da Escala de Segurança J1:** Descrições claras dos modos de execução (`shadow`, `enforce`, `off`), eliminando ambiguidades sobre bloqueio e telemetria.
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
203
214
|
## O Que Há de Novo na v2.0.0-rc.1
|
|
204
215
|
|
|
205
216
|
- **Inauguração da Série Release Candidate:** Orquestração multi-agente pronta para produção no OpenCode 2.x.
|
package/package.json
CHANGED
package/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pantheon",
|
|
3
3
|
"publisher": "ils15",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.1",
|
|
5
5
|
"displayName": "Pantheon",
|
|
6
6
|
"description": "Conductor-Delegate orchestration platform with 14 specialized agents, 25 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.
|
|
7
|
+
version = "2.0.1"
|
|
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/agents/athena.md
CHANGED
|
@@ -116,13 +116,16 @@ Use this template whenever the user asks for a plan or Zeus requests one. Keep i
|
|
|
116
116
|
visual, actionable, and token-efficient — modeled after Claude Code and ChatGPT Agent plan modes:
|
|
117
117
|
|
|
118
118
|
```markdown
|
|
119
|
-
|
|
119
|
+
# 📐 Architecture Plan: [Feature Name]
|
|
120
|
+
|
|
121
|
+
> **Architect:** @athena · **Review Gate:** @themis · **Execution Mode:** Strict TDD with Sub-10s Test Slicing
|
|
120
122
|
|
|
121
123
|
### Architecture & Execution Flow
|
|
122
124
|
```mermaid
|
|
123
|
-
flowchart
|
|
124
|
-
P1["Phase 1:
|
|
125
|
-
P2 --> P3["Phase 3:
|
|
125
|
+
flowchart LR
|
|
126
|
+
P1["Phase 1: Model / Schema (@demeter)"] --> P2["Phase 2: Core Logic (@hermes)"]
|
|
127
|
+
P2 --> P3["Phase 3: UI / Interface (@aphrodite)"]
|
|
128
|
+
P3 --> P4["Phase 4: Verification (@themis)"]
|
|
126
129
|
```
|
|
127
130
|
|
|
128
131
|
### Goal & Scope
|
|
@@ -137,15 +140,19 @@ flowchart TD
|
|
|
137
140
|
- **Goal & Actions:** Outcome and concrete steps (TDD: RED → GREEN → REFACTOR)
|
|
138
141
|
- **Affected files or areas:** Known paths or explicitly mark unknown paths instead of guessing
|
|
139
142
|
- **Dependencies:** Earlier phases or external systems
|
|
140
|
-
- **Tests:**
|
|
143
|
+
- **Tests & Test Slicing:** Exact targeted slice (e.g. `node --test tests/foo.test.mjs`), focused checks, lint-first gate, and applicable quality gates
|
|
141
144
|
- **Risks & Mitigation:** Specific risk → concrete mitigation
|
|
142
145
|
|
|
143
146
|
2. **[Phase Name] → @agent**
|
|
144
147
|
...
|
|
145
148
|
|
|
146
|
-
### Acceptance Criteria
|
|
149
|
+
### Acceptance Criteria & Verification
|
|
147
150
|
- [ ] Observable completion criterion
|
|
148
|
-
- [ ] Verification criterion (all tests green, 0 lint warnings)
|
|
151
|
+
- [ ] Verification criterion (all targeted tests green, 0 lint warnings)
|
|
152
|
+
|
|
153
|
+
### Rollback & Contingency Plan
|
|
154
|
+
- **Failure Trigger:** Conditions under which execution aborts (e.g. test slice failure, unexpected schema corruption).
|
|
155
|
+
- **Rollback Steps:** Revert commit / feature flag toggle / database rollback migration.
|
|
149
156
|
```
|
|
150
157
|
|
|
151
158
|
The complete plan is the deliverable. Include it in your final response to the
|
|
@@ -53,24 +53,43 @@ Require `## specialist_response` from `## Agent Return Format`. The first round
|
|
|
53
53
|
|
|
54
54
|
## User-Facing Synthesis
|
|
55
55
|
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
```markdown
|
|
57
|
+
# 🏛️ Council Synthesis
|
|
58
|
+
|
|
59
|
+
> **Question:** [Original Question]
|
|
60
|
+
> **Date:** [ISO Timestamp] · **Response Rate:** [X/Y specialists] · **Precedent / Research:** [Context or None]
|
|
59
61
|
|
|
60
62
|
### Specialist Perspectives
|
|
61
|
-
|
|
|
63
|
+
| Specialist | Domain Authority | Substantive Position | Trade-offs | Confidence |
|
|
64
|
+
| :--- | :--- | :--- | :--- | :---: |
|
|
65
|
+
| **@[agent]** | [Domain, e.g. Security / Auth] | [Core recommendation] | [Pros & Cons] | **[High / Med / Low]** |
|
|
62
66
|
|
|
63
67
|
### Agreements
|
|
64
|
-
-
|
|
65
|
-
|
|
66
|
-
### Divergences
|
|
67
|
-
| Issue | Specialist positions (attribute each side to its agent) | Resolution |
|
|
68
|
+
- [Key consensus point shared across specialists]
|
|
69
|
+
|
|
70
|
+
### Divergences & Arbitration
|
|
71
|
+
| Issue | Specialist positions (attribute each side to its agent) | Arbitration Resolution |
|
|
72
|
+
| :--- | :--- | :--- |
|
|
73
|
+
| [Contested point] | **@[agentA]**: [Position A]<br/>**@[agentB]**: [Position B] | **Resolved via [Domain Authority / Jev Decision]**: [Outcome] |
|
|
74
|
+
|
|
75
|
+
```mermaid
|
|
76
|
+
flowchart TD
|
|
77
|
+
Q["Contested Issue"] --> A["@[agentA]: Position A"]
|
|
78
|
+
Q --> B["@[agentB]: Position B"]
|
|
79
|
+
A & B --> Arb{"Domain Authority & Jev Score"}
|
|
80
|
+
Arb --> Dec["Arbitrated Decision: [Outcome]"]
|
|
81
|
+
```
|
|
68
82
|
|
|
69
83
|
### Evidence & Moderation (when used)
|
|
70
84
|
Research points, evidence, moderator verdict, cited sources, unresolved issues
|
|
71
85
|
|
|
72
86
|
### Recommendation
|
|
73
|
-
Decisive conclusion
|
|
87
|
+
Decisive conclusion and immediate actionable next steps
|
|
88
|
+
|
|
89
|
+
### Immediate Action Checklist
|
|
90
|
+
- [ ] **@[specialistA]**: [Concrete implementation task]
|
|
91
|
+
- [ ] **@[specialistB]**: [Verification or interface task]
|
|
92
|
+
- [ ] **@themis**: [Audit gate verification]
|
|
74
93
|
|
|
75
94
|
### Audit Gate
|
|
76
95
|
Themis approved, or issues corrected
|