Commit Graph
35 Commits
Author SHA1 Message Date
gitea 1cd8901f7a feat(cli): add corps search command and intuitive aliases
- Implement hose-use corps search <keyword> with case-insensitive fuzzy matching across id, name, corpId, staffId, staffName, and accountId
- Format terminal table output with matched cell brackets, hit labels, active corp markers, and friendly no-match fallback
- Support --json structured output conforming to CliResult specification
- Add intuitive aliases for frequently guessed commands: auth list -> auth accounts, corps find -> corps search, config show -> config paths
- Enhance CorpSummary and CorpContext with corpId, staffName, and getAllCorps
- Add comprehensive unit tests in corps.test.ts, auth.test.ts, and config.test.ts
2026-09-09 14:42:58 +08:00
gitea 893fc47ac6 feat(datalink): add generic app object and record queries 2026-09-09 13:57:45 +08:00
gitea 212371eb03 chore(release): bump version to v0.8.1 2026-09-09 09:23:47 +08:00
gitea 3937d3799b chore(release): bump version to v0.8.0 2026-09-08 15:53:41 +08:00
gitea 00cbf039eb chore(release): bump version to v0.7.5
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-09-08 14:04:03 +08:00
gitea a5b5f1918e feat(config): align with seal-use to remove cwd enterprises and support testEnterprisesDir (v0.7.4) 2026-09-07 16:25:45 +08:00
gitea a8e32cff32 feat(bill): support full invoice validation details, datalink cards, and department paths (v0.7.3) 2026-09-07 15:47:44 +08:00
gitea 052fa77df6 chore(release): bump version to v0.7.2 2026-09-07 00:01:41 +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 2865728885 feat(cli): enhance update sources, normalize repo, upgrade to MCP 2.0, and bump to v0.6.2 2026-09-05 22:32:39 +08:00
gitea 535404871c chore(release): bump version to v0.6.1 2026-09-05 22:17:32 +08:00
gitea 04d3dbcc02 chore(release): bump version to v0.6.0 2026-09-05 22:03: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 188a0fb5dc feat: release v0.5.1 with multi-file skill system and IDE plugin manifest
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-09-03 15:32:01 +08:00
gitea c1dc9f1616 feat: release v0.5.0 with embedded HTTP server and resident daemon service
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-09-03 15:19:12 +08:00
gitea ba30c1a6cb feat(cli): 支持大输出防爆保护、本地文件转储与敏感凭证全链路脱敏并发布 v0.4.2
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-09-03 11:40:32 +08:00
gitea cf44c7dcdf feat(config): 支持多层级企业配置发现、读写分离安全落盘与路径诊断并发布 v0.4.1
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-09-03 11:34:29 +08:00
gitea 9e20caf4a3 feat(mcp): 引入 MCP 单工具网关模式 (hose_cli) 与并发流调度并发布 v0.4.0
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-09-03 11:28:41 +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 b13959451a feat(openapi): 引入双层 OpenAPI 规范管理 (原始下游 & 包装层工具) 并升级版本至 v0.2.2
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-08-27 11:29:32 +08:00
gitea 2dfcf67b00 feat(update): 实现多镜像源自更新机制 (update/upgrade) 并升级版本至 v0.2.1
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-08-27 11:19:13 +08:00
gitea 6e73de697b docs: 更新仓库名称与一键安装链接至 yunyingk/hose-use 2026-08-27 11:10:06 +08:00
gitea dbeb422aeb chore(release): 更新项目与 CLI 名称为 hose-use,升级到 v0.2.0,增加二进制构建与 GitHub Actions Release 工作流,集成 Agent Skill
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-08-27 11:09:18 +08:00
gitea e7aa8a86cc refactor: 全面转向 CLI 驱动架构与底层 SDK,裁撤繁杂 MCP 工具并参考 seal-home 规范 2026-08-27 10:56:45 +08:00
gitea 255c7aee8d feat(auth): 实现三种登录覆盖矩阵与企业配置自动生成 (账密/短信/浏览器同步) 2026-08-27 10:43:27 +08:00
gitea 2085a97e34 refactor: 移除 SealAI 相关业务域、认证与文档 2026-08-27 10:21:16 +08:00
gitea 93360a8ef9 feat(platform): 新增工作流 JSON Schema 导出脚本
- 添加 scripts/export-workflow-schema.ts
- 输出 schemas/workflow-schema.json
- package.json 新增 export:workflow-schema 脚本
- README.md 补充 typecheck 和 schema 导出命令
2026-07-17 16:54:04 +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
gitea dec99334d9 调整根目录文档定位:README / CLAUDE / Agent 2026-04-16 09:59:55 +08:00
gitea 1672d14d0b feat: add agent update command and ekb commands tree
- ekb agent update: patch-style update, only overrides provided fields
- ekb commands [group]: rich tree view of full command hierarchy
- api/agent.py: add save_agent()
- CLAUDE.md/README.md: simplify to layered structure
2026-04-06 00:37:20 +08:00
gitea 3c4ad6256a feat: 完善认证机制并实现 agent list
- 认证方式从 Cookie 改为 accesstoken+corpid+staffid Header(基于真实请求分析)
- agent list 基于真实 API 响应结构完善(data.items, state/mode 字段)
- 新增 CLAUDE.md:项目上下文、认证说明、已知 API 文档
- 补充 README.md:安装和使用说明
2026-04-06 00:06:02 +08:00