ywkj
bace10775b
refactor: remove embedded python_auth_runtime, use shared auth-runtime-py
...
register-skill-release / register (push) Failing after 13s
Details
Eliminates the third copy of auth logic. Dependency now points to the
shared auth-runtime-py package. Removes AUTH_RUNTIME.md and CLIENT_KEY
from .env.example.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 08:31:55 +08:00
ivanberry
585cc659b8
feat: improve run.sh with sync/add commands + fix auth-runtime pkg name
2026-03-17 07:28:57 +08:00
ivanberry
8a2123f605
Revert "feat: add uv support with run.sh wrapper script"
...
This reverts commit 2b5c0c61d6 .
2026-03-16 21:37:19 +08:00
ivanberry
2b5c0c61d6
feat: add uv support with run.sh wrapper script
2026-03-16 21:36:44 +08:00
ivanberry
98ca8a3965
refactor: 将 auth runtime 重构为可复用 Python 包
...
模式参考 ~/clawd/skills/_shared/auth-runtime (TypeScript):
- 创建 python_auth_runtime/ 作为独立 Python 包
- 其他 skill 可以通过 uv pip install 引用
- 支持三种使用方式:
1. 本地包安装:uv pip install /path/to/python_auth_runtime
2. 文件依赖:pyproject.toml 中引用
3. 复制源码:直接复制 src/python_auth_runtime
包结构:
python_auth_runtime/
├── pyproject.toml # 包配置
├── README.md # 使用文档
└── src/python_auth_runtime/
└── __init__.py # 核心实现
功能:
- CLIENT_KEY 认证
- 令牌缓存(可配置 TTL)
- 自动刷新过期令牌
- 401/403 自动重试
- 从环境变量加载配置
2026-03-11 20:26:29 +08:00
ivanberry
2ffda7c788
feat: 配置 uv 中国镜像,更新 Gemini Deep Research API
...
- 添加 pyproject.toml 配置清华大学 PyPI 镜像
- 更新 translate_excel.py 使用 google.genai 新 API
- 更新 requirements.txt 版本要求
- 添加中国镜像配置说明
2026-03-11 15:37:32 +08:00