@forbocai/browser 0.5.9 → 0.6.1

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.ts CHANGED
@@ -1,46 +1,1157 @@
1
- import { CortexConfig, ICortex, MemoryItem } from '@forbocai/core';
1
+ import * as _reduxjs_toolkit from '@reduxjs/toolkit';
2
+ import { PayloadAction } from '@reduxjs/toolkit';
3
+ import * as redux_thunk from 'redux-thunk';
4
+ import * as redux from 'redux';
5
+ import * as _forbocai_core from '@forbocai/core';
6
+ import { MemoryItem } from '@forbocai/core';
7
+ import * as _reduxjs_toolkit_query from '@reduxjs/toolkit/query';
2
8
 
3
- declare const createBrowserCortex: (config?: CortexConfig) => ICortex;
4
- declare const createCortex: (config?: CortexConfig) => ICortex;
5
-
6
- interface IBrowserMemory {
7
- store(text: string, type?: string, importance?: number): Promise<MemoryItem>;
8
- recall(query: string, limit?: number, threshold?: number): Promise<MemoryItem[]>;
9
- list(limit?: number, offset?: number): Promise<MemoryItem[]>;
10
- clear(): Promise<void>;
11
- export(): Promise<MemoryItem[]>;
12
- import(memories: MemoryItem[]): Promise<void>;
9
+ interface BrowserCortexSession {
10
+ id: string;
11
+ ready: boolean;
12
+ engine: string;
13
13
  }
14
- declare const createBrowserMemory: (config?: {
15
- decay?: "none" | "temporal";
16
- maxContextWindow?: number;
17
- }) => {
18
- store: (text: string, type?: string, importance?: number) => Promise<MemoryItem>;
19
- recall: (query: string, limit?: number, threshold?: number) => Promise<MemoryItem[]>;
20
- list: (limit?: number, offset?: number) => Promise<MemoryItem[]>;
21
- clear: () => Promise<void>;
22
- export: () => Promise<MemoryItem[]>;
23
- import: (memories: MemoryItem[]) => Promise<void>;
14
+ declare const initBrowserCortexThunk: _reduxjs_toolkit.AsyncThunk<BrowserCortexSession, {
15
+ model?: string;
16
+ onProgress?: (progress: number) => void;
17
+ }, {
18
+ rejectValue: string;
19
+ state?: unknown;
20
+ dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
21
+ extra?: unknown;
22
+ serializedErrorType?: unknown;
23
+ pendingMeta?: unknown;
24
+ fulfilledMeta?: unknown;
25
+ rejectedMeta?: unknown;
26
+ }>;
27
+ declare const completeBrowserCortexThunk: _reduxjs_toolkit.AsyncThunk<string, {
28
+ model?: string;
29
+ prompt: string;
30
+ maxTokens?: number;
31
+ temperature?: number;
32
+ }, {
33
+ rejectValue: string;
34
+ state?: unknown;
35
+ dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
36
+ extra?: unknown;
37
+ serializedErrorType?: unknown;
38
+ pendingMeta?: unknown;
39
+ fulfilledMeta?: unknown;
40
+ rejectedMeta?: unknown;
41
+ }>;
42
+ declare const browserCortexSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<BrowserCortexSession, string> & {
43
+ progress: number;
44
+ isDownloading: boolean;
45
+ error: string | null;
46
+ }, {
47
+ setDownloadProgress: (state: {
48
+ ids: string[];
49
+ entities: {
50
+ [x: string]: {
51
+ id: string;
52
+ ready: boolean;
53
+ engine: string;
54
+ };
55
+ };
56
+ progress: number;
57
+ isDownloading: boolean;
58
+ error: string | null;
59
+ }, action: PayloadAction<number>) => void;
60
+ setDownloadState: (state: {
61
+ ids: string[];
62
+ entities: {
63
+ [x: string]: {
64
+ id: string;
65
+ ready: boolean;
66
+ engine: string;
67
+ };
68
+ };
69
+ progress: number;
70
+ isDownloading: boolean;
71
+ error: string | null;
72
+ }, action: PayloadAction<{
73
+ isDownloading: boolean;
74
+ progress: number;
75
+ }>) => void;
76
+ }, "browserCortex", "browserCortex", _reduxjs_toolkit.SliceSelectors<_reduxjs_toolkit.EntityState<BrowserCortexSession, string> & {
77
+ progress: number;
78
+ isDownloading: boolean;
79
+ error: string | null;
80
+ }>>;
81
+ declare const setDownloadProgress: _reduxjs_toolkit.ActionCreatorWithPayload<number, "browserCortex/setDownloadProgress">;
82
+ declare const setDownloadState: _reduxjs_toolkit.ActionCreatorWithPayload<{
83
+ isDownloading: boolean;
84
+ progress: number;
85
+ }, "browserCortex/setDownloadState">;
86
+ declare const selectBrowserCortexById: (state: any, id: string) => {
87
+ id: string;
88
+ ready: boolean;
89
+ engine: string;
24
90
  };
25
- declare const createMemory: (config?: {
26
- decay?: "none" | "temporal";
27
- maxContextWindow?: number;
28
- }) => {
29
- store: (text: string, type?: string, importance?: number) => Promise<MemoryItem>;
30
- recall: (query: string, limit?: number, threshold?: number) => Promise<MemoryItem[]>;
31
- list: (limit?: number, offset?: number) => Promise<MemoryItem[]>;
32
- clear: () => Promise<void>;
33
- export: () => Promise<MemoryItem[]>;
34
- import: (memories: MemoryItem[]) => Promise<void>;
91
+ declare const selectAllBrowserCortexSessions: (state: any) => BrowserCortexSession[];
92
+ /**
93
+ * User Story: As completion helpers, I need direct access to cached browser
94
+ * engines by model key for non-Redux call paths.
95
+ * Returns undefined when a model session is not initialized.
96
+ */
97
+ declare const getBrowserEngine: (model?: string) => any;
98
+
99
+ interface BrowserMemoryDB {
100
+ id: string;
101
+ isInitialized: boolean;
102
+ }
103
+ declare const initBrowserMemoryThunk: _reduxjs_toolkit.AsyncThunk<BrowserMemoryDB, {
104
+ dbName?: string;
105
+ }, {
106
+ rejectValue: string;
107
+ state?: unknown;
108
+ dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
109
+ extra?: unknown;
110
+ serializedErrorType?: unknown;
111
+ pendingMeta?: unknown;
112
+ fulfilledMeta?: unknown;
113
+ rejectedMeta?: unknown;
114
+ }>;
115
+ declare const storeBrowserMemoryThunk: _reduxjs_toolkit.AsyncThunk<MemoryItem, {
116
+ text: string;
117
+ type?: string;
118
+ importance?: number;
119
+ dbName?: string;
120
+ }, {
121
+ rejectValue: string;
122
+ state?: unknown;
123
+ dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
124
+ extra?: unknown;
125
+ serializedErrorType?: unknown;
126
+ pendingMeta?: unknown;
127
+ fulfilledMeta?: unknown;
128
+ rejectedMeta?: unknown;
129
+ }>;
130
+ declare const recallBrowserMemoryThunk: _reduxjs_toolkit.AsyncThunk<MemoryItem[], {
131
+ query: string;
132
+ limit?: number;
133
+ threshold?: number;
134
+ dbName?: string;
135
+ }, {
136
+ rejectValue: string;
137
+ state?: unknown;
138
+ dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
139
+ extra?: unknown;
140
+ serializedErrorType?: unknown;
141
+ pendingMeta?: unknown;
142
+ fulfilledMeta?: unknown;
143
+ rejectedMeta?: unknown;
144
+ }>;
145
+ declare const clearBrowserMemoryThunk: _reduxjs_toolkit.AsyncThunk<void, {
146
+ dbName?: string;
147
+ }, _reduxjs_toolkit.AsyncThunkConfig>;
148
+ declare const browserMemorySlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<BrowserMemoryDB, string> & {
149
+ error: string | null;
150
+ }, {}, "browserMemory", "browserMemory", _reduxjs_toolkit.SliceSelectors<_reduxjs_toolkit.EntityState<BrowserMemoryDB, string> & {
151
+ error: string | null;
152
+ }>>;
153
+ declare const selectBrowserDBById: (state: any, id: string) => {
154
+ id: string;
155
+ isInitialized: boolean;
35
156
  };
157
+ declare const selectAllBrowserDBs: (state: any) => BrowserMemoryDB[];
36
158
 
159
+ interface BrowserVectorState {
160
+ isReady: boolean;
161
+ error: string | null;
162
+ }
163
+ declare const initBrowserVectorThunk: _reduxjs_toolkit.AsyncThunk<void, void, {
164
+ rejectValue: string;
165
+ state?: unknown;
166
+ dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
167
+ extra?: unknown;
168
+ serializedErrorType?: unknown;
169
+ pendingMeta?: unknown;
170
+ fulfilledMeta?: unknown;
171
+ rejectedMeta?: unknown;
172
+ }>;
173
+ declare const generateBrowserEmbeddingThunk: _reduxjs_toolkit.AsyncThunk<number[], string, {
174
+ rejectValue: string;
175
+ state?: unknown;
176
+ dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
177
+ extra?: unknown;
178
+ serializedErrorType?: unknown;
179
+ pendingMeta?: unknown;
180
+ fulfilledMeta?: unknown;
181
+ rejectedMeta?: unknown;
182
+ }>;
37
183
  /**
38
- * Initialize the vector engine.
184
+ * User Story: As embedding consumers outside thunk dispatch, I need a direct
185
+ * async helper that initializes pipeline lazily and returns vector output.
186
+ * This bridges imperative call sites to browser vector generation.
39
187
  */
40
- declare const initVectorEngine: () => Promise<void>;
188
+ declare const generateEmbedding: (text: string) => Promise<number[]>;
189
+ declare const browserVectorSlice: _reduxjs_toolkit.Slice<BrowserVectorState, {}, "browserVector", "browserVector", _reduxjs_toolkit.SliceSelectors<BrowserVectorState>>;
190
+
41
191
  /**
42
- * Generate embeddings using Transformers.js.
192
+ * User Story: As browser SDK initialization, I need a store factory that wires
193
+ * browser-specific reducers on top of the core SDK store graph.
194
+ * Factory form allows isolated stores per app/runtime instance.
43
195
  */
44
- declare const generateEmbedding: (text: string) => Promise<number[]>;
196
+ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
197
+ [x: string]: any;
198
+ forbocApi: _reduxjs_toolkit_query.CombinedState<{
199
+ getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
200
+ apiUrl: string;
201
+ apiKey?: string;
202
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexModelInfo[], "forbocApi", unknown>;
203
+ postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
204
+ request: {
205
+ requestedModel: string;
206
+ authKey?: string;
207
+ };
208
+ apiUrl: string;
209
+ apiKey?: string;
210
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
211
+ postDirective: _reduxjs_toolkit_query.MutationDefinition<{
212
+ npcId: string;
213
+ request: _forbocai_core.DirectiveRequest;
214
+ apiUrl: string;
215
+ apiKey?: string;
216
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveResponse, "forbocApi", unknown>;
217
+ postContext: _reduxjs_toolkit_query.MutationDefinition<{
218
+ npcId: string;
219
+ request: _forbocai_core.ContextRequest;
220
+ apiUrl: string;
221
+ apiKey?: string;
222
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ContextResponse, "forbocApi", unknown>;
223
+ postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
224
+ npcId: string;
225
+ request: _forbocai_core.VerdictRequest;
226
+ apiUrl: string;
227
+ apiKey?: string;
228
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.VerdictResponse, "forbocApi", unknown>;
229
+ postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
230
+ npcId: string;
231
+ request: {
232
+ observation: string;
233
+ importance?: number;
234
+ };
235
+ apiUrl: string;
236
+ apiKey?: string;
237
+ }, _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", any, "forbocApi", unknown>;
238
+ getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
239
+ npcId: string;
240
+ apiUrl: string;
241
+ apiKey?: string;
242
+ }, _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", any[], "forbocApi", unknown>;
243
+ postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
244
+ npcId: string;
245
+ request: {
246
+ query: string;
247
+ similarity?: number;
248
+ };
249
+ apiUrl: string;
250
+ apiKey?: string;
251
+ }, _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", any[], "forbocApi", unknown>;
252
+ deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
253
+ npcId: string;
254
+ apiUrl: string;
255
+ apiKey?: string;
256
+ }, _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", any, "forbocApi", unknown>;
257
+ postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
258
+ request: {
259
+ testSuite: string;
260
+ duration: number;
261
+ };
262
+ apiUrl: string;
263
+ apiKey?: string;
264
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.GhostRunResponse, "forbocApi", unknown>;
265
+ getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
266
+ sessionId: string;
267
+ apiUrl: string;
268
+ apiKey?: string;
269
+ }, _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", any, "forbocApi", unknown>;
270
+ getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
271
+ sessionId: string;
272
+ apiUrl: string;
273
+ apiKey?: string;
274
+ }, _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", any, "forbocApi", unknown>;
275
+ postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
276
+ sessionId: string;
277
+ apiUrl: string;
278
+ apiKey?: string;
279
+ }, _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", {
280
+ stopped: boolean;
281
+ stopStatus?: string;
282
+ stopSessionId?: string;
283
+ }, "forbocApi", unknown>;
284
+ getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
285
+ limit: number;
286
+ apiUrl: string;
287
+ apiKey?: string;
288
+ }, _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", {
289
+ sessions: any[];
290
+ }, "forbocApi", unknown>;
291
+ postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
292
+ npcId: string;
293
+ request: any;
294
+ apiUrl: string;
295
+ apiKey?: string;
296
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
297
+ getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
298
+ txId: string;
299
+ apiUrl: string;
300
+ apiKey?: string;
301
+ }, _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", any, "forbocApi", unknown>;
302
+ getSouls: _reduxjs_toolkit_query.QueryDefinition<{
303
+ limit: number;
304
+ apiUrl: string;
305
+ apiKey?: string;
306
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulListResponse, "forbocApi", unknown>;
307
+ postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
308
+ request: {
309
+ action: _forbocai_core.NPCAction;
310
+ context: _forbocai_core.ValidationContext;
311
+ };
312
+ npcId?: string;
313
+ apiUrl: string;
314
+ apiKey?: string;
315
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ValidationResult, "forbocApi", unknown>;
316
+ getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
317
+ apiUrl: string;
318
+ apiKey?: string;
319
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.BridgeRule[], "forbocApi", unknown>;
320
+ postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
321
+ presetName: string;
322
+ apiUrl: string;
323
+ apiKey?: string;
324
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet, "forbocApi", unknown>;
325
+ getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
326
+ apiUrl: string;
327
+ apiKey?: string;
328
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet[], "forbocApi", unknown>;
329
+ getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
330
+ apiUrl: string;
331
+ apiKey?: string;
332
+ }, _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", string[], "forbocApi", unknown>;
333
+ postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
334
+ request: _forbocai_core.DirectiveRuleSet;
335
+ apiUrl: string;
336
+ apiKey?: string;
337
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet, "forbocApi", unknown>;
338
+ deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
339
+ rulesetId: string;
340
+ apiUrl: string;
341
+ apiKey?: string;
342
+ }, _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", {
343
+ deleted: boolean;
344
+ }, "forbocApi", unknown>;
345
+ postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
346
+ txId: string;
347
+ apiUrl: string;
348
+ apiKey?: string;
349
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulVerifyResult, "forbocApi", unknown>;
350
+ postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
351
+ request: {
352
+ txIdRef: string;
353
+ };
354
+ apiUrl: string;
355
+ apiKey?: string;
356
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
357
+ postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
358
+ cortexId: string;
359
+ prompt: string;
360
+ options?: any;
361
+ apiUrl: string;
362
+ apiKey?: string;
363
+ }, _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", {
364
+ text: string;
365
+ }, "forbocApi", unknown>;
366
+ getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
367
+ apiUrl: string;
368
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ApiStatusResponse, "forbocApi", unknown>;
369
+ }, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
370
+ npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
371
+ activeNpcId: string;
372
+ };
373
+ cortex: _forbocai_core.CortexInternalState;
374
+ memory: _reduxjs_toolkit.EntityState<_forbocai_core.MemoryItem, string> & {
375
+ storageStatus: "idle" | "storing" | "error";
376
+ recallStatus: "idle" | "recalling" | "error";
377
+ error: string | null;
378
+ lastRecalledIds: string[];
379
+ };
380
+ directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
381
+ activeDirectiveId: string;
382
+ };
383
+ ghost: _forbocai_core.GhostState;
384
+ soul: _forbocai_core.SoulState;
385
+ bridge: _forbocai_core.BridgeState;
386
+ }, redux.UnknownAction, _reduxjs_toolkit.Tuple<[redux.StoreEnhancer<{
387
+ dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
388
+ [x: string]: any;
389
+ forbocApi: _reduxjs_toolkit_query.CombinedState<{
390
+ getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
391
+ apiUrl: string;
392
+ apiKey?: string;
393
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexModelInfo[], "forbocApi", unknown>;
394
+ postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
395
+ request: {
396
+ requestedModel: string;
397
+ authKey?: string;
398
+ };
399
+ apiUrl: string;
400
+ apiKey?: string;
401
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
402
+ postDirective: _reduxjs_toolkit_query.MutationDefinition<{
403
+ npcId: string;
404
+ request: _forbocai_core.DirectiveRequest;
405
+ apiUrl: string;
406
+ apiKey?: string;
407
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveResponse, "forbocApi", unknown>;
408
+ postContext: _reduxjs_toolkit_query.MutationDefinition<{
409
+ npcId: string;
410
+ request: _forbocai_core.ContextRequest;
411
+ apiUrl: string;
412
+ apiKey?: string;
413
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ContextResponse, "forbocApi", unknown>;
414
+ postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
415
+ npcId: string;
416
+ request: _forbocai_core.VerdictRequest;
417
+ apiUrl: string;
418
+ apiKey?: string;
419
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.VerdictResponse, "forbocApi", unknown>;
420
+ postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
421
+ npcId: string;
422
+ request: {
423
+ observation: string;
424
+ importance?: number;
425
+ };
426
+ apiUrl: string;
427
+ apiKey?: string;
428
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", any, "forbocApi", unknown>;
429
+ getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
430
+ npcId: string;
431
+ apiUrl: string;
432
+ apiKey?: string;
433
+ }, _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", any[], "forbocApi", unknown>;
434
+ postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
435
+ npcId: string;
436
+ request: {
437
+ query: string;
438
+ similarity?: number;
439
+ };
440
+ apiUrl: string;
441
+ apiKey?: string;
442
+ }, _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", any[], "forbocApi", unknown>;
443
+ deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
444
+ npcId: string;
445
+ apiUrl: string;
446
+ apiKey?: string;
447
+ }, _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", any, "forbocApi", unknown>;
448
+ postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
449
+ request: {
450
+ testSuite: string;
451
+ duration: number;
452
+ };
453
+ apiUrl: string;
454
+ apiKey?: string;
455
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.GhostRunResponse, "forbocApi", unknown>;
456
+ getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
457
+ sessionId: string;
458
+ apiUrl: string;
459
+ apiKey?: string;
460
+ }, _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", any, "forbocApi", unknown>;
461
+ getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
462
+ sessionId: string;
463
+ apiUrl: string;
464
+ apiKey?: string;
465
+ }, _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", any, "forbocApi", unknown>;
466
+ postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
467
+ sessionId: string;
468
+ apiUrl: string;
469
+ apiKey?: string;
470
+ }, _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", {
471
+ stopped: boolean;
472
+ stopStatus?: string;
473
+ stopSessionId?: string;
474
+ }, "forbocApi", unknown>;
475
+ getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
476
+ limit: number;
477
+ apiUrl: string;
478
+ apiKey?: string;
479
+ }, _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", {
480
+ sessions: any[];
481
+ }, "forbocApi", unknown>;
482
+ postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
483
+ npcId: string;
484
+ request: any;
485
+ apiUrl: string;
486
+ apiKey?: string;
487
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
488
+ getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
489
+ txId: string;
490
+ apiUrl: string;
491
+ apiKey?: string;
492
+ }, _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", any, "forbocApi", unknown>;
493
+ getSouls: _reduxjs_toolkit_query.QueryDefinition<{
494
+ limit: number;
495
+ apiUrl: string;
496
+ apiKey?: string;
497
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulListResponse, "forbocApi", unknown>;
498
+ postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
499
+ request: {
500
+ action: _forbocai_core.NPCAction;
501
+ context: _forbocai_core.ValidationContext;
502
+ };
503
+ npcId?: string;
504
+ apiUrl: string;
505
+ apiKey?: string;
506
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ValidationResult, "forbocApi", unknown>;
507
+ getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
508
+ apiUrl: string;
509
+ apiKey?: string;
510
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.BridgeRule[], "forbocApi", unknown>;
511
+ postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
512
+ presetName: string;
513
+ apiUrl: string;
514
+ apiKey?: string;
515
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet, "forbocApi", unknown>;
516
+ getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
517
+ apiUrl: string;
518
+ apiKey?: string;
519
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet[], "forbocApi", unknown>;
520
+ getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
521
+ apiUrl: string;
522
+ apiKey?: string;
523
+ }, _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", string[], "forbocApi", unknown>;
524
+ postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
525
+ request: _forbocai_core.DirectiveRuleSet;
526
+ apiUrl: string;
527
+ apiKey?: string;
528
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet, "forbocApi", unknown>;
529
+ deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
530
+ rulesetId: string;
531
+ apiUrl: string;
532
+ apiKey?: string;
533
+ }, _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", {
534
+ deleted: boolean;
535
+ }, "forbocApi", unknown>;
536
+ postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
537
+ txId: string;
538
+ apiUrl: string;
539
+ apiKey?: string;
540
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulVerifyResult, "forbocApi", unknown>;
541
+ postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
542
+ request: {
543
+ txIdRef: string;
544
+ };
545
+ apiUrl: string;
546
+ apiKey?: string;
547
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
548
+ postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
549
+ cortexId: string;
550
+ prompt: string;
551
+ options?: any;
552
+ apiUrl: string;
553
+ apiKey?: string;
554
+ }, _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", {
555
+ text: string;
556
+ }, "forbocApi", unknown>;
557
+ getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
558
+ apiUrl: string;
559
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ApiStatusResponse, "forbocApi", unknown>;
560
+ }, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
561
+ npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
562
+ activeNpcId: string;
563
+ };
564
+ cortex: _forbocai_core.CortexInternalState;
565
+ memory: _reduxjs_toolkit.EntityState<_forbocai_core.MemoryItem, string> & {
566
+ storageStatus: "idle" | "storing" | "error";
567
+ recallStatus: "idle" | "recalling" | "error";
568
+ error: string | null;
569
+ lastRecalledIds: string[];
570
+ };
571
+ directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
572
+ activeDirectiveId: string;
573
+ };
574
+ ghost: _forbocai_core.GhostState;
575
+ soul: _forbocai_core.SoulState;
576
+ bridge: _forbocai_core.BridgeState;
577
+ }, undefined, redux.UnknownAction>;
578
+ }>, redux.StoreEnhancer]>>;
579
+ declare const store: _reduxjs_toolkit.EnhancedStore<{
580
+ [x: string]: any;
581
+ forbocApi: _reduxjs_toolkit_query.CombinedState<{
582
+ getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
583
+ apiUrl: string;
584
+ apiKey?: string;
585
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexModelInfo[], "forbocApi", unknown>;
586
+ postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
587
+ request: {
588
+ requestedModel: string;
589
+ authKey?: string;
590
+ };
591
+ apiUrl: string;
592
+ apiKey?: string;
593
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
594
+ postDirective: _reduxjs_toolkit_query.MutationDefinition<{
595
+ npcId: string;
596
+ request: _forbocai_core.DirectiveRequest;
597
+ apiUrl: string;
598
+ apiKey?: string;
599
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveResponse, "forbocApi", unknown>;
600
+ postContext: _reduxjs_toolkit_query.MutationDefinition<{
601
+ npcId: string;
602
+ request: _forbocai_core.ContextRequest;
603
+ apiUrl: string;
604
+ apiKey?: string;
605
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ContextResponse, "forbocApi", unknown>;
606
+ postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
607
+ npcId: string;
608
+ request: _forbocai_core.VerdictRequest;
609
+ apiUrl: string;
610
+ apiKey?: string;
611
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.VerdictResponse, "forbocApi", unknown>;
612
+ postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
613
+ npcId: string;
614
+ request: {
615
+ observation: string;
616
+ importance?: number;
617
+ };
618
+ apiUrl: string;
619
+ apiKey?: string;
620
+ }, _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", any, "forbocApi", unknown>;
621
+ getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
622
+ npcId: string;
623
+ apiUrl: string;
624
+ apiKey?: string;
625
+ }, _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", any[], "forbocApi", unknown>;
626
+ postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
627
+ npcId: string;
628
+ request: {
629
+ query: string;
630
+ similarity?: number;
631
+ };
632
+ apiUrl: string;
633
+ apiKey?: string;
634
+ }, _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", any[], "forbocApi", unknown>;
635
+ deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
636
+ npcId: string;
637
+ apiUrl: string;
638
+ apiKey?: string;
639
+ }, _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", any, "forbocApi", unknown>;
640
+ postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
641
+ request: {
642
+ testSuite: string;
643
+ duration: number;
644
+ };
645
+ apiUrl: string;
646
+ apiKey?: string;
647
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.GhostRunResponse, "forbocApi", unknown>;
648
+ getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
649
+ sessionId: string;
650
+ apiUrl: string;
651
+ apiKey?: string;
652
+ }, _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", any, "forbocApi", unknown>;
653
+ getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
654
+ sessionId: string;
655
+ apiUrl: string;
656
+ apiKey?: string;
657
+ }, _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", any, "forbocApi", unknown>;
658
+ postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
659
+ sessionId: string;
660
+ apiUrl: string;
661
+ apiKey?: string;
662
+ }, _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", {
663
+ stopped: boolean;
664
+ stopStatus?: string;
665
+ stopSessionId?: string;
666
+ }, "forbocApi", unknown>;
667
+ getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
668
+ limit: number;
669
+ apiUrl: string;
670
+ apiKey?: string;
671
+ }, _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", {
672
+ sessions: any[];
673
+ }, "forbocApi", unknown>;
674
+ postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
675
+ npcId: string;
676
+ request: any;
677
+ apiUrl: string;
678
+ apiKey?: string;
679
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
680
+ getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
681
+ txId: string;
682
+ apiUrl: string;
683
+ apiKey?: string;
684
+ }, _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", any, "forbocApi", unknown>;
685
+ getSouls: _reduxjs_toolkit_query.QueryDefinition<{
686
+ limit: number;
687
+ apiUrl: string;
688
+ apiKey?: string;
689
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulListResponse, "forbocApi", unknown>;
690
+ postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
691
+ request: {
692
+ action: _forbocai_core.NPCAction;
693
+ context: _forbocai_core.ValidationContext;
694
+ };
695
+ npcId?: string;
696
+ apiUrl: string;
697
+ apiKey?: string;
698
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ValidationResult, "forbocApi", unknown>;
699
+ getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
700
+ apiUrl: string;
701
+ apiKey?: string;
702
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.BridgeRule[], "forbocApi", unknown>;
703
+ postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
704
+ presetName: string;
705
+ apiUrl: string;
706
+ apiKey?: string;
707
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet, "forbocApi", unknown>;
708
+ getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
709
+ apiUrl: string;
710
+ apiKey?: string;
711
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet[], "forbocApi", unknown>;
712
+ getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
713
+ apiUrl: string;
714
+ apiKey?: string;
715
+ }, _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", string[], "forbocApi", unknown>;
716
+ postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
717
+ request: _forbocai_core.DirectiveRuleSet;
718
+ apiUrl: string;
719
+ apiKey?: string;
720
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet, "forbocApi", unknown>;
721
+ deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
722
+ rulesetId: string;
723
+ apiUrl: string;
724
+ apiKey?: string;
725
+ }, _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", {
726
+ deleted: boolean;
727
+ }, "forbocApi", unknown>;
728
+ postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
729
+ txId: string;
730
+ apiUrl: string;
731
+ apiKey?: string;
732
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulVerifyResult, "forbocApi", unknown>;
733
+ postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
734
+ request: {
735
+ txIdRef: string;
736
+ };
737
+ apiUrl: string;
738
+ apiKey?: string;
739
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
740
+ postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
741
+ cortexId: string;
742
+ prompt: string;
743
+ options?: any;
744
+ apiUrl: string;
745
+ apiKey?: string;
746
+ }, _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", {
747
+ text: string;
748
+ }, "forbocApi", unknown>;
749
+ getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
750
+ apiUrl: string;
751
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ApiStatusResponse, "forbocApi", unknown>;
752
+ }, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
753
+ npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
754
+ activeNpcId: string;
755
+ };
756
+ cortex: _forbocai_core.CortexInternalState;
757
+ memory: _reduxjs_toolkit.EntityState<_forbocai_core.MemoryItem, string> & {
758
+ storageStatus: "idle" | "storing" | "error";
759
+ recallStatus: "idle" | "recalling" | "error";
760
+ error: string | null;
761
+ lastRecalledIds: string[];
762
+ };
763
+ directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
764
+ activeDirectiveId: string;
765
+ };
766
+ ghost: _forbocai_core.GhostState;
767
+ soul: _forbocai_core.SoulState;
768
+ bridge: _forbocai_core.BridgeState;
769
+ }, redux.UnknownAction, _reduxjs_toolkit.Tuple<[redux.StoreEnhancer<{
770
+ dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
771
+ [x: string]: any;
772
+ forbocApi: _reduxjs_toolkit_query.CombinedState<{
773
+ getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
774
+ apiUrl: string;
775
+ apiKey?: string;
776
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexModelInfo[], "forbocApi", unknown>;
777
+ postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
778
+ request: {
779
+ requestedModel: string;
780
+ authKey?: string;
781
+ };
782
+ apiUrl: string;
783
+ apiKey?: string;
784
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
785
+ postDirective: _reduxjs_toolkit_query.MutationDefinition<{
786
+ npcId: string;
787
+ request: _forbocai_core.DirectiveRequest;
788
+ apiUrl: string;
789
+ apiKey?: string;
790
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveResponse, "forbocApi", unknown>;
791
+ postContext: _reduxjs_toolkit_query.MutationDefinition<{
792
+ npcId: string;
793
+ request: _forbocai_core.ContextRequest;
794
+ apiUrl: string;
795
+ apiKey?: string;
796
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ContextResponse, "forbocApi", unknown>;
797
+ postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
798
+ npcId: string;
799
+ request: _forbocai_core.VerdictRequest;
800
+ apiUrl: string;
801
+ apiKey?: string;
802
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.VerdictResponse, "forbocApi", unknown>;
803
+ postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
804
+ npcId: string;
805
+ request: {
806
+ observation: string;
807
+ importance?: number;
808
+ };
809
+ apiUrl: string;
810
+ apiKey?: string;
811
+ }, _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", any, "forbocApi", unknown>;
812
+ getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
813
+ npcId: string;
814
+ apiUrl: string;
815
+ apiKey?: string;
816
+ }, _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", any[], "forbocApi", unknown>;
817
+ postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
818
+ npcId: string;
819
+ request: {
820
+ query: string;
821
+ similarity?: number;
822
+ };
823
+ apiUrl: string;
824
+ apiKey?: string;
825
+ }, _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", any[], "forbocApi", unknown>;
826
+ deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
827
+ npcId: string;
828
+ apiUrl: string;
829
+ apiKey?: string;
830
+ }, _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", any, "forbocApi", unknown>;
831
+ postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
832
+ request: {
833
+ testSuite: string;
834
+ duration: number;
835
+ };
836
+ apiUrl: string;
837
+ apiKey?: string;
838
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.GhostRunResponse, "forbocApi", unknown>;
839
+ getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
840
+ sessionId: string;
841
+ apiUrl: string;
842
+ apiKey?: string;
843
+ }, _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", any, "forbocApi", unknown>;
844
+ getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
845
+ sessionId: string;
846
+ apiUrl: string;
847
+ apiKey?: string;
848
+ }, _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", any, "forbocApi", unknown>;
849
+ postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
850
+ sessionId: string;
851
+ apiUrl: string;
852
+ apiKey?: string;
853
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
854
+ stopped: boolean;
855
+ stopStatus?: string;
856
+ stopSessionId?: string;
857
+ }, "forbocApi", unknown>;
858
+ getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
859
+ limit: number;
860
+ apiUrl: string;
861
+ apiKey?: string;
862
+ }, _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", {
863
+ sessions: any[];
864
+ }, "forbocApi", unknown>;
865
+ postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
866
+ npcId: string;
867
+ request: any;
868
+ apiUrl: string;
869
+ apiKey?: string;
870
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
871
+ getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
872
+ txId: string;
873
+ apiUrl: string;
874
+ apiKey?: string;
875
+ }, _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", any, "forbocApi", unknown>;
876
+ getSouls: _reduxjs_toolkit_query.QueryDefinition<{
877
+ limit: number;
878
+ apiUrl: string;
879
+ apiKey?: string;
880
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulListResponse, "forbocApi", unknown>;
881
+ postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
882
+ request: {
883
+ action: _forbocai_core.NPCAction;
884
+ context: _forbocai_core.ValidationContext;
885
+ };
886
+ npcId?: string;
887
+ apiUrl: string;
888
+ apiKey?: string;
889
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ValidationResult, "forbocApi", unknown>;
890
+ getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
891
+ apiUrl: string;
892
+ apiKey?: string;
893
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.BridgeRule[], "forbocApi", unknown>;
894
+ postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
895
+ presetName: string;
896
+ apiUrl: string;
897
+ apiKey?: string;
898
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet, "forbocApi", unknown>;
899
+ getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
900
+ apiUrl: string;
901
+ apiKey?: string;
902
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet[], "forbocApi", unknown>;
903
+ getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
904
+ apiUrl: string;
905
+ apiKey?: string;
906
+ }, _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", string[], "forbocApi", unknown>;
907
+ postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
908
+ request: _forbocai_core.DirectiveRuleSet;
909
+ apiUrl: string;
910
+ apiKey?: string;
911
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet, "forbocApi", unknown>;
912
+ deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
913
+ rulesetId: string;
914
+ apiUrl: string;
915
+ apiKey?: string;
916
+ }, _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", {
917
+ deleted: boolean;
918
+ }, "forbocApi", unknown>;
919
+ postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
920
+ txId: string;
921
+ apiUrl: string;
922
+ apiKey?: string;
923
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulVerifyResult, "forbocApi", unknown>;
924
+ postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
925
+ request: {
926
+ txIdRef: string;
927
+ };
928
+ apiUrl: string;
929
+ apiKey?: string;
930
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
931
+ postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
932
+ cortexId: string;
933
+ prompt: string;
934
+ options?: any;
935
+ apiUrl: string;
936
+ apiKey?: string;
937
+ }, _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", {
938
+ text: string;
939
+ }, "forbocApi", unknown>;
940
+ getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
941
+ apiUrl: string;
942
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ApiStatusResponse, "forbocApi", unknown>;
943
+ }, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
944
+ npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
945
+ activeNpcId: string;
946
+ };
947
+ cortex: _forbocai_core.CortexInternalState;
948
+ memory: _reduxjs_toolkit.EntityState<_forbocai_core.MemoryItem, string> & {
949
+ storageStatus: "idle" | "storing" | "error";
950
+ recallStatus: "idle" | "recalling" | "error";
951
+ error: string | null;
952
+ lastRecalledIds: string[];
953
+ };
954
+ directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
955
+ activeDirectiveId: string;
956
+ };
957
+ ghost: _forbocai_core.GhostState;
958
+ soul: _forbocai_core.SoulState;
959
+ bridge: _forbocai_core.BridgeState;
960
+ }, undefined, redux.UnknownAction>;
961
+ }>, redux.StoreEnhancer]>>;
962
+ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
963
+ [x: string]: any;
964
+ forbocApi: _reduxjs_toolkit_query.CombinedState<{
965
+ getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
966
+ apiUrl: string;
967
+ apiKey?: string;
968
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexModelInfo[], "forbocApi", unknown>;
969
+ postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
970
+ request: {
971
+ requestedModel: string;
972
+ authKey?: string;
973
+ };
974
+ apiUrl: string;
975
+ apiKey?: string;
976
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.CortexInitResponse, "forbocApi", unknown>;
977
+ postDirective: _reduxjs_toolkit_query.MutationDefinition<{
978
+ npcId: string;
979
+ request: _forbocai_core.DirectiveRequest;
980
+ apiUrl: string;
981
+ apiKey?: string;
982
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveResponse, "forbocApi", unknown>;
983
+ postContext: _reduxjs_toolkit_query.MutationDefinition<{
984
+ npcId: string;
985
+ request: _forbocai_core.ContextRequest;
986
+ apiUrl: string;
987
+ apiKey?: string;
988
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ContextResponse, "forbocApi", unknown>;
989
+ postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
990
+ npcId: string;
991
+ request: _forbocai_core.VerdictRequest;
992
+ apiUrl: string;
993
+ apiKey?: string;
994
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.VerdictResponse, "forbocApi", unknown>;
995
+ postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
996
+ npcId: string;
997
+ request: {
998
+ observation: string;
999
+ importance?: number;
1000
+ };
1001
+ apiUrl: string;
1002
+ apiKey?: string;
1003
+ }, _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", any, "forbocApi", unknown>;
1004
+ getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
1005
+ npcId: string;
1006
+ apiUrl: string;
1007
+ apiKey?: string;
1008
+ }, _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", any[], "forbocApi", unknown>;
1009
+ postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
1010
+ npcId: string;
1011
+ request: {
1012
+ query: string;
1013
+ similarity?: number;
1014
+ };
1015
+ apiUrl: string;
1016
+ apiKey?: string;
1017
+ }, _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", any[], "forbocApi", unknown>;
1018
+ deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
1019
+ npcId: string;
1020
+ apiUrl: string;
1021
+ apiKey?: string;
1022
+ }, _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", any, "forbocApi", unknown>;
1023
+ postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
1024
+ request: {
1025
+ testSuite: string;
1026
+ duration: number;
1027
+ };
1028
+ apiUrl: string;
1029
+ apiKey?: string;
1030
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.GhostRunResponse, "forbocApi", unknown>;
1031
+ getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
1032
+ sessionId: string;
1033
+ apiUrl: string;
1034
+ apiKey?: string;
1035
+ }, _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", any, "forbocApi", unknown>;
1036
+ getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
1037
+ sessionId: string;
1038
+ apiUrl: string;
1039
+ apiKey?: string;
1040
+ }, _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", any, "forbocApi", unknown>;
1041
+ postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
1042
+ sessionId: string;
1043
+ apiUrl: string;
1044
+ apiKey?: string;
1045
+ }, _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", {
1046
+ stopped: boolean;
1047
+ stopStatus?: string;
1048
+ stopSessionId?: string;
1049
+ }, "forbocApi", unknown>;
1050
+ getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
1051
+ limit: number;
1052
+ apiUrl: string;
1053
+ apiKey?: string;
1054
+ }, _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", {
1055
+ sessions: any[];
1056
+ }, "forbocApi", unknown>;
1057
+ postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
1058
+ npcId: string;
1059
+ request: any;
1060
+ apiUrl: string;
1061
+ apiKey?: string;
1062
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulExportResponse, "forbocApi", unknown>;
1063
+ getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
1064
+ txId: string;
1065
+ apiUrl: string;
1066
+ apiKey?: string;
1067
+ }, _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", any, "forbocApi", unknown>;
1068
+ getSouls: _reduxjs_toolkit_query.QueryDefinition<{
1069
+ limit: number;
1070
+ apiUrl: string;
1071
+ apiKey?: string;
1072
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulListResponse, "forbocApi", unknown>;
1073
+ postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
1074
+ request: {
1075
+ action: _forbocai_core.NPCAction;
1076
+ context: _forbocai_core.ValidationContext;
1077
+ };
1078
+ npcId?: string;
1079
+ apiUrl: string;
1080
+ apiKey?: string;
1081
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ValidationResult, "forbocApi", unknown>;
1082
+ getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
1083
+ apiUrl: string;
1084
+ apiKey?: string;
1085
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.BridgeRule[], "forbocApi", unknown>;
1086
+ postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
1087
+ presetName: string;
1088
+ apiUrl: string;
1089
+ apiKey?: string;
1090
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet, "forbocApi", unknown>;
1091
+ getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
1092
+ apiUrl: string;
1093
+ apiKey?: string;
1094
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet[], "forbocApi", unknown>;
1095
+ getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
1096
+ apiUrl: string;
1097
+ apiKey?: string;
1098
+ }, _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", string[], "forbocApi", unknown>;
1099
+ postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
1100
+ request: _forbocai_core.DirectiveRuleSet;
1101
+ apiUrl: string;
1102
+ apiKey?: string;
1103
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.DirectiveRuleSet, "forbocApi", unknown>;
1104
+ deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
1105
+ rulesetId: string;
1106
+ apiUrl: string;
1107
+ apiKey?: string;
1108
+ }, _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", {
1109
+ deleted: boolean;
1110
+ }, "forbocApi", unknown>;
1111
+ postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
1112
+ txId: string;
1113
+ apiUrl: string;
1114
+ apiKey?: string;
1115
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulVerifyResult, "forbocApi", unknown>;
1116
+ postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
1117
+ request: {
1118
+ txIdRef: string;
1119
+ };
1120
+ apiUrl: string;
1121
+ apiKey?: string;
1122
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
1123
+ postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
1124
+ cortexId: string;
1125
+ prompt: string;
1126
+ options?: any;
1127
+ apiUrl: string;
1128
+ apiKey?: string;
1129
+ }, _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", {
1130
+ text: string;
1131
+ }, "forbocApi", unknown>;
1132
+ getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
1133
+ apiUrl: string;
1134
+ }, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ApiStatusResponse, "forbocApi", unknown>;
1135
+ }, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
1136
+ npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
1137
+ activeNpcId: string;
1138
+ };
1139
+ cortex: _forbocai_core.CortexInternalState;
1140
+ memory: _reduxjs_toolkit.EntityState<_forbocai_core.MemoryItem, string> & {
1141
+ storageStatus: "idle" | "storing" | "error";
1142
+ recallStatus: "idle" | "recalling" | "error";
1143
+ error: string | null;
1144
+ lastRecalledIds: string[];
1145
+ };
1146
+ directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
1147
+ activeDirectiveId: string;
1148
+ };
1149
+ ghost: _forbocai_core.GhostState;
1150
+ soul: _forbocai_core.SoulState;
1151
+ bridge: _forbocai_core.BridgeState;
1152
+ }, undefined, redux.UnknownAction> & redux.Dispatch<redux.UnknownAction>;
1153
+ type BrowserStore = ReturnType<typeof createBrowserStore>;
1154
+ type BrowserState = ReturnType<BrowserStore['getState']>;
1155
+ type BrowserDispatch = BrowserStore['dispatch'];
45
1156
 
46
- export { type IBrowserMemory, createBrowserCortex, createBrowserMemory, createCortex, createMemory, generateEmbedding, initVectorEngine };
1157
+ export { type BrowserCortexSession, type BrowserDispatch, type BrowserMemoryDB, type BrowserState, type BrowserStore, type BrowserVectorState, browserCortexSlice, browserMemorySlice, browserVectorSlice, clearBrowserMemoryThunk, completeBrowserCortexThunk, createBrowserStore, dispatch, generateBrowserEmbeddingThunk, generateEmbedding, getBrowserEngine, initBrowserCortexThunk, initBrowserMemoryThunk, initBrowserVectorThunk, recallBrowserMemoryThunk, selectAllBrowserCortexSessions, selectAllBrowserDBs, selectBrowserCortexById, selectBrowserDBById, setDownloadProgress, setDownloadState, store, storeBrowserMemoryThunk };