- 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]>
71 lines
1.4 KiB
JSON
71 lines
1.4 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "SELECT s.id, s.message_id, s.seq, s.kind, s.tool_name, s.input,\n s.output, s.taint, s.status\n FROM steps s\n JOIN messages m ON m.id = s.message_id\n WHERE m.session_id = $1\n ORDER BY m.seq, s.seq",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "message_id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "seq",
|
|
"type_info": "Int4"
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "kind",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "tool_name",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "input",
|
|
"type_info": "Jsonb"
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "output",
|
|
"type_info": "Jsonb"
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "taint",
|
|
"type_info": "TextArray"
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "status",
|
|
"type_info": "Text"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
false,
|
|
false
|
|
]
|
|
},
|
|
"hash": "e37beba4b1ae596ba5f94ea5a638d45bbfc8e5fdb79d9244272496f540f9e1b9"
|
|
}
|