diff --git a/.changeset/config-dynamic-import.md b/.changeset/config-dynamic-import.md deleted file mode 100644 index b216e49b..00000000 --- a/.changeset/config-dynamic-import.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@fission-ai/openspec": patch ---- - -Fix pre-commit hook hang issue in config command by using dynamic import for @inquirer/prompts - -The config command was causing pre-commit hooks to hang indefinitely due to stdin event listeners being registered at module load time. This fix converts the static import to a dynamic import that only loads inquirer when the `config reset` command is actually used interactively. - -Also adds ESLint with a rule to prevent static @inquirer imports, avoiding future regressions. diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a047360..6e10302b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # @fission-ai/openspec +## 0.17.1 + +### Patch Changes + +- a2757e7: Fix pre-commit hook hang issue in config command by using dynamic import for @inquirer/prompts + + The config command was causing pre-commit hooks to hang indefinitely due to stdin event listeners being registered at module load time. This fix converts the static import to a dynamic import that only loads inquirer when the `config reset` command is actually used interactively. + + Also adds ESLint with a rule to prevent static @inquirer imports, avoiding future regressions. + ## 0.17.0 ### Minor Changes diff --git a/package.json b/package.json index 1b07886b..4c0be063 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fission-ai/openspec", - "version": "0.17.0", + "version": "0.17.1", "description": "AI-native system for spec-driven development", "keywords": [ "openspec",