Skip to content

Commit

Permalink
chore: update bootstrap plugin export
Browse files Browse the repository at this point in the history
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
  • Loading branch information
affaan-m authored Jan 4, 2025
1 parent cb5de7a commit d6d2519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/plugin-bootstrap/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ export const bootstrapPlugin: Plugin = {
evaluators: [factEvaluator, goalEvaluator],
providers: [boredomProvider, timeProvider, factsProvider],
};
export default bootstrapPlugin;

0 comments on commit d6d2519

Please sign in to comment.