@smoose/pi-beautify 0.1.7 → 0.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smoose/pi-beautify",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Small visual polish extensions for pi coding agent",
5
5
  "type": "module",
6
6
  "files": [
package/src/index.ts CHANGED
@@ -185,7 +185,7 @@ class ImageTokenController {
185
185
  formatClipboardFilePaths(paths: string[], existingText = ""): string {
186
186
  const usedIds = this.collectUsedIds(existingText);
187
187
  const pieces = paths.map((path) => (IMAGE_FILE_RE.test(path) ? this.createImageToken(path, usedIds).trimEnd() : path));
188
- return pieces.length > 0 ? `${pieces.join(paths.length > 1 ? "\n" : "")} ` : "";
188
+ return pieces.length > 0 ? ` ${pieces.join(paths.length > 1 ? "\n" : "")} ` : "";
189
189
  }
190
190
 
191
191
  replaceClipboardPathsInEditor(editor: EditorComponent, tui: TUI): void {