Skip to content

feat(opencode): embed backend in oclite binary (#128)#130

Merged
randomm merged 3 commits into
devfrom
feature/issue-128-oclite-embedded-backend
Feb 4, 2026
Merged

feat(opencode): embed backend in oclite binary (#128)#130
randomm merged 3 commits into
devfrom
feature/issue-128-oclite-embedded-backend

Conversation

@randomm

@randomm randomm commented Feb 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds proper backend bootstrap to oclite entry.ts
  • Initializes Global, Log, and Instance.provide() before TUI starts
  • Fixes 'No context found' errors when running standalone

Fixes #128

@github-actions

github-actions Bot commented Feb 4, 2026

Copy link
Copy Markdown

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

- Add process.on('unhandledRejection') handler
- Add process.on('uncaughtException') handler
- Add main().catch() for fatal errors
- All errors logged via Log.Default.error() or console.error

Improves error visibility and graceful failure for #128
@randomm randomm merged commit 3bbc3e3 into dev Feb 4, 2026
2 checks passed
@randomm randomm deleted the feature/issue-128-oclite-embedded-backend branch February 4, 2026 07:47
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