gitea
ca00e9a2cc
feat(aipro): implement bind, review, decide with gateway guardrail and <150 chars opinion validation
2026-09-06 23:54:36 +08:00
gitea
7e39d95b36
feat(aipro): translate JSON output field names to Chinese in scopes and rules commands
2026-09-06 23:32:25 +08:00
gitea
b0149ed32d
feat(aipro): introduce init session with 6-char short runId and 6h TTL, support --run audit logging in scopes, translate, rules and logs
2026-09-06 23:23:57 +08:00
gitea
a16d429d44
feat(aipro): add standalone document field translator and translate command
2026-09-06 22:58:34 +08:00
gitea
62025cb6f1
feat(aipro): add scopes index command and decouple points from bills
2026-09-06 22:36:58 +08:00
gitea
2f8bcb90c9
refactor(cli): purge short hose alias and standardize on hose-use across docs, scripts, and prompts
2026-09-06 22:26:04 +08:00
gitea
9fa4cfe38f
fix(approval): isolate runs by corp, handle execution error, bundle hose-aipro alias, and bump to v0.7.1
2026-09-06 21:57:53 +08:00
gitea
4e36a1d9a5
feat(approval): introduce sqlite rule engine, deterministic gateway, and hose-aipro cli (v0.7.0)
...
- Pure Rule Model & AST Parser:
- Eliminate redundant title field; model rules purely via scope (scene index) and natural language body.
- Implement AST parser for inline clauses: [action]{硬性|弹性|建议|特殊}.
- Validate and enforce preference references with @{级别} syntax, strictly blocking invalid grammar.
- Embedded SQLite Database & Repository:
- Native bun:sqlite integration with zero external dependencies, stored at ~/.config/hose-use/approval.db.
- 5 core schemas: rules, preferences, approval_runs, approval_findings, and aipro_logs.
- Support deduplicated scope indexing (listScopes with 1-based indices) and scope drill-down (getScopeDetail).
- Bill Requisition & Backlog Query Extension:
- Add formatFlowAsBill adapter in domains/bill/tools.ts.
- Fall back to flow and backlog inspection when bills are not found in invoice endpoints, unlocking full structured inspection for requisitions (such as S26000001) and loan requests.
- Deterministic Approval Gateway & Lifecycle:
- Enforce mandatory approval lifecycle: points -> checklist -> review -> decide.
- Physical gateway blocking: forbid decision if audit checklist is missing or empty, or if pending points remain unverified.
- Hard tier severance: automatically sever and throw GatewayBlockError on approval attempts violating {硬性} clauses.
- Dedicated hose-aipro Global CLI & Immutable Audit Ledger:
- Register secondary global binary hose-aipro alongside hose-use in package.json and build-binary.mjs.
- Automatically record every AI Pro invocation, document context, args snapshot, operator, status, and verdict in aipro_logs.
- Provide intuitive subcommands: points, checklist, review, decide, logs, rules.
- Bump project version to v0.7.0 and regenerate OpenAPI bundles.
2026-09-06 19:03:06 +08:00
gitea
aa2a61d44f
feat: add bill approval action suite
2026-09-05 21:56:38 +08:00
gitea
9ddbd0390d
feat: add approval flow dwell time metadata
2026-09-05 21:16:26 +08:00
gitea
85bbc9bbb4
feat: add complete message listing and pagination
2026-09-05 21:13:05 +08:00
gitea
2b4bf49663
feat: include risk snapshot in bill details
2026-09-05 21:07:48 +08:00
gitea
17e5418005
feat: add bill attachment download command
2026-09-05 20:55:39 +08:00
gitea
84e6fa58fd
feat: add durable service event poller
2026-09-05 20:48:32 +08:00
gitea
acd187b616
feat: add read-only permission snapshot CLI
2026-09-05 20:45:34 +08:00
gitea
e44b120cc2
fix: resolve attachments from draft bills
2026-09-05 20:39:54 +08:00
gitea
c14338f1bc
test: cover nullable app metadata
2026-09-05 20:36:03 +08:00
gitea
373fb11a81
feat: add workflow static analysis CLI
2026-09-05 20:34:25 +08:00
gitea
6d61ece8cd
feat: add role definitions and member CLI
2026-09-05 20:29:36 +08:00
gitea
96d28da862
feat(bill): resolve archive references in bill details
2026-09-05 20:20:40 +08:00
gitea
1f3334bfbd
feat(dimension): query custom archive catalogs and items
2026-09-05 20:17:19 +08:00
gitea
9e1a13c1fe
feat(bill): normalize attachment metadata
2026-09-05 20:11:33 +08:00
gitea
0514291d2d
feat(bill): expose budget status from approval risk checks
2026-09-05 20:06:19 +08:00
gitea
7a8f2f6931
feat(bill): trace linked loan and requisition records
2026-09-05 20:04:08 +08:00
gitea
60866efa2e
feat(bill): resolve referenced IDs for approval details
2026-09-05 19:59:15 +08:00
gitea
6468710730
feat: add CLI bill risk review
2026-09-05 19:45:21 +08:00
gitea
a8bdb67293
feat: add CLI bill approval flow timeline
2026-09-05 19:40:45 +08:00
gitea
621c8cb7dc
feat: add CLI message center commands
2026-09-05 14:05:05 +08:00
gitea
97abdb4f96
feat: add CLI submitted task query
2026-09-05 13:51:33 +08:00
gitea
49b0359adb
feat: add CLI carbon copy task query
2026-09-05 13:40:20 +08:00
gitea
d28b0c92d9
feat: add CLI task center queries
2026-09-05 13:33:33 +08:00
gitea
68d570022d
feat: release v0.5.2 with protected contact domain and bill web link
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-09-03 15:58:20 +08:00
gitea
4f510efc1b
feat(auth): 支持代客协助平台凭证智能识别、Token过期感知与单据字典增强并发布 v0.3.1
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-09-03 11:08:47 +08:00
gitea
5cf6c9e014
feat(bill): 引入费控单据与费用明细检索(支持按单号精准查询与 DataLink 字典自动还原)并发布 v0.3.0
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-08-27 11:48:20 +08:00
gitea
e7aa8a86cc
refactor: 全面转向 CLI 驱动架构与底层 SDK,裁撤繁杂 MCP 工具并参考 seal-home 规范
2026-08-27 10:56:45 +08:00
gitea
2085a97e34
refactor: 移除 SealAI 相关业务域、认证与文档
2026-08-27 10:21:16 +08:00
gitea
49693bdbd7
feat(platform): sampleWorkflowData 使用 schema 校验并清理未使用导出
2026-07-17 17:33:10 +08:00
gitea
a4e23263aa
refactor(platform): 拆分服务层到 services.ts,并强化状态与响应 schema
2026-07-17 17:33:08 +08:00
gitea
0b2a060763
docs: 重写 Platform/SealAI 模块文档并补充目录入口
...
- 重写 docs/modules/platform.md 为当前 TS MCP 结构
- 重写 docs/modules/sealai.md 为当前 MCP tool 清单
- 新增 src/domains/README.domains.md、platform/README.platform.md、sealai/README.sealai.md
- 新增 src/core/README.core.md
- 确保 AGENTS.md 引用的下级文档全部存在
2026-07-17 16:54:09 +08:00
gitea
5dd280bdc2
feat(platform): 实现跨应用工作流聚合与节点类型查找
...
- 新增 listAllWorkflows 服务函数:遍历所有启用自建应用汇总工作流
- 新增 findWorkflowsByTaskType 服务函数:递归扫描嵌套 tasks 按类型过滤
- 新增 MCP tools:platform_workflow_list_all、platform_workflow_find_by_task
- 失败平台单独记录 errors,不阻断整体结果
2026-07-17 16:53:56 +08:00
gitea
e583a5faab
feat(platform): 强化工作流节点 JSON schema 约束并修复 MCP inputSchema 生成
...
- 将 tasks 从 z.array(z.any()) 改为递归 discriminated union
- 覆盖 webhook/condition/every/stop/http/flow-detail/code/code-js2/ekuaibao-datalink-filter/create/data-convert/flow-create-task 及兜底 unknown
- 使用 Zod v4 内置 toJSONSchema() 替换不兼容的 zod-to-json-schema
- 移除 zod-to-json-schema 依赖
2026-07-17 16:53:46 +08:00
gitea
298e114420
feat(platform): 新增工作流控制及辅助工具
...
- platform_workflow_toggle: 启用/停用工作流(state=1/0)
- platform_workflow_jobs: 查询运行中的任务
- platform_workflow_dsl: 获取 DSL 配置列表
- platform_workflow_staffs: 获取企业员工列表
- platform_workflow_webhook: 获取 Webhook 信息
- platform_workflow_sample: 获取测试/采样数据
- 修复类型定义兼容 null 值(department, email 等)
- 所有工具通过 Piper/EASO 认证调用
2026-05-18 22:10:44 +08:00
gitea
b7bdb39f56
feat(platform): 实现工作流工具(workflow_list/stats/charge/detail)
...
- platform_workflow_list: 列出指定自建应用下的工作流(EASO)
- platform_workflow_stats: 获取工作流统计信息(EASO)
- platform_workflow_charge: 查询企业工作流用量配额(EASO)
- platform_workflow_detail: 获取工作流详情(Piper)
- 简化 EASO 客户端签名,移除冗余的 corpId 返回
- 更新 tsconfig.json 添加 types: ["node"]
- 更新 README.md 工具清单
2026-05-18 18:00:53 +08:00
gitea
f9eb6a4844
refactor: 将 ekb-mcp 上移到根目录
...
项目结构重构:
- 将 ekb-mcp/ 子目录内容上移到项目根目录
- 更新 AGENTS.md 反映新的 TS + MCP 架构
- 更新 README.md 为 ekb-mcp 项目说明
- 保留 docs/ 文档目录
新的项目结构:
- src/core/ - 基础设施(auth, config, http)
- src/domains/ - 业务域(sealai, platform)
- src/server.ts - MCP Server 入口
- enterprises/ - 企业配置
2026-05-18 17:45:28 +08:00