@forbocai/browser 0.6.0 → 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.mts +510 -115
- package/dist/index.d.ts +510 -115
- package/dist/index.js +0 -7
- package/dist/index.mjs +0 -2
- package/dist/worker.mjs +6 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -89,6 +89,11 @@ declare const selectBrowserCortexById: (state: any, id: string) => {
|
|
|
89
89
|
engine: string;
|
|
90
90
|
};
|
|
91
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
|
+
*/
|
|
92
97
|
declare const getBrowserEngine: (model?: string) => any;
|
|
93
98
|
|
|
94
99
|
interface BrowserMemoryDB {
|
|
@@ -175,82 +180,130 @@ declare const generateBrowserEmbeddingThunk: _reduxjs_toolkit.AsyncThunk<number[
|
|
|
175
180
|
fulfilledMeta?: unknown;
|
|
176
181
|
rejectedMeta?: unknown;
|
|
177
182
|
}>;
|
|
183
|
+
/**
|
|
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.
|
|
187
|
+
*/
|
|
178
188
|
declare const generateEmbedding: (text: string) => Promise<number[]>;
|
|
179
189
|
declare const browserVectorSlice: _reduxjs_toolkit.Slice<BrowserVectorState, {}, "browserVector", "browserVector", _reduxjs_toolkit.SliceSelectors<BrowserVectorState>>;
|
|
180
190
|
|
|
191
|
+
/**
|
|
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.
|
|
195
|
+
*/
|
|
181
196
|
declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
182
197
|
[x: string]: any;
|
|
183
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>;
|
|
184
211
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
185
212
|
npcId: string;
|
|
186
213
|
request: _forbocai_core.DirectiveRequest;
|
|
187
214
|
apiUrl: string;
|
|
188
215
|
apiKey?: string;
|
|
189
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.DirectiveResponse, "forbocApi", unknown>;
|
|
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>;
|
|
190
217
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
191
218
|
npcId: string;
|
|
192
219
|
request: _forbocai_core.ContextRequest;
|
|
193
220
|
apiUrl: string;
|
|
194
221
|
apiKey?: string;
|
|
195
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.ContextResponse, "forbocApi", unknown>;
|
|
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>;
|
|
196
223
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
197
224
|
npcId: string;
|
|
198
225
|
request: _forbocai_core.VerdictRequest;
|
|
199
226
|
apiUrl: string;
|
|
200
227
|
apiKey?: string;
|
|
201
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.VerdictResponse, "forbocApi", unknown>;
|
|
202
|
-
|
|
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<{
|
|
203
244
|
npcId: string;
|
|
204
|
-
request:
|
|
245
|
+
request: {
|
|
246
|
+
query: string;
|
|
247
|
+
similarity?: number;
|
|
248
|
+
};
|
|
205
249
|
apiUrl: string;
|
|
206
250
|
apiKey?: string;
|
|
207
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
208
|
-
|
|
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<{
|
|
209
253
|
npcId: string;
|
|
210
|
-
request: _forbocai_core.DialogueRequest;
|
|
211
254
|
apiUrl: string;
|
|
212
255
|
apiKey?: string;
|
|
213
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
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>;
|
|
214
257
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
215
258
|
request: {
|
|
216
259
|
testSuite: string;
|
|
217
260
|
duration: number;
|
|
218
261
|
};
|
|
219
262
|
apiUrl: string;
|
|
220
|
-
|
|
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>;
|
|
221
265
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
222
266
|
sessionId: string;
|
|
223
267
|
apiUrl: string;
|
|
224
|
-
|
|
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>;
|
|
225
270
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
226
271
|
sessionId: string;
|
|
227
272
|
apiUrl: string;
|
|
228
|
-
|
|
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>;
|
|
229
275
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
230
276
|
sessionId: string;
|
|
231
277
|
apiUrl: string;
|
|
232
|
-
|
|
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", {
|
|
233
280
|
stopped: boolean;
|
|
281
|
+
stopStatus?: string;
|
|
282
|
+
stopSessionId?: string;
|
|
234
283
|
}, "forbocApi", unknown>;
|
|
235
284
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
236
285
|
limit: number;
|
|
237
286
|
apiUrl: string;
|
|
238
|
-
|
|
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", {
|
|
239
289
|
sessions: any[];
|
|
240
290
|
}, "forbocApi", unknown>;
|
|
241
291
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
242
292
|
npcId: string;
|
|
243
293
|
request: any;
|
|
244
294
|
apiUrl: string;
|
|
245
|
-
|
|
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>;
|
|
246
297
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
247
298
|
txId: string;
|
|
248
299
|
apiUrl: string;
|
|
249
|
-
|
|
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>;
|
|
250
302
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
251
303
|
limit: number;
|
|
252
304
|
apiUrl: string;
|
|
253
|
-
|
|
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>;
|
|
254
307
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
255
308
|
request: {
|
|
256
309
|
action: _forbocai_core.NPCAction;
|
|
@@ -258,27 +311,62 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
258
311
|
};
|
|
259
312
|
npcId?: string;
|
|
260
313
|
apiUrl: string;
|
|
261
|
-
|
|
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>;
|
|
262
316
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
263
317
|
apiUrl: string;
|
|
264
|
-
|
|
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>;
|
|
265
320
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
266
321
|
presetName: string;
|
|
267
322
|
apiUrl: string;
|
|
268
|
-
|
|
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>;
|
|
269
357
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
270
358
|
cortexId: string;
|
|
271
359
|
prompt: string;
|
|
272
360
|
options?: any;
|
|
273
361
|
apiUrl: string;
|
|
274
362
|
apiKey?: string;
|
|
275
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
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", {
|
|
276
364
|
text: string;
|
|
277
365
|
}, "forbocApi", unknown>;
|
|
278
366
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
279
367
|
apiUrl: string;
|
|
280
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.ApiStatusResponse, "forbocApi", unknown>;
|
|
281
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
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">;
|
|
282
370
|
npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
|
|
283
371
|
activeNpcId: string;
|
|
284
372
|
};
|
|
@@ -289,6 +377,9 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
289
377
|
error: string | null;
|
|
290
378
|
lastRecalledIds: string[];
|
|
291
379
|
};
|
|
380
|
+
directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
|
|
381
|
+
activeDirectiveId: string;
|
|
382
|
+
};
|
|
292
383
|
ghost: _forbocai_core.GhostState;
|
|
293
384
|
soul: _forbocai_core.SoulState;
|
|
294
385
|
bridge: _forbocai_core.BridgeState;
|
|
@@ -296,76 +387,114 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
296
387
|
dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
|
|
297
388
|
[x: string]: any;
|
|
298
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>;
|
|
299
402
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
300
403
|
npcId: string;
|
|
301
404
|
request: _forbocai_core.DirectiveRequest;
|
|
302
405
|
apiUrl: string;
|
|
303
406
|
apiKey?: string;
|
|
304
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.DirectiveResponse, "forbocApi", unknown>;
|
|
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>;
|
|
305
408
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
306
409
|
npcId: string;
|
|
307
410
|
request: _forbocai_core.ContextRequest;
|
|
308
411
|
apiUrl: string;
|
|
309
412
|
apiKey?: string;
|
|
310
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.ContextResponse, "forbocApi", unknown>;
|
|
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>;
|
|
311
414
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
312
415
|
npcId: string;
|
|
313
416
|
request: _forbocai_core.VerdictRequest;
|
|
314
417
|
apiUrl: string;
|
|
315
418
|
apiKey?: string;
|
|
316
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.VerdictResponse, "forbocApi", unknown>;
|
|
317
|
-
|
|
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<{
|
|
318
430
|
npcId: string;
|
|
319
|
-
request: _forbocai_core.SpeakRequest;
|
|
320
431
|
apiUrl: string;
|
|
321
432
|
apiKey?: string;
|
|
322
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
323
|
-
|
|
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<{
|
|
324
435
|
npcId: string;
|
|
325
|
-
request:
|
|
436
|
+
request: {
|
|
437
|
+
query: string;
|
|
438
|
+
similarity?: number;
|
|
439
|
+
};
|
|
326
440
|
apiUrl: string;
|
|
327
441
|
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",
|
|
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>;
|
|
329
448
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
330
449
|
request: {
|
|
331
450
|
testSuite: string;
|
|
332
451
|
duration: number;
|
|
333
452
|
};
|
|
334
453
|
apiUrl: string;
|
|
335
|
-
|
|
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>;
|
|
336
456
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
337
457
|
sessionId: string;
|
|
338
458
|
apiUrl: string;
|
|
339
|
-
|
|
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>;
|
|
340
461
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
341
462
|
sessionId: string;
|
|
342
463
|
apiUrl: string;
|
|
343
|
-
|
|
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>;
|
|
344
466
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
345
467
|
sessionId: string;
|
|
346
468
|
apiUrl: string;
|
|
347
|
-
|
|
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", {
|
|
348
471
|
stopped: boolean;
|
|
472
|
+
stopStatus?: string;
|
|
473
|
+
stopSessionId?: string;
|
|
349
474
|
}, "forbocApi", unknown>;
|
|
350
475
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
351
476
|
limit: number;
|
|
352
477
|
apiUrl: string;
|
|
353
|
-
|
|
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", {
|
|
354
480
|
sessions: any[];
|
|
355
481
|
}, "forbocApi", unknown>;
|
|
356
482
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
357
483
|
npcId: string;
|
|
358
484
|
request: any;
|
|
359
485
|
apiUrl: string;
|
|
360
|
-
|
|
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>;
|
|
361
488
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
362
489
|
txId: string;
|
|
363
490
|
apiUrl: string;
|
|
364
|
-
|
|
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>;
|
|
365
493
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
366
494
|
limit: number;
|
|
367
495
|
apiUrl: string;
|
|
368
|
-
|
|
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>;
|
|
369
498
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
370
499
|
request: {
|
|
371
500
|
action: _forbocai_core.NPCAction;
|
|
@@ -373,27 +502,62 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
373
502
|
};
|
|
374
503
|
npcId?: string;
|
|
375
504
|
apiUrl: string;
|
|
376
|
-
|
|
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>;
|
|
377
507
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
378
508
|
apiUrl: string;
|
|
379
|
-
|
|
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>;
|
|
380
511
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
381
512
|
presetName: string;
|
|
382
513
|
apiUrl: string;
|
|
383
|
-
|
|
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>;
|
|
384
548
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
385
549
|
cortexId: string;
|
|
386
550
|
prompt: string;
|
|
387
551
|
options?: any;
|
|
388
552
|
apiUrl: string;
|
|
389
553
|
apiKey?: string;
|
|
390
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
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", {
|
|
391
555
|
text: string;
|
|
392
556
|
}, "forbocApi", unknown>;
|
|
393
557
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
394
558
|
apiUrl: string;
|
|
395
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.ApiStatusResponse, "forbocApi", unknown>;
|
|
396
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
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">;
|
|
397
561
|
npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
|
|
398
562
|
activeNpcId: string;
|
|
399
563
|
};
|
|
@@ -404,6 +568,9 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
404
568
|
error: string | null;
|
|
405
569
|
lastRecalledIds: string[];
|
|
406
570
|
};
|
|
571
|
+
directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
|
|
572
|
+
activeDirectiveId: string;
|
|
573
|
+
};
|
|
407
574
|
ghost: _forbocai_core.GhostState;
|
|
408
575
|
soul: _forbocai_core.SoulState;
|
|
409
576
|
bridge: _forbocai_core.BridgeState;
|
|
@@ -412,76 +579,114 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
412
579
|
declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
413
580
|
[x: string]: any;
|
|
414
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>;
|
|
415
594
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
416
595
|
npcId: string;
|
|
417
596
|
request: _forbocai_core.DirectiveRequest;
|
|
418
597
|
apiUrl: string;
|
|
419
598
|
apiKey?: string;
|
|
420
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.DirectiveResponse, "forbocApi", unknown>;
|
|
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>;
|
|
421
600
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
422
601
|
npcId: string;
|
|
423
602
|
request: _forbocai_core.ContextRequest;
|
|
424
603
|
apiUrl: string;
|
|
425
604
|
apiKey?: string;
|
|
426
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.ContextResponse, "forbocApi", unknown>;
|
|
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>;
|
|
427
606
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
428
607
|
npcId: string;
|
|
429
608
|
request: _forbocai_core.VerdictRequest;
|
|
430
609
|
apiUrl: string;
|
|
431
610
|
apiKey?: string;
|
|
432
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.VerdictResponse, "forbocApi", unknown>;
|
|
433
|
-
|
|
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<{
|
|
434
613
|
npcId: string;
|
|
435
|
-
request:
|
|
614
|
+
request: {
|
|
615
|
+
observation: string;
|
|
616
|
+
importance?: number;
|
|
617
|
+
};
|
|
436
618
|
apiUrl: string;
|
|
437
619
|
apiKey?: string;
|
|
438
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
439
|
-
|
|
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<{
|
|
440
622
|
npcId: string;
|
|
441
|
-
request: _forbocai_core.DialogueRequest;
|
|
442
623
|
apiUrl: string;
|
|
443
624
|
apiKey?: string;
|
|
444
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
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>;
|
|
445
640
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
446
641
|
request: {
|
|
447
642
|
testSuite: string;
|
|
448
643
|
duration: number;
|
|
449
644
|
};
|
|
450
645
|
apiUrl: string;
|
|
451
|
-
|
|
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>;
|
|
452
648
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
453
649
|
sessionId: string;
|
|
454
650
|
apiUrl: string;
|
|
455
|
-
|
|
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>;
|
|
456
653
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
457
654
|
sessionId: string;
|
|
458
655
|
apiUrl: string;
|
|
459
|
-
|
|
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>;
|
|
460
658
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
461
659
|
sessionId: string;
|
|
462
660
|
apiUrl: string;
|
|
463
|
-
|
|
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", {
|
|
464
663
|
stopped: boolean;
|
|
664
|
+
stopStatus?: string;
|
|
665
|
+
stopSessionId?: string;
|
|
465
666
|
}, "forbocApi", unknown>;
|
|
466
667
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
467
668
|
limit: number;
|
|
468
669
|
apiUrl: string;
|
|
469
|
-
|
|
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", {
|
|
470
672
|
sessions: any[];
|
|
471
673
|
}, "forbocApi", unknown>;
|
|
472
674
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
473
675
|
npcId: string;
|
|
474
676
|
request: any;
|
|
475
677
|
apiUrl: string;
|
|
476
|
-
|
|
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>;
|
|
477
680
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
478
681
|
txId: string;
|
|
479
682
|
apiUrl: string;
|
|
480
|
-
|
|
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>;
|
|
481
685
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
482
686
|
limit: number;
|
|
483
687
|
apiUrl: string;
|
|
484
|
-
|
|
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>;
|
|
485
690
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
486
691
|
request: {
|
|
487
692
|
action: _forbocai_core.NPCAction;
|
|
@@ -489,27 +694,62 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
489
694
|
};
|
|
490
695
|
npcId?: string;
|
|
491
696
|
apiUrl: string;
|
|
492
|
-
|
|
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>;
|
|
493
699
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
494
700
|
apiUrl: string;
|
|
495
|
-
|
|
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>;
|
|
496
703
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
497
704
|
presetName: string;
|
|
498
705
|
apiUrl: string;
|
|
499
|
-
|
|
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>;
|
|
500
740
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
501
741
|
cortexId: string;
|
|
502
742
|
prompt: string;
|
|
503
743
|
options?: any;
|
|
504
744
|
apiUrl: string;
|
|
505
745
|
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", {
|
|
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", {
|
|
507
747
|
text: string;
|
|
508
748
|
}, "forbocApi", unknown>;
|
|
509
749
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
510
750
|
apiUrl: string;
|
|
511
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.ApiStatusResponse, "forbocApi", unknown>;
|
|
512
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
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">;
|
|
513
753
|
npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
|
|
514
754
|
activeNpcId: string;
|
|
515
755
|
};
|
|
@@ -520,6 +760,9 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
520
760
|
error: string | null;
|
|
521
761
|
lastRecalledIds: string[];
|
|
522
762
|
};
|
|
763
|
+
directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
|
|
764
|
+
activeDirectiveId: string;
|
|
765
|
+
};
|
|
523
766
|
ghost: _forbocai_core.GhostState;
|
|
524
767
|
soul: _forbocai_core.SoulState;
|
|
525
768
|
bridge: _forbocai_core.BridgeState;
|
|
@@ -527,76 +770,114 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
527
770
|
dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
|
|
528
771
|
[x: string]: any;
|
|
529
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>;
|
|
530
785
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
531
786
|
npcId: string;
|
|
532
787
|
request: _forbocai_core.DirectiveRequest;
|
|
533
788
|
apiUrl: string;
|
|
534
789
|
apiKey?: string;
|
|
535
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.DirectiveResponse, "forbocApi", unknown>;
|
|
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>;
|
|
536
791
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
537
792
|
npcId: string;
|
|
538
793
|
request: _forbocai_core.ContextRequest;
|
|
539
794
|
apiUrl: string;
|
|
540
795
|
apiKey?: string;
|
|
541
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.ContextResponse, "forbocApi", unknown>;
|
|
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>;
|
|
542
797
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
543
798
|
npcId: string;
|
|
544
799
|
request: _forbocai_core.VerdictRequest;
|
|
545
800
|
apiUrl: string;
|
|
546
801
|
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", _forbocai_core.VerdictResponse, "forbocApi", unknown>;
|
|
548
|
-
|
|
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<{
|
|
549
804
|
npcId: string;
|
|
550
|
-
request:
|
|
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
|
+
};
|
|
551
823
|
apiUrl: string;
|
|
552
824
|
apiKey?: string;
|
|
553
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
554
|
-
|
|
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<{
|
|
555
827
|
npcId: string;
|
|
556
|
-
request: _forbocai_core.DialogueRequest;
|
|
557
828
|
apiUrl: string;
|
|
558
829
|
apiKey?: 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",
|
|
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>;
|
|
560
831
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
561
832
|
request: {
|
|
562
833
|
testSuite: string;
|
|
563
834
|
duration: number;
|
|
564
835
|
};
|
|
565
836
|
apiUrl: string;
|
|
566
|
-
|
|
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>;
|
|
567
839
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
568
840
|
sessionId: string;
|
|
569
841
|
apiUrl: string;
|
|
570
|
-
|
|
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>;
|
|
571
844
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
572
845
|
sessionId: string;
|
|
573
846
|
apiUrl: string;
|
|
574
|
-
|
|
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>;
|
|
575
849
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
576
850
|
sessionId: string;
|
|
577
851
|
apiUrl: string;
|
|
578
|
-
|
|
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", {
|
|
579
854
|
stopped: boolean;
|
|
855
|
+
stopStatus?: string;
|
|
856
|
+
stopSessionId?: string;
|
|
580
857
|
}, "forbocApi", unknown>;
|
|
581
858
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
582
859
|
limit: number;
|
|
583
860
|
apiUrl: string;
|
|
584
|
-
|
|
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", {
|
|
585
863
|
sessions: any[];
|
|
586
864
|
}, "forbocApi", unknown>;
|
|
587
865
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
588
866
|
npcId: string;
|
|
589
867
|
request: any;
|
|
590
868
|
apiUrl: string;
|
|
591
|
-
|
|
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>;
|
|
592
871
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
593
872
|
txId: string;
|
|
594
873
|
apiUrl: string;
|
|
595
|
-
|
|
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>;
|
|
596
876
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
597
877
|
limit: number;
|
|
598
878
|
apiUrl: string;
|
|
599
|
-
|
|
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>;
|
|
600
881
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
601
882
|
request: {
|
|
602
883
|
action: _forbocai_core.NPCAction;
|
|
@@ -604,27 +885,62 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
604
885
|
};
|
|
605
886
|
npcId?: string;
|
|
606
887
|
apiUrl: string;
|
|
607
|
-
|
|
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>;
|
|
608
890
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
609
891
|
apiUrl: string;
|
|
610
|
-
|
|
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>;
|
|
611
894
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
612
895
|
presetName: string;
|
|
613
896
|
apiUrl: string;
|
|
614
|
-
|
|
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>;
|
|
615
931
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
616
932
|
cortexId: string;
|
|
617
933
|
prompt: string;
|
|
618
934
|
options?: any;
|
|
619
935
|
apiUrl: string;
|
|
620
936
|
apiKey?: string;
|
|
621
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
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", {
|
|
622
938
|
text: string;
|
|
623
939
|
}, "forbocApi", unknown>;
|
|
624
940
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
625
941
|
apiUrl: string;
|
|
626
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.ApiStatusResponse, "forbocApi", unknown>;
|
|
627
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
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">;
|
|
628
944
|
npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
|
|
629
945
|
activeNpcId: string;
|
|
630
946
|
};
|
|
@@ -635,6 +951,9 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
635
951
|
error: string | null;
|
|
636
952
|
lastRecalledIds: string[];
|
|
637
953
|
};
|
|
954
|
+
directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
|
|
955
|
+
activeDirectiveId: string;
|
|
956
|
+
};
|
|
638
957
|
ghost: _forbocai_core.GhostState;
|
|
639
958
|
soul: _forbocai_core.SoulState;
|
|
640
959
|
bridge: _forbocai_core.BridgeState;
|
|
@@ -643,76 +962,114 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
643
962
|
declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
|
|
644
963
|
[x: string]: any;
|
|
645
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>;
|
|
646
977
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
647
978
|
npcId: string;
|
|
648
979
|
request: _forbocai_core.DirectiveRequest;
|
|
649
980
|
apiUrl: string;
|
|
650
981
|
apiKey?: string;
|
|
651
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.DirectiveResponse, "forbocApi", unknown>;
|
|
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>;
|
|
652
983
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
653
984
|
npcId: string;
|
|
654
985
|
request: _forbocai_core.ContextRequest;
|
|
655
986
|
apiUrl: string;
|
|
656
987
|
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", _forbocai_core.ContextResponse, "forbocApi", unknown>;
|
|
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>;
|
|
658
989
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
659
990
|
npcId: string;
|
|
660
991
|
request: _forbocai_core.VerdictRequest;
|
|
661
992
|
apiUrl: string;
|
|
662
993
|
apiKey?: string;
|
|
663
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.VerdictResponse, "forbocApi", unknown>;
|
|
664
|
-
|
|
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<{
|
|
665
1005
|
npcId: string;
|
|
666
|
-
request: _forbocai_core.SpeakRequest;
|
|
667
1006
|
apiUrl: string;
|
|
668
1007
|
apiKey?: string;
|
|
669
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
670
|
-
|
|
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<{
|
|
671
1010
|
npcId: string;
|
|
672
|
-
request:
|
|
1011
|
+
request: {
|
|
1012
|
+
query: string;
|
|
1013
|
+
similarity?: number;
|
|
1014
|
+
};
|
|
673
1015
|
apiUrl: string;
|
|
674
1016
|
apiKey?: string;
|
|
675
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
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>;
|
|
676
1023
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
677
1024
|
request: {
|
|
678
1025
|
testSuite: string;
|
|
679
1026
|
duration: number;
|
|
680
1027
|
};
|
|
681
1028
|
apiUrl: string;
|
|
682
|
-
|
|
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>;
|
|
683
1031
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
684
1032
|
sessionId: string;
|
|
685
1033
|
apiUrl: string;
|
|
686
|
-
|
|
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>;
|
|
687
1036
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
688
1037
|
sessionId: string;
|
|
689
1038
|
apiUrl: string;
|
|
690
|
-
|
|
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>;
|
|
691
1041
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
692
1042
|
sessionId: string;
|
|
693
1043
|
apiUrl: string;
|
|
694
|
-
|
|
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", {
|
|
695
1046
|
stopped: boolean;
|
|
1047
|
+
stopStatus?: string;
|
|
1048
|
+
stopSessionId?: string;
|
|
696
1049
|
}, "forbocApi", unknown>;
|
|
697
1050
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
698
1051
|
limit: number;
|
|
699
1052
|
apiUrl: string;
|
|
700
|
-
|
|
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", {
|
|
701
1055
|
sessions: any[];
|
|
702
1056
|
}, "forbocApi", unknown>;
|
|
703
1057
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
704
1058
|
npcId: string;
|
|
705
1059
|
request: any;
|
|
706
1060
|
apiUrl: string;
|
|
707
|
-
|
|
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>;
|
|
708
1063
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
709
1064
|
txId: string;
|
|
710
1065
|
apiUrl: string;
|
|
711
|
-
|
|
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>;
|
|
712
1068
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
713
1069
|
limit: number;
|
|
714
1070
|
apiUrl: string;
|
|
715
|
-
|
|
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>;
|
|
716
1073
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
717
1074
|
request: {
|
|
718
1075
|
action: _forbocai_core.NPCAction;
|
|
@@ -720,27 +1077,62 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
720
1077
|
};
|
|
721
1078
|
npcId?: string;
|
|
722
1079
|
apiUrl: string;
|
|
723
|
-
|
|
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>;
|
|
724
1082
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
725
1083
|
apiUrl: string;
|
|
726
|
-
|
|
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>;
|
|
727
1086
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
728
1087
|
presetName: string;
|
|
729
1088
|
apiUrl: string;
|
|
730
|
-
|
|
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>;
|
|
731
1123
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
732
1124
|
cortexId: string;
|
|
733
1125
|
prompt: string;
|
|
734
1126
|
options?: any;
|
|
735
1127
|
apiUrl: string;
|
|
736
1128
|
apiKey?: string;
|
|
737
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
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", {
|
|
738
1130
|
text: string;
|
|
739
1131
|
}, "forbocApi", unknown>;
|
|
740
1132
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
741
1133
|
apiUrl: string;
|
|
742
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", _forbocai_core.ApiStatusResponse, "forbocApi", unknown>;
|
|
743
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
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">;
|
|
744
1136
|
npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
|
|
745
1137
|
activeNpcId: string;
|
|
746
1138
|
};
|
|
@@ -751,6 +1143,9 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
751
1143
|
error: string | null;
|
|
752
1144
|
lastRecalledIds: string[];
|
|
753
1145
|
};
|
|
1146
|
+
directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
|
|
1147
|
+
activeDirectiveId: string;
|
|
1148
|
+
};
|
|
754
1149
|
ghost: _forbocai_core.GhostState;
|
|
755
1150
|
soul: _forbocai_core.SoulState;
|
|
756
1151
|
bridge: _forbocai_core.BridgeState;
|