-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
there is a difference how we display the permission request when compared with the official TUI. we don't show the description.
looking at the event log the description is actually not part of the permission.asked event itself. Instead it gets sent as a subsequent message.part.updated event
{
"type": "permission.asked",
"properties": {
"permission": "bash",
"always": ["nvim *"],
"sessionID": "ses_3d0b471aeffeLvW9F7ux3Ol5im",
"id": "per_c2f4d0737001ZcDJM2w4WLCp6y",
"patterns": [
"nvim --headless -u tests/minimal/init.lua -c \"lua require('plenary.test_harness').test_directory('./tests/unit/persist_state_spec.lua', {minimal_init = './tests/minimal/init.lua'})\""
],
"metadata": {},
"tool": { "messageID": "msg_c2f4cf474001aHBEFgZ1o56aeN", "callID": "call_2hcx1TXSMXimUdsXtXXDDOGR" }
}
},
{
"type": "message.part.updated",
"properties": {
"part": {
"metadata": { "openai": { "itemId": "fc_078ad7cb7e176246016984f0e60f008191a63b6abec7f93d21" } },
"type": "tool",
"sessionID": "ses_3d0b471aeffeLvW9F7ux3Ol5im",
"id": "prt_c2f4d02e5001Tl0zp6VP6EClxK",
"messageID": "msg_c2f4cf474001aHBEFgZ1o56aeN",
"tool": "bash",
"state": {
"input": {
"command": "nvim --headless -u tests/minimal/init.lua -c \"lua require('plenary.test_harness').test_directory('./tests/unit/persist_state_spec.lua', {minimal_init = './tests/minimal/init.lua'})\"",
"description": "Run persist state unit tests",
"timeout": 120000,
"workdir": "/Users/disrupted/.local/share/nvim/lazy/opencode-native"
},
"status": "running",
"time": { "start": 1770320103224 }
},
"callID": "call_2hcx1TXSMXimUdsXtXXDDOGR"
}
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
