pantheon-opencode 1.6.3-beta.28 → 1.6.3-beta.29

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,35 @@ 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.29] - 2026-11-07
14
+
15
+ ## 🆕 What's New
16
+ - **skills** — the three-tier refine — minimal adjust default, full contract via >> only
17
+ - **skills** — the refinement tiers — internal minimal adjust, >> full contract
18
+ - **routing** — the pre-stable cost inventory
19
+ - **skills** — the enhancer references and project-convention priority
20
+ - **skills** — the three-tier refine — minimal adjust default, full contract via >> only
21
+ - **routing** — the external-ref regressions
22
+ - **routing** — the criteria object form and the fixture-vs-work rule
23
+ - **install** — the deterministic refine trigger
24
+ - **skills** — agent-forge on-demand agents and the order-mode discovery ladder
25
+ - **routing** — the J1 approval gate — explicit ask, hash-pinned pass
26
+ - **routing** — the J1 enforce handoff contract — risk hands off to the human
27
+ - **routing** — the order mode (top-K ordering) and the noul rename
28
+ - **routing** — the J1 escalation ladder (off/shadow/warn/enforce) and the caller-refusal remedy
29
+ - **skills** — the prompt-refinery contract and the nyx observability restore
30
+ - **install** — one coherent setup summary — inline warnings, project-only worktree box, flags hint
31
+ - **routing** — the beta.12 field acceptance record
32
+ - **tui** — the paginated What's New window with the curated summary contract
33
+
34
+ ## 🐞 Fixed
35
+ - **install** — the jsonc heal repairs orphan commas
36
+ - **config** — the jsonc heal and the venv-aware test:ci
37
+ - **validate** — the V2 package probe
38
+ - **routing** — the local-router D3 PT fallback and the D4 polarity docs
39
+ - **install** — heal the cwd-relative agent source field — the Agent-not-found root cause
40
+ - **routing** — the beta.13 field report — verify evidence, popularity parser, stable plugin root
41
+ - **routing** — the field-report corrections — descriptions ride, envelope everywhere, rank 20, gate influence
13
42
  ## [v1.6.3-beta.28] - 2026-11-07
14
43
 
15
44
  ## 🆕 What's New
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pantheon-opencode",
3
- "version": "1.6.3-beta.28",
3
+ "version": "1.6.3-beta.29",
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.28",
4
+ "version": "1.6.3-beta.29",
5
5
  "displayName": "Pantheon",
6
6
  "description": "Conductor-Delegate orchestration platform with 14 specialized agents, 22 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.28"
7
+ version = "1.6.3-beta.29"
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/skills-lock.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "src/skills/agent-coordination/SKILL.md": "ffa4cfc9c778dd9619665010de32d82d49ae5bb803c985dc99417eb6fc7c3d1c",
3
- "src/skills/agent-forge/SKILL.md": "83d032a17299a67eb0ae7053d5cafd61abad061def19990de118179777300309",
3
+ "src/skills/agent-forge/SKILL.md": "cbe09946a59fa45b471828d9de6e7bc5c4b2fa29e0ce48e21d188593ece6c046",
4
4
  "src/skills/artifact-management/SKILL.md": "55446fbd0e13f9097d091b9773c37910409b70e26df5781bde8d903ff89a07fd",
5
- "src/skills/auto-continue/SKILL.md": "090f61bfa1a394f5146e838c63e7e9d58f47a1f49bc84927e5cdfc07eaa4cc33",
5
+ "src/skills/auto-continue/SKILL.md": "cf785a2afa6d75894ae8889a5c5e107df4b910630dacf82952546c06b0e03941",
6
6
  "src/skills/clonedeps/SKILL.md": "3e0b43cf96da98c83699dc48db3fd58fbfda84b9022bb70d3747875c81c3e124",
7
7
  "src/skills/code-review-checklist/SKILL.md": "cbaffb89045e1bbb7c3c905248f953ec3faa2c1d4679bcd5320df99798df2f98",
8
8
  "src/skills/codemap/SKILL.md": "d21b3fa66b931b29dcf1ec0f0fcf1ec28514642a9f33f96e4b2901a0be74c72d",
@@ -11,7 +11,7 @@
11
11
  "src/skills/incremental-implementation/SKILL.md": "7065ddb45da3c6b6751de07f290e92e6cb072e949a2e3aaae13ee7762f0a70fc",
12
12
  "src/skills/loop-engineering/SKILL.md": "f804e545821b9cca8fe0ec517307ed902446f28c2ca8ff9194c0f987cf7229e3",
13
13
  "src/skills/memory-bank/SKILL.md": "6c27623e5588b7ba44fbd0ea88e5061ed36894e1c7cbc88e50f003c2b463d9ff",
14
- "src/skills/prompt-refinery/SKILL.md": "d2ed35b1d74ee1caef07b572ee7771e19019a9bc6ad40ea71c4b32dbccd256d9",
14
+ "src/skills/prompt-refinery/SKILL.md": "a4935058aba4845ce93049113fc7f524eff31bbe3b1dbf46bbea208c6b2d5612",
15
15
  "src/skills/reflect/SKILL.md": "4c7608c2a55cb8a50ac90fc0e2446bdf25e7914b1748cb7731c311d13c29dfdd",
16
16
  "src/skills/security-hardening/SKILL.md": "6d637e122421f7bc3b751f04854ad343a5a5d35249458bc8939233138fd3f20d",
17
17
  "src/skills/session-goal/SKILL.md": "2911157c8e020f62ca015a73a46f5427f41da71c83e624d6a1cecf7d64c64aea",
@@ -22,7 +22,6 @@ import {
22
22
  DECISION_PROVIDER_ADAPTERS,
23
23
  type DecisionProviderId,
24
24
  } from './local-decision-provider-matrix.ts'
25
- import { selectPantheonSkills } from './local-decision-skills.ts'
26
25
  import { PANTHEON_AGENT_CATALOG, PANTHEON_SKILL_CATALOG } from './pantheon-decision-catalog.ts'
27
26
  import {
28
27
  findRouteKind,
@@ -464,15 +464,15 @@ export function createJ1RiskGateObserver(
464
464
  mode?: J1RiskGateMode
465
465
  threshold?: number
466
466
  },
467
- ): (event: unknown) => Promise<void | J1Verdict> {
467
+ ): (event: unknown) => Promise<J1Verdict | undefined> {
468
468
  const timeoutMs = options.timeoutMs ?? J1_RISK_GATE_TIMEOUT_MS
469
469
  const sink = options.sink
470
470
  const enforce = options.mode === 'enforce'
471
471
  const threshold = options.threshold ?? J1_ENFORCE_THRESHOLD_DEFAULT
472
- return async (event: unknown): Promise<void | J1Verdict> => {
472
+ return async (event: unknown): Promise<J1Verdict | undefined> => {
473
473
  try {
474
474
  const payload = (event ?? {}) as J1ExecuteBeforeEvent
475
- if (!isRiskGateTarget(payload.tool)) return
475
+ if (!isRiskGateTarget(payload.tool)) return undefined
476
476
  const tool = payload.tool
477
477
  const scope = classifyRiskGateScope(tool)
478
478
  const built = buildRiskGateRequest({
@@ -482,7 +482,7 @@ export function createJ1RiskGateObserver(
482
482
  })
483
483
  if (!built.ok) {
484
484
  recordSkip(sink, 'skip-input-invalid')
485
- return
485
+ return undefined
486
486
  }
487
487
  const controller = new AbortController()
488
488
  const timer = setTimeout(() => controller.abort(), timeoutMs)
@@ -507,11 +507,11 @@ export function createJ1RiskGateObserver(
507
507
  ])
508
508
  if (outcome === 'timeout') {
509
509
  recordSkip(sink, 'skip-timeout')
510
- return
510
+ return undefined
511
511
  }
512
512
  if (!outcome.ok) {
513
513
  recordSkip(sink, mapGateFailureToSkipReason(outcome.reasonCode))
514
- return
514
+ return undefined
515
515
  }
516
516
  const evaluation = evaluateRiskGateDecision(outcome.call.response, outcome.call.request)
517
517
  observeShadow(
@@ -543,6 +543,7 @@ export function createJ1RiskGateObserver(
543
543
  // be opened; any other unexpected failure lands here too. One skip
544
544
  // record, no detail, no propagation into the tool call.
545
545
  recordSkip(sink, 'skip-gate-unavailable')
546
+ return undefined
546
547
  }
547
548
  }
548
549
  }
@@ -447,6 +447,47 @@ export interface V2ToolShadowOptions {
447
447
  * per-call definition with no construction-time I/O. A fresh descriptor array
448
448
  * prevents callers from mutating another registration's definitions.
449
449
  */
450
+ /** JSON Schema for `todowrite` — the TUI todo panel's feed (full replace). */
451
+ const TODOWRITE_INPUT = {
452
+ type: 'object',
453
+ additionalProperties: false,
454
+ required: ['todos'],
455
+ properties: {
456
+ todos: {
457
+ type: 'array',
458
+ minItems: 1,
459
+ maxItems: 50,
460
+ items: {
461
+ type: 'object',
462
+ additionalProperties: false,
463
+ required: ['content', 'status'],
464
+ properties: {
465
+ content: { type: 'string', minLength: 1, maxLength: 500 },
466
+ status: { type: 'string', enum: ['pending', 'in_progress', 'completed', 'cancelled'] },
467
+ },
468
+ },
469
+ },
470
+ },
471
+ } as const
472
+
473
+ /** A V2 pass-through `todowrite`: the host stores the tool part in the
474
+ * transcript, and the TUI todo panel renders the newest completed write. The
475
+ * tool itself is stateless — the transcript IS the store. */
476
+ const todowriteTool: V2ToolDef = {
477
+ name: 'todowrite',
478
+ description:
479
+ 'Write the session task checklist (full replace). The TUI todo panel renders the ' +
480
+ 'newest list; mark each item in_progress/completed as soon as its state changes.',
481
+ input: TODOWRITE_INPUT,
482
+ output: {},
483
+ execute: async (input) => {
484
+ const todos = Array.isArray((input as Record<string, unknown>).todos)
485
+ ? (input as Record<string, unknown>).todos
486
+ : []
487
+ return { ok: true, todos, output: JSON.stringify({ todos }) }
488
+ },
489
+ }
490
+
450
491
  export function createV2ToolDefinitions(
451
492
  visionRuntime?: V2VisionRuntime,
452
493
  shadow: V2ToolShadowOptions = {},
@@ -497,6 +538,7 @@ export function createV2ToolDefinitions(
497
538
  ...(shadow.complexitySink === undefined ? {} : { sink: shadow.complexitySink }),
498
539
  }),
499
540
  )
541
+ definitions.push(todowriteTool)
500
542
  if (visionRuntime) definitions.push(createV2VisionTool(visionRuntime))
501
543
  if (jevRuntime) definitions.push(createV2JevDecisionDefinition(jevRuntime))
502
544
  return definitions
package/src/plugin-v2.ts CHANGED
@@ -1994,7 +1994,7 @@ async function registerV2ToolHooks(
1994
1994
  // only — it is fired WITHOUT await inside the before-handler (fire-and-
1995
1995
  // observe), self-bounds at 2s with an AbortController, and never retries.
1996
1996
  const j1Mode = j1ModeFromEnv()
1997
- let j1Observer: ((event: unknown) => Promise<void | J1Verdict>) | undefined
1997
+ let j1Observer: ((event: unknown) => Promise<J1Verdict | undefined>) | undefined
1998
1998
  if (jevRuntime !== undefined && j1Mode !== 'off') {
1999
1999
  const j1Sink = createTelemetrySink()
2000
2000
  j1TelemetrySink = j1Sink
@@ -367,7 +367,7 @@ async function readChangelogForBundle(bundleUrl) {
367
367
  }
368
368
  /** The ambient build-time version, or null outside a tsdown build. */
369
369
  function embeddedVersion() {
370
- return "1.6.3-beta.25";
370
+ return "1.6.3-beta.28";
371
371
  }
372
372
  /**
373
373
  * Resolve the running Pantheon version for the what's-new window: the plugin
@@ -3752,7 +3752,7 @@ function Sidebar(props) {
3752
3752
  setProp(_el$12, "width", "100%");
3753
3753
  setProp(_el$12, "padding", 1);
3754
3754
  setProp(_el$13, "attributes", 1);
3755
- insert(_el$13, `Pantheon v1.6.3-beta.25`);
3755
+ insert(_el$13, `Pantheon v1.6.3-beta.28`);
3756
3756
  insert(_el$14, () => presetHeaderLine(model.preset().name ?? "", model.provider()));
3757
3757
  insert(_el$12, createComponent(Show, {
3758
3758
  get when() {
@@ -4473,7 +4473,7 @@ function HomeStatus(props) {
4473
4473
  const muted = () => props.context.theme?.text?.muted ?? props.context.theme?.text?.base;
4474
4474
  return (() => {
4475
4475
  var _el$72 = createElement("text");
4476
- insert(_el$72, () => `Pantheon v1.6.3-beta.25${preset().name ? ` ▸ ${preset().name}` : ""}`);
4476
+ insert(_el$72, () => `Pantheon v1.6.3-beta.28${preset().name ? ` ▸ ${preset().name}` : ""}`);
4477
4477
  effect((_$p) => setProp(_el$72, "fg", muted(), _$p));
4478
4478
  return _el$72;
4479
4479
  })();
@@ -167,7 +167,7 @@ async function detectVersion(api) {
167
167
  if (ver) return ver;
168
168
  }
169
169
  } catch {}
170
- return "1.6.3-beta.25";
170
+ return "1.6.3-beta.28";
171
171
  }
172
172
  /**
173
173
  * usage-bar — AI subscription usage gauge for the opencode TUI.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pantheon-tui",
3
- "version": "1.6.3-beta.28",
3
+ "version": "1.6.3-beta.29",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pantheon-tui",
9
- "version": "1.6.3-beta.28",
9
+ "version": "1.6.3-beta.29",
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.28",
4
+ "version": "1.6.3-beta.29",
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": {