pantheon-opencode 1.6.0-beta.3 → 1.6.0-beta.5
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/AGENTS.md +24 -5
- package/CHANGELOG.md +49 -0
- package/README.md +51 -19
- package/README.pt-BR.md +32 -13
- package/bin/pantheon-init.mjs +26 -3
- package/package.json +12 -11
- package/plugin.json +1 -1
- package/pyproject.toml +6 -6
- package/scripts/{code_mode_server.py → code_mode.py} +3 -3
- package/scripts/cost.mjs +244 -41
- package/scripts/doctor.mjs +151 -1
- package/scripts/install/agents-md.mjs +2 -2
- package/scripts/install/config-migration.mjs +80 -2
- package/scripts/install/health-check.mjs +21 -19
- package/scripts/install/opencode-version.mjs +246 -4
- package/scripts/install/opencode.mjs +250 -119
- package/scripts/install/shared.mjs +5 -5
- package/scripts/install-mcp.mjs +28 -9
- package/scripts/{mcp_persistence_server.py → mcp_persistence.py} +2 -2
- package/{src/mcp/mcp_resources_server.py → scripts/mcp_resources.py} +2 -2
- package/scripts/{memory_mcp_server.py → memory_mcp.py} +2 -2
- package/scripts/probe-context-rehydrate.mjs +8 -2
- package/scripts/probe-pantheon-cost.mjs +71 -15
- package/scripts/sync-artifacts.mjs +5 -5
- package/scripts/test-opencode-v2-sandbox.sh +21 -21
- package/scripts/validate-routing.mjs +3 -3
- package/skills-lock.json +1 -1
- package/src/agents/apollo.md +7 -2
- package/src/agents/zeus.md +29 -1
- package/src/instructions/memory-protocol.instructions.md +15 -4
- package/src/instructions/zeus-anti-stall.instructions.md +9 -1
- package/src/mcp/{code_mode_server.py → code_mode.py} +3 -3
- package/src/mcp/eval_store.py +2 -2
- package/src/mcp/{mcp_persistence_server.py → mcp_persistence.py} +2 -2
- package/{scripts/mcp_resources_server.py → src/mcp/mcp_resources.py} +2 -2
- package/src/mcp/{memory_mcp_server.py → memory_mcp.py} +2 -2
- package/src/mcp/{pantheon_vision_server.py → pantheon_vision.py} +1 -1
- package/src/mcp/requirements-mcp.txt +6 -4
- package/src/mcp/requirements-vision.txt +2 -2
- package/src/pantheon/cost-command.ts +399 -101
- package/src/pantheon/presets.mjs +3 -3
- package/src/pantheon/v2-unsupported.d.mts +11 -0
- package/src/pantheon/v2-unsupported.mjs +113 -0
- package/src/plugin-v2.ts +269 -100
- package/src/plugins/tui/dist/server.d.ts +1 -2
- package/src/plugins/tui/dist/server.d.ts.map +1 -1
- package/src/plugins/tui/dist/tui.d.ts +74 -74
- package/src/plugins/tui/dist/tui.d.ts.map +1 -1
- package/src/plugins/tui/dist/tui.js +17 -20
- package/src/plugins/tui/package-lock.json +364 -317
- package/src/plugins/tui/package.json +8 -5
- package/src/plugins/tui/tsconfig.build.json +5 -0
- package/src/plugins/tui/tsdown.config.ts +3 -0
- package/src/skills/context-compression/SKILL.md +1 -1
- package/opencode.json +0 -58
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pantheon-tui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.6.0-beta.
|
|
4
|
+
"version": "1.6.0-beta.5",
|
|
5
5
|
"description": "Pantheon TUI plugin — sidebar (version, preset, sessions, real-time delegations) + AI subscription usage gauges incl. OpenCode Go/Zen dollar limits (vendored, MIT)",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"engines": {
|
|
@@ -20,18 +20,21 @@
|
|
|
20
20
|
"typecheck": "tsc --noEmit"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@opencode-ai/plugin": "1.18.
|
|
24
|
-
"@opencode-ai/sdk": "1.18.
|
|
23
|
+
"@opencode-ai/plugin": "1.18.33",
|
|
24
|
+
"@opencode-ai/sdk": "1.18.33",
|
|
25
25
|
"@opentui/core": "0.5.10",
|
|
26
26
|
"@opentui/solid": "0.5.10",
|
|
27
27
|
"solid-js": "1.9.12"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"rolldown-plugin-solid": "0.2.1",
|
|
31
|
-
"tsdown": "0.
|
|
31
|
+
"tsdown": "0.23.0"
|
|
32
|
+
},
|
|
33
|
+
"overrides": {
|
|
34
|
+
"rolldown": "1.2.7"
|
|
32
35
|
},
|
|
33
36
|
"dependencies": {
|
|
34
|
-
"@opencode-ai/plugin": "1.18.
|
|
37
|
+
"@opencode-ai/plugin": "1.18.33",
|
|
35
38
|
"@opentui/core": "0.5.10",
|
|
36
39
|
"@opentui/solid": "0.5.10",
|
|
37
40
|
"solid-js": "1.9.12"
|
|
@@ -639,7 +639,7 @@ Allowed fields: file paths, status, pass/fail verdicts, phase names, agent names
|
|
|
639
639
|
|
|
640
640
|
### Layer 2 — Regex pattern scrub (automatic via MCP layer)
|
|
641
641
|
|
|
642
|
-
**Source of truth:** `scripts/scrub-secrets.py` — the single canonical scrubber. Both `
|
|
642
|
+
**Source of truth:** `scripts/scrub-secrets.py` — the single canonical scrubber. Both `memory_mcp.py` and `compress-inline.py` load it via `importlib` (the filename has a hyphen and cannot be `import`ed normally). Do NOT maintain a separate inline pattern list.
|
|
643
643
|
|
|
644
644
|
**Real signature:**
|
|
645
645
|
|
package/opencode.json
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://opencode.ai/config.json",
|
|
3
|
-
"provider": {
|
|
4
|
-
"opencode-go": {
|
|
5
|
-
"models": {
|
|
6
|
-
"mimo-v2.5": {
|
|
7
|
-
"attachment": true,
|
|
8
|
-
"modalities": { "input": ["text", "image"] }
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"default_agent": "zeus",
|
|
14
|
-
"plugins": ["src/plugin-v2"],
|
|
15
|
-
"experimental": {
|
|
16
|
-
"subagent_depth": 2
|
|
17
|
-
},
|
|
18
|
-
"permission": {
|
|
19
|
-
"skill": {
|
|
20
|
-
"*": "allow"
|
|
21
|
-
},
|
|
22
|
-
"websearch": "deny",
|
|
23
|
-
"bash": {
|
|
24
|
-
"git *": "allow",
|
|
25
|
-
"npm *": "allow",
|
|
26
|
-
"npx *": "allow",
|
|
27
|
-
"pytest *": "allow",
|
|
28
|
-
"ruff *": "allow",
|
|
29
|
-
"pip *": "allow",
|
|
30
|
-
"python3 *": "allow"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"mcp": {
|
|
34
|
-
"bifrost": {
|
|
35
|
-
"type": "remote",
|
|
36
|
-
"url": "https://llm.ofertachina.cloud/mcp",
|
|
37
|
-
"enabled": true
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"agent": {
|
|
41
|
-
"talos": {
|
|
42
|
-
"permission": {
|
|
43
|
-
"edit": {
|
|
44
|
-
"*": "allow",
|
|
45
|
-
"**/migrations/**": "deny",
|
|
46
|
-
"**/alembic/**": "deny",
|
|
47
|
-
"**/models/**": "deny",
|
|
48
|
-
"**/auth/**": "deny",
|
|
49
|
-
"**/*.sql": "deny"
|
|
50
|
-
},
|
|
51
|
-
"bash": {
|
|
52
|
-
"*": "allow",
|
|
53
|
-
"alembic *": "deny"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|