Feat/basefunction - #8
Merged
Merged
Conversation
[中文] - 变更: - 引入 ActionBase 与参数 schema 校验 - 动作注册改为 ActionBase 实例 - 统一内置/协议/记录/数据/图表动作的类实现 - 文档更新为类化注册方式 - 影响: - DSL 动作参数会进行必填/类型/别名校验 - 兼容性/行为变化: - 不再支持函数式 ActionRegistry 注册 - 依赖/环境: - 无新增依赖 - 验证: - 未运行 [English] - Changes: - Introduce ActionBase with schema validation - Register actions as ActionBase instances - Migrate built-in/protocol/record/data/chart actions to classes - Update docs for class-based registration - Impact: - DSL action args are validated (required/type/alias) - Compatibility/Behavior changes: - Function-based ActionRegistry registration is no longer supported - Dependencies/Environment: - No new dependencies - Verification: - Not run Refs: -
[中文] - 变更: - 重命名协议相关 action 文件为 protocol_*_actions - 同步更新运行时与脚本入口引用 - 影响: - 文件路径变化,但 action 名称不变 - 兼容性/行为变化: - 仅文件名/导入变更 - 依赖/环境: - 无新增依赖 - 验证: - 未运行 [English] - Changes: - Rename protocol action files to protocol_*_actions - Update runtime/script imports - Impact: - File paths changed; action names unchanged - Compatibility/Behavior changes: - Filename/import only - Dependencies/Environment: - No new dependencies - Verification: - Not run Refs: -
[中文] - 变更: - 将 DSL 动作文件迁移到 actions/dsl 并统一 dsl_*_actions 命名 - 更新 runner 与脚本入口的导入路径 - 新增 actions/dsl 包初始化文件 - 影响: - DSL 动作模块路径变化 - 兼容性/行为变化: - 仅目录/文件名调整,动作行为不变 - 依赖/环境: - 无新增依赖 - 验证: - 未运行 [English] - Changes: - Move DSL actions under actions/dsl with dsl_*_actions filenames - Update runner and script imports - Add actions/dsl package init - Impact: - DSL action module paths changed - Compatibility/Behavior changes: - Filename/directory change only - Dependencies/Environment: - No new dependencies - Verification: - Not run Refs: -
[中文] - 变更: - 新增 actions/runtime 目录 - 运行时任务动作迁移为 runtime_protocol_*_actions - 更新 main_runtime 导入与映射 - 影响: - 运行时任务动作模块路径变化 - 兼容性/行为变化: - 仅目录/文件名调整 - 依赖/环境: - 无新增依赖 - 验证: - 未运行 [English] - Changes: - Add actions/runtime package - Move runtime task actions to runtime_protocol_*_actions - Update main_runtime imports and mapping - Impact: - Runtime task module paths changed - Compatibility/Behavior changes: - Filename/directory change only - Dependencies/Environment: - No new dependencies - Verification: - Not run Refs: -
[中文] - 变更: - 将 DSL 基类移动为 actions/dsl/base.py 并更名为 DslActionBase - 新增运行时任务基类 RuntimeTaskBase - DSL 动作与注册器改用 DslActionBase - 运行时任务动作改为 RuntimeTaskBase 封装 - 文档示例同步更新 - 影响: - DSL/运行时动作基类路径变化 - 兼容性/行为变化: - 仅基类与导入变更,行为不变 - 依赖/环境: - 无新增依赖 - 验证: - 未运行 [English] - Changes: - Move DSL base to actions/dsl/base.py and rename to DslActionBase - Add RuntimeTaskBase for runtime tasks - Update DSL actions and registry to DslActionBase - Wrap runtime tasks with RuntimeTaskBase - Sync docs examples - Impact: - DSL/runtime base class paths changed - Compatibility/Behavior changes: - Base/import changes only - Dependencies/Environment: - No new dependencies - Verification: - Not run Refs: -
[中文] - 变更: - 删除 main_runtime.py 与 actions/runtime 任务入口 - 文档移除 task 模式说明,改为 DSL 动作说明 - 影响: - 移除非 DSL 的 tasks 执行路径 - 兼容性/行为变化: - 不再支持 main_runtime tasks 模式 - 依赖/环境: - 无新增依赖 - 验证: - 未运行 [English] - Changes: - Remove main_runtime.py and actions/runtime task entry - Update docs to describe DSL actions instead of task mode - Impact: - Non-DSL tasks execution path removed - Compatibility/Behavior changes: - main_runtime tasks mode no longer available - Dependencies/Environment: - No new dependencies - Verification: - Not run Refs: -
[中文] - 变更: - 新增 infra 通用/通信/协议基础设施目录并迁移相关模块 - 将 DSL 运行时整合到 dsl_runtime(engine/lang/actions) - 更新全仓库导入路径与文档引用 - 清理旧 actions/runtime/dsl 目录残留 - 影响: - 模块路径全面调整 - 兼容性/行为变化: - 仅路径/导入调整,行为不变 - 依赖/环境: - 无新增依赖 - 验证: - 未运行 [English] - Changes: - Add infra common/comm/protocol directories and move modules - Consolidate DSL runtime under dsl_runtime (engine/lang/actions) - Update imports and docs references - Clean up legacy directories - Impact: - Module paths updated across the repo - Compatibility/Behavior changes: - Path/import changes only - Dependencies/Environment: - No new dependencies - Verification: - Not run Refs: -
[中文] - 变更: - 新增 app/ 与 ui/ 目录并迁移入口与界面资源 - main_web/dsl_main 移动到 app/,desktop/frontend/assets 归入 ui/ - 更新导入路径与构建脚本配置 - 更新 README 与用户文档中的路径说明 - 影响: - 入口与 UI 相关路径调整 - 兼容性/行为变化: - 仅路径/导入调整,行为不变 - 依赖/环境: - 无新增依赖 - 验证: - 未运行 [English] - Changes: - Add app/ and ui/ directories and move entry/UI resources - Move main_web/dsl_main into app/, desktop/frontend/assets into ui/ - Update imports and build scripts - Update README/docs paths - Impact: - Entry and UI paths updated - Compatibility/Behavior changes: - Path/import changes only - Dependencies/Environment: - No new dependencies - Verification: - Not run Refs: -
[中文] - 变更: - 将 utils 迁移到 infra/common/utils - 更新相关模块导入路径 - 删除旧 src/com_tool.py - 清理缓存目录与虚拟环境 - 影响: - 工具模块路径调整 - 兼容性/行为变化: - 仅路径调整,行为不变 - 依赖/环境: - 无新增依赖 - 验证: - 未运行 [English] - Changes: - Move utils into infra/common/utils - Update imports - Remove legacy src/com_tool.py - Clean cache/venv directories - Impact: - Utils module paths updated - Compatibility/Behavior changes: - Path/import changes only - Dependencies/Environment: - No new dependencies - Verification: - Not run Refs: -
[中文]
- 变更:
- 修复 dsl_runtime/actions/registry.py 编码导致的语法错误
- 修正 dsl_protocol_actions 对 infra.protocol 的导入
- 影响:
- 解除 DSL 动作注册与协议加载的运行错误
- 兼容性/行为变化:
- 无
- 依赖/环境:
- 无新增依赖
- 验证:
- python -c "import dsl_runtime.engine.runner as r; import infra.protocol; import infra.comm.communication_manager; print('ok')"
[English]
- Changes:
- Fix encoding corruption in dsl_runtime/actions/registry.py
- Update dsl_protocol_actions to import infra.protocol
- Impact:
- Remove runtime errors when loading DSL actions/protocols
- Compatibility/Behavior changes:
- None
- Dependencies/Environment:
- No new dependencies
- Verification:
- python -c "import dsl_runtime.engine.runner as r; import infra.protocol; import infra.comm.communication_manager; print('ok')"
Refs:
-
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.