This commit introduces a new feature that allows users to build expansion packs with a specific language instruction for the AI agents.
The following changes were made:
- Added a `--language <lang>` option to the `build:expansions` command in `tools/cli.js`.
- Modified the `WebBuilder` in `tools/builders/web-builder.js` to accept the `language` option.
- When the `--language` option is provided, the build process now injects a "You must reply in {language}" instruction into the `activation-instructions` of each agent in the generated bundle.
This feature enables the creation of language-specific bundles without needing to translate the underlying documents, as requested by the user.
|
||
|---|---|---|
| .. | ||
| builders | ||
| flattener | ||
| installer | ||
| lib | ||
| md-assets | ||
| shared | ||
| upgraders | ||
| bmad-npx-wrapper.js | ||
| bump-all-versions.js | ||
| bump-expansion-version.js | ||
| cli.js | ||
| preview-release-notes.js | ||
| sync-installer-version.js | ||
| update-expansion-version.js | ||
| version-bump.js | ||
| yaml-format.js | ||