Skip to content

Feat/interactive keys and mcp#5

Merged
the-non-expert merged 10 commits intomainfrom
feat/interactive-keys-and-mcp
Mar 25, 2026
Merged

Feat/interactive keys and mcp#5
the-non-expert merged 10 commits intomainfrom
feat/interactive-keys-and-mcp

Conversation

@the-non-expert
Copy link
Copy Markdown
Owner

No description provided.

the-non-expert and others added 10 commits March 25, 2026 09:15
Flutter-style hint bar shown at startup. Keys: r = soft restart
(no reinstall), R = hard restart (reinstall + re-resolve ports),
s = status table (PID/port/uptime), l = cycle log filter,
q/Ctrl+C = graceful quit. Restart loop lives in cli.py;
keyboard loop runs as a daemon thread in runner.py.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
devlauncher now writes .devlauncher.json on start (deleted on exit)
and runs an MCP server (devlauncher-mcp) that Claude Code picks up
automatically. Two tools exposed:

  devlauncher_status()            — services, ports, PIDs; crashed
                                    services detected via os.kill(pid, 0)
  devlauncher_logs(service, lines) — last N lines from log buffer

MCP server registers itself in ~/.claude/settings.json on first run.
Log files written to .devlauncher-logs/<service>.log for on-demand
agent access.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add mcp to install_requires. Register devlauncher-mcp as a
console_scripts entry point.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
README: interactive commands section, agent awareness section,
corrected dependency note. CHANGELOG: Keep a Changelog format
covering v0.2.0 and v0.1.0. .gitignore: add .devlauncher.json,
.devlauncher-logs/, and .omc/.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- mcp_server.py: wrap os.kill(pid, 0) in sys.platform != "win32" guard
  (WinError 87 on Windows; liveness check degrades gracefully to best-effort)
- test_runner_interactive.py: skip _kill_all tests on Windows — os.getpgid
  and os.killpg are POSIX-only; Windows code path uses proc.terminate()
- pyproject.toml: bump requires-python to >=3.10 (mcp requires 3.10+),
  drop Python 3.9 classifier
- tests.yml: remove 3.9 from CI matrix
- README: update Python version requirement

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
test_status_live_checks_pid_on_crash tests os.kill behavior which is
guarded by sys.platform != "win32" in production — skip it on Windows
to match the intentional platform behavior.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@the-non-expert the-non-expert merged commit ba0c67b into main Mar 25, 2026
12 checks passed
@the-non-expert the-non-expert deleted the feat/interactive-keys-and-mcp branch March 25, 2026 11:32
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