From d6d25191cf1228808c22d2f63fb2a51c6ab6dedf Mon Sep 17 00:00:00 2001 From: Affaan Mustafa <124439313+affaan-m@users.noreply.github.com> Date: Sat, 4 Jan 2025 14:21:04 -0800 Subject: [PATCH] chore: update bootstrap plugin export 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 --- packages/plugin-bootstrap/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/plugin-bootstrap/src/index.ts b/packages/plugin-bootstrap/src/index.ts index 50766050c6..86522bf3b9 100644 --- a/packages/plugin-bootstrap/src/index.ts +++ b/packages/plugin-bootstrap/src/index.ts @@ -31,3 +31,4 @@ export const bootstrapPlugin: Plugin = { evaluators: [factEvaluator, goalEvaluator], providers: [boredomProvider, timeProvider, factsProvider], }; +export default bootstrapPlugin;