- tc-db: sessions/messages/steps/runs/run_events repos (atomic seq assignment, history with ordered step traces, journal replay-from-offset); migration 0003 - tc-llm: provider-neutral ChatRequest/LlmEvent; ScriptedProvider (scenario TOML, word-level deltas, multi-turn tool legs — ships in production for e2e/air-gap smoke), AnthropicProvider (Messages SSE), OpenAiCompatProvider (vLLM/Ollama/llama.cpp); opt-in live tests via TC_LIVE_LLM=1 - tc-runtime: run loop with persist-before-emit event journal, real built-in clock.now tool, step rows on the reply message, tool-error resilience, broadcast channels for live attach - tc-api: agent CRUD + settings/full (tenant-isolated, RBAC'd, audited), sessions create/list/history?tools=true, POST /api/gateway SSE with monotonic ids and exact resumeFrom journal replay (tested equal to live) - teamclaw-server: config-driven provider factory 83 Rust tests green, all against real Postgres / real TCP. Co-Authored-By: Claude Fable 5 <[email protected]>
21 lines
693 B
JSON
21 lines
693 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "UPDATE agents SET\n name = COALESCE($2, name),\n job_title = COALESCE($3, job_title),\n system_prompt = COALESCE($4, system_prompt),\n avatar = COALESCE($5, avatar),\n accent = COALESCE($6, accent),\n wallpaper = COALESCE($7, wallpaper)\n WHERE id = $1 AND deleted_at IS NULL",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid",
|
|
"Text",
|
|
"Text",
|
|
"Text",
|
|
"Text",
|
|
"Text",
|
|
"Text"
|
|
]
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "e147081b726a7e4470f721ead806dd19cb0fa97fbf0b295d155051bd3e6d0480"
|
|
}
|