diff --git a/.tests/cindy-github.test.mjs b/.tests/cindy-github.test.mjs index 6020b98..242aeab 100644 --- a/.tests/cindy-github.test.mjs +++ b/.tests/cindy-github.test.mjs @@ -62,7 +62,7 @@ async function testConnection() { test('manifest pins host GitHub login injection to the GitHub API', () => { const auth = manifest.network?.secrets?.find((secret) => secret.key === 'github_pat'); - assert.equal(manifest.version, '1.2.7'); + assert.equal(manifest.version, '1.2.8'); assert.deepEqual(auth, { key: 'github_pat', label: 'GitHub 登录', diff --git a/cindy-github/ghost.json b/cindy-github/ghost.json index 1541471..1165bc1 100644 --- a/cindy-github/ghost.json +++ b/cindy-github/ghost.json @@ -4,7 +4,7 @@ "name": "GitHub", "description": "内置的 GitHub 服务插件:优先使用本机 GitHub 登录,不可用时回落到备用 Personal Access Token,可读写 GitHub(issue / PR / review / 仓库 / Actions / release / 搜索等 117 个操作,两段式目录)。仅支持 github.com;token 只由主机注入 GitHub API 请求。", "whenToUse": "只管 github.com 域名的仓库/链接(GitLab 实例的找 GitLab)。需要查/建/改 GitHub issue 或 PR,提交/回复 code review,合并 PR,查仓库/分支/commit/文件内容,触发或查看 GitHub Actions,管理 release,搜索代码/仓库/用户,或下载 Actions 产物与日志时找我。宿主优先使用本机 GitHub 登录;若尚未连接,可让 Agent 帮你完成登录,或在插件详情页配置备用 Token。", - "version": "1.2.7", + "version": "1.2.8", "locales": { "en": "locales/en.json", "zh-CN": "locales/zh-CN.json", @@ -26,6 +26,7 @@ "hosts": [ "api.github.com", "objects.githubusercontent.com", + "results-receiver.actions.githubusercontent.com", "*.blob.core.windows.net" ], "secrets": [ diff --git a/cindy-github/locales/en.json b/cindy-github/locales/en.json index f0ab29a..7d9e4a8 100644 --- a/cindy-github/locales/en.json +++ b/cindy-github/locales/en.json @@ -1,7 +1,7 @@ { "name": "GitHub", - "description": "Built-in GitHub service plugin for issues, pull requests, reviews, repositories, Actions, releases, search, and 117 catalogued operations. It supports github.com only, prefers your computer's GitHub login, and falls back to an optional Personal Access Token injected only by the host.", - "whenToUse": "Use for github.com repositories and links; use GitLab for GitLab instances. Handles issues, pull requests, reviews, merges, repositories, Actions, releases, search, and logs. The host prefers your GitHub login; if unavailable, sign in or configure a fallback token in plugin details.", + "description": "Built-in GitHub service plugin. Prefers your GitHub login, falls back to a Personal Access Token. Covers issues, PRs, reviews, repos, Actions, releases, search, and 117 operations. github.com only. Tokens are host-injected into API requests.", + "whenToUse": "Use for github.com repos and links; use GitLab for GitLab instances. Covers issues, PRs, reviews, merges, repos, branches, commits, files, Actions, releases, search, artifacts, and logs. Host uses your GitHub login first; if not connected, ask the agent to sign in or configure a token.", "tools": { "list_tools": { "description": "List this plugin's 117 GitHub operations across issues, pulls, repo, commits, actions, releases, search, users, orgs, events, notifications, gists, git_data, reactions, and meta. With no category, return category names, counts, and descriptions; with a category, return every operation in that category with its description and parameters."