Download Latest Version apra-fleet-v0.1.9.0_227c99.tar.gz (288.5 kB)
Email in envelope

Get an email when there's a new version of apra-fleet

Home / v0.1.8.0
Name Modified Size InfoDownloads / Week
Parent folder
apra-fleet-installer-darwin-arm64 2026-04-30 115.1 MB
apra-fleet-installer-linux-x64 2026-04-30 127.1 MB
apra-fleet-installer-win-x64.exe 2026-04-30 89.5 MB
apra-fleet-v0.1.8_1ee188.tar.gz 2026-04-30 268.9 kB
README.md 2026-04-30 5.4 kB
v0.1.8 -- Pino Logging, Claude 2.1.113+ Compatibility _ Session Lifecycle source code.tar.gz 2026-04-30 528.5 kB
v0.1.8 -- Pino Logging, Claude 2.1.113+ Compatibility _ Session Lifecycle source code.zip 2026-04-30 668.8 kB
Totals: 7 Items   333.1 MB 0

What's new in v0.1.8

Claude 2.1.113+ compatibility fix

Claude Code 2.1.113 switched from a bundled JavaScript binary to a native executable, which changed --output-format json output from a single JSON object to JSONL (newline-delimited JSON events). Without this fix, execute_prompt returned raw JSONL as the result text.

  • Three-tier parseResponse — handles (1) classic single JSON object (pre-2.1.113), (2) JSON array of events, and (3) JSONL newline-delimited stream (2.1.113+). All formats are transparently detected and parsed.
  • Direct shell execution on WindowswrapWindowsPrompt reverted from ProcessStartInfo+CreateNoWindow to direct shell execution. The native claude.exe binary does not inherit stdout through ProcessStartInfo; direct shell execution captures stdout correctly through the PowerShell pipe.
  • windows-wrapper.tsdefaultWindowsPidWrapper (ProcessStartInfo approach) extracted into its own module for use by the Copilot provider.

Pino JSONL structured logging (#202)

Fleet server now emits structured logs in JSONL format using pino.

  • Each log line is a JSON object: {"ts":"...","level":"info","tag":"execute_prompt","msg":"..."}
  • Log files: ~/.apra-fleet/data/logs/fleet-<pid>.log
  • Log messages for execute_prompt now include the LLM model name: [claude-haiku-4-5] timeout=60s ...
  • MCP cancellation signals thread through execute_prompt and execute_command via AbortSignal, with proper child process cleanup

Session lifecycle & credential trust model (#183)

  • Full session lifecycle management — sessions track state across turns, resume correctly, and clean up on server shutdown
  • Trust model for credential operations — members with explicit auth grants can perform credential operations without repeated prompts
  • stop_prompt fixed — correctly terminates in-flight prompts and releases session locks
  • Structured log tags: startup, execute_prompt, pid_kill, stop_prompt, execute_command

Model tier updates (#171)

  • Gemini provider updated to Gemini 3.x model generation (gemini-3-flash, gemini-3-pro-preview, etc.)
  • deleteFiles and other path operations now use escapeDoubleQuoted/escapeWindowsArg consistently

Fleet-MCP suppression for members (#173, [#178])

  • Claude and Gemini members no longer see apra-fleet in their own MCP server list — prevents recursive self-invocation
  • Release update notifications — members are notified when a newer fleet version is available

Stability & bug fixes

  • send_files collision detection (#175) — detects and skips files that would collide on case-insensitive filesystems
  • Stale task cleanup (#175) — background tasks that exceed their TTL are automatically reaped
  • SSH username with spaces (#177) — SSH connections now correctly handle usernames containing spaces
  • Improved SSH error messages (#177) — connection failures include the remote address and auth method in the error
  • Windows path rejection in send/receive_files (#174) — backslash paths are rejected early with a clear error
  • credential_store TTL cleanup (#176) — expired entries pruned on startup; remove_member fully decommissions all associated credential state
  • ESM __dirname shim (#174) — remaining __dirname usages replaced with fileURLToPath(import.meta.url) for ESM compatibility

Documentation

  • MseeP security badge added (#205)
  • llms-full.txt regenerated

What's Changed

Full Changelog: https://github.com/Apra-Labs/apra-fleet/compare/v0.1.7.0...v0.1.8.0

Source: README.md, updated 2026-04-30