Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2683de825a | ||
|
|
0b5c8250ca |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oh-my-opencode",
|
||||
"version": "0.1.27",
|
||||
"version": "0.1.28",
|
||||
"description": "OpenCode plugin - custom agents (oracle, librarian) and enhanced features",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
||||
@@ -132,11 +132,10 @@ export function createPulseMonitorHook(ctx: PluginInput) {
|
||||
// Pause monitoring while tool runs locally (tools can take time)
|
||||
stopMonitoring()
|
||||
},
|
||||
"tool.execute.after": async (input: { sessionID: string }) => {
|
||||
// Resume monitoring after tool finishes
|
||||
if (input.sessionID) {
|
||||
startMonitoring(input.sessionID)
|
||||
}
|
||||
"tool.execute.after": async (_input: { sessionID: string }) => {
|
||||
// Don't forcefully restart monitoring here to avoid false positives
|
||||
// Monitoring will naturally resume when next session/message event arrives
|
||||
// This prevents stalled detection on legitimately idle sessions
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user