react-native-nobodywho 2.3.0 → 2.5.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.
@@ -119,10 +119,13 @@ void uniffi_nobodywho_uniffi_fn_free_rustchat(
119
119
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_rustchat_new(
120
120
  /*handle*/ uint64_t model, RustBuffer system_prompt, uint32_t context_size,
121
121
  RustBuffer template_variables, RustBuffer tools, RustBuffer sampler,
122
- RustCallStatus *uniffi_out_err);
122
+ RustBuffer mtp, RustBuffer thread_count, RustCallStatus *uniffi_out_err);
123
123
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_ask(
124
124
  /*handle*/ uint64_t ptr, RustBuffer message,
125
125
  RustCallStatus *uniffi_out_err);
126
+ /*handle*/ uint64_t
127
+ uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_json_prompt(
128
+ /*handle*/ uint64_t ptr, RustBuffer json, RustCallStatus *uniffi_out_err);
126
129
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt(
127
130
  /*handle*/ uint64_t ptr, RustBuffer parts, RustCallStatus *uniffi_out_err);
128
131
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_get_chat_history(
@@ -130,12 +133,17 @@ void uniffi_nobodywho_uniffi_fn_free_rustchat(
130
133
  /*handle*/ uint64_t
131
134
  uniffi_nobodywho_uniffi_fn_method_rustchat_get_sampler_config_json(
132
135
  /*handle*/ uint64_t ptr);
136
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_get_stats(
137
+ /*handle*/ uint64_t ptr);
133
138
  /*handle*/ uint64_t
134
139
  uniffi_nobodywho_uniffi_fn_method_rustchat_get_system_prompt(
135
140
  /*handle*/ uint64_t ptr);
136
141
  /*handle*/ uint64_t
137
142
  uniffi_nobodywho_uniffi_fn_method_rustchat_get_template_variables(
138
143
  /*handle*/ uint64_t ptr);
144
+ /*handle*/ uint64_t
145
+ uniffi_nobodywho_uniffi_fn_method_rustchat_mtp_acceptance_rate(
146
+ /*handle*/ uint64_t ptr);
139
147
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_reset_context(
140
148
  /*handle*/ uint64_t ptr, RustBuffer system_prompt, RustBuffer tools);
141
149
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_reset_history(
@@ -156,6 +164,11 @@ uniffi_nobodywho_uniffi_fn_method_rustchat_set_template_variable(
156
164
  /*handle*/ uint64_t ptr, RustBuffer tools);
157
165
  void uniffi_nobodywho_uniffi_fn_method_rustchat_stop_generation(
158
166
  /*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
167
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize(
168
+ /*handle*/ uint64_t ptr, RustBuffer message);
169
+ /*handle*/ uint64_t
170
+ uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize_with_prompt(
171
+ /*handle*/ uint64_t ptr, RustBuffer parts);
159
172
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustcrossencoder(
160
173
  /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
161
174
  void uniffi_nobodywho_uniffi_fn_free_rustcrossencoder(
@@ -181,6 +194,28 @@ void uniffi_nobodywho_uniffi_fn_free_rustencoder(
181
194
  /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
182
195
  void uniffi_nobodywho_uniffi_fn_free_rustmodel(
183
196
  /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
197
+ uint32_t uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
198
+ /*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
199
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_ruststt(
200
+ /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
201
+ void uniffi_nobodywho_uniffi_fn_free_ruststt(
202
+ /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
203
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_ruststt_new(
204
+ RustBuffer source, RustBuffer language, RustBuffer quantization,
205
+ RustCallStatus *uniffi_out_err);
206
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file(
207
+ /*handle*/ uint64_t ptr, RustBuffer path, RustCallStatus *uniffi_out_err);
208
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_pcm(
209
+ /*handle*/ uint64_t ptr, RustBuffer samples, uint32_t sample_rate,
210
+ RustCallStatus *uniffi_out_err);
211
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_ruststtstream(
212
+ /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
213
+ void uniffi_nobodywho_uniffi_fn_free_ruststtstream(
214
+ /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
215
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_ruststtstream_completed(
216
+ /*handle*/ uint64_t ptr);
217
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_ruststtstream_next_token(
218
+ /*handle*/ uint64_t ptr);
184
219
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rusttokenstream(
185
220
  /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
186
221
  void uniffi_nobodywho_uniffi_fn_free_rusttokenstream(
@@ -208,6 +243,20 @@ uniffi_nobodywho_uniffi_fn_method_rusttool_next_pending_call(
208
243
  void uniffi_nobodywho_uniffi_fn_method_rusttool_resolve_pending_call(
209
244
  /*handle*/ uint64_t ptr, RustBuffer call_id, RustBuffer result,
210
245
  RustCallStatus *uniffi_out_err);
246
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rusttts(
247
+ /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
248
+ void uniffi_nobodywho_uniffi_fn_free_rusttts(
249
+ /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
250
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_rusttts_new(
251
+ RustBuffer source, RustBuffer architecture, RustBuffer voice,
252
+ RustBuffer language, RustBuffer speed, RustBuffer steps,
253
+ RustBuffer silence_duration, RustBuffer precision, RustBuffer temperature,
254
+ RustBuffer huggingface_token, RustBuffer device,
255
+ RustCallStatus *uniffi_out_err);
256
+ RustBuffer uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize(
257
+ /*handle*/ uint64_t ptr, RustBuffer text, RustCallStatus *uniffi_out_err);
258
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize_async(
259
+ /*handle*/ uint64_t ptr, RustBuffer text);
211
260
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_samplerbuilder(
212
261
  /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
213
262
  void uniffi_nobodywho_uniffi_fn_free_samplerbuilder(
@@ -276,7 +325,12 @@ RustBuffer uniffi_nobodywho_uniffi_fn_func_get_cached_models(
276
325
  RustCallStatus *uniffi_out_err);
277
326
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_load_model(
278
327
  RustBuffer model_path, int8_t use_gpu, RustBuffer projection_model_path,
279
- RustBuffer on_download_progress);
328
+ RustBuffer draft_model_path, RustBuffer on_download_progress);
329
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_load_tts(
330
+ RustBuffer source, RustBuffer architecture, RustBuffer voice,
331
+ RustBuffer language, RustBuffer speed, RustBuffer steps,
332
+ RustBuffer silence_duration, RustBuffer precision, RustBuffer temperature,
333
+ RustBuffer huggingface_token, RustBuffer device);
280
334
  /*handle*/ uint64_t
281
335
  uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_grammar(
282
336
  RustBuffer grammar, RustCallStatus *uniffi_out_err);
@@ -425,6 +479,7 @@ uint16_t uniffi_nobodywho_uniffi_checksum_func_cosine_similarity();
425
479
  uint16_t uniffi_nobodywho_uniffi_checksum_func_download_model();
426
480
  uint16_t uniffi_nobodywho_uniffi_checksum_func_get_cached_models();
427
481
  uint16_t uniffi_nobodywho_uniffi_checksum_func_load_model();
482
+ uint16_t uniffi_nobodywho_uniffi_checksum_func_load_tts();
428
483
  uint16_t
429
484
  uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_with_grammar();
430
485
  uint16_t
@@ -440,13 +495,17 @@ uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_temperature();
440
495
  uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_top_k();
441
496
  uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_top_p();
442
497
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_ask();
498
+ uint16_t
499
+ uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_json_prompt();
443
500
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_prompt();
444
501
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_get_chat_history();
445
502
  uint16_t
446
503
  uniffi_nobodywho_uniffi_checksum_method_rustchat_get_sampler_config_json();
504
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_get_stats();
447
505
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_get_system_prompt();
448
506
  uint16_t
449
507
  uniffi_nobodywho_uniffi_checksum_method_rustchat_get_template_variables();
508
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_mtp_acceptance_rate();
450
509
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_reset_context();
451
510
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_reset_history();
452
511
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_set_chat_history();
@@ -456,16 +515,26 @@ uint16_t
456
515
  uniffi_nobodywho_uniffi_checksum_method_rustchat_set_template_variable();
457
516
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_set_tools();
458
517
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_stop_generation();
518
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize();
519
+ uint16_t
520
+ uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize_with_prompt();
459
521
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank();
460
522
  uint16_t
461
523
  uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank_and_sort_json();
462
524
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode();
525
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx();
526
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_file();
527
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_pcm();
528
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_ruststtstream_completed();
529
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_ruststtstream_next_token();
463
530
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_completed();
464
531
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_next_token();
465
532
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttool_get_schema_json();
466
533
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttool_next_pending_call();
467
534
  uint16_t
468
535
  uniffi_nobodywho_uniffi_checksum_method_rusttool_resolve_pending_call();
536
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize();
537
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize_async();
469
538
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist();
470
539
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dry();
471
540
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_grammar();
@@ -484,8 +553,10 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerconfig_to_json();
484
553
  uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustchat_new();
485
554
  uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustcrossencoder_new();
486
555
  uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustencoder_new();
556
+ uint16_t uniffi_nobodywho_uniffi_checksum_constructor_ruststt_new();
487
557
  uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new();
488
558
  uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new_async();
559
+ uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttts_new();
489
560
  uint16_t uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_new();
490
561
  uint16_t uniffi_nobodywho_uniffi_checksum_constructor_samplerconfig_from_json();
491
562
  uint16_t
@@ -2669,7 +2740,7 @@ NativeNobodywho::NativeNobodywho(
2669
2740
  rt,
2670
2741
  jsi::PropNameID::forAscii(
2671
2742
  rt, "ubrn_uniffi_nobodywho_uniffi_fn_constructor_rustchat_new"),
2672
- 6,
2743
+ 8,
2673
2744
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
2674
2745
  const jsi::Value *args, size_t count) -> jsi::Value {
2675
2746
  return this
@@ -2687,6 +2758,18 @@ NativeNobodywho::NativeNobodywho(
2687
2758
  return this->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask(
2688
2759
  rt, thisVal, args, count);
2689
2760
  });
2761
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_json_"
2762
+ "prompt"] = jsi::Function::createFromHostFunction(
2763
+ rt,
2764
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
2765
+ "rustchat_ask_with_json_prompt"),
2766
+ 2,
2767
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
2768
+ const jsi::Value *args, size_t count) -> jsi::Value {
2769
+ return this
2770
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_json_prompt(
2771
+ rt, thisVal, args, count);
2772
+ });
2690
2773
  props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt"] =
2691
2774
  jsi::Function::createFromHostFunction(
2692
2775
  rt,
@@ -2723,6 +2806,18 @@ NativeNobodywho::NativeNobodywho(
2723
2806
  ->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_sampler_config_json(
2724
2807
  rt, thisVal, args, count);
2725
2808
  });
2809
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_get_stats"] =
2810
+ jsi::Function::createFromHostFunction(
2811
+ rt,
2812
+ jsi::PropNameID::forAscii(
2813
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_get_stats"),
2814
+ 1,
2815
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
2816
+ const jsi::Value *args, size_t count) -> jsi::Value {
2817
+ return this
2818
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_stats(
2819
+ rt, thisVal, args, count);
2820
+ });
2726
2821
  props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_get_system_prompt"] =
2727
2822
  jsi::Function::createFromHostFunction(
2728
2823
  rt,
@@ -2747,6 +2842,18 @@ NativeNobodywho::NativeNobodywho(
2747
2842
  ->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_template_variables(
2748
2843
  rt, thisVal, args, count);
2749
2844
  });
2845
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_mtp_acceptance_rate"] =
2846
+ jsi::Function::createFromHostFunction(
2847
+ rt,
2848
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
2849
+ "method_rustchat_mtp_acceptance_rate"),
2850
+ 1,
2851
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
2852
+ const jsi::Value *args, size_t count) -> jsi::Value {
2853
+ return this
2854
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_mtp_acceptance_rate(
2855
+ rt, thisVal, args, count);
2856
+ });
2750
2857
  props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_reset_context"] =
2751
2858
  jsi::Function::createFromHostFunction(
2752
2859
  rt,
@@ -2845,6 +2952,30 @@ NativeNobodywho::NativeNobodywho(
2845
2952
  ->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_stop_generation(
2846
2953
  rt, thisVal, args, count);
2847
2954
  });
2955
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize"] =
2956
+ jsi::Function::createFromHostFunction(
2957
+ rt,
2958
+ jsi::PropNameID::forAscii(
2959
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize"),
2960
+ 2,
2961
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
2962
+ const jsi::Value *args, size_t count) -> jsi::Value {
2963
+ return this
2964
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize(
2965
+ rt, thisVal, args, count);
2966
+ });
2967
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize_with_"
2968
+ "prompt"] = jsi::Function::createFromHostFunction(
2969
+ rt,
2970
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
2971
+ "rustchat_tokenize_with_prompt"),
2972
+ 2,
2973
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
2974
+ const jsi::Value *args, size_t count) -> jsi::Value {
2975
+ return this
2976
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize_with_prompt(
2977
+ rt, thisVal, args, count);
2978
+ });
2848
2979
  props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustcrossencoder"] =
2849
2980
  jsi::Function::createFromHostFunction(
2850
2981
  rt,
@@ -2973,6 +3104,124 @@ NativeNobodywho::NativeNobodywho(
2973
3104
  return this->cpp_uniffi_nobodywho_uniffi_fn_free_rustmodel(
2974
3105
  rt, thisVal, args, count);
2975
3106
  });
3107
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx"] =
3108
+ jsi::Function::createFromHostFunction(
3109
+ rt,
3110
+ jsi::PropNameID::forAscii(
3111
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx"),
3112
+ 1,
3113
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3114
+ const jsi::Value *args, size_t count) -> jsi::Value {
3115
+ return this
3116
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
3117
+ rt, thisVal, args, count);
3118
+ });
3119
+ props["ubrn_uniffi_nobodywho_uniffi_fn_clone_ruststt"] =
3120
+ jsi::Function::createFromHostFunction(
3121
+ rt,
3122
+ jsi::PropNameID::forAscii(
3123
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_ruststt"),
3124
+ 1,
3125
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3126
+ const jsi::Value *args, size_t count) -> jsi::Value {
3127
+ return this->cpp_uniffi_nobodywho_uniffi_fn_clone_ruststt(
3128
+ rt, thisVal, args, count);
3129
+ });
3130
+ props["ubrn_uniffi_nobodywho_uniffi_fn_free_ruststt"] =
3131
+ jsi::Function::createFromHostFunction(
3132
+ rt,
3133
+ jsi::PropNameID::forAscii(
3134
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_ruststt"),
3135
+ 1,
3136
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3137
+ const jsi::Value *args, size_t count) -> jsi::Value {
3138
+ return this->cpp_uniffi_nobodywho_uniffi_fn_free_ruststt(
3139
+ rt, thisVal, args, count);
3140
+ });
3141
+ props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_ruststt_new"] =
3142
+ jsi::Function::createFromHostFunction(
3143
+ rt,
3144
+ jsi::PropNameID::forAscii(
3145
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_constructor_ruststt_new"),
3146
+ 3,
3147
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3148
+ const jsi::Value *args, size_t count) -> jsi::Value {
3149
+ return this->cpp_uniffi_nobodywho_uniffi_fn_constructor_ruststt_new(
3150
+ rt, thisVal, args, count);
3151
+ });
3152
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file"] =
3153
+ jsi::Function::createFromHostFunction(
3154
+ rt,
3155
+ jsi::PropNameID::forAscii(
3156
+ rt,
3157
+ "ubrn_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file"),
3158
+ 2,
3159
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3160
+ const jsi::Value *args, size_t count) -> jsi::Value {
3161
+ return this
3162
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file(
3163
+ rt, thisVal, args, count);
3164
+ });
3165
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_pcm"] =
3166
+ jsi::Function::createFromHostFunction(
3167
+ rt,
3168
+ jsi::PropNameID::forAscii(
3169
+ rt,
3170
+ "ubrn_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_pcm"),
3171
+ 3,
3172
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3173
+ const jsi::Value *args, size_t count) -> jsi::Value {
3174
+ return this
3175
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_pcm(
3176
+ rt, thisVal, args, count);
3177
+ });
3178
+ props["ubrn_uniffi_nobodywho_uniffi_fn_clone_ruststtstream"] =
3179
+ jsi::Function::createFromHostFunction(
3180
+ rt,
3181
+ jsi::PropNameID::forAscii(
3182
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_ruststtstream"),
3183
+ 1,
3184
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3185
+ const jsi::Value *args, size_t count) -> jsi::Value {
3186
+ return this->cpp_uniffi_nobodywho_uniffi_fn_clone_ruststtstream(
3187
+ rt, thisVal, args, count);
3188
+ });
3189
+ props["ubrn_uniffi_nobodywho_uniffi_fn_free_ruststtstream"] =
3190
+ jsi::Function::createFromHostFunction(
3191
+ rt,
3192
+ jsi::PropNameID::forAscii(
3193
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_ruststtstream"),
3194
+ 1,
3195
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3196
+ const jsi::Value *args, size_t count) -> jsi::Value {
3197
+ return this->cpp_uniffi_nobodywho_uniffi_fn_free_ruststtstream(
3198
+ rt, thisVal, args, count);
3199
+ });
3200
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_ruststtstream_completed"] =
3201
+ jsi::Function::createFromHostFunction(
3202
+ rt,
3203
+ jsi::PropNameID::forAscii(
3204
+ rt,
3205
+ "ubrn_uniffi_nobodywho_uniffi_fn_method_ruststtstream_completed"),
3206
+ 1,
3207
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3208
+ const jsi::Value *args, size_t count) -> jsi::Value {
3209
+ return this
3210
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_ruststtstream_completed(
3211
+ rt, thisVal, args, count);
3212
+ });
3213
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_ruststtstream_next_token"] =
3214
+ jsi::Function::createFromHostFunction(
3215
+ rt,
3216
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
3217
+ "method_ruststtstream_next_token"),
3218
+ 1,
3219
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3220
+ const jsi::Value *args, size_t count) -> jsi::Value {
3221
+ return this
3222
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_ruststtstream_next_token(
3223
+ rt, thisVal, args, count);
3224
+ });
2976
3225
  props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttokenstream"] =
2977
3226
  jsi::Function::createFromHostFunction(
2978
3227
  rt,
@@ -3102,6 +3351,63 @@ NativeNobodywho::NativeNobodywho(
3102
3351
  ->cpp_uniffi_nobodywho_uniffi_fn_method_rusttool_resolve_pending_call(
3103
3352
  rt, thisVal, args, count);
3104
3353
  });
3354
+ props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttts"] =
3355
+ jsi::Function::createFromHostFunction(
3356
+ rt,
3357
+ jsi::PropNameID::forAscii(
3358
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttts"),
3359
+ 1,
3360
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3361
+ const jsi::Value *args, size_t count) -> jsi::Value {
3362
+ return this->cpp_uniffi_nobodywho_uniffi_fn_clone_rusttts(
3363
+ rt, thisVal, args, count);
3364
+ });
3365
+ props["ubrn_uniffi_nobodywho_uniffi_fn_free_rusttts"] =
3366
+ jsi::Function::createFromHostFunction(
3367
+ rt,
3368
+ jsi::PropNameID::forAscii(
3369
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_rusttts"),
3370
+ 1,
3371
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3372
+ const jsi::Value *args, size_t count) -> jsi::Value {
3373
+ return this->cpp_uniffi_nobodywho_uniffi_fn_free_rusttts(
3374
+ rt, thisVal, args, count);
3375
+ });
3376
+ props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new"] =
3377
+ jsi::Function::createFromHostFunction(
3378
+ rt,
3379
+ jsi::PropNameID::forAscii(
3380
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new"),
3381
+ 11,
3382
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3383
+ const jsi::Value *args, size_t count) -> jsi::Value {
3384
+ return this->cpp_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new(
3385
+ rt, thisVal, args, count);
3386
+ });
3387
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize"] =
3388
+ jsi::Function::createFromHostFunction(
3389
+ rt,
3390
+ jsi::PropNameID::forAscii(
3391
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize"),
3392
+ 2,
3393
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3394
+ const jsi::Value *args, size_t count) -> jsi::Value {
3395
+ return this
3396
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize(
3397
+ rt, thisVal, args, count);
3398
+ });
3399
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize_async"] =
3400
+ jsi::Function::createFromHostFunction(
3401
+ rt,
3402
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
3403
+ "method_rusttts_synthesize_async"),
3404
+ 2,
3405
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3406
+ const jsi::Value *args, size_t count) -> jsi::Value {
3407
+ return this
3408
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize_async(
3409
+ rt, thisVal, args, count);
3410
+ });
3105
3411
  props["ubrn_uniffi_nobodywho_uniffi_fn_clone_samplerbuilder"] =
3106
3412
  jsi::Function::createFromHostFunction(
3107
3413
  rt,
@@ -3420,12 +3726,23 @@ NativeNobodywho::NativeNobodywho(
3420
3726
  rt,
3421
3727
  jsi::PropNameID::forAscii(
3422
3728
  rt, "ubrn_uniffi_nobodywho_uniffi_fn_func_load_model"),
3423
- 4,
3729
+ 5,
3424
3730
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3425
3731
  const jsi::Value *args, size_t count) -> jsi::Value {
3426
3732
  return this->cpp_uniffi_nobodywho_uniffi_fn_func_load_model(
3427
3733
  rt, thisVal, args, count);
3428
3734
  });
3735
+ props["ubrn_uniffi_nobodywho_uniffi_fn_func_load_tts"] =
3736
+ jsi::Function::createFromHostFunction(
3737
+ rt,
3738
+ jsi::PropNameID::forAscii(
3739
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_func_load_tts"),
3740
+ 11,
3741
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3742
+ const jsi::Value *args, size_t count) -> jsi::Value {
3743
+ return this->cpp_uniffi_nobodywho_uniffi_fn_func_load_tts(
3744
+ rt, thisVal, args, count);
3745
+ });
3429
3746
  props["ubrn_uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_"
3430
3747
  "grammar"] = jsi::Function::createFromHostFunction(
3431
3748
  rt,
@@ -4139,6 +4456,17 @@ NativeNobodywho::NativeNobodywho(
4139
4456
  return this->cpp_uniffi_nobodywho_uniffi_checksum_func_load_model(
4140
4457
  rt, thisVal, args, count);
4141
4458
  });
4459
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_func_load_tts"] =
4460
+ jsi::Function::createFromHostFunction(
4461
+ rt,
4462
+ jsi::PropNameID::forAscii(
4463
+ rt, "ubrn_uniffi_nobodywho_uniffi_checksum_func_load_tts"),
4464
+ 0,
4465
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
4466
+ const jsi::Value *args, size_t count) -> jsi::Value {
4467
+ return this->cpp_uniffi_nobodywho_uniffi_checksum_func_load_tts(
4468
+ rt, thisVal, args, count);
4469
+ });
4142
4470
  props["ubrn_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_"
4143
4471
  "with_grammar"] = jsi::Function::createFromHostFunction(
4144
4472
  rt,
@@ -4287,6 +4615,18 @@ NativeNobodywho::NativeNobodywho(
4287
4615
  ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask(
4288
4616
  rt, thisVal, args, count);
4289
4617
  });
4618
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_json_"
4619
+ "prompt"] = jsi::Function::createFromHostFunction(
4620
+ rt,
4621
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
4622
+ "method_rustchat_ask_with_json_prompt"),
4623
+ 0,
4624
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
4625
+ const jsi::Value *args, size_t count) -> jsi::Value {
4626
+ return this
4627
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_json_prompt(
4628
+ rt, thisVal, args, count);
4629
+ });
4290
4630
  props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_"
4291
4631
  "prompt"] = jsi::Function::createFromHostFunction(
4292
4632
  rt,
@@ -4323,6 +4663,18 @@ NativeNobodywho::NativeNobodywho(
4323
4663
  ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_sampler_config_json(
4324
4664
  rt, thisVal, args, count);
4325
4665
  });
4666
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_stats"] =
4667
+ jsi::Function::createFromHostFunction(
4668
+ rt,
4669
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
4670
+ "method_rustchat_get_stats"),
4671
+ 0,
4672
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
4673
+ const jsi::Value *args, size_t count) -> jsi::Value {
4674
+ return this
4675
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_stats(
4676
+ rt, thisVal, args, count);
4677
+ });
4326
4678
  props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_system_"
4327
4679
  "prompt"] = jsi::Function::createFromHostFunction(
4328
4680
  rt,
@@ -4347,6 +4699,18 @@ NativeNobodywho::NativeNobodywho(
4347
4699
  ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_template_variables(
4348
4700
  rt, thisVal, args, count);
4349
4701
  });
4702
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_mtp_acceptance_"
4703
+ "rate"] = jsi::Function::createFromHostFunction(
4704
+ rt,
4705
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
4706
+ "method_rustchat_mtp_acceptance_rate"),
4707
+ 0,
4708
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
4709
+ const jsi::Value *args, size_t count) -> jsi::Value {
4710
+ return this
4711
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_mtp_acceptance_rate(
4712
+ rt, thisVal, args, count);
4713
+ });
4350
4714
  props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_reset_context"] =
4351
4715
  jsi::Function::createFromHostFunction(
4352
4716
  rt,
@@ -4443,6 +4807,31 @@ NativeNobodywho::NativeNobodywho(
4443
4807
  ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_stop_generation(
4444
4808
  rt, thisVal, args, count);
4445
4809
  });
4810
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize"] =
4811
+ jsi::Function::createFromHostFunction(
4812
+ rt,
4813
+ jsi::PropNameID::forAscii(
4814
+ rt,
4815
+ "ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize"),
4816
+ 0,
4817
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
4818
+ const jsi::Value *args, size_t count) -> jsi::Value {
4819
+ return this
4820
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize(
4821
+ rt, thisVal, args, count);
4822
+ });
4823
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize_with_"
4824
+ "prompt"] = jsi::Function::createFromHostFunction(
4825
+ rt,
4826
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
4827
+ "method_rustchat_tokenize_with_prompt"),
4828
+ 0,
4829
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
4830
+ const jsi::Value *args, size_t count) -> jsi::Value {
4831
+ return this
4832
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize_with_prompt(
4833
+ rt, thisVal, args, count);
4834
+ });
4446
4835
  props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank"] =
4447
4836
  jsi::Function::createFromHostFunction(
4448
4837
  rt,
@@ -4480,6 +4869,67 @@ NativeNobodywho::NativeNobodywho(
4480
4869
  ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode(
4481
4870
  rt, thisVal, args, count);
4482
4871
  });
4872
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx"] =
4873
+ jsi::Function::createFromHostFunction(
4874
+ rt,
4875
+ jsi::PropNameID::forAscii(
4876
+ rt,
4877
+ "ubrn_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx"),
4878
+ 0,
4879
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
4880
+ const jsi::Value *args, size_t count) -> jsi::Value {
4881
+ return this
4882
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
4883
+ rt, thisVal, args, count);
4884
+ });
4885
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_"
4886
+ "file"] = jsi::Function::createFromHostFunction(
4887
+ rt,
4888
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
4889
+ "method_ruststt_transcribe_file"),
4890
+ 0,
4891
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
4892
+ const jsi::Value *args, size_t count) -> jsi::Value {
4893
+ return this
4894
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_file(
4895
+ rt, thisVal, args, count);
4896
+ });
4897
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_pcm"] =
4898
+ jsi::Function::createFromHostFunction(
4899
+ rt,
4900
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
4901
+ "method_ruststt_transcribe_pcm"),
4902
+ 0,
4903
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
4904
+ const jsi::Value *args, size_t count) -> jsi::Value {
4905
+ return this
4906
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_pcm(
4907
+ rt, thisVal, args, count);
4908
+ });
4909
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_ruststtstream_"
4910
+ "completed"] = jsi::Function::createFromHostFunction(
4911
+ rt,
4912
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
4913
+ "method_ruststtstream_completed"),
4914
+ 0,
4915
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
4916
+ const jsi::Value *args, size_t count) -> jsi::Value {
4917
+ return this
4918
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_ruststtstream_completed(
4919
+ rt, thisVal, args, count);
4920
+ });
4921
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_ruststtstream_next_"
4922
+ "token"] = jsi::Function::createFromHostFunction(
4923
+ rt,
4924
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
4925
+ "method_ruststtstream_next_token"),
4926
+ 0,
4927
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
4928
+ const jsi::Value *args, size_t count) -> jsi::Value {
4929
+ return this
4930
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_ruststtstream_next_token(
4931
+ rt, thisVal, args, count);
4932
+ });
4483
4933
  props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_"
4484
4934
  "completed"] = jsi::Function::createFromHostFunction(
4485
4935
  rt,
@@ -4540,6 +4990,30 @@ NativeNobodywho::NativeNobodywho(
4540
4990
  ->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttool_resolve_pending_call(
4541
4991
  rt, thisVal, args, count);
4542
4992
  });
4993
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize"] =
4994
+ jsi::Function::createFromHostFunction(
4995
+ rt,
4996
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
4997
+ "method_rusttts_synthesize"),
4998
+ 0,
4999
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
5000
+ const jsi::Value *args, size_t count) -> jsi::Value {
5001
+ return this
5002
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize(
5003
+ rt, thisVal, args, count);
5004
+ });
5005
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize_"
5006
+ "async"] = jsi::Function::createFromHostFunction(
5007
+ rt,
5008
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
5009
+ "method_rusttts_synthesize_async"),
5010
+ 0,
5011
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
5012
+ const jsi::Value *args, size_t count) -> jsi::Value {
5013
+ return this
5014
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize_async(
5015
+ rt, thisVal, args, count);
5016
+ });
4543
5017
  props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist"] =
4544
5018
  jsi::Function::createFromHostFunction(
4545
5019
  rt,
@@ -4757,6 +5231,19 @@ NativeNobodywho::NativeNobodywho(
4757
5231
  ->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustencoder_new(
4758
5232
  rt, thisVal, args, count);
4759
5233
  });
5234
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_ruststt_new"] =
5235
+ jsi::Function::createFromHostFunction(
5236
+ rt,
5237
+ jsi::PropNameID::forAscii(
5238
+ rt,
5239
+ "ubrn_uniffi_nobodywho_uniffi_checksum_constructor_ruststt_new"),
5240
+ 0,
5241
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
5242
+ const jsi::Value *args, size_t count) -> jsi::Value {
5243
+ return this
5244
+ ->cpp_uniffi_nobodywho_uniffi_checksum_constructor_ruststt_new(
5245
+ rt, thisVal, args, count);
5246
+ });
4760
5247
  props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new"] =
4761
5248
  jsi::Function::createFromHostFunction(
4762
5249
  rt,
@@ -4782,6 +5269,19 @@ NativeNobodywho::NativeNobodywho(
4782
5269
  ->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new_async(
4783
5270
  rt, thisVal, args, count);
4784
5271
  });
5272
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rusttts_new"] =
5273
+ jsi::Function::createFromHostFunction(
5274
+ rt,
5275
+ jsi::PropNameID::forAscii(
5276
+ rt,
5277
+ "ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rusttts_new"),
5278
+ 0,
5279
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
5280
+ const jsi::Value *args, size_t count) -> jsi::Value {
5281
+ return this
5282
+ ->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttts_new(
5283
+ rt, thisVal, args, count);
5284
+ });
4785
5285
  props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_"
4786
5286
  "new"] = jsi::Function::createFromHostFunction(
4787
5287
  rt,
@@ -4893,6 +5393,30 @@ NativeNobodywho::NativeNobodywho(
4893
5393
  ->cpp_uniffi_internal_fn_method_rustmodel_ffi__bless_pointer(
4894
5394
  rt, thisVal, args, count);
4895
5395
  });
5396
+ props["ubrn_uniffi_internal_fn_method_ruststt_ffi__bless_pointer"] =
5397
+ jsi::Function::createFromHostFunction(
5398
+ rt,
5399
+ jsi::PropNameID::forAscii(
5400
+ rt, "ubrn_uniffi_internal_fn_method_ruststt_ffi__bless_pointer"),
5401
+ 1,
5402
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
5403
+ const jsi::Value *args, size_t count) -> jsi::Value {
5404
+ return this
5405
+ ->cpp_uniffi_internal_fn_method_ruststt_ffi__bless_pointer(
5406
+ rt, thisVal, args, count);
5407
+ });
5408
+ props["ubrn_uniffi_internal_fn_method_ruststtstream_ffi__bless_pointer"] =
5409
+ jsi::Function::createFromHostFunction(
5410
+ rt,
5411
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_"
5412
+ "ruststtstream_ffi__bless_pointer"),
5413
+ 1,
5414
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
5415
+ const jsi::Value *args, size_t count) -> jsi::Value {
5416
+ return this
5417
+ ->cpp_uniffi_internal_fn_method_ruststtstream_ffi__bless_pointer(
5418
+ rt, thisVal, args, count);
5419
+ });
4896
5420
  props["ubrn_uniffi_internal_fn_method_rusttokenstream_ffi__bless_pointer"] =
4897
5421
  jsi::Function::createFromHostFunction(
4898
5422
  rt,
@@ -4917,6 +5441,18 @@ NativeNobodywho::NativeNobodywho(
4917
5441
  ->cpp_uniffi_internal_fn_method_rusttool_ffi__bless_pointer(
4918
5442
  rt, thisVal, args, count);
4919
5443
  });
5444
+ props["ubrn_uniffi_internal_fn_method_rusttts_ffi__bless_pointer"] =
5445
+ jsi::Function::createFromHostFunction(
5446
+ rt,
5447
+ jsi::PropNameID::forAscii(
5448
+ rt, "ubrn_uniffi_internal_fn_method_rusttts_ffi__bless_pointer"),
5449
+ 1,
5450
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
5451
+ const jsi::Value *args, size_t count) -> jsi::Value {
5452
+ return this
5453
+ ->cpp_uniffi_internal_fn_method_rusttts_ffi__bless_pointer(
5454
+ rt, thisVal, args, count);
5455
+ });
4920
5456
  props["ubrn_uniffi_internal_fn_method_samplerbuilder_ffi__bless_pointer"] =
4921
5457
  jsi::Function::createFromHostFunction(
4922
5458
  rt,
@@ -5079,6 +5615,36 @@ NativeNobodywho::cpp_uniffi_internal_fn_method_rustmodel_ffi__bless_pointer(
5079
5615
  auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
5080
5616
  return jsi::Value(rt, obj);
5081
5617
  }
5618
+ jsi::Value
5619
+ NativeNobodywho::cpp_uniffi_internal_fn_method_ruststt_ffi__bless_pointer(
5620
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
5621
+ size_t count) {
5622
+ auto pointer =
5623
+ uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
5624
+ auto static destructor = [](uint64_t p) {
5625
+ RustCallStatus status = {0};
5626
+ uniffi_nobodywho_uniffi_fn_free_ruststt(p, &status);
5627
+ };
5628
+ auto ptrObj =
5629
+ std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
5630
+ auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
5631
+ return jsi::Value(rt, obj);
5632
+ }
5633
+ jsi::Value
5634
+ NativeNobodywho::cpp_uniffi_internal_fn_method_ruststtstream_ffi__bless_pointer(
5635
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
5636
+ size_t count) {
5637
+ auto pointer =
5638
+ uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
5639
+ auto static destructor = [](uint64_t p) {
5640
+ RustCallStatus status = {0};
5641
+ uniffi_nobodywho_uniffi_fn_free_ruststtstream(p, &status);
5642
+ };
5643
+ auto ptrObj =
5644
+ std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
5645
+ auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
5646
+ return jsi::Value(rt, obj);
5647
+ }
5082
5648
  jsi::Value NativeNobodywho::
5083
5649
  cpp_uniffi_internal_fn_method_rusttokenstream_ffi__bless_pointer(
5084
5650
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -5109,6 +5675,21 @@ NativeNobodywho::cpp_uniffi_internal_fn_method_rusttool_ffi__bless_pointer(
5109
5675
  auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
5110
5676
  return jsi::Value(rt, obj);
5111
5677
  }
5678
+ jsi::Value
5679
+ NativeNobodywho::cpp_uniffi_internal_fn_method_rusttts_ffi__bless_pointer(
5680
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
5681
+ size_t count) {
5682
+ auto pointer =
5683
+ uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
5684
+ auto static destructor = [](uint64_t p) {
5685
+ RustCallStatus status = {0};
5686
+ uniffi_nobodywho_uniffi_fn_free_rusttts(p, &status);
5687
+ };
5688
+ auto ptrObj =
5689
+ std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
5690
+ auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
5691
+ return jsi::Value(rt, obj);
5692
+ }
5112
5693
  jsi::Value NativeNobodywho::
5113
5694
  cpp_uniffi_internal_fn_method_samplerbuilder_ffi__bless_pointer(
5114
5695
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -5184,6 +5765,8 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_rustchat_new(
5184
5765
  uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
5185
5766
  uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]),
5186
5767
  uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
5768
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[6]),
5769
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[7]),
5187
5770
  &status);
5188
5771
  uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
5189
5772
  rt, callInvoker, status, args[count - 1]);
@@ -5207,6 +5790,23 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask(
5207
5790
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
5208
5791
  value);
5209
5792
  }
5793
+ jsi::Value NativeNobodywho::
5794
+ cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_json_prompt(
5795
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
5796
+ size_t count) {
5797
+ RustCallStatus status =
5798
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
5799
+ auto value = uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_json_prompt(
5800
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
5801
+ args[0]),
5802
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
5803
+ &status);
5804
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
5805
+ rt, callInvoker, status, args[count - 1]);
5806
+
5807
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
5808
+ value);
5809
+ }
5210
5810
  jsi::Value
5211
5811
  NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt(
5212
5812
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -5247,6 +5847,17 @@ jsi::Value NativeNobodywho::
5247
5847
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
5248
5848
  value);
5249
5849
  }
5850
+ jsi::Value
5851
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_stats(
5852
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
5853
+ size_t count) {
5854
+ auto value = uniffi_nobodywho_uniffi_fn_method_rustchat_get_stats(
5855
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
5856
+ args[0]));
5857
+
5858
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
5859
+ value);
5860
+ }
5250
5861
  jsi::Value NativeNobodywho::
5251
5862
  cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_system_prompt(
5252
5863
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -5270,6 +5881,17 @@ jsi::Value NativeNobodywho::
5270
5881
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
5271
5882
  value);
5272
5883
  }
5884
+ jsi::Value NativeNobodywho::
5885
+ cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_mtp_acceptance_rate(
5886
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
5887
+ size_t count) {
5888
+ auto value = uniffi_nobodywho_uniffi_fn_method_rustchat_mtp_acceptance_rate(
5889
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
5890
+ args[0]));
5891
+
5892
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
5893
+ value);
5894
+ }
5273
5895
  jsi::Value
5274
5896
  NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_reset_context(
5275
5897
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -5376,6 +5998,32 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_stop_generation(
5376
5998
  return jsi::Value::undefined();
5377
5999
  }
5378
6000
  jsi::Value
6001
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize(
6002
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6003
+ size_t count) {
6004
+ auto value = uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize(
6005
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6006
+ args[0]),
6007
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
6008
+ args[1]));
6009
+
6010
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6011
+ value);
6012
+ }
6013
+ jsi::Value NativeNobodywho::
6014
+ cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize_with_prompt(
6015
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6016
+ size_t count) {
6017
+ auto value = uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize_with_prompt(
6018
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6019
+ args[0]),
6020
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
6021
+ args[1]));
6022
+
6023
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6024
+ value);
6025
+ }
6026
+ jsi::Value
5379
6027
  NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustcrossencoder(
5380
6028
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
5381
6029
  size_t count) {
@@ -5542,6 +6190,153 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rustmodel(
5542
6190
  return jsi::Value::undefined();
5543
6191
  }
5544
6192
  jsi::Value
6193
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
6194
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6195
+ size_t count) {
6196
+ RustCallStatus status =
6197
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
6198
+ auto value = uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
6199
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6200
+ args[0]),
6201
+ &status);
6202
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
6203
+ rt, callInvoker, status, args[count - 1]);
6204
+
6205
+ return uniffi_jsi::Bridging<uint32_t>::toJs(rt, callInvoker, value);
6206
+ }
6207
+ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_ruststt(
6208
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6209
+ size_t count) {
6210
+ RustCallStatus status =
6211
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
6212
+ auto value = uniffi_nobodywho_uniffi_fn_clone_ruststt(
6213
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6214
+ args[0]),
6215
+ &status);
6216
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
6217
+ rt, callInvoker, status, args[count - 1]);
6218
+
6219
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6220
+ value);
6221
+ }
6222
+ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_ruststt(
6223
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6224
+ size_t count) {
6225
+ RustCallStatus status =
6226
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
6227
+ uniffi_nobodywho_uniffi_fn_free_ruststt(
6228
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6229
+ args[0]),
6230
+ &status);
6231
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
6232
+ rt, callInvoker, status, args[count - 1]);
6233
+
6234
+ return jsi::Value::undefined();
6235
+ }
6236
+ jsi::Value
6237
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_ruststt_new(
6238
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6239
+ size_t count) {
6240
+ RustCallStatus status =
6241
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
6242
+ auto value = uniffi_nobodywho_uniffi_fn_constructor_ruststt_new(
6243
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
6244
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
6245
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
6246
+ &status);
6247
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
6248
+ rt, callInvoker, status, args[count - 1]);
6249
+
6250
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6251
+ value);
6252
+ }
6253
+ jsi::Value
6254
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file(
6255
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6256
+ size_t count) {
6257
+ RustCallStatus status =
6258
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
6259
+ auto value = uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file(
6260
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6261
+ args[0]),
6262
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
6263
+ &status);
6264
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
6265
+ rt, callInvoker, status, args[count - 1]);
6266
+
6267
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6268
+ value);
6269
+ }
6270
+ jsi::Value
6271
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_pcm(
6272
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6273
+ size_t count) {
6274
+ RustCallStatus status =
6275
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
6276
+ auto value = uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_pcm(
6277
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6278
+ args[0]),
6279
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
6280
+ uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[2]),
6281
+ &status);
6282
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
6283
+ rt, callInvoker, status, args[count - 1]);
6284
+
6285
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6286
+ value);
6287
+ }
6288
+ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_ruststtstream(
6289
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6290
+ size_t count) {
6291
+ RustCallStatus status =
6292
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
6293
+ auto value = uniffi_nobodywho_uniffi_fn_clone_ruststtstream(
6294
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6295
+ args[0]),
6296
+ &status);
6297
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
6298
+ rt, callInvoker, status, args[count - 1]);
6299
+
6300
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6301
+ value);
6302
+ }
6303
+ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_ruststtstream(
6304
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6305
+ size_t count) {
6306
+ RustCallStatus status =
6307
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
6308
+ uniffi_nobodywho_uniffi_fn_free_ruststtstream(
6309
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6310
+ args[0]),
6311
+ &status);
6312
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
6313
+ rt, callInvoker, status, args[count - 1]);
6314
+
6315
+ return jsi::Value::undefined();
6316
+ }
6317
+ jsi::Value
6318
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_ruststtstream_completed(
6319
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6320
+ size_t count) {
6321
+ auto value = uniffi_nobodywho_uniffi_fn_method_ruststtstream_completed(
6322
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6323
+ args[0]));
6324
+
6325
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6326
+ value);
6327
+ }
6328
+ jsi::Value
6329
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_ruststtstream_next_token(
6330
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6331
+ size_t count) {
6332
+ auto value = uniffi_nobodywho_uniffi_fn_method_ruststtstream_next_token(
6333
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6334
+ args[0]));
6335
+
6336
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6337
+ value);
6338
+ }
6339
+ jsi::Value
5545
6340
  NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rusttokenstream(
5546
6341
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
5547
6342
  size_t count) {
@@ -5700,6 +6495,90 @@ jsi::Value NativeNobodywho::
5700
6495
 
5701
6496
  return jsi::Value::undefined();
5702
6497
  }
6498
+ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rusttts(
6499
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6500
+ size_t count) {
6501
+ RustCallStatus status =
6502
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
6503
+ auto value = uniffi_nobodywho_uniffi_fn_clone_rusttts(
6504
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6505
+ args[0]),
6506
+ &status);
6507
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
6508
+ rt, callInvoker, status, args[count - 1]);
6509
+
6510
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6511
+ value);
6512
+ }
6513
+ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rusttts(
6514
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6515
+ size_t count) {
6516
+ RustCallStatus status =
6517
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
6518
+ uniffi_nobodywho_uniffi_fn_free_rusttts(
6519
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6520
+ args[0]),
6521
+ &status);
6522
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
6523
+ rt, callInvoker, status, args[count - 1]);
6524
+
6525
+ return jsi::Value::undefined();
6526
+ }
6527
+ jsi::Value
6528
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new(
6529
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6530
+ size_t count) {
6531
+ RustCallStatus status =
6532
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
6533
+ auto value = uniffi_nobodywho_uniffi_fn_constructor_rusttts_new(
6534
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
6535
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
6536
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
6537
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
6538
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]),
6539
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
6540
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[6]),
6541
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[7]),
6542
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[8]),
6543
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[9]),
6544
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
6545
+ args[10]),
6546
+ &status);
6547
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
6548
+ rt, callInvoker, status, args[count - 1]);
6549
+
6550
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6551
+ value);
6552
+ }
6553
+ jsi::Value
6554
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize(
6555
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6556
+ size_t count) {
6557
+ RustCallStatus status =
6558
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
6559
+ auto value = uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize(
6560
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6561
+ args[0]),
6562
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
6563
+ &status);
6564
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
6565
+ rt, callInvoker, status, args[count - 1]);
6566
+
6567
+ return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
6568
+ }
6569
+ jsi::Value
6570
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize_async(
6571
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6572
+ size_t count) {
6573
+ auto value = uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize_async(
6574
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6575
+ args[0]),
6576
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
6577
+ args[1]));
6578
+
6579
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6580
+ value);
6581
+ }
5703
6582
  jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_samplerbuilder(
5704
6583
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
5705
6584
  size_t count) {
@@ -6125,8 +7004,29 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_model(
6125
7004
  uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
6126
7005
  uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[1]),
6127
7006
  uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
7007
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
7008
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
7009
+ args[4]));
7010
+
7011
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
7012
+ value);
7013
+ }
7014
+ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_tts(
7015
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
7016
+ size_t count) {
7017
+ auto value = uniffi_nobodywho_uniffi_fn_func_load_tts(
7018
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
7019
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
7020
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
7021
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
7022
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]),
7023
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
7024
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[6]),
7025
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[7]),
7026
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[8]),
7027
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[9]),
6128
7028
  uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
6129
- args[3]));
7029
+ args[10]));
6130
7030
 
6131
7031
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6132
7032
  value);
@@ -6867,6 +7767,13 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_model(
6867
7767
 
6868
7768
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
6869
7769
  }
7770
+ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_tts(
7771
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
7772
+ size_t count) {
7773
+ auto value = uniffi_nobodywho_uniffi_checksum_func_load_tts();
7774
+
7775
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
7776
+ }
6870
7777
  jsi::Value NativeNobodywho::
6871
7778
  cpp_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_with_grammar(
6872
7779
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -6967,6 +7874,15 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask(
6967
7874
 
6968
7875
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
6969
7876
  }
7877
+ jsi::Value NativeNobodywho::
7878
+ cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_json_prompt(
7879
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
7880
+ size_t count) {
7881
+ auto value =
7882
+ uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_json_prompt();
7883
+
7884
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
7885
+ }
6970
7886
  jsi::Value NativeNobodywho::
6971
7887
  cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_prompt(
6972
7888
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -6994,6 +7910,14 @@ jsi::Value NativeNobodywho::
6994
7910
 
6995
7911
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
6996
7912
  }
7913
+ jsi::Value
7914
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_stats(
7915
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
7916
+ size_t count) {
7917
+ auto value = uniffi_nobodywho_uniffi_checksum_method_rustchat_get_stats();
7918
+
7919
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
7920
+ }
6997
7921
  jsi::Value NativeNobodywho::
6998
7922
  cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_system_prompt(
6999
7923
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -7012,6 +7936,15 @@ jsi::Value NativeNobodywho::
7012
7936
 
7013
7937
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
7014
7938
  }
7939
+ jsi::Value NativeNobodywho::
7940
+ cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_mtp_acceptance_rate(
7941
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
7942
+ size_t count) {
7943
+ auto value =
7944
+ uniffi_nobodywho_uniffi_checksum_method_rustchat_mtp_acceptance_rate();
7945
+
7946
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
7947
+ }
7015
7948
  jsi::Value NativeNobodywho::
7016
7949
  cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_reset_context(
7017
7950
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -7081,6 +8014,23 @@ jsi::Value NativeNobodywho::
7081
8014
 
7082
8015
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
7083
8016
  }
8017
+ jsi::Value
8018
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize(
8019
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
8020
+ size_t count) {
8021
+ auto value = uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize();
8022
+
8023
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8024
+ }
8025
+ jsi::Value NativeNobodywho::
8026
+ cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize_with_prompt(
8027
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
8028
+ size_t count) {
8029
+ auto value =
8030
+ uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize_with_prompt();
8031
+
8032
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8033
+ }
7084
8034
  jsi::Value NativeNobodywho::
7085
8035
  cpp_uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank(
7086
8036
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -7106,6 +8056,49 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode(
7106
8056
 
7107
8057
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
7108
8058
  }
8059
+ jsi::Value
8060
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
8061
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
8062
+ size_t count) {
8063
+ auto value = uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx();
8064
+
8065
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8066
+ }
8067
+ jsi::Value NativeNobodywho::
8068
+ cpp_uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_file(
8069
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
8070
+ size_t count) {
8071
+ auto value =
8072
+ uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_file();
8073
+
8074
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8075
+ }
8076
+ jsi::Value NativeNobodywho::
8077
+ cpp_uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_pcm(
8078
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
8079
+ size_t count) {
8080
+ auto value = uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_pcm();
8081
+
8082
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8083
+ }
8084
+ jsi::Value NativeNobodywho::
8085
+ cpp_uniffi_nobodywho_uniffi_checksum_method_ruststtstream_completed(
8086
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
8087
+ size_t count) {
8088
+ auto value =
8089
+ uniffi_nobodywho_uniffi_checksum_method_ruststtstream_completed();
8090
+
8091
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8092
+ }
8093
+ jsi::Value NativeNobodywho::
8094
+ cpp_uniffi_nobodywho_uniffi_checksum_method_ruststtstream_next_token(
8095
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
8096
+ size_t count) {
8097
+ auto value =
8098
+ uniffi_nobodywho_uniffi_checksum_method_ruststtstream_next_token();
8099
+
8100
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8101
+ }
7109
8102
  jsi::Value NativeNobodywho::
7110
8103
  cpp_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_completed(
7111
8104
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -7151,6 +8144,23 @@ jsi::Value NativeNobodywho::
7151
8144
 
7152
8145
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
7153
8146
  }
8147
+ jsi::Value
8148
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize(
8149
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
8150
+ size_t count) {
8151
+ auto value = uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize();
8152
+
8153
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8154
+ }
8155
+ jsi::Value NativeNobodywho::
8156
+ cpp_uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize_async(
8157
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
8158
+ size_t count) {
8159
+ auto value =
8160
+ uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize_async();
8161
+
8162
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8163
+ }
7154
8164
  jsi::Value NativeNobodywho::
7155
8165
  cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist(
7156
8166
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -7302,6 +8312,14 @@ jsi::Value NativeNobodywho::
7302
8312
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
7303
8313
  }
7304
8314
  jsi::Value
8315
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_constructor_ruststt_new(
8316
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
8317
+ size_t count) {
8318
+ auto value = uniffi_nobodywho_uniffi_checksum_constructor_ruststt_new();
8319
+
8320
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8321
+ }
8322
+ jsi::Value
7305
8323
  NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new(
7306
8324
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
7307
8325
  size_t count) {
@@ -7318,6 +8336,14 @@ jsi::Value NativeNobodywho::
7318
8336
 
7319
8337
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
7320
8338
  }
8339
+ jsi::Value
8340
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttts_new(
8341
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
8342
+ size_t count) {
8343
+ auto value = uniffi_nobodywho_uniffi_checksum_constructor_rusttts_new();
8344
+
8345
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8346
+ }
7321
8347
  jsi::Value NativeNobodywho::
7322
8348
  cpp_uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_new(
7323
8349
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,