mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-08 01:52:33 +00:00
chore: generate
This commit is contained in:
parent
8718b98ee1
commit
2789b770aa
1 changed files with 1 additions and 4 deletions
|
|
@ -42,10 +42,7 @@ export const LspTool = Tool.define(
|
|||
return {
|
||||
description: DESCRIPTION,
|
||||
parameters: Parameters,
|
||||
execute: (
|
||||
args: Schema.Schema.Type<typeof Parameters>,
|
||||
ctx: Tool.Context,
|
||||
) =>
|
||||
execute: (args: Schema.Schema.Type<typeof Parameters>, ctx: Tool.Context) =>
|
||||
Effect.gen(function* () {
|
||||
const file = path.isAbsolute(args.filePath) ? args.filePath : path.join(Instance.directory, args.filePath)
|
||||
yield* assertExternalDirectoryEffect(ctx, file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue