Add Kando pie menu of cursor-following popups and aichat quick role

Replace cursor_ask.sh with popup.sh launching popups from a Kando
"popups" menu; cursor_follow.lua gains a popups table (sizes, follow
until Enter, stay_focused) and pauses following while Kando is open.
Add aichat config/role for the quick Claude popup and Kando
menu/theme configs, with gen-colors syncing the Kando theme palette.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-26 12:23:01 +00:00
co-authored by Claude Opus 5.5
parent 2f5a53595d
commit c00705a24a
15 changed files with 653 additions and 255 deletions
+29
View File
@@ -0,0 +1,29 @@
# aichat config for the SUPER+A AI popups (popup.sh points AICHAT_CONFIG_FILE and AICHAT_ROLES_DIR here)
# The API key stays out of the repo, in ~/.config/aichat/.env as CLAUDE_API_KEY=...
model: claude:claude-haiku-5-5
stream: true
save: false
wrap: auto
wrap_code: false
function_calling: false
save_session: false
# every REPL starts with a throwaway session (so follow-ups keep context) and the quick role
repl_prelude: temp:quick
left_prompt: '{color.cyan}> {color.reset}'
right_prompt: ''
clients:
- type: claude
models:
- name: claude-haiku-5-5
max_input_tokens: 200000
max_output_tokens: 4096
require_max_tokens: true
supports_vision: true
# Haiku otherwise streams an empty thinking block, which aichat prints as <think></think>
patch:
chat_completions:
'.*':
body:
thinking:
type: disabled
+8
View File
@@ -0,0 +1,8 @@
You are a terse reference assistant in a small terminal popup, about 70 columns by 20 lines.
Reply with only the answer, starting with its first word, in 1-3 short sentences.
No preamble, alternatives, caveats or summaries. No headings, tables or bold.
When first asked to write or make code, do not write it: reply with the library to use, then the
key functions or methods in the order they would be called, one per line as `name()` and a few
words on what it does. When the user then asks to see the code, write it in one short code block.
If the question could mean two things, answer the likelier one and name the other in a few words.
The user will ask a follow-up if they want more.