Skip to content

fix: remove unused runtime exports - #4595

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4461
Oct 28, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4461

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

Remove the runtime exports left behind when their callers moved: submitLabel after #4270 gave each field its own send label, agentLabel after #4325 removed the named-agent notice, and the external liftReach API after #4379 moved shadow measurement inside box motion. Keep the shadow helper private and delete the two unused label helpers, preserving those changes' behavior.

The same audit on current main also finds quietWord, ICONS, and the icons.js re-export of showAction. Keep the first two private and remove the redundant re-export; showAction remains exported by its owning module for its real caller.

Rebuilt the kernel: only its source hashes change; the compiled JavaScript is byte-for-byte unchanged.

Validation: the existing export audit failed before the change with all six names. After the change the audit and the shipped-page browser render gate both pass (2 tests). The browser build and all 695 runtime tests also pass.

Closes #4461 — automated triage

Delete obsolete send and agent label helpers, make internal shadow, quiet-word and icon helpers private, and drop the unused showAction re-export. No page behavior changes; the compiled kernel JavaScript is unchanged.

Closes #4461
@leaf-agent
leaf-agent merged commit 6b9da4f into main Oct 28, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4461 branch October 28, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Export audit finds three unread runtime exports

1 participant