pantheon-opencode 1.6.3-beta.18 → 1.6.3-beta.19
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 +6 -0
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/pyproject.toml +1 -1
- package/src/pantheon/local-decision-router.ts +6 -0
- package/src/pantheon/local-decision-turn.ts +39 -4
- package/src/plugins/tui/package-lock.json +2 -2
- package/src/plugins/tui/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@ 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.19] - 2026-11-06
|
|
14
|
+
|
|
15
|
+
## 🆕 What's New
|
|
16
|
+
- Local router D3 fixed: a PT-BR delegation no longer starves on skills — when the English-lexical prefilter matches nothing but the agent is known, the agent's curated delegation-relevant grants feed the turn (same domain, EN fed / PT starved was the four-report-old field bug).
|
|
17
|
+
- D4: the complexity dimensions' polarity is documented where it bit — higher = riskier/less contained (boundedness:2 is POORLY bounded), aggregate label = max(dimensions).
|
|
18
|
+
|
|
13
19
|
## [v1.6.3-beta.18] - 2026-11-06
|
|
14
20
|
|
|
15
21
|
## 🆕 What's New
|
package/package.json
CHANGED
package/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pantheon",
|
|
3
3
|
"publisher": "ils15",
|
|
4
|
-
"version": "1.6.3-beta.
|
|
4
|
+
"version": "1.6.3-beta.19",
|
|
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.
|
|
7
|
+
version = "1.6.3-beta.19"
|
|
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
|
|
@@ -4,6 +4,12 @@ import { PANTHEON_AGENTS } from './v2-delegation-enforce.ts'
|
|
|
4
4
|
export const LOCAL_DECISION_ROUTER_ENV = 'PANTHEON_LOCAL_DECISION_ROUTER'
|
|
5
5
|
export const LOCAL_DECISION_ROUTER_POLICY_VERSION = 'local-decision-router/v1'
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Complexity dimensions, each 0..2 where HIGHER MEANS RISKIER/LESS CONTAINED
|
|
9
|
+
* (field report D4, three rounds unread): `boundedness: 2` reads like "very
|
|
10
|
+
* bounded" but means POORLY bounded (scope escapes). The label aggregate is
|
|
11
|
+
* max(dimensions) — one hot dimension is enough to label the task high.
|
|
12
|
+
*/
|
|
7
13
|
export const LOCAL_DECISION_COMPLEXITY_DIMENSIONS = [
|
|
8
14
|
'boundedness',
|
|
9
15
|
'reversibility',
|
|
@@ -55,20 +55,55 @@ function readConfig(): UserDecisionRouterConfig | undefined {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
/**
|
|
59
|
+
* Delegation-relevant skills per specialist (D3 fix, field reports beta.13-16:
|
|
60
|
+
* a PT-Brasil delegation matched the agent lexically but starved on skills —
|
|
61
|
+
* the English-lexical prefilter returned [] for the same domain). When the
|
|
62
|
+
* prefilter matches nothing but an agent was selected, these curated subsets
|
|
63
|
+
* of the agent's own grants keep the delegation fed. Pinned against the
|
|
64
|
+
* canonical frontmatter by tests/pantheon/local-decision-turn.test.ts.
|
|
65
|
+
*/
|
|
66
|
+
const AGENT_SKILL_FALLBACK: Readonly<Record<string, readonly string[]>> = Object.freeze({
|
|
67
|
+
athena: ['spec-driven-development', 'verification-planning'],
|
|
68
|
+
apollo: ['codemap'],
|
|
69
|
+
themis: ['code-review-checklist', 'security-hardening'],
|
|
70
|
+
hermes: ['incremental-implementation', 'tdd-with-agents'],
|
|
71
|
+
aphrodite: ['incremental-implementation', 'visual-review-pipeline'],
|
|
72
|
+
demeter: ['incremental-implementation', 'tdd-with-agents'],
|
|
73
|
+
prometheus: ['git-workflow-and-versioning'],
|
|
74
|
+
hephaestus: ['tdd-with-agents'],
|
|
75
|
+
nyx: ['auto-continue'],
|
|
76
|
+
gaia: ['auto-continue'],
|
|
77
|
+
iris: ['artifact-management', 'git-workflow-and-versioning'],
|
|
78
|
+
mnemosyne: ['memory-bank', 'context-compression'],
|
|
79
|
+
talos: ['incremental-implementation'],
|
|
80
|
+
})
|
|
81
|
+
|
|
82
|
+
/** Pure decision core exposed for offline tests (D3 contract).
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
export function localDecisionForTest(
|
|
59
86
|
request: string,
|
|
60
87
|
policy: LocalDecisionPolicy | undefined,
|
|
61
88
|
reasonCode: string,
|
|
62
89
|
): TurnDecision {
|
|
63
|
-
const
|
|
90
|
+
const selection = selectPantheonSkills(request)
|
|
64
91
|
const agent = hasDelegationSignal(request)
|
|
65
92
|
? recommendLocalDecisionAgent(request, policy).agent
|
|
66
93
|
: null
|
|
94
|
+
// D3: the prefilter is English-lexical; a PT state for the SAME domain
|
|
95
|
+
// starved. When it matches nothing but the agent is known, fall back to the
|
|
96
|
+
// agent's own curated grants — never an empty recommendation for a routed
|
|
97
|
+
// specialist.
|
|
98
|
+
const skillIds =
|
|
99
|
+
selection.skillIds.length > 0 || agent === null || !(agent in AGENT_SKILL_FALLBACK)
|
|
100
|
+
? selection.skillIds
|
|
101
|
+
: AGENT_SKILL_FALLBACK[agent]
|
|
67
102
|
return {
|
|
68
103
|
schemaVersion: 1,
|
|
69
104
|
active: true,
|
|
70
105
|
source: 'local',
|
|
71
|
-
skillIds
|
|
106
|
+
skillIds,
|
|
72
107
|
agent,
|
|
73
108
|
reasonCode,
|
|
74
109
|
}
|
|
@@ -97,5 +132,5 @@ export async function decideLocalForTurn(input: TurnDecisionInput): Promise<Turn
|
|
|
97
132
|
if (config === undefined || !isUserDecisionRouterEnabled(config)) return inactive('DISABLED')
|
|
98
133
|
|
|
99
134
|
const policy = await loadLocalDecisionPolicy().catch(() => undefined)
|
|
100
|
-
return
|
|
135
|
+
return localDecisionForTest(request, policy, 'LOCAL_SELECTION')
|
|
101
136
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pantheon-tui",
|
|
3
|
-
"version": "1.6.3-beta.
|
|
3
|
+
"version": "1.6.3-beta.19",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pantheon-tui",
|
|
9
|
-
"version": "1.6.3-beta.
|
|
9
|
+
"version": "1.6.3-beta.19",
|
|
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.
|
|
4
|
+
"version": "1.6.3-beta.19",
|
|
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": {
|