app.js is at its budget (1,343,323 of 1,343,324 on origin/main
5a85a2a91), and the next commit, the Codex app's used-up notice
(MasterYi on Discord), adds ~650 bytes to it. The budget is not raised
(#2710); this moves code out instead, as 34ad18ed8 did.
What moved: ledExpanded, LED_KINDS, LED_ROLES and ledSaid, unchanged,
from app.js into plugins/usage/page.js beside viaText (1,803 bytes).
Nothing in app.js or the other core scripts calls them. Their callers
are plugins/usage/page.js (the Requests ledger's content) and
plugins/sessions/client.js (a session's conversation), which calls
ledSaid only in its render after a fetch, after page.js has loaded
(index.html loads page.js after app.js and before start.js). Their
words stay in i18n.js.
What was run, at this tree plus the next commit:
- go test -tags nogui ./internal/gui: ok (TestCoreScriptBudget with
the budgets unchanged).
- GUI (chromium, webkit): gateway-conversations, sessions-subagents,
sessions-talk, sessions-talk-model, usage-ledger-content, i18n-keys,
plus the next commit's files: 164 of 164.