@forbocai/browser 0.6.1 → 0.6.3
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/dist/index.d.mts +110 -5
- package/dist/index.d.ts +110 -5
- package/dist/index.js +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -208,6 +208,12 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
208
208
|
apiUrl: string;
|
|
209
209
|
apiKey?: string;
|
|
210
210
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
|
|
211
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
212
|
+
npcId: string;
|
|
213
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
214
|
+
apiUrl: string;
|
|
215
|
+
apiKey?: string;
|
|
216
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.NPCProcessResponse, "forbocApi", unknown>;
|
|
211
217
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
212
218
|
npcId: string;
|
|
213
219
|
request: _forbocai_core.DirectiveRequest;
|
|
@@ -290,7 +296,17 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
290
296
|
}, "forbocApi", unknown>;
|
|
291
297
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
292
298
|
npcId: string;
|
|
293
|
-
request:
|
|
299
|
+
request: {
|
|
300
|
+
npcIdRef: string;
|
|
301
|
+
persona: string;
|
|
302
|
+
npcState: Record<string, unknown>;
|
|
303
|
+
};
|
|
304
|
+
apiUrl: string;
|
|
305
|
+
apiKey?: string;
|
|
306
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportPhase1Response, "forbocApi", unknown>;
|
|
307
|
+
postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
308
|
+
npcId: string;
|
|
309
|
+
request: _forbocai_core.SoulExportConfirmRequest;
|
|
294
310
|
apiUrl: string;
|
|
295
311
|
apiKey?: string;
|
|
296
312
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
|
|
@@ -353,6 +369,11 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
353
369
|
};
|
|
354
370
|
apiUrl: string;
|
|
355
371
|
apiKey?: string;
|
|
372
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulImportPhase1Response, "forbocApi", unknown>;
|
|
373
|
+
postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
374
|
+
request: _forbocai_core.SoulImportConfirmRequest;
|
|
375
|
+
apiUrl: string;
|
|
376
|
+
apiKey?: string;
|
|
356
377
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
|
|
357
378
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
358
379
|
cortexId: string;
|
|
@@ -399,6 +420,12 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
399
420
|
apiUrl: string;
|
|
400
421
|
apiKey?: string;
|
|
401
422
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
|
|
423
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
424
|
+
npcId: string;
|
|
425
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
426
|
+
apiUrl: string;
|
|
427
|
+
apiKey?: string;
|
|
428
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.NPCProcessResponse, "forbocApi", unknown>;
|
|
402
429
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
403
430
|
npcId: string;
|
|
404
431
|
request: _forbocai_core.DirectiveRequest;
|
|
@@ -481,7 +508,17 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
481
508
|
}, "forbocApi", unknown>;
|
|
482
509
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
483
510
|
npcId: string;
|
|
484
|
-
request:
|
|
511
|
+
request: {
|
|
512
|
+
npcIdRef: string;
|
|
513
|
+
persona: string;
|
|
514
|
+
npcState: Record<string, unknown>;
|
|
515
|
+
};
|
|
516
|
+
apiUrl: string;
|
|
517
|
+
apiKey?: string;
|
|
518
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportPhase1Response, "forbocApi", unknown>;
|
|
519
|
+
postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
520
|
+
npcId: string;
|
|
521
|
+
request: _forbocai_core.SoulExportConfirmRequest;
|
|
485
522
|
apiUrl: string;
|
|
486
523
|
apiKey?: string;
|
|
487
524
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
|
|
@@ -544,6 +581,11 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
544
581
|
};
|
|
545
582
|
apiUrl: string;
|
|
546
583
|
apiKey?: string;
|
|
584
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulImportPhase1Response, "forbocApi", unknown>;
|
|
585
|
+
postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
586
|
+
request: _forbocai_core.SoulImportConfirmRequest;
|
|
587
|
+
apiUrl: string;
|
|
588
|
+
apiKey?: string;
|
|
547
589
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
|
|
548
590
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
549
591
|
cortexId: string;
|
|
@@ -591,6 +633,12 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
591
633
|
apiUrl: string;
|
|
592
634
|
apiKey?: string;
|
|
593
635
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
|
|
636
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
637
|
+
npcId: string;
|
|
638
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
639
|
+
apiUrl: string;
|
|
640
|
+
apiKey?: string;
|
|
641
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.NPCProcessResponse, "forbocApi", unknown>;
|
|
594
642
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
595
643
|
npcId: string;
|
|
596
644
|
request: _forbocai_core.DirectiveRequest;
|
|
@@ -673,7 +721,17 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
673
721
|
}, "forbocApi", unknown>;
|
|
674
722
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
675
723
|
npcId: string;
|
|
676
|
-
request:
|
|
724
|
+
request: {
|
|
725
|
+
npcIdRef: string;
|
|
726
|
+
persona: string;
|
|
727
|
+
npcState: Record<string, unknown>;
|
|
728
|
+
};
|
|
729
|
+
apiUrl: string;
|
|
730
|
+
apiKey?: string;
|
|
731
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportPhase1Response, "forbocApi", unknown>;
|
|
732
|
+
postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
733
|
+
npcId: string;
|
|
734
|
+
request: _forbocai_core.SoulExportConfirmRequest;
|
|
677
735
|
apiUrl: string;
|
|
678
736
|
apiKey?: string;
|
|
679
737
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
|
|
@@ -736,6 +794,11 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
736
794
|
};
|
|
737
795
|
apiUrl: string;
|
|
738
796
|
apiKey?: string;
|
|
797
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulImportPhase1Response, "forbocApi", unknown>;
|
|
798
|
+
postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
799
|
+
request: _forbocai_core.SoulImportConfirmRequest;
|
|
800
|
+
apiUrl: string;
|
|
801
|
+
apiKey?: string;
|
|
739
802
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
|
|
740
803
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
741
804
|
cortexId: string;
|
|
@@ -782,6 +845,12 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
782
845
|
apiUrl: string;
|
|
783
846
|
apiKey?: string;
|
|
784
847
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
|
|
848
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
849
|
+
npcId: string;
|
|
850
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
851
|
+
apiUrl: string;
|
|
852
|
+
apiKey?: string;
|
|
853
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.NPCProcessResponse, "forbocApi", unknown>;
|
|
785
854
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
786
855
|
npcId: string;
|
|
787
856
|
request: _forbocai_core.DirectiveRequest;
|
|
@@ -864,7 +933,17 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
864
933
|
}, "forbocApi", unknown>;
|
|
865
934
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
866
935
|
npcId: string;
|
|
867
|
-
request:
|
|
936
|
+
request: {
|
|
937
|
+
npcIdRef: string;
|
|
938
|
+
persona: string;
|
|
939
|
+
npcState: Record<string, unknown>;
|
|
940
|
+
};
|
|
941
|
+
apiUrl: string;
|
|
942
|
+
apiKey?: string;
|
|
943
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportPhase1Response, "forbocApi", unknown>;
|
|
944
|
+
postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
945
|
+
npcId: string;
|
|
946
|
+
request: _forbocai_core.SoulExportConfirmRequest;
|
|
868
947
|
apiUrl: string;
|
|
869
948
|
apiKey?: string;
|
|
870
949
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
|
|
@@ -927,6 +1006,11 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
927
1006
|
};
|
|
928
1007
|
apiUrl: string;
|
|
929
1008
|
apiKey?: string;
|
|
1009
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulImportPhase1Response, "forbocApi", unknown>;
|
|
1010
|
+
postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1011
|
+
request: _forbocai_core.SoulImportConfirmRequest;
|
|
1012
|
+
apiUrl: string;
|
|
1013
|
+
apiKey?: string;
|
|
930
1014
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
|
|
931
1015
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
932
1016
|
cortexId: string;
|
|
@@ -974,6 +1058,12 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
974
1058
|
apiUrl: string;
|
|
975
1059
|
apiKey?: string;
|
|
976
1060
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
|
|
1061
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1062
|
+
npcId: string;
|
|
1063
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
1064
|
+
apiUrl: string;
|
|
1065
|
+
apiKey?: string;
|
|
1066
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.NPCProcessResponse, "forbocApi", unknown>;
|
|
977
1067
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
978
1068
|
npcId: string;
|
|
979
1069
|
request: _forbocai_core.DirectiveRequest;
|
|
@@ -1056,7 +1146,17 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
1056
1146
|
}, "forbocApi", unknown>;
|
|
1057
1147
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1058
1148
|
npcId: string;
|
|
1059
|
-
request:
|
|
1149
|
+
request: {
|
|
1150
|
+
npcIdRef: string;
|
|
1151
|
+
persona: string;
|
|
1152
|
+
npcState: Record<string, unknown>;
|
|
1153
|
+
};
|
|
1154
|
+
apiUrl: string;
|
|
1155
|
+
apiKey?: string;
|
|
1156
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportPhase1Response, "forbocApi", unknown>;
|
|
1157
|
+
postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1158
|
+
npcId: string;
|
|
1159
|
+
request: _forbocai_core.SoulExportConfirmRequest;
|
|
1060
1160
|
apiUrl: string;
|
|
1061
1161
|
apiKey?: string;
|
|
1062
1162
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
|
|
@@ -1119,6 +1219,11 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
1119
1219
|
};
|
|
1120
1220
|
apiUrl: string;
|
|
1121
1221
|
apiKey?: string;
|
|
1222
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulImportPhase1Response, "forbocApi", unknown>;
|
|
1223
|
+
postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1224
|
+
request: _forbocai_core.SoulImportConfirmRequest;
|
|
1225
|
+
apiUrl: string;
|
|
1226
|
+
apiKey?: string;
|
|
1122
1227
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
|
|
1123
1228
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1124
1229
|
cortexId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -208,6 +208,12 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
208
208
|
apiUrl: string;
|
|
209
209
|
apiKey?: string;
|
|
210
210
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
|
|
211
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
212
|
+
npcId: string;
|
|
213
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
214
|
+
apiUrl: string;
|
|
215
|
+
apiKey?: string;
|
|
216
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.NPCProcessResponse, "forbocApi", unknown>;
|
|
211
217
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
212
218
|
npcId: string;
|
|
213
219
|
request: _forbocai_core.DirectiveRequest;
|
|
@@ -290,7 +296,17 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
290
296
|
}, "forbocApi", unknown>;
|
|
291
297
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
292
298
|
npcId: string;
|
|
293
|
-
request:
|
|
299
|
+
request: {
|
|
300
|
+
npcIdRef: string;
|
|
301
|
+
persona: string;
|
|
302
|
+
npcState: Record<string, unknown>;
|
|
303
|
+
};
|
|
304
|
+
apiUrl: string;
|
|
305
|
+
apiKey?: string;
|
|
306
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportPhase1Response, "forbocApi", unknown>;
|
|
307
|
+
postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
308
|
+
npcId: string;
|
|
309
|
+
request: _forbocai_core.SoulExportConfirmRequest;
|
|
294
310
|
apiUrl: string;
|
|
295
311
|
apiKey?: string;
|
|
296
312
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
|
|
@@ -353,6 +369,11 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
353
369
|
};
|
|
354
370
|
apiUrl: string;
|
|
355
371
|
apiKey?: string;
|
|
372
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulImportPhase1Response, "forbocApi", unknown>;
|
|
373
|
+
postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
374
|
+
request: _forbocai_core.SoulImportConfirmRequest;
|
|
375
|
+
apiUrl: string;
|
|
376
|
+
apiKey?: string;
|
|
356
377
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
|
|
357
378
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
358
379
|
cortexId: string;
|
|
@@ -399,6 +420,12 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
399
420
|
apiUrl: string;
|
|
400
421
|
apiKey?: string;
|
|
401
422
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
|
|
423
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
424
|
+
npcId: string;
|
|
425
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
426
|
+
apiUrl: string;
|
|
427
|
+
apiKey?: string;
|
|
428
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.NPCProcessResponse, "forbocApi", unknown>;
|
|
402
429
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
403
430
|
npcId: string;
|
|
404
431
|
request: _forbocai_core.DirectiveRequest;
|
|
@@ -481,7 +508,17 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
481
508
|
}, "forbocApi", unknown>;
|
|
482
509
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
483
510
|
npcId: string;
|
|
484
|
-
request:
|
|
511
|
+
request: {
|
|
512
|
+
npcIdRef: string;
|
|
513
|
+
persona: string;
|
|
514
|
+
npcState: Record<string, unknown>;
|
|
515
|
+
};
|
|
516
|
+
apiUrl: string;
|
|
517
|
+
apiKey?: string;
|
|
518
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportPhase1Response, "forbocApi", unknown>;
|
|
519
|
+
postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
520
|
+
npcId: string;
|
|
521
|
+
request: _forbocai_core.SoulExportConfirmRequest;
|
|
485
522
|
apiUrl: string;
|
|
486
523
|
apiKey?: string;
|
|
487
524
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
|
|
@@ -544,6 +581,11 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
544
581
|
};
|
|
545
582
|
apiUrl: string;
|
|
546
583
|
apiKey?: string;
|
|
584
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulImportPhase1Response, "forbocApi", unknown>;
|
|
585
|
+
postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
586
|
+
request: _forbocai_core.SoulImportConfirmRequest;
|
|
587
|
+
apiUrl: string;
|
|
588
|
+
apiKey?: string;
|
|
547
589
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
|
|
548
590
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
549
591
|
cortexId: string;
|
|
@@ -591,6 +633,12 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
591
633
|
apiUrl: string;
|
|
592
634
|
apiKey?: string;
|
|
593
635
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
|
|
636
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
637
|
+
npcId: string;
|
|
638
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
639
|
+
apiUrl: string;
|
|
640
|
+
apiKey?: string;
|
|
641
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.NPCProcessResponse, "forbocApi", unknown>;
|
|
594
642
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
595
643
|
npcId: string;
|
|
596
644
|
request: _forbocai_core.DirectiveRequest;
|
|
@@ -673,7 +721,17 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
673
721
|
}, "forbocApi", unknown>;
|
|
674
722
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
675
723
|
npcId: string;
|
|
676
|
-
request:
|
|
724
|
+
request: {
|
|
725
|
+
npcIdRef: string;
|
|
726
|
+
persona: string;
|
|
727
|
+
npcState: Record<string, unknown>;
|
|
728
|
+
};
|
|
729
|
+
apiUrl: string;
|
|
730
|
+
apiKey?: string;
|
|
731
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportPhase1Response, "forbocApi", unknown>;
|
|
732
|
+
postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
733
|
+
npcId: string;
|
|
734
|
+
request: _forbocai_core.SoulExportConfirmRequest;
|
|
677
735
|
apiUrl: string;
|
|
678
736
|
apiKey?: string;
|
|
679
737
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
|
|
@@ -736,6 +794,11 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
736
794
|
};
|
|
737
795
|
apiUrl: string;
|
|
738
796
|
apiKey?: string;
|
|
797
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulImportPhase1Response, "forbocApi", unknown>;
|
|
798
|
+
postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
799
|
+
request: _forbocai_core.SoulImportConfirmRequest;
|
|
800
|
+
apiUrl: string;
|
|
801
|
+
apiKey?: string;
|
|
739
802
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
|
|
740
803
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
741
804
|
cortexId: string;
|
|
@@ -782,6 +845,12 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
782
845
|
apiUrl: string;
|
|
783
846
|
apiKey?: string;
|
|
784
847
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
|
|
848
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
849
|
+
npcId: string;
|
|
850
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
851
|
+
apiUrl: string;
|
|
852
|
+
apiKey?: string;
|
|
853
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.NPCProcessResponse, "forbocApi", unknown>;
|
|
785
854
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
786
855
|
npcId: string;
|
|
787
856
|
request: _forbocai_core.DirectiveRequest;
|
|
@@ -864,7 +933,17 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
864
933
|
}, "forbocApi", unknown>;
|
|
865
934
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
866
935
|
npcId: string;
|
|
867
|
-
request:
|
|
936
|
+
request: {
|
|
937
|
+
npcIdRef: string;
|
|
938
|
+
persona: string;
|
|
939
|
+
npcState: Record<string, unknown>;
|
|
940
|
+
};
|
|
941
|
+
apiUrl: string;
|
|
942
|
+
apiKey?: string;
|
|
943
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportPhase1Response, "forbocApi", unknown>;
|
|
944
|
+
postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
945
|
+
npcId: string;
|
|
946
|
+
request: _forbocai_core.SoulExportConfirmRequest;
|
|
868
947
|
apiUrl: string;
|
|
869
948
|
apiKey?: string;
|
|
870
949
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
|
|
@@ -927,6 +1006,11 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
927
1006
|
};
|
|
928
1007
|
apiUrl: string;
|
|
929
1008
|
apiKey?: string;
|
|
1009
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulImportPhase1Response, "forbocApi", unknown>;
|
|
1010
|
+
postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1011
|
+
request: _forbocai_core.SoulImportConfirmRequest;
|
|
1012
|
+
apiUrl: string;
|
|
1013
|
+
apiKey?: string;
|
|
930
1014
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
|
|
931
1015
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
932
1016
|
cortexId: string;
|
|
@@ -974,6 +1058,12 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
974
1058
|
apiUrl: string;
|
|
975
1059
|
apiKey?: string;
|
|
976
1060
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
|
|
1061
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1062
|
+
npcId: string;
|
|
1063
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
1064
|
+
apiUrl: string;
|
|
1065
|
+
apiKey?: string;
|
|
1066
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.NPCProcessResponse, "forbocApi", unknown>;
|
|
977
1067
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
978
1068
|
npcId: string;
|
|
979
1069
|
request: _forbocai_core.DirectiveRequest;
|
|
@@ -1056,7 +1146,17 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
1056
1146
|
}, "forbocApi", unknown>;
|
|
1057
1147
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1058
1148
|
npcId: string;
|
|
1059
|
-
request:
|
|
1149
|
+
request: {
|
|
1150
|
+
npcIdRef: string;
|
|
1151
|
+
persona: string;
|
|
1152
|
+
npcState: Record<string, unknown>;
|
|
1153
|
+
};
|
|
1154
|
+
apiUrl: string;
|
|
1155
|
+
apiKey?: string;
|
|
1156
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportPhase1Response, "forbocApi", unknown>;
|
|
1157
|
+
postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1158
|
+
npcId: string;
|
|
1159
|
+
request: _forbocai_core.SoulExportConfirmRequest;
|
|
1060
1160
|
apiUrl: string;
|
|
1061
1161
|
apiKey?: string;
|
|
1062
1162
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
|
|
@@ -1119,6 +1219,11 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
1119
1219
|
};
|
|
1120
1220
|
apiUrl: string;
|
|
1121
1221
|
apiKey?: string;
|
|
1222
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulImportPhase1Response, "forbocApi", unknown>;
|
|
1223
|
+
postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1224
|
+
request: _forbocai_core.SoulImportConfirmRequest;
|
|
1225
|
+
apiUrl: string;
|
|
1226
|
+
apiKey?: string;
|
|
1122
1227
|
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
|
|
1123
1228
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1124
1229
|
cortexId: string;
|
package/dist/index.js
CHANGED
|
@@ -305,7 +305,10 @@ var recallBrowserMemoryThunk = (0, import_toolkit3.createAsyncThunk)(
|
|
|
305
305
|
similarity: threshold,
|
|
306
306
|
limit
|
|
307
307
|
});
|
|
308
|
-
const items = results.hits.map((hit) =>
|
|
308
|
+
const items = results.hits.map((hit) => ({
|
|
309
|
+
...hit.document,
|
|
310
|
+
similarity: hit.score
|
|
311
|
+
}));
|
|
309
312
|
dispatch2((0, import_core2.memoryRecallSuccess)(items));
|
|
310
313
|
return items;
|
|
311
314
|
} catch (e) {
|
package/dist/index.mjs
CHANGED
|
@@ -247,7 +247,10 @@ var recallBrowserMemoryThunk = createAsyncThunk3(
|
|
|
247
247
|
similarity: threshold,
|
|
248
248
|
limit
|
|
249
249
|
});
|
|
250
|
-
const items = results.hits.map((hit) =>
|
|
250
|
+
const items = results.hits.map((hit) => ({
|
|
251
|
+
...hit.document,
|
|
252
|
+
similarity: hit.score
|
|
253
|
+
}));
|
|
251
254
|
dispatch2(memoryRecallSuccess(items));
|
|
252
255
|
return items;
|
|
253
256
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forbocai/browser",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "Web Browser implementation for ForbocAI SDK",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"test": "vitest"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@forbocai/core": "^0.6.
|
|
15
|
+
"@forbocai/core": "^0.6.3",
|
|
16
16
|
"@huggingface/transformers": "^3.0.0",
|
|
17
17
|
"@mlc-ai/web-llm": "^0.2.46",
|
|
18
18
|
"@orama/orama": "^2.0.26",
|