Skip to content

feat: detect Ollama and llama.cpp CLI sessions - #5

Merged
Lee-W merged 3 commits into
mainfrom
feat/local-llm-sources
Jul 15, 2026
Merged

feat: detect Ollama and llama.cpp CLI sessions#5
Lee-W merged 3 commits into
mainfrom
feat/local-llm-sources

Conversation

@Lee-W

@Lee-W Lee-W commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Discover interactive ollama run and llama-cli processes with their model, cwd, and TTY. Exclude background servers and expose process-only sessions as idle when no precise lifecycle events are available.

Lee-W added 3 commits July 15, 2026 11:39
Discover interactive ollama run and llama-cli processes with their model, cwd, and TTY. Exclude background servers and expose process-only sessions as idle when no precise lifecycle events are available.
RING_DEBUG_PAYLOAD_LOG=1 (or debug_payload_log in config.toml) makes
ring hook append every incoming event verbatim to
~/.config/ring/hook_payloads.jsonl before any status normalization,
capped at 20MB and fully fail-safe. Default off. Groundwork for
diagnosing the waiting-status false positives/negatives.
autouse fixture stubs local_llm's own subprocess binding so a real
ollama/llama.cpp running on the host can no longer leak into
discover_sessions() assertions; scoped to the module namespace to
leave the shared subprocess module untouched.
@Lee-W
Lee-W merged commit fd86677 into main Jul 15, 2026
4 checks passed
@Lee-W
Lee-W deleted the feat/local-llm-sources branch July 15, 2026 04:45
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.

1 participant