@inf-monkeys-tech/monkeys 1.1.65 → 1.1.67

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 (51) hide show
  1. package/lib/contracts/bento-block.d.ts +115 -43
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +44 -10
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +315 -282
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +22 -20
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-publication-job.d.ts +72 -64
  10. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  11. package/lib/contracts/render.d.ts +13 -12
  12. package/lib/contracts/render.d.ts.map +1 -1
  13. package/lib/contracts/render.js +2 -1
  14. package/lib/contracts/render.js.map +1 -1
  15. package/lib/contracts/tenant.d.ts +629 -16
  16. package/lib/contracts/tenant.d.ts.map +1 -1
  17. package/lib/contracts/tenant.js +211 -7
  18. package/lib/contracts/tenant.js.map +1 -1
  19. package/lib/contracts/unified-view.d.ts +11 -10
  20. package/lib/contracts/unified-view.d.ts.map +1 -1
  21. package/lib/esm/{chunk-BFGFPBEU.mjs → chunk-5T6DFESB.mjs} +225 -23
  22. package/lib/esm/chunk-5T6DFESB.mjs.map +1 -0
  23. package/lib/esm/{chunk-WC65QK2H.mjs → chunk-OFJPHSRM.mjs} +2 -2
  24. package/lib/esm/{chunk-AOAJSAI7.mjs → chunk-WBZEIMZD.mjs} +2 -2
  25. package/lib/esm/chunk-WBZEIMZD.mjs.map +1 -0
  26. package/lib/esm/{chunk-E6UOE6OP.mjs → chunk-X7SUXIZU.mjs} +3 -3
  27. package/lib/esm/contracts/index.mjs +26 -2
  28. package/lib/esm/index.mjs +28 -4
  29. package/lib/esm/index.mjs.map +1 -1
  30. package/lib/esm/runtime/index.mjs +3 -3
  31. package/lib/esm/schemas/index.mjs +30 -2
  32. package/lib/json-schema/bento-node.schema.json +131 -17
  33. package/lib/json-schema/overlay-node.schema.json +131 -17
  34. package/lib/json-schema/page-runtime-bundle.schema.json +142 -27
  35. package/lib/json-schema/render-node.schema.json +131 -17
  36. package/lib/json-schema/render-tree.schema.json +142 -27
  37. package/lib/json-schema/tenant-product-config.schema.json +537 -10
  38. package/lib/json-schema/tenant-runtime-config.schema.json +537 -10
  39. package/lib/json-schema/view-ontology-record.schema.json +142 -27
  40. package/lib/runtime/runtime-definition-wire.d.ts +36 -32
  41. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  42. package/lib/schemas/index.d.ts +316 -32
  43. package/lib/schemas/index.d.ts.map +1 -1
  44. package/lib/schemas/index.js +18 -4
  45. package/lib/schemas/index.js.map +1 -1
  46. package/package.json +2 -2
  47. package/test/fixtures/tenant-product-config.public.json +0 -1
  48. package/lib/esm/chunk-AOAJSAI7.mjs.map +0 -1
  49. package/lib/esm/chunk-BFGFPBEU.mjs.map +0 -1
  50. /package/lib/esm/{chunk-WC65QK2H.mjs.map → chunk-OFJPHSRM.mjs.map} +0 -0
  51. /package/lib/esm/{chunk-E6UOE6OP.mjs.map → chunk-X7SUXIZU.mjs.map} +0 -0
@@ -155,8 +155,8 @@ export declare const ViewOntologyRecordSchema: z.ZodObject<{
155
155
  exact: z.ZodOptional<z.ZodBoolean>;
156
156
  includeTotals: z.ZodOptional<z.ZodBoolean>;
157
157
  timeBucket: z.ZodOptional<z.ZodObject<{
158
- column: z.ZodString;
159
- granularity: z.ZodEnum<{
158
+ column: z.ZodOptional<z.ZodString>;
159
+ unit: z.ZodEnum<{
160
160
  hour: "hour";
161
161
  day: "day";
162
162
  week: "week";
@@ -164,7 +164,7 @@ export declare const ViewOntologyRecordSchema: z.ZodObject<{
164
164
  quarter: "quarter";
165
165
  year: "year";
166
166
  }>;
167
- timezone: z.ZodOptional<z.ZodString>;
167
+ timeZone: z.ZodOptional<z.ZodString>;
168
168
  fillGaps: z.ZodOptional<z.ZodBoolean>;
169
169
  }, z.core.$strict>>;
170
170
  joins: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -177,10 +177,10 @@ export declare const ViewOntologyRecordSchema: z.ZodObject<{
177
177
  }>>;
178
178
  viaRelation: z.ZodOptional<z.ZodObject<{
179
179
  columnId: z.ZodString;
180
- direction: z.ZodEnum<{
180
+ direction: z.ZodOptional<z.ZodEnum<{
181
181
  outgoing: "outgoing";
182
182
  incoming: "incoming";
183
- }>;
183
+ }>>;
184
184
  }, z.core.$strict>>;
185
185
  onColumn: z.ZodOptional<z.ZodObject<{
186
186
  localColumnId: z.ZodString;
@@ -191,18 +191,19 @@ export declare const ViewOntologyRecordSchema: z.ZodObject<{
191
191
  hierarchyScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
192
192
  targetAlias: z.ZodOptional<z.ZodString>;
193
193
  localColumnId: z.ZodOptional<z.ZodString>;
194
- ontologyId: z.ZodString;
194
+ ontologyId: z.ZodOptional<z.ZodString>;
195
195
  relationColumnId: z.ZodString;
196
- direction: z.ZodEnum<{
196
+ direction: z.ZodOptional<z.ZodEnum<{
197
197
  outgoing: "outgoing";
198
198
  incoming: "incoming";
199
- }>;
199
+ }>>;
200
200
  seedIds: z.ZodArray<z.ZodString>;
201
201
  maxDepth: z.ZodOptional<z.ZodNumber>;
202
202
  includeSelf: z.ZodOptional<z.ZodBoolean>;
203
203
  }, z.core.$strict>>>;
204
204
  unwind: z.ZodOptional<z.ZodObject<{
205
205
  columnId: z.ZodString;
206
+ alias: z.ZodOptional<z.ZodString>;
206
207
  jsonPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
207
208
  preserveEmpty: z.ZodOptional<z.ZodBoolean>;
208
209
  }, z.core.$strict>>;
@@ -210,18 +211,18 @@ export declare const ViewOntologyRecordSchema: z.ZodObject<{
210
211
  key: z.ZodString;
211
212
  op: z.ZodEnum<{
212
213
  eq: "eq";
214
+ neq: "neq";
213
215
  gt: "gt";
214
216
  gte: "gte";
215
217
  lt: "lt";
216
218
  lte: "lte";
217
- ne: "ne";
218
219
  }>;
219
220
  value: z.ZodNumber;
220
221
  }, z.core.$strict>>>;
221
222
  pagination: z.ZodOptional<z.ZodObject<{
222
223
  offset: z.ZodOptional<z.ZodNumber>;
223
224
  limit: z.ZodOptional<z.ZodNumber>;
224
- includeTotalGroups: z.ZodOptional<z.ZodBoolean>;
225
+ withGroupTotal: z.ZodOptional<z.ZodBoolean>;
225
226
  }, z.core.$strict>>;
226
227
  }, z.core.$strict>, z.ZodObject<{
227
228
  kind: z.ZodLiteral<"graph">;
@@ -1 +1 @@
1
- {"version":3,"file":"unified-view.d.ts","sourceRoot":"","sources":["../../src/contracts/unified-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,gBAAgB,QAAkB,CAAC;AAChD,eAAO,MAAM,8BAA8B,eAAyB,CAAC;AACrE,eAAO,MAAM,iCAAiC,qBAA+B,CAAC;AAE9E,eAAO,MAAM,oBAAoB;;;;;EAK/B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;kBAQ5B,CAAC;AAEZ,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;kBAS3B,CAAC;AAEZ;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAsBjC,CAAC;AAEL,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"unified-view.d.ts","sourceRoot":"","sources":["../../src/contracts/unified-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,gBAAgB,QAAkB,CAAC;AAChD,eAAO,MAAM,8BAA8B,eAAyB,CAAC;AACrE,eAAO,MAAM,iCAAiC,qBAA+B,CAAC;AAE9E,eAAO,MAAM,oBAAoB;;;;;EAK/B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;kBAQ5B,CAAC;AAEZ,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;kBAS3B,CAAC;AAEZ;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAsBjC,CAAC;AAEL,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -6805,9 +6805,9 @@ var ViewSqlAggregateMetricSchema = z4.object({
6805
6805
  filter: ViewSqlFilterNodeSchema.optional()
6806
6806
  }).strict();
6807
6807
  var ViewSqlAggregateTimeBucketSchema = z4.object({
6808
- column: ContractIdentifierSchema,
6809
- granularity: z4.enum(["hour", "day", "week", "month", "quarter", "year"]),
6810
- timezone: z4.string().trim().min(1).max(128).optional(),
6808
+ column: ContractIdentifierSchema.optional(),
6809
+ unit: z4.enum(["hour", "day", "week", "month", "quarter", "year"]),
6810
+ timeZone: z4.string().trim().min(1).max(128).optional(),
6811
6811
  fillGaps: z4.boolean().optional()
6812
6812
  }).strict();
6813
6813
  var ViewSqlAggregateJoinSchema = z4.object({
@@ -6817,7 +6817,7 @@ var ViewSqlAggregateJoinSchema = z4.object({
6817
6817
  joinType: z4.enum(["inner", "left"]).optional(),
6818
6818
  viaRelation: z4.object({
6819
6819
  columnId: ContractIdentifierSchema,
6820
- direction: z4.enum(["outgoing", "incoming"])
6820
+ direction: z4.enum(["outgoing", "incoming"]).optional()
6821
6821
  }).strict().optional(),
6822
6822
  onColumn: z4.object({
6823
6823
  localColumnId: ContractIdentifierSchema,
@@ -6828,27 +6828,28 @@ var ViewSqlAggregateJoinSchema = z4.object({
6828
6828
  var ViewSqlAggregateHierarchyScopeSchema = z4.object({
6829
6829
  targetAlias: ContractIdentifierSchema.optional(),
6830
6830
  localColumnId: ContractIdentifierSchema.optional(),
6831
- ontologyId: ContractIdentifierSchema,
6831
+ ontologyId: ContractIdentifierSchema.optional(),
6832
6832
  relationColumnId: ContractIdentifierSchema,
6833
- direction: z4.enum(["incoming", "outgoing"]),
6833
+ direction: z4.enum(["incoming", "outgoing"]).optional(),
6834
6834
  seedIds: z4.array(ContractIdentifierSchema).max(500),
6835
6835
  maxDepth: z4.number().int().min(0).max(32).optional(),
6836
6836
  includeSelf: z4.boolean().optional()
6837
6837
  }).strict();
6838
6838
  var ViewSqlAggregateUnwindSchema = z4.object({
6839
6839
  columnId: ContractIdentifierSchema,
6840
+ alias: ContractIdentifierSchema.optional(),
6840
6841
  jsonPath: z4.array(ContractIdentifierSchema).max(32).optional(),
6841
6842
  preserveEmpty: z4.boolean().optional()
6842
6843
  }).strict();
6843
6844
  var ViewSqlAggregateHavingSchema = z4.object({
6844
6845
  key: ContractIdentifierSchema,
6845
- op: z4.enum(["eq", "ne", "gt", "gte", "lt", "lte"]),
6846
+ op: z4.enum(["eq", "neq", "gt", "gte", "lt", "lte"]),
6846
6847
  value: z4.number().finite()
6847
6848
  }).strict();
6848
6849
  var ViewSqlAggregatePaginationSchema = z4.object({
6849
6850
  offset: z4.number().int().min(0).optional(),
6850
6851
  limit: z4.number().int().min(1).max(1e4).optional(),
6851
- includeTotalGroups: z4.boolean().optional()
6852
+ withGroupTotal: z4.boolean().optional()
6852
6853
  }).strict();
6853
6854
  var ViewSqlGraphSpecSchema = z4.object({
6854
6855
  graphKind: z4.enum([
@@ -6981,15 +6982,20 @@ var BlockTypeSchema = z4.enum([
6981
6982
  "json-editor",
6982
6983
  "custom"
6983
6984
  ]);
6985
+ var BentoRelationTargetRefSchema = z4.object({
6986
+ assetId: z4.string().trim().min(1).max(256),
6987
+ ontologyId: ContractIdentifierSchema.optional()
6988
+ }).strict();
6984
6989
  var RenderBentoOntologyRelationBindingSchema = z4.object({
6985
6990
  kind: z4.literal("ontology-relation"),
6986
6991
  sourceOntologyId: ContractIdentifierSchema,
6987
6992
  sourceRecordId: z4.string().trim().min(1).max(256),
6988
6993
  direction: z4.enum(["outgoing", "incoming", "both"]).optional(),
6989
6994
  columnId: ContractIdentifierSchema.optional(),
6995
+ fieldKey: ContractIdentifierSchema.optional(),
6990
6996
  targetOntologyIds: z4.array(ContractIdentifierSchema).max(64).optional(),
6991
6997
  maxHops: z4.number().int().min(1).max(6).optional(),
6992
- includeTargetFields: z4.array(ContractIdentifierSchema).max(256).optional(),
6998
+ includeTargetFields: z4.union([z4.boolean(), z4.array(ContractIdentifierSchema).max(256)]).optional(),
6993
6999
  pageSize: z4.number().int().min(1).max(1e3).optional(),
6994
7000
  pageToken: z4.string().trim().min(1).max(1024).optional()
6995
7001
  }).strict();
@@ -7006,6 +7012,16 @@ var RenderBentoOntologyActionBindingSchema = z4.object({
7006
7012
  recordId: z4.string().trim().min(1).max(256).optional(),
7007
7013
  workflowId: ContractIdentifierSchema.optional(),
7008
7014
  payload: z4.record(z4.string(), z4.unknown()).optional(),
7015
+ columnId: ContractIdentifierSchema.optional(),
7016
+ mode: z4.enum(["replace", "patch", "set-types"]).optional(),
7017
+ targets: z4.array(BentoRelationTargetRefSchema).max(500).optional(),
7018
+ addTargets: z4.array(BentoRelationTargetRefSchema).max(500).optional(),
7019
+ removeTargets: z4.array(BentoRelationTargetRefSchema).max(500).optional(),
7020
+ idempotencyKey: z4.string().trim().min(1).max(256).optional(),
7021
+ expectedRevision: z4.union([
7022
+ z4.string().trim().min(1).max(256),
7023
+ z4.number().int().nonnegative()
7024
+ ]).optional(),
7009
7025
  invalidateOntologies: z4.array(ContractIdentifierSchema).max(64).optional()
7010
7026
  }).strict();
7011
7027
  var BentoActionResultSchema = z4.object({
@@ -7042,6 +7058,16 @@ var BlockDataSourceSchema = z4.discriminatedUnion("kind", [
7042
7058
  recordId: z4.string().trim().min(1).max(256).optional(),
7043
7059
  workflowId: ContractIdentifierSchema.optional(),
7044
7060
  payload: JsonObjectSchema.optional(),
7061
+ columnId: ContractIdentifierSchema.optional(),
7062
+ mode: z4.enum(["replace", "patch", "set-types"]).optional(),
7063
+ targets: z4.array(BentoRelationTargetRefSchema).max(500).optional(),
7064
+ addTargets: z4.array(BentoRelationTargetRefSchema).max(500).optional(),
7065
+ removeTargets: z4.array(BentoRelationTargetRefSchema).max(500).optional(),
7066
+ idempotencyKey: z4.string().trim().min(1).max(256).optional(),
7067
+ expectedRevision: z4.union([
7068
+ z4.string().trim().min(1).max(256),
7069
+ z4.number().int().nonnegative()
7070
+ ]).optional(),
7045
7071
  invalidateOntologies: z4.array(ContractIdentifierSchema).max(64).optional()
7046
7072
  }).strict(),
7047
7073
  z4.object({
@@ -20332,9 +20358,15 @@ var TenantTrendRadarSourceSchema = z27.object({
20332
20358
  var TenantTrendRadarCollectionTargetSchema = z27.object({
20333
20359
  ontologyId: ContractIdentifierSchema
20334
20360
  }).strict();
20335
- var TenantTrendRadarEvaluationSchema = z27.object({
20361
+ var TenantTrendRadarWorkflowBindingSchema = z27.object({
20336
20362
  workflowId: ContractIdentifierSchema
20337
20363
  }).strict();
20364
+ var TenantTrendRadarEvaluationSchema = TenantTrendRadarWorkflowBindingSchema;
20365
+ var TenantTrendRadarPresetSourceSchema = z27.object({
20366
+ teamId: z27.string().trim().max(256).optional(),
20367
+ ontologyId: z27.string().trim().max(256).optional(),
20368
+ viewId: z27.string().trim().max(256).optional()
20369
+ }).strict();
20338
20370
  var TenantTrendRadarDerivedMetricsSchema = z27.object({
20339
20371
  productCountFieldKey: ContractIdentifierSchema,
20340
20372
  salesValueCountFieldKey: ContractIdentifierSchema,
@@ -20348,18 +20380,42 @@ var TenantTrendRadarSourcesSchema = z27.object({
20348
20380
  hotwords: TenantTrendRadarSourceSchema.optional(),
20349
20381
  brands: TenantTrendRadarSourceSchema.optional(),
20350
20382
  collection: TenantTrendRadarCollectionTargetSchema.optional(),
20383
+ collectionFavorites: TenantTrendRadarCollectionTargetSchema.optional(),
20351
20384
  derivedMetrics: TenantTrendRadarDerivedMetricsSchema.optional(),
20352
- evaluation: TenantTrendRadarEvaluationSchema.optional()
20385
+ evaluation: TenantTrendRadarEvaluationSchema.optional(),
20386
+ generation: TenantTrendRadarWorkflowBindingSchema.optional(),
20387
+ completion: TenantTrendRadarWorkflowBindingSchema.optional(),
20388
+ presetSource: TenantTrendRadarPresetSourceSchema.optional()
20353
20389
  }).strict();
20354
20390
  var AssetVariantsSchema = z27.object({
20355
20391
  light: z27.string().optional(),
20356
20392
  dark: z27.string().optional()
20357
20393
  }).strict();
20394
+ var TenantThemeNavigationBrandingSchema = z27.object({
20395
+ background: AssetVariantsSchema.optional()
20396
+ }).strict();
20397
+ var TenantWorkbenchSidebarModeSchema = z27.enum(["normal", "modern", "light-edge"]);
20398
+ var TenantBehaviorPoliciesSchema = z27.object({
20399
+ dataBrowserShellVariant: z27.enum(["default", "tinted-glass", "knowledge-base"]).optional(),
20400
+ dataBrowserFixedOntologyMode: z27.boolean().optional(),
20401
+ dataBrowserAllDataVirtualTab: z27.boolean().optional(),
20402
+ workbenchPanelTone: z27.enum(["default", "compact-glass"]).optional(),
20403
+ workbenchCustomScenesEnabled: z27.boolean().optional(),
20404
+ workbenchRetiredViewsEnabled: z27.boolean().optional(),
20405
+ executionResultLayout: z27.enum(["grid", "masonry"]).optional(),
20406
+ executionResultShowConversionDuration: z27.boolean().optional(),
20407
+ ugcAssetDirectoryTheme: z27.enum(["default", "studio-gallery"]).optional(),
20408
+ ugcToolNamespaceFilter: z27.string().trim().max(256).optional(),
20409
+ linesheetStrictUnsavedGuard: z27.boolean().optional(),
20410
+ defaultTeamLandingRoute: z27.string().trim().max(256).optional()
20411
+ }).strict();
20358
20412
  var TenantAgentThemeConfigSchema = z27.object({
20359
20413
  logo: AssetVariantsSchema.optional(),
20360
20414
  brandDisplayMode: z27.enum(["auto", "logo-only", "logo-name", "name-only"]).optional(),
20361
20415
  density: z27.enum(["compact", "default", "comfortable"]).optional(),
20362
- sidebar: AgentWorkbenchSidebarConfigSchema.optional()
20416
+ sidebar: AgentWorkbenchSidebarConfigSchema.optional(),
20417
+ inputPlaceholder: z27.record(LocaleIdentifierSchema, z27.string()).optional(),
20418
+ attachmentLibraryEnabled: z27.boolean().optional()
20363
20419
  }).strict();
20364
20420
  var LEGACY_CURRENT_USER_MENU_ITEM_IDS = ["dark-mode", "language", "settings", "logout"];
20365
20421
  var CURRENT_USER_MENU_CONTROL_REFS = ["dark-mode", "language"];
@@ -20447,7 +20503,14 @@ var ThemeHeadbarSchema = z27.object({
20447
20503
  navPosition: z27.enum(["left", "center", "right"]).optional(),
20448
20504
  actions: z27.union([z27.literal("*"), z27.array(ContractIdentifierSchema)]).optional(),
20449
20505
  profile: CurrentUserMenuProfileSchema.optional(),
20450
- showTeamQuota: z27.boolean().optional()
20506
+ showTeamQuota: z27.boolean().optional(),
20507
+ logo: AssetVariantsSchema.optional(),
20508
+ background: AssetVariantsSchema.optional()
20509
+ }).strict();
20510
+ var HeadbarProfileIdentifierSchema = z27.string().trim().regex(/^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$/, "Expected a stable headbar identifier.");
20511
+ var TenantHeadbarModuleTargetSchema = z27.object({
20512
+ type: z27.literal("agent-chat"),
20513
+ agentId: HeadbarProfileIdentifierSchema
20451
20514
  }).strict();
20452
20515
  var TenantHeadbarModuleLeafSchema = z27.object({
20453
20516
  id: ContractIdentifierSchema,
@@ -20458,7 +20521,10 @@ var TenantHeadbarModuleLeafSchema = z27.object({
20458
20521
  icon: z27.string().optional(),
20459
20522
  showQuickSwitcher: z27.boolean().optional(),
20460
20523
  showSidebar: z27.boolean().optional(),
20461
- showContentFrame: z27.boolean().optional()
20524
+ showContentFrame: z27.boolean().optional(),
20525
+ dataBrowserProfile: HeadbarProfileIdentifierSchema.optional(),
20526
+ target: TenantHeadbarModuleTargetSchema.optional(),
20527
+ defaultViewId: ContractIdentifierSchema.optional()
20462
20528
  }).strict();
20463
20529
  var TenantHeadbarModuleItemSchema = TenantHeadbarModuleLeafSchema.extend({
20464
20530
  children: z27.array(TenantHeadbarModuleLeafSchema).optional()
@@ -20469,7 +20535,9 @@ var KernelHeadbarSchema = z27.object({
20469
20535
  heightPx: z27.number().positive().optional(),
20470
20536
  navPosition: z27.enum(["left", "center", "right"]).optional(),
20471
20537
  brandTitle: z27.string().optional(),
20472
- menuRadius: z27.enum(["default", "none", "sm", "md", "lg", "xl", "full"]).optional()
20538
+ menuRadius: z27.enum(["default", "none", "sm", "md", "lg", "xl", "full"]).optional(),
20539
+ logo: AssetVariantsSchema.optional(),
20540
+ background: AssetVariantsSchema.optional()
20473
20541
  }).strict();
20474
20542
  var CustomIconSchema = z27.object({
20475
20543
  color: z27.string().optional(),
@@ -20482,11 +20550,27 @@ var WorkbenchCustomerToolSchema = z27.object({
20482
20550
  label: z27.union([z27.string(), z27.record(LocaleIdentifierSchema, z27.string())]).optional(),
20483
20551
  fixed: z27.boolean().optional()
20484
20552
  }).strict();
20553
+ var SidebarHiddenPageIdsDefaultSchema = z27.array(
20554
+ z27.string().min(1).max(128).refine((id) => id === id.trim(), "Hidden page ids must not contain leading or trailing whitespace.")
20555
+ ).max(256).superRefine((ids, context) => {
20556
+ const seen = /* @__PURE__ */ new Set();
20557
+ ids.forEach((id, index) => {
20558
+ if (seen.has(id)) {
20559
+ context.addIssue({
20560
+ code: "custom",
20561
+ message: `Duplicate hidden page id ${id}.`,
20562
+ path: [index]
20563
+ });
20564
+ }
20565
+ seen.add(id);
20566
+ });
20567
+ });
20485
20568
  var WorkbenchStudioOverrideSchema = z27.object({
20486
20569
  studioName: z27.string().trim().min(1),
20487
20570
  dropdownToolsDefault: z27.array(ContractIdentifierSchema).optional(),
20488
20571
  existingToolsDefault: z27.array(ContractIdentifierSchema).optional(),
20489
- historyColumnsDefault: z27.number().int().min(1).max(6).optional()
20572
+ historyColumnsDefault: z27.number().int().min(1).max(6).optional(),
20573
+ sidebarHiddenPageIdsDefault: SidebarHiddenPageIdsDefaultSchema.optional()
20490
20574
  }).strict();
20491
20575
  var TenantWorkbenchPageContextSchema = z27.object({
20492
20576
  workflow: JsonObjectSchema.optional(),
@@ -20588,6 +20672,7 @@ var TenantWorkbenchConfigSchema = z27.object({
20588
20672
  layoutManagerEnabled: z27.boolean().optional(),
20589
20673
  existingToolsDefault: z27.array(ContractIdentifierSchema).optional(),
20590
20674
  historyColumnsDefault: z27.number().int().min(1).max(6).optional(),
20675
+ sidebarHiddenPageIdsDefault: SidebarHiddenPageIdsDefaultSchema.optional(),
20591
20676
  studioOverrides: z27.array(WorkbenchStudioOverrideSchema).optional()
20592
20677
  }).strict().optional()
20593
20678
  }).strict().superRefine(({ pages, pageGroups }, context) => {
@@ -20693,6 +20778,86 @@ var TenantListFooterConfigSchema = z27.object({
20693
20778
  alignment: z27.enum(["start", "end", "space-between"]).optional(),
20694
20779
  density: z27.enum(["compact", "default", "comfortable"]).optional()
20695
20780
  }).strict();
20781
+ var DesignReviewOntologyIdSchema = z27.string().min(1).max(128).refine(
20782
+ (id) => id === id.trim() && [...id].length <= 128 && !/[\u0000-\u001f]/.test(id),
20783
+ "Design review ontology ids must be trimmed non-empty strings without control characters."
20784
+ );
20785
+ var TenantDesignReviewConfigSchema = z27.object({
20786
+ enabled: z27.boolean(),
20787
+ schemaVersion: z27.literal(1),
20788
+ projectOntologyId: DesignReviewOntologyIdSchema.optional(),
20789
+ roundOntologyId: DesignReviewOntologyIdSchema.optional(),
20790
+ itemOntologyId: DesignReviewOntologyIdSchema.optional(),
20791
+ resultOntologyId: DesignReviewOntologyIdSchema.optional()
20792
+ }).strict().superRefine((value, context) => {
20793
+ const roleKeys = ["projectOntologyId", "roundOntologyId", "itemOntologyId", "resultOntologyId"];
20794
+ if (value.enabled) {
20795
+ for (const key of roleKeys) {
20796
+ if (!value[key]) {
20797
+ context.addIssue({
20798
+ code: "custom",
20799
+ path: [key],
20800
+ message: `designReview.${key} is required when designReview.enabled is true.`
20801
+ });
20802
+ }
20803
+ }
20804
+ }
20805
+ const seen = /* @__PURE__ */ new Set();
20806
+ for (const key of roleKeys) {
20807
+ const id = value[key];
20808
+ if (!id) continue;
20809
+ if (seen.has(id)) {
20810
+ context.addIssue({
20811
+ code: "custom",
20812
+ path: [key],
20813
+ message: "designReview roles must use distinct Ontologies."
20814
+ });
20815
+ }
20816
+ seen.add(id);
20817
+ }
20818
+ });
20819
+ var TenantOntologyCatalogKindSchema = z27.enum([
20820
+ "model",
20821
+ "prompt-dictionary",
20822
+ "generation-preset",
20823
+ "trend-palette"
20824
+ ]);
20825
+ var TenantOntologyCatalogSchema = z27.object({
20826
+ catalogId: ContractIdentifierSchema,
20827
+ kind: TenantOntologyCatalogKindSchema,
20828
+ ontologyId: ContractIdentifierSchema,
20829
+ toolKeys: z27.array(ContractIdentifierSchema).optional(),
20830
+ viewId: ContractIdentifierSchema.optional(),
20831
+ teamId: ContractIdentifierSchema.optional(),
20832
+ teamOnly: z27.boolean().optional(),
20833
+ pageSize: z27.number().int().positive().optional(),
20834
+ fieldMap: z27.record(z27.string(), z27.string()).optional(),
20835
+ columnIds: z27.record(z27.string(), z27.string()).optional()
20836
+ }).strict();
20837
+ var ViewSharingPublicAccessGatesSchema = z27.array(z27.enum(["login", "password"])).max(2).refine((items) => new Set(items).size === items.length, "View sharing public access gates must be unique.");
20838
+ var TenantViewSharingFullPolicySchema = z27.object({
20839
+ enabled: z27.boolean(),
20840
+ passwordAttemptsPerMinute: z27.number().int().min(1).max(1e3),
20841
+ management: z27.object({
20842
+ enabled: z27.boolean(),
20843
+ default: z27.boolean()
20844
+ }).strict(),
20845
+ expiry: z27.object({
20846
+ enabled: z27.boolean(),
20847
+ defaultDays: z27.number().int().min(0).max(36500),
20848
+ maxDays: z27.number().int().min(0).max(36500),
20849
+ allowUnlimited: z27.boolean()
20850
+ }).strict(),
20851
+ publicAccess: z27.object({
20852
+ allowedGates: ViewSharingPublicAccessGatesSchema,
20853
+ defaultGates: ViewSharingPublicAccessGatesSchema,
20854
+ requiredGates: ViewSharingPublicAccessGatesSchema
20855
+ }).strict()
20856
+ }).strict();
20857
+ var TenantViewSharingPolicySchema = z27.union([
20858
+ TenantViewSharingFullPolicySchema,
20859
+ z27.object({ passwordAttemptsPerMinute: z27.number().int().min(1).max(1e3) }).strict()
20860
+ ]);
20696
20861
  var TenantApplicationConfigSchema = z27.object({
20697
20862
  theme: z27.object({
20698
20863
  id: z27.string().optional(),
@@ -20725,7 +20890,6 @@ var TenantApplicationConfigSchema = z27.object({
20725
20890
  hideSpaceHeader: z27.boolean().optional(),
20726
20891
  showSidebarTeamSelector: z27.boolean().optional(),
20727
20892
  showWorkbenchSidebar: z27.boolean().optional(),
20728
- workbenchViewTheme: z27.enum(["default", "bsd-blue"]).optional(),
20729
20893
  defaults: z27.object({
20730
20894
  showFormInImageDetail: z27.boolean().optional(),
20731
20895
  darkMode: z27.enum(["light", "dark", "auto"]).optional(),
@@ -20762,6 +20926,9 @@ var TenantApplicationConfigSchema = z27.object({
20762
20926
  workbenchSidebarViewType: z27.boolean().optional(),
20763
20927
  workbenchSidebarFormViewEmbed: z27.boolean().optional(),
20764
20928
  workbenchSidebarModernMode: z27.boolean().optional(),
20929
+ workbenchSidebarMode: TenantWorkbenchSidebarModeSchema.optional(),
20930
+ navigation: TenantThemeNavigationBrandingSchema.optional(),
20931
+ policies: TenantBehaviorPoliciesSchema.optional(),
20765
20932
  ugc: z27.object({
20766
20933
  onItemClick: z27.boolean(),
20767
20934
  subtitle: z27.boolean().optional()
@@ -20781,7 +20948,10 @@ var TenantApplicationConfigSchema = z27.object({
20781
20948
  pageZoom: z27.number().positive().optional(),
20782
20949
  miniMode: z27.object({ showPreviewViewExecutionResultGrid: z27.boolean() }).strict().optional(),
20783
20950
  workflow: z27.object({ allowConcurrentRuns: z27.boolean() }).strict().optional(),
20784
- historyResult: z27.object({ display: z27.boolean() }).strict().optional(),
20951
+ historyResult: z27.object({
20952
+ display: z27.boolean(),
20953
+ imageClickMode: z27.enum(["record-detail", "preview"]).optional()
20954
+ }).strict().optional(),
20785
20955
  uploader: z27.object({
20786
20956
  orientation: z27.enum(["vertical", "horizontal"]),
20787
20957
  pasteButton: z27.boolean(),
@@ -20847,14 +21017,29 @@ var TenantApplicationConfigSchema = z27.object({
20847
21017
  rememberWorkflowModelSelection: z27.boolean().optional()
20848
21018
  }).strict(),
20849
21019
  dataManagement: z27.object({
21020
+ designReview: TenantDesignReviewConfigSchema.optional(),
20850
21021
  favoriteOntologyId: z27.string().optional(),
20851
21022
  pairedOntologyId: z27.string().optional(),
20852
21023
  galleryOntologyIds: z27.array(ContractIdentifierSchema).max(20).optional(),
20853
21024
  galleryOntologyId: z27.string().optional(),
21025
+ galleryTagCorrectionWorkOrderOntologyId: z27.string().trim().max(256).optional(),
20854
21026
  dataBrowserDefaultOntologyId: z27.string().optional(),
20855
21027
  workflowResultOntologyId: z27.string().optional(),
21028
+ ontologyCatalogs: z27.array(TenantOntologyCatalogSchema).superRefine((catalogs, context) => {
21029
+ const seen = /* @__PURE__ */ new Set();
21030
+ catalogs.forEach((catalog, index) => {
21031
+ if (seen.has(catalog.catalogId)) {
21032
+ context.addIssue({
21033
+ code: "custom",
21034
+ path: [index, "catalogId"],
21035
+ message: `Duplicate ontology catalog id ${catalog.catalogId}.`
21036
+ });
21037
+ }
21038
+ seen.add(catalog.catalogId);
21039
+ });
21040
+ }).optional(),
20856
21041
  homeAdvertisement: z27.object({
20857
- ontologyId: ContractIdentifierSchema,
21042
+ ontologyId: ContractIdentifierSchema.optional(),
20858
21043
  viewId: ContractIdentifierSchema.optional(),
20859
21044
  viewType: z27.enum(["filter", "container", "share_link"]).optional(),
20860
21045
  teamId: ContractIdentifierSchema.optional(),
@@ -20863,8 +21048,12 @@ var TenantApplicationConfigSchema = z27.object({
20863
21048
  sortBy: z27.enum(["pin_order", "asset_id", "updated_timestamp", "created_timestamp"]).optional(),
20864
21049
  sortOrder: z27.enum(["asc", "desc"]).optional(),
20865
21050
  fieldMap: z27.record(z27.string(), z27.string()).optional(),
20866
- columnIds: z27.record(z27.string(), z27.string()).optional()
20867
- }).strict().optional(),
21051
+ columnIds: z27.record(z27.string(), z27.string()).optional(),
21052
+ rotationIntervalMs: z27.number().int().min(1e3).max(6e4).optional()
21053
+ }).strict().refine(
21054
+ (value) => value.ontologyId !== void 0 || value.rotationIntervalMs !== void 0,
21055
+ "homeAdvertisement requires ontologyId or rotationIntervalMs."
21056
+ ).optional(),
20868
21057
  homeShortcutBackground: z27.object({
20869
21058
  ontologyId: ContractIdentifierSchema,
20870
21059
  viewId: ContractIdentifierSchema.optional(),
@@ -20939,7 +21128,8 @@ var TenantApplicationConfigSchema = z27.object({
20939
21128
  default: z27.enum(["manual", "auto"]).optional()
20940
21129
  }).strict().optional()
20941
21130
  }).strict().optional(),
20942
- personalNotifications: z27.object({ supported: z27.boolean() }).strict().optional()
21131
+ personalNotifications: z27.object({ supported: z27.boolean() }).strict().optional(),
21132
+ policy: TenantViewSharingPolicySchema.optional()
20943
21133
  }).strict().optional()
20944
21134
  }).strict().optional(),
20945
21135
  kernelRuntime: z27.object({
@@ -22426,6 +22616,7 @@ export {
22426
22616
  ViewSqlStatementSchema,
22427
22617
  ViewDataDeclarationSchema,
22428
22618
  BlockTypeSchema,
22619
+ BentoRelationTargetRefSchema,
22429
22620
  RenderBentoOntologyRelationBindingSchema,
22430
22621
  RenderBentoOntologyActionBindingSchema,
22431
22622
  BentoActionResultSchema,
@@ -22964,9 +23155,14 @@ export {
22964
23155
  TenantDataBindingsSchema,
22965
23156
  TenantTrendRadarSourceSchema,
22966
23157
  TenantTrendRadarCollectionTargetSchema,
23158
+ TenantTrendRadarWorkflowBindingSchema,
22967
23159
  TenantTrendRadarEvaluationSchema,
23160
+ TenantTrendRadarPresetSourceSchema,
22968
23161
  TenantTrendRadarDerivedMetricsSchema,
22969
23162
  TenantTrendRadarSourcesSchema,
23163
+ TenantThemeNavigationBrandingSchema,
23164
+ TenantWorkbenchSidebarModeSchema,
23165
+ TenantBehaviorPoliciesSchema,
22970
23166
  TenantAgentThemeConfigSchema,
22971
23167
  LEGACY_CURRENT_USER_MENU_ITEM_IDS,
22972
23168
  CURRENT_USER_MENU_CONTROL_REFS,
@@ -22980,6 +23176,7 @@ export {
22980
23176
  CurrentUserMenuConfigSchema,
22981
23177
  CurrentUserMenuProfileSchema,
22982
23178
  ThemeHeadbarSchema,
23179
+ TenantHeadbarModuleTargetSchema,
22983
23180
  TenantHeadbarModuleItemSchema,
22984
23181
  TenantWorkbenchPageContextSchema,
22985
23182
  TenantWorkbenchPageEnvelopeSchema,
@@ -22987,6 +23184,11 @@ export {
22987
23184
  TenantWorkbenchConfigSchema,
22988
23185
  TenantLandingPageConfigSchema,
22989
23186
  TenantListFooterConfigSchema,
23187
+ TenantDesignReviewConfigSchema,
23188
+ TenantOntologyCatalogKindSchema,
23189
+ TenantOntologyCatalogSchema,
23190
+ TenantViewSharingFullPolicySchema,
23191
+ TenantViewSharingPolicySchema,
22990
23192
  TenantApplicationConfigSchema,
22991
23193
  DeclarativeRuntimeRolloutCapabilitySchema,
22992
23194
  TenantProductConfigSchema,
@@ -23080,4 +23282,4 @@ export {
23080
23282
  ViewShareLinkPolicySchema,
23081
23283
  ViewOntologyRecordSchema
23082
23284
  };
23083
- //# sourceMappingURL=chunk-BFGFPBEU.mjs.map
23285
+ //# sourceMappingURL=chunk-5T6DFESB.mjs.map