Skip to content

More cleanup: unused devDependency, undiscovered examples, superfluous exports - #1525

Merged
brillout merged 3 commits into
mainfrom
claude/more-cleanup
Aug 9, 2026
Merged

More cleanup: unused devDependency, undiscovered examples, superfluous exports#1525
brillout merged 3 commits into
mainfrom
claude/more-cleanup

Conversation

@brillout

@brillout brillout commented Aug 9, 2026

Copy link
Copy Markdown
Member

Summary

Three independent, separately-committed cleanups from the ongoing token-burn reduction (follows #1522, #1523, #1524):

  1. playwright-core — unused devDependency in packages/ai-autopilot. Zero imports; the only "playwright" hit in the package is an unrelated filename-pattern regex.
  2. examples/autopilot-quickstart, examples/bootstrap-quickstart, examples/framework-demo — all three built and typechecked fine, but nothing in the repo links to them (no README, no doc references). Only findable by browsing examples/, so they weren't paying for their token overhead.
  3. 38 internal-only exports in packages/ai-sdk/src and packages/the-framework/src — functions/consts exported but never imported anywhere else in the repo, and not re-exported through any published subpath barrel (checked package.json exports maps and wildcard re-exports for both packages before touching anything). Only the export keyword was stripped; declarations are otherwise untouched.

Verification

  • pnpm install — lockfile regenerated cleanly
  • pnpm typecheck — all 8 tasks pass
  • pnpm build — all packages build, dashboard bundles into the-framework
  • pnpm test — 7 test tasks pass, including framework-dashboard's 81 files / 797 tests

Test plan

  • pnpm install
  • pnpm typecheck
  • pnpm build
  • pnpm test
  • Repo-wide grep confirming no remaining references to removed deps/examples
  • Per-symbol repo-wide grep (including package.json exports maps) before stripping each export keyword

Generated by Claude Code

claude added 3 commits August 9, 2026 20:21
Zero imports anywhere in ai-autopilot/src; the only "playwright" hit in
the package is a filename-pattern regex (config file detection), not a
use of the npm package.
autopilot-quickstart, bootstrap-quickstart, and framework-demo all
built and typechecked fine, but nothing in the repo links to them —
no root README, no package README, no doc references any of the
three by path. They were only findable by browsing examples/, so
they weren't paying for their token overhead.
38 functions/consts across the two packages were exported but never
imported anywhere else in the repo, and none are re-exported through
a public subpath barrel (ai-sdk's ./node, ./gateway, ./eval,
./computer-use, ./react; the-framework's ./dashboard-rpc, ./client) —
so `export` was just noise. Verified each one repo-wide (including
package.json exports maps and wildcard re-exports) before stripping
the keyword; declarations are otherwise untouched.
@brillout
brillout merged commit f0c85a1 into main Aug 9, 2026
1 check passed
@brillout
brillout deleted the claude/more-cleanup branch August 9, 2026 21:11
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.

2 participants