pantheon-opencode 1.6.3-beta.10 → 1.6.3-beta.11
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 +30 -6
- package/README.md +6 -0
- package/bin/pantheon-init.mjs +15 -27
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/pyproject.toml +1 -1
- package/scripts/decision-router-budget.mjs +102 -2
- package/scripts/decision-router-v2-budget.mjs +2 -2
- package/scripts/decision-router.mjs +82 -25
- package/scripts/install/decision-router-config.mjs +12 -4
- package/scripts/install/interactive.mjs +44 -27
- package/scripts/install/opencode.mjs +6 -0
- package/scripts/jev-live-probe.mjs +110 -84
- package/scripts/skill-search.mjs +242 -0
- package/src/agents/aphrodite.md +34 -1
- package/src/agents/apollo.md +227 -0
- package/src/agents/athena.md +24 -0
- package/src/agents/demeter.md +33 -0
- package/src/agents/gaia.md +24 -0
- package/src/agents/hephaestus.md +24 -0
- package/src/agents/hermes.md +33 -0
- package/src/agents/iris.md +24 -0
- package/src/agents/mnemosyne.md +25 -3
- package/src/agents/nyx.md +53 -22
- package/src/agents/prometheus.md +242 -1
- package/src/agents/talos.md +24 -0
- package/src/agents/themis.md +24 -0
- package/src/agents/zeus.md +36 -20
- package/src/pantheon/jev-decision-tool.ts +9 -0
- package/src/pantheon/jev-risk-gate.ts +1 -0
- package/src/pantheon/local-decision-budget.ts +169 -2
- package/src/pantheon/local-decision-usage-evidence.internal.ts +2 -2
- package/src/pantheon/v2-decision-budget.ts +4 -2
- package/src/plugins/tui/dist/tui-v2.js +3 -3
- 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
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** Providers that can appear in usage details: native Decisions routes. */
|
|
11
|
-
export type UsageProvider = 'typesafe-jev' | 'opencode-console'
|
|
11
|
+
export type UsageProvider = 'typesafe-jev' | 'opencode-console' | 'openrouter'
|
|
12
12
|
|
|
13
13
|
export interface ParsedUsageCounts {
|
|
14
14
|
provider: UsageProvider
|
|
@@ -47,7 +47,7 @@ const evidenceDetails = new WeakMap<object, VerifiedUsageEvidenceDetails>()
|
|
|
47
47
|
* absent: direct OpenAI has no native route, so it can never settle one.
|
|
48
48
|
*/
|
|
49
49
|
function isNativeUsageProvider(value: string): value is UsageProvider {
|
|
50
|
-
return value === 'typesafe-jev' || value === 'opencode-console'
|
|
50
|
+
return value === 'typesafe-jev' || value === 'opencode-console' || value === 'openrouter'
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/**
|
|
@@ -288,7 +288,9 @@ export function readDecisionBudgetLedgerFacts(dbPath: string): DecisionBudgetLed
|
|
|
288
288
|
.user_version
|
|
289
289
|
const applicationId = (db.prepare('PRAGMA application_id').get() as { application_id: number })
|
|
290
290
|
.application_id
|
|
291
|
-
|
|
291
|
+
// v4 adds the released_holds archive; the live tables this module reads
|
|
292
|
+
// are identical from v3 through v4.
|
|
293
|
+
if (applicationId !== EXPECTED_APPLICATION_ID || (version !== 3 && version !== 4)) {
|
|
292
294
|
return { present: true, readable: false, reason: 'unsupported-schema' }
|
|
293
295
|
}
|
|
294
296
|
const activeRow = db.prepare('SELECT active_period_utc FROM ledger_state WHERE id = 1').get() as
|
|
@@ -425,7 +427,7 @@ export function listDecisionHoldsReadOnly(dbPath: string): DecisionHoldRow[] | n
|
|
|
425
427
|
.application_id
|
|
426
428
|
const version = (db.prepare('PRAGMA user_version').get() as { user_version: number })
|
|
427
429
|
.user_version
|
|
428
|
-
if (applicationId !== EXPECTED_APPLICATION_ID || version !== 3) return null
|
|
430
|
+
if (applicationId !== EXPECTED_APPLICATION_ID || (version !== 3 && version !== 4)) return null
|
|
429
431
|
const rows = db
|
|
430
432
|
.prepare(
|
|
431
433
|
`SELECT id, provider, model, period_utc, reserved_micros, state
|
|
@@ -330,7 +330,7 @@ async function readChangelogForBundle(bundleUrl) {
|
|
|
330
330
|
}
|
|
331
331
|
/** The ambient build-time version, or null outside a tsdown build. */
|
|
332
332
|
function embeddedVersion() {
|
|
333
|
-
return "1.6.3-beta.
|
|
333
|
+
return "1.6.3-beta.11";
|
|
334
334
|
}
|
|
335
335
|
/**
|
|
336
336
|
* Resolve the running Pantheon version for the what's-new window: the plugin
|
|
@@ -3649,7 +3649,7 @@ function Sidebar(props) {
|
|
|
3649
3649
|
setProp(_el$12, "width", "100%");
|
|
3650
3650
|
setProp(_el$12, "padding", 1);
|
|
3651
3651
|
setProp(_el$13, "attributes", 1);
|
|
3652
|
-
insert(_el$13, `Pantheon v1.6.3-beta.
|
|
3652
|
+
insert(_el$13, `Pantheon v1.6.3-beta.11`);
|
|
3653
3653
|
insert(_el$14, () => presetHeaderLine(model.preset().name ?? "", model.provider()));
|
|
3654
3654
|
insert(_el$12, createComponent(Show, {
|
|
3655
3655
|
get when() {
|
|
@@ -4370,7 +4370,7 @@ function HomeStatus(props) {
|
|
|
4370
4370
|
const muted = () => props.context.theme?.text?.muted ?? props.context.theme?.text?.base;
|
|
4371
4371
|
return (() => {
|
|
4372
4372
|
var _el$72 = createElement("text");
|
|
4373
|
-
insert(_el$72, () => `Pantheon v1.6.3-beta.
|
|
4373
|
+
insert(_el$72, () => `Pantheon v1.6.3-beta.11${preset().name ? ` ▸ ${preset().name}` : ""}`);
|
|
4374
4374
|
effect((_$p) => setProp(_el$72, "fg", muted(), _$p));
|
|
4375
4375
|
return _el$72;
|
|
4376
4376
|
})();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pantheon-tui",
|
|
3
|
-
"version": "1.6.3-beta.
|
|
3
|
+
"version": "1.6.3-beta.11",
|
|
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.11",
|
|
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.11",
|
|
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": {
|