@rho-workspace/rho 0.5.4 → 0.5.5
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/browser-access.js +3 -2
- package/dist/capabilities.d.ts +2 -2
- package/dist/capabilities.js +6 -1
- package/dist/cli.js +186 -173
- package/dist/contract.generated.d.ts +329 -4
- package/dist/contract.generated.js +1 -1
- package/dist/contracts/owners.generated.js +360 -6
- package/dist/discovery.d.ts +1 -0
- package/dist/discovery.js +3 -3
- package/dist/extension-contract.d.ts +99 -0
- package/dist/extension-contract.js +52 -0
- package/dist/extension-directory.d.ts +9 -0
- package/dist/extension-directory.js +11 -0
- package/dist/extension-worker.d.ts +1 -0
- package/dist/extension-worker.js +36 -0
- package/dist/extensions.d.ts +157 -0
- package/dist/extensions.js +349 -0
- package/dist/plugin-cli.d.ts +1 -0
- package/dist/plugin-cli.js +139 -0
- package/dist/plugin-inventory.json +18 -0
- package/dist/plugins.d.ts +3 -3
- package/dist/project-work.d.ts +3 -1
- package/dist/project-work.js +15 -2
- package/dist/protocol.d.ts +7 -0
- package/dist/protocol.js +4 -2
- package/dist/server.d.ts +4 -1
- package/dist/server.js +55 -8
- package/dist/web/.vite/manifest.json +61 -61
- package/dist/web/assets/{canvas-BXhC8RDZ.js → canvas-D8rDdfDz.js} +1 -1
- package/dist/web/assets/choices-b0XhrGQV.js +1 -0
- package/dist/web/assets/{console-Dbdo-5oO.js → console-BSjLGe0T.js} +1 -1
- package/dist/web/assets/{dist-B2V0VDO0.js → dist-Buk0lwzI.js} +2 -2
- package/dist/web/assets/dist-Cw8hRIlT.js +1 -0
- package/dist/web/assets/dist-Tzoe_zm-.js +3 -0
- package/dist/web/assets/{dist-D25Vn17i.js → dist-foH9IKc6.js} +1 -1
- package/dist/web/assets/explore-in-BVUy3ZW_.js +1 -0
- package/dist/web/assets/graph-1OdIJ9l7.js +2 -0
- package/dist/web/assets/index-CsC3sTRq.css +1 -0
- package/dist/web/assets/{index-BHQIaDsx.js → index-CxmItXqa.js} +85 -85
- package/dist/web/assets/{notes-meaning-DdPbtNzJ.js → notes-meaning-pVbbQUGP.js} +1 -1
- package/dist/web/assets/overview-B9UtVJ32.js +6 -0
- package/dist/web/assets/preview-CksD_5KS.js +1 -0
- package/dist/web/assets/{review-CmWou4Iv.js → review-CMxQlQ-C.js} +1 -1
- package/dist/web/assets/{skills-Dy7n3L9d.js → skills-BFNSyrnD.js} +1 -1
- package/dist/web/assets/{skills-work-Cj0W6b-I.js → skills-work-BGPSnF_I.js} +1 -1
- package/dist/web/assets/{studio-process-QOY_n2_8.js → studio-process-CsRoTHOh.js} +2 -2
- package/dist/web/assets/{timeline-events-DmX1BCh3.js → timeline-events-BbuuFWHV.js} +1 -1
- package/dist/web/assets/{work-turns-Co0C71rJ.js → work-turns-BvJlIMmA.js} +1 -1
- package/dist/web/assets/workspace-CWlkjLNx.js +5 -0
- package/dist/web/composition.json +67 -67
- package/dist/web/index.html +3 -3
- package/dist/web/renderer.json +1 -1
- package/dist/web-assets.d.ts +2 -1
- package/dist/web-assets.js +3 -2
- package/dist/work-contract.js +2 -2
- package/docs/HEADLESS.md +1 -1
- package/docs/PLUGIN-AUTHORING.md +4 -0
- package/docs/THIRD-PARTY-PLUGINS.md +190 -0
- package/node_modules/@rho-workspace/plugin-agent/README.md +39 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/activity-normalize.d.ts +1 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/activity-normalize.js +2 -2
- package/node_modules/@rho-workspace/plugin-agent/dist/dsh-session.d.ts +6 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/dsh-session.js +174 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.d.ts +82 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.js +15 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/external-session.d.ts +73 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/external-session.js +190 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/index.d.ts +373 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/index.js +1 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/operations.d.ts +33 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/operations.js +3 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/presentation.d.ts +14 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/presentation.js +2 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/ui-external-session.d.ts +15 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/ui-external-session.js +37 -0
- package/node_modules/@rho-workspace/plugin-agent/package.json +5 -1
- package/package.json +5 -3
- package/protocol/index.json +58 -4
- package/protocol/operations/agent.sessions.list.json +100 -0
- package/protocol/operations/agent.sessions.read.json +266 -0
- package/protocol/operations/extension.call.json +132 -0
- package/protocol/operations/extension.content.json +78 -0
- package/protocol/operations/extension.describe.json +195 -0
- package/protocol/operations/extension.install.json +198 -0
- package/protocol/operations/extension.list.json +123 -0
- package/protocol/operations/extension.manage.json +55 -0
- package/protocol/operations/extension.read.json +112 -0
- package/protocol/operations/project.work.read.json +3 -2
- package/protocol/operations/session.grant.json +9 -0
- package/scripts/third-party-acceptance.mjs +77 -0
- package/vendor/composition.json +85 -85
- package/vendor/rho-workspace-plugin-agent-0.4.29.tgz +0 -0
- package/dist/web/assets/choices-DU9kHlyQ.js +0 -1
- package/dist/web/assets/dist-BV3hWfn_.js +0 -3
- package/dist/web/assets/dist-CLNF2g-E.js +0 -1
- package/dist/web/assets/explore-in-8Q5ftt-E.js +0 -1
- package/dist/web/assets/graph-hS2kvHTI.js +0 -2
- package/dist/web/assets/index-Cj1_iqyK.css +0 -1
- package/dist/web/assets/overview-BV6ZO5TO.js +0 -6
- package/dist/web/assets/preview-n5lOOdjN.js +0 -1
- package/dist/web/assets/workspace-BKFefRfJ.js +0 -5
- package/vendor/rho-workspace-plugin-agent-0.4.28.tgz +0 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
{
|
|
2
|
+
"method": "extension.call",
|
|
3
|
+
"inputSchema": {
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"projectId": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1,
|
|
9
|
+
"maxLength": 1024
|
|
10
|
+
},
|
|
11
|
+
"pluginId": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
14
|
+
},
|
|
15
|
+
"expectedDigest": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
18
|
+
},
|
|
19
|
+
"operation": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
22
|
+
},
|
|
23
|
+
"input": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"additionalProperties": true
|
|
26
|
+
},
|
|
27
|
+
"changeId": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"pattern": "^[A-Za-z0-9._:@-]{1,128}$"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": [
|
|
33
|
+
"projectId",
|
|
34
|
+
"pluginId",
|
|
35
|
+
"expectedDigest",
|
|
36
|
+
"operation",
|
|
37
|
+
"input",
|
|
38
|
+
"changeId"
|
|
39
|
+
],
|
|
40
|
+
"additionalProperties": false
|
|
41
|
+
},
|
|
42
|
+
"outputSchema": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"properties": {
|
|
45
|
+
"invocationId": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
48
|
+
},
|
|
49
|
+
"caller": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"projectId": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"pluginId": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
58
|
+
},
|
|
59
|
+
"packageDigest": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
62
|
+
},
|
|
63
|
+
"operation": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
66
|
+
},
|
|
67
|
+
"requestDigest": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
70
|
+
},
|
|
71
|
+
"state": {
|
|
72
|
+
"enum": [
|
|
73
|
+
"pending",
|
|
74
|
+
"completed",
|
|
75
|
+
"unknown"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"startedAt": {
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"endedAt": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"value": {},
|
|
85
|
+
"error": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"delegations": {
|
|
89
|
+
"type": "array",
|
|
90
|
+
"items": {
|
|
91
|
+
"type": "object",
|
|
92
|
+
"properties": {
|
|
93
|
+
"method": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
"request": {},
|
|
97
|
+
"state": {
|
|
98
|
+
"enum": [
|
|
99
|
+
"pending",
|
|
100
|
+
"completed",
|
|
101
|
+
"unknown"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"value": {},
|
|
105
|
+
"error": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"required": [
|
|
110
|
+
"method",
|
|
111
|
+
"request",
|
|
112
|
+
"state"
|
|
113
|
+
],
|
|
114
|
+
"additionalProperties": false
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"required": [
|
|
119
|
+
"invocationId",
|
|
120
|
+
"caller",
|
|
121
|
+
"projectId",
|
|
122
|
+
"pluginId",
|
|
123
|
+
"packageDigest",
|
|
124
|
+
"operation",
|
|
125
|
+
"requestDigest",
|
|
126
|
+
"state",
|
|
127
|
+
"startedAt"
|
|
128
|
+
],
|
|
129
|
+
"additionalProperties": false
|
|
130
|
+
},
|
|
131
|
+
"description": "Call an enabled third-party operation at the described package digest, under the caller and project. The package runs trusted native code. Non-read calls retain the original changeId: repeat observes that invocation, including unknown outcomes, without re-execution. Completion is not scientific validity."
|
|
132
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"method": "extension.content",
|
|
3
|
+
"inputSchema": {
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"projectId": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1,
|
|
9
|
+
"maxLength": 1024
|
|
10
|
+
},
|
|
11
|
+
"pluginId": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
14
|
+
},
|
|
15
|
+
"expectedDigest": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
18
|
+
},
|
|
19
|
+
"kind": {
|
|
20
|
+
"enum": [
|
|
21
|
+
"skill",
|
|
22
|
+
"view"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"entryId": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"required": [
|
|
31
|
+
"projectId",
|
|
32
|
+
"pluginId",
|
|
33
|
+
"expectedDigest",
|
|
34
|
+
"kind",
|
|
35
|
+
"entryId"
|
|
36
|
+
],
|
|
37
|
+
"additionalProperties": false
|
|
38
|
+
},
|
|
39
|
+
"outputSchema": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"properties": {
|
|
42
|
+
"pluginId": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
45
|
+
},
|
|
46
|
+
"packageDigest": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
49
|
+
},
|
|
50
|
+
"entryId": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
53
|
+
},
|
|
54
|
+
"kind": {
|
|
55
|
+
"enum": [
|
|
56
|
+
"skill",
|
|
57
|
+
"view"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"title": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"text": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": [
|
|
68
|
+
"pluginId",
|
|
69
|
+
"packageDigest",
|
|
70
|
+
"entryId",
|
|
71
|
+
"kind",
|
|
72
|
+
"title",
|
|
73
|
+
"text"
|
|
74
|
+
],
|
|
75
|
+
"additionalProperties": false
|
|
76
|
+
},
|
|
77
|
+
"description": "Read one installed plugin Skill or standalone HTML view at its selected package digest. Reading starts no plugin or runtime."
|
|
78
|
+
}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
{
|
|
2
|
+
"method": "extension.describe",
|
|
3
|
+
"inputSchema": {
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"projectId": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1,
|
|
9
|
+
"maxLength": 1024
|
|
10
|
+
},
|
|
11
|
+
"pluginId": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"projectId",
|
|
18
|
+
"pluginId"
|
|
19
|
+
],
|
|
20
|
+
"additionalProperties": false
|
|
21
|
+
},
|
|
22
|
+
"outputSchema": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"id": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
28
|
+
},
|
|
29
|
+
"name": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"version": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"title": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"description": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"digest": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
44
|
+
},
|
|
45
|
+
"source": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"sourceCommit": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"enabled": {
|
|
52
|
+
"type": "boolean"
|
|
53
|
+
},
|
|
54
|
+
"installedAt": {
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
"manifest": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"apiVersion": {
|
|
61
|
+
"const": 1
|
|
62
|
+
},
|
|
63
|
+
"id": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
66
|
+
},
|
|
67
|
+
"title": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"description": {
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
"host": {
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
"operations": {
|
|
77
|
+
"type": "array",
|
|
78
|
+
"items": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"id": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
84
|
+
},
|
|
85
|
+
"title": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"description": {
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
"effect": {
|
|
92
|
+
"enum": [
|
|
93
|
+
"read",
|
|
94
|
+
"native"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"methods": {
|
|
98
|
+
"type": "array",
|
|
99
|
+
"items": {
|
|
100
|
+
"type": "string"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"inputSchema": {
|
|
104
|
+
"type": "object",
|
|
105
|
+
"additionalProperties": true
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"required": [
|
|
109
|
+
"id",
|
|
110
|
+
"title",
|
|
111
|
+
"description",
|
|
112
|
+
"effect",
|
|
113
|
+
"methods",
|
|
114
|
+
"inputSchema"
|
|
115
|
+
],
|
|
116
|
+
"additionalProperties": true
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"skills": {
|
|
120
|
+
"type": "array",
|
|
121
|
+
"items": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"properties": {
|
|
124
|
+
"id": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
127
|
+
},
|
|
128
|
+
"title": {
|
|
129
|
+
"type": "string"
|
|
130
|
+
},
|
|
131
|
+
"file": {
|
|
132
|
+
"type": "string"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"required": [
|
|
136
|
+
"id",
|
|
137
|
+
"title",
|
|
138
|
+
"file"
|
|
139
|
+
],
|
|
140
|
+
"additionalProperties": true
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"views": {
|
|
144
|
+
"type": "array",
|
|
145
|
+
"items": {
|
|
146
|
+
"type": "object",
|
|
147
|
+
"properties": {
|
|
148
|
+
"id": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
151
|
+
},
|
|
152
|
+
"title": {
|
|
153
|
+
"type": "string"
|
|
154
|
+
},
|
|
155
|
+
"file": {
|
|
156
|
+
"type": "string"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"required": [
|
|
160
|
+
"id",
|
|
161
|
+
"title",
|
|
162
|
+
"file"
|
|
163
|
+
],
|
|
164
|
+
"additionalProperties": true
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"required": [
|
|
169
|
+
"apiVersion",
|
|
170
|
+
"id",
|
|
171
|
+
"title",
|
|
172
|
+
"description",
|
|
173
|
+
"operations",
|
|
174
|
+
"skills",
|
|
175
|
+
"views"
|
|
176
|
+
],
|
|
177
|
+
"additionalProperties": true
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"required": [
|
|
181
|
+
"id",
|
|
182
|
+
"name",
|
|
183
|
+
"version",
|
|
184
|
+
"title",
|
|
185
|
+
"description",
|
|
186
|
+
"digest",
|
|
187
|
+
"source",
|
|
188
|
+
"enabled",
|
|
189
|
+
"installedAt",
|
|
190
|
+
"manifest"
|
|
191
|
+
],
|
|
192
|
+
"additionalProperties": false
|
|
193
|
+
},
|
|
194
|
+
"description": "Read an installed third-party package manifest, operation input schemas, required Rho methods, Skills and views. Read its Skill with extension.content before use. Disabled packages cannot run."
|
|
195
|
+
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
{
|
|
2
|
+
"method": "extension.install",
|
|
3
|
+
"inputSchema": {
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"source": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1,
|
|
9
|
+
"maxLength": 1024
|
|
10
|
+
},
|
|
11
|
+
"replace": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
14
|
+
},
|
|
15
|
+
"expectedDigest": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"source"
|
|
22
|
+
],
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
},
|
|
25
|
+
"outputSchema": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"properties": {
|
|
28
|
+
"id": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
31
|
+
},
|
|
32
|
+
"name": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"version": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"title": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"description": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"digest": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
47
|
+
},
|
|
48
|
+
"source": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"sourceCommit": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
"enabled": {
|
|
55
|
+
"type": "boolean"
|
|
56
|
+
},
|
|
57
|
+
"installedAt": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"manifest": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"apiVersion": {
|
|
64
|
+
"const": 1
|
|
65
|
+
},
|
|
66
|
+
"id": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
69
|
+
},
|
|
70
|
+
"title": {
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
"description": {
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
"host": {
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"operations": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"items": {
|
|
82
|
+
"type": "object",
|
|
83
|
+
"properties": {
|
|
84
|
+
"id": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
87
|
+
},
|
|
88
|
+
"title": {
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
"description": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
"effect": {
|
|
95
|
+
"enum": [
|
|
96
|
+
"read",
|
|
97
|
+
"native"
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
"methods": {
|
|
101
|
+
"type": "array",
|
|
102
|
+
"items": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"inputSchema": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"additionalProperties": true
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"required": [
|
|
112
|
+
"id",
|
|
113
|
+
"title",
|
|
114
|
+
"description",
|
|
115
|
+
"effect",
|
|
116
|
+
"methods",
|
|
117
|
+
"inputSchema"
|
|
118
|
+
],
|
|
119
|
+
"additionalProperties": true
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"skills": {
|
|
123
|
+
"type": "array",
|
|
124
|
+
"items": {
|
|
125
|
+
"type": "object",
|
|
126
|
+
"properties": {
|
|
127
|
+
"id": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
130
|
+
},
|
|
131
|
+
"title": {
|
|
132
|
+
"type": "string"
|
|
133
|
+
},
|
|
134
|
+
"file": {
|
|
135
|
+
"type": "string"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"required": [
|
|
139
|
+
"id",
|
|
140
|
+
"title",
|
|
141
|
+
"file"
|
|
142
|
+
],
|
|
143
|
+
"additionalProperties": true
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"views": {
|
|
147
|
+
"type": "array",
|
|
148
|
+
"items": {
|
|
149
|
+
"type": "object",
|
|
150
|
+
"properties": {
|
|
151
|
+
"id": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
|
|
154
|
+
},
|
|
155
|
+
"title": {
|
|
156
|
+
"type": "string"
|
|
157
|
+
},
|
|
158
|
+
"file": {
|
|
159
|
+
"type": "string"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"required": [
|
|
163
|
+
"id",
|
|
164
|
+
"title",
|
|
165
|
+
"file"
|
|
166
|
+
],
|
|
167
|
+
"additionalProperties": true
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"required": [
|
|
172
|
+
"apiVersion",
|
|
173
|
+
"id",
|
|
174
|
+
"title",
|
|
175
|
+
"description",
|
|
176
|
+
"operations",
|
|
177
|
+
"skills",
|
|
178
|
+
"views"
|
|
179
|
+
],
|
|
180
|
+
"additionalProperties": true
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"required": [
|
|
184
|
+
"id",
|
|
185
|
+
"name",
|
|
186
|
+
"version",
|
|
187
|
+
"title",
|
|
188
|
+
"description",
|
|
189
|
+
"digest",
|
|
190
|
+
"source",
|
|
191
|
+
"enabled",
|
|
192
|
+
"installedAt",
|
|
193
|
+
"manifest"
|
|
194
|
+
],
|
|
195
|
+
"additionalProperties": false
|
|
196
|
+
},
|
|
197
|
+
"description": "Local person/operator: install a trusted prebuilt npm package, local folder, tarball, or Git source. Lifecycle scripts are disabled. Replacement stages and checks the new package before switching; use replace and expectedDigest for updates."
|
|
198
|
+
}
|