Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update bootstrap plugin export #1836

Merged
merged 2 commits into from
Jan 5, 2025
Merged

Conversation

affaan-m
Copy link
Contributor

@affaan-m affaan-m commented Jan 4, 2025

Relates to:
Plugin export collisions in character files

Risks
Low - This is a minor bug fix that ensures proper module exports

Background
What does this PR do?
Ensures the bootstrap plugin has a proper default export at the bottom to avoid collisions when used in the actions module in character files. This maintains consistency with other plugins in the codebase that follow the same pattern (like the EVM plugin).

What kind of change is this?
Bug fixes (non-breaking change which fixes an issue)

Documentation changes needed?
My changes do not require a change to the project documentation.

Testing
Where should a reviewer start?
Check packages/plugin-bootstrap/src/index.ts to verify the proper export structure Verify that the plugin can be properly imported in character files without collisions Detailed testing steps
Load a character file that uses the bootstrap plugin Verify that no export collisions occur when the plugin is loaded Verify that all plugin actions are properly accessible Deploy Notes
No special deploy steps required. This is a straightforward bug fix that maintains backward compatibility.

Discord:
affaanmustafa

Relates to

Risks

Background

What does this PR do?

What kind of change is this?

Documentation changes needed?

Testing

Where should a reviewer start?

Detailed testing steps

Relates to:
Plugin export collisions in character files

Risks
Low - This is a minor bug fix that ensures proper module exports

Background
What does this PR do?
Ensures the bootstrap plugin has a proper default export at the bottom to avoid collisions when used in the actions module in character files. This maintains consistency with other plugins in the codebase that follow the same pattern (like the EVM plugin).

What kind of change is this?
Bug fixes (non-breaking change which fixes an issue)

Documentation changes needed?
My changes do not require a change to the project documentation.

Testing
Where should a reviewer start?
Check packages/plugin-bootstrap/src/index.ts to verify the proper export structure
Verify that the plugin can be properly imported in character files without collisions
Detailed testing steps
Load a character file that uses the bootstrap plugin
Verify that no export collisions occur when the plugin is loaded
Verify that all plugin actions are properly accessible
Deploy Notes
No special deploy steps required. This is a straightforward bug fix that maintains backward compatibility.

Discord:
affaanmustafa
Copy link
Contributor

@mgunnin mgunnin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I had to make the same change locally as well.

@monilpat monilpat changed the base branch from main to develop January 4, 2025 22:53
@lalalune lalalune merged commit 9f9c97d into elizaOS:develop Jan 5, 2025
3 of 5 checks 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.

4 participants