diff options
| author | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-03-18 17:37:40 +0000 |
|---|---|---|
| committer | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-03-18 17:37:40 +0000 |
| commit | c3ddc85ccad64ecf95ca786be37c63b631ae73d2 (patch) | |
| tree | b48abb822ea177881800ca64c41e92fb75237113 /packages | |
| parent | a800583aeaf6500d7bcd09e69ea6e8c8225600a1 (diff) | |
| download | opencode-c3ddc85ccad64ecf95ca786be37c63b631ae73d2.tar.gz opencode-c3ddc85ccad64ecf95ca786be37c63b631ae73d2.zip | |
chore: generate
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/opencode/src/auth/effect.ts | 1 | ||||
| -rw-r--r-- | packages/opencode/src/tool/truncate-effect.ts | 6 | ||||
| -rw-r--r-- | packages/opencode/test/server/project-init-git.test.ts | 1 |
3 files changed, 1 insertions, 7 deletions
diff --git a/packages/opencode/src/auth/effect.ts b/packages/opencode/src/auth/effect.ts index 043b9002e..e03ad9586 100644 --- a/packages/opencode/src/auth/effect.ts +++ b/packages/opencode/src/auth/effect.ts @@ -91,5 +91,4 @@ export namespace AuthEffect { return Service.of({ get, all, set, remove }) }), ) - } diff --git a/packages/opencode/src/tool/truncate-effect.ts b/packages/opencode/src/tool/truncate-effect.ts index aa6c999fc..60b9d0fa8 100644 --- a/packages/opencode/src/tool/truncate-effect.ts +++ b/packages/opencode/src/tool/truncate-effect.ts @@ -58,11 +58,7 @@ export namespace TruncateEffect { } }) - const output = Effect.fn("Truncate.output")(function* ( - text: string, - options: Options = {}, - agent?: Agent.Info, - ) { + const output = Effect.fn("Truncate.output")(function* (text: string, options: Options = {}, agent?: Agent.Info) { const maxLines = options.maxLines ?? MAX_LINES const maxBytes = options.maxBytes ?? MAX_BYTES const direction = options.direction ?? "head" diff --git a/packages/opencode/test/server/project-init-git.test.ts b/packages/opencode/test/server/project-init-git.test.ts index 839ba4607..855997775 100644 --- a/packages/opencode/test/server/project-init-git.test.ts +++ b/packages/opencode/test/server/project-init-git.test.ts @@ -112,7 +112,6 @@ describe("project.initGit endpoint", () => { vcs: "git", worktree: tmp.path, }) - } finally { await Instance.disposeAll() reloadSpy.mockRestore() |
