@coda-console/plugin-check 0.7.5 → 0.8.0
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/README.md +5 -3
- package/check/coda/application/contributions.mjs +9 -0
- package/check/coda/builtin.json +192 -192
- package/check/coda/components/composers/contributions.mjs +31 -0
- package/check/coda/components/plugins/contribution-points.mjs +25 -0
- package/check/coda/components/plugins/git-contributions.mjs +15 -0
- package/check/coda/components/plugins/model-contributions.mjs +9 -0
- package/check/coda/components/plugins/plugin-icons.mjs +15 -0
- package/check/coda/components/plugins/plugin-rules.mjs +25 -60
- package/check/coda/components/plugins/plugin-source-rules.mjs +23 -29
- package/check/coda/components/protocols/types.mjs +1 -7
- package/check/coda/components/session-config/contributions.mjs +55 -0
- package/check/coda/components/workflows/contributions.mjs +17 -0
- package/check/coda/contract.json +14 -8
- package/check/manifest.mjs +3 -1
- package/package.json +2 -2
- package/check/coda/components/plugins/agent-plugins.mjs +0 -45
- package/check/coda/domain/resource-kinds.mjs +0 -4
package/check/coda/builtin.json
CHANGED
|
@@ -17,20 +17,20 @@
|
|
|
17
17
|
"title": "批准执行",
|
|
18
18
|
"properties": {},
|
|
19
19
|
"workflows": [],
|
|
20
|
+
"services": [],
|
|
21
|
+
"agents": [],
|
|
22
|
+
"instructions": "权限受阻时,先走原生权限升级或审批(如 Codex 的 require_escalated)。原生机制不可用、仍受权限阻拦或需用户明确授权时,才调用 workflow_run,workflow 为 approve-command,inputs 给 command、cwd(绝对路径)、reason(一行)。用户批准后由 Coda 执行,结果随调用或稍后送达;用户明确拒绝后不换方式重试。",
|
|
23
|
+
"commands": [],
|
|
20
24
|
"capabilities": [
|
|
21
25
|
"approve-command"
|
|
22
26
|
],
|
|
23
|
-
"services": [],
|
|
24
27
|
"groups": [],
|
|
25
|
-
"commands": [],
|
|
26
28
|
"gitCredentials": [],
|
|
27
29
|
"endpoints": [],
|
|
28
30
|
"views": [],
|
|
29
|
-
"agents": [],
|
|
30
31
|
"dependencies": [],
|
|
31
32
|
"extensionPoints": {},
|
|
32
|
-
"extensions": []
|
|
33
|
-
"instructions": "权限受阻时,先走原生权限升级或审批(如 Codex 的 require_escalated)。原生机制不可用、仍受权限阻拦或需用户明确授权时,才调用 workflow_run,workflow 为 approve-command,inputs 给 command、cwd(绝对路径)、reason(一行)。用户批准后由 Coda 执行,结果随调用或稍后送达;用户明确拒绝后不换方式重试。"
|
|
33
|
+
"extensions": []
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"id": "ask-user",
|
|
@@ -50,20 +50,20 @@
|
|
|
50
50
|
"title": "提问",
|
|
51
51
|
"properties": {},
|
|
52
52
|
"workflows": [],
|
|
53
|
+
"services": [],
|
|
54
|
+
"agents": [],
|
|
55
|
+
"instructions": "要用户补充信息或拿主意才能做下去时,有原生提问工具(如 AskUserQuestion)就用它;没有就调用 workflow_run,workflow 为 ask-user,inputs 给 question(一行)、detail(背景与要补充什么,可省略)。不要结束这一轮在回复里问;答复随调用或稍后送达。",
|
|
56
|
+
"commands": [],
|
|
53
57
|
"capabilities": [
|
|
54
58
|
"ask-user"
|
|
55
59
|
],
|
|
56
|
-
"services": [],
|
|
57
60
|
"groups": [],
|
|
58
|
-
"commands": [],
|
|
59
61
|
"gitCredentials": [],
|
|
60
62
|
"endpoints": [],
|
|
61
63
|
"views": [],
|
|
62
|
-
"agents": [],
|
|
63
64
|
"dependencies": [],
|
|
64
65
|
"extensionPoints": {},
|
|
65
|
-
"extensions": []
|
|
66
|
-
"instructions": "要用户补充信息或拿主意才能做下去时,有原生提问工具(如 AskUserQuestion)就用它;没有就调用 workflow_run,workflow 为 ask-user,inputs 给 question(一行)、detail(背景与要补充什么,可省略)。不要结束这一轮在回复里问;答复随调用或稍后送达。"
|
|
66
|
+
"extensions": []
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"id": "changes",
|
|
@@ -84,10 +84,11 @@
|
|
|
84
84
|
"properties": {},
|
|
85
85
|
"main": "main.mjs",
|
|
86
86
|
"workflows": [],
|
|
87
|
-
"capabilities": [],
|
|
88
87
|
"services": [],
|
|
89
|
-
"
|
|
88
|
+
"agents": [],
|
|
90
89
|
"commands": [],
|
|
90
|
+
"capabilities": [],
|
|
91
|
+
"groups": [],
|
|
91
92
|
"gitCredentials": [],
|
|
92
93
|
"endpoints": [],
|
|
93
94
|
"views": [
|
|
@@ -104,7 +105,6 @@
|
|
|
104
105
|
"frame": "document"
|
|
105
106
|
}
|
|
106
107
|
],
|
|
107
|
-
"agents": [],
|
|
108
108
|
"dependencies": [],
|
|
109
109
|
"extensionPoints": {},
|
|
110
110
|
"extensions": []
|
|
@@ -143,10 +143,20 @@
|
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
145
|
"workflows": [],
|
|
146
|
-
"capabilities": [],
|
|
147
146
|
"services": [],
|
|
148
|
-
"
|
|
147
|
+
"agents": [],
|
|
149
148
|
"commands": [],
|
|
149
|
+
"capabilities": [],
|
|
150
|
+
"groups": [],
|
|
151
|
+
"modelProviders": [
|
|
152
|
+
{
|
|
153
|
+
"id": "cliproxy",
|
|
154
|
+
"title": "CLIProxy",
|
|
155
|
+
"api": "openai-completions",
|
|
156
|
+
"url": "${config:cliproxy.url}",
|
|
157
|
+
"key": "cliproxy.key"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
150
160
|
"gitCredentials": [],
|
|
151
161
|
"endpoints": [],
|
|
152
162
|
"views": [],
|
|
@@ -160,19 +170,9 @@
|
|
|
160
170
|
}
|
|
161
171
|
]
|
|
162
172
|
},
|
|
163
|
-
"agents": [],
|
|
164
173
|
"dependencies": [],
|
|
165
174
|
"extensionPoints": {},
|
|
166
|
-
"extensions": []
|
|
167
|
-
"modelProviders": [
|
|
168
|
-
{
|
|
169
|
-
"id": "cliproxy",
|
|
170
|
-
"title": "CLIProxy",
|
|
171
|
-
"api": "openai-completions",
|
|
172
|
-
"url": "${config:cliproxy.url}",
|
|
173
|
-
"key": "cliproxy.key"
|
|
174
|
-
}
|
|
175
|
-
]
|
|
175
|
+
"extensions": []
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
"id": "diagnostics",
|
|
@@ -192,19 +192,9 @@
|
|
|
192
192
|
"title": "机器诊断",
|
|
193
193
|
"properties": {},
|
|
194
194
|
"workflows": [],
|
|
195
|
-
"capabilities": [],
|
|
196
195
|
"services": [],
|
|
197
|
-
"groups": [],
|
|
198
|
-
"commands": [],
|
|
199
|
-
"gitCredentials": [],
|
|
200
|
-
"endpoints": [],
|
|
201
|
-
"views": [],
|
|
202
196
|
"agents": [],
|
|
203
|
-
"
|
|
204
|
-
"space"
|
|
205
|
-
],
|
|
206
|
-
"extensionPoints": {},
|
|
207
|
-
"extensions": [],
|
|
197
|
+
"commands": [],
|
|
208
198
|
"mcpServers": [
|
|
209
199
|
{
|
|
210
200
|
"name": "diagnostics",
|
|
@@ -216,7 +206,17 @@
|
|
|
216
206
|
],
|
|
217
207
|
"env": []
|
|
218
208
|
}
|
|
219
|
-
]
|
|
209
|
+
],
|
|
210
|
+
"capabilities": [],
|
|
211
|
+
"groups": [],
|
|
212
|
+
"gitCredentials": [],
|
|
213
|
+
"endpoints": [],
|
|
214
|
+
"views": [],
|
|
215
|
+
"dependencies": [
|
|
216
|
+
"space"
|
|
217
|
+
],
|
|
218
|
+
"extensionPoints": {},
|
|
219
|
+
"extensions": []
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
222
|
"id": "github",
|
|
@@ -245,9 +245,9 @@
|
|
|
245
245
|
"workflows": [
|
|
246
246
|
"pull-request-watch"
|
|
247
247
|
],
|
|
248
|
-
"capabilities": [],
|
|
249
248
|
"services": [],
|
|
250
|
-
"
|
|
249
|
+
"agents": [],
|
|
250
|
+
"instructions": "GitHub 仓库用 HTTPS 地址(https://github.com/<owner>/<repo>.git),不要改成 SSH 别名。用哪个账号、提交署什么名,由 Coda 按仓库的 owner 决定:不要自己设 user.name、user.email 或 GH_CONFIG_DIR。",
|
|
251
251
|
"commands": [
|
|
252
252
|
{
|
|
253
253
|
"name": "gh",
|
|
@@ -262,6 +262,8 @@
|
|
|
262
262
|
"command": "exec \"$CODA_NODE\" \"$CODA_PLUGIN_PATH/scripts/reported-pr.mjs\""
|
|
263
263
|
}
|
|
264
264
|
],
|
|
265
|
+
"capabilities": [],
|
|
266
|
+
"groups": [],
|
|
265
267
|
"events": [
|
|
266
268
|
{
|
|
267
269
|
"name": "github.pull_request_reported",
|
|
@@ -303,6 +305,9 @@
|
|
|
303
305
|
"command": "exec \"$CODA_NODE\" \"$CODA_PLUGIN_PATH/scripts/credential.mjs\""
|
|
304
306
|
}
|
|
305
307
|
],
|
|
308
|
+
"repositories": {
|
|
309
|
+
"command": "exec \"$CODA_NODE\" \"$CODA_PLUGIN_PATH/scripts/repositories.mjs\""
|
|
310
|
+
},
|
|
306
311
|
"endpoints": [
|
|
307
312
|
{
|
|
308
313
|
"id": "accounts",
|
|
@@ -338,26 +343,21 @@
|
|
|
338
343
|
}
|
|
339
344
|
]
|
|
340
345
|
},
|
|
341
|
-
"agents": [],
|
|
342
346
|
"dependencies": [],
|
|
343
347
|
"extensionPoints": {},
|
|
344
348
|
"extensions": [],
|
|
345
|
-
"instructions": "GitHub 仓库用 HTTPS 地址(https://github.com/<owner>/<repo>.git),不要改成 SSH 别名。用哪个账号、提交署什么名,由 Coda 按仓库的 owner 决定:不要自己设 user.name、user.email 或 GH_CONFIG_DIR。",
|
|
346
349
|
"environment": [
|
|
347
350
|
{
|
|
348
351
|
"name": "GIT_CONFIG_PARAMETERS",
|
|
349
352
|
"value": "'include.path=${CODA_PLUGIN_STATE}/git/config'"
|
|
350
353
|
}
|
|
351
|
-
]
|
|
352
|
-
"repositories": {
|
|
353
|
-
"command": "exec \"$CODA_NODE\" \"$CODA_PLUGIN_PATH/scripts/repositories.mjs\""
|
|
354
|
-
}
|
|
354
|
+
]
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
357
|
"id": "guide",
|
|
358
358
|
"displayName": "Coda 使用指南",
|
|
359
359
|
"description": "让 Agent 会回答 Coda 怎么用",
|
|
360
|
-
"version": "1.0.
|
|
360
|
+
"version": "1.0.6",
|
|
361
361
|
"category": "工作流程",
|
|
362
362
|
"icon": {
|
|
363
363
|
"symbol": "book.fill",
|
|
@@ -371,24 +371,24 @@
|
|
|
371
371
|
"title": "Coda 使用指南",
|
|
372
372
|
"properties": {},
|
|
373
373
|
"workflows": [],
|
|
374
|
-
"capabilities": [],
|
|
375
374
|
"services": [],
|
|
376
|
-
"groups": [],
|
|
377
|
-
"commands": [],
|
|
378
|
-
"gitCredentials": [],
|
|
379
|
-
"endpoints": [],
|
|
380
|
-
"views": [],
|
|
381
375
|
"agents": [],
|
|
382
|
-
"dependencies": [],
|
|
383
|
-
"extensionPoints": {},
|
|
384
|
-
"extensions": [],
|
|
385
376
|
"skills": [
|
|
386
377
|
{
|
|
387
378
|
"name": "coda",
|
|
388
379
|
"path": "src/resources/plugins/guide/skills/coda",
|
|
389
380
|
"description": "Coda 的使用指南:Coda 是什么、连接、目录、会话、卡片、流程、插件、空间各是什么、怎么配合。用户问 Coda 怎么用、某个界面、菜单、状态或标记是什么意思时,先读这里再回答。"
|
|
390
381
|
}
|
|
391
|
-
]
|
|
382
|
+
],
|
|
383
|
+
"commands": [],
|
|
384
|
+
"capabilities": [],
|
|
385
|
+
"groups": [],
|
|
386
|
+
"gitCredentials": [],
|
|
387
|
+
"endpoints": [],
|
|
388
|
+
"views": [],
|
|
389
|
+
"dependencies": [],
|
|
390
|
+
"extensionPoints": {},
|
|
391
|
+
"extensions": []
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
394
|
"id": "maintenance",
|
|
@@ -451,14 +451,14 @@
|
|
|
451
451
|
"clean-uploads",
|
|
452
452
|
"maintenance"
|
|
453
453
|
],
|
|
454
|
-
"capabilities": [],
|
|
455
454
|
"services": [],
|
|
456
|
-
"
|
|
455
|
+
"agents": [],
|
|
457
456
|
"commands": [],
|
|
457
|
+
"capabilities": [],
|
|
458
|
+
"groups": [],
|
|
458
459
|
"gitCredentials": [],
|
|
459
460
|
"endpoints": [],
|
|
460
461
|
"views": [],
|
|
461
|
-
"agents": [],
|
|
462
462
|
"dependencies": [],
|
|
463
463
|
"extensionPoints": {},
|
|
464
464
|
"extensions": []
|
|
@@ -482,10 +482,11 @@
|
|
|
482
482
|
"properties": {},
|
|
483
483
|
"main": "main.mjs",
|
|
484
484
|
"workflows": [],
|
|
485
|
-
"capabilities": [],
|
|
486
485
|
"services": [],
|
|
487
|
-
"
|
|
486
|
+
"agents": [],
|
|
488
487
|
"commands": [],
|
|
488
|
+
"capabilities": [],
|
|
489
|
+
"groups": [],
|
|
489
490
|
"gitCredentials": [],
|
|
490
491
|
"endpoints": [],
|
|
491
492
|
"views": [
|
|
@@ -501,7 +502,6 @@
|
|
|
501
502
|
"frame": "document"
|
|
502
503
|
}
|
|
503
504
|
],
|
|
504
|
-
"agents": [],
|
|
505
505
|
"dependencies": [],
|
|
506
506
|
"extensionPoints": {
|
|
507
507
|
"resources": {
|
|
@@ -764,21 +764,21 @@
|
|
|
764
764
|
"title": "密钥",
|
|
765
765
|
"properties": {},
|
|
766
766
|
"workflows": [],
|
|
767
|
+
"services": [],
|
|
768
|
+
"agents": [],
|
|
769
|
+
"instructions": "凭据用 workflow_run 调 secret-request(name、purpose、fields JSON、网页加 host),勿贴对话或读密文。网页用 secret-fill(path、field);Mac 验证用 secret-fill(target=system、purpose),密码在本会话内存复用。submitted 后核对原操作;管理员、钥匙串、Touch ID 由本人处理。",
|
|
770
|
+
"commands": [],
|
|
767
771
|
"capabilities": [
|
|
768
772
|
"secret-fill",
|
|
769
773
|
"secret-request"
|
|
770
774
|
],
|
|
771
|
-
"services": [],
|
|
772
775
|
"groups": [],
|
|
773
|
-
"commands": [],
|
|
774
776
|
"gitCredentials": [],
|
|
775
777
|
"endpoints": [],
|
|
776
778
|
"views": [],
|
|
777
|
-
"agents": [],
|
|
778
779
|
"dependencies": [],
|
|
779
780
|
"extensionPoints": {},
|
|
780
|
-
"extensions": []
|
|
781
|
-
"instructions": "凭据用 workflow_run 调 secret-request(name、purpose、fields JSON、网页加 host),勿贴对话或读密文。网页用 secret-fill(path、field);Mac 验证用 secret-fill(target=system、purpose),密码在本会话内存复用。submitted 后核对原操作;管理员、钥匙串、Touch ID 由本人处理。"
|
|
781
|
+
"extensions": []
|
|
782
782
|
},
|
|
783
783
|
{
|
|
784
784
|
"id": "session",
|
|
@@ -833,19 +833,19 @@
|
|
|
833
833
|
"workflows": [
|
|
834
834
|
"session"
|
|
835
835
|
],
|
|
836
|
-
"capabilities": [],
|
|
837
836
|
"services": [],
|
|
837
|
+
"agents": [],
|
|
838
|
+
"commands": [],
|
|
839
|
+
"capabilities": [],
|
|
838
840
|
"groups": [
|
|
839
841
|
{
|
|
840
842
|
"name": "subagents",
|
|
841
843
|
"capacity": "session.subagents"
|
|
842
844
|
}
|
|
843
845
|
],
|
|
844
|
-
"commands": [],
|
|
845
846
|
"gitCredentials": [],
|
|
846
847
|
"endpoints": [],
|
|
847
848
|
"views": [],
|
|
848
|
-
"agents": [],
|
|
849
849
|
"dependencies": [],
|
|
850
850
|
"extensionPoints": {},
|
|
851
851
|
"extensions": []
|
|
@@ -868,16 +868,16 @@
|
|
|
868
868
|
"title": "空间",
|
|
869
869
|
"properties": {},
|
|
870
870
|
"workflows": [],
|
|
871
|
-
"capabilities": [],
|
|
872
871
|
"services": [
|
|
873
872
|
"space"
|
|
874
873
|
],
|
|
875
|
-
"
|
|
874
|
+
"agents": [],
|
|
876
875
|
"commands": [],
|
|
876
|
+
"capabilities": [],
|
|
877
|
+
"groups": [],
|
|
877
878
|
"gitCredentials": [],
|
|
878
879
|
"endpoints": [],
|
|
879
880
|
"views": [],
|
|
880
|
-
"agents": [],
|
|
881
881
|
"dependencies": [
|
|
882
882
|
"tailnet"
|
|
883
883
|
],
|
|
@@ -902,21 +902,21 @@
|
|
|
902
902
|
"title": "网络",
|
|
903
903
|
"properties": {},
|
|
904
904
|
"workflows": [],
|
|
905
|
-
"capabilities": [],
|
|
906
905
|
"services": [
|
|
907
906
|
"tailnet"
|
|
908
907
|
],
|
|
909
|
-
"
|
|
908
|
+
"agents": [],
|
|
910
909
|
"commands": [
|
|
911
910
|
{
|
|
912
911
|
"name": "coda-relay",
|
|
913
912
|
"command": "\"$CODA_NODE\" \"$CODA_PLUGIN_PATH/scripts/relay.mjs\""
|
|
914
913
|
}
|
|
915
914
|
],
|
|
915
|
+
"capabilities": [],
|
|
916
|
+
"groups": [],
|
|
916
917
|
"gitCredentials": [],
|
|
917
918
|
"endpoints": [],
|
|
918
919
|
"views": [],
|
|
919
|
-
"agents": [],
|
|
920
920
|
"dependencies": [],
|
|
921
921
|
"extensionPoints": {
|
|
922
922
|
"ports": {
|
|
@@ -944,10 +944,11 @@
|
|
|
944
944
|
"properties": {},
|
|
945
945
|
"main": "main.mjs",
|
|
946
946
|
"workflows": [],
|
|
947
|
-
"capabilities": [],
|
|
948
947
|
"services": [],
|
|
949
|
-
"
|
|
948
|
+
"agents": [],
|
|
950
949
|
"commands": [],
|
|
950
|
+
"capabilities": [],
|
|
951
|
+
"groups": [],
|
|
951
952
|
"gitCredentials": [],
|
|
952
953
|
"endpoints": [],
|
|
953
954
|
"views": [
|
|
@@ -982,7 +983,6 @@
|
|
|
982
983
|
"frame": "canvas"
|
|
983
984
|
}
|
|
984
985
|
],
|
|
985
|
-
"agents": [],
|
|
986
986
|
"dependencies": [],
|
|
987
987
|
"extensionPoints": {},
|
|
988
988
|
"extensions": []
|
|
@@ -1031,28 +1031,7 @@
|
|
|
1031
1031
|
"workflows": [
|
|
1032
1032
|
"claude-compaction"
|
|
1033
1033
|
],
|
|
1034
|
-
"capabilities": [],
|
|
1035
1034
|
"services": [],
|
|
1036
|
-
"groups": [],
|
|
1037
|
-
"commands": [],
|
|
1038
|
-
"gitCredentials": [],
|
|
1039
|
-
"endpoints": [],
|
|
1040
|
-
"views": [],
|
|
1041
|
-
"offers": {
|
|
1042
|
-
"resources": [
|
|
1043
|
-
{
|
|
1044
|
-
"id": "limits",
|
|
1045
|
-
"title": "Claude",
|
|
1046
|
-
"command": "node \"$CODA_PLUGIN_PATH/scripts/resources.mjs\"",
|
|
1047
|
-
"signIn": {
|
|
1048
|
-
"command": "exec node \"$CODA_PLUGIN_PATH/scripts/login.mjs\"",
|
|
1049
|
-
"installed": "node \"$CODA_PLUGIN_PATH/scripts/login.mjs\" --installed",
|
|
1050
|
-
"input": "authorizationCode",
|
|
1051
|
-
"note": "登录保存在这台机器上,供 Claude SDK 使用;额度在会话运行后出现。这台机器若已配置 OAuth token、API key 或云服务商,会话仍优先用那些配置。"
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
]
|
|
1055
|
-
},
|
|
1056
1035
|
"agents": [
|
|
1057
1036
|
{
|
|
1058
1037
|
"id": "claude-sdk",
|
|
@@ -1078,6 +1057,27 @@
|
|
|
1078
1057
|
"setupHint": "请在运行机配置 Claude SDK 认证;若指定了 token 文件,请检查路径和权限。"
|
|
1079
1058
|
}
|
|
1080
1059
|
],
|
|
1060
|
+
"commands": [],
|
|
1061
|
+
"capabilities": [],
|
|
1062
|
+
"groups": [],
|
|
1063
|
+
"gitCredentials": [],
|
|
1064
|
+
"endpoints": [],
|
|
1065
|
+
"views": [],
|
|
1066
|
+
"offers": {
|
|
1067
|
+
"resources": [
|
|
1068
|
+
{
|
|
1069
|
+
"id": "limits",
|
|
1070
|
+
"title": "Claude",
|
|
1071
|
+
"command": "node \"$CODA_PLUGIN_PATH/scripts/resources.mjs\"",
|
|
1072
|
+
"signIn": {
|
|
1073
|
+
"command": "exec node \"$CODA_PLUGIN_PATH/scripts/login.mjs\"",
|
|
1074
|
+
"installed": "node \"$CODA_PLUGIN_PATH/scripts/login.mjs\" --installed",
|
|
1075
|
+
"input": "authorizationCode",
|
|
1076
|
+
"note": "登录保存在这台机器上,供 Claude SDK 使用;额度在会话运行后出现。这台机器若已配置 OAuth token、API key 或云服务商,会话仍优先用那些配置。"
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
]
|
|
1080
|
+
},
|
|
1081
1081
|
"dependencies": [],
|
|
1082
1082
|
"extensionPoints": {},
|
|
1083
1083
|
"extensions": [],
|
|
@@ -1118,33 +1118,7 @@
|
|
|
1118
1118
|
}
|
|
1119
1119
|
},
|
|
1120
1120
|
"workflows": [],
|
|
1121
|
-
"capabilities": [],
|
|
1122
1121
|
"services": [],
|
|
1123
|
-
"groups": [],
|
|
1124
|
-
"commands": [],
|
|
1125
|
-
"gitCredentials": [],
|
|
1126
|
-
"endpoints": [],
|
|
1127
|
-
"views": [],
|
|
1128
|
-
"offers": {
|
|
1129
|
-
"resources": [
|
|
1130
|
-
{
|
|
1131
|
-
"id": "login",
|
|
1132
|
-
"title": "Codex",
|
|
1133
|
-
"command": "node \"$CODA_PLUGIN_PATH/scripts/resources.mjs\"",
|
|
1134
|
-
"maxAge": "PT0S",
|
|
1135
|
-
"actions": {
|
|
1136
|
-
"reset": {
|
|
1137
|
-
"command": "node \"$CODA_PLUGIN_PATH/scripts/reset.mjs\"",
|
|
1138
|
-
"confirm": "使用一次完全重置?\n用最早到期的那一次。成功后消耗 1 次,无法撤销。"
|
|
1139
|
-
}
|
|
1140
|
-
},
|
|
1141
|
-
"signIn": {
|
|
1142
|
-
"command": "NO_COLOR=1 exec node \"$CODA_PLUGIN_PATH/scripts/cli.mjs\" login --device-auth",
|
|
1143
|
-
"note": "接入账号插件后,登录会添加或更新插件管理的账号。"
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
]
|
|
1147
|
-
},
|
|
1148
1122
|
"agents": [
|
|
1149
1123
|
{
|
|
1150
1124
|
"id": "codex",
|
|
@@ -1169,6 +1143,32 @@
|
|
|
1169
1143
|
"setupHint": "请在运行机为后端所属账号完成 Codex 认证。"
|
|
1170
1144
|
}
|
|
1171
1145
|
],
|
|
1146
|
+
"commands": [],
|
|
1147
|
+
"capabilities": [],
|
|
1148
|
+
"groups": [],
|
|
1149
|
+
"gitCredentials": [],
|
|
1150
|
+
"endpoints": [],
|
|
1151
|
+
"views": [],
|
|
1152
|
+
"offers": {
|
|
1153
|
+
"resources": [
|
|
1154
|
+
{
|
|
1155
|
+
"id": "login",
|
|
1156
|
+
"title": "Codex",
|
|
1157
|
+
"command": "node \"$CODA_PLUGIN_PATH/scripts/resources.mjs\"",
|
|
1158
|
+
"maxAge": "PT0S",
|
|
1159
|
+
"actions": {
|
|
1160
|
+
"reset": {
|
|
1161
|
+
"command": "node \"$CODA_PLUGIN_PATH/scripts/reset.mjs\"",
|
|
1162
|
+
"confirm": "使用一次完全重置?\n用最早到期的那一次。成功后消耗 1 次,无法撤销。"
|
|
1163
|
+
}
|
|
1164
|
+
},
|
|
1165
|
+
"signIn": {
|
|
1166
|
+
"command": "NO_COLOR=1 exec node \"$CODA_PLUGIN_PATH/scripts/cli.mjs\" login --device-auth",
|
|
1167
|
+
"note": "接入账号插件后,登录会添加或更新插件管理的账号。"
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
]
|
|
1171
|
+
},
|
|
1172
1172
|
"dependencies": [],
|
|
1173
1173
|
"extensionPoints": {
|
|
1174
1174
|
"account-source": {
|
|
@@ -1202,10 +1202,11 @@
|
|
|
1202
1202
|
"title": "Codex 多账号",
|
|
1203
1203
|
"properties": {},
|
|
1204
1204
|
"workflows": [],
|
|
1205
|
-
"capabilities": [],
|
|
1206
1205
|
"services": [],
|
|
1207
|
-
"
|
|
1206
|
+
"agents": [],
|
|
1208
1207
|
"commands": [],
|
|
1208
|
+
"capabilities": [],
|
|
1209
|
+
"groups": [],
|
|
1209
1210
|
"gitCredentials": [],
|
|
1210
1211
|
"endpoints": [],
|
|
1211
1212
|
"views": [],
|
|
@@ -1236,7 +1237,6 @@
|
|
|
1236
1237
|
}
|
|
1237
1238
|
]
|
|
1238
1239
|
},
|
|
1239
|
-
"agents": [],
|
|
1240
1240
|
"dependencies": [
|
|
1241
1241
|
"codex"
|
|
1242
1242
|
],
|
|
@@ -1311,13 +1311,12 @@
|
|
|
1311
1311
|
"deliver",
|
|
1312
1312
|
"develop"
|
|
1313
1313
|
],
|
|
1314
|
-
"capabilities": [],
|
|
1315
1314
|
"services": [],
|
|
1316
|
-
"
|
|
1315
|
+
"agents": [],
|
|
1317
1316
|
"commands": [],
|
|
1317
|
+
"capabilities": [],
|
|
1318
|
+
"groups": [],
|
|
1318
1319
|
"gitCredentials": [],
|
|
1319
|
-
"endpoints": [],
|
|
1320
|
-
"views": [],
|
|
1321
1320
|
"composerModes": [
|
|
1322
1321
|
{
|
|
1323
1322
|
"id": "handoff",
|
|
@@ -1593,7 +1592,8 @@
|
|
|
1593
1592
|
}
|
|
1594
1593
|
}
|
|
1595
1594
|
],
|
|
1596
|
-
"
|
|
1595
|
+
"endpoints": [],
|
|
1596
|
+
"views": [],
|
|
1597
1597
|
"dependencies": [
|
|
1598
1598
|
"github"
|
|
1599
1599
|
],
|
|
@@ -1625,29 +1625,7 @@
|
|
|
1625
1625
|
"title": "Grok",
|
|
1626
1626
|
"properties": {},
|
|
1627
1627
|
"workflows": [],
|
|
1628
|
-
"capabilities": [],
|
|
1629
1628
|
"services": [],
|
|
1630
|
-
"groups": [],
|
|
1631
|
-
"commands": [],
|
|
1632
|
-
"gitCredentials": [],
|
|
1633
|
-
"endpoints": [],
|
|
1634
|
-
"views": [],
|
|
1635
|
-
"offers": {
|
|
1636
|
-
"resources": [
|
|
1637
|
-
{
|
|
1638
|
-
"id": "account",
|
|
1639
|
-
"title": "Grok",
|
|
1640
|
-
"command": "node \"$CODA_PLUGIN_PATH/scripts/resources.mjs\"",
|
|
1641
|
-
"maxAge": "PT5M",
|
|
1642
|
-
"signIn": {
|
|
1643
|
-
"command": "g=\"$HOME/.grok/bin/grok\"; [ -x \"$g\" ] || g=grok; BROWSER=/usr/bin/true NO_COLOR=1 exec \"$g\" login --device-auth",
|
|
1644
|
-
"installed": "test -x \"$HOME/.grok/bin/grok\" || command -v grok >/dev/null",
|
|
1645
|
-
"install": "SHELL= PATH=\"$HOME/.grok/bin:$PATH\" exec bash -c 'set -o pipefail; curl -fsSL https://x.ai/cli/install.sh | bash'",
|
|
1646
|
-
"note": "登录保存在这台机器的 Grok CLI 里,由它自己续期;可以用 X 账号确认。"
|
|
1647
|
-
}
|
|
1648
|
-
}
|
|
1649
|
-
]
|
|
1650
|
-
},
|
|
1651
1629
|
"agents": [
|
|
1652
1630
|
{
|
|
1653
1631
|
"id": "grok",
|
|
@@ -1671,6 +1649,28 @@
|
|
|
1671
1649
|
"setupHint": "请在「资源」里为运行机添加 Grok。"
|
|
1672
1650
|
}
|
|
1673
1651
|
],
|
|
1652
|
+
"commands": [],
|
|
1653
|
+
"capabilities": [],
|
|
1654
|
+
"groups": [],
|
|
1655
|
+
"gitCredentials": [],
|
|
1656
|
+
"endpoints": [],
|
|
1657
|
+
"views": [],
|
|
1658
|
+
"offers": {
|
|
1659
|
+
"resources": [
|
|
1660
|
+
{
|
|
1661
|
+
"id": "account",
|
|
1662
|
+
"title": "Grok",
|
|
1663
|
+
"command": "node \"$CODA_PLUGIN_PATH/scripts/resources.mjs\"",
|
|
1664
|
+
"maxAge": "PT5M",
|
|
1665
|
+
"signIn": {
|
|
1666
|
+
"command": "g=\"$HOME/.grok/bin/grok\"; [ -x \"$g\" ] || g=grok; BROWSER=/usr/bin/true NO_COLOR=1 exec \"$g\" login --device-auth",
|
|
1667
|
+
"installed": "test -x \"$HOME/.grok/bin/grok\" || command -v grok >/dev/null",
|
|
1668
|
+
"install": "SHELL= PATH=\"$HOME/.grok/bin:$PATH\" exec bash -c 'set -o pipefail; curl -fsSL https://x.ai/cli/install.sh | bash'",
|
|
1669
|
+
"note": "登录保存在这台机器的 Grok CLI 里,由它自己续期;可以用 X 账号确认。"
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
]
|
|
1673
|
+
},
|
|
1674
1674
|
"dependencies": [],
|
|
1675
1675
|
"extensionPoints": {},
|
|
1676
1676
|
"extensions": [],
|
|
@@ -1704,29 +1704,7 @@
|
|
|
1704
1704
|
"title": "Kimi Code",
|
|
1705
1705
|
"properties": {},
|
|
1706
1706
|
"workflows": [],
|
|
1707
|
-
"capabilities": [],
|
|
1708
1707
|
"services": [],
|
|
1709
|
-
"groups": [],
|
|
1710
|
-
"commands": [],
|
|
1711
|
-
"gitCredentials": [],
|
|
1712
|
-
"endpoints": [],
|
|
1713
|
-
"views": [],
|
|
1714
|
-
"offers": {
|
|
1715
|
-
"resources": [
|
|
1716
|
-
{
|
|
1717
|
-
"id": "account",
|
|
1718
|
-
"title": "Kimi",
|
|
1719
|
-
"command": "node \"$CODA_PLUGIN_PATH/scripts/resources.mjs\"",
|
|
1720
|
-
"maxAge": "PT5M",
|
|
1721
|
-
"signIn": {
|
|
1722
|
-
"command": "exec sh \"$CODA_PLUGIN_PATH/scripts/login.sh\"",
|
|
1723
|
-
"installed": "test -x \"$HOME/.kimi-code/bin/kimi\" || command -v kimi >/dev/null",
|
|
1724
|
-
"install": "exec sh \"$CODA_PLUGIN_PATH/scripts/install.sh\"",
|
|
1725
|
-
"note": "登录保存在这台机器的 Kimi CLI 里,由它自己续期。"
|
|
1726
|
-
}
|
|
1727
|
-
}
|
|
1728
|
-
]
|
|
1729
|
-
},
|
|
1730
1708
|
"agents": [
|
|
1731
1709
|
{
|
|
1732
1710
|
"id": "kimi",
|
|
@@ -1750,6 +1728,28 @@
|
|
|
1750
1728
|
"setupHint": "请在「资源」里为运行机添加 Kimi。"
|
|
1751
1729
|
}
|
|
1752
1730
|
],
|
|
1731
|
+
"commands": [],
|
|
1732
|
+
"capabilities": [],
|
|
1733
|
+
"groups": [],
|
|
1734
|
+
"gitCredentials": [],
|
|
1735
|
+
"endpoints": [],
|
|
1736
|
+
"views": [],
|
|
1737
|
+
"offers": {
|
|
1738
|
+
"resources": [
|
|
1739
|
+
{
|
|
1740
|
+
"id": "account",
|
|
1741
|
+
"title": "Kimi",
|
|
1742
|
+
"command": "node \"$CODA_PLUGIN_PATH/scripts/resources.mjs\"",
|
|
1743
|
+
"maxAge": "PT5M",
|
|
1744
|
+
"signIn": {
|
|
1745
|
+
"command": "exec sh \"$CODA_PLUGIN_PATH/scripts/login.sh\"",
|
|
1746
|
+
"installed": "test -x \"$HOME/.kimi-code/bin/kimi\" || command -v kimi >/dev/null",
|
|
1747
|
+
"install": "exec sh \"$CODA_PLUGIN_PATH/scripts/install.sh\"",
|
|
1748
|
+
"note": "登录保存在这台机器的 Kimi CLI 里,由它自己续期。"
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
]
|
|
1752
|
+
},
|
|
1753
1753
|
"dependencies": [],
|
|
1754
1754
|
"extensionPoints": {},
|
|
1755
1755
|
"extensions": [],
|
|
@@ -1796,13 +1796,7 @@
|
|
|
1796
1796
|
}
|
|
1797
1797
|
},
|
|
1798
1798
|
"workflows": [],
|
|
1799
|
-
"capabilities": [],
|
|
1800
1799
|
"services": [],
|
|
1801
|
-
"groups": [],
|
|
1802
|
-
"commands": [],
|
|
1803
|
-
"gitCredentials": [],
|
|
1804
|
-
"endpoints": [],
|
|
1805
|
-
"views": [],
|
|
1806
1800
|
"agents": [
|
|
1807
1801
|
{
|
|
1808
1802
|
"id": "opencode",
|
|
@@ -1830,6 +1824,12 @@
|
|
|
1830
1824
|
"setupHint": "请在运行机安装并登录 OpenCode 2(2.1.4 及以上),确认后端能执行 opencode acp。"
|
|
1831
1825
|
}
|
|
1832
1826
|
],
|
|
1827
|
+
"commands": [],
|
|
1828
|
+
"capabilities": [],
|
|
1829
|
+
"groups": [],
|
|
1830
|
+
"gitCredentials": [],
|
|
1831
|
+
"endpoints": [],
|
|
1832
|
+
"views": [],
|
|
1833
1833
|
"dependencies": [],
|
|
1834
1834
|
"extensionPoints": {},
|
|
1835
1835
|
"extensions": [],
|
|
@@ -2003,20 +2003,20 @@
|
|
|
2003
2003
|
"workflows": [
|
|
2004
2004
|
"pull-request"
|
|
2005
2005
|
],
|
|
2006
|
-
"capabilities": [],
|
|
2007
2006
|
"services": [],
|
|
2008
|
-
"
|
|
2007
|
+
"agents": [],
|
|
2008
|
+
"instructions": "gh pr create 开出即评审;等其他 PR、升锁或发布的开草稿(-R 在 --draft 前),满足后 gh pr ready。只合并进默认分支;合并前验证声明为流程步骤或 GitHub 必需检查。正常结束只更新状态,任务与失败回本会话,不轮询。手动用 workflow_run 发起 pull-request 前用 gh pr view 取得完整地址传 pr;同 PR 复用未结束运行。",
|
|
2009
2009
|
"commands": [],
|
|
2010
|
+
"capabilities": [],
|
|
2011
|
+
"groups": [],
|
|
2010
2012
|
"gitCredentials": [],
|
|
2011
2013
|
"endpoints": [],
|
|
2012
2014
|
"views": [],
|
|
2013
|
-
"agents": [],
|
|
2014
2015
|
"dependencies": [
|
|
2015
2016
|
"github"
|
|
2016
2017
|
],
|
|
2017
2018
|
"extensionPoints": {},
|
|
2018
2019
|
"extensions": [],
|
|
2019
|
-
"instructions": "gh pr create 开出即评审;等其他 PR、升锁或发布的开草稿(-R 在 --draft 前),满足后 gh pr ready。只合并进默认分支;合并前验证声明为流程步骤或 GitHub 必需检查。正常结束只更新状态,任务与失败回本会话,不轮询。手动用 workflow_run 发起 pull-request 前用 gh pr view 取得完整地址传 pr;同 PR 复用未结束运行。",
|
|
2020
2020
|
"defaultInstalled": false
|
|
2021
2021
|
},
|
|
2022
2022
|
{
|
|
@@ -2040,10 +2040,11 @@
|
|
|
2040
2040
|
"title": "机器负载",
|
|
2041
2041
|
"properties": {},
|
|
2042
2042
|
"workflows": [],
|
|
2043
|
-
"capabilities": [],
|
|
2044
2043
|
"services": [],
|
|
2045
|
-
"
|
|
2044
|
+
"agents": [],
|
|
2046
2045
|
"commands": [],
|
|
2046
|
+
"capabilities": [],
|
|
2047
|
+
"groups": [],
|
|
2047
2048
|
"gitCredentials": [],
|
|
2048
2049
|
"endpoints": [],
|
|
2049
2050
|
"views": [],
|
|
@@ -2106,7 +2107,6 @@
|
|
|
2106
2107
|
}
|
|
2107
2108
|
]
|
|
2108
2109
|
},
|
|
2109
|
-
"agents": [],
|
|
2110
2110
|
"dependencies": [],
|
|
2111
2111
|
"extensionPoints": {},
|
|
2112
2112
|
"extensions": [],
|