@forbocai/core 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 CHANGED
@@ -37,6 +37,7 @@ interface MemoryItem {
37
37
  timestamp: number;
38
38
  type: string;
39
39
  importance: number;
40
+ similarity?: number;
40
41
  }
41
42
  interface IMemory {
42
43
  store(text: string, type?: string, importance?: number): Promise<MemoryItem>;
@@ -121,6 +122,95 @@ interface VerdictResponse {
121
122
  action?: NPCAction;
122
123
  dialogue: string;
123
124
  }
125
+ /**
126
+ * User Story: As the SDK runtime, I need one accumulated "tape" payload that
127
+ * is echoed to the API each turn so orchestration remains stateless.
128
+ * ᚠ the tape hums like a cold star map passed hand to hand in the dark.
129
+ */
130
+ interface ProcessTape {
131
+ observation: string;
132
+ context: Record<string, unknown>;
133
+ npcState: Record<string, unknown>;
134
+ persona?: string;
135
+ actor?: {
136
+ npcId: string;
137
+ persona: string;
138
+ data?: Record<string, unknown>;
139
+ };
140
+ memories: RecalledMemory[];
141
+ prompt?: string;
142
+ constraints?: PromptConstraints;
143
+ generatedOutput?: string;
144
+ rulesetId?: string;
145
+ vectorQueried?: boolean;
146
+ }
147
+ /**
148
+ * User Story: As the API orchestrator, I need the SDK to perform actor lookup
149
+ * as an explicit atomic side-effect.
150
+ * A tiny identity ping echoes through the hull before the engines spin.
151
+ */
152
+ interface IdentifyActorInstruction {
153
+ type: 'IdentifyActor';
154
+ }
155
+ /**
156
+ * User Story: As the API orchestrator, I need vector recall to be an explicit
157
+ * instruction with concrete query parameters.
158
+ * ᚢ one sharp memory sweep, like scanning ruins with a single beam.
159
+ */
160
+ interface QueryVectorInstruction {
161
+ type: 'QueryVector';
162
+ query: string;
163
+ limit: number;
164
+ threshold: number;
165
+ }
166
+ /**
167
+ * User Story: As the API orchestrator, I need local inference to execute from
168
+ * an API-provided prompt and constraints with zero SDK initiative.
169
+ * The body stays quiet and obedient while the mind scripts the pulse.
170
+ */
171
+ interface ExecuteInferenceInstruction {
172
+ type: 'ExecuteInference';
173
+ prompt: string;
174
+ constraints: PromptConstraints;
175
+ }
176
+ /**
177
+ * User Story: As the API orchestrator, I need a terminal instruction that
178
+ * carries validated output plus persistence instructions for the SDK.
179
+ * ᚱ this is the seal at the airlock when the cycle clicks shut.
180
+ */
181
+ interface FinalizeInstruction {
182
+ type: 'Finalize';
183
+ valid: boolean;
184
+ signature?: string;
185
+ memoryStore: MemoryStoreInstruction[];
186
+ stateTransform: Record<string, unknown>;
187
+ action?: NPCAction;
188
+ dialogue: string;
189
+ }
190
+ /**
191
+ * User Story: As protocol typing, I need one discriminated union for atomic
192
+ * instructions so handler dispatch is deterministic.
193
+ * Every branch gets its own rune and none of the wires pretend to be another.
194
+ */
195
+ type NPCInstruction = IdentifyActorInstruction | QueryVectorInstruction | ExecuteInferenceInstruction | FinalizeInstruction;
196
+ /**
197
+ * User Story: As the API loop transport, I need request shape consistency for
198
+ * the full tape and previous side-effect result.
199
+ * The packet stays rigid so the void between hops does not eat context.
200
+ */
201
+ interface NPCProcessRequest {
202
+ tape: ProcessTape;
203
+ lastResult?: Record<string, unknown>;
204
+ }
205
+ /**
206
+ * User Story: As the SDK interpreter, I need the next instruction packaged
207
+ * with the updated tape every round-trip.
208
+ * ᚲ each return frame is one breadcrumb and one command rune forward.
209
+ */
210
+ interface NPCProcessResponse {
211
+ instruction: NPCInstruction;
212
+ tape: ProcessTape;
213
+ }
124
214
 
125
215
  interface ValidationContext {
126
216
  npcState?: Record<string, unknown>;
@@ -193,6 +283,29 @@ interface GhostRunResponse {
193
283
  runStatus: string;
194
284
  }
195
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
+
196
309
  interface Soul {
197
310
  id: string;
198
311
  version: string;
@@ -212,6 +325,23 @@ interface SoulExportResponse {
212
325
  signature: string;
213
326
  soul: Soul;
214
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
+ }
215
345
  interface SoulExportResult {
216
346
  txId: string;
217
347
  url: string;
@@ -665,6 +795,11 @@ interface NPCInternalState {
665
795
  lastAction?: NPCAction;
666
796
  isBlocked: boolean;
667
797
  blockReason?: string;
798
+ stateLog: Array<{
799
+ timestamp: number;
800
+ delta: Partial<NPCState>;
801
+ state: NPCState;
802
+ }>;
668
803
  }
669
804
  declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCInternalState, string> & {
670
805
  activeNpcId: string;
@@ -694,6 +829,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
694
829
  } | undefined;
695
830
  isBlocked: boolean;
696
831
  blockReason?: string | undefined;
832
+ stateLog: {
833
+ timestamp: number;
834
+ delta: {
835
+ [x: string]: unknown;
836
+ };
837
+ state: {
838
+ [x: string]: unknown;
839
+ };
840
+ }[];
697
841
  };
698
842
  };
699
843
  activeNpcId: string;
@@ -727,6 +871,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
727
871
  } | undefined;
728
872
  isBlocked: boolean;
729
873
  blockReason?: string | undefined;
874
+ stateLog: {
875
+ timestamp: number;
876
+ delta: {
877
+ [x: string]: unknown;
878
+ };
879
+ state: {
880
+ [x: string]: unknown;
881
+ };
882
+ }[];
730
883
  };
731
884
  };
732
885
  activeNpcId: string;
@@ -756,6 +909,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
756
909
  } | undefined;
757
910
  isBlocked: boolean;
758
911
  blockReason?: string | undefined;
912
+ stateLog: {
913
+ timestamp: number;
914
+ delta: {
915
+ [x: string]: unknown;
916
+ };
917
+ state: {
918
+ [x: string]: unknown;
919
+ };
920
+ }[];
759
921
  };
760
922
  };
761
923
  activeNpcId: string;
@@ -788,6 +950,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
788
950
  } | undefined;
789
951
  isBlocked: boolean;
790
952
  blockReason?: string | undefined;
953
+ stateLog: {
954
+ timestamp: number;
955
+ delta: {
956
+ [x: string]: unknown;
957
+ };
958
+ state: {
959
+ [x: string]: unknown;
960
+ };
961
+ }[];
791
962
  };
792
963
  };
793
964
  activeNpcId: string;
@@ -820,6 +991,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
820
991
  } | undefined;
821
992
  isBlocked: boolean;
822
993
  blockReason?: string | undefined;
994
+ stateLog: {
995
+ timestamp: number;
996
+ delta: {
997
+ [x: string]: unknown;
998
+ };
999
+ state: {
1000
+ [x: string]: unknown;
1001
+ };
1002
+ }[];
823
1003
  };
824
1004
  };
825
1005
  activeNpcId: string;
@@ -853,6 +1033,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
853
1033
  } | undefined;
854
1034
  isBlocked: boolean;
855
1035
  blockReason?: string | undefined;
1036
+ stateLog: {
1037
+ timestamp: number;
1038
+ delta: {
1039
+ [x: string]: unknown;
1040
+ };
1041
+ state: {
1042
+ [x: string]: unknown;
1043
+ };
1044
+ }[];
856
1045
  };
857
1046
  };
858
1047
  activeNpcId: string;
@@ -888,6 +1077,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
888
1077
  } | undefined;
889
1078
  isBlocked: boolean;
890
1079
  blockReason?: string | undefined;
1080
+ stateLog: {
1081
+ timestamp: number;
1082
+ delta: {
1083
+ [x: string]: unknown;
1084
+ };
1085
+ state: {
1086
+ [x: string]: unknown;
1087
+ };
1088
+ }[];
891
1089
  };
892
1090
  };
893
1091
  activeNpcId: string;
@@ -920,6 +1118,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
920
1118
  } | undefined;
921
1119
  isBlocked: boolean;
922
1120
  blockReason?: string | undefined;
1121
+ stateLog: {
1122
+ timestamp: number;
1123
+ delta: {
1124
+ [x: string]: unknown;
1125
+ };
1126
+ state: {
1127
+ [x: string]: unknown;
1128
+ };
1129
+ }[];
923
1130
  };
924
1131
  };
925
1132
  activeNpcId: string;
@@ -952,6 +1159,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
952
1159
  } | undefined;
953
1160
  isBlocked: boolean;
954
1161
  blockReason?: string | undefined;
1162
+ stateLog: {
1163
+ timestamp: number;
1164
+ delta: {
1165
+ [x: string]: unknown;
1166
+ };
1167
+ state: {
1168
+ [x: string]: unknown;
1169
+ };
1170
+ }[];
955
1171
  };
956
1172
  };
957
1173
  activeNpcId: string;
@@ -982,6 +1198,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
982
1198
  } | undefined;
983
1199
  isBlocked: boolean;
984
1200
  blockReason?: string | undefined;
1201
+ stateLog: {
1202
+ timestamp: number;
1203
+ delta: {
1204
+ [x: string]: unknown;
1205
+ };
1206
+ state: {
1207
+ [x: string]: unknown;
1208
+ };
1209
+ }[];
985
1210
  };
986
1211
  };
987
1212
  }>(state: boolean extends (S extends never ? true : false) ? _reduxjs_toolkit.EntityState<NPCInternalState, string> : S, key: string): S;
@@ -1010,6 +1235,15 @@ declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCI
1010
1235
  } | undefined;
1011
1236
  isBlocked: boolean;
1012
1237
  blockReason?: string | undefined;
1238
+ stateLog: {
1239
+ timestamp: number;
1240
+ delta: {
1241
+ [x: string]: unknown;
1242
+ };
1243
+ state: {
1244
+ [x: string]: unknown;
1245
+ };
1246
+ }[];
1013
1247
  };
1014
1248
  };
1015
1249
  }>(state: boolean extends (S extends never ? true : false) ? _reduxjs_toolkit.EntityState<NPCInternalState, string> : S, key: {
@@ -1071,6 +1305,12 @@ declare const selectNPCById: (state: {
1071
1305
  apiUrl: string;
1072
1306
  apiKey?: string;
1073
1307
  }, _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", CortexInitResponse, "forbocApi", unknown>;
1308
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
1309
+ npcId: string;
1310
+ request: NPCProcessRequest;
1311
+ apiUrl: string;
1312
+ apiKey?: string;
1313
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
1074
1314
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
1075
1315
  npcId: string;
1076
1316
  request: DirectiveRequest;
@@ -1153,7 +1393,17 @@ declare const selectNPCById: (state: {
1153
1393
  }, "forbocApi", unknown>;
1154
1394
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
1155
1395
  npcId: string;
1156
- 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;
1157
1407
  apiUrl: string;
1158
1408
  apiKey?: string;
1159
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>;
@@ -1216,6 +1466,11 @@ declare const selectNPCById: (state: {
1216
1466
  };
1217
1467
  apiUrl: string;
1218
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;
1219
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>;
1220
1475
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
1221
1476
  cortexId: string;
@@ -1257,6 +1512,11 @@ declare const selectNPCById: (state: {
1257
1512
  lastAction?: NPCAction | undefined;
1258
1513
  isBlocked: boolean;
1259
1514
  blockReason?: string | undefined;
1515
+ stateLog: Array<{
1516
+ timestamp: number;
1517
+ delta: Partial<NPCState>;
1518
+ state: NPCState;
1519
+ }>;
1260
1520
  };
1261
1521
  declare const selectNPCIds: (state: {
1262
1522
  [x: string]: /*elided*/ any;
@@ -1273,6 +1533,12 @@ declare const selectNPCIds: (state: {
1273
1533
  apiUrl: string;
1274
1534
  apiKey?: string;
1275
1535
  }, _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", CortexInitResponse, "forbocApi", unknown>;
1536
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
1537
+ npcId: string;
1538
+ request: NPCProcessRequest;
1539
+ apiUrl: string;
1540
+ apiKey?: string;
1541
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
1276
1542
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
1277
1543
  npcId: string;
1278
1544
  request: DirectiveRequest;
@@ -1355,7 +1621,17 @@ declare const selectNPCIds: (state: {
1355
1621
  }, "forbocApi", unknown>;
1356
1622
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
1357
1623
  npcId: string;
1358
- 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;
1359
1635
  apiUrl: string;
1360
1636
  apiKey?: string;
1361
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>;
@@ -1418,6 +1694,11 @@ declare const selectNPCIds: (state: {
1418
1694
  };
1419
1695
  apiUrl: string;
1420
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;
1421
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>;
1422
1703
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
1423
1704
  cortexId: string;
@@ -1464,6 +1745,12 @@ declare const selectNPCEntities: (state: {
1464
1745
  apiUrl: string;
1465
1746
  apiKey?: string;
1466
1747
  }, _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", CortexInitResponse, "forbocApi", unknown>;
1748
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
1749
+ npcId: string;
1750
+ request: NPCProcessRequest;
1751
+ apiUrl: string;
1752
+ apiKey?: string;
1753
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
1467
1754
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
1468
1755
  npcId: string;
1469
1756
  request: DirectiveRequest;
@@ -1546,7 +1833,17 @@ declare const selectNPCEntities: (state: {
1546
1833
  }, "forbocApi", unknown>;
1547
1834
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
1548
1835
  npcId: string;
1549
- 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;
1550
1847
  apiUrl: string;
1551
1848
  apiKey?: string;
1552
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>;
@@ -1609,6 +1906,11 @@ declare const selectNPCEntities: (state: {
1609
1906
  };
1610
1907
  apiUrl: string;
1611
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;
1612
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>;
1613
1915
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
1614
1916
  cortexId: string;
@@ -1655,6 +1957,12 @@ declare const selectAllNPCs: (state: {
1655
1957
  apiUrl: string;
1656
1958
  apiKey?: string;
1657
1959
  }, _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", CortexInitResponse, "forbocApi", unknown>;
1960
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
1961
+ npcId: string;
1962
+ request: NPCProcessRequest;
1963
+ apiUrl: string;
1964
+ apiKey?: string;
1965
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
1658
1966
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
1659
1967
  npcId: string;
1660
1968
  request: DirectiveRequest;
@@ -1737,7 +2045,17 @@ declare const selectAllNPCs: (state: {
1737
2045
  }, "forbocApi", unknown>;
1738
2046
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
1739
2047
  npcId: string;
1740
- 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;
1741
2059
  apiUrl: string;
1742
2060
  apiKey?: string;
1743
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>;
@@ -1800,6 +2118,11 @@ declare const selectAllNPCs: (state: {
1800
2118
  };
1801
2119
  apiUrl: string;
1802
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;
1803
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>;
1804
2127
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
1805
2128
  cortexId: string;
@@ -1846,6 +2169,12 @@ declare const selectTotalNPCs: (state: {
1846
2169
  apiUrl: string;
1847
2170
  apiKey?: string;
1848
2171
  }, _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", CortexInitResponse, "forbocApi", unknown>;
2172
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
2173
+ npcId: string;
2174
+ request: NPCProcessRequest;
2175
+ apiUrl: string;
2176
+ apiKey?: string;
2177
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
1849
2178
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
1850
2179
  npcId: string;
1851
2180
  request: DirectiveRequest;
@@ -1928,7 +2257,17 @@ declare const selectTotalNPCs: (state: {
1928
2257
  }, "forbocApi", unknown>;
1929
2258
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
1930
2259
  npcId: string;
1931
- 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;
1932
2271
  apiUrl: string;
1933
2272
  apiKey?: string;
1934
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>;
@@ -1991,6 +2330,11 @@ declare const selectTotalNPCs: (state: {
1991
2330
  };
1992
2331
  apiUrl: string;
1993
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;
1994
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>;
1995
2339
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
1996
2340
  cortexId: string;
@@ -2286,6 +2630,12 @@ declare const selectDirectiveById: (state: {
2286
2630
  apiUrl: string;
2287
2631
  apiKey?: string;
2288
2632
  }, _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", CortexInitResponse, "forbocApi", unknown>;
2633
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
2634
+ npcId: string;
2635
+ request: NPCProcessRequest;
2636
+ apiUrl: string;
2637
+ apiKey?: string;
2638
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
2289
2639
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
2290
2640
  npcId: string;
2291
2641
  request: DirectiveRequest;
@@ -2368,7 +2718,17 @@ declare const selectDirectiveById: (state: {
2368
2718
  }, "forbocApi", unknown>;
2369
2719
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
2370
2720
  npcId: string;
2371
- 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;
2372
2732
  apiUrl: string;
2373
2733
  apiKey?: string;
2374
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>;
@@ -2431,6 +2791,11 @@ declare const selectDirectiveById: (state: {
2431
2791
  };
2432
2792
  apiUrl: string;
2433
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;
2434
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>;
2435
2800
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
2436
2801
  cortexId: string;
@@ -2491,6 +2856,12 @@ declare const selectAllDirectives: (state: {
2491
2856
  apiUrl: string;
2492
2857
  apiKey?: string;
2493
2858
  }, _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", CortexInitResponse, "forbocApi", unknown>;
2859
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
2860
+ npcId: string;
2861
+ request: NPCProcessRequest;
2862
+ apiUrl: string;
2863
+ apiKey?: string;
2864
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
2494
2865
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
2495
2866
  npcId: string;
2496
2867
  request: DirectiveRequest;
@@ -2573,7 +2944,17 @@ declare const selectAllDirectives: (state: {
2573
2944
  }, "forbocApi", unknown>;
2574
2945
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
2575
2946
  npcId: string;
2576
- 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;
2577
2958
  apiUrl: string;
2578
2959
  apiKey?: string;
2579
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>;
@@ -2636,6 +3017,11 @@ declare const selectAllDirectives: (state: {
2636
3017
  };
2637
3018
  apiUrl: string;
2638
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;
2639
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>;
2640
3026
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
2641
3027
  cortexId: string;
@@ -2694,6 +3080,12 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
2694
3080
  apiUrl: string;
2695
3081
  apiKey?: string;
2696
3082
  }, _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", CortexInitResponse, "forbocApi", unknown>;
3083
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
3084
+ npcId: string;
3085
+ request: NPCProcessRequest;
3086
+ apiUrl: string;
3087
+ apiKey?: string;
3088
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
2697
3089
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
2698
3090
  npcId: string;
2699
3091
  request: DirectiveRequest;
@@ -2776,7 +3168,17 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
2776
3168
  }, "forbocApi", unknown>;
2777
3169
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
2778
3170
  npcId: string;
2779
- 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;
2780
3182
  apiUrl: string;
2781
3183
  apiKey?: string;
2782
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>;
@@ -2839,6 +3241,11 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
2839
3241
  };
2840
3242
  apiUrl: string;
2841
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;
2842
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>;
2843
3250
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
2844
3251
  cortexId: string;
@@ -2885,6 +3292,12 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
2885
3292
  apiUrl: string;
2886
3293
  apiKey?: string;
2887
3294
  }, _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", CortexInitResponse, "forbocApi", unknown>;
3295
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
3296
+ npcId: string;
3297
+ request: NPCProcessRequest;
3298
+ apiUrl: string;
3299
+ apiKey?: string;
3300
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
2888
3301
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
2889
3302
  npcId: string;
2890
3303
  request: DirectiveRequest;
@@ -2967,7 +3380,17 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
2967
3380
  }, "forbocApi", unknown>;
2968
3381
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
2969
3382
  npcId: string;
2970
- 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;
2971
3394
  apiUrl: string;
2972
3395
  apiKey?: string;
2973
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>;
@@ -3030,6 +3453,11 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
3030
3453
  };
3031
3454
  apiUrl: string;
3032
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;
3033
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>;
3034
3462
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
3035
3463
  cortexId: string;
@@ -3077,6 +3505,12 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
3077
3505
  apiUrl: string;
3078
3506
  apiKey?: string;
3079
3507
  }, _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", CortexInitResponse, "forbocApi", unknown>;
3508
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
3509
+ npcId: string;
3510
+ request: NPCProcessRequest;
3511
+ apiUrl: string;
3512
+ apiKey?: string;
3513
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
3080
3514
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
3081
3515
  npcId: string;
3082
3516
  request: DirectiveRequest;
@@ -3159,7 +3593,17 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
3159
3593
  }, "forbocApi", unknown>;
3160
3594
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
3161
3595
  npcId: string;
3162
- 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;
3163
3607
  apiUrl: string;
3164
3608
  apiKey?: string;
3165
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>;
@@ -3222,6 +3666,11 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
3222
3666
  };
3223
3667
  apiUrl: string;
3224
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;
3225
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>;
3226
3675
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
3227
3676
  cortexId: string;
@@ -3268,6 +3717,12 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
3268
3717
  apiUrl: string;
3269
3718
  apiKey?: string;
3270
3719
  }, _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", CortexInitResponse, "forbocApi", unknown>;
3720
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
3721
+ npcId: string;
3722
+ request: NPCProcessRequest;
3723
+ apiUrl: string;
3724
+ apiKey?: string;
3725
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
3271
3726
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
3272
3727
  npcId: string;
3273
3728
  request: DirectiveRequest;
@@ -3350,7 +3805,17 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
3350
3805
  }, "forbocApi", unknown>;
3351
3806
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
3352
3807
  npcId: string;
3353
- 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;
3354
3819
  apiUrl: string;
3355
3820
  apiKey?: string;
3356
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>;
@@ -3413,6 +3878,11 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
3413
3878
  };
3414
3879
  apiUrl: string;
3415
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;
3416
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>;
3417
3887
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
3418
3888
  cortexId: string;
@@ -3460,6 +3930,12 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
3460
3930
  apiUrl: string;
3461
3931
  apiKey?: string;
3462
3932
  }, _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", CortexInitResponse, "forbocApi", unknown>;
3933
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
3934
+ npcId: string;
3935
+ request: NPCProcessRequest;
3936
+ apiUrl: string;
3937
+ apiKey?: string;
3938
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
3463
3939
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
3464
3940
  npcId: string;
3465
3941
  request: DirectiveRequest;
@@ -3542,7 +4018,17 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
3542
4018
  }, "forbocApi", unknown>;
3543
4019
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
3544
4020
  npcId: string;
3545
- 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;
3546
4032
  apiUrl: string;
3547
4033
  apiKey?: string;
3548
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>;
@@ -3605,6 +4091,11 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
3605
4091
  };
3606
4092
  apiUrl: string;
3607
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;
3608
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>;
3609
4100
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
3610
4101
  cortexId: string;
@@ -3645,14 +4136,13 @@ interface SoulState {
3645
4136
  importStatus: 'idle' | 'importing' | 'success' | 'failed';
3646
4137
  lastExport: SoulExportResult | null;
3647
4138
  lastImport: Soul | null;
3648
- availableSouls: any[];
4139
+ availableSouls: unknown[];
3649
4140
  error: string | null;
3650
4141
  }
3651
4142
  declare const remoteExportSoulThunk: _reduxjs_toolkit.AsyncThunk<SoulExportResult, {
3652
4143
  npcId?: string;
3653
4144
  apiUrl?: string;
3654
4145
  apiKey?: string;
3655
- memories?: any[];
3656
4146
  }, {
3657
4147
  state: SDKState;
3658
4148
  rejectValue: string;
@@ -3677,7 +4167,7 @@ declare const importSoulFromArweaveThunk: _reduxjs_toolkit.AsyncThunk<Soul, {
3677
4167
  fulfilledMeta?: unknown;
3678
4168
  rejectedMeta?: unknown;
3679
4169
  }>;
3680
- declare const getSoulListThunk: _reduxjs_toolkit.AsyncThunk<any[], {
4170
+ declare const getSoulListThunk: _reduxjs_toolkit.AsyncThunk<unknown[], {
3681
4171
  limit?: number;
3682
4172
  apiUrl?: string;
3683
4173
  apiKey?: string;
@@ -3738,6 +4228,7 @@ declare const soulSlice: _reduxjs_toolkit.Slice<SoulState, {
3738
4228
  timestamp: number;
3739
4229
  type: string;
3740
4230
  importance: number;
4231
+ similarity?: number | undefined;
3741
4232
  }[];
3742
4233
  state: {
3743
4234
  [x: string]: unknown;
@@ -3757,13 +4248,14 @@ declare const soulSlice: _reduxjs_toolkit.Slice<SoulState, {
3757
4248
  timestamp: number;
3758
4249
  type: string;
3759
4250
  importance: number;
4251
+ similarity?: number | undefined;
3760
4252
  }[];
3761
4253
  state: {
3762
4254
  [x: string]: unknown;
3763
4255
  };
3764
4256
  signature?: string | undefined;
3765
4257
  } | null;
3766
- availableSouls: any[];
4258
+ availableSouls: unknown[];
3767
4259
  error: string | null;
3768
4260
  }) => void;
3769
4261
  }, "soul", "soul", _reduxjs_toolkit.SliceSelectors<SoulState>>;
@@ -3811,7 +4303,7 @@ declare const streamFromCortexWithDelay: (cortex: ICortex, prompt: string, onChu
3811
4303
  delayMs?: number;
3812
4304
  }) => Promise<string>;
3813
4305
 
3814
- declare const SDK_VERSION = "0.6.0";
4306
+ declare const SDK_VERSION = "0.6.1";
3815
4307
 
3816
4308
  /**
3817
4309
  * User Story: As NPC creation flows, I need lightweight id generation that
@@ -3846,6 +4338,17 @@ declare const sdkApi: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.BaseQuer
3846
4338
  apiUrl: string;
3847
4339
  apiKey?: string;
3848
4340
  }, _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", CortexInitResponse, "forbocApi", unknown>;
4341
+ /**
4342
+ * User Story: As the SDK protocol loop, I need a single process endpoint
4343
+ * that returns one atomic instruction per turn while echoing full tape state.
4344
+ * ᚹ one hop in, one hop out, like passing a lit shard through vacuum.
4345
+ */
4346
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
4347
+ npcId: string;
4348
+ request: NPCProcessRequest;
4349
+ apiUrl: string;
4350
+ apiKey?: string;
4351
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
3849
4352
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
3850
4353
  npcId: string;
3851
4354
  request: DirectiveRequest;
@@ -3928,7 +4431,17 @@ declare const sdkApi: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.BaseQuer
3928
4431
  }, "forbocApi", unknown>;
3929
4432
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
3930
4433
  npcId: string;
3931
- 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;
3932
4445
  apiUrl: string;
3933
4446
  apiKey?: string;
3934
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>;
@@ -3991,6 +4504,11 @@ declare const sdkApi: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.BaseQuer
3991
4504
  };
3992
4505
  apiUrl: string;
3993
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;
3994
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>;
3995
4513
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
3996
4514
  cortexId: string;
@@ -4022,6 +4540,7 @@ declare const memorySlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<M
4022
4540
  timestamp: number;
4023
4541
  type: string;
4024
4542
  importance: number;
4543
+ similarity?: number | undefined;
4025
4544
  };
4026
4545
  };
4027
4546
  storageStatus: "idle" | "storing" | "error";
@@ -4039,6 +4558,7 @@ declare const memorySlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<M
4039
4558
  timestamp: number;
4040
4559
  type: string;
4041
4560
  importance: number;
4561
+ similarity?: number | undefined;
4042
4562
  };
4043
4563
  };
4044
4564
  storageStatus: "idle" | "storing" | "error";
@@ -4056,6 +4576,7 @@ declare const memorySlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<M
4056
4576
  timestamp: number;
4057
4577
  type: string;
4058
4578
  importance: number;
4579
+ similarity?: number | undefined;
4059
4580
  };
4060
4581
  };
4061
4582
  storageStatus: "idle" | "storing" | "error";
@@ -4073,6 +4594,7 @@ declare const memorySlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<M
4073
4594
  timestamp: number;
4074
4595
  type: string;
4075
4596
  importance: number;
4597
+ similarity?: number | undefined;
4076
4598
  };
4077
4599
  };
4078
4600
  storageStatus: "idle" | "storing" | "error";
@@ -4090,6 +4612,7 @@ declare const memorySlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<M
4090
4612
  timestamp: number;
4091
4613
  type: string;
4092
4614
  importance: number;
4615
+ similarity?: number | undefined;
4093
4616
  };
4094
4617
  };
4095
4618
  storageStatus: "idle" | "storing" | "error";
@@ -4107,6 +4630,7 @@ declare const memorySlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<M
4107
4630
  timestamp: number;
4108
4631
  type: string;
4109
4632
  importance: number;
4633
+ similarity?: number | undefined;
4110
4634
  };
4111
4635
  };
4112
4636
  storageStatus: "idle" | "storing" | "error";
@@ -4124,6 +4648,7 @@ declare const memorySlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<M
4124
4648
  timestamp: number;
4125
4649
  type: string;
4126
4650
  importance: number;
4651
+ similarity?: number | undefined;
4127
4652
  };
4128
4653
  };
4129
4654
  storageStatus: "idle" | "storing" | "error";
@@ -4159,6 +4684,12 @@ declare const selectMemoryById: (state: {
4159
4684
  apiUrl: string;
4160
4685
  apiKey?: string;
4161
4686
  }, _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", CortexInitResponse, "forbocApi", unknown>;
4687
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
4688
+ npcId: string;
4689
+ request: NPCProcessRequest;
4690
+ apiUrl: string;
4691
+ apiKey?: string;
4692
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
4162
4693
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
4163
4694
  npcId: string;
4164
4695
  request: DirectiveRequest;
@@ -4241,7 +4772,17 @@ declare const selectMemoryById: (state: {
4241
4772
  }, "forbocApi", unknown>;
4242
4773
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
4243
4774
  npcId: string;
4244
- 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;
4245
4786
  apiUrl: string;
4246
4787
  apiKey?: string;
4247
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>;
@@ -4304,6 +4845,11 @@ declare const selectMemoryById: (state: {
4304
4845
  };
4305
4846
  apiUrl: string;
4306
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;
4307
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>;
4308
4854
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
4309
4855
  cortexId: string;
@@ -4341,6 +4887,7 @@ declare const selectMemoryById: (state: {
4341
4887
  timestamp: number;
4342
4888
  type: string;
4343
4889
  importance: number;
4890
+ similarity?: number | undefined;
4344
4891
  };
4345
4892
  declare const selectAllMemories: (state: {
4346
4893
  [x: string]: /*elided*/ any;
@@ -4357,6 +4904,12 @@ declare const selectAllMemories: (state: {
4357
4904
  apiUrl: string;
4358
4905
  apiKey?: string;
4359
4906
  }, _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", CortexInitResponse, "forbocApi", unknown>;
4907
+ postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
4908
+ npcId: string;
4909
+ request: NPCProcessRequest;
4910
+ apiUrl: string;
4911
+ apiKey?: string;
4912
+ }, _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", NPCProcessResponse, "forbocApi", unknown>;
4360
4913
  postDirective: _reduxjs_toolkit_query.MutationDefinition<{
4361
4914
  npcId: string;
4362
4915
  request: DirectiveRequest;
@@ -4439,7 +4992,17 @@ declare const selectAllMemories: (state: {
4439
4992
  }, "forbocApi", unknown>;
4440
4993
  postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
4441
4994
  npcId: string;
4442
- 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;
4443
5006
  apiUrl: string;
4444
5007
  apiKey?: string;
4445
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>;
@@ -4502,6 +5065,11 @@ declare const selectAllMemories: (state: {
4502
5065
  };
4503
5066
  apiUrl: string;
4504
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;
4505
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>;
4506
5074
  postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
4507
5075
  cortexId: string;
@@ -4645,4 +5213,7 @@ declare const clearMemoryRemoteThunk: _reduxjs_toolkit.AsyncThunk<any, {
4645
5213
  rejectedMeta?: unknown;
4646
5214
  }>;
4647
5215
 
4648
- 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 GhostConfig, type GhostHistoryEntry, type GhostResults, type GhostRunResponse, type GhostState, type GhostStatus, type ICortex, type IMemory, type INPC, type ImportedNpc, type MemoryItem, type MemoryRecallInstruction, type MemoryStoreInstruction, type NPCAction, type NPCInternalState, type NPCState, type PromptConstraints, 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 };