@forbocai/core 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 CHANGED
@@ -283,6 +283,29 @@ interface GhostRunResponse {
283
283
  runStatus: string;
284
284
  }
285
285
 
286
+ interface ArweaveUploadInstruction {
287
+ auiEndpoint: string;
288
+ auiPayload: unknown;
289
+ auiContentType: string;
290
+ auiAuthHeader: string | null;
291
+ }
292
+ interface ArweaveUploadResult {
293
+ aurTxId: string;
294
+ aurStatus: number;
295
+ aurSuccess: boolean;
296
+ aurError?: string | null;
297
+ }
298
+ interface ArweaveDownloadInstruction {
299
+ adiGatewayUrl: string;
300
+ adiExpectedTxId: string;
301
+ }
302
+ interface ArweaveDownloadResult {
303
+ adrBody: unknown | null;
304
+ adrStatus: number;
305
+ adrSuccess: boolean;
306
+ adrError?: string | null;
307
+ }
308
+
286
309
  interface Soul {
287
310
  id: string;
288
311
  version: string;
@@ -302,6 +325,23 @@ interface SoulExportResponse {
302
325
  signature: string;
303
326
  soul: Soul;
304
327
  }
328
+ interface SoulExportPhase1Response {
329
+ se1Instruction: ArweaveUploadInstruction;
330
+ se1SignedPayload: unknown;
331
+ se1Signature: string;
332
+ }
333
+ interface SoulExportConfirmRequest {
334
+ secUploadResult: ArweaveUploadResult;
335
+ secSignedPayload: unknown;
336
+ secSignature: string;
337
+ }
338
+ interface SoulImportPhase1Response {
339
+ si1Instruction: ArweaveDownloadInstruction;
340
+ }
341
+ interface SoulImportConfirmRequest {
342
+ sicTxId: string;
343
+ sicDownloadResult: ArweaveDownloadResult;
344
+ }
305
345
  interface SoulExportResult {
306
346
  txId: string;
307
347
  url: string;
@@ -755,6 +795,11 @@ interface NPCInternalState {
755
795
  lastAction?: NPCAction;
756
796
  isBlocked: boolean;
757
797
  blockReason?: string;
798
+ stateLog: Array<{
799
+ timestamp: number;
800
+ delta: Partial<NPCState>;
801
+ state: NPCState;
802
+ }>;
758
803
  }
759
804
  declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCInternalState, string> & {
760
805
  activeNpcId: string;
@@ -784,6 +829,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
784
829
  } | undefined;
785
830
  isBlocked: boolean;
786
831
  blockReason?: string | undefined;
832
+ stateLog: {
833
+ timestamp: number;
834
+ delta: {
835
+ [x: string]: unknown;
836
+ };
837
+ state: {
838
+ [x: string]: unknown;
839
+ };
840
+ }[];
787
841
  };
788
842
  };
789
843
  activeNpcId: string;
@@ -817,6 +871,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
817
871
  } | undefined;
818
872
  isBlocked: boolean;
819
873
  blockReason?: string | undefined;
874
+ stateLog: {
875
+ timestamp: number;
876
+ delta: {
877
+ [x: string]: unknown;
878
+ };
879
+ state: {
880
+ [x: string]: unknown;
881
+ };
882
+ }[];
820
883
  };
821
884
  };
822
885
  activeNpcId: string;
@@ -846,6 +909,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
846
909
  } | undefined;
847
910
  isBlocked: boolean;
848
911
  blockReason?: string | undefined;
912
+ stateLog: {
913
+ timestamp: number;
914
+ delta: {
915
+ [x: string]: unknown;
916
+ };
917
+ state: {
918
+ [x: string]: unknown;
919
+ };
920
+ }[];
849
921
  };
850
922
  };
851
923
  activeNpcId: string;
@@ -878,6 +950,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
878
950
  } | undefined;
879
951
  isBlocked: boolean;
880
952
  blockReason?: string | undefined;
953
+ stateLog: {
954
+ timestamp: number;
955
+ delta: {
956
+ [x: string]: unknown;
957
+ };
958
+ state: {
959
+ [x: string]: unknown;
960
+ };
961
+ }[];
881
962
  };
882
963
  };
883
964
  activeNpcId: string;
@@ -910,6 +991,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
910
991
  } | undefined;
911
992
  isBlocked: boolean;
912
993
  blockReason?: string | undefined;
994
+ stateLog: {
995
+ timestamp: number;
996
+ delta: {
997
+ [x: string]: unknown;
998
+ };
999
+ state: {
1000
+ [x: string]: unknown;
1001
+ };
1002
+ }[];
913
1003
  };
914
1004
  };
915
1005
  activeNpcId: string;
@@ -943,6 +1033,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
943
1033
  } | undefined;
944
1034
  isBlocked: boolean;
945
1035
  blockReason?: string | undefined;
1036
+ stateLog: {
1037
+ timestamp: number;
1038
+ delta: {
1039
+ [x: string]: unknown;
1040
+ };
1041
+ state: {
1042
+ [x: string]: unknown;
1043
+ };
1044
+ }[];
946
1045
  };
947
1046
  };
948
1047
  activeNpcId: string;
@@ -978,6 +1077,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
978
1077
  } | undefined;
979
1078
  isBlocked: boolean;
980
1079
  blockReason?: string | undefined;
1080
+ stateLog: {
1081
+ timestamp: number;
1082
+ delta: {
1083
+ [x: string]: unknown;
1084
+ };
1085
+ state: {
1086
+ [x: string]: unknown;
1087
+ };
1088
+ }[];
981
1089
  };
982
1090
  };
983
1091
  activeNpcId: string;
@@ -1010,6 +1118,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
1010
1118
  } | undefined;
1011
1119
  isBlocked: boolean;
1012
1120
  blockReason?: string | undefined;
1121
+ stateLog: {
1122
+ timestamp: number;
1123
+ delta: {
1124
+ [x: string]: unknown;
1125
+ };
1126
+ state: {
1127
+ [x: string]: unknown;
1128
+ };
1129
+ }[];
1013
1130
  };
1014
1131
  };
1015
1132
  activeNpcId: string;
@@ -1042,6 +1159,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
1042
1159
  } | undefined;
1043
1160
  isBlocked: boolean;
1044
1161
  blockReason?: string | undefined;
1162
+ stateLog: {
1163
+ timestamp: number;
1164
+ delta: {
1165
+ [x: string]: unknown;
1166
+ };
1167
+ state: {
1168
+ [x: string]: unknown;
1169
+ };
1170
+ }[];
1045
1171
  };
1046
1172
  };
1047
1173
  activeNpcId: string;
@@ -1072,6 +1198,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
1072
1198
  } | undefined;
1073
1199
  isBlocked: boolean;
1074
1200
  blockReason?: string | undefined;
1201
+ stateLog: {
1202
+ timestamp: number;
1203
+ delta: {
1204
+ [x: string]: unknown;
1205
+ };
1206
+ state: {
1207
+ [x: string]: unknown;
1208
+ };
1209
+ }[];
1075
1210
  };
1076
1211
  };
1077
1212
  }>(state: boolean extends (S extends never ? true : false) ? _reduxjs_toolkit.EntityState<NPCInternalState, string> : S, key: string): S;
@@ -1100,6 +1235,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
1100
1235
  } | undefined;
1101
1236
  isBlocked: boolean;
1102
1237
  blockReason?: string | undefined;
1238
+ stateLog: {
1239
+ timestamp: number;
1240
+ delta: {
1241
+ [x: string]: unknown;
1242
+ };
1243
+ state: {
1244
+ [x: string]: unknown;
1245
+ };
1246
+ }[];
1103
1247
  };
1104
1248
  };
1105
1249
  }>(state: boolean extends (S extends never ? true : false) ? _reduxjs_toolkit.EntityState<NPCInternalState, string> : S, key: {
@@ -1249,7 +1393,17 @@ declare const selectNPCById: (state: {
1249
1393
  }, "forbocApi", unknown>;
1250
1394
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
1251
1395
  npcId: string;
1252
- request: any;
1396
+ request: {
1397
+ npcIdRef: string;
1398
+ persona: string;
1399
+ npcState: Record<string, unknown>;
1400
+ };
1401
+ apiUrl: string;
1402
+ apiKey?: string;
1403
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
1404
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
1405
+ npcId: string;
1406
+ request: SoulExportConfirmRequest;
1253
1407
  apiUrl: string;
1254
1408
  apiKey?: string;
1255
1409
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -1312,6 +1466,11 @@ declare const selectNPCById: (state: {
1312
1466
  };
1313
1467
  apiUrl: string;
1314
1468
  apiKey?: string;
1469
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
1470
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
1471
+ request: SoulImportConfirmRequest;
1472
+ apiUrl: string;
1473
+ apiKey?: string;
1315
1474
  }, _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", ImportedNpc, "forbocApi", unknown>;
1316
1475
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
1317
1476
  cortexId: string;
@@ -1353,6 +1512,11 @@ declare const selectNPCById: (state: {
1353
1512
  lastAction?: NPCAction | undefined;
1354
1513
  isBlocked: boolean;
1355
1514
  blockReason?: string | undefined;
1515
+ stateLog: Array<{
1516
+ timestamp: number;
1517
+ delta: Partial<NPCState>;
1518
+ state: NPCState;
1519
+ }>;
1356
1520
  };
1357
1521
  declare const selectNPCIds: (state: {
1358
1522
  [x: string]: /*elided*/ any;
@@ -1457,7 +1621,17 @@ declare const selectNPCIds: (state: {
1457
1621
  }, "forbocApi", unknown>;
1458
1622
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
1459
1623
  npcId: string;
1460
- request: any;
1624
+ request: {
1625
+ npcIdRef: string;
1626
+ persona: string;
1627
+ npcState: Record<string, unknown>;
1628
+ };
1629
+ apiUrl: string;
1630
+ apiKey?: string;
1631
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
1632
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
1633
+ npcId: string;
1634
+ request: SoulExportConfirmRequest;
1461
1635
  apiUrl: string;
1462
1636
  apiKey?: string;
1463
1637
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -1520,6 +1694,11 @@ declare const selectNPCIds: (state: {
1520
1694
  };
1521
1695
  apiUrl: string;
1522
1696
  apiKey?: string;
1697
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
1698
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
1699
+ request: SoulImportConfirmRequest;
1700
+ apiUrl: string;
1701
+ apiKey?: string;
1523
1702
  }, _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", ImportedNpc, "forbocApi", unknown>;
1524
1703
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
1525
1704
  cortexId: string;
@@ -1654,7 +1833,17 @@ declare const selectNPCEntities: (state: {
1654
1833
  }, "forbocApi", unknown>;
1655
1834
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
1656
1835
  npcId: string;
1657
- request: any;
1836
+ request: {
1837
+ npcIdRef: string;
1838
+ persona: string;
1839
+ npcState: Record<string, unknown>;
1840
+ };
1841
+ apiUrl: string;
1842
+ apiKey?: string;
1843
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
1844
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
1845
+ npcId: string;
1846
+ request: SoulExportConfirmRequest;
1658
1847
  apiUrl: string;
1659
1848
  apiKey?: string;
1660
1849
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -1717,6 +1906,11 @@ declare const selectNPCEntities: (state: {
1717
1906
  };
1718
1907
  apiUrl: string;
1719
1908
  apiKey?: string;
1909
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
1910
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
1911
+ request: SoulImportConfirmRequest;
1912
+ apiUrl: string;
1913
+ apiKey?: string;
1720
1914
  }, _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", ImportedNpc, "forbocApi", unknown>;
1721
1915
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
1722
1916
  cortexId: string;
@@ -1851,7 +2045,17 @@ declare const selectAllNPCs: (state: {
1851
2045
  }, "forbocApi", unknown>;
1852
2046
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
1853
2047
  npcId: string;
1854
- request: any;
2048
+ request: {
2049
+ npcIdRef: string;
2050
+ persona: string;
2051
+ npcState: Record<string, unknown>;
2052
+ };
2053
+ apiUrl: string;
2054
+ apiKey?: string;
2055
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
2056
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
2057
+ npcId: string;
2058
+ request: SoulExportConfirmRequest;
1855
2059
  apiUrl: string;
1856
2060
  apiKey?: string;
1857
2061
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -1914,6 +2118,11 @@ declare const selectAllNPCs: (state: {
1914
2118
  };
1915
2119
  apiUrl: string;
1916
2120
  apiKey?: string;
2121
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
2122
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
2123
+ request: SoulImportConfirmRequest;
2124
+ apiUrl: string;
2125
+ apiKey?: string;
1917
2126
  }, _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", ImportedNpc, "forbocApi", unknown>;
1918
2127
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
1919
2128
  cortexId: string;
@@ -2048,7 +2257,17 @@ declare const selectTotalNPCs: (state: {
2048
2257
  }, "forbocApi", unknown>;
2049
2258
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
2050
2259
  npcId: string;
2051
- request: any;
2260
+ request: {
2261
+ npcIdRef: string;
2262
+ persona: string;
2263
+ npcState: Record<string, unknown>;
2264
+ };
2265
+ apiUrl: string;
2266
+ apiKey?: string;
2267
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
2268
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
2269
+ npcId: string;
2270
+ request: SoulExportConfirmRequest;
2052
2271
  apiUrl: string;
2053
2272
  apiKey?: string;
2054
2273
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -2111,6 +2330,11 @@ declare const selectTotalNPCs: (state: {
2111
2330
  };
2112
2331
  apiUrl: string;
2113
2332
  apiKey?: string;
2333
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
2334
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
2335
+ request: SoulImportConfirmRequest;
2336
+ apiUrl: string;
2337
+ apiKey?: string;
2114
2338
  }, _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", ImportedNpc, "forbocApi", unknown>;
2115
2339
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
2116
2340
  cortexId: string;
@@ -2494,7 +2718,17 @@ declare const selectDirectiveById: (state: {
2494
2718
  }, "forbocApi", unknown>;
2495
2719
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
2496
2720
  npcId: string;
2497
- request: any;
2721
+ request: {
2722
+ npcIdRef: string;
2723
+ persona: string;
2724
+ npcState: Record<string, unknown>;
2725
+ };
2726
+ apiUrl: string;
2727
+ apiKey?: string;
2728
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
2729
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
2730
+ npcId: string;
2731
+ request: SoulExportConfirmRequest;
2498
2732
  apiUrl: string;
2499
2733
  apiKey?: string;
2500
2734
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -2557,6 +2791,11 @@ declare const selectDirectiveById: (state: {
2557
2791
  };
2558
2792
  apiUrl: string;
2559
2793
  apiKey?: string;
2794
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
2795
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
2796
+ request: SoulImportConfirmRequest;
2797
+ apiUrl: string;
2798
+ apiKey?: string;
2560
2799
  }, _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", ImportedNpc, "forbocApi", unknown>;
2561
2800
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
2562
2801
  cortexId: string;
@@ -2705,7 +2944,17 @@ declare const selectAllDirectives: (state: {
2705
2944
  }, "forbocApi", unknown>;
2706
2945
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
2707
2946
  npcId: string;
2708
- request: any;
2947
+ request: {
2948
+ npcIdRef: string;
2949
+ persona: string;
2950
+ npcState: Record<string, unknown>;
2951
+ };
2952
+ apiUrl: string;
2953
+ apiKey?: string;
2954
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
2955
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
2956
+ npcId: string;
2957
+ request: SoulExportConfirmRequest;
2709
2958
  apiUrl: string;
2710
2959
  apiKey?: string;
2711
2960
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -2768,6 +3017,11 @@ declare const selectAllDirectives: (state: {
2768
3017
  };
2769
3018
  apiUrl: string;
2770
3019
  apiKey?: string;
3020
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
3021
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
3022
+ request: SoulImportConfirmRequest;
3023
+ apiUrl: string;
3024
+ apiKey?: string;
2771
3025
  }, _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", ImportedNpc, "forbocApi", unknown>;
2772
3026
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
2773
3027
  cortexId: string;
@@ -2914,7 +3168,17 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
2914
3168
  }, "forbocApi", unknown>;
2915
3169
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
2916
3170
  npcId: string;
2917
- request: any;
3171
+ request: {
3172
+ npcIdRef: string;
3173
+ persona: string;
3174
+ npcState: Record<string, unknown>;
3175
+ };
3176
+ apiUrl: string;
3177
+ apiKey?: string;
3178
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
3179
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
3180
+ npcId: string;
3181
+ request: SoulExportConfirmRequest;
2918
3182
  apiUrl: string;
2919
3183
  apiKey?: string;
2920
3184
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -2977,6 +3241,11 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
2977
3241
  };
2978
3242
  apiUrl: string;
2979
3243
  apiKey?: string;
3244
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
3245
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
3246
+ request: SoulImportConfirmRequest;
3247
+ apiUrl: string;
3248
+ apiKey?: string;
2980
3249
  }, _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", ImportedNpc, "forbocApi", unknown>;
2981
3250
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
2982
3251
  cortexId: string;
@@ -3111,7 +3380,17 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
3111
3380
  }, "forbocApi", unknown>;
3112
3381
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
3113
3382
  npcId: string;
3114
- request: any;
3383
+ request: {
3384
+ npcIdRef: string;
3385
+ persona: string;
3386
+ npcState: Record<string, unknown>;
3387
+ };
3388
+ apiUrl: string;
3389
+ apiKey?: string;
3390
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
3391
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
3392
+ npcId: string;
3393
+ request: SoulExportConfirmRequest;
3115
3394
  apiUrl: string;
3116
3395
  apiKey?: string;
3117
3396
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -3174,6 +3453,11 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
3174
3453
  };
3175
3454
  apiUrl: string;
3176
3455
  apiKey?: string;
3456
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
3457
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
3458
+ request: SoulImportConfirmRequest;
3459
+ apiUrl: string;
3460
+ apiKey?: string;
3177
3461
  }, _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", ImportedNpc, "forbocApi", unknown>;
3178
3462
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
3179
3463
  cortexId: string;
@@ -3309,7 +3593,17 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
3309
3593
  }, "forbocApi", unknown>;
3310
3594
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
3311
3595
  npcId: string;
3312
- request: any;
3596
+ request: {
3597
+ npcIdRef: string;
3598
+ persona: string;
3599
+ npcState: Record<string, unknown>;
3600
+ };
3601
+ apiUrl: string;
3602
+ apiKey?: string;
3603
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
3604
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
3605
+ npcId: string;
3606
+ request: SoulExportConfirmRequest;
3313
3607
  apiUrl: string;
3314
3608
  apiKey?: string;
3315
3609
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -3372,6 +3666,11 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
3372
3666
  };
3373
3667
  apiUrl: string;
3374
3668
  apiKey?: string;
3669
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
3670
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
3671
+ request: SoulImportConfirmRequest;
3672
+ apiUrl: string;
3673
+ apiKey?: string;
3375
3674
  }, _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", ImportedNpc, "forbocApi", unknown>;
3376
3675
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
3377
3676
  cortexId: string;
@@ -3506,7 +3805,17 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
3506
3805
  }, "forbocApi", unknown>;
3507
3806
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
3508
3807
  npcId: string;
3509
- request: any;
3808
+ request: {
3809
+ npcIdRef: string;
3810
+ persona: string;
3811
+ npcState: Record<string, unknown>;
3812
+ };
3813
+ apiUrl: string;
3814
+ apiKey?: string;
3815
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
3816
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
3817
+ npcId: string;
3818
+ request: SoulExportConfirmRequest;
3510
3819
  apiUrl: string;
3511
3820
  apiKey?: string;
3512
3821
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -3569,6 +3878,11 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
3569
3878
  };
3570
3879
  apiUrl: string;
3571
3880
  apiKey?: string;
3881
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
3882
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
3883
+ request: SoulImportConfirmRequest;
3884
+ apiUrl: string;
3885
+ apiKey?: string;
3572
3886
  }, _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", ImportedNpc, "forbocApi", unknown>;
3573
3887
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
3574
3888
  cortexId: string;
@@ -3704,7 +4018,17 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
3704
4018
  }, "forbocApi", unknown>;
3705
4019
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
3706
4020
  npcId: string;
3707
- request: any;
4021
+ request: {
4022
+ npcIdRef: string;
4023
+ persona: string;
4024
+ npcState: Record<string, unknown>;
4025
+ };
4026
+ apiUrl: string;
4027
+ apiKey?: string;
4028
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
4029
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
4030
+ npcId: string;
4031
+ request: SoulExportConfirmRequest;
3708
4032
  apiUrl: string;
3709
4033
  apiKey?: string;
3710
4034
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -3767,6 +4091,11 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
3767
4091
  };
3768
4092
  apiUrl: string;
3769
4093
  apiKey?: string;
4094
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
4095
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
4096
+ request: SoulImportConfirmRequest;
4097
+ apiUrl: string;
4098
+ apiKey?: string;
3770
4099
  }, _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", ImportedNpc, "forbocApi", unknown>;
3771
4100
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
3772
4101
  cortexId: string;
@@ -3807,14 +4136,13 @@ interface SoulState {
3807
4136
  importStatus: 'idle' | 'importing' | 'success' | 'failed';
3808
4137
  lastExport: SoulExportResult | null;
3809
4138
  lastImport: Soul | null;
3810
- availableSouls: any[];
4139
+ availableSouls: unknown[];
3811
4140
  error: string | null;
3812
4141
  }
3813
4142
  declare const remoteExportSoulThunk: _reduxjs_toolkit.AsyncThunk<SoulExportResult, {
3814
4143
  npcId?: string;
3815
4144
  apiUrl?: string;
3816
4145
  apiKey?: string;
3817
- memories?: any[];
3818
4146
  }, {
3819
4147
  state: SDKState;
3820
4148
  rejectValue: string;
@@ -3839,7 +4167,7 @@ declare const importSoulFromArweaveThunk: _reduxjs_toolkit.AsyncThunk<Soul, {
3839
4167
  fulfilledMeta?: unknown;
3840
4168
  rejectedMeta?: unknown;
3841
4169
  }>;
3842
- declare const getSoulListThunk: _reduxjs_toolkit.AsyncThunk<any[], {
4170
+ declare const getSoulListThunk: _reduxjs_toolkit.AsyncThunk<unknown[], {
3843
4171
  limit?: number;
3844
4172
  apiUrl?: string;
3845
4173
  apiKey?: string;
@@ -3927,7 +4255,7 @@ declare const soulSlice: _reduxjs_toolkit.Slice<SoulState, {
3927
4255
  };
3928
4256
  signature?: string | undefined;
3929
4257
  } | null;
3930
- availableSouls: any[];
4258
+ availableSouls: unknown[];
3931
4259
  error: string | null;
3932
4260
  }) => void;
3933
4261
  }, "soul", "soul", _reduxjs_toolkit.SliceSelectors<SoulState>>;
@@ -4103,7 +4431,17 @@ declare const sdkApi: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.BaseQuer
4103
4431
  }, "forbocApi", unknown>;
4104
4432
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
4105
4433
  npcId: string;
4106
- request: any;
4434
+ request: {
4435
+ npcIdRef: string;
4436
+ persona: string;
4437
+ npcState: Record<string, unknown>;
4438
+ };
4439
+ apiUrl: string;
4440
+ apiKey?: string;
4441
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
4442
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
4443
+ npcId: string;
4444
+ request: SoulExportConfirmRequest;
4107
4445
  apiUrl: string;
4108
4446
  apiKey?: string;
4109
4447
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -4166,6 +4504,11 @@ declare const sdkApi: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.BaseQuer
4166
4504
  };
4167
4505
  apiUrl: string;
4168
4506
  apiKey?: string;
4507
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
4508
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
4509
+ request: SoulImportConfirmRequest;
4510
+ apiUrl: string;
4511
+ apiKey?: string;
4169
4512
  }, _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", ImportedNpc, "forbocApi", unknown>;
4170
4513
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
4171
4514
  cortexId: string;
@@ -4429,7 +4772,17 @@ declare const selectMemoryById: (state: {
4429
4772
  }, "forbocApi", unknown>;
4430
4773
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
4431
4774
  npcId: string;
4432
- request: any;
4775
+ request: {
4776
+ npcIdRef: string;
4777
+ persona: string;
4778
+ npcState: Record<string, unknown>;
4779
+ };
4780
+ apiUrl: string;
4781
+ apiKey?: string;
4782
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
4783
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
4784
+ npcId: string;
4785
+ request: SoulExportConfirmRequest;
4433
4786
  apiUrl: string;
4434
4787
  apiKey?: string;
4435
4788
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -4492,6 +4845,11 @@ declare const selectMemoryById: (state: {
4492
4845
  };
4493
4846
  apiUrl: string;
4494
4847
  apiKey?: string;
4848
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
4849
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
4850
+ request: SoulImportConfirmRequest;
4851
+ apiUrl: string;
4852
+ apiKey?: string;
4495
4853
  }, _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", ImportedNpc, "forbocApi", unknown>;
4496
4854
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
4497
4855
  cortexId: string;
@@ -4634,7 +4992,17 @@ declare const selectAllMemories: (state: {
4634
4992
  }, "forbocApi", unknown>;
4635
4993
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
4636
4994
  npcId: string;
4637
- request: any;
4995
+ request: {
4996
+ npcIdRef: string;
4997
+ persona: string;
4998
+ npcState: Record<string, unknown>;
4999
+ };
5000
+ apiUrl: string;
5001
+ apiKey?: string;
5002
+ }, _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", SoulExportPhase1Response, "forbocApi", unknown>;
5003
+ postSoulExportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
5004
+ npcId: string;
5005
+ request: SoulExportConfirmRequest;
4638
5006
  apiUrl: string;
4639
5007
  apiKey?: string;
4640
5008
  }, _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", SoulExportResponse, "forbocApi", unknown>;
@@ -4697,6 +5065,11 @@ declare const selectAllMemories: (state: {
4697
5065
  };
4698
5066
  apiUrl: string;
4699
5067
  apiKey?: string;
5068
+ }, _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", SoulImportPhase1Response, "forbocApi", unknown>;
5069
+ postNpcImportConfirm: _reduxjs_toolkit_query.MutationDefinition<{
5070
+ request: SoulImportConfirmRequest;
5071
+ apiUrl: string;
5072
+ apiKey?: string;
4700
5073
  }, _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", ImportedNpc, "forbocApi", unknown>;
4701
5074
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
4702
5075
  cortexId: string;
@@ -4840,4 +5213,7 @@ declare const clearMemoryRemoteThunk: _reduxjs_toolkit.AsyncThunk<any, {
4840
5213
  rejectedMeta?: unknown;
4841
5214
  }>;
4842
5215
 
4843
- export { type AgentConfig, type AgentResponse, type ApiStatusResponse, type BridgeRule, type BridgeState, type CompletionOptions, type ContextRequest, type ContextResponse, type CortexConfig, type CortexInitResponse, type CortexInternalState, type CortexModelInfo, type CortexStatus, type DirectiveRequest, type DirectiveResponse, type DirectiveRuleSet, type DirectiveRun, type ExecuteInferenceInstruction, type FinalizeInstruction, type GhostConfig, type GhostHistoryEntry, type GhostResults, type GhostRunResponse, type GhostState, type GhostStatus, type ICortex, type IMemory, type INPC, type IdentifyActorInstruction, type ImportedNpc, type MemoryItem, type MemoryRecallInstruction, type MemoryStoreInstruction, type NPCAction, type NPCInstruction, type NPCInternalState, type NPCProcessRequest, type NPCProcessResponse, type NPCState, type ProcessTape, type PromptConstraints, type QueryVectorInstruction, type RecalledMemory, type SDKDispatch, type SDKState, type SDKStore, SDK_VERSION, type Soul, type SoulConfig, type SoulExportResponse, type SoulExportResult, type SoulListResponse, type SoulState, type SoulVerifyResult, type ValidationContext, type ValidationResult, type ValidationRule, type VerdictRequest, type VerdictResponse, addToHistory, blockAction, bridgeSlice, checkApiStatusThunk, clearBlock, clearBridgeValidation, clearDirectivesForNpc, clearGhostSession, clearMemoryRemoteThunk, clearSoulState, completeRemoteThunk, contextComposed, cortexInitFailed, cortexInitStart, cortexInitSuccess, cortexSlice, createInitialState, createSDKStore, delay, deleteRulesetThunk, directiveReceived, directiveRunFailed, directiveRunStarted, directiveSlice, dispatch, exportToSoul, generateNPCId, getBridgeRulesThunk, getGhostHistoryThunk, getGhostResultsThunk, getGhostStatusThunk, getSoulListThunk, ghostSlice, importNpcFromSoulThunk, importSoulFromArweaveThunk, initRemoteCortexThunk, listCortexModelsThunk, listMemoryRemoteThunk, listRulePresetsThunk, listRulesetsThunk, loadBridgePresetThunk, localExportSoulThunk, memoise, memoiseAsync, memoryClear, memoryRecallFailed, memoryRecallStart, memoryRecallSuccess, memorySlice, memoryStoreFailed, memoryStoreStart, memoryStoreSuccess, npcSlice, pipe, processNPC, recallMemoryRemoteThunk, registerRulesetThunk, remoteExportSoulThunk, removeNPC, sdkApi, selectActiveDirective, selectActiveDirectiveId, selectActiveNPC, selectActiveNpcId, selectAllDirectives, selectAllMemories, selectAllNPCs, selectDirectiveById, selectLastRecalledMemories, selectMemoryById, selectNPCById, selectNPCEntities, selectNPCIds, selectTotalNPCs, setActiveNPC, setCortexStatus, setHistory, setLastAction, setNPCInfo, setNPCState, soulSlice, startGhostThunk, stopGhostThunk, store, storeMemoryRemoteThunk, streamFromCortex, streamFromCortexWithDelay, streamToCallback, streamToString, updateNPCState, updateNPCStateLocally, validateBridgeThunk, verdictValidated, verifySoulThunk };
5216
+ declare function handler_ArweaveUpload(instruction: ArweaveUploadInstruction, maxRetries?: number): Promise<ArweaveUploadResult>;
5217
+ declare function handler_ArweaveDownload(instruction: ArweaveDownloadInstruction): Promise<ArweaveDownloadResult>;
5218
+
5219
+ export { type AgentConfig, type AgentResponse, type ApiStatusResponse, type ArweaveDownloadInstruction, type ArweaveDownloadResult, type ArweaveUploadInstruction, type ArweaveUploadResult, type BridgeRule, type BridgeState, type CompletionOptions, type ContextRequest, type ContextResponse, type CortexConfig, type CortexInitResponse, type CortexInternalState, type CortexModelInfo, type CortexStatus, type DirectiveRequest, type DirectiveResponse, type DirectiveRuleSet, type DirectiveRun, type ExecuteInferenceInstruction, type FinalizeInstruction, type GhostConfig, type GhostHistoryEntry, type GhostResults, type GhostRunResponse, type GhostState, type GhostStatus, type ICortex, type IMemory, type INPC, type IdentifyActorInstruction, type ImportedNpc, type MemoryItem, type MemoryRecallInstruction, type MemoryStoreInstruction, type NPCAction, type NPCInstruction, type NPCInternalState, type NPCProcessRequest, type NPCProcessResponse, type NPCState, type ProcessTape, type PromptConstraints, type QueryVectorInstruction, type RecalledMemory, type SDKDispatch, type SDKState, type SDKStore, SDK_VERSION, type Soul, type SoulConfig, type SoulExportConfirmRequest, type SoulExportPhase1Response, type SoulExportResponse, type SoulExportResult, type SoulImportConfirmRequest, type SoulImportPhase1Response, type SoulListResponse, type SoulState, type SoulVerifyResult, type ValidationContext, type ValidationResult, type ValidationRule, type VerdictRequest, type VerdictResponse, addToHistory, blockAction, bridgeSlice, checkApiStatusThunk, clearBlock, clearBridgeValidation, clearDirectivesForNpc, clearGhostSession, clearMemoryRemoteThunk, clearSoulState, completeRemoteThunk, contextComposed, cortexInitFailed, cortexInitStart, cortexInitSuccess, cortexSlice, createInitialState, createSDKStore, delay, deleteRulesetThunk, directiveReceived, directiveRunFailed, directiveRunStarted, directiveSlice, dispatch, exportToSoul, generateNPCId, getBridgeRulesThunk, getGhostHistoryThunk, getGhostResultsThunk, getGhostStatusThunk, getSoulListThunk, ghostSlice, handler_ArweaveDownload, handler_ArweaveUpload, importNpcFromSoulThunk, importSoulFromArweaveThunk, initRemoteCortexThunk, listCortexModelsThunk, listMemoryRemoteThunk, listRulePresetsThunk, listRulesetsThunk, loadBridgePresetThunk, localExportSoulThunk, memoise, memoiseAsync, memoryClear, memoryRecallFailed, memoryRecallStart, memoryRecallSuccess, memorySlice, memoryStoreFailed, memoryStoreStart, memoryStoreSuccess, npcSlice, pipe, processNPC, recallMemoryRemoteThunk, registerRulesetThunk, remoteExportSoulThunk, removeNPC, sdkApi, selectActiveDirective, selectActiveDirectiveId, selectActiveNPC, selectActiveNpcId, selectAllDirectives, selectAllMemories, selectAllNPCs, selectDirectiveById, selectLastRecalledMemories, selectMemoryById, selectNPCById, selectNPCEntities, selectNPCIds, selectTotalNPCs, setActiveNPC, setCortexStatus, setHistory, setLastAction, setNPCInfo, setNPCState, soulSlice, startGhostThunk, stopGhostThunk, store, storeMemoryRemoteThunk, streamFromCortex, streamFromCortexWithDelay, streamToCallback, streamToString, updateNPCState, updateNPCStateLocally, validateBridgeThunk, verdictValidated, verifySoulThunk };