Skip to content

fix: register aimlapi oauth flow as a bundle lazy-chunk - #5

Merged
Lookoff-AIMLAPI merged 1 commit into
mainfrom
fix-aimlapi-oauth-bundle-chunk
Aug 25, 2026
Merged

fix: register aimlapi oauth flow as a bundle lazy-chunk#5
Lookoff-AIMLAPI merged 1 commit into
mainfrom
fix-aimlapi-oauth-bundle-chunk

Conversation

@Lookoff-AIMLAPI

Copy link
Copy Markdown
Member

build-coding-agent-bundle.mjs hand-enumerates every OAuth flow module as a separate esbuild entry point (they're reached through variable-specifier imports the main bundle can't follow) — aimlapi.ts was missing from that list, so the bundled CLI failed at runtime with "Cannot find module .../chunks/aimlapi.js" on /login. Verified: npm run build now emits dist/bundle/chunks/aimlapi.js, and it loads and exports aimlapiOAuth correctly.

build-coding-agent-bundle.mjs enumerates every OAuth flow module by hand as
a separate esbuild entry point (they're reached through variable-specifier
imports the main bundle can't follow) — aimlapi.ts was missing from that
list, so the bundled CLI failed at runtime with "Cannot find module
.../chunks/aimlapi.js" on /login.
@Lookoff-AIMLAPI
Lookoff-AIMLAPI merged commit ab27af1 into main Aug 25, 2026
2 checks passed
@Lookoff-AIMLAPI
Lookoff-AIMLAPI deleted the fix-aimlapi-oauth-bundle-chunk branch August 25, 2026 11:56
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.

1 participant