Skip to content

Every tool call fails with "No SW" after a macOS restart while taskwindow_status reports healthy #29

Description

@pallaoro

Summary

After a macOS restart, every browser tool call fails immediately with Error: No SW, while taskwindow_status reports everything healthy. The status check and the actual command path disagree, so a client has no signal telling it (or the user) what to do.

Environment

  • Daemon 0.2.8, extension 0.2.8 (latest per taskwindow_status)
  • macOS (Darwin 25.5.0), Chrome
  • Called over MCP (mcp__taskwindow__*)

Reproduction

  1. Use TaskWindow normally (tabs created and driven fine before the restart).
  2. Restart the Mac. Chrome reopens.
  3. Call tabs_create (new session, no sessionToken) → Error: No SW
  4. Retry tabs_create → Error: No SW
  5. Call navigate with the pre-restart sessionToken (inside browser_batch) → batch aborted at step 1 (navigate): No SW
  6. Call taskwindow_status →
{
  "daemon": "running",
  "daemonVersion": "0.2.8",
  "latestVersion": "0.2.8",
  "extensionConnected": true,
  "extensionVersion": "0.2.8",
  "recovery": null,
  "update": null
}

Expected

Either the call wakes the extension's service worker and succeeds, or taskwindow_status reports the worker as not ready and returns a recovery action (for example "click the TaskWindow icon" or "reload the extension"), which is what its description promises.

Notes

  • No SW does not appear in the TaskWindow source (checked at 2177835), so it looks like it surfaces from Chrome when the extension's MV3 service worker is not running or not registered after the browser restarts.
  • The error text alone is not actionable for the user; a mapped message plus a recovery hint would be.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions