pantheon-opencode 1.6.3-beta.19 → 1.6.3-beta.20

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.20] - 2026-11-06
14
+
15
+ ## 🆕 What's New
16
+ - The J1 enforce block is now a HANDOFF CONTRACT: a high-risk call is denied with instructions to present it to the user for a MANUAL decision — no executing, no working around; the message names the levers (threshold, mode, rerun without the risky step).
17
+
13
18
  ## [v1.6.3-beta.19] - 2026-11-06
14
19
 
15
20
  ## 🆕 What's New
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pantheon-opencode",
3
- "version": "1.6.3-beta.19",
3
+ "version": "1.6.3-beta.20",
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.19",
4
+ "version": "1.6.3-beta.20",
5
5
  "displayName": "Pantheon",
6
6
  "description": "Conductor-Delegate orchestration platform with 14 specialized agents, 21 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.19"
7
+ version = "1.6.3-beta.20"
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/plugin-v2.ts CHANGED
@@ -2161,9 +2161,19 @@ async function registerV2ToolHooks(
2161
2161
  if (j1Mode === 'enforce') {
2162
2162
  const verdict = (await j1Observer(event)) as J1Verdict | undefined
2163
2163
  if (verdict?.block === true) {
2164
+ // The block is a HANDOFF CONTRACT (field: "risco alto deveria
2165
+ // vir pra mim executar manualmente"), not an error to route
2166
+ // around: present the refused call to the human for a manual
2167
+ // decision. Never echo the tool input here — the arguments may
2168
+ // carry the very secret the risk score flagged; the agent owns
2169
+ // its own rendering.
2164
2170
  throw new Error(
2165
- `[J1 enforce] chamada bloqueada: risco ${verdict.riskScore?.toFixed(2)} ` +
2166
- `>= threshold (ajuste PANTHEON_J1_ENFORCE_THRESHOLD ou rebaixe o modo para shadow/warn)`,
2171
+ `[J1 enforce] risco ${verdict.riskScore?.toFixed(2)} >= threshold ` +
2172
+ '— ENTREGUE AO USUÁRIO: apresente a chamada ' +
2173
+ 'recusada (ferramenta + o que ela faria), sem executá-la nem contorná-la de outra forma, ' +
2174
+ 'e pergunte se ele executa manualmente. Alternativas dele: ajustar ' +
2175
+ 'PANTHEON_J1_ENFORCE_THRESHOLD, rebaixar o modo para shadow/warn, ou reexecutar a tarefa ' +
2176
+ 'sem o passo arriscado.',
2167
2177
  )
2168
2178
  }
2169
2179
  } else {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pantheon-tui",
3
- "version": "1.6.3-beta.19",
3
+ "version": "1.6.3-beta.20",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pantheon-tui",
9
- "version": "1.6.3-beta.19",
9
+ "version": "1.6.3-beta.20",
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.19",
4
+ "version": "1.6.3-beta.20",
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": {