@rho-workspace/rho 0.5.4 → 0.5.6

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.
Files changed (161) hide show
  1. package/dist/agent-connect.d.ts +8 -0
  2. package/dist/agent-connect.js +15 -0
  3. package/dist/browser-access.js +3 -2
  4. package/dist/capabilities.d.ts +2 -2
  5. package/dist/capabilities.js +6 -1
  6. package/dist/cli.js +219 -176
  7. package/dist/contract.generated.d.ts +472 -4
  8. package/dist/contract.generated.js +1 -1
  9. package/dist/contracts/owners.generated.js +455 -6
  10. package/dist/conversations.d.ts +157 -4
  11. package/dist/conversations.js +69 -6
  12. package/dist/discovery.d.ts +1 -0
  13. package/dist/discovery.js +3 -3
  14. package/dist/extension-contract.d.ts +99 -0
  15. package/dist/extension-contract.js +52 -0
  16. package/dist/extension-directory.d.ts +9 -0
  17. package/dist/extension-directory.js +11 -0
  18. package/dist/extension-worker.d.ts +1 -0
  19. package/dist/extension-worker.js +36 -0
  20. package/dist/extensions.d.ts +157 -0
  21. package/dist/extensions.js +349 -0
  22. package/dist/plugin-cli.d.ts +1 -0
  23. package/dist/plugin-cli.js +139 -0
  24. package/dist/plugin-inventory.json +18 -0
  25. package/dist/plugins.d.ts +3 -3
  26. package/dist/project-work.d.ts +3 -1
  27. package/dist/project-work.js +15 -2
  28. package/dist/protocol.d.ts +8 -0
  29. package/dist/protocol.js +16 -7
  30. package/dist/server.d.ts +5 -10
  31. package/dist/server.js +122 -12
  32. package/dist/web/.vite/manifest.json +67 -67
  33. package/dist/web/assets/{canvas-BXhC8RDZ.js → canvas-D8rDdfDz.js} +1 -1
  34. package/dist/web/assets/choices-D-YfnFP6.js +1 -0
  35. package/dist/web/assets/{console-Dbdo-5oO.js → console-Trqc0swD.js} +1 -1
  36. package/dist/web/assets/{dist-B2V0VDO0.js → dist-DZmszrjG.js} +2 -2
  37. package/dist/web/assets/dist-DpIHRk3B.js +1 -0
  38. package/dist/web/assets/{dist-D25Vn17i.js → dist-eMx6b8N1.js} +1 -1
  39. package/dist/web/assets/dist-pF902jHA.js +3 -0
  40. package/dist/web/assets/explore-in-BCHqjJ7B.js +1 -0
  41. package/dist/web/assets/graph-lENgfQNH.js +2 -0
  42. package/dist/web/assets/index-B3_OVy91.css +1 -0
  43. package/dist/web/assets/{index-BHQIaDsx.js → index-BpL_Kl_s.js} +87 -86
  44. package/dist/web/assets/{notes-meaning-DdPbtNzJ.js → notes-meaning-DcVGUBBY.js} +1 -1
  45. package/dist/web/assets/overview-CDnVKlOt.js +6 -0
  46. package/dist/web/assets/preview-BEC1E9MK.js +1 -0
  47. package/dist/web/assets/{review-CmWou4Iv.js → review-DYP0aCXb.js} +1 -1
  48. package/dist/web/assets/{skills-Dy7n3L9d.js → skills-1ec0Z-jx.js} +1 -1
  49. package/dist/web/assets/{skills-work-Cj0W6b-I.js → skills-work-DNexV4OJ.js} +1 -1
  50. package/dist/web/assets/{studio-process-QOY_n2_8.js → studio-process-EYQgikxq.js} +2 -2
  51. package/dist/web/assets/{timeline-events-DmX1BCh3.js → timeline-events-Chj2Gbx7.js} +1 -1
  52. package/dist/web/assets/{work-turns-Co0C71rJ.js → work-turns-CT9RVcWY.js} +1 -1
  53. package/dist/web/assets/workspace-COmCbGV3.js +5 -0
  54. package/dist/web/composition.json +65 -65
  55. package/dist/web/index.html +3 -3
  56. package/dist/web/renderer.json +1 -1
  57. package/dist/web-assets.d.ts +2 -1
  58. package/dist/web-assets.js +3 -2
  59. package/dist/work-contract.js +2 -2
  60. package/docs/FRONTEND.md +26 -18
  61. package/docs/HEADLESS.md +38 -28
  62. package/docs/PLUGIN-AUTHORING.md +4 -0
  63. package/docs/THIRD-PARTY-PLUGINS.md +190 -0
  64. package/node_modules/@rho-workspace/plugin-agent/README.md +68 -0
  65. package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.d.ts +1 -0
  66. package/node_modules/@rho-workspace/plugin-agent/dist/acp-command.js +9 -1
  67. package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.d.ts +1 -0
  68. package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.js +10 -0
  69. package/node_modules/@rho-workspace/plugin-agent/dist/activity-normalize.d.ts +1 -0
  70. package/node_modules/@rho-workspace/plugin-agent/dist/activity-normalize.js +2 -2
  71. package/node_modules/@rho-workspace/plugin-agent/dist/dsh-session.d.ts +6 -0
  72. package/node_modules/@rho-workspace/plugin-agent/dist/dsh-session.js +174 -0
  73. package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.d.ts +82 -0
  74. package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.js +20 -0
  75. package/node_modules/@rho-workspace/plugin-agent/dist/external-session.d.ts +84 -0
  76. package/node_modules/@rho-workspace/plugin-agent/dist/external-session.js +190 -0
  77. package/node_modules/@rho-workspace/plugin-agent/dist/index.d.ts +373 -0
  78. package/node_modules/@rho-workspace/plugin-agent/dist/index.js +1 -0
  79. package/node_modules/@rho-workspace/plugin-agent/dist/native-sessions.d.ts +70 -0
  80. package/node_modules/@rho-workspace/plugin-agent/dist/native-sessions.js +538 -0
  81. package/node_modules/@rho-workspace/plugin-agent/dist/operations.d.ts +33 -0
  82. package/node_modules/@rho-workspace/plugin-agent/dist/operations.js +3 -0
  83. package/node_modules/@rho-workspace/plugin-agent/dist/presentation.d.ts +14 -0
  84. package/node_modules/@rho-workspace/plugin-agent/dist/presentation.js +2 -0
  85. package/node_modules/@rho-workspace/plugin-agent/dist/ui-external-session.d.ts +15 -0
  86. package/node_modules/@rho-workspace/plugin-agent/dist/ui-external-session.js +37 -0
  87. package/node_modules/@rho-workspace/plugin-agent/package.json +6 -1
  88. package/node_modules/hono/dist/adapter/aws-lambda/handler.js +1 -1
  89. package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +1 -1
  90. package/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +1 -1
  91. package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +1 -1
  92. package/node_modules/hono/dist/cjs/client/fetch-result-please.js +1 -1
  93. package/node_modules/hono/dist/cjs/helper/accepts/accepts.js +2 -1
  94. package/node_modules/hono/dist/cjs/helper/ssg/ssg.js +5 -3
  95. package/node_modules/hono/dist/cjs/jsx/base.js +49 -30
  96. package/node_modules/hono/dist/cjs/jsx/components.js +2 -2
  97. package/node_modules/hono/dist/cjs/jsx/constants.js +2 -0
  98. package/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +13 -17
  99. package/node_modules/hono/dist/cjs/middleware/etag/index.js +3 -1
  100. package/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +1 -0
  101. package/node_modules/hono/dist/cjs/middleware/timing/timing.js +4 -3
  102. package/node_modules/hono/dist/cjs/utils/cookie.js +2 -2
  103. package/node_modules/hono/dist/cjs/utils/mime.js +1 -1
  104. package/node_modules/hono/dist/cjs/utils/url.js +1 -1
  105. package/node_modules/hono/dist/client/fetch-result-please.js +1 -1
  106. package/node_modules/hono/dist/helper/accepts/accepts.js +2 -1
  107. package/node_modules/hono/dist/helper/ssg/ssg.js +5 -3
  108. package/node_modules/hono/dist/jsx/base.js +49 -32
  109. package/node_modules/hono/dist/jsx/components.js +2 -2
  110. package/node_modules/hono/dist/jsx/constants.js +2 -1
  111. package/node_modules/hono/dist/jsx/jsx-runtime.js +15 -19
  112. package/node_modules/hono/dist/middleware/etag/index.js +3 -1
  113. package/node_modules/hono/dist/middleware/language/language.js +1 -1
  114. package/node_modules/hono/dist/middleware/pretty-json/index.js +1 -0
  115. package/node_modules/hono/dist/middleware/timing/timing.js +4 -3
  116. package/node_modules/hono/dist/utils/cookie.js +2 -2
  117. package/node_modules/hono/dist/utils/mime.js +1 -1
  118. package/node_modules/hono/dist/utils/url.js +1 -1
  119. package/node_modules/hono/package.json +1 -1
  120. package/package.json +5 -3
  121. package/protocol/index.json +93 -33
  122. package/protocol/operations/agent.sessions.list.json +146 -0
  123. package/protocol/operations/agent.sessions.read.json +315 -0
  124. package/protocol/operations/conversation.configure.json +29 -0
  125. package/protocol/operations/conversation.decide.json +29 -0
  126. package/protocol/operations/conversation.list.json +29 -0
  127. package/protocol/operations/conversation.permission.json +29 -0
  128. package/protocol/operations/conversation.read.json +29 -0
  129. package/protocol/operations/conversation.restore.json +29 -0
  130. package/protocol/operations/conversation.send.json +29 -0
  131. package/protocol/operations/conversation.settings.check.json +92 -0
  132. package/protocol/operations/conversation.settings.read.json +92 -0
  133. package/protocol/operations/conversation.settings.update.json +92 -0
  134. package/protocol/operations/conversation.start.json +46 -1
  135. package/protocol/operations/conversation.stop.json +29 -0
  136. package/protocol/operations/conversation.trash.json +29 -0
  137. package/protocol/operations/extension.call.json +132 -0
  138. package/protocol/operations/extension.content.json +78 -0
  139. package/protocol/operations/extension.describe.json +195 -0
  140. package/protocol/operations/extension.install.json +198 -0
  141. package/protocol/operations/extension.list.json +123 -0
  142. package/protocol/operations/extension.manage.json +55 -0
  143. package/protocol/operations/extension.read.json +112 -0
  144. package/protocol/operations/observation.snapshot.json +29 -0
  145. package/protocol/operations/project.work.read.json +3 -2
  146. package/protocol/operations/session.grant.json +9 -0
  147. package/protocol/operations/session.instructions.json +43 -0
  148. package/scripts/third-party-acceptance.mjs +77 -0
  149. package/vendor/composition.json +83 -83
  150. package/vendor/rho-workspace-plugin-agent-0.4.30.tgz +0 -0
  151. package/web/theme.css +12 -0
  152. package/dist/web/assets/choices-DU9kHlyQ.js +0 -1
  153. package/dist/web/assets/dist-BV3hWfn_.js +0 -3
  154. package/dist/web/assets/dist-CLNF2g-E.js +0 -1
  155. package/dist/web/assets/explore-in-8Q5ftt-E.js +0 -1
  156. package/dist/web/assets/graph-hS2kvHTI.js +0 -2
  157. package/dist/web/assets/index-Cj1_iqyK.css +0 -1
  158. package/dist/web/assets/overview-BV6ZO5TO.js +0 -6
  159. package/dist/web/assets/preview-n5lOOdjN.js +0 -1
  160. package/dist/web/assets/workspace-BKFefRfJ.js +0 -5
  161. package/vendor/rho-workspace-plugin-agent-0.4.28.tgz +0 -0
@@ -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
+ }
@@ -0,0 +1,123 @@
1
+ {
2
+ "method": "extension.list",
3
+ "inputSchema": {
4
+ "type": "object",
5
+ "properties": {
6
+ "projectId": {
7
+ "type": "string",
8
+ "minLength": 1,
9
+ "maxLength": 1024
10
+ }
11
+ },
12
+ "required": [],
13
+ "additionalProperties": false
14
+ },
15
+ "outputSchema": {
16
+ "type": "object",
17
+ "properties": {
18
+ "plugins": {
19
+ "type": "array",
20
+ "items": {
21
+ "type": "object",
22
+ "properties": {
23
+ "id": {
24
+ "type": "string",
25
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
26
+ },
27
+ "name": {
28
+ "type": "string"
29
+ },
30
+ "version": {
31
+ "type": "string"
32
+ },
33
+ "title": {
34
+ "type": "string"
35
+ },
36
+ "description": {
37
+ "type": "string"
38
+ },
39
+ "digest": {
40
+ "type": "string",
41
+ "pattern": "^[a-f0-9]{64}$"
42
+ },
43
+ "source": {
44
+ "type": "string"
45
+ },
46
+ "sourceCommit": {
47
+ "type": "string"
48
+ },
49
+ "enabled": {
50
+ "type": "boolean"
51
+ },
52
+ "installedAt": {
53
+ "type": "string"
54
+ }
55
+ },
56
+ "required": [
57
+ "id",
58
+ "name",
59
+ "version",
60
+ "title",
61
+ "description",
62
+ "digest",
63
+ "source",
64
+ "enabled",
65
+ "installedAt"
66
+ ],
67
+ "additionalProperties": false
68
+ }
69
+ },
70
+ "directory": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "object",
74
+ "properties": {
75
+ "id": {
76
+ "type": "string",
77
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
78
+ },
79
+ "title": {
80
+ "type": "string"
81
+ },
82
+ "version": {
83
+ "type": "string"
84
+ },
85
+ "description": {
86
+ "type": "string"
87
+ },
88
+ "source": {
89
+ "type": "string"
90
+ },
91
+ "repository": {
92
+ "type": "string"
93
+ },
94
+ "needs": {
95
+ "type": "string"
96
+ }
97
+ },
98
+ "required": [
99
+ "id",
100
+ "title",
101
+ "version",
102
+ "description",
103
+ "source",
104
+ "repository",
105
+ "needs"
106
+ ],
107
+ "additionalProperties": false
108
+ }
109
+ },
110
+ "limits": {
111
+ "type": "object",
112
+ "additionalProperties": true
113
+ }
114
+ },
115
+ "required": [
116
+ "plugins",
117
+ "directory",
118
+ "limits"
119
+ ],
120
+ "additionalProperties": false
121
+ },
122
+ "description": "List independently installed third-party packages and their enabled state, source and immutable digest. Reads start no plugin or runtime. Use extension.describe to discover operation schemas and Skills."
123
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "method": "extension.manage",
3
+ "inputSchema": {
4
+ "type": "object",
5
+ "properties": {
6
+ "pluginId": {
7
+ "type": "string",
8
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
9
+ },
10
+ "expectedDigest": {
11
+ "type": "string",
12
+ "pattern": "^[a-f0-9]{64}$"
13
+ },
14
+ "action": {
15
+ "enum": [
16
+ "enable",
17
+ "disable",
18
+ "remove"
19
+ ]
20
+ }
21
+ },
22
+ "required": [
23
+ "pluginId",
24
+ "expectedDigest",
25
+ "action"
26
+ ],
27
+ "additionalProperties": false
28
+ },
29
+ "outputSchema": {
30
+ "type": "object",
31
+ "properties": {
32
+ "pluginId": {
33
+ "type": "string",
34
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
35
+ },
36
+ "action": {
37
+ "enum": [
38
+ "enable",
39
+ "disable",
40
+ "remove"
41
+ ]
42
+ },
43
+ "retained": {
44
+ "type": "string"
45
+ }
46
+ },
47
+ "required": [
48
+ "pluginId",
49
+ "action",
50
+ "retained"
51
+ ],
52
+ "additionalProperties": false
53
+ },
54
+ "description": "Local person/operator: enable, disable or remove an installed third-party package at the expected digest. Existing native tasks, R sessions, project files and retained receipts are preserved."
55
+ }
@@ -0,0 +1,112 @@
1
+ {
2
+ "method": "extension.read",
3
+ "inputSchema": {
4
+ "type": "object",
5
+ "properties": {
6
+ "projectId": {
7
+ "type": "string",
8
+ "minLength": 1,
9
+ "maxLength": 1024
10
+ },
11
+ "invocationId": {
12
+ "type": "string",
13
+ "pattern": "^[a-f0-9]{64}$"
14
+ }
15
+ },
16
+ "required": [
17
+ "projectId",
18
+ "invocationId"
19
+ ],
20
+ "additionalProperties": false
21
+ },
22
+ "outputSchema": {
23
+ "type": "object",
24
+ "properties": {
25
+ "invocationId": {
26
+ "type": "string",
27
+ "pattern": "^[a-f0-9]{64}$"
28
+ },
29
+ "caller": {
30
+ "type": "string"
31
+ },
32
+ "projectId": {
33
+ "type": "string"
34
+ },
35
+ "pluginId": {
36
+ "type": "string",
37
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
38
+ },
39
+ "packageDigest": {
40
+ "type": "string",
41
+ "pattern": "^[a-f0-9]{64}$"
42
+ },
43
+ "operation": {
44
+ "type": "string",
45
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,95}$"
46
+ },
47
+ "requestDigest": {
48
+ "type": "string",
49
+ "pattern": "^[a-f0-9]{64}$"
50
+ },
51
+ "state": {
52
+ "enum": [
53
+ "pending",
54
+ "completed",
55
+ "unknown"
56
+ ]
57
+ },
58
+ "startedAt": {
59
+ "type": "string"
60
+ },
61
+ "endedAt": {
62
+ "type": "string"
63
+ },
64
+ "value": {},
65
+ "error": {
66
+ "type": "string"
67
+ },
68
+ "delegations": {
69
+ "type": "array",
70
+ "items": {
71
+ "type": "object",
72
+ "properties": {
73
+ "method": {
74
+ "type": "string"
75
+ },
76
+ "request": {},
77
+ "state": {
78
+ "enum": [
79
+ "pending",
80
+ "completed",
81
+ "unknown"
82
+ ]
83
+ },
84
+ "value": {},
85
+ "error": {
86
+ "type": "string"
87
+ }
88
+ },
89
+ "required": [
90
+ "method",
91
+ "request",
92
+ "state"
93
+ ],
94
+ "additionalProperties": false
95
+ }
96
+ }
97
+ },
98
+ "required": [
99
+ "invocationId",
100
+ "caller",
101
+ "projectId",
102
+ "pluginId",
103
+ "packageDigest",
104
+ "operation",
105
+ "requestDigest",
106
+ "state",
107
+ "startedAt"
108
+ ],
109
+ "additionalProperties": false
110
+ },
111
+ "description": "Observe an original plugin invocation, including pending or unknown outcomes. Never reruns code. Only its original caller can read it."
112
+ }