What's Changed
Breaking Changes
- Remove deprecated modular-mcp feature: The
--modular-mcpCLI option and related code have been removed. This feature was previously deprecated. Users relying on modular MCP should migrate to the standard MCP configuration. - Factory Droid directory structure change: Output paths changed from
.factorydroidto.factory, and non-root rules now use.factory/rules/instead of.factory/memories/.
New Features
- OpenCode hooks support: Implement hooks generation for OpenCode, including session lifecycle events, tool use events, file edit and shell execution events.
- Factory Droid hooks support: Add hooks generation support for Factory Droid.
Bug Fixes
- Fix Antigravity compatibility by removing
.agent/rules/,.agent/workflows/, and.agent/skills/from generated.gitignore. - Fix command injection vulnerability by passing user input via env in workflows.
- Improve
install.shrobustness and security hardening. - Improve hooks schema robustness and matcher sanitization.
- Use
new RegExp()instead of regex literal for matcher embedding in OpenCode hooks.
Other Changes
- Refactor: extract common processing pattern in
generate*Corefunctions to reduce DRY violation. - Remove unused
dryRunvariable fromgenerate.ts. - Remove
ai-manualworkflow as it's no longer needed. - Add meaningful
hasDifftests for preview mode. - Add comprehensive test coverage for OpenCode hooks, fetch, and import.
- Format
config-schema.json.