Przeglądaj źródła

chore: generate

opencode-agent[bot] 3 miesięcy temu
rodzic
commit
727a83aa7a
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      packages/opencode/src/tool/repo_overview.ts

+ 3 - 1
packages/opencode/src/tool/repo_overview.ts

@@ -108,7 +108,9 @@ export const RepoOverviewTool = Tool.define<typeof Parameters, Metadata, AppFile
       params: Schema.Schema.Type<typeof Parameters>,
     ) {
       if (params.path) {
-        const full = path.isAbsolute(params.path) ? params.path : path.resolve(yield* InstanceState.directory, params.path)
+        const full = path.isAbsolute(params.path)
+          ? params.path
+          : path.resolve(yield* InstanceState.directory, params.path)
         return { path: full, repository: params.repository }
       }