pantheon-opencode 1.2.2 → 1.3.0
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 +1 -0
- package/README.md +43 -4
- package/opencode.json +16 -0
- package/package.json +1 -1
- package/scripts/hooks/log-session-start.sh +19 -1
- package/scripts/hooks/on-subagent-delegation-start.sh +116 -6
- package/scripts/hooks/on-subagent-delegation-stop.sh +391 -9
- package/scripts/hooks/scan-secrets.sh +61 -19
- package/scripts/hooks/validate-talos-scope.sh +7 -0
- package/src/agents/zeus.md +33 -5
- package/src/plugins/pantheon-hooks.ts +1391 -41
- package/src/plugins/tui/dist/tui.js +1 -1
- package/src/plugins/tui/dist/tui.tsx +1 -1
- package/src/plugins/tui/package.json +1 -1
- package/src/plugins/tui/src/index.tsx +1 -1
|
@@ -250,7 +250,7 @@ async function detectVersion(api) {
|
|
|
250
250
|
timeoutMs: 3e3
|
|
251
251
|
});
|
|
252
252
|
const tag = (r.stdout ?? r.output ?? "").trim().replace(/^v/, "").replace(/-\d+-g[0-9a-f]+$/, "");
|
|
253
|
-
if (tag
|
|
253
|
+
if (tag) return tag;
|
|
254
254
|
}
|
|
255
255
|
} catch {}
|
|
256
256
|
try {
|
|
@@ -207,7 +207,7 @@ async function detectVersion(api: TuiPluginApi): Promise<string | null> {
|
|
|
207
207
|
.trim()
|
|
208
208
|
.replace(/^v/, '')
|
|
209
209
|
.replace(/-\d+-g[0-9a-f]+$/, '')
|
|
210
|
-
if (tag
|
|
210
|
+
if (tag) return tag
|
|
211
211
|
}
|
|
212
212
|
} catch {
|
|
213
213
|
/* fall through */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pantheon-tui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.0",
|
|
5
5
|
"description": "Pantheon TUI plugin — sidebar (agents, sessions, commands, config, memory, active preset) + AI subscription usage gauges incl. OpenCode Go/Zen dollar limits (vendored, MIT)",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"exports": {
|
|
@@ -207,7 +207,7 @@ async function detectVersion(api: TuiPluginApi): Promise<string | null> {
|
|
|
207
207
|
.trim()
|
|
208
208
|
.replace(/^v/, '')
|
|
209
209
|
.replace(/-\d+-g[0-9a-f]+$/, '')
|
|
210
|
-
if (tag
|
|
210
|
+
if (tag) return tag
|
|
211
211
|
}
|
|
212
212
|
} catch {
|
|
213
213
|
/* fall through */
|