Commit 62ca959

mo khan <mo@mokhan.ca>
2026-01-22 00:56:17
feat: add `write<|channel|>` alias to write tool for gpt-oss
1 parent 443f524
Changed files (1)
lib
elelem
plugins
lib/elelem/plugins/write.rb
@@ -4,7 +4,8 @@ Elelem::Plugins.register(:write) do |toolbox|
   toolbox.add("write",
     description: "Write file",
     params: { path: { type: "string" }, content: { type: "string" } },
-    required: ["path", "content"]
+    required: ["path", "content"],
+    aliases: ["write<|channel|>"]
   ) do |a|
     path = Pathname.new(a["path"]).expand_path
     FileUtils.mkdir_p(path.dirname)