opencode/packages/opencode
Dax Raad ee4437ff32
Some checks are pending
deploy / deploy (push) Waiting to run
format / format (push) Waiting to run
snapshot / publish (push) Waiting to run
test / test (push) Waiting to run
core: add provider test coverage for upcoming refactor
Add comprehensive test suite for Provider module to ensure safe
refactoring of provider internals. Tests cover:
- Provider loading from env vars and config
- Provider filtering (disabled_providers, enabled_providers)
- Model whitelist/blacklist
- Model aliasing and custom providers
- getModel, getProvider, closest, defaultModel functions

Also adds Env module for instance-scoped environment variable access,
enabling isolated test environments without global state pollution.
2025-12-03 18:30:42 -05:00
..
bin fix: windows install (#4293) 2025-11-13 12:22:07 -06:00
script fix: bunfs path on windows (#5011) 2025-12-03 11:21:13 -06:00
src core: add provider test coverage for upcoming refactor 2025-12-03 18:30:42 -05:00
test core: add provider test coverage for upcoming refactor 2025-12-03 18:30:42 -05:00
.gitignore improve snapshotting speed further 2025-07-03 21:36:09 -04:00
AGENTS.md ci: send stats to posthog 2025-08-05 12:01:48 -04:00
bunfig.toml OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
Dockerfile core: add missing system libraries to docker image so the agent starts successfully 2025-11-21 23:52:01 -05:00
package.json release: v1.0.129 2025-12-03 11:39:04 +00:00
parsers-config.ts Add YAML language server support (#4508) 2025-11-19 14:47:04 -06:00
README.md sync 2025-05-30 20:48:36 -04:00
sst-env.d.ts wip: zen 2025-12-02 18:36:15 -05:00
tsconfig.json try tsgo 2025-10-14 18:30:32 -04:00

js

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.