pi-mono/packages
Armin Ronacher 540e174c72
feat(coding-agent): Virtual models (#10035)
This adds experimental support for virtual models. A virtual model is a catalog entry that an extension registers with pi.registerVirtualModel(). It does not talk to a provider itself; for every request it picks a physical model and thinking level. The motivation is to make routing policies pluggable: plan on a strong model and implement on a cheap one, pick a model with a classifier, or move to a larger window when the context grows. Today this needs model switching by hand or hacks in prepareRequest.

The selection stays virtual: model_change records it, resume restores it, and each response records the physical model and thinking level that produced it. Router state can be stored on the session branch, so it follows /tree and forks and survives compaction. Context limits, compaction and image sizing use the physical model a request was routed to. examples/extensions/jev-router.ts shows a full router that uses the Jev classifier to pick Sol or Terra for planning and hands off to Luna after the first edit. docs/virtual-models.md describes the API.
2026-09-28 23:30:45 +02:00
..
agent feat(coding-agent): Virtual models (#10035) 2026-09-28 23:30:45 +02:00
ai feat(coding-agent): Virtual models (#10035) 2026-09-28 23:30:45 +02:00
chord feat(durable): add document states and buffered watches 2026-09-28 16:36:31 +02:00
client feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
coding-agent feat(coding-agent): Virtual models (#10035) 2026-09-28 23:30:45 +02:00
durable feat(durable): add openable Harness with registry and conversation config 2026-09-28 21:57:41 +02:00
evals feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
protocol feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
server feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
session-backends/sqlite-node feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
telemetry feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
tui fix(coding-agent,tui): paste Finder file paths instead of icons (#10136) 2026-09-28 20:59:29 +01:00