Keep a session's wait list in the claude-code module (issue 1629)

A session can end its turn while an Approve it expects is still open and
nothing then watches it. claude_code_wait (add/watched/done/said/list)
keeps each session's waits in the module's waits state, keyed by its
session id and node, and mirrors them whole and atomically to a file
under the agent's home that the plugin's coming hooks (1743, 1744) will
read without calling back into this module.
This commit is contained in:
jochen
2026-10-21 17:59:10 +02:00
parent b2f5ebb27d
commit 56c68be7fa
4 changed files with 754 additions and 1 deletions
+3 -1
View File
@@ -28,7 +28,8 @@
"config",
"proposals",
"questions",
"memory"
"memory",
"waits"
],
"reads": [
"claude-licence-manager.bindings"
@@ -67,6 +68,7 @@
"claude_code_proposals",
"claude_code_ask",
"claude_code_answer",
"claude_code_wait",
"claude_code_settings_get",
"claude_code_settings_set",
"claude_code_settings_clear",