Files
zhou.han 9e86a2c7b7 proc: a Linux zombie no longer holds a lock (#1198)
yetihan (#1198): a lock whose owner is a Linux zombie was held for
good. process.kill(pid, 0) succeeds on a zombie, so 15 packages' lock
and liveness checks counted an exited, unreaped owner as alive.

- scripts/proc.mjs: processStatus(pid) is dead on ESRCH, and on Linux
  also when /proc/<pid>/stat says Z or X; EPERM is "permission", any
  other error "unknown". processAlive / processExists keep each
  caller's old EPERM and unknown-error meaning.
- scripts/sync-proc.mjs copies it into each package (--check in the
  tests); every package's own check keeps its old semantics, now with
  zombies dead. agent-console's daemon bundle and window-warmup's dist
  are rebuilt.
- 15 packages bumped.

Review run at 28ef6622 (mote, HOME=$(mktemp -d)):
- node scripts/sync-proc.mjs --check: ok.
- bun test (whole repo): 8934 pass, 0 fail.
- bun scripts/check.mjs: every package ok.
- window-warmup's build reproduces its dist/plugin.js byte for byte.
  agent-console's bundle diff read line by line: the proc module plus
  esbuild's renumbered imports, nothing else (esbuild isn't installed
  on mote, so it wasn't rebuilt there).
- Real zombie on Linux (WSL, magpie-desktop): a bash child left
  unreaped by an exec'd sleep, /proc stat "Z": the old kill(0) check
  says alive, processStatus says dead; the running process says alive.

Not tried: each package's lock contention end to end.
2026-11-16 12:19:09 +08:00
..

GoAnyAPI for Magpie

Official website: goanyapi.com

GoAnyAPI's complete, publicly advertised read-only MCP API catalog as Magpie tools. No API selection list is maintained in this plugin. It supports OAuth login through GoAnyAPI's remote MCP server and API-key login through its REST API.

Install

Use Plugins → Discover → Tools for agents or:

magpie plugin add @magpie-community/tools-goanyapi

Sign in with GoAnyAPI → Sign in (OAuth, recommended):

magpie plugin login goanyapi oauth

Alternatively choose GoAnyAPI API key or use magpie plugin login goanyapi api. Existing API keys can also be supplied with GOANYAPI_API_KEY in the Magpie gateway process or through the apiKey plugin option. OAuth credentials are kept in Magpie's sign-in storage, and requests use the remote https://mcp.goanyapi.com/mcp server; no privileged backend secret is distributed.

Connecting to agents

Magpie exposes plugin tools at its local Streamable HTTP endpoint http://127.0.0.1:3425/mcp/magpie/tools. Add this endpoint to your agent's MCP configuration using the URL shown in Magpie's Plugins page. Installing the plugin alone does not modify an agent's configuration.

All current read-only API definitions come from the public https://api.goanyapi.com/api/v1/mcp/catalog JSON Schema directory, with GoAnyAPI's built-in catalog as a failover. New published APIs do not require a new PR or changes to this package. Magpie captures the named tool set when its plugin host loads; restart/reload the plugin to show newly added tools as individual names. The permanent catalog and call_dynamic tools read the live catalog at invocation time, allowing access to a newly published API without updating the plugin itself.

Authentication and credits

  • OAuth: browser consent and OAuth 2.1/PKCE through GoAnyAPI's authorization server. API calls are sent to the remote MCP server, which validates the user's token.
  • API key: REST requests to GoAnyAPI API endpoints using the user's API key, no backend-only secrets.
  • API calls may consume GoAnyAPI account credits. Tool discovery reads the public catalog and is free.
  • Never put API keys, access tokens, refresh tokens, or server-only secrets into public source or issues.

Development

node --check packages/goanyapi/index.mjs
bun scripts/check.mjs
bun test

Tests are in packages/goanyapi/tests. Authentication tests use stubs, not live user credentials.

Source of truth: GoAnyAPI MCP. Magpie community repository: magpie-community/plugins.