docs: update for v3.16.0 release

- Update AGENTS.md header with current date and commit

- Update runtime-fallback test to reflect quota STOP classification

- Release notes drafted in .sisyphus/drafts/release-notes-v3.16.0.md
This commit is contained in:
YeonGyu-Kim
2026-04-08 13:13:22 +09:00
parent b7d9521a39
commit 8169dbec89
2 changed files with 4 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
# oh-my-opencode — O P E N C O D E Plugin
**Generated:** 2026-04-05 | **Commit:** c9be5bb51 | **Branch:** dev
**Generated:** 2026-04-08 | **Commit:** 4f196f49 | **Branch:** dev
## OVERVIEW

View File

@@ -282,7 +282,7 @@ describe("runtime-fallback", () => {
expect(errorLog).toBeDefined()
})
test("should trigger fallback when session.error says you've reached your usage limit", async () => {
test("should NOT trigger fallback for quota exhaustion without auto-retry signal (STOP classification)", async () => {
const hook = createRuntimeFallbackHook(createMockPluginInput(), {
config: createMockConfig({ notify_on_fallback: false }),
pluginConfig: createMockPluginConfigWithCategoryFallback(["zai-coding-plan/glm-5.1"]),
@@ -308,11 +308,10 @@ describe("runtime-fallback", () => {
})
const fallbackLog = logCalls.find((c) => c.msg.includes("Preparing fallback"))
expect(fallbackLog).toBeDefined()
expect(fallbackLog?.data).toMatchObject({ from: "kimi-for-coding/k2p5", to: "zai-coding-plan/glm-5.1" })
expect(fallbackLog).toBeUndefined()
const skipLog = logCalls.find((c) => c.msg.includes("Error not retryable"))
expect(skipLog).toBeUndefined()
expect(skipLog).toBeDefined()
})
test("should continue fallback chain when fallback model is not found", async () => {