@fideliosai/shared 2026.331.0-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. package/LICENSE +22 -0
  2. package/dist/agent-url-key.d.ts +4 -0
  3. package/dist/agent-url-key.d.ts.map +1 -0
  4. package/dist/agent-url-key.js +22 -0
  5. package/dist/agent-url-key.js.map +1 -0
  6. package/dist/api.d.ts +20 -0
  7. package/dist/api.d.ts.map +1 -0
  8. package/dist/api.js +20 -0
  9. package/dist/api.js.map +1 -0
  10. package/dist/config-schema.d.ts +905 -0
  11. package/dist/config-schema.d.ts.map +1 -0
  12. package/dist/config-schema.js +159 -0
  13. package/dist/config-schema.js.map +1 -0
  14. package/dist/constants.d.ts +224 -0
  15. package/dist/constants.d.ts.map +1 -0
  16. package/dist/constants.js +553 -0
  17. package/dist/constants.js.map +1 -0
  18. package/dist/index.d.ts +10 -0
  19. package/dist/index.d.ts.map +1 -0
  20. package/dist/index.js +9 -0
  21. package/dist/index.js.map +1 -0
  22. package/dist/project-mentions.d.ts +17 -0
  23. package/dist/project-mentions.d.ts.map +1 -0
  24. package/dist/project-mentions.js +123 -0
  25. package/dist/project-mentions.js.map +1 -0
  26. package/dist/project-mentions.test.d.ts +2 -0
  27. package/dist/project-mentions.test.d.ts.map +1 -0
  28. package/dist/project-mentions.test.js +21 -0
  29. package/dist/project-mentions.test.js.map +1 -0
  30. package/dist/project-url-key.d.ts +3 -0
  31. package/dist/project-url-key.d.ts.map +1 -0
  32. package/dist/project-url-key.js +16 -0
  33. package/dist/project-url-key.js.map +1 -0
  34. package/dist/types/access.d.ts +67 -0
  35. package/dist/types/access.d.ts.map +1 -0
  36. package/dist/types/access.js +2 -0
  37. package/dist/types/access.js.map +1 -0
  38. package/dist/types/activity.d.ts +14 -0
  39. package/dist/types/activity.d.ts.map +1 -0
  40. package/dist/types/activity.js +2 -0
  41. package/dist/types/activity.js.map +1 -0
  42. package/dist/types/adapter-skills.d.ts +31 -0
  43. package/dist/types/adapter-skills.d.ts.map +1 -0
  44. package/dist/types/adapter-skills.js +2 -0
  45. package/dist/types/adapter-skills.js.map +1 -0
  46. package/dist/types/agent.d.ts +108 -0
  47. package/dist/types/agent.d.ts.map +1 -0
  48. package/dist/types/agent.js +2 -0
  49. package/dist/types/agent.js.map +1 -0
  50. package/dist/types/approval.d.ts +26 -0
  51. package/dist/types/approval.d.ts.map +1 -0
  52. package/dist/types/approval.js +2 -0
  53. package/dist/types/approval.js.map +1 -0
  54. package/dist/types/asset.d.ts +16 -0
  55. package/dist/types/asset.d.ts.map +1 -0
  56. package/dist/types/asset.js +2 -0
  57. package/dist/types/asset.js.map +1 -0
  58. package/dist/types/budget.d.ts +86 -0
  59. package/dist/types/budget.d.ts.map +1 -0
  60. package/dist/types/budget.js +2 -0
  61. package/dist/types/budget.js.map +1 -0
  62. package/dist/types/company-portability.d.ts +276 -0
  63. package/dist/types/company-portability.d.ts.map +1 -0
  64. package/dist/types/company-portability.js +2 -0
  65. package/dist/types/company-portability.js.map +1 -0
  66. package/dist/types/company-skill.d.ts +135 -0
  67. package/dist/types/company-skill.d.ts.map +1 -0
  68. package/dist/types/company-skill.js +2 -0
  69. package/dist/types/company-skill.js.map +1 -0
  70. package/dist/types/company.d.ts +20 -0
  71. package/dist/types/company.d.ts.map +1 -0
  72. package/dist/types/company.js +2 -0
  73. package/dist/types/company.js.map +1 -0
  74. package/dist/types/cost.d.ts +106 -0
  75. package/dist/types/cost.d.ts.map +1 -0
  76. package/dist/types/cost.js +2 -0
  77. package/dist/types/cost.js.map +1 -0
  78. package/dist/types/dashboard.d.ts +28 -0
  79. package/dist/types/dashboard.d.ts.map +1 -0
  80. package/dist/types/dashboard.js +2 -0
  81. package/dist/types/dashboard.js.map +1 -0
  82. package/dist/types/finance.d.ts +57 -0
  83. package/dist/types/finance.d.ts.map +1 -0
  84. package/dist/types/finance.js +2 -0
  85. package/dist/types/finance.js.map +1 -0
  86. package/dist/types/goal.d.ts +14 -0
  87. package/dist/types/goal.d.ts.map +1 -0
  88. package/dist/types/goal.js +2 -0
  89. package/dist/types/goal.js.map +1 -0
  90. package/dist/types/heartbeat.d.ts +118 -0
  91. package/dist/types/heartbeat.d.ts.map +1 -0
  92. package/dist/types/heartbeat.js +2 -0
  93. package/dist/types/heartbeat.js.map +1 -0
  94. package/dist/types/index.d.ts +28 -0
  95. package/dist/types/index.d.ts.map +1 -0
  96. package/dist/types/index.js +2 -0
  97. package/dist/types/index.js.map +1 -0
  98. package/dist/types/instance.d.ts +15 -0
  99. package/dist/types/instance.d.ts.map +1 -0
  100. package/dist/types/instance.js +2 -0
  101. package/dist/types/instance.js.map +1 -0
  102. package/dist/types/issue.d.ts +165 -0
  103. package/dist/types/issue.d.ts.map +1 -0
  104. package/dist/types/issue.js +2 -0
  105. package/dist/types/issue.js.map +1 -0
  106. package/dist/types/live.d.ts +9 -0
  107. package/dist/types/live.d.ts.map +1 -0
  108. package/dist/types/live.js +2 -0
  109. package/dist/types/live.js.map +1 -0
  110. package/dist/types/plugin.d.ts +419 -0
  111. package/dist/types/plugin.d.ts.map +1 -0
  112. package/dist/types/plugin.js +2 -0
  113. package/dist/types/plugin.js.map +1 -0
  114. package/dist/types/project.d.ts +67 -0
  115. package/dist/types/project.d.ts.map +1 -0
  116. package/dist/types/project.js +2 -0
  117. package/dist/types/project.js.map +1 -0
  118. package/dist/types/quota.d.ts +26 -0
  119. package/dist/types/quota.d.ts.map +1 -0
  120. package/dist/types/quota.js +2 -0
  121. package/dist/types/quota.js.map +1 -0
  122. package/dist/types/routine.d.ts +113 -0
  123. package/dist/types/routine.d.ts.map +1 -0
  124. package/dist/types/routine.js +2 -0
  125. package/dist/types/routine.js.map +1 -0
  126. package/dist/types/secrets.d.ts +32 -0
  127. package/dist/types/secrets.d.ts.map +1 -0
  128. package/dist/types/secrets.js +2 -0
  129. package/dist/types/secrets.js.map +1 -0
  130. package/dist/types/sidebar-badges.d.ts +7 -0
  131. package/dist/types/sidebar-badges.d.ts.map +1 -0
  132. package/dist/types/sidebar-badges.js +2 -0
  133. package/dist/types/sidebar-badges.js.map +1 -0
  134. package/dist/types/work-product.d.ts +27 -0
  135. package/dist/types/work-product.d.ts.map +1 -0
  136. package/dist/types/work-product.js +2 -0
  137. package/dist/types/work-product.js.map +1 -0
  138. package/dist/types/workspace-operation.d.ts +26 -0
  139. package/dist/types/workspace-operation.d.ts.map +1 -0
  140. package/dist/types/workspace-operation.js +2 -0
  141. package/dist/types/workspace-operation.js.map +1 -0
  142. package/dist/types/workspace-runtime.d.ts +86 -0
  143. package/dist/types/workspace-runtime.d.ts.map +1 -0
  144. package/dist/types/workspace-runtime.js +2 -0
  145. package/dist/types/workspace-runtime.js.map +1 -0
  146. package/dist/validators/access.d.ts +136 -0
  147. package/dist/validators/access.d.ts.map +1 -0
  148. package/dist/validators/access.js +53 -0
  149. package/dist/validators/access.js.map +1 -0
  150. package/dist/validators/adapter-skills.d.ts +156 -0
  151. package/dist/validators/adapter-skills.d.ts.map +1 -0
  152. package/dist/validators/adapter-skills.js +48 -0
  153. package/dist/validators/adapter-skills.js.map +1 -0
  154. package/dist/validators/agent.d.ts +279 -0
  155. package/dist/validators/agent.d.ts.map +1 -0
  156. package/dist/validators/agent.js +85 -0
  157. package/dist/validators/agent.js.map +1 -0
  158. package/dist/validators/approval.d.ts +57 -0
  159. package/dist/validators/approval.d.ts.map +1 -0
  160. package/dist/validators/approval.js +23 -0
  161. package/dist/validators/approval.js.map +1 -0
  162. package/dist/validators/asset.d.ts +10 -0
  163. package/dist/validators/asset.d.ts.map +1 -0
  164. package/dist/validators/asset.js +11 -0
  165. package/dist/validators/asset.js.map +1 -0
  166. package/dist/validators/budget.d.ts +56 -0
  167. package/dist/validators/budget.d.ts.map +1 -0
  168. package/dist/validators/budget.js +27 -0
  169. package/dist/validators/budget.js.map +1 -0
  170. package/dist/validators/company-portability.d.ts +1656 -0
  171. package/dist/validators/company-portability.d.ts.map +1 -0
  172. package/dist/validators/company-portability.js +211 -0
  173. package/dist/validators/company-portability.js.map +1 -0
  174. package/dist/validators/company-skill.d.ts +797 -0
  175. package/dist/validators/company-skill.d.ts.map +1 -0
  176. package/dist/validators/company-skill.js +116 -0
  177. package/dist/validators/company-skill.js.map +1 -0
  178. package/dist/validators/company.d.ts +73 -0
  179. package/dist/validators/company.d.ts.map +1 -0
  180. package/dist/validators/company.js +31 -0
  181. package/dist/validators/company.js.map +1 -0
  182. package/dist/validators/cost.d.ts +92 -0
  183. package/dist/validators/cost.d.ts.map +1 -0
  184. package/dist/validators/cost.js +26 -0
  185. package/dist/validators/cost.js.map +1 -0
  186. package/dist/validators/execution-workspace.d.ts +20 -0
  187. package/dist/validators/execution-workspace.d.ts.map +1 -0
  188. package/dist/validators/execution-workspace.js +15 -0
  189. package/dist/validators/execution-workspace.js.map +1 -0
  190. package/dist/validators/finance.d.ts +129 -0
  191. package/dist/validators/finance.d.ts.map +1 -0
  192. package/dist/validators/finance.js +32 -0
  193. package/dist/validators/finance.js.map +1 -0
  194. package/dist/validators/goal.d.ts +48 -0
  195. package/dist/validators/goal.d.ts.map +1 -0
  196. package/dist/validators/goal.js +12 -0
  197. package/dist/validators/goal.js.map +1 -0
  198. package/dist/validators/index.d.ts +21 -0
  199. package/dist/validators/index.d.ts.map +1 -0
  200. package/dist/validators/index.js +21 -0
  201. package/dist/validators/index.js.map +1 -0
  202. package/dist/validators/instance.d.ts +40 -0
  203. package/dist/validators/instance.d.ts.map +1 -0
  204. package/dist/validators/instance.js +11 -0
  205. package/dist/validators/instance.js.map +1 -0
  206. package/dist/validators/issue.d.ts +427 -0
  207. package/dist/validators/issue.d.ts.map +1 -0
  208. package/dist/validators/issue.js +91 -0
  209. package/dist/validators/issue.js.map +1 -0
  210. package/dist/validators/plugin.d.ts +1173 -0
  211. package/dist/validators/plugin.d.ts.map +1 -0
  212. package/dist/validators/plugin.js +547 -0
  213. package/dist/validators/plugin.js.map +1 -0
  214. package/dist/validators/project.d.ts +583 -0
  215. package/dist/validators/project.d.ts.map +1 -0
  216. package/dist/validators/project.js +93 -0
  217. package/dist/validators/project.js.map +1 -0
  218. package/dist/validators/routine.d.ts +167 -0
  219. package/dist/validators/routine.d.ts.map +1 -0
  220. package/dist/validators/routine.js +50 -0
  221. package/dist/validators/routine.js.map +1 -0
  222. package/dist/validators/secret.d.ts +114 -0
  223. package/dist/validators/secret.d.ts.map +1 -0
  224. package/dist/validators/secret.js +35 -0
  225. package/dist/validators/secret.js.map +1 -0
  226. package/dist/validators/work-product.d.ts +105 -0
  227. package/dist/validators/work-product.d.ts.map +1 -0
  228. package/dist/validators/work-product.js +46 -0
  229. package/dist/validators/work-product.js.map +1 -0
  230. package/package.json +44 -0
@@ -0,0 +1,1173 @@
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 PLUGIN_SPEC.md §10.1 — 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
+ jobKey: string;
20
+ displayName: string;
21
+ schedule?: string | undefined;
22
+ description?: string | undefined;
23
+ }, {
24
+ jobKey: string;
25
+ displayName: 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 PLUGIN_SPEC.md §18 — 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 PLUGIN_SPEC.md §11 — 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
+ description: string;
65
+ displayName: string;
66
+ parametersSchema: Record<string, unknown>;
67
+ }, {
68
+ name: string;
69
+ description: string;
70
+ displayName: 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 PLUGIN_SPEC.md §19 — 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
+ type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
91
+ id: string;
92
+ displayName: string;
93
+ exportName: string;
94
+ entityTypes?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
95
+ routePath?: string | undefined;
96
+ order?: number | undefined;
97
+ }, {
98
+ type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
99
+ id: string;
100
+ displayName: string;
101
+ exportName: string;
102
+ entityTypes?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
103
+ routePath?: string | undefined;
104
+ order?: number | undefined;
105
+ }>, {
106
+ type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
107
+ id: string;
108
+ displayName: string;
109
+ exportName: string;
110
+ entityTypes?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
111
+ routePath?: string | undefined;
112
+ order?: number | undefined;
113
+ }, {
114
+ type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
115
+ id: string;
116
+ displayName: string;
117
+ exportName: string;
118
+ entityTypes?: ("agent" | "project" | "issue" | "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: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
156
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
157
+ }, {
158
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
159
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
160
+ }>, {
161
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
162
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
163
+ }, {
164
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
165
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | 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: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
205
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
206
+ }, {
207
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
208
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
209
+ }>, {
210
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
211
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
212
+ }, {
213
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
214
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
215
+ }>>;
216
+ }, "strip", z.ZodTypeAny, {
217
+ id: string;
218
+ action: {
219
+ target: string;
220
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
221
+ params?: Record<string, unknown> | undefined;
222
+ };
223
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
228
+ order?: number | undefined;
229
+ render?: {
230
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
231
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
232
+ } | undefined;
233
+ }, {
234
+ id: string;
235
+ action: {
236
+ target: string;
237
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
238
+ params?: Record<string, unknown> | undefined;
239
+ };
240
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
245
+ order?: number | undefined;
246
+ render?: {
247
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
248
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
249
+ } | undefined;
250
+ }>, {
251
+ id: string;
252
+ action: {
253
+ target: string;
254
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
255
+ params?: Record<string, unknown> | undefined;
256
+ };
257
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
262
+ order?: number | undefined;
263
+ render?: {
264
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
265
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
266
+ } | undefined;
267
+ }, {
268
+ id: string;
269
+ action: {
270
+ target: string;
271
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
272
+ params?: Record<string, unknown> | undefined;
273
+ };
274
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
279
+ order?: number | undefined;
280
+ render?: {
281
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
282
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
283
+ } | undefined;
284
+ }>;
285
+ export type PluginLauncherDeclarationInput = z.infer<typeof pluginLauncherDeclarationSchema>;
286
+ /**
287
+ * Zod schema for {@link FideliOSPluginManifestV1} — the complete runtime
288
+ * validator for plugin manifests read at install time.
289
+ *
290
+ * Field-level constraints (see PLUGIN_SPEC.md §10.1 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
+ * | `minimumFideliOSVersion`| 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 PLUGIN_SPEC.md §10.1 — Manifest shape
318
+ * @see {@link FideliOSPluginManifestV1} — 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
+ minimumFideliOSVersion: z.ZodOptional<z.ZodString>;
330
+ capabilities: z.ZodArray<z.ZodEnum<["companies.read", "projects.read", "project.workspaces.read", "issues.read", "issue.comments.read", "issue.documents.read", "agents.read", "goals.read", "goals.create", "goals.update", "activity.read", "costs.read", "issues.create", "issues.update", "issue.comments.create", "issue.documents.write", "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
+ jobKey: string;
349
+ displayName: string;
350
+ schedule?: string | undefined;
351
+ description?: string | undefined;
352
+ }, {
353
+ jobKey: string;
354
+ displayName: 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
+ description: string;
379
+ displayName: string;
380
+ parametersSchema: Record<string, unknown>;
381
+ }, {
382
+ name: string;
383
+ description: string;
384
+ displayName: 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: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
421
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
422
+ }, {
423
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
424
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
425
+ }>, {
426
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
427
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
428
+ }, {
429
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
430
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
431
+ }>>;
432
+ }, "strip", z.ZodTypeAny, {
433
+ id: string;
434
+ action: {
435
+ target: string;
436
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
437
+ params?: Record<string, unknown> | undefined;
438
+ };
439
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
444
+ order?: number | undefined;
445
+ render?: {
446
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
447
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
448
+ } | undefined;
449
+ }, {
450
+ id: string;
451
+ action: {
452
+ target: string;
453
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
454
+ params?: Record<string, unknown> | undefined;
455
+ };
456
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
461
+ order?: number | undefined;
462
+ render?: {
463
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
464
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
465
+ } | undefined;
466
+ }>, {
467
+ id: string;
468
+ action: {
469
+ target: string;
470
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
471
+ params?: Record<string, unknown> | undefined;
472
+ };
473
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
478
+ order?: number | undefined;
479
+ render?: {
480
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
481
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
482
+ } | undefined;
483
+ }, {
484
+ id: string;
485
+ action: {
486
+ target: string;
487
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
488
+ params?: Record<string, unknown> | undefined;
489
+ };
490
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
495
+ order?: number | undefined;
496
+ render?: {
497
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
498
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | 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
+ type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
512
+ id: string;
513
+ displayName: string;
514
+ exportName: string;
515
+ entityTypes?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
516
+ routePath?: string | undefined;
517
+ order?: number | undefined;
518
+ }, {
519
+ type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
520
+ id: string;
521
+ displayName: string;
522
+ exportName: string;
523
+ entityTypes?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
524
+ routePath?: string | undefined;
525
+ order?: number | undefined;
526
+ }>, {
527
+ type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
528
+ id: string;
529
+ displayName: string;
530
+ exportName: string;
531
+ entityTypes?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
532
+ routePath?: string | undefined;
533
+ order?: number | undefined;
534
+ }, {
535
+ type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
536
+ id: string;
537
+ displayName: string;
538
+ exportName: string;
539
+ entityTypes?: ("agent" | "project" | "issue" | "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: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
577
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
578
+ }, {
579
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
580
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
581
+ }>, {
582
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
583
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
584
+ }, {
585
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
586
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
587
+ }>>;
588
+ }, "strip", z.ZodTypeAny, {
589
+ id: string;
590
+ action: {
591
+ target: string;
592
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
593
+ params?: Record<string, unknown> | undefined;
594
+ };
595
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
600
+ order?: number | undefined;
601
+ render?: {
602
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
603
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
604
+ } | undefined;
605
+ }, {
606
+ id: string;
607
+ action: {
608
+ target: string;
609
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
610
+ params?: Record<string, unknown> | undefined;
611
+ };
612
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
617
+ order?: number | undefined;
618
+ render?: {
619
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
620
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
621
+ } | undefined;
622
+ }>, {
623
+ id: string;
624
+ action: {
625
+ target: string;
626
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
627
+ params?: Record<string, unknown> | undefined;
628
+ };
629
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
634
+ order?: number | undefined;
635
+ render?: {
636
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
637
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
638
+ } | undefined;
639
+ }, {
640
+ id: string;
641
+ action: {
642
+ target: string;
643
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
644
+ params?: Record<string, unknown> | undefined;
645
+ };
646
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
651
+ order?: number | undefined;
652
+ render?: {
653
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
654
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
655
+ } | undefined;
656
+ }>, "many">>;
657
+ }, "strip", z.ZodTypeAny, {
658
+ launchers?: {
659
+ id: string;
660
+ action: {
661
+ target: string;
662
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
663
+ params?: Record<string, unknown> | undefined;
664
+ };
665
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
670
+ order?: number | undefined;
671
+ render?: {
672
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
673
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
674
+ } | undefined;
675
+ }[] | undefined;
676
+ slots?: {
677
+ type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
678
+ id: string;
679
+ displayName: string;
680
+ exportName: string;
681
+ entityTypes?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
682
+ routePath?: string | undefined;
683
+ order?: number | undefined;
684
+ }[] | undefined;
685
+ }, {
686
+ launchers?: {
687
+ id: string;
688
+ action: {
689
+ target: string;
690
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
691
+ params?: Record<string, unknown> | undefined;
692
+ };
693
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
698
+ order?: number | undefined;
699
+ render?: {
700
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
701
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
702
+ } | undefined;
703
+ }[] | undefined;
704
+ slots?: {
705
+ type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
706
+ id: string;
707
+ displayName: string;
708
+ exportName: string;
709
+ entityTypes?: ("agent" | "project" | "issue" | "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
+ description: string;
718
+ capabilities: ("companies.read" | "projects.read" | "project.workspaces.read" | "issues.read" | "issue.comments.read" | "issue.documents.read" | "agents.read" | "goals.read" | "goals.create" | "goals.update" | "activity.read" | "costs.read" | "issues.create" | "issues.update" | "issue.comments.create" | "issue.documents.write" | "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")[];
719
+ displayName: string;
720
+ apiVersion: 1;
721
+ author: string;
722
+ categories: ("automation" | "connector" | "workspace" | "ui")[];
723
+ entrypoints: {
724
+ worker: string;
725
+ ui?: string | undefined;
726
+ };
727
+ ui?: {
728
+ launchers?: {
729
+ id: string;
730
+ action: {
731
+ target: string;
732
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
733
+ params?: Record<string, unknown> | undefined;
734
+ };
735
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
740
+ order?: number | undefined;
741
+ render?: {
742
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
743
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
744
+ } | undefined;
745
+ }[] | undefined;
746
+ slots?: {
747
+ type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
748
+ id: string;
749
+ displayName: string;
750
+ exportName: string;
751
+ entityTypes?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
752
+ routePath?: string | undefined;
753
+ order?: number | undefined;
754
+ }[] | undefined;
755
+ } | undefined;
756
+ minimumHostVersion?: string | undefined;
757
+ minimumFideliOSVersion?: string | undefined;
758
+ instanceConfigSchema?: Record<string, unknown> | undefined;
759
+ jobs?: {
760
+ jobKey: string;
761
+ displayName: string;
762
+ schedule?: string | undefined;
763
+ description?: string | undefined;
764
+ }[] | undefined;
765
+ webhooks?: {
766
+ displayName: string;
767
+ endpointKey: string;
768
+ description?: string | undefined;
769
+ }[] | undefined;
770
+ tools?: {
771
+ name: string;
772
+ description: string;
773
+ displayName: string;
774
+ parametersSchema: Record<string, unknown>;
775
+ }[] | undefined;
776
+ launchers?: {
777
+ id: string;
778
+ action: {
779
+ target: string;
780
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
781
+ params?: Record<string, unknown> | undefined;
782
+ };
783
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
788
+ order?: number | undefined;
789
+ render?: {
790
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
791
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
792
+ } | undefined;
793
+ }[] | undefined;
794
+ }, {
795
+ version: string;
796
+ id: string;
797
+ description: string;
798
+ capabilities: ("companies.read" | "projects.read" | "project.workspaces.read" | "issues.read" | "issue.comments.read" | "issue.documents.read" | "agents.read" | "goals.read" | "goals.create" | "goals.update" | "activity.read" | "costs.read" | "issues.create" | "issues.update" | "issue.comments.create" | "issue.documents.write" | "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")[];
799
+ displayName: string;
800
+ apiVersion: 1;
801
+ author: string;
802
+ categories: ("automation" | "connector" | "workspace" | "ui")[];
803
+ entrypoints: {
804
+ worker: string;
805
+ ui?: string | undefined;
806
+ };
807
+ ui?: {
808
+ launchers?: {
809
+ id: string;
810
+ action: {
811
+ target: string;
812
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
813
+ params?: Record<string, unknown> | undefined;
814
+ };
815
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
820
+ order?: number | undefined;
821
+ render?: {
822
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
823
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
824
+ } | undefined;
825
+ }[] | undefined;
826
+ slots?: {
827
+ type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
828
+ id: string;
829
+ displayName: string;
830
+ exportName: string;
831
+ entityTypes?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
832
+ routePath?: string | undefined;
833
+ order?: number | undefined;
834
+ }[] | undefined;
835
+ } | undefined;
836
+ minimumHostVersion?: string | undefined;
837
+ minimumFideliOSVersion?: string | undefined;
838
+ instanceConfigSchema?: Record<string, unknown> | undefined;
839
+ jobs?: {
840
+ jobKey: string;
841
+ displayName: string;
842
+ schedule?: string | undefined;
843
+ description?: string | undefined;
844
+ }[] | undefined;
845
+ webhooks?: {
846
+ displayName: string;
847
+ endpointKey: string;
848
+ description?: string | undefined;
849
+ }[] | undefined;
850
+ tools?: {
851
+ name: string;
852
+ description: string;
853
+ displayName: string;
854
+ parametersSchema: Record<string, unknown>;
855
+ }[] | undefined;
856
+ launchers?: {
857
+ id: string;
858
+ action: {
859
+ target: string;
860
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
861
+ params?: Record<string, unknown> | undefined;
862
+ };
863
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
868
+ order?: number | undefined;
869
+ render?: {
870
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
871
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
872
+ } | undefined;
873
+ }[] | undefined;
874
+ }>, {
875
+ version: string;
876
+ id: string;
877
+ description: string;
878
+ capabilities: ("companies.read" | "projects.read" | "project.workspaces.read" | "issues.read" | "issue.comments.read" | "issue.documents.read" | "agents.read" | "goals.read" | "goals.create" | "goals.update" | "activity.read" | "costs.read" | "issues.create" | "issues.update" | "issue.comments.create" | "issue.documents.write" | "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")[];
879
+ displayName: string;
880
+ apiVersion: 1;
881
+ author: string;
882
+ categories: ("automation" | "connector" | "workspace" | "ui")[];
883
+ entrypoints: {
884
+ worker: string;
885
+ ui?: string | undefined;
886
+ };
887
+ ui?: {
888
+ launchers?: {
889
+ id: string;
890
+ action: {
891
+ target: string;
892
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
893
+ params?: Record<string, unknown> | undefined;
894
+ };
895
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
900
+ order?: number | undefined;
901
+ render?: {
902
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
903
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
904
+ } | undefined;
905
+ }[] | undefined;
906
+ slots?: {
907
+ type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
908
+ id: string;
909
+ displayName: string;
910
+ exportName: string;
911
+ entityTypes?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
912
+ routePath?: string | undefined;
913
+ order?: number | undefined;
914
+ }[] | undefined;
915
+ } | undefined;
916
+ minimumHostVersion?: string | undefined;
917
+ minimumFideliOSVersion?: string | undefined;
918
+ instanceConfigSchema?: Record<string, unknown> | undefined;
919
+ jobs?: {
920
+ jobKey: string;
921
+ displayName: string;
922
+ schedule?: string | undefined;
923
+ description?: string | undefined;
924
+ }[] | undefined;
925
+ webhooks?: {
926
+ displayName: string;
927
+ endpointKey: string;
928
+ description?: string | undefined;
929
+ }[] | undefined;
930
+ tools?: {
931
+ name: string;
932
+ description: string;
933
+ displayName: string;
934
+ parametersSchema: Record<string, unknown>;
935
+ }[] | undefined;
936
+ launchers?: {
937
+ id: string;
938
+ action: {
939
+ target: string;
940
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
941
+ params?: Record<string, unknown> | undefined;
942
+ };
943
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
948
+ order?: number | undefined;
949
+ render?: {
950
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
951
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
952
+ } | undefined;
953
+ }[] | undefined;
954
+ }, {
955
+ version: string;
956
+ id: string;
957
+ description: string;
958
+ capabilities: ("companies.read" | "projects.read" | "project.workspaces.read" | "issues.read" | "issue.comments.read" | "issue.documents.read" | "agents.read" | "goals.read" | "goals.create" | "goals.update" | "activity.read" | "costs.read" | "issues.create" | "issues.update" | "issue.comments.create" | "issue.documents.write" | "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")[];
959
+ displayName: string;
960
+ apiVersion: 1;
961
+ author: string;
962
+ categories: ("automation" | "connector" | "workspace" | "ui")[];
963
+ entrypoints: {
964
+ worker: string;
965
+ ui?: string | undefined;
966
+ };
967
+ ui?: {
968
+ launchers?: {
969
+ id: string;
970
+ action: {
971
+ target: string;
972
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
973
+ params?: Record<string, unknown> | undefined;
974
+ };
975
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
980
+ order?: number | undefined;
981
+ render?: {
982
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
983
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | undefined;
984
+ } | undefined;
985
+ }[] | undefined;
986
+ slots?: {
987
+ type: "page" | "detailTab" | "taskDetailView" | "dashboardWidget" | "sidebar" | "sidebarPanel" | "projectSidebarItem" | "globalToolbarButton" | "toolbarButton" | "contextMenuItem" | "commentAnnotation" | "commentContextMenuItem" | "settingsPage";
988
+ id: string;
989
+ displayName: string;
990
+ exportName: string;
991
+ entityTypes?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
992
+ routePath?: string | undefined;
993
+ order?: number | undefined;
994
+ }[] | undefined;
995
+ } | undefined;
996
+ minimumHostVersion?: string | undefined;
997
+ minimumFideliOSVersion?: string | undefined;
998
+ instanceConfigSchema?: Record<string, unknown> | undefined;
999
+ jobs?: {
1000
+ jobKey: string;
1001
+ displayName: string;
1002
+ schedule?: string | undefined;
1003
+ description?: string | undefined;
1004
+ }[] | undefined;
1005
+ webhooks?: {
1006
+ displayName: string;
1007
+ endpointKey: string;
1008
+ description?: string | undefined;
1009
+ }[] | undefined;
1010
+ tools?: {
1011
+ name: string;
1012
+ description: string;
1013
+ displayName: string;
1014
+ parametersSchema: Record<string, unknown>;
1015
+ }[] | undefined;
1016
+ launchers?: {
1017
+ id: string;
1018
+ action: {
1019
+ target: string;
1020
+ type: "navigate" | "openModal" | "openDrawer" | "openPopover" | "performAction" | "deepLink";
1021
+ params?: Record<string, unknown> | undefined;
1022
+ };
1023
+ displayName: string;
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?: ("agent" | "project" | "issue" | "goal" | "run" | "comment")[] | undefined;
1028
+ order?: number | undefined;
1029
+ render?: {
1030
+ environment: "hostInline" | "hostOverlay" | "hostRoute" | "external" | "iframe";
1031
+ bounds?: "inline" | "compact" | "default" | "wide" | "full" | 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: "error" | "installed" | "ready" | "disabled" | "upgrade_pending" | "uninstalled";
1092
+ lastError?: string | null | undefined;
1093
+ }, {
1094
+ status: "error" | "installed" | "ready" | "disabled" | "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 PLUGIN_SPEC.md §21.3 `plugin_state`
1113
+ */
1114
+ export declare const pluginStateScopeKeySchema: z.ZodObject<{
1115
+ scopeKind: z.ZodEnum<["instance", "company", "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: "agent" | "company" | "project" | "issue" | "goal" | "run" | "instance" | "project_workspace";
1121
+ stateKey: string;
1122
+ scopeId?: string | undefined;
1123
+ namespace?: string | undefined;
1124
+ }, {
1125
+ scopeKind: "agent" | "company" | "project" | "issue" | "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", "company", "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: "agent" | "company" | "project" | "issue" | "goal" | "run" | "instance" | "project_workspace";
1143
+ stateKey: string;
1144
+ value?: unknown;
1145
+ scopeId?: string | undefined;
1146
+ namespace?: string | undefined;
1147
+ }, {
1148
+ scopeKind: "agent" | "company" | "project" | "issue" | "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", "company", "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?: "agent" | "company" | "project" | "issue" | "goal" | "run" | "instance" | "project_workspace" | undefined;
1167
+ }, {
1168
+ scopeId?: string | undefined;
1169
+ namespace?: string | undefined;
1170
+ scopeKind?: "agent" | "company" | "project" | "issue" | "goal" | "run" | "instance" | "project_workspace" | undefined;
1171
+ }>;
1172
+ export type ListPluginState = z.infer<typeof listPluginStateSchema>;
1173
+ //# sourceMappingURL=plugin.d.ts.map