Files
Linux_post_install/DOC
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
..

Documentation

Everything in this folder is reference material for the Linux_post_install project. The root README is the short intro + quick start; this folder holds the detail.

Document What it covers
HOWTO.md Hands-on guides per category (ai, network, docker, media, system, ssh, share, communication, entertainment): flags, recipes, config, troubleshooting
SCRIPTS.md Core installer scripts: install.sh, preinstall.sh, postinstall.sh, lib/common.sh, lib/flags.sh, lib/entertainment-lib.sh, features/autostart.sh, features/usb-automount.sh — purpose, how each works, configuration
POS.md The pos CLI: dispatcher, every pos-* command, Docker Compose / ScaleTail config, legacy wrappers, flag CLIs
APPS.md Optional apps: apps/install.sh picker, installer conventions, full app catalog
SYSTEMD.md Systemd units (autostart.service, usb-automount.service, ssh-agent.service), feature-flag gating, bash completion
DEV.md Developer guide: architecture, conventions, how to add tools/apps/features, commit guidelines
AGENT_Context_Project.md Single-source context doc for AI agents working on the repo
algorithm.md ASCII diagrams: install flow, pos dispatch, compose up, config cascade, logging, vbox lifecycle

Quick navigation