Repository navigation
Closed as not planned
Description
Description
Description
Sometimes (not always, but it happens regularly during frequent use), when sub-agents (ContextScout/ExternalScout) are invoked, they get aborted and the entire process hangs.
Expected Behavior
Restart or abort all workflow
Environment
- OS: macOS
- OpenCode CLI version: 1.4.11
- OpenAgentsControl Plugin
Additional Context
Opencode logs
data: {
"type": "message.part.updated",
"properties": {
"sessionID": "ses_25a7ed1f8ffe6aNS7c41gaottf",
"part": {
"type": "tool",
"tool": "task",
"callID": "call_TbaunlBR9kAIII4ELiRoqNtL",
"state": {
"title": "Find context for config read",
"metadata": {
"sessionId": "ses_25a7eb4adffe2V25GP69p8JQrc",
"model": {
"providerID": "openai",
"modelID": "gpt-5.4-nano"
},
"interrupted": true
},
"status": "error",
"input": {
"description": "Find context for config read",
"prompt": "User asks to read the local config file ~/.config/opencode/opencode.jsonc...",
"subagent_type": "ContextScout",
"task_id": "",
"command": ""
},
"time": {
"start": 1776598207327,
"end": 1776598364494
},
"error": "Tool execution aborted"
},
"metadata": {
"openai": {
"itemId": "fc_01375570559d8c4e0169e4bcbdf5948195871ad68951e04fd9"
}
},
"id": "prt_da5814689001ZRLutE1SW41j95",
"sessionID": "ses_25a7ed1f8ffe6aNS7c41gaottf",
"messageID": "msg_da5812e310012slsvoRAU0vK04"
},
"time": 1776598364494
}
}
data: {
"type": "message.updated",
"properties": {
"sessionID": "ses_25a7ed1f8ffe6aNS7c41gaottf",
"info": {
"id": "msg_da5812e310012slsvoRAU0vK04",
"parentID": "msg_da5812e130014Q1T3V4c2Q8hRP",
"role": "assistant",
"mode": "OpenAgent",
"agent": "OpenAgent",
"path": {
"cwd": "/Users/macbook/project",
"root": "/Users/macbook/project"
},
"cost": 0,
},
"modelID": "gpt-5.4",
"providerID": "openai",
"time": {
"created": 1776598199857,
"completed": 1776598364497
},
"sessionID": "ses_25a7ed1f8ffe6aNS7c41gaottf",
"error": {
"name": "MessageAbortedError",
"data": {
"message": "Aborted"
}
}
}
}
}
data: {
"type": "session.status",
"properties": {
"sessionID": "ses_25a7ed1f8ffe6aNS7c41gaottf",
"status": {
"type": "idle"
}
}
}
data: {
"type": "session.idle",
"properties": {
"sessionID": "ses_25a7ed1f8ffe6aNS7c41gaottf"
}
}
data: {
"type": "message.part.updated",
"properties": {
"sessionID": "ses_25a7eb4adffe2V25GP69p8JQrc",
"part": {
"type": "tool",
"tool": "glob",
"callID": "call_J7OFhipR5qg4ErawcPxL03YP",
"state": {
"status": "error",
"input": {
"pattern": "/Users/macbook/.opencode/**/paths.json",
"path": "/Users/macbook"
},
"raw": "",
"time": {
"start": 1776598218335,
"end": 1776598364536
},
"error": "Tool execution aborted",
"metadata": {
"interrupted": true
}
},
"metadata": {
"openai": {
"itemId": "fc_0c8f8a9ac7f9daa50169e4bcca3eac819485324e9bd1462196"
}
},
"id": "prt_da5817658001CFXi8xJ9Q8Nk9B",
"messageID": "msg_da5816d67001tlPmhBJA6Xtp4P"
},
"time": 1776598364537
}
}
data: {
"type": "message.part.updated",
"properties": {
"sessionID": "ses_25a7eb4adffe2V25GP69p8JQrc",
"part": {
"type": "tool",
"tool": "glob",
"callID": "call_zW0pPQAGa7os3eCLX1fmPiYC",
"state": {
"status": "error",
"input": {
"pattern": "/Users/macbook/.opencode/context/navigation.md",
"path": "/Users/macbook"
},
"raw": "",
"time": {
"start": 1776598218349,
"end": 1776598364539
},
"error": "Tool execution aborted",
"metadata": {
"interrupted": true
}
}
}
}
}
data: {
"type": "message.part.updated",
"properties": {
"sessionID": "ses_25a7eb4adffe2V25GP69p8JQrc",
"part": {
"type": "tool",
"tool": "glob",
"callID": "call_fh8u8d8licw8L4XPo1Yd0m7s",
"state": {
"status": "error",
"input": {
"pattern": "/Users/macbook/.opencode/context/core/navigation.md",
"path": "/Users/macbook"
},
"raw": "",
"time": {
"start": 1776598218465,
"end": 1776598364545
},
"error": "Tool execution aborted",
"metadata": {
"interrupted": true
}
}
}
}
}
data: {
"type": "message.updated",
"properties": {
"sessionID": "ses_25a7eb4adffe2V25GP69p8JQrc",
"info": {
"id": "msg_da5816d67001tlPmhBJA6Xtp4P",
"role": "assistant",
"mode": "ContextScout",
"modelID": "gpt-5.4-nano",
"error": {
"name": "MessageAbortedError",
"data": {
"message": "Aborted"
}
}
}
}
}
data: {"type":"session.status","properties":{"sessionID":"ses_25a7eb4adffe2V25GP69p8JQrc","status":{"type":"idle"}}}
data: {"type":"session.idle","properties":{"sessionID":"ses_25a7eb4adffe2V25GP69p8JQrc"}}
data: {"type":"server.heartbeat"} // repeated many times
Is it error of Opencode? Or is it possible to resolve in plugin?
Plugins
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon Apr 19, 2026
This issue might be a duplicate of existing issues. Please check:
halabooda commentedon Apr 19, 2026
This bug described here by @tbrandenburg
#23404 (comment)
#23404 (comment)
halabooda commentedon Apr 19, 2026
A possible solution is still open.
#13321
github-actions commentedon Jul 5, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.