@dexto/server 1.5.7 → 1.6.0

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 (67) hide show
  1. package/dist/events/a2a-sse-subscriber.d.ts +1 -1
  2. package/dist/hono/__tests__/test-fixtures.cjs +27 -6
  3. package/dist/hono/__tests__/test-fixtures.d.ts +2 -1
  4. package/dist/hono/__tests__/test-fixtures.d.ts.map +1 -1
  5. package/dist/hono/__tests__/test-fixtures.js +31 -6
  6. package/dist/hono/index.cjs +17 -2
  7. package/dist/hono/index.d.ts +897 -76
  8. package/dist/hono/index.d.ts.map +1 -1
  9. package/dist/hono/index.js +17 -2
  10. package/dist/hono/routes/a2a-tasks.d.ts +6 -6
  11. package/dist/hono/routes/agents.cjs +38 -27
  12. package/dist/hono/routes/agents.d.ts +2 -1
  13. package/dist/hono/routes/agents.d.ts.map +1 -1
  14. package/dist/hono/routes/agents.js +37 -31
  15. package/dist/hono/routes/discovery.cjs +99 -22
  16. package/dist/hono/routes/discovery.d.ts +14 -12
  17. package/dist/hono/routes/discovery.d.ts.map +1 -1
  18. package/dist/hono/routes/discovery.js +89 -22
  19. package/dist/hono/routes/key.d.ts +4 -4
  20. package/dist/hono/routes/llm.cjs +21 -7
  21. package/dist/hono/routes/llm.d.ts +12 -10
  22. package/dist/hono/routes/llm.d.ts.map +1 -1
  23. package/dist/hono/routes/llm.js +22 -7
  24. package/dist/hono/routes/mcp.cjs +96 -14
  25. package/dist/hono/routes/mcp.d.ts +138 -3
  26. package/dist/hono/routes/mcp.d.ts.map +1 -1
  27. package/dist/hono/routes/mcp.js +97 -15
  28. package/dist/hono/routes/memory.d.ts +4 -4
  29. package/dist/hono/routes/messages.d.ts +1 -1
  30. package/dist/hono/routes/models.d.ts +1 -1
  31. package/dist/hono/routes/queue.cjs +9 -3
  32. package/dist/hono/routes/queue.d.ts +3 -0
  33. package/dist/hono/routes/queue.d.ts.map +1 -1
  34. package/dist/hono/routes/queue.js +9 -3
  35. package/dist/hono/routes/resources.d.ts +1 -1
  36. package/dist/hono/routes/schedules.cjs +455 -0
  37. package/dist/hono/routes/schedules.d.ts +472 -0
  38. package/dist/hono/routes/schedules.d.ts.map +1 -0
  39. package/dist/hono/routes/schedules.js +439 -0
  40. package/dist/hono/routes/search.d.ts +3 -3
  41. package/dist/hono/routes/sessions.cjs +10 -4
  42. package/dist/hono/routes/sessions.d.ts +136 -6
  43. package/dist/hono/routes/sessions.d.ts.map +1 -1
  44. package/dist/hono/routes/sessions.js +10 -4
  45. package/dist/hono/routes/tools.cjs +12 -19
  46. package/dist/hono/routes/tools.d.ts +5 -3
  47. package/dist/hono/routes/tools.d.ts.map +1 -1
  48. package/dist/hono/routes/tools.js +12 -19
  49. package/dist/hono/routes/workspaces.cjs +136 -0
  50. package/dist/hono/routes/workspaces.d.ts +77 -0
  51. package/dist/hono/routes/workspaces.d.ts.map +1 -0
  52. package/dist/hono/routes/workspaces.js +112 -0
  53. package/dist/hono/schemas/responses.cjs +82 -7
  54. package/dist/hono/schemas/responses.d.ts +403 -53
  55. package/dist/hono/schemas/responses.d.ts.map +1 -1
  56. package/dist/hono/schemas/responses.js +75 -6
  57. package/dist/hono/start-server.cjs +4 -3
  58. package/dist/hono/start-server.d.ts +15 -6
  59. package/dist/hono/start-server.d.ts.map +1 -1
  60. package/dist/hono/start-server.js +5 -4
  61. package/dist/index.cjs +9 -0
  62. package/dist/index.d.ts +1 -0
  63. package/dist/index.d.ts.map +1 -1
  64. package/dist/index.js +4 -0
  65. package/dist/mcp/mcp-handler.d.ts +2 -2
  66. package/dist/mcp/mcp-handler.d.ts.map +1 -1
  67. package/package.json +8 -5
@@ -380,7 +380,7 @@ export declare const InternalMessageSchema: z.ZodObject<{
380
380
  totalTokens?: number | undefined;
381
381
  }>>;
382
382
  model: z.ZodOptional<z.ZodString>;
383
- provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>>;
383
+ provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>>;
384
384
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
385
385
  id: z.ZodString;
386
386
  type: z.ZodLiteral<"function">;
@@ -451,7 +451,7 @@ export declare const InternalMessageSchema: z.ZodObject<{
451
451
  totalTokens?: number | undefined;
452
452
  } | undefined;
453
453
  model?: string | undefined;
454
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
454
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
455
455
  toolCalls?: {
456
456
  function: {
457
457
  name: string;
@@ -501,7 +501,7 @@ export declare const InternalMessageSchema: z.ZodObject<{
501
501
  totalTokens?: number | undefined;
502
502
  } | undefined;
503
503
  model?: string | undefined;
504
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
504
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
505
505
  toolCalls?: {
506
506
  function: {
507
507
  name: string;
@@ -521,7 +521,7 @@ export type ToolCall = z.output<typeof ToolCallSchema>;
521
521
  export type TokenUsage = z.output<typeof TokenUsageSchema>;
522
522
  export type InternalMessage = z.output<typeof InternalMessageSchema>;
523
523
  export declare const LLMConfigResponseSchema: z.ZodObject<Omit<{
524
- provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>;
524
+ provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>;
525
525
  model: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
526
526
  apiKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
527
527
  maxIterations: z.ZodOptional<z.ZodNumber>;
@@ -535,7 +535,7 @@ export declare const LLMConfigResponseSchema: z.ZodObject<Omit<{
535
535
  hasApiKey: z.ZodOptional<z.ZodBoolean>;
536
536
  }, "strict", z.ZodTypeAny, {
537
537
  model: string;
538
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
538
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
539
539
  maxIterations?: number | undefined;
540
540
  baseURL?: string | undefined;
541
541
  maxInputTokens?: number | undefined;
@@ -546,7 +546,7 @@ export declare const LLMConfigResponseSchema: z.ZodObject<Omit<{
546
546
  hasApiKey?: boolean | undefined;
547
547
  }, {
548
548
  model: string;
549
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
549
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
550
550
  maxIterations?: number | undefined;
551
551
  baseURL?: string | undefined;
552
552
  maxInputTokens?: number | undefined;
@@ -557,7 +557,7 @@ export declare const LLMConfigResponseSchema: z.ZodObject<Omit<{
557
557
  hasApiKey?: boolean | undefined;
558
558
  }>;
559
559
  export declare const LLMConfigSchema: z.ZodObject<{
560
- provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>;
560
+ provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>;
561
561
  model: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
562
562
  apiKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
563
563
  maxIterations: z.ZodOptional<z.ZodNumber>;
@@ -569,7 +569,7 @@ export declare const LLMConfigSchema: z.ZodObject<{
569
569
  reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
570
570
  }, "strict", z.ZodTypeAny, {
571
571
  model: string;
572
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
572
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
573
573
  apiKey?: string | undefined;
574
574
  maxInputTokens?: number | undefined;
575
575
  maxIterations?: number | undefined;
@@ -580,7 +580,7 @@ export declare const LLMConfigSchema: z.ZodObject<{
580
580
  reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
581
581
  }, {
582
582
  model: string;
583
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
583
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
584
584
  apiKey?: string | undefined;
585
585
  maxInputTokens?: number | undefined;
586
586
  maxIterations?: number | undefined;
@@ -593,28 +593,378 @@ export declare const LLMConfigSchema: z.ZodObject<{
593
593
  export type LLMConfigResponse = z.output<typeof LLMConfigResponseSchema>;
594
594
  export { AgentCardSchema, type AgentCard } from '@dexto/core';
595
595
  export { McpServerConfigSchema, StdioServerConfigSchema, SseServerConfigSchema, HttpServerConfigSchema, type McpServerConfig, type ValidatedMcpServerConfig, } from '@dexto/core';
596
- export { ToolConfirmationConfigSchema } from '@dexto/core';
597
- export { InternalResourceConfigSchema } from '@dexto/core';
596
+ export { PermissionsConfigSchema } from '@dexto/core';
597
+ export { ResourceConfigSchema } from '@dexto/core';
598
+ export declare const SessionTokenUsageSchema: z.ZodObject<{
599
+ inputTokens: z.ZodNumber;
600
+ outputTokens: z.ZodNumber;
601
+ reasoningTokens: z.ZodNumber;
602
+ cacheReadTokens: z.ZodNumber;
603
+ cacheWriteTokens: z.ZodNumber;
604
+ totalTokens: z.ZodNumber;
605
+ }, "strict", z.ZodTypeAny, {
606
+ inputTokens: number;
607
+ outputTokens: number;
608
+ reasoningTokens: number;
609
+ totalTokens: number;
610
+ cacheReadTokens: number;
611
+ cacheWriteTokens: number;
612
+ }, {
613
+ inputTokens: number;
614
+ outputTokens: number;
615
+ reasoningTokens: number;
616
+ totalTokens: number;
617
+ cacheReadTokens: number;
618
+ cacheWriteTokens: number;
619
+ }>;
620
+ export declare const ModelStatisticsSchema: z.ZodObject<{
621
+ provider: z.ZodString;
622
+ model: z.ZodString;
623
+ messageCount: z.ZodNumber;
624
+ tokenUsage: z.ZodObject<{
625
+ inputTokens: z.ZodNumber;
626
+ outputTokens: z.ZodNumber;
627
+ reasoningTokens: z.ZodNumber;
628
+ cacheReadTokens: z.ZodNumber;
629
+ cacheWriteTokens: z.ZodNumber;
630
+ totalTokens: z.ZodNumber;
631
+ }, "strict", z.ZodTypeAny, {
632
+ inputTokens: number;
633
+ outputTokens: number;
634
+ reasoningTokens: number;
635
+ totalTokens: number;
636
+ cacheReadTokens: number;
637
+ cacheWriteTokens: number;
638
+ }, {
639
+ inputTokens: number;
640
+ outputTokens: number;
641
+ reasoningTokens: number;
642
+ totalTokens: number;
643
+ cacheReadTokens: number;
644
+ cacheWriteTokens: number;
645
+ }>;
646
+ estimatedCost: z.ZodNumber;
647
+ firstUsedAt: z.ZodNumber;
648
+ lastUsedAt: z.ZodNumber;
649
+ }, "strict", z.ZodTypeAny, {
650
+ tokenUsage: {
651
+ inputTokens: number;
652
+ outputTokens: number;
653
+ reasoningTokens: number;
654
+ totalTokens: number;
655
+ cacheReadTokens: number;
656
+ cacheWriteTokens: number;
657
+ };
658
+ model: string;
659
+ provider: string;
660
+ messageCount: number;
661
+ estimatedCost: number;
662
+ firstUsedAt: number;
663
+ lastUsedAt: number;
664
+ }, {
665
+ tokenUsage: {
666
+ inputTokens: number;
667
+ outputTokens: number;
668
+ reasoningTokens: number;
669
+ totalTokens: number;
670
+ cacheReadTokens: number;
671
+ cacheWriteTokens: number;
672
+ };
673
+ model: string;
674
+ provider: string;
675
+ messageCount: number;
676
+ estimatedCost: number;
677
+ firstUsedAt: number;
678
+ lastUsedAt: number;
679
+ }>;
598
680
  export declare const SessionMetadataSchema: z.ZodObject<{
599
681
  id: z.ZodString;
600
682
  createdAt: z.ZodNullable<z.ZodNumber>;
601
683
  lastActivity: z.ZodNullable<z.ZodNumber>;
602
684
  messageCount: z.ZodNumber;
603
685
  title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
686
+ tokenUsage: z.ZodOptional<z.ZodObject<{
687
+ inputTokens: z.ZodNumber;
688
+ outputTokens: z.ZodNumber;
689
+ reasoningTokens: z.ZodNumber;
690
+ cacheReadTokens: z.ZodNumber;
691
+ cacheWriteTokens: z.ZodNumber;
692
+ totalTokens: z.ZodNumber;
693
+ }, "strict", z.ZodTypeAny, {
694
+ inputTokens: number;
695
+ outputTokens: number;
696
+ reasoningTokens: number;
697
+ totalTokens: number;
698
+ cacheReadTokens: number;
699
+ cacheWriteTokens: number;
700
+ }, {
701
+ inputTokens: number;
702
+ outputTokens: number;
703
+ reasoningTokens: number;
704
+ totalTokens: number;
705
+ cacheReadTokens: number;
706
+ cacheWriteTokens: number;
707
+ }>>;
708
+ estimatedCost: z.ZodOptional<z.ZodNumber>;
709
+ modelStats: z.ZodOptional<z.ZodArray<z.ZodObject<{
710
+ provider: z.ZodString;
711
+ model: z.ZodString;
712
+ messageCount: z.ZodNumber;
713
+ tokenUsage: z.ZodObject<{
714
+ inputTokens: z.ZodNumber;
715
+ outputTokens: z.ZodNumber;
716
+ reasoningTokens: z.ZodNumber;
717
+ cacheReadTokens: z.ZodNumber;
718
+ cacheWriteTokens: z.ZodNumber;
719
+ totalTokens: z.ZodNumber;
720
+ }, "strict", z.ZodTypeAny, {
721
+ inputTokens: number;
722
+ outputTokens: number;
723
+ reasoningTokens: number;
724
+ totalTokens: number;
725
+ cacheReadTokens: number;
726
+ cacheWriteTokens: number;
727
+ }, {
728
+ inputTokens: number;
729
+ outputTokens: number;
730
+ reasoningTokens: number;
731
+ totalTokens: number;
732
+ cacheReadTokens: number;
733
+ cacheWriteTokens: number;
734
+ }>;
735
+ estimatedCost: z.ZodNumber;
736
+ firstUsedAt: z.ZodNumber;
737
+ lastUsedAt: z.ZodNumber;
738
+ }, "strict", z.ZodTypeAny, {
739
+ tokenUsage: {
740
+ inputTokens: number;
741
+ outputTokens: number;
742
+ reasoningTokens: number;
743
+ totalTokens: number;
744
+ cacheReadTokens: number;
745
+ cacheWriteTokens: number;
746
+ };
747
+ model: string;
748
+ provider: string;
749
+ messageCount: number;
750
+ estimatedCost: number;
751
+ firstUsedAt: number;
752
+ lastUsedAt: number;
753
+ }, {
754
+ tokenUsage: {
755
+ inputTokens: number;
756
+ outputTokens: number;
757
+ reasoningTokens: number;
758
+ totalTokens: number;
759
+ cacheReadTokens: number;
760
+ cacheWriteTokens: number;
761
+ };
762
+ model: string;
763
+ provider: string;
764
+ messageCount: number;
765
+ estimatedCost: number;
766
+ firstUsedAt: number;
767
+ lastUsedAt: number;
768
+ }>, "many">>;
769
+ workspaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
604
770
  }, "strict", z.ZodTypeAny, {
605
771
  id: string;
772
+ messageCount: number;
606
773
  createdAt: number | null;
607
774
  lastActivity: number | null;
608
- messageCount: number;
609
775
  title?: string | null | undefined;
776
+ tokenUsage?: {
777
+ inputTokens: number;
778
+ outputTokens: number;
779
+ reasoningTokens: number;
780
+ totalTokens: number;
781
+ cacheReadTokens: number;
782
+ cacheWriteTokens: number;
783
+ } | undefined;
784
+ estimatedCost?: number | undefined;
785
+ modelStats?: {
786
+ tokenUsage: {
787
+ inputTokens: number;
788
+ outputTokens: number;
789
+ reasoningTokens: number;
790
+ totalTokens: number;
791
+ cacheReadTokens: number;
792
+ cacheWriteTokens: number;
793
+ };
794
+ model: string;
795
+ provider: string;
796
+ messageCount: number;
797
+ estimatedCost: number;
798
+ firstUsedAt: number;
799
+ lastUsedAt: number;
800
+ }[] | undefined;
801
+ workspaceId?: string | null | undefined;
610
802
  }, {
611
803
  id: string;
804
+ messageCount: number;
612
805
  createdAt: number | null;
613
806
  lastActivity: number | null;
614
- messageCount: number;
615
807
  title?: string | null | undefined;
808
+ tokenUsage?: {
809
+ inputTokens: number;
810
+ outputTokens: number;
811
+ reasoningTokens: number;
812
+ totalTokens: number;
813
+ cacheReadTokens: number;
814
+ cacheWriteTokens: number;
815
+ } | undefined;
816
+ estimatedCost?: number | undefined;
817
+ modelStats?: {
818
+ tokenUsage: {
819
+ inputTokens: number;
820
+ outputTokens: number;
821
+ reasoningTokens: number;
822
+ totalTokens: number;
823
+ cacheReadTokens: number;
824
+ cacheWriteTokens: number;
825
+ };
826
+ model: string;
827
+ provider: string;
828
+ messageCount: number;
829
+ estimatedCost: number;
830
+ firstUsedAt: number;
831
+ lastUsedAt: number;
832
+ }[] | undefined;
833
+ workspaceId?: string | null | undefined;
616
834
  }>;
835
+ export type SessionTokenUsage = z.output<typeof SessionTokenUsageSchema>;
836
+ export type ModelStatistics = z.output<typeof ModelStatisticsSchema>;
617
837
  export type SessionMetadata = z.output<typeof SessionMetadataSchema>;
838
+ export declare const WorkspaceSchema: z.ZodObject<{
839
+ id: z.ZodString;
840
+ path: z.ZodString;
841
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
842
+ createdAt: z.ZodNumber;
843
+ lastActiveAt: z.ZodNumber;
844
+ }, "strict", z.ZodTypeAny, {
845
+ path: string;
846
+ id: string;
847
+ createdAt: number;
848
+ lastActiveAt: number;
849
+ name?: string | null | undefined;
850
+ }, {
851
+ path: string;
852
+ id: string;
853
+ createdAt: number;
854
+ lastActiveAt: number;
855
+ name?: string | null | undefined;
856
+ }>;
857
+ export type Workspace = z.output<typeof WorkspaceSchema>;
858
+ export declare const ScheduleTaskSchema: z.ZodObject<{
859
+ instruction: z.ZodString;
860
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
861
+ }, "strict", z.ZodTypeAny, {
862
+ instruction: string;
863
+ metadata?: Record<string, unknown> | undefined;
864
+ }, {
865
+ instruction: string;
866
+ metadata?: Record<string, unknown> | undefined;
867
+ }>;
868
+ export declare const ScheduleSchema: z.ZodObject<{
869
+ id: z.ZodString;
870
+ name: z.ZodString;
871
+ cronExpression: z.ZodString;
872
+ timezone: z.ZodString;
873
+ enabled: z.ZodBoolean;
874
+ task: z.ZodObject<{
875
+ instruction: z.ZodString;
876
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
877
+ }, "strict", z.ZodTypeAny, {
878
+ instruction: string;
879
+ metadata?: Record<string, unknown> | undefined;
880
+ }, {
881
+ instruction: string;
882
+ metadata?: Record<string, unknown> | undefined;
883
+ }>;
884
+ sessionMode: z.ZodEnum<["ephemeral", "dedicated", "inherit", "fixed"]>;
885
+ sessionId: z.ZodOptional<z.ZodString>;
886
+ workspacePath: z.ZodOptional<z.ZodString>;
887
+ createdAt: z.ZodNumber;
888
+ updatedAt: z.ZodNumber;
889
+ lastRunAt: z.ZodOptional<z.ZodNumber>;
890
+ nextRunAt: z.ZodOptional<z.ZodNumber>;
891
+ runCount: z.ZodNumber;
892
+ successCount: z.ZodNumber;
893
+ failureCount: z.ZodNumber;
894
+ lastError: z.ZodOptional<z.ZodString>;
895
+ }, "strict", z.ZodTypeAny, {
896
+ id: string;
897
+ name: string;
898
+ createdAt: number;
899
+ cronExpression: string;
900
+ timezone: string;
901
+ enabled: boolean;
902
+ task: {
903
+ instruction: string;
904
+ metadata?: Record<string, unknown> | undefined;
905
+ };
906
+ sessionMode: "fixed" | "ephemeral" | "dedicated" | "inherit";
907
+ updatedAt: number;
908
+ runCount: number;
909
+ successCount: number;
910
+ failureCount: number;
911
+ sessionId?: string | undefined;
912
+ workspacePath?: string | undefined;
913
+ lastRunAt?: number | undefined;
914
+ nextRunAt?: number | undefined;
915
+ lastError?: string | undefined;
916
+ }, {
917
+ id: string;
918
+ name: string;
919
+ createdAt: number;
920
+ cronExpression: string;
921
+ timezone: string;
922
+ enabled: boolean;
923
+ task: {
924
+ instruction: string;
925
+ metadata?: Record<string, unknown> | undefined;
926
+ };
927
+ sessionMode: "fixed" | "ephemeral" | "dedicated" | "inherit";
928
+ updatedAt: number;
929
+ runCount: number;
930
+ successCount: number;
931
+ failureCount: number;
932
+ sessionId?: string | undefined;
933
+ workspacePath?: string | undefined;
934
+ lastRunAt?: number | undefined;
935
+ nextRunAt?: number | undefined;
936
+ lastError?: string | undefined;
937
+ }>;
938
+ export type Schedule = z.output<typeof ScheduleSchema>;
939
+ export declare const ExecutionLogSchema: z.ZodObject<{
940
+ id: z.ZodString;
941
+ scheduleId: z.ZodString;
942
+ triggeredAt: z.ZodNumber;
943
+ completedAt: z.ZodOptional<z.ZodNumber>;
944
+ status: z.ZodEnum<["pending", "success", "failed", "timeout"]>;
945
+ duration: z.ZodOptional<z.ZodNumber>;
946
+ error: z.ZodOptional<z.ZodString>;
947
+ result: z.ZodOptional<z.ZodString>;
948
+ }, "strict", z.ZodTypeAny, {
949
+ status: "success" | "pending" | "failed" | "timeout";
950
+ id: string;
951
+ scheduleId: string;
952
+ triggeredAt: number;
953
+ completedAt?: number | undefined;
954
+ duration?: number | undefined;
955
+ error?: string | undefined;
956
+ result?: string | undefined;
957
+ }, {
958
+ status: "success" | "pending" | "failed" | "timeout";
959
+ id: string;
960
+ scheduleId: string;
961
+ triggeredAt: number;
962
+ completedAt?: number | undefined;
963
+ duration?: number | undefined;
964
+ error?: string | undefined;
965
+ result?: string | undefined;
966
+ }>;
967
+ export type ExecutionLog = z.output<typeof ExecutionLogSchema>;
618
968
  export declare const SearchResultSchema: z.ZodObject<{
619
969
  sessionId: z.ZodString;
620
970
  message: z.ZodObject<{
@@ -733,7 +1083,7 @@ export declare const SearchResultSchema: z.ZodObject<{
733
1083
  totalTokens?: number | undefined;
734
1084
  }>>;
735
1085
  model: z.ZodOptional<z.ZodString>;
736
- provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>>;
1086
+ provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>>;
737
1087
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
738
1088
  id: z.ZodString;
739
1089
  type: z.ZodLiteral<"function">;
@@ -804,7 +1154,7 @@ export declare const SearchResultSchema: z.ZodObject<{
804
1154
  totalTokens?: number | undefined;
805
1155
  } | undefined;
806
1156
  model?: string | undefined;
807
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1157
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
808
1158
  toolCalls?: {
809
1159
  function: {
810
1160
  name: string;
@@ -854,7 +1204,7 @@ export declare const SearchResultSchema: z.ZodObject<{
854
1204
  totalTokens?: number | undefined;
855
1205
  } | undefined;
856
1206
  model?: string | undefined;
857
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1207
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
858
1208
  toolCalls?: {
859
1209
  function: {
860
1210
  name: string;
@@ -909,7 +1259,7 @@ export declare const SearchResultSchema: z.ZodObject<{
909
1259
  totalTokens?: number | undefined;
910
1260
  } | undefined;
911
1261
  model?: string | undefined;
912
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1262
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
913
1263
  toolCalls?: {
914
1264
  function: {
915
1265
  name: string;
@@ -965,7 +1315,7 @@ export declare const SearchResultSchema: z.ZodObject<{
965
1315
  totalTokens?: number | undefined;
966
1316
  } | undefined;
967
1317
  model?: string | undefined;
968
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1318
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
969
1319
  toolCalls?: {
970
1320
  function: {
971
1321
  name: string;
@@ -1104,7 +1454,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1104
1454
  totalTokens?: number | undefined;
1105
1455
  }>>;
1106
1456
  model: z.ZodOptional<z.ZodString>;
1107
- provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>>;
1457
+ provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>>;
1108
1458
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
1109
1459
  id: z.ZodString;
1110
1460
  type: z.ZodLiteral<"function">;
@@ -1175,7 +1525,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1175
1525
  totalTokens?: number | undefined;
1176
1526
  } | undefined;
1177
1527
  model?: string | undefined;
1178
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1528
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1179
1529
  toolCalls?: {
1180
1530
  function: {
1181
1531
  name: string;
@@ -1225,7 +1575,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1225
1575
  totalTokens?: number | undefined;
1226
1576
  } | undefined;
1227
1577
  model?: string | undefined;
1228
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1578
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1229
1579
  toolCalls?: {
1230
1580
  function: {
1231
1581
  name: string;
@@ -1280,7 +1630,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1280
1630
  totalTokens?: number | undefined;
1281
1631
  } | undefined;
1282
1632
  model?: string | undefined;
1283
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1633
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1284
1634
  toolCalls?: {
1285
1635
  function: {
1286
1636
  name: string;
@@ -1336,7 +1686,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1336
1686
  totalTokens?: number | undefined;
1337
1687
  } | undefined;
1338
1688
  model?: string | undefined;
1339
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1689
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1340
1690
  toolCalls?: {
1341
1691
  function: {
1342
1692
  name: string;
@@ -1358,20 +1708,20 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1358
1708
  lastActivity: z.ZodNumber;
1359
1709
  messageCount: z.ZodNumber;
1360
1710
  }, "strict", z.ZodTypeAny, {
1711
+ messageCount: number;
1361
1712
  createdAt: number;
1362
1713
  lastActivity: number;
1363
- messageCount: number;
1364
1714
  }, {
1715
+ messageCount: number;
1365
1716
  createdAt: number;
1366
1717
  lastActivity: number;
1367
- messageCount: number;
1368
1718
  }>;
1369
1719
  }, "strict", z.ZodTypeAny, {
1370
1720
  sessionId: string;
1371
1721
  metadata: {
1722
+ messageCount: number;
1372
1723
  createdAt: number;
1373
1724
  lastActivity: number;
1374
- messageCount: number;
1375
1725
  };
1376
1726
  matchCount: number;
1377
1727
  firstMatch: {
@@ -1414,7 +1764,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1414
1764
  totalTokens?: number | undefined;
1415
1765
  } | undefined;
1416
1766
  model?: string | undefined;
1417
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1767
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1418
1768
  toolCalls?: {
1419
1769
  function: {
1420
1770
  name: string;
@@ -1434,9 +1784,9 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1434
1784
  }, {
1435
1785
  sessionId: string;
1436
1786
  metadata: {
1787
+ messageCount: number;
1437
1788
  createdAt: number;
1438
1789
  lastActivity: number;
1439
- messageCount: number;
1440
1790
  };
1441
1791
  matchCount: number;
1442
1792
  firstMatch: {
@@ -1479,7 +1829,7 @@ export declare const SessionSearchResultSchema: z.ZodObject<{
1479
1829
  totalTokens?: number | undefined;
1480
1830
  } | undefined;
1481
1831
  model?: string | undefined;
1482
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
1832
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1483
1833
  toolCalls?: {
1484
1834
  function: {
1485
1835
  name: string;
@@ -1617,7 +1967,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
1617
1967
  totalTokens?: number | undefined;
1618
1968
  }>>;
1619
1969
  model: z.ZodOptional<z.ZodString>;
1620
- provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>>;
1970
+ provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>>;
1621
1971
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
1622
1972
  id: z.ZodString;
1623
1973
  type: z.ZodLiteral<"function">;
@@ -1688,7 +2038,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
1688
2038
  totalTokens?: number | undefined;
1689
2039
  } | undefined;
1690
2040
  model?: string | undefined;
1691
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2041
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1692
2042
  toolCalls?: {
1693
2043
  function: {
1694
2044
  name: string;
@@ -1738,7 +2088,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
1738
2088
  totalTokens?: number | undefined;
1739
2089
  } | undefined;
1740
2090
  model?: string | undefined;
1741
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2091
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1742
2092
  toolCalls?: {
1743
2093
  function: {
1744
2094
  name: string;
@@ -1793,7 +2143,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
1793
2143
  totalTokens?: number | undefined;
1794
2144
  } | undefined;
1795
2145
  model?: string | undefined;
1796
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2146
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1797
2147
  toolCalls?: {
1798
2148
  function: {
1799
2149
  name: string;
@@ -1849,7 +2199,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
1849
2199
  totalTokens?: number | undefined;
1850
2200
  } | undefined;
1851
2201
  model?: string | undefined;
1852
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2202
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1853
2203
  toolCalls?: {
1854
2204
  function: {
1855
2205
  name: string;
@@ -1911,7 +2261,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
1911
2261
  totalTokens?: number | undefined;
1912
2262
  } | undefined;
1913
2263
  model?: string | undefined;
1914
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2264
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1915
2265
  toolCalls?: {
1916
2266
  function: {
1917
2267
  name: string;
@@ -1972,7 +2322,7 @@ export declare const MessageSearchResponseSchema: z.ZodObject<{
1972
2322
  totalTokens?: number | undefined;
1973
2323
  } | undefined;
1974
2324
  model?: string | undefined;
1975
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2325
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
1976
2326
  toolCalls?: {
1977
2327
  function: {
1978
2328
  name: string;
@@ -2115,7 +2465,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2115
2465
  totalTokens?: number | undefined;
2116
2466
  }>>;
2117
2467
  model: z.ZodOptional<z.ZodString>;
2118
- provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>>;
2468
+ provider: z.ZodOptional<z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>>;
2119
2469
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
2120
2470
  id: z.ZodString;
2121
2471
  type: z.ZodLiteral<"function">;
@@ -2186,7 +2536,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2186
2536
  totalTokens?: number | undefined;
2187
2537
  } | undefined;
2188
2538
  model?: string | undefined;
2189
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2539
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2190
2540
  toolCalls?: {
2191
2541
  function: {
2192
2542
  name: string;
@@ -2236,7 +2586,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2236
2586
  totalTokens?: number | undefined;
2237
2587
  } | undefined;
2238
2588
  model?: string | undefined;
2239
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2589
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2240
2590
  toolCalls?: {
2241
2591
  function: {
2242
2592
  name: string;
@@ -2291,7 +2641,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2291
2641
  totalTokens?: number | undefined;
2292
2642
  } | undefined;
2293
2643
  model?: string | undefined;
2294
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2644
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2295
2645
  toolCalls?: {
2296
2646
  function: {
2297
2647
  name: string;
@@ -2347,7 +2697,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2347
2697
  totalTokens?: number | undefined;
2348
2698
  } | undefined;
2349
2699
  model?: string | undefined;
2350
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2700
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2351
2701
  toolCalls?: {
2352
2702
  function: {
2353
2703
  name: string;
@@ -2369,20 +2719,20 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2369
2719
  lastActivity: z.ZodNumber;
2370
2720
  messageCount: z.ZodNumber;
2371
2721
  }, "strict", z.ZodTypeAny, {
2722
+ messageCount: number;
2372
2723
  createdAt: number;
2373
2724
  lastActivity: number;
2374
- messageCount: number;
2375
2725
  }, {
2726
+ messageCount: number;
2376
2727
  createdAt: number;
2377
2728
  lastActivity: number;
2378
- messageCount: number;
2379
2729
  }>;
2380
2730
  }, "strict", z.ZodTypeAny, {
2381
2731
  sessionId: string;
2382
2732
  metadata: {
2733
+ messageCount: number;
2383
2734
  createdAt: number;
2384
2735
  lastActivity: number;
2385
- messageCount: number;
2386
2736
  };
2387
2737
  matchCount: number;
2388
2738
  firstMatch: {
@@ -2425,7 +2775,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2425
2775
  totalTokens?: number | undefined;
2426
2776
  } | undefined;
2427
2777
  model?: string | undefined;
2428
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2778
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2429
2779
  toolCalls?: {
2430
2780
  function: {
2431
2781
  name: string;
@@ -2445,9 +2795,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2445
2795
  }, {
2446
2796
  sessionId: string;
2447
2797
  metadata: {
2798
+ messageCount: number;
2448
2799
  createdAt: number;
2449
2800
  lastActivity: number;
2450
- messageCount: number;
2451
2801
  };
2452
2802
  matchCount: number;
2453
2803
  firstMatch: {
@@ -2490,7 +2840,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2490
2840
  totalTokens?: number | undefined;
2491
2841
  } | undefined;
2492
2842
  model?: string | undefined;
2493
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2843
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2494
2844
  toolCalls?: {
2495
2845
  function: {
2496
2846
  name: string;
@@ -2516,9 +2866,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2516
2866
  results: {
2517
2867
  sessionId: string;
2518
2868
  metadata: {
2869
+ messageCount: number;
2519
2870
  createdAt: number;
2520
2871
  lastActivity: number;
2521
- messageCount: number;
2522
2872
  };
2523
2873
  matchCount: number;
2524
2874
  firstMatch: {
@@ -2561,7 +2911,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2561
2911
  totalTokens?: number | undefined;
2562
2912
  } | undefined;
2563
2913
  model?: string | undefined;
2564
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2914
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2565
2915
  toolCalls?: {
2566
2916
  function: {
2567
2917
  name: string;
@@ -2586,9 +2936,9 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2586
2936
  results: {
2587
2937
  sessionId: string;
2588
2938
  metadata: {
2939
+ messageCount: number;
2589
2940
  createdAt: number;
2590
2941
  lastActivity: number;
2591
- messageCount: number;
2592
2942
  };
2593
2943
  matchCount: number;
2594
2944
  firstMatch: {
@@ -2631,7 +2981,7 @@ export declare const SessionSearchResponseSchema: z.ZodObject<{
2631
2981
  totalTokens?: number | undefined;
2632
2982
  } | undefined;
2633
2983
  model?: string | undefined;
2634
- provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto" | undefined;
2984
+ provider?: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova" | undefined;
2635
2985
  toolCalls?: {
2636
2986
  function: {
2637
2987
  name: string;
@@ -3106,19 +3456,19 @@ export declare const ErrorResponseSchema: z.ZodObject<{
3106
3456
  details?: unknown;
3107
3457
  }>;
3108
3458
  }, "strict", z.ZodTypeAny, {
3109
- ok: false;
3110
3459
  error: {
3111
3460
  message: string;
3112
3461
  code?: string | undefined;
3113
3462
  details?: unknown;
3114
3463
  };
3115
- }, {
3116
3464
  ok: false;
3465
+ }, {
3117
3466
  error: {
3118
3467
  message: string;
3119
3468
  code?: string | undefined;
3120
3469
  details?: unknown;
3121
3470
  };
3471
+ ok: false;
3122
3472
  }>;
3123
3473
  export type ErrorResponse = z.output<typeof ErrorResponseSchema>;
3124
3474
  export declare const StatusResponseSchema: z.ZodObject<{