Skip to content

Conversation

@telnet2
Copy link
Owner

@telnet2 telnet2 commented Dec 16, 2025

This PR adds several enhancements to kiana-v6:

  • Global config support: Add global config file support with fallback mechanism to user-specific and global system configs
  • Interruption support: Add Ctrl+C handling to gracefully interrupt the coding agent
  • Emacs-like keybindings: Add emacs-style keybindings to interactive mode for better text editing experience

These features improve the overall user experience and make kiana-v6 more configurable and user-friendly.

- Add isAborted flag and message tracking for interruption handling
- Modify abort() to append interruption marker to current assistant message
- Update generate() and stream() to reset abort state for new operations
- Enhance stopWhen condition to check for abort flag after each step
- Add AGENTS.md and CLAUDE.md placeholder files noting bun package manager usage
- Add ~/.kiana/config.json as global config location
- Support --create-global-config and --list-global-models flags
- Merge global config as defaults with local config as overrides
- Load .env from home directory if not found in project
- Improve error messages for missing config scenarios
Add readline-style keybindings for better text editing experience:
- Ctrl+A: Move to beginning of line
- Ctrl+E: Move to end of line
- Ctrl+B: Move backward one character
- Ctrl+F: Move forward one character
- Ctrl+U: Delete from cursor to beginning of line
- Ctrl+K: Delete from cursor to end of line
- Ctrl+W: Delete word backwards
- Arrow keys: Left/Right cursor movement

Also adds repositionCursor() helper method to properly position
the cursor after editing operations.
The AI SDK beta changed the callback signature from receiving the result
directly to receiving an options object with toolCallId, input, and output.
@telnet2 telnet2 merged commit cb7a43d into main Dec 16, 2025
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants