Commit Graph
53 Commits
Author SHA1 Message Date
gitea 0c6a3ee660 feat(workflow,corps): add dynamic staff link switching and deep failed job inspection 2026-10-14 18:32:14 +08:00
gitea 0499ccb2cc refactor(corps): normalize credential categories and format workflow history logs 2026-10-14 18:19:13 +08:00
gitea 95eb8ee676 chore(legacy): remove ekb-mcp migration layer, approval db compat shim, and stale daily notes
The ekb-mcp -> hose-use rename migration (LEGACY_* constants,
syncLegacyEnterprisesDir/syncLegacyGlobalConfig with 7-day grace
cleanup, dual-source enterprises resolution) has completed its job:
legacy data self-deleted on active machines years of grace ago.
Config resolution now returns the single primary
~/.config/hose-use source; startup no longer scans the legacy dir.

- core/config/loader.ts: drop legacy constants, sync functions, and
  LEGACY path from diagnostics candidates; loader.test.ts drops the
  three legacy-migration cases
- domains/approval/db.ts deleted: pure pass-through over core/db whose
  consumers (repository.ts) already call core/db directly; the four
  test files now import getDatabase/closeDatabase from core/db
- scripts/dev-hygiene.ts: drop the config.legacy finding and
  legacyConfig snapshot field
- docs/daily/* removed: Python-era (ekb-cli/ekb-mcp) notes describing
  commands and architecture that no longer exist (preserved in git
  history)

No behavior change on machines without legacy data: tsc clean,
313 tests pass (316 minus the 3 removed legacy cases).
2026-10-05 16:29:19 +08:00
gitea 27c86e052a refactor(core,packaging): relocate embedded assets and binary runtime to src/packaging and enforce core whitelist 2026-09-30 00:29:20 +08:00
gitea 3864f0ffd0 refactor(db,persistence): unify EventStore and WorkflowAlertStore onto core/db SQLite 2026-09-30 00:26:49 +08:00
gitea fb11fedb76 docs(architecture): sync core and domain READMEs with refactored modules and layering 2026-09-30 00:14:54 +08:00
gitea c15d622ba2 refactor(errors): unify EkbError hierarchy across domains and structured CLI error classification 2026-09-30 00:13:35 +08:00
gitea 2b220bc5d9 refactor(auth,config): split 2260-line login.ts into focused modules and normalize CorpConfig fields 2026-09-30 00:04:28 +08:00
gitea 2d744d283b perf(http,auth): persist EASO, Unity, and Piper tokens across CLI invocations via token-store 2026-09-29 23:45:38 +08:00
gitea 76f7832522 refactor(mcp): remove deprecated fine-grained MCP tool definitions and simplify server to single CLI gateway 2026-09-29 23:42:12 +08:00
gitea d0af46b445 fix(security,config): enforce 0600 file permissions, dynamic account store path, and HTTP origin protection 2026-09-29 23:34:06 +08:00
gitea a0ec7f95a7 feat(platform,datalink,bill): add workflow job drilldown, safe record batch-edit, audit, and spec linkage diagnostics (v0.8.11) 2026-09-29 20:00:55 +08:00
gitea 96c5a3f242 feat(auth): support OpenAPI persistent credentials, auto-refresh, and Web login link generation (v0.8.10) 2026-09-28 16:50:18 +08:00
gitea 8c444efc85 fix(auth): point account-store and token-store directly to ~/.config/hose-use 2026-09-18 11:22:41 +08:00
gitea d0f3d2738a refactor(core): 全量语义化客户端迁移并移除历史兼容桥接层 2026-09-17 15:44:25 +08:00
gitea aa69b50e6e refactor(core): 抽象语义化 HTTP 客户端与统一防爬指纹管理 2026-09-17 15:32:56 +08:00
gitea 43595e2410 fix: sqlite cache migration, bill timeout protection with --mine, and add-link overwrite UX (v0.8.7) 2026-09-17 10:06:08 +08:00
gitea ebed61d6b4 feat(skill): 合思系列统一入口,新增 MVEL 与节点开通子技能
- skills/hose-use 收敛为合思/易快报系列唯一入口,新增「本套件结构」路由表
- 新增子技能 multi/ekuaibao-mvel:工作流 MVEL 代码节点脚本生成与排错
- 新增子技能 multi/ekuaibao-nodes:工作流节点批量开通(自 curl 提取 token/corpId/baseUrl)
- 开通服务地址改为 HOSE_WORKFLOW_NODE_URL 环境变量,不再硬编码实例
- embedded-skill 内嵌清单 14 -> 18,installer 递归保留 multi/ 层级;测试同步更新
2026-09-15 16:21:15 +08:00
gitea 33db72f863 fix: install skill only in canonical global directory 2026-09-12 23:02:25 +08:00
gitea 7cfb68e434 feat: migrate legacy hose configuration paths 2026-09-11 17:24:08 +08:00
gitea 639aaa9271 feat: embed keys and store skill guidance 2026-09-11 16:35:21 +08:00
gitea fb700a4c86 feat(feetype): add fee type domain CRUD CLI commands and specifications 2026-09-09 16:25:03 +08:00
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 0c953df30e feat(store): 新增企业 OpenAPI 密钥一键提取(keys)与应用中心探查(store)能力 2026-09-08 16:59:57 +08:00
gitea 3a15b064fe refactor(core): 规范数据库表结构、版本迁移与多级缓存体系加固
- 数据库表规范化与原子事务版本迁移机制 (_schema_migrations)
- 增加 SQLite 复合主键、PRAGMA busy_timeout 与索引覆盖
- 构建统一两级协同缓存 (L1 Memory LRU + L2 SQLite 持久化)
- withCache 增加 In-flight Promise 去重并发防击穿 (单飞机制)
- 收敛 dimension、role、bill 与 token-store 缓存逻辑
- 100% 保持现有 API 契约与零功能删除
2026-09-08 15:49:27 +08:00
gitea 3f015d8e22 fix(auth): guard temporary token refresh and translate bill flow 2026-09-08 12:08:12 +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 2bf8d22810 feat: 支持协助链接秒级导入 (corps add-link) 与多集群 (wx2等) 动态鉴权换票 2026-09-07 14:44:37 +08:00
gitea 065ba42bfe chore(skill): embed references/approval.md into embedded skill assets 2026-09-07 14:26:06 +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 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 6d61ece8cd feat: add role definitions and member CLI 2026-09-05 20:29:36 +08:00
gitea 1f3334bfbd feat(dimension): query custom archive catalogs and items 2026-09-05 20:17:19 +08:00
gitea 621c8cb7dc feat: add CLI message center commands 2026-09-05 14:05:05 +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 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 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 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 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 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 b7a3bf2c03 feat(auth): 实现全自动无感续杯 (401/即将过期自动重试换票) 与企业多身份唯一标识分层 2026-08-27 11:04:41 +08:00
gitea 189415cdac feat(config): 实现有状态与无状态 (stateful/stateless) 运行模式无缝切换与企业解析 2026-08-27 10:59:08 +08:00
gitea e7aa8a86cc refactor: 全面转向 CLI 驱动架构与底层 SDK,裁撤繁杂 MCP 工具并参考 seal-home 规范 2026-08-27 10:56:45 +08:00
gitea 3d549e2e2f feat(auth): 完善多账号与企业分层管理模型,全面支持 F12/cURL 临时凭证导入与一键保活 2026-08-27 10:49:20 +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 31c2a112de feat(server): MCP 工具参数运行时校验与统一错误处理 2026-07-17 17:33:14 +08:00
gitea c9e0fba265 refactor(core): 统一 HTTP 工厂与认证模块,支持 401 自动重试
- factory.ts 只负责创建 HTTP client 和 401 retry 逻辑
- auth 模块(ekb/easo/piper/sealai)只负责 token/header 获取
- ekb.ts 新增 createEkbClient
- sealai.ts 新增 createSealaiClient,内部使用 createAuthClient
- easo.ts/piper.ts 改用 createAuthClient,token 交换失败抛 AuthenticationError
- server.ts 使用 createEkbClient / createSealaiClient / getEasoClient
2026-07-17 17:25:02 +08:00