cloudaxe-opencode/packages/opencode/src/util
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
..
binary.ts OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
context.ts core: improve dependency management and error handling for more reliable builds 2025-10-14 01:33:25 -04:00
defer.ts fix for session stuck in "Working..." 2025-08-14 12:20:22 -04:00
error.ts core: prevent TypeError when error handling encounters non-object errors 2025-11-02 23:38:56 -06:00
eventloop.ts OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
filesystem.ts use treesitter to parse bash commands and catch commands that go outside of cwd (#1443) 2025-07-30 20:57:52 -04:00
fn.ts Add missing files and fix type aliases for opentui features 2025-10-06 18:53:35 -04:00
iife.ts OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
keybind.ts OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
lazy.ts
locale.ts OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
lock.ts Refactor to support multiple instances inside single opencode process (#2360) 2025-09-01 17:15:49 -04:00
log.ts chore: cleanup versioned zod imports (#3460) 2025-10-26 14:50:41 -05:00
queue.ts
rpc.ts OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
scrap.ts
signal.ts OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
timeout.ts
token.ts fix compaction issues 2025-09-12 06:01:11 -04:00
wildcard.ts add flag wildcard parsing support for bash tool (#3390) 2025-10-23 13:35:09 -05:00