@gpzhang2001/sharpkit-team 0.2.1

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.
package/lib/index.d.ts ADDED
@@ -0,0 +1,1749 @@
1
+ import z from "@deepseek-ai/schemastery";
2
+ import { Context, Service } from "@deepseek-ai/cordis";
3
+ //#region ../../node_modules/.pnpm/@deepseek-ai+dsh-typert-protocol@0.1.2-rc.1_@deepseek-ai+cordis@4.0.2/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/types.d.ts
4
+ var [LOOKUP_HOST] = [
5
+ 144,
6
+ () => [],
7
+ []
8
+ ];
9
+ var [LOOKUP_WIRE] = [
10
+ 145,
11
+ () => [],
12
+ []
13
+ ];
14
+ var [CONTEXT_WIRE] = [
15
+ 146,
16
+ () => [],
17
+ []
18
+ ];
19
+ var [TypertLookup] = [
20
+ 147,
21
+ (Host, Wire) => [
22
+ Host,
23
+ LOOKUP_HOST,
24
+ Wire,
25
+ LOOKUP_WIRE
26
+ ],
27
+ [
28
+ "",
29
+ "",
30
+ "",
31
+ "",
32
+ "",
33
+ ""
34
+ ]
35
+ ];
36
+ var [TypertLookupHost] = [
37
+ 148,
38
+ (Lookup) => [Lookup, TypertLookup],
39
+ [
40
+ "",
41
+ "",
42
+ "",
43
+ "",
44
+ "",
45
+ ""
46
+ ]
47
+ ];
48
+ var [TypertLookupWire] = [
49
+ 149,
50
+ (Lookup) => [Lookup, TypertLookup],
51
+ [
52
+ "",
53
+ "",
54
+ "",
55
+ "",
56
+ "",
57
+ ""
58
+ ]
59
+ ];
60
+ var [TypertContext] = [
61
+ 150,
62
+ (Wire) => [Wire, CONTEXT_WIRE],
63
+ [
64
+ "",
65
+ "",
66
+ ""
67
+ ]
68
+ ];
69
+ var [TypertContextWire] = [
70
+ 151,
71
+ (ContextType) => [ContextType, TypertContext],
72
+ [
73
+ "",
74
+ "",
75
+ "",
76
+ "",
77
+ ""
78
+ ]
79
+ ];
80
+ var [TypertLookupMap] = [
81
+ 152,
82
+ () => [],
83
+ []
84
+ ];
85
+ var [TypertContextMap] = [
86
+ 153,
87
+ () => [],
88
+ []
89
+ ];
90
+ var [TypertDisposer] = [
91
+ 180,
92
+ () => [Promise],
93
+ [""]
94
+ ];
95
+ var [StringKeyOf] = [
96
+ 181,
97
+ (Value) => [Value, Extract],
98
+ [
99
+ "",
100
+ "",
101
+ ""
102
+ ]
103
+ ];
104
+ var [TypertSchema] = [
105
+ 182,
106
+ (Output) => [Output],
107
+ [
108
+ "",
109
+ "",
110
+ "",
111
+ ""
112
+ ]
113
+ ];
114
+ var [TypertCodec] = [
115
+ 183,
116
+ () => [TypertSchema],
117
+ [
118
+ "",
119
+ "",
120
+ "",
121
+ "",
122
+ ""
123
+ ]
124
+ ];
125
+ var [InvocationParameterDescriptor] = [
126
+ 184,
127
+ () => [TypertCodec],
128
+ [
129
+ "",
130
+ "",
131
+ "",
132
+ "",
133
+ "",
134
+ "",
135
+ ""
136
+ ]
137
+ ];
138
+ var [InvocationSourceLocation] = [
139
+ 185,
140
+ () => [],
141
+ [
142
+ "",
143
+ "",
144
+ ""
145
+ ]
146
+ ];
147
+ var [InvocationDescriptor] = [
148
+ 186,
149
+ () => [
150
+ TypertCodec,
151
+ InvocationParameterDescriptor,
152
+ TypertCodec,
153
+ InvocationSourceLocation
154
+ ],
155
+ [
156
+ "",
157
+ "",
158
+ "",
159
+ "",
160
+ "",
161
+ "",
162
+ "",
163
+ "",
164
+ "",
165
+ "",
166
+ "",
167
+ "",
168
+ "",
169
+ "",
170
+ "",
171
+ "",
172
+ "",
173
+ "",
174
+ "",
175
+ "",
176
+ "",
177
+ "",
178
+ "",
179
+ ""
180
+ ]
181
+ ];
182
+ var [TypertRemoteContribution] = [
183
+ 187,
184
+ () => [InvocationDescriptor],
185
+ [
186
+ "",
187
+ "",
188
+ ""
189
+ ]
190
+ ];
191
+ var [TypertLookupResolver] = [
192
+ 189,
193
+ (Host, Wire) => [
194
+ Wire,
195
+ Host,
196
+ Host,
197
+ Promise
198
+ ],
199
+ [
200
+ "",
201
+ "",
202
+ "",
203
+ "",
204
+ "",
205
+ "",
206
+ ""
207
+ ]
208
+ ];
209
+ var [TypertLookupProvider] = [
210
+ 190,
211
+ (Host, Wire) => [
212
+ Wire,
213
+ Host,
214
+ Host,
215
+ Promise
216
+ ],
217
+ [
218
+ "",
219
+ "",
220
+ "",
221
+ "",
222
+ "",
223
+ "",
224
+ "",
225
+ "",
226
+ "",
227
+ "",
228
+ "",
229
+ ""
230
+ ]
231
+ ];
232
+ var [TypertLookupDefinition] = [
233
+ 191,
234
+ () => [],
235
+ [
236
+ "",
237
+ "",
238
+ "",
239
+ "",
240
+ ""
241
+ ]
242
+ ];
243
+ var [TypertContextAdapter] = [
244
+ 192,
245
+ (Wire) => [
246
+ Context,
247
+ Wire,
248
+ Wire,
249
+ Context,
250
+ Context,
251
+ Promise
252
+ ],
253
+ [
254
+ "",
255
+ "",
256
+ "",
257
+ "",
258
+ "",
259
+ "",
260
+ "",
261
+ "",
262
+ "",
263
+ "",
264
+ ""
265
+ ]
266
+ ];
267
+ var [TypertHostContextAdapter] = [
268
+ 193,
269
+ (Wire) => [Wire, TypertContextAdapter],
270
+ [
271
+ "",
272
+ "",
273
+ "",
274
+ "",
275
+ ""
276
+ ]
277
+ ];
278
+ var [TypertHostContextResolver] = [
279
+ 194,
280
+ (Wire) => [
281
+ Wire,
282
+ Context,
283
+ Context,
284
+ Promise
285
+ ],
286
+ [
287
+ "",
288
+ "",
289
+ "",
290
+ "",
291
+ "",
292
+ ""
293
+ ]
294
+ ];
295
+ var [TypertClientContextAdapter] = [
296
+ 195,
297
+ (Wire) => [
298
+ Context,
299
+ Wire,
300
+ Wire,
301
+ Context
302
+ ],
303
+ [
304
+ "",
305
+ "",
306
+ "",
307
+ "",
308
+ "",
309
+ "",
310
+ "",
311
+ "",
312
+ ""
313
+ ]
314
+ ];
315
+ var [TypertHostContextIdentity] = [
316
+ 196,
317
+ () => [],
318
+ ["", ""]
319
+ ];
320
+ var [TypertRegistryChange] = [
321
+ 197,
322
+ () => [],
323
+ ["", ""]
324
+ ];
325
+ var [TypertRegistryListener] = [
326
+ 198,
327
+ () => [TypertRegistryChange],
328
+ ["", ""]
329
+ ];
330
+ var [TypertLocalRegistry] = [
331
+ 199,
332
+ () => [
333
+ InvocationDescriptor,
334
+ InvocationDescriptor,
335
+ TypertRegistryListener,
336
+ TypertDisposer
337
+ ],
338
+ [
339
+ "",
340
+ "",
341
+ "",
342
+ "",
343
+ "",
344
+ "",
345
+ "",
346
+ "",
347
+ "",
348
+ "",
349
+ ""
350
+ ]
351
+ ];
352
+ var [TypertRemoteRegistry] = [
353
+ 200,
354
+ () => [
355
+ TypertRemoteContribution,
356
+ TypertDisposer,
357
+ InvocationDescriptor,
358
+ InvocationDescriptor,
359
+ TypertRegistryListener,
360
+ TypertDisposer
361
+ ],
362
+ [
363
+ "",
364
+ "",
365
+ "",
366
+ "",
367
+ "",
368
+ "",
369
+ "",
370
+ "",
371
+ "",
372
+ "",
373
+ "",
374
+ "",
375
+ ""
376
+ ]
377
+ ];
378
+ var [TypertLookupRegistry] = [
379
+ 201,
380
+ (K) => [
381
+ TypertLookupMap,
382
+ StringKeyOf,
383
+ K,
384
+ TypertLookupMap,
385
+ K,
386
+ TypertLookupHost,
387
+ TypertLookupMap,
388
+ K,
389
+ TypertLookupWire,
390
+ TypertLookupProvider,
391
+ TypertDisposer,
392
+ TypertLookupMap,
393
+ StringKeyOf,
394
+ K,
395
+ TypertLookupMap,
396
+ K,
397
+ TypertLookupHost,
398
+ TypertLookupMap,
399
+ K,
400
+ TypertLookupWire,
401
+ TypertLookupResolver,
402
+ TypertDisposer,
403
+ TypertLookupProvider,
404
+ TypertLookupDefinition,
405
+ TypertRegistryListener,
406
+ TypertDisposer
407
+ ],
408
+ [
409
+ "",
410
+ "",
411
+ "",
412
+ "",
413
+ "",
414
+ "",
415
+ "",
416
+ "",
417
+ "",
418
+ "",
419
+ "",
420
+ "",
421
+ "",
422
+ "",
423
+ "",
424
+ "",
425
+ "",
426
+ "",
427
+ "",
428
+ "",
429
+ "",
430
+ "",
431
+ "",
432
+ "",
433
+ "",
434
+ "",
435
+ "",
436
+ "",
437
+ "",
438
+ "",
439
+ "",
440
+ "",
441
+ "",
442
+ "",
443
+ "",
444
+ "",
445
+ "",
446
+ "",
447
+ "",
448
+ ""
449
+ ]
450
+ ];
451
+ var [TypertContextRegistry] = [
452
+ 202,
453
+ (K) => [
454
+ TypertContextMap,
455
+ StringKeyOf,
456
+ K,
457
+ TypertContextMap,
458
+ K,
459
+ TypertContextWire,
460
+ TypertHostContextAdapter,
461
+ TypertDisposer,
462
+ TypertContextMap,
463
+ StringKeyOf,
464
+ K,
465
+ TypertContextMap,
466
+ K,
467
+ TypertContextWire,
468
+ TypertHostContextResolver,
469
+ TypertDisposer,
470
+ TypertContextMap,
471
+ StringKeyOf,
472
+ K,
473
+ TypertContextMap,
474
+ K,
475
+ TypertContextWire,
476
+ TypertClientContextAdapter,
477
+ TypertDisposer,
478
+ Context,
479
+ TypertHostContextIdentity,
480
+ TypertHostContextAdapter,
481
+ TypertClientContextAdapter,
482
+ TypertRegistryListener,
483
+ TypertDisposer
484
+ ],
485
+ [
486
+ "",
487
+ "",
488
+ "",
489
+ "",
490
+ "",
491
+ "",
492
+ "",
493
+ "",
494
+ "",
495
+ "",
496
+ "",
497
+ "",
498
+ "",
499
+ "",
500
+ "",
501
+ "",
502
+ "",
503
+ "",
504
+ "",
505
+ "",
506
+ "",
507
+ "",
508
+ "",
509
+ "",
510
+ "",
511
+ "",
512
+ "",
513
+ "",
514
+ "",
515
+ "",
516
+ "",
517
+ "",
518
+ "",
519
+ "",
520
+ "",
521
+ "",
522
+ "",
523
+ "",
524
+ "",
525
+ "",
526
+ "",
527
+ "",
528
+ "",
529
+ "",
530
+ "",
531
+ "",
532
+ "",
533
+ "",
534
+ "",
535
+ ""
536
+ ]
537
+ ];
538
+ var [TypertRegistryContract] = [
539
+ 203,
540
+ () => [
541
+ TypertLocalRegistry,
542
+ TypertRemoteRegistry,
543
+ TypertLookupRegistry,
544
+ TypertContextRegistry
545
+ ],
546
+ [
547
+ "",
548
+ "",
549
+ "",
550
+ "",
551
+ "",
552
+ "",
553
+ "",
554
+ ""
555
+ ]
556
+ ];
557
+ var [_0$3] = [
558
+ 204,
559
+ () => [TypertRegistryContract],
560
+ [
561
+ "",
562
+ "",
563
+ ""
564
+ ],
565
+ sideEffect(_0$3)
566
+ ];
567
+ //#endregion
568
+ //#region ../../node_modules/.pnpm/@deepseek-ai+dsh-typert-protocol@0.1.2-rc.1_@deepseek-ai+cordis@4.0.2/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/index.d.ts
569
+ var [TypertGatewayBindingOptions] = [
570
+ 125,
571
+ () => [],
572
+ [""]
573
+ ];
574
+ var [TypertGatewayBinding] = [
575
+ 126,
576
+ (Service) => [Service],
577
+ [
578
+ "",
579
+ "",
580
+ "",
581
+ "",
582
+ ""
583
+ ]
584
+ ];
585
+ var [TypertRemoteService] = [
586
+ 132,
587
+ (T) => [
588
+ T,
589
+ TypertGatewayBinding,
590
+ Context,
591
+ TypertGatewayBindingOptions,
592
+ Service
593
+ ],
594
+ [
595
+ "",
596
+ "",
597
+ "",
598
+ "",
599
+ "",
600
+ "",
601
+ "",
602
+ "",
603
+ "",
604
+ "",
605
+ ""
606
+ ]
607
+ ];
608
+ //#endregion
609
+ //#region ../../node_modules/.pnpm/@deepseek-ai+dsh-brand@0.1.2-rc.1_@deepseek-ai+cordis@4.0.2/node_modules/@deepseek-ai/dsh-brand/lib/types/index.d.ts
610
+ var [BRAND] = [
611
+ 137,
612
+ () => [],
613
+ []
614
+ ];
615
+ var [Branded] = [
616
+ 138,
617
+ (B) => [B, BRAND],
618
+ [
619
+ "",
620
+ "",
621
+ ""
622
+ ]
623
+ ];
624
+ //#endregion
625
+ //#region ../../node_modules/.pnpm/@deepseek-ai+dsh-attachment@0.1.2-rc.1_@deepseek-ai+cordis@4.0.2_@deepseek-ai+dsh-brand_72395f0591fece1437c28bb433085d20/node_modules/@deepseek-ai/dsh-attachment/lib/types/brand.d.ts
626
+ var [AttachmentId] = [
627
+ 208,
628
+ () => [Branded],
629
+ [""]
630
+ ];
631
+ var [AttachmentId] = [
632
+ 209,
633
+ () => [AttachmentId],
634
+ ["", ""]
635
+ ];
636
+ var [ImageVariantId] = [
637
+ 210,
638
+ () => [Branded],
639
+ [""]
640
+ ];
641
+ var [ImageVariantId] = [
642
+ 211,
643
+ () => [ImageVariantId],
644
+ ["", ""]
645
+ ];
646
+ //#endregion
647
+ //#region ../../node_modules/.pnpm/@deepseek-ai+dsh-attachment@0.1.2-rc.1_@deepseek-ai+cordis@4.0.2_@deepseek-ai+dsh-brand_72395f0591fece1437c28bb433085d20/node_modules/@deepseek-ai/dsh-attachment/lib/types/types.d.ts
648
+ var [ImageMediaType] = [
649
+ 219,
650
+ () => [],
651
+ []
652
+ ];
653
+ var [ImageAttachmentRef] = [
654
+ 220,
655
+ () => [AttachmentId, ImageMediaType],
656
+ [
657
+ "",
658
+ "",
659
+ "",
660
+ "",
661
+ "",
662
+ "",
663
+ "",
664
+ "",
665
+ "",
666
+ "",
667
+ ""
668
+ ]
669
+ ];
670
+ var [ImageAttachmentLimits] = [
671
+ 221,
672
+ () => [ImageMediaType],
673
+ [
674
+ "",
675
+ "",
676
+ "",
677
+ "",
678
+ "",
679
+ "",
680
+ ""
681
+ ]
682
+ ];
683
+ var [SaveImageAttachment] = [
684
+ 225,
685
+ () => [Uint8Array, ImageMediaType],
686
+ [
687
+ "",
688
+ "",
689
+ "",
690
+ "",
691
+ ""
692
+ ]
693
+ ];
694
+ var [StoredImageAttachment] = [
695
+ 226,
696
+ () => [ImageAttachmentRef, Uint8Array],
697
+ [
698
+ "",
699
+ "",
700
+ "",
701
+ ""
702
+ ]
703
+ ];
704
+ var [ImageRequestPolicy] = [
705
+ 227,
706
+ () => [],
707
+ ["", ""]
708
+ ];
709
+ var [RequestImageAttachment] = [
710
+ 228,
711
+ () => [
712
+ ImageVariantId,
713
+ ImageAttachmentRef,
714
+ Uint8Array,
715
+ ImageMediaType
716
+ ],
717
+ [
718
+ "",
719
+ "",
720
+ "",
721
+ "",
722
+ "",
723
+ "",
724
+ "",
725
+ "",
726
+ "",
727
+ "",
728
+ "",
729
+ "",
730
+ "",
731
+ ""
732
+ ]
733
+ ];
734
+ //#endregion
735
+ //#region ../../node_modules/.pnpm/@deepseek-ai+dsh-attachment@0.1.2-rc.1_@deepseek-ai+cordis@4.0.2_@deepseek-ai+dsh-brand_72395f0591fece1437c28bb433085d20/node_modules/@deepseek-ai/dsh-attachment/lib/types/index.d.ts
736
+ var [_0$2] = [
737
+ 205,
738
+ () => [AttachmentStore],
739
+ [
740
+ "",
741
+ "",
742
+ ""
743
+ ],
744
+ sideEffect(_0$2)
745
+ ];
746
+ var [AttachmentStore] = [
747
+ 206,
748
+ () => [
749
+ Context,
750
+ ImageAttachmentLimits,
751
+ SaveImageAttachment,
752
+ Promise,
753
+ SaveImageAttachment,
754
+ SaveImageAttachment,
755
+ ImageAttachmentRef,
756
+ Promise,
757
+ SaveImageAttachment,
758
+ ImageAttachmentRef,
759
+ Promise,
760
+ ImageAttachmentRef,
761
+ AbortSignal,
762
+ StoredImageAttachment,
763
+ Promise,
764
+ ImageAttachmentRef,
765
+ ImageAttachmentRef,
766
+ ImageRequestPolicy,
767
+ AbortSignal,
768
+ RequestImageAttachment,
769
+ Promise,
770
+ Service
771
+ ],
772
+ [
773
+ "",
774
+ "",
775
+ "",
776
+ "",
777
+ "",
778
+ "",
779
+ "",
780
+ "",
781
+ "",
782
+ "",
783
+ "",
784
+ "",
785
+ "",
786
+ "",
787
+ "",
788
+ "",
789
+ "",
790
+ "",
791
+ "",
792
+ "",
793
+ "",
794
+ "",
795
+ "",
796
+ "",
797
+ "",
798
+ "",
799
+ "",
800
+ "",
801
+ "",
802
+ "",
803
+ "",
804
+ "",
805
+ "",
806
+ "",
807
+ "",
808
+ "",
809
+ "",
810
+ "",
811
+ "",
812
+ "",
813
+ "",
814
+ ""
815
+ ]
816
+ ];
817
+ //#endregion
818
+ //#region ../../node_modules/.pnpm/@deepseek-ai+dsh-llm@0.1.2-rc.1_@deepseek-ai+cordis@4.0.2/node_modules/@deepseek-ai/dsh-llm/lib/types/brand.d.ts
819
+ var [MessageId] = [
820
+ 29,
821
+ () => [Branded],
822
+ [""]
823
+ ];
824
+ var [MessageId] = [
825
+ 30,
826
+ () => [MessageId],
827
+ ["", ""]
828
+ ];
829
+ var [ToolCallId] = [
830
+ 31,
831
+ () => [Branded],
832
+ [""]
833
+ ];
834
+ var [ToolCallId] = [
835
+ 32,
836
+ () => [ToolCallId],
837
+ ["", ""]
838
+ ];
839
+ var [ProviderRequestId] = [
840
+ 33,
841
+ () => [Branded],
842
+ [""]
843
+ ];
844
+ var [ProviderRequestId] = [
845
+ 34,
846
+ () => [ProviderRequestId],
847
+ ["", ""]
848
+ ];
849
+ var [ReasoningEffortId] = [
850
+ 35,
851
+ () => [Branded],
852
+ [""]
853
+ ];
854
+ var [ReasoningEffortId] = [
855
+ 36,
856
+ () => [ReasoningEffortId],
857
+ ["", ""]
858
+ ];
859
+ //#endregion
860
+ //#region ../../node_modules/.pnpm/@deepseek-ai+dsh-llm@0.1.2-rc.1_@deepseek-ai+cordis@4.0.2/node_modules/@deepseek-ai/dsh-llm/lib/types/message.d.ts
861
+ var [AssistantProvenance] = [
862
+ 69,
863
+ () => [],
864
+ [
865
+ "",
866
+ "",
867
+ ""
868
+ ]
869
+ ];
870
+ var [ModelMessageSource] = [
871
+ 70,
872
+ () => [AssistantProvenance],
873
+ ["", ""]
874
+ ];
875
+ var [ToolMessageSource] = [
876
+ 71,
877
+ () => [ToolCallId],
878
+ [
879
+ "",
880
+ "",
881
+ ""
882
+ ]
883
+ ];
884
+ var [ContextSnapshotSection] = [
885
+ 73,
886
+ () => [],
887
+ ["", ""]
888
+ ];
889
+ var [ContextFormed] = [
890
+ 74,
891
+ () => [ContextSnapshotSection],
892
+ [
893
+ "",
894
+ "",
895
+ "",
896
+ "",
897
+ "",
898
+ "",
899
+ "",
900
+ "",
901
+ "",
902
+ ""
903
+ ]
904
+ ];
905
+ var [MessageSourceMap] = [
906
+ 75,
907
+ () => [
908
+ ContextFormed,
909
+ ModelMessageSource,
910
+ ToolMessageSource
911
+ ],
912
+ [
913
+ "",
914
+ "",
915
+ "",
916
+ "",
917
+ "",
918
+ "",
919
+ "",
920
+ "",
921
+ "",
922
+ ""
923
+ ]
924
+ ];
925
+ var [MessageSource] = [
926
+ 78,
927
+ () => [MessageSourceMap, MessageSourceMap],
928
+ ["", ""]
929
+ ];
930
+ var [Message] = [
931
+ 79,
932
+ () => [
933
+ MessageId,
934
+ ContentBlock,
935
+ MessageSource
936
+ ],
937
+ [
938
+ "",
939
+ "",
940
+ "",
941
+ "",
942
+ "",
943
+ "",
944
+ ""
945
+ ]
946
+ ];
947
+ //#endregion
948
+ //#region ../../node_modules/.pnpm/@deepseek-ai+dsh-llm@0.1.2-rc.1_@deepseek-ai+cordis@4.0.2/node_modules/@deepseek-ai/dsh-llm/lib/types/types.d.ts
949
+ var [_0$1] = [
950
+ 92,
951
+ () => [],
952
+ ["", ""],
953
+ sideEffect(_0$1)
954
+ ];
955
+ var [LlmFailure] = [
956
+ 93,
957
+ () => [ProviderRequestId],
958
+ [
959
+ "",
960
+ "",
961
+ "",
962
+ "",
963
+ "",
964
+ ""
965
+ ]
966
+ ];
967
+ var [TextBlock] = [
968
+ 94,
969
+ () => [],
970
+ ["", ""]
971
+ ];
972
+ var [ReasoningBlock] = [
973
+ 95,
974
+ () => [],
975
+ ["", ""]
976
+ ];
977
+ var [ImageBlock] = [
978
+ 96,
979
+ () => [ImageAttachmentRef],
980
+ [
981
+ "",
982
+ "",
983
+ ""
984
+ ]
985
+ ];
986
+ var [ToolCallBlock] = [
987
+ 97,
988
+ () => [ToolCallId],
989
+ [
990
+ "",
991
+ "",
992
+ "",
993
+ "",
994
+ ""
995
+ ]
996
+ ];
997
+ var [ToolResultBlock] = [
998
+ 98,
999
+ () => [ToolCallId, ContentBlock],
1000
+ [
1001
+ "",
1002
+ "",
1003
+ "",
1004
+ "",
1005
+ "",
1006
+ ""
1007
+ ]
1008
+ ];
1009
+ var [ContentBlockMap] = [
1010
+ 99,
1011
+ () => [
1012
+ TextBlock,
1013
+ ReasoningBlock,
1014
+ ImageBlock,
1015
+ ToolCallBlock,
1016
+ ToolResultBlock
1017
+ ],
1018
+ [
1019
+ "",
1020
+ "",
1021
+ "",
1022
+ "",
1023
+ "",
1024
+ "",
1025
+ "",
1026
+ "",
1027
+ "",
1028
+ ""
1029
+ ]
1030
+ ];
1031
+ var [ContentBlockType] = [
1032
+ 100,
1033
+ () => [ContentBlockMap],
1034
+ [""]
1035
+ ];
1036
+ var [ContentBlock] = [
1037
+ 101,
1038
+ () => [ContentBlockMap, ContentBlockType],
1039
+ ["", ""]
1040
+ ];
1041
+ var [FinishReasonMap] = [
1042
+ 102,
1043
+ () => [LlmFailure, LlmFailure],
1044
+ [
1045
+ "",
1046
+ "",
1047
+ "",
1048
+ "",
1049
+ "",
1050
+ "",
1051
+ "",
1052
+ "",
1053
+ "",
1054
+ "",
1055
+ "",
1056
+ "",
1057
+ "",
1058
+ ""
1059
+ ]
1060
+ ];
1061
+ var [FinishReason] = [
1062
+ 103,
1063
+ () => [FinishReasonMap, FinishReasonMap],
1064
+ ["", ""]
1065
+ ];
1066
+ var [TokenUsage] = [
1067
+ 104,
1068
+ () => [],
1069
+ [
1070
+ "",
1071
+ "",
1072
+ "",
1073
+ "",
1074
+ "",
1075
+ ""
1076
+ ]
1077
+ ];
1078
+ var [LlmImageRequestPrice] = [
1079
+ 105,
1080
+ () => [],
1081
+ ["", ""]
1082
+ ];
1083
+ var [LlmImageRequestPricing] = [
1084
+ 106,
1085
+ () => [ImageAttachmentRef, LlmImageRequestPrice],
1086
+ [
1087
+ "",
1088
+ "",
1089
+ "",
1090
+ ""
1091
+ ]
1092
+ ];
1093
+ var [LlmProviderInfo] = [
1094
+ 107,
1095
+ () => [],
1096
+ ["", ""]
1097
+ ];
1098
+ var [ModelModalityMap] = [
1099
+ 108,
1100
+ () => [],
1101
+ ["", ""]
1102
+ ];
1103
+ var [ModelModality] = [
1104
+ 109,
1105
+ () => [ModelModalityMap, ModelModalityMap],
1106
+ ["", ""]
1107
+ ];
1108
+ var [LlmConfigurableProvider] = [
1109
+ 110,
1110
+ () => [],
1111
+ [
1112
+ "",
1113
+ "",
1114
+ "",
1115
+ "",
1116
+ ""
1117
+ ]
1118
+ ];
1119
+ var [LlmModelDiscoveryRequest] = [
1120
+ 111,
1121
+ () => [],
1122
+ [
1123
+ "",
1124
+ "",
1125
+ "",
1126
+ ""
1127
+ ]
1128
+ ];
1129
+ var [_1] = [
1130
+ 113,
1131
+ () => [],
1132
+ [
1133
+ "",
1134
+ "",
1135
+ "",
1136
+ ""
1137
+ ],
1138
+ sideEffect(_1)
1139
+ ];
1140
+ var [LlmDiscoveredModel] = [
1141
+ 114,
1142
+ () => [],
1143
+ [
1144
+ "",
1145
+ "",
1146
+ "",
1147
+ ""
1148
+ ]
1149
+ ];
1150
+ var [LlmModelInfo] = [
1151
+ 115,
1152
+ () => [ModelModality],
1153
+ [
1154
+ "",
1155
+ "",
1156
+ "",
1157
+ "",
1158
+ "",
1159
+ ""
1160
+ ]
1161
+ ];
1162
+ var [LlmModelContext] = [
1163
+ 116,
1164
+ () => [],
1165
+ [""]
1166
+ ];
1167
+ var [LlmReasoningEffortInfo] = [
1168
+ 117,
1169
+ () => [ReasoningEffortId],
1170
+ [
1171
+ "",
1172
+ "",
1173
+ "",
1174
+ ""
1175
+ ]
1176
+ ];
1177
+ var [LlmModelReasoningInfo] = [
1178
+ 118,
1179
+ () => [LlmReasoningEffortInfo, ReasoningEffortId],
1180
+ [
1181
+ "",
1182
+ "",
1183
+ "",
1184
+ ""
1185
+ ]
1186
+ ];
1187
+ var [LlmResolvedModelInfo] = [
1188
+ 119,
1189
+ () => [
1190
+ LlmModelContext,
1191
+ LlmModelReasoningInfo,
1192
+ LlmModelInfo
1193
+ ],
1194
+ [
1195
+ "",
1196
+ "",
1197
+ "",
1198
+ "",
1199
+ "",
1200
+ ""
1201
+ ]
1202
+ ];
1203
+ var [ReplayEnvelope] = [
1204
+ 120,
1205
+ () => [],
1206
+ ["", ""]
1207
+ ];
1208
+ var [StreamChunk] = [
1209
+ 121,
1210
+ () => [
1211
+ ContentBlockType,
1212
+ ToolCallId,
1213
+ ContentBlock,
1214
+ TokenUsage,
1215
+ FinishReason,
1216
+ ReplayEnvelope
1217
+ ],
1218
+ [
1219
+ "",
1220
+ "",
1221
+ "",
1222
+ "",
1223
+ "",
1224
+ "",
1225
+ "",
1226
+ "",
1227
+ "",
1228
+ "",
1229
+ "",
1230
+ "",
1231
+ "",
1232
+ "",
1233
+ "",
1234
+ "",
1235
+ "",
1236
+ "",
1237
+ "",
1238
+ "",
1239
+ "",
1240
+ "",
1241
+ "",
1242
+ "",
1243
+ "",
1244
+ "",
1245
+ "",
1246
+ ""
1247
+ ]
1248
+ ];
1249
+ var [ToolSchema] = [
1250
+ 122,
1251
+ () => [Record],
1252
+ [
1253
+ "",
1254
+ "",
1255
+ "",
1256
+ ""
1257
+ ]
1258
+ ];
1259
+ var [GenerateOptions] = [
1260
+ 123,
1261
+ () => [
1262
+ ReasoningEffortId,
1263
+ Message,
1264
+ ToolSchema,
1265
+ AbortSignal,
1266
+ Branded
1267
+ ],
1268
+ [
1269
+ "",
1270
+ "",
1271
+ "",
1272
+ "",
1273
+ "",
1274
+ "",
1275
+ "",
1276
+ "",
1277
+ "",
1278
+ "",
1279
+ "",
1280
+ "",
1281
+ "",
1282
+ "",
1283
+ "",
1284
+ "",
1285
+ ""
1286
+ ]
1287
+ ];
1288
+ //#endregion
1289
+ //#region ../../node_modules/.pnpm/@deepseek-ai+dsh-llm@0.1.2-rc.1_@deepseek-ai+cordis@4.0.2/node_modules/@deepseek-ai/dsh-llm/lib/types/retry-policy.d.ts
1290
+ var [ResolvedRetryBackoff] = [
1291
+ 23,
1292
+ () => [],
1293
+ [
1294
+ "",
1295
+ "",
1296
+ ""
1297
+ ]
1298
+ ];
1299
+ var [ResolvedNormalRetryPolicy] = [
1300
+ 24,
1301
+ () => [ResolvedRetryBackoff],
1302
+ [
1303
+ "",
1304
+ "",
1305
+ "",
1306
+ ""
1307
+ ]
1308
+ ];
1309
+ var [ResolvedAlwaysRetryPolicy] = [
1310
+ 25,
1311
+ () => [ResolvedRetryBackoff],
1312
+ ["", ""]
1313
+ ];
1314
+ var [ResolvedRetryPolicy] = [
1315
+ 26,
1316
+ () => [ResolvedNormalRetryPolicy, ResolvedAlwaysRetryPolicy],
1317
+ ["", ""]
1318
+ ];
1319
+ //#endregion
1320
+ //#region ../../node_modules/.pnpm/@deepseek-ai+dsh-llm@0.1.2-rc.1_@deepseek-ai+cordis@4.0.2/node_modules/@deepseek-ai/dsh-llm/lib/types/call-config.d.ts
1321
+ var [LlmCallConfig] = [
1322
+ 37,
1323
+ () => [ReasoningEffortId],
1324
+ [
1325
+ "",
1326
+ "",
1327
+ "",
1328
+ "",
1329
+ "",
1330
+ "",
1331
+ ""
1332
+ ]
1333
+ ];
1334
+ var [LlmCallConfigAdapterDefaults] = [
1335
+ 38,
1336
+ () => [],
1337
+ ["", ""]
1338
+ ];
1339
+ //#endregion
1340
+ //#region ../../node_modules/.pnpm/@deepseek-ai+dsh-llm@0.1.2-rc.1_@deepseek-ai+cordis@4.0.2/node_modules/@deepseek-ai/dsh-llm/lib/types/index.d.ts
1341
+ var [_0] = [
1342
+ 8,
1343
+ () => [
1344
+ LlmRuntime,
1345
+ LlmRuntime,
1346
+ GenerateOptions,
1347
+ StreamChunk,
1348
+ AsyncIterable,
1349
+ StreamChunk,
1350
+ AsyncIterable
1351
+ ],
1352
+ [
1353
+ "",
1354
+ "",
1355
+ "",
1356
+ "",
1357
+ "",
1358
+ "",
1359
+ "",
1360
+ "",
1361
+ "",
1362
+ "",
1363
+ "",
1364
+ "",
1365
+ "",
1366
+ ""
1367
+ ],
1368
+ sideEffect(_0)
1369
+ ];
1370
+ var [PreparedLlmCall] = [
1371
+ 12,
1372
+ () => [
1373
+ LlmCallConfig,
1374
+ ResolvedRetryPolicy,
1375
+ LlmModelContext,
1376
+ ModelModality,
1377
+ LlmCallConfigAdapterDefaults,
1378
+ GenerateOptions,
1379
+ StreamChunk,
1380
+ AsyncIterable
1381
+ ],
1382
+ [
1383
+ "",
1384
+ "",
1385
+ "",
1386
+ "",
1387
+ "",
1388
+ "",
1389
+ "",
1390
+ "",
1391
+ "",
1392
+ "",
1393
+ "",
1394
+ "",
1395
+ "",
1396
+ "",
1397
+ ""
1398
+ ]
1399
+ ];
1400
+ var [PreparedAdapterCall] = [
1401
+ 13,
1402
+ () => [
1403
+ LlmResolvedModelInfo,
1404
+ GenerateOptions,
1405
+ StreamChunk,
1406
+ AsyncIterable
1407
+ ],
1408
+ [
1409
+ "",
1410
+ "",
1411
+ "",
1412
+ "",
1413
+ "",
1414
+ "",
1415
+ ""
1416
+ ]
1417
+ ];
1418
+ var [LlmAdapter] = [
1419
+ 14,
1420
+ () => [
1421
+ LlmProviderInfo,
1422
+ ResolvedRetryPolicy,
1423
+ LlmImageRequestPricing,
1424
+ LlmModelInfo,
1425
+ Promise,
1426
+ AbortSignal,
1427
+ LlmResolvedModelInfo,
1428
+ Promise,
1429
+ AbortSignal,
1430
+ PreparedAdapterCall,
1431
+ Promise,
1432
+ GenerateOptions,
1433
+ StreamChunk,
1434
+ AsyncIterable
1435
+ ],
1436
+ [
1437
+ "",
1438
+ "",
1439
+ "",
1440
+ "",
1441
+ "",
1442
+ "",
1443
+ "",
1444
+ "",
1445
+ "",
1446
+ "",
1447
+ "",
1448
+ "",
1449
+ "",
1450
+ "",
1451
+ "",
1452
+ "",
1453
+ "",
1454
+ "",
1455
+ "",
1456
+ "",
1457
+ "",
1458
+ "",
1459
+ "",
1460
+ "",
1461
+ "",
1462
+ "",
1463
+ "",
1464
+ "",
1465
+ "",
1466
+ "",
1467
+ "",
1468
+ "",
1469
+ ""
1470
+ ]
1471
+ ];
1472
+ var [AdapterRegistrationHandle] = [
1473
+ 15,
1474
+ () => [],
1475
+ ["", ""]
1476
+ ];
1477
+ var [DirectoryRegistrationHandle] = [
1478
+ 16,
1479
+ () => [LlmConfigurableProvider],
1480
+ [
1481
+ "",
1482
+ "",
1483
+ ""
1484
+ ]
1485
+ ];
1486
+ var [LlmRuntime] = [
1487
+ 17,
1488
+ () => [
1489
+ Context,
1490
+ LlmAdapter,
1491
+ AdapterRegistrationHandle,
1492
+ LlmProviderInfo,
1493
+ LlmConfigurableProvider,
1494
+ DirectoryRegistrationHandle,
1495
+ LlmConfigurableProvider,
1496
+ LlmModelDiscoveryRequest,
1497
+ AbortSignal,
1498
+ LlmDiscoveredModel,
1499
+ Promise,
1500
+ LlmModelDiscoveryRequest,
1501
+ AbortSignal,
1502
+ LlmDiscoveredModel,
1503
+ Promise,
1504
+ LlmModelDiscoveryRequest,
1505
+ AbortSignal,
1506
+ LlmDiscoveredModel,
1507
+ Promise,
1508
+ ResolvedRetryPolicy,
1509
+ LlmImageRequestPricing,
1510
+ LlmModelInfo,
1511
+ Promise,
1512
+ AbortSignal,
1513
+ LlmResolvedModelInfo,
1514
+ Promise,
1515
+ LlmCallConfig,
1516
+ AbortSignal,
1517
+ LlmCallConfig,
1518
+ Promise,
1519
+ LlmCallConfig,
1520
+ AbortSignal,
1521
+ PreparedLlmCall,
1522
+ Promise,
1523
+ GenerateOptions,
1524
+ StreamChunk,
1525
+ AsyncIterable,
1526
+ TypertRemoteService
1527
+ ],
1528
+ [
1529
+ "",
1530
+ "",
1531
+ "",
1532
+ "",
1533
+ "",
1534
+ "",
1535
+ "",
1536
+ "",
1537
+ "",
1538
+ "",
1539
+ "",
1540
+ "",
1541
+ "",
1542
+ "",
1543
+ "",
1544
+ "",
1545
+ "",
1546
+ "",
1547
+ "",
1548
+ "",
1549
+ "",
1550
+ "",
1551
+ "",
1552
+ "",
1553
+ "",
1554
+ "",
1555
+ "",
1556
+ "",
1557
+ "",
1558
+ "",
1559
+ "",
1560
+ "",
1561
+ "",
1562
+ "",
1563
+ "",
1564
+ "",
1565
+ "",
1566
+ "",
1567
+ "",
1568
+ "",
1569
+ "",
1570
+ "",
1571
+ "",
1572
+ "",
1573
+ "",
1574
+ "",
1575
+ "",
1576
+ "",
1577
+ "",
1578
+ "",
1579
+ "",
1580
+ "",
1581
+ "",
1582
+ "",
1583
+ "",
1584
+ "",
1585
+ "",
1586
+ "",
1587
+ "",
1588
+ "",
1589
+ "",
1590
+ "",
1591
+ "",
1592
+ "",
1593
+ "",
1594
+ "",
1595
+ "",
1596
+ "",
1597
+ "",
1598
+ "",
1599
+ "",
1600
+ "",
1601
+ "",
1602
+ "",
1603
+ "",
1604
+ "",
1605
+ "",
1606
+ "",
1607
+ "",
1608
+ "",
1609
+ "",
1610
+ "",
1611
+ "",
1612
+ "",
1613
+ "",
1614
+ "",
1615
+ "",
1616
+ "",
1617
+ "",
1618
+ "",
1619
+ "",
1620
+ "",
1621
+ "",
1622
+ "",
1623
+ ""
1624
+ ]
1625
+ ];
1626
+ //#endregion
1627
+ //#region src/index.d.ts
1628
+ var [SubagentsLike] = [
1629
+ 0,
1630
+ () => [
1631
+ ContentBlock,
1632
+ AbortSignal,
1633
+ ContentBlock,
1634
+ Promise,
1635
+ ContentBlock,
1636
+ Promise
1637
+ ],
1638
+ [
1639
+ "",
1640
+ "",
1641
+ "",
1642
+ "",
1643
+ "",
1644
+ "",
1645
+ "",
1646
+ "",
1647
+ "",
1648
+ "",
1649
+ "",
1650
+ "",
1651
+ "",
1652
+ "",
1653
+ "",
1654
+ "",
1655
+ "",
1656
+ "",
1657
+ "",
1658
+ "",
1659
+ "",
1660
+ "",
1661
+ "",
1662
+ "",
1663
+ "",
1664
+ "",
1665
+ "",
1666
+ "",
1667
+ "",
1668
+ ""
1669
+ ]
1670
+ ];
1671
+ var [Config] = [
1672
+ 1,
1673
+ () => [],
1674
+ [
1675
+ "",
1676
+ "",
1677
+ "",
1678
+ "",
1679
+ ""
1680
+ ]
1681
+ ];
1682
+ var [name] = [
1683
+ 2,
1684
+ () => [],
1685
+ []
1686
+ ];
1687
+ var [inject] = [
1688
+ 3,
1689
+ () => [],
1690
+ []
1691
+ ];
1692
+ var [Config] = [
1693
+ 4,
1694
+ () => [Config, z],
1695
+ ["", ""]
1696
+ ];
1697
+ var [TrackedChild] = [
1698
+ 5,
1699
+ () => [ContentBlock, Promise],
1700
+ [
1701
+ "",
1702
+ "",
1703
+ "",
1704
+ "",
1705
+ "",
1706
+ "",
1707
+ "",
1708
+ "",
1709
+ "",
1710
+ "",
1711
+ "",
1712
+ ""
1713
+ ]
1714
+ ];
1715
+ var [TeamHandle] = [
1716
+ 6,
1717
+ () => [
1718
+ TrackedChild,
1719
+ Readonly,
1720
+ ReadonlyArray
1721
+ ],
1722
+ [
1723
+ "",
1724
+ "",
1725
+ "",
1726
+ "",
1727
+ "",
1728
+ ""
1729
+ ]
1730
+ ];
1731
+ var [apply] = [
1732
+ 7,
1733
+ () => [
1734
+ Context,
1735
+ Config,
1736
+ TeamHandle
1737
+ ],
1738
+ [
1739
+ "",
1740
+ "",
1741
+ "",
1742
+ "",
1743
+ ""
1744
+ ]
1745
+ ];
1746
+ //#endregion
1747
+ export { Config, SubagentsLike, TeamHandle, apply, inject, name };
1748
+
1749
+ //# sourceMappingURL=index.ts.map