fix(core): restore v2 model prompts (#34275)

Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot] 2026-06-28 14:47:20 -05:00 committed by GitHub
commit 6067019434
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 1000 additions and 24 deletions

View file

@ -122,6 +122,7 @@ describe("AgentV2", () => {
"summary",
"title",
])
expect((yield* agent.get(AgentV2.defaultID))?.system).toBeUndefined()
for (const item of agents) {
expect(item.permissions.some((rule) => rule.action === "bash" && rule.effect !== "deny")).toBe(false)
}