@elevasis/ui 2.31.0 → 2.33.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.
- package/dist/{CoreAuthKitInner-KSEGSB67.js → CoreAuthKitInner-QC62UHTZ.js} +1 -1
- package/dist/api/index.js +3 -3
- package/dist/app/index.css +38 -0
- package/dist/app/index.d.ts +69 -9
- package/dist/app/index.js +7 -6
- package/dist/auth/context.js +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/charts/index.js +5 -6
- package/dist/{chunk-JKSUN5GN.js → chunk-2GMF5IRF.js} +81 -746
- package/dist/{chunk-XQHZBA65.js → chunk-2RJMVWFJ.js} +1 -6
- package/dist/{chunk-CW3UNAF2.js → chunk-4DYOXEH6.js} +410 -5
- package/dist/{chunk-HQGF4ATG.js → chunk-52NLZN6Z.js} +118 -141
- package/dist/chunk-AHCKOU2M.js +13 -0
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/chunk-DWXDNT7P.js +145 -0
- package/dist/chunk-E4T2N7P7.js +124 -0
- package/dist/{chunk-HYNYEBHM.js → chunk-E7C4XEWH.js} +3 -3
- package/dist/{chunk-L3BVJWML.js → chunk-EPTHX4VZ.js} +1 -1
- package/dist/{chunk-QDEETKYT.js → chunk-FFPHJBJC.js} +9 -9
- package/dist/chunk-GNRMB6DC.js +5126 -0
- package/dist/{chunk-DZTG5IAC.js → chunk-I2KLQ2HA.js} +1 -7
- package/dist/{chunk-Q6OYNEGR.js → chunk-IUKFNASA.js} +5 -6
- package/dist/{chunk-QHEWXU7I.js → chunk-JFL3GRD4.js} +1 -1
- package/dist/{chunk-T3IPHEYJ.js → chunk-JHT5JIJ3.js} +4410 -566
- package/dist/{chunk-L2NVFLXU.js → chunk-MHLZ4F4N.js} +4 -4
- package/dist/{chunk-XQQEKWTL.js → chunk-N55DVMAG.js} +6 -2
- package/dist/{chunk-TOIXUWR6.js → chunk-ND5TDV2J.js} +1 -1
- package/dist/{chunk-5LJAEZMA.js → chunk-NOIRGGW2.js} +5 -6
- package/dist/{chunk-7KC4P3AU.js → chunk-QNOVUCSV.js} +2 -12
- package/dist/{chunk-3BAPR3KA.js → chunk-RQA2EVN3.js} +5 -15
- package/dist/{chunk-ND42LPY4.js → chunk-TKF5S4XP.js} +6 -6
- package/dist/{chunk-DWK2QIAK.js → chunk-TYRUKGGD.js} +1 -1
- package/dist/{chunk-Y4FWCG7Y.js → chunk-UVFOURXR.js} +8 -7
- package/dist/chunk-UW7IV2Y3.js +447 -0
- package/dist/{chunk-P55BJZZW.js → chunk-V6SZ4ECN.js} +20 -5
- package/dist/{chunk-6YT4IKJ7.js → chunk-VNAZTCHA.js} +15 -0
- package/dist/chunk-XG57WXOL.js +85 -0
- package/dist/{chunk-SHQXMW4F.js → chunk-XOFSMJLF.js} +46 -28
- package/dist/{chunk-7HMCB26R.js → chunk-XZGSCABI.js} +1 -1
- package/dist/chunk-YAQ25UNM.js +2126 -0
- package/dist/chunk-ZGTDKH3P.js +467 -0
- package/dist/components/chat/index.js +1 -1
- package/dist/components/index.css +38 -0
- package/dist/components/index.d.ts +262 -51
- package/dist/components/index.js +37 -39
- package/dist/components/navigation/index.css +38 -0
- package/dist/components/navigation/index.js +5 -3
- package/dist/execution/index.d.ts +11 -2
- package/dist/execution/index.js +1 -1
- package/dist/features/auth/index.css +38 -0
- package/dist/features/auth/index.d.ts +91 -14
- package/dist/features/auth/index.js +42 -10
- package/dist/features/clients/index.css +38 -0
- package/dist/features/clients/index.d.ts +1 -1
- package/dist/features/clients/index.js +17 -15
- package/dist/features/crm/index.css +38 -0
- package/dist/features/crm/index.d.ts +80 -18
- package/dist/features/crm/index.js +17 -15
- package/dist/features/dashboard/index.css +38 -0
- package/dist/features/dashboard/index.d.ts +174 -25
- package/dist/features/dashboard/index.js +17 -16
- package/dist/features/delivery/index.css +38 -0
- package/dist/features/delivery/index.d.ts +80 -18
- package/dist/features/delivery/index.js +16 -15
- package/dist/features/knowledge/index.css +38 -0
- package/dist/features/knowledge/index.d.ts +20 -18
- package/dist/features/knowledge/index.js +114 -609
- package/dist/features/lead-gen/index.css +38 -0
- package/dist/features/lead-gen/index.d.ts +45 -43
- package/dist/features/lead-gen/index.js +17 -16
- package/dist/features/monitoring/index.css +38 -0
- package/dist/features/monitoring/index.d.ts +20 -18
- package/dist/features/monitoring/index.js +18 -17
- package/dist/features/monitoring/requests/index.css +38 -0
- package/dist/features/monitoring/requests/index.d.ts +23 -21
- package/dist/features/monitoring/requests/index.js +16 -14
- package/dist/features/operations/index.css +38 -0
- package/dist/features/operations/index.d.ts +1299 -66
- package/dist/features/operations/index.js +22 -24
- package/dist/features/seo/index.d.ts +20 -18
- package/dist/features/seo/index.js +2 -2
- package/dist/features/settings/index.css +38 -0
- package/dist/features/settings/index.d.ts +80 -18
- package/dist/features/settings/index.js +17 -15
- package/dist/graph/index.js +1 -1
- package/dist/hooks/delivery/index.css +38 -0
- package/dist/hooks/delivery/index.d.ts +60 -0
- package/dist/hooks/delivery/index.js +3 -3
- package/dist/hooks/index.css +38 -0
- package/dist/hooks/index.d.ts +492 -89
- package/dist/hooks/index.js +15 -13
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +332 -33
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
- package/dist/hooks/published.css +38 -0
- package/dist/hooks/published.d.ts +492 -89
- package/dist/hooks/published.js +15 -13
- package/dist/index.css +38 -0
- package/dist/index.d.ts +1353 -1349
- package/dist/index.js +16 -14
- package/dist/initialization/index.d.ts +60 -0
- package/dist/initialization/index.js +1 -1
- package/dist/knowledge/index.d.ts +1217 -1292
- package/dist/knowledge/index.js +6538 -2198
- package/dist/knowledge-search-index-P7PR626V.js +1514 -0
- package/dist/layout/index.js +3 -4
- package/dist/organization/index.css +38 -0
- package/dist/organization/index.js +1 -1
- package/dist/profile/index.d.ts +60 -0
- package/dist/profile/index.js +1 -1
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.css +38 -0
- package/dist/provider/index.d.ts +1068 -1246
- package/dist/provider/index.js +12 -10
- package/dist/provider/published.css +38 -0
- package/dist/provider/published.d.ts +1065 -1243
- package/dist/provider/published.js +9 -7
- package/dist/router/context.js +1 -1
- package/dist/router/index.js +1 -1
- package/dist/sse/index.js +1 -1
- package/dist/supabase/index.d.ts +117 -0
- package/dist/supabase/index.js +1 -1
- package/dist/test-utils/index.d.ts +16 -9
- package/dist/test-utils/index.js +40 -33
- package/dist/test-utils/setup-integration.js +1 -1
- package/dist/test-utils/setup.js +1 -1
- package/dist/theme/index.js +3 -3
- package/dist/theme/presets/index.js +1 -1
- package/dist/typeform/index.js +1 -1
- package/dist/typeform/schemas.js +1 -1
- package/dist/types/index.d.ts +394 -35
- package/dist/utils/index.d.ts +174 -25
- package/dist/utils/index.js +2 -2
- package/dist/vite/index.js +1 -1
- package/dist/vite-plugin-knowledge/index.js +1 -1
- package/dist/zustand/index.js +1 -1
- package/package.json +10 -9
- package/src/README.md +29 -29
- package/src/api/README.md +18 -18
- package/src/app/README.md +24 -24
- package/src/auth/README.md +18 -18
- package/src/components/README.md +24 -24
- package/src/execution/README.md +16 -16
- package/src/features/README.md +28 -28
- package/src/graph/README.md +16 -16
- package/src/hooks/README.md +23 -23
- package/src/initialization/README.md +19 -19
- package/src/knowledge/README.md +31 -31
- package/src/organization/README.md +18 -18
- package/src/profile/README.md +19 -19
- package/src/provider/README.md +32 -32
- package/src/router/README.md +18 -18
- package/src/sse/README.md +13 -13
- package/src/test-utils/README.md +7 -7
- package/src/theme/README.md +23 -23
- package/src/theme/presets/README.md +19 -19
- package/src/types/README.md +16 -16
- package/src/utils/README.md +18 -18
- package/src/zustand/README.md +18 -18
- package/dist/chunk-542WPQU2.js +0 -413
- package/dist/chunk-6IXOKUBC.js +0 -347
- package/dist/chunk-CQZ3DNQY.js +0 -740
- package/dist/chunk-ECNNI3NT.js +0 -6
- package/dist/chunk-GRDLB6LM.js +0 -160
- package/dist/chunk-JDNEWB5F.js +0 -10
- package/dist/chunk-MVFCLZSK.js +0 -4337
- package/dist/chunk-O2QOPJI5.js +0 -2235
- package/dist/chunk-OAVTMITG.js +0 -13
- package/dist/chunk-TVRQ6AQI.js +0 -476
- package/dist/chunk-WF227UBV.js +0 -48
|
@@ -107,12 +107,211 @@ interface SerializedWorkflowDefinition {
|
|
|
107
107
|
metricsConfig?: object;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
declare const ResourceKindSchema: z.ZodEnum<{
|
|
111
|
+
agent: "agent";
|
|
112
|
+
workflow: "workflow";
|
|
113
|
+
integration: "integration";
|
|
114
|
+
script: "script";
|
|
115
|
+
}>;
|
|
110
116
|
declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
|
|
111
|
-
active: "active";
|
|
112
117
|
deprecated: "deprecated";
|
|
118
|
+
active: "active";
|
|
113
119
|
archived: "archived";
|
|
114
120
|
}>;
|
|
121
|
+
declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
122
|
+
id: z.ZodString;
|
|
123
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
124
|
+
systemPath: z.ZodString;
|
|
125
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
126
|
+
status: z.ZodEnum<{
|
|
127
|
+
deprecated: "deprecated";
|
|
128
|
+
active: "active";
|
|
129
|
+
archived: "archived";
|
|
130
|
+
}>;
|
|
131
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
132
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
133
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
134
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
135
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
136
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
139
|
+
path: z.ZodString;
|
|
140
|
+
role: z.ZodEnum<{
|
|
141
|
+
schema: "schema";
|
|
142
|
+
config: "config";
|
|
143
|
+
entrypoint: "entrypoint";
|
|
144
|
+
handler: "handler";
|
|
145
|
+
test: "test";
|
|
146
|
+
docs: "docs";
|
|
147
|
+
}>;
|
|
148
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
149
|
+
description: z.ZodOptional<z.ZodString>;
|
|
150
|
+
}, z.core.$strip>>>;
|
|
151
|
+
kind: z.ZodLiteral<"workflow">;
|
|
152
|
+
actionKey: z.ZodOptional<z.ZodString>;
|
|
153
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
154
|
+
eventKey: z.ZodString;
|
|
155
|
+
label: z.ZodString;
|
|
156
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
157
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
158
|
+
deprecated: "deprecated";
|
|
159
|
+
draft: "draft";
|
|
160
|
+
beta: "beta";
|
|
161
|
+
active: "active";
|
|
162
|
+
archived: "archived";
|
|
163
|
+
}>>;
|
|
164
|
+
}, z.core.$strip>>>;
|
|
165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
166
|
+
id: z.ZodString;
|
|
167
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
168
|
+
systemPath: z.ZodString;
|
|
169
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
170
|
+
status: z.ZodEnum<{
|
|
171
|
+
deprecated: "deprecated";
|
|
172
|
+
active: "active";
|
|
173
|
+
archived: "archived";
|
|
174
|
+
}>;
|
|
175
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
176
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
177
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
178
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
179
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
180
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
181
|
+
}, z.core.$strip>>;
|
|
182
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
183
|
+
path: z.ZodString;
|
|
184
|
+
role: z.ZodEnum<{
|
|
185
|
+
schema: "schema";
|
|
186
|
+
config: "config";
|
|
187
|
+
entrypoint: "entrypoint";
|
|
188
|
+
handler: "handler";
|
|
189
|
+
test: "test";
|
|
190
|
+
docs: "docs";
|
|
191
|
+
}>;
|
|
192
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
193
|
+
description: z.ZodOptional<z.ZodString>;
|
|
194
|
+
}, z.core.$strip>>>;
|
|
195
|
+
kind: z.ZodLiteral<"agent">;
|
|
196
|
+
agentKind: z.ZodEnum<{
|
|
197
|
+
platform: "platform";
|
|
198
|
+
orchestrator: "orchestrator";
|
|
199
|
+
specialist: "specialist";
|
|
200
|
+
utility: "utility";
|
|
201
|
+
}>;
|
|
202
|
+
actsAsRoleId: z.ZodOptional<z.ZodString>;
|
|
203
|
+
sessionCapable: z.ZodBoolean;
|
|
204
|
+
invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
205
|
+
kind: z.ZodLiteral<"slash-command">;
|
|
206
|
+
command: z.ZodString;
|
|
207
|
+
toolFactory: z.ZodOptional<z.ZodString>;
|
|
208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
209
|
+
kind: z.ZodLiteral<"mcp-tool">;
|
|
210
|
+
server: z.ZodString;
|
|
211
|
+
name: z.ZodString;
|
|
212
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
213
|
+
kind: z.ZodLiteral<"api-endpoint">;
|
|
214
|
+
method: z.ZodEnum<{
|
|
215
|
+
GET: "GET";
|
|
216
|
+
POST: "POST";
|
|
217
|
+
PATCH: "PATCH";
|
|
218
|
+
DELETE: "DELETE";
|
|
219
|
+
}>;
|
|
220
|
+
path: z.ZodString;
|
|
221
|
+
requestSchema: z.ZodOptional<z.ZodString>;
|
|
222
|
+
responseSchema: z.ZodOptional<z.ZodString>;
|
|
223
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
224
|
+
kind: z.ZodLiteral<"script-execution">;
|
|
225
|
+
resourceId: z.ZodString;
|
|
226
|
+
}, z.core.$strip>], "kind">>>;
|
|
227
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
228
|
+
eventKey: z.ZodString;
|
|
229
|
+
label: z.ZodString;
|
|
230
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
231
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
232
|
+
deprecated: "deprecated";
|
|
233
|
+
draft: "draft";
|
|
234
|
+
beta: "beta";
|
|
235
|
+
active: "active";
|
|
236
|
+
archived: "archived";
|
|
237
|
+
}>>;
|
|
238
|
+
}, z.core.$strip>>>;
|
|
239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
240
|
+
id: z.ZodString;
|
|
241
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
242
|
+
systemPath: z.ZodString;
|
|
243
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
244
|
+
status: z.ZodEnum<{
|
|
245
|
+
deprecated: "deprecated";
|
|
246
|
+
active: "active";
|
|
247
|
+
archived: "archived";
|
|
248
|
+
}>;
|
|
249
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
250
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
251
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
252
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
253
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
254
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
255
|
+
}, z.core.$strip>>;
|
|
256
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
257
|
+
path: z.ZodString;
|
|
258
|
+
role: z.ZodEnum<{
|
|
259
|
+
schema: "schema";
|
|
260
|
+
config: "config";
|
|
261
|
+
entrypoint: "entrypoint";
|
|
262
|
+
handler: "handler";
|
|
263
|
+
test: "test";
|
|
264
|
+
docs: "docs";
|
|
265
|
+
}>;
|
|
266
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
267
|
+
description: z.ZodOptional<z.ZodString>;
|
|
268
|
+
}, z.core.$strip>>>;
|
|
269
|
+
kind: z.ZodLiteral<"integration">;
|
|
270
|
+
provider: z.ZodString;
|
|
271
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
272
|
+
id: z.ZodString;
|
|
273
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
274
|
+
systemPath: z.ZodString;
|
|
275
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
276
|
+
status: z.ZodEnum<{
|
|
277
|
+
deprecated: "deprecated";
|
|
278
|
+
active: "active";
|
|
279
|
+
archived: "archived";
|
|
280
|
+
}>;
|
|
281
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
282
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
283
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
284
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
285
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
286
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
287
|
+
}, z.core.$strip>>;
|
|
288
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
289
|
+
path: z.ZodString;
|
|
290
|
+
role: z.ZodEnum<{
|
|
291
|
+
schema: "schema";
|
|
292
|
+
config: "config";
|
|
293
|
+
entrypoint: "entrypoint";
|
|
294
|
+
handler: "handler";
|
|
295
|
+
test: "test";
|
|
296
|
+
docs: "docs";
|
|
297
|
+
}>;
|
|
298
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
299
|
+
description: z.ZodOptional<z.ZodString>;
|
|
300
|
+
}, z.core.$strip>>>;
|
|
301
|
+
kind: z.ZodLiteral<"script">;
|
|
302
|
+
language: z.ZodEnum<{
|
|
303
|
+
shell: "shell";
|
|
304
|
+
sql: "sql";
|
|
305
|
+
typescript: "typescript";
|
|
306
|
+
python: "python";
|
|
307
|
+
}>;
|
|
308
|
+
source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
309
|
+
file: z.ZodString;
|
|
310
|
+
}, z.core.$strip>]>;
|
|
311
|
+
}, z.core.$strip>], "kind">;
|
|
312
|
+
type ResourceKind = z.infer<typeof ResourceKindSchema>;
|
|
115
313
|
type ResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
|
|
314
|
+
type ResourceEntry = z.infer<typeof ResourceEntrySchema>;
|
|
116
315
|
|
|
117
316
|
/**
|
|
118
317
|
* Memory type definitions
|
|
@@ -155,6 +354,100 @@ interface AgentMemory {
|
|
|
155
354
|
history: MemoryEntry[];
|
|
156
355
|
}
|
|
157
356
|
|
|
357
|
+
declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
358
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
359
|
+
id: z.ZodString;
|
|
360
|
+
label: z.ZodOptional<z.ZodString>;
|
|
361
|
+
description: z.ZodOptional<z.ZodString>;
|
|
362
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
363
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
364
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
365
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
366
|
+
}, z.core.$loose>>>>;
|
|
367
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
368
|
+
id: z.ZodString;
|
|
369
|
+
label: z.ZodOptional<z.ZodString>;
|
|
370
|
+
description: z.ZodOptional<z.ZodString>;
|
|
371
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
372
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
373
|
+
from: z.ZodString;
|
|
374
|
+
to: z.ZodString;
|
|
375
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
376
|
+
via: z.ZodOptional<z.ZodString>;
|
|
377
|
+
}, z.core.$loose>>>>;
|
|
378
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
379
|
+
id: z.ZodString;
|
|
380
|
+
label: z.ZodOptional<z.ZodString>;
|
|
381
|
+
description: z.ZodOptional<z.ZodString>;
|
|
382
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
383
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
384
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
385
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
386
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
387
|
+
}, z.core.$loose>>>>;
|
|
388
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
389
|
+
id: z.ZodString;
|
|
390
|
+
label: z.ZodOptional<z.ZodString>;
|
|
391
|
+
description: z.ZodOptional<z.ZodString>;
|
|
392
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
393
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
394
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
395
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
396
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
397
|
+
}, z.core.$loose>>>>;
|
|
398
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
399
|
+
id: z.ZodString;
|
|
400
|
+
label: z.ZodOptional<z.ZodString>;
|
|
401
|
+
description: z.ZodOptional<z.ZodString>;
|
|
402
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
403
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
404
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
405
|
+
}, z.core.$loose>>>>;
|
|
406
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
407
|
+
id: z.ZodString;
|
|
408
|
+
label: z.ZodOptional<z.ZodString>;
|
|
409
|
+
description: z.ZodOptional<z.ZodString>;
|
|
410
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
411
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
412
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
413
|
+
}, z.core.$loose>>>>;
|
|
414
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
415
|
+
id: z.ZodString;
|
|
416
|
+
label: z.ZodOptional<z.ZodString>;
|
|
417
|
+
description: z.ZodOptional<z.ZodString>;
|
|
418
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
419
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
420
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
421
|
+
}, z.core.$loose>>>>;
|
|
422
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
423
|
+
id: z.ZodString;
|
|
424
|
+
label: z.ZodOptional<z.ZodString>;
|
|
425
|
+
description: z.ZodOptional<z.ZodString>;
|
|
426
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
427
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
428
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
429
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
430
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
431
|
+
}, z.core.$loose>>>>;
|
|
432
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
433
|
+
id: z.ZodString;
|
|
434
|
+
label: z.ZodOptional<z.ZodString>;
|
|
435
|
+
description: z.ZodOptional<z.ZodString>;
|
|
436
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
437
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
438
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
439
|
+
}, z.core.$loose>>>>;
|
|
440
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
441
|
+
id: z.ZodString;
|
|
442
|
+
label: z.ZodOptional<z.ZodString>;
|
|
443
|
+
description: z.ZodOptional<z.ZodString>;
|
|
444
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
445
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
446
|
+
route: z.ZodOptional<z.ZodString>;
|
|
447
|
+
}, z.core.$loose>>>>;
|
|
448
|
+
}, z.core.$strip>>;
|
|
449
|
+
type OntologyScope = z.infer<typeof OntologyScopeSchema>;
|
|
450
|
+
|
|
158
451
|
/**
|
|
159
452
|
* Session Data Transfer Object (DTO)
|
|
160
453
|
* Transform type for API responses (snake_case DB → camelCase frontend)
|
|
@@ -257,26 +550,72 @@ interface DashboardMetrics {
|
|
|
257
550
|
*/
|
|
258
551
|
type AIResourceDefinition = SerializedWorkflowDefinition | SerializedAgentDefinition;
|
|
259
552
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
deprecated: "deprecated";
|
|
276
|
-
archived: "archived";
|
|
277
|
-
}>;
|
|
553
|
+
/**
|
|
554
|
+
* Placeholder discriminated union for ContentNode (Wave 1A).
|
|
555
|
+
* Wave 2A wires concrete (kind, type) pairs via the registry.
|
|
556
|
+
*
|
|
557
|
+
* Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
|
|
558
|
+
* Per L14: every node carries BOTH `kind` and `type`.
|
|
559
|
+
*/
|
|
560
|
+
declare const ContentNodeSchema: z.ZodObject<{
|
|
561
|
+
label: z.ZodString;
|
|
562
|
+
description: z.ZodOptional<z.ZodString>;
|
|
563
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
564
|
+
parentContentId: z.ZodOptional<z.ZodString>;
|
|
565
|
+
kind: z.ZodString;
|
|
566
|
+
type: z.ZodString;
|
|
567
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
278
568
|
}, z.core.$strip>;
|
|
279
|
-
type
|
|
569
|
+
type ContentNode = z.infer<typeof ContentNodeSchema>;
|
|
570
|
+
|
|
571
|
+
type JsonPrimitive = string | number | boolean | null;
|
|
572
|
+
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
573
|
+
[key: string]: JsonValue;
|
|
574
|
+
};
|
|
575
|
+
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
576
|
+
interface SystemEntry {
|
|
577
|
+
id: string;
|
|
578
|
+
label?: string;
|
|
579
|
+
title?: string;
|
|
580
|
+
description?: string;
|
|
581
|
+
kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
|
|
582
|
+
parentSystemId?: string;
|
|
583
|
+
ui?: {
|
|
584
|
+
path: string;
|
|
585
|
+
surfaces: string[];
|
|
586
|
+
icon?: string;
|
|
587
|
+
order?: number;
|
|
588
|
+
};
|
|
589
|
+
lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
|
|
590
|
+
responsibleRoleId?: string;
|
|
591
|
+
governedByKnowledge?: string[];
|
|
592
|
+
actions?: {
|
|
593
|
+
actionId: string;
|
|
594
|
+
intent: 'exposes' | 'consumes';
|
|
595
|
+
invocation?: unknown;
|
|
596
|
+
}[];
|
|
597
|
+
policies?: string[];
|
|
598
|
+
drivesGoals?: string[];
|
|
599
|
+
/** @deprecated Use lifecycle. Accepted for one publish cycle. */
|
|
600
|
+
status?: 'active' | 'deprecated' | 'archived';
|
|
601
|
+
path?: string;
|
|
602
|
+
icon?: string;
|
|
603
|
+
color?: string;
|
|
604
|
+
uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
|
|
605
|
+
enabled?: boolean;
|
|
606
|
+
devOnly?: boolean;
|
|
607
|
+
requiresAdmin?: boolean;
|
|
608
|
+
order: number;
|
|
609
|
+
config?: Record<string, JsonValue>;
|
|
610
|
+
ontology?: OntologyScope;
|
|
611
|
+
systems?: Record<string, SystemEntry>;
|
|
612
|
+
/**
|
|
613
|
+
* @deprecated Compatibility-only bridge for old tenant data and migration readers.
|
|
614
|
+
* Author new semantic catalogs in `ontology` and local settings in `config`.
|
|
615
|
+
*/
|
|
616
|
+
content?: Record<string, ContentNode>;
|
|
617
|
+
subsystems?: Record<string, SystemEntry>;
|
|
618
|
+
}
|
|
280
619
|
|
|
281
620
|
/**
|
|
282
621
|
* Resource Registry type definitions
|
|
@@ -291,7 +630,7 @@ type ResourceStatus = 'dev' | 'prod';
|
|
|
291
630
|
* Used as the discriminator field in ResourceDefinition
|
|
292
631
|
*/
|
|
293
632
|
type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
|
|
294
|
-
type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | '
|
|
633
|
+
type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | 'lifecycle'>;
|
|
295
634
|
/**
|
|
296
635
|
* Base interface for ALL platform resources
|
|
297
636
|
* Shared by both executable (agents, workflows) and non-executable (triggers, integrations, etc.) resources
|
|
@@ -317,8 +656,8 @@ interface ResourceDefinition {
|
|
|
317
656
|
sessionCapable?: boolean;
|
|
318
657
|
/** Whether the resource is local (monorepo) or remote (externally deployed) */
|
|
319
658
|
origin?: 'local' | 'remote';
|
|
320
|
-
/** OM System membership, when backed by a Resource descriptor */
|
|
321
|
-
|
|
659
|
+
/** OM System membership — dot-separated system path (e.g. "sys.lead-gen"), when backed by a Resource descriptor */
|
|
660
|
+
systemPath?: string;
|
|
322
661
|
/** Display metadata for the owning OM System */
|
|
323
662
|
system?: ResourceSystemSummary;
|
|
324
663
|
/** Governance lifecycle status from the OM Resource descriptor */
|
|
@@ -327,16 +666,871 @@ interface ResourceDefinition {
|
|
|
327
666
|
archived?: boolean;
|
|
328
667
|
}
|
|
329
668
|
|
|
669
|
+
declare const SurfaceTypeSchema: z.ZodEnum<{
|
|
670
|
+
dashboard: "dashboard";
|
|
671
|
+
settings: "settings";
|
|
672
|
+
graph: "graph";
|
|
673
|
+
list: "list";
|
|
674
|
+
page: "page";
|
|
675
|
+
detail: "detail";
|
|
676
|
+
}>;
|
|
677
|
+
interface SidebarSurfaceNode {
|
|
678
|
+
type: 'surface';
|
|
679
|
+
label: string;
|
|
680
|
+
path: string;
|
|
681
|
+
surfaceType: z.infer<typeof SurfaceTypeSchema>;
|
|
682
|
+
description?: string;
|
|
683
|
+
icon?: string;
|
|
684
|
+
order?: number;
|
|
685
|
+
targets?: {
|
|
686
|
+
systems?: string[];
|
|
687
|
+
entities?: string[];
|
|
688
|
+
resources?: string[];
|
|
689
|
+
actions?: string[];
|
|
690
|
+
};
|
|
691
|
+
devOnly?: boolean;
|
|
692
|
+
requiresAdmin?: boolean;
|
|
693
|
+
}
|
|
694
|
+
interface SidebarGroupNode {
|
|
695
|
+
type: 'group';
|
|
696
|
+
label: string;
|
|
697
|
+
description?: string;
|
|
698
|
+
icon?: string;
|
|
699
|
+
order?: number;
|
|
700
|
+
children: Record<string, SidebarNode>;
|
|
701
|
+
}
|
|
702
|
+
type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
|
|
703
|
+
|
|
704
|
+
declare const OrganizationModelSchema: z.ZodObject<{
|
|
705
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
706
|
+
domainMetadata: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
707
|
+
branding: z.ZodOptional<z.ZodObject<{
|
|
708
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
709
|
+
lastModified: z.ZodString;
|
|
710
|
+
}, z.core.$strip>>;
|
|
711
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
712
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
713
|
+
lastModified: z.ZodString;
|
|
714
|
+
}, z.core.$strip>>;
|
|
715
|
+
customers: z.ZodOptional<z.ZodObject<{
|
|
716
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
717
|
+
lastModified: z.ZodString;
|
|
718
|
+
}, z.core.$strip>>;
|
|
719
|
+
offerings: z.ZodOptional<z.ZodObject<{
|
|
720
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
721
|
+
lastModified: z.ZodString;
|
|
722
|
+
}, z.core.$strip>>;
|
|
723
|
+
roles: z.ZodOptional<z.ZodObject<{
|
|
724
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
725
|
+
lastModified: z.ZodString;
|
|
726
|
+
}, z.core.$strip>>;
|
|
727
|
+
goals: z.ZodOptional<z.ZodObject<{
|
|
728
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
729
|
+
lastModified: z.ZodString;
|
|
730
|
+
}, z.core.$strip>>;
|
|
731
|
+
systems: z.ZodOptional<z.ZodObject<{
|
|
732
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
733
|
+
lastModified: z.ZodString;
|
|
734
|
+
}, z.core.$strip>>;
|
|
735
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
736
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
737
|
+
lastModified: z.ZodString;
|
|
738
|
+
}, z.core.$strip>>;
|
|
739
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
740
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
741
|
+
lastModified: z.ZodString;
|
|
742
|
+
}, z.core.$strip>>;
|
|
743
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
744
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
745
|
+
lastModified: z.ZodString;
|
|
746
|
+
}, z.core.$strip>>;
|
|
747
|
+
entities: z.ZodOptional<z.ZodObject<{
|
|
748
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
749
|
+
lastModified: z.ZodString;
|
|
750
|
+
}, z.core.$strip>>;
|
|
751
|
+
policies: z.ZodOptional<z.ZodObject<{
|
|
752
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
753
|
+
lastModified: z.ZodString;
|
|
754
|
+
}, z.core.$strip>>;
|
|
755
|
+
knowledge: z.ZodOptional<z.ZodObject<{
|
|
756
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
757
|
+
lastModified: z.ZodString;
|
|
758
|
+
}, z.core.$strip>>;
|
|
759
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
760
|
+
branding: {
|
|
761
|
+
version: 1;
|
|
762
|
+
lastModified: string;
|
|
763
|
+
};
|
|
764
|
+
identity: {
|
|
765
|
+
version: 1;
|
|
766
|
+
lastModified: string;
|
|
767
|
+
};
|
|
768
|
+
customers: {
|
|
769
|
+
version: 1;
|
|
770
|
+
lastModified: string;
|
|
771
|
+
};
|
|
772
|
+
offerings: {
|
|
773
|
+
version: 1;
|
|
774
|
+
lastModified: string;
|
|
775
|
+
};
|
|
776
|
+
roles: {
|
|
777
|
+
version: 1;
|
|
778
|
+
lastModified: string;
|
|
779
|
+
};
|
|
780
|
+
goals: {
|
|
781
|
+
version: 1;
|
|
782
|
+
lastModified: string;
|
|
783
|
+
};
|
|
784
|
+
systems: {
|
|
785
|
+
version: 1;
|
|
786
|
+
lastModified: string;
|
|
787
|
+
};
|
|
788
|
+
ontology: {
|
|
789
|
+
version: 1;
|
|
790
|
+
lastModified: string;
|
|
791
|
+
};
|
|
792
|
+
resources: {
|
|
793
|
+
version: 1;
|
|
794
|
+
lastModified: string;
|
|
795
|
+
};
|
|
796
|
+
actions: {
|
|
797
|
+
version: 1;
|
|
798
|
+
lastModified: string;
|
|
799
|
+
};
|
|
800
|
+
entities: {
|
|
801
|
+
version: 1;
|
|
802
|
+
lastModified: string;
|
|
803
|
+
};
|
|
804
|
+
policies: {
|
|
805
|
+
version: 1;
|
|
806
|
+
lastModified: string;
|
|
807
|
+
};
|
|
808
|
+
knowledge: {
|
|
809
|
+
version: 1;
|
|
810
|
+
lastModified: string;
|
|
811
|
+
};
|
|
812
|
+
}, {
|
|
813
|
+
branding?: {
|
|
814
|
+
version: 1;
|
|
815
|
+
lastModified: string;
|
|
816
|
+
} | undefined;
|
|
817
|
+
identity?: {
|
|
818
|
+
version: 1;
|
|
819
|
+
lastModified: string;
|
|
820
|
+
} | undefined;
|
|
821
|
+
customers?: {
|
|
822
|
+
version: 1;
|
|
823
|
+
lastModified: string;
|
|
824
|
+
} | undefined;
|
|
825
|
+
offerings?: {
|
|
826
|
+
version: 1;
|
|
827
|
+
lastModified: string;
|
|
828
|
+
} | undefined;
|
|
829
|
+
roles?: {
|
|
830
|
+
version: 1;
|
|
831
|
+
lastModified: string;
|
|
832
|
+
} | undefined;
|
|
833
|
+
goals?: {
|
|
834
|
+
version: 1;
|
|
835
|
+
lastModified: string;
|
|
836
|
+
} | undefined;
|
|
837
|
+
systems?: {
|
|
838
|
+
version: 1;
|
|
839
|
+
lastModified: string;
|
|
840
|
+
} | undefined;
|
|
841
|
+
ontology?: {
|
|
842
|
+
version: 1;
|
|
843
|
+
lastModified: string;
|
|
844
|
+
} | undefined;
|
|
845
|
+
resources?: {
|
|
846
|
+
version: 1;
|
|
847
|
+
lastModified: string;
|
|
848
|
+
} | undefined;
|
|
849
|
+
actions?: {
|
|
850
|
+
version: 1;
|
|
851
|
+
lastModified: string;
|
|
852
|
+
} | undefined;
|
|
853
|
+
entities?: {
|
|
854
|
+
version: 1;
|
|
855
|
+
lastModified: string;
|
|
856
|
+
} | undefined;
|
|
857
|
+
policies?: {
|
|
858
|
+
version: 1;
|
|
859
|
+
lastModified: string;
|
|
860
|
+
} | undefined;
|
|
861
|
+
knowledge?: {
|
|
862
|
+
version: 1;
|
|
863
|
+
lastModified: string;
|
|
864
|
+
} | undefined;
|
|
865
|
+
}>>;
|
|
866
|
+
branding: z.ZodObject<{
|
|
867
|
+
organizationName: z.ZodString;
|
|
868
|
+
productName: z.ZodString;
|
|
869
|
+
shortName: z.ZodString;
|
|
870
|
+
description: z.ZodOptional<z.ZodString>;
|
|
871
|
+
logos: z.ZodDefault<z.ZodObject<{
|
|
872
|
+
light: z.ZodOptional<z.ZodString>;
|
|
873
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
874
|
+
}, z.core.$strip>>;
|
|
875
|
+
}, z.core.$strip>;
|
|
876
|
+
navigation: z.ZodDefault<z.ZodObject<{
|
|
877
|
+
sidebar: z.ZodDefault<z.ZodObject<{
|
|
878
|
+
primary: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
879
|
+
bottom: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
880
|
+
}, z.core.$strip>>;
|
|
881
|
+
}, z.core.$strip>>;
|
|
882
|
+
identity: z.ZodDefault<z.ZodObject<{
|
|
883
|
+
mission: z.ZodDefault<z.ZodString>;
|
|
884
|
+
vision: z.ZodDefault<z.ZodString>;
|
|
885
|
+
legalName: z.ZodDefault<z.ZodString>;
|
|
886
|
+
entityType: z.ZodDefault<z.ZodString>;
|
|
887
|
+
jurisdiction: z.ZodDefault<z.ZodString>;
|
|
888
|
+
industryCategory: z.ZodDefault<z.ZodString>;
|
|
889
|
+
geographicFocus: z.ZodDefault<z.ZodString>;
|
|
890
|
+
timeZone: z.ZodDefault<z.ZodString>;
|
|
891
|
+
businessHours: z.ZodDefault<z.ZodObject<{
|
|
892
|
+
monday: z.ZodOptional<z.ZodObject<{
|
|
893
|
+
open: z.ZodString;
|
|
894
|
+
close: z.ZodString;
|
|
895
|
+
}, z.core.$strip>>;
|
|
896
|
+
tuesday: z.ZodOptional<z.ZodObject<{
|
|
897
|
+
open: z.ZodString;
|
|
898
|
+
close: z.ZodString;
|
|
899
|
+
}, z.core.$strip>>;
|
|
900
|
+
wednesday: z.ZodOptional<z.ZodObject<{
|
|
901
|
+
open: z.ZodString;
|
|
902
|
+
close: z.ZodString;
|
|
903
|
+
}, z.core.$strip>>;
|
|
904
|
+
thursday: z.ZodOptional<z.ZodObject<{
|
|
905
|
+
open: z.ZodString;
|
|
906
|
+
close: z.ZodString;
|
|
907
|
+
}, z.core.$strip>>;
|
|
908
|
+
friday: z.ZodOptional<z.ZodObject<{
|
|
909
|
+
open: z.ZodString;
|
|
910
|
+
close: z.ZodString;
|
|
911
|
+
}, z.core.$strip>>;
|
|
912
|
+
saturday: z.ZodOptional<z.ZodObject<{
|
|
913
|
+
open: z.ZodString;
|
|
914
|
+
close: z.ZodString;
|
|
915
|
+
}, z.core.$strip>>;
|
|
916
|
+
sunday: z.ZodOptional<z.ZodObject<{
|
|
917
|
+
open: z.ZodString;
|
|
918
|
+
close: z.ZodString;
|
|
919
|
+
}, z.core.$strip>>;
|
|
920
|
+
}, z.core.$strip>>;
|
|
921
|
+
clientBrief: z.ZodDefault<z.ZodString>;
|
|
922
|
+
}, z.core.$strip>>;
|
|
923
|
+
customers: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
924
|
+
id: z.ZodString;
|
|
925
|
+
order: z.ZodNumber;
|
|
926
|
+
name: z.ZodDefault<z.ZodString>;
|
|
927
|
+
description: z.ZodDefault<z.ZodString>;
|
|
928
|
+
jobsToBeDone: z.ZodDefault<z.ZodString>;
|
|
929
|
+
pains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
930
|
+
gains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
931
|
+
firmographics: z.ZodDefault<z.ZodObject<{
|
|
932
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
933
|
+
companySize: z.ZodOptional<z.ZodString>;
|
|
934
|
+
region: z.ZodOptional<z.ZodString>;
|
|
935
|
+
}, z.core.$strip>>;
|
|
936
|
+
valueProp: z.ZodDefault<z.ZodString>;
|
|
937
|
+
}, z.core.$strip>>>>;
|
|
938
|
+
offerings: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
939
|
+
id: z.ZodString;
|
|
940
|
+
order: z.ZodNumber;
|
|
941
|
+
name: z.ZodDefault<z.ZodString>;
|
|
942
|
+
description: z.ZodDefault<z.ZodString>;
|
|
943
|
+
pricingModel: z.ZodDefault<z.ZodEnum<{
|
|
944
|
+
custom: "custom";
|
|
945
|
+
"one-time": "one-time";
|
|
946
|
+
subscription: "subscription";
|
|
947
|
+
"usage-based": "usage-based";
|
|
948
|
+
}>>;
|
|
949
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
950
|
+
currency: z.ZodDefault<z.ZodString>;
|
|
951
|
+
targetSegmentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
952
|
+
deliveryFeatureId: z.ZodOptional<z.ZodString>;
|
|
953
|
+
}, z.core.$strip>>>>;
|
|
954
|
+
roles: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
955
|
+
id: z.ZodString;
|
|
956
|
+
order: z.ZodNumber;
|
|
957
|
+
title: z.ZodString;
|
|
958
|
+
responsibilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
959
|
+
reportsToId: z.ZodOptional<z.ZodString>;
|
|
960
|
+
heldBy: z.ZodOptional<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
961
|
+
kind: z.ZodLiteral<"human">;
|
|
962
|
+
userId: z.ZodString;
|
|
963
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
964
|
+
kind: z.ZodLiteral<"agent">;
|
|
965
|
+
agentId: z.ZodString;
|
|
966
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
967
|
+
kind: z.ZodLiteral<"team">;
|
|
968
|
+
memberIds: z.ZodArray<z.ZodString>;
|
|
969
|
+
}, z.core.$strip>], "kind">, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
970
|
+
kind: z.ZodLiteral<"human">;
|
|
971
|
+
userId: z.ZodString;
|
|
972
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
973
|
+
kind: z.ZodLiteral<"agent">;
|
|
974
|
+
agentId: z.ZodString;
|
|
975
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
976
|
+
kind: z.ZodLiteral<"team">;
|
|
977
|
+
memberIds: z.ZodArray<z.ZodString>;
|
|
978
|
+
}, z.core.$strip>], "kind">>]>>;
|
|
979
|
+
responsibleFor: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
980
|
+
}, z.core.$strip>>>>;
|
|
981
|
+
goals: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
982
|
+
id: z.ZodString;
|
|
983
|
+
order: z.ZodNumber;
|
|
984
|
+
description: z.ZodString;
|
|
985
|
+
periodStart: z.ZodString;
|
|
986
|
+
periodEnd: z.ZodString;
|
|
987
|
+
keyResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
988
|
+
id: z.ZodString;
|
|
989
|
+
description: z.ZodString;
|
|
990
|
+
targetMetric: z.ZodString;
|
|
991
|
+
currentValue: z.ZodDefault<z.ZodNumber>;
|
|
992
|
+
targetValue: z.ZodOptional<z.ZodNumber>;
|
|
993
|
+
}, z.core.$strip>>>;
|
|
994
|
+
}, z.core.$strip>>>>;
|
|
995
|
+
systems: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SystemEntry, unknown, z.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
|
|
996
|
+
ontology: z.ZodDefault<z.ZodDefault<z.ZodObject<{
|
|
997
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
998
|
+
id: z.ZodString;
|
|
999
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1002
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1003
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1004
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1005
|
+
}, z.core.$loose>>>>;
|
|
1006
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1007
|
+
id: z.ZodString;
|
|
1008
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1009
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1010
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1011
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1012
|
+
from: z.ZodString;
|
|
1013
|
+
to: z.ZodString;
|
|
1014
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
1015
|
+
via: z.ZodOptional<z.ZodString>;
|
|
1016
|
+
}, z.core.$loose>>>>;
|
|
1017
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1018
|
+
id: z.ZodString;
|
|
1019
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1020
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1021
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1022
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1023
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
1024
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1025
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1026
|
+
}, z.core.$loose>>>>;
|
|
1027
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1028
|
+
id: z.ZodString;
|
|
1029
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1030
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1031
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1033
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
1035
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1036
|
+
}, z.core.$loose>>>>;
|
|
1037
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1038
|
+
id: z.ZodString;
|
|
1039
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1040
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1041
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1042
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1043
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1044
|
+
}, z.core.$loose>>>>;
|
|
1045
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1046
|
+
id: z.ZodString;
|
|
1047
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1048
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1049
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1051
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1052
|
+
}, z.core.$loose>>>>;
|
|
1053
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1054
|
+
id: z.ZodString;
|
|
1055
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1056
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1057
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1058
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1059
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
1060
|
+
}, z.core.$loose>>>>;
|
|
1061
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1062
|
+
id: z.ZodString;
|
|
1063
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1064
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1066
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1067
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
1068
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
1069
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
1070
|
+
}, z.core.$loose>>>>;
|
|
1071
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1072
|
+
id: z.ZodString;
|
|
1073
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1075
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1076
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1077
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
1078
|
+
}, z.core.$loose>>>>;
|
|
1079
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1080
|
+
id: z.ZodString;
|
|
1081
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1082
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1083
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1084
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1085
|
+
route: z.ZodOptional<z.ZodString>;
|
|
1086
|
+
}, z.core.$loose>>>>;
|
|
1087
|
+
}, z.core.$strip>>>;
|
|
1088
|
+
resources: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1089
|
+
id: z.ZodString;
|
|
1090
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
1091
|
+
systemPath: z.ZodString;
|
|
1092
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
1093
|
+
status: z.ZodEnum<{
|
|
1094
|
+
deprecated: "deprecated";
|
|
1095
|
+
active: "active";
|
|
1096
|
+
archived: "archived";
|
|
1097
|
+
}>;
|
|
1098
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
1099
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1100
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1101
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1102
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1103
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1104
|
+
}, z.core.$strip>>;
|
|
1105
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1106
|
+
path: z.ZodString;
|
|
1107
|
+
role: z.ZodEnum<{
|
|
1108
|
+
schema: "schema";
|
|
1109
|
+
config: "config";
|
|
1110
|
+
entrypoint: "entrypoint";
|
|
1111
|
+
handler: "handler";
|
|
1112
|
+
test: "test";
|
|
1113
|
+
docs: "docs";
|
|
1114
|
+
}>;
|
|
1115
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1117
|
+
}, z.core.$strip>>>;
|
|
1118
|
+
kind: z.ZodLiteral<"workflow">;
|
|
1119
|
+
actionKey: z.ZodOptional<z.ZodString>;
|
|
1120
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1121
|
+
eventKey: z.ZodString;
|
|
1122
|
+
label: z.ZodString;
|
|
1123
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
1125
|
+
deprecated: "deprecated";
|
|
1126
|
+
draft: "draft";
|
|
1127
|
+
beta: "beta";
|
|
1128
|
+
active: "active";
|
|
1129
|
+
archived: "archived";
|
|
1130
|
+
}>>;
|
|
1131
|
+
}, z.core.$strip>>>;
|
|
1132
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1133
|
+
id: z.ZodString;
|
|
1134
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
1135
|
+
systemPath: z.ZodString;
|
|
1136
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
1137
|
+
status: z.ZodEnum<{
|
|
1138
|
+
deprecated: "deprecated";
|
|
1139
|
+
active: "active";
|
|
1140
|
+
archived: "archived";
|
|
1141
|
+
}>;
|
|
1142
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
1143
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1144
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1145
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1146
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1147
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1148
|
+
}, z.core.$strip>>;
|
|
1149
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1150
|
+
path: z.ZodString;
|
|
1151
|
+
role: z.ZodEnum<{
|
|
1152
|
+
schema: "schema";
|
|
1153
|
+
config: "config";
|
|
1154
|
+
entrypoint: "entrypoint";
|
|
1155
|
+
handler: "handler";
|
|
1156
|
+
test: "test";
|
|
1157
|
+
docs: "docs";
|
|
1158
|
+
}>;
|
|
1159
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1160
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1161
|
+
}, z.core.$strip>>>;
|
|
1162
|
+
kind: z.ZodLiteral<"agent">;
|
|
1163
|
+
agentKind: z.ZodEnum<{
|
|
1164
|
+
platform: "platform";
|
|
1165
|
+
orchestrator: "orchestrator";
|
|
1166
|
+
specialist: "specialist";
|
|
1167
|
+
utility: "utility";
|
|
1168
|
+
}>;
|
|
1169
|
+
actsAsRoleId: z.ZodOptional<z.ZodString>;
|
|
1170
|
+
sessionCapable: z.ZodBoolean;
|
|
1171
|
+
invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1172
|
+
kind: z.ZodLiteral<"slash-command">;
|
|
1173
|
+
command: z.ZodString;
|
|
1174
|
+
toolFactory: z.ZodOptional<z.ZodString>;
|
|
1175
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1176
|
+
kind: z.ZodLiteral<"mcp-tool">;
|
|
1177
|
+
server: z.ZodString;
|
|
1178
|
+
name: z.ZodString;
|
|
1179
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1180
|
+
kind: z.ZodLiteral<"api-endpoint">;
|
|
1181
|
+
method: z.ZodEnum<{
|
|
1182
|
+
GET: "GET";
|
|
1183
|
+
POST: "POST";
|
|
1184
|
+
PATCH: "PATCH";
|
|
1185
|
+
DELETE: "DELETE";
|
|
1186
|
+
}>;
|
|
1187
|
+
path: z.ZodString;
|
|
1188
|
+
requestSchema: z.ZodOptional<z.ZodString>;
|
|
1189
|
+
responseSchema: z.ZodOptional<z.ZodString>;
|
|
1190
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1191
|
+
kind: z.ZodLiteral<"script-execution">;
|
|
1192
|
+
resourceId: z.ZodString;
|
|
1193
|
+
}, z.core.$strip>], "kind">>>;
|
|
1194
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1195
|
+
eventKey: z.ZodString;
|
|
1196
|
+
label: z.ZodString;
|
|
1197
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
1198
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
1199
|
+
deprecated: "deprecated";
|
|
1200
|
+
draft: "draft";
|
|
1201
|
+
beta: "beta";
|
|
1202
|
+
active: "active";
|
|
1203
|
+
archived: "archived";
|
|
1204
|
+
}>>;
|
|
1205
|
+
}, z.core.$strip>>>;
|
|
1206
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1207
|
+
id: z.ZodString;
|
|
1208
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
1209
|
+
systemPath: z.ZodString;
|
|
1210
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
1211
|
+
status: z.ZodEnum<{
|
|
1212
|
+
deprecated: "deprecated";
|
|
1213
|
+
active: "active";
|
|
1214
|
+
archived: "archived";
|
|
1215
|
+
}>;
|
|
1216
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
1217
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1218
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1219
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1220
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1221
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1222
|
+
}, z.core.$strip>>;
|
|
1223
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1224
|
+
path: z.ZodString;
|
|
1225
|
+
role: z.ZodEnum<{
|
|
1226
|
+
schema: "schema";
|
|
1227
|
+
config: "config";
|
|
1228
|
+
entrypoint: "entrypoint";
|
|
1229
|
+
handler: "handler";
|
|
1230
|
+
test: "test";
|
|
1231
|
+
docs: "docs";
|
|
1232
|
+
}>;
|
|
1233
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1234
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1235
|
+
}, z.core.$strip>>>;
|
|
1236
|
+
kind: z.ZodLiteral<"integration">;
|
|
1237
|
+
provider: z.ZodString;
|
|
1238
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1239
|
+
id: z.ZodString;
|
|
1240
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
1241
|
+
systemPath: z.ZodString;
|
|
1242
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
1243
|
+
status: z.ZodEnum<{
|
|
1244
|
+
deprecated: "deprecated";
|
|
1245
|
+
active: "active";
|
|
1246
|
+
archived: "archived";
|
|
1247
|
+
}>;
|
|
1248
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
1249
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1250
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1251
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1252
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1253
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1254
|
+
}, z.core.$strip>>;
|
|
1255
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1256
|
+
path: z.ZodString;
|
|
1257
|
+
role: z.ZodEnum<{
|
|
1258
|
+
schema: "schema";
|
|
1259
|
+
config: "config";
|
|
1260
|
+
entrypoint: "entrypoint";
|
|
1261
|
+
handler: "handler";
|
|
1262
|
+
test: "test";
|
|
1263
|
+
docs: "docs";
|
|
1264
|
+
}>;
|
|
1265
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1266
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1267
|
+
}, z.core.$strip>>>;
|
|
1268
|
+
kind: z.ZodLiteral<"script">;
|
|
1269
|
+
language: z.ZodEnum<{
|
|
1270
|
+
shell: "shell";
|
|
1271
|
+
sql: "sql";
|
|
1272
|
+
typescript: "typescript";
|
|
1273
|
+
python: "python";
|
|
1274
|
+
}>;
|
|
1275
|
+
source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1276
|
+
file: z.ZodString;
|
|
1277
|
+
}, z.core.$strip>]>;
|
|
1278
|
+
}, z.core.$strip>], "kind">>>>;
|
|
1279
|
+
actions: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1280
|
+
id: z.ZodString;
|
|
1281
|
+
order: z.ZodNumber;
|
|
1282
|
+
label: z.ZodString;
|
|
1283
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1284
|
+
scope: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"global">, z.ZodObject<{
|
|
1285
|
+
domain: z.ZodString;
|
|
1286
|
+
}, z.core.$strip>]>>;
|
|
1287
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1288
|
+
affects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1289
|
+
invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1290
|
+
kind: z.ZodLiteral<"slash-command">;
|
|
1291
|
+
command: z.ZodString;
|
|
1292
|
+
toolFactory: z.ZodOptional<z.ZodString>;
|
|
1293
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1294
|
+
kind: z.ZodLiteral<"mcp-tool">;
|
|
1295
|
+
server: z.ZodString;
|
|
1296
|
+
name: z.ZodString;
|
|
1297
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1298
|
+
kind: z.ZodLiteral<"api-endpoint">;
|
|
1299
|
+
method: z.ZodEnum<{
|
|
1300
|
+
GET: "GET";
|
|
1301
|
+
POST: "POST";
|
|
1302
|
+
PATCH: "PATCH";
|
|
1303
|
+
DELETE: "DELETE";
|
|
1304
|
+
}>;
|
|
1305
|
+
path: z.ZodString;
|
|
1306
|
+
requestSchema: z.ZodOptional<z.ZodString>;
|
|
1307
|
+
responseSchema: z.ZodOptional<z.ZodString>;
|
|
1308
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1309
|
+
kind: z.ZodLiteral<"script-execution">;
|
|
1310
|
+
resourceId: z.ZodString;
|
|
1311
|
+
}, z.core.$strip>], "kind">>>;
|
|
1312
|
+
knowledge: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
1313
|
+
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
1314
|
+
deprecated: "deprecated";
|
|
1315
|
+
draft: "draft";
|
|
1316
|
+
beta: "beta";
|
|
1317
|
+
active: "active";
|
|
1318
|
+
archived: "archived";
|
|
1319
|
+
}>>;
|
|
1320
|
+
}, z.core.$strip>>>>;
|
|
1321
|
+
entities: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1322
|
+
id: z.ZodString;
|
|
1323
|
+
order: z.ZodNumber;
|
|
1324
|
+
label: z.ZodString;
|
|
1325
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1326
|
+
ownedBySystemId: z.ZodString;
|
|
1327
|
+
table: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
rowSchema: z.ZodOptional<z.ZodString>;
|
|
1329
|
+
stateCatalogId: z.ZodOptional<z.ZodString>;
|
|
1330
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1331
|
+
toEntity: z.ZodString;
|
|
1332
|
+
kind: z.ZodEnum<{
|
|
1333
|
+
"belongs-to": "belongs-to";
|
|
1334
|
+
"has-many": "has-many";
|
|
1335
|
+
"has-one": "has-one";
|
|
1336
|
+
"many-to-many": "many-to-many";
|
|
1337
|
+
}>;
|
|
1338
|
+
via: z.ZodOptional<z.ZodString>;
|
|
1339
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
}, z.core.$strip>>>;
|
|
1341
|
+
}, z.core.$strip>>>>;
|
|
1342
|
+
policies: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1343
|
+
id: z.ZodString;
|
|
1344
|
+
order: z.ZodNumber;
|
|
1345
|
+
label: z.ZodString;
|
|
1346
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1347
|
+
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1348
|
+
kind: z.ZodLiteral<"event">;
|
|
1349
|
+
eventId: z.ZodString;
|
|
1350
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1351
|
+
kind: z.ZodLiteral<"action-invocation">;
|
|
1352
|
+
actionId: z.ZodString;
|
|
1353
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1354
|
+
kind: z.ZodLiteral<"schedule">;
|
|
1355
|
+
cron: z.ZodString;
|
|
1356
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1357
|
+
kind: z.ZodLiteral<"manual">;
|
|
1358
|
+
}, z.core.$strip>], "kind">;
|
|
1359
|
+
predicate: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1360
|
+
kind: z.ZodLiteral<"always">;
|
|
1361
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1362
|
+
kind: z.ZodLiteral<"expression">;
|
|
1363
|
+
expression: z.ZodString;
|
|
1364
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1365
|
+
kind: z.ZodLiteral<"threshold">;
|
|
1366
|
+
metric: z.ZodString;
|
|
1367
|
+
operator: z.ZodEnum<{
|
|
1368
|
+
lt: "lt";
|
|
1369
|
+
lte: "lte";
|
|
1370
|
+
eq: "eq";
|
|
1371
|
+
gte: "gte";
|
|
1372
|
+
gt: "gt";
|
|
1373
|
+
}>;
|
|
1374
|
+
value: z.ZodNumber;
|
|
1375
|
+
}, z.core.$strip>], "kind">>;
|
|
1376
|
+
actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1377
|
+
kind: z.ZodLiteral<"require-approval">;
|
|
1378
|
+
roleId: z.ZodOptional<z.ZodString>;
|
|
1379
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1380
|
+
kind: z.ZodLiteral<"invoke-action">;
|
|
1381
|
+
actionId: z.ZodString;
|
|
1382
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1383
|
+
kind: z.ZodLiteral<"notify-role">;
|
|
1384
|
+
roleId: z.ZodString;
|
|
1385
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1386
|
+
kind: z.ZodLiteral<"block">;
|
|
1387
|
+
}, z.core.$strip>], "kind">>;
|
|
1388
|
+
appliesTo: z.ZodDefault<z.ZodObject<{
|
|
1389
|
+
systemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1390
|
+
actionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1391
|
+
resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1392
|
+
roleIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1393
|
+
}, z.core.$strip>>;
|
|
1394
|
+
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
1395
|
+
deprecated: "deprecated";
|
|
1396
|
+
draft: "draft";
|
|
1397
|
+
beta: "beta";
|
|
1398
|
+
active: "active";
|
|
1399
|
+
archived: "archived";
|
|
1400
|
+
}>>;
|
|
1401
|
+
}, z.core.$strip>>>>;
|
|
1402
|
+
knowledge: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1403
|
+
id: z.ZodString;
|
|
1404
|
+
kind: z.ZodEnum<{
|
|
1405
|
+
playbook: "playbook";
|
|
1406
|
+
strategy: "strategy";
|
|
1407
|
+
reference: "reference";
|
|
1408
|
+
}>;
|
|
1409
|
+
title: z.ZodString;
|
|
1410
|
+
summary: z.ZodString;
|
|
1411
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1412
|
+
message: "message";
|
|
1413
|
+
error: "error";
|
|
1414
|
+
agent: "agent";
|
|
1415
|
+
workflow: "workflow";
|
|
1416
|
+
"google-sheets": "google-sheets";
|
|
1417
|
+
dashboard: "dashboard";
|
|
1418
|
+
calendar: "calendar";
|
|
1419
|
+
sales: "sales";
|
|
1420
|
+
crm: "crm";
|
|
1421
|
+
"lead-gen": "lead-gen";
|
|
1422
|
+
projects: "projects";
|
|
1423
|
+
operations: "operations";
|
|
1424
|
+
monitoring: "monitoring";
|
|
1425
|
+
knowledge: "knowledge";
|
|
1426
|
+
settings: "settings";
|
|
1427
|
+
admin: "admin";
|
|
1428
|
+
archive: "archive";
|
|
1429
|
+
business: "business";
|
|
1430
|
+
finance: "finance";
|
|
1431
|
+
platform: "platform";
|
|
1432
|
+
seo: "seo";
|
|
1433
|
+
playbook: "playbook";
|
|
1434
|
+
strategy: "strategy";
|
|
1435
|
+
reference: "reference";
|
|
1436
|
+
integration: "integration";
|
|
1437
|
+
database: "database";
|
|
1438
|
+
user: "user";
|
|
1439
|
+
team: "team";
|
|
1440
|
+
gmail: "gmail";
|
|
1441
|
+
attio: "attio";
|
|
1442
|
+
overview: "overview";
|
|
1443
|
+
"command-view": "command-view";
|
|
1444
|
+
"command-queue": "command-queue";
|
|
1445
|
+
pipeline: "pipeline";
|
|
1446
|
+
lists: "lists";
|
|
1447
|
+
resources: "resources";
|
|
1448
|
+
approve: "approve";
|
|
1449
|
+
reject: "reject";
|
|
1450
|
+
retry: "retry";
|
|
1451
|
+
edit: "edit";
|
|
1452
|
+
view: "view";
|
|
1453
|
+
launch: "launch";
|
|
1454
|
+
escalate: "escalate";
|
|
1455
|
+
promote: "promote";
|
|
1456
|
+
submit: "submit";
|
|
1457
|
+
email: "email";
|
|
1458
|
+
success: "success";
|
|
1459
|
+
warning: "warning";
|
|
1460
|
+
info: "info";
|
|
1461
|
+
pending: "pending";
|
|
1462
|
+
bolt: "bolt";
|
|
1463
|
+
building: "building";
|
|
1464
|
+
briefcase: "briefcase";
|
|
1465
|
+
apps: "apps";
|
|
1466
|
+
graph: "graph";
|
|
1467
|
+
shield: "shield";
|
|
1468
|
+
users: "users";
|
|
1469
|
+
"chart-bar": "chart-bar";
|
|
1470
|
+
search: "search";
|
|
1471
|
+
}>, z.ZodString]>>;
|
|
1472
|
+
externalUrl: z.ZodOptional<z.ZodString>;
|
|
1473
|
+
sourceFilePath: z.ZodOptional<z.ZodString>;
|
|
1474
|
+
body: z.ZodString;
|
|
1475
|
+
links: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
1476
|
+
target: z.ZodObject<{
|
|
1477
|
+
kind: z.ZodEnum<{
|
|
1478
|
+
knowledge: "knowledge";
|
|
1479
|
+
system: "system";
|
|
1480
|
+
action: "action";
|
|
1481
|
+
ontology: "ontology";
|
|
1482
|
+
role: "role";
|
|
1483
|
+
goal: "goal";
|
|
1484
|
+
stage: "stage";
|
|
1485
|
+
resource: "resource";
|
|
1486
|
+
"customer-segment": "customer-segment";
|
|
1487
|
+
offering: "offering";
|
|
1488
|
+
"content-node": "content-node";
|
|
1489
|
+
}>;
|
|
1490
|
+
id: z.ZodString;
|
|
1491
|
+
}, z.core.$strip>;
|
|
1492
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1493
|
+
nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
1494
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
1495
|
+
target: {
|
|
1496
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
1497
|
+
id: string;
|
|
1498
|
+
};
|
|
1499
|
+
nodeId: string;
|
|
1500
|
+
}, {
|
|
1501
|
+
nodeId: string;
|
|
1502
|
+
} | {
|
|
1503
|
+
target: {
|
|
1504
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
1505
|
+
id: string;
|
|
1506
|
+
};
|
|
1507
|
+
}>>>>;
|
|
1508
|
+
ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1509
|
+
updatedAt: z.ZodString;
|
|
1510
|
+
}, z.core.$strip>>>>;
|
|
1511
|
+
}, z.core.$strip>;
|
|
1512
|
+
|
|
1513
|
+
type OrganizationModel = z.infer<typeof OrganizationModelSchema>;
|
|
1514
|
+
|
|
330
1515
|
declare const LinkSchema: z.ZodObject<{
|
|
331
1516
|
nodeId: z.ZodString;
|
|
332
1517
|
kind: z.ZodEnum<{
|
|
1518
|
+
links: "links";
|
|
1519
|
+
affects: "affects";
|
|
1520
|
+
effects: "effects";
|
|
1521
|
+
implements: "implements";
|
|
1522
|
+
reads: "reads";
|
|
1523
|
+
writes: "writes";
|
|
1524
|
+
emits: "emits";
|
|
333
1525
|
contains: "contains";
|
|
334
1526
|
references: "references";
|
|
335
|
-
exposes: "exposes";
|
|
336
1527
|
maps_to: "maps_to";
|
|
337
|
-
"operates-on": "operates-on";
|
|
338
1528
|
uses: "uses";
|
|
339
1529
|
governs: "governs";
|
|
1530
|
+
originates_from: "originates_from";
|
|
1531
|
+
triggers: "triggers";
|
|
1532
|
+
applies_to: "applies_to";
|
|
1533
|
+
uses_catalog: "uses_catalog";
|
|
340
1534
|
}>;
|
|
341
1535
|
}, z.core.$strip>;
|
|
342
1536
|
type Link = z.infer<typeof LinkSchema>;
|
|
@@ -526,32 +1720,34 @@ interface UseExecutionPanelStateOptions {
|
|
|
526
1720
|
|
|
527
1721
|
type TaskFilterStatus = 'all' | 'pending' | 'completed' | 'expired';
|
|
528
1722
|
|
|
529
|
-
type
|
|
530
|
-
type
|
|
1723
|
+
type SystemSidebarComponent = ComponentType;
|
|
1724
|
+
type SystemIconComponent = ComponentType<{
|
|
531
1725
|
size?: number;
|
|
532
1726
|
stroke?: number;
|
|
533
1727
|
}>;
|
|
534
|
-
type
|
|
1728
|
+
type SystemSidebarWidthResolver = number | ((context: {
|
|
535
1729
|
currentPath: string;
|
|
536
1730
|
}) => number);
|
|
537
|
-
interface
|
|
538
|
-
/** Unique stable identifier for this
|
|
1731
|
+
interface SystemModule {
|
|
1732
|
+
/** Unique stable identifier for this UI system module. */
|
|
539
1733
|
key: string;
|
|
540
|
-
/** Organization Model
|
|
541
|
-
|
|
542
|
-
/**
|
|
1734
|
+
/** Organization Model system id this module presents. Omit for navigation-only app surfaces. */
|
|
1735
|
+
systemId?: string;
|
|
1736
|
+
/** Route prefixes owned by navigation-only app surfaces. */
|
|
1737
|
+
routePrefixes?: string[];
|
|
1738
|
+
/** Capability identifiers contributed by this system module. */
|
|
543
1739
|
capabilityIds?: string[];
|
|
544
|
-
/** Icon used when this
|
|
545
|
-
icon?:
|
|
546
|
-
/** Sidebar component rendered when this
|
|
547
|
-
sidebar?:
|
|
1740
|
+
/** Icon used when this system node appears in shell navigation. */
|
|
1741
|
+
icon?: SystemIconComponent;
|
|
1742
|
+
/** Sidebar component rendered when this system's subtree route is active. */
|
|
1743
|
+
sidebar?: SystemSidebarComponent;
|
|
548
1744
|
/** Optional shell sidebar width override. Defaults to 250px. */
|
|
549
|
-
sidebarWidth?:
|
|
550
|
-
/** Operations-only bridge connecting this
|
|
551
|
-
organizationGraph?:
|
|
1745
|
+
sidebarWidth?: SystemSidebarWidthResolver;
|
|
1746
|
+
/** Operations-only bridge connecting this system to the organization graph node. */
|
|
1747
|
+
organizationGraph?: OrganizationGraphSystemBridge;
|
|
552
1748
|
}
|
|
553
|
-
interface
|
|
554
|
-
|
|
1749
|
+
interface OrganizationGraphSystemBridge {
|
|
1750
|
+
systemId?: string;
|
|
555
1751
|
}
|
|
556
1752
|
|
|
557
1753
|
interface CommandQueuePageProps {
|
|
@@ -593,21 +1789,6 @@ interface OrganizationGraphPageProps {
|
|
|
593
1789
|
}
|
|
594
1790
|
declare function OrganizationGraphPage({ lens, timeRange }: OrganizationGraphPageProps): react_jsx_runtime.JSX.Element;
|
|
595
1791
|
|
|
596
|
-
interface CommandViewSidebarContentProps {
|
|
597
|
-
/** Current time range value — caller passes from its own store (e.g. useAppStore) */
|
|
598
|
-
timeRange: TimeRange;
|
|
599
|
-
}
|
|
600
|
-
/**
|
|
601
|
-
* Contextual sidebar for the Command View page.
|
|
602
|
-
* Shown in the shared Operations subshell sidebar when on /operations/command-view.
|
|
603
|
-
*
|
|
604
|
-
* Contains:
|
|
605
|
-
* - Execution health donut chart
|
|
606
|
-
* - Graph filter and visibility controls
|
|
607
|
-
* - Selected node details + executions/tasks (lazy loaded)
|
|
608
|
-
*/
|
|
609
|
-
declare function CommandViewSidebarContent({ timeRange }: CommandViewSidebarContentProps): react_jsx_runtime.JSX.Element;
|
|
610
|
-
|
|
611
1792
|
type ExecutionSelectionControlProps$2 = Pick<UseExecutionPanelStateOptions, 'selectedId' | 'onSelectedIdChange'>;
|
|
612
1793
|
interface ExecutionPanelProps extends ExecutionSelectionControlProps$2 {
|
|
613
1794
|
resourceId: string;
|
|
@@ -865,23 +2046,75 @@ declare const OperationsSidebarTop: () => null;
|
|
|
865
2046
|
declare const OperationsSidebarMiddle: () => react_jsx_runtime.JSX.Element;
|
|
866
2047
|
|
|
867
2048
|
interface CommandQueueShellProps {
|
|
868
|
-
/** @deprecated Sidebar is now rendered by OperationsSidebarMiddle via the
|
|
2049
|
+
/** @deprecated Sidebar is now rendered by OperationsSidebarMiddle via the SystemShell. */
|
|
869
2050
|
selectedCheckpoint?: string | undefined;
|
|
870
|
-
/** @deprecated Sidebar is now rendered by OperationsSidebarMiddle via the
|
|
2051
|
+
/** @deprecated Sidebar is now rendered by OperationsSidebarMiddle via the SystemShell. */
|
|
871
2052
|
onSelectCheckpoint?: (checkpoint: string | undefined) => void;
|
|
872
|
-
/** @deprecated Sidebar is now rendered by OperationsSidebarMiddle via the
|
|
2053
|
+
/** @deprecated Sidebar is now rendered by OperationsSidebarMiddle via the SystemShell. */
|
|
873
2054
|
status?: TaskFilterStatus;
|
|
874
|
-
/** @deprecated Sidebar is now rendered by OperationsSidebarMiddle via the
|
|
2055
|
+
/** @deprecated Sidebar is now rendered by OperationsSidebarMiddle via the SystemShell. */
|
|
875
2056
|
onStatusChange?: (status: TaskFilterStatus) => void;
|
|
876
|
-
/** @deprecated Sidebar is now rendered by OperationsSidebarMiddle via the
|
|
2057
|
+
/** @deprecated Sidebar is now rendered by OperationsSidebarMiddle via the SystemShell. */
|
|
877
2058
|
priorityRange?: [number, number];
|
|
878
|
-
/** @deprecated Sidebar is now rendered by OperationsSidebarMiddle via the
|
|
2059
|
+
/** @deprecated Sidebar is now rendered by OperationsSidebarMiddle via the SystemShell. */
|
|
879
2060
|
onPriorityRangeChange?: (range: [number, number]) => void;
|
|
880
2061
|
children: ReactNode;
|
|
881
2062
|
}
|
|
882
2063
|
declare function CommandQueueShell({ children }: CommandQueueShellProps): react_jsx_runtime.JSX.Element;
|
|
883
2064
|
|
|
884
|
-
declare const operationsManifest:
|
|
2065
|
+
declare const operationsManifest: SystemModule;
|
|
2066
|
+
|
|
2067
|
+
interface SystemOpsViewProps {
|
|
2068
|
+
model: OrganizationModel;
|
|
2069
|
+
systemPath: string;
|
|
2070
|
+
onNavigate: (path: string) => void;
|
|
2071
|
+
}
|
|
2072
|
+
declare function SystemOpsView({ model, systemPath, onNavigate }: SystemOpsViewProps): react_jsx_runtime.JSX.Element;
|
|
2073
|
+
|
|
2074
|
+
/**
|
|
2075
|
+
* v1 shape: resources-only. Queue / Executions / Sessions / Errors are deferred to v2.
|
|
2076
|
+
*/
|
|
2077
|
+
interface SystemMetrics {
|
|
2078
|
+
/** Total resources in this system branch (direct + descendant). */
|
|
2079
|
+
resourceCount: number;
|
|
2080
|
+
/** Resources owned directly by this system (not descendants). */
|
|
2081
|
+
directResourceCount: number;
|
|
2082
|
+
/** Resources owned by descendant systems only. */
|
|
2083
|
+
descendantResourceCount: number;
|
|
2084
|
+
/** Total direct + descendant resources by resource kind. */
|
|
2085
|
+
resourceKindCounts: Record<ResourceKind, number>;
|
|
2086
|
+
/** Direct resources by resource kind. */
|
|
2087
|
+
directResourceKindCounts: Record<ResourceKind, number>;
|
|
2088
|
+
/** Descendant resources by resource kind. */
|
|
2089
|
+
descendantResourceKindCounts: Record<ResourceKind, number>;
|
|
2090
|
+
/** Resources included in the active rollup. */
|
|
2091
|
+
resources: ResourceEntry[];
|
|
2092
|
+
/** Resources owned directly by this system. */
|
|
2093
|
+
directResources: ResourceEntry[];
|
|
2094
|
+
/** Resources owned by descendant systems. */
|
|
2095
|
+
descendantResources: ResourceEntry[];
|
|
2096
|
+
}
|
|
2097
|
+
/**
|
|
2098
|
+
* Compute resource rollup metrics for the given system path.
|
|
2099
|
+
*
|
|
2100
|
+
* Uses `getResourcesForSystem` with `{ includeDescendants: true }` for the
|
|
2101
|
+
* inclusive total and `{ includeDescendants: false }` for direct-only, then
|
|
2102
|
+
* derives the descendant count by subtraction.
|
|
2103
|
+
*
|
|
2104
|
+
* @param model - The full OrganizationModel.
|
|
2105
|
+
* @param systemPath - Dot-separated system path (e.g. `'sales.crm'`).
|
|
2106
|
+
* Pass an empty string to aggregate across the entire model root.
|
|
2107
|
+
* @returns Metrics object with resource counts.
|
|
2108
|
+
*/
|
|
2109
|
+
declare function aggregateSystemMetrics(model: OrganizationModel, systemPath: string): SystemMetrics;
|
|
2110
|
+
/**
|
|
2111
|
+
* Format the resource count attribution as a human-readable string.
|
|
2112
|
+
*
|
|
2113
|
+
* @example
|
|
2114
|
+
* formatResourceAttribution({ resourceCount: 12, directResourceCount: 3, descendantResourceCount: 9 })
|
|
2115
|
+
* // "12 total - 3 direct - 9 in subsystems"
|
|
2116
|
+
*/
|
|
2117
|
+
declare function formatResourceAttribution(metrics: SystemMetrics): string;
|
|
885
2118
|
|
|
886
|
-
export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage,
|
|
887
|
-
export type { AgentExecutionPanelProps, AgentSessionGroupProps, CommandQueueDetailPageProps, CommandQueueDetailPageRichTextArgs, CommandQueuePageProps, CommandQueueShellProps, CommandViewPageProps,
|
|
2119
|
+
export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, SystemOpsView, WorkflowExecutionPanel, aggregateSystemMetrics, formatResourceAttribution, operationsManifest };
|
|
2120
|
+
export type { AgentExecutionPanelProps, AgentSessionGroupProps, CommandQueueDetailPageProps, CommandQueueDetailPageRichTextArgs, CommandQueuePageProps, CommandQueueShellProps, CommandViewPageProps, ConversationViewSlotArgs, ExecuteWorkflowModalProps, ExecuteWorkflowModalResource, ExecutionPanelProps, OperationalOverviewPanelProps, OperationsOverviewProps, ResourceDetailPageProps, ResourceDetailPageRenderExecuteDialogArgs, ResourceDetailPageRenderExecutionPanelArgs, ResourcesPageProps, ResourcesSidebarProps, SessionChatAreaProps, SessionChatInterfaceProps, SessionChatPageProps, SessionDetailsSidebarProps, SessionExecutionLogsProps, SessionHeaderProps, SessionListItemProps, SessionsPageProps, SessionsSidebarProps, SystemMetrics, SystemOpsViewProps, TaskFilterStatus, WorkflowExecutionPanelProps };
|