feat: 添加 --advice 参数,支持快速获取执行建议
- 新增 scripts/core/advice_generator.py 建议生成器模块 - 在 config.py 中添加 DEPENDENCIES 依赖配置 - 在 lyxy_document_reader.py 中添加 -a/--advice 参数 - 复用 Reader 实例的 supports 方法检测文件类型 - 支持平台检测,对 macOS x86_64 PDF 返回特殊命令 - 添加单元测试和集成测试 - 更新 SKILL.md,引导优先使用 --advice 参数 - 更新 README.md,添加项目结构说明 - 添加 openspec/specs/cli-advice/spec.md 规范文档
This commit is contained in:
@@ -16,6 +16,7 @@ from .markdown import (
|
||||
search_markdown,
|
||||
)
|
||||
from .parser import parse_input, process_content, output_result
|
||||
from .advice_generator import generate_advice
|
||||
|
||||
__all__ = [
|
||||
"LyxyDocumentError",
|
||||
@@ -32,4 +33,5 @@ __all__ = [
|
||||
"parse_input",
|
||||
"process_content",
|
||||
"output_result",
|
||||
"generate_advice",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user