@forbocai/core 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 +2250 -470
- package/dist/index.d.ts +2250 -470
- package/dist/index.js +604 -150
- package/dist/index.mjs +574 -141
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -4,18 +4,11 @@ import * as redux_thunk from 'redux-thunk';
|
|
|
4
4
|
import * as redux from 'redux';
|
|
5
5
|
import * as _reduxjs_toolkit_query from '@reduxjs/toolkit/query';
|
|
6
6
|
|
|
7
|
-
/**
|
|
8
|
-
* ForbocAI Core Types
|
|
9
|
-
* The foundational interfaces for the Multi-Round Protocol.
|
|
10
|
-
*/
|
|
11
7
|
interface CortexConfig {
|
|
12
|
-
/** Internal — runtime-specific model override. Not intended for game developers. */
|
|
13
8
|
model?: string;
|
|
14
|
-
/** Optional overrides for model parameters */
|
|
15
9
|
temperature?: number;
|
|
16
10
|
maxTokens?: number;
|
|
17
11
|
gpu?: boolean;
|
|
18
|
-
/** Connection Config */
|
|
19
12
|
authKey?: string;
|
|
20
13
|
apiUrl?: string;
|
|
21
14
|
}
|
|
@@ -25,21 +18,26 @@ interface CortexStatus {
|
|
|
25
18
|
ready: boolean;
|
|
26
19
|
engine: 'mock' | 'remote' | 'node-llama-cpp' | 'web-llm';
|
|
27
20
|
}
|
|
28
|
-
interface ICortex {
|
|
29
|
-
init(onProgress?: (progress: number) => void): Promise<CortexStatus>;
|
|
30
|
-
complete(prompt: string, options?: CompletionOptions): Promise<string>;
|
|
31
|
-
completeStream(prompt: string, options?: CompletionOptions): AsyncGenerator<string>;
|
|
32
|
-
}
|
|
33
21
|
interface CompletionOptions {
|
|
34
22
|
temperature?: number;
|
|
35
23
|
maxTokens?: number;
|
|
36
24
|
stop?: string[];
|
|
37
25
|
jsonSchema?: object;
|
|
38
26
|
}
|
|
39
|
-
interface
|
|
40
|
-
|
|
27
|
+
interface ICortex {
|
|
28
|
+
init(onProgress?: (progress: number) => void): Promise<CortexStatus>;
|
|
29
|
+
complete(prompt: string, options?: CompletionOptions): Promise<string>;
|
|
30
|
+
completeStream(prompt: string, options?: CompletionOptions): AsyncGenerator<string>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
interface MemoryItem {
|
|
34
|
+
id: string;
|
|
35
|
+
text: string;
|
|
36
|
+
embedding?: number[];
|
|
37
|
+
timestamp: number;
|
|
38
|
+
type: string;
|
|
39
|
+
importance: number;
|
|
41
40
|
}
|
|
42
|
-
/** Interface for Memory module operations used by the NPC. */
|
|
43
41
|
interface IMemory {
|
|
44
42
|
store(text: string, type?: string, importance?: number): Promise<MemoryItem>;
|
|
45
43
|
recall(query: string, limit?: number, threshold?: number): Promise<MemoryItem[]>;
|
|
@@ -48,6 +46,18 @@ interface IMemory {
|
|
|
48
46
|
export(): Promise<MemoryItem[]>;
|
|
49
47
|
import(memories: MemoryItem[]): Promise<void>;
|
|
50
48
|
}
|
|
49
|
+
|
|
50
|
+
interface NPCState {
|
|
51
|
+
[key: string]: unknown;
|
|
52
|
+
}
|
|
53
|
+
interface NPCAction {
|
|
54
|
+
type: string;
|
|
55
|
+
target?: string;
|
|
56
|
+
payload?: Record<string, unknown>;
|
|
57
|
+
reason?: string;
|
|
58
|
+
confidence?: number;
|
|
59
|
+
signature?: string;
|
|
60
|
+
}
|
|
51
61
|
interface AgentConfig {
|
|
52
62
|
id: string;
|
|
53
63
|
cortex: ICortex;
|
|
@@ -62,94 +72,47 @@ interface AgentResponse {
|
|
|
62
72
|
action?: NPCAction;
|
|
63
73
|
thought?: string;
|
|
64
74
|
}
|
|
65
|
-
/** Dialogue Request (Full API-side logic) */
|
|
66
|
-
interface DialogueRequest {
|
|
67
|
-
diagMessage: string;
|
|
68
|
-
diagContext?: Array<[string, string]>;
|
|
69
|
-
}
|
|
70
|
-
/** Dialogue Response (Full API-side logic) */
|
|
71
|
-
interface DialogueResponse {
|
|
72
|
-
diagReply: string;
|
|
73
|
-
}
|
|
74
|
-
interface MemoryItem {
|
|
75
|
-
id: string;
|
|
76
|
-
text: string;
|
|
77
|
-
embedding?: number[];
|
|
78
|
-
timestamp: number;
|
|
79
|
-
type: string;
|
|
80
|
-
importance: number;
|
|
81
|
-
}
|
|
82
|
-
interface NPCAction {
|
|
83
|
-
type: string;
|
|
84
|
-
target?: string;
|
|
85
|
-
payload?: Record<string, unknown>;
|
|
86
|
-
reason?: string;
|
|
87
|
-
confidence?: number;
|
|
88
|
-
signature?: string;
|
|
89
|
-
}
|
|
90
|
-
/** Step 2: SDK → API. SDK sends observation + npc state. */
|
|
91
75
|
interface DirectiveRequest {
|
|
92
76
|
observation: string;
|
|
93
77
|
npcState: NPCState;
|
|
94
78
|
context?: Record<string, unknown>;
|
|
95
79
|
}
|
|
96
|
-
/** Step 3: API → SDK. API returns memory recall instructions. */
|
|
97
|
-
interface DirectiveResponse {
|
|
98
|
-
memoryRecall: MemoryRecallInstruction;
|
|
99
|
-
}
|
|
100
|
-
/** API tells SDK exactly what to recall from local vector DB. */
|
|
101
80
|
interface MemoryRecallInstruction {
|
|
102
81
|
query: string;
|
|
103
82
|
limit: number;
|
|
104
83
|
threshold: number;
|
|
105
84
|
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
memories: RecalledMemory[];
|
|
109
|
-
observation: string;
|
|
110
|
-
npcState: NPCState;
|
|
111
|
-
persona: string;
|
|
85
|
+
interface DirectiveResponse {
|
|
86
|
+
memoryRecall: MemoryRecallInstruction;
|
|
112
87
|
}
|
|
113
|
-
/** A memory item as recalled by the SDK's local vector DB. */
|
|
114
88
|
interface RecalledMemory {
|
|
115
89
|
text: string;
|
|
116
90
|
type: string;
|
|
117
91
|
importance: number;
|
|
118
92
|
similarity?: number;
|
|
119
93
|
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
94
|
+
interface ContextRequest {
|
|
95
|
+
memories: RecalledMemory[];
|
|
96
|
+
observation: string;
|
|
97
|
+
npcState: NPCState;
|
|
98
|
+
persona: string;
|
|
125
99
|
}
|
|
126
|
-
|
|
127
|
-
interface SpeakResponse {
|
|
128
|
-
speakReply: string;
|
|
129
|
-
speakHistory: Array<{
|
|
130
|
-
role: string;
|
|
131
|
-
content: string;
|
|
132
|
-
}>;
|
|
100
|
+
interface PromptConstraints extends CompletionOptions {
|
|
133
101
|
}
|
|
134
|
-
/** Step 5: API → SDK. API returns full SLM prompt + constraints. */
|
|
135
102
|
interface ContextResponse {
|
|
136
103
|
prompt: string;
|
|
137
104
|
constraints: PromptConstraints;
|
|
138
105
|
}
|
|
139
|
-
/** Constraints the API sends to control SLM generation. */
|
|
140
|
-
interface PromptConstraints {
|
|
141
|
-
maxTokens?: number;
|
|
142
|
-
temperature?: number;
|
|
143
|
-
stop?: string[];
|
|
144
|
-
jsonSchema?: object;
|
|
145
|
-
}
|
|
146
|
-
/** Step 7: SDK → API. SDK sends generated output. */
|
|
147
106
|
interface VerdictRequest {
|
|
148
107
|
generatedOutput: string;
|
|
149
108
|
observation: string;
|
|
150
109
|
npcState: NPCState;
|
|
151
110
|
}
|
|
152
|
-
|
|
111
|
+
interface MemoryStoreInstruction {
|
|
112
|
+
text: string;
|
|
113
|
+
type: string;
|
|
114
|
+
importance: number;
|
|
115
|
+
}
|
|
153
116
|
interface VerdictResponse {
|
|
154
117
|
valid: boolean;
|
|
155
118
|
signature?: string;
|
|
@@ -158,12 +121,7 @@ interface VerdictResponse {
|
|
|
158
121
|
action?: NPCAction;
|
|
159
122
|
dialogue: string;
|
|
160
123
|
}
|
|
161
|
-
|
|
162
|
-
interface MemoryStoreInstruction {
|
|
163
|
-
text: string;
|
|
164
|
-
type: string;
|
|
165
|
-
importance: number;
|
|
166
|
-
}
|
|
124
|
+
|
|
167
125
|
interface ValidationContext {
|
|
168
126
|
npcState?: Record<string, unknown>;
|
|
169
127
|
worldState?: Record<string, unknown>;
|
|
@@ -184,10 +142,18 @@ interface DirectiveRuleSet {
|
|
|
184
142
|
rulesetId: string;
|
|
185
143
|
rulesetRules: BridgeRule[];
|
|
186
144
|
}
|
|
145
|
+
/**
|
|
146
|
+
* @deprecated Use BridgeRule for data-only rules.
|
|
147
|
+
*/
|
|
148
|
+
interface ValidationRule extends BridgeRule {
|
|
149
|
+
id: string;
|
|
150
|
+
}
|
|
151
|
+
|
|
187
152
|
interface GhostConfig {
|
|
188
153
|
testSuite: string;
|
|
189
154
|
duration?: number;
|
|
190
155
|
apiUrl?: string;
|
|
156
|
+
apiKey?: string;
|
|
191
157
|
}
|
|
192
158
|
interface GhostStatus {
|
|
193
159
|
sessionId: string;
|
|
@@ -222,13 +188,11 @@ interface GhostHistoryEntry {
|
|
|
222
188
|
status: string;
|
|
223
189
|
passRate: number;
|
|
224
190
|
}
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
*/
|
|
229
|
-
interface ValidationRule extends BridgeRule {
|
|
230
|
-
id: string;
|
|
191
|
+
interface GhostRunResponse {
|
|
192
|
+
sessionId: string;
|
|
193
|
+
runStatus: string;
|
|
231
194
|
}
|
|
195
|
+
|
|
232
196
|
interface Soul {
|
|
233
197
|
id: string;
|
|
234
198
|
version: string;
|
|
@@ -238,55 +202,53 @@ interface Soul {
|
|
|
238
202
|
state: NPCState;
|
|
239
203
|
signature?: string;
|
|
240
204
|
}
|
|
241
|
-
/**
|
|
242
|
-
* Soul configuration (Thin Client)
|
|
243
|
-
*/
|
|
244
205
|
interface SoulConfig {
|
|
245
206
|
apiUrl?: string;
|
|
246
207
|
gatewayUrl?: string;
|
|
247
208
|
}
|
|
248
|
-
/**
|
|
249
|
-
* Soul export response from API
|
|
250
|
-
*/
|
|
251
209
|
interface SoulExportResponse {
|
|
252
210
|
txId: string;
|
|
253
211
|
arweaveUrl: string;
|
|
254
212
|
signature: string;
|
|
255
213
|
soul: Soul;
|
|
256
214
|
}
|
|
257
|
-
/**
|
|
258
|
-
* Soul export result for the SDK
|
|
259
|
-
*/
|
|
260
215
|
interface SoulExportResult {
|
|
261
216
|
txId: string;
|
|
262
217
|
url: string;
|
|
263
218
|
soul: Soul;
|
|
264
219
|
}
|
|
265
|
-
/**
|
|
266
|
-
* Soul list response from API
|
|
267
|
-
*/
|
|
268
220
|
interface SoulListResponse {
|
|
269
221
|
souls: Array<{
|
|
270
222
|
txId: string;
|
|
271
223
|
name: string;
|
|
272
|
-
|
|
224
|
+
npcId?: string;
|
|
273
225
|
exportedAt: string;
|
|
274
226
|
arweaveUrl: string;
|
|
275
227
|
}>;
|
|
276
228
|
}
|
|
277
|
-
|
|
278
|
-
* System status response from API
|
|
279
|
-
*/
|
|
229
|
+
|
|
280
230
|
interface ApiStatusResponse {
|
|
281
231
|
status: string;
|
|
282
232
|
version: string;
|
|
283
233
|
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
234
|
+
interface CortexModelInfo {
|
|
235
|
+
id: string;
|
|
236
|
+
name: string;
|
|
237
|
+
parameters: number;
|
|
238
|
+
}
|
|
239
|
+
interface CortexInitResponse {
|
|
240
|
+
cortexId: string;
|
|
241
|
+
runtime: string;
|
|
242
|
+
state: string;
|
|
243
|
+
}
|
|
244
|
+
interface SoulVerifyResult {
|
|
245
|
+
valid: boolean;
|
|
246
|
+
reason?: string;
|
|
247
|
+
}
|
|
248
|
+
interface ImportedNpc {
|
|
249
|
+
npcId: string;
|
|
250
|
+
persona: string;
|
|
251
|
+
data?: Record<string, unknown>;
|
|
290
252
|
}
|
|
291
253
|
|
|
292
254
|
/**
|
|
@@ -294,28 +256,36 @@ interface GhostRunResponse {
|
|
|
294
256
|
*/
|
|
295
257
|
interface INPC {
|
|
296
258
|
process(input: string, context?: Record<string, unknown>): Promise<AgentResponse>;
|
|
297
|
-
speak(message: string, context?: Record<string, unknown>): Promise<string>;
|
|
298
|
-
reply(message: string, context?: Record<string, unknown>): Promise<string>;
|
|
299
259
|
getState(): NPCState;
|
|
300
260
|
setState(newState: NPCState): void;
|
|
301
|
-
dialogue(message: string, context?: Array<[string, string]>): Promise<string>;
|
|
302
261
|
export(): Promise<Soul>;
|
|
303
262
|
}
|
|
304
263
|
/**
|
|
305
264
|
* Pure function to create initial npc state
|
|
265
|
+
* User Story: As state bootstrap logic, I need a pure initializer that accepts
|
|
266
|
+
* optional partial NPC fields and returns a safe object state.
|
|
267
|
+
* This keeps NPC creation deterministic and side-effect free.
|
|
306
268
|
*/
|
|
307
269
|
declare const createInitialState: (partial?: Partial<NPCState>) => NPCState;
|
|
308
270
|
/**
|
|
309
271
|
* Pure function to update npc state (Local Utility)
|
|
272
|
+
* User Story: As local state reconciliation, I need shallow state merge behavior
|
|
273
|
+
* for incremental updates coming from protocol or UI sources.
|
|
274
|
+
* New keys override prior values by design.
|
|
310
275
|
*/
|
|
311
276
|
declare const updateNPCStateLocally: (currentState: NPCState, updates: Partial<NPCState>) => NPCState;
|
|
312
277
|
/**
|
|
313
278
|
* Pure function to export npc to Soul
|
|
279
|
+
* User Story: As portability flow logic, I need deterministic conversion from
|
|
280
|
+
* runtime NPC data into a serializable Soul payload.
|
|
281
|
+
* Returned memories and state are copied to avoid accidental mutation leaks.
|
|
314
282
|
*/
|
|
315
283
|
declare const exportToSoul: (npcId: string, name: string, persona: string, state: NPCState, memories: MemoryItem[]) => Soul;
|
|
316
284
|
|
|
317
285
|
interface BridgeState {
|
|
318
286
|
activePresets: DirectiveRuleSet[];
|
|
287
|
+
availableRulesets: DirectiveRuleSet[];
|
|
288
|
+
availablePresetIds: string[];
|
|
319
289
|
lastValidation: ValidationResult | null;
|
|
320
290
|
status: 'idle' | 'validating' | 'loading_preset' | 'error';
|
|
321
291
|
error: string | null;
|
|
@@ -325,6 +295,7 @@ declare const validateBridgeThunk: _reduxjs_toolkit.AsyncThunk<ValidationResult,
|
|
|
325
295
|
context: ValidationContext;
|
|
326
296
|
npcId?: string;
|
|
327
297
|
apiUrl?: string;
|
|
298
|
+
apiKey?: string;
|
|
328
299
|
}, {
|
|
329
300
|
rejectValue: string;
|
|
330
301
|
extra?: unknown;
|
|
@@ -338,6 +309,60 @@ declare const validateBridgeThunk: _reduxjs_toolkit.AsyncThunk<ValidationResult,
|
|
|
338
309
|
declare const loadBridgePresetThunk: _reduxjs_toolkit.AsyncThunk<DirectiveRuleSet, {
|
|
339
310
|
presetName: string;
|
|
340
311
|
apiUrl?: string;
|
|
312
|
+
apiKey?: string;
|
|
313
|
+
}, {
|
|
314
|
+
rejectValue: string;
|
|
315
|
+
extra?: unknown;
|
|
316
|
+
state?: unknown;
|
|
317
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
318
|
+
serializedErrorType?: unknown;
|
|
319
|
+
pendingMeta?: unknown;
|
|
320
|
+
fulfilledMeta?: unknown;
|
|
321
|
+
rejectedMeta?: unknown;
|
|
322
|
+
}>;
|
|
323
|
+
declare const getBridgeRulesThunk: _reduxjs_toolkit.AsyncThunk<BridgeRule[], {
|
|
324
|
+
apiUrl?: string;
|
|
325
|
+
apiKey?: string;
|
|
326
|
+
}, {
|
|
327
|
+
rejectValue: string;
|
|
328
|
+
extra?: unknown;
|
|
329
|
+
state?: unknown;
|
|
330
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
331
|
+
serializedErrorType?: unknown;
|
|
332
|
+
pendingMeta?: unknown;
|
|
333
|
+
fulfilledMeta?: unknown;
|
|
334
|
+
rejectedMeta?: unknown;
|
|
335
|
+
}>;
|
|
336
|
+
declare const listRulesetsThunk: _reduxjs_toolkit.AsyncThunk<DirectiveRuleSet[], {
|
|
337
|
+
apiUrl?: string;
|
|
338
|
+
apiKey?: string;
|
|
339
|
+
}, {
|
|
340
|
+
rejectValue: string;
|
|
341
|
+
extra?: unknown;
|
|
342
|
+
state?: unknown;
|
|
343
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
344
|
+
serializedErrorType?: unknown;
|
|
345
|
+
pendingMeta?: unknown;
|
|
346
|
+
fulfilledMeta?: unknown;
|
|
347
|
+
rejectedMeta?: unknown;
|
|
348
|
+
}>;
|
|
349
|
+
declare const listRulePresetsThunk: _reduxjs_toolkit.AsyncThunk<string[], {
|
|
350
|
+
apiUrl?: string;
|
|
351
|
+
apiKey?: string;
|
|
352
|
+
}, {
|
|
353
|
+
rejectValue: string;
|
|
354
|
+
extra?: unknown;
|
|
355
|
+
state?: unknown;
|
|
356
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
357
|
+
serializedErrorType?: unknown;
|
|
358
|
+
pendingMeta?: unknown;
|
|
359
|
+
fulfilledMeta?: unknown;
|
|
360
|
+
rejectedMeta?: unknown;
|
|
361
|
+
}>;
|
|
362
|
+
declare const registerRulesetThunk: _reduxjs_toolkit.AsyncThunk<DirectiveRuleSet, {
|
|
363
|
+
ruleset: DirectiveRuleSet;
|
|
364
|
+
apiUrl?: string;
|
|
365
|
+
apiKey?: string;
|
|
341
366
|
}, {
|
|
342
367
|
rejectValue: string;
|
|
343
368
|
extra?: unknown;
|
|
@@ -348,8 +373,12 @@ declare const loadBridgePresetThunk: _reduxjs_toolkit.AsyncThunk<DirectiveRuleSe
|
|
|
348
373
|
fulfilledMeta?: unknown;
|
|
349
374
|
rejectedMeta?: unknown;
|
|
350
375
|
}>;
|
|
351
|
-
declare const
|
|
376
|
+
declare const deleteRulesetThunk: _reduxjs_toolkit.AsyncThunk<{
|
|
377
|
+
deleted: boolean;
|
|
378
|
+
}, {
|
|
379
|
+
rulesetId: string;
|
|
352
380
|
apiUrl?: string;
|
|
381
|
+
apiKey?: string;
|
|
353
382
|
}, {
|
|
354
383
|
rejectValue: string;
|
|
355
384
|
extra?: unknown;
|
|
@@ -371,6 +400,16 @@ declare const bridgeSlice: _reduxjs_toolkit.Slice<BridgeState, {
|
|
|
371
400
|
ruleActionTypes: string[];
|
|
372
401
|
}[];
|
|
373
402
|
}[];
|
|
403
|
+
availableRulesets: {
|
|
404
|
+
id: string;
|
|
405
|
+
rulesetId: string;
|
|
406
|
+
rulesetRules: {
|
|
407
|
+
ruleName: string;
|
|
408
|
+
ruleDescription: string;
|
|
409
|
+
ruleActionTypes: string[];
|
|
410
|
+
}[];
|
|
411
|
+
}[];
|
|
412
|
+
availablePresetIds: string[];
|
|
374
413
|
lastValidation: {
|
|
375
414
|
valid: boolean;
|
|
376
415
|
reason?: string | undefined;
|
|
@@ -416,6 +455,7 @@ declare const startGhostThunk: _reduxjs_toolkit.AsyncThunk<{
|
|
|
416
455
|
declare const getGhostStatusThunk: _reduxjs_toolkit.AsyncThunk<GhostStatus, {
|
|
417
456
|
sessionId?: string;
|
|
418
457
|
apiUrl?: string;
|
|
458
|
+
apiKey?: string;
|
|
419
459
|
}, {
|
|
420
460
|
state: {
|
|
421
461
|
ghost: GhostState;
|
|
@@ -431,6 +471,7 @@ declare const getGhostStatusThunk: _reduxjs_toolkit.AsyncThunk<GhostStatus, {
|
|
|
431
471
|
declare const getGhostResultsThunk: _reduxjs_toolkit.AsyncThunk<GhostResults, {
|
|
432
472
|
sessionId?: string;
|
|
433
473
|
apiUrl?: string;
|
|
474
|
+
apiKey?: string;
|
|
434
475
|
}, {
|
|
435
476
|
state: {
|
|
436
477
|
ghost: GhostState;
|
|
@@ -445,9 +486,12 @@ declare const getGhostResultsThunk: _reduxjs_toolkit.AsyncThunk<GhostResults, {
|
|
|
445
486
|
}>;
|
|
446
487
|
declare const stopGhostThunk: _reduxjs_toolkit.AsyncThunk<{
|
|
447
488
|
stopped: boolean;
|
|
489
|
+
status?: string;
|
|
490
|
+
sessionId?: string;
|
|
448
491
|
}, {
|
|
449
492
|
sessionId?: string;
|
|
450
493
|
apiUrl?: string;
|
|
494
|
+
apiKey?: string;
|
|
451
495
|
}, {
|
|
452
496
|
state: {
|
|
453
497
|
ghost: GhostState;
|
|
@@ -463,6 +507,7 @@ declare const stopGhostThunk: _reduxjs_toolkit.AsyncThunk<{
|
|
|
463
507
|
declare const getGhostHistoryThunk: _reduxjs_toolkit.AsyncThunk<GhostHistoryEntry[], {
|
|
464
508
|
limit?: number;
|
|
465
509
|
apiUrl?: string;
|
|
510
|
+
apiKey?: string;
|
|
466
511
|
}, {
|
|
467
512
|
rejectValue: string;
|
|
468
513
|
extra?: unknown;
|
|
@@ -520,11 +565,27 @@ interface CortexInternalState {
|
|
|
520
565
|
}
|
|
521
566
|
declare const initRemoteCortexThunk: _reduxjs_toolkit.AsyncThunk<CortexStatus, {
|
|
522
567
|
model?: string;
|
|
568
|
+
authKey?: string;
|
|
569
|
+
apiUrl?: string;
|
|
570
|
+
apiKey?: string;
|
|
523
571
|
}, {
|
|
572
|
+
state: SDKState;
|
|
573
|
+
dispatch: SDKDispatch;
|
|
574
|
+
rejectValue: string;
|
|
575
|
+
extra?: unknown;
|
|
576
|
+
serializedErrorType?: unknown;
|
|
577
|
+
pendingMeta?: unknown;
|
|
578
|
+
fulfilledMeta?: unknown;
|
|
579
|
+
rejectedMeta?: unknown;
|
|
580
|
+
}>;
|
|
581
|
+
declare const listCortexModelsThunk: _reduxjs_toolkit.AsyncThunk<CortexModelInfo[], {
|
|
582
|
+
apiUrl?: string;
|
|
583
|
+
apiKey?: string;
|
|
584
|
+
}, {
|
|
585
|
+
state: SDKState;
|
|
586
|
+
dispatch: SDKDispatch;
|
|
524
587
|
rejectValue: string;
|
|
525
588
|
extra?: unknown;
|
|
526
|
-
state?: unknown;
|
|
527
|
-
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
528
589
|
serializedErrorType?: unknown;
|
|
529
590
|
pendingMeta?: unknown;
|
|
530
591
|
fulfilledMeta?: unknown;
|
|
@@ -998,76 +1059,114 @@ declare const removeNPC: _reduxjs_toolkit.ActionCreatorWithPayload<string, "npc/
|
|
|
998
1059
|
declare const selectNPCById: (state: {
|
|
999
1060
|
[x: string]: /*elided*/ any;
|
|
1000
1061
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
1062
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1063
|
+
apiUrl: string;
|
|
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", CortexModelInfo[], "forbocApi", unknown>;
|
|
1066
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1067
|
+
request: {
|
|
1068
|
+
requestedModel: string;
|
|
1069
|
+
authKey?: string;
|
|
1070
|
+
};
|
|
1071
|
+
apiUrl: string;
|
|
1072
|
+
apiKey?: string;
|
|
1073
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
1001
1074
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1002
1075
|
npcId: string;
|
|
1003
1076
|
request: DirectiveRequest;
|
|
1004
1077
|
apiUrl: string;
|
|
1005
1078
|
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", DirectiveResponse, "forbocApi", unknown>;
|
|
1079
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
1007
1080
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1008
1081
|
npcId: string;
|
|
1009
1082
|
request: ContextRequest;
|
|
1010
1083
|
apiUrl: string;
|
|
1011
1084
|
apiKey?: string;
|
|
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", ContextResponse, "forbocApi", unknown>;
|
|
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", ContextResponse, "forbocApi", unknown>;
|
|
1013
1086
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1014
1087
|
npcId: string;
|
|
1015
1088
|
request: VerdictRequest;
|
|
1016
1089
|
apiUrl: string;
|
|
1017
1090
|
apiKey?: string;
|
|
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", VerdictResponse, "forbocApi", unknown>;
|
|
1019
|
-
|
|
1091
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
1092
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1093
|
+
npcId: string;
|
|
1094
|
+
request: {
|
|
1095
|
+
observation: string;
|
|
1096
|
+
importance?: number;
|
|
1097
|
+
};
|
|
1098
|
+
apiUrl: string;
|
|
1099
|
+
apiKey?: string;
|
|
1100
|
+
}, _reduxjs_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>;
|
|
1101
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1102
|
+
npcId: string;
|
|
1103
|
+
apiUrl: string;
|
|
1104
|
+
apiKey?: string;
|
|
1105
|
+
}, _reduxjs_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>;
|
|
1106
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1020
1107
|
npcId: string;
|
|
1021
|
-
request:
|
|
1108
|
+
request: {
|
|
1109
|
+
query: string;
|
|
1110
|
+
similarity?: number;
|
|
1111
|
+
};
|
|
1022
1112
|
apiUrl: string;
|
|
1023
1113
|
apiKey?: string;
|
|
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",
|
|
1025
|
-
|
|
1114
|
+
}, _reduxjs_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>;
|
|
1115
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1026
1116
|
npcId: string;
|
|
1027
|
-
request: DialogueRequest;
|
|
1028
1117
|
apiUrl: string;
|
|
1029
1118
|
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",
|
|
1119
|
+
}, _reduxjs_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>;
|
|
1031
1120
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1032
1121
|
request: {
|
|
1033
1122
|
testSuite: string;
|
|
1034
1123
|
duration: number;
|
|
1035
1124
|
};
|
|
1036
1125
|
apiUrl: string;
|
|
1037
|
-
|
|
1126
|
+
apiKey?: string;
|
|
1127
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
1038
1128
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1039
1129
|
sessionId: string;
|
|
1040
1130
|
apiUrl: string;
|
|
1041
|
-
|
|
1131
|
+
apiKey?: string;
|
|
1132
|
+
}, _reduxjs_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>;
|
|
1042
1133
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1043
1134
|
sessionId: string;
|
|
1044
1135
|
apiUrl: string;
|
|
1045
|
-
|
|
1136
|
+
apiKey?: string;
|
|
1137
|
+
}, _reduxjs_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>;
|
|
1046
1138
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1047
1139
|
sessionId: string;
|
|
1048
1140
|
apiUrl: string;
|
|
1049
|
-
|
|
1141
|
+
apiKey?: string;
|
|
1142
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1050
1143
|
stopped: boolean;
|
|
1144
|
+
stopStatus?: string;
|
|
1145
|
+
stopSessionId?: string;
|
|
1051
1146
|
}, "forbocApi", unknown>;
|
|
1052
1147
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1053
1148
|
limit: number;
|
|
1054
1149
|
apiUrl: string;
|
|
1055
|
-
|
|
1150
|
+
apiKey?: string;
|
|
1151
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1056
1152
|
sessions: any[];
|
|
1057
1153
|
}, "forbocApi", unknown>;
|
|
1058
1154
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1059
1155
|
npcId: string;
|
|
1060
1156
|
request: any;
|
|
1061
1157
|
apiUrl: string;
|
|
1062
|
-
|
|
1158
|
+
apiKey?: string;
|
|
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", SoulExportResponse, "forbocApi", unknown>;
|
|
1063
1160
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1064
1161
|
txId: string;
|
|
1065
1162
|
apiUrl: string;
|
|
1066
|
-
|
|
1163
|
+
apiKey?: string;
|
|
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", any, "forbocApi", unknown>;
|
|
1067
1165
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1068
1166
|
limit: number;
|
|
1069
1167
|
apiUrl: string;
|
|
1070
|
-
|
|
1168
|
+
apiKey?: string;
|
|
1169
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
1071
1170
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1072
1171
|
request: {
|
|
1073
1172
|
action: NPCAction;
|
|
@@ -1075,28 +1174,63 @@ declare const selectNPCById: (state: {
|
|
|
1075
1174
|
};
|
|
1076
1175
|
npcId?: string;
|
|
1077
1176
|
apiUrl: string;
|
|
1078
|
-
|
|
1177
|
+
apiKey?: string;
|
|
1178
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
1079
1179
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1080
1180
|
apiUrl: string;
|
|
1081
|
-
|
|
1181
|
+
apiKey?: string;
|
|
1182
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
1082
1183
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1083
1184
|
presetName: string;
|
|
1084
1185
|
apiUrl: string;
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
prompt: string;
|
|
1089
|
-
options?: any;
|
|
1186
|
+
apiKey?: string;
|
|
1187
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
1188
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1090
1189
|
apiUrl: string;
|
|
1091
1190
|
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",
|
|
1093
|
-
|
|
1191
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
1192
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1193
|
+
apiUrl: string;
|
|
1194
|
+
apiKey?: string;
|
|
1195
|
+
}, _reduxjs_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>;
|
|
1196
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1197
|
+
request: DirectiveRuleSet;
|
|
1198
|
+
apiUrl: string;
|
|
1199
|
+
apiKey?: string;
|
|
1200
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
1201
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1202
|
+
rulesetId: string;
|
|
1203
|
+
apiUrl: string;
|
|
1204
|
+
apiKey?: string;
|
|
1205
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1206
|
+
deleted: boolean;
|
|
1094
1207
|
}, "forbocApi", unknown>;
|
|
1095
|
-
|
|
1208
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1209
|
+
txId: string;
|
|
1096
1210
|
apiUrl: string;
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1211
|
+
apiKey?: string;
|
|
1212
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
1213
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1214
|
+
request: {
|
|
1215
|
+
txIdRef: string;
|
|
1216
|
+
};
|
|
1217
|
+
apiUrl: string;
|
|
1218
|
+
apiKey?: string;
|
|
1219
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
1220
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1221
|
+
cortexId: string;
|
|
1222
|
+
prompt: string;
|
|
1223
|
+
options?: any;
|
|
1224
|
+
apiUrl: string;
|
|
1225
|
+
apiKey?: string;
|
|
1226
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1227
|
+
text: string;
|
|
1228
|
+
}, "forbocApi", unknown>;
|
|
1229
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1230
|
+
apiUrl: string;
|
|
1231
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
1232
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
1233
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1100
1234
|
activeNpcId: string;
|
|
1101
1235
|
};
|
|
1102
1236
|
cortex: CortexInternalState;
|
|
@@ -1106,6 +1240,9 @@ declare const selectNPCById: (state: {
|
|
|
1106
1240
|
error: string | null;
|
|
1107
1241
|
lastRecalledIds: string[];
|
|
1108
1242
|
};
|
|
1243
|
+
directive: _reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
1244
|
+
activeDirectiveId: string;
|
|
1245
|
+
};
|
|
1109
1246
|
ghost: GhostState;
|
|
1110
1247
|
soul: SoulState;
|
|
1111
1248
|
bridge: BridgeState;
|
|
@@ -1124,76 +1261,114 @@ declare const selectNPCById: (state: {
|
|
|
1124
1261
|
declare const selectNPCIds: (state: {
|
|
1125
1262
|
[x: string]: /*elided*/ any;
|
|
1126
1263
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
1264
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1265
|
+
apiUrl: string;
|
|
1266
|
+
apiKey?: string;
|
|
1267
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexModelInfo[], "forbocApi", unknown>;
|
|
1268
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1269
|
+
request: {
|
|
1270
|
+
requestedModel: string;
|
|
1271
|
+
authKey?: string;
|
|
1272
|
+
};
|
|
1273
|
+
apiUrl: string;
|
|
1274
|
+
apiKey?: string;
|
|
1275
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
1127
1276
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1128
1277
|
npcId: string;
|
|
1129
1278
|
request: DirectiveRequest;
|
|
1130
1279
|
apiUrl: string;
|
|
1131
1280
|
apiKey?: string;
|
|
1132
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveResponse, "forbocApi", unknown>;
|
|
1281
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
1133
1282
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1134
1283
|
npcId: string;
|
|
1135
1284
|
request: ContextRequest;
|
|
1136
1285
|
apiUrl: string;
|
|
1137
1286
|
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", ContextResponse, "forbocApi", unknown>;
|
|
1287
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ContextResponse, "forbocApi", unknown>;
|
|
1139
1288
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1140
1289
|
npcId: string;
|
|
1141
1290
|
request: VerdictRequest;
|
|
1142
1291
|
apiUrl: string;
|
|
1143
1292
|
apiKey?: string;
|
|
1144
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", VerdictResponse, "forbocApi", unknown>;
|
|
1145
|
-
|
|
1293
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
1294
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1295
|
+
npcId: string;
|
|
1296
|
+
request: {
|
|
1297
|
+
observation: string;
|
|
1298
|
+
importance?: number;
|
|
1299
|
+
};
|
|
1300
|
+
apiUrl: string;
|
|
1301
|
+
apiKey?: string;
|
|
1302
|
+
}, _reduxjs_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>;
|
|
1303
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1146
1304
|
npcId: string;
|
|
1147
|
-
request: SpeakRequest;
|
|
1148
1305
|
apiUrl: string;
|
|
1149
1306
|
apiKey?: string;
|
|
1150
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
1151
|
-
|
|
1307
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", any[], "forbocApi", unknown>;
|
|
1308
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1309
|
+
npcId: string;
|
|
1310
|
+
request: {
|
|
1311
|
+
query: string;
|
|
1312
|
+
similarity?: number;
|
|
1313
|
+
};
|
|
1314
|
+
apiUrl: string;
|
|
1315
|
+
apiKey?: string;
|
|
1316
|
+
}, _reduxjs_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>;
|
|
1317
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1152
1318
|
npcId: string;
|
|
1153
|
-
request: DialogueRequest;
|
|
1154
1319
|
apiUrl: string;
|
|
1155
1320
|
apiKey?: string;
|
|
1156
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
1321
|
+
}, _reduxjs_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>;
|
|
1157
1322
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1158
1323
|
request: {
|
|
1159
1324
|
testSuite: string;
|
|
1160
1325
|
duration: number;
|
|
1161
1326
|
};
|
|
1162
1327
|
apiUrl: string;
|
|
1163
|
-
|
|
1328
|
+
apiKey?: string;
|
|
1329
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
1164
1330
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1165
1331
|
sessionId: string;
|
|
1166
1332
|
apiUrl: string;
|
|
1167
|
-
|
|
1333
|
+
apiKey?: string;
|
|
1334
|
+
}, _reduxjs_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>;
|
|
1168
1335
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1169
1336
|
sessionId: string;
|
|
1170
1337
|
apiUrl: string;
|
|
1171
|
-
|
|
1338
|
+
apiKey?: string;
|
|
1339
|
+
}, _reduxjs_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>;
|
|
1172
1340
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1173
1341
|
sessionId: string;
|
|
1174
1342
|
apiUrl: string;
|
|
1175
|
-
|
|
1343
|
+
apiKey?: string;
|
|
1344
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1176
1345
|
stopped: boolean;
|
|
1346
|
+
stopStatus?: string;
|
|
1347
|
+
stopSessionId?: string;
|
|
1177
1348
|
}, "forbocApi", unknown>;
|
|
1178
1349
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1179
1350
|
limit: number;
|
|
1180
1351
|
apiUrl: string;
|
|
1181
|
-
|
|
1352
|
+
apiKey?: string;
|
|
1353
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1182
1354
|
sessions: any[];
|
|
1183
1355
|
}, "forbocApi", unknown>;
|
|
1184
1356
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1185
1357
|
npcId: string;
|
|
1186
1358
|
request: any;
|
|
1187
1359
|
apiUrl: string;
|
|
1188
|
-
|
|
1360
|
+
apiKey?: string;
|
|
1361
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulExportResponse, "forbocApi", unknown>;
|
|
1189
1362
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1190
1363
|
txId: string;
|
|
1191
1364
|
apiUrl: string;
|
|
1192
|
-
|
|
1365
|
+
apiKey?: string;
|
|
1366
|
+
}, _reduxjs_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>;
|
|
1193
1367
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1194
1368
|
limit: number;
|
|
1195
1369
|
apiUrl: string;
|
|
1196
|
-
|
|
1370
|
+
apiKey?: string;
|
|
1371
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
1197
1372
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1198
1373
|
request: {
|
|
1199
1374
|
action: NPCAction;
|
|
@@ -1201,27 +1376,62 @@ declare const selectNPCIds: (state: {
|
|
|
1201
1376
|
};
|
|
1202
1377
|
npcId?: string;
|
|
1203
1378
|
apiUrl: string;
|
|
1204
|
-
|
|
1379
|
+
apiKey?: string;
|
|
1380
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
1205
1381
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1206
1382
|
apiUrl: string;
|
|
1207
|
-
|
|
1383
|
+
apiKey?: string;
|
|
1384
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
1208
1385
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1209
1386
|
presetName: string;
|
|
1210
1387
|
apiUrl: string;
|
|
1211
|
-
|
|
1388
|
+
apiKey?: string;
|
|
1389
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
1390
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1391
|
+
apiUrl: string;
|
|
1392
|
+
apiKey?: string;
|
|
1393
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
1394
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1395
|
+
apiUrl: string;
|
|
1396
|
+
apiKey?: string;
|
|
1397
|
+
}, _reduxjs_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>;
|
|
1398
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1399
|
+
request: DirectiveRuleSet;
|
|
1400
|
+
apiUrl: string;
|
|
1401
|
+
apiKey?: string;
|
|
1402
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
1403
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1404
|
+
rulesetId: string;
|
|
1405
|
+
apiUrl: string;
|
|
1406
|
+
apiKey?: string;
|
|
1407
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1408
|
+
deleted: boolean;
|
|
1409
|
+
}, "forbocApi", unknown>;
|
|
1410
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1411
|
+
txId: string;
|
|
1412
|
+
apiUrl: string;
|
|
1413
|
+
apiKey?: string;
|
|
1414
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
1415
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1416
|
+
request: {
|
|
1417
|
+
txIdRef: string;
|
|
1418
|
+
};
|
|
1419
|
+
apiUrl: string;
|
|
1420
|
+
apiKey?: string;
|
|
1421
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
1212
1422
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1213
1423
|
cortexId: string;
|
|
1214
1424
|
prompt: string;
|
|
1215
1425
|
options?: any;
|
|
1216
1426
|
apiUrl: string;
|
|
1217
1427
|
apiKey?: string;
|
|
1218
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1428
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1219
1429
|
text: string;
|
|
1220
1430
|
}, "forbocApi", unknown>;
|
|
1221
1431
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1222
1432
|
apiUrl: string;
|
|
1223
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ApiStatusResponse, "forbocApi", unknown>;
|
|
1224
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
1433
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
1434
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
1225
1435
|
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1226
1436
|
activeNpcId: string;
|
|
1227
1437
|
};
|
|
@@ -1232,6 +1442,9 @@ declare const selectNPCIds: (state: {
|
|
|
1232
1442
|
error: string | null;
|
|
1233
1443
|
lastRecalledIds: string[];
|
|
1234
1444
|
};
|
|
1445
|
+
directive: _reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
1446
|
+
activeDirectiveId: string;
|
|
1447
|
+
};
|
|
1235
1448
|
ghost: GhostState;
|
|
1236
1449
|
soul: SoulState;
|
|
1237
1450
|
bridge: BridgeState;
|
|
@@ -1239,76 +1452,114 @@ declare const selectNPCIds: (state: {
|
|
|
1239
1452
|
declare const selectNPCEntities: (state: {
|
|
1240
1453
|
[x: string]: /*elided*/ any;
|
|
1241
1454
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
1455
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1456
|
+
apiUrl: string;
|
|
1457
|
+
apiKey?: string;
|
|
1458
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexModelInfo[], "forbocApi", unknown>;
|
|
1459
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1460
|
+
request: {
|
|
1461
|
+
requestedModel: string;
|
|
1462
|
+
authKey?: string;
|
|
1463
|
+
};
|
|
1464
|
+
apiUrl: string;
|
|
1465
|
+
apiKey?: string;
|
|
1466
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
1242
1467
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1243
1468
|
npcId: string;
|
|
1244
1469
|
request: DirectiveRequest;
|
|
1245
1470
|
apiUrl: string;
|
|
1246
1471
|
apiKey?: string;
|
|
1247
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveResponse, "forbocApi", unknown>;
|
|
1472
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
1248
1473
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1249
1474
|
npcId: string;
|
|
1250
1475
|
request: ContextRequest;
|
|
1251
1476
|
apiUrl: string;
|
|
1252
1477
|
apiKey?: string;
|
|
1253
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ContextResponse, "forbocApi", unknown>;
|
|
1478
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ContextResponse, "forbocApi", unknown>;
|
|
1254
1479
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1255
1480
|
npcId: string;
|
|
1256
1481
|
request: VerdictRequest;
|
|
1257
1482
|
apiUrl: string;
|
|
1258
1483
|
apiKey?: string;
|
|
1259
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", VerdictResponse, "forbocApi", unknown>;
|
|
1260
|
-
|
|
1484
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
1485
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1486
|
+
npcId: string;
|
|
1487
|
+
request: {
|
|
1488
|
+
observation: string;
|
|
1489
|
+
importance?: number;
|
|
1490
|
+
};
|
|
1491
|
+
apiUrl: string;
|
|
1492
|
+
apiKey?: string;
|
|
1493
|
+
}, _reduxjs_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>;
|
|
1494
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1495
|
+
npcId: string;
|
|
1496
|
+
apiUrl: string;
|
|
1497
|
+
apiKey?: string;
|
|
1498
|
+
}, _reduxjs_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>;
|
|
1499
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1261
1500
|
npcId: string;
|
|
1262
|
-
request:
|
|
1501
|
+
request: {
|
|
1502
|
+
query: string;
|
|
1503
|
+
similarity?: number;
|
|
1504
|
+
};
|
|
1263
1505
|
apiUrl: string;
|
|
1264
1506
|
apiKey?: string;
|
|
1265
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
1266
|
-
|
|
1507
|
+
}, _reduxjs_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>;
|
|
1508
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1267
1509
|
npcId: string;
|
|
1268
|
-
request: DialogueRequest;
|
|
1269
1510
|
apiUrl: string;
|
|
1270
1511
|
apiKey?: string;
|
|
1271
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
1512
|
+
}, _reduxjs_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>;
|
|
1272
1513
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1273
1514
|
request: {
|
|
1274
1515
|
testSuite: string;
|
|
1275
1516
|
duration: number;
|
|
1276
1517
|
};
|
|
1277
1518
|
apiUrl: string;
|
|
1278
|
-
|
|
1519
|
+
apiKey?: string;
|
|
1520
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
1279
1521
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1280
1522
|
sessionId: string;
|
|
1281
1523
|
apiUrl: string;
|
|
1282
|
-
|
|
1524
|
+
apiKey?: string;
|
|
1525
|
+
}, _reduxjs_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>;
|
|
1283
1526
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1284
1527
|
sessionId: string;
|
|
1285
1528
|
apiUrl: string;
|
|
1286
|
-
|
|
1529
|
+
apiKey?: string;
|
|
1530
|
+
}, _reduxjs_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>;
|
|
1287
1531
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1288
1532
|
sessionId: string;
|
|
1289
1533
|
apiUrl: string;
|
|
1290
|
-
|
|
1534
|
+
apiKey?: string;
|
|
1535
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1291
1536
|
stopped: boolean;
|
|
1537
|
+
stopStatus?: string;
|
|
1538
|
+
stopSessionId?: string;
|
|
1292
1539
|
}, "forbocApi", unknown>;
|
|
1293
1540
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1294
1541
|
limit: number;
|
|
1295
1542
|
apiUrl: string;
|
|
1296
|
-
|
|
1543
|
+
apiKey?: string;
|
|
1544
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1297
1545
|
sessions: any[];
|
|
1298
1546
|
}, "forbocApi", unknown>;
|
|
1299
1547
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1300
1548
|
npcId: string;
|
|
1301
1549
|
request: any;
|
|
1302
1550
|
apiUrl: string;
|
|
1303
|
-
|
|
1551
|
+
apiKey?: string;
|
|
1552
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulExportResponse, "forbocApi", unknown>;
|
|
1304
1553
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1305
1554
|
txId: string;
|
|
1306
1555
|
apiUrl: string;
|
|
1307
|
-
|
|
1556
|
+
apiKey?: string;
|
|
1557
|
+
}, _reduxjs_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>;
|
|
1308
1558
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1309
1559
|
limit: number;
|
|
1310
1560
|
apiUrl: string;
|
|
1311
|
-
|
|
1561
|
+
apiKey?: string;
|
|
1562
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
1312
1563
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1313
1564
|
request: {
|
|
1314
1565
|
action: NPCAction;
|
|
@@ -1316,27 +1567,62 @@ declare const selectNPCEntities: (state: {
|
|
|
1316
1567
|
};
|
|
1317
1568
|
npcId?: string;
|
|
1318
1569
|
apiUrl: string;
|
|
1319
|
-
|
|
1570
|
+
apiKey?: string;
|
|
1571
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
1320
1572
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1321
1573
|
apiUrl: string;
|
|
1322
|
-
|
|
1574
|
+
apiKey?: string;
|
|
1575
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
1323
1576
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1324
1577
|
presetName: string;
|
|
1325
1578
|
apiUrl: string;
|
|
1326
|
-
|
|
1579
|
+
apiKey?: string;
|
|
1580
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
1581
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1582
|
+
apiUrl: string;
|
|
1583
|
+
apiKey?: string;
|
|
1584
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
1585
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1586
|
+
apiUrl: string;
|
|
1587
|
+
apiKey?: string;
|
|
1588
|
+
}, _reduxjs_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>;
|
|
1589
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1590
|
+
request: DirectiveRuleSet;
|
|
1591
|
+
apiUrl: string;
|
|
1592
|
+
apiKey?: string;
|
|
1593
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
1594
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1595
|
+
rulesetId: string;
|
|
1596
|
+
apiUrl: string;
|
|
1597
|
+
apiKey?: string;
|
|
1598
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1599
|
+
deleted: boolean;
|
|
1600
|
+
}, "forbocApi", unknown>;
|
|
1601
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1602
|
+
txId: string;
|
|
1603
|
+
apiUrl: string;
|
|
1604
|
+
apiKey?: string;
|
|
1605
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
1606
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1607
|
+
request: {
|
|
1608
|
+
txIdRef: string;
|
|
1609
|
+
};
|
|
1610
|
+
apiUrl: string;
|
|
1611
|
+
apiKey?: string;
|
|
1612
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
1327
1613
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1328
1614
|
cortexId: string;
|
|
1329
1615
|
prompt: string;
|
|
1330
1616
|
options?: any;
|
|
1331
1617
|
apiUrl: string;
|
|
1332
1618
|
apiKey?: string;
|
|
1333
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1619
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1334
1620
|
text: string;
|
|
1335
1621
|
}, "forbocApi", unknown>;
|
|
1336
1622
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1337
1623
|
apiUrl: string;
|
|
1338
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ApiStatusResponse, "forbocApi", unknown>;
|
|
1339
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
1624
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
1625
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
1340
1626
|
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1341
1627
|
activeNpcId: string;
|
|
1342
1628
|
};
|
|
@@ -1347,6 +1633,9 @@ declare const selectNPCEntities: (state: {
|
|
|
1347
1633
|
error: string | null;
|
|
1348
1634
|
lastRecalledIds: string[];
|
|
1349
1635
|
};
|
|
1636
|
+
directive: _reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
1637
|
+
activeDirectiveId: string;
|
|
1638
|
+
};
|
|
1350
1639
|
ghost: GhostState;
|
|
1351
1640
|
soul: SoulState;
|
|
1352
1641
|
bridge: BridgeState;
|
|
@@ -1354,76 +1643,114 @@ declare const selectNPCEntities: (state: {
|
|
|
1354
1643
|
declare const selectAllNPCs: (state: {
|
|
1355
1644
|
[x: string]: /*elided*/ any;
|
|
1356
1645
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
1646
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1647
|
+
apiUrl: string;
|
|
1648
|
+
apiKey?: string;
|
|
1649
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexModelInfo[], "forbocApi", unknown>;
|
|
1650
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1651
|
+
request: {
|
|
1652
|
+
requestedModel: string;
|
|
1653
|
+
authKey?: string;
|
|
1654
|
+
};
|
|
1655
|
+
apiUrl: string;
|
|
1656
|
+
apiKey?: string;
|
|
1657
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
1357
1658
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1358
1659
|
npcId: string;
|
|
1359
1660
|
request: DirectiveRequest;
|
|
1360
1661
|
apiUrl: string;
|
|
1361
1662
|
apiKey?: string;
|
|
1362
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveResponse, "forbocApi", unknown>;
|
|
1663
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
1363
1664
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1364
1665
|
npcId: string;
|
|
1365
1666
|
request: ContextRequest;
|
|
1366
1667
|
apiUrl: string;
|
|
1367
1668
|
apiKey?: string;
|
|
1368
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ContextResponse, "forbocApi", unknown>;
|
|
1669
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ContextResponse, "forbocApi", unknown>;
|
|
1369
1670
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1370
1671
|
npcId: string;
|
|
1371
1672
|
request: VerdictRequest;
|
|
1372
1673
|
apiUrl: string;
|
|
1373
1674
|
apiKey?: string;
|
|
1374
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", VerdictResponse, "forbocApi", unknown>;
|
|
1375
|
-
|
|
1675
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
1676
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1677
|
+
npcId: string;
|
|
1678
|
+
request: {
|
|
1679
|
+
observation: string;
|
|
1680
|
+
importance?: number;
|
|
1681
|
+
};
|
|
1682
|
+
apiUrl: string;
|
|
1683
|
+
apiKey?: string;
|
|
1684
|
+
}, _reduxjs_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>;
|
|
1685
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1686
|
+
npcId: string;
|
|
1687
|
+
apiUrl: string;
|
|
1688
|
+
apiKey?: string;
|
|
1689
|
+
}, _reduxjs_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>;
|
|
1690
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1376
1691
|
npcId: string;
|
|
1377
|
-
request:
|
|
1692
|
+
request: {
|
|
1693
|
+
query: string;
|
|
1694
|
+
similarity?: number;
|
|
1695
|
+
};
|
|
1378
1696
|
apiUrl: string;
|
|
1379
1697
|
apiKey?: string;
|
|
1380
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
1381
|
-
|
|
1698
|
+
}, _reduxjs_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>;
|
|
1699
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1382
1700
|
npcId: string;
|
|
1383
|
-
request: DialogueRequest;
|
|
1384
1701
|
apiUrl: string;
|
|
1385
1702
|
apiKey?: string;
|
|
1386
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
1703
|
+
}, _reduxjs_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>;
|
|
1387
1704
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1388
1705
|
request: {
|
|
1389
1706
|
testSuite: string;
|
|
1390
1707
|
duration: number;
|
|
1391
1708
|
};
|
|
1392
1709
|
apiUrl: string;
|
|
1393
|
-
|
|
1710
|
+
apiKey?: string;
|
|
1711
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
1394
1712
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1395
1713
|
sessionId: string;
|
|
1396
1714
|
apiUrl: string;
|
|
1397
|
-
|
|
1715
|
+
apiKey?: string;
|
|
1716
|
+
}, _reduxjs_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>;
|
|
1398
1717
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1399
1718
|
sessionId: string;
|
|
1400
1719
|
apiUrl: string;
|
|
1401
|
-
|
|
1720
|
+
apiKey?: string;
|
|
1721
|
+
}, _reduxjs_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>;
|
|
1402
1722
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1403
1723
|
sessionId: string;
|
|
1404
1724
|
apiUrl: string;
|
|
1405
|
-
|
|
1725
|
+
apiKey?: string;
|
|
1726
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1406
1727
|
stopped: boolean;
|
|
1728
|
+
stopStatus?: string;
|
|
1729
|
+
stopSessionId?: string;
|
|
1407
1730
|
}, "forbocApi", unknown>;
|
|
1408
1731
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1409
1732
|
limit: number;
|
|
1410
1733
|
apiUrl: string;
|
|
1411
|
-
|
|
1734
|
+
apiKey?: string;
|
|
1735
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1412
1736
|
sessions: any[];
|
|
1413
1737
|
}, "forbocApi", unknown>;
|
|
1414
1738
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1415
1739
|
npcId: string;
|
|
1416
1740
|
request: any;
|
|
1417
1741
|
apiUrl: string;
|
|
1418
|
-
|
|
1742
|
+
apiKey?: string;
|
|
1743
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulExportResponse, "forbocApi", unknown>;
|
|
1419
1744
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1420
1745
|
txId: string;
|
|
1421
1746
|
apiUrl: string;
|
|
1422
|
-
|
|
1747
|
+
apiKey?: string;
|
|
1748
|
+
}, _reduxjs_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>;
|
|
1423
1749
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1424
1750
|
limit: number;
|
|
1425
1751
|
apiUrl: string;
|
|
1426
|
-
|
|
1752
|
+
apiKey?: string;
|
|
1753
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
1427
1754
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1428
1755
|
request: {
|
|
1429
1756
|
action: NPCAction;
|
|
@@ -1431,27 +1758,62 @@ declare const selectAllNPCs: (state: {
|
|
|
1431
1758
|
};
|
|
1432
1759
|
npcId?: string;
|
|
1433
1760
|
apiUrl: string;
|
|
1434
|
-
|
|
1761
|
+
apiKey?: string;
|
|
1762
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
1435
1763
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1436
1764
|
apiUrl: string;
|
|
1437
|
-
|
|
1765
|
+
apiKey?: string;
|
|
1766
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
1438
1767
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1439
1768
|
presetName: string;
|
|
1440
1769
|
apiUrl: string;
|
|
1441
|
-
|
|
1770
|
+
apiKey?: string;
|
|
1771
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
1772
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1773
|
+
apiUrl: string;
|
|
1774
|
+
apiKey?: string;
|
|
1775
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
1776
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1777
|
+
apiUrl: string;
|
|
1778
|
+
apiKey?: string;
|
|
1779
|
+
}, _reduxjs_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>;
|
|
1780
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1781
|
+
request: DirectiveRuleSet;
|
|
1782
|
+
apiUrl: string;
|
|
1783
|
+
apiKey?: string;
|
|
1784
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
1785
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1786
|
+
rulesetId: string;
|
|
1787
|
+
apiUrl: string;
|
|
1788
|
+
apiKey?: string;
|
|
1789
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1790
|
+
deleted: boolean;
|
|
1791
|
+
}, "forbocApi", unknown>;
|
|
1792
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1793
|
+
txId: string;
|
|
1794
|
+
apiUrl: string;
|
|
1795
|
+
apiKey?: string;
|
|
1796
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
1797
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1798
|
+
request: {
|
|
1799
|
+
txIdRef: string;
|
|
1800
|
+
};
|
|
1801
|
+
apiUrl: string;
|
|
1802
|
+
apiKey?: string;
|
|
1803
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
1442
1804
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1443
1805
|
cortexId: string;
|
|
1444
1806
|
prompt: string;
|
|
1445
1807
|
options?: any;
|
|
1446
1808
|
apiUrl: string;
|
|
1447
1809
|
apiKey?: string;
|
|
1448
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1810
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1449
1811
|
text: string;
|
|
1450
1812
|
}, "forbocApi", unknown>;
|
|
1451
1813
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1452
1814
|
apiUrl: string;
|
|
1453
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ApiStatusResponse, "forbocApi", unknown>;
|
|
1454
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
1815
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
1816
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
1455
1817
|
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1456
1818
|
activeNpcId: string;
|
|
1457
1819
|
};
|
|
@@ -1462,6 +1824,9 @@ declare const selectAllNPCs: (state: {
|
|
|
1462
1824
|
error: string | null;
|
|
1463
1825
|
lastRecalledIds: string[];
|
|
1464
1826
|
};
|
|
1827
|
+
directive: _reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
1828
|
+
activeDirectiveId: string;
|
|
1829
|
+
};
|
|
1465
1830
|
ghost: GhostState;
|
|
1466
1831
|
soul: SoulState;
|
|
1467
1832
|
bridge: BridgeState;
|
|
@@ -1469,76 +1834,759 @@ declare const selectAllNPCs: (state: {
|
|
|
1469
1834
|
declare const selectTotalNPCs: (state: {
|
|
1470
1835
|
[x: string]: /*elided*/ any;
|
|
1471
1836
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
1837
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1838
|
+
apiUrl: string;
|
|
1839
|
+
apiKey?: string;
|
|
1840
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexModelInfo[], "forbocApi", unknown>;
|
|
1841
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1842
|
+
request: {
|
|
1843
|
+
requestedModel: string;
|
|
1844
|
+
authKey?: string;
|
|
1845
|
+
};
|
|
1846
|
+
apiUrl: string;
|
|
1847
|
+
apiKey?: string;
|
|
1848
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
1472
1849
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1473
1850
|
npcId: string;
|
|
1474
1851
|
request: DirectiveRequest;
|
|
1475
1852
|
apiUrl: string;
|
|
1476
1853
|
apiKey?: string;
|
|
1477
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveResponse, "forbocApi", unknown>;
|
|
1854
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
1478
1855
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1479
1856
|
npcId: string;
|
|
1480
1857
|
request: ContextRequest;
|
|
1481
1858
|
apiUrl: string;
|
|
1482
1859
|
apiKey?: string;
|
|
1483
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ContextResponse, "forbocApi", unknown>;
|
|
1860
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ContextResponse, "forbocApi", unknown>;
|
|
1484
1861
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1485
1862
|
npcId: string;
|
|
1486
1863
|
request: VerdictRequest;
|
|
1487
1864
|
apiUrl: string;
|
|
1488
1865
|
apiKey?: string;
|
|
1489
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", VerdictResponse, "forbocApi", unknown>;
|
|
1490
|
-
|
|
1866
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
1867
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1868
|
+
npcId: string;
|
|
1869
|
+
request: {
|
|
1870
|
+
observation: string;
|
|
1871
|
+
importance?: number;
|
|
1872
|
+
};
|
|
1873
|
+
apiUrl: string;
|
|
1874
|
+
apiKey?: string;
|
|
1875
|
+
}, _reduxjs_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>;
|
|
1876
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1877
|
+
npcId: string;
|
|
1878
|
+
apiUrl: string;
|
|
1879
|
+
apiKey?: string;
|
|
1880
|
+
}, _reduxjs_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>;
|
|
1881
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1491
1882
|
npcId: string;
|
|
1492
|
-
request:
|
|
1883
|
+
request: {
|
|
1884
|
+
query: string;
|
|
1885
|
+
similarity?: number;
|
|
1886
|
+
};
|
|
1493
1887
|
apiUrl: string;
|
|
1494
1888
|
apiKey?: string;
|
|
1495
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
1496
|
-
|
|
1889
|
+
}, _reduxjs_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>;
|
|
1890
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1497
1891
|
npcId: string;
|
|
1498
|
-
request: DialogueRequest;
|
|
1499
1892
|
apiUrl: string;
|
|
1500
1893
|
apiKey?: string;
|
|
1501
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
1894
|
+
}, _reduxjs_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>;
|
|
1502
1895
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1503
1896
|
request: {
|
|
1504
1897
|
testSuite: string;
|
|
1505
1898
|
duration: number;
|
|
1506
1899
|
};
|
|
1507
1900
|
apiUrl: string;
|
|
1508
|
-
|
|
1901
|
+
apiKey?: string;
|
|
1902
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
1509
1903
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1510
1904
|
sessionId: string;
|
|
1511
1905
|
apiUrl: string;
|
|
1512
|
-
|
|
1906
|
+
apiKey?: string;
|
|
1907
|
+
}, _reduxjs_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>;
|
|
1513
1908
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1514
1909
|
sessionId: string;
|
|
1515
1910
|
apiUrl: string;
|
|
1516
|
-
|
|
1911
|
+
apiKey?: string;
|
|
1912
|
+
}, _reduxjs_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>;
|
|
1517
1913
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1518
1914
|
sessionId: string;
|
|
1519
1915
|
apiUrl: string;
|
|
1520
|
-
|
|
1916
|
+
apiKey?: string;
|
|
1917
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1521
1918
|
stopped: boolean;
|
|
1919
|
+
stopStatus?: string;
|
|
1920
|
+
stopSessionId?: string;
|
|
1522
1921
|
}, "forbocApi", unknown>;
|
|
1523
1922
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1524
1923
|
limit: number;
|
|
1525
1924
|
apiUrl: string;
|
|
1526
|
-
|
|
1925
|
+
apiKey?: string;
|
|
1926
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1527
1927
|
sessions: any[];
|
|
1528
1928
|
}, "forbocApi", unknown>;
|
|
1529
1929
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1530
1930
|
npcId: string;
|
|
1531
1931
|
request: any;
|
|
1532
1932
|
apiUrl: string;
|
|
1533
|
-
|
|
1933
|
+
apiKey?: string;
|
|
1934
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulExportResponse, "forbocApi", unknown>;
|
|
1534
1935
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1535
1936
|
txId: string;
|
|
1536
1937
|
apiUrl: string;
|
|
1537
|
-
|
|
1938
|
+
apiKey?: string;
|
|
1939
|
+
}, _reduxjs_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>;
|
|
1538
1940
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1539
1941
|
limit: number;
|
|
1540
1942
|
apiUrl: string;
|
|
1541
|
-
|
|
1943
|
+
apiKey?: string;
|
|
1944
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
1945
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1946
|
+
request: {
|
|
1947
|
+
action: NPCAction;
|
|
1948
|
+
context: ValidationContext;
|
|
1949
|
+
};
|
|
1950
|
+
npcId?: string;
|
|
1951
|
+
apiUrl: string;
|
|
1952
|
+
apiKey?: string;
|
|
1953
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
1954
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1955
|
+
apiUrl: string;
|
|
1956
|
+
apiKey?: string;
|
|
1957
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
1958
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1959
|
+
presetName: string;
|
|
1960
|
+
apiUrl: string;
|
|
1961
|
+
apiKey?: string;
|
|
1962
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
1963
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1964
|
+
apiUrl: string;
|
|
1965
|
+
apiKey?: string;
|
|
1966
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
1967
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1968
|
+
apiUrl: string;
|
|
1969
|
+
apiKey?: string;
|
|
1970
|
+
}, _reduxjs_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>;
|
|
1971
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1972
|
+
request: DirectiveRuleSet;
|
|
1973
|
+
apiUrl: string;
|
|
1974
|
+
apiKey?: string;
|
|
1975
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
1976
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1977
|
+
rulesetId: string;
|
|
1978
|
+
apiUrl: string;
|
|
1979
|
+
apiKey?: string;
|
|
1980
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1981
|
+
deleted: boolean;
|
|
1982
|
+
}, "forbocApi", unknown>;
|
|
1983
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1984
|
+
txId: string;
|
|
1985
|
+
apiUrl: string;
|
|
1986
|
+
apiKey?: string;
|
|
1987
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
1988
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1989
|
+
request: {
|
|
1990
|
+
txIdRef: string;
|
|
1991
|
+
};
|
|
1992
|
+
apiUrl: string;
|
|
1993
|
+
apiKey?: string;
|
|
1994
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
1995
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1996
|
+
cortexId: string;
|
|
1997
|
+
prompt: string;
|
|
1998
|
+
options?: any;
|
|
1999
|
+
apiUrl: string;
|
|
2000
|
+
apiKey?: string;
|
|
2001
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2002
|
+
text: string;
|
|
2003
|
+
}, "forbocApi", unknown>;
|
|
2004
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2005
|
+
apiUrl: string;
|
|
2006
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
2007
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
2008
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
2009
|
+
activeNpcId: string;
|
|
2010
|
+
};
|
|
2011
|
+
cortex: CortexInternalState;
|
|
2012
|
+
memory: _reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
2013
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2014
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2015
|
+
error: string | null;
|
|
2016
|
+
lastRecalledIds: string[];
|
|
2017
|
+
};
|
|
2018
|
+
directive: _reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
2019
|
+
activeDirectiveId: string;
|
|
2020
|
+
};
|
|
2021
|
+
ghost: GhostState;
|
|
2022
|
+
soul: SoulState;
|
|
2023
|
+
bridge: BridgeState;
|
|
2024
|
+
}) => number;
|
|
2025
|
+
/**
|
|
2026
|
+
* User Story: As NPC runtime state access, I need a selector for the active NPC
|
|
2027
|
+
* id so UI and orchestration logic can resolve the current actor consistently.
|
|
2028
|
+
* Keep this selector trivial and stable for memoized consumers.
|
|
2029
|
+
*/
|
|
2030
|
+
declare const selectActiveNpcId: (state: SDKState) => string;
|
|
2031
|
+
declare const selectActiveNPC: (state: SDKState) => NPCInternalState;
|
|
2032
|
+
|
|
2033
|
+
interface DirectiveRun {
|
|
2034
|
+
id: string;
|
|
2035
|
+
npcId: string;
|
|
2036
|
+
observation: string;
|
|
2037
|
+
status: 'running' | 'completed' | 'failed';
|
|
2038
|
+
startedAt: number;
|
|
2039
|
+
completedAt?: number;
|
|
2040
|
+
error?: string;
|
|
2041
|
+
memoryRecall?: DirectiveResponse['memoryRecall'];
|
|
2042
|
+
contextPrompt?: string;
|
|
2043
|
+
contextConstraints?: PromptConstraints;
|
|
2044
|
+
verdictValid?: boolean;
|
|
2045
|
+
verdictDialogue?: string;
|
|
2046
|
+
verdictActionType?: string;
|
|
2047
|
+
}
|
|
2048
|
+
declare const directiveSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
2049
|
+
activeDirectiveId: string;
|
|
2050
|
+
}, {
|
|
2051
|
+
directiveRunStarted: (state: {
|
|
2052
|
+
ids: string[];
|
|
2053
|
+
entities: {
|
|
2054
|
+
[x: string]: {
|
|
2055
|
+
id: string;
|
|
2056
|
+
npcId: string;
|
|
2057
|
+
observation: string;
|
|
2058
|
+
status: "running" | "completed" | "failed";
|
|
2059
|
+
startedAt: number;
|
|
2060
|
+
completedAt?: number | undefined;
|
|
2061
|
+
error?: string | undefined;
|
|
2062
|
+
memoryRecall?: {
|
|
2063
|
+
query: string;
|
|
2064
|
+
limit: number;
|
|
2065
|
+
threshold: number;
|
|
2066
|
+
} | undefined;
|
|
2067
|
+
contextPrompt?: string | undefined;
|
|
2068
|
+
contextConstraints?: {
|
|
2069
|
+
temperature?: number | undefined;
|
|
2070
|
+
maxTokens?: number | undefined;
|
|
2071
|
+
stop?: string[] | undefined;
|
|
2072
|
+
jsonSchema?: object | undefined;
|
|
2073
|
+
} | undefined;
|
|
2074
|
+
verdictValid?: boolean | undefined;
|
|
2075
|
+
verdictDialogue?: string | undefined;
|
|
2076
|
+
verdictActionType?: string | undefined;
|
|
2077
|
+
};
|
|
2078
|
+
};
|
|
2079
|
+
activeDirectiveId: string;
|
|
2080
|
+
}, action: PayloadAction<{
|
|
2081
|
+
id: string;
|
|
2082
|
+
npcId: string;
|
|
2083
|
+
observation: string;
|
|
2084
|
+
}>) => void;
|
|
2085
|
+
directiveReceived: (state: {
|
|
2086
|
+
ids: string[];
|
|
2087
|
+
entities: {
|
|
2088
|
+
[x: string]: {
|
|
2089
|
+
id: string;
|
|
2090
|
+
npcId: string;
|
|
2091
|
+
observation: string;
|
|
2092
|
+
status: "running" | "completed" | "failed";
|
|
2093
|
+
startedAt: number;
|
|
2094
|
+
completedAt?: number | undefined;
|
|
2095
|
+
error?: string | undefined;
|
|
2096
|
+
memoryRecall?: {
|
|
2097
|
+
query: string;
|
|
2098
|
+
limit: number;
|
|
2099
|
+
threshold: number;
|
|
2100
|
+
} | undefined;
|
|
2101
|
+
contextPrompt?: string | undefined;
|
|
2102
|
+
contextConstraints?: {
|
|
2103
|
+
temperature?: number | undefined;
|
|
2104
|
+
maxTokens?: number | undefined;
|
|
2105
|
+
stop?: string[] | undefined;
|
|
2106
|
+
jsonSchema?: object | undefined;
|
|
2107
|
+
} | undefined;
|
|
2108
|
+
verdictValid?: boolean | undefined;
|
|
2109
|
+
verdictDialogue?: string | undefined;
|
|
2110
|
+
verdictActionType?: string | undefined;
|
|
2111
|
+
};
|
|
2112
|
+
};
|
|
2113
|
+
activeDirectiveId: string;
|
|
2114
|
+
}, action: PayloadAction<{
|
|
2115
|
+
id: string;
|
|
2116
|
+
response: DirectiveResponse;
|
|
2117
|
+
}>) => void;
|
|
2118
|
+
contextComposed: (state: {
|
|
2119
|
+
ids: string[];
|
|
2120
|
+
entities: {
|
|
2121
|
+
[x: string]: {
|
|
2122
|
+
id: string;
|
|
2123
|
+
npcId: string;
|
|
2124
|
+
observation: string;
|
|
2125
|
+
status: "running" | "completed" | "failed";
|
|
2126
|
+
startedAt: number;
|
|
2127
|
+
completedAt?: number | undefined;
|
|
2128
|
+
error?: string | undefined;
|
|
2129
|
+
memoryRecall?: {
|
|
2130
|
+
query: string;
|
|
2131
|
+
limit: number;
|
|
2132
|
+
threshold: number;
|
|
2133
|
+
} | undefined;
|
|
2134
|
+
contextPrompt?: string | undefined;
|
|
2135
|
+
contextConstraints?: {
|
|
2136
|
+
temperature?: number | undefined;
|
|
2137
|
+
maxTokens?: number | undefined;
|
|
2138
|
+
stop?: string[] | undefined;
|
|
2139
|
+
jsonSchema?: object | undefined;
|
|
2140
|
+
} | undefined;
|
|
2141
|
+
verdictValid?: boolean | undefined;
|
|
2142
|
+
verdictDialogue?: string | undefined;
|
|
2143
|
+
verdictActionType?: string | undefined;
|
|
2144
|
+
};
|
|
2145
|
+
};
|
|
2146
|
+
activeDirectiveId: string;
|
|
2147
|
+
}, action: PayloadAction<{
|
|
2148
|
+
id: string;
|
|
2149
|
+
prompt: string;
|
|
2150
|
+
constraints: PromptConstraints;
|
|
2151
|
+
}>) => void;
|
|
2152
|
+
verdictValidated: (state: {
|
|
2153
|
+
ids: string[];
|
|
2154
|
+
entities: {
|
|
2155
|
+
[x: string]: {
|
|
2156
|
+
id: string;
|
|
2157
|
+
npcId: string;
|
|
2158
|
+
observation: string;
|
|
2159
|
+
status: "running" | "completed" | "failed";
|
|
2160
|
+
startedAt: number;
|
|
2161
|
+
completedAt?: number | undefined;
|
|
2162
|
+
error?: string | undefined;
|
|
2163
|
+
memoryRecall?: {
|
|
2164
|
+
query: string;
|
|
2165
|
+
limit: number;
|
|
2166
|
+
threshold: number;
|
|
2167
|
+
} | undefined;
|
|
2168
|
+
contextPrompt?: string | undefined;
|
|
2169
|
+
contextConstraints?: {
|
|
2170
|
+
temperature?: number | undefined;
|
|
2171
|
+
maxTokens?: number | undefined;
|
|
2172
|
+
stop?: string[] | undefined;
|
|
2173
|
+
jsonSchema?: object | undefined;
|
|
2174
|
+
} | undefined;
|
|
2175
|
+
verdictValid?: boolean | undefined;
|
|
2176
|
+
verdictDialogue?: string | undefined;
|
|
2177
|
+
verdictActionType?: string | undefined;
|
|
2178
|
+
};
|
|
2179
|
+
};
|
|
2180
|
+
activeDirectiveId: string;
|
|
2181
|
+
}, action: PayloadAction<{
|
|
2182
|
+
id: string;
|
|
2183
|
+
verdict: VerdictResponse;
|
|
2184
|
+
}>) => void;
|
|
2185
|
+
directiveRunFailed: (state: {
|
|
2186
|
+
ids: string[];
|
|
2187
|
+
entities: {
|
|
2188
|
+
[x: string]: {
|
|
2189
|
+
id: string;
|
|
2190
|
+
npcId: string;
|
|
2191
|
+
observation: string;
|
|
2192
|
+
status: "running" | "completed" | "failed";
|
|
2193
|
+
startedAt: number;
|
|
2194
|
+
completedAt?: number | undefined;
|
|
2195
|
+
error?: string | undefined;
|
|
2196
|
+
memoryRecall?: {
|
|
2197
|
+
query: string;
|
|
2198
|
+
limit: number;
|
|
2199
|
+
threshold: number;
|
|
2200
|
+
} | undefined;
|
|
2201
|
+
contextPrompt?: string | undefined;
|
|
2202
|
+
contextConstraints?: {
|
|
2203
|
+
temperature?: number | undefined;
|
|
2204
|
+
maxTokens?: number | undefined;
|
|
2205
|
+
stop?: string[] | undefined;
|
|
2206
|
+
jsonSchema?: object | undefined;
|
|
2207
|
+
} | undefined;
|
|
2208
|
+
verdictValid?: boolean | undefined;
|
|
2209
|
+
verdictDialogue?: string | undefined;
|
|
2210
|
+
verdictActionType?: string | undefined;
|
|
2211
|
+
};
|
|
2212
|
+
};
|
|
2213
|
+
activeDirectiveId: string;
|
|
2214
|
+
}, action: PayloadAction<{
|
|
2215
|
+
id: string;
|
|
2216
|
+
error: string;
|
|
2217
|
+
}>) => void;
|
|
2218
|
+
clearDirectivesForNpc: (state: {
|
|
2219
|
+
ids: string[];
|
|
2220
|
+
entities: {
|
|
2221
|
+
[x: string]: {
|
|
2222
|
+
id: string;
|
|
2223
|
+
npcId: string;
|
|
2224
|
+
observation: string;
|
|
2225
|
+
status: "running" | "completed" | "failed";
|
|
2226
|
+
startedAt: number;
|
|
2227
|
+
completedAt?: number | undefined;
|
|
2228
|
+
error?: string | undefined;
|
|
2229
|
+
memoryRecall?: {
|
|
2230
|
+
query: string;
|
|
2231
|
+
limit: number;
|
|
2232
|
+
threshold: number;
|
|
2233
|
+
} | undefined;
|
|
2234
|
+
contextPrompt?: string | undefined;
|
|
2235
|
+
contextConstraints?: {
|
|
2236
|
+
temperature?: number | undefined;
|
|
2237
|
+
maxTokens?: number | undefined;
|
|
2238
|
+
stop?: string[] | undefined;
|
|
2239
|
+
jsonSchema?: object | undefined;
|
|
2240
|
+
} | undefined;
|
|
2241
|
+
verdictValid?: boolean | undefined;
|
|
2242
|
+
verdictDialogue?: string | undefined;
|
|
2243
|
+
verdictActionType?: string | undefined;
|
|
2244
|
+
};
|
|
2245
|
+
};
|
|
2246
|
+
activeDirectiveId: string;
|
|
2247
|
+
}, action: PayloadAction<string>) => void;
|
|
2248
|
+
}, "directive", "directive", _reduxjs_toolkit.SliceSelectors<_reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
2249
|
+
activeDirectiveId: string;
|
|
2250
|
+
}>>;
|
|
2251
|
+
declare const directiveRunStarted: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
2252
|
+
id: string;
|
|
2253
|
+
npcId: string;
|
|
2254
|
+
observation: string;
|
|
2255
|
+
}, "directive/directiveRunStarted">;
|
|
2256
|
+
declare const directiveReceived: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
2257
|
+
id: string;
|
|
2258
|
+
response: DirectiveResponse;
|
|
2259
|
+
}, "directive/directiveReceived">;
|
|
2260
|
+
declare const contextComposed: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
2261
|
+
id: string;
|
|
2262
|
+
prompt: string;
|
|
2263
|
+
constraints: PromptConstraints;
|
|
2264
|
+
}, "directive/contextComposed">;
|
|
2265
|
+
declare const verdictValidated: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
2266
|
+
id: string;
|
|
2267
|
+
verdict: VerdictResponse;
|
|
2268
|
+
}, "directive/verdictValidated">;
|
|
2269
|
+
declare const directiveRunFailed: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
2270
|
+
id: string;
|
|
2271
|
+
error: string;
|
|
2272
|
+
}, "directive/directiveRunFailed">;
|
|
2273
|
+
declare const clearDirectivesForNpc: _reduxjs_toolkit.ActionCreatorWithPayload<string, "directive/clearDirectivesForNpc">;
|
|
2274
|
+
declare const selectDirectiveById: (state: {
|
|
2275
|
+
[x: string]: /*elided*/ any;
|
|
2276
|
+
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
2277
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2278
|
+
apiUrl: string;
|
|
2279
|
+
apiKey?: string;
|
|
2280
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexModelInfo[], "forbocApi", unknown>;
|
|
2281
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2282
|
+
request: {
|
|
2283
|
+
requestedModel: string;
|
|
2284
|
+
authKey?: string;
|
|
2285
|
+
};
|
|
2286
|
+
apiUrl: string;
|
|
2287
|
+
apiKey?: string;
|
|
2288
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
2289
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2290
|
+
npcId: string;
|
|
2291
|
+
request: DirectiveRequest;
|
|
2292
|
+
apiUrl: string;
|
|
2293
|
+
apiKey?: string;
|
|
2294
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
2295
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2296
|
+
npcId: string;
|
|
2297
|
+
request: ContextRequest;
|
|
2298
|
+
apiUrl: string;
|
|
2299
|
+
apiKey?: string;
|
|
2300
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ContextResponse, "forbocApi", unknown>;
|
|
2301
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2302
|
+
npcId: string;
|
|
2303
|
+
request: VerdictRequest;
|
|
2304
|
+
apiUrl: string;
|
|
2305
|
+
apiKey?: string;
|
|
2306
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
2307
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2308
|
+
npcId: string;
|
|
2309
|
+
request: {
|
|
2310
|
+
observation: string;
|
|
2311
|
+
importance?: number;
|
|
2312
|
+
};
|
|
2313
|
+
apiUrl: string;
|
|
2314
|
+
apiKey?: string;
|
|
2315
|
+
}, _reduxjs_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>;
|
|
2316
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2317
|
+
npcId: string;
|
|
2318
|
+
apiUrl: string;
|
|
2319
|
+
apiKey?: string;
|
|
2320
|
+
}, _reduxjs_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>;
|
|
2321
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2322
|
+
npcId: string;
|
|
2323
|
+
request: {
|
|
2324
|
+
query: string;
|
|
2325
|
+
similarity?: number;
|
|
2326
|
+
};
|
|
2327
|
+
apiUrl: string;
|
|
2328
|
+
apiKey?: string;
|
|
2329
|
+
}, _reduxjs_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>;
|
|
2330
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2331
|
+
npcId: string;
|
|
2332
|
+
apiUrl: string;
|
|
2333
|
+
apiKey?: string;
|
|
2334
|
+
}, _reduxjs_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>;
|
|
2335
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2336
|
+
request: {
|
|
2337
|
+
testSuite: string;
|
|
2338
|
+
duration: number;
|
|
2339
|
+
};
|
|
2340
|
+
apiUrl: string;
|
|
2341
|
+
apiKey?: string;
|
|
2342
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
2343
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2344
|
+
sessionId: string;
|
|
2345
|
+
apiUrl: string;
|
|
2346
|
+
apiKey?: string;
|
|
2347
|
+
}, _reduxjs_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>;
|
|
2348
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2349
|
+
sessionId: string;
|
|
2350
|
+
apiUrl: string;
|
|
2351
|
+
apiKey?: string;
|
|
2352
|
+
}, _reduxjs_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>;
|
|
2353
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2354
|
+
sessionId: string;
|
|
2355
|
+
apiUrl: string;
|
|
2356
|
+
apiKey?: string;
|
|
2357
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2358
|
+
stopped: boolean;
|
|
2359
|
+
stopStatus?: string;
|
|
2360
|
+
stopSessionId?: string;
|
|
2361
|
+
}, "forbocApi", unknown>;
|
|
2362
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2363
|
+
limit: number;
|
|
2364
|
+
apiUrl: string;
|
|
2365
|
+
apiKey?: string;
|
|
2366
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2367
|
+
sessions: any[];
|
|
2368
|
+
}, "forbocApi", unknown>;
|
|
2369
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2370
|
+
npcId: string;
|
|
2371
|
+
request: any;
|
|
2372
|
+
apiUrl: string;
|
|
2373
|
+
apiKey?: string;
|
|
2374
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulExportResponse, "forbocApi", unknown>;
|
|
2375
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2376
|
+
txId: string;
|
|
2377
|
+
apiUrl: string;
|
|
2378
|
+
apiKey?: string;
|
|
2379
|
+
}, _reduxjs_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>;
|
|
2380
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2381
|
+
limit: number;
|
|
2382
|
+
apiUrl: string;
|
|
2383
|
+
apiKey?: string;
|
|
2384
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
2385
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2386
|
+
request: {
|
|
2387
|
+
action: NPCAction;
|
|
2388
|
+
context: ValidationContext;
|
|
2389
|
+
};
|
|
2390
|
+
npcId?: string;
|
|
2391
|
+
apiUrl: string;
|
|
2392
|
+
apiKey?: string;
|
|
2393
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
2394
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2395
|
+
apiUrl: string;
|
|
2396
|
+
apiKey?: string;
|
|
2397
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
2398
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2399
|
+
presetName: string;
|
|
2400
|
+
apiUrl: string;
|
|
2401
|
+
apiKey?: string;
|
|
2402
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
2403
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2404
|
+
apiUrl: string;
|
|
2405
|
+
apiKey?: string;
|
|
2406
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
2407
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2408
|
+
apiUrl: string;
|
|
2409
|
+
apiKey?: string;
|
|
2410
|
+
}, _reduxjs_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>;
|
|
2411
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2412
|
+
request: DirectiveRuleSet;
|
|
2413
|
+
apiUrl: string;
|
|
2414
|
+
apiKey?: string;
|
|
2415
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
2416
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2417
|
+
rulesetId: string;
|
|
2418
|
+
apiUrl: string;
|
|
2419
|
+
apiKey?: string;
|
|
2420
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2421
|
+
deleted: boolean;
|
|
2422
|
+
}, "forbocApi", unknown>;
|
|
2423
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2424
|
+
txId: string;
|
|
2425
|
+
apiUrl: string;
|
|
2426
|
+
apiKey?: string;
|
|
2427
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
2428
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2429
|
+
request: {
|
|
2430
|
+
txIdRef: string;
|
|
2431
|
+
};
|
|
2432
|
+
apiUrl: string;
|
|
2433
|
+
apiKey?: string;
|
|
2434
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
2435
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2436
|
+
cortexId: string;
|
|
2437
|
+
prompt: string;
|
|
2438
|
+
options?: any;
|
|
2439
|
+
apiUrl: string;
|
|
2440
|
+
apiKey?: string;
|
|
2441
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2442
|
+
text: string;
|
|
2443
|
+
}, "forbocApi", unknown>;
|
|
2444
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2445
|
+
apiUrl: string;
|
|
2446
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
2447
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
2448
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
2449
|
+
activeNpcId: string;
|
|
2450
|
+
};
|
|
2451
|
+
cortex: CortexInternalState;
|
|
2452
|
+
memory: _reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
2453
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2454
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2455
|
+
error: string | null;
|
|
2456
|
+
lastRecalledIds: string[];
|
|
2457
|
+
};
|
|
2458
|
+
directive: _reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
2459
|
+
activeDirectiveId: string;
|
|
2460
|
+
};
|
|
2461
|
+
ghost: GhostState;
|
|
2462
|
+
soul: SoulState;
|
|
2463
|
+
bridge: BridgeState;
|
|
2464
|
+
}, id: string) => {
|
|
2465
|
+
id: string;
|
|
2466
|
+
npcId: string;
|
|
2467
|
+
observation: string;
|
|
2468
|
+
status: "running" | "completed" | "failed";
|
|
2469
|
+
startedAt: number;
|
|
2470
|
+
completedAt?: number | undefined;
|
|
2471
|
+
error?: string | undefined;
|
|
2472
|
+
memoryRecall?: DirectiveResponse["memoryRecall"] | undefined;
|
|
2473
|
+
contextPrompt?: string | undefined;
|
|
2474
|
+
contextConstraints?: PromptConstraints | undefined;
|
|
2475
|
+
verdictValid?: boolean | undefined;
|
|
2476
|
+
verdictDialogue?: string | undefined;
|
|
2477
|
+
verdictActionType?: string | undefined;
|
|
2478
|
+
};
|
|
2479
|
+
declare const selectAllDirectives: (state: {
|
|
2480
|
+
[x: string]: /*elided*/ any;
|
|
2481
|
+
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
2482
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2483
|
+
apiUrl: string;
|
|
2484
|
+
apiKey?: string;
|
|
2485
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexModelInfo[], "forbocApi", unknown>;
|
|
2486
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2487
|
+
request: {
|
|
2488
|
+
requestedModel: string;
|
|
2489
|
+
authKey?: string;
|
|
2490
|
+
};
|
|
2491
|
+
apiUrl: string;
|
|
2492
|
+
apiKey?: string;
|
|
2493
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
2494
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2495
|
+
npcId: string;
|
|
2496
|
+
request: DirectiveRequest;
|
|
2497
|
+
apiUrl: string;
|
|
2498
|
+
apiKey?: string;
|
|
2499
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
2500
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2501
|
+
npcId: string;
|
|
2502
|
+
request: ContextRequest;
|
|
2503
|
+
apiUrl: string;
|
|
2504
|
+
apiKey?: string;
|
|
2505
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ContextResponse, "forbocApi", unknown>;
|
|
2506
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2507
|
+
npcId: string;
|
|
2508
|
+
request: VerdictRequest;
|
|
2509
|
+
apiUrl: string;
|
|
2510
|
+
apiKey?: string;
|
|
2511
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
2512
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2513
|
+
npcId: string;
|
|
2514
|
+
request: {
|
|
2515
|
+
observation: string;
|
|
2516
|
+
importance?: number;
|
|
2517
|
+
};
|
|
2518
|
+
apiUrl: string;
|
|
2519
|
+
apiKey?: string;
|
|
2520
|
+
}, _reduxjs_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>;
|
|
2521
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2522
|
+
npcId: string;
|
|
2523
|
+
apiUrl: string;
|
|
2524
|
+
apiKey?: string;
|
|
2525
|
+
}, _reduxjs_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>;
|
|
2526
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2527
|
+
npcId: string;
|
|
2528
|
+
request: {
|
|
2529
|
+
query: string;
|
|
2530
|
+
similarity?: number;
|
|
2531
|
+
};
|
|
2532
|
+
apiUrl: string;
|
|
2533
|
+
apiKey?: string;
|
|
2534
|
+
}, _reduxjs_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>;
|
|
2535
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2536
|
+
npcId: string;
|
|
2537
|
+
apiUrl: string;
|
|
2538
|
+
apiKey?: string;
|
|
2539
|
+
}, _reduxjs_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>;
|
|
2540
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2541
|
+
request: {
|
|
2542
|
+
testSuite: string;
|
|
2543
|
+
duration: number;
|
|
2544
|
+
};
|
|
2545
|
+
apiUrl: string;
|
|
2546
|
+
apiKey?: string;
|
|
2547
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
2548
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2549
|
+
sessionId: string;
|
|
2550
|
+
apiUrl: string;
|
|
2551
|
+
apiKey?: string;
|
|
2552
|
+
}, _reduxjs_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>;
|
|
2553
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2554
|
+
sessionId: string;
|
|
2555
|
+
apiUrl: string;
|
|
2556
|
+
apiKey?: string;
|
|
2557
|
+
}, _reduxjs_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>;
|
|
2558
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2559
|
+
sessionId: string;
|
|
2560
|
+
apiUrl: string;
|
|
2561
|
+
apiKey?: string;
|
|
2562
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2563
|
+
stopped: boolean;
|
|
2564
|
+
stopStatus?: string;
|
|
2565
|
+
stopSessionId?: string;
|
|
2566
|
+
}, "forbocApi", unknown>;
|
|
2567
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2568
|
+
limit: number;
|
|
2569
|
+
apiUrl: string;
|
|
2570
|
+
apiKey?: string;
|
|
2571
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2572
|
+
sessions: any[];
|
|
2573
|
+
}, "forbocApi", unknown>;
|
|
2574
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2575
|
+
npcId: string;
|
|
2576
|
+
request: any;
|
|
2577
|
+
apiUrl: string;
|
|
2578
|
+
apiKey?: string;
|
|
2579
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulExportResponse, "forbocApi", unknown>;
|
|
2580
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2581
|
+
txId: string;
|
|
2582
|
+
apiUrl: string;
|
|
2583
|
+
apiKey?: string;
|
|
2584
|
+
}, _reduxjs_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>;
|
|
2585
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2586
|
+
limit: number;
|
|
2587
|
+
apiUrl: string;
|
|
2588
|
+
apiKey?: string;
|
|
2589
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
1542
2590
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1543
2591
|
request: {
|
|
1544
2592
|
action: NPCAction;
|
|
@@ -1546,27 +2594,62 @@ declare const selectTotalNPCs: (state: {
|
|
|
1546
2594
|
};
|
|
1547
2595
|
npcId?: string;
|
|
1548
2596
|
apiUrl: string;
|
|
1549
|
-
|
|
2597
|
+
apiKey?: string;
|
|
2598
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
1550
2599
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1551
2600
|
apiUrl: string;
|
|
1552
|
-
|
|
2601
|
+
apiKey?: string;
|
|
2602
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
1553
2603
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1554
2604
|
presetName: string;
|
|
1555
2605
|
apiUrl: string;
|
|
1556
|
-
|
|
2606
|
+
apiKey?: string;
|
|
2607
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
2608
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2609
|
+
apiUrl: string;
|
|
2610
|
+
apiKey?: string;
|
|
2611
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
2612
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2613
|
+
apiUrl: string;
|
|
2614
|
+
apiKey?: string;
|
|
2615
|
+
}, _reduxjs_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>;
|
|
2616
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2617
|
+
request: DirectiveRuleSet;
|
|
2618
|
+
apiUrl: string;
|
|
2619
|
+
apiKey?: string;
|
|
2620
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
2621
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2622
|
+
rulesetId: string;
|
|
2623
|
+
apiUrl: string;
|
|
2624
|
+
apiKey?: string;
|
|
2625
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2626
|
+
deleted: boolean;
|
|
2627
|
+
}, "forbocApi", unknown>;
|
|
2628
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2629
|
+
txId: string;
|
|
2630
|
+
apiUrl: string;
|
|
2631
|
+
apiKey?: string;
|
|
2632
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
2633
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2634
|
+
request: {
|
|
2635
|
+
txIdRef: string;
|
|
2636
|
+
};
|
|
2637
|
+
apiUrl: string;
|
|
2638
|
+
apiKey?: string;
|
|
2639
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
1557
2640
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1558
2641
|
cortexId: string;
|
|
1559
2642
|
prompt: string;
|
|
1560
2643
|
options?: any;
|
|
1561
2644
|
apiUrl: string;
|
|
1562
2645
|
apiKey?: string;
|
|
1563
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
2646
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1564
2647
|
text: string;
|
|
1565
2648
|
}, "forbocApi", unknown>;
|
|
1566
2649
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1567
2650
|
apiUrl: string;
|
|
1568
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ApiStatusResponse, "forbocApi", unknown>;
|
|
1569
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
2651
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
2652
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
1570
2653
|
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1571
2654
|
activeNpcId: string;
|
|
1572
2655
|
};
|
|
@@ -1577,12 +2660,20 @@ declare const selectTotalNPCs: (state: {
|
|
|
1577
2660
|
error: string | null;
|
|
1578
2661
|
lastRecalledIds: string[];
|
|
1579
2662
|
};
|
|
2663
|
+
directive: _reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
2664
|
+
activeDirectiveId: string;
|
|
2665
|
+
};
|
|
1580
2666
|
ghost: GhostState;
|
|
1581
2667
|
soul: SoulState;
|
|
1582
2668
|
bridge: BridgeState;
|
|
1583
|
-
}) =>
|
|
1584
|
-
|
|
1585
|
-
|
|
2669
|
+
}) => DirectiveRun[];
|
|
2670
|
+
/**
|
|
2671
|
+
* User Story: As directive orchestration state, I need a selector for the
|
|
2672
|
+
* currently active directive run so downstream components can bind to it.
|
|
2673
|
+
* The returned id is the canonical pointer for in-flight run views.
|
|
2674
|
+
*/
|
|
2675
|
+
declare const selectActiveDirectiveId: (state: SDKState) => string;
|
|
2676
|
+
declare const selectActiveDirective: (state: SDKState) => DirectiveRun;
|
|
1586
2677
|
|
|
1587
2678
|
/**
|
|
1588
2679
|
* Creates the SDK internal Redux store.
|
|
@@ -1591,76 +2682,114 @@ declare const selectActiveNPC: (state: SDKState) => NPCInternalState;
|
|
|
1591
2682
|
declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) => _reduxjs_toolkit.EnhancedStore<{
|
|
1592
2683
|
[x: string]: /*elided*/ any;
|
|
1593
2684
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
2685
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2686
|
+
apiUrl: string;
|
|
2687
|
+
apiKey?: string;
|
|
2688
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexModelInfo[], "forbocApi", unknown>;
|
|
2689
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2690
|
+
request: {
|
|
2691
|
+
requestedModel: string;
|
|
2692
|
+
authKey?: string;
|
|
2693
|
+
};
|
|
2694
|
+
apiUrl: string;
|
|
2695
|
+
apiKey?: string;
|
|
2696
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
1594
2697
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1595
2698
|
npcId: string;
|
|
1596
2699
|
request: DirectiveRequest;
|
|
1597
2700
|
apiUrl: string;
|
|
1598
2701
|
apiKey?: string;
|
|
1599
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveResponse, "forbocApi", unknown>;
|
|
2702
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
1600
2703
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1601
2704
|
npcId: string;
|
|
1602
2705
|
request: ContextRequest;
|
|
1603
2706
|
apiUrl: string;
|
|
1604
2707
|
apiKey?: string;
|
|
1605
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ContextResponse, "forbocApi", unknown>;
|
|
2708
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ContextResponse, "forbocApi", unknown>;
|
|
1606
2709
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1607
2710
|
npcId: string;
|
|
1608
2711
|
request: VerdictRequest;
|
|
1609
2712
|
apiUrl: string;
|
|
1610
2713
|
apiKey?: string;
|
|
1611
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", VerdictResponse, "forbocApi", unknown>;
|
|
1612
|
-
|
|
2714
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
2715
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1613
2716
|
npcId: string;
|
|
1614
|
-
request:
|
|
2717
|
+
request: {
|
|
2718
|
+
observation: string;
|
|
2719
|
+
importance?: number;
|
|
2720
|
+
};
|
|
2721
|
+
apiUrl: string;
|
|
2722
|
+
apiKey?: string;
|
|
2723
|
+
}, _reduxjs_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>;
|
|
2724
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2725
|
+
npcId: string;
|
|
2726
|
+
apiUrl: string;
|
|
2727
|
+
apiKey?: string;
|
|
2728
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", any[], "forbocApi", unknown>;
|
|
2729
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2730
|
+
npcId: string;
|
|
2731
|
+
request: {
|
|
2732
|
+
query: string;
|
|
2733
|
+
similarity?: number;
|
|
2734
|
+
};
|
|
1615
2735
|
apiUrl: string;
|
|
1616
2736
|
apiKey?: string;
|
|
1617
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
1618
|
-
|
|
2737
|
+
}, _reduxjs_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>;
|
|
2738
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1619
2739
|
npcId: string;
|
|
1620
|
-
request: DialogueRequest;
|
|
1621
2740
|
apiUrl: string;
|
|
1622
2741
|
apiKey?: string;
|
|
1623
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
2742
|
+
}, _reduxjs_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>;
|
|
1624
2743
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1625
2744
|
request: {
|
|
1626
2745
|
testSuite: string;
|
|
1627
2746
|
duration: number;
|
|
1628
2747
|
};
|
|
1629
2748
|
apiUrl: string;
|
|
1630
|
-
|
|
2749
|
+
apiKey?: string;
|
|
2750
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
1631
2751
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1632
2752
|
sessionId: string;
|
|
1633
2753
|
apiUrl: string;
|
|
1634
|
-
|
|
2754
|
+
apiKey?: string;
|
|
2755
|
+
}, _reduxjs_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>;
|
|
1635
2756
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1636
2757
|
sessionId: string;
|
|
1637
2758
|
apiUrl: string;
|
|
1638
|
-
|
|
2759
|
+
apiKey?: string;
|
|
2760
|
+
}, _reduxjs_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>;
|
|
1639
2761
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1640
2762
|
sessionId: string;
|
|
1641
2763
|
apiUrl: string;
|
|
1642
|
-
|
|
2764
|
+
apiKey?: string;
|
|
2765
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1643
2766
|
stopped: boolean;
|
|
2767
|
+
stopStatus?: string;
|
|
2768
|
+
stopSessionId?: string;
|
|
1644
2769
|
}, "forbocApi", unknown>;
|
|
1645
2770
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1646
2771
|
limit: number;
|
|
1647
2772
|
apiUrl: string;
|
|
1648
|
-
|
|
2773
|
+
apiKey?: string;
|
|
2774
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1649
2775
|
sessions: any[];
|
|
1650
2776
|
}, "forbocApi", unknown>;
|
|
1651
2777
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1652
2778
|
npcId: string;
|
|
1653
2779
|
request: any;
|
|
1654
2780
|
apiUrl: string;
|
|
1655
|
-
|
|
2781
|
+
apiKey?: string;
|
|
2782
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulExportResponse, "forbocApi", unknown>;
|
|
1656
2783
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1657
2784
|
txId: string;
|
|
1658
2785
|
apiUrl: string;
|
|
1659
|
-
|
|
2786
|
+
apiKey?: string;
|
|
2787
|
+
}, _reduxjs_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>;
|
|
1660
2788
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1661
2789
|
limit: number;
|
|
1662
2790
|
apiUrl: string;
|
|
1663
|
-
|
|
2791
|
+
apiKey?: string;
|
|
2792
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
1664
2793
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1665
2794
|
request: {
|
|
1666
2795
|
action: NPCAction;
|
|
@@ -1668,27 +2797,62 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
|
|
|
1668
2797
|
};
|
|
1669
2798
|
npcId?: string;
|
|
1670
2799
|
apiUrl: string;
|
|
1671
|
-
|
|
2800
|
+
apiKey?: string;
|
|
2801
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
1672
2802
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1673
2803
|
apiUrl: string;
|
|
1674
|
-
|
|
2804
|
+
apiKey?: string;
|
|
2805
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
1675
2806
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1676
2807
|
presetName: string;
|
|
1677
2808
|
apiUrl: string;
|
|
1678
|
-
|
|
2809
|
+
apiKey?: string;
|
|
2810
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
2811
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2812
|
+
apiUrl: string;
|
|
2813
|
+
apiKey?: string;
|
|
2814
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
2815
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2816
|
+
apiUrl: string;
|
|
2817
|
+
apiKey?: string;
|
|
2818
|
+
}, _reduxjs_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>;
|
|
2819
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2820
|
+
request: DirectiveRuleSet;
|
|
2821
|
+
apiUrl: string;
|
|
2822
|
+
apiKey?: string;
|
|
2823
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
2824
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2825
|
+
rulesetId: string;
|
|
2826
|
+
apiUrl: string;
|
|
2827
|
+
apiKey?: string;
|
|
2828
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2829
|
+
deleted: boolean;
|
|
2830
|
+
}, "forbocApi", unknown>;
|
|
2831
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2832
|
+
txId: string;
|
|
2833
|
+
apiUrl: string;
|
|
2834
|
+
apiKey?: string;
|
|
2835
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
2836
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2837
|
+
request: {
|
|
2838
|
+
txIdRef: string;
|
|
2839
|
+
};
|
|
2840
|
+
apiUrl: string;
|
|
2841
|
+
apiKey?: string;
|
|
2842
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
1679
2843
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1680
2844
|
cortexId: string;
|
|
1681
2845
|
prompt: string;
|
|
1682
2846
|
options?: any;
|
|
1683
2847
|
apiUrl: string;
|
|
1684
2848
|
apiKey?: string;
|
|
1685
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
2849
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1686
2850
|
text: string;
|
|
1687
2851
|
}, "forbocApi", unknown>;
|
|
1688
2852
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1689
2853
|
apiUrl: string;
|
|
1690
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ApiStatusResponse, "forbocApi", unknown>;
|
|
1691
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
2854
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
2855
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
1692
2856
|
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1693
2857
|
activeNpcId: string;
|
|
1694
2858
|
};
|
|
@@ -1699,6 +2863,9 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
|
|
|
1699
2863
|
error: string | null;
|
|
1700
2864
|
lastRecalledIds: string[];
|
|
1701
2865
|
};
|
|
2866
|
+
directive: _reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
2867
|
+
activeDirectiveId: string;
|
|
2868
|
+
};
|
|
1702
2869
|
ghost: GhostState;
|
|
1703
2870
|
soul: SoulState;
|
|
1704
2871
|
bridge: BridgeState;
|
|
@@ -1706,76 +2873,114 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
|
|
|
1706
2873
|
dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
|
|
1707
2874
|
[x: string]: /*elided*/ any;
|
|
1708
2875
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
2876
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2877
|
+
apiUrl: string;
|
|
2878
|
+
apiKey?: string;
|
|
2879
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexModelInfo[], "forbocApi", unknown>;
|
|
2880
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2881
|
+
request: {
|
|
2882
|
+
requestedModel: string;
|
|
2883
|
+
authKey?: string;
|
|
2884
|
+
};
|
|
2885
|
+
apiUrl: string;
|
|
2886
|
+
apiKey?: string;
|
|
2887
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
1709
2888
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1710
2889
|
npcId: string;
|
|
1711
2890
|
request: DirectiveRequest;
|
|
1712
2891
|
apiUrl: string;
|
|
1713
2892
|
apiKey?: string;
|
|
1714
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveResponse, "forbocApi", unknown>;
|
|
2893
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
1715
2894
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1716
2895
|
npcId: string;
|
|
1717
2896
|
request: ContextRequest;
|
|
1718
2897
|
apiUrl: string;
|
|
1719
2898
|
apiKey?: string;
|
|
1720
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ContextResponse, "forbocApi", unknown>;
|
|
2899
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ContextResponse, "forbocApi", unknown>;
|
|
1721
2900
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1722
2901
|
npcId: string;
|
|
1723
2902
|
request: VerdictRequest;
|
|
1724
2903
|
apiUrl: string;
|
|
1725
2904
|
apiKey?: string;
|
|
1726
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", VerdictResponse, "forbocApi", unknown>;
|
|
1727
|
-
|
|
2905
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
2906
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2907
|
+
npcId: string;
|
|
2908
|
+
request: {
|
|
2909
|
+
observation: string;
|
|
2910
|
+
importance?: number;
|
|
2911
|
+
};
|
|
2912
|
+
apiUrl: string;
|
|
2913
|
+
apiKey?: string;
|
|
2914
|
+
}, _reduxjs_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>;
|
|
2915
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2916
|
+
npcId: string;
|
|
2917
|
+
apiUrl: string;
|
|
2918
|
+
apiKey?: string;
|
|
2919
|
+
}, _reduxjs_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>;
|
|
2920
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1728
2921
|
npcId: string;
|
|
1729
|
-
request:
|
|
2922
|
+
request: {
|
|
2923
|
+
query: string;
|
|
2924
|
+
similarity?: number;
|
|
2925
|
+
};
|
|
1730
2926
|
apiUrl: string;
|
|
1731
2927
|
apiKey?: string;
|
|
1732
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
1733
|
-
|
|
2928
|
+
}, _reduxjs_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>;
|
|
2929
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1734
2930
|
npcId: string;
|
|
1735
|
-
request: DialogueRequest;
|
|
1736
2931
|
apiUrl: string;
|
|
1737
2932
|
apiKey?: string;
|
|
1738
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
2933
|
+
}, _reduxjs_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>;
|
|
1739
2934
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1740
2935
|
request: {
|
|
1741
2936
|
testSuite: string;
|
|
1742
2937
|
duration: number;
|
|
1743
2938
|
};
|
|
1744
2939
|
apiUrl: string;
|
|
1745
|
-
|
|
2940
|
+
apiKey?: string;
|
|
2941
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
1746
2942
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1747
2943
|
sessionId: string;
|
|
1748
2944
|
apiUrl: string;
|
|
1749
|
-
|
|
2945
|
+
apiKey?: string;
|
|
2946
|
+
}, _reduxjs_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>;
|
|
1750
2947
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1751
2948
|
sessionId: string;
|
|
1752
2949
|
apiUrl: string;
|
|
1753
|
-
|
|
2950
|
+
apiKey?: string;
|
|
2951
|
+
}, _reduxjs_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>;
|
|
1754
2952
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1755
2953
|
sessionId: string;
|
|
1756
2954
|
apiUrl: string;
|
|
1757
|
-
|
|
2955
|
+
apiKey?: string;
|
|
2956
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1758
2957
|
stopped: boolean;
|
|
2958
|
+
stopStatus?: string;
|
|
2959
|
+
stopSessionId?: string;
|
|
1759
2960
|
}, "forbocApi", unknown>;
|
|
1760
2961
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1761
2962
|
limit: number;
|
|
1762
2963
|
apiUrl: string;
|
|
1763
|
-
|
|
2964
|
+
apiKey?: string;
|
|
2965
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1764
2966
|
sessions: any[];
|
|
1765
2967
|
}, "forbocApi", unknown>;
|
|
1766
2968
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1767
2969
|
npcId: string;
|
|
1768
2970
|
request: any;
|
|
1769
2971
|
apiUrl: string;
|
|
1770
|
-
|
|
2972
|
+
apiKey?: string;
|
|
2973
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulExportResponse, "forbocApi", unknown>;
|
|
1771
2974
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1772
2975
|
txId: string;
|
|
1773
2976
|
apiUrl: string;
|
|
1774
|
-
|
|
2977
|
+
apiKey?: string;
|
|
2978
|
+
}, _reduxjs_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>;
|
|
1775
2979
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1776
2980
|
limit: number;
|
|
1777
2981
|
apiUrl: string;
|
|
1778
|
-
|
|
2982
|
+
apiKey?: string;
|
|
2983
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
1779
2984
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1780
2985
|
request: {
|
|
1781
2986
|
action: NPCAction;
|
|
@@ -1783,27 +2988,62 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
|
|
|
1783
2988
|
};
|
|
1784
2989
|
npcId?: string;
|
|
1785
2990
|
apiUrl: string;
|
|
1786
|
-
|
|
2991
|
+
apiKey?: string;
|
|
2992
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
1787
2993
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1788
2994
|
apiUrl: string;
|
|
1789
|
-
|
|
2995
|
+
apiKey?: string;
|
|
2996
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
1790
2997
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1791
2998
|
presetName: string;
|
|
1792
2999
|
apiUrl: string;
|
|
1793
|
-
|
|
3000
|
+
apiKey?: string;
|
|
3001
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
3002
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3003
|
+
apiUrl: string;
|
|
3004
|
+
apiKey?: string;
|
|
3005
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
3006
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3007
|
+
apiUrl: string;
|
|
3008
|
+
apiKey?: string;
|
|
3009
|
+
}, _reduxjs_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>;
|
|
3010
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3011
|
+
request: DirectiveRuleSet;
|
|
3012
|
+
apiUrl: string;
|
|
3013
|
+
apiKey?: string;
|
|
3014
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
3015
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3016
|
+
rulesetId: string;
|
|
3017
|
+
apiUrl: string;
|
|
3018
|
+
apiKey?: string;
|
|
3019
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
3020
|
+
deleted: boolean;
|
|
3021
|
+
}, "forbocApi", unknown>;
|
|
3022
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3023
|
+
txId: string;
|
|
3024
|
+
apiUrl: string;
|
|
3025
|
+
apiKey?: string;
|
|
3026
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
3027
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3028
|
+
request: {
|
|
3029
|
+
txIdRef: string;
|
|
3030
|
+
};
|
|
3031
|
+
apiUrl: string;
|
|
3032
|
+
apiKey?: string;
|
|
3033
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
1794
3034
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1795
3035
|
cortexId: string;
|
|
1796
3036
|
prompt: string;
|
|
1797
3037
|
options?: any;
|
|
1798
3038
|
apiUrl: string;
|
|
1799
3039
|
apiKey?: string;
|
|
1800
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
3040
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1801
3041
|
text: string;
|
|
1802
3042
|
}, "forbocApi", unknown>;
|
|
1803
3043
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1804
3044
|
apiUrl: string;
|
|
1805
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ApiStatusResponse, "forbocApi", unknown>;
|
|
1806
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
3045
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
3046
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
1807
3047
|
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1808
3048
|
activeNpcId: string;
|
|
1809
3049
|
};
|
|
@@ -1814,6 +3054,9 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
|
|
|
1814
3054
|
error: string | null;
|
|
1815
3055
|
lastRecalledIds: string[];
|
|
1816
3056
|
};
|
|
3057
|
+
directive: _reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
3058
|
+
activeDirectiveId: string;
|
|
3059
|
+
};
|
|
1817
3060
|
ghost: GhostState;
|
|
1818
3061
|
soul: SoulState;
|
|
1819
3062
|
bridge: BridgeState;
|
|
@@ -1822,76 +3065,114 @@ declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) =
|
|
|
1822
3065
|
declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
1823
3066
|
[x: string]: /*elided*/ any;
|
|
1824
3067
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
3068
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3069
|
+
apiUrl: string;
|
|
3070
|
+
apiKey?: string;
|
|
3071
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexModelInfo[], "forbocApi", unknown>;
|
|
3072
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3073
|
+
request: {
|
|
3074
|
+
requestedModel: string;
|
|
3075
|
+
authKey?: string;
|
|
3076
|
+
};
|
|
3077
|
+
apiUrl: string;
|
|
3078
|
+
apiKey?: string;
|
|
3079
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
1825
3080
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1826
3081
|
npcId: string;
|
|
1827
3082
|
request: DirectiveRequest;
|
|
1828
3083
|
apiUrl: string;
|
|
1829
3084
|
apiKey?: string;
|
|
1830
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveResponse, "forbocApi", unknown>;
|
|
3085
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
1831
3086
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1832
3087
|
npcId: string;
|
|
1833
3088
|
request: ContextRequest;
|
|
1834
3089
|
apiUrl: string;
|
|
1835
3090
|
apiKey?: string;
|
|
1836
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ContextResponse, "forbocApi", unknown>;
|
|
3091
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ContextResponse, "forbocApi", unknown>;
|
|
1837
3092
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1838
3093
|
npcId: string;
|
|
1839
3094
|
request: VerdictRequest;
|
|
1840
3095
|
apiUrl: string;
|
|
1841
3096
|
apiKey?: string;
|
|
1842
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", VerdictResponse, "forbocApi", unknown>;
|
|
1843
|
-
|
|
3097
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
3098
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3099
|
+
npcId: string;
|
|
3100
|
+
request: {
|
|
3101
|
+
observation: string;
|
|
3102
|
+
importance?: number;
|
|
3103
|
+
};
|
|
3104
|
+
apiUrl: string;
|
|
3105
|
+
apiKey?: string;
|
|
3106
|
+
}, _reduxjs_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>;
|
|
3107
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3108
|
+
npcId: string;
|
|
3109
|
+
apiUrl: string;
|
|
3110
|
+
apiKey?: string;
|
|
3111
|
+
}, _reduxjs_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>;
|
|
3112
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1844
3113
|
npcId: string;
|
|
1845
|
-
request:
|
|
3114
|
+
request: {
|
|
3115
|
+
query: string;
|
|
3116
|
+
similarity?: number;
|
|
3117
|
+
};
|
|
1846
3118
|
apiUrl: string;
|
|
1847
3119
|
apiKey?: string;
|
|
1848
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
1849
|
-
|
|
3120
|
+
}, _reduxjs_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>;
|
|
3121
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1850
3122
|
npcId: string;
|
|
1851
|
-
request: DialogueRequest;
|
|
1852
3123
|
apiUrl: string;
|
|
1853
3124
|
apiKey?: string;
|
|
1854
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
3125
|
+
}, _reduxjs_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>;
|
|
1855
3126
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1856
3127
|
request: {
|
|
1857
3128
|
testSuite: string;
|
|
1858
3129
|
duration: number;
|
|
1859
3130
|
};
|
|
1860
3131
|
apiUrl: string;
|
|
1861
|
-
|
|
3132
|
+
apiKey?: string;
|
|
3133
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
1862
3134
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1863
3135
|
sessionId: string;
|
|
1864
3136
|
apiUrl: string;
|
|
1865
|
-
|
|
3137
|
+
apiKey?: string;
|
|
3138
|
+
}, _reduxjs_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>;
|
|
1866
3139
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1867
3140
|
sessionId: string;
|
|
1868
3141
|
apiUrl: string;
|
|
1869
|
-
|
|
3142
|
+
apiKey?: string;
|
|
3143
|
+
}, _reduxjs_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>;
|
|
1870
3144
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1871
3145
|
sessionId: string;
|
|
1872
3146
|
apiUrl: string;
|
|
1873
|
-
|
|
3147
|
+
apiKey?: string;
|
|
3148
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1874
3149
|
stopped: boolean;
|
|
3150
|
+
stopStatus?: string;
|
|
3151
|
+
stopSessionId?: string;
|
|
1875
3152
|
}, "forbocApi", unknown>;
|
|
1876
3153
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1877
3154
|
limit: number;
|
|
1878
3155
|
apiUrl: string;
|
|
1879
|
-
|
|
3156
|
+
apiKey?: string;
|
|
3157
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1880
3158
|
sessions: any[];
|
|
1881
3159
|
}, "forbocApi", unknown>;
|
|
1882
3160
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1883
3161
|
npcId: string;
|
|
1884
3162
|
request: any;
|
|
1885
3163
|
apiUrl: string;
|
|
1886
|
-
|
|
3164
|
+
apiKey?: string;
|
|
3165
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulExportResponse, "forbocApi", unknown>;
|
|
1887
3166
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1888
3167
|
txId: string;
|
|
1889
3168
|
apiUrl: string;
|
|
1890
|
-
|
|
3169
|
+
apiKey?: string;
|
|
3170
|
+
}, _reduxjs_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>;
|
|
1891
3171
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1892
3172
|
limit: number;
|
|
1893
3173
|
apiUrl: string;
|
|
1894
|
-
|
|
3174
|
+
apiKey?: string;
|
|
3175
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
1895
3176
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1896
3177
|
request: {
|
|
1897
3178
|
action: NPCAction;
|
|
@@ -1899,27 +3180,62 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
1899
3180
|
};
|
|
1900
3181
|
npcId?: string;
|
|
1901
3182
|
apiUrl: string;
|
|
1902
|
-
|
|
3183
|
+
apiKey?: string;
|
|
3184
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
1903
3185
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1904
3186
|
apiUrl: string;
|
|
1905
|
-
|
|
3187
|
+
apiKey?: string;
|
|
3188
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
1906
3189
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1907
3190
|
presetName: string;
|
|
1908
3191
|
apiUrl: string;
|
|
1909
|
-
|
|
3192
|
+
apiKey?: string;
|
|
3193
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
3194
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3195
|
+
apiUrl: string;
|
|
3196
|
+
apiKey?: string;
|
|
3197
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
3198
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3199
|
+
apiUrl: string;
|
|
3200
|
+
apiKey?: string;
|
|
3201
|
+
}, _reduxjs_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>;
|
|
3202
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3203
|
+
request: DirectiveRuleSet;
|
|
3204
|
+
apiUrl: string;
|
|
3205
|
+
apiKey?: string;
|
|
3206
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
3207
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3208
|
+
rulesetId: string;
|
|
3209
|
+
apiUrl: string;
|
|
3210
|
+
apiKey?: string;
|
|
3211
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
3212
|
+
deleted: boolean;
|
|
3213
|
+
}, "forbocApi", unknown>;
|
|
3214
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3215
|
+
txId: string;
|
|
3216
|
+
apiUrl: string;
|
|
3217
|
+
apiKey?: string;
|
|
3218
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
3219
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3220
|
+
request: {
|
|
3221
|
+
txIdRef: string;
|
|
3222
|
+
};
|
|
3223
|
+
apiUrl: string;
|
|
3224
|
+
apiKey?: string;
|
|
3225
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
1910
3226
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1911
3227
|
cortexId: string;
|
|
1912
3228
|
prompt: string;
|
|
1913
3229
|
options?: any;
|
|
1914
3230
|
apiUrl: string;
|
|
1915
3231
|
apiKey?: string;
|
|
1916
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
3232
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1917
3233
|
text: string;
|
|
1918
3234
|
}, "forbocApi", unknown>;
|
|
1919
3235
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1920
3236
|
apiUrl: string;
|
|
1921
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ApiStatusResponse, "forbocApi", unknown>;
|
|
1922
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
3237
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
3238
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
1923
3239
|
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1924
3240
|
activeNpcId: string;
|
|
1925
3241
|
};
|
|
@@ -1930,6 +3246,9 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
1930
3246
|
error: string | null;
|
|
1931
3247
|
lastRecalledIds: string[];
|
|
1932
3248
|
};
|
|
3249
|
+
directive: _reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
3250
|
+
activeDirectiveId: string;
|
|
3251
|
+
};
|
|
1933
3252
|
ghost: GhostState;
|
|
1934
3253
|
soul: SoulState;
|
|
1935
3254
|
bridge: BridgeState;
|
|
@@ -1937,76 +3256,114 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
1937
3256
|
dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
|
|
1938
3257
|
[x: string]: /*elided*/ any;
|
|
1939
3258
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
3259
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3260
|
+
apiUrl: string;
|
|
3261
|
+
apiKey?: string;
|
|
3262
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexModelInfo[], "forbocApi", unknown>;
|
|
3263
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3264
|
+
request: {
|
|
3265
|
+
requestedModel: string;
|
|
3266
|
+
authKey?: string;
|
|
3267
|
+
};
|
|
3268
|
+
apiUrl: string;
|
|
3269
|
+
apiKey?: string;
|
|
3270
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
1940
3271
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1941
3272
|
npcId: string;
|
|
1942
3273
|
request: DirectiveRequest;
|
|
1943
3274
|
apiUrl: string;
|
|
1944
3275
|
apiKey?: string;
|
|
1945
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveResponse, "forbocApi", unknown>;
|
|
3276
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
1946
3277
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1947
3278
|
npcId: string;
|
|
1948
3279
|
request: ContextRequest;
|
|
1949
3280
|
apiUrl: string;
|
|
1950
3281
|
apiKey?: string;
|
|
1951
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ContextResponse, "forbocApi", unknown>;
|
|
3282
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ContextResponse, "forbocApi", unknown>;
|
|
1952
3283
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1953
3284
|
npcId: string;
|
|
1954
3285
|
request: VerdictRequest;
|
|
1955
3286
|
apiUrl: string;
|
|
1956
3287
|
apiKey?: string;
|
|
1957
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", VerdictResponse, "forbocApi", unknown>;
|
|
1958
|
-
|
|
3288
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
3289
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3290
|
+
npcId: string;
|
|
3291
|
+
request: {
|
|
3292
|
+
observation: string;
|
|
3293
|
+
importance?: number;
|
|
3294
|
+
};
|
|
3295
|
+
apiUrl: string;
|
|
3296
|
+
apiKey?: string;
|
|
3297
|
+
}, _reduxjs_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>;
|
|
3298
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3299
|
+
npcId: string;
|
|
3300
|
+
apiUrl: string;
|
|
3301
|
+
apiKey?: string;
|
|
3302
|
+
}, _reduxjs_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>;
|
|
3303
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1959
3304
|
npcId: string;
|
|
1960
|
-
request:
|
|
3305
|
+
request: {
|
|
3306
|
+
query: string;
|
|
3307
|
+
similarity?: number;
|
|
3308
|
+
};
|
|
1961
3309
|
apiUrl: string;
|
|
1962
3310
|
apiKey?: string;
|
|
1963
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
1964
|
-
|
|
3311
|
+
}, _reduxjs_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>;
|
|
3312
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1965
3313
|
npcId: string;
|
|
1966
|
-
request: DialogueRequest;
|
|
1967
3314
|
apiUrl: string;
|
|
1968
3315
|
apiKey?: string;
|
|
1969
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
3316
|
+
}, _reduxjs_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>;
|
|
1970
3317
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1971
3318
|
request: {
|
|
1972
3319
|
testSuite: string;
|
|
1973
3320
|
duration: number;
|
|
1974
3321
|
};
|
|
1975
3322
|
apiUrl: string;
|
|
1976
|
-
|
|
3323
|
+
apiKey?: string;
|
|
3324
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
1977
3325
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1978
3326
|
sessionId: string;
|
|
1979
3327
|
apiUrl: string;
|
|
1980
|
-
|
|
3328
|
+
apiKey?: string;
|
|
3329
|
+
}, _reduxjs_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>;
|
|
1981
3330
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1982
3331
|
sessionId: string;
|
|
1983
3332
|
apiUrl: string;
|
|
1984
|
-
|
|
3333
|
+
apiKey?: string;
|
|
3334
|
+
}, _reduxjs_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>;
|
|
1985
3335
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1986
3336
|
sessionId: string;
|
|
1987
3337
|
apiUrl: string;
|
|
1988
|
-
|
|
3338
|
+
apiKey?: string;
|
|
3339
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1989
3340
|
stopped: boolean;
|
|
3341
|
+
stopStatus?: string;
|
|
3342
|
+
stopSessionId?: string;
|
|
1990
3343
|
}, "forbocApi", unknown>;
|
|
1991
3344
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1992
3345
|
limit: number;
|
|
1993
3346
|
apiUrl: string;
|
|
1994
|
-
|
|
3347
|
+
apiKey?: string;
|
|
3348
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
1995
3349
|
sessions: any[];
|
|
1996
3350
|
}, "forbocApi", unknown>;
|
|
1997
3351
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1998
3352
|
npcId: string;
|
|
1999
3353
|
request: any;
|
|
2000
3354
|
apiUrl: string;
|
|
2001
|
-
|
|
3355
|
+
apiKey?: string;
|
|
3356
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulExportResponse, "forbocApi", unknown>;
|
|
2002
3357
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2003
3358
|
txId: string;
|
|
2004
3359
|
apiUrl: string;
|
|
2005
|
-
|
|
3360
|
+
apiKey?: string;
|
|
3361
|
+
}, _reduxjs_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>;
|
|
2006
3362
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2007
3363
|
limit: number;
|
|
2008
3364
|
apiUrl: string;
|
|
2009
|
-
|
|
3365
|
+
apiKey?: string;
|
|
3366
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
2010
3367
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2011
3368
|
request: {
|
|
2012
3369
|
action: NPCAction;
|
|
@@ -2014,27 +3371,62 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
2014
3371
|
};
|
|
2015
3372
|
npcId?: string;
|
|
2016
3373
|
apiUrl: string;
|
|
2017
|
-
|
|
3374
|
+
apiKey?: string;
|
|
3375
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
2018
3376
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2019
3377
|
apiUrl: string;
|
|
2020
|
-
|
|
3378
|
+
apiKey?: string;
|
|
3379
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
2021
3380
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2022
3381
|
presetName: string;
|
|
2023
3382
|
apiUrl: string;
|
|
2024
|
-
|
|
3383
|
+
apiKey?: string;
|
|
3384
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
3385
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3386
|
+
apiUrl: string;
|
|
3387
|
+
apiKey?: string;
|
|
3388
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
3389
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3390
|
+
apiUrl: string;
|
|
3391
|
+
apiKey?: string;
|
|
3392
|
+
}, _reduxjs_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>;
|
|
3393
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3394
|
+
request: DirectiveRuleSet;
|
|
3395
|
+
apiUrl: string;
|
|
3396
|
+
apiKey?: string;
|
|
3397
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
3398
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3399
|
+
rulesetId: string;
|
|
3400
|
+
apiUrl: string;
|
|
3401
|
+
apiKey?: string;
|
|
3402
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
3403
|
+
deleted: boolean;
|
|
3404
|
+
}, "forbocApi", unknown>;
|
|
3405
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3406
|
+
txId: string;
|
|
3407
|
+
apiUrl: string;
|
|
3408
|
+
apiKey?: string;
|
|
3409
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
3410
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3411
|
+
request: {
|
|
3412
|
+
txIdRef: string;
|
|
3413
|
+
};
|
|
3414
|
+
apiUrl: string;
|
|
3415
|
+
apiKey?: string;
|
|
3416
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
2025
3417
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2026
3418
|
cortexId: string;
|
|
2027
3419
|
prompt: string;
|
|
2028
3420
|
options?: any;
|
|
2029
3421
|
apiUrl: string;
|
|
2030
3422
|
apiKey?: string;
|
|
2031
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
3423
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2032
3424
|
text: string;
|
|
2033
3425
|
}, "forbocApi", unknown>;
|
|
2034
3426
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2035
3427
|
apiUrl: string;
|
|
2036
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ApiStatusResponse, "forbocApi", unknown>;
|
|
2037
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
3428
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
3429
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
2038
3430
|
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
2039
3431
|
activeNpcId: string;
|
|
2040
3432
|
};
|
|
@@ -2045,6 +3437,9 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
2045
3437
|
error: string | null;
|
|
2046
3438
|
lastRecalledIds: string[];
|
|
2047
3439
|
};
|
|
3440
|
+
directive: _reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
3441
|
+
activeDirectiveId: string;
|
|
3442
|
+
};
|
|
2048
3443
|
ghost: GhostState;
|
|
2049
3444
|
soul: SoulState;
|
|
2050
3445
|
bridge: BridgeState;
|
|
@@ -2053,104 +3448,177 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
|
2053
3448
|
declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
|
|
2054
3449
|
[x: string]: /*elided*/ any;
|
|
2055
3450
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
3451
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3452
|
+
apiUrl: string;
|
|
3453
|
+
apiKey?: string;
|
|
3454
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexModelInfo[], "forbocApi", unknown>;
|
|
3455
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3456
|
+
request: {
|
|
3457
|
+
requestedModel: string;
|
|
3458
|
+
authKey?: string;
|
|
3459
|
+
};
|
|
3460
|
+
apiUrl: string;
|
|
3461
|
+
apiKey?: string;
|
|
3462
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
2056
3463
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2057
3464
|
npcId: string;
|
|
2058
3465
|
request: DirectiveRequest;
|
|
2059
3466
|
apiUrl: string;
|
|
2060
3467
|
apiKey?: string;
|
|
2061
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveResponse, "forbocApi", unknown>;
|
|
3468
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
2062
3469
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2063
3470
|
npcId: string;
|
|
2064
3471
|
request: ContextRequest;
|
|
2065
3472
|
apiUrl: string;
|
|
2066
3473
|
apiKey?: string;
|
|
2067
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ContextResponse, "forbocApi", unknown>;
|
|
3474
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ContextResponse, "forbocApi", unknown>;
|
|
2068
3475
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2069
3476
|
npcId: string;
|
|
2070
3477
|
request: VerdictRequest;
|
|
2071
3478
|
apiUrl: string;
|
|
2072
3479
|
apiKey?: string;
|
|
2073
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", VerdictResponse, "forbocApi", unknown>;
|
|
2074
|
-
|
|
3480
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
3481
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3482
|
+
npcId: string;
|
|
3483
|
+
request: {
|
|
3484
|
+
observation: string;
|
|
3485
|
+
importance?: number;
|
|
3486
|
+
};
|
|
3487
|
+
apiUrl: string;
|
|
3488
|
+
apiKey?: string;
|
|
3489
|
+
}, _reduxjs_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>;
|
|
3490
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3491
|
+
npcId: string;
|
|
3492
|
+
apiUrl: string;
|
|
3493
|
+
apiKey?: string;
|
|
3494
|
+
}, _reduxjs_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>;
|
|
3495
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2075
3496
|
npcId: string;
|
|
2076
|
-
request:
|
|
3497
|
+
request: {
|
|
3498
|
+
query: string;
|
|
3499
|
+
similarity?: number;
|
|
3500
|
+
};
|
|
2077
3501
|
apiUrl: string;
|
|
2078
3502
|
apiKey?: string;
|
|
2079
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
2080
|
-
|
|
3503
|
+
}, _reduxjs_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>;
|
|
3504
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2081
3505
|
npcId: string;
|
|
2082
|
-
request: DialogueRequest;
|
|
2083
3506
|
apiUrl: string;
|
|
2084
3507
|
apiKey?: string;
|
|
2085
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
3508
|
+
}, _reduxjs_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>;
|
|
2086
3509
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2087
3510
|
request: {
|
|
2088
3511
|
testSuite: string;
|
|
2089
3512
|
duration: number;
|
|
2090
3513
|
};
|
|
2091
3514
|
apiUrl: string;
|
|
2092
|
-
|
|
3515
|
+
apiKey?: string;
|
|
3516
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
2093
3517
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2094
3518
|
sessionId: string;
|
|
2095
3519
|
apiUrl: string;
|
|
2096
|
-
|
|
3520
|
+
apiKey?: string;
|
|
3521
|
+
}, _reduxjs_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>;
|
|
2097
3522
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2098
3523
|
sessionId: string;
|
|
2099
3524
|
apiUrl: string;
|
|
2100
|
-
|
|
3525
|
+
apiKey?: string;
|
|
3526
|
+
}, _reduxjs_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>;
|
|
2101
3527
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2102
3528
|
sessionId: string;
|
|
2103
3529
|
apiUrl: string;
|
|
2104
|
-
|
|
3530
|
+
apiKey?: string;
|
|
3531
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2105
3532
|
stopped: boolean;
|
|
3533
|
+
stopStatus?: string;
|
|
3534
|
+
stopSessionId?: string;
|
|
2106
3535
|
}, "forbocApi", unknown>;
|
|
2107
3536
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2108
3537
|
limit: number;
|
|
2109
3538
|
apiUrl: string;
|
|
2110
|
-
|
|
3539
|
+
apiKey?: string;
|
|
3540
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2111
3541
|
sessions: any[];
|
|
2112
3542
|
}, "forbocApi", unknown>;
|
|
2113
3543
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2114
3544
|
npcId: string;
|
|
2115
3545
|
request: any;
|
|
2116
3546
|
apiUrl: string;
|
|
2117
|
-
|
|
2118
|
-
|
|
3547
|
+
apiKey?: string;
|
|
3548
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulExportResponse, "forbocApi", unknown>;
|
|
3549
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3550
|
+
txId: string;
|
|
3551
|
+
apiUrl: string;
|
|
3552
|
+
apiKey?: string;
|
|
3553
|
+
}, _reduxjs_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>;
|
|
3554
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3555
|
+
limit: number;
|
|
3556
|
+
apiUrl: string;
|
|
3557
|
+
apiKey?: string;
|
|
3558
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
3559
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3560
|
+
request: {
|
|
3561
|
+
action: NPCAction;
|
|
3562
|
+
context: ValidationContext;
|
|
3563
|
+
};
|
|
3564
|
+
npcId?: string;
|
|
3565
|
+
apiUrl: string;
|
|
3566
|
+
apiKey?: string;
|
|
3567
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
3568
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3569
|
+
apiUrl: string;
|
|
3570
|
+
apiKey?: string;
|
|
3571
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
3572
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3573
|
+
presetName: string;
|
|
3574
|
+
apiUrl: string;
|
|
3575
|
+
apiKey?: string;
|
|
3576
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
3577
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3578
|
+
apiUrl: string;
|
|
3579
|
+
apiKey?: string;
|
|
3580
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
3581
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3582
|
+
apiUrl: string;
|
|
3583
|
+
apiKey?: string;
|
|
3584
|
+
}, _reduxjs_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>;
|
|
3585
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3586
|
+
request: DirectiveRuleSet;
|
|
3587
|
+
apiUrl: string;
|
|
3588
|
+
apiKey?: string;
|
|
3589
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
3590
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3591
|
+
rulesetId: string;
|
|
3592
|
+
apiUrl: string;
|
|
3593
|
+
apiKey?: string;
|
|
3594
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
3595
|
+
deleted: boolean;
|
|
3596
|
+
}, "forbocApi", unknown>;
|
|
3597
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2119
3598
|
txId: string;
|
|
2120
3599
|
apiUrl: string;
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
apiUrl: string;
|
|
2125
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulListResponse, "forbocApi", unknown>;
|
|
2126
|
-
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3600
|
+
apiKey?: string;
|
|
3601
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
3602
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2127
3603
|
request: {
|
|
2128
|
-
|
|
2129
|
-
context: ValidationContext;
|
|
3604
|
+
txIdRef: string;
|
|
2130
3605
|
};
|
|
2131
|
-
npcId?: string;
|
|
2132
|
-
apiUrl: string;
|
|
2133
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ValidationResult, "forbocApi", unknown>;
|
|
2134
|
-
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2135
|
-
apiUrl: string;
|
|
2136
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
2137
|
-
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2138
|
-
presetName: string;
|
|
2139
3606
|
apiUrl: string;
|
|
2140
|
-
|
|
3607
|
+
apiKey?: string;
|
|
3608
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
2141
3609
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2142
3610
|
cortexId: string;
|
|
2143
3611
|
prompt: string;
|
|
2144
3612
|
options?: any;
|
|
2145
3613
|
apiUrl: string;
|
|
2146
3614
|
apiKey?: string;
|
|
2147
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
3615
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2148
3616
|
text: string;
|
|
2149
3617
|
}, "forbocApi", unknown>;
|
|
2150
3618
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2151
3619
|
apiUrl: string;
|
|
2152
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ApiStatusResponse, "forbocApi", unknown>;
|
|
2153
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
3620
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
3621
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
2154
3622
|
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
2155
3623
|
activeNpcId: string;
|
|
2156
3624
|
};
|
|
@@ -2161,6 +3629,9 @@ declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _re
|
|
|
2161
3629
|
error: string | null;
|
|
2162
3630
|
lastRecalledIds: string[];
|
|
2163
3631
|
};
|
|
3632
|
+
directive: _reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
3633
|
+
activeDirectiveId: string;
|
|
3634
|
+
};
|
|
2164
3635
|
ghost: GhostState;
|
|
2165
3636
|
soul: SoulState;
|
|
2166
3637
|
bridge: BridgeState;
|
|
@@ -2180,6 +3651,7 @@ interface SoulState {
|
|
|
2180
3651
|
declare const remoteExportSoulThunk: _reduxjs_toolkit.AsyncThunk<SoulExportResult, {
|
|
2181
3652
|
npcId?: string;
|
|
2182
3653
|
apiUrl?: string;
|
|
3654
|
+
apiKey?: string;
|
|
2183
3655
|
memories?: any[];
|
|
2184
3656
|
}, {
|
|
2185
3657
|
state: SDKState;
|
|
@@ -2194,6 +3666,7 @@ declare const remoteExportSoulThunk: _reduxjs_toolkit.AsyncThunk<SoulExportResul
|
|
|
2194
3666
|
declare const importSoulFromArweaveThunk: _reduxjs_toolkit.AsyncThunk<Soul, {
|
|
2195
3667
|
txId: string;
|
|
2196
3668
|
apiUrl?: string;
|
|
3669
|
+
apiKey?: string;
|
|
2197
3670
|
}, {
|
|
2198
3671
|
rejectValue: string;
|
|
2199
3672
|
extra?: unknown;
|
|
@@ -2207,6 +3680,35 @@ declare const importSoulFromArweaveThunk: _reduxjs_toolkit.AsyncThunk<Soul, {
|
|
|
2207
3680
|
declare const getSoulListThunk: _reduxjs_toolkit.AsyncThunk<any[], {
|
|
2208
3681
|
limit?: number;
|
|
2209
3682
|
apiUrl?: string;
|
|
3683
|
+
apiKey?: string;
|
|
3684
|
+
}, {
|
|
3685
|
+
rejectValue: string;
|
|
3686
|
+
extra?: unknown;
|
|
3687
|
+
state?: unknown;
|
|
3688
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
3689
|
+
serializedErrorType?: unknown;
|
|
3690
|
+
pendingMeta?: unknown;
|
|
3691
|
+
fulfilledMeta?: unknown;
|
|
3692
|
+
rejectedMeta?: unknown;
|
|
3693
|
+
}>;
|
|
3694
|
+
declare const verifySoulThunk: _reduxjs_toolkit.AsyncThunk<SoulVerifyResult, {
|
|
3695
|
+
txId: string;
|
|
3696
|
+
apiUrl?: string;
|
|
3697
|
+
apiKey?: string;
|
|
3698
|
+
}, {
|
|
3699
|
+
rejectValue: string;
|
|
3700
|
+
extra?: unknown;
|
|
3701
|
+
state?: unknown;
|
|
3702
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
3703
|
+
serializedErrorType?: unknown;
|
|
3704
|
+
pendingMeta?: unknown;
|
|
3705
|
+
fulfilledMeta?: unknown;
|
|
3706
|
+
rejectedMeta?: unknown;
|
|
3707
|
+
}>;
|
|
3708
|
+
declare const importNpcFromSoulThunk: _reduxjs_toolkit.AsyncThunk<ImportedNpc, {
|
|
3709
|
+
txId: string;
|
|
3710
|
+
apiUrl?: string;
|
|
3711
|
+
apiKey?: string;
|
|
2210
3712
|
}, {
|
|
2211
3713
|
rejectValue: string;
|
|
2212
3714
|
extra?: unknown;
|
|
@@ -2270,15 +3772,24 @@ declare const clearSoulState: _reduxjs_toolkit.ActionCreatorWithoutPayload<"soul
|
|
|
2270
3772
|
/**
|
|
2271
3773
|
* Consume an async token stream, calling `onChunk` for each token.
|
|
2272
3774
|
* Useful for rendering typewriter effects in UI.
|
|
3775
|
+
* User Story: As presentation code, I need a helper that forwards each token to
|
|
3776
|
+
* a callback while hiding generator traversal details.
|
|
3777
|
+
* The stream is consumed fully before resolve.
|
|
2273
3778
|
*/
|
|
2274
3779
|
declare const streamToCallback: (stream: AsyncGenerator<string, void, unknown>, onChunk: (chunk: string) => void) => Promise<void>;
|
|
2275
3780
|
/**
|
|
2276
3781
|
* Consume an async token stream and return the full accumulated string.
|
|
3782
|
+
* User Story: As non-streaming consumers, I need full-string reconstruction
|
|
3783
|
+
* from token generators for logs, assertions, and transcript storage.
|
|
3784
|
+
* Callback is intentionally a no-op in this path.
|
|
2277
3785
|
*/
|
|
2278
3786
|
declare const streamToString: (stream: AsyncGenerator<string, void, unknown>) => Promise<string>;
|
|
2279
3787
|
/**
|
|
2280
3788
|
* Stream tokens from a cortex directly to a callback.
|
|
2281
3789
|
* Convenience wrapper combining cortex.completeStream + streamToCallback.
|
|
3790
|
+
* User Story: As SDK integrations, I need one-call cortex streaming that wires
|
|
3791
|
+
* prompt/options into chunk callbacks and returns final text.
|
|
3792
|
+
* Keeps caller code focused on UI behavior.
|
|
2282
3793
|
*/
|
|
2283
3794
|
declare const streamFromCortex: (cortex: ICortex, prompt: string, onChunk: (chunk: string) => void, options?: {
|
|
2284
3795
|
temperature?: number;
|
|
@@ -2289,6 +3800,9 @@ declare const streamFromCortex: (cortex: ICortex, prompt: string, onChunk: (chun
|
|
|
2289
3800
|
* Stream tokens from a cortex with a delay between tokens (for typewriter pacing).
|
|
2290
3801
|
*
|
|
2291
3802
|
* @param delayMs - Milliseconds to wait between tokens (default: 30ms)
|
|
3803
|
+
* User Story: As UX pacing logic, I need controlled inter-token delay during
|
|
3804
|
+
* streaming so typewriter-style output remains readable.
|
|
3805
|
+
* Completion options are passed through unchanged apart from delay extraction.
|
|
2292
3806
|
*/
|
|
2293
3807
|
declare const streamFromCortexWithDelay: (cortex: ICortex, prompt: string, onChunk: (chunk: string) => void, options?: {
|
|
2294
3808
|
temperature?: number;
|
|
@@ -2297,102 +3811,137 @@ declare const streamFromCortexWithDelay: (cortex: ICortex, prompt: string, onChu
|
|
|
2297
3811
|
delayMs?: number;
|
|
2298
3812
|
}) => Promise<string>;
|
|
2299
3813
|
|
|
3814
|
+
declare const SDK_VERSION = "0.6.0";
|
|
3815
|
+
|
|
2300
3816
|
/**
|
|
2301
|
-
*
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
/**
|
|
2305
|
-
* Generate a unique ID for a new NPC.
|
|
3817
|
+
* User Story: As NPC creation flows, I need lightweight id generation that
|
|
3818
|
+
* produces prefixed identifiers suitable for local/session usage.
|
|
3819
|
+
* Timestamp-base keeps generation dependency-free.
|
|
2306
3820
|
*/
|
|
2307
3821
|
declare const generateNPCId: () => string;
|
|
3822
|
+
|
|
2308
3823
|
/**
|
|
2309
|
-
*
|
|
3824
|
+
* User Story: As async control flow, I need a tiny promise-based delay helper
|
|
3825
|
+
* to pace retries, streams, and deterministic test timing.
|
|
3826
|
+
* Wrapper keeps timeout intent explicit at call sites.
|
|
2310
3827
|
*/
|
|
2311
3828
|
declare const delay: (ms: number) => Promise<void>;
|
|
2312
|
-
|
|
2313
|
-
* Functional pipe for chaining functions.
|
|
2314
|
-
*/
|
|
3829
|
+
|
|
2315
3830
|
declare const pipe: <T>(...fns: Array<(arg: T) => T>) => (initialValue: T) => T;
|
|
2316
|
-
|
|
2317
|
-
* Closure-based memoization for async functions (single value cache).
|
|
2318
|
-
*/
|
|
3831
|
+
|
|
2319
3832
|
declare const memoiseAsync: <T>(fn: () => Promise<T>) => () => Promise<T>;
|
|
2320
|
-
|
|
2321
|
-
* Closure-based memoization for sync functions (single value cache).
|
|
2322
|
-
*/
|
|
3833
|
+
|
|
2323
3834
|
declare const memoise: <T>(fn: () => T) => () => T;
|
|
2324
3835
|
|
|
2325
3836
|
declare const sdkApi: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, {
|
|
3837
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3838
|
+
apiUrl: string;
|
|
3839
|
+
apiKey?: string;
|
|
3840
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexModelInfo[], "forbocApi", unknown>;
|
|
3841
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3842
|
+
request: {
|
|
3843
|
+
requestedModel: string;
|
|
3844
|
+
authKey?: string;
|
|
3845
|
+
};
|
|
3846
|
+
apiUrl: string;
|
|
3847
|
+
apiKey?: string;
|
|
3848
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
2326
3849
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2327
3850
|
npcId: string;
|
|
2328
3851
|
request: DirectiveRequest;
|
|
2329
3852
|
apiUrl: string;
|
|
2330
3853
|
apiKey?: string;
|
|
2331
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveResponse, "forbocApi", unknown>;
|
|
3854
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
2332
3855
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2333
3856
|
npcId: string;
|
|
2334
3857
|
request: ContextRequest;
|
|
2335
3858
|
apiUrl: string;
|
|
2336
3859
|
apiKey?: string;
|
|
2337
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ContextResponse, "forbocApi", unknown>;
|
|
3860
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ContextResponse, "forbocApi", unknown>;
|
|
2338
3861
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2339
3862
|
npcId: string;
|
|
2340
3863
|
request: VerdictRequest;
|
|
2341
3864
|
apiUrl: string;
|
|
2342
3865
|
apiKey?: string;
|
|
2343
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", VerdictResponse, "forbocApi", unknown>;
|
|
2344
|
-
|
|
3866
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
3867
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3868
|
+
npcId: string;
|
|
3869
|
+
request: {
|
|
3870
|
+
observation: string;
|
|
3871
|
+
importance?: number;
|
|
3872
|
+
};
|
|
3873
|
+
apiUrl: string;
|
|
3874
|
+
apiKey?: string;
|
|
3875
|
+
}, _reduxjs_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>;
|
|
3876
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2345
3877
|
npcId: string;
|
|
2346
|
-
request: SpeakRequest;
|
|
2347
3878
|
apiUrl: string;
|
|
2348
3879
|
apiKey?: string;
|
|
2349
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
2350
|
-
|
|
3880
|
+
}, _reduxjs_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>;
|
|
3881
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3882
|
+
npcId: string;
|
|
3883
|
+
request: {
|
|
3884
|
+
query: string;
|
|
3885
|
+
similarity?: number;
|
|
3886
|
+
};
|
|
3887
|
+
apiUrl: string;
|
|
3888
|
+
apiKey?: string;
|
|
3889
|
+
}, _reduxjs_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>;
|
|
3890
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2351
3891
|
npcId: string;
|
|
2352
|
-
request: DialogueRequest;
|
|
2353
3892
|
apiUrl: string;
|
|
2354
3893
|
apiKey?: string;
|
|
2355
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
3894
|
+
}, _reduxjs_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>;
|
|
2356
3895
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2357
3896
|
request: {
|
|
2358
3897
|
testSuite: string;
|
|
2359
3898
|
duration: number;
|
|
2360
3899
|
};
|
|
2361
3900
|
apiUrl: string;
|
|
2362
|
-
|
|
3901
|
+
apiKey?: string;
|
|
3902
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
2363
3903
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2364
3904
|
sessionId: string;
|
|
2365
3905
|
apiUrl: string;
|
|
2366
|
-
|
|
3906
|
+
apiKey?: string;
|
|
3907
|
+
}, _reduxjs_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>;
|
|
2367
3908
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2368
3909
|
sessionId: string;
|
|
2369
3910
|
apiUrl: string;
|
|
2370
|
-
|
|
3911
|
+
apiKey?: string;
|
|
3912
|
+
}, _reduxjs_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>;
|
|
2371
3913
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2372
3914
|
sessionId: string;
|
|
2373
3915
|
apiUrl: string;
|
|
2374
|
-
|
|
3916
|
+
apiKey?: string;
|
|
3917
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2375
3918
|
stopped: boolean;
|
|
3919
|
+
stopStatus?: string;
|
|
3920
|
+
stopSessionId?: string;
|
|
2376
3921
|
}, "forbocApi", unknown>;
|
|
2377
3922
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2378
3923
|
limit: number;
|
|
2379
3924
|
apiUrl: string;
|
|
2380
|
-
|
|
3925
|
+
apiKey?: string;
|
|
3926
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2381
3927
|
sessions: any[];
|
|
2382
3928
|
}, "forbocApi", unknown>;
|
|
2383
3929
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2384
3930
|
npcId: string;
|
|
2385
3931
|
request: any;
|
|
2386
3932
|
apiUrl: string;
|
|
2387
|
-
|
|
3933
|
+
apiKey?: string;
|
|
3934
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulExportResponse, "forbocApi", unknown>;
|
|
2388
3935
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2389
3936
|
txId: string;
|
|
2390
3937
|
apiUrl: string;
|
|
2391
|
-
|
|
3938
|
+
apiKey?: string;
|
|
3939
|
+
}, _reduxjs_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>;
|
|
2392
3940
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2393
3941
|
limit: number;
|
|
2394
3942
|
apiUrl: string;
|
|
2395
|
-
|
|
3943
|
+
apiKey?: string;
|
|
3944
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
2396
3945
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2397
3946
|
request: {
|
|
2398
3947
|
action: NPCAction;
|
|
@@ -2400,27 +3949,62 @@ declare const sdkApi: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.BaseQuer
|
|
|
2400
3949
|
};
|
|
2401
3950
|
npcId?: string;
|
|
2402
3951
|
apiUrl: string;
|
|
2403
|
-
|
|
3952
|
+
apiKey?: string;
|
|
3953
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
2404
3954
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2405
3955
|
apiUrl: string;
|
|
2406
|
-
|
|
3956
|
+
apiKey?: string;
|
|
3957
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
2407
3958
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2408
3959
|
presetName: string;
|
|
2409
3960
|
apiUrl: string;
|
|
2410
|
-
|
|
3961
|
+
apiKey?: string;
|
|
3962
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
3963
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3964
|
+
apiUrl: string;
|
|
3965
|
+
apiKey?: string;
|
|
3966
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
3967
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
3968
|
+
apiUrl: string;
|
|
3969
|
+
apiKey?: string;
|
|
3970
|
+
}, _reduxjs_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>;
|
|
3971
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3972
|
+
request: DirectiveRuleSet;
|
|
3973
|
+
apiUrl: string;
|
|
3974
|
+
apiKey?: string;
|
|
3975
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
3976
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3977
|
+
rulesetId: string;
|
|
3978
|
+
apiUrl: string;
|
|
3979
|
+
apiKey?: string;
|
|
3980
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
3981
|
+
deleted: boolean;
|
|
3982
|
+
}, "forbocApi", unknown>;
|
|
3983
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3984
|
+
txId: string;
|
|
3985
|
+
apiUrl: string;
|
|
3986
|
+
apiKey?: string;
|
|
3987
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
3988
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
3989
|
+
request: {
|
|
3990
|
+
txIdRef: string;
|
|
3991
|
+
};
|
|
3992
|
+
apiUrl: string;
|
|
3993
|
+
apiKey?: string;
|
|
3994
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
2411
3995
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2412
3996
|
cortexId: string;
|
|
2413
3997
|
prompt: string;
|
|
2414
3998
|
options?: any;
|
|
2415
3999
|
apiUrl: string;
|
|
2416
4000
|
apiKey?: string;
|
|
2417
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
4001
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2418
4002
|
text: string;
|
|
2419
4003
|
}, "forbocApi", unknown>;
|
|
2420
4004
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2421
4005
|
apiUrl: string;
|
|
2422
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ApiStatusResponse, "forbocApi", unknown>;
|
|
2423
|
-
}, "forbocApi", "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", typeof _reduxjs_toolkit_query.coreModuleName>;
|
|
4006
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
4007
|
+
}, "forbocApi", "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", typeof _reduxjs_toolkit_query.coreModuleName>;
|
|
2424
4008
|
|
|
2425
4009
|
declare const memorySlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
2426
4010
|
storageStatus: "idle" | "storing" | "error";
|
|
@@ -2563,76 +4147,114 @@ declare const memoryClear: _reduxjs_toolkit.ActionCreatorWithoutPayload<"memory/
|
|
|
2563
4147
|
declare const selectMemoryById: (state: {
|
|
2564
4148
|
[x: string]: /*elided*/ any;
|
|
2565
4149
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
4150
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
4151
|
+
apiUrl: string;
|
|
4152
|
+
apiKey?: string;
|
|
4153
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexModelInfo[], "forbocApi", unknown>;
|
|
4154
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
4155
|
+
request: {
|
|
4156
|
+
requestedModel: string;
|
|
4157
|
+
authKey?: string;
|
|
4158
|
+
};
|
|
4159
|
+
apiUrl: string;
|
|
4160
|
+
apiKey?: string;
|
|
4161
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
2566
4162
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2567
4163
|
npcId: string;
|
|
2568
4164
|
request: DirectiveRequest;
|
|
2569
4165
|
apiUrl: string;
|
|
2570
4166
|
apiKey?: string;
|
|
2571
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveResponse, "forbocApi", unknown>;
|
|
4167
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
2572
4168
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2573
4169
|
npcId: string;
|
|
2574
4170
|
request: ContextRequest;
|
|
2575
4171
|
apiUrl: string;
|
|
2576
4172
|
apiKey?: string;
|
|
2577
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ContextResponse, "forbocApi", unknown>;
|
|
4173
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ContextResponse, "forbocApi", unknown>;
|
|
2578
4174
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2579
4175
|
npcId: string;
|
|
2580
4176
|
request: VerdictRequest;
|
|
2581
4177
|
apiUrl: string;
|
|
2582
4178
|
apiKey?: string;
|
|
2583
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", VerdictResponse, "forbocApi", unknown>;
|
|
2584
|
-
|
|
4179
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
4180
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
4181
|
+
npcId: string;
|
|
4182
|
+
request: {
|
|
4183
|
+
observation: string;
|
|
4184
|
+
importance?: number;
|
|
4185
|
+
};
|
|
4186
|
+
apiUrl: string;
|
|
4187
|
+
apiKey?: string;
|
|
4188
|
+
}, _reduxjs_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>;
|
|
4189
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
4190
|
+
npcId: string;
|
|
4191
|
+
apiUrl: string;
|
|
4192
|
+
apiKey?: string;
|
|
4193
|
+
}, _reduxjs_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>;
|
|
4194
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2585
4195
|
npcId: string;
|
|
2586
|
-
request:
|
|
4196
|
+
request: {
|
|
4197
|
+
query: string;
|
|
4198
|
+
similarity?: number;
|
|
4199
|
+
};
|
|
2587
4200
|
apiUrl: string;
|
|
2588
4201
|
apiKey?: string;
|
|
2589
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
2590
|
-
|
|
4202
|
+
}, _reduxjs_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>;
|
|
4203
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2591
4204
|
npcId: string;
|
|
2592
|
-
request: DialogueRequest;
|
|
2593
4205
|
apiUrl: string;
|
|
2594
4206
|
apiKey?: string;
|
|
2595
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
4207
|
+
}, _reduxjs_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>;
|
|
2596
4208
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2597
4209
|
request: {
|
|
2598
4210
|
testSuite: string;
|
|
2599
4211
|
duration: number;
|
|
2600
4212
|
};
|
|
2601
4213
|
apiUrl: string;
|
|
2602
|
-
|
|
4214
|
+
apiKey?: string;
|
|
4215
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
2603
4216
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2604
4217
|
sessionId: string;
|
|
2605
4218
|
apiUrl: string;
|
|
2606
|
-
|
|
4219
|
+
apiKey?: string;
|
|
4220
|
+
}, _reduxjs_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>;
|
|
2607
4221
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2608
4222
|
sessionId: string;
|
|
2609
4223
|
apiUrl: string;
|
|
2610
|
-
|
|
4224
|
+
apiKey?: string;
|
|
4225
|
+
}, _reduxjs_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>;
|
|
2611
4226
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2612
4227
|
sessionId: string;
|
|
2613
4228
|
apiUrl: string;
|
|
2614
|
-
|
|
4229
|
+
apiKey?: string;
|
|
4230
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2615
4231
|
stopped: boolean;
|
|
4232
|
+
stopStatus?: string;
|
|
4233
|
+
stopSessionId?: string;
|
|
2616
4234
|
}, "forbocApi", unknown>;
|
|
2617
4235
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2618
4236
|
limit: number;
|
|
2619
4237
|
apiUrl: string;
|
|
2620
|
-
|
|
4238
|
+
apiKey?: string;
|
|
4239
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2621
4240
|
sessions: any[];
|
|
2622
4241
|
}, "forbocApi", unknown>;
|
|
2623
4242
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2624
4243
|
npcId: string;
|
|
2625
4244
|
request: any;
|
|
2626
4245
|
apiUrl: string;
|
|
2627
|
-
|
|
4246
|
+
apiKey?: string;
|
|
4247
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulExportResponse, "forbocApi", unknown>;
|
|
2628
4248
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2629
4249
|
txId: string;
|
|
2630
4250
|
apiUrl: string;
|
|
2631
|
-
|
|
4251
|
+
apiKey?: string;
|
|
4252
|
+
}, _reduxjs_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>;
|
|
2632
4253
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2633
4254
|
limit: number;
|
|
2634
4255
|
apiUrl: string;
|
|
2635
|
-
|
|
4256
|
+
apiKey?: string;
|
|
4257
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
2636
4258
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2637
4259
|
request: {
|
|
2638
4260
|
action: NPCAction;
|
|
@@ -2640,27 +4262,62 @@ declare const selectMemoryById: (state: {
|
|
|
2640
4262
|
};
|
|
2641
4263
|
npcId?: string;
|
|
2642
4264
|
apiUrl: string;
|
|
2643
|
-
|
|
4265
|
+
apiKey?: string;
|
|
4266
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
2644
4267
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2645
4268
|
apiUrl: string;
|
|
2646
|
-
|
|
4269
|
+
apiKey?: string;
|
|
4270
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
2647
4271
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2648
4272
|
presetName: string;
|
|
2649
4273
|
apiUrl: string;
|
|
2650
|
-
|
|
4274
|
+
apiKey?: string;
|
|
4275
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
4276
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
4277
|
+
apiUrl: string;
|
|
4278
|
+
apiKey?: string;
|
|
4279
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
4280
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
4281
|
+
apiUrl: string;
|
|
4282
|
+
apiKey?: string;
|
|
4283
|
+
}, _reduxjs_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>;
|
|
4284
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
4285
|
+
request: DirectiveRuleSet;
|
|
4286
|
+
apiUrl: string;
|
|
4287
|
+
apiKey?: string;
|
|
4288
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
4289
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
4290
|
+
rulesetId: string;
|
|
4291
|
+
apiUrl: string;
|
|
4292
|
+
apiKey?: string;
|
|
4293
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
4294
|
+
deleted: boolean;
|
|
4295
|
+
}, "forbocApi", unknown>;
|
|
4296
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
4297
|
+
txId: string;
|
|
4298
|
+
apiUrl: string;
|
|
4299
|
+
apiKey?: string;
|
|
4300
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
4301
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
4302
|
+
request: {
|
|
4303
|
+
txIdRef: string;
|
|
4304
|
+
};
|
|
4305
|
+
apiUrl: string;
|
|
4306
|
+
apiKey?: string;
|
|
4307
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
2651
4308
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2652
4309
|
cortexId: string;
|
|
2653
4310
|
prompt: string;
|
|
2654
4311
|
options?: any;
|
|
2655
4312
|
apiUrl: string;
|
|
2656
4313
|
apiKey?: string;
|
|
2657
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
4314
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2658
4315
|
text: string;
|
|
2659
4316
|
}, "forbocApi", unknown>;
|
|
2660
4317
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2661
4318
|
apiUrl: string;
|
|
2662
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ApiStatusResponse, "forbocApi", unknown>;
|
|
2663
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
4319
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
4320
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
2664
4321
|
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
2665
4322
|
activeNpcId: string;
|
|
2666
4323
|
};
|
|
@@ -2671,6 +4328,9 @@ declare const selectMemoryById: (state: {
|
|
|
2671
4328
|
error: string | null;
|
|
2672
4329
|
lastRecalledIds: string[];
|
|
2673
4330
|
};
|
|
4331
|
+
directive: _reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
4332
|
+
activeDirectiveId: string;
|
|
4333
|
+
};
|
|
2674
4334
|
ghost: GhostState;
|
|
2675
4335
|
soul: SoulState;
|
|
2676
4336
|
bridge: BridgeState;
|
|
@@ -2685,76 +4345,114 @@ declare const selectMemoryById: (state: {
|
|
|
2685
4345
|
declare const selectAllMemories: (state: {
|
|
2686
4346
|
[x: string]: /*elided*/ any;
|
|
2687
4347
|
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
4348
|
+
getCortexModels: _reduxjs_toolkit_query.QueryDefinition<{
|
|
4349
|
+
apiUrl: string;
|
|
4350
|
+
apiKey?: string;
|
|
4351
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexModelInfo[], "forbocApi", unknown>;
|
|
4352
|
+
postCortexInit: _reduxjs_toolkit_query.MutationDefinition<{
|
|
4353
|
+
request: {
|
|
4354
|
+
requestedModel: string;
|
|
4355
|
+
authKey?: string;
|
|
4356
|
+
};
|
|
4357
|
+
apiUrl: string;
|
|
4358
|
+
apiKey?: string;
|
|
4359
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", CortexInitResponse, "forbocApi", unknown>;
|
|
2688
4360
|
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2689
4361
|
npcId: string;
|
|
2690
4362
|
request: DirectiveRequest;
|
|
2691
4363
|
apiUrl: string;
|
|
2692
4364
|
apiKey?: string;
|
|
2693
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveResponse, "forbocApi", unknown>;
|
|
4365
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveResponse, "forbocApi", unknown>;
|
|
2694
4366
|
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2695
4367
|
npcId: string;
|
|
2696
4368
|
request: ContextRequest;
|
|
2697
4369
|
apiUrl: string;
|
|
2698
4370
|
apiKey?: string;
|
|
2699
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ContextResponse, "forbocApi", unknown>;
|
|
4371
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ContextResponse, "forbocApi", unknown>;
|
|
2700
4372
|
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2701
4373
|
npcId: string;
|
|
2702
4374
|
request: VerdictRequest;
|
|
2703
4375
|
apiUrl: string;
|
|
2704
4376
|
apiKey?: string;
|
|
2705
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", VerdictResponse, "forbocApi", unknown>;
|
|
2706
|
-
|
|
4377
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", VerdictResponse, "forbocApi", unknown>;
|
|
4378
|
+
postMemoryStore: _reduxjs_toolkit_query.MutationDefinition<{
|
|
4379
|
+
npcId: string;
|
|
4380
|
+
request: {
|
|
4381
|
+
observation: string;
|
|
4382
|
+
importance?: number;
|
|
4383
|
+
};
|
|
4384
|
+
apiUrl: string;
|
|
4385
|
+
apiKey?: string;
|
|
4386
|
+
}, _reduxjs_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>;
|
|
4387
|
+
getMemoryList: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2707
4388
|
npcId: string;
|
|
2708
|
-
request: SpeakRequest;
|
|
2709
4389
|
apiUrl: string;
|
|
2710
4390
|
apiKey?: string;
|
|
2711
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
2712
|
-
|
|
4391
|
+
}, _reduxjs_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>;
|
|
4392
|
+
postMemoryRecall: _reduxjs_toolkit_query.MutationDefinition<{
|
|
4393
|
+
npcId: string;
|
|
4394
|
+
request: {
|
|
4395
|
+
query: string;
|
|
4396
|
+
similarity?: number;
|
|
4397
|
+
};
|
|
4398
|
+
apiUrl: string;
|
|
4399
|
+
apiKey?: string;
|
|
4400
|
+
}, _reduxjs_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>;
|
|
4401
|
+
deleteMemoryClear: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2713
4402
|
npcId: string;
|
|
2714
|
-
request: DialogueRequest;
|
|
2715
4403
|
apiUrl: string;
|
|
2716
4404
|
apiKey?: string;
|
|
2717
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge",
|
|
4405
|
+
}, _reduxjs_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>;
|
|
2718
4406
|
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2719
4407
|
request: {
|
|
2720
4408
|
testSuite: string;
|
|
2721
4409
|
duration: number;
|
|
2722
4410
|
};
|
|
2723
4411
|
apiUrl: string;
|
|
2724
|
-
|
|
4412
|
+
apiKey?: string;
|
|
4413
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", GhostRunResponse, "forbocApi", unknown>;
|
|
2725
4414
|
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2726
4415
|
sessionId: string;
|
|
2727
4416
|
apiUrl: string;
|
|
2728
|
-
|
|
4417
|
+
apiKey?: string;
|
|
4418
|
+
}, _reduxjs_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>;
|
|
2729
4419
|
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2730
4420
|
sessionId: string;
|
|
2731
4421
|
apiUrl: string;
|
|
2732
|
-
|
|
4422
|
+
apiKey?: string;
|
|
4423
|
+
}, _reduxjs_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>;
|
|
2733
4424
|
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2734
4425
|
sessionId: string;
|
|
2735
4426
|
apiUrl: string;
|
|
2736
|
-
|
|
4427
|
+
apiKey?: string;
|
|
4428
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2737
4429
|
stopped: boolean;
|
|
4430
|
+
stopStatus?: string;
|
|
4431
|
+
stopSessionId?: string;
|
|
2738
4432
|
}, "forbocApi", unknown>;
|
|
2739
4433
|
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2740
4434
|
limit: number;
|
|
2741
4435
|
apiUrl: string;
|
|
2742
|
-
|
|
4436
|
+
apiKey?: string;
|
|
4437
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2743
4438
|
sessions: any[];
|
|
2744
4439
|
}, "forbocApi", unknown>;
|
|
2745
4440
|
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2746
4441
|
npcId: string;
|
|
2747
4442
|
request: any;
|
|
2748
4443
|
apiUrl: string;
|
|
2749
|
-
|
|
4444
|
+
apiKey?: string;
|
|
4445
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulExportResponse, "forbocApi", unknown>;
|
|
2750
4446
|
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2751
4447
|
txId: string;
|
|
2752
4448
|
apiUrl: string;
|
|
2753
|
-
|
|
4449
|
+
apiKey?: string;
|
|
4450
|
+
}, _reduxjs_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>;
|
|
2754
4451
|
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2755
4452
|
limit: number;
|
|
2756
4453
|
apiUrl: string;
|
|
2757
|
-
|
|
4454
|
+
apiKey?: string;
|
|
4455
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulListResponse, "forbocApi", unknown>;
|
|
2758
4456
|
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2759
4457
|
request: {
|
|
2760
4458
|
action: NPCAction;
|
|
@@ -2762,27 +4460,62 @@ declare const selectAllMemories: (state: {
|
|
|
2762
4460
|
};
|
|
2763
4461
|
npcId?: string;
|
|
2764
4462
|
apiUrl: string;
|
|
2765
|
-
|
|
4463
|
+
apiKey?: string;
|
|
4464
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ValidationResult, "forbocApi", unknown>;
|
|
2766
4465
|
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2767
4466
|
apiUrl: string;
|
|
2768
|
-
|
|
4467
|
+
apiKey?: string;
|
|
4468
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", BridgeRule[], "forbocApi", unknown>;
|
|
2769
4469
|
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2770
4470
|
presetName: string;
|
|
2771
4471
|
apiUrl: string;
|
|
2772
|
-
|
|
4472
|
+
apiKey?: string;
|
|
4473
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
4474
|
+
getRulesets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
4475
|
+
apiUrl: string;
|
|
4476
|
+
apiKey?: string;
|
|
4477
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
4478
|
+
getRulePresets: _reduxjs_toolkit_query.QueryDefinition<{
|
|
4479
|
+
apiUrl: string;
|
|
4480
|
+
apiKey?: string;
|
|
4481
|
+
}, _reduxjs_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>;
|
|
4482
|
+
postRuleRegister: _reduxjs_toolkit_query.MutationDefinition<{
|
|
4483
|
+
request: DirectiveRuleSet;
|
|
4484
|
+
apiUrl: string;
|
|
4485
|
+
apiKey?: string;
|
|
4486
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", DirectiveRuleSet, "forbocApi", unknown>;
|
|
4487
|
+
deleteRule: _reduxjs_toolkit_query.MutationDefinition<{
|
|
4488
|
+
rulesetId: string;
|
|
4489
|
+
apiUrl: string;
|
|
4490
|
+
apiKey?: string;
|
|
4491
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
4492
|
+
deleted: boolean;
|
|
4493
|
+
}, "forbocApi", unknown>;
|
|
4494
|
+
postSoulVerify: _reduxjs_toolkit_query.MutationDefinition<{
|
|
4495
|
+
txId: string;
|
|
4496
|
+
apiUrl: string;
|
|
4497
|
+
apiKey?: string;
|
|
4498
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", SoulVerifyResult, "forbocApi", unknown>;
|
|
4499
|
+
postNpcImport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
4500
|
+
request: {
|
|
4501
|
+
txIdRef: string;
|
|
4502
|
+
};
|
|
4503
|
+
apiUrl: string;
|
|
4504
|
+
apiKey?: string;
|
|
4505
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ImportedNpc, "forbocApi", unknown>;
|
|
2773
4506
|
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2774
4507
|
cortexId: string;
|
|
2775
4508
|
prompt: string;
|
|
2776
4509
|
options?: any;
|
|
2777
4510
|
apiUrl: string;
|
|
2778
4511
|
apiKey?: string;
|
|
2779
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
4512
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", {
|
|
2780
4513
|
text: string;
|
|
2781
4514
|
}, "forbocApi", unknown>;
|
|
2782
4515
|
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2783
4516
|
apiUrl: string;
|
|
2784
|
-
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ApiStatusResponse, "forbocApi", unknown>;
|
|
2785
|
-
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
4517
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", ApiStatusResponse, "forbocApi", unknown>;
|
|
4518
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge" | "Rule", "forbocApi">;
|
|
2786
4519
|
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
2787
4520
|
activeNpcId: string;
|
|
2788
4521
|
};
|
|
@@ -2793,10 +4526,18 @@ declare const selectAllMemories: (state: {
|
|
|
2793
4526
|
error: string | null;
|
|
2794
4527
|
lastRecalledIds: string[];
|
|
2795
4528
|
};
|
|
4529
|
+
directive: _reduxjs_toolkit.EntityState<DirectiveRun, string> & {
|
|
4530
|
+
activeDirectiveId: string;
|
|
4531
|
+
};
|
|
2796
4532
|
ghost: GhostState;
|
|
2797
4533
|
soul: SoulState;
|
|
2798
4534
|
bridge: BridgeState;
|
|
2799
4535
|
}) => MemoryItem[];
|
|
4536
|
+
/**
|
|
4537
|
+
* User Story: As recall-result consumers, I need a selector that resolves the
|
|
4538
|
+
* last recalled memory ids into entities for immediate post-recall rendering.
|
|
4539
|
+
* Missing entities are filtered out to keep callers null-safe.
|
|
4540
|
+
*/
|
|
2800
4541
|
declare const selectLastRecalledMemories: (state: SDKState) => MemoryItem[];
|
|
2801
4542
|
|
|
2802
4543
|
interface ProcessArgs {
|
|
@@ -2810,6 +4551,19 @@ interface ProcessArgs {
|
|
|
2810
4551
|
persona?: string;
|
|
2811
4552
|
}
|
|
2812
4553
|
declare const processNPC: _reduxjs_toolkit.AsyncThunk<AgentResponse, ProcessArgs, {
|
|
4554
|
+
state: SDKState;
|
|
4555
|
+
dispatch: SDKDispatch;
|
|
4556
|
+
rejectValue: string;
|
|
4557
|
+
extra?: unknown;
|
|
4558
|
+
serializedErrorType?: unknown;
|
|
4559
|
+
pendingMeta?: unknown;
|
|
4560
|
+
fulfilledMeta?: unknown;
|
|
4561
|
+
rejectedMeta?: unknown;
|
|
4562
|
+
}>;
|
|
4563
|
+
declare const localExportSoulThunk: _reduxjs_toolkit.AsyncThunk<Soul, {
|
|
4564
|
+
id?: string;
|
|
4565
|
+
memory?: IMemory | null;
|
|
4566
|
+
}, {
|
|
2813
4567
|
state: SDKState;
|
|
2814
4568
|
dispatch: SDKDispatch;
|
|
2815
4569
|
extra?: unknown;
|
|
@@ -2819,50 +4573,76 @@ declare const processNPC: _reduxjs_toolkit.AsyncThunk<AgentResponse, ProcessArgs
|
|
|
2819
4573
|
fulfilledMeta?: unknown;
|
|
2820
4574
|
rejectedMeta?: unknown;
|
|
2821
4575
|
}>;
|
|
2822
|
-
declare const
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
4576
|
+
declare const checkApiStatusThunk: _reduxjs_toolkit.AsyncThunk<ApiStatusResponse, {
|
|
4577
|
+
apiUrl: string;
|
|
4578
|
+
}, {
|
|
4579
|
+
dispatch: SDKDispatch;
|
|
4580
|
+
rejectValue: string;
|
|
4581
|
+
extra?: unknown;
|
|
4582
|
+
state?: unknown;
|
|
4583
|
+
serializedErrorType?: unknown;
|
|
4584
|
+
pendingMeta?: unknown;
|
|
4585
|
+
fulfilledMeta?: unknown;
|
|
4586
|
+
rejectedMeta?: unknown;
|
|
4587
|
+
}>;
|
|
4588
|
+
declare const listMemoryRemoteThunk: _reduxjs_toolkit.AsyncThunk<any[], {
|
|
4589
|
+
npcId: string;
|
|
2826
4590
|
apiUrl: string;
|
|
2827
4591
|
apiKey?: string;
|
|
2828
4592
|
}, {
|
|
2829
|
-
state: SDKState;
|
|
2830
4593
|
dispatch: SDKDispatch;
|
|
4594
|
+
rejectValue: string;
|
|
2831
4595
|
extra?: unknown;
|
|
2832
|
-
|
|
4596
|
+
state?: unknown;
|
|
2833
4597
|
serializedErrorType?: unknown;
|
|
2834
4598
|
pendingMeta?: unknown;
|
|
2835
4599
|
fulfilledMeta?: unknown;
|
|
2836
4600
|
rejectedMeta?: unknown;
|
|
2837
4601
|
}>;
|
|
2838
|
-
declare const
|
|
2839
|
-
npcId
|
|
2840
|
-
|
|
2841
|
-
context?: Array<[string, string]>;
|
|
4602
|
+
declare const recallMemoryRemoteThunk: _reduxjs_toolkit.AsyncThunk<any[], {
|
|
4603
|
+
npcId: string;
|
|
4604
|
+
query: string;
|
|
2842
4605
|
apiUrl: string;
|
|
2843
4606
|
apiKey?: string;
|
|
2844
4607
|
}, {
|
|
2845
|
-
state: SDKState;
|
|
2846
4608
|
dispatch: SDKDispatch;
|
|
4609
|
+
rejectValue: string;
|
|
2847
4610
|
extra?: unknown;
|
|
2848
|
-
|
|
4611
|
+
state?: unknown;
|
|
2849
4612
|
serializedErrorType?: unknown;
|
|
2850
4613
|
pendingMeta?: unknown;
|
|
2851
4614
|
fulfilledMeta?: unknown;
|
|
2852
4615
|
rejectedMeta?: unknown;
|
|
2853
4616
|
}>;
|
|
2854
|
-
declare const
|
|
2855
|
-
|
|
2856
|
-
|
|
4617
|
+
declare const storeMemoryRemoteThunk: _reduxjs_toolkit.AsyncThunk<any, {
|
|
4618
|
+
npcId: string;
|
|
4619
|
+
observation: string;
|
|
4620
|
+
importance?: number;
|
|
4621
|
+
apiUrl: string;
|
|
4622
|
+
apiKey?: string;
|
|
2857
4623
|
}, {
|
|
2858
|
-
state: SDKState;
|
|
2859
4624
|
dispatch: SDKDispatch;
|
|
4625
|
+
rejectValue: string;
|
|
2860
4626
|
extra?: unknown;
|
|
2861
|
-
|
|
4627
|
+
state?: unknown;
|
|
4628
|
+
serializedErrorType?: unknown;
|
|
4629
|
+
pendingMeta?: unknown;
|
|
4630
|
+
fulfilledMeta?: unknown;
|
|
4631
|
+
rejectedMeta?: unknown;
|
|
4632
|
+
}>;
|
|
4633
|
+
declare const clearMemoryRemoteThunk: _reduxjs_toolkit.AsyncThunk<any, {
|
|
4634
|
+
npcId: string;
|
|
4635
|
+
apiUrl: string;
|
|
4636
|
+
apiKey?: string;
|
|
4637
|
+
}, {
|
|
4638
|
+
dispatch: SDKDispatch;
|
|
4639
|
+
rejectValue: string;
|
|
4640
|
+
extra?: unknown;
|
|
4641
|
+
state?: unknown;
|
|
2862
4642
|
serializedErrorType?: unknown;
|
|
2863
4643
|
pendingMeta?: unknown;
|
|
2864
4644
|
fulfilledMeta?: unknown;
|
|
2865
4645
|
rejectedMeta?: unknown;
|
|
2866
4646
|
}>;
|
|
2867
4647
|
|
|
2868
|
-
export { type AgentConfig, type AgentResponse, type ApiStatusResponse, type BridgeRule, type BridgeState, type CompletionOptions, type ContextRequest, type ContextResponse, type CortexConfig, type
|
|
4648
|
+
export { type AgentConfig, type AgentResponse, type ApiStatusResponse, type BridgeRule, type BridgeState, type CompletionOptions, type ContextRequest, type ContextResponse, type CortexConfig, type CortexInitResponse, type CortexInternalState, type CortexModelInfo, type CortexStatus, type DirectiveRequest, type DirectiveResponse, type DirectiveRuleSet, type DirectiveRun, type GhostConfig, type GhostHistoryEntry, type GhostResults, type GhostRunResponse, type GhostState, type GhostStatus, type ICortex, type IMemory, type INPC, type ImportedNpc, type MemoryItem, type MemoryRecallInstruction, type MemoryStoreInstruction, type NPCAction, type NPCInternalState, type NPCState, type PromptConstraints, type RecalledMemory, type SDKDispatch, type SDKState, type SDKStore, SDK_VERSION, type Soul, type SoulConfig, type SoulExportResponse, type SoulExportResult, type SoulListResponse, type SoulState, type SoulVerifyResult, type ValidationContext, type ValidationResult, type ValidationRule, type VerdictRequest, type VerdictResponse, addToHistory, blockAction, bridgeSlice, checkApiStatusThunk, clearBlock, clearBridgeValidation, clearDirectivesForNpc, clearGhostSession, clearMemoryRemoteThunk, clearSoulState, completeRemoteThunk, contextComposed, cortexInitFailed, cortexInitStart, cortexInitSuccess, cortexSlice, createInitialState, createSDKStore, delay, deleteRulesetThunk, directiveReceived, directiveRunFailed, directiveRunStarted, directiveSlice, dispatch, exportToSoul, generateNPCId, getBridgeRulesThunk, getGhostHistoryThunk, getGhostResultsThunk, getGhostStatusThunk, getSoulListThunk, ghostSlice, importNpcFromSoulThunk, importSoulFromArweaveThunk, initRemoteCortexThunk, listCortexModelsThunk, listMemoryRemoteThunk, listRulePresetsThunk, listRulesetsThunk, loadBridgePresetThunk, localExportSoulThunk, memoise, memoiseAsync, memoryClear, memoryRecallFailed, memoryRecallStart, memoryRecallSuccess, memorySlice, memoryStoreFailed, memoryStoreStart, memoryStoreSuccess, npcSlice, pipe, processNPC, recallMemoryRemoteThunk, registerRulesetThunk, remoteExportSoulThunk, removeNPC, sdkApi, selectActiveDirective, selectActiveDirectiveId, selectActiveNPC, selectActiveNpcId, selectAllDirectives, selectAllMemories, selectAllNPCs, selectDirectiveById, selectLastRecalledMemories, selectMemoryById, selectNPCById, selectNPCEntities, selectNPCIds, selectTotalNPCs, setActiveNPC, setCortexStatus, setHistory, setLastAction, setNPCInfo, setNPCState, soulSlice, startGhostThunk, stopGhostThunk, store, storeMemoryRemoteThunk, streamFromCortex, streamFromCortexWithDelay, streamToCallback, streamToString, updateNPCState, updateNPCStateLocally, validateBridgeThunk, verdictValidated, verifySoulThunk };
|