@inf-monkeys-tech/monkeys 1.0.60 → 1.0.61

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.
@@ -8011,6 +8011,67 @@ var AgentWorkbenchQuickStartCategorySchema = z6.object({
8011
8011
  icon: AgentWorkbenchQuickStartIconSchema.optional(),
8012
8012
  sections: z6.array(AgentWorkbenchQuickStartSectionSchema).min(1)
8013
8013
  }).strict();
8014
+ var AgentWorkbenchSidebarNavigationModeSchema = z6.enum(["default", "session", "trend"]);
8015
+ var AgentWorkbenchSidebarSectionSchema = z6.enum([
8016
+ "header",
8017
+ "search",
8018
+ "new-session",
8019
+ "sessions",
8020
+ "agents",
8021
+ "groups",
8022
+ "footer"
8023
+ ]);
8024
+ var AgentWorkbenchSidebarGroupItemSchema = z6.object({
8025
+ id: ContractIdentifierSchema,
8026
+ title: z6.string().trim().min(1).max(120),
8027
+ subtitle: z6.string().trim().min(1).max(240).optional(),
8028
+ imageUrl: z6.string().trim().min(1).max(2048).optional(),
8029
+ prompt: z6.string().trim().min(1).max(1e4),
8030
+ mediaVariant: z6.enum(["cover", "cover-with-label", "logo"]).optional(),
8031
+ mediaTreatment: z6.enum(["preserve", "monochrome-light", "invert"]).optional()
8032
+ }).strict();
8033
+ var AgentWorkbenchSidebarGroupSchema = z6.object({
8034
+ id: ContractIdentifierSchema,
8035
+ label: z6.string().trim().min(1).max(120),
8036
+ items: z6.array(AgentWorkbenchSidebarGroupItemSchema).min(1).max(50),
8037
+ itemAspectRatio: z6.number().positive().max(10).optional()
8038
+ }).strict();
8039
+ var AgentWorkbenchSidebarConfigSchema = z6.object({
8040
+ navigationMode: AgentWorkbenchSidebarNavigationModeSchema.optional(),
8041
+ defaultOpen: z6.boolean().optional(),
8042
+ /** Initial sidebar width as a percentage of the workbench split pane. */
8043
+ widthPercent: z6.number().int().min(10).max(40).optional(),
8044
+ visibleSections: z6.array(AgentWorkbenchSidebarSectionSchema).min(1).max(7).optional(),
8045
+ groups: z6.array(AgentWorkbenchSidebarGroupSchema).max(20).optional(),
8046
+ defaultGroupId: ContractIdentifierSchema.optional(),
8047
+ quickStartEnabled: z6.boolean().optional(),
8048
+ quickStartCategories: z6.array(AgentWorkbenchQuickStartCategorySchema).max(20).optional(),
8049
+ trendEntryEnabled: z6.boolean().optional()
8050
+ }).strict().superRefine((value, context) => {
8051
+ if (value.visibleSections && new Set(value.visibleSections).size !== value.visibleSections.length) {
8052
+ context.addIssue({
8053
+ code: "custom",
8054
+ path: ["visibleSections"],
8055
+ message: "Sidebar sections must be unique."
8056
+ });
8057
+ }
8058
+ if (value.defaultGroupId && !value.groups?.some((group) => group.id === value.defaultGroupId)) {
8059
+ context.addIssue({
8060
+ code: "custom",
8061
+ path: ["defaultGroupId"],
8062
+ message: "The default sidebar group must exist in groups."
8063
+ });
8064
+ }
8065
+ });
8066
+ var DEFAULT_AGENT_WORKBENCH_SIDEBAR_SECTIONS = Object.freeze([
8067
+ "header",
8068
+ "search",
8069
+ "new-session",
8070
+ "sessions",
8071
+ "agents",
8072
+ "groups",
8073
+ "footer"
8074
+ ]);
8014
8075
  var AgentWorkbenchQuickStartViewModelSchema = z6.object({
8015
8076
  contract: z6.literal("AgentWorkbenchQuickStartViewModel"),
8016
8077
  mode: AgentModeSchema,
@@ -11249,6 +11310,16 @@ var AssetVariantsSchema = z14.object({
11249
11310
  light: z14.string().optional(),
11250
11311
  dark: z14.string().optional()
11251
11312
  }).strict();
11313
+ var TenantAgentThemeConfigSchema = z14.object({
11314
+ logo: AssetVariantsSchema.optional(),
11315
+ brandDisplayMode: z14.enum(["auto", "logo-only", "logo-name", "name-only"]).optional(),
11316
+ density: z14.enum(["compact", "default", "comfortable"]).optional(),
11317
+ sidebar: AgentWorkbenchSidebarConfigSchema.optional(),
11318
+ /** @deprecated Use sidebar.navigationMode. */
11319
+ navigationMode: z14.enum(["default", "session", "trend"]).optional(),
11320
+ /** @deprecated Use sidebar.quickStartEnabled. */
11321
+ quickStartEnabled: z14.boolean().optional()
11322
+ }).strict();
11252
11323
  var LEGACY_CURRENT_USER_MENU_ITEM_IDS = ["dark-mode", "language", "settings", "logout"];
11253
11324
  var CURRENT_USER_MENU_CONTROL_REFS = ["dark-mode", "language"];
11254
11325
  var CURRENT_USER_MENU_ACTION_REFS = ["logout"];
@@ -11694,13 +11765,7 @@ var TenantApplicationConfigSchema = z14.object({
11694
11765
  defaultPageKey: ContractIdentifierSchema.optional(),
11695
11766
  homeEntryEnabled: z14.boolean().optional()
11696
11767
  }).strict().optional(),
11697
- agent: z14.object({
11698
- logo: AssetVariantsSchema.optional(),
11699
- brandDisplayMode: z14.enum(["auto", "logo-only", "logo-name", "name-only"]).optional(),
11700
- density: z14.enum(["compact", "default", "comfortable"]).optional(),
11701
- navigationMode: z14.enum(["default", "session", "trend"]).optional(),
11702
- quickStartEnabled: z14.boolean().optional()
11703
- }).strict().optional()
11768
+ agent: TenantAgentThemeConfigSchema.optional()
11704
11769
  }).strict(),
11705
11770
  landingPage: TenantLandingPageConfigSchema.optional(),
11706
11771
  auth: z14.object({
@@ -12903,6 +12968,11 @@ export {
12903
12968
  AgentWorkbenchQuickStartTemplateSchema,
12904
12969
  AgentWorkbenchQuickStartViewModelSchema,
12905
12970
  AgentWorkbenchSessionItemSchema,
12971
+ AgentWorkbenchSidebarConfigSchema,
12972
+ AgentWorkbenchSidebarGroupItemSchema,
12973
+ AgentWorkbenchSidebarGroupSchema,
12974
+ AgentWorkbenchSidebarNavigationModeSchema,
12975
+ AgentWorkbenchSidebarSectionSchema,
12906
12976
  ApplicationHandoffEndpointSchema,
12907
12977
  ApplicationHandoffSchema,
12908
12978
  ApplicationRunSchema,
@@ -13025,6 +13095,7 @@ export {
13025
13095
  StorageLocatorSchema,
13026
13096
  StudioAgentModeSchema,
13027
13097
  SystemGroupDefinitionSchema,
13098
+ TenantAgentThemeConfigSchema,
13028
13099
  TenantApplicationConfigSchema,
13029
13100
  TenantLandingPageConfigSchema,
13030
13101
  TenantListFooterConfigSchema,