|
|
04cdf964af
|
fix(deps): 声明 httpx[http2] / h2,修复干净环境缺包启动失败
utils/api_client.py 用 httpx.AsyncClient(http2=True) 发请求,需要 h2 包。
旧 requirements 只写了 httpx,未声明 http2 extra;开发机碰巧已装 h2 所以
未暴露,干净 release 环境启动即报错:
Using http2=True, but the 'h2' package is not installed.
- requirements.txt: httpx -> httpx[http2]
- requirements.lock.txt: httpx[http2]==0.28.1,并显式锁 h2==4.1.0
- scripts/gen_requirements_lock.py: 升级为可解析 extras,自动锁定 extra
引入的传递依赖(如 httpx[http2] -> h2),避免以后重生 lock 丢失 h2;
通用于任意 extra
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-01 17:49:00 +08:00 |
|
|
|
1d3703b0e5
|
build(deps): 固化 Python 依赖版本,新增 lock 与生成脚本
为便携 release 打包与可复现安装做准备(P3 依赖固化)。
- 新增 requirements.lock.txt:锁定 9 个运行时直接依赖的精确版本
- requirements.txt 顶部加注释,说明与 lock 文件的分工(宽松 vs 精确)
- 新增 scripts/gen_requirements_lock.py:从已验证环境一键重生 lock,
避免手工对照版本出错
调查结论(已核实):
- 项目源码真实第三方依赖与 requirements.txt 完全一致,无遗漏
- tiktoken 已不再使用(token 统计改用 API usage 字段),无需纳入
- 三个 node 项目的 package-lock.json 均已存在并被 git 追踪,npm ci
可直接用,node 端无需改动
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-01 17:10:28 +08:00 |
|
|
|
5ab3acef9c
|
feat: 添加 terminal-guide 和 sub-agent-guide skills
- 新增 terminal-guide skill: 持久化终端使用指南
- 新增 sub-agent-guide skill: 子智能体使用指南
- 优化终端工具定义和执行逻辑
- 更新系统提示词以引用新 skills
- 添加 utils/__init__.py 模块初始化文件
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-03-16 21:17:02 +08:00 |
|
|
|
dc6d998afb
|
fix: reduce prompt time precision
|
2026-02-25 17:56:05 +08:00 |
|