@cjhyy/code-shell-link 0.9.29 → 0.9.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/catalog.js CHANGED
@@ -69,7 +69,7 @@ export const LINK_PROVIDER_MANIFESTS = [
69
69
  kind: "cli-session",
70
70
  command: "gh",
71
71
  displayName: text("使用 GitHub CLI 登录", "Sign in with GitHub CLI"),
72
- summary: text("复用本机 GitHub CLI 会话,不复制或保存 Token。CLI Actions 只读;创建 Issue 和设置 Star 请明确连接 PAT、浏览器 OAuth 或远程 Link。", "Reuse this device’s GitHub CLI session without copying or storing its token. CLI Actions are read-only; explicitly connect PAT, browser OAuth or remote Link for issue creation and Star changes."),
72
+ summary: text("复用本机 GitHub CLI 会话,不复制或保存 Token。CLI Actions 只读;创建、关闭或重开 Issue 和设置 Star 请明确连接 PAT、浏览器 OAuth 或远程 Link。", "Reuse this device’s GitHub CLI session without copying or storing its token. CLI Actions are read-only; explicitly connect PAT, browser OAuth or remote Link for issue creation/state and Star changes."),
73
73
  installUrl: "https://cli.github.com/",
74
74
  privacyNote: text("Link 仅保存一条本地绑定记录;每次 Action 都由 gh 执行。断开 Link 不会退出 gh。", "Link stores only a local binding; every Action runs through gh. Disconnecting Link does not sign gh out."),
75
75
  },
@@ -88,6 +88,7 @@ export const LINK_PROVIDER_MANIFESTS = [
88
88
  "list_pull_requests",
89
89
  "get_pull_request",
90
90
  "create_issue",
91
+ "update_issue",
91
92
  ],
92
93
  },
93
94
  {
@@ -114,6 +114,14 @@ export interface MaskedLinkConnection {
114
114
  id?: string;
115
115
  label?: string;
116
116
  resources: string[];
117
+ /** Exact Host-selected resource references; display labels are never authorization IDs. */
118
+ resourceGroups?: Array<{
119
+ id: string;
120
+ items: Array<{
121
+ id: string;
122
+ label: string;
123
+ }>;
124
+ }>;
117
125
  };
118
126
  capabilityIds: string[];
119
127
  verifiedAt?: string;
@@ -148,6 +156,8 @@ export interface LinkConnectionInput {
148
156
  label: string;
149
157
  connectionId?: string;
150
158
  expectedRevision: string | null;
159
+ /** User-pasted Figma file URL/key. Existing files are recovered by the Host, never this input. */
160
+ resourceUrl?: string;
151
161
  }
152
162
  export interface TokenConnectionInput extends LinkConnectionInput {
153
163
  token: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cjhyy/code-shell-link",
3
- "version": "0.9.29",
3
+ "version": "0.9.31",
4
4
  "description": "Framework-independent provider manifests and authorization guides for CodeShell Link.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",