@cli4ai/nanobanana 1.0.3 → 1.0.5

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 ADDED
@@ -0,0 +1,30 @@
1
+ # @cli4ai/nanobanana
2
+
3
+ > Official @cli4ai package • https://cli4ai.com • Install cli4ai: `npm i -g cli4ai`
4
+
5
+ Image generation with Gemini (Nano Banana Pro) via a connected Chrome session.
6
+
7
+ ## Setup
8
+
9
+ ```bash
10
+ npm i -g cli4ai
11
+ cli4ai add -g chrome nanobanana
12
+ ```
13
+
14
+ 1) Start Chrome with remote debugging (see `@cli4ai/chrome`), then:
15
+
16
+ ```bash
17
+ cli4ai run chrome connect
18
+ ```
19
+
20
+ 2) Make sure you’re logged into Gemini in that Chrome session.
21
+
22
+ ## Commands
23
+
24
+ ```bash
25
+ cli4ai run nanobanana image "<prompt>"
26
+ ```
27
+
28
+ ## Notes
29
+
30
+ - The tool triggers a download to `~/Downloads` and returns the downloaded file path as JSON.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nanobanana",
3
- "version": "1.0.0",
3
+ "version": "1.0.5",
4
4
  "description": "Image generation with Gemini (Nano Banana Pro)",
5
5
  "author": "cliforai",
6
6
  "license": "MIT",
@@ -15,7 +15,7 @@
15
15
  "commander": "^14.0.0"
16
16
  },
17
17
  "peerDependencies": {
18
- "chrome": "c4ai chrome tool must be connected with Google account logged in"
18
+ "chrome": "cli4ai chrome tool must be connected with Google account logged in"
19
19
  },
20
20
  "mcp": { "enabled": true, "transport": "stdio" }
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cli4ai/nanobanana",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Image generation with Gemini (Nano Banana Pro)",
5
5
  "author": "cliforai",
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "type": "module",
12
12
  "keywords": [
13
- "c4ai",
13
+ "cli4ai",
14
14
  "cli",
15
15
  "ai-tools",
16
16
  "gemini",
@@ -21,21 +21,23 @@
21
21
  ],
22
22
  "repository": {
23
23
  "type": "git",
24
- "url": "https://github.com/cli4ai/packages",
24
+ "url": "https://github.com/cliforai/packages",
25
25
  "directory": "packages/nanobanana"
26
26
  },
27
- "homepage": "https://github.com/cli4ai/packages/tree/main/packages/nanobanana",
27
+ "homepage": "https://github.com/cliforai/packages/tree/main/packages/nanobanana",
28
28
  "bugs": {
29
- "url": "https://github.com/cli4ai/packages/issues"
29
+ "url": "https://github.com/cliforai/packages/issues"
30
30
  },
31
31
  "dependencies": {
32
- "@cli4ai/lib": "^1.0.0",
33
32
  "puppeteer": "^24.0.0",
34
33
  "commander": "^14.0.0"
35
34
  },
35
+ "peerDependencies": {
36
+ "chrome": "cli4ai chrome tool must be connected with Google account logged in"
37
+ },
36
38
  "files": [
37
39
  "run.ts",
38
- "c4ai.json",
40
+ "cli4ai.json",
39
41
  "README.md",
40
42
  "LICENSE"
41
43
  ],