Skip to content

memgw v1.0.4

Choose a tag to compare

@holetexvn holetexvn released this 10 Aug 11:42
· 8 commits to main since this release

[1.0.4] - 2026-08-10

Fixed

  • memgw start while a gateway is already running printed a raw EADDRINUSE
    stack trace; it now says "memgw is already running -- nothing to start" and
    exits 0 (pre-flight health check before binding). A port taken by something
    that is NOT memgw gets a one-line explanation instead of a crash dump.

Added

  • setup now installs the Codex transcript watcher as a supervised process
    (launchd com.memgw.watch-codex on macOS, systemd --user
    memgw-watch-codex on Linux) whenever Codex CLI is found and memgw runs
    from a permanent install -- Codex capture no longer needs a manual step.
    Windows / npx-cache runs still get the exact command printed.
  • memgw key: add or replace the LLM key after setup with one command --
    masked prompt, provider auto-detected from the key prefix (OpenAI, Anthropic,
    Groq, OpenRouter -> endpoint and default model configured automatically), and
    the gateway is restarted so the key is live. Queued keyless events are
    distilled on the next worker pass.
  • memgw status now shows per-agent last-seen times ("agents seen"), so
    "which agents are actually connected" has an answer; /stats by_source gained
    last_ts.

Changed

  • setup's key prompt explains that skipping is safe (events queue, nothing is
    lost) and that the key stays on the machine; README quick start now leads
    with the permanent install (npm install -g) and keeps npx as the try-it path.

[1.0.3] - 2026-08-10

Fixed

  • doctor could report "gateway not running" while the gateway was healthy
    (stale keep-alive socket or a busy machine timing out the first probe when
    doctor runs inside setup). Both gateway checks now retry once before
    concluding anything.

[1.0.2] - 2026-08-10

Fixed

  • The gateway that setup starts directly (when supervision is unavailable) now
    logs to ~/.memgw/gateway.log instead of discarding output, and doctor
    prints the log tail when the gateway is down -- a silently dying gateway was
    undebuggable.

[1.0.1] - 2026-08-10

Fixed

  • memgw setup crashed on Node versions where readline's internal
    _writeToOutput is missing (seen on v21.7): masked key input now falls back
    to visible input instead of dying.
  • setup and doctor now warn on odd (non-LTS) Node versions, which have no
    better-sqlite3 prebuilds.

Added

  • AGENTS.md: an agent playbook for installing memgw on a user's machine and
    for working on the codebase (shipped in the npm package).