mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-22 03:37:18 +00:00
* plan: mcp-activity * plan: mcp-activity list format * plan: mcp-activity answers and live step lines * mcp: a silent line per step of Claude's work, completed at its end * plan: mcp-activity as implemented * mcp: finalize step lines within a day and load only the hook's modules * plan: mcp-activity review decisions as implemented * plan: mcp-allow-tool * mcp: approve a tool for the rest of a session with one tap * plan: mcp-allow-tool as implemented * mcp: docs of the approval of a tool for the rest of a session * mcp: record the checks of the PreToolUse hook with Claude Code * plan: mcp-allow-tool citations of the new code * mcp: keep the approvals of tools while the session's process re-attaches * plan: mcp-allow-tool review round 1 * mcp: end the approvals of tools when the session's group is lost * mcp: tool approvals end when the session's group is lost, docs and tests * mcp: tool approvals follow the process that opened the session last A process is identified by its ID and its start time, read from /proc/PID/stat on Linux and from ps on macOS. A registration from a process with the same ID and another start time ends the approvals. /attach has the session server's parent process ID. While two processes have the session attached, only the attachments of the process of the last /session get the approved tools; the others get an empty list. Tests cover the end of the approvals at a load of a lost group. * plan: mcp-allow-tool decisions 36 and 37, the group's loss in the rules and the design * mcp: a process whose start time is unknown counts as another process A registration of the session's process ends the tool approvals when its start time can't be read, on systems other than Linux and macOS and after a failed read. The start time is read only for a process ID that is a positive integer; on macOS, /bin/ps runs with a 2 s timeout.