Skip to content

Commit 6d4115c

Browse files
committed
fixup! Add inactivity watchdog for stalled ACP control requests
1 parent dc891c1 commit 6d4115c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

lua/agentic/acp/acp_client.test.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
--- @diagnostic disable: invisible, duplicate-set-field
12
local assert = require("tests.helpers.assert")
23
local spy = require("tests.helpers.spy")
34

lua/agentic/acp/acp_client_types.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@
327327
--- @field args? string[] Arguments for agent command
328328
--- @field env? table<string, string|nil> Environment variables
329329
--- @field timeout? number Request timeout in milliseconds
330+
--- @field request_timeout? number Per-request silence timeout for the inactivity watchdog (ms)
330331
--- @field reconnect? boolean Enable auto-reconnect
331332
--- @field max_reconnect_attempts? number Maximum reconnection attempts
332333
--- @field auth_method? string Authentication method

0 commit comments

Comments
 (0)