fix(media): support Gemini Omni Flash video (#9982)

* feat(media): add provider-neutral video and music generation

* fix(db): clean audit tables by created timestamp

* fix(media): support Fal-hosted Grok video

* fix(media): route Fal video references to Grok

* fix(media): support Gemini Omni Flash video

* fix(media): use Gemini Omni Flash Fal endpoint

---------

Co-authored-by: rinseaid <rinseaid@rinseaid.net>
This commit is contained in:
rinseaid
2026-08-11 07:37:07 -04:00
committed by GitHub
parent 16bf95fe33
commit 82115193c2
9 changed files with 798 additions and 20 deletions

View File

@@ -82,24 +82,32 @@ test("cleanup: scheduler is wired into server-init.ts", () => {
test("cleanup: mcp_tool_audit uses correct table name (not 'mcp_audit_log')", () => {
assert.ok(
source.includes("DELETE FROM mcp_tool_audit WHERE"),
"must use correct table name mcp_tool_audit"
source.includes("DELETE FROM mcp_tool_audit WHERE created_at < ?"),
"mcp_tool_audit cleanup must use its created_at column"
);
assert.ok(
!source.includes("DELETE FROM mcp_audit_log WHERE"),
"must NOT use non-existent table name mcp_audit_log"
);
assert.ok(
!source.includes("DELETE FROM mcp_tool_audit WHERE timestamp"),
"must NOT use timestamp for mcp_tool_audit"
);
});
test("cleanup: a2a_task_events uses correct table name (not 'a2a_events')", () => {
assert.ok(
source.includes("DELETE FROM a2a_task_events WHERE"),
"must use correct table name a2a_task_events"
source.includes("DELETE FROM a2a_task_events WHERE created_at < ?"),
"a2a_task_events cleanup must use its created_at column"
);
assert.ok(
!source.includes("DELETE FROM a2a_events WHERE"),
"must NOT use non-existent table name a2a_events"
);
assert.ok(
!source.includes("DELETE FROM a2a_task_events WHERE timestamp"),
"must NOT use timestamp for a2a_task_events"
);
});
test("cleanup: memories uses correct table name (not 'memory_entries')", () => {