Files
Linux_post_install/bin
Your Name 476173ba83 feat: ai — gemini terse+render+last+session+machine, openrouter new tool, capture any command
gemini enhancements:
- built-in terse system prompt with troubleshooting clause + machine context
- markdown→terminal rendering (glow opportunistic + zero-dep awk fallback)
- --last: pos logs + captured output fallback, staleness warning, stderr annotations
- session default always on; --session override; answer separation on tty
- --full flag, --system wholesale override

openrouter (new tool):
- cloned from gemini, adapted for OpenAI-compatible REST API
- Bearer auth, messages array, choices[0].message.content parsing
- config: pos config ai-openrouter → OPENROUTER_API_KEY/MODEL
- default model: openrouter/auto (auto-picks best model)
- all features: ask, chat, sessions, --last, capture

capture subcommand (both tools):
- runs any command, tees output to last_cmd_output for --last
- --last fallback: pos logs (priority) → last_cmd_output (secondary)

shell hook (optional):
- lib/pos-ai-hook.sh: sourceable .bashrc snippet for auto-capture
- exec > >(tee ...) with 1 MB truncation
2026-08-25 08:39:55 -04:00
..
.
2026-07-28 10:28:11 -04:00
.
2026-07-28 10:28:11 -04:00
2026-08-05 05:47:45 -04:00
2026-08-05 05:47:45 -04:00
2026-08-05 05:47:45 -04:00
2026-08-09 04:57:28 -04:00
.
2026-07-28 10:28:11 -04:00
.
2026-07-28 10:28:11 -04:00
.
2026-07-28 10:28:11 -04:00
.
2026-07-28 10:28:11 -04:00
.
2026-07-28 10:28:11 -04:00
.
2026-07-28 10:28:11 -04:00
.
2026-07-28 10:28:11 -04:00