pantheon-opencode 2.1.6 → 2.2.0-beta.1
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 +37 -0
- package/package.json +7 -1
- package/plugin.json +1 -1
- package/pyproject.toml +1 -1
- package/scripts/build-plugin.mjs +1 -1
- package/scripts/install-mcp.mjs +55 -27
- package/src/agents/roster.json +562 -0
- package/src/mcp/pantheon-mcp-server.mjs +508 -0
- package/src/plugin/index.js +8577 -140
- package/src/plugin/index.ts +42 -14
- package/src/plugin.ts +52 -1
- package/src/plugins/tui/dist/tui.d.ts +66 -0
- package/src/plugins/tui/dist/tui.d.ts.map +1 -1
- package/src/plugins/tui/dist/tui.js +1193 -365
- package/src/plugins/tui/dist/tui.js.map +1 -1
- package/src/plugins/tui/package-lock.json +2 -2
- package/src/plugins/tui/package.json +1 -1
- package/src/plugins/tui/src/index.tsx +632 -71
- package/src/plugins/tui/src/pantheon-settings.tsx +64 -13
- package/src/plugins/tui/src/quota-state.ts +128 -0
- package/src/plugins/tui/src/tui-prefs.ts +161 -12
package/src/plugin/index.ts
CHANGED
|
@@ -1,21 +1,49 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Pantheon V2 plugin
|
|
2
|
+
* Pantheon V2 unified plugin entry point.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* (`<pkg>/src/plugin`), never the `src/plugin.ts` file directly.
|
|
9
|
-
*
|
|
10
|
-
* This index is a thin re-export shim over the real entry at
|
|
11
|
-
* `src/plugin.ts` (kept as the single source of truth so the
|
|
12
|
-
* `./plugin` package export, unit tests, and V1 tooling keep working
|
|
13
|
-
* unchanged). The shim shape mirrors the verified probe:
|
|
14
|
-
* `export { default } from '<installed>/src/plugin.ts'` loads with zero
|
|
15
|
-
* errors and exposes the full orchestration plugin (tools, events, hooks).
|
|
4
|
+
* When loaded in OpenCode TUI mode (where context.ui.slot exists),
|
|
5
|
+
* it mounts the Pantheon TUI sidebar, status and dispatch views.
|
|
6
|
+
* When loaded in OpenCode Server mode, it registers Pantheon tools,
|
|
7
|
+
* hooks, and permissions.
|
|
16
8
|
*
|
|
17
9
|
* @module plugin/index
|
|
18
10
|
*/
|
|
19
11
|
|
|
12
|
+
import serverPlugin from '../plugin.ts'
|
|
13
|
+
|
|
20
14
|
export * from '../plugin.ts'
|
|
21
|
-
|
|
15
|
+
|
|
16
|
+
type MaybePlugin = {
|
|
17
|
+
setup?: (context: unknown) => unknown
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export async function setupUnified(context: unknown): Promise<unknown> {
|
|
21
|
+
const ctx = context as Record<string, unknown> | undefined
|
|
22
|
+
if (ctx?.ui && typeof (ctx.ui as { slot?: unknown }).slot === 'function') {
|
|
23
|
+
try {
|
|
24
|
+
const tuiMod = await import('../plugins/tui/dist/tui.js')
|
|
25
|
+
const tui = (tuiMod.default || tuiMod) as MaybePlugin | ((c: unknown) => unknown)
|
|
26
|
+
if (typeof tui === 'function') return tui(context)
|
|
27
|
+
if (typeof tui?.setup === 'function') return tui.setup(context)
|
|
28
|
+
} catch {
|
|
29
|
+
/* TUI bundle unavailable or failed to load */
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
const srv = serverPlugin as MaybePlugin | ((c: unknown) => unknown)
|
|
33
|
+
if (typeof srv === 'function') return srv(context)
|
|
34
|
+
if (typeof srv?.setup === 'function') {
|
|
35
|
+
return srv.setup(context)
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export const unifiedPlugin = Object.assign(
|
|
40
|
+
async function pantheonPlugin(context: unknown) {
|
|
41
|
+
return setupUnified(context)
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
id: 'pantheon-opencode',
|
|
45
|
+
setup: setupUnified,
|
|
46
|
+
},
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
export default unifiedPlugin
|
package/src/plugin.ts
CHANGED
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
* @module plugin
|
|
85
85
|
*/
|
|
86
86
|
|
|
87
|
-
import { appendFileSync, mkdirSync } from 'node:fs'
|
|
87
|
+
import { appendFileSync, existsSync, mkdirSync, readFileSync } from 'node:fs'
|
|
88
88
|
import { realpath as realpathAsync } from 'node:fs/promises'
|
|
89
89
|
import path from 'node:path'
|
|
90
90
|
import { fileURLToPath } from 'node:url'
|
|
@@ -547,6 +547,25 @@ function installV2TodoEnforcer(context: PluginContext): TodoEnforcer | undefined
|
|
|
547
547
|
|
|
548
548
|
// ─── V2 Transform Functions ─────────────────────────────────────────────
|
|
549
549
|
|
|
550
|
+
function readCanonicalRoster(): Record<string, Record<string, unknown>> {
|
|
551
|
+
try {
|
|
552
|
+
const candidates = [
|
|
553
|
+
fileURLToPath(new URL('agents/roster.json', import.meta.url)),
|
|
554
|
+
fileURLToPath(new URL('../src/agents/roster.json', import.meta.url)),
|
|
555
|
+
fileURLToPath(new URL('src/agents/roster.json', import.meta.url)),
|
|
556
|
+
path.join(process.cwd(), 'src', 'agents', 'roster.json'),
|
|
557
|
+
]
|
|
558
|
+
for (const p of candidates) {
|
|
559
|
+
if (existsSync(p)) {
|
|
560
|
+
const raw = readFileSync(p, 'utf8')
|
|
561
|
+
const data = JSON.parse(raw) as { agents?: Record<string, Record<string, unknown>> }
|
|
562
|
+
if (data && typeof data.agents === 'object') return data.agents
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
} catch {}
|
|
566
|
+
return {}
|
|
567
|
+
}
|
|
568
|
+
|
|
550
569
|
function transformAgents(draft: AgentDraft): void {
|
|
551
570
|
// Beta 19192 guard (issue #92): draft may not have `list`, or list()
|
|
552
571
|
// may return a non-iterable. Never throw — mark unsupported and return.
|
|
@@ -583,6 +602,38 @@ function transformAgents(draft: AgentDraft): void {
|
|
|
583
602
|
markUnsupported('agent-model-overrides')
|
|
584
603
|
}
|
|
585
604
|
try {
|
|
605
|
+
const roster = readCanonicalRoster()
|
|
606
|
+
const seenIds = new Set<string>()
|
|
607
|
+
for (const agent of agents) {
|
|
608
|
+
if (agent?.id) seenIds.add(agent.id)
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
// Auto-provision any missing Pantheon agents (for single-command plugin add installs)
|
|
612
|
+
for (const [id, def] of Object.entries(roster)) {
|
|
613
|
+
if (!seenIds.has(id) && typeof draft.update === 'function') {
|
|
614
|
+
try {
|
|
615
|
+
draft.update(id, (current: Record<string, unknown>) => {
|
|
616
|
+
// If the host mock passed an existing different agent, do not mutate it
|
|
617
|
+
if (current.id && current.id !== id) return
|
|
618
|
+
current.id = id
|
|
619
|
+
current.name = def.name ?? id
|
|
620
|
+
current.description = def.description ?? ''
|
|
621
|
+
current.mode = id === 'zeus' ? 'primary' : (def.mode ?? 'subagent')
|
|
622
|
+
if (def.temperature !== undefined) current.temperature = def.temperature
|
|
623
|
+
const body = typeof def.body === 'string' ? def.body.trim() : ''
|
|
624
|
+
current.system = body ? `${body}\n\n${POLICY}` : POLICY
|
|
625
|
+
})
|
|
626
|
+
} catch {
|
|
627
|
+
/* fail-open */
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
// Default agent is Zeus
|
|
633
|
+
try {
|
|
634
|
+
if (typeof draft.default === 'function') draft.default('zeus')
|
|
635
|
+
} catch {}
|
|
636
|
+
|
|
586
637
|
for (const agent of agents) {
|
|
587
638
|
draft.update(agent.id, (current) => {
|
|
588
639
|
// Beta 19192 hardening + SystemPart SKIP: `system` may be a non-string
|
|
@@ -203,6 +203,46 @@ export declare function contextBlockRows(usage: ContextUsage | null, cost: numbe
|
|
|
203
203
|
cells?: number;
|
|
204
204
|
evenMark?: boolean;
|
|
205
205
|
}): ContextBlockRows | null;
|
|
206
|
+
export type TurnCostSummary = {
|
|
207
|
+
current: number;
|
|
208
|
+
previous: number | null;
|
|
209
|
+
};
|
|
210
|
+
/** Custo do último turno do assistente e do turno anterior. Pure. */
|
|
211
|
+
export declare function latestTurnCost(messages: readonly any[] | null | undefined): TurnCostSummary | null;
|
|
212
|
+
export declare function formatTurnCostUSD(cost: number | null | undefined): string | null;
|
|
213
|
+
export declare function formatTurnCostLine(summary: TurnCostSummary | null | undefined): string | null;
|
|
214
|
+
export type TokenAnatomy = {
|
|
215
|
+
input: number;
|
|
216
|
+
output: number;
|
|
217
|
+
reasoning: number;
|
|
218
|
+
};
|
|
219
|
+
/** Extrai desdobramento de tokens (input, output, reasoning/thinking). Pure. */
|
|
220
|
+
export declare function extractTokenAnatomy(tokens: any): TokenAnatomy | null;
|
|
221
|
+
export declare function formatTokenAnatomyLine(anatomy: TokenAnatomy | null | undefined): string | null;
|
|
222
|
+
export declare function formatTokenAnatomySplit(anatomy: TokenAnatomy | null | undefined): {
|
|
223
|
+
inOut: string | null;
|
|
224
|
+
think: string | null;
|
|
225
|
+
} | null;
|
|
226
|
+
export type ToolCallSummary = {
|
|
227
|
+
total: number;
|
|
228
|
+
failures: number;
|
|
229
|
+
};
|
|
230
|
+
/** Conta chamadas de ferramentas e eventuais falhas/erros. Pure. */
|
|
231
|
+
export declare function countToolCalls(messages: readonly any[] | null | undefined): ToolCallSummary;
|
|
232
|
+
export declare function formatToolCallLine(summary: ToolCallSummary | null | undefined, locale?: string): string | null;
|
|
233
|
+
export type CompactionInfo = {
|
|
234
|
+
count: number;
|
|
235
|
+
prunedTokens: number;
|
|
236
|
+
};
|
|
237
|
+
/** Extrai contagem de compactações e estimativa de tokens podados. Pure. */
|
|
238
|
+
export declare function extractCompactionInfo(messages: readonly any[] | null | undefined): CompactionInfo;
|
|
239
|
+
/** Conta quantas vezes a sessão sofreu compactação nativa. Pure. */
|
|
240
|
+
export declare function countSessionCompactions(messages: readonly any[] | null | undefined): number;
|
|
241
|
+
export declare function formatCompactionBadge(info: number | CompactionInfo | null | undefined): string | null;
|
|
242
|
+
/** Conta mensagens do usuário para mensurar turnos da sessão. Pure. */
|
|
243
|
+
export declare function countUserTurns(messages: readonly any[] | null | undefined): number;
|
|
244
|
+
export declare function formatTurnsBadge(count: number, locale?: string): string | null;
|
|
245
|
+
export declare function resolveGateStatus(env?: Record<string, string | undefined>): string;
|
|
206
246
|
/** Column widths for one model row (labels are muted, numbers right-aligned). */
|
|
207
247
|
export declare const MODEL_USAGE_MODEL_WIDTH = 12;
|
|
208
248
|
export declare const MODEL_USAGE_TOKEN_WIDTH = 6;
|
|
@@ -1016,6 +1056,32 @@ export type SidebarModel = {
|
|
|
1016
1056
|
model: string;
|
|
1017
1057
|
overridden: boolean;
|
|
1018
1058
|
} | null>;
|
|
1059
|
+
/** Custo do último turno do assistente e do anterior. */
|
|
1060
|
+
turnCostLine: Accessor<string | null>;
|
|
1061
|
+
/** Decomposição anatômica de tokens (in / out / reasoning think). */
|
|
1062
|
+
tokenAnatomyLine: Accessor<string | null>;
|
|
1063
|
+
/** Contagem de chamadas de ferramentas e falhas. */
|
|
1064
|
+
toolCallsLine: Accessor<string | null>;
|
|
1065
|
+
/** Badge de compactação (ex: "1x compact"). */
|
|
1066
|
+
compactionBadge: Accessor<string | null>;
|
|
1067
|
+
/** Badge de turnos da sessão (ex: "↻ 4 turns"). */
|
|
1068
|
+
turnsBadge: Accessor<string | null>;
|
|
1069
|
+
/** Decomposição dividida de tokens (in/out na esquerda, think na direita). */
|
|
1070
|
+
tokenAnatomySplit: Accessor<{
|
|
1071
|
+
inOut: string | null;
|
|
1072
|
+
think: string | null;
|
|
1073
|
+
} | null>;
|
|
1074
|
+
/** Telemetria dividida (Cache % na esquerda, Speed na direita). */
|
|
1075
|
+
performanceSplit: Accessor<{
|
|
1076
|
+
cache: string | null;
|
|
1077
|
+
speed: string | null;
|
|
1078
|
+
} | null>;
|
|
1079
|
+
/** Proporção do contexto (ex: "48K / 200K"). */
|
|
1080
|
+
contextRatioLine: Accessor<string | null>;
|
|
1081
|
+
/** Status do portão de validação/segurança (ex: "✓ Gate: tests pass"). */
|
|
1082
|
+
gateStatus: Accessor<string>;
|
|
1083
|
+
/** Se a sessão ativa está fixada. */
|
|
1084
|
+
isPinned: Accessor<boolean>;
|
|
1019
1085
|
};
|
|
1020
1086
|
/** Reactive wiring behind the sidebar: refresh subscription, warm syncs, the
|
|
1021
1087
|
* running-only spinner and the completion-toast effect. `context` stays loosely
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tui.d.ts","names":[],"sources":["../src/context-gauge.ts","../src/model-usage-limits.ts","../src/sidebar-width.ts","../src/index.tsx"],"mappings":";;;;KAEY;qBAEC;qBACA;qBACA;KAED;UAiBK;EACf;EACA,QAAQ;EACR;;wBAOc,iBAAiB,kBAAkB;wBAOnC,iBAAiB;wBAMjB,oBAAoB;wBAQpB,iBAAiB,iBAAiB;wBAOlC,WACd,oCACA,mBAAkB;EACf;EAAgB;;wBA+CL,YAAY;;;;qBChHf;qBACA;qBACA;;;;;;;;wBCyHG,UAAU;;;;
|
|
1
|
+
{"version":3,"file":"tui.d.ts","names":[],"sources":["../src/context-gauge.ts","../src/model-usage-limits.ts","../src/sidebar-width.ts","../src/index.tsx"],"mappings":";;;;KAEY;qBAEC;qBACA;qBACA;KAED;UAiBK;EACf;EACA,QAAQ;EACR;;wBAOc,iBAAiB,kBAAkB;wBAOnC,iBAAiB;wBAMjB,oBAAoB;wBAQpB,iBAAiB,iBAAiB;wBAOlC,WACd,oCACA,mBAAkB;EACf;EAAgB;;wBA+CL,YAAY;;;;qBChHf;qBACA;qBACA;;;;;;;;wBCyHG,UAAU;;;;qBCtCb;;;;qBAMA;;;qBAGA;qBACA;;YAED,mBAAmB,WAAW;;;;;;;;;;qBAU7B;YAmBD;EAAe;EAAqB;;;YAGpC;EAAuB;EAAgB;;;YAEvC;EAAoB,QAAQ,eAAe;;;YAE3C;EAAuB,MAAM;EAAY,WAAW;;;;wBAQhD,qBAAqB,iBAAiB;;wBAqDtC,cAAc,KAAK,qCAAqC;;;wBAUlD,0BACpB,KAAK,oCACL,cACC,QAAQ;;;wBA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