@inliner/cli 0.1.6 → 0.1.7

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/README.md CHANGED
@@ -45,7 +45,7 @@ inliner-ai "fat happy cats 900x900" -p mysite
45
45
 
46
46
  # Pattern 3: Filename with format only → saves to local file
47
47
  inliner-ai "sunset-landscape.jpg" -p mysite
48
- # → Generates 800x600 JPG, saves to sunset-landscape.jpg
48
+ # → Generates JPG (API decides dimensions, usually 1024x1024), saves to sunset-landscape.jpg
49
49
 
50
50
  # Override output filename with -o flag
51
51
  inliner-ai "hero-image_1200x600.png" -p mysite -o custom-name.png
@@ -59,7 +59,8 @@ inliner-ai "test-image_800x600.png"
59
59
  **Supported patterns:**
60
60
  - `description_WxH.jpg` or `description_WxH.png` → extracts dimensions and format, **saves to file**
61
61
  - `description WxH` → extracts dimensions, defaults to PNG, **outputs URL**
62
- - `description.jpg` → extracts format, defaults to 800x600, **saves to file**
62
+ - `description.jpg` → extracts format, API decides dimensions (usually 1024x1024), **saves to file**
63
+ - `description` → no dimensions or format, API decides (usually 1024x1024 PNG), **outputs URL**
63
64
  - Auto-detects project if `-p` is omitted
64
65
  - Use `-o filename.png` to override the auto-detected output filename
65
66
 
@@ -79,6 +80,9 @@ inliner-ai g "product shot" -p store -o product.png
79
80
 
80
81
  # Auto-detect project (uses default project or first project)
81
82
  inliner-ai generate "hero image" --size 1200x600
83
+
84
+ # No dimensions specified - API decides (usually 1024x1024)
85
+ inliner-ai generate "hero image" -p mysite
82
86
  ```
83
87
 
84
88
  Options:
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  const promises_1 = require("node:fs/promises");
5
5
  const node_path_1 = require("node:path");
6
- const VERSION = '0.1.6';
6
+ const VERSION = '0.1.7';
7
7
  const IMG_BASE = process.env.INLINER_IMG_URL || 'https://img.inliner.ai';
8
8
  const API_BASE = process.env.INLINER_API_URL || 'https://api.inliner.ai';
9
9
  function parseArgs(argv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inliner/cli",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "CLI for Inliner.ai — generate and edit AI images from the terminal",
5
5
  "main": "dist/index.js",
6
6
  "bin": {