@coda-console/plugin-check 0.5.12 → 0.5.14
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 +1 -1
- package/check/coda/components/plugins/agent-plugins.mjs +1 -1
- package/check/coda/components/plugins/plugin-rules.mjs +2 -2
- package/check/coda/components/session-config/commands.mjs +1 -1
- package/check/coda/contract.json +7 -34
- package/check/coda/domain/agent-protocol.mjs +1 -1
- package/check/manifest.mjs +3 -4
- package/package.json +2 -1
- package/check/coda/components/plugins/plugin-schema.mjs +0 -177
- package/check/coda/components/plugins/schemas/agents.json +0 -50
- package/check/coda/components/plugins/schemas/capabilities.json +0 -16
- package/check/coda/components/plugins/schemas/commands.json +0 -21
- package/check/coda/components/plugins/schemas/common.json +0 -25
- package/check/coda/components/plugins/schemas/composer-modes.json +0 -79
- package/check/coda/components/plugins/schemas/configuration.json +0 -23
- package/check/coda/components/plugins/schemas/endpoints.json +0 -19
- package/check/coda/components/plugins/schemas/environment.json +0 -22
- package/check/coda/components/plugins/schemas/events.json +0 -23
- package/check/coda/components/plugins/schemas/executors.json +0 -26
- package/check/coda/components/plugins/schemas/extension-points.json +0 -57
- package/check/coda/components/plugins/schemas/extensions.json +0 -13
- package/check/coda/components/plugins/schemas/git-credentials.json +0 -17
- package/check/coda/components/plugins/schemas/groups.json +0 -21
- package/check/coda/components/plugins/schemas/instructions.json +0 -9
- package/check/coda/components/plugins/schemas/mcp-servers.json +0 -29
- package/check/coda/components/plugins/schemas/model-providers.json +0 -39
- package/check/coda/components/plugins/schemas/path.json +0 -16
- package/check/coda/components/plugins/schemas/plugin.json +0 -46
- package/check/coda/components/plugins/schemas/repositories.json +0 -7
- package/check/coda/components/plugins/schemas/services.json +0 -9
- package/check/coda/components/plugins/schemas/setting.json +0 -242
- package/check/coda/components/plugins/schemas/setup.json +0 -7
- package/check/coda/components/plugins/schemas/skills.json +0 -15
- package/check/coda/components/plugins/schemas/views.json +0 -30
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://coda.pub/schemas/plugin/v1/views.json",
|
|
4
|
-
"title": "contributes.views:客户端为插件打开的页面",
|
|
5
|
-
"description": "插件目录里的 HTML,客户端在沙箱里开:在哪常驻(side 会话旁、page 一页),图标,接管打开的引用种类(handles,像 VS Code 的自定义编辑器),读数(readout)与只给哪种工作位置的会话(checkout)。",
|
|
6
|
-
"type": "array",
|
|
7
|
-
"maxItems": 10,
|
|
8
|
-
"items": {
|
|
9
|
-
"type": "object",
|
|
10
|
-
"properties": {
|
|
11
|
-
"id": {"$ref": "common.json#/$defs/id"},
|
|
12
|
-
"title": {"$ref": "common.json#/$defs/line40"},
|
|
13
|
-
"entry": {"description": "插件目录里的 .html 文件", "type": "string", "pattern": "^(?!/)(?!(.*/)?\\.\\.(/|$)).*\\.html$", "x-file": {"type": "file"}},
|
|
14
|
-
"in": {"description": "它常驻的位置:side、page,不重复", "type": "array", "uniqueItems": true, "items": {"enum": ["side", "page"]}},
|
|
15
|
-
"icon": {"$ref": "common.json#/$defs/symbol"},
|
|
16
|
-
"handles": {
|
|
17
|
-
"description": "它接管打开的引用种类(如 workflow-runs),至多 8 个,不重复",
|
|
18
|
-
"type": "array",
|
|
19
|
-
"maxItems": 8,
|
|
20
|
-
"uniqueItems": true,
|
|
21
|
-
"items": {"$ref": "common.json#/$defs/id"}
|
|
22
|
-
},
|
|
23
|
-
"readout": {"description": "读数:workflow-runs、machines、changes", "enum": ["workflow-runs", "machines", "changes"]},
|
|
24
|
-
"checkout": {"description": "只给哪种工作位置的会话:worktree", "enum": ["worktree"]}
|
|
25
|
-
},
|
|
26
|
-
"required": ["id", "title", "entry"],
|
|
27
|
-
"additionalProperties": false
|
|
28
|
-
},
|
|
29
|
-
"x-unique-by": ["id"]
|
|
30
|
-
}
|