Skip to content

fix: make plugin entry-point async to permit await import()#22

Merged
KHAEntertainment merged 1 commit intoclaude/review-open-issues-RBCujfrom
copilot/sub-pr-17-yet-again
Mar 21, 2026
Merged

fix: make plugin entry-point async to permit await import()#22
KHAEntertainment merged 1 commit intoclaude/review-open-issues-RBCujfrom
copilot/sub-pr-17-yet-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 21, 2026

await import("./grok_agent_plugin") was called inside a non-async exported function, which is a syntax error in JS/TS.

Change

// before
export default function (api: any) {

// after
export default async function (api: any) {

The dynamic import on line 219 is now syntactically valid within the async context.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI changed the title [WIP] [WIP] Address feedback from PR #17 on open issues #14, #12, #11, #16 fix: make plugin entry-point async to permit await import() Mar 21, 2026
Copilot AI requested a review from KHAEntertainment March 21, 2026 05:39
@KHAEntertainment KHAEntertainment marked this pull request as ready for review March 21, 2026 05:39
@KHAEntertainment KHAEntertainment merged commit 26f8cbf into claude/review-open-issues-RBCuj Mar 21, 2026
1 check passed
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