chore(repo): consolidate spec artifacts into specs/ and complete README coverage
- Move generated OpenAPI bundles out of dist/ into committed specs/ (specs/openapi.json, specs/openapi.raw.json); source YAML tree moves openapi/ -> specs/openapi/; schemas/workflow-schema.json joins as specs/workflow-schema.json - Update all generators/consumers: bundle-openapi, generate-raw-openapi, check-version-sync, bump-version, export-workflow-schema, packaging/embedded-openapi - Rewrite stale .env.example with current HOSE_* environment variables - Archive stale repo-local enterprise configs (superseded by ~/.config/hose-use/enterprises) out of the repo; root enterprises/ keeps only the tracked example.json plus an explanatory README - Add missing directory READMEs: approval/contact/message/task/events domains, cli/, http/, packaging/ - Fix stale domain doc links in README.domains.md and docs/modules/platform.md
This commit is contained in:
1 parent
6d532fc719
commit
a3b64d8c8d
29 files changed
+177
-28
No files matched your search
@@ -0,0 +1,14 @@
|
||||
# Task 任务域说明
|
||||
|
||||
本域负责待办/已办审批任务流的分页查询与汇总。
|
||||
|
||||
## 架构
|
||||
|
||||
- `api.ts`:传输层,负责任务分页拉取的 HTTP 请求与响应校验。
|
||||
- `tools.ts`:业务层,提供任务字段归一化与待办/已办查询编排。
|
||||
- `types.ts`:Zod 模式与 TypeScript 类型定义。
|
||||
|
||||
## 关键接口
|
||||
|
||||
- `listTasks`: 分页查询待办(`todo`)/已办(`done`)任务流
|
||||
- `normalizeTask`: 将合思原生任务字段归一化为 `TaskItem`
|
||||
Reference in new issue
Block a user