co-mono/packages/coding-agent/src/utils
Mario Zechner 75628e0cfd fix(coding-agent): use lazy-loaded photon wrapper for Node.js compatibility
Previous commit broke Node.js/tsx by using the ESM entry point which
doesn't work with Node. This creates a wrapper module that:
- Uses require() for lazy loading (works in both Node and Bun)
- Gracefully handles load failures (returns original image)
- Works in Node.js, tsx, and Bun compiled binaries
2026-01-16 21:18:13 +01:00
..
changelog.ts Move config.ts from utils/ to src/ 2025-12-09 01:28:06 +01:00
clipboard-image.ts Switch to @mariozechner/clipboard fork with musl support 2026-01-08 04:50:37 +01:00
clipboard.ts feat: add wayland clipboard support 2026-01-08 19:38:30 +01:00
frontmatter.ts Centralize frontmatter parsing + parse frontmatter with yaml library (#728) 2026-01-16 00:31:53 +01:00
image-convert.ts fix(coding-agent): use lazy-loaded photon wrapper for Node.js compatibility 2026-01-16 21:18:13 +01:00
image-resize.ts fix(coding-agent): use lazy-loaded photon wrapper for Node.js compatibility 2026-01-16 21:18:13 +01:00
mime.ts fix(coding-agent): detect image MIME via file-type (#205) 2025-12-17 17:11:56 +01:00
photon.ts fix(coding-agent): use lazy-loaded photon wrapper for Node.js compatibility 2026-01-16 21:18:13 +01:00
shell.ts Fix characters (#372) 2026-01-01 02:16:29 +01:00
tools-manager.ts fix: move managed binaries to bin/ and ignore hidden files in migration check 2026-01-06 07:52:49 +13:00