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:
52
docker/shared-config/opencode.json
Normal file
52
docker/shared-config/opencode.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"keybinds": {
|
||||
"model_cycle_recent": "alt+m",
|
||||
"model_cycle_recent_reverse": "alt+shift+m"
|
||||
},
|
||||
"plugin": [
|
||||
"oh-my-opencode"
|
||||
],
|
||||
"autoupdate": false,
|
||||
"model": "opencode/glm-4.7-free",
|
||||
"small_model": "opencode/glm-4.7-free",
|
||||
"theme": "tokyonight",
|
||||
"tools": {
|
||||
"todoread": true,
|
||||
"todowrite": true,
|
||||
"webfetch": true
|
||||
},
|
||||
"permission": {
|
||||
"bash": "ask",
|
||||
"write": "ask",
|
||||
"edit": "ask",
|
||||
"read": "allow",
|
||||
"todowrite": "allow",
|
||||
"todoread": "allow",
|
||||
"task": "ask",
|
||||
"grep": "allow",
|
||||
"glob": "allow",
|
||||
"list": "allow",
|
||||
"webfetch": "allow",
|
||||
"skill": {
|
||||
"*": "allow"
|
||||
}
|
||||
},
|
||||
"provider": {
|
||||
"opencode": {
|
||||
"name": "OpenCode Free",
|
||||
"models": {
|
||||
"glm-4.7-free": {
|
||||
"name": "GLM 4.7 Free",
|
||||
"limit": { "context": 32768, "output": 4096 },
|
||||
"modalities": { "input": ["text"], "output": ["text"] }
|
||||
},
|
||||
"gpt-5-nano": {
|
||||
"name": "GPT-5 Nano",
|
||||
"limit": { "context": 128000, "output": 4096 },
|
||||
"modalities": { "input": ["text"], "output": ["text"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user