gitea
a7974abb08
fix: address Codex PR review findings
2026-10-25 22:32:45 +08:00
yunyingk
0f164b6de5
Merge pull request #144 from yunyingk/feat/bill-draft-ops
...
CI / validate (push) Has been cancelled
feat(bill): 修复单号查询并新增草稿校验/复制/删除
2026-10-23 18:38:34 +08:00
yunyingk
a6e4836d2a
Merge pull request #145 from yunyingk/feat/openapi-provisional-auth-and-workflow-ux
...
CI / validate (push) Has been cancelled
feat(workflow): 增强工作流循环与字段变量断裂静态门禁
2026-10-23 18:29:39 +08:00
gitea
39a5a7e669
feat(workflow): 增强循环与字段变量引用断裂静态诊断硬门禁 (BROKEN_LOOP_ITEM_REFERENCE & BROKEN_CHOOSE_REFERENCE)
2026-10-23 18:22:32 +08:00
gitea
ebcebbfffc
fix(bill): filter detail fields by fee type schema
...
- 费用类型结构:feeType.expenseSpecificationId → /api/form/v2/specifications/[id]
- 明细只发 schema 声明的字段(amount/apportions),剔除 feeDate 等未声明字段
- 金额作为核心字段始终保留
2026-10-23 18:14:16 +08:00
gitea
af7362a346
fix(corps): resolve whoami staff names online by id
...
- whoami 默认在线核验 staffs/me,配置只依赖工号
- --offline 退回本地缓存
- 并发 5、单请求 8s 超时
2026-10-23 17:58:24 +08:00
gitea
a797196caa
feat(cli): show acting staff identity per enterprise
...
- hose-use whoami: 逐企业一行显示执行身份(姓名 + 工号 + 来源)
- corps ls: 新增「员工姓名」列
- context/status 保持全局诊断
2026-10-23 17:54:16 +08:00
gitea
dda9b2c7a0
fix(bill): filter create payload by template components
...
- 只提交模板声明过的字段,避免 412「无法识别的属性」
- 缺失必填字段时本地报错,而不是让服务端拒绝
- 版本化 specificationId 解析已在前一提交修复
2026-10-23 17:41:05 +08:00
gitea
3c00a0c0a6
feat(bill): add pure-API create and submit commands
...
- bill create: 按模板创建草稿(最小表单 + 一条费用明细,版本化 specificationId)
- bill submit: plans/computed 计算审批计划 → freeflow.submit(未指派节点需显式 --approver)
- 文档与 Skill 路由同步
2026-10-23 17:38:12 +08:00
gitea
1de9e3f552
fix(bill): use original template ids and bust metadata cache
...
- bill templates / bill spec 改用服务端 originalId(支持含冒号的原始 ID)
- 元数据 GET 增加 _t 时间戳 + no-cache,避免改名后读到缓存旧值
- skill: 业务输入必须由用户提供,禁止编造驳回意见等占位内容
2026-10-23 17:32:03 +08:00
gitea
258b347d4d
fix(bill): resolve bills outside the caller's own flow list
...
根因:flows/my 按当前凭证身份返回“我发起”的单据,系统或其他员工创建的单据不在其中,
导致 bill get 返回 NOT FOUND(测试企业 B26000012/B26000017 复现)。
修复:新增企业级通道 POST /api/flow/v2/flows/searchByCode 兜底,
命中后再拉一次完整详情,保证表头字段齐全。
2026-10-23 17:13:32 +08:00
gitea
782466ad80
fix(bill): expose usable template group ids
...
- bill templates 文本输出带 ID(组 ID,可直接用于 bill spec)
- getFormSpecification 自动剥离版本后缀,兼容 <groupId>:<hash>
- 修复 bill spec <模板ID> 返回 NOT FOUND
2026-10-23 17:05:49 +08:00
gitea
9d7df10994
feat(bill): list templates grouped by specification group
...
- bill templates [--all] [--keyword]: 与页面快速新建同源,默认仅启用
- 服务端已按身份过滤可见性,--all 仅尝试带出停用项
- docs: README.bill.md 与 Skill 路由同步
2026-10-23 16:59:06 +08:00
gitea
5d1e3e5d8e
build: refresh MCP plugin bundle for new bill commands
2026-10-23 16:48:07 +08:00
gitea
6628a546c5
feat(bill): fix code lookup and add draft validate/copy/delete
...
- fix: resolve bill by code/ID via flows/my + flowId detail, covering draft and paid bills
- feat: draft validation engine (currency consistency, foreign rate, totals, draft status)
- feat: bill validate, bill copy, bill delete commands
- docs: write API contracts (freeflow.edit/delete/submit, plans/computed) and skill routing
2026-10-23 16:46:42 +08:00
yunyingk
4d921c09b3
Merge pull request #143 from yunyingk/release/v0.8.20
...
CI / validate (push) Has been cancelled
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
release: v0.8.20
v0.8.20
2026-10-23 13:39:05 +08:00
gitea
3fee9a2a6f
release: v0.8.20 — 复杂工作流深层映射、代码节点出参即时摘要与MVEL本地仿真
2026-10-23 13:37:29 +08:00
yunyingk
32a509aa0e
Merge pull request #142 from yunyingk/feat/issue-140-workflow-ux
...
CI / validate (push) Has been cancelled
feat(workflow & platform): 复杂工作流编排与代码节点调试全链路体验优化
2026-10-23 13:35:40 +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
1739daacf2
chore(workflow): enforce --code-file and file-based editing to eliminate token waste
2026-10-23 11:46:14 +08:00
yunyingk
1c2e97486b
Merge pull request #139 from yunyingk/feat/cli-dx-and-metadata-fixes
...
CI / validate (push) Has been cancelled
feat: optimize datalink metadata display, fix field mapping schema, bill timeout and cli options
2026-10-22 18:45:27 +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
yunyingk
fbdb38bfb2
Merge pull request #138 from yunyingk/release/v0.8.19
...
CI / validate (push) Has been cancelled
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
release: v0.8.19 — 业务对象原生服务端过滤与早退保护及工作流轻量化列表
v0.8.19
2026-10-22 16:59:21 +08:00
gitea
f834822f36
release: v0.8.19 — 业务对象原生服务端过滤与早退保护及工作流轻量化列表
2026-10-22 16:58:23 +08:00
yunyingk
37f5e5c74b
Merge pull request #137 from yunyingk/feat/platform-filter-workflow-compact
...
CI / validate (push) Has been cancelled
feat(platform): 支持服务端原生 filterBy 语法、工作流轻量化列表与凭据自动下钻
2026-10-22 16:54:15 +08:00
gitea
fa55e45acd
chore: rebuild mcp plugin bundle
2026-10-22 16:53:14 +08:00
gitea
975f76af74
feat(platform): support native server filterBy, workflow compact list and auto-corp credentials
2026-10-22 16:50:25 +08:00
yunyingk
deed5a5628
Merge pull request #136 from yunyingk/release/v0.8.18
...
CI / validate (push) Has been cancelled
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
release: v0.8.18 — 工作流在途与延时执行精准透视及节点字典增强
v0.8.18
2026-10-21 17:23:15 +08:00
gitea
576d98a85f
release: v0.8.18 — 工作流在途与延时执行精准透视及节点字典增强
2026-10-21 17:22:02 +08:00
gitea
aea30fbcd5
feat(workflow): 准确识别工作流延时执行与在途运行状态并补全节点字典
2026-10-21 17:21:35 +08:00
yunyingk
36a4d3b27b
Merge pull request #135 from yunyingk/fix/v0.8.17-review-fixes
...
CI / validate (push) Has been cancelled
Fix v0.8.17 assist and workflow review issues
2026-10-21 16:17:32 +08:00
gitea
3f3bd8183b
fix: preserve partial assist role findings
2026-10-21 16:10:00 +08:00
gitea
8a5dc1133d
build: sync MCP bundle for v0.8.17 review fixes
2026-10-21 16:05:54 +08:00
gitea
88a0d97974
fix: harden workflow analysis diagnostics
2026-10-21 16:04:57 +08:00
gitea
6ce83dd8a7
fix: preserve explicit assist ticket and reject ambiguous recipients
2026-10-21 16:04:57 +08:00
gitea
3597ec6694
fix: preserve assist session lifecycle and identity certainty
2026-10-21 16:04:26 +08:00
yunyingk
4e53c88a51
Merge pull request #134 from yunyingk/release/v0.8.17
...
CI / validate (push) Has been cancelled
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
release: v0.8.17 — 合思协助平台自动化运营、免密进入与工单转交闭环
v0.8.17
2026-10-21 12:45:45 +08:00
gitea
33ea49c9fe
release: v0.8.17 — 合思协助平台自动化运营、免密进入与工单转交闭环
2026-10-21 12:44:37 +08:00
yunyingk
b671b63e99
Merge pull request #133 from yunyingk/feat/assist-transfer-and-qr-watch
...
CI / validate (push) Has been cancelled
feat(assist): 支持协助工单权限转交 (transfer) 与候选人检索
2026-10-21 11:59:00 +08:00
gitea
7a396f8a95
feat(assist): 支持协助工单权限转交 (transfer) 并实测交接给陈龙
...
- 实现 domains/assist-platform 转交 API: searchTransferCandidatesApi (POST /api/userRole/search) 与 transferAssistTicketApi (POST /api/assistPlatform/transfer)
- 提供智能接收人解析 (resolveTransferRecipient): 支持姓名模糊匹配、工号或账号精确匹配
- 实现 CLI 命令 hose-use assist-platform transfer: 支持 --candidates 人员字典查询与 --dry-run 安全预览
- 实测将沈玥妍测试企业有效工单 ID01Xenwiu9w0D 成功转交至陈龙 (chenlong3016, 工号 3016)
- 补充 domains 与 cli 全套单元测试并在 SKILL.md 与 assist-platform.md 沉淀转交指南
2026-10-21 11:57:52 +08:00
yunyingk
82fa0fca0c
Merge pull request #132 from yunyingk/feat/workflow-toolchain-defense
...
CI / validate (push) Has been cancelled
feat(workflow): add docs domain & powerCode diagnostics, webhook sample injector, and snapshot sanitizer
2026-10-21 11:48:26 +08:00
gitea
8d72e94d52
chore: merge origin/main into feat/workflow-toolchain-defense
2026-10-21 11:47:05 +08:00
gitea
3c2c82c3f7
chore(mcp): update bundled server.js artifact
2026-10-21 11:45:01 +08:00
gitea
6e40faccff
feat(workflow): add docs domain and unlicensed powerCode diagnostics, webhook sample injector, and snapshot sanitizer
2026-10-21 11:42:50 +08:00
yunyingk
b3371ee327
Merge pull request #131 from yunyingk/feat/assist-identity-and-role-risk-guard
...
CI / validate (push) Has been cancelled
feat(assist): 支持协助身份与角色权限穿透呈现及高管防误用警示
2026-10-21 11:40:04 +08:00
gitea
2ace4e2378
feat(assist): 支持协助身份与角色权限穿透呈现及高管防误用警示
...
- 实测澄清协助平台时长限制: 服务端 POST /api/assistPlatform/create 硬性单次上限为 24 小时 (1 天),超过直接报错 400,支持 --days/--hours 并在超限时清晰提示
- 协助直通会话生成及落盘时实时穿透解析组织架构: 提取人员姓名、工号、手机、所属部门、所配角色清单及核心系统权限
- 建立高管身份与特权角色风控评级体系 (analyzeStaffRoleRisk): 自动识别总监、主管理员、财务负责人、总经理等高危身份并输出安全风控警示框
- 将完整人员身份画像与风控元数据注入持久化企业配置 (enterprises/<corpId>.json)
- 在 SKILL.md 追加 Rule 13 及更新 assist-platform.md 说明文档
2026-10-21 11:39:00 +08:00
yunyingk
60d0b8ffc1
Merge pull request #130 from yunyingk/feat/assist-platform-approve-and-fix-enter
...
CI / validate (push) Has been cancelled
feat(assist-platform): add approve command and support direct link generation for enter
2026-10-21 11:26:47 +08:00
gitea
16507da470
chore: sync bundled dist/mcp/server.js
2026-10-21 11:25:59 +08:00
gitea
f0fc7148ec
feat(assist-platform): add approve command and support direct link generation for enter
2026-10-21 11:24:26 +08:00
yunyingk
e98948529e
Merge pull request #129 from yunyingk/feat/assist-platform-apply-and-trust-rules
...
CI / validate (push) Has been cancelled
feat(assist-platform): add ticket application command and enforce local config trust rules
2026-10-21 11:08:32 +08:00