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:
118
docker/shared-config/opencode.jsonc
Normal file
118
docker/shared-config/opencode.jsonc
Normal file
@@ -0,0 +1,118 @@
|
||||
{
|
||||
"plugin": [
|
||||
"oh-my-opencode"
|
||||
],
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"autoupdate": false,
|
||||
"model": "opencode/glm-4.7-free",
|
||||
"small_model": "opencode/gpt-5-nano",
|
||||
"theme": "tokyonight",
|
||||
"keybinds": {
|
||||
"model_cycle_recent": "alt+m",
|
||||
"model_cycle_recent_reverse": "alt+shift+m"
|
||||
},
|
||||
"tools": {
|
||||
"todoread": true,
|
||||
"todowrite": true,
|
||||
"webfetch": true,
|
||||
"lsp_diagnostics": true,
|
||||
"lsp_code_actions": true
|
||||
},
|
||||
"permission": {
|
||||
"bash": "ask",
|
||||
"write": "ask",
|
||||
"edit": "ask",
|
||||
"read": "allow",
|
||||
"todowrite": "allow",
|
||||
"todoread": "allow",
|
||||
"task": "ask",
|
||||
"grep": "allow",
|
||||
"glob": "allow",
|
||||
"list": "allow",
|
||||
"webfetch": "allow",
|
||||
"lsp_diagnostics": "allow",
|
||||
"lsp_code_actions": "allow",
|
||||
"skill": {
|
||||
"*": "allow"
|
||||
}
|
||||
},
|
||||
"mcp": {
|
||||
"graphiti-memory": {
|
||||
"type": "remote",
|
||||
"url": "http://10.100.0.17:8080/mcp/",
|
||||
"enabled": true,
|
||||
"oauth": false,
|
||||
"timeout": 30000,
|
||||
"headers": {
|
||||
"X-API-Key": "0c1ab2355207927cf0ca255cfb9dfe1ed15d68eacb0d6c9f5cb9f08494c3a315"
|
||||
}
|
||||
}
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minimax-m2.1-free": {
|
||||
"name": "MiniMax M2.1 Free",
|
||||
"limit": {
|
||||
"context": 32768,
|
||||
"output": 4096
|
||||
},
|
||||
"modalities": {
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"output": [
|
||||
"text"
|
||||
]
|
||||
}
|
||||
},
|
||||
"grok-code": {
|
||||
"name": "Grok Code",
|
||||
"limit": {
|
||||
"context": 128000,
|
||||
"output": 4096
|
||||
},
|
||||
"modalities": {
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"output": [
|
||||
"text"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user