imgx-cli 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -0
- package/README.md +0 -52
- package/dist/cli.bundle.js +310 -102
- package/dist/mcp.bundle.js +281 -95
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
- README: add Claude Desktop MCP configuration (Windows `cmd /c` + macOS/Linux)
|
|
12
12
|
- README: switch all MCP config examples from local `node` path to `npx`
|
|
13
|
+
- README: replace "Version updates" with full release checklist (version bump → build → publish → verify)
|
|
13
14
|
|
|
14
15
|
## 0.5.1 (2026-02-26)
|
|
15
16
|
|
package/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
AI image generation and editing from the terminal. Provider-agnostic design with capability-based abstraction.
|
|
4
4
|
|
|
5
|
-
<!-- TODO: Add demo GIF showing generate → edit → edit --last workflow -->
|
|
6
|
-
|
|
7
5
|
## Install
|
|
8
6
|
|
|
9
7
|
### As a Claude Code plugin
|
|
@@ -311,56 +309,6 @@ Each provider declares its supported capabilities. The CLI dynamically enables o
|
|
|
311
309
|
|----------|--------|-------------|
|
|
312
310
|
| Gemini | `gemini-3-pro-image-preview`, `gemini-2.5-flash-image` | All 7 capabilities |
|
|
313
311
|
|
|
314
|
-
## Plugin structure
|
|
315
|
-
|
|
316
|
-
imgx-cli doubles as an AI coding tool plugin. The repository contains:
|
|
317
|
-
|
|
318
|
-
```
|
|
319
|
-
.claude-plugin/
|
|
320
|
-
├── plugin.json # Claude Code plugin manifest
|
|
321
|
-
└── marketplace.json # Marketplace definition for plugin discovery
|
|
322
|
-
.cursor-plugin/
|
|
323
|
-
└── plugin.json # Cursor plugin manifest
|
|
324
|
-
.mcp.json # MCP server config (auto-registered on plugin install)
|
|
325
|
-
skills/
|
|
326
|
-
└── image-generation/
|
|
327
|
-
├── SKILL.md # Skill instructions
|
|
328
|
-
└── references/
|
|
329
|
-
└── providers.md # Provider and model reference
|
|
330
|
-
dist/
|
|
331
|
-
├── cli.bundle.js # Bundled CLI (tracked in git for plugin distribution)
|
|
332
|
-
└── mcp.bundle.js # Bundled MCP server
|
|
333
|
-
```
|
|
334
|
-
|
|
335
|
-
When installed as a plugin, the tool clones this repository and registers the skill. The skill instructs the AI to execute `dist/cli.bundle.js` via bash when image generation or editing is requested.
|
|
336
|
-
|
|
337
|
-
### Plugin configuration files
|
|
338
|
-
|
|
339
|
-
**`.claude-plugin/plugin.json`** — Plugin identity. Fields: `name`, `description`, `version`, `author`. No `category` field (that belongs in `marketplace.json` only).
|
|
340
|
-
|
|
341
|
-
**`.claude-plugin/marketplace.json`** — Marketplace wrapper. The `source` field must use URL format for self-referencing repositories:
|
|
342
|
-
|
|
343
|
-
```json
|
|
344
|
-
"source": {
|
|
345
|
-
"source": "url",
|
|
346
|
-
"url": "https://github.com/somacoffeekyoto/imgx-cli.git"
|
|
347
|
-
}
|
|
348
|
-
```
|
|
349
|
-
|
|
350
|
-
**`skills/image-generation/SKILL.md`** — Uses `${CLAUDE_PLUGIN_ROOT}` variable for portable CLI paths. Frontmatter (`name`, `description`) is required for skill registration.
|
|
351
|
-
|
|
352
|
-
### Version updates
|
|
353
|
-
|
|
354
|
-
When releasing a new version, update the version string in all locations:
|
|
355
|
-
|
|
356
|
-
1. `package.json` — npm package version
|
|
357
|
-
2. `src/cli/index.ts` — CLI `--version` output
|
|
358
|
-
3. `.claude-plugin/plugin.json` — Claude Code plugin manifest version
|
|
359
|
-
4. `.claude-plugin/marketplace.json` — Marketplace plugin entry version
|
|
360
|
-
5. `.cursor-plugin/plugin.json` — Cursor plugin manifest version
|
|
361
|
-
|
|
362
|
-
Then rebuild (`npm run bundle`) and commit `dist/cli.bundle.js` since plugin distribution relies on the git repository.
|
|
363
|
-
|
|
364
312
|
## Development
|
|
365
313
|
|
|
366
314
|
```bash
|