Skip to content

Commit 1106192

Browse files
committed
style: biome format for hoisted filePath schema
1 parent faedd13 commit 1106192

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

packages/opencode-plugin/src/tools/hoisted.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,9 @@ function createWriteTool(ctx: PluginContext, editToolName = "edit"): ToolDefinit
458458
description: getWriteDescription(ctx, editToolName),
459459
args: {
460460
// filePath, not path: host UI header contract — see createReadTool.
461-
filePath: z.string().describe("Path to the file to write (absolute or relative to project root)"),
461+
filePath: z
462+
.string()
463+
.describe("Path to the file to write (absolute or relative to project root)"),
462464
content: z.string().describe("The full content to write to the file"),
463465
},
464466
execute: async (args, context): Promise<ToolResult> => {
@@ -606,7 +608,9 @@ function createEditTool(ctx: PluginContext, writeToolName = "write"): ToolDefini
606608
description: getEditDescription(ctx, writeToolName),
607609
args: {
608610
// filePath, not path: host UI header contract — see createReadTool.
609-
filePath: z.string().describe("Path to the file to edit (absolute or relative to project root)"),
611+
filePath: z
612+
.string()
613+
.describe("Path to the file to edit (absolute or relative to project root)"),
610614
symbol: z.string().optional().describe("Named symbol to replace (function, class, type)"),
611615
content: z
612616
.string()

0 commit comments

Comments
 (0)