Files
anomalyco_opencode/packages/opencode
Dax Raad ee4437ff32 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
..
2025-11-13 12:22:07 -06:00
2025-12-03 11:21:13 -06:00
2025-07-03 21:36:09 -04:00
2025-08-05 12:01:48 -04:00
2025-10-31 15:07:36 -04:00
2025-12-03 11:39:04 +00:00
2025-05-30 20:48:36 -04:00
2025-12-02 18:36:15 -05:00
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.