Commit Graph
4 Commits
Author SHA1 Message Date
gitea 4faba77234 重构第1批:新增统一异常体系,扩展 schemas,添加 fastapi/uvicorn 依赖
- 新增 errors.py:EkbError 基类 + 6 个子类(NotLoggedIn/Authentication/
  NotFound/Conflict/Input/ApiResponse),供所有层统一使用
- schemas.py:追加 Server 请求/响应模型(ApiResult / Corp* / Agent*Request /
  Rule*Request),与快报 API 模型分区维护
- pyproject.toml:新增 fastapi>=0.115.0、uvicorn[standard]>=0.34.0
2026-04-14 11:03:27 +08:00
gitea c0419666ae 新增:ekb agent delete 命令,支持方向键选择确认和 AI 友好文字模式 2026-04-08 00:41:24 +08:00
gitea 4466af7726 重构:api层拆分 agent/rule,引入 Pydantic 校验,统一 re-export,补充 README.api.md 2026-04-08 00:30:00 +08:00
gitea b4a0698b13 feat: 初始化 ekb-cli 项目骨架
- uv 管理 Python 环境,typer + httpx + rich 技术栈
- config 模块:多企业认证信息存储到 ~/.config/ekb-cli/config.json
- api 模块:EkbClient 封装 HTTP 请求,自动附带 cookie 和 corpId
- auth 命令:add / list / use / remove / whoami
- agent 命令:list 骨架(待根据 API 响应完善)
2026-04-05 23:59:18 +08:00