Commit graph

6 commits

Author SHA1 Message Date
Leo
01c90d587f feat(cli): support interactive start without initial prompt 2026-02-12 11:15:39 +02:00
Leo Alho
981683a405
feat: Allow starting CLI without initial prompt (#2)
Make the initial prompt optional. When no arguments are provided,
the CLI now goes directly to interactive mode instead of exiting.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:06:30 +02:00
Leo Alho
63d4ad95d0
feat: Add logging
Add conversation logging with per-session files and visual separators

Implements optional conversation logging where each session creates its own timestamped log file. Also adds dynamic terminal-width separators between messages for better visual organization.
2026-01-14 15:14:30 +02:00
Leo
9fc42f9e3c Rename project to klod, remove duplicate answers 2026-01-13 11:49:29 +02:00
Leo
80002ea195 Prioritize global config over local .env file
Check ~/.config/prompt/config and ~/.prompt.env before .env in current
directory. This prevents issues when running prompt in project directories
that have their own .env files for other purposes.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-13 10:31:39 +02:00
Leo
b7ecba9385 Add Go implementation with streaming responses and rename to prompt
- Implement streaming API responses for real-time text output
- Add multi-location config file support (.env, ~/.config/prompt/config, ~/.prompt.env)
- Rename project from anthropic-cli to prompt
- Add interactive conversation loop to bash script
- Create README with installation and usage instructions

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-13 10:22:27 +02:00