small gleam coding and persistent agent daemon with a detachable cli and a canvas ui albedo.sh

web: read every page of a profile's model catalogue in the picker #125

Closed zzstoatzz.io
targeting main from zzstoatzz.io/albedo:pr/models-paging
Closed opened by and assigned to zzstoatzz.io
targeting main from zzstoatzz.io/albedo:pr/models-paging

The web client read only the first page of /models, so a profile with a big catalogue (OpenRouter: 463 models) offered its first fifty alphabetically and nothing after them, the profile's own default among the missing. models() now follows the next cursor the daemon returns, the way readEntryContent already does.

  • web/scripts/api.test.mjs stubs fetch with three pages and checks the order and the requests made; it fails on the old models()
  • npm test passes; npm run check reports the same diagnostics as before
  • seen against a daemon with an OpenRouter profile: the picker lists all 463 and the profile's default is selected

🤖 Generated with Claude Code

Commits 0