Commit Graph
12 Commits
Author SHA1 Message Date
gitea 4e03c9bcd7 refactor: 将应用数据与工作流统一归入应用平台子模块
建立 applications 的应用模型和查询出口,保留基础及详情投影差异。
下沉 DataLink,将工作流模型、API、编排及执行上下文归回 workflow。
同步 CLI、SDK、生成脚本、测试和活跃文档引用,公开命令与 SDK 名称保持兼容。

验证:943 项测试、类型和版本检查通过;三份生成规范字节一致,README 审计通过。
2026-10-30 16:56:09 +08:00
gitea ad771e92e0 feat(workflow & platform): optimize complex workflow orchestration, code node debug summary, MVEL simulation and entity/feetype helpers
- feat(feetype): add --subtree and --ids-only flags to listFeeTypes for direct array export
- feat(platform): add platform gen-props command to generate MVEL/JS entity field constants and templates
- feat(workflow): show code node return value summaries in workflow test and job first screen
- feat(workflow): add workflow node map sub-command and --mapping-file for deep declarative field mutations
- feat(workflow): add executeMvelSandbox for local offline simulation of MVEL code nodes
- test: add comprehensive test cases across feetype, platform gen-props, node map, and MVEL sandbox

Closes #140
2026-10-23 13:06:32 +08:00
gitea a5f685045e feat: optimize datalink metadata display, fix field mapping schema, bill timeout and cli options 2026-10-22 18:43:54 +08:00
gitea aea30fbcd5 feat(workflow): 准确识别工作流延时执行与在途运行状态并补全节点字典 2026-10-21 17:21:35 +08:00
gitea af1e11c018 feat(corps): 企业配置增加环境属性与生产安全保护机制
- Schema 扩展: CorpConfigSchema 增加 env ('prod' | 'test' | 'demo') 与 isTest 字段,未知企业保守兜底为 prod
- 智能初判与归一化: inferCorpEnvFromName 依据名称初判环境,normalizeCorpConfig 确保配置持久化时环境对齐
- CLI 视图升级: corps list 与 search 增加「环境」列 (🏭 正式 / 🧪 测试 / 🎪 演示),支持 --test/--prod/--env 筛选
- 环境打标与迁移: 新增 hose-use corps tag 命令,支持单个企业标记与 --migrate-all 批量显式升级持久化
- 生产安全阻断: workflow test 等敏感调试在正式生产环境 (prod) 阻断执行,需显式附加 --force 确认生产风险
- 上下文与探针增强: context、probe、corps current 全面输出企业环境属性
- 测试与文档补全: 覆盖 489 项全量测试并通过 tsc 类型检查
2026-10-16 12:30:08 +08:00
gitea c56460716f feat(workflow): support webhook sample records, params preview and expand trigger catalog 2026-10-15 15:01:20 +08:00
gitea b605d7c2bb Merge origin/main and preserve debug safeguards across trigger paths 2026-10-15 14:56:11 +08:00
gitea 7ec369f77e fix: stabilize auth identity, record operations, and workflow diagnostics 2026-10-15 14:54:10 +08:00
gitea c8d9e409c6 feat(workflow): implement trigger-aware debug path branching for clock, webhook, datalink and flowform 2026-10-15 14:32:56 +08:00
gitea c507879896 feat(workflow): allow enabled workflow debugging with full security prompts instead of hard block 2026-10-15 14:19:00 +08:00
gitea 0b4519652b fix(workflow): intercept production debug on enabled workflows without force and document platform vulnerability 2026-10-15 14:13:50 +08:00
gitea fe6183dd44 feat(workflow): add end-to-end workflow debug test command and condition branch explanation 2026-10-15 13:24:14 +08:00