@forbocai/browser 0.6.2 → 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 +80 -5
- package/dist/index.d.ts +80 -5
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -296,7 +296,17 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
296
296
|
}, "forbocApi", unknown>;
|
|
297
297
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
298
298
|
npcId: string;
|
|
299
|
-
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;
|
|
300
310
|
apiUrl: string;
|
|
301
311
|
apiKey?: string;
|
|
302
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>;
|
|
@@ -359,6 +369,11 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
359
369
|
};
|
|
360
370
|
apiUrl: string;
|
|
361
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;
|
|
362
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>;
|
|
363
378
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
364
379
|
cortexId: string;
|
|
@@ -493,7 +508,17 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
493
508
|
}, "forbocApi", unknown>;
|
|
494
509
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
495
510
|
npcId: string;
|
|
496
|
-
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;
|
|
497
522
|
apiUrl: string;
|
|
498
523
|
apiKey?: string;
|
|
499
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>;
|
|
@@ -556,6 +581,11 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
556
581
|
};
|
|
557
582
|
apiUrl: string;
|
|
558
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;
|
|
559
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>;
|
|
560
590
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
561
591
|
cortexId: string;
|
|
@@ -691,7 +721,17 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
691
721
|
}, "forbocApi", unknown>;
|
|
692
722
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
693
723
|
npcId: string;
|
|
694
|
-
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;
|
|
695
735
|
apiUrl: string;
|
|
696
736
|
apiKey?: string;
|
|
697
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>;
|
|
@@ -754,6 +794,11 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
754
794
|
};
|
|
755
795
|
apiUrl: string;
|
|
756
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;
|
|
757
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>;
|
|
758
803
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
759
804
|
cortexId: string;
|
|
@@ -888,7 +933,17 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
888
933
|
}, "forbocApi", unknown>;
|
|
889
934
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
890
935
|
npcId: string;
|
|
891
|
-
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;
|
|
892
947
|
apiUrl: string;
|
|
893
948
|
apiKey?: string;
|
|
894
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>;
|
|
@@ -951,6 +1006,11 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
951
1006
|
};
|
|
952
1007
|
apiUrl: string;
|
|
953
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;
|
|
954
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>;
|
|
955
1015
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
956
1016
|
cortexId: string;
|
|
@@ -1086,7 +1146,17 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
1086
1146
|
}, "forbocApi", unknown>;
|
|
1087
1147
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1088
1148
|
npcId: string;
|
|
1089
|
-
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;
|
|
1090
1160
|
apiUrl: string;
|
|
1091
1161
|
apiKey?: string;
|
|
1092
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>;
|
|
@@ -1149,6 +1219,11 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
1149
1219
|
};
|
|
1150
1220
|
apiUrl: string;
|
|
1151
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;
|
|
1152
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>;
|
|
1153
1228
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1154
1229
|
cortexId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -296,7 +296,17 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
296
296
|
}, "forbocApi", unknown>;
|
|
297
297
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
298
298
|
npcId: string;
|
|
299
|
-
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;
|
|
300
310
|
apiUrl: string;
|
|
301
311
|
apiKey?: string;
|
|
302
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>;
|
|
@@ -359,6 +369,11 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
359
369
|
};
|
|
360
370
|
apiUrl: string;
|
|
361
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;
|
|
362
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>;
|
|
363
378
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
364
379
|
cortexId: string;
|
|
@@ -493,7 +508,17 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
493
508
|
}, "forbocApi", unknown>;
|
|
494
509
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
495
510
|
npcId: string;
|
|
496
|
-
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;
|
|
497
522
|
apiUrl: string;
|
|
498
523
|
apiKey?: string;
|
|
499
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>;
|
|
@@ -556,6 +581,11 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
556
581
|
};
|
|
557
582
|
apiUrl: string;
|
|
558
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;
|
|
559
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>;
|
|
560
590
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
561
591
|
cortexId: string;
|
|
@@ -691,7 +721,17 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
691
721
|
}, "forbocApi", unknown>;
|
|
692
722
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
693
723
|
npcId: string;
|
|
694
|
-
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;
|
|
695
735
|
apiUrl: string;
|
|
696
736
|
apiKey?: string;
|
|
697
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>;
|
|
@@ -754,6 +794,11 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
754
794
|
};
|
|
755
795
|
apiUrl: string;
|
|
756
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;
|
|
757
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>;
|
|
758
803
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
759
804
|
cortexId: string;
|
|
@@ -888,7 +933,17 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
888
933
|
}, "forbocApi", unknown>;
|
|
889
934
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
890
935
|
npcId: string;
|
|
891
|
-
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;
|
|
892
947
|
apiUrl: string;
|
|
893
948
|
apiKey?: string;
|
|
894
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>;
|
|
@@ -951,6 +1006,11 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
951
1006
|
};
|
|
952
1007
|
apiUrl: string;
|
|
953
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;
|
|
954
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>;
|
|
955
1015
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
956
1016
|
cortexId: string;
|
|
@@ -1086,7 +1146,17 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
1086
1146
|
}, "forbocApi", unknown>;
|
|
1087
1147
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1088
1148
|
npcId: string;
|
|
1089
|
-
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;
|
|
1090
1160
|
apiUrl: string;
|
|
1091
1161
|
apiKey?: string;
|
|
1092
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>;
|
|
@@ -1149,6 +1219,11 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
1149
1219
|
};
|
|
1150
1220
|
apiUrl: string;
|
|
1151
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;
|
|
1152
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>;
|
|
1153
1228
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1154
1229
|
cortexId: string;
|
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",
|