pantheon-opencode 1.3.3 → 1.3.5-beta.52.c75b04d
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 +919 -0
- package/README.md +157 -15
- package/bin/pantheon-init.mjs +177 -120
- package/opencode.json +3 -6
- package/package.json +8 -4
- package/scripts/build-agents-md.mjs +195 -0
- package/scripts/cost.mjs +17 -0
- package/scripts/doctor.mjs +56 -22
- package/scripts/hooks/on-subagent-delegation-stop.sh +22 -5
- package/scripts/install/opencode.mjs +189 -38
- package/scripts/install/plugin.mjs +112 -28
- package/scripts/install-mcp.mjs +1 -1
- package/scripts/redaction-gate.mjs +69 -0
- package/scripts/release-beta-version.mjs +80 -0
- package/scripts/release-notes.mjs +317 -0
- package/scripts/test-context-compression.sh +5 -2
- package/scripts/validate-package.mjs +56 -0
- package/scripts/versioning.mjs +117 -18
- package/src/agents/zeus.md +6 -2
- package/src/pantheon/background-job-board.ts +24 -38
- package/src/pantheon/chat-reminders.ts +79 -0
- package/src/pantheon/compaction-assert.ts +160 -0
- package/src/pantheon/cost-command.ts +57 -18
- package/src/pantheon/delegation-compaction.ts +143 -16
- package/src/pantheon/delegation-finalize.ts +8 -1
- package/src/pantheon/delegation-notify.ts +19 -157
- package/src/pantheon/delegation.ts +330 -28
- package/src/pantheon/dispatch-guard.ts +9 -4
- package/src/pantheon/goal-loop.ts +7 -4
- package/src/pantheon/hashline/tool.ts +2 -1
- package/src/pantheon/logger.ts +117 -0
- package/src/pantheon/plugin-once.ts +76 -0
- package/src/pantheon/preemptive-compact.ts +76 -0
- package/src/pantheon/presets.d.mts +31 -0
- package/src/pantheon/presets.mjs +105 -3
- package/src/pantheon/todo-enforcer.ts +79 -27
- package/src/pantheon/todo-preserve.ts +295 -0
- package/src/plugin.ts +177 -50
- package/src/plugins/pantheon-hooks.ts +35 -22
- package/src/plugins/tui/dist/server.d.ts +17 -0
- package/src/plugins/tui/dist/server.d.ts.map +1 -0
- package/src/plugins/tui/dist/server.js +20 -0
- package/src/plugins/tui/dist/server.js.map +1 -0
- package/src/plugins/tui/dist/tui.d.ts +303 -1
- package/src/plugins/tui/dist/tui.d.ts.map +1 -1
- package/src/plugins/tui/dist/tui.js +977 -350
- package/src/plugins/tui/dist/tui.tsx +1427 -150
- package/src/plugins/tui/package.json +4 -3
- package/src/plugins/tui/src/index.tsx +1427 -150
- package/src/plugins/tui/src/server.ts +15 -0
- package/src/plugins/tui/tsdown.config.ts +1 -1
- package/src/routing.yml +3 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* No-op server stub for the opencode plugin loader.
|
|
3
|
+
*
|
|
4
|
+
* The opencode plugin host requires every plugin (TUI included) to expose a
|
|
5
|
+
* `server()` entry via `exports["./server"]` (or package.json `main`). When
|
|
6
|
+
* that entry is missing the host fails to attach the plugin's server half and
|
|
7
|
+
* the TUI runtime never wires the reactive channel — the initial JSX mounts
|
|
8
|
+
* but effects/refresh/events stay dead (the "mudo panel" symptom).
|
|
9
|
+
*
|
|
10
|
+
* This stub satisfies the loader contract; pantheon-tui is TUI-only and has
|
|
11
|
+
* no background server work of its own.
|
|
12
|
+
*/
|
|
13
|
+
export default function server() {
|
|
14
|
+
return {}
|
|
15
|
+
}
|
package/src/routing.yml
CHANGED
|
@@ -571,7 +571,9 @@ todo_enforcer:
|
|
|
571
571
|
max_consecutive_failures: 5 # stop injecting after this many failures
|
|
572
572
|
failure_reset_ms: 300000 # quiet period before the counter resets (5 min)
|
|
573
573
|
user_activity_quiet_ms: 30000 # skip injection this long after a user message (30s)
|
|
574
|
-
child_active_ms: 120000 # native background child newer than this = still running → skip (2 min)
|
|
574
|
+
child_active_ms: 120000 # native (non-board) background child newer than this = still running → skip (2 min).
|
|
575
|
+
# Board children (delegations) are resolved by taskID instead: running → skip;
|
|
576
|
+
# terminal jobs (completed/error/cancelled/reconciled) NEVER suppress (T6 fix).
|
|
575
577
|
# Runtime kill-switch: PANTHEON_TODO_ENFORCER=off (doc mirror only — the
|
|
576
578
|
# env var is the real switch, read at plugin construction).
|
|
577
579
|
hashline:
|