@inf-monkeys-tech/monkeys 1.1.65 → 1.1.66

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.
@@ -20332,9 +20332,15 @@ var TenantTrendRadarSourceSchema = z27.object({
20332
20332
  var TenantTrendRadarCollectionTargetSchema = z27.object({
20333
20333
  ontologyId: ContractIdentifierSchema
20334
20334
  }).strict();
20335
- var TenantTrendRadarEvaluationSchema = z27.object({
20335
+ var TenantTrendRadarWorkflowBindingSchema = z27.object({
20336
20336
  workflowId: ContractIdentifierSchema
20337
20337
  }).strict();
20338
+ var TenantTrendRadarEvaluationSchema = TenantTrendRadarWorkflowBindingSchema;
20339
+ var TenantTrendRadarPresetSourceSchema = z27.object({
20340
+ teamId: z27.string().trim().max(256).optional(),
20341
+ ontologyId: z27.string().trim().max(256).optional(),
20342
+ viewId: z27.string().trim().max(256).optional()
20343
+ }).strict();
20338
20344
  var TenantTrendRadarDerivedMetricsSchema = z27.object({
20339
20345
  productCountFieldKey: ContractIdentifierSchema,
20340
20346
  salesValueCountFieldKey: ContractIdentifierSchema,
@@ -20348,18 +20354,42 @@ var TenantTrendRadarSourcesSchema = z27.object({
20348
20354
  hotwords: TenantTrendRadarSourceSchema.optional(),
20349
20355
  brands: TenantTrendRadarSourceSchema.optional(),
20350
20356
  collection: TenantTrendRadarCollectionTargetSchema.optional(),
20357
+ collectionFavorites: TenantTrendRadarCollectionTargetSchema.optional(),
20351
20358
  derivedMetrics: TenantTrendRadarDerivedMetricsSchema.optional(),
20352
- evaluation: TenantTrendRadarEvaluationSchema.optional()
20359
+ evaluation: TenantTrendRadarEvaluationSchema.optional(),
20360
+ generation: TenantTrendRadarWorkflowBindingSchema.optional(),
20361
+ completion: TenantTrendRadarWorkflowBindingSchema.optional(),
20362
+ presetSource: TenantTrendRadarPresetSourceSchema.optional()
20353
20363
  }).strict();
20354
20364
  var AssetVariantsSchema = z27.object({
20355
20365
  light: z27.string().optional(),
20356
20366
  dark: z27.string().optional()
20357
20367
  }).strict();
20368
+ var TenantThemeNavigationBrandingSchema = z27.object({
20369
+ background: AssetVariantsSchema.optional()
20370
+ }).strict();
20371
+ var TenantWorkbenchSidebarModeSchema = z27.enum(["normal", "modern", "light-edge"]);
20372
+ var TenantBehaviorPoliciesSchema = z27.object({
20373
+ dataBrowserShellVariant: z27.enum(["default", "tinted-glass", "knowledge-base"]).optional(),
20374
+ dataBrowserFixedOntologyMode: z27.boolean().optional(),
20375
+ dataBrowserAllDataVirtualTab: z27.boolean().optional(),
20376
+ workbenchPanelTone: z27.enum(["default", "compact-glass"]).optional(),
20377
+ workbenchCustomScenesEnabled: z27.boolean().optional(),
20378
+ workbenchRetiredViewsEnabled: z27.boolean().optional(),
20379
+ executionResultLayout: z27.enum(["grid", "masonry"]).optional(),
20380
+ executionResultShowConversionDuration: z27.boolean().optional(),
20381
+ ugcAssetDirectoryTheme: z27.enum(["default", "studio-gallery"]).optional(),
20382
+ ugcToolNamespaceFilter: z27.string().trim().max(256).optional(),
20383
+ linesheetStrictUnsavedGuard: z27.boolean().optional(),
20384
+ defaultTeamLandingRoute: z27.string().trim().max(256).optional()
20385
+ }).strict();
20358
20386
  var TenantAgentThemeConfigSchema = z27.object({
20359
20387
  logo: AssetVariantsSchema.optional(),
20360
20388
  brandDisplayMode: z27.enum(["auto", "logo-only", "logo-name", "name-only"]).optional(),
20361
20389
  density: z27.enum(["compact", "default", "comfortable"]).optional(),
20362
- sidebar: AgentWorkbenchSidebarConfigSchema.optional()
20390
+ sidebar: AgentWorkbenchSidebarConfigSchema.optional(),
20391
+ inputPlaceholder: z27.record(LocaleIdentifierSchema, z27.string()).optional(),
20392
+ attachmentLibraryEnabled: z27.boolean().optional()
20363
20393
  }).strict();
20364
20394
  var LEGACY_CURRENT_USER_MENU_ITEM_IDS = ["dark-mode", "language", "settings", "logout"];
20365
20395
  var CURRENT_USER_MENU_CONTROL_REFS = ["dark-mode", "language"];
@@ -20447,7 +20477,14 @@ var ThemeHeadbarSchema = z27.object({
20447
20477
  navPosition: z27.enum(["left", "center", "right"]).optional(),
20448
20478
  actions: z27.union([z27.literal("*"), z27.array(ContractIdentifierSchema)]).optional(),
20449
20479
  profile: CurrentUserMenuProfileSchema.optional(),
20450
- showTeamQuota: z27.boolean().optional()
20480
+ showTeamQuota: z27.boolean().optional(),
20481
+ logo: AssetVariantsSchema.optional(),
20482
+ background: AssetVariantsSchema.optional()
20483
+ }).strict();
20484
+ var HeadbarProfileIdentifierSchema = z27.string().trim().regex(/^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$/, "Expected a stable headbar identifier.");
20485
+ var TenantHeadbarModuleTargetSchema = z27.object({
20486
+ type: z27.literal("agent-chat"),
20487
+ agentId: HeadbarProfileIdentifierSchema
20451
20488
  }).strict();
20452
20489
  var TenantHeadbarModuleLeafSchema = z27.object({
20453
20490
  id: ContractIdentifierSchema,
@@ -20458,7 +20495,10 @@ var TenantHeadbarModuleLeafSchema = z27.object({
20458
20495
  icon: z27.string().optional(),
20459
20496
  showQuickSwitcher: z27.boolean().optional(),
20460
20497
  showSidebar: z27.boolean().optional(),
20461
- showContentFrame: z27.boolean().optional()
20498
+ showContentFrame: z27.boolean().optional(),
20499
+ dataBrowserProfile: HeadbarProfileIdentifierSchema.optional(),
20500
+ target: TenantHeadbarModuleTargetSchema.optional(),
20501
+ defaultViewId: ContractIdentifierSchema.optional()
20462
20502
  }).strict();
20463
20503
  var TenantHeadbarModuleItemSchema = TenantHeadbarModuleLeafSchema.extend({
20464
20504
  children: z27.array(TenantHeadbarModuleLeafSchema).optional()
@@ -20469,7 +20509,9 @@ var KernelHeadbarSchema = z27.object({
20469
20509
  heightPx: z27.number().positive().optional(),
20470
20510
  navPosition: z27.enum(["left", "center", "right"]).optional(),
20471
20511
  brandTitle: z27.string().optional(),
20472
- menuRadius: z27.enum(["default", "none", "sm", "md", "lg", "xl", "full"]).optional()
20512
+ menuRadius: z27.enum(["default", "none", "sm", "md", "lg", "xl", "full"]).optional(),
20513
+ logo: AssetVariantsSchema.optional(),
20514
+ background: AssetVariantsSchema.optional()
20473
20515
  }).strict();
20474
20516
  var CustomIconSchema = z27.object({
20475
20517
  color: z27.string().optional(),
@@ -20482,11 +20524,27 @@ var WorkbenchCustomerToolSchema = z27.object({
20482
20524
  label: z27.union([z27.string(), z27.record(LocaleIdentifierSchema, z27.string())]).optional(),
20483
20525
  fixed: z27.boolean().optional()
20484
20526
  }).strict();
20527
+ var SidebarHiddenPageIdsDefaultSchema = z27.array(
20528
+ z27.string().min(1).max(128).refine((id) => id === id.trim(), "Hidden page ids must not contain leading or trailing whitespace.")
20529
+ ).max(256).superRefine((ids, context) => {
20530
+ const seen = /* @__PURE__ */ new Set();
20531
+ ids.forEach((id, index) => {
20532
+ if (seen.has(id)) {
20533
+ context.addIssue({
20534
+ code: "custom",
20535
+ message: `Duplicate hidden page id ${id}.`,
20536
+ path: [index]
20537
+ });
20538
+ }
20539
+ seen.add(id);
20540
+ });
20541
+ });
20485
20542
  var WorkbenchStudioOverrideSchema = z27.object({
20486
20543
  studioName: z27.string().trim().min(1),
20487
20544
  dropdownToolsDefault: z27.array(ContractIdentifierSchema).optional(),
20488
20545
  existingToolsDefault: z27.array(ContractIdentifierSchema).optional(),
20489
- historyColumnsDefault: z27.number().int().min(1).max(6).optional()
20546
+ historyColumnsDefault: z27.number().int().min(1).max(6).optional(),
20547
+ sidebarHiddenPageIdsDefault: SidebarHiddenPageIdsDefaultSchema.optional()
20490
20548
  }).strict();
20491
20549
  var TenantWorkbenchPageContextSchema = z27.object({
20492
20550
  workflow: JsonObjectSchema.optional(),
@@ -20588,6 +20646,7 @@ var TenantWorkbenchConfigSchema = z27.object({
20588
20646
  layoutManagerEnabled: z27.boolean().optional(),
20589
20647
  existingToolsDefault: z27.array(ContractIdentifierSchema).optional(),
20590
20648
  historyColumnsDefault: z27.number().int().min(1).max(6).optional(),
20649
+ sidebarHiddenPageIdsDefault: SidebarHiddenPageIdsDefaultSchema.optional(),
20591
20650
  studioOverrides: z27.array(WorkbenchStudioOverrideSchema).optional()
20592
20651
  }).strict().optional()
20593
20652
  }).strict().superRefine(({ pages, pageGroups }, context) => {
@@ -20693,6 +20752,86 @@ var TenantListFooterConfigSchema = z27.object({
20693
20752
  alignment: z27.enum(["start", "end", "space-between"]).optional(),
20694
20753
  density: z27.enum(["compact", "default", "comfortable"]).optional()
20695
20754
  }).strict();
20755
+ var DesignReviewOntologyIdSchema = z27.string().min(1).max(128).refine(
20756
+ (id) => id === id.trim() && [...id].length <= 128 && !/[\u0000-\u001f]/.test(id),
20757
+ "Design review ontology ids must be trimmed non-empty strings without control characters."
20758
+ );
20759
+ var TenantDesignReviewConfigSchema = z27.object({
20760
+ enabled: z27.boolean(),
20761
+ schemaVersion: z27.literal(1),
20762
+ projectOntologyId: DesignReviewOntologyIdSchema.optional(),
20763
+ roundOntologyId: DesignReviewOntologyIdSchema.optional(),
20764
+ itemOntologyId: DesignReviewOntologyIdSchema.optional(),
20765
+ resultOntologyId: DesignReviewOntologyIdSchema.optional()
20766
+ }).strict().superRefine((value, context) => {
20767
+ const roleKeys = ["projectOntologyId", "roundOntologyId", "itemOntologyId", "resultOntologyId"];
20768
+ if (value.enabled) {
20769
+ for (const key of roleKeys) {
20770
+ if (!value[key]) {
20771
+ context.addIssue({
20772
+ code: "custom",
20773
+ path: [key],
20774
+ message: `designReview.${key} is required when designReview.enabled is true.`
20775
+ });
20776
+ }
20777
+ }
20778
+ }
20779
+ const seen = /* @__PURE__ */ new Set();
20780
+ for (const key of roleKeys) {
20781
+ const id = value[key];
20782
+ if (!id) continue;
20783
+ if (seen.has(id)) {
20784
+ context.addIssue({
20785
+ code: "custom",
20786
+ path: [key],
20787
+ message: "designReview roles must use distinct Ontologies."
20788
+ });
20789
+ }
20790
+ seen.add(id);
20791
+ }
20792
+ });
20793
+ var TenantOntologyCatalogKindSchema = z27.enum([
20794
+ "model",
20795
+ "prompt-dictionary",
20796
+ "generation-preset",
20797
+ "trend-palette"
20798
+ ]);
20799
+ var TenantOntologyCatalogSchema = z27.object({
20800
+ catalogId: ContractIdentifierSchema,
20801
+ kind: TenantOntologyCatalogKindSchema,
20802
+ ontologyId: ContractIdentifierSchema,
20803
+ toolKeys: z27.array(ContractIdentifierSchema).optional(),
20804
+ viewId: ContractIdentifierSchema.optional(),
20805
+ teamId: ContractIdentifierSchema.optional(),
20806
+ teamOnly: z27.boolean().optional(),
20807
+ pageSize: z27.number().int().positive().optional(),
20808
+ fieldMap: z27.record(z27.string(), z27.string()).optional(),
20809
+ columnIds: z27.record(z27.string(), z27.string()).optional()
20810
+ }).strict();
20811
+ 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.");
20812
+ var TenantViewSharingFullPolicySchema = z27.object({
20813
+ enabled: z27.boolean(),
20814
+ passwordAttemptsPerMinute: z27.number().int().min(1).max(1e3),
20815
+ management: z27.object({
20816
+ enabled: z27.boolean(),
20817
+ default: z27.boolean()
20818
+ }).strict(),
20819
+ expiry: z27.object({
20820
+ enabled: z27.boolean(),
20821
+ defaultDays: z27.number().int().min(0).max(36500),
20822
+ maxDays: z27.number().int().min(0).max(36500),
20823
+ allowUnlimited: z27.boolean()
20824
+ }).strict(),
20825
+ publicAccess: z27.object({
20826
+ allowedGates: ViewSharingPublicAccessGatesSchema,
20827
+ defaultGates: ViewSharingPublicAccessGatesSchema,
20828
+ requiredGates: ViewSharingPublicAccessGatesSchema
20829
+ }).strict()
20830
+ }).strict();
20831
+ var TenantViewSharingPolicySchema = z27.union([
20832
+ TenantViewSharingFullPolicySchema,
20833
+ z27.object({ passwordAttemptsPerMinute: z27.number().int().min(1).max(1e3) }).strict()
20834
+ ]);
20696
20835
  var TenantApplicationConfigSchema = z27.object({
20697
20836
  theme: z27.object({
20698
20837
  id: z27.string().optional(),
@@ -20762,6 +20901,9 @@ var TenantApplicationConfigSchema = z27.object({
20762
20901
  workbenchSidebarViewType: z27.boolean().optional(),
20763
20902
  workbenchSidebarFormViewEmbed: z27.boolean().optional(),
20764
20903
  workbenchSidebarModernMode: z27.boolean().optional(),
20904
+ workbenchSidebarMode: TenantWorkbenchSidebarModeSchema.optional(),
20905
+ navigation: TenantThemeNavigationBrandingSchema.optional(),
20906
+ policies: TenantBehaviorPoliciesSchema.optional(),
20765
20907
  ugc: z27.object({
20766
20908
  onItemClick: z27.boolean(),
20767
20909
  subtitle: z27.boolean().optional()
@@ -20781,7 +20923,10 @@ var TenantApplicationConfigSchema = z27.object({
20781
20923
  pageZoom: z27.number().positive().optional(),
20782
20924
  miniMode: z27.object({ showPreviewViewExecutionResultGrid: z27.boolean() }).strict().optional(),
20783
20925
  workflow: z27.object({ allowConcurrentRuns: z27.boolean() }).strict().optional(),
20784
- historyResult: z27.object({ display: z27.boolean() }).strict().optional(),
20926
+ historyResult: z27.object({
20927
+ display: z27.boolean(),
20928
+ imageClickMode: z27.enum(["record-detail", "preview"]).optional()
20929
+ }).strict().optional(),
20785
20930
  uploader: z27.object({
20786
20931
  orientation: z27.enum(["vertical", "horizontal"]),
20787
20932
  pasteButton: z27.boolean(),
@@ -20847,14 +20992,29 @@ var TenantApplicationConfigSchema = z27.object({
20847
20992
  rememberWorkflowModelSelection: z27.boolean().optional()
20848
20993
  }).strict(),
20849
20994
  dataManagement: z27.object({
20995
+ designReview: TenantDesignReviewConfigSchema.optional(),
20850
20996
  favoriteOntologyId: z27.string().optional(),
20851
20997
  pairedOntologyId: z27.string().optional(),
20852
20998
  galleryOntologyIds: z27.array(ContractIdentifierSchema).max(20).optional(),
20853
20999
  galleryOntologyId: z27.string().optional(),
21000
+ galleryTagCorrectionWorkOrderOntologyId: z27.string().trim().max(256).optional(),
20854
21001
  dataBrowserDefaultOntologyId: z27.string().optional(),
20855
21002
  workflowResultOntologyId: z27.string().optional(),
21003
+ ontologyCatalogs: z27.array(TenantOntologyCatalogSchema).superRefine((catalogs, context) => {
21004
+ const seen = /* @__PURE__ */ new Set();
21005
+ catalogs.forEach((catalog, index) => {
21006
+ if (seen.has(catalog.catalogId)) {
21007
+ context.addIssue({
21008
+ code: "custom",
21009
+ path: [index, "catalogId"],
21010
+ message: `Duplicate ontology catalog id ${catalog.catalogId}.`
21011
+ });
21012
+ }
21013
+ seen.add(catalog.catalogId);
21014
+ });
21015
+ }).optional(),
20856
21016
  homeAdvertisement: z27.object({
20857
- ontologyId: ContractIdentifierSchema,
21017
+ ontologyId: ContractIdentifierSchema.optional(),
20858
21018
  viewId: ContractIdentifierSchema.optional(),
20859
21019
  viewType: z27.enum(["filter", "container", "share_link"]).optional(),
20860
21020
  teamId: ContractIdentifierSchema.optional(),
@@ -20863,8 +21023,12 @@ var TenantApplicationConfigSchema = z27.object({
20863
21023
  sortBy: z27.enum(["pin_order", "asset_id", "updated_timestamp", "created_timestamp"]).optional(),
20864
21024
  sortOrder: z27.enum(["asc", "desc"]).optional(),
20865
21025
  fieldMap: z27.record(z27.string(), z27.string()).optional(),
20866
- columnIds: z27.record(z27.string(), z27.string()).optional()
20867
- }).strict().optional(),
21026
+ columnIds: z27.record(z27.string(), z27.string()).optional(),
21027
+ rotationIntervalMs: z27.number().int().min(1e3).max(6e4).optional()
21028
+ }).strict().refine(
21029
+ (value) => value.ontologyId !== void 0 || value.rotationIntervalMs !== void 0,
21030
+ "homeAdvertisement requires ontologyId or rotationIntervalMs."
21031
+ ).optional(),
20868
21032
  homeShortcutBackground: z27.object({
20869
21033
  ontologyId: ContractIdentifierSchema,
20870
21034
  viewId: ContractIdentifierSchema.optional(),
@@ -20939,7 +21103,8 @@ var TenantApplicationConfigSchema = z27.object({
20939
21103
  default: z27.enum(["manual", "auto"]).optional()
20940
21104
  }).strict().optional()
20941
21105
  }).strict().optional(),
20942
- personalNotifications: z27.object({ supported: z27.boolean() }).strict().optional()
21106
+ personalNotifications: z27.object({ supported: z27.boolean() }).strict().optional(),
21107
+ policy: TenantViewSharingPolicySchema.optional()
20943
21108
  }).strict().optional()
20944
21109
  }).strict().optional(),
20945
21110
  kernelRuntime: z27.object({
@@ -22964,9 +23129,14 @@ export {
22964
23129
  TenantDataBindingsSchema,
22965
23130
  TenantTrendRadarSourceSchema,
22966
23131
  TenantTrendRadarCollectionTargetSchema,
23132
+ TenantTrendRadarWorkflowBindingSchema,
22967
23133
  TenantTrendRadarEvaluationSchema,
23134
+ TenantTrendRadarPresetSourceSchema,
22968
23135
  TenantTrendRadarDerivedMetricsSchema,
22969
23136
  TenantTrendRadarSourcesSchema,
23137
+ TenantThemeNavigationBrandingSchema,
23138
+ TenantWorkbenchSidebarModeSchema,
23139
+ TenantBehaviorPoliciesSchema,
22970
23140
  TenantAgentThemeConfigSchema,
22971
23141
  LEGACY_CURRENT_USER_MENU_ITEM_IDS,
22972
23142
  CURRENT_USER_MENU_CONTROL_REFS,
@@ -22980,6 +23150,7 @@ export {
22980
23150
  CurrentUserMenuConfigSchema,
22981
23151
  CurrentUserMenuProfileSchema,
22982
23152
  ThemeHeadbarSchema,
23153
+ TenantHeadbarModuleTargetSchema,
22983
23154
  TenantHeadbarModuleItemSchema,
22984
23155
  TenantWorkbenchPageContextSchema,
22985
23156
  TenantWorkbenchPageEnvelopeSchema,
@@ -22987,6 +23158,11 @@ export {
22987
23158
  TenantWorkbenchConfigSchema,
22988
23159
  TenantLandingPageConfigSchema,
22989
23160
  TenantListFooterConfigSchema,
23161
+ TenantDesignReviewConfigSchema,
23162
+ TenantOntologyCatalogKindSchema,
23163
+ TenantOntologyCatalogSchema,
23164
+ TenantViewSharingFullPolicySchema,
23165
+ TenantViewSharingPolicySchema,
22990
23166
  TenantApplicationConfigSchema,
22991
23167
  DeclarativeRuntimeRolloutCapabilitySchema,
22992
23168
  TenantProductConfigSchema,
@@ -23080,4 +23256,4 @@ export {
23080
23256
  ViewShareLinkPolicySchema,
23081
23257
  ViewOntologyRecordSchema
23082
23258
  };
23083
- //# sourceMappingURL=chunk-BFGFPBEU.mjs.map
23259
+ //# sourceMappingURL=chunk-5QMVFOWH.mjs.map