@yagni-app/code-staging 1.1.3-staging.1382.1 → 1.1.3-staging.1383.1

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.
@@ -365,6 +365,11 @@ export class ChipEditor extends CustomEditor {
365
365
  if (!image)
366
366
  return; // no image on the clipboard — leave the prompt untouched
367
367
  this.dropChip(image.bytes, image.mimeType);
368
+ // pi redraws right after the synchronous handleInput returns, but the
369
+ // clipboard read above is async, so the chip lands after that redraw. Ask
370
+ // for another (as pi's default paste handler does) or the chip stays
371
+ // invisible until the next keystroke.
372
+ this.tui.requestRender();
368
373
  }
369
374
  dropChip(bytes, mimeType) {
370
375
  const n = ++this.chipCounter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yagni-app/code-staging",
3
- "version": "1.1.3-staging.1382.1",
3
+ "version": "1.1.3-staging.1383.1",
4
4
  "description": "YAGNI Code: a terminal coding agent that already knows your company. One YAGNI login routes the model and grounds the agent in your team's context.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "YAGNI, Inc. <jack@yagni.app> (https://yagni.app)",
@@ -58,5 +58,5 @@
58
58
  "turndown": "^7.2.4",
59
59
  "typebox": "^1.3.15"
60
60
  },
61
- "yagniSourceSha": "d05478fe95b7c47498cd44b4cd37c20b711724b7"
61
+ "yagniSourceSha": "6bae5678a6451e822c78ab8a96fe7ba928cbde9a"
62
62
  }