gitea
a7974abb08
fix: address Codex PR review findings
2026-10-25 22:32:45 +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
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
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
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
7ec369f77e
fix: stabilize auth identity, record operations, and workflow diagnostics
2026-10-15 14:54:10 +08:00
gitea
ffec604ed9
feat(bill,flow): add unified bill trace and flow get diagnostic engine (Phase 2)
2026-10-14 22:00:55 +08:00
gitea
8c6ee6ca89
refactor(cli): split commands/bill.ts into bill/{context,approve,search,flow,related,meta,index}.ts
...
The five closures that captured corp/client/confirmation state move
into a per-invocation createBillActionContext factory; case bodies
become ctx-taking handlers grouped by concern (approval write actions,
list/get, flow/risk/budget, refs/relations/attachments/download,
schema/link/spec). index.ts keeps the original switch semantics.
No behavior change: tsc clean, 316 tests pass.
2026-10-04 14:18:29 +08:00