ywkj
b29037526b
feat: install.sh 自动下载安装 auth-rt(无需手动 clone)
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 18:36:47 +08:00
ywkj
ece7db4cf2
chore: auth-rt 默认路径改为 ~/.local/bin/
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 18:35:37 +08:00
ywkj
2f4f8d4030
fix: auth-cli.ts 修复 HOME 路径解析 + shell wrapper 兼容
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 18:31:06 +08:00
ywkj
47d3711f43
refactor: auth-cli.ts 改用 auth-rt 二进制
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 18:26:29 +08:00
ywkj
2beb7e1051
refactor: 移除 @clawd/auth-runtime npm 依赖,改用 CLI subprocess 调用
...
通过内置 auth-cli.ts 薄 wrapper 调用 auth-runtime CLI,
消除 npm git 依赖带来的缓存和更新问题。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 14:38:05 +08:00
ywkj
dfbd601307
fix: add install.sh to always fetch latest git deps
...
register-skill-release / register (push) Successful in 14s
Details
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 06:56:31 +08:00
ywkj
f7d6cb125c
chore: pin @clawd/auth-runtime to v1.1.0
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 06:49:08 +08:00
ywkj
3bf26335a6
chore: clean CLIENT_KEY references from SKILL.md and .env.example
...
Auth is handled automatically by auth-runtime — no need to expose
CLIENT_KEY in skill-level documentation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 08:31:57 +08:00
ywkj
06c5c302e9
refactor: simplify index.ts — use ctx object instead of 8-param helpers
...
Replace createFailedResult/createSuccessResult (8+ params each) with
a single result() builder + ctx spread. Default country to 'US'.
-117 lines, same output_schema.json contract.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 07:16:46 +08:00
ywkj
e7d9e972d4
refactor: use SkillClient, remove manual auth handling
...
Replace createEnvConfig/getAccessToken/requestApiWithAutoRefresh
with createSkillClient(). workflow.ts now takes a SkillClient
instead of config+token. Remove EnvConfig extension from types.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 08:25:09 +08:00
ivanberry
56d3051253
ci: use shared-actions/register-skill composite action
register-skill-release / register (push) Successful in 13s
Details
2026-03-12 21:58:58 +08:00
ivanberry
5500962417
fix: hardcode API base for Forgejo publish
2026-03-12 09:36:11 +08:00
ivanberry
c93c6d57b7
fix: default skill doc path in load step
2026-03-12 08:23:08 +08:00
ivanberry
de691cbf79
docs: remove CLIENT_KEY/env.local — auth handled by auth-runtime
2026-03-12 08:20:45 +08:00
ivanberry
c5620be08b
fix: simplify Forgejo publish workflow syntax
2026-03-12 08:14:01 +08:00
ivanberry
9164524c97
fix: trigger skill publish on tag push
2026-03-12 08:11:46 +08:00
ivanberry
7f8813425a
fix: use docker runner for Forgejo actions
2026-03-12 08:01:39 +08:00
ivanberry
222cd0fcde
feat: initial commit
2026-03-12 07:36:43 +08:00