The `atxp image` command was dropping any model/aspect-ratio the user wanted
to pin — `imageCommand(prompt)` only forwarded the prompt to
`image_create_image_async`. That left the server-side default in charge
which, for direct MCP callers (no atxp-pics wrapping), recently caused a
production incident where the default `gpt-4o-mini` path produced unfaithful
outputs until the env var was switched to `gpt-image-2`.
This adds:
- `--model <model>` — forwarded as the tool's `model` arg (gpt-image-2,
gpt-4o, dall-e-3, gemini-3-pro-image-preview, etc.)
- `--aspect-ratio <ratio>` (also accepts `--aspectRatio` for parity with the
underlying tool parameter name) — forwarded as `aspectRatio`
Empty/unset options are not added to the args object so server defaults
still kick in when nothing is specified.
Also bumps `@atxp/client` from `^0.10.5` to `^0.11.7` to match what
production MCP servers (image, music) are running. The 0.10.x series
predates the middleware-settlement work and several payment-protocol
fixes that landed in 0.11.x; the API surface used here (`atxpClient`,
`ATXPAccount`) is unchanged. `npm install` regenerated `package-lock.json`.
Help text + README usage examples updated.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Fix three zvec integration bugs: ESM dynamic import not unwrapping
CJS default export, wrong indexParams key (type→indexType), and search
query being contaminated with flag values. Replace .md-only file filter
with gitignore-aware collection of all text files, skip binary files
and common directories (node_modules, .git, etc.), and increase file
limit to 500.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Refactor the backup tool and skill into a broader "memory management"
system. Cloud backup/restore (push/pull/status) is preserved with full
backward compatibility ('backup' is an alias for 'memory'). Two new
subcommands are added:
- memory index --path <dir>: chunks .md files by heading, generates
feature-hash embeddings (256-dim), and stores them in a local zvec
HNSW index for fast approximate nearest-neighbor search.
- memory search <query> --path <dir>: converts the query to the same
vector space and returns the top-k most similar memory chunks with
file paths, headings, line numbers, and similarity scores.
Local search is fully offline — no network or authentication required.
https://claude.ai/code/session_017TjuWQCrpzPM4rYdTTPFBQ
The backup tool now uses jszip to create DEFLATE-compressed zip archives
instead of sending raw JSON payloads. This reduces transfer size and
bandwidth usage. Includes server migration instructions for the
corresponding endpoint changes.
https://claude.ai/code/session_01HZSR7WQPTnnuo8Pmi8UwAw