pantheon-opencode 2.0.2 → 2.0.4

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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pantheon-tui",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pantheon-tui",
9
- "version": "2.0.2",
9
+ "version": "2.0.4",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@opencode/plugin": "2.0.26",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pantheon-tui",
3
3
  "type": "module",
4
- "version": "2.0.2",
4
+ "version": "2.0.4",
5
5
  "description": "Pantheon TUI plugin \u2014 V1 rich sidebar and usage gauges; native V2 status, session and delegation sidebar",
6
6
  "license": "MIT",
7
7
  "engines": {
@@ -91,12 +91,12 @@ export function buildAutonomyTab(input: {
91
91
  groups: [
92
92
  {
93
93
  title: isPt
94
- ? 'Goal loop (auto-continuação de sessões multi-turn)'
95
- : 'Goal loop (multi-turn session auto-continuation)',
94
+ ? 'Loop Contínuo (auto-continuação de sessões multi-turn)'
95
+ : 'Auto-Continue Loop (multi-turn session auto-continuation)',
96
96
  rows: [
97
97
  {
98
98
  id: 'autonomy.goal_loop.enabled',
99
- name: isPt ? 'Goal loop' : 'Goal loop',
99
+ name: isPt ? 'Loop Contínuo' : 'Auto-Continue Loop',
100
100
  value: input.goalLoop.enabled ? 'enabled' : 'disabled',
101
101
  cycle: GOAL_LOOP_ENABLED_CYCLE,
102
102
  note: isPt
@@ -130,13 +130,11 @@ export function buildAutonomyTab(input: {
130
130
  ],
131
131
  },
132
132
  {
133
- title: isPt
134
- ? 'Orçamento Jev (aplicado em tempo real por decisão)'
135
- : 'Decision budgets (applies live per gated call)',
133
+ title: isPt ? 'Orçamentos de Decisão (Jev)' : 'Decision Budgets (Jev)',
136
134
  rows: [
137
135
  {
138
136
  id: 'autonomy.budget.monthly',
139
- name: isPt ? 'Teto mensal' : 'Monthly cap',
137
+ name: isPt ? 'Teto Mensal (USD)' : 'Monthly Budget Cap',
140
138
  value: formatUsd(input.budgets.monthlyUsd),
141
139
  cycle: MONTHLY_USD_CYCLE,
142
140
  note: isPt
@@ -145,7 +143,7 @@ export function buildAutonomyTab(input: {
145
143
  },
146
144
  {
147
145
  id: 'autonomy.budget.perDecision',
148
- name: isPt ? 'Teto por decisão' : 'Per-decision cap',
146
+ name: isPt ? 'Teto por Consulta' : 'Per-Decision Cap',
149
147
  value: formatUsd(input.budgets.perDecisionUsd),
150
148
  cycle: PER_DECISION_USD_CYCLE,
151
149
  note: isPt
@@ -349,7 +349,7 @@ export function buildDecisionTab(
349
349
  const rows: SettingsRow[] = [
350
350
  {
351
351
  id: 'decision.enabled',
352
- name: isPt ? 'Assistente Jev' : 'Router',
352
+ name: isPt ? 'Assistente Jev' : 'Jev Assistant',
353
353
  value: config.enabled ? 'enabled' : 'disabled',
354
354
  // Corrupt config → read-only; the notice (glue) carries the remedy.
355
355
  ...(corrupt ? {} : { cycle: DECISION_ENABLED_CYCLE }),
@@ -363,7 +363,7 @@ export function buildDecisionTab(
363
363
  },
364
364
  {
365
365
  id: 'decision.selection.mode',
366
- name: isPt ? 'Modo de operação' : 'Selection mode',
366
+ name: isPt ? 'Modo de Operação' : 'Operation Mode',
367
367
  value: config.selection.mode,
368
368
  ...(corrupt ? {} : { cycle: DECISION_SELECTION_CYCLE }),
369
369
  note: isPt
@@ -378,7 +378,7 @@ export function buildDecisionTab(
378
378
  : (DECISION_TARGET_CYCLE[0] ?? 'openrouter-jev/typesafe/jev-1.13')
379
379
  rows.push({
380
380
  id: 'decision.selection.target',
381
- name: isPt ? 'Modelo de decisão' : 'Explicit target',
381
+ name: isPt ? 'Modelo de Decisão' : 'Decision Model',
382
382
  value:
383
383
  config.selection.mode === 'local'
384
384
  ? config.selection.provider
@@ -412,7 +412,7 @@ export function buildDecisionTab(
412
412
 
413
413
  rows.push({
414
414
  id: 'decision.consent',
415
- name: isPt ? 'Acesso à nuvem (Egress)' : 'Egress consent',
415
+ name: isPt ? 'Acesso à Nuvem' : 'Cloud API Access',
416
416
  value: config.egress_consent ? 'granted' : 'not granted',
417
417
  ...(corrupt ? {} : { cycle: DECISION_CONSENT_CYCLE }),
418
418
  note: isPt
@@ -428,7 +428,7 @@ export function buildDecisionTab(
428
428
  id: 'decision',
429
429
  title: isPt ? 'Decisão' : 'Decision',
430
430
  groups: [
431
- { title: isPt ? 'Assistente de Decisão' : 'Decision router', rows },
431
+ { title: isPt ? 'Assistente de Decisão (Jev)' : 'Decision Assistant (Jev)', rows },
432
432
  {
433
433
  title: isPt
434
434
  ? 'Credenciais (status apenas — valores nunca gravados na janela)'
@@ -70,16 +70,14 @@ export function buildJ1Tab(
70
70
 
71
71
  return {
72
72
  id: 'j1',
73
- title: isPt ? 'Segurança J1' : 'J1',
73
+ title: isPt ? 'Segurança J1' : 'J1 Safety',
74
74
  groups: [
75
75
  {
76
- title: isPt
77
- ? 'Nível de Segurança e Portão de Risco J1 (env-only)'
78
- : 'Safety Level & Risk Gate (J1) (env-only — never written here)',
76
+ title: isPt ? 'Portão de Segurança (J1)' : 'Safety Risk Gate (J1)',
79
77
  rows: [
80
78
  {
81
79
  id: 'j1.mode',
82
- name: isPt ? 'Modo de execução' : 'Mode',
80
+ name: isPt ? 'Modo de Operação' : 'Operation Mode',
83
81
  value: mode,
84
82
  note: `${desc} · ${isPt ? 'reinício necessário (restart applies)' : 'restart applies'}`,
85
83
  },
@@ -93,7 +91,7 @@ export function buildJ1Tab(
93
91
  },
94
92
  {
95
93
  id: 'j1.gate',
96
- name: isPt ? 'Estado do portão' : 'Gate',
94
+ name: isPt ? 'Portão de Segurança' : 'Safety Risk Gate',
97
95
  value: gateState,
98
96
  note: `${J1_FLAG_ENV} / ${J1_THRESHOLD_ENV} · ${isPt ? 'lido na inicialização' : 'read once at startup'}`,
99
97
  },
@@ -70,7 +70,7 @@ Presented to user for confirmation before starting:
70
70
  2. **Tier 2 Requires `>>`:** Only explicit `>>` prefix requests trigger user-visible contract confirmation.
71
71
  3. **Language Consistency:** Always preserve the user's language (PT-BR requests produce PT-BR briefs).
72
72
  4. **Fail-Open:** Any error during refinement falls back to the original prompt without blocking.
73
- 5. **Ambiguity Resolution:**
74
- - With decision router active, use `pantheon_jev_decide` (mode: `choice`) for non-trivial architectural trade-offs.
75
- - Fall back to native `question` tool with options and marked defaults if Jev is off or unavailable.
76
- - Non-blocking gaps use sensible declared defaults.
73
+ 5. **Interactive Questioning & Ambiguity Resolution:**
74
+ - Whenever prompt refinement requires user disambiguation or confirmation of critical trade-offs, **always invoke the native `question` tool** with structured choices and marked defaults.
75
+ - With decision router active, use `pantheon_jev_decide` (mode: `choice`) for internal candidate scoring.
76
+ - Non-blocking minor gaps use sensible declared defaults without stalling the flow.