Commit Graph

4 Commits

Author SHA1 Message Date
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 09552407b5 docs: 更新 .env.example 添加 GEMINI_MODEL 配置说明 2026-03-16 21:36:44 +08:00
ivanberry 2eff4a6033 feat: 添加 OpenClaw Auth Runtime Python 实现
基于 ~/clawd/skills/_shared/auth-runtime 的 TypeScript 实现:
- auth_runtime.py: 核心认证运行时
  - CLIENT_KEY 认证
  - 令牌缓存(可配置 TTL)
  - 自动刷新过期令牌
  - 401/403 自动重试
- test_auth.py: 测试脚本
- 更新 .env.example 添加 CLIENT_KEY 配置
- 更新 requirements.txt 添加 requests 依赖
- AUTH_RUNTIME.md: 完整使用文档
2026-03-11 20:21:05 +08:00
ivanberry e5e2ce9671 feat: 添加 .env 环境变量支持
- 创建 .env.example 模板文件
- 添加 load_env.py 自动加载 .env 文件
- 更新 .gitignore 忽略 .env 文件
- 更新 README.md 添加配置说明
- translate_excel.py 自动加载 .env 文件
2026-03-11 20:06:47 +08:00