🐛 fix(playbook): import Optional for cli compatibility
restore the missing typing.Optional import in scripts/playbook.py so older python runtimes can import the CLI module successfully. add a regression test for typing annotation imports and register it in the tests README.
This commit is contained in:
@@ -14,6 +14,7 @@ tests/
|
||||
├── test_firstparty_skills_quality.py # first-party skills 元数据与结构质量测试
|
||||
├── test_gitattributes_modes.py # gitattr_mode 行为测试
|
||||
├── test_no_backup_flags.py # no_backup 行为测试
|
||||
├── test_playbook_typing_imports.py # playbook.py typing 导入兼容性测试
|
||||
├── test_sync_directory_actions.py # sync_memory_bank/sync_prompts 行为测试
|
||||
├── test_vendor_snapshot_templates.py # vendor 快照模板完整性测试
|
||||
├── test_main_loop_cli.py # main_loop CLI 测试
|
||||
|
||||
Reference in New Issue
Block a user