@astrofoundry/pi-astro 0.6.1 → 0.6.3

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.
@@ -214,9 +214,9 @@ describe("gemini-image extension", () => {
214
214
  await tool.execute("t", { prompt: "x" }, undefined, undefined, ctx);
215
215
  // Two input calls: one for 2K tweak, one empty confirm
216
216
  expect(ctx.ui.input).toHaveBeenCalledTimes(2);
217
- // The second input's preview message should mention 2K
218
- const secondPreview = ctx.ui.input.mock.calls[1][1] as string;
219
- expect(secondPreview).toContain("2K");
217
+ // The second input's title should mention 2K (preview merged into title)
218
+ const secondTitle = ctx.ui.input.mock.calls[1][0] as string;
219
+ expect(secondTitle).toContain("2K");
220
220
  });
221
221
 
222
222
  it("review loop: tweak 'use imagen ultra, 16:9, 3 images' + empty confirms and calls Imagen", async () => {
@@ -263,10 +263,8 @@ async function reviewAndConfirm(
263
263
  : { estimatedUsd: 0, breakdown: "unknown pricing" };
264
264
 
265
265
  const preview = renderPreview(model, current, est);
266
- const input = await ctx.ui.input(
267
- "Review Enter to confirm, type changes, or 'cancel'",
268
- preview,
269
- );
266
+ const title = `Review · ${preview}\n\nEnter to confirm, type changes (e.g. "2K", "16:9", "imagen ultra", "prompt: ..."), or "cancel".`;
267
+ const input = await ctx.ui.input(title);
270
268
  if (input === undefined) {
271
269
  throw new Error("User cancelled image generation.");
272
270
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrofoundry/pi-astro",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "Personal pi customizations (extensions, skills, prompts, themes) for the pi coding agent.",
5
5
  "keywords": [
6
6
  "pi-package"