Skip to content

refactor(skill): remove async facade exports#22308

Merged
kitlangton merged 2 commits intodevfrom
facade/skill
Apr 13, 2026
Merged

refactor(skill): remove async facade exports#22308
kitlangton merged 2 commits intodevfrom
facade/skill

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • switch the remaining skill production callers to AppRuntime.runPromise(Effect.gen(...)) and read Skill.Service from context
  • convert test/skill/skill.test.ts to effect-style tests that yield Skill.Service methods instead of calling skill facade helpers
  • remove the makeRuntime-backed async exports from src/skill/index.ts while keeping Skill.fmt(...)

Validation

  • bun run test test/skill/skill.test.ts (fails in this temp workspace because Bun preload @opentui/solid/preload is not installed here)
  • bun typecheck (fails in this temp workspace due unrelated missing workspace dependencies / existing package-wide typecheck issues)

@kitlangton kitlangton marked this pull request as ready for review April 13, 2026 15:17
@kitlangton kitlangton merged commit 7239b38 into dev Apr 13, 2026
8 of 10 checks passed
@kitlangton kitlangton deleted the facade/skill branch April 13, 2026 15: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