pi-banana 2.0.5 → 2.0.8

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.
@@ -197,6 +197,7 @@ export default function (pi: ExtensionAPI) {
197
197
  promptGuidelines: [
198
198
  "Call banana_image when the user asks to create, draw, illustrate, or edit a picture.",
199
199
  "For tweaks like 'make the sky purple', pass the previous file path (or paths) as referenceImages to banana_image.",
200
+ "AVOID CHAINED EDITS: Editing an image that has already been edited causes quality loss. If the user asks for a subsequent tweak, prefer starting a brand new generation. Incorporate all their previous and new instructions into a single comprehensive prompt, and use the original reference images (not the intermediate edited outputs) to create a merged composition. Present this fresh generation by default, but comply if they explicitly insist on editing the edited version.",
200
201
  "Default quality 'fast' is right for most asks; switch to 'high' only when the user explicitly wants top quality.",
201
202
  ],
202
203
  parameters: Type.Object({
@@ -228,7 +229,8 @@ export default function (pi: ExtensionAPI) {
228
229
  referenceImages: Type.Optional(
229
230
  Type.Array(Type.String(), {
230
231
  description:
231
- "Optional path(s) to existing image(s) (PNG/JPEG/WebP/GIF) to edit or iterate on. " +
232
+ "Provide an ARRAY OF STRINGS containing the paths to existing images " +
233
+ "to edit or iterate on (e.g., ['old1.png', 'old2.png']). " +
232
234
  "Relative paths resolve to the current working directory.",
233
235
  })
234
236
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-banana",
3
- "version": "2.0.5",
3
+ "version": "2.0.8",
4
4
  "description": "Generate and edit images in pi using Google Nano Banana 2 (gemini-3.1-flash-image) and Nano Banana Pro. Inline terminal preview, reference-image editing, auto-save.",
5
5
  "author": "Francesco Frapporti <effedue@gmail.com>",
6
6
  "license": "MIT",