@rudderhq/shared 0.7.2 → 0.7.3

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 (81) hide show
  1. package/dist/computer-use.d.ts +325 -0
  2. package/dist/computer-use.d.ts.map +1 -0
  3. package/dist/computer-use.js +251 -0
  4. package/dist/computer-use.js.map +1 -0
  5. package/dist/computer-use.test.d.ts +2 -0
  6. package/dist/computer-use.test.d.ts.map +1 -0
  7. package/dist/computer-use.test.js +32 -0
  8. package/dist/computer-use.test.js.map +1 -0
  9. package/dist/constants.d.ts +2 -125
  10. package/dist/constants.d.ts.map +1 -1
  11. package/dist/constants.js +1 -301
  12. package/dist/constants.js.map +1 -1
  13. package/dist/index.d.ts +7 -4
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.js +5 -3
  16. package/dist/index.js.map +1 -1
  17. package/dist/project-mentions.d.ts +7 -0
  18. package/dist/project-mentions.d.ts.map +1 -1
  19. package/dist/project-mentions.js +34 -0
  20. package/dist/project-mentions.js.map +1 -1
  21. package/dist/project-mentions.test.js +6 -1
  22. package/dist/project-mentions.test.js.map +1 -1
  23. package/dist/types/app-builder.d.ts +1 -1
  24. package/dist/types/app-builder.d.ts.map +1 -1
  25. package/dist/types/index.d.ts +1 -1
  26. package/dist/types/index.d.ts.map +1 -1
  27. package/dist/types/instance.d.ts +2 -0
  28. package/dist/types/instance.d.ts.map +1 -1
  29. package/dist/types/issue.d.ts +1 -0
  30. package/dist/types/issue.d.ts.map +1 -1
  31. package/dist/types/organization-skill.d.ts +1 -0
  32. package/dist/types/organization-skill.d.ts.map +1 -1
  33. package/dist/types/plugin-v1.d.ts +158 -0
  34. package/dist/types/plugin-v1.d.ts.map +1 -0
  35. package/dist/types/plugin-v1.js +2 -0
  36. package/dist/types/plugin-v1.js.map +1 -0
  37. package/dist/validators/adapter-skills.d.ts +12 -12
  38. package/dist/validators/app-builder.d.ts +11 -11
  39. package/dist/validators/app-builder.d.ts.map +1 -1
  40. package/dist/validators/app-builder.js +13 -3
  41. package/dist/validators/app-builder.js.map +1 -1
  42. package/dist/validators/app-builder.test.js +25 -1
  43. package/dist/validators/app-builder.test.js.map +1 -1
  44. package/dist/validators/budget.d.ts +6 -6
  45. package/dist/validators/calendar.d.ts +3 -3
  46. package/dist/validators/chat.d.ts +18 -18
  47. package/dist/validators/finance.d.ts +4 -4
  48. package/dist/validators/index.d.ts +1 -1
  49. package/dist/validators/index.d.ts.map +1 -1
  50. package/dist/validators/index.js +1 -1
  51. package/dist/validators/index.js.map +1 -1
  52. package/dist/validators/instance.d.ts +12 -0
  53. package/dist/validators/instance.d.ts.map +1 -1
  54. package/dist/validators/instance.js +2 -0
  55. package/dist/validators/instance.js.map +1 -1
  56. package/dist/validators/instance.test.js +1 -0
  57. package/dist/validators/instance.test.js.map +1 -1
  58. package/dist/validators/issue.d.ts +15 -2
  59. package/dist/validators/issue.d.ts.map +1 -1
  60. package/dist/validators/issue.js +3 -0
  61. package/dist/validators/issue.js.map +1 -1
  62. package/dist/validators/issue.test.d.ts +2 -0
  63. package/dist/validators/issue.test.d.ts.map +1 -0
  64. package/dist/validators/issue.test.js +15 -0
  65. package/dist/validators/issue.test.js.map +1 -0
  66. package/dist/validators/organization-portability.d.ts +82 -82
  67. package/dist/validators/organization-skill.d.ts +34 -34
  68. package/dist/validators/plugin-v1.d.ts +183 -0
  69. package/dist/validators/plugin-v1.d.ts.map +1 -0
  70. package/dist/validators/plugin-v1.js +47 -0
  71. package/dist/validators/plugin-v1.js.map +1 -0
  72. package/dist/validators/secret.d.ts +2 -2
  73. package/package.json +10 -1
  74. package/dist/types/plugin.d.ts +0 -419
  75. package/dist/types/plugin.d.ts.map +0 -1
  76. package/dist/types/plugin.js +0 -2
  77. package/dist/types/plugin.js.map +0 -1
  78. package/dist/validators/plugin.d.ts +0 -1173
  79. package/dist/validators/plugin.d.ts.map +0 -1
  80. package/dist/validators/plugin.js +0 -547
  81. package/dist/validators/plugin.js.map +0 -1
@@ -1,1173 +0,0 @@
1
- import { z } from "zod";
2
- /**
3
- * Permissive validator for JSON Schema objects. Accepts any `Record<string, unknown>`
4
- * that contains at least a `type`, `$ref`, or composition keyword (`oneOf`/`anyOf`/`allOf`).
5
- * Empty objects are also accepted.
6
- *
7
- * Used to validate `instanceConfigSchema` and `parametersSchema` fields in the
8
- * plugin manifest without fully parsing JSON Schema.
9
- *
10
- * @see doc/engineering/PLUGIN_RUNTIME_CONTRACT.md — Manifest shape
11
- */
12
- export declare const jsonSchemaSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>;
13
- export declare const pluginJobDeclarationSchema: z.ZodObject<{
14
- jobKey: z.ZodString;
15
- displayName: z.ZodString;
16
- description: z.ZodOptional<z.ZodString>;
17
- schedule: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
18
- }, "strip", z.ZodTypeAny, {
19
- displayName: string;
20
- jobKey: string;
21
- schedule?: string | undefined;
22
- description?: string | undefined;
23
- }, {
24
- displayName: string;
25
- jobKey: string;
26
- schedule?: string | undefined;
27
- description?: string | undefined;
28
- }>;
29
- export type PluginJobDeclarationInput = z.infer<typeof pluginJobDeclarationSchema>;
30
- /**
31
- * Validates a {@link PluginWebhookDeclaration} — a webhook endpoint declared
32
- * in the plugin manifest. Requires `endpointKey` and `displayName`.
33
- *
34
- * @see doc/engineering/PLUGIN_RUNTIME_CONTRACT.md — Webhooks
35
- */
36
- export declare const pluginWebhookDeclarationSchema: z.ZodObject<{
37
- endpointKey: z.ZodString;
38
- displayName: z.ZodString;
39
- description: z.ZodOptional<z.ZodString>;
40
- }, "strip", z.ZodTypeAny, {
41
- displayName: string;
42
- endpointKey: string;
43
- description?: string | undefined;
44
- }, {
45
- displayName: string;
46
- endpointKey: string;
47
- description?: string | undefined;
48
- }>;
49
- export type PluginWebhookDeclarationInput = z.infer<typeof pluginWebhookDeclarationSchema>;
50
- /**
51
- * Validates a {@link PluginToolDeclaration} — an agent tool contributed by the
52
- * plugin. Requires `name`, `displayName`, `description`, and a valid
53
- * `parametersSchema`. Requires the `agent.tools.register` capability.
54
- *
55
- * @see doc/engineering/PLUGIN_RUNTIME_CONTRACT.md — Agent Tools
56
- */
57
- export declare const pluginToolDeclarationSchema: z.ZodObject<{
58
- name: z.ZodString;
59
- displayName: z.ZodString;
60
- description: z.ZodString;
61
- parametersSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>;
62
- }, "strip", z.ZodTypeAny, {
63
- name: string;
64
- displayName: string;
65
- description: string;
66
- parametersSchema: Record<string, unknown>;
67
- }, {
68
- name: string;
69
- displayName: string;
70
- description: string;
71
- parametersSchema: Record<string, unknown>;
72
- }>;
73
- export type PluginToolDeclarationInput = z.infer<typeof pluginToolDeclarationSchema>;
74
- /**
75
- * Validates a {@link PluginUiSlotDeclaration} — a UI extension slot the plugin
76
- * fills with a React component. Includes `superRefine` checks for slot-specific
77
- * requirements such as `entityTypes` for context-sensitive slots.
78
- *
79
- * @see doc/engineering/PLUGIN_RUNTIME_CONTRACT.md — UI Extension Model
80
- */
81
- export declare const pluginUiSlotDeclarationSchema: z.ZodEffects<z.ZodObject<{
82
- type: z.ZodEnum<["page", "detailTab", "taskDetailView", "dashboardWidget", "sidebar", "sidebarPanel", "projectSidebarItem", "globalToolbarButton", "toolbarButton", "contextMenuItem", "commentAnnotation", "commentContextMenuItem", "settingsPage"]>;
83
- id: z.ZodString;
84
- displayName: z.ZodString;
85
- exportName: z.ZodString;
86
- entityTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["project", "issue", "agent", "goal", "run", "comment"]>, "many">>;
87
- routePath: z.ZodOptional<z.ZodString>;
88
- order: z.ZodOptional<z.ZodNumber>;
89
- }, "strip", z.ZodTypeAny, {
90
- id: string;
91
- type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
92
- displayName: string;
93
- exportName: string;
94
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
95
- routePath?: string | undefined;
96
- order?: number | undefined;
97
- }, {
98
- id: string;
99
- type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
100
- displayName: string;
101
- exportName: string;
102
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
103
- routePath?: string | undefined;
104
- order?: number | undefined;
105
- }>, {
106
- id: string;
107
- type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
108
- displayName: string;
109
- exportName: string;
110
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
111
- routePath?: string | undefined;
112
- order?: number | undefined;
113
- }, {
114
- id: string;
115
- type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
116
- displayName: string;
117
- exportName: string;
118
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
119
- routePath?: string | undefined;
120
- order?: number | undefined;
121
- }>;
122
- export type PluginUiSlotDeclarationInput = z.infer<typeof pluginUiSlotDeclarationSchema>;
123
- /**
124
- * Validates the action payload for a declarative plugin launcher.
125
- */
126
- export declare const pluginLauncherActionDeclarationSchema: z.ZodEffects<z.ZodObject<{
127
- type: z.ZodEnum<["navigate", "openModal", "openDrawer", "openPopover", "performAction", "deepLink"]>;
128
- target: z.ZodString;
129
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
130
- }, "strip", z.ZodTypeAny, {
131
- target: string;
132
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
133
- params?: Record<string, unknown> | undefined;
134
- }, {
135
- target: string;
136
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
137
- params?: Record<string, unknown> | undefined;
138
- }>, {
139
- target: string;
140
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
141
- params?: Record<string, unknown> | undefined;
142
- }, {
143
- target: string;
144
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
145
- params?: Record<string, unknown> | undefined;
146
- }>;
147
- export type PluginLauncherActionDeclarationInput = z.infer<typeof pluginLauncherActionDeclarationSchema>;
148
- /**
149
- * Validates optional render hints for a plugin launcher destination.
150
- */
151
- export declare const pluginLauncherRenderDeclarationSchema: z.ZodEffects<z.ZodObject<{
152
- environment: z.ZodEnum<["hostInline", "hostOverlay", "hostRoute", "external", "iframe"]>;
153
- bounds: z.ZodOptional<z.ZodEnum<["inline", "compact", "default", "wide", "full"]>>;
154
- }, "strip", z.ZodTypeAny, {
155
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
156
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
157
- }, {
158
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
159
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
160
- }>, {
161
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
162
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
163
- }, {
164
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
165
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
166
- }>;
167
- export type PluginLauncherRenderDeclarationInput = z.infer<typeof pluginLauncherRenderDeclarationSchema>;
168
- /**
169
- * Validates declarative launcher metadata in a plugin manifest.
170
- */
171
- export declare const pluginLauncherDeclarationSchema: z.ZodEffects<z.ZodObject<{
172
- id: z.ZodString;
173
- displayName: z.ZodString;
174
- description: z.ZodOptional<z.ZodString>;
175
- placementZone: z.ZodEnum<["page", "detailTab", "taskDetailView", "dashboardWidget", "sidebar", "sidebarPanel", "projectSidebarItem", "globalToolbarButton", "toolbarButton", "contextMenuItem", "commentAnnotation", "commentContextMenuItem", "settingsPage"]>;
176
- exportName: z.ZodOptional<z.ZodString>;
177
- entityTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["project", "issue", "agent", "goal", "run", "comment"]>, "many">>;
178
- order: z.ZodOptional<z.ZodNumber>;
179
- action: z.ZodEffects<z.ZodObject<{
180
- type: z.ZodEnum<["navigate", "openModal", "openDrawer", "openPopover", "performAction", "deepLink"]>;
181
- target: z.ZodString;
182
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
183
- }, "strip", z.ZodTypeAny, {
184
- target: string;
185
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
186
- params?: Record<string, unknown> | undefined;
187
- }, {
188
- target: string;
189
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
190
- params?: Record<string, unknown> | undefined;
191
- }>, {
192
- target: string;
193
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
194
- params?: Record<string, unknown> | undefined;
195
- }, {
196
- target: string;
197
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
198
- params?: Record<string, unknown> | undefined;
199
- }>;
200
- render: z.ZodOptional<z.ZodEffects<z.ZodObject<{
201
- environment: z.ZodEnum<["hostInline", "hostOverlay", "hostRoute", "external", "iframe"]>;
202
- bounds: z.ZodOptional<z.ZodEnum<["inline", "compact", "default", "wide", "full"]>>;
203
- }, "strip", z.ZodTypeAny, {
204
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
205
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
206
- }, {
207
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
208
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
209
- }>, {
210
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
211
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
212
- }, {
213
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
214
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
215
- }>>;
216
- }, "strip", z.ZodTypeAny, {
217
- id: string;
218
- displayName: string;
219
- action: {
220
- target: string;
221
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
222
- params?: Record<string, unknown> | undefined;
223
- };
224
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
225
- description?: string | undefined;
226
- exportName?: string | undefined;
227
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
228
- order?: number | undefined;
229
- render?: {
230
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
231
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
232
- } | undefined;
233
- }, {
234
- id: string;
235
- displayName: string;
236
- action: {
237
- target: string;
238
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
239
- params?: Record<string, unknown> | undefined;
240
- };
241
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
242
- description?: string | undefined;
243
- exportName?: string | undefined;
244
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
245
- order?: number | undefined;
246
- render?: {
247
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
248
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
249
- } | undefined;
250
- }>, {
251
- id: string;
252
- displayName: string;
253
- action: {
254
- target: string;
255
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
256
- params?: Record<string, unknown> | undefined;
257
- };
258
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
259
- description?: string | undefined;
260
- exportName?: string | undefined;
261
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
262
- order?: number | undefined;
263
- render?: {
264
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
265
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
266
- } | undefined;
267
- }, {
268
- id: string;
269
- displayName: string;
270
- action: {
271
- target: string;
272
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
273
- params?: Record<string, unknown> | undefined;
274
- };
275
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
276
- description?: string | undefined;
277
- exportName?: string | undefined;
278
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
279
- order?: number | undefined;
280
- render?: {
281
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
282
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
283
- } | undefined;
284
- }>;
285
- export type PluginLauncherDeclarationInput = z.infer<typeof pluginLauncherDeclarationSchema>;
286
- /**
287
- * Zod schema for {@link PaperclipPluginManifestV1} — the complete runtime
288
- * validator for plugin manifests read at install time.
289
- *
290
- * Field-level constraints (see doc/engineering/PLUGIN_RUNTIME_CONTRACT.md for the normative rules):
291
- *
292
- * | Field | Type | Constraints |
293
- * |--------------------------|------------|----------------------------------------------|
294
- * | `id` | string | `^[a-z0-9][a-z0-9._-]*$` |
295
- * | `apiVersion` | literal 1 | must equal `PLUGIN_API_VERSION` |
296
- * | `version` | string | semver (`\d+\.\d+\.\d+`) |
297
- * | `displayName` | string | 1–100 chars |
298
- * | `description` | string | 1–500 chars |
299
- * | `author` | string | 1–200 chars |
300
- * | `categories` | enum[] | at least one; values from PLUGIN_CATEGORIES |
301
- * | `minimumHostVersion` | string? | semver lower bound if present, no leading `v`|
302
- * | `minimumPaperclipVersion`| string? | legacy alias of `minimumHostVersion` |
303
- * | `capabilities` | enum[] | at least one; values from PLUGIN_CAPABILITIES|
304
- * | `entrypoints.worker` | string | min 1 char |
305
- * | `entrypoints.ui` | string? | required when `ui.slots` is declared |
306
- *
307
- * Cross-field rules enforced via `superRefine`:
308
- * - `entrypoints.ui` required when `ui.slots` declared
309
- * - `agent.tools.register` capability required when `tools` declared
310
- * - `jobs.schedule` capability required when `jobs` declared
311
- * - `webhooks.receive` capability required when `webhooks` declared
312
- * - duplicate `jobs[].jobKey` values are rejected
313
- * - duplicate `webhooks[].endpointKey` values are rejected
314
- * - duplicate `tools[].name` values are rejected
315
- * - duplicate `ui.slots[].id` values are rejected
316
- *
317
- * @see doc/engineering/PLUGIN_RUNTIME_CONTRACT.md — Manifest shape
318
- * @see {@link PaperclipPluginManifestV1} — the inferred TypeScript type
319
- */
320
- export declare const pluginManifestV1Schema: z.ZodEffects<z.ZodObject<{
321
- id: z.ZodString;
322
- apiVersion: z.ZodLiteral<1>;
323
- version: z.ZodString;
324
- displayName: z.ZodString;
325
- description: z.ZodString;
326
- author: z.ZodString;
327
- categories: z.ZodArray<z.ZodEnum<["connector", "workspace", "automation", "ui"]>, "many">;
328
- minimumHostVersion: z.ZodOptional<z.ZodString>;
329
- minimumPaperclipVersion: z.ZodOptional<z.ZodString>;
330
- capabilities: z.ZodArray<z.ZodEnum<["organizations.read", "projects.read", "project.workspaces.read", "issues.read", "issue.comments.read", "agents.read", "goals.read", "goals.create", "goals.update", "activity.read", "costs.read", "issues.create", "issues.update", "issue.comments.create", "agents.pause", "agents.resume", "agents.invoke", "agent.sessions.create", "agent.sessions.list", "agent.sessions.send", "agent.sessions.close", "activity.log.write", "metrics.write", "plugin.state.read", "plugin.state.write", "events.subscribe", "events.emit", "jobs.schedule", "webhooks.receive", "http.outbound", "secrets.read-ref", "agent.tools.register", "instance.settings.register", "ui.sidebar.register", "ui.page.register", "ui.detailTab.register", "ui.dashboardWidget.register", "ui.commentAnnotation.register", "ui.action.register"]>, "many">;
331
- entrypoints: z.ZodObject<{
332
- worker: z.ZodString;
333
- ui: z.ZodOptional<z.ZodString>;
334
- }, "strip", z.ZodTypeAny, {
335
- worker: string;
336
- ui?: string | undefined;
337
- }, {
338
- worker: string;
339
- ui?: string | undefined;
340
- }>;
341
- instanceConfigSchema: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>;
342
- jobs: z.ZodOptional<z.ZodArray<z.ZodObject<{
343
- jobKey: z.ZodString;
344
- displayName: z.ZodString;
345
- description: z.ZodOptional<z.ZodString>;
346
- schedule: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
347
- }, "strip", z.ZodTypeAny, {
348
- displayName: string;
349
- jobKey: string;
350
- schedule?: string | undefined;
351
- description?: string | undefined;
352
- }, {
353
- displayName: string;
354
- jobKey: string;
355
- schedule?: string | undefined;
356
- description?: string | undefined;
357
- }>, "many">>;
358
- webhooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
359
- endpointKey: z.ZodString;
360
- displayName: z.ZodString;
361
- description: z.ZodOptional<z.ZodString>;
362
- }, "strip", z.ZodTypeAny, {
363
- displayName: string;
364
- endpointKey: string;
365
- description?: string | undefined;
366
- }, {
367
- displayName: string;
368
- endpointKey: string;
369
- description?: string | undefined;
370
- }>, "many">>;
371
- tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
372
- name: z.ZodString;
373
- displayName: z.ZodString;
374
- description: z.ZodString;
375
- parametersSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>;
376
- }, "strip", z.ZodTypeAny, {
377
- name: string;
378
- displayName: string;
379
- description: string;
380
- parametersSchema: Record<string, unknown>;
381
- }, {
382
- name: string;
383
- displayName: string;
384
- description: string;
385
- parametersSchema: Record<string, unknown>;
386
- }>, "many">>;
387
- launchers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
388
- id: z.ZodString;
389
- displayName: z.ZodString;
390
- description: z.ZodOptional<z.ZodString>;
391
- placementZone: z.ZodEnum<["page", "detailTab", "taskDetailView", "dashboardWidget", "sidebar", "sidebarPanel", "projectSidebarItem", "globalToolbarButton", "toolbarButton", "contextMenuItem", "commentAnnotation", "commentContextMenuItem", "settingsPage"]>;
392
- exportName: z.ZodOptional<z.ZodString>;
393
- entityTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["project", "issue", "agent", "goal", "run", "comment"]>, "many">>;
394
- order: z.ZodOptional<z.ZodNumber>;
395
- action: z.ZodEffects<z.ZodObject<{
396
- type: z.ZodEnum<["navigate", "openModal", "openDrawer", "openPopover", "performAction", "deepLink"]>;
397
- target: z.ZodString;
398
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
399
- }, "strip", z.ZodTypeAny, {
400
- target: string;
401
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
402
- params?: Record<string, unknown> | undefined;
403
- }, {
404
- target: string;
405
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
406
- params?: Record<string, unknown> | undefined;
407
- }>, {
408
- target: string;
409
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
410
- params?: Record<string, unknown> | undefined;
411
- }, {
412
- target: string;
413
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
414
- params?: Record<string, unknown> | undefined;
415
- }>;
416
- render: z.ZodOptional<z.ZodEffects<z.ZodObject<{
417
- environment: z.ZodEnum<["hostInline", "hostOverlay", "hostRoute", "external", "iframe"]>;
418
- bounds: z.ZodOptional<z.ZodEnum<["inline", "compact", "default", "wide", "full"]>>;
419
- }, "strip", z.ZodTypeAny, {
420
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
421
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
422
- }, {
423
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
424
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
425
- }>, {
426
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
427
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
428
- }, {
429
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
430
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
431
- }>>;
432
- }, "strip", z.ZodTypeAny, {
433
- id: string;
434
- displayName: string;
435
- action: {
436
- target: string;
437
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
438
- params?: Record<string, unknown> | undefined;
439
- };
440
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
441
- description?: string | undefined;
442
- exportName?: string | undefined;
443
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
444
- order?: number | undefined;
445
- render?: {
446
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
447
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
448
- } | undefined;
449
- }, {
450
- id: string;
451
- displayName: string;
452
- action: {
453
- target: string;
454
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
455
- params?: Record<string, unknown> | undefined;
456
- };
457
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
458
- description?: string | undefined;
459
- exportName?: string | undefined;
460
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
461
- order?: number | undefined;
462
- render?: {
463
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
464
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
465
- } | undefined;
466
- }>, {
467
- id: string;
468
- displayName: string;
469
- action: {
470
- target: string;
471
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
472
- params?: Record<string, unknown> | undefined;
473
- };
474
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
475
- description?: string | undefined;
476
- exportName?: string | undefined;
477
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
478
- order?: number | undefined;
479
- render?: {
480
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
481
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
482
- } | undefined;
483
- }, {
484
- id: string;
485
- displayName: string;
486
- action: {
487
- target: string;
488
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
489
- params?: Record<string, unknown> | undefined;
490
- };
491
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
492
- description?: string | undefined;
493
- exportName?: string | undefined;
494
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
495
- order?: number | undefined;
496
- render?: {
497
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
498
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
499
- } | undefined;
500
- }>, "many">>;
501
- ui: z.ZodOptional<z.ZodObject<{
502
- slots: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
503
- type: z.ZodEnum<["page", "detailTab", "taskDetailView", "dashboardWidget", "sidebar", "sidebarPanel", "projectSidebarItem", "globalToolbarButton", "toolbarButton", "contextMenuItem", "commentAnnotation", "commentContextMenuItem", "settingsPage"]>;
504
- id: z.ZodString;
505
- displayName: z.ZodString;
506
- exportName: z.ZodString;
507
- entityTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["project", "issue", "agent", "goal", "run", "comment"]>, "many">>;
508
- routePath: z.ZodOptional<z.ZodString>;
509
- order: z.ZodOptional<z.ZodNumber>;
510
- }, "strip", z.ZodTypeAny, {
511
- id: string;
512
- type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
513
- displayName: string;
514
- exportName: string;
515
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
516
- routePath?: string | undefined;
517
- order?: number | undefined;
518
- }, {
519
- id: string;
520
- type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
521
- displayName: string;
522
- exportName: string;
523
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
524
- routePath?: string | undefined;
525
- order?: number | undefined;
526
- }>, {
527
- id: string;
528
- type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
529
- displayName: string;
530
- exportName: string;
531
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
532
- routePath?: string | undefined;
533
- order?: number | undefined;
534
- }, {
535
- id: string;
536
- type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
537
- displayName: string;
538
- exportName: string;
539
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
540
- routePath?: string | undefined;
541
- order?: number | undefined;
542
- }>, "many">>;
543
- launchers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
544
- id: z.ZodString;
545
- displayName: z.ZodString;
546
- description: z.ZodOptional<z.ZodString>;
547
- placementZone: z.ZodEnum<["page", "detailTab", "taskDetailView", "dashboardWidget", "sidebar", "sidebarPanel", "projectSidebarItem", "globalToolbarButton", "toolbarButton", "contextMenuItem", "commentAnnotation", "commentContextMenuItem", "settingsPage"]>;
548
- exportName: z.ZodOptional<z.ZodString>;
549
- entityTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["project", "issue", "agent", "goal", "run", "comment"]>, "many">>;
550
- order: z.ZodOptional<z.ZodNumber>;
551
- action: z.ZodEffects<z.ZodObject<{
552
- type: z.ZodEnum<["navigate", "openModal", "openDrawer", "openPopover", "performAction", "deepLink"]>;
553
- target: z.ZodString;
554
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
555
- }, "strip", z.ZodTypeAny, {
556
- target: string;
557
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
558
- params?: Record<string, unknown> | undefined;
559
- }, {
560
- target: string;
561
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
562
- params?: Record<string, unknown> | undefined;
563
- }>, {
564
- target: string;
565
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
566
- params?: Record<string, unknown> | undefined;
567
- }, {
568
- target: string;
569
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
570
- params?: Record<string, unknown> | undefined;
571
- }>;
572
- render: z.ZodOptional<z.ZodEffects<z.ZodObject<{
573
- environment: z.ZodEnum<["hostInline", "hostOverlay", "hostRoute", "external", "iframe"]>;
574
- bounds: z.ZodOptional<z.ZodEnum<["inline", "compact", "default", "wide", "full"]>>;
575
- }, "strip", z.ZodTypeAny, {
576
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
577
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
578
- }, {
579
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
580
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
581
- }>, {
582
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
583
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
584
- }, {
585
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
586
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
587
- }>>;
588
- }, "strip", z.ZodTypeAny, {
589
- id: string;
590
- displayName: string;
591
- action: {
592
- target: string;
593
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
594
- params?: Record<string, unknown> | undefined;
595
- };
596
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
597
- description?: string | undefined;
598
- exportName?: string | undefined;
599
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
600
- order?: number | undefined;
601
- render?: {
602
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
603
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
604
- } | undefined;
605
- }, {
606
- id: string;
607
- displayName: string;
608
- action: {
609
- target: string;
610
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
611
- params?: Record<string, unknown> | undefined;
612
- };
613
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
614
- description?: string | undefined;
615
- exportName?: string | undefined;
616
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
617
- order?: number | undefined;
618
- render?: {
619
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
620
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
621
- } | undefined;
622
- }>, {
623
- id: string;
624
- displayName: string;
625
- action: {
626
- target: string;
627
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
628
- params?: Record<string, unknown> | undefined;
629
- };
630
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
631
- description?: string | undefined;
632
- exportName?: string | undefined;
633
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
634
- order?: number | undefined;
635
- render?: {
636
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
637
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
638
- } | undefined;
639
- }, {
640
- id: string;
641
- displayName: string;
642
- action: {
643
- target: string;
644
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
645
- params?: Record<string, unknown> | undefined;
646
- };
647
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
648
- description?: string | undefined;
649
- exportName?: string | undefined;
650
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
651
- order?: number | undefined;
652
- render?: {
653
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
654
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
655
- } | undefined;
656
- }>, "many">>;
657
- }, "strip", z.ZodTypeAny, {
658
- launchers?: {
659
- id: string;
660
- displayName: string;
661
- action: {
662
- target: string;
663
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
664
- params?: Record<string, unknown> | undefined;
665
- };
666
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
667
- description?: string | undefined;
668
- exportName?: string | undefined;
669
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
670
- order?: number | undefined;
671
- render?: {
672
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
673
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
674
- } | undefined;
675
- }[] | undefined;
676
- slots?: {
677
- id: string;
678
- type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
679
- displayName: string;
680
- exportName: string;
681
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
682
- routePath?: string | undefined;
683
- order?: number | undefined;
684
- }[] | undefined;
685
- }, {
686
- launchers?: {
687
- id: string;
688
- displayName: string;
689
- action: {
690
- target: string;
691
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
692
- params?: Record<string, unknown> | undefined;
693
- };
694
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
695
- description?: string | undefined;
696
- exportName?: string | undefined;
697
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
698
- order?: number | undefined;
699
- render?: {
700
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
701
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
702
- } | undefined;
703
- }[] | undefined;
704
- slots?: {
705
- id: string;
706
- type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
707
- displayName: string;
708
- exportName: string;
709
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
710
- routePath?: string | undefined;
711
- order?: number | undefined;
712
- }[] | undefined;
713
- }>>;
714
- }, "strip", z.ZodTypeAny, {
715
- version: string;
716
- id: string;
717
- displayName: string;
718
- description: string;
719
- capabilities: ("organizations.read" | "projects.read" | "project.workspaces.read" | "issues.read" | "issue.comments.read" | "agents.read" | "goals.read" | "goals.create" | "goals.update" | "activity.read" | "costs.read" | "issues.create" | "issues.update" | "issue.comments.create" | "agents.pause" | "agents.resume" | "agents.invoke" | "agent.sessions.create" | "agent.sessions.list" | "agent.sessions.send" | "agent.sessions.close" | "activity.log.write" | "metrics.write" | "plugin.state.read" | "plugin.state.write" | "events.subscribe" | "events.emit" | "jobs.schedule" | "webhooks.receive" | "http.outbound" | "secrets.read-ref" | "agent.tools.register" | "instance.settings.register" | "ui.sidebar.register" | "ui.page.register" | "ui.detailTab.register" | "ui.dashboardWidget.register" | "ui.commentAnnotation.register" | "ui.action.register")[];
720
- apiVersion: 1;
721
- author: string;
722
- categories: ("automation" | "workspace" | "connector" | "ui")[];
723
- entrypoints: {
724
- worker: string;
725
- ui?: string | undefined;
726
- };
727
- ui?: {
728
- launchers?: {
729
- id: string;
730
- displayName: string;
731
- action: {
732
- target: string;
733
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
734
- params?: Record<string, unknown> | undefined;
735
- };
736
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
737
- description?: string | undefined;
738
- exportName?: string | undefined;
739
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
740
- order?: number | undefined;
741
- render?: {
742
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
743
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
744
- } | undefined;
745
- }[] | undefined;
746
- slots?: {
747
- id: string;
748
- type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
749
- displayName: string;
750
- exportName: string;
751
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
752
- routePath?: string | undefined;
753
- order?: number | undefined;
754
- }[] | undefined;
755
- } | undefined;
756
- tools?: {
757
- name: string;
758
- displayName: string;
759
- description: string;
760
- parametersSchema: Record<string, unknown>;
761
- }[] | undefined;
762
- minimumHostVersion?: string | undefined;
763
- minimumPaperclipVersion?: string | undefined;
764
- instanceConfigSchema?: Record<string, unknown> | undefined;
765
- jobs?: {
766
- displayName: string;
767
- jobKey: string;
768
- schedule?: string | undefined;
769
- description?: string | undefined;
770
- }[] | undefined;
771
- webhooks?: {
772
- displayName: string;
773
- endpointKey: string;
774
- description?: string | undefined;
775
- }[] | undefined;
776
- launchers?: {
777
- id: string;
778
- displayName: string;
779
- action: {
780
- target: string;
781
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
782
- params?: Record<string, unknown> | undefined;
783
- };
784
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
785
- description?: string | undefined;
786
- exportName?: string | undefined;
787
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
788
- order?: number | undefined;
789
- render?: {
790
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
791
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
792
- } | undefined;
793
- }[] | undefined;
794
- }, {
795
- version: string;
796
- id: string;
797
- displayName: string;
798
- description: string;
799
- capabilities: ("organizations.read" | "projects.read" | "project.workspaces.read" | "issues.read" | "issue.comments.read" | "agents.read" | "goals.read" | "goals.create" | "goals.update" | "activity.read" | "costs.read" | "issues.create" | "issues.update" | "issue.comments.create" | "agents.pause" | "agents.resume" | "agents.invoke" | "agent.sessions.create" | "agent.sessions.list" | "agent.sessions.send" | "agent.sessions.close" | "activity.log.write" | "metrics.write" | "plugin.state.read" | "plugin.state.write" | "events.subscribe" | "events.emit" | "jobs.schedule" | "webhooks.receive" | "http.outbound" | "secrets.read-ref" | "agent.tools.register" | "instance.settings.register" | "ui.sidebar.register" | "ui.page.register" | "ui.detailTab.register" | "ui.dashboardWidget.register" | "ui.commentAnnotation.register" | "ui.action.register")[];
800
- apiVersion: 1;
801
- author: string;
802
- categories: ("automation" | "workspace" | "connector" | "ui")[];
803
- entrypoints: {
804
- worker: string;
805
- ui?: string | undefined;
806
- };
807
- ui?: {
808
- launchers?: {
809
- id: string;
810
- displayName: string;
811
- action: {
812
- target: string;
813
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
814
- params?: Record<string, unknown> | undefined;
815
- };
816
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
817
- description?: string | undefined;
818
- exportName?: string | undefined;
819
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
820
- order?: number | undefined;
821
- render?: {
822
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
823
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
824
- } | undefined;
825
- }[] | undefined;
826
- slots?: {
827
- id: string;
828
- type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
829
- displayName: string;
830
- exportName: string;
831
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
832
- routePath?: string | undefined;
833
- order?: number | undefined;
834
- }[] | undefined;
835
- } | undefined;
836
- tools?: {
837
- name: string;
838
- displayName: string;
839
- description: string;
840
- parametersSchema: Record<string, unknown>;
841
- }[] | undefined;
842
- minimumHostVersion?: string | undefined;
843
- minimumPaperclipVersion?: string | undefined;
844
- instanceConfigSchema?: Record<string, unknown> | undefined;
845
- jobs?: {
846
- displayName: string;
847
- jobKey: string;
848
- schedule?: string | undefined;
849
- description?: string | undefined;
850
- }[] | undefined;
851
- webhooks?: {
852
- displayName: string;
853
- endpointKey: string;
854
- description?: string | undefined;
855
- }[] | undefined;
856
- launchers?: {
857
- id: string;
858
- displayName: string;
859
- action: {
860
- target: string;
861
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
862
- params?: Record<string, unknown> | undefined;
863
- };
864
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
865
- description?: string | undefined;
866
- exportName?: string | undefined;
867
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
868
- order?: number | undefined;
869
- render?: {
870
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
871
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
872
- } | undefined;
873
- }[] | undefined;
874
- }>, {
875
- version: string;
876
- id: string;
877
- displayName: string;
878
- description: string;
879
- capabilities: ("organizations.read" | "projects.read" | "project.workspaces.read" | "issues.read" | "issue.comments.read" | "agents.read" | "goals.read" | "goals.create" | "goals.update" | "activity.read" | "costs.read" | "issues.create" | "issues.update" | "issue.comments.create" | "agents.pause" | "agents.resume" | "agents.invoke" | "agent.sessions.create" | "agent.sessions.list" | "agent.sessions.send" | "agent.sessions.close" | "activity.log.write" | "metrics.write" | "plugin.state.read" | "plugin.state.write" | "events.subscribe" | "events.emit" | "jobs.schedule" | "webhooks.receive" | "http.outbound" | "secrets.read-ref" | "agent.tools.register" | "instance.settings.register" | "ui.sidebar.register" | "ui.page.register" | "ui.detailTab.register" | "ui.dashboardWidget.register" | "ui.commentAnnotation.register" | "ui.action.register")[];
880
- apiVersion: 1;
881
- author: string;
882
- categories: ("automation" | "workspace" | "connector" | "ui")[];
883
- entrypoints: {
884
- worker: string;
885
- ui?: string | undefined;
886
- };
887
- ui?: {
888
- launchers?: {
889
- id: string;
890
- displayName: string;
891
- action: {
892
- target: string;
893
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
894
- params?: Record<string, unknown> | undefined;
895
- };
896
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
897
- description?: string | undefined;
898
- exportName?: string | undefined;
899
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
900
- order?: number | undefined;
901
- render?: {
902
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
903
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
904
- } | undefined;
905
- }[] | undefined;
906
- slots?: {
907
- id: string;
908
- type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
909
- displayName: string;
910
- exportName: string;
911
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
912
- routePath?: string | undefined;
913
- order?: number | undefined;
914
- }[] | undefined;
915
- } | undefined;
916
- tools?: {
917
- name: string;
918
- displayName: string;
919
- description: string;
920
- parametersSchema: Record<string, unknown>;
921
- }[] | undefined;
922
- minimumHostVersion?: string | undefined;
923
- minimumPaperclipVersion?: string | undefined;
924
- instanceConfigSchema?: Record<string, unknown> | undefined;
925
- jobs?: {
926
- displayName: string;
927
- jobKey: string;
928
- schedule?: string | undefined;
929
- description?: string | undefined;
930
- }[] | undefined;
931
- webhooks?: {
932
- displayName: string;
933
- endpointKey: string;
934
- description?: string | undefined;
935
- }[] | undefined;
936
- launchers?: {
937
- id: string;
938
- displayName: string;
939
- action: {
940
- target: string;
941
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
942
- params?: Record<string, unknown> | undefined;
943
- };
944
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
945
- description?: string | undefined;
946
- exportName?: string | undefined;
947
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
948
- order?: number | undefined;
949
- render?: {
950
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
951
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
952
- } | undefined;
953
- }[] | undefined;
954
- }, {
955
- version: string;
956
- id: string;
957
- displayName: string;
958
- description: string;
959
- capabilities: ("organizations.read" | "projects.read" | "project.workspaces.read" | "issues.read" | "issue.comments.read" | "agents.read" | "goals.read" | "goals.create" | "goals.update" | "activity.read" | "costs.read" | "issues.create" | "issues.update" | "issue.comments.create" | "agents.pause" | "agents.resume" | "agents.invoke" | "agent.sessions.create" | "agent.sessions.list" | "agent.sessions.send" | "agent.sessions.close" | "activity.log.write" | "metrics.write" | "plugin.state.read" | "plugin.state.write" | "events.subscribe" | "events.emit" | "jobs.schedule" | "webhooks.receive" | "http.outbound" | "secrets.read-ref" | "agent.tools.register" | "instance.settings.register" | "ui.sidebar.register" | "ui.page.register" | "ui.detailTab.register" | "ui.dashboardWidget.register" | "ui.commentAnnotation.register" | "ui.action.register")[];
960
- apiVersion: 1;
961
- author: string;
962
- categories: ("automation" | "workspace" | "connector" | "ui")[];
963
- entrypoints: {
964
- worker: string;
965
- ui?: string | undefined;
966
- };
967
- ui?: {
968
- launchers?: {
969
- id: string;
970
- displayName: string;
971
- action: {
972
- target: string;
973
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
974
- params?: Record<string, unknown> | undefined;
975
- };
976
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
977
- description?: string | undefined;
978
- exportName?: string | undefined;
979
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
980
- order?: number | undefined;
981
- render?: {
982
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
983
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
984
- } | undefined;
985
- }[] | undefined;
986
- slots?: {
987
- id: string;
988
- type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
989
- displayName: string;
990
- exportName: string;
991
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
992
- routePath?: string | undefined;
993
- order?: number | undefined;
994
- }[] | undefined;
995
- } | undefined;
996
- tools?: {
997
- name: string;
998
- displayName: string;
999
- description: string;
1000
- parametersSchema: Record<string, unknown>;
1001
- }[] | undefined;
1002
- minimumHostVersion?: string | undefined;
1003
- minimumPaperclipVersion?: string | undefined;
1004
- instanceConfigSchema?: Record<string, unknown> | undefined;
1005
- jobs?: {
1006
- displayName: string;
1007
- jobKey: string;
1008
- schedule?: string | undefined;
1009
- description?: string | undefined;
1010
- }[] | undefined;
1011
- webhooks?: {
1012
- displayName: string;
1013
- endpointKey: string;
1014
- description?: string | undefined;
1015
- }[] | undefined;
1016
- launchers?: {
1017
- id: string;
1018
- displayName: string;
1019
- action: {
1020
- target: string;
1021
- type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
1022
- params?: Record<string, unknown> | undefined;
1023
- };
1024
- placementZone: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
1025
- description?: string | undefined;
1026
- exportName?: string | undefined;
1027
- entityTypes?: ("issue" | "agent" | "project" | "goal" | "run" | "comment")[] | undefined;
1028
- order?: number | undefined;
1029
- render?: {
1030
- environment: "external" | "hostInline" | "hostOverlay" | "hostRoute" | "iframe";
1031
- bounds?: "full" | "inline" | "compact" | "default" | "wide" | undefined;
1032
- } | undefined;
1033
- }[] | undefined;
1034
- }>;
1035
- export type PluginManifestV1Input = z.infer<typeof pluginManifestV1Schema>;
1036
- /**
1037
- * Schema for installing (registering) a plugin.
1038
- * The server receives the packageName and resolves the manifest from the
1039
- * installed package.
1040
- */
1041
- export declare const installPluginSchema: z.ZodObject<{
1042
- packageName: z.ZodString;
1043
- version: z.ZodOptional<z.ZodString>;
1044
- /** Set by loader for local-path installs so the worker can be resolved. */
1045
- packagePath: z.ZodOptional<z.ZodString>;
1046
- }, "strip", z.ZodTypeAny, {
1047
- packageName: string;
1048
- version?: string | undefined;
1049
- packagePath?: string | undefined;
1050
- }, {
1051
- packageName: string;
1052
- version?: string | undefined;
1053
- packagePath?: string | undefined;
1054
- }>;
1055
- export type InstallPlugin = z.infer<typeof installPluginSchema>;
1056
- /**
1057
- * Schema for creating or updating a plugin's instance configuration.
1058
- * configJson is validated permissively here; runtime validation against
1059
- * the plugin's instanceConfigSchema is done at the service layer.
1060
- */
1061
- export declare const upsertPluginConfigSchema: z.ZodObject<{
1062
- configJson: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1063
- }, "strip", z.ZodTypeAny, {
1064
- configJson: Record<string, unknown>;
1065
- }, {
1066
- configJson: Record<string, unknown>;
1067
- }>;
1068
- export type UpsertPluginConfig = z.infer<typeof upsertPluginConfigSchema>;
1069
- /**
1070
- * Schema for partially updating a plugin's instance configuration.
1071
- * Allows a partial merge of config values.
1072
- */
1073
- export declare const patchPluginConfigSchema: z.ZodObject<{
1074
- configJson: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1075
- }, "strip", z.ZodTypeAny, {
1076
- configJson: Record<string, unknown>;
1077
- }, {
1078
- configJson: Record<string, unknown>;
1079
- }>;
1080
- export type PatchPluginConfig = z.infer<typeof patchPluginConfigSchema>;
1081
- /**
1082
- * Schema for updating a plugin's lifecycle status. Used by the lifecycle
1083
- * manager to persist state transitions.
1084
- *
1085
- * @see {@link PLUGIN_STATUSES} for the valid status values
1086
- */
1087
- export declare const updatePluginStatusSchema: z.ZodObject<{
1088
- status: z.ZodEnum<["installed", "ready", "disabled", "error", "upgrade_pending", "uninstalled"]>;
1089
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1090
- }, "strip", z.ZodTypeAny, {
1091
- status: "ready" | "disabled" | "error" | "installed" | "upgrade_pending" | "uninstalled";
1092
- lastError?: string | null | undefined;
1093
- }, {
1094
- status: "ready" | "disabled" | "error" | "installed" | "upgrade_pending" | "uninstalled";
1095
- lastError?: string | null | undefined;
1096
- }>;
1097
- export type UpdatePluginStatus = z.infer<typeof updatePluginStatusSchema>;
1098
- /** Schema for the uninstall request. `removeData` controls hard vs soft delete. */
1099
- export declare const uninstallPluginSchema: z.ZodObject<{
1100
- removeData: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1101
- }, "strip", z.ZodTypeAny, {
1102
- removeData: boolean;
1103
- }, {
1104
- removeData?: boolean | undefined;
1105
- }>;
1106
- export type UninstallPlugin = z.infer<typeof uninstallPluginSchema>;
1107
- /**
1108
- * Schema for a plugin state scope key — identifies the exact location where
1109
- * state is stored. Used by the `ctx.state.get()`, `ctx.state.set()`, and
1110
- * `ctx.state.delete()` SDK methods.
1111
- *
1112
- * @see doc/engineering/PLUGIN_RUNTIME_CONTRACT.md `plugin_state`
1113
- */
1114
- export declare const pluginStateScopeKeySchema: z.ZodObject<{
1115
- scopeKind: z.ZodEnum<["instance", "organization", "project", "project_workspace", "agent", "issue", "goal", "run"]>;
1116
- scopeId: z.ZodOptional<z.ZodString>;
1117
- namespace: z.ZodOptional<z.ZodString>;
1118
- stateKey: z.ZodString;
1119
- }, "strip", z.ZodTypeAny, {
1120
- scopeKind: "issue" | "organization" | "agent" | "project" | "goal" | "run" | "instance" | "project_workspace";
1121
- stateKey: string;
1122
- scopeId?: string | undefined;
1123
- namespace?: string | undefined;
1124
- }, {
1125
- scopeKind: "issue" | "organization" | "agent" | "project" | "goal" | "run" | "instance" | "project_workspace";
1126
- stateKey: string;
1127
- scopeId?: string | undefined;
1128
- namespace?: string | undefined;
1129
- }>;
1130
- export type PluginStateScopeKey = z.infer<typeof pluginStateScopeKeySchema>;
1131
- /**
1132
- * Schema for setting a plugin state value.
1133
- */
1134
- export declare const setPluginStateSchema: z.ZodObject<{
1135
- scopeKind: z.ZodEnum<["instance", "organization", "project", "project_workspace", "agent", "issue", "goal", "run"]>;
1136
- scopeId: z.ZodOptional<z.ZodString>;
1137
- namespace: z.ZodOptional<z.ZodString>;
1138
- stateKey: z.ZodString;
1139
- /** JSON-serializable value to store. */
1140
- value: z.ZodUnknown;
1141
- }, "strip", z.ZodTypeAny, {
1142
- scopeKind: "issue" | "organization" | "agent" | "project" | "goal" | "run" | "instance" | "project_workspace";
1143
- stateKey: string;
1144
- value?: unknown;
1145
- scopeId?: string | undefined;
1146
- namespace?: string | undefined;
1147
- }, {
1148
- scopeKind: "issue" | "organization" | "agent" | "project" | "goal" | "run" | "instance" | "project_workspace";
1149
- stateKey: string;
1150
- value?: unknown;
1151
- scopeId?: string | undefined;
1152
- namespace?: string | undefined;
1153
- }>;
1154
- export type SetPluginState = z.infer<typeof setPluginStateSchema>;
1155
- /**
1156
- * Schema for querying plugin state entries. All fields are optional to allow
1157
- * flexible list queries (e.g. all state for a plugin within a scope).
1158
- */
1159
- export declare const listPluginStateSchema: z.ZodObject<{
1160
- scopeKind: z.ZodOptional<z.ZodEnum<["instance", "organization", "project", "project_workspace", "agent", "issue", "goal", "run"]>>;
1161
- scopeId: z.ZodOptional<z.ZodString>;
1162
- namespace: z.ZodOptional<z.ZodString>;
1163
- }, "strip", z.ZodTypeAny, {
1164
- scopeId?: string | undefined;
1165
- namespace?: string | undefined;
1166
- scopeKind?: "issue" | "organization" | "agent" | "project" | "goal" | "run" | "instance" | "project_workspace" | undefined;
1167
- }, {
1168
- scopeId?: string | undefined;
1169
- namespace?: string | undefined;
1170
- scopeKind?: "issue" | "organization" | "agent" | "project" | "goal" | "run" | "instance" | "project_workspace" | undefined;
1171
- }>;
1172
- export type ListPluginState = z.infer<typeof listPluginStateSchema>;
1173
- //# sourceMappingURL=plugin.d.ts.map