rari404
rari404
## Summary Implements bash-style inline reverse-i-search for prompt history, as an alternative approach to #5775's modal dialog. This addresses #5062 and #1701. As @ShpetimA suggested in #5062: > Maybe just...
## Problem `Ripgrep.search` crashes with `SyntaxError: JSON Parse error` when ripgrep outputs malformed JSON lines. This can happen due to: - Corrupted output - Binary file detection messages - Interrupted...
## Summary Simplify if-else blocks to ternary expressions. ## Changes - `packages/opencode/src/util/locale.ts` - `todayTimeOrDateTime` function - `packages/opencode/src/provider/provider.ts` - `getModel` in azure providers (2 instances)
Replace `JSON.parse(JSON.stringify(x))` with `structuredClone(x)` for deep cloning in publish scripts. `structuredClone` is the modern native API for this - cleaner and handles more edge cases correctly.
## Summary Replace `new Promise((resolve) => setTimeout(resolve, ms))` with `Bun.sleep(ms)`. ## Changes - `packages/opencode/src/cli/cmd/auth.ts` - 10ms delay before prompts - `packages/opencode/src/cli/cmd/github.ts` - 1s delay in GitHub app installation retry loop...