Skip to content

v1.6.1

Choose a tag to compare

@github-actions github-actions released this 30 Jun 15:58

What's Changed

Project Directory Resolution

  • MCP roots and environment variable support: The MCP server now resolves the working directory from your client's first file:// workspace root, falling back to AMICUS_PROJECT_DIR and then the process cwd. This fixes the issue where stdio MCP servers spawned by desktop clients would incorrectly root in the app install directory instead of your actual project.
  • Canonical path normalization: A single canonicalProjectPath() helper now normalizes project paths (slash direction, drive-letter case, trailing slashes, UNC shares) across creation and lookup, ensuring the system always agrees on which directory is which.

Session Management

  • Global session index: amicus_status, amicus_read, and amicus_list now consult a global taskId -> project index, so a session created in one project can still be found when looked up from another.
  • Scoped shared-server sessions: Every OpenCode session on a shared server now carries its project directory in create and follow-up calls, ensuring headless MCP sessions are correctly filed even when the server spans multiple projects.
  • Interactive mode directory agreement: When your launch directory differs from --cwd (the normal sidecar-skill pattern), follow-up prompts no longer fail with "unable to retrieve session." The OpenCode session is now scoped to the project directory, and the Electron Web-UI route is built from the server-echoed session directory instead of a guessed one.

Error Reporting

  • Improved failure diagnostics: amicus_read now surfaces the actual failure reason (crash, timeout, abort) for runs that produced no summary, instead of a bare "No summary available."
  • Consistent error naming: amicus_abort's "session not found" message now names the resolved project, matching the output from status and read commands.

CLI Improvements

  • Per-command help blocks: amicus council --help, amicus continue --help, and --help for resume, doctor, setup, key, and mcp now print scoped usage for each command instead of the full global help.
  • Removed spurious option: Dropped an invented --prompt-file line from the continue help block.

Testing

  • Deterministic timeout testing: Forced the timeout path deterministically in shared-server tests so abort-scope tests no longer flake on CI.

Full Changelog: v1.6.0...v1.6.1