claudetool: add clipboard support to patch tool
diff --git a/loop/agent.go b/loop/agent.go
index 5fb2f33..310564d 100644
--- a/loop/agent.go
+++ b/loop/agent.go
@@ -24,6 +24,7 @@
"sketch.dev/claudetool/browse"
"sketch.dev/claudetool/codereview"
"sketch.dev/claudetool/onstart"
+ "sketch.dev/experiment"
"sketch.dev/llm"
"sketch.dev/llm/ant"
"sketch.dev/llm/conversation"
@@ -1391,8 +1392,9 @@
Pwd: a.workingDir,
}
patchTool := &claudetool.PatchTool{
- Callback: a.patchCallback,
- Pwd: a.workingDir,
+ Callback: a.patchCallback,
+ Pwd: a.workingDir,
+ ClipboardEnabled: experiment.Enabled("clipboard"),
}
// Register all tools with the conversation