feat(logging): log full content - prompts, responses, tool I/O

- Log full message content instead of just hash
- Log full tool input arguments
- Log full tool output/results
- Add model info to session and token events

No privacy restrictions for internal monitoring.
This commit is contained in:
Oussama Douhou
2026-01-10 15:33:44 +01:00
parent 2ffc72f6f8
commit 6b68c0a926
12 changed files with 1150 additions and 15 deletions

View File

@@ -0,0 +1,104 @@
{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
"google_auth": false,
"disabled_mcps": ["websearch_exa"],
"disabled_hooks": [],
"sisyphus_agent": {
"disabled": false,
"temperature": 0.3
},
"agents": {
"Sisyphus": {
"model": "opencode/glm-4.7-free",
"temperature": 0.3
},
"oracle": {
"model": "opencode/gpt-5-nano",
"temperature": 0.2
},
"librarian": {
"model": "opencode/minimax-m2.1-free",
"temperature": 0.1
},
"explore": {
"model": "opencode/grok-code",
"temperature": 0.4
},
"frontend-ui-ux-engineer": {
"model": "opencode/glm-4.7-free",
"temperature": 0.3
},
"document-writer": {
"model": "opencode/gpt-5-nano",
"temperature": 0.2
},
"multimodal-looker": {
"model": "opencode/glm-4.7-free",
"temperature": 0.3
}
},
"experimental": {
"preemptive_compaction": true,
"preemptive_compaction_threshold": 0.70,
"truncate_all_tool_outputs": false,
"dynamic_context_pruning": {
"enabled": true,
"notification": "minimal",
"turn_protection": {
"enabled": true,
"turns": 3
},
"protected_tools": [
"task",
"todowrite",
"todoread",
"lsp_diagnostics",
"lsp_code_actions",
"lsp_hover",
"lsp_goto_definition",
"lsp_find_references",
"lsp_rename",
"ast_grep_search",
"ast_grep_replace",
"grep",
"read",
"write",
"edit",
"run_terminal_cmd"
],
"strategies": {
"deduplication": {
"enabled": true
},
"supersede_writes": {
"enabled": true
},
"purge_errors": {
"enabled": true,
"turns": 2
},
"code_artifact_protection": {
"enabled": true,
"protect_todos": true,
"protect_code_changes": true,
"preserve_recent_tool_outputs": 5,
"todo_codebase_compaction": {
"enabled": true,
"max_recent_messages": 5,
"structured_summaries": true,
"preserve_coding_context": true
}
}
}
}
},
"background_task": {
"defaultConcurrency": 2,
"providerConcurrency": {
"opencode": 3
}
},
"notification": {
"force_enable": false
}
}