@xiaoso/dsh-tool-plus 0.1.16 → 0.1.17-beta.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 (109) hide show
  1. package/lib/{abort-DZ54CaKU.mjs → abort-BTblp0Rt.mjs} +2 -2
  2. package/lib/{alibaba-coding-plan-DODpkcqi.mjs → alibaba-coding-plan-t3R4YKCB.mjs} +3 -3
  3. package/lib/{alibaba-token-plan-C6lpKCda.mjs → alibaba-token-plan-CO4djG1y.mjs} +4 -4
  4. package/lib/{alibaba-token-plan-CHGyWOfX.mjs → alibaba-token-plan-CUjYJX0-.mjs} +1 -1
  5. package/lib/{anthropic-Dv_GGX6g.mjs → anthropic-nf7w6so1.mjs} +48 -21
  6. package/lib/{api-key-validation-MnMf_ihX.mjs → api-key-validation-C_tZ7Y9a.mjs} +2 -2
  7. package/lib/behavior-BwvTUtag.mjs +111 -0
  8. package/lib/{browser-render-BZXt548F.mjs → browser-render-BQaEVK_n.mjs} +4 -4
  9. package/lib/{reference-CtvM4zLU.mjs → bundled-references-CrQ4dQcT.mjs} +57 -4
  10. package/lib/cascade-BWjRTD1q.mjs +30265 -0
  11. package/lib/{cline-pass-BT9CBEOj.mjs → cline-pass-Bjm-O8GG.mjs} +2 -2
  12. package/lib/cloudflare-CKXRJ0l9.mjs +37 -0
  13. package/lib/{cloudflare-ai-gateway-DReN6ohJ.mjs → cloudflare-ai-gateway-BpnBSjwV.mjs} +8 -4
  14. package/lib/cloudflare-workers-ai-odj9XswL.mjs +32 -0
  15. package/lib/collapse-_nkb2dn7.mjs +1945 -0
  16. package/lib/{coreweave-C82HrLpb.mjs → coreweave-CGDZOD8-.mjs} +1 -1
  17. package/lib/{coreweave-C68UgRQO.mjs → coreweave-DwffcgW5.mjs} +4 -4
  18. package/lib/cursor-BgOuV7Qf.mjs +794 -0
  19. package/lib/{cursor-_gHHq-Dq.mjs → cursor-CF1iHHbv.mjs} +68 -19
  20. package/lib/{cursor-proto-Cr_WEMuv.mjs → cursor-proto-BuNTjX3L.mjs} +823 -23
  21. package/lib/{devin-QpfTSl9H.mjs → devin-7OEeEb80.mjs} +112 -31
  22. package/lib/{devin-proto-DYhp4Ty6.mjs → devin-proto-C-QreeAv.mjs} +71 -5
  23. package/lib/{dom-DG3sPESc.mjs → dom-BmbZv4v9.mjs} +598 -182
  24. package/lib/{error-O63pC8zg.mjs → error-8LVo7tug.mjs} +725 -104
  25. package/lib/factory-droid-ChhmsGWb.mjs +71 -0
  26. package/lib/{fs-promises-shim-B2YFWkcd.mjs → fs-promises-shim-CANAxFWh.mjs} +10 -1
  27. package/lib/{github-copilot-BMEcw8N1.mjs → github-copilot-QwevdT30.mjs} +4 -4
  28. package/lib/{github-copilot-headers-DnjGEbko.mjs → github-copilot-headers-CAUZ0rUD.mjs} +138 -26
  29. package/lib/{gitlab-duo-DnHqJjFY.mjs → gitlab-duo-DigV7k_o.mjs} +2 -2
  30. package/lib/{google-antigravity-B1mSckrK.mjs → google-antigravity-D-oe0r8A.mjs} +6 -7
  31. package/lib/{google-gemini-cli-DJwThCCn.mjs → google-gemini-cli-CQBHgGJT.mjs} +5 -6
  32. package/lib/{google-oauth-shared-BctLpVUN.mjs → google-oauth-shared-CvgVIUwJ.mjs} +2 -2
  33. package/lib/google-validation-CdvRj4ec.mjs +126 -0
  34. package/lib/id-EJwVLDHE.mjs +2548 -0
  35. package/lib/index.mjs +248 -258
  36. package/lib/{kilo-BEgEwMJQ.mjs → kilo-5r6OffCa.mjs} +2 -2
  37. package/lib/{kimi-T9NldEIJ.mjs → kimi-DOOtbXmm.mjs} +9 -10
  38. package/lib/{launch-BIWNyrBB.mjs → launch-DkAjib7h.mjs} +1 -1
  39. package/lib/{markit-Dvp2JPdT.mjs → markit-CCcyeAds.mjs} +359 -140
  40. package/lib/{models-DnXMYGcJ.mjs → models-DCpDT_im.mjs} +199203 -112275
  41. package/lib/{muse-code-CNvqqAp6.mjs → muse-code-CYf8zj_B.mjs} +5 -5
  42. package/lib/{openai-codex-D5-CyTxa.mjs → openai-codex-Cj-TvSFh.mjs} +13 -10
  43. package/lib/{perplexity-A2PEoGaC.mjs → perplexity-Dh_Qgsmx.mjs} +68 -25
  44. package/lib/{pkce-BYjmugmw.mjs → pkce-DO-jBJLV.mjs} +1 -1
  45. package/lib/pricing-DusBEhwm.mjs +593 -0
  46. package/lib/{readability-uGhqb4GC.mjs → readability-XHK0o3bv.mjs} +287 -27
  47. package/lib/{scrapers-C1ujjV8k.mjs → scrapers-B6PADOVm.mjs} +13 -13
  48. package/lib/slugify-ynYWBIA5.mjs +11 -0
  49. package/lib/snowflake-B_jap6lz.mjs +666 -0
  50. package/lib/snowflake-Cu1ZyOp6.mjs +151 -0
  51. package/lib/{src-AELUUb5U.mjs → src-BhinCSpi.mjs} +1172 -458
  52. package/lib/{stream-AVOoe5Hj.mjs → stream-D2ivg3GH.mjs} +3740 -5311
  53. package/lib/{turndown-D6fof1OX.mjs → turndown-Vya8SavL.mjs} +82 -30
  54. package/lib/types/tools/hashline/native/index.d.ts +2 -2
  55. package/lib/types/tools/hashline/native/policy.d.ts +19 -21
  56. package/lib/types/tools/omp/session/agent-storage.d.ts +3 -3
  57. package/lib/types/tools/shared/bun-named-shim.d.ts +5 -0
  58. package/lib/{types-BLrLohwK.mjs → types-tH1v9uRm.mjs} +2 -2
  59. package/lib/{utils-cZX3f_Ls.mjs → utils-C_Ncya1r.mjs} +1737 -509
  60. package/lib/utils-D2tK38xq.mjs +34006 -0
  61. package/lib/{utils-I4I8azHN.mjs → utils-DrDwmNtu.mjs} +8 -3
  62. package/lib/{xai-oauth-CbeldUSV.mjs → xai-oauth-DLLzX6my.mjs} +4 -4
  63. package/lib/{xiaomi-Dl3VSs04.mjs → xiaomi-CqK-KivK.mjs} +2 -2
  64. package/lib/{zai-FyjGSypr.mjs → zai-DoJ2xPIH.mjs} +2 -2
  65. package/lib/{zip-DRrycScC.mjs → zip-DG1mUV6X.mjs} +1 -1
  66. package/package.json +8 -8
  67. package/lib/amazon-bedrock-Dx0rr9dY.mjs +0 -996
  68. package/lib/anthropic-ClCw0PV_.mjs +0 -3624
  69. package/lib/anthropic-wire-lbGAFzYb.mjs +0 -927
  70. package/lib/azure-openai-responses-WE_bgFWp.mjs +0 -285
  71. package/lib/bundled-references-DY3EJxZV.mjs +0 -56
  72. package/lib/cloudflare-ai-gateway-CrMa97Ap.mjs +0 -44
  73. package/lib/collapse-CkMNRNr7.mjs +0 -2304
  74. package/lib/cursor-C6jaIJDg.mjs +0 -283
  75. package/lib/cursor-D-XZYDf_.mjs +0 -4544
  76. package/lib/deterministic-id-CUEIMSqR.mjs +0 -17
  77. package/lib/devin-ExGIghmx.mjs +0 -69
  78. package/lib/devin-u0ljw5P6.mjs +0 -628
  79. package/lib/effort-BdtQMN-_.mjs +0 -23
  80. package/lib/event-stream-BKEtb45Y.mjs +0 -167
  81. package/lib/gemini-headers-Co9cVvex.mjs +0 -54
  82. package/lib/google-auth-qAN-6DMW.mjs +0 -232
  83. package/lib/google-gemini-cli-B2Aw1S5w.mjs +0 -844
  84. package/lib/google-lTxuq28n.mjs +0 -38
  85. package/lib/google-shared-Y01j9xOr.mjs +0 -856
  86. package/lib/google-validation-BEkNs-Bx.mjs +0 -18
  87. package/lib/google-vertex-DcM-FRC5.mjs +0 -99
  88. package/lib/hosts-00rjRzUD.mjs +0 -203
  89. package/lib/id-AL5obQzR.mjs +0 -71
  90. package/lib/idle-iterator-D0ZXEcUq.mjs +0 -366
  91. package/lib/ollama-6R0oXZks.mjs +0 -574
  92. package/lib/openai-codex-responses-C8bnBWOe.mjs +0 -3232
  93. package/lib/openai-completions-DNr3mUsn.mjs +0 -1430
  94. package/lib/openai-configuration-update-xMYUjaK_.mjs +0 -150
  95. package/lib/openai-reasoning-fallback-Ju-5pSR8.mjs +0 -380
  96. package/lib/openai-responses-CjpafAEr.mjs +0 -861
  97. package/lib/protobuf-BMgDYu_U.mjs +0 -717
  98. package/lib/provider-response-SqKSkkUc.mjs +0 -22
  99. package/lib/proxy-DxvCQOCA.mjs +0 -230
  100. package/lib/request-debug-BwPOqN_j.mjs +0 -183
  101. package/lib/sanitize-text-BCf5KmCf.mjs +0 -33
  102. package/lib/sse-debug-B-tkLCPW.mjs +0 -11
  103. package/lib/stream-markup-healing-CN3RsqG9.mjs +0 -267
  104. package/lib/strict-tool-validation-CBTz1dAA.mjs +0 -105
  105. package/lib/taxonomy-DSIM99rS.mjs +0 -15392
  106. package/lib/thinking-ngMwf_1Y.mjs +0 -336
  107. package/lib/type-guards-CttAANEx.mjs +0 -11
  108. package/lib/utils-CE3DSebh.mjs +0 -11763
  109. package/lib/vision-guard-BCpXWUj3.mjs +0 -77
@@ -1,9 +1,36 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { a as pb } from "./protobuf-BMgDYu_U.mjs";
4
- //#region node_modules/.pnpm/@oh-my-pi+pi-catalog@18.1.17/node_modules/@oh-my-pi/pi-catalog/src/discovery/cursor-proto.ts
3
+ import { c as pb } from "./collapse-_nkb2dn7.mjs";
4
+ //#region node_modules/.pnpm/@oh-my-pi+pi-catalog@18.12.6/node_modules/@oh-my-pi/pi-catalog/src/wire/cursor.ts
5
5
  /**
6
- * Cursor agent protocol declarations used by Oh My Pi.
6
+ * Cursor wire constants shared by authenticated catalog discovery, the pi-ai
7
+ * provider, and account usage. Keep the announced client build aligned with the
8
+ * released Cursor agent CLI because the service gates protocol features on it.
9
+ */
10
+ /** Default host for Cursor's Connect RPCs and account API. */
11
+ const CURSOR_DEFAULT_BASE_URL = "https://api2.cursor.sh";
12
+ /** Released Cursor agent CLI build whose protocol surface this client mirrors. */
13
+ const CURSOR_CLIENT_VERSION = "cli-2026.09.02-c22c1a3";
14
+ const CURSOR_RUN_PATH = "/agent.v1.AgentService/Run";
15
+ const CURSOR_RUN_SSE_PATH = "/agent.v1.AgentService/RunSSE";
16
+ const CURSOR_BIDI_APPEND_PATH = "/aiserver.v1.BidiService/BidiAppend";
17
+ const CURSOR_GET_USABLE_MODELS_PATH = "/agent.v1.AgentService/GetUsableModels";
18
+ const CURSOR_GET_DEFAULT_MODEL_PATH = "/agent.v1.AgentService/GetDefaultModelForCli";
19
+ const CURSOR_AVAILABLE_MODELS_PATH = "/aiserver.v1.AiService/AvailableModels";
20
+ /** Headers shared by Cursor's authenticated CLI RPCs. */
21
+ function cursorClientHeaders(apiKey, options = {}) {
22
+ return {
23
+ "content-type": options.contentType ?? "application/proto",
24
+ authorization: `Bearer ${apiKey}`,
25
+ "x-cursor-client-type": "cli",
26
+ "x-cursor-client-version": options.clientVersion ?? "cli-2026.09.02-c22c1a3",
27
+ "x-ghost-mode": "true"
28
+ };
29
+ }
30
+ //#endregion
31
+ //#region node_modules/.pnpm/@oh-my-pi+pi-catalog@18.12.6/node_modules/@oh-my-pi/pi-catalog/src/discovery/cursor-proto.ts
32
+ /**
33
+ * Cursor agent protocol declarations used by omp.
7
34
  *
8
35
  * Each declaration retains only fields consumed by the client or its protocol tests.
9
36
  */
@@ -546,37 +573,557 @@ const AskQuestionSuccess_AnswerSchema = pb("agent.v1.AskQuestionSuccess_Answer",
546
573
  }]);
547
574
  const AskQuestionToolCallSchema = pb("agent.v1.AskQuestionToolCall", [{
548
575
  no: 1,
549
- name: "args",
550
- kind: "message",
551
- T: () => AskQuestionArgsSchema
576
+ name: "args",
577
+ kind: "message",
578
+ T: () => AskQuestionArgsSchema
579
+ }, {
580
+ no: 2,
581
+ name: "result",
582
+ kind: "message",
583
+ T: () => AskQuestionResultSchema
584
+ }]);
585
+ const AssistantMessageSchema = pb("agent.v1.AssistantMessage", [{
586
+ no: 1,
587
+ name: "text",
588
+ kind: "string"
589
+ }]);
590
+ const AsyncAskQuestionCompletionActionSchema = pb("agent.v1.AsyncAskQuestionCompletionAction", [
591
+ {
592
+ no: 1,
593
+ name: "originalToolCallId",
594
+ kind: "string"
595
+ },
596
+ {
597
+ no: 2,
598
+ name: "originalArgs",
599
+ kind: "message",
600
+ T: () => AskQuestionArgsSchema
601
+ },
602
+ {
603
+ no: 3,
604
+ name: "result",
605
+ kind: "message",
606
+ T: () => AskQuestionResultSchema
607
+ }
608
+ ]);
609
+ const AvailableModelsRequestSchema = pb("aiserver.v1.AvailableModelsRequest", [
610
+ {
611
+ no: 1,
612
+ name: "isNightly",
613
+ kind: "bool"
614
+ },
615
+ {
616
+ no: 2,
617
+ name: "includeLongContextModels",
618
+ kind: "bool"
619
+ },
620
+ {
621
+ no: 3,
622
+ name: "excludeMaxNamedModels",
623
+ kind: "bool"
624
+ },
625
+ {
626
+ no: 4,
627
+ name: "additionalModelNames",
628
+ kind: "string",
629
+ repeat: true
630
+ },
631
+ {
632
+ no: 5,
633
+ name: "useModelParameters",
634
+ kind: "bool",
635
+ optional: true
636
+ },
637
+ {
638
+ no: 6,
639
+ name: "includeHiddenModels",
640
+ kind: "bool",
641
+ optional: true
642
+ },
643
+ {
644
+ no: 7,
645
+ name: "doNotUseMarkdown",
646
+ kind: "bool",
647
+ optional: true
648
+ },
649
+ {
650
+ no: 8,
651
+ name: "variantsWillBeShownInExplodedList",
652
+ kind: "bool",
653
+ optional: true
654
+ },
655
+ {
656
+ no: 9,
657
+ name: "forAutomations",
658
+ kind: "bool",
659
+ optional: true
660
+ },
661
+ {
662
+ no: 10,
663
+ name: "scope",
664
+ kind: "int32",
665
+ optional: true
666
+ },
667
+ {
668
+ no: 11,
669
+ name: "useReactModelPicker",
670
+ kind: "bool",
671
+ optional: true
672
+ },
673
+ {
674
+ no: 12,
675
+ name: "useCloudAgentEffortModes",
676
+ kind: "bool",
677
+ optional: true
678
+ },
679
+ {
680
+ no: 13,
681
+ name: "adminSettingsGroupPublicId",
682
+ kind: "string",
683
+ optional: true
684
+ },
685
+ {
686
+ no: 14,
687
+ name: "byokEnabled",
688
+ kind: "bool",
689
+ optional: true
690
+ }
691
+ ]);
692
+ const AvailableModelsResponseSchema = pb("aiserver.v1.AvailableModelsResponse", [
693
+ {
694
+ no: 1,
695
+ name: "modelNames",
696
+ kind: "string",
697
+ repeat: true
698
+ },
699
+ {
700
+ no: 2,
701
+ name: "models",
702
+ kind: "message",
703
+ T: () => AvailableModelsResponse_ModelDetailsSchema,
704
+ repeat: true
705
+ },
706
+ {
707
+ no: 11,
708
+ name: "useModelParameters",
709
+ kind: "bool"
710
+ }
711
+ ]);
712
+ const AvailableModelsResponse_ConfirmationDialogueSchema = pb("aiserver.v1.AvailableModelsResponse_ConfirmationDialogue", [
713
+ {
714
+ no: 1,
715
+ name: "title",
716
+ kind: "string"
717
+ },
718
+ {
719
+ no: 2,
720
+ name: "body",
721
+ kind: "string"
722
+ },
723
+ {
724
+ no: 3,
725
+ name: "key",
726
+ kind: "string"
727
+ },
728
+ {
729
+ no: 4,
730
+ name: "blocksSubmission",
731
+ kind: "bool"
732
+ }
733
+ ]);
734
+ const AvailableModelsResponse_ModelDetailsSchema = pb("aiserver.v1.AvailableModelsResponse_ModelDetails", [
735
+ {
736
+ no: 1,
737
+ name: "name",
738
+ kind: "string"
739
+ },
740
+ {
741
+ no: 2,
742
+ name: "defaultOn",
743
+ kind: "bool"
744
+ },
745
+ {
746
+ no: 3,
747
+ name: "isLongContextOnly",
748
+ kind: "bool",
749
+ optional: true
750
+ },
751
+ {
752
+ no: 4,
753
+ name: "isChatOnly",
754
+ kind: "bool",
755
+ optional: true
756
+ },
757
+ {
758
+ no: 5,
759
+ name: "supportsAgent",
760
+ kind: "bool",
761
+ optional: true
762
+ },
763
+ {
764
+ no: 6,
765
+ name: "degradationStatus",
766
+ kind: "enum",
767
+ optional: true
768
+ },
769
+ {
770
+ no: 7,
771
+ name: "price",
772
+ kind: "double",
773
+ optional: true
774
+ },
775
+ {
776
+ no: 8,
777
+ name: "tooltipData",
778
+ kind: "message",
779
+ T: () => AvailableModelsResponse_TooltipDataSchema
780
+ },
781
+ {
782
+ no: 9,
783
+ name: "supportsThinking",
784
+ kind: "bool",
785
+ optional: true
786
+ },
787
+ {
788
+ no: 10,
789
+ name: "supportsImages",
790
+ kind: "bool",
791
+ optional: true
792
+ },
793
+ {
794
+ no: 11,
795
+ name: "supportsAutoContext",
796
+ kind: "bool",
797
+ optional: true
798
+ },
799
+ {
800
+ no: 12,
801
+ name: "autoContextMaxTokens",
802
+ kind: "uint32",
803
+ optional: true
804
+ },
805
+ {
806
+ no: 13,
807
+ name: "autoContextExtendedMaxTokens",
808
+ kind: "uint32",
809
+ optional: true
810
+ },
811
+ {
812
+ no: 14,
813
+ name: "supportsMaxMode",
814
+ kind: "bool",
815
+ optional: true
816
+ },
817
+ {
818
+ no: 15,
819
+ name: "contextTokenLimit",
820
+ kind: "uint32",
821
+ optional: true
822
+ },
823
+ {
824
+ no: 16,
825
+ name: "contextTokenLimitForMaxMode",
826
+ kind: "uint32",
827
+ optional: true
828
+ },
829
+ {
830
+ no: 17,
831
+ name: "clientDisplayName",
832
+ kind: "string",
833
+ optional: true
834
+ },
835
+ {
836
+ no: 18,
837
+ name: "serverModelName",
838
+ kind: "string",
839
+ optional: true
840
+ },
841
+ {
842
+ no: 19,
843
+ name: "supportsNonMaxMode",
844
+ kind: "bool",
845
+ optional: true
846
+ },
847
+ {
848
+ no: 20,
849
+ name: "tooltipDataForMaxMode",
850
+ kind: "message",
851
+ T: () => AvailableModelsResponse_TooltipDataSchema
852
+ },
853
+ {
854
+ no: 21,
855
+ name: "isRecommendedForBackgroundComposer",
856
+ kind: "bool",
857
+ optional: true
858
+ },
859
+ {
860
+ no: 22,
861
+ name: "supportsPlanMode",
862
+ kind: "bool",
863
+ optional: true
864
+ },
865
+ {
866
+ no: 23,
867
+ name: "isUserAdded",
868
+ kind: "bool",
869
+ optional: true
870
+ },
871
+ {
872
+ no: 24,
873
+ name: "inputboxShortModelName",
874
+ kind: "string",
875
+ optional: true
876
+ },
877
+ {
878
+ no: 25,
879
+ name: "supportsSandboxing",
880
+ kind: "bool",
881
+ optional: true
882
+ },
883
+ {
884
+ no: 26,
885
+ name: "supportsCmdK",
886
+ kind: "bool",
887
+ optional: true
888
+ },
889
+ {
890
+ no: 27,
891
+ name: "onlySupportsCmdK",
892
+ kind: "bool",
893
+ optional: true
894
+ },
895
+ {
896
+ no: 28,
897
+ name: "backgroundComposerSortOrder",
898
+ kind: "uint32",
899
+ optional: true
900
+ },
901
+ {
902
+ no: 29,
903
+ name: "parameterDefinitions",
904
+ kind: "message",
905
+ T: () => ModelParameterDefinitionSchema,
906
+ repeat: true
907
+ },
908
+ {
909
+ no: 30,
910
+ name: "variants",
911
+ kind: "message",
912
+ T: () => AvailableModelsResponse_ModelVariantConfigSchema,
913
+ repeat: true
914
+ },
915
+ {
916
+ no: 32,
917
+ name: "cloudAgentEffortMode",
918
+ kind: "int32",
919
+ optional: true
920
+ },
921
+ {
922
+ no: 33,
923
+ name: "cloudMigrateToModel",
924
+ kind: "string",
925
+ optional: true
926
+ },
927
+ {
928
+ no: 34,
929
+ name: "upgradeModelId",
930
+ kind: "string",
931
+ optional: true
932
+ },
933
+ {
934
+ no: 35,
935
+ name: "isHidden",
936
+ kind: "bool",
937
+ optional: true
938
+ },
939
+ {
940
+ no: 36,
941
+ name: "legacySlugs",
942
+ kind: "string",
943
+ repeat: true
944
+ },
945
+ {
946
+ no: 37,
947
+ name: "idAliases",
948
+ kind: "string",
949
+ repeat: true
950
+ },
951
+ {
952
+ no: 38,
953
+ name: "namedModelSectionIndex",
954
+ kind: "uint32",
955
+ optional: true
956
+ },
957
+ {
958
+ no: 39,
959
+ name: "tagline",
960
+ kind: "string",
961
+ optional: true
962
+ },
963
+ {
964
+ no: 40,
965
+ name: "visibleInRoutedModelView",
966
+ kind: "bool",
967
+ optional: true
968
+ },
969
+ {
970
+ no: 41,
971
+ name: "vendorName",
972
+ kind: "string",
973
+ optional: true
974
+ },
975
+ {
976
+ no: 42,
977
+ name: "vendor",
978
+ kind: "message",
979
+ T: () => AvailableModelsResponse_ModelVendorSchema
980
+ },
981
+ {
982
+ no: 43,
983
+ name: "defaultDisabledInAdminAllowlist",
984
+ kind: "bool",
985
+ optional: true
986
+ },
987
+ {
988
+ no: 44,
989
+ name: "cloudAgentEffortModes",
990
+ kind: "int32",
991
+ repeat: true
992
+ },
993
+ {
994
+ no: 45,
995
+ name: "supportsSmartModeClassifier",
996
+ kind: "bool",
997
+ optional: true
998
+ },
999
+ {
1000
+ no: 46,
1001
+ name: "requiresDataRetention",
1002
+ kind: "bool",
1003
+ optional: true
1004
+ },
1005
+ {
1006
+ no: 47,
1007
+ name: "reasonForZdrConsentBlock",
1008
+ kind: "string",
1009
+ optional: true
1010
+ }
1011
+ ]);
1012
+ const AvailableModelsResponse_ModelVariantConfigSchema = pb("aiserver.v1.AvailableModelsResponse_ModelVariantConfig", [
1013
+ {
1014
+ no: 1,
1015
+ name: "parameterValues",
1016
+ kind: "message",
1017
+ T: () => ModelParameterValueSchema,
1018
+ repeat: true
1019
+ },
1020
+ {
1021
+ no: 2,
1022
+ name: "displayName",
1023
+ kind: "string",
1024
+ optional: true
1025
+ },
1026
+ {
1027
+ no: 3,
1028
+ name: "isMaxMode",
1029
+ kind: "bool",
1030
+ optional: true
1031
+ },
1032
+ {
1033
+ no: 4,
1034
+ name: "isDefaultMaxConfig",
1035
+ kind: "bool",
1036
+ optional: true
1037
+ },
1038
+ {
1039
+ no: 5,
1040
+ name: "isDefaultNonMaxConfig",
1041
+ kind: "bool",
1042
+ optional: true
1043
+ },
1044
+ {
1045
+ no: 6,
1046
+ name: "tooltipData",
1047
+ kind: "message",
1048
+ T: () => AvailableModelsResponse_TooltipDataSchema
1049
+ },
1050
+ {
1051
+ no: 7,
1052
+ name: "tagline",
1053
+ kind: "string",
1054
+ optional: true
1055
+ },
1056
+ {
1057
+ no: 8,
1058
+ name: "displayNameOutsidePicker",
1059
+ kind: "string",
1060
+ optional: true
1061
+ },
1062
+ {
1063
+ no: 9,
1064
+ name: "variantStringRepresentation",
1065
+ kind: "string",
1066
+ optional: true
1067
+ },
1068
+ {
1069
+ no: 10,
1070
+ name: "confirmationDialogue",
1071
+ kind: "message",
1072
+ T: () => AvailableModelsResponse_ConfirmationDialogueSchema
1073
+ },
1074
+ {
1075
+ no: 11,
1076
+ name: "legacySlug",
1077
+ kind: "string",
1078
+ optional: true
1079
+ }
1080
+ ]);
1081
+ const AvailableModelsResponse_ModelVendorSchema = pb("aiserver.v1.AvailableModelsResponse_ModelVendor", [{
1082
+ no: 1,
1083
+ name: "id",
1084
+ kind: "enum"
552
1085
  }, {
553
1086
  no: 2,
554
- name: "result",
555
- kind: "message",
556
- T: () => AskQuestionResultSchema
557
- }]);
558
- const AssistantMessageSchema = pb("agent.v1.AssistantMessage", [{
559
- no: 1,
560
- name: "text",
1087
+ name: "displayName",
561
1088
  kind: "string"
562
1089
  }]);
563
- const AsyncAskQuestionCompletionActionSchema = pb("agent.v1.AsyncAskQuestionCompletionAction", [
1090
+ const AvailableModelsResponse_TooltipDataSchema = pb("aiserver.v1.AvailableModelsResponse_TooltipData", [
564
1091
  {
565
1092
  no: 1,
566
- name: "originalToolCallId",
1093
+ name: "primaryText",
567
1094
  kind: "string"
568
1095
  },
569
1096
  {
570
1097
  no: 2,
571
- name: "originalArgs",
572
- kind: "message",
573
- T: () => AskQuestionArgsSchema
1098
+ name: "secondaryText",
1099
+ kind: "string"
574
1100
  },
575
1101
  {
576
1102
  no: 3,
577
- name: "result",
578
- kind: "message",
579
- T: () => AskQuestionResultSchema
1103
+ name: "secondaryWarningText",
1104
+ kind: "string"
1105
+ },
1106
+ {
1107
+ no: 4,
1108
+ name: "icon",
1109
+ kind: "string"
1110
+ },
1111
+ {
1112
+ no: 5,
1113
+ name: "tertiaryText",
1114
+ kind: "string"
1115
+ },
1116
+ {
1117
+ no: 6,
1118
+ name: "tertiaryTextUrl",
1119
+ kind: "string",
1120
+ optional: true
1121
+ },
1122
+ {
1123
+ no: 7,
1124
+ name: "markdownContent",
1125
+ kind: "string",
1126
+ optional: true
580
1127
  }
581
1128
  ]);
582
1129
  const AzureCredentialsSchema = pb("agent.v1.AzureCredentials", [
@@ -785,6 +1332,34 @@ const BeforeSubmitPromptRequestResponseSchema = pb("agent.v1.BeforeSubmitPromptR
785
1332
  optional: true
786
1333
  }
787
1334
  ]);
1335
+ const BidiAppendRequestSchema = pb("aiserver.v1.BidiAppendRequest", [
1336
+ {
1337
+ no: 1,
1338
+ name: "data",
1339
+ kind: "string"
1340
+ },
1341
+ {
1342
+ no: 2,
1343
+ name: "requestId",
1344
+ kind: "message",
1345
+ T: () => BidiRequestIdSchema
1346
+ },
1347
+ {
1348
+ no: 3,
1349
+ name: "appendSeqno",
1350
+ kind: "int64"
1351
+ },
1352
+ {
1353
+ no: 4,
1354
+ name: "dataBinary",
1355
+ kind: "bytes"
1356
+ }
1357
+ ]);
1358
+ const BidiRequestIdSchema = pb("agent.v1.BidiRequestId", [{
1359
+ no: 1,
1360
+ name: "requestId",
1361
+ kind: "string"
1362
+ }]);
788
1363
  const CallFrameSchema = pb("agent.v1.CallFrame", [
789
1364
  {
790
1365
  no: 1,
@@ -1671,6 +2246,42 @@ const CursorRuleTypeFileGlobsSchema = pb("agent.v1.CursorRuleTypeFileGlobs", [{
1671
2246
  }]);
1672
2247
  const CursorRuleTypeGlobalSchema = pb("agent.v1.CursorRuleTypeGlobal", []);
1673
2248
  const CursorRuleTypeManuallyAttachedSchema = pb("agent.v1.CursorRuleTypeManuallyAttached", []);
2249
+ const CustomErrorDetailsSchema = pb("aiserver.v1.CustomErrorDetails", [
2250
+ {
2251
+ no: 1,
2252
+ name: "title",
2253
+ kind: "string"
2254
+ },
2255
+ {
2256
+ no: 2,
2257
+ name: "detail",
2258
+ kind: "string"
2259
+ },
2260
+ {
2261
+ no: 3,
2262
+ name: "allowCommandLinksPotentiallyUnsafePleaseOnlyUseForHandwrittenTrustedMarkdown",
2263
+ kind: "bool",
2264
+ optional: true
2265
+ },
2266
+ {
2267
+ no: 4,
2268
+ name: "isRetryable",
2269
+ kind: "bool",
2270
+ optional: true
2271
+ },
2272
+ {
2273
+ no: 5,
2274
+ name: "showRequestId",
2275
+ kind: "bool",
2276
+ optional: true
2277
+ },
2278
+ {
2279
+ no: 6,
2280
+ name: "shouldShowImmediateError",
2281
+ kind: "bool",
2282
+ optional: true
2283
+ }
2284
+ ]);
1674
2285
  const CustomSubagentSchema = pb("agent.v1.CustomSubagent", [
1675
2286
  {
1676
2287
  no: 1,
@@ -2211,6 +2822,25 @@ const ErrorSchema = pb("agent.v1.Error", [{
2211
2822
  name: "message",
2212
2823
  kind: "string"
2213
2824
  }]);
2825
+ const ErrorDetailsSchema = pb("aiserver.v1.ErrorDetails", [
2826
+ {
2827
+ no: 1,
2828
+ name: "error",
2829
+ kind: "enum"
2830
+ },
2831
+ {
2832
+ no: 2,
2833
+ name: "details",
2834
+ kind: "message",
2835
+ T: () => CustomErrorDetailsSchema
2836
+ },
2837
+ {
2838
+ no: 3,
2839
+ name: "isExpected",
2840
+ kind: "bool",
2841
+ optional: true
2842
+ }
2843
+ ]);
2214
2844
  const ExaFetchArgsSchema = pb("agent.v1.ExaFetchArgs", [{
2215
2845
  no: 1,
2216
2846
  name: "ids",
@@ -3513,6 +4143,13 @@ const GetBlobResultSchema = pb("agent.v1.GetBlobResult", [{
3513
4143
  kind: "bytes",
3514
4144
  optional: true
3515
4145
  }]);
4146
+ const GetDefaultModelForCliRequestSchema = pb("agent.v1.GetDefaultModelForCliRequest", []);
4147
+ const GetDefaultModelForCliResponseSchema = pb("agent.v1.GetDefaultModelForCliResponse", [{
4148
+ no: 1,
4149
+ name: "model",
4150
+ kind: "message",
4151
+ T: () => ModelDetailsSchema
4152
+ }]);
3516
4153
  const GetDiffRequestSchema = pb("agent.v1.GetDiffRequest", [
3517
4154
  {
3518
4155
  no: 1,
@@ -5385,6 +6022,138 @@ const ModelDetailsSchema = pb("agent.v1.ModelDetails", [
5385
6022
  ]
5386
6023
  }
5387
6024
  ]);
6025
+ const ModelParameterDefinitionSchema = pb("aiserver.v1.ModelParameterDefinition", [
6026
+ {
6027
+ no: 1,
6028
+ name: "id",
6029
+ kind: "string"
6030
+ },
6031
+ {
6032
+ no: 2,
6033
+ name: "name",
6034
+ kind: "string"
6035
+ },
6036
+ {
6037
+ no: 3,
6038
+ name: "markdownTooltip",
6039
+ kind: "string",
6040
+ optional: true
6041
+ },
6042
+ {
6043
+ no: 4,
6044
+ name: "parameterType",
6045
+ kind: "message",
6046
+ T: () => ModelParameterDefinition_ModelParameterTypeSchema
6047
+ },
6048
+ {
6049
+ no: 5,
6050
+ name: "isCycleableByHotkey",
6051
+ kind: "bool",
6052
+ optional: true
6053
+ }
6054
+ ]);
6055
+ const ModelParameterDefinition_BooleanParameterDefinitionSchema = pb("aiserver.v1.ModelParameterDefinition_BooleanParameterDefinition", [{
6056
+ no: 1,
6057
+ name: "values",
6058
+ kind: "message",
6059
+ T: () => ModelParameterDefinition_BooleanParameterDefinition_BooleanParameterValueSchema,
6060
+ repeat: true
6061
+ }]);
6062
+ const ModelParameterDefinition_BooleanParameterDefinition_BooleanParameterValueSchema = pb("aiserver.v1.ModelParameterDefinition_BooleanParameterDefinition_BooleanParameterValue", [
6063
+ {
6064
+ no: 1,
6065
+ name: "value",
6066
+ kind: "string"
6067
+ },
6068
+ {
6069
+ no: 2,
6070
+ name: "displayName",
6071
+ kind: "string",
6072
+ optional: true
6073
+ },
6074
+ {
6075
+ no: 3,
6076
+ name: "increasesModelCost",
6077
+ kind: "bool",
6078
+ optional: true
6079
+ },
6080
+ {
6081
+ no: 4,
6082
+ name: "defaultBlockedInAdminAllowlist",
6083
+ kind: "bool",
6084
+ optional: true
6085
+ },
6086
+ {
6087
+ no: 5,
6088
+ name: "hideFromUserPickerWhenAdminBlocked",
6089
+ kind: "bool",
6090
+ optional: true
6091
+ },
6092
+ {
6093
+ no: 6,
6094
+ name: "blockedByAdminAllowlist",
6095
+ kind: "bool",
6096
+ optional: true
6097
+ }
6098
+ ]);
6099
+ const ModelParameterDefinition_EnumParameterDefinitionSchema = pb("aiserver.v1.ModelParameterDefinition_EnumParameterDefinition", [{
6100
+ no: 1,
6101
+ name: "values",
6102
+ kind: "message",
6103
+ T: () => ModelParameterDefinition_EnumParameterDefinition_EnumParameterValueSchema,
6104
+ repeat: true
6105
+ }]);
6106
+ const ModelParameterDefinition_EnumParameterDefinition_EnumParameterValueSchema = pb("aiserver.v1.ModelParameterDefinition_EnumParameterDefinition_EnumParameterValue", [
6107
+ {
6108
+ no: 1,
6109
+ name: "value",
6110
+ kind: "string"
6111
+ },
6112
+ {
6113
+ no: 2,
6114
+ name: "displayName",
6115
+ kind: "string",
6116
+ optional: true
6117
+ },
6118
+ {
6119
+ no: 3,
6120
+ name: "increasesModelCost",
6121
+ kind: "bool",
6122
+ optional: true
6123
+ },
6124
+ {
6125
+ no: 4,
6126
+ name: "blockedByAdminAllowlist",
6127
+ kind: "bool",
6128
+ optional: true
6129
+ },
6130
+ {
6131
+ no: 5,
6132
+ name: "markdownTooltip",
6133
+ kind: "string",
6134
+ optional: true
6135
+ }
6136
+ ]);
6137
+ const ModelParameterDefinition_ModelParameterTypeSchema = pb("aiserver.v1.ModelParameterDefinition_ModelParameterType", [{
6138
+ no: 1,
6139
+ name: "booleanParameter",
6140
+ kind: "message",
6141
+ T: () => ModelParameterDefinition_BooleanParameterDefinitionSchema
6142
+ }, {
6143
+ no: 2,
6144
+ name: "enumParameter",
6145
+ kind: "message",
6146
+ T: () => ModelParameterDefinition_EnumParameterDefinitionSchema
6147
+ }]);
6148
+ const ModelParameterValueSchema = pb("aiserver.v1.ModelParameterValue", [{
6149
+ no: 1,
6150
+ name: "id",
6151
+ kind: "string"
6152
+ }, {
6153
+ no: 2,
6154
+ name: "value",
6155
+ kind: "string"
6156
+ }]);
5388
6157
  const MouseDownActionSchema = pb("agent.v1.MouseDownAction", [{
5389
6158
  no: 1,
5390
6159
  name: "button",
@@ -10026,7 +10795,38 @@ const TruncatedToolCallResultSchema = pb("agent.v1.TruncatedToolCallResult", [{
10026
10795
  }]
10027
10796
  }]);
10028
10797
  const TruncatedToolCallSuccessSchema = pb("agent.v1.TruncatedToolCallSuccess", []);
10029
- const TurnEndedUpdateSchema = pb("agent.v1.TurnEndedUpdate", []);
10798
+ const TurnEndedUpdateSchema = pb("agent.v1.TurnEndedUpdate", [
10799
+ {
10800
+ no: 1,
10801
+ name: "inputTokens",
10802
+ kind: "int64",
10803
+ optional: true
10804
+ },
10805
+ {
10806
+ no: 2,
10807
+ name: "outputTokens",
10808
+ kind: "int64",
10809
+ optional: true
10810
+ },
10811
+ {
10812
+ no: 3,
10813
+ name: "cacheReadTokens",
10814
+ kind: "int64",
10815
+ optional: true
10816
+ },
10817
+ {
10818
+ no: 4,
10819
+ name: "cacheWriteTokens",
10820
+ kind: "int64",
10821
+ optional: true
10822
+ },
10823
+ {
10824
+ no: 5,
10825
+ name: "reasoningTokens",
10826
+ kind: "int64",
10827
+ optional: true
10828
+ }
10829
+ ]);
10030
10830
  const TypeActionSchema = pb("agent.v1.TypeAction", [{
10031
10831
  no: 1,
10032
10832
  name: "text",
@@ -10510,4 +11310,4 @@ const WriteSuccessSchema = pb("agent.v1.WriteSuccess", [
10510
11310
  }
10511
11311
  ]);
10512
11312
  //#endregion
10513
- export { ForceBackgroundSubagentResultSchema as $, SubagentResultSchema as $n, PiFindExecSuccessSchema as $t, CursorRuleTypeGlobalSchema as A, RequestContextSuccessSchema as An, McpRejectedSchema as At, ExaFetchRequestResponseSchema as B, ShellResultSchema as Bn, McpToolNotFoundSchema as Bt, ConversationStateStructureSchema as C, ReadRejectedSchema as Cn, LsResultSchema as Ct, CreatePlanRequestResponseSchema as D, RecordScreenResultSchema as Dn, McpArgsSchema as Dt, CreatePlanErrorSchema as E, RecordScreenFailureSchema as En, McpApprovedSchema as Et, DeleteSuccessSchema as F, SelectedImageSchema as Fn, McpSuccessSchema as Ft, ExecClientMessageSchema as G, ShellStreamStdoutSchema as Gn, PiBashExecResultSchema as Gt, ExaSearchRequestResponseSchema as H, ShellStreamSchema as Hn, McpToolResultSchema as Ht, DiagnosticsErrorSchema as I, SetBlobResultSchema as In, McpTextContentSchema as It, ExecuteHookResponseSchema as J, SmartModeClassifierResultSchema as Jn, PiEditExecRejectedSchema as Jt, ExecClientStreamCloseSchema as K, ShellSuccessSchema as Kn, PiBashExecSuccessSchema as Kt, DiagnosticsRejectedSchema as L, ShellAllowlistPrecheckResultSchema as Ln, McpToolCallSchema as Lt, DeleteErrorSchema as M, RequestedModel_ModelParameterbytesSchema as Mn, McpStateExecResultSchema as Mt, DeleteRejectedSchema as N, ResumeActionSchema as Nn, McpStateServerSchema as Nt, CreatePlanResultSchema as O, RequestContextResultSchema as On, McpErrorSchema as Ot, DeleteResultSchema as P, SelectedContextSchema as Pn, McpStateSuccessSchema as Pt, ForceBackgroundShellResultSchema as Q, SubagentErrorSchema as Qn, PiFindExecResultSchema as Qt, DiagnosticsResultSchema as R, ShellFailureSchema as Rn, McpToolDefinitionSchema as Rt, ConversationSearchResultSchema as S, ReadMcpResourceSuccessSchema as Sn, LsRejectedSchema as St, ConversationTurnStructureSchema as T, ReadSuccessSchema as Tn, McpAllowlistPrecheckResultSchema as Tt, ExaSearchRequestResponse_ApprovedSchema as U, ShellStreamStartSchema as Un, ModelDetailsSchema as Ut, ExaFetchRequestResponse_ApprovedSchema as V, ShellStreamExitSchema as Vn, McpToolResultContentItemSchema as Vt, ExecClientControlMessageSchema as W, ShellStreamStderrSchema as Wn, PiBashExecErrorSchema as Wt, FetchErrorSchema as X, SubagentAwaitNotFoundSchema as Xn, PiEditExecSuccessSchema as Xt, ExecuteHookResultSchema as Y, StopRequestResponseSchema as Yn, PiEditExecResultSchema as Yt, FetchResultSchema as Z, SubagentAwaitResultSchema as Zn, PiFindExecErrorSchema as Zt, ClientHeartbeatSchema as _, PreToolUseRequestResponseSchema as _n, WriteShellStdinResultSchema as _r, ListMcpResourcesExecResult_McpResourceSchema as _t, AgentRunRequestSchema as a, PiLsExecSuccessSchema as an, ToolCallSchema as ar, GrepCountResultSchema as at, ConversationActionSchema as b, ReadMcpResourceExecResultSchema as bn, LsDirectoryTreeNode_FileSchema as bt, AgentStoreConflictResultSchema as c, PiReadExecSuccessSchema as cn, WebFetchAllowlistPrecheckResultSchema as cr, GrepFileMatchSchema as ct, AskQuestionResultSchema as d, PiWriteExecRejectedSchema as dn, WebSearchRequestResponseSchema as dr, GrepSuccessSchema as dt, PiGrepExecErrorSchema as en, SubagentStartRequestResponseSchema as er, GetBlobResultSchema as et, AssistantMessageSchema as f, PiWriteExecResultSchema as fn, WebSearchRequestResponse_ApprovedSchema as fr, GrepUnionResultSchema as ft, CanvasDiagnosticsResultSchema as g, PreCompactRequestResponseSchema as gn, WriteShellStdinErrorSchema as gr, ListMcpResourcesExecResultSchema as gt, CanvasDiagnosticsErrorSchema as h, PostToolUseRequestResponseSchema as hn, WriteResultSchema as hr, ListMcpResourcesErrorSchema as ht, AgentConversationTurnStructureSchema as i, PiLsExecResultSchema as in, ThinkingMessageSchema as ir, GrepContentResultSchema as it, CursorRuleTypeSchema as j, RequestedModelSchema as jn, McpResultSchema as jt, CursorRuleSchema as k, RequestContextSchema as kn, McpImageContentSchema as kt, AskQuestionInteractionResponseSchema as l, PiTruncationSchema as ln, WebFetchRequestResponseSchema as lr, GrepFilesResultSchema as lt, BeforeSubmitPromptRequestResponseSchema as m, PostToolUseFailureRequestResponseSchema as mn, WriteRejectedSchema as mr, KvClientMessageSchema as mt, AfterAgentThoughtRequestResponseSchema as n, PiGrepExecSuccessSchema as nn, SwitchModeRequestResponseSchema as nr, GetUsableModelsResponseSchema as nt, AgentServerMessageSchema as o, PiReadExecErrorSchema as on, UserMessageActionSchema as or, GrepErrorSchema as ot, BackgroundShellSpawnResultSchema as p, PiWriteExecSuccessSchema as pn, WriteErrorSchema as pr, InteractionResponseSchema as pt, ExecClientThrowSchema as q, SmartModeClassifierErrorSchema as qn, PiEditExecErrorSchema as qt, AgentClientMessageSchema as r, PiLsExecErrorSchema as rn, SwitchModeRequestResponse_RejectedSchema as rr, GrepContentMatchSchema as rt, AgentStoreConflictErrorSchema as s, PiReadExecResultSchema as sn, UserMessageSchema as sr, GrepFileCountSchema as st, AfterAgentResponseRequestResponseSchema as t, PiGrepExecResultSchema as tn, SubagentStopRequestResponseSchema as tr, GetUsableModelsRequestSchema as tt, AskQuestionRejectedSchema as u, PiWriteExecErrorSchema as un, WebFetchRequestResponse_ApprovedSchema as ur, GrepResultSchema as ut, ComputerUseErrorSchema as v, ReadErrorSchema as vn, WriteSuccessSchema as vr, ListMcpResourcesSuccessSchema as vt, ConversationStepSchema as w, ReadResultSchema as wn, LsSuccessSchema as wt, ConversationSearchErrorSchema as x, ReadMcpResourceNotFoundSchema as xn, LsErrorSchema as xt, ComputerUseResultSchema as y, ReadMcpResourceErrorSchema as yn, LsDirectoryTreeNodeSchema as yt, DiagnosticsSuccessSchema as z, ShellRejectedSchema as zn, McpToolErrorSchema as zt };
11313
+ export { ExecuteHookResponseSchema as $, ShellStreamStdoutSchema as $n, PiBashExecSuccessSchema as $t, CreatePlanErrorSchema as A, ReadMcpResourceSuccessSchema as An, CURSOR_DEFAULT_BASE_URL as Ar, LsResultSchema as At, DiagnosticsErrorSchema as B, RequestedModel_ModelParameterbytesSchema as Bn, McpStateServerSchema as Bt, ComputerUseResultSchema as C, PreCompactRequestResponseSchema as Cn, WriteResultSchema as Cr, ListMcpResourcesExecResultSchema as Ct, ConversationStateStructureSchema as D, ReadMcpResourceErrorSchema as Dn, CURSOR_AVAILABLE_MODELS_PATH as Dr, LsDirectoryTreeNode_FileSchema as Dt, ConversationSearchResultSchema as E, ReadFileNotFoundSchema as En, WriteSuccessSchema as Er, LsDirectoryTreeNodeSchema as Et, CursorRuleTypeSchema as F, RecordScreenResultSchema as Fn, cursorClientHeaders as Fr, McpErrorSchema as Ft, ExaFetchRequestResponseSchema as G, ShellAllowlistPrecheckResultSchema as Gn, McpToolDefinitionSchema as Gt, DiagnosticsResultSchema as H, SelectedContextSchema as Hn, McpSuccessSchema as Ht, DeleteErrorSchema as I, RequestContextResultSchema as In, McpImageContentSchema as It, ExaSearchRequestResponse_ApprovedSchema as J, ShellResultSchema as Jn, McpToolResultContentItemSchema as Jt, ExaFetchRequestResponse_ApprovedSchema as K, ShellFailureSchema as Kn, McpToolErrorSchema as Kt, DeleteRejectedSchema as L, RequestContextSchema as Ln, McpRejectedSchema as Lt, CreatePlanResultSchema as M, ReadResultSchema as Mn, CURSOR_GET_USABLE_MODELS_PATH as Mr, McpAllowlistPrecheckResultSchema as Mt, CursorRuleSchema as N, ReadSuccessSchema as Nn, CURSOR_RUN_PATH as Nr, McpApprovedSchema as Nt, ConversationStepSchema as O, ReadMcpResourceExecResultSchema as On, CURSOR_BIDI_APPEND_PATH as Or, LsErrorSchema as Ot, CursorRuleTypeGlobalSchema as P, RecordScreenFailureSchema as Pn, CURSOR_RUN_SSE_PATH as Pr, McpArgsSchema as Pt, ExecClientThrowSchema as Q, ShellStreamStderrSchema as Qn, PiBashExecResultSchema as Qt, DeleteResultSchema as R, RequestContextSuccessSchema as Rn, McpResultSchema as Rt, ComputerUseErrorSchema as S, PostToolUseRequestResponseSchema as Sn, WriteRejectedSchema as Sr, ListMcpResourcesErrorSchema as St, ConversationSearchErrorSchema as T, ReadErrorSchema as Tn, WriteShellStdinResultSchema as Tr, ListMcpResourcesSuccessSchema as Tt, DiagnosticsSuccessSchema as U, SelectedImageSchema as Un, McpTextContentSchema as Ut, DiagnosticsRejectedSchema as V, ResumeActionSchema as Vn, McpStateSuccessSchema as Vt, ErrorDetailsSchema as W, SetBlobResultSchema as Wn, McpToolCallSchema as Wt, ExecClientMessageSchema as X, ShellStreamSchema as Xn, ModelDetailsSchema as Xt, ExecClientControlMessageSchema as Y, ShellStreamExitSchema as Yn, McpToolResultSchema as Yt, ExecClientStreamCloseSchema as Z, ShellStreamStartSchema as Zn, PiBashExecErrorSchema as Zt, BidiAppendRequestSchema as _, PiWriteExecErrorSchema as _n, WebFetchRequestResponseSchema as _r, GrepResultSchema as _t, AgentRunRequestSchema as a, PiFindExecResultSchema as an, SubagentAwaitResultSchema as ar, GetBlobResultSchema as at, CanvasDiagnosticsResultSchema as b, PiWriteExecSuccessSchema as bn, WebSearchRequestResponse_ApprovedSchema as br, InteractionResponseSchema as bt, AgentStoreConflictResultSchema as c, PiGrepExecResultSchema as cn, SubagentStartRequestResponseSchema as cr, GetUsableModelsRequestSchema as ct, AskQuestionResultSchema as d, PiLsExecResultSchema as dn, SwitchModeRequestResponse_RejectedSchema as dr, GrepContentResultSchema as dt, PiEditExecErrorSchema as en, ShellSuccessSchema as er, ExecuteHookResultSchema as et, AssistantMessageSchema as f, PiLsExecSuccessSchema as fn, ThinkingMessageSchema as fr, GrepCountResultSchema as ft, BeforeSubmitPromptRequestResponseSchema as g, PiTruncationSchema as gn, WebFetchAllowlistPrecheckResultSchema as gr, GrepFilesResultSchema as gt, BackgroundShellSpawnResultSchema as h, PiReadExecSuccessSchema as hn, UserMessageSchema as hr, GrepFileMatchSchema as ht, AgentConversationTurnStructureSchema as i, PiFindExecErrorSchema as in, SubagentAwaitNotFoundSchema as ir, ForceBackgroundSubagentResultSchema as it, CreatePlanRequestResponseSchema as j, ReadRejectedSchema as jn, CURSOR_GET_DEFAULT_MODEL_PATH as jr, LsSuccessSchema as jt, ConversationTurnStructureSchema as k, ReadMcpResourceNotFoundSchema as kn, CURSOR_CLIENT_VERSION as kr, LsRejectedSchema as kt, AskQuestionInteractionResponseSchema as l, PiGrepExecSuccessSchema as ln, SubagentStopRequestResponseSchema as lr, GetUsableModelsResponseSchema as lt, AvailableModelsResponseSchema as m, PiReadExecResultSchema as mn, UserMessageActionSchema as mr, GrepFileCountSchema as mt, AfterAgentThoughtRequestResponseSchema as n, PiEditExecResultSchema as nn, SmartModeClassifierResultSchema as nr, FetchResultSchema as nt, AgentServerMessageSchema as o, PiFindExecSuccessSchema as on, SubagentErrorSchema as or, GetDefaultModelForCliRequestSchema as ot, AvailableModelsRequestSchema as p, PiReadExecErrorSchema as pn, ToolCallSchema as pr, GrepErrorSchema as pt, ExaSearchRequestResponseSchema as q, ShellRejectedSchema as qn, McpToolNotFoundSchema as qt, AgentClientMessageSchema as r, PiEditExecSuccessSchema as rn, StopRequestResponseSchema as rr, ForceBackgroundShellResultSchema as rt, AgentStoreConflictErrorSchema as s, PiGrepExecErrorSchema as sn, SubagentResultSchema as sr, GetDefaultModelForCliResponseSchema as st, AfterAgentResponseRequestResponseSchema as t, PiEditExecRejectedSchema as tn, SmartModeClassifierErrorSchema as tr, FetchErrorSchema as tt, AskQuestionRejectedSchema as u, PiLsExecErrorSchema as un, SwitchModeRequestResponseSchema as ur, GrepContentMatchSchema as ut, BidiRequestIdSchema as v, PiWriteExecRejectedSchema as vn, WebFetchRequestResponse_ApprovedSchema as vr, GrepSuccessSchema as vt, ConversationActionSchema as w, PreToolUseRequestResponseSchema as wn, WriteShellStdinErrorSchema as wr, ListMcpResourcesExecResult_McpResourceSchema as wt, ClientHeartbeatSchema as x, PostToolUseFailureRequestResponseSchema as xn, WriteErrorSchema as xr, KvClientMessageSchema as xt, CanvasDiagnosticsErrorSchema as y, PiWriteExecResultSchema as yn, WebSearchRequestResponseSchema as yr, GrepUnionResultSchema as yt, DeleteSuccessSchema as z, RequestedModelSchema as zn, McpStateExecResultSchema as zt };