Commit Graph
17 Commits
Author SHA1 Message Date
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 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 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 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 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 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
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