@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.
@@ -2430,6 +2430,18 @@ export declare const AgentWorkbenchComposerQueueItemSchema: z.ZodObject<{
2430
2430
  sending: "sending";
2431
2431
  }>>;
2432
2432
  }, z.core.$strict>;
2433
+ export declare const AgentWorkbenchComposerInputActionIconSchema: z.ZodEnum<{
2434
+ image: "image";
2435
+ "file-text": "file-text";
2436
+ }>;
2437
+ export declare const AgentWorkbenchComposerInputActionSchema: z.ZodObject<{
2438
+ id: z.ZodString;
2439
+ label: z.ZodString;
2440
+ icon: z.ZodOptional<z.ZodEnum<{
2441
+ image: "image";
2442
+ "file-text": "file-text";
2443
+ }>>;
2444
+ }, z.core.$strict>;
2433
2445
  export declare const AgentWorkbenchComposerModelOptionSchema: z.ZodObject<{
2434
2446
  id: z.ZodString;
2435
2447
  label: z.ZodString;
@@ -2453,9 +2465,9 @@ export declare const AgentWorkbenchComposerCapabilitiesSchema: z.ZodObject<{
2453
2465
  export declare const AgentWorkbenchQuickStartIconSchema: z.ZodEnum<{
2454
2466
  code: "code";
2455
2467
  search: "search";
2468
+ "file-text": "file-text";
2456
2469
  sparkles: "sparkles";
2457
2470
  palette: "palette";
2458
- "file-text": "file-text";
2459
2471
  "shopping-bag": "shopping-bag";
2460
2472
  }>;
2461
2473
  export declare const AgentWorkbenchQuickStartTemplateActionSchema: z.ZodEnum<{
@@ -2474,9 +2486,9 @@ export declare const AgentWorkbenchQuickStartTemplateSchema: z.ZodObject<{
2474
2486
  icon: z.ZodOptional<z.ZodEnum<{
2475
2487
  code: "code";
2476
2488
  search: "search";
2489
+ "file-text": "file-text";
2477
2490
  sparkles: "sparkles";
2478
2491
  palette: "palette";
2479
- "file-text": "file-text";
2480
2492
  "shopping-bag": "shopping-bag";
2481
2493
  }>>;
2482
2494
  coverImageUrl: z.ZodOptional<z.ZodString>;
@@ -2502,9 +2514,9 @@ export declare const AgentWorkbenchQuickStartSectionSchema: z.ZodObject<{
2502
2514
  icon: z.ZodOptional<z.ZodEnum<{
2503
2515
  code: "code";
2504
2516
  search: "search";
2517
+ "file-text": "file-text";
2505
2518
  sparkles: "sparkles";
2506
2519
  palette: "palette";
2507
- "file-text": "file-text";
2508
2520
  "shopping-bag": "shopping-bag";
2509
2521
  }>>;
2510
2522
  coverImageUrl: z.ZodOptional<z.ZodString>;
@@ -2522,9 +2534,9 @@ export declare const AgentWorkbenchQuickStartCategorySchema: z.ZodObject<{
2522
2534
  icon: z.ZodOptional<z.ZodEnum<{
2523
2535
  code: "code";
2524
2536
  search: "search";
2537
+ "file-text": "file-text";
2525
2538
  sparkles: "sparkles";
2526
2539
  palette: "palette";
2527
- "file-text": "file-text";
2528
2540
  "shopping-bag": "shopping-bag";
2529
2541
  }>>;
2530
2542
  sections: z.ZodArray<z.ZodObject<{
@@ -2542,9 +2554,9 @@ export declare const AgentWorkbenchQuickStartCategorySchema: z.ZodObject<{
2542
2554
  icon: z.ZodOptional<z.ZodEnum<{
2543
2555
  code: "code";
2544
2556
  search: "search";
2557
+ "file-text": "file-text";
2545
2558
  sparkles: "sparkles";
2546
2559
  palette: "palette";
2547
- "file-text": "file-text";
2548
2560
  "shopping-bag": "shopping-bag";
2549
2561
  }>>;
2550
2562
  coverImageUrl: z.ZodOptional<z.ZodString>;
@@ -2557,6 +2569,149 @@ export declare const AgentWorkbenchQuickStartCategorySchema: z.ZodObject<{
2557
2569
  }, z.core.$strict>>;
2558
2570
  }, z.core.$strict>>;
2559
2571
  }, z.core.$strict>;
2572
+ export declare const AgentWorkbenchSidebarNavigationModeSchema: z.ZodEnum<{
2573
+ default: "default";
2574
+ session: "session";
2575
+ trend: "trend";
2576
+ }>;
2577
+ export declare const AgentWorkbenchSidebarSectionSchema: z.ZodEnum<{
2578
+ search: "search";
2579
+ agents: "agents";
2580
+ sessions: "sessions";
2581
+ header: "header";
2582
+ "new-session": "new-session";
2583
+ groups: "groups";
2584
+ footer: "footer";
2585
+ }>;
2586
+ export declare const AgentWorkbenchSidebarGroupItemSchema: z.ZodObject<{
2587
+ id: z.ZodString;
2588
+ title: z.ZodString;
2589
+ subtitle: z.ZodOptional<z.ZodString>;
2590
+ imageUrl: z.ZodOptional<z.ZodString>;
2591
+ prompt: z.ZodString;
2592
+ mediaVariant: z.ZodOptional<z.ZodEnum<{
2593
+ cover: "cover";
2594
+ "cover-with-label": "cover-with-label";
2595
+ logo: "logo";
2596
+ }>>;
2597
+ mediaTreatment: z.ZodOptional<z.ZodEnum<{
2598
+ preserve: "preserve";
2599
+ "monochrome-light": "monochrome-light";
2600
+ invert: "invert";
2601
+ }>>;
2602
+ }, z.core.$strict>;
2603
+ export declare const AgentWorkbenchSidebarGroupSchema: z.ZodObject<{
2604
+ id: z.ZodString;
2605
+ label: z.ZodString;
2606
+ items: z.ZodArray<z.ZodObject<{
2607
+ id: z.ZodString;
2608
+ title: z.ZodString;
2609
+ subtitle: z.ZodOptional<z.ZodString>;
2610
+ imageUrl: z.ZodOptional<z.ZodString>;
2611
+ prompt: z.ZodString;
2612
+ mediaVariant: z.ZodOptional<z.ZodEnum<{
2613
+ cover: "cover";
2614
+ "cover-with-label": "cover-with-label";
2615
+ logo: "logo";
2616
+ }>>;
2617
+ mediaTreatment: z.ZodOptional<z.ZodEnum<{
2618
+ preserve: "preserve";
2619
+ "monochrome-light": "monochrome-light";
2620
+ invert: "invert";
2621
+ }>>;
2622
+ }, z.core.$strict>>;
2623
+ itemAspectRatio: z.ZodOptional<z.ZodNumber>;
2624
+ }, z.core.$strict>;
2625
+ export declare const AgentWorkbenchSidebarConfigSchema: z.ZodObject<{
2626
+ navigationMode: z.ZodOptional<z.ZodEnum<{
2627
+ default: "default";
2628
+ session: "session";
2629
+ trend: "trend";
2630
+ }>>;
2631
+ defaultOpen: z.ZodOptional<z.ZodBoolean>;
2632
+ widthPercent: z.ZodOptional<z.ZodNumber>;
2633
+ visibleSections: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2634
+ search: "search";
2635
+ agents: "agents";
2636
+ sessions: "sessions";
2637
+ header: "header";
2638
+ "new-session": "new-session";
2639
+ groups: "groups";
2640
+ footer: "footer";
2641
+ }>>>;
2642
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
2643
+ id: z.ZodString;
2644
+ label: z.ZodString;
2645
+ items: z.ZodArray<z.ZodObject<{
2646
+ id: z.ZodString;
2647
+ title: z.ZodString;
2648
+ subtitle: z.ZodOptional<z.ZodString>;
2649
+ imageUrl: z.ZodOptional<z.ZodString>;
2650
+ prompt: z.ZodString;
2651
+ mediaVariant: z.ZodOptional<z.ZodEnum<{
2652
+ cover: "cover";
2653
+ "cover-with-label": "cover-with-label";
2654
+ logo: "logo";
2655
+ }>>;
2656
+ mediaTreatment: z.ZodOptional<z.ZodEnum<{
2657
+ preserve: "preserve";
2658
+ "monochrome-light": "monochrome-light";
2659
+ invert: "invert";
2660
+ }>>;
2661
+ }, z.core.$strict>>;
2662
+ itemAspectRatio: z.ZodOptional<z.ZodNumber>;
2663
+ }, z.core.$strict>>>;
2664
+ defaultGroupId: z.ZodOptional<z.ZodString>;
2665
+ quickStartEnabled: z.ZodOptional<z.ZodBoolean>;
2666
+ quickStartCategories: z.ZodOptional<z.ZodArray<z.ZodObject<{
2667
+ id: z.ZodString;
2668
+ label: z.ZodString;
2669
+ icon: z.ZodOptional<z.ZodEnum<{
2670
+ code: "code";
2671
+ search: "search";
2672
+ "file-text": "file-text";
2673
+ sparkles: "sparkles";
2674
+ palette: "palette";
2675
+ "shopping-bag": "shopping-bag";
2676
+ }>>;
2677
+ sections: z.ZodArray<z.ZodObject<{
2678
+ id: z.ZodString;
2679
+ label: z.ZodString;
2680
+ templates: z.ZodArray<z.ZodObject<{
2681
+ id: z.ZodString;
2682
+ title: z.ZodString;
2683
+ description: z.ZodOptional<z.ZodString>;
2684
+ prompt: z.ZodString;
2685
+ action: z.ZodDefault<z.ZodEnum<{
2686
+ prompt: "prompt";
2687
+ upload: "upload";
2688
+ }>>;
2689
+ icon: z.ZodOptional<z.ZodEnum<{
2690
+ code: "code";
2691
+ search: "search";
2692
+ "file-text": "file-text";
2693
+ sparkles: "sparkles";
2694
+ palette: "palette";
2695
+ "shopping-bag": "shopping-bag";
2696
+ }>>;
2697
+ coverImageUrl: z.ZodOptional<z.ZodString>;
2698
+ accept: z.ZodDefault<z.ZodString>;
2699
+ multiple: z.ZodDefault<z.ZodBoolean>;
2700
+ modes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2701
+ chat: "chat";
2702
+ work: "work";
2703
+ }>>>;
2704
+ }, z.core.$strict>>;
2705
+ }, z.core.$strict>>;
2706
+ }, z.core.$strict>>>;
2707
+ trendEntryEnabled: z.ZodOptional<z.ZodBoolean>;
2708
+ }, z.core.$strict>;
2709
+ export declare const DEFAULT_AGENT_WORKBENCH_SIDEBAR_SECTIONS: readonly ["header", "search", "new-session", "sessions", "agents", "groups", "footer"];
2710
+ export interface AgentWorkbenchSidebarLegacyConfig {
2711
+ navigationMode?: AgentWorkbenchSidebarNavigationMode;
2712
+ quickStartEnabled?: boolean;
2713
+ }
2714
+ export declare function resolveAgentWorkbenchSidebarConfig(config?: AgentWorkbenchSidebarConfig, legacy?: AgentWorkbenchSidebarLegacyConfig): ResolvedAgentWorkbenchSidebarConfig;
2560
2715
  export declare const AgentWorkbenchQuickStartViewModelSchema: z.ZodObject<{
2561
2716
  contract: z.ZodLiteral<"AgentWorkbenchQuickStartViewModel">;
2562
2717
  mode: z.ZodEnum<{
@@ -2569,9 +2724,9 @@ export declare const AgentWorkbenchQuickStartViewModelSchema: z.ZodObject<{
2569
2724
  icon: z.ZodOptional<z.ZodEnum<{
2570
2725
  code: "code";
2571
2726
  search: "search";
2727
+ "file-text": "file-text";
2572
2728
  sparkles: "sparkles";
2573
2729
  palette: "palette";
2574
- "file-text": "file-text";
2575
2730
  "shopping-bag": "shopping-bag";
2576
2731
  }>>;
2577
2732
  sections: z.ZodArray<z.ZodObject<{
@@ -2589,9 +2744,9 @@ export declare const AgentWorkbenchQuickStartViewModelSchema: z.ZodObject<{
2589
2744
  icon: z.ZodOptional<z.ZodEnum<{
2590
2745
  code: "code";
2591
2746
  search: "search";
2747
+ "file-text": "file-text";
2592
2748
  sparkles: "sparkles";
2593
2749
  palette: "palette";
2594
- "file-text": "file-text";
2595
2750
  "shopping-bag": "shopping-bag";
2596
2751
  }>>;
2597
2752
  coverImageUrl: z.ZodOptional<z.ZodString>;
@@ -2642,6 +2797,15 @@ export declare const AgentWorkbenchComposerViewModelSchema: z.ZodObject<{
2642
2797
  sending: "sending";
2643
2798
  }>>;
2644
2799
  }, z.core.$strict>>>;
2800
+ inputActions: z.ZodDefault<z.ZodArray<z.ZodObject<{
2801
+ id: z.ZodString;
2802
+ label: z.ZodString;
2803
+ icon: z.ZodOptional<z.ZodEnum<{
2804
+ image: "image";
2805
+ "file-text": "file-text";
2806
+ }>>;
2807
+ }, z.core.$strict>>>;
2808
+ selectedInputActionId: z.ZodOptional<z.ZodString>;
2645
2809
  model: z.ZodObject<{
2646
2810
  selectedId: z.ZodOptional<z.ZodString>;
2647
2811
  options: z.ZodArray<z.ZodObject<{
@@ -2728,6 +2892,7 @@ export type AgentWorkbenchComposerAttachment = z.infer<typeof AgentWorkbenchComp
2728
2892
  export type AgentWorkbenchComposerQueueItem = z.infer<typeof AgentWorkbenchComposerQueueItemSchema>;
2729
2893
  export type AgentWorkbenchComposerModelOption = z.infer<typeof AgentWorkbenchComposerModelOptionSchema>;
2730
2894
  export type AgentWorkbenchComposerCapabilities = z.infer<typeof AgentWorkbenchComposerCapabilitiesSchema>;
2895
+ export type AgentWorkbenchComposerInputAction = z.infer<typeof AgentWorkbenchComposerInputActionSchema>;
2731
2896
  export type AgentWorkbenchComposerViewModel = z.infer<typeof AgentWorkbenchComposerViewModelSchema>;
2732
2897
  export type AgentWorkbenchQuickStartIcon = z.infer<typeof AgentWorkbenchQuickStartIconSchema>;
2733
2898
  export type AgentWorkbenchQuickStartTemplateAction = z.infer<typeof AgentWorkbenchQuickStartTemplateActionSchema>;
@@ -2735,6 +2900,20 @@ export type AgentWorkbenchQuickStartTemplate = z.infer<typeof AgentWorkbenchQuic
2735
2900
  export type AgentWorkbenchQuickStartSection = z.infer<typeof AgentWorkbenchQuickStartSectionSchema>;
2736
2901
  export type AgentWorkbenchQuickStartCategory = z.infer<typeof AgentWorkbenchQuickStartCategorySchema>;
2737
2902
  export type AgentWorkbenchQuickStartViewModel = z.infer<typeof AgentWorkbenchQuickStartViewModelSchema>;
2903
+ export type AgentWorkbenchSidebarNavigationMode = z.infer<typeof AgentWorkbenchSidebarNavigationModeSchema>;
2904
+ export type AgentWorkbenchSidebarSection = z.infer<typeof AgentWorkbenchSidebarSectionSchema>;
2905
+ export type AgentWorkbenchSidebarGroupItem = z.infer<typeof AgentWorkbenchSidebarGroupItemSchema>;
2906
+ export type AgentWorkbenchSidebarGroup = z.infer<typeof AgentWorkbenchSidebarGroupSchema>;
2907
+ export type AgentWorkbenchSidebarConfig = z.infer<typeof AgentWorkbenchSidebarConfigSchema>;
2908
+ export type ResolvedAgentWorkbenchSidebarConfig = AgentWorkbenchSidebarConfig & {
2909
+ navigationMode: AgentWorkbenchSidebarNavigationMode;
2910
+ defaultOpen: boolean;
2911
+ widthPercent: number;
2912
+ visibleSections: AgentWorkbenchSidebarSection[];
2913
+ groups: AgentWorkbenchSidebarGroup[];
2914
+ quickStartEnabled: boolean;
2915
+ trendEntryEnabled: boolean;
2916
+ };
2738
2917
  export declare const AgentExecutionModeSchema: z.ZodEnum<{
2739
2918
  chat: "chat";
2740
2919
  work: "work";
@@ -1 +1 @@
1
- {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/contracts/agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,qBAAqB;;;EAA2B,CAAC;AAE9D,6CAA6C;AAC7C,eAAO,MAAM,eA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GAAG,SAAS,CASpF;AAED,gDAAgD;AAChD,eAAO,MAAM,kBAAkB,iCAA2B,CAAC;AAC3D,eAAO,MAAM,2BAA2B,iCAA2B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AgentWorkbenchComposerStatusSchema = exports.AgentWorkbenchNavigationViewModelSchema = exports.AgentWorkbenchNavigationCapabilitiesSchema = exports.AgentWorkbenchSessionItemSchema = exports.AgentWorkbenchAgentItemSchema = exports.AgentWorkbenchCollectionStatusSchema = exports.AgentWorkbenchNavigationItemStatusSchema = exports.AgentSessionViewModelSchema = exports.AgentSessionRunEventSchema = exports.AgentSessionEventSchema = exports.canApplyAgentSessionRunStatus = exports.isAgentSessionTerminalStatus = exports.resolveAgentSessionCommandTransition = exports.canIssueAgentSessionCommand = exports.getAgentSessionCommandPolicy = exports.AGENT_SESSION_COMMAND_POLICIES = exports.AgentSessionCommandPolicySchema = exports.AgentSessionCommandResultSchema = exports.AgentSessionCommandErrorCodeSchema = exports.AgentSessionTargetedCommandSchema = exports.AgentSessionCommandSchema = exports.AgentSessionCommandTypeSchema = exports.AgentSessionRunSchema = exports.AgentSessionActiveBranchSchema = exports.AgentSessionContinuationResultSchema = exports.AgentSessionContinuationRequestSchema = exports.AgentSessionInheritedContextSchema = exports.AgentSessionUnavailableResourceSchema = exports.AgentSessionInheritedContextMessageSchema = exports.AgentSessionContextInheritanceSchema = exports.AgentSessionLineageSchema = exports.AgentSessionTerminalStatusSchema = exports.AgentSessionStatusSchema = exports.AgentSessionSnapshotSchema = exports.findUnsupportedAgentSessionCapabilities = exports.AGENT_SESSION_CAPABILITY_EVIDENCE = exports.getAgentSessionRuntimeCapabilities = exports.AGENT_SESSION_RUNTIME_CAPABILITIES = exports.AgentSessionPermissionProfileSchema = exports.AgentSessionCapabilitiesSchema = exports.AgentSessionCapabilitySchema = exports.isAgentResourceModeCompatible = exports.agentModeHasCapability = exports.getAgentModeCapabilities = exports.AGENT_MODE_CAPABILITIES = exports.AgentResourceModeSupportSchema = exports.AgentModeCapabilitiesSchema = exports.AgentConfigurationCapabilitySchema = exports.AgentModeSchema = exports.StudioAgentModeSchema = void 0;
4
- exports.normalizeAgentExecutionMode = exports.normalizeAgentMode = exports.normalizeStudioAgentMode = exports.AgentExecutionModeSchema = exports.AgentWorkbenchComposerViewModelSchema = exports.AgentWorkbenchQuickStartViewModelSchema = exports.AgentWorkbenchQuickStartCategorySchema = exports.AgentWorkbenchQuickStartSectionSchema = exports.AgentWorkbenchQuickStartTemplateSchema = exports.AgentWorkbenchQuickStartTemplateActionSchema = exports.AgentWorkbenchQuickStartIconSchema = exports.AgentWorkbenchComposerCapabilitiesSchema = exports.AgentWorkbenchComposerModelOptionSchema = exports.AgentWorkbenchComposerQueueItemSchema = exports.AgentWorkbenchComposerAttachmentSchema = void 0;
4
+ exports.normalizeAgentExecutionMode = exports.normalizeAgentMode = exports.normalizeStudioAgentMode = exports.AgentExecutionModeSchema = exports.AgentWorkbenchComposerViewModelSchema = exports.AgentWorkbenchQuickStartViewModelSchema = exports.resolveAgentWorkbenchSidebarConfig = exports.DEFAULT_AGENT_WORKBENCH_SIDEBAR_SECTIONS = exports.AgentWorkbenchSidebarConfigSchema = exports.AgentWorkbenchSidebarGroupSchema = exports.AgentWorkbenchSidebarGroupItemSchema = exports.AgentWorkbenchSidebarSectionSchema = exports.AgentWorkbenchSidebarNavigationModeSchema = exports.AgentWorkbenchQuickStartCategorySchema = exports.AgentWorkbenchQuickStartSectionSchema = exports.AgentWorkbenchQuickStartTemplateSchema = exports.AgentWorkbenchQuickStartTemplateActionSchema = exports.AgentWorkbenchQuickStartIconSchema = exports.AgentWorkbenchComposerCapabilitiesSchema = exports.AgentWorkbenchComposerModelOptionSchema = exports.AgentWorkbenchComposerInputActionSchema = exports.AgentWorkbenchComposerInputActionIconSchema = exports.AgentWorkbenchComposerQueueItemSchema = exports.AgentWorkbenchComposerAttachmentSchema = void 0;
5
5
  const zod_1 = require("zod");
6
6
  const common_1 = require("./common");
7
7
  exports.StudioAgentModeSchema = zod_1.z.enum(['chat', 'work']);
@@ -990,6 +990,17 @@ exports.AgentWorkbenchComposerQueueItemSchema = zod_1.z
990
990
  status: zod_1.z.enum(['queued', 'sending', 'error']).default('queued'),
991
991
  })
992
992
  .strict();
993
+ exports.AgentWorkbenchComposerInputActionIconSchema = zod_1.z.enum([
994
+ 'file-text',
995
+ 'image',
996
+ ]);
997
+ exports.AgentWorkbenchComposerInputActionSchema = zod_1.z
998
+ .object({
999
+ id: common_1.ContractIdentifierSchema,
1000
+ label: zod_1.z.string().min(1),
1001
+ icon: exports.AgentWorkbenchComposerInputActionIconSchema.optional(),
1002
+ })
1003
+ .strict();
993
1004
  exports.AgentWorkbenchComposerModelOptionSchema = zod_1.z
994
1005
  .object({
995
1006
  id: common_1.ContractIdentifierSchema,
@@ -1049,6 +1060,89 @@ exports.AgentWorkbenchQuickStartCategorySchema = zod_1.z
1049
1060
  sections: zod_1.z.array(exports.AgentWorkbenchQuickStartSectionSchema).min(1),
1050
1061
  })
1051
1062
  .strict();
1063
+ exports.AgentWorkbenchSidebarNavigationModeSchema = zod_1.z.enum(['default', 'session', 'trend']);
1064
+ exports.AgentWorkbenchSidebarSectionSchema = zod_1.z.enum([
1065
+ 'header',
1066
+ 'search',
1067
+ 'new-session',
1068
+ 'sessions',
1069
+ 'agents',
1070
+ 'groups',
1071
+ 'footer',
1072
+ ]);
1073
+ exports.AgentWorkbenchSidebarGroupItemSchema = zod_1.z
1074
+ .object({
1075
+ id: common_1.ContractIdentifierSchema,
1076
+ title: zod_1.z.string().trim().min(1).max(120),
1077
+ subtitle: zod_1.z.string().trim().min(1).max(240).optional(),
1078
+ imageUrl: zod_1.z.string().trim().min(1).max(2048).optional(),
1079
+ prompt: zod_1.z.string().trim().min(1).max(10000),
1080
+ mediaVariant: zod_1.z.enum(['cover', 'cover-with-label', 'logo']).optional(),
1081
+ mediaTreatment: zod_1.z.enum(['preserve', 'monochrome-light', 'invert']).optional(),
1082
+ })
1083
+ .strict();
1084
+ exports.AgentWorkbenchSidebarGroupSchema = zod_1.z
1085
+ .object({
1086
+ id: common_1.ContractIdentifierSchema,
1087
+ label: zod_1.z.string().trim().min(1).max(120),
1088
+ items: zod_1.z.array(exports.AgentWorkbenchSidebarGroupItemSchema).min(1).max(50),
1089
+ itemAspectRatio: zod_1.z.number().positive().max(10).optional(),
1090
+ })
1091
+ .strict();
1092
+ exports.AgentWorkbenchSidebarConfigSchema = zod_1.z
1093
+ .object({
1094
+ navigationMode: exports.AgentWorkbenchSidebarNavigationModeSchema.optional(),
1095
+ defaultOpen: zod_1.z.boolean().optional(),
1096
+ /** Initial sidebar width as a percentage of the workbench split pane. */
1097
+ widthPercent: zod_1.z.number().int().min(10).max(40).optional(),
1098
+ visibleSections: zod_1.z.array(exports.AgentWorkbenchSidebarSectionSchema).min(1).max(7).optional(),
1099
+ groups: zod_1.z.array(exports.AgentWorkbenchSidebarGroupSchema).max(20).optional(),
1100
+ defaultGroupId: common_1.ContractIdentifierSchema.optional(),
1101
+ quickStartEnabled: zod_1.z.boolean().optional(),
1102
+ quickStartCategories: zod_1.z.array(exports.AgentWorkbenchQuickStartCategorySchema).max(20).optional(),
1103
+ trendEntryEnabled: zod_1.z.boolean().optional(),
1104
+ })
1105
+ .strict()
1106
+ .superRefine((value, context) => {
1107
+ if (value.visibleSections && new Set(value.visibleSections).size !== value.visibleSections.length) {
1108
+ context.addIssue({
1109
+ code: 'custom',
1110
+ path: ['visibleSections'],
1111
+ message: 'Sidebar sections must be unique.',
1112
+ });
1113
+ }
1114
+ if (value.defaultGroupId && !value.groups?.some((group) => group.id === value.defaultGroupId)) {
1115
+ context.addIssue({
1116
+ code: 'custom',
1117
+ path: ['defaultGroupId'],
1118
+ message: 'The default sidebar group must exist in groups.',
1119
+ });
1120
+ }
1121
+ });
1122
+ exports.DEFAULT_AGENT_WORKBENCH_SIDEBAR_SECTIONS = Object.freeze([
1123
+ 'header',
1124
+ 'search',
1125
+ 'new-session',
1126
+ 'sessions',
1127
+ 'agents',
1128
+ 'groups',
1129
+ 'footer',
1130
+ ]);
1131
+ function resolveAgentWorkbenchSidebarConfig(config, legacy = {}) {
1132
+ const parsed = exports.AgentWorkbenchSidebarConfigSchema.parse(config ?? {});
1133
+ const navigationMode = parsed.navigationMode ?? legacy.navigationMode ?? 'default';
1134
+ return {
1135
+ ...parsed,
1136
+ navigationMode,
1137
+ defaultOpen: parsed.defaultOpen ?? true,
1138
+ widthPercent: parsed.widthPercent ?? 18,
1139
+ visibleSections: parsed.visibleSections ?? [...exports.DEFAULT_AGENT_WORKBENCH_SIDEBAR_SECTIONS],
1140
+ groups: parsed.groups ?? [],
1141
+ quickStartEnabled: parsed.quickStartEnabled ?? legacy.quickStartEnabled ?? false,
1142
+ trendEntryEnabled: parsed.trendEntryEnabled ?? navigationMode === 'trend',
1143
+ };
1144
+ }
1145
+ exports.resolveAgentWorkbenchSidebarConfig = resolveAgentWorkbenchSidebarConfig;
1052
1146
  exports.AgentWorkbenchQuickStartViewModelSchema = zod_1.z
1053
1147
  .object({
1054
1148
  contract: zod_1.z.literal('AgentWorkbenchQuickStartViewModel'),
@@ -1066,6 +1160,8 @@ exports.AgentWorkbenchComposerViewModelSchema = zod_1.z
1066
1160
  placeholder: zod_1.z.string().optional(),
1067
1161
  attachments: zod_1.z.array(exports.AgentWorkbenchComposerAttachmentSchema).default([]),
1068
1162
  queuedDrafts: zod_1.z.array(exports.AgentWorkbenchComposerQueueItemSchema).default([]),
1163
+ inputActions: zod_1.z.array(exports.AgentWorkbenchComposerInputActionSchema).default([]),
1164
+ selectedInputActionId: common_1.ContractIdentifierSchema.optional(),
1069
1165
  model: zod_1.z
1070
1166
  .object({
1071
1167
  selectedId: common_1.ContractIdentifierSchema.optional(),