Skip to content

Kodiqa v1.2.0 β€” prompt_toolkit UI

Choose a tag to compare

@eniz1806 eniz1806 released this 01 Mar 12:06

What's New

prompt_toolkit UI

  • Replaced readline with prompt_toolkit for Claude Code-style prompt
  • Separator line (────) above the ❯ prompt β€” clean visual separation
  • KodiqaCompleter class β€” tab completion for slash commands, model aliases, modes, file paths
  • FileHistory β€” persistent input history across sessions
  • Styled prompt with custom colors

Arrow-key selector fix

  • Rewrote _arrow_select with save/restore cursor (\033[s/\033[u)
  • No more duplicate menus when navigating options

Batch edit loop fix

  • Validate empty file paths early in do_write_file and do_edit_file
  • Prevents infinite loop when model sends write_file with empty path
  • Guard in apply_queued_edit for empty paths

Workspace boundary protection

  • Asks permission before accessing files outside the current working directory
  • Arrow-key prompt: Allow once / Allow directory / Deny
  • Remembers allowed directories for the session

Other

  • Iteration counter hidden on first iteration (cleaner output)
  • Removed status bar (accept edits on/off) β€” cleaner prompt area
  • Added numbered picking to /models list