cloudaxe-opencode/packages/opencode
Aiden Cline 88f12b0822 core: prevent TypeError when error handling encounters non-object errors
When API errors like token limit exceeded errors are passed as strings to error checking methods, the 'in' operator would throw a TypeError. This fix adds a type guard to check that the input is an object before attempting to access its properties, allowing proper error classification even when encountering unexpected error formats from providers.
2025-11-02 23:38:56 -06:00
..
bin feat: make npm package install work on windows (#2419) 2025-09-08 16:14:18 -04:00
script tui: fix focus management and dialog interactions 2025-11-02 19:07:22 -05:00
src core: prevent TypeError when error handling encounters non-object errors 2025-11-02 23:38:56 -06:00
test upgrade to opentui 0.1.32, activates kitty keyboard 2025-11-02 01:45:38 +01: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
package.json release: v1.0.15 2025-11-03 01:57:36 +00:00
parsers-config.ts OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
README.md sync 2025-05-30 20:48:36 -04:00
sst-env.d.ts wip: zen 2025-09-29 14:17:53 -04: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.