pantheon-opencode 2.0.4 → 2.1.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/AGENTS.global.md +2 -2
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +53 -0
- package/README.md +27 -11
- package/README.pt-BR.md +27 -11
- package/commands/pantheon-deepwork.md +11 -2
- package/package.json +2 -1
- package/plugin.json +1 -1
- package/prompts/orchestrate-with-zeus.prompt.md +2 -0
- package/pyproject.toml +1 -1
- package/scripts/cost.mjs +4 -5
- package/scripts/docs-media.mjs +1 -1
- package/skills-lock.json +1 -1
- package/src/agents/athena.md +10 -8
- package/src/agents/themis.md +1 -0
- package/src/agents/zeus.md +32 -3
- package/src/instructions/agent-return-format.instructions.md +1 -1
- package/src/mcp/pantheon_vision.py +33 -2
- package/src/pantheon/cost-command.ts +4 -1
- package/src/pantheon/deepwork/deepwork-tool.ts +370 -0
- package/src/pantheon/deepwork/plan-projection.ts +274 -0
- package/src/pantheon/deepwork/plan-schema.ts +93 -0
- package/src/pantheon/deepwork/plan-tracker.ts +336 -0
- package/src/pantheon/native-vision.ts +4 -2
- package/src/pantheon/skill-search-tool.ts +2 -2
- package/src/pantheon/tools.ts +2 -0
- package/src/plugin/index.js +922 -42
- package/src/plugin.ts +2 -2
- package/src/plugins/tui/dist/tui.js +461 -289
- 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/autonomy-state.ts +14 -16
- package/src/plugins/tui/src/decision-router-state.ts +22 -10
- package/src/plugins/tui/src/pantheon-settings-state.ts +119 -35
- package/src/plugins/tui/src/pantheon-settings.tsx +142 -48
- package/src/plugins/tui/src/preset-state.ts +96 -6
- package/src/plugins/tui/src/update-status.ts +62 -22
- package/src/skills/prompt-refinery/SKILL.md +6 -4
package/src/plugin.ts
CHANGED
|
@@ -211,7 +211,7 @@ export const V2_UNSUPPORTED_FEATURES: string[] = [...UNSUPPORTED_FEATURE_SEED]
|
|
|
211
211
|
|
|
212
212
|
// ─── Constants ───────────────────────────────────────────────────────────
|
|
213
213
|
|
|
214
|
-
const POLICY_MARKER = '<!-- pantheon-
|
|
214
|
+
const POLICY_MARKER = '<!-- pantheon-policy -->'
|
|
215
215
|
const POLICY = `${POLICY_MARKER}\nFollow Pantheon routing policy: delegate implementation work to the named specialist and do not claim work was performed without verification.`
|
|
216
216
|
|
|
217
217
|
/** 2.0.16 `system` on a session hook payload is `Array<SystemPart>`. */
|
|
@@ -1460,7 +1460,7 @@ async function registerV2SessionHooks(context: PluginContext): Promise<boolean>
|
|
|
1460
1460
|
const prompt = admission?.prompt
|
|
1461
1461
|
if (!prompt || typeof prompt.text !== 'string') return
|
|
1462
1462
|
const userRequest = prompt.text
|
|
1463
|
-
if (!prompt.text.includes('<!-- pantheon-
|
|
1463
|
+
if (!prompt.text.includes('<!-- pantheon-visual-context -->')) {
|
|
1464
1464
|
const sessionID =
|
|
1465
1465
|
typeof admission?.sessionID === 'string' && admission.sessionID.trim() !== ''
|
|
1466
1466
|
? admission.sessionID
|