Skip to content

refactor: collapse Format facade#21980

Merged
kitlangton merged 1 commit intodevfrom
kit/facade-format-20260410
Apr 11, 2026
Merged

refactor: collapse Format facade#21980
kitlangton merged 1 commit intodevfrom
kit/facade-format-20260410

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • remove the Format async facade wrappers and keep packages/opencode/src/format/index.ts service-only
  • migrate the bootstrap and server formatter status edge to AppRuntime.runPromise(Format.Service.use(...))
  • preserve existing formatter behavior while aligning callers with direct service usage

Verification

  • bun run typecheck
  • bun run test test/format/format.test.ts

@kitlangton kitlangton marked this pull request as ready for review April 11, 2026 03:18
@kitlangton kitlangton merged commit f38f415 into dev Apr 11, 2026
10 of 12 checks passed
@kitlangton kitlangton deleted the kit/facade-format-20260410 branch April 11, 2026 03:18
mrsimpson pushed a commit to mrsimpson/opencode that referenced this pull request Apr 14, 2026
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant