Skip to content

refactor: use instance state in small services#23022

Open
kitlangton wants to merge 1 commit intodevfrom
kit/instance-service-sweep
Open

refactor: use instance state in small services#23022
kitlangton wants to merge 1 commit intodevfrom
kit/instance-service-sweep

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • replace ambient Instance.* reads in vcs, provider, mcp, instruction, and system with InstanceState context or directory reads
  • keep behavior the same by threading the current instance context through existing Effect code paths and async callbacks
  • remove the now-unused legacy Instance imports from those small service files

Testing

  • bun typecheck (from packages/opencode)

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