@forbocai/browser 0.6.0 → 0.6.2
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 +540 -115
- package/dist/index.d.ts +540 -115
- package/dist/index.js +4 -8
- package/dist/index.mjs +4 -3
- package/dist/worker.mjs +6 -1
- package/package.json +2 -2
package/dist/index.d.mts
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,136 @@ 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>;
|
|
211
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
212
|
+
npcId: string;
|
|
213
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
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.NPCProcessResponse, "forbocApi", unknown>;
|
|
184
217
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
185
218
|
npcId: string;
|
|
186
219
|
request: _forbocai_core.DirectiveRequest;
|
|
187
220
|
apiUrl: string;
|
|
188
221
|
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>;
|
|
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.DirectiveResponse, "forbocApi", unknown>;
|
|
190
223
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
191
224
|
npcId: string;
|
|
192
225
|
request: _forbocai_core.ContextRequest;
|
|
193
226
|
apiUrl: string;
|
|
194
227
|
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>;
|
|
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.ContextResponse, "forbocApi", unknown>;
|
|
196
229
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
197
230
|
npcId: string;
|
|
198
231
|
request: _forbocai_core.VerdictRequest;
|
|
199
232
|
apiUrl: string;
|
|
200
233
|
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
|
-
|
|
234
|
+
}, _reduxjs_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>;
|
|
235
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
236
|
+
npcId: string;
|
|
237
|
+
request: {
|
|
238
|
+
observation: string;
|
|
239
|
+
importance?: number;
|
|
240
|
+
};
|
|
241
|
+
apiUrl: string;
|
|
242
|
+
apiKey?: string;
|
|
243
|
+
}, _reduxjs_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>;
|
|
244
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
245
|
+
npcId: string;
|
|
246
|
+
apiUrl: string;
|
|
247
|
+
apiKey?: string;
|
|
248
|
+
}, _reduxjs_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>;
|
|
249
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
203
250
|
npcId: string;
|
|
204
|
-
request:
|
|
251
|
+
request: {
|
|
252
|
+
query: string;
|
|
253
|
+
similarity?: number;
|
|
254
|
+
};
|
|
205
255
|
apiUrl: string;
|
|
206
256
|
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
|
-
|
|
257
|
+
}, _reduxjs_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>;
|
|
258
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
209
259
|
npcId: string;
|
|
210
|
-
request: _forbocai_core.DialogueRequest;
|
|
211
260
|
apiUrl: string;
|
|
212
261
|
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",
|
|
262
|
+
}, _reduxjs_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
263
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
215
264
|
request: {
|
|
216
265
|
testSuite: string;
|
|
217
266
|
duration: number;
|
|
218
267
|
};
|
|
219
268
|
apiUrl: string;
|
|
220
|
-
|
|
269
|
+
apiKey?: string;
|
|
270
|
+
}, _reduxjs_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
271
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
222
272
|
sessionId: string;
|
|
223
273
|
apiUrl: string;
|
|
224
|
-
|
|
274
|
+
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" | "Rule", any, "forbocApi", unknown>;
|
|
225
276
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
226
277
|
sessionId: string;
|
|
227
278
|
apiUrl: string;
|
|
228
|
-
|
|
279
|
+
apiKey?: 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" | "Rule", any, "forbocApi", unknown>;
|
|
229
281
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
230
282
|
sessionId: string;
|
|
231
283
|
apiUrl: string;
|
|
232
|
-
|
|
284
|
+
apiKey?: string;
|
|
285
|
+
}, _reduxjs_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
286
|
stopped: boolean;
|
|
287
|
+
stopStatus?: string;
|
|
288
|
+
stopSessionId?: string;
|
|
234
289
|
}, "forbocApi", unknown>;
|
|
235
290
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
236
291
|
limit: number;
|
|
237
292
|
apiUrl: string;
|
|
238
|
-
|
|
293
|
+
apiKey?: string;
|
|
294
|
+
}, _reduxjs_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
295
|
sessions: any[];
|
|
240
296
|
}, "forbocApi", unknown>;
|
|
241
297
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
242
298
|
npcId: string;
|
|
243
299
|
request: any;
|
|
244
300
|
apiUrl: string;
|
|
245
|
-
|
|
301
|
+
apiKey?: string;
|
|
302
|
+
}, _reduxjs_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
303
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
247
304
|
txId: string;
|
|
248
305
|
apiUrl: string;
|
|
249
|
-
|
|
306
|
+
apiKey?: string;
|
|
307
|
+
}, _reduxjs_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
308
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
251
309
|
limit: number;
|
|
252
310
|
apiUrl: string;
|
|
253
|
-
|
|
311
|
+
apiKey?: string;
|
|
312
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.SoulListResponse, "forbocApi", unknown>;
|
|
254
313
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
255
314
|
request: {
|
|
256
315
|
action: _forbocai_core.NPCAction;
|
|
@@ -258,27 +317,62 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
258
317
|
};
|
|
259
318
|
npcId?: string;
|
|
260
319
|
apiUrl: string;
|
|
261
|
-
|
|
320
|
+
apiKey?: string;
|
|
321
|
+
}, _reduxjs_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
322
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
263
323
|
apiUrl: string;
|
|
264
|
-
|
|
324
|
+
apiKey?: string;
|
|
325
|
+
}, _reduxjs_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
326
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
266
327
|
presetName: string;
|
|
267
328
|
apiUrl: string;
|
|
268
|
-
|
|
329
|
+
apiKey?: string;
|
|
330
|
+
}, _reduxjs_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>;
|
|
331
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
332
|
+
apiUrl: string;
|
|
333
|
+
apiKey?: string;
|
|
334
|
+
}, _reduxjs_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>;
|
|
335
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
336
|
+
apiUrl: string;
|
|
337
|
+
apiKey?: string;
|
|
338
|
+
}, _reduxjs_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>;
|
|
339
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
340
|
+
request: _forbocai_core.DirectiveRuleSet;
|
|
341
|
+
apiUrl: string;
|
|
342
|
+
apiKey?: string;
|
|
343
|
+
}, _reduxjs_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>;
|
|
344
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
345
|
+
rulesetId: string;
|
|
346
|
+
apiUrl: string;
|
|
347
|
+
apiKey?: string;
|
|
348
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
349
|
+
deleted: boolean;
|
|
350
|
+
}, "forbocApi", unknown>;
|
|
351
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
352
|
+
txId: string;
|
|
353
|
+
apiUrl: string;
|
|
354
|
+
apiKey?: string;
|
|
355
|
+
}, _reduxjs_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>;
|
|
356
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
357
|
+
request: {
|
|
358
|
+
txIdRef: string;
|
|
359
|
+
};
|
|
360
|
+
apiUrl: string;
|
|
361
|
+
apiKey?: string;
|
|
362
|
+
}, _reduxjs_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
363
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
270
364
|
cortexId: string;
|
|
271
365
|
prompt: string;
|
|
272
366
|
options?: any;
|
|
273
367
|
apiUrl: string;
|
|
274
368
|
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", {
|
|
369
|
+
}, _reduxjs_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
370
|
text: string;
|
|
277
371
|
}, "forbocApi", unknown>;
|
|
278
372
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
279
373
|
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">;
|
|
374
|
+
}, _reduxjs_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>;
|
|
375
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
282
376
|
npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
|
|
283
377
|
activeNpcId: string;
|
|
284
378
|
};
|
|
@@ -289,6 +383,9 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
289
383
|
error: string | null;
|
|
290
384
|
lastRecalledIds: string[];
|
|
291
385
|
};
|
|
386
|
+
directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
|
|
387
|
+
activeDirectiveId: string;
|
|
388
|
+
};
|
|
292
389
|
ghost: _forbocai_core.GhostState;
|
|
293
390
|
soul: _forbocai_core.SoulState;
|
|
294
391
|
bridge: _forbocai_core.BridgeState;
|
|
@@ -296,76 +393,120 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
296
393
|
dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
|
|
297
394
|
[x: string]: any;
|
|
298
395
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
396
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
397
|
+
apiUrl: string;
|
|
398
|
+
apiKey?: string;
|
|
399
|
+
}, _reduxjs_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>;
|
|
400
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
401
|
+
request: {
|
|
402
|
+
requestedModel: string;
|
|
403
|
+
authKey?: string;
|
|
404
|
+
};
|
|
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.CortexInitResponse, "forbocApi", unknown>;
|
|
408
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
409
|
+
npcId: string;
|
|
410
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
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.NPCProcessResponse, "forbocApi", unknown>;
|
|
299
414
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
300
415
|
npcId: string;
|
|
301
416
|
request: _forbocai_core.DirectiveRequest;
|
|
302
417
|
apiUrl: string;
|
|
303
418
|
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>;
|
|
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.DirectiveResponse, "forbocApi", unknown>;
|
|
305
420
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
306
421
|
npcId: string;
|
|
307
422
|
request: _forbocai_core.ContextRequest;
|
|
308
423
|
apiUrl: string;
|
|
309
424
|
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>;
|
|
425
|
+
}, _reduxjs_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
426
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
312
427
|
npcId: string;
|
|
313
428
|
request: _forbocai_core.VerdictRequest;
|
|
314
429
|
apiUrl: string;
|
|
315
430
|
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
|
-
|
|
431
|
+
}, _reduxjs_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>;
|
|
432
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
433
|
+
npcId: string;
|
|
434
|
+
request: {
|
|
435
|
+
observation: string;
|
|
436
|
+
importance?: number;
|
|
437
|
+
};
|
|
438
|
+
apiUrl: string;
|
|
439
|
+
apiKey?: string;
|
|
440
|
+
}, _reduxjs_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>;
|
|
441
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
442
|
+
npcId: string;
|
|
443
|
+
apiUrl: string;
|
|
444
|
+
apiKey?: string;
|
|
445
|
+
}, _reduxjs_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>;
|
|
446
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
318
447
|
npcId: string;
|
|
319
|
-
request:
|
|
448
|
+
request: {
|
|
449
|
+
query: string;
|
|
450
|
+
similarity?: number;
|
|
451
|
+
};
|
|
320
452
|
apiUrl: string;
|
|
321
453
|
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
|
-
|
|
454
|
+
}, _reduxjs_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>;
|
|
455
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
324
456
|
npcId: string;
|
|
325
|
-
request: _forbocai_core.DialogueRequest;
|
|
326
457
|
apiUrl: string;
|
|
327
458
|
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",
|
|
459
|
+
}, _reduxjs_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
460
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
330
461
|
request: {
|
|
331
462
|
testSuite: string;
|
|
332
463
|
duration: number;
|
|
333
464
|
};
|
|
334
465
|
apiUrl: string;
|
|
335
|
-
|
|
466
|
+
apiKey?: string;
|
|
467
|
+
}, _reduxjs_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
468
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
337
469
|
sessionId: string;
|
|
338
470
|
apiUrl: string;
|
|
339
|
-
|
|
471
|
+
apiKey?: string;
|
|
472
|
+
}, _reduxjs_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
473
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
341
474
|
sessionId: string;
|
|
342
475
|
apiUrl: string;
|
|
343
|
-
|
|
476
|
+
apiKey?: string;
|
|
477
|
+
}, _reduxjs_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
478
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
345
479
|
sessionId: string;
|
|
346
480
|
apiUrl: string;
|
|
347
|
-
|
|
481
|
+
apiKey?: string;
|
|
482
|
+
}, _reduxjs_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
483
|
stopped: boolean;
|
|
484
|
+
stopStatus?: string;
|
|
485
|
+
stopSessionId?: string;
|
|
349
486
|
}, "forbocApi", unknown>;
|
|
350
487
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
351
488
|
limit: number;
|
|
352
489
|
apiUrl: string;
|
|
353
|
-
|
|
490
|
+
apiKey?: string;
|
|
491
|
+
}, _reduxjs_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
492
|
sessions: any[];
|
|
355
493
|
}, "forbocApi", unknown>;
|
|
356
494
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
357
495
|
npcId: string;
|
|
358
496
|
request: any;
|
|
359
497
|
apiUrl: string;
|
|
360
|
-
|
|
498
|
+
apiKey?: string;
|
|
499
|
+
}, _reduxjs_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
500
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
362
501
|
txId: string;
|
|
363
502
|
apiUrl: string;
|
|
364
|
-
|
|
503
|
+
apiKey?: string;
|
|
504
|
+
}, _reduxjs_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
505
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
366
506
|
limit: number;
|
|
367
507
|
apiUrl: string;
|
|
368
|
-
|
|
508
|
+
apiKey?: string;
|
|
509
|
+
}, _reduxjs_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
510
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
370
511
|
request: {
|
|
371
512
|
action: _forbocai_core.NPCAction;
|
|
@@ -373,27 +514,62 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
373
514
|
};
|
|
374
515
|
npcId?: string;
|
|
375
516
|
apiUrl: string;
|
|
376
|
-
|
|
517
|
+
apiKey?: string;
|
|
518
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", _forbocai_core.ValidationResult, "forbocApi", unknown>;
|
|
377
519
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
378
520
|
apiUrl: string;
|
|
379
|
-
|
|
521
|
+
apiKey?: string;
|
|
522
|
+
}, _reduxjs_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
523
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
381
524
|
presetName: string;
|
|
382
525
|
apiUrl: string;
|
|
383
|
-
|
|
526
|
+
apiKey?: string;
|
|
527
|
+
}, _reduxjs_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>;
|
|
528
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
529
|
+
apiUrl: string;
|
|
530
|
+
apiKey?: string;
|
|
531
|
+
}, _reduxjs_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>;
|
|
532
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
533
|
+
apiUrl: string;
|
|
534
|
+
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" | "Rule", string[], "forbocApi", unknown>;
|
|
536
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
537
|
+
request: _forbocai_core.DirectiveRuleSet;
|
|
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.DirectiveRuleSet, "forbocApi", unknown>;
|
|
541
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
542
|
+
rulesetId: string;
|
|
543
|
+
apiUrl: string;
|
|
544
|
+
apiKey?: string;
|
|
545
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
546
|
+
deleted: boolean;
|
|
547
|
+
}, "forbocApi", unknown>;
|
|
548
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
549
|
+
txId: string;
|
|
550
|
+
apiUrl: string;
|
|
551
|
+
apiKey?: string;
|
|
552
|
+
}, _reduxjs_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>;
|
|
553
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
554
|
+
request: {
|
|
555
|
+
txIdRef: string;
|
|
556
|
+
};
|
|
557
|
+
apiUrl: string;
|
|
558
|
+
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" | "Rule", _forbocai_core.ImportedNpc, "forbocApi", unknown>;
|
|
384
560
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
385
561
|
cortexId: string;
|
|
386
562
|
prompt: string;
|
|
387
563
|
options?: any;
|
|
388
564
|
apiUrl: string;
|
|
389
565
|
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", {
|
|
566
|
+
}, _reduxjs_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
567
|
text: string;
|
|
392
568
|
}, "forbocApi", unknown>;
|
|
393
569
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
394
570
|
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">;
|
|
571
|
+
}, _reduxjs_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>;
|
|
572
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
397
573
|
npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
|
|
398
574
|
activeNpcId: string;
|
|
399
575
|
};
|
|
@@ -404,6 +580,9 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
404
580
|
error: string | null;
|
|
405
581
|
lastRecalledIds: string[];
|
|
406
582
|
};
|
|
583
|
+
directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
|
|
584
|
+
activeDirectiveId: string;
|
|
585
|
+
};
|
|
407
586
|
ghost: _forbocai_core.GhostState;
|
|
408
587
|
soul: _forbocai_core.SoulState;
|
|
409
588
|
bridge: _forbocai_core.BridgeState;
|
|
@@ -412,76 +591,120 @@ declare const createBrowserStore: () => _reduxjs_toolkit.EnhancedStore<{
|
|
|
412
591
|
declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
413
592
|
[x: string]: any;
|
|
414
593
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
594
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
595
|
+
apiUrl: string;
|
|
596
|
+
apiKey?: string;
|
|
597
|
+
}, _reduxjs_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>;
|
|
598
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
599
|
+
request: {
|
|
600
|
+
requestedModel: string;
|
|
601
|
+
authKey?: string;
|
|
602
|
+
};
|
|
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.CortexInitResponse, "forbocApi", unknown>;
|
|
606
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
607
|
+
npcId: string;
|
|
608
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
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.NPCProcessResponse, "forbocApi", unknown>;
|
|
415
612
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
416
613
|
npcId: string;
|
|
417
614
|
request: _forbocai_core.DirectiveRequest;
|
|
418
615
|
apiUrl: string;
|
|
419
616
|
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>;
|
|
617
|
+
}, _reduxjs_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
618
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
422
619
|
npcId: string;
|
|
423
620
|
request: _forbocai_core.ContextRequest;
|
|
424
621
|
apiUrl: string;
|
|
425
622
|
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>;
|
|
623
|
+
}, _reduxjs_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
624
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
428
625
|
npcId: string;
|
|
429
626
|
request: _forbocai_core.VerdictRequest;
|
|
430
627
|
apiUrl: string;
|
|
431
628
|
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
|
-
|
|
629
|
+
}, _reduxjs_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>;
|
|
630
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
434
631
|
npcId: string;
|
|
435
|
-
request:
|
|
632
|
+
request: {
|
|
633
|
+
observation: string;
|
|
634
|
+
importance?: number;
|
|
635
|
+
};
|
|
636
|
+
apiUrl: string;
|
|
637
|
+
apiKey?: string;
|
|
638
|
+
}, _reduxjs_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>;
|
|
639
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
640
|
+
npcId: string;
|
|
641
|
+
apiUrl: string;
|
|
642
|
+
apiKey?: string;
|
|
643
|
+
}, _reduxjs_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>;
|
|
644
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
645
|
+
npcId: string;
|
|
646
|
+
request: {
|
|
647
|
+
query: string;
|
|
648
|
+
similarity?: number;
|
|
649
|
+
};
|
|
436
650
|
apiUrl: string;
|
|
437
651
|
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
|
-
|
|
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
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
440
654
|
npcId: string;
|
|
441
|
-
request: _forbocai_core.DialogueRequest;
|
|
442
655
|
apiUrl: string;
|
|
443
656
|
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",
|
|
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>;
|
|
445
658
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
446
659
|
request: {
|
|
447
660
|
testSuite: string;
|
|
448
661
|
duration: number;
|
|
449
662
|
};
|
|
450
663
|
apiUrl: string;
|
|
451
|
-
|
|
664
|
+
apiKey?: string;
|
|
665
|
+
}, _reduxjs_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
666
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
453
667
|
sessionId: string;
|
|
454
668
|
apiUrl: string;
|
|
455
|
-
|
|
669
|
+
apiKey?: string;
|
|
670
|
+
}, _reduxjs_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
671
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
457
672
|
sessionId: string;
|
|
458
673
|
apiUrl: string;
|
|
459
|
-
|
|
674
|
+
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" | "Rule", any, "forbocApi", unknown>;
|
|
460
676
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
461
677
|
sessionId: string;
|
|
462
678
|
apiUrl: string;
|
|
463
|
-
|
|
679
|
+
apiKey?: string;
|
|
680
|
+
}, _reduxjs_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
681
|
stopped: boolean;
|
|
682
|
+
stopStatus?: string;
|
|
683
|
+
stopSessionId?: string;
|
|
465
684
|
}, "forbocApi", unknown>;
|
|
466
685
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
467
686
|
limit: number;
|
|
468
687
|
apiUrl: string;
|
|
469
|
-
|
|
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", {
|
|
470
690
|
sessions: any[];
|
|
471
691
|
}, "forbocApi", unknown>;
|
|
472
692
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
473
693
|
npcId: string;
|
|
474
694
|
request: any;
|
|
475
695
|
apiUrl: string;
|
|
476
|
-
|
|
696
|
+
apiKey?: string;
|
|
697
|
+
}, _reduxjs_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
698
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
478
699
|
txId: string;
|
|
479
700
|
apiUrl: string;
|
|
480
|
-
|
|
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", any, "forbocApi", unknown>;
|
|
481
703
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
482
704
|
limit: number;
|
|
483
705
|
apiUrl: string;
|
|
484
|
-
|
|
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.SoulListResponse, "forbocApi", unknown>;
|
|
485
708
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
486
709
|
request: {
|
|
487
710
|
action: _forbocai_core.NPCAction;
|
|
@@ -489,27 +712,62 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
489
712
|
};
|
|
490
713
|
npcId?: string;
|
|
491
714
|
apiUrl: string;
|
|
492
|
-
|
|
715
|
+
apiKey?: string;
|
|
716
|
+
}, _reduxjs_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
717
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
494
718
|
apiUrl: string;
|
|
495
|
-
|
|
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.BridgeRule[], "forbocApi", unknown>;
|
|
496
721
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
497
722
|
presetName: string;
|
|
498
723
|
apiUrl: string;
|
|
499
|
-
|
|
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", _forbocai_core.DirectiveRuleSet, "forbocApi", unknown>;
|
|
726
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
727
|
+
apiUrl: string;
|
|
728
|
+
apiKey?: string;
|
|
729
|
+
}, _reduxjs_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>;
|
|
730
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
731
|
+
apiUrl: string;
|
|
732
|
+
apiKey?: string;
|
|
733
|
+
}, _reduxjs_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>;
|
|
734
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
735
|
+
request: _forbocai_core.DirectiveRuleSet;
|
|
736
|
+
apiUrl: string;
|
|
737
|
+
apiKey?: string;
|
|
738
|
+
}, _reduxjs_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>;
|
|
739
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
740
|
+
rulesetId: string;
|
|
741
|
+
apiUrl: string;
|
|
742
|
+
apiKey?: string;
|
|
743
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
744
|
+
deleted: boolean;
|
|
745
|
+
}, "forbocApi", unknown>;
|
|
746
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
747
|
+
txId: string;
|
|
748
|
+
apiUrl: string;
|
|
749
|
+
apiKey?: string;
|
|
750
|
+
}, _reduxjs_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>;
|
|
751
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
752
|
+
request: {
|
|
753
|
+
txIdRef: string;
|
|
754
|
+
};
|
|
755
|
+
apiUrl: string;
|
|
756
|
+
apiKey?: string;
|
|
757
|
+
}, _reduxjs_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
758
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
501
759
|
cortexId: string;
|
|
502
760
|
prompt: string;
|
|
503
761
|
options?: any;
|
|
504
762
|
apiUrl: string;
|
|
505
763
|
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", {
|
|
764
|
+
}, _reduxjs_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
765
|
text: string;
|
|
508
766
|
}, "forbocApi", unknown>;
|
|
509
767
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
510
768
|
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">;
|
|
769
|
+
}, _reduxjs_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>;
|
|
770
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
513
771
|
npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
|
|
514
772
|
activeNpcId: string;
|
|
515
773
|
};
|
|
@@ -520,6 +778,9 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
520
778
|
error: string | null;
|
|
521
779
|
lastRecalledIds: string[];
|
|
522
780
|
};
|
|
781
|
+
directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
|
|
782
|
+
activeDirectiveId: string;
|
|
783
|
+
};
|
|
523
784
|
ghost: _forbocai_core.GhostState;
|
|
524
785
|
soul: _forbocai_core.SoulState;
|
|
525
786
|
bridge: _forbocai_core.BridgeState;
|
|
@@ -527,76 +788,120 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
527
788
|
dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
|
|
528
789
|
[x: string]: any;
|
|
529
790
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
791
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
792
|
+
apiUrl: string;
|
|
793
|
+
apiKey?: string;
|
|
794
|
+
}, _reduxjs_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>;
|
|
795
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
796
|
+
request: {
|
|
797
|
+
requestedModel: string;
|
|
798
|
+
authKey?: string;
|
|
799
|
+
};
|
|
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.CortexInitResponse, "forbocApi", unknown>;
|
|
803
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
804
|
+
npcId: string;
|
|
805
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
806
|
+
apiUrl: string;
|
|
807
|
+
apiKey?: string;
|
|
808
|
+
}, _reduxjs_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.NPCProcessResponse, "forbocApi", unknown>;
|
|
530
809
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
531
810
|
npcId: string;
|
|
532
811
|
request: _forbocai_core.DirectiveRequest;
|
|
533
812
|
apiUrl: string;
|
|
534
813
|
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>;
|
|
814
|
+
}, _reduxjs_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
815
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
537
816
|
npcId: string;
|
|
538
817
|
request: _forbocai_core.ContextRequest;
|
|
539
818
|
apiUrl: string;
|
|
540
819
|
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>;
|
|
820
|
+
}, _reduxjs_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
821
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
543
822
|
npcId: string;
|
|
544
823
|
request: _forbocai_core.VerdictRequest;
|
|
545
824
|
apiUrl: string;
|
|
546
825
|
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
|
-
|
|
826
|
+
}, _reduxjs_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>;
|
|
827
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
549
828
|
npcId: string;
|
|
550
|
-
request:
|
|
829
|
+
request: {
|
|
830
|
+
observation: string;
|
|
831
|
+
importance?: number;
|
|
832
|
+
};
|
|
551
833
|
apiUrl: string;
|
|
552
834
|
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
|
-
|
|
835
|
+
}, _reduxjs_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>;
|
|
836
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
555
837
|
npcId: string;
|
|
556
|
-
request: _forbocai_core.DialogueRequest;
|
|
557
838
|
apiUrl: string;
|
|
558
839
|
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",
|
|
840
|
+
}, _reduxjs_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>;
|
|
841
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
842
|
+
npcId: string;
|
|
843
|
+
request: {
|
|
844
|
+
query: string;
|
|
845
|
+
similarity?: number;
|
|
846
|
+
};
|
|
847
|
+
apiUrl: string;
|
|
848
|
+
apiKey?: string;
|
|
849
|
+
}, _reduxjs_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>;
|
|
850
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
851
|
+
npcId: string;
|
|
852
|
+
apiUrl: string;
|
|
853
|
+
apiKey?: string;
|
|
854
|
+
}, _reduxjs_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
855
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
561
856
|
request: {
|
|
562
857
|
testSuite: string;
|
|
563
858
|
duration: number;
|
|
564
859
|
};
|
|
565
860
|
apiUrl: string;
|
|
566
|
-
|
|
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", _forbocai_core.GhostRunResponse, "forbocApi", unknown>;
|
|
567
863
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
568
864
|
sessionId: string;
|
|
569
865
|
apiUrl: string;
|
|
570
|
-
|
|
866
|
+
apiKey?: string;
|
|
867
|
+
}, _reduxjs_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
868
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
572
869
|
sessionId: string;
|
|
573
870
|
apiUrl: string;
|
|
574
|
-
|
|
871
|
+
apiKey?: string;
|
|
872
|
+
}, _reduxjs_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
873
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
576
874
|
sessionId: string;
|
|
577
875
|
apiUrl: string;
|
|
578
|
-
|
|
876
|
+
apiKey?: string;
|
|
877
|
+
}, _reduxjs_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
878
|
stopped: boolean;
|
|
879
|
+
stopStatus?: string;
|
|
880
|
+
stopSessionId?: string;
|
|
580
881
|
}, "forbocApi", unknown>;
|
|
581
882
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
582
883
|
limit: number;
|
|
583
884
|
apiUrl: string;
|
|
584
|
-
|
|
885
|
+
apiKey?: string;
|
|
886
|
+
}, _reduxjs_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
887
|
sessions: any[];
|
|
586
888
|
}, "forbocApi", unknown>;
|
|
587
889
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
588
890
|
npcId: string;
|
|
589
891
|
request: any;
|
|
590
892
|
apiUrl: string;
|
|
591
|
-
|
|
893
|
+
apiKey?: string;
|
|
894
|
+
}, _reduxjs_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
895
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
593
896
|
txId: string;
|
|
594
897
|
apiUrl: string;
|
|
595
|
-
|
|
898
|
+
apiKey?: string;
|
|
899
|
+
}, _reduxjs_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
900
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
597
901
|
limit: number;
|
|
598
902
|
apiUrl: string;
|
|
599
|
-
|
|
903
|
+
apiKey?: string;
|
|
904
|
+
}, _reduxjs_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
905
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
601
906
|
request: {
|
|
602
907
|
action: _forbocai_core.NPCAction;
|
|
@@ -604,27 +909,62 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
604
909
|
};
|
|
605
910
|
npcId?: string;
|
|
606
911
|
apiUrl: string;
|
|
607
|
-
|
|
912
|
+
apiKey?: string;
|
|
913
|
+
}, _reduxjs_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
914
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
609
915
|
apiUrl: string;
|
|
610
|
-
|
|
916
|
+
apiKey?: string;
|
|
917
|
+
}, _reduxjs_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
918
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
612
919
|
presetName: string;
|
|
613
920
|
apiUrl: string;
|
|
614
|
-
|
|
921
|
+
apiKey?: string;
|
|
922
|
+
}, _reduxjs_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>;
|
|
923
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
924
|
+
apiUrl: string;
|
|
925
|
+
apiKey?: string;
|
|
926
|
+
}, _reduxjs_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>;
|
|
927
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
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", string[], "forbocApi", unknown>;
|
|
931
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
932
|
+
request: _forbocai_core.DirectiveRuleSet;
|
|
933
|
+
apiUrl: string;
|
|
934
|
+
apiKey?: string;
|
|
935
|
+
}, _reduxjs_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>;
|
|
936
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
937
|
+
rulesetId: string;
|
|
938
|
+
apiUrl: string;
|
|
939
|
+
apiKey?: string;
|
|
940
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
941
|
+
deleted: boolean;
|
|
942
|
+
}, "forbocApi", unknown>;
|
|
943
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
944
|
+
txId: string;
|
|
945
|
+
apiUrl: string;
|
|
946
|
+
apiKey?: string;
|
|
947
|
+
}, _reduxjs_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>;
|
|
948
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
949
|
+
request: {
|
|
950
|
+
txIdRef: string;
|
|
951
|
+
};
|
|
952
|
+
apiUrl: string;
|
|
953
|
+
apiKey?: string;
|
|
954
|
+
}, _reduxjs_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
955
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
616
956
|
cortexId: string;
|
|
617
957
|
prompt: string;
|
|
618
958
|
options?: any;
|
|
619
959
|
apiUrl: string;
|
|
620
960
|
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", {
|
|
961
|
+
}, _reduxjs_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
962
|
text: string;
|
|
623
963
|
}, "forbocApi", unknown>;
|
|
624
964
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
625
965
|
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">;
|
|
966
|
+
}, _reduxjs_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>;
|
|
967
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
628
968
|
npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
|
|
629
969
|
activeNpcId: string;
|
|
630
970
|
};
|
|
@@ -635,6 +975,9 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
635
975
|
error: string | null;
|
|
636
976
|
lastRecalledIds: string[];
|
|
637
977
|
};
|
|
978
|
+
directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
|
|
979
|
+
activeDirectiveId: string;
|
|
980
|
+
};
|
|
638
981
|
ghost: _forbocai_core.GhostState;
|
|
639
982
|
soul: _forbocai_core.SoulState;
|
|
640
983
|
bridge: _forbocai_core.BridgeState;
|
|
@@ -643,76 +986,120 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
643
986
|
declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
|
|
644
987
|
[x: string]: any;
|
|
645
988
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
989
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
990
|
+
apiUrl: string;
|
|
991
|
+
apiKey?: string;
|
|
992
|
+
}, _reduxjs_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>;
|
|
993
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
994
|
+
request: {
|
|
995
|
+
requestedModel: string;
|
|
996
|
+
authKey?: string;
|
|
997
|
+
};
|
|
998
|
+
apiUrl: string;
|
|
999
|
+
apiKey?: string;
|
|
1000
|
+
}, _reduxjs_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>;
|
|
1001
|
+
postNpcProcess: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1002
|
+
npcId: string;
|
|
1003
|
+
request: _forbocai_core.NPCProcessRequest;
|
|
1004
|
+
apiUrl: string;
|
|
1005
|
+
apiKey?: string;
|
|
1006
|
+
}, _reduxjs_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.NPCProcessResponse, "forbocApi", unknown>;
|
|
646
1007
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
647
1008
|
npcId: string;
|
|
648
1009
|
request: _forbocai_core.DirectiveRequest;
|
|
649
1010
|
apiUrl: string;
|
|
650
1011
|
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>;
|
|
1012
|
+
}, _reduxjs_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
1013
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
653
1014
|
npcId: string;
|
|
654
1015
|
request: _forbocai_core.ContextRequest;
|
|
655
1016
|
apiUrl: string;
|
|
656
1017
|
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>;
|
|
1018
|
+
}, _reduxjs_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
1019
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
659
1020
|
npcId: string;
|
|
660
1021
|
request: _forbocai_core.VerdictRequest;
|
|
661
1022
|
apiUrl: string;
|
|
662
1023
|
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
|
-
|
|
1024
|
+
}, _reduxjs_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>;
|
|
1025
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1026
|
+
npcId: string;
|
|
1027
|
+
request: {
|
|
1028
|
+
observation: string;
|
|
1029
|
+
importance?: number;
|
|
1030
|
+
};
|
|
1031
|
+
apiUrl: string;
|
|
1032
|
+
apiKey?: string;
|
|
1033
|
+
}, _reduxjs_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>;
|
|
1034
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
665
1035
|
npcId: string;
|
|
666
|
-
request: _forbocai_core.SpeakRequest;
|
|
667
1036
|
apiUrl: string;
|
|
668
1037
|
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
|
-
|
|
1038
|
+
}, _reduxjs_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>;
|
|
1039
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1040
|
+
npcId: string;
|
|
1041
|
+
request: {
|
|
1042
|
+
query: string;
|
|
1043
|
+
similarity?: number;
|
|
1044
|
+
};
|
|
1045
|
+
apiUrl: string;
|
|
1046
|
+
apiKey?: string;
|
|
1047
|
+
}, _reduxjs_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>;
|
|
1048
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
671
1049
|
npcId: string;
|
|
672
|
-
request: _forbocai_core.DialogueRequest;
|
|
673
1050
|
apiUrl: string;
|
|
674
1051
|
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",
|
|
1052
|
+
}, _reduxjs_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
1053
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
677
1054
|
request: {
|
|
678
1055
|
testSuite: string;
|
|
679
1056
|
duration: number;
|
|
680
1057
|
};
|
|
681
1058
|
apiUrl: string;
|
|
682
|
-
|
|
1059
|
+
apiKey?: string;
|
|
1060
|
+
}, _reduxjs_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
1061
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
684
1062
|
sessionId: string;
|
|
685
1063
|
apiUrl: string;
|
|
686
|
-
|
|
1064
|
+
apiKey?: string;
|
|
1065
|
+
}, _reduxjs_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
1066
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
688
1067
|
sessionId: string;
|
|
689
1068
|
apiUrl: string;
|
|
690
|
-
|
|
1069
|
+
apiKey?: string;
|
|
1070
|
+
}, _reduxjs_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
1071
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
692
1072
|
sessionId: string;
|
|
693
1073
|
apiUrl: string;
|
|
694
|
-
|
|
1074
|
+
apiKey?: string;
|
|
1075
|
+
}, _reduxjs_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
1076
|
stopped: boolean;
|
|
1077
|
+
stopStatus?: string;
|
|
1078
|
+
stopSessionId?: string;
|
|
696
1079
|
}, "forbocApi", unknown>;
|
|
697
1080
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
698
1081
|
limit: number;
|
|
699
1082
|
apiUrl: string;
|
|
700
|
-
|
|
1083
|
+
apiKey?: string;
|
|
1084
|
+
}, _reduxjs_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
1085
|
sessions: any[];
|
|
702
1086
|
}, "forbocApi", unknown>;
|
|
703
1087
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
704
1088
|
npcId: string;
|
|
705
1089
|
request: any;
|
|
706
1090
|
apiUrl: string;
|
|
707
|
-
|
|
1091
|
+
apiKey?: string;
|
|
1092
|
+
}, _reduxjs_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
1093
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
709
1094
|
txId: string;
|
|
710
1095
|
apiUrl: string;
|
|
711
|
-
|
|
1096
|
+
apiKey?: string;
|
|
1097
|
+
}, _reduxjs_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
1098
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
713
1099
|
limit: number;
|
|
714
1100
|
apiUrl: string;
|
|
715
|
-
|
|
1101
|
+
apiKey?: string;
|
|
1102
|
+
}, _reduxjs_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
1103
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
717
1104
|
request: {
|
|
718
1105
|
action: _forbocai_core.NPCAction;
|
|
@@ -720,27 +1107,62 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
720
1107
|
};
|
|
721
1108
|
npcId?: string;
|
|
722
1109
|
apiUrl: string;
|
|
723
|
-
|
|
1110
|
+
apiKey?: string;
|
|
1111
|
+
}, _reduxjs_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
1112
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
725
1113
|
apiUrl: string;
|
|
726
|
-
|
|
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.BridgeRule[], "forbocApi", unknown>;
|
|
727
1116
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
728
1117
|
presetName: string;
|
|
729
1118
|
apiUrl: string;
|
|
730
|
-
|
|
1119
|
+
apiKey?: string;
|
|
1120
|
+
}, _reduxjs_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>;
|
|
1121
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1122
|
+
apiUrl: string;
|
|
1123
|
+
apiKey?: string;
|
|
1124
|
+
}, _reduxjs_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>;
|
|
1125
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1126
|
+
apiUrl: string;
|
|
1127
|
+
apiKey?: string;
|
|
1128
|
+
}, _reduxjs_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>;
|
|
1129
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1130
|
+
request: _forbocai_core.DirectiveRuleSet;
|
|
1131
|
+
apiUrl: string;
|
|
1132
|
+
apiKey?: string;
|
|
1133
|
+
}, _reduxjs_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>;
|
|
1134
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1135
|
+
rulesetId: string;
|
|
1136
|
+
apiUrl: string;
|
|
1137
|
+
apiKey?: string;
|
|
1138
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1139
|
+
deleted: boolean;
|
|
1140
|
+
}, "forbocApi", unknown>;
|
|
1141
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1142
|
+
txId: string;
|
|
1143
|
+
apiUrl: string;
|
|
1144
|
+
apiKey?: string;
|
|
1145
|
+
}, _reduxjs_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>;
|
|
1146
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1147
|
+
request: {
|
|
1148
|
+
txIdRef: string;
|
|
1149
|
+
};
|
|
1150
|
+
apiUrl: string;
|
|
1151
|
+
apiKey?: string;
|
|
1152
|
+
}, _reduxjs_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
1153
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
732
1154
|
cortexId: string;
|
|
733
1155
|
prompt: string;
|
|
734
1156
|
options?: any;
|
|
735
1157
|
apiUrl: string;
|
|
736
1158
|
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", {
|
|
1159
|
+
}, _reduxjs_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
1160
|
text: string;
|
|
739
1161
|
}, "forbocApi", unknown>;
|
|
740
1162
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
741
1163
|
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">;
|
|
1164
|
+
}, _reduxjs_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>;
|
|
1165
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
744
1166
|
npc: _reduxjs_toolkit.EntityState<_forbocai_core.NPCInternalState, string> & {
|
|
745
1167
|
activeNpcId: string;
|
|
746
1168
|
};
|
|
@@ -751,6 +1173,9 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
751
1173
|
error: string | null;
|
|
752
1174
|
lastRecalledIds: string[];
|
|
753
1175
|
};
|
|
1176
|
+
directive: _reduxjs_toolkit.EntityState<_forbocai_core.DirectiveRun, string> & {
|
|
1177
|
+
activeDirectiveId: string;
|
|
1178
|
+
};
|
|
754
1179
|
ghost: _forbocai_core.GhostState;
|
|
755
1180
|
soul: _forbocai_core.SoulState;
|
|
756
1181
|
bridge: _forbocai_core.BridgeState;
|