Skip to content

refactor(permission): remove async facade exports#22342

Merged
kitlangton merged 4 commits intodevfrom
facade/permission
Apr 13, 2026
Merged

refactor(permission): remove async facade exports#22342
kitlangton merged 4 commits intodevfrom
facade/permission

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • route permission callers through AppRuntime.runPromise(...) and remove the service-local async permission facade exports
  • update the workflow approval path in session/llm.ts to call Permission.Service through AppRuntime
  • convert test/permission/next.test.ts away from Permission.ask/reply/list/runPromise facade calls to direct service-layer effects

Validation

  • bun run test test/permission/next.test.ts (fails before loading tests: Bun preload @opentui/solid/preload is missing in this worktree environment)
  • bun typecheck (currently fails broadly in this worktree due existing dependency/typecheck issues unrelated to this diff, including missing modules like drizzle-kit and @opentui/solid/bun-plugin)

@kitlangton kitlangton marked this pull request as ready for review April 13, 2026 19:01
@kitlangton kitlangton merged commit d199648 into dev Apr 13, 2026
12 of 14 checks passed
@kitlangton kitlangton deleted the facade/permission branch April 13, 2026 23:34
mrsimpson pushed a commit to mrsimpson/opencode that referenced this pull request Apr 14, 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