summaryrefslogtreecommitdiffhomepage
path: root/packages/tool-edit-file
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-25 18:24:15 +0900
committerAdam Malczewski <[email protected]>2026-06-25 18:24:15 +0900
commit649fc4f66f40f7743683546f81d3320e7394e597 (patch)
treeace62dea64e28e00190a37d1b14e66207ca93ca1 /packages/tool-edit-file
parent8d8f985890ca3751b8c6eea52bb0f2acd4befd2f (diff)
parent7626c7f3adf940ee871c4fd2ba2d342f19d9d60b (diff)
downloaddispatch-649fc4f66f40f7743683546f81d3320e7394e597.tar.gz
dispatch-649fc4f66f40f7743683546f81d3320e7394e597.zip
Merge branch 'feature/lsp-bugfix' into dev
Diffstat (limited to 'packages/tool-edit-file')
-rw-r--r--packages/tool-edit-file/src/extension.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/tool-edit-file/src/extension.ts b/packages/tool-edit-file/src/extension.ts
index 3929634..2a58fac 100644
--- a/packages/tool-edit-file/src/extension.ts
+++ b/packages/tool-edit-file/src/extension.ts
@@ -33,7 +33,10 @@ export const extension: Extension = {
filePath: opts.filePath,
text: opts.text,
cwd: opts.cwd,
- timeoutMs: 60_000,
+ // 10s matches the LSP service's per-server cap (see packages/lsp).
+ // The service clamps this anyway; stated explicitly so the call
+ // site is honest about the effective live-diagnostics budget.
+ timeoutMs: 10_000,
minSeverity: 2, // errors + warnings only
});
};