pi-mono/scripts
Mario Zechner 42a3497d03 feat(durable): read returns images, optional Photon image processor
read returns an image file as one image block (programs get an ImageContent) plus an info diagnostic,
instead of an unsupported_image error. Limits are the conversation model's inputLimits.images.resize,
by default 2000x2000 pixels and 4.5 MB of base64.

- Without a processor: PNG, JPEG, GIF, and WebP within the limits pass through undecoded; the byte limit
  is checked before reading the file, dimensions from the header. Larger images and BMP are error results.
- With createCodingTools({ images }): the processor orients by EXIF, converts BMP to PNG, and shrinks to
  fit. ImageProcessor.prepare is async.
- @earendil-works/pi-durable/images: createPhotonImages(wasm) on @silvia-odwyer/photon 0.3.3 (web build);
  /images/node and /images/cloudflare load the wasm. The root and ./tools entries never reach it (enforced
  in check-entry-graphs).
- An image must be read whole: one that changes while read is read again, unlike a growing text file.
- A model without image input gets a diagnostic that it sees a placeholder.
2026-10-09 19:38:02 +00:00
..
biome feat(ai,coding-agent): unify image and classifier model infrastructure (#9948) 2026-09-23 17:41:19 +02:00
issues feat(durable): nested tool calls, structured output, callers; storage errors end the Session 2026-10-09 17:13:34 +00:00
agent-treeshake-smoke-entry.ts fix(agent): restore streamFn extension compatibility 2026-07-21 18:37:07 +02:00
auto-pi.sh fix(coding-agent): support bundled experimental processes 2026-08-24 14:17:17 +02:00
browser-smoke-entry.ts feat(agent): remove the experimental harness from pi-agent-core 2026-10-01 14:45:01 +02:00
build-binaries.sh fix(coding-agent): disable .env autoload in standalone binary 2026-10-06 09:57:14 +02:00
build-coding-agent-bundle.mjs fix(coding-agent): keep codemode working after the install is updated or removed 2026-10-04 22:49:20 +02:00
check-browser-smoke.mjs feat: add durable JSONL storage backend 2026-09-23 01:33:31 +02:00
check-entry-graphs.mjs feat(durable): read returns images, optional Photon image processor 2026-10-09 19:38:02 +00:00
check-lockfile-commit.mjs feat(coding-agent): remove npm shrinkwrap and recommend the managed installer 2026-10-02 17:16:56 +02:00
check-package-install.mjs feat: unify package artifact validation (#10197) 2026-10-06 13:30:02 +02:00
check-pinned-deps.mjs feat: add Chord runtime foundation 2026-08-29 14:54:19 +02:00
check-runtime-deps.mjs feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
check-runtime-deps.test.mjs fix(coding-agent): keep remote harness dependencies development-only 2026-09-05 12:45:04 +02:00
check-ts-relative-imports.mjs feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
coding-agent-smoke.mjs feat: unify package artifact validation (#10197) 2026-10-06 13:30:02 +02:00
coding-agent-smoke.test.mjs feat: unify package artifact validation (#10197) 2026-10-06 13:30:02 +02:00
cost.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
create-source-archive.sh feat(ai,coding-agent): unify image and classifier model infrastructure (#9948) 2026-09-23 17:41:19 +02:00
diff-model-catalog.mjs generate-models: use reasoning options from models.dev (#6928) 2026-07-22 08:33:34 +02:00
durable-browser-smoke-entry.ts feat: add durable JSONL storage backend 2026-09-23 01:33:31 +02:00
edit-tool-stats.mjs fix(coding-agent): built-in tools work like extension tools 2026-03-22 04:20:38 +01:00
generate-coding-agent-install-lock.mjs fix(coding-agent): update runtime dependencies (#9341) 2026-09-08 16:04:35 +02:00
generate-thinking-capabilities.mjs generate-models: use reasoning options from models.dev (#6928) 2026-07-22 08:33:34 +02:00
local-package-install.mjs feat: unify package artifact validation (#10197) 2026-10-06 13:30:02 +02:00
local-package-install.test.mjs feat: unify package artifact validation (#10197) 2026-10-06 13:30:02 +02:00
local-release.mjs feat: unify package artifact validation (#10197) 2026-10-06 13:30:02 +02:00
model-catalog-protocol.test.ts feat: share model catalog protocol with pi.dev (#9763) 2026-09-23 20:08:05 +02:00
model-catalog-protocol.ts feat: share model catalog protocol with pi.dev (#9763) 2026-09-23 20:08:05 +02:00
npm-audit.mjs chore: accept unfixable node-forge advisory in npm audit 2026-10-02 18:49:34 +02:00
npm-command.mjs feat: unify package artifact validation (#10197) 2026-10-06 13:30:02 +02:00
pack-packages.mjs feat: unify package artifact validation (#10197) 2026-10-06 13:30:02 +02:00
package-artifact-cli.test.mjs feat: unify package artifact validation (#10197) 2026-10-06 13:30:02 +02:00
package-artifacts.mjs fix: support npm 12 pack JSON output (#10680) 2026-10-08 17:26:34 +02:00
package-artifacts.test.mjs fix: support npm 12 pack JSON output (#10680) 2026-10-08 17:26:34 +02:00
package-workspaces.mjs feat(agent): prepare SQLite storage package for publishing 2026-07-21 14:13:14 +02:00
profile-coding-agent-node.mjs feat(coding-agent): bundle Node runtime (#8474) 2026-08-22 21:19:38 +02:00
publish-model-catalog.mjs feat: share model catalog protocol with pi.dev (#9763) 2026-09-23 20:08:05 +02:00
publish-model-catalog.test.mjs feat(ai,coding-agent): unify image and classifier model infrastructure (#9948) 2026-09-23 17:41:19 +02:00
publish-release-announcement.mjs feat(coding-agent): update managed installations in place 2026-08-24 09:34:34 +02:00
publish-release-announcement.test.mjs fix(coding-agent): announce only verified npm releases 2026-08-06 22:39:09 +02:00
publish.mjs feat: unify package artifact validation (#10197) 2026-10-06 13:30:02 +02:00
read-tool-stats.mjs feat(scripts): add session context stats 2026-05-07 22:18:19 +02:00
release-notes.mjs fix(coding-agent): fix changelog links 2026-06-08 20:31:20 +02:00
release-packages.mjs feat: unify package artifact validation (#10197) 2026-10-06 13:30:02 +02:00
release.mjs chore: allow skipping tests in the release script 2026-10-07 23:32:05 +02:00
repro-5893-wsl-bash.mjs fix(coding-agent): run legacy WSL bash commands via stdin 2026-06-19 15:08:25 +02:00
session-context-stats.mjs feat(scripts): add session context stats 2026-05-07 22:18:19 +02:00
session-transcripts.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
smoke-test-codemode-binary.mjs fix(coding-agent): load codemode worker in Windows binary 2026-09-30 13:48:04 +02:00
stats.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
sync-versions.js fix: drop harness-pi-ai and its legacy registry aliases from evals 2026-07-25 14:36:32 +02:00
sync-versions.test.mjs fix: drop harness-pi-ai and its legacy registry aliases from evals 2026-07-25 14:36:32 +02:00
tool-stats.ts fix(oauth): harden browser launch handling 2026-06-02 23:15:46 +02:00
update-model-catalog-pin.mjs feat(coding-agent): add Nix flake (#9137) 2026-10-02 18:30:51 +02:00
update-model-catalog-pin.test.mjs feat(coding-agent): add Nix flake (#9137) 2026-10-02 18:30:51 +02:00
update-source-imports-to-ts.sh chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
use-local-packages.mjs feat: unify package artifact validation (#10197) 2026-10-06 13:30:02 +02:00