pantheon-opencode 1.6.2-beta.11 → 1.6.2-beta.12
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 +8 -0
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/pyproject.toml +1 -1
- package/src/pantheon/jev-decision-tool.ts +10 -1
- package/src/pantheon/jev-decisions.ts +16 -2
- package/src/plugins/tui/dist/tui-v2.js +2 -2
- package/src/plugins/tui/dist/tui.js +1 -1
- package/src/plugins/tui/package-lock.json +2 -2
- package/src/plugins/tui/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,14 @@ 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.2-beta.12] - 2026-11-03
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- **routing** — `ROUTE_UNRESOLVED` refusals now carry the inner verdict in `detail` (`MODEL_NOT_IN_CATALOG`, `AMBIGUOUS_MODEL`, `MODEL_NOT_DECISION`): the class alone does not tell whether the configured decision model is absent from the host catalog or present but not decision-typed, and those have different fixes. Field-measured on 2.2.5: a host catalog without the Console Jev model (no OpenCode Console credential) reports `MODEL_NOT_IN_CATALOG`.
|
|
18
|
+
|
|
19
|
+
<!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
|
|
20
|
+
move this section to a versioned entry and reset the template below. -->
|
|
13
21
|
## [v1.6.2-beta.11] - 2026-11-03
|
|
14
22
|
|
|
15
23
|
### Fixed
|
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.2-beta.
|
|
4
|
+
"version": "1.6.2-beta.12",
|
|
5
5
|
"displayName": "Pantheon",
|
|
6
6
|
"description": "Conductor-Delegate orchestration platform with 14 specialized agents, 20 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.2-beta.
|
|
7
|
+
version = "1.6.2-beta.12"
|
|
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
|
|
@@ -98,6 +98,11 @@ function refusalDetail(reasonCode: JevDecisionRunFailure, err: unknown): string
|
|
|
98
98
|
return JSON.stringify({ advisory: false, effect: 'none', reasonCode, detail })
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
+
/** Refusal carrying an already-sanitized enum detail (never free-form text). */
|
|
102
|
+
function refusalNamed(reasonCode: JevDecisionRunFailure, detail: string): string {
|
|
103
|
+
return JSON.stringify({ advisory: false, effect: 'none', reasonCode, detail })
|
|
104
|
+
}
|
|
105
|
+
|
|
101
106
|
function isNonBlankString(value: unknown): value is string {
|
|
102
107
|
return typeof value === 'string' && value.trim().length > 0
|
|
103
108
|
}
|
|
@@ -206,7 +211,11 @@ export async function runJevDecision(
|
|
|
206
211
|
catalog,
|
|
207
212
|
(provider, model) => ledger.canReserve(provider, model).status === 'eligible',
|
|
208
213
|
)
|
|
209
|
-
if (!selection.ok)
|
|
214
|
+
if (!selection.ok) {
|
|
215
|
+
return selection.detail === undefined
|
|
216
|
+
? refusal(selection.reasonCode)
|
|
217
|
+
: refusalNamed(selection.reasonCode, selection.detail)
|
|
218
|
+
}
|
|
210
219
|
|
|
211
220
|
if (typeof runtime.permissionAssert !== 'function') return refusal('PERMISSION_UNAVAILABLE')
|
|
212
221
|
const assertion = await assertDecisionEgressPermission(
|
|
@@ -27,6 +27,7 @@ import { PANTHEON_AGENT_CATALOG, PANTHEON_SKILL_CATALOG } from './pantheon-decis
|
|
|
27
27
|
import {
|
|
28
28
|
NATIVE_DECISION_MAX_PROMPT_LENGTH,
|
|
29
29
|
type NativeDecisionRequest,
|
|
30
|
+
type NativeDecisionRouteFailure,
|
|
30
31
|
type ResolvedNativeDecisionRoute,
|
|
31
32
|
resolveNativeDecisionRoute,
|
|
32
33
|
} from './v2-native-decisions.ts'
|
|
@@ -67,7 +68,18 @@ export interface NativeJevRouteSelection {
|
|
|
67
68
|
|
|
68
69
|
export type NativeJevRouteResolution =
|
|
69
70
|
| { readonly ok: true; readonly selection: NativeJevRouteSelection }
|
|
70
|
-
| {
|
|
71
|
+
| {
|
|
72
|
+
readonly ok: false
|
|
73
|
+
readonly reasonCode: NativeJevRouteFailure
|
|
74
|
+
/**
|
|
75
|
+
* The inner route-resolution verdict when `reasonCode` is
|
|
76
|
+
* ROUTE_UNRESOLVED (`MODEL_NOT_IN_CATALOG`, `AMBIGUOUS_MODEL`,
|
|
77
|
+
* `MODEL_NOT_DECISION`): the class alone does not tell the user whether
|
|
78
|
+
* the configured decision model is absent from the host catalog or
|
|
79
|
+
* present but not decision-typed, and those have different fixes.
|
|
80
|
+
*/
|
|
81
|
+
readonly detail?: NativeDecisionRouteFailure
|
|
82
|
+
}
|
|
71
83
|
|
|
72
84
|
/**
|
|
73
85
|
* Keep only candidates that both map to a native route and pass the caller's
|
|
@@ -158,7 +170,9 @@ export function resolveNativeJevRoute(
|
|
|
158
170
|
undefined,
|
|
159
171
|
catalog,
|
|
160
172
|
)
|
|
161
|
-
if (!resolution.ok)
|
|
173
|
+
if (!resolution.ok) {
|
|
174
|
+
return { ok: false, reasonCode: 'ROUTE_UNRESOLVED', detail: resolution.reasonCode }
|
|
175
|
+
}
|
|
162
176
|
return {
|
|
163
177
|
ok: true,
|
|
164
178
|
selection: {
|
|
@@ -3197,7 +3197,7 @@ function Sidebar(props) {
|
|
|
3197
3197
|
setProp(_el$12, "width", "100%");
|
|
3198
3198
|
setProp(_el$12, "padding", 1);
|
|
3199
3199
|
setProp(_el$13, "attributes", 1);
|
|
3200
|
-
insert(_el$13, `Pantheon v1.6.2-beta.
|
|
3200
|
+
insert(_el$13, `Pantheon v1.6.2-beta.12`);
|
|
3201
3201
|
insert(_el$14, () => presetHeaderLine(model.preset().name ?? "", model.provider()));
|
|
3202
3202
|
insert(_el$12, createComponent(Show, {
|
|
3203
3203
|
get when() {
|
|
@@ -3918,7 +3918,7 @@ function HomeStatus(props) {
|
|
|
3918
3918
|
const muted = () => props.context.theme?.text?.muted ?? props.context.theme?.text?.base;
|
|
3919
3919
|
return (() => {
|
|
3920
3920
|
var _el$72 = createElement("text");
|
|
3921
|
-
insert(_el$72, () => `Pantheon v1.6.2-beta.
|
|
3921
|
+
insert(_el$72, () => `Pantheon v1.6.2-beta.12${preset().name ? ` ▸ ${preset().name}` : ""}`);
|
|
3922
3922
|
effect((_$p) => setProp(_el$72, "fg", muted(), _$p));
|
|
3923
3923
|
return _el$72;
|
|
3924
3924
|
})();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pantheon-tui",
|
|
3
|
-
"version": "1.6.2-beta.
|
|
3
|
+
"version": "1.6.2-beta.12",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pantheon-tui",
|
|
9
|
-
"version": "1.6.2-beta.
|
|
9
|
+
"version": "1.6.2-beta.12",
|
|
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.2-beta.
|
|
4
|
+
"version": "1.6.2-beta.12",
|
|
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": {
|