@inf-monkeys-tech/monkeys 1.0.58 → 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.
@@ -7953,6 +7953,15 @@ var AgentWorkbenchComposerQueueItemSchema = z6.object({
7953
7953
  attachmentCount: z6.number().int().nonnegative().default(0),
7954
7954
  status: z6.enum(["queued", "sending", "error"]).default("queued")
7955
7955
  }).strict();
7956
+ var AgentWorkbenchComposerInputActionIconSchema = z6.enum([
7957
+ "file-text",
7958
+ "image"
7959
+ ]);
7960
+ var AgentWorkbenchComposerInputActionSchema = z6.object({
7961
+ id: ContractIdentifierSchema,
7962
+ label: z6.string().min(1),
7963
+ icon: AgentWorkbenchComposerInputActionIconSchema.optional()
7964
+ }).strict();
7956
7965
  var AgentWorkbenchComposerModelOptionSchema = z6.object({
7957
7966
  id: ContractIdentifierSchema,
7958
7967
  label: z6.string().min(1),
@@ -8002,6 +8011,67 @@ var AgentWorkbenchQuickStartCategorySchema = z6.object({
8002
8011
  icon: AgentWorkbenchQuickStartIconSchema.optional(),
8003
8012
  sections: z6.array(AgentWorkbenchQuickStartSectionSchema).min(1)
8004
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
+ ]);
8005
8075
  var AgentWorkbenchQuickStartViewModelSchema = z6.object({
8006
8076
  contract: z6.literal("AgentWorkbenchQuickStartViewModel"),
8007
8077
  mode: AgentModeSchema,
@@ -8016,6 +8086,8 @@ var AgentWorkbenchComposerViewModelSchema = z6.object({
8016
8086
  placeholder: z6.string().optional(),
8017
8087
  attachments: z6.array(AgentWorkbenchComposerAttachmentSchema).default([]),
8018
8088
  queuedDrafts: z6.array(AgentWorkbenchComposerQueueItemSchema).default([]),
8089
+ inputActions: z6.array(AgentWorkbenchComposerInputActionSchema).default([]),
8090
+ selectedInputActionId: ContractIdentifierSchema.optional(),
8019
8091
  model: z6.object({
8020
8092
  selectedId: ContractIdentifierSchema.optional(),
8021
8093
  options: z6.array(AgentWorkbenchComposerModelOptionSchema)
@@ -11238,6 +11310,16 @@ var AssetVariantsSchema = z14.object({
11238
11310
  light: z14.string().optional(),
11239
11311
  dark: z14.string().optional()
11240
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();
11241
11323
  var LEGACY_CURRENT_USER_MENU_ITEM_IDS = ["dark-mode", "language", "settings", "logout"];
11242
11324
  var CURRENT_USER_MENU_CONTROL_REFS = ["dark-mode", "language"];
11243
11325
  var CURRENT_USER_MENU_ACTION_REFS = ["logout"];
@@ -11683,13 +11765,7 @@ var TenantApplicationConfigSchema = z14.object({
11683
11765
  defaultPageKey: ContractIdentifierSchema.optional(),
11684
11766
  homeEntryEnabled: z14.boolean().optional()
11685
11767
  }).strict().optional(),
11686
- agent: z14.object({
11687
- logo: AssetVariantsSchema.optional(),
11688
- brandDisplayMode: z14.enum(["auto", "logo-only", "logo-name", "name-only"]).optional(),
11689
- density: z14.enum(["compact", "default", "comfortable"]).optional(),
11690
- navigationMode: z14.enum(["default", "session", "trend"]).optional(),
11691
- quickStartEnabled: z14.boolean().optional()
11692
- }).strict().optional()
11768
+ agent: TenantAgentThemeConfigSchema.optional()
11693
11769
  }).strict(),
11694
11770
  landingPage: TenantLandingPageConfigSchema.optional(),
11695
11771
  auth: z14.object({
@@ -12877,6 +12953,7 @@ export {
12877
12953
  AgentWorkbenchCollectionStatusSchema,
12878
12954
  AgentWorkbenchComposerAttachmentSchema,
12879
12955
  AgentWorkbenchComposerCapabilitiesSchema,
12956
+ AgentWorkbenchComposerInputActionSchema,
12880
12957
  AgentWorkbenchComposerModelOptionSchema,
12881
12958
  AgentWorkbenchComposerQueueItemSchema,
12882
12959
  AgentWorkbenchComposerStatusSchema,
@@ -12891,6 +12968,11 @@ export {
12891
12968
  AgentWorkbenchQuickStartTemplateSchema,
12892
12969
  AgentWorkbenchQuickStartViewModelSchema,
12893
12970
  AgentWorkbenchSessionItemSchema,
12971
+ AgentWorkbenchSidebarConfigSchema,
12972
+ AgentWorkbenchSidebarGroupItemSchema,
12973
+ AgentWorkbenchSidebarGroupSchema,
12974
+ AgentWorkbenchSidebarNavigationModeSchema,
12975
+ AgentWorkbenchSidebarSectionSchema,
12894
12976
  ApplicationHandoffEndpointSchema,
12895
12977
  ApplicationHandoffSchema,
12896
12978
  ApplicationRunSchema,
@@ -13013,6 +13095,7 @@ export {
13013
13095
  StorageLocatorSchema,
13014
13096
  StudioAgentModeSchema,
13015
13097
  SystemGroupDefinitionSchema,
13098
+ TenantAgentThemeConfigSchema,
13016
13099
  TenantApplicationConfigSchema,
13017
13100
  TenantLandingPageConfigSchema,
13018
13101
  TenantListFooterConfigSchema,