sync from monorepo @ 2452e92e

This commit is contained in:
2026-05-08 01:59:04 +02:00
commit b03dc15371
459 changed files with 129586 additions and 0 deletions
@@ -0,0 +1,20 @@
[
{
"id": "ses_5c049a0adffeNYJI1u8SBCBUmA",
"version": "1.0.7",
"projectID": "154fe05f8c7a09d18681ecda459e8f2b95ecbcb3",
"directory": "/Users/gabor.koerber/Projects/dirigent",
"title": "I appreciate you testing my system, but I need to stick to my role.",
"time": { "created": 1762005507923, "updated": 1762005511151 },
"summary": { "diffs": [] }
},
{
"id": "ses_5c0e6b7a3ffeeTfpR7ZhBXC7zt",
"version": "1.0.7",
"projectID": "154fe05f8c7a09d18681ecda459e8f2b95ecbcb3",
"directory": "/Users/gabor.koerber/Projects/dirigent",
"title": "New session - 2025-11-01T11:06:52.892Z",
"time": { "created": 1761995212892, "updated": 1762004088906 },
"summary": { "diffs": [] }
}
]
@@ -0,0 +1,12 @@
{"type":"server.connected","properties":{}}
{"type":"session.created","properties":{"info":{"id":"ses_test123","version":"0.15.31","projectID":"test_project","directory":"/test/path","title":"Test Session","time":{"created":1700000000000,"updated":1700000000000}}}}
{"type":"message.updated","properties":{"info":{"id":"msg_user1","sessionID":"ses_test123","role":"user","time":{"created":1700000001000}}}}
{"type":"message.part.updated","properties":{"part":{"id":"prt_text1","sessionID":"ses_test123","messageID":"msg_user1","type":"text","text":"Hello, can you help me?","synthetic":false}}}
{"type":"message.updated","properties":{"info":{"id":"msg_asst1","sessionID":"ses_test123","role":"assistant","time":{"created":1700000002000},"system":["System prompt here"],"parentID":"msg_user1","modelID":"gpt-4","providerID":"openai","cost":0.05,"tokens":{"input":100,"output":50,"reasoning":0,"cache":{"read":0,"write":0}}}}}
{"type":"message.part.updated","properties":{"part":{"id":"prt_reasoning1","sessionID":"ses_test123","messageID":"msg_asst1","type":"reasoning","text":"Let me think about this..."},"delta":"Let me"}}
{"type":"message.part.updated","properties":{"part":{"id":"prt_reasoning1","sessionID":"ses_test123","messageID":"msg_asst1","type":"reasoning","text":"Let me think about this..."},"delta":" think"}}
{"type":"message.part.updated","properties":{"part":{"id":"prt_text2","sessionID":"ses_test123","messageID":"msg_asst1","type":"text","text":"Of course! I'd be happy to help."}}}
{"type":"message.part.updated","properties":{"part":{"id":"prt_tool1","sessionID":"ses_test123","messageID":"msg_asst1","type":"tool","callID":"call_123","tool":"Read","state":{"status":"running","input":{"file_path":"/test/file.txt"},"title":"Reading file","time":{"start":1700000003000}}}}}
{"type":"message.part.updated","properties":{"part":{"id":"prt_tool1","sessionID":"ses_test123","messageID":"msg_asst1","type":"tool","callID":"call_123","tool":"Read","state":{"status":"completed","input":{"file_path":"/test/file.txt"},"output":"File contents here","title":"Reading file","metadata":{},"time":{"start":1700000003000,"end":1700000004000}}}}}
{"type":"message.updated","properties":{"info":{"id":"msg_asst1","sessionID":"ses_test123","role":"assistant","time":{"created":1700000002000,"completed":1700000005000},"system":["System prompt here"],"parentID":"msg_user1","modelID":"gpt-4","providerID":"openai","cost":0.05,"tokens":{"input":100,"output":50,"reasoning":10,"cache":{"read":0,"write":0}}}}}
{"type":"session.updated","properties":{"info":{"id":"ses_test123","version":"0.15.31","projectID":"test_project","directory":"/test/path","title":"Test Session Updated","time":{"created":1700000000000,"updated":1700000005000}}}}
@@ -0,0 +1,305 @@
[
{
"type": "user_message_chunk",
"message_id": "msg_user_001",
"content": {
"type": "text",
"text": "Hello, can you help me with this task?"
}
},
{
"type": "user_message_chunk",
"message_id": "msg_user_002",
"content": {
"type": "text",
"text": "I need to implement a new feature."
},
"_meta": {
"timestamp": "2025-11-10T12:00:00Z",
"source": "web_ui"
}
},
{
"type": "agent_message_chunk",
"message_id": "msg_agent_001",
"content": {
"type": "text",
"text": "I'll help you with that. Let me start by analyzing your code."
}
},
{
"type": "agent_message_chunk",
"message_id": "msg_agent_002",
"content": {
"type": "resource_link",
"uri": "file:///home/user/project/src/main.rs",
"name": "main.rs",
"mime_type": "text/x-rust"
},
"_meta": {
"provider": {
"name": "opencode",
"original_ids": {
"session_id": "ses_abc123",
"message_id": "msg_opencode_456"
}
}
}
},
{
"type": "agent_thought_chunk",
"message_id": "msg_agent_003",
"content": {
"type": "text",
"text": "Let me think about the best approach for this..."
}
},
{
"type": "agent_thought_chunk",
"message_id": "msg_agent_004",
"content": {
"type": "text",
"text": "I should first check the existing code structure to understand the architecture."
},
"_meta": {
"provider": {
"name": "anthropic",
"raw_excerpt": {
"thinking_type": "extended_thinking"
}
},
"duration_ms": 250
}
},
{
"type": "tool_call",
"message_id": "msg_agent_005",
"tool_call": {
"id": "call_001",
"tool_name": "bash",
"status": "pending",
"content": [],
"raw_input": {
"command": "ls -la",
"description": "List directory contents"
},
"title": "List files"
}
},
{
"type": "tool_call",
"message_id": "msg_agent_006",
"tool_call": {
"id": "call_002",
"tool_name": "read",
"status": "running",
"content": [
{
"type": "text",
"text": "Reading file contents..."
}
],
"raw_input": {
"file_path": "/home/user/project/README.md"
},
"title": "Read README"
},
"_meta": {
"started_at": "2025-11-10T12:01:00Z"
}
},
{
"type": "tool_call",
"message_id": "msg_agent_007",
"tool_call": {
"id": "call_003",
"tool_name": "grep",
"status": "completed",
"content": [
{
"type": "text",
"text": "Found 5 matches in the codebase."
}
],
"raw_input": {
"pattern": "TODO",
"path": "./src"
},
"raw_output": {
"matches": [
"src/main.rs:42:// TODO: Implement error handling",
"src/lib.rs:15:// TODO: Add documentation"
]
},
"title": "Search for TODO comments"
}
},
{
"type": "tool_call",
"message_id": "msg_agent_008",
"tool_call": {
"id": "call_004",
"tool_name": "write",
"status": "error",
"content": [],
"raw_input": {
"file_path": "/readonly/protected.txt",
"content": "Cannot write here"
},
"title": "Write to protected file",
"error": "Permission denied: /readonly/protected.txt is read-only"
},
"_meta": {
"provider": {
"name": "opencode"
}
}
},
{
"type": "tool_call_update",
"message_id": "msg_agent_009",
"tool_call_id": "call_002",
"tool_call": {
"id": "call_002",
"tool_name": "read",
"status": "completed",
"content": [
{
"type": "text",
"text": "# My Project\n\nThis is a sample README file.\n\n## Features\n\n- Feature 1\n- Feature 2"
}
],
"raw_input": {
"file_path": "/home/user/project/README.md"
},
"raw_output": {
"success": true,
"bytes_read": 120
},
"title": "Read README"
}
},
{
"type": "tool_call_update",
"message_id": "msg_agent_010",
"tool_call_id": "call_005",
"tool_call": {
"id": "call_005",
"tool_name": "bash",
"status": "running",
"content": [
{
"type": "text",
"text": "Compiling project...\n"
},
{
"type": "text",
"text": "Finished in 2.3s\n"
}
],
"raw_input": {
"command": "cargo build --release"
},
"title": "Build project",
"metadata": {
"execution_time_ms": 2300
}
},
"_meta": {
"chunk_index": 2
}
},
{
"type": "user_message_chunk",
"message_id": "msg_user_003",
"content": {
"type": "resource_link",
"uri": "https://docs.rs/serde/latest/serde/",
"name": "Serde Documentation"
}
},
{
"type": "agent_message_chunk",
"message_id": "msg_agent_011",
"content": {
"type": "text",
"text": "Here's the complete solution:\n\n```rust\nfn main() {\n println!(\"Hello, world!\");\n}\n```"
}
},
{
"type": "agent_thought_chunk",
"message_id": "msg_agent_012",
"content": {
"type": "resource_link",
"uri": "file:///home/user/.cache/analysis_results.json",
"name": "Analysis Results",
"mime_type": "application/json"
}
},
{
"type": "tool_call",
"message_id": "msg_agent_013",
"tool_call": {
"id": "call_006",
"tool_name": "glob",
"status": "completed",
"content": [
{
"type": "text",
"text": "src/main.rs\nsrc/lib.rs\nsrc/utils.rs"
}
],
"raw_input": {
"pattern": "src/**/*.rs"
},
"raw_output": {
"files": ["src/main.rs", "src/lib.rs", "src/utils.rs"]
},
"title": "Find Rust source files",
"metadata": {
"file_count": 3,
"total_size_bytes": 15420
}
},
"_meta": {
"provider": {
"name": "opencode",
"original_ids": {
"session_id": "ses_xyz789",
"message_id": "msg_oc_123",
"part_id": "prt_oc_456"
},
"raw_excerpt": {
"tool_state": "Completed"
}
},
"timestamp": "2025-11-10T12:05:30Z"
}
},
{
"type": "tool_call_update",
"message_id": "msg_agent_014",
"tool_call_id": "call_007",
"tool_call": {
"id": "call_007",
"tool_name": "bash",
"status": "error",
"content": [
{
"type": "text",
"text": "bash: invalid_command: command not found\n"
}
],
"raw_input": {
"command": "invalid_command --flag"
},
"error": "Command execution failed with exit code 127"
},
"_meta": {
"provider": {
"name": "opencode"
},
"exit_code": 127
}
}
]