Commit Graph
20 Commits
Author SHA1 Message Date
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 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 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 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 7cfb68e434 feat: migrate legacy hose configuration paths 2026-09-11 17:24:08 +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 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 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 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 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 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 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