pi-mono/scripts
Mario Zechner 8a0903ebf2 feat(ai): compat entrypoint, core-only root barrel (phase 5)
The root barrel is now core-only and side-effect free: types,
createModels/createProvider, auth substrate, lazyStream/lazyApi, faux,
utils. Generated catalogs, api-registry, env-api-keys, images, global
stream functions, and per-API lazy wrappers leave the root.

New @earendil-works/pi-ai/compat preserves the old surface verbatim as
a strict superset of the root: api-dispatch stream/complete with env
key injection, the builtin registration side effect (skip-if-present so
it cannot clobber earlier overrides), deprecated getModel/getModels/
getProviders aliases of the new getBuiltin* reads in providers/all,
lazy api wrappers + setBedrockProviderModule, and image generation.
Compat dies with the coding-agent ModelManager migration.

Packaging: exports map gains ./compat, ./providers/*, ./api/*;
sideEffects array lists only the effectful modules.

Old-global imports across agent/coding-agent/examples and pi-ai tests
switch to /compat (path-only; compat is a superset). The coding-agent
extension loader resolves the pi-ai ROOT specifier to compat, so
existing user extensions using the old global API keep working at
runtime until compat is removed. vitest configs alias /compat to src;
browser smoke imports old globals from /compat.
2026-06-10 21:17:12 +02:00
..
browser-smoke-entry.ts feat(ai): compat entrypoint, core-only root barrel (phase 5) 2026-06-10 21:17:12 +02:00
build-binaries.sh fix(coding-agent): sync clipboard binary archive deps 2026-05-30 00:52:03 +02:00
check-browser-smoke.mjs fix(check): make browser smoke check cross-platform on windows 2026-03-14 04:48:52 +01:00
check-lockfile-commit.mjs Release v0.75.5 2026-05-23 11:58:31 +02:00
check-pinned-deps.mjs chore: add local release and dependency guards 2026-05-20 13:06:28 +02:00
check-ts-relative-imports.mjs chore: add local release and dependency guards 2026-05-20 13:06:28 +02:00
cost.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +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-shrinkwrap.mjs chore(tui): replace koffi with Windows VT input helper 2026-05-21 00:21:21 +02:00
local-release.mjs fix(coding-agent): ship clipboard sidecar in bun binaries 2026-05-23 10:47:35 +02:00
profile-coding-agent-node.mjs chore(coding-agent): emit startup benchmark metrics 2026-03-25 23:05:04 +01:00
publish.mjs chore(release): publish packages from CI 2026-05-28 17:43:05 +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.mjs chore(release): publish packages from CI 2026-05-28 17:43:05 +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
stats.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
sync-versions.js chore: migrate pi packages to earendil works scope 2026-05-07 15:59:42 +02:00
tool-stats.ts fix(oauth): harden browser launch handling 2026-06-02 23:15:46 +02:00
update-source-imports-to-ts.sh chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00