chore: import upstream snapshot with attribution
CI / typecheck · build · test · bundle-size (push) Failing after 1s
CI / clean-room dependency closure smoke (push) Failing after 1s
CI / server-runtime e2e (docker · pg + valkey) (push) Failing after 2s
Deploy Install Scripts / deploy (push) Failing after 2s
Windows / build (push) Has been cancelled
CI / typecheck · build · test · bundle-size (push) Failing after 1s
CI / clean-room dependency closure smoke (push) Failing after 1s
CI / server-runtime e2e (docker · pg + valkey) (push) Failing after 2s
Deploy Install Scripts / deploy (push) Failing after 2s
Windows / build (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"version": 1,
|
||||
"schemas": {
|
||||
"codex": {
|
||||
"name": "codex",
|
||||
"version": "0.3",
|
||||
"description": "Schema for Codex session JSONL files under ~/.codex/sessions.",
|
||||
"events": [
|
||||
{
|
||||
"name": "session-meta",
|
||||
"match": { "path": "type", "equals": "session_meta" },
|
||||
"action": "session_context",
|
||||
"fields": {
|
||||
"sessionId": "payload.id",
|
||||
"cwd": "payload.cwd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "turn-context",
|
||||
"match": { "path": "type", "equals": "turn_context" },
|
||||
"action": "session_context",
|
||||
"fields": {
|
||||
"cwd": "payload.cwd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "user-message",
|
||||
"match": { "path": "payload.type", "equals": "user_message" },
|
||||
"action": "session_init",
|
||||
"fields": {
|
||||
"prompt": "payload.message"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "assistant-message",
|
||||
"match": { "path": "payload.type", "equals": "agent_message" },
|
||||
"action": "assistant_message",
|
||||
"fields": {
|
||||
"message": "payload.message"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "tool-use",
|
||||
"match": { "path": "payload.type", "in": ["function_call", "custom_tool_call", "web_search_call"] },
|
||||
"action": "tool_use",
|
||||
"fields": {
|
||||
"toolId": "payload.call_id",
|
||||
"toolName": {
|
||||
"coalesce": [
|
||||
"payload.name",
|
||||
"payload.type"
|
||||
]
|
||||
},
|
||||
"toolInput": {
|
||||
"coalesce": [
|
||||
"payload.arguments",
|
||||
"payload.input",
|
||||
"payload.command",
|
||||
"payload.action"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "exec-command-end",
|
||||
"match": { "path": "payload.type", "in": ["exec_command_end", "exec_command_output"] },
|
||||
"action": "observation",
|
||||
"fields": {
|
||||
"toolUseId": "payload.call_id",
|
||||
"toolName": { "value": "exec_command" },
|
||||
"toolInput": {
|
||||
"coalesce": [
|
||||
"payload.command",
|
||||
"payload.input"
|
||||
]
|
||||
},
|
||||
"toolResponse": {
|
||||
"coalesce": [
|
||||
"payload.aggregated_output",
|
||||
"payload.output",
|
||||
"payload.stdout",
|
||||
"payload.stderr"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "tool-result",
|
||||
"match": { "path": "payload.type", "in": ["function_call_output", "custom_tool_call_output"] },
|
||||
"action": "tool_result",
|
||||
"fields": {
|
||||
"toolId": "payload.call_id",
|
||||
"toolResponse": "payload.output"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "session-end",
|
||||
"match": { "path": "payload.type", "in": ["turn_aborted", "turn_completed", "task_complete"] },
|
||||
"action": "session_end"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"watches": [
|
||||
{
|
||||
"name": "codex",
|
||||
"path": "~/.codex/sessions/**/*.jsonl",
|
||||
"schema": "codex",
|
||||
"startAtEnd": true
|
||||
}
|
||||
],
|
||||
"stateFile": "~/.claude-mem/transcript-watch-state.json"
|
||||
}
|
||||
Reference in New Issue
Block a user