@forbocai/core 0.5.8 → 0.6.0
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/chunk-63XJCSA3.mjs +339 -0
- package/dist/chunk-7WQWFGMJ.mjs +86 -0
- package/dist/chunk-EBFSO6HV.mjs +405 -0
- package/dist/chunk-ZO4M6UZR.mjs +86 -0
- package/dist/index.d.mts +2591 -205
- package/dist/index.d.ts +2591 -205
- package/dist/index.js +986 -443
- package/dist/index.mjs +923 -336
- package/dist/soul-7QZCL5UQ.mjs +20 -0
- package/dist/soul-EZ63WTVO.mjs +20 -0
- package/dist/soul-M4EWGY27.mjs +20 -0
- package/dist/soul-VFSUQDAD.mjs +20 -0
- package/package.json +5 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
2
|
+
import { PayloadAction, ReducersMapObject } from '@reduxjs/toolkit';
|
|
3
|
+
import * as redux_thunk from 'redux-thunk';
|
|
4
|
+
import * as redux from 'redux';
|
|
5
|
+
import * as _reduxjs_toolkit_query from '@reduxjs/toolkit/query';
|
|
6
|
+
|
|
1
7
|
/**
|
|
2
8
|
* ForbocAI Core Types
|
|
3
9
|
* The foundational interfaces for the Multi-Round Protocol.
|
|
@@ -30,10 +36,10 @@ interface CompletionOptions {
|
|
|
30
36
|
stop?: string[];
|
|
31
37
|
jsonSchema?: object;
|
|
32
38
|
}
|
|
33
|
-
interface
|
|
39
|
+
interface NPCState {
|
|
34
40
|
[key: string]: unknown;
|
|
35
41
|
}
|
|
36
|
-
/** Interface for Memory module operations used by the
|
|
42
|
+
/** Interface for Memory module operations used by the NPC. */
|
|
37
43
|
interface IMemory {
|
|
38
44
|
store(text: string, type?: string, importance?: number): Promise<MemoryItem>;
|
|
39
45
|
recall(query: string, limit?: number, threshold?: number): Promise<MemoryItem[]>;
|
|
@@ -47,13 +53,13 @@ interface AgentConfig {
|
|
|
47
53
|
cortex: ICortex;
|
|
48
54
|
memory: IMemory | null;
|
|
49
55
|
persona: string;
|
|
50
|
-
initialState?: Partial<
|
|
56
|
+
initialState?: Partial<NPCState>;
|
|
51
57
|
apiUrl?: string;
|
|
52
58
|
apiKey?: string;
|
|
53
59
|
}
|
|
54
60
|
interface AgentResponse {
|
|
55
61
|
dialogue: string;
|
|
56
|
-
action?:
|
|
62
|
+
action?: NPCAction;
|
|
57
63
|
thought?: string;
|
|
58
64
|
}
|
|
59
65
|
/** Dialogue Request (Full API-side logic) */
|
|
@@ -73,7 +79,7 @@ interface MemoryItem {
|
|
|
73
79
|
type: string;
|
|
74
80
|
importance: number;
|
|
75
81
|
}
|
|
76
|
-
interface
|
|
82
|
+
interface NPCAction {
|
|
77
83
|
type: string;
|
|
78
84
|
target?: string;
|
|
79
85
|
payload?: Record<string, unknown>;
|
|
@@ -81,10 +87,10 @@ interface AgentAction {
|
|
|
81
87
|
confidence?: number;
|
|
82
88
|
signature?: string;
|
|
83
89
|
}
|
|
84
|
-
/** Step 2: SDK → API. SDK sends observation +
|
|
90
|
+
/** Step 2: SDK → API. SDK sends observation + npc state. */
|
|
85
91
|
interface DirectiveRequest {
|
|
86
92
|
observation: string;
|
|
87
|
-
|
|
93
|
+
npcState: NPCState;
|
|
88
94
|
context?: Record<string, unknown>;
|
|
89
95
|
}
|
|
90
96
|
/** Step 3: API → SDK. API returns memory recall instructions. */
|
|
@@ -101,7 +107,8 @@ interface MemoryRecallInstruction {
|
|
|
101
107
|
interface ContextRequest {
|
|
102
108
|
memories: RecalledMemory[];
|
|
103
109
|
observation: string;
|
|
104
|
-
|
|
110
|
+
npcState: NPCState;
|
|
111
|
+
persona: string;
|
|
105
112
|
}
|
|
106
113
|
/** A memory item as recalled by the SDK's local vector DB. */
|
|
107
114
|
interface RecalledMemory {
|
|
@@ -114,7 +121,7 @@ interface RecalledMemory {
|
|
|
114
121
|
interface SpeakRequest {
|
|
115
122
|
speakMessage: string;
|
|
116
123
|
speakContext?: Record<string, unknown>;
|
|
117
|
-
|
|
124
|
+
speakNPCState: Record<string, unknown>;
|
|
118
125
|
}
|
|
119
126
|
/** Speak Response (Simple Dialogue) */
|
|
120
127
|
interface SpeakResponse {
|
|
@@ -140,7 +147,7 @@ interface PromptConstraints {
|
|
|
140
147
|
interface VerdictRequest {
|
|
141
148
|
generatedOutput: string;
|
|
142
149
|
observation: string;
|
|
143
|
-
|
|
150
|
+
npcState: NPCState;
|
|
144
151
|
}
|
|
145
152
|
/** Step 8: API → SDK. API returns verdict + storage/state instructions. */
|
|
146
153
|
interface VerdictResponse {
|
|
@@ -148,7 +155,8 @@ interface VerdictResponse {
|
|
|
148
155
|
signature?: string;
|
|
149
156
|
memoryStore: MemoryStoreInstruction[];
|
|
150
157
|
stateDelta: Record<string, unknown>;
|
|
151
|
-
action?:
|
|
158
|
+
action?: NPCAction;
|
|
159
|
+
dialogue: string;
|
|
152
160
|
}
|
|
153
161
|
/** API tells SDK exactly what to store in local vector DB. */
|
|
154
162
|
interface MemoryStoreInstruction {
|
|
@@ -157,14 +165,14 @@ interface MemoryStoreInstruction {
|
|
|
157
165
|
importance: number;
|
|
158
166
|
}
|
|
159
167
|
interface ValidationContext {
|
|
160
|
-
|
|
168
|
+
npcState?: Record<string, unknown>;
|
|
161
169
|
worldState?: Record<string, unknown>;
|
|
162
170
|
constraints?: Record<string, unknown>;
|
|
163
171
|
}
|
|
164
172
|
interface ValidationResult {
|
|
165
173
|
valid: boolean;
|
|
166
174
|
reason?: string;
|
|
167
|
-
correctedAction?:
|
|
175
|
+
correctedAction?: NPCAction;
|
|
168
176
|
}
|
|
169
177
|
interface BridgeRule {
|
|
170
178
|
ruleName: string;
|
|
@@ -172,9 +180,48 @@ interface BridgeRule {
|
|
|
172
180
|
ruleActionTypes: string[];
|
|
173
181
|
}
|
|
174
182
|
interface DirectiveRuleSet {
|
|
183
|
+
id: string;
|
|
175
184
|
rulesetId: string;
|
|
176
185
|
rulesetRules: BridgeRule[];
|
|
177
186
|
}
|
|
187
|
+
interface GhostConfig {
|
|
188
|
+
testSuite: string;
|
|
189
|
+
duration?: number;
|
|
190
|
+
apiUrl?: string;
|
|
191
|
+
}
|
|
192
|
+
interface GhostStatus {
|
|
193
|
+
sessionId: string;
|
|
194
|
+
status: 'pending' | 'running' | 'completed' | 'failed';
|
|
195
|
+
progress: number;
|
|
196
|
+
startedAt?: number;
|
|
197
|
+
duration?: number;
|
|
198
|
+
errors?: string[];
|
|
199
|
+
}
|
|
200
|
+
interface GhostResults {
|
|
201
|
+
sessionId: string;
|
|
202
|
+
totalTests: number;
|
|
203
|
+
passed: number;
|
|
204
|
+
failed: number;
|
|
205
|
+
skipped: number;
|
|
206
|
+
duration: number;
|
|
207
|
+
tests: Array<{
|
|
208
|
+
name: string;
|
|
209
|
+
passed: boolean;
|
|
210
|
+
duration: number;
|
|
211
|
+
error?: string;
|
|
212
|
+
screenshot?: string;
|
|
213
|
+
}>;
|
|
214
|
+
coverage?: Record<string, number>;
|
|
215
|
+
metrics?: Record<string, number>;
|
|
216
|
+
}
|
|
217
|
+
interface GhostHistoryEntry {
|
|
218
|
+
sessionId: string;
|
|
219
|
+
testSuite: string;
|
|
220
|
+
startedAt: number;
|
|
221
|
+
completedAt?: number;
|
|
222
|
+
status: string;
|
|
223
|
+
passRate: number;
|
|
224
|
+
}
|
|
178
225
|
/**
|
|
179
226
|
* @deprecated Use BridgeRule for data-only rules.
|
|
180
227
|
* Local validation execution is no longer supported in the SDK ("API is The Law").
|
|
@@ -188,7 +235,7 @@ interface Soul {
|
|
|
188
235
|
name: string;
|
|
189
236
|
persona: string;
|
|
190
237
|
memories: MemoryItem[];
|
|
191
|
-
state:
|
|
238
|
+
state: NPCState;
|
|
192
239
|
signature?: string;
|
|
193
240
|
}
|
|
194
241
|
/**
|
|
@@ -199,233 +246,2026 @@ interface SoulConfig {
|
|
|
199
246
|
gatewayUrl?: string;
|
|
200
247
|
}
|
|
201
248
|
/**
|
|
202
|
-
* Soul export
|
|
249
|
+
* Soul export response from API
|
|
203
250
|
*/
|
|
204
|
-
interface
|
|
251
|
+
interface SoulExportResponse {
|
|
205
252
|
txId: string;
|
|
206
|
-
|
|
253
|
+
arweaveUrl: string;
|
|
254
|
+
signature: string;
|
|
207
255
|
soul: Soul;
|
|
208
256
|
}
|
|
209
|
-
|
|
210
257
|
/**
|
|
211
|
-
*
|
|
258
|
+
* Soul export result for the SDK
|
|
212
259
|
*/
|
|
213
|
-
interface
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
getState(): AgentState;
|
|
218
|
-
setState(newState: AgentState): void;
|
|
219
|
-
dialogue(message: string, context?: Array<[string, string]>): Promise<string>;
|
|
220
|
-
export(): Promise<Soul>;
|
|
221
|
-
exportSoul(config?: SoulConfig): Promise<SoulExportResult>;
|
|
260
|
+
interface SoulExportResult {
|
|
261
|
+
txId: string;
|
|
262
|
+
url: string;
|
|
263
|
+
soul: Soul;
|
|
222
264
|
}
|
|
223
265
|
/**
|
|
224
|
-
*
|
|
225
|
-
*/
|
|
226
|
-
declare const createInitialState: (partial?: Partial<AgentState>) => AgentState;
|
|
227
|
-
/**
|
|
228
|
-
* Pure function to update agent state
|
|
229
|
-
*/
|
|
230
|
-
declare const updateAgentState: (currentState: AgentState, updates: Partial<AgentState>) => AgentState;
|
|
231
|
-
/**
|
|
232
|
-
* Pure function to export agent to Soul
|
|
233
|
-
*/
|
|
234
|
-
declare const exportToSoul: (agentId: string, name: string, persona: string, state: AgentState, memories: MemoryItem[]) => Soul;
|
|
235
|
-
/**
|
|
236
|
-
* Factory function to create Agent (Functional/Closure based)
|
|
266
|
+
* Soul list response from API
|
|
237
267
|
*/
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
*/
|
|
247
|
-
interface BridgeConfig {
|
|
248
|
-
apiUrl?: string;
|
|
249
|
-
agentId?: string;
|
|
268
|
+
interface SoulListResponse {
|
|
269
|
+
souls: Array<{
|
|
270
|
+
txId: string;
|
|
271
|
+
name: string;
|
|
272
|
+
agentId?: string;
|
|
273
|
+
exportedAt: string;
|
|
274
|
+
arweaveUrl: string;
|
|
275
|
+
}>;
|
|
250
276
|
}
|
|
251
277
|
/**
|
|
252
|
-
*
|
|
278
|
+
* System status response from API
|
|
253
279
|
*/
|
|
254
|
-
interface
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
* If agentId is provided in config, uses agent-scoped validation.
|
|
258
|
-
*/
|
|
259
|
-
validate(action: AgentAction, context?: ValidationContext): Promise<ValidationResult>;
|
|
260
|
-
/**
|
|
261
|
-
* List all rulesets currently registered on the API.
|
|
262
|
-
*/
|
|
263
|
-
listRulesets(): Promise<DirectiveRuleSet[]>;
|
|
280
|
+
interface ApiStatusResponse {
|
|
281
|
+
status: string;
|
|
282
|
+
version: string;
|
|
264
283
|
}
|
|
265
284
|
/**
|
|
266
|
-
*
|
|
267
|
-
* All validation logic now resides on the server ("API is The Law").
|
|
268
|
-
*/
|
|
269
|
-
declare const createBridge: (config?: BridgeConfig) => IBridge;
|
|
270
|
-
/**
|
|
271
|
-
* Standalone validation helper (deprecated locally, calls API)
|
|
272
|
-
* @deprecated Use createBridge(config).validate(action, context)
|
|
273
|
-
*/
|
|
274
|
-
declare const validateAction: (action: AgentAction, context?: ValidationContext, config?: BridgeConfig) => Promise<ValidationResult>;
|
|
275
|
-
/**
|
|
276
|
-
* Register a server-side rule preset for an agent session.
|
|
285
|
+
* Ghost run response from API
|
|
277
286
|
*/
|
|
278
|
-
|
|
287
|
+
interface GhostRunResponse {
|
|
288
|
+
sessionId: string;
|
|
289
|
+
runStatus: string;
|
|
290
|
+
}
|
|
279
291
|
|
|
280
292
|
/**
|
|
281
|
-
* Interface for
|
|
293
|
+
* Interface for NPC operations (Deprecated - Use Redux Thunks directly)
|
|
282
294
|
*/
|
|
283
|
-
interface
|
|
284
|
-
|
|
285
|
-
|
|
295
|
+
interface INPC {
|
|
296
|
+
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
|
+
getState(): NPCState;
|
|
300
|
+
setState(newState: NPCState): void;
|
|
301
|
+
dialogue(message: string, context?: Array<[string, string]>): Promise<string>;
|
|
302
|
+
export(): Promise<Soul>;
|
|
286
303
|
}
|
|
287
304
|
/**
|
|
288
|
-
* Pure function to create
|
|
289
|
-
*/
|
|
290
|
-
declare const createSoul: (id: string, name: string, persona: string, state: AgentState, memories?: MemoryItem[]) => Soul;
|
|
291
|
-
/**
|
|
292
|
-
* Pure function to serialize Soul to JSON string
|
|
293
|
-
*/
|
|
294
|
-
declare const serializeSoul: (soul: Soul) => string;
|
|
295
|
-
/**
|
|
296
|
-
* Pure function to deserialize Soul from JSON string
|
|
297
|
-
*/
|
|
298
|
-
declare const deserializeSoul: (json: string) => Soul;
|
|
299
|
-
/**
|
|
300
|
-
* Export agent Soul to Arweave via API
|
|
305
|
+
* Pure function to create initial npc state
|
|
301
306
|
*/
|
|
302
|
-
declare const
|
|
303
|
-
config?: SoulConfig) => Promise<SoulExportResult>;
|
|
307
|
+
declare const createInitialState: (partial?: Partial<NPCState>) => NPCState;
|
|
304
308
|
/**
|
|
305
|
-
*
|
|
309
|
+
* Pure function to update npc state (Local Utility)
|
|
306
310
|
*/
|
|
307
|
-
declare const
|
|
311
|
+
declare const updateNPCStateLocally: (currentState: NPCState, updates: Partial<NPCState>) => NPCState;
|
|
308
312
|
/**
|
|
309
|
-
*
|
|
313
|
+
* Pure function to export npc to Soul
|
|
310
314
|
*/
|
|
311
|
-
declare const
|
|
312
|
-
/**
|
|
313
|
-
* Factory function to create Soul instance
|
|
314
|
-
*/
|
|
315
|
-
declare const createSoulInstance: (id: string, name: string, persona: string, state: AgentState, memories?: MemoryItem[]) => ISoul;
|
|
316
|
-
/**
|
|
317
|
-
* Pure function to validate a Soul object
|
|
318
|
-
*/
|
|
319
|
-
declare const validateSoul: (soul: Soul) => {
|
|
320
|
-
valid: boolean;
|
|
321
|
-
errors: string[];
|
|
322
|
-
};
|
|
315
|
+
declare const exportToSoul: (npcId: string, name: string, persona: string, state: NPCState, memories: MemoryItem[]) => Soul;
|
|
323
316
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
testSuite: 'exploration' | 'combat' | 'dialogue' | 'pathfinding' | 'full';
|
|
330
|
-
duration: number;
|
|
331
|
-
captureScreenshots?: boolean;
|
|
332
|
-
params?: Record<string, unknown>;
|
|
317
|
+
interface BridgeState {
|
|
318
|
+
activePresets: DirectiveRuleSet[];
|
|
319
|
+
lastValidation: ValidationResult | null;
|
|
320
|
+
status: 'idle' | 'validating' | 'loading_preset' | 'error';
|
|
321
|
+
error: string | null;
|
|
333
322
|
}
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
323
|
+
declare const validateBridgeThunk: _reduxjs_toolkit.AsyncThunk<ValidationResult, {
|
|
324
|
+
action: NPCAction;
|
|
325
|
+
context: ValidationContext;
|
|
326
|
+
npcId?: string;
|
|
327
|
+
apiUrl?: string;
|
|
328
|
+
}, {
|
|
329
|
+
rejectValue: string;
|
|
330
|
+
extra?: unknown;
|
|
331
|
+
state?: unknown;
|
|
332
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
333
|
+
serializedErrorType?: unknown;
|
|
334
|
+
pendingMeta?: unknown;
|
|
335
|
+
fulfilledMeta?: unknown;
|
|
336
|
+
rejectedMeta?: unknown;
|
|
337
|
+
}>;
|
|
338
|
+
declare const loadBridgePresetThunk: _reduxjs_toolkit.AsyncThunk<DirectiveRuleSet, {
|
|
339
|
+
presetName: string;
|
|
340
|
+
apiUrl?: string;
|
|
341
|
+
}, {
|
|
342
|
+
rejectValue: string;
|
|
343
|
+
extra?: unknown;
|
|
344
|
+
state?: unknown;
|
|
345
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
346
|
+
serializedErrorType?: unknown;
|
|
347
|
+
pendingMeta?: unknown;
|
|
348
|
+
fulfilledMeta?: unknown;
|
|
349
|
+
rejectedMeta?: unknown;
|
|
350
|
+
}>;
|
|
351
|
+
declare const getBridgeRulesThunk: _reduxjs_toolkit.AsyncThunk<DirectiveRuleSet[], {
|
|
352
|
+
apiUrl?: string;
|
|
353
|
+
}, {
|
|
354
|
+
rejectValue: string;
|
|
355
|
+
extra?: unknown;
|
|
356
|
+
state?: unknown;
|
|
357
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
358
|
+
serializedErrorType?: unknown;
|
|
359
|
+
pendingMeta?: unknown;
|
|
360
|
+
fulfilledMeta?: unknown;
|
|
361
|
+
rejectedMeta?: unknown;
|
|
362
|
+
}>;
|
|
363
|
+
declare const bridgeSlice: _reduxjs_toolkit.Slice<BridgeState, {
|
|
364
|
+
clearBridgeValidation: (state: {
|
|
365
|
+
activePresets: {
|
|
366
|
+
id: string;
|
|
367
|
+
rulesetId: string;
|
|
368
|
+
rulesetRules: {
|
|
369
|
+
ruleName: string;
|
|
370
|
+
ruleDescription: string;
|
|
371
|
+
ruleActionTypes: string[];
|
|
372
|
+
}[];
|
|
373
|
+
}[];
|
|
374
|
+
lastValidation: {
|
|
375
|
+
valid: boolean;
|
|
376
|
+
reason?: string | undefined;
|
|
377
|
+
correctedAction?: {
|
|
378
|
+
type: string;
|
|
379
|
+
target?: string | undefined;
|
|
380
|
+
payload?: {
|
|
381
|
+
[x: string]: unknown;
|
|
382
|
+
} | undefined;
|
|
383
|
+
reason?: string | undefined;
|
|
384
|
+
confidence?: number | undefined;
|
|
385
|
+
signature?: string | undefined;
|
|
386
|
+
} | undefined;
|
|
387
|
+
} | null;
|
|
388
|
+
status: "idle" | "validating" | "loading_preset" | "error";
|
|
389
|
+
error: string | null;
|
|
390
|
+
}) => void;
|
|
391
|
+
}, "bridge", "bridge", _reduxjs_toolkit.SliceSelectors<BridgeState>>;
|
|
392
|
+
declare const clearBridgeValidation: _reduxjs_toolkit.ActionCreatorWithoutPayload<"bridge/clearBridgeValidation">;
|
|
393
|
+
|
|
394
|
+
interface GhostState {
|
|
395
|
+
activeSessionId: string | null;
|
|
396
|
+
status: GhostStatus['status'] | null;
|
|
340
397
|
progress: number;
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* Individual test result
|
|
347
|
-
*/
|
|
348
|
-
interface GhostTestResult {
|
|
349
|
-
name: string;
|
|
350
|
-
passed: boolean;
|
|
351
|
-
duration: number;
|
|
352
|
-
error?: string;
|
|
353
|
-
screenshot?: string;
|
|
354
|
-
}
|
|
355
|
-
/**
|
|
356
|
-
* Complete session results
|
|
357
|
-
*/
|
|
358
|
-
interface GhostResults {
|
|
359
|
-
sessionId: string;
|
|
360
|
-
totalTests: number;
|
|
361
|
-
passed: number;
|
|
362
|
-
failed: number;
|
|
363
|
-
skipped: number;
|
|
364
|
-
duration: number;
|
|
365
|
-
tests: GhostTestResult[];
|
|
366
|
-
coverage: number;
|
|
367
|
-
metrics: Record<string, number>;
|
|
368
|
-
}
|
|
369
|
-
/**
|
|
370
|
-
* Interface for Ghost operations
|
|
371
|
-
*/
|
|
372
|
-
interface IGhost {
|
|
373
|
-
run(): Promise<string>;
|
|
374
|
-
status(): Promise<GhostStatus>;
|
|
375
|
-
results(): Promise<GhostResults>;
|
|
376
|
-
stop(): Promise<void>;
|
|
377
|
-
waitForCompletion(pollIntervalMs?: number, timeoutMs?: number, onProgress?: (status: GhostStatus) => void): Promise<GhostResults>;
|
|
398
|
+
results: GhostResults | null;
|
|
399
|
+
history: GhostHistoryEntry[];
|
|
400
|
+
loading: boolean;
|
|
401
|
+
error: string | null;
|
|
378
402
|
}
|
|
379
|
-
|
|
380
|
-
* Start a Ghost testing session
|
|
381
|
-
*/
|
|
382
|
-
declare const startGhostSession: (config: GhostConfig) => Promise<{
|
|
403
|
+
declare const startGhostThunk: _reduxjs_toolkit.AsyncThunk<{
|
|
383
404
|
sessionId: string;
|
|
384
405
|
status: string;
|
|
406
|
+
}, GhostConfig, {
|
|
407
|
+
rejectValue: string;
|
|
408
|
+
extra?: unknown;
|
|
409
|
+
state?: unknown;
|
|
410
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
411
|
+
serializedErrorType?: unknown;
|
|
412
|
+
pendingMeta?: unknown;
|
|
413
|
+
fulfilledMeta?: unknown;
|
|
414
|
+
rejectedMeta?: unknown;
|
|
385
415
|
}>;
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
declare const
|
|
416
|
+
declare const getGhostStatusThunk: _reduxjs_toolkit.AsyncThunk<GhostStatus, {
|
|
417
|
+
sessionId?: string;
|
|
418
|
+
apiUrl?: string;
|
|
419
|
+
}, {
|
|
420
|
+
state: {
|
|
421
|
+
ghost: GhostState;
|
|
422
|
+
};
|
|
423
|
+
rejectValue: string;
|
|
424
|
+
extra?: unknown;
|
|
425
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
426
|
+
serializedErrorType?: unknown;
|
|
427
|
+
pendingMeta?: unknown;
|
|
428
|
+
fulfilledMeta?: unknown;
|
|
429
|
+
rejectedMeta?: unknown;
|
|
430
|
+
}>;
|
|
431
|
+
declare const getGhostResultsThunk: _reduxjs_toolkit.AsyncThunk<GhostResults, {
|
|
432
|
+
sessionId?: string;
|
|
433
|
+
apiUrl?: string;
|
|
434
|
+
}, {
|
|
435
|
+
state: {
|
|
436
|
+
ghost: GhostState;
|
|
437
|
+
};
|
|
438
|
+
rejectValue: string;
|
|
439
|
+
extra?: unknown;
|
|
440
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
441
|
+
serializedErrorType?: unknown;
|
|
442
|
+
pendingMeta?: unknown;
|
|
443
|
+
fulfilledMeta?: unknown;
|
|
444
|
+
rejectedMeta?: unknown;
|
|
445
|
+
}>;
|
|
446
|
+
declare const stopGhostThunk: _reduxjs_toolkit.AsyncThunk<{
|
|
402
447
|
stopped: boolean;
|
|
448
|
+
}, {
|
|
449
|
+
sessionId?: string;
|
|
450
|
+
apiUrl?: string;
|
|
451
|
+
}, {
|
|
452
|
+
state: {
|
|
453
|
+
ghost: GhostState;
|
|
454
|
+
};
|
|
455
|
+
rejectValue: string;
|
|
456
|
+
extra?: unknown;
|
|
457
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
458
|
+
serializedErrorType?: unknown;
|
|
459
|
+
pendingMeta?: unknown;
|
|
460
|
+
fulfilledMeta?: unknown;
|
|
461
|
+
rejectedMeta?: unknown;
|
|
403
462
|
}>;
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
463
|
+
declare const getGhostHistoryThunk: _reduxjs_toolkit.AsyncThunk<GhostHistoryEntry[], {
|
|
464
|
+
limit?: number;
|
|
465
|
+
apiUrl?: string;
|
|
466
|
+
}, {
|
|
467
|
+
rejectValue: string;
|
|
468
|
+
extra?: unknown;
|
|
469
|
+
state?: unknown;
|
|
470
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
471
|
+
serializedErrorType?: unknown;
|
|
472
|
+
pendingMeta?: unknown;
|
|
473
|
+
fulfilledMeta?: unknown;
|
|
474
|
+
rejectedMeta?: unknown;
|
|
475
|
+
}>;
|
|
476
|
+
declare const ghostSlice: _reduxjs_toolkit.Slice<GhostState, {
|
|
477
|
+
clearGhostSession: (state: {
|
|
478
|
+
activeSessionId: string | null;
|
|
479
|
+
status: GhostStatus["status"] | null;
|
|
480
|
+
progress: number;
|
|
481
|
+
results: {
|
|
482
|
+
sessionId: string;
|
|
483
|
+
totalTests: number;
|
|
484
|
+
passed: number;
|
|
485
|
+
failed: number;
|
|
486
|
+
skipped: number;
|
|
487
|
+
duration: number;
|
|
488
|
+
tests: {
|
|
489
|
+
name: string;
|
|
490
|
+
passed: boolean;
|
|
491
|
+
duration: number;
|
|
492
|
+
error?: string | undefined;
|
|
493
|
+
screenshot?: string | undefined;
|
|
494
|
+
}[];
|
|
495
|
+
coverage?: {
|
|
496
|
+
[x: string]: number;
|
|
497
|
+
} | undefined;
|
|
498
|
+
metrics?: {
|
|
499
|
+
[x: string]: number;
|
|
500
|
+
} | undefined;
|
|
501
|
+
} | null;
|
|
502
|
+
history: {
|
|
503
|
+
sessionId: string;
|
|
504
|
+
testSuite: string;
|
|
505
|
+
startedAt: number;
|
|
506
|
+
completedAt?: number | undefined;
|
|
507
|
+
status: string;
|
|
508
|
+
passRate: number;
|
|
509
|
+
}[];
|
|
510
|
+
loading: boolean;
|
|
511
|
+
error: string | null;
|
|
512
|
+
}) => void;
|
|
513
|
+
}, "ghost", "ghost", _reduxjs_toolkit.SliceSelectors<GhostState>>;
|
|
514
|
+
declare const clearGhostSession: _reduxjs_toolkit.ActionCreatorWithoutPayload<"ghost/clearGhostSession">;
|
|
515
|
+
|
|
516
|
+
interface CortexInternalState {
|
|
517
|
+
status: CortexStatus;
|
|
518
|
+
isInitializing: boolean;
|
|
519
|
+
error?: string;
|
|
414
520
|
}
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
521
|
+
declare const initRemoteCortexThunk: _reduxjs_toolkit.AsyncThunk<CortexStatus, {
|
|
522
|
+
model?: string;
|
|
523
|
+
}, {
|
|
524
|
+
rejectValue: string;
|
|
525
|
+
extra?: unknown;
|
|
526
|
+
state?: unknown;
|
|
527
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
528
|
+
serializedErrorType?: unknown;
|
|
529
|
+
pendingMeta?: unknown;
|
|
530
|
+
fulfilledMeta?: unknown;
|
|
531
|
+
rejectedMeta?: unknown;
|
|
532
|
+
}>;
|
|
533
|
+
declare const completeRemoteThunk: _reduxjs_toolkit.AsyncThunk<string, {
|
|
534
|
+
cortexId: string;
|
|
535
|
+
prompt: string;
|
|
536
|
+
options?: CompletionOptions;
|
|
537
|
+
apiUrl: string;
|
|
538
|
+
apiKey?: string;
|
|
539
|
+
}, {
|
|
540
|
+
state: SDKState;
|
|
541
|
+
dispatch: SDKDispatch;
|
|
542
|
+
rejectValue: string;
|
|
543
|
+
extra?: unknown;
|
|
544
|
+
serializedErrorType?: unknown;
|
|
545
|
+
pendingMeta?: unknown;
|
|
546
|
+
fulfilledMeta?: unknown;
|
|
547
|
+
rejectedMeta?: unknown;
|
|
548
|
+
}>;
|
|
549
|
+
declare const cortexSlice: _reduxjs_toolkit.Slice<CortexInternalState, {
|
|
550
|
+
cortexInitStart: (state: {
|
|
551
|
+
status: {
|
|
552
|
+
id: string;
|
|
553
|
+
model: string;
|
|
554
|
+
ready: boolean;
|
|
555
|
+
engine: "mock" | "remote" | "node-llama-cpp" | "web-llm";
|
|
556
|
+
};
|
|
557
|
+
isInitializing: boolean;
|
|
558
|
+
error?: string | undefined;
|
|
559
|
+
}) => void;
|
|
560
|
+
cortexInitSuccess: (state: {
|
|
561
|
+
status: {
|
|
562
|
+
id: string;
|
|
563
|
+
model: string;
|
|
564
|
+
ready: boolean;
|
|
565
|
+
engine: "mock" | "remote" | "node-llama-cpp" | "web-llm";
|
|
566
|
+
};
|
|
567
|
+
isInitializing: boolean;
|
|
568
|
+
error?: string | undefined;
|
|
569
|
+
}, action: PayloadAction<CortexStatus>) => void;
|
|
570
|
+
cortexInitFailed: (state: {
|
|
571
|
+
status: {
|
|
572
|
+
id: string;
|
|
573
|
+
model: string;
|
|
574
|
+
ready: boolean;
|
|
575
|
+
engine: "mock" | "remote" | "node-llama-cpp" | "web-llm";
|
|
576
|
+
};
|
|
577
|
+
isInitializing: boolean;
|
|
578
|
+
error?: string | undefined;
|
|
579
|
+
}, action: PayloadAction<string>) => void;
|
|
580
|
+
setCortexStatus: (state: {
|
|
581
|
+
status: {
|
|
582
|
+
id: string;
|
|
583
|
+
model: string;
|
|
584
|
+
ready: boolean;
|
|
585
|
+
engine: "mock" | "remote" | "node-llama-cpp" | "web-llm";
|
|
586
|
+
};
|
|
587
|
+
isInitializing: boolean;
|
|
588
|
+
error?: string | undefined;
|
|
589
|
+
}, action: PayloadAction<CortexStatus>) => void;
|
|
590
|
+
}, "cortex", "cortex", _reduxjs_toolkit.SliceSelectors<CortexInternalState>>;
|
|
591
|
+
declare const cortexInitStart: _reduxjs_toolkit.ActionCreatorWithoutPayload<"cortex/cortexInitStart">;
|
|
592
|
+
declare const cortexInitSuccess: _reduxjs_toolkit.ActionCreatorWithPayload<CortexStatus, "cortex/cortexInitSuccess">;
|
|
593
|
+
declare const cortexInitFailed: _reduxjs_toolkit.ActionCreatorWithPayload<string, "cortex/cortexInitFailed">;
|
|
594
|
+
declare const setCortexStatus: _reduxjs_toolkit.ActionCreatorWithPayload<CortexStatus, "cortex/setCortexStatus">;
|
|
595
|
+
|
|
596
|
+
interface NPCInternalState {
|
|
597
|
+
id: string;
|
|
598
|
+
persona: string;
|
|
599
|
+
state: NPCState;
|
|
600
|
+
history: Array<{
|
|
601
|
+
role: string;
|
|
602
|
+
content: string;
|
|
603
|
+
}>;
|
|
604
|
+
lastAction?: NPCAction;
|
|
605
|
+
isBlocked: boolean;
|
|
606
|
+
blockReason?: string;
|
|
607
|
+
}
|
|
608
|
+
declare const npcSlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
609
|
+
activeNpcId: string;
|
|
610
|
+
}, {
|
|
611
|
+
setNPCInfo: (state: {
|
|
612
|
+
ids: string[];
|
|
613
|
+
entities: {
|
|
614
|
+
[x: string]: {
|
|
615
|
+
id: string;
|
|
616
|
+
persona: string;
|
|
617
|
+
state: {
|
|
618
|
+
[x: string]: unknown;
|
|
619
|
+
};
|
|
620
|
+
history: {
|
|
621
|
+
role: string;
|
|
622
|
+
content: string;
|
|
623
|
+
}[];
|
|
624
|
+
lastAction?: {
|
|
625
|
+
type: string;
|
|
626
|
+
target?: string | undefined;
|
|
627
|
+
payload?: {
|
|
628
|
+
[x: string]: unknown;
|
|
629
|
+
} | undefined;
|
|
630
|
+
reason?: string | undefined;
|
|
631
|
+
confidence?: number | undefined;
|
|
632
|
+
signature?: string | undefined;
|
|
633
|
+
} | undefined;
|
|
634
|
+
isBlocked: boolean;
|
|
635
|
+
blockReason?: string | undefined;
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
activeNpcId: string;
|
|
639
|
+
}, action: PayloadAction<{
|
|
640
|
+
id: string;
|
|
641
|
+
persona: string;
|
|
642
|
+
initialState?: NPCState;
|
|
643
|
+
}>) => void;
|
|
644
|
+
setActiveNPC: (state: {
|
|
645
|
+
ids: string[];
|
|
646
|
+
entities: {
|
|
647
|
+
[x: string]: {
|
|
648
|
+
id: string;
|
|
649
|
+
persona: string;
|
|
650
|
+
state: {
|
|
651
|
+
[x: string]: unknown;
|
|
652
|
+
};
|
|
653
|
+
history: {
|
|
654
|
+
role: string;
|
|
655
|
+
content: string;
|
|
656
|
+
}[];
|
|
657
|
+
lastAction?: {
|
|
658
|
+
type: string;
|
|
659
|
+
target?: string | undefined;
|
|
660
|
+
payload?: {
|
|
661
|
+
[x: string]: unknown;
|
|
662
|
+
} | undefined;
|
|
663
|
+
reason?: string | undefined;
|
|
664
|
+
confidence?: number | undefined;
|
|
665
|
+
signature?: string | undefined;
|
|
666
|
+
} | undefined;
|
|
667
|
+
isBlocked: boolean;
|
|
668
|
+
blockReason?: string | undefined;
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
activeNpcId: string;
|
|
672
|
+
}, action: PayloadAction<string>) => void;
|
|
673
|
+
setNPCState: (state: {
|
|
674
|
+
ids: string[];
|
|
675
|
+
entities: {
|
|
676
|
+
[x: string]: {
|
|
677
|
+
id: string;
|
|
678
|
+
persona: string;
|
|
679
|
+
state: {
|
|
680
|
+
[x: string]: unknown;
|
|
681
|
+
};
|
|
682
|
+
history: {
|
|
683
|
+
role: string;
|
|
684
|
+
content: string;
|
|
685
|
+
}[];
|
|
686
|
+
lastAction?: {
|
|
687
|
+
type: string;
|
|
688
|
+
target?: string | undefined;
|
|
689
|
+
payload?: {
|
|
690
|
+
[x: string]: unknown;
|
|
691
|
+
} | undefined;
|
|
692
|
+
reason?: string | undefined;
|
|
693
|
+
confidence?: number | undefined;
|
|
694
|
+
signature?: string | undefined;
|
|
695
|
+
} | undefined;
|
|
696
|
+
isBlocked: boolean;
|
|
697
|
+
blockReason?: string | undefined;
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
activeNpcId: string;
|
|
701
|
+
}, action: PayloadAction<{
|
|
702
|
+
id: string;
|
|
703
|
+
state: NPCState;
|
|
704
|
+
}>) => void;
|
|
705
|
+
updateNPCState: (state: {
|
|
706
|
+
ids: string[];
|
|
707
|
+
entities: {
|
|
708
|
+
[x: string]: {
|
|
709
|
+
id: string;
|
|
710
|
+
persona: string;
|
|
711
|
+
state: {
|
|
712
|
+
[x: string]: unknown;
|
|
713
|
+
};
|
|
714
|
+
history: {
|
|
715
|
+
role: string;
|
|
716
|
+
content: string;
|
|
717
|
+
}[];
|
|
718
|
+
lastAction?: {
|
|
719
|
+
type: string;
|
|
720
|
+
target?: string | undefined;
|
|
721
|
+
payload?: {
|
|
722
|
+
[x: string]: unknown;
|
|
723
|
+
} | undefined;
|
|
724
|
+
reason?: string | undefined;
|
|
725
|
+
confidence?: number | undefined;
|
|
726
|
+
signature?: string | undefined;
|
|
727
|
+
} | undefined;
|
|
728
|
+
isBlocked: boolean;
|
|
729
|
+
blockReason?: string | undefined;
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
activeNpcId: string;
|
|
733
|
+
}, action: PayloadAction<{
|
|
734
|
+
id: string;
|
|
735
|
+
delta: Partial<NPCState>;
|
|
736
|
+
}>) => void;
|
|
737
|
+
addToHistory: (state: {
|
|
738
|
+
ids: string[];
|
|
739
|
+
entities: {
|
|
740
|
+
[x: string]: {
|
|
741
|
+
id: string;
|
|
742
|
+
persona: string;
|
|
743
|
+
state: {
|
|
744
|
+
[x: string]: unknown;
|
|
745
|
+
};
|
|
746
|
+
history: {
|
|
747
|
+
role: string;
|
|
748
|
+
content: string;
|
|
749
|
+
}[];
|
|
750
|
+
lastAction?: {
|
|
751
|
+
type: string;
|
|
752
|
+
target?: string | undefined;
|
|
753
|
+
payload?: {
|
|
754
|
+
[x: string]: unknown;
|
|
755
|
+
} | undefined;
|
|
756
|
+
reason?: string | undefined;
|
|
757
|
+
confidence?: number | undefined;
|
|
758
|
+
signature?: string | undefined;
|
|
759
|
+
} | undefined;
|
|
760
|
+
isBlocked: boolean;
|
|
761
|
+
blockReason?: string | undefined;
|
|
762
|
+
};
|
|
763
|
+
};
|
|
764
|
+
activeNpcId: string;
|
|
765
|
+
}, action: PayloadAction<{
|
|
766
|
+
id: string;
|
|
767
|
+
role: string;
|
|
768
|
+
content: string;
|
|
769
|
+
}>) => void;
|
|
770
|
+
setHistory: (state: {
|
|
771
|
+
ids: string[];
|
|
772
|
+
entities: {
|
|
773
|
+
[x: string]: {
|
|
774
|
+
id: string;
|
|
775
|
+
persona: string;
|
|
776
|
+
state: {
|
|
777
|
+
[x: string]: unknown;
|
|
778
|
+
};
|
|
779
|
+
history: {
|
|
780
|
+
role: string;
|
|
781
|
+
content: string;
|
|
782
|
+
}[];
|
|
783
|
+
lastAction?: {
|
|
784
|
+
type: string;
|
|
785
|
+
target?: string | undefined;
|
|
786
|
+
payload?: {
|
|
787
|
+
[x: string]: unknown;
|
|
788
|
+
} | undefined;
|
|
789
|
+
reason?: string | undefined;
|
|
790
|
+
confidence?: number | undefined;
|
|
791
|
+
signature?: string | undefined;
|
|
792
|
+
} | undefined;
|
|
793
|
+
isBlocked: boolean;
|
|
794
|
+
blockReason?: string | undefined;
|
|
795
|
+
};
|
|
796
|
+
};
|
|
797
|
+
activeNpcId: string;
|
|
798
|
+
}, action: PayloadAction<{
|
|
799
|
+
id: string;
|
|
800
|
+
history: Array<{
|
|
801
|
+
role: string;
|
|
802
|
+
content: string;
|
|
803
|
+
}>;
|
|
804
|
+
}>) => void;
|
|
805
|
+
setLastAction: (state: {
|
|
806
|
+
ids: string[];
|
|
807
|
+
entities: {
|
|
808
|
+
[x: string]: {
|
|
809
|
+
id: string;
|
|
810
|
+
persona: string;
|
|
811
|
+
state: {
|
|
812
|
+
[x: string]: unknown;
|
|
813
|
+
};
|
|
814
|
+
history: {
|
|
815
|
+
role: string;
|
|
816
|
+
content: string;
|
|
817
|
+
}[];
|
|
818
|
+
lastAction?: {
|
|
819
|
+
type: string;
|
|
820
|
+
target?: string | undefined;
|
|
821
|
+
payload?: {
|
|
822
|
+
[x: string]: unknown;
|
|
823
|
+
} | undefined;
|
|
824
|
+
reason?: string | undefined;
|
|
825
|
+
confidence?: number | undefined;
|
|
826
|
+
signature?: string | undefined;
|
|
827
|
+
} | undefined;
|
|
828
|
+
isBlocked: boolean;
|
|
829
|
+
blockReason?: string | undefined;
|
|
830
|
+
};
|
|
831
|
+
};
|
|
832
|
+
activeNpcId: string;
|
|
833
|
+
}, action: PayloadAction<{
|
|
834
|
+
id: string;
|
|
835
|
+
action: NPCAction | undefined;
|
|
836
|
+
}>) => void;
|
|
837
|
+
blockAction: (state: {
|
|
838
|
+
ids: string[];
|
|
839
|
+
entities: {
|
|
840
|
+
[x: string]: {
|
|
841
|
+
id: string;
|
|
842
|
+
persona: string;
|
|
843
|
+
state: {
|
|
844
|
+
[x: string]: unknown;
|
|
845
|
+
};
|
|
846
|
+
history: {
|
|
847
|
+
role: string;
|
|
848
|
+
content: string;
|
|
849
|
+
}[];
|
|
850
|
+
lastAction?: {
|
|
851
|
+
type: string;
|
|
852
|
+
target?: string | undefined;
|
|
853
|
+
payload?: {
|
|
854
|
+
[x: string]: unknown;
|
|
855
|
+
} | undefined;
|
|
856
|
+
reason?: string | undefined;
|
|
857
|
+
confidence?: number | undefined;
|
|
858
|
+
signature?: string | undefined;
|
|
859
|
+
} | undefined;
|
|
860
|
+
isBlocked: boolean;
|
|
861
|
+
blockReason?: string | undefined;
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
activeNpcId: string;
|
|
865
|
+
}, action: PayloadAction<{
|
|
866
|
+
id: string;
|
|
867
|
+
reason: string;
|
|
868
|
+
}>) => void;
|
|
869
|
+
clearBlock: (state: {
|
|
870
|
+
ids: string[];
|
|
871
|
+
entities: {
|
|
872
|
+
[x: string]: {
|
|
873
|
+
id: string;
|
|
874
|
+
persona: string;
|
|
875
|
+
state: {
|
|
876
|
+
[x: string]: unknown;
|
|
877
|
+
};
|
|
878
|
+
history: {
|
|
879
|
+
role: string;
|
|
880
|
+
content: string;
|
|
881
|
+
}[];
|
|
882
|
+
lastAction?: {
|
|
883
|
+
type: string;
|
|
884
|
+
target?: string | undefined;
|
|
885
|
+
payload?: {
|
|
886
|
+
[x: string]: unknown;
|
|
887
|
+
} | undefined;
|
|
888
|
+
reason?: string | undefined;
|
|
889
|
+
confidence?: number | undefined;
|
|
890
|
+
signature?: string | undefined;
|
|
891
|
+
} | undefined;
|
|
892
|
+
isBlocked: boolean;
|
|
893
|
+
blockReason?: string | undefined;
|
|
894
|
+
};
|
|
895
|
+
};
|
|
896
|
+
activeNpcId: string;
|
|
897
|
+
}, action: PayloadAction<string>) => void;
|
|
898
|
+
removeNPC: {
|
|
899
|
+
<S extends _reduxjs_toolkit.EntityState<NPCInternalState, string> | {
|
|
900
|
+
ids: string[];
|
|
901
|
+
entities: {
|
|
902
|
+
[x: string]: {
|
|
903
|
+
id: string;
|
|
904
|
+
persona: string;
|
|
905
|
+
state: {
|
|
906
|
+
[x: string]: unknown;
|
|
907
|
+
};
|
|
908
|
+
history: {
|
|
909
|
+
role: string;
|
|
910
|
+
content: string;
|
|
911
|
+
}[];
|
|
912
|
+
lastAction?: {
|
|
913
|
+
type: string;
|
|
914
|
+
target?: string | undefined;
|
|
915
|
+
payload?: {
|
|
916
|
+
[x: string]: unknown;
|
|
917
|
+
} | undefined;
|
|
918
|
+
reason?: string | undefined;
|
|
919
|
+
confidence?: number | undefined;
|
|
920
|
+
signature?: string | undefined;
|
|
921
|
+
} | undefined;
|
|
922
|
+
isBlocked: boolean;
|
|
923
|
+
blockReason?: string | undefined;
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
}>(state: boolean extends (S extends never ? true : false) ? _reduxjs_toolkit.EntityState<NPCInternalState, string> : S, key: string): S;
|
|
927
|
+
<S extends _reduxjs_toolkit.EntityState<NPCInternalState, string> | {
|
|
928
|
+
ids: string[];
|
|
929
|
+
entities: {
|
|
930
|
+
[x: string]: {
|
|
931
|
+
id: string;
|
|
932
|
+
persona: string;
|
|
933
|
+
state: {
|
|
934
|
+
[x: string]: unknown;
|
|
935
|
+
};
|
|
936
|
+
history: {
|
|
937
|
+
role: string;
|
|
938
|
+
content: string;
|
|
939
|
+
}[];
|
|
940
|
+
lastAction?: {
|
|
941
|
+
type: string;
|
|
942
|
+
target?: string | undefined;
|
|
943
|
+
payload?: {
|
|
944
|
+
[x: string]: unknown;
|
|
945
|
+
} | undefined;
|
|
946
|
+
reason?: string | undefined;
|
|
947
|
+
confidence?: number | undefined;
|
|
948
|
+
signature?: string | undefined;
|
|
949
|
+
} | undefined;
|
|
950
|
+
isBlocked: boolean;
|
|
951
|
+
blockReason?: string | undefined;
|
|
952
|
+
};
|
|
953
|
+
};
|
|
954
|
+
}>(state: boolean extends (S extends never ? true : false) ? _reduxjs_toolkit.EntityState<NPCInternalState, string> : S, key: {
|
|
955
|
+
payload: string;
|
|
956
|
+
type: string;
|
|
957
|
+
}): S;
|
|
958
|
+
};
|
|
959
|
+
}, "npc", "npc", _reduxjs_toolkit.SliceSelectors<_reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
960
|
+
activeNpcId: string;
|
|
961
|
+
}>>;
|
|
962
|
+
declare const setNPCInfo: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
963
|
+
id: string;
|
|
964
|
+
persona: string;
|
|
965
|
+
initialState?: NPCState;
|
|
966
|
+
}, "npc/setNPCInfo">;
|
|
967
|
+
declare const setActiveNPC: _reduxjs_toolkit.ActionCreatorWithPayload<string, "npc/setActiveNPC">;
|
|
968
|
+
declare const setNPCState: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
969
|
+
id: string;
|
|
970
|
+
state: NPCState;
|
|
971
|
+
}, "npc/setNPCState">;
|
|
972
|
+
declare const updateNPCState: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
973
|
+
id: string;
|
|
974
|
+
delta: Partial<NPCState>;
|
|
975
|
+
}, "npc/updateNPCState">;
|
|
976
|
+
declare const addToHistory: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
977
|
+
id: string;
|
|
978
|
+
role: string;
|
|
979
|
+
content: string;
|
|
980
|
+
}, "npc/addToHistory">;
|
|
981
|
+
declare const setHistory: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
982
|
+
id: string;
|
|
983
|
+
history: Array<{
|
|
984
|
+
role: string;
|
|
985
|
+
content: string;
|
|
986
|
+
}>;
|
|
987
|
+
}, "npc/setHistory">;
|
|
988
|
+
declare const setLastAction: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
989
|
+
id: string;
|
|
990
|
+
action: NPCAction | undefined;
|
|
991
|
+
}, "npc/setLastAction">;
|
|
992
|
+
declare const blockAction: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
993
|
+
id: string;
|
|
994
|
+
reason: string;
|
|
995
|
+
}, "npc/blockAction">;
|
|
996
|
+
declare const clearBlock: _reduxjs_toolkit.ActionCreatorWithPayload<string, "npc/clearBlock">;
|
|
997
|
+
declare const removeNPC: _reduxjs_toolkit.ActionCreatorWithPayload<string, "npc/removeNPC">;
|
|
998
|
+
declare const selectNPCById: (state: {
|
|
999
|
+
[x: string]: /*elided*/ any;
|
|
1000
|
+
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
1001
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1002
|
+
npcId: string;
|
|
1003
|
+
request: DirectiveRequest;
|
|
1004
|
+
apiUrl: string;
|
|
1005
|
+
apiKey?: string;
|
|
1006
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveResponse, "forbocApi", unknown>;
|
|
1007
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1008
|
+
npcId: string;
|
|
1009
|
+
request: ContextRequest;
|
|
1010
|
+
apiUrl: string;
|
|
1011
|
+
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>;
|
|
1013
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1014
|
+
npcId: string;
|
|
1015
|
+
request: VerdictRequest;
|
|
1016
|
+
apiUrl: string;
|
|
1017
|
+
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
|
+
postSpeak: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1020
|
+
npcId: string;
|
|
1021
|
+
request: SpeakRequest;
|
|
1022
|
+
apiUrl: string;
|
|
1023
|
+
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", SpeakResponse, "forbocApi", unknown>;
|
|
1025
|
+
postDialogue: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1026
|
+
npcId: string;
|
|
1027
|
+
request: DialogueRequest;
|
|
1028
|
+
apiUrl: string;
|
|
1029
|
+
apiKey?: string;
|
|
1030
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DialogueResponse, "forbocApi", unknown>;
|
|
1031
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1032
|
+
request: {
|
|
1033
|
+
testSuite: string;
|
|
1034
|
+
duration: number;
|
|
1035
|
+
};
|
|
1036
|
+
apiUrl: string;
|
|
1037
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", GhostRunResponse, "forbocApi", unknown>;
|
|
1038
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1039
|
+
sessionId: string;
|
|
1040
|
+
apiUrl: string;
|
|
1041
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1042
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1043
|
+
sessionId: string;
|
|
1044
|
+
apiUrl: string;
|
|
1045
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1046
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1047
|
+
sessionId: string;
|
|
1048
|
+
apiUrl: string;
|
|
1049
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1050
|
+
stopped: boolean;
|
|
1051
|
+
}, "forbocApi", unknown>;
|
|
1052
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1053
|
+
limit: number;
|
|
1054
|
+
apiUrl: string;
|
|
1055
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1056
|
+
sessions: any[];
|
|
1057
|
+
}, "forbocApi", unknown>;
|
|
1058
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1059
|
+
npcId: string;
|
|
1060
|
+
request: any;
|
|
1061
|
+
apiUrl: string;
|
|
1062
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulExportResponse, "forbocApi", unknown>;
|
|
1063
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1064
|
+
txId: string;
|
|
1065
|
+
apiUrl: string;
|
|
1066
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1067
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1068
|
+
limit: number;
|
|
1069
|
+
apiUrl: string;
|
|
1070
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulListResponse, "forbocApi", unknown>;
|
|
1071
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1072
|
+
request: {
|
|
1073
|
+
action: NPCAction;
|
|
1074
|
+
context: ValidationContext;
|
|
1075
|
+
};
|
|
1076
|
+
npcId?: string;
|
|
1077
|
+
apiUrl: string;
|
|
1078
|
+
}, _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>;
|
|
1079
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1080
|
+
apiUrl: string;
|
|
1081
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
1082
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1083
|
+
presetName: string;
|
|
1084
|
+
apiUrl: string;
|
|
1085
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveRuleSet, "forbocApi", unknown>;
|
|
1086
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1087
|
+
cortexId: string;
|
|
1088
|
+
prompt: string;
|
|
1089
|
+
options?: any;
|
|
1090
|
+
apiUrl: string;
|
|
1091
|
+
apiKey?: string;
|
|
1092
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1093
|
+
text: string;
|
|
1094
|
+
}, "forbocApi", unknown>;
|
|
1095
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1096
|
+
apiUrl: string;
|
|
1097
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ApiStatusResponse, "forbocApi", unknown>;
|
|
1098
|
+
}, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", "forbocApi">;
|
|
1099
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1100
|
+
activeNpcId: string;
|
|
1101
|
+
};
|
|
1102
|
+
cortex: CortexInternalState;
|
|
1103
|
+
memory: _reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
1104
|
+
storageStatus: "idle" | "storing" | "error";
|
|
1105
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
1106
|
+
error: string | null;
|
|
1107
|
+
lastRecalledIds: string[];
|
|
1108
|
+
};
|
|
1109
|
+
ghost: GhostState;
|
|
1110
|
+
soul: SoulState;
|
|
1111
|
+
bridge: BridgeState;
|
|
1112
|
+
}, id: string) => {
|
|
1113
|
+
id: string;
|
|
1114
|
+
persona: string;
|
|
1115
|
+
state: NPCState;
|
|
1116
|
+
history: Array<{
|
|
1117
|
+
role: string;
|
|
1118
|
+
content: string;
|
|
1119
|
+
}>;
|
|
1120
|
+
lastAction?: NPCAction | undefined;
|
|
1121
|
+
isBlocked: boolean;
|
|
1122
|
+
blockReason?: string | undefined;
|
|
1123
|
+
};
|
|
1124
|
+
declare const selectNPCIds: (state: {
|
|
1125
|
+
[x: string]: /*elided*/ any;
|
|
1126
|
+
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
1127
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1128
|
+
npcId: string;
|
|
1129
|
+
request: DirectiveRequest;
|
|
1130
|
+
apiUrl: string;
|
|
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", DirectiveResponse, "forbocApi", unknown>;
|
|
1133
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1134
|
+
npcId: string;
|
|
1135
|
+
request: ContextRequest;
|
|
1136
|
+
apiUrl: string;
|
|
1137
|
+
apiKey?: string;
|
|
1138
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", ContextResponse, "forbocApi", unknown>;
|
|
1139
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1140
|
+
npcId: string;
|
|
1141
|
+
request: VerdictRequest;
|
|
1142
|
+
apiUrl: string;
|
|
1143
|
+
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
|
+
postSpeak: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1146
|
+
npcId: string;
|
|
1147
|
+
request: SpeakRequest;
|
|
1148
|
+
apiUrl: string;
|
|
1149
|
+
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", SpeakResponse, "forbocApi", unknown>;
|
|
1151
|
+
postDialogue: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1152
|
+
npcId: string;
|
|
1153
|
+
request: DialogueRequest;
|
|
1154
|
+
apiUrl: string;
|
|
1155
|
+
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", DialogueResponse, "forbocApi", unknown>;
|
|
1157
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1158
|
+
request: {
|
|
1159
|
+
testSuite: string;
|
|
1160
|
+
duration: number;
|
|
1161
|
+
};
|
|
1162
|
+
apiUrl: string;
|
|
1163
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", GhostRunResponse, "forbocApi", unknown>;
|
|
1164
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1165
|
+
sessionId: string;
|
|
1166
|
+
apiUrl: string;
|
|
1167
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1168
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1169
|
+
sessionId: string;
|
|
1170
|
+
apiUrl: string;
|
|
1171
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1172
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1173
|
+
sessionId: string;
|
|
1174
|
+
apiUrl: string;
|
|
1175
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1176
|
+
stopped: boolean;
|
|
1177
|
+
}, "forbocApi", unknown>;
|
|
1178
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1179
|
+
limit: number;
|
|
1180
|
+
apiUrl: string;
|
|
1181
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1182
|
+
sessions: any[];
|
|
1183
|
+
}, "forbocApi", unknown>;
|
|
1184
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1185
|
+
npcId: string;
|
|
1186
|
+
request: any;
|
|
1187
|
+
apiUrl: string;
|
|
1188
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulExportResponse, "forbocApi", unknown>;
|
|
1189
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1190
|
+
txId: string;
|
|
1191
|
+
apiUrl: string;
|
|
1192
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1193
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1194
|
+
limit: number;
|
|
1195
|
+
apiUrl: string;
|
|
1196
|
+
}, _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>;
|
|
1197
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1198
|
+
request: {
|
|
1199
|
+
action: NPCAction;
|
|
1200
|
+
context: ValidationContext;
|
|
1201
|
+
};
|
|
1202
|
+
npcId?: string;
|
|
1203
|
+
apiUrl: string;
|
|
1204
|
+
}, _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>;
|
|
1205
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1206
|
+
apiUrl: string;
|
|
1207
|
+
}, _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>;
|
|
1208
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1209
|
+
presetName: string;
|
|
1210
|
+
apiUrl: string;
|
|
1211
|
+
}, _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>;
|
|
1212
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1213
|
+
cortexId: string;
|
|
1214
|
+
prompt: string;
|
|
1215
|
+
options?: any;
|
|
1216
|
+
apiUrl: string;
|
|
1217
|
+
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", {
|
|
1219
|
+
text: string;
|
|
1220
|
+
}, "forbocApi", unknown>;
|
|
1221
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1222
|
+
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">;
|
|
1225
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1226
|
+
activeNpcId: string;
|
|
1227
|
+
};
|
|
1228
|
+
cortex: CortexInternalState;
|
|
1229
|
+
memory: _reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
1230
|
+
storageStatus: "idle" | "storing" | "error";
|
|
1231
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
1232
|
+
error: string | null;
|
|
1233
|
+
lastRecalledIds: string[];
|
|
1234
|
+
};
|
|
1235
|
+
ghost: GhostState;
|
|
1236
|
+
soul: SoulState;
|
|
1237
|
+
bridge: BridgeState;
|
|
1238
|
+
}) => string[];
|
|
1239
|
+
declare const selectNPCEntities: (state: {
|
|
1240
|
+
[x: string]: /*elided*/ any;
|
|
1241
|
+
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
1242
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1243
|
+
npcId: string;
|
|
1244
|
+
request: DirectiveRequest;
|
|
1245
|
+
apiUrl: string;
|
|
1246
|
+
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>;
|
|
1248
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1249
|
+
npcId: string;
|
|
1250
|
+
request: ContextRequest;
|
|
1251
|
+
apiUrl: string;
|
|
1252
|
+
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>;
|
|
1254
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1255
|
+
npcId: string;
|
|
1256
|
+
request: VerdictRequest;
|
|
1257
|
+
apiUrl: string;
|
|
1258
|
+
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
|
+
postSpeak: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1261
|
+
npcId: string;
|
|
1262
|
+
request: SpeakRequest;
|
|
1263
|
+
apiUrl: string;
|
|
1264
|
+
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", SpeakResponse, "forbocApi", unknown>;
|
|
1266
|
+
postDialogue: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1267
|
+
npcId: string;
|
|
1268
|
+
request: DialogueRequest;
|
|
1269
|
+
apiUrl: string;
|
|
1270
|
+
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", DialogueResponse, "forbocApi", unknown>;
|
|
1272
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1273
|
+
request: {
|
|
1274
|
+
testSuite: string;
|
|
1275
|
+
duration: number;
|
|
1276
|
+
};
|
|
1277
|
+
apiUrl: string;
|
|
1278
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", GhostRunResponse, "forbocApi", unknown>;
|
|
1279
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1280
|
+
sessionId: string;
|
|
1281
|
+
apiUrl: string;
|
|
1282
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1283
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1284
|
+
sessionId: string;
|
|
1285
|
+
apiUrl: string;
|
|
1286
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1287
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1288
|
+
sessionId: string;
|
|
1289
|
+
apiUrl: string;
|
|
1290
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1291
|
+
stopped: boolean;
|
|
1292
|
+
}, "forbocApi", unknown>;
|
|
1293
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1294
|
+
limit: number;
|
|
1295
|
+
apiUrl: string;
|
|
1296
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1297
|
+
sessions: any[];
|
|
1298
|
+
}, "forbocApi", unknown>;
|
|
1299
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1300
|
+
npcId: string;
|
|
1301
|
+
request: any;
|
|
1302
|
+
apiUrl: string;
|
|
1303
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulExportResponse, "forbocApi", unknown>;
|
|
1304
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1305
|
+
txId: string;
|
|
1306
|
+
apiUrl: string;
|
|
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", any, "forbocApi", unknown>;
|
|
1308
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1309
|
+
limit: number;
|
|
1310
|
+
apiUrl: string;
|
|
1311
|
+
}, _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>;
|
|
1312
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1313
|
+
request: {
|
|
1314
|
+
action: NPCAction;
|
|
1315
|
+
context: ValidationContext;
|
|
1316
|
+
};
|
|
1317
|
+
npcId?: string;
|
|
1318
|
+
apiUrl: string;
|
|
1319
|
+
}, _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>;
|
|
1320
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1321
|
+
apiUrl: string;
|
|
1322
|
+
}, _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>;
|
|
1323
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1324
|
+
presetName: string;
|
|
1325
|
+
apiUrl: string;
|
|
1326
|
+
}, _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>;
|
|
1327
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1328
|
+
cortexId: string;
|
|
1329
|
+
prompt: string;
|
|
1330
|
+
options?: any;
|
|
1331
|
+
apiUrl: string;
|
|
1332
|
+
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", {
|
|
1334
|
+
text: string;
|
|
1335
|
+
}, "forbocApi", unknown>;
|
|
1336
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1337
|
+
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">;
|
|
1340
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1341
|
+
activeNpcId: string;
|
|
1342
|
+
};
|
|
1343
|
+
cortex: CortexInternalState;
|
|
1344
|
+
memory: _reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
1345
|
+
storageStatus: "idle" | "storing" | "error";
|
|
1346
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
1347
|
+
error: string | null;
|
|
1348
|
+
lastRecalledIds: string[];
|
|
1349
|
+
};
|
|
1350
|
+
ghost: GhostState;
|
|
1351
|
+
soul: SoulState;
|
|
1352
|
+
bridge: BridgeState;
|
|
1353
|
+
}) => Record<string, NPCInternalState>;
|
|
1354
|
+
declare const selectAllNPCs: (state: {
|
|
1355
|
+
[x: string]: /*elided*/ any;
|
|
1356
|
+
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
1357
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1358
|
+
npcId: string;
|
|
1359
|
+
request: DirectiveRequest;
|
|
1360
|
+
apiUrl: string;
|
|
1361
|
+
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>;
|
|
1363
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1364
|
+
npcId: string;
|
|
1365
|
+
request: ContextRequest;
|
|
1366
|
+
apiUrl: string;
|
|
1367
|
+
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>;
|
|
1369
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1370
|
+
npcId: string;
|
|
1371
|
+
request: VerdictRequest;
|
|
1372
|
+
apiUrl: string;
|
|
1373
|
+
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
|
+
postSpeak: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1376
|
+
npcId: string;
|
|
1377
|
+
request: SpeakRequest;
|
|
1378
|
+
apiUrl: string;
|
|
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", SpeakResponse, "forbocApi", unknown>;
|
|
1381
|
+
postDialogue: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1382
|
+
npcId: string;
|
|
1383
|
+
request: DialogueRequest;
|
|
1384
|
+
apiUrl: string;
|
|
1385
|
+
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", DialogueResponse, "forbocApi", unknown>;
|
|
1387
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1388
|
+
request: {
|
|
1389
|
+
testSuite: string;
|
|
1390
|
+
duration: number;
|
|
1391
|
+
};
|
|
1392
|
+
apiUrl: 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", GhostRunResponse, "forbocApi", unknown>;
|
|
1394
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1395
|
+
sessionId: string;
|
|
1396
|
+
apiUrl: 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", any, "forbocApi", unknown>;
|
|
1398
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1399
|
+
sessionId: string;
|
|
1400
|
+
apiUrl: string;
|
|
1401
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1402
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1403
|
+
sessionId: string;
|
|
1404
|
+
apiUrl: string;
|
|
1405
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1406
|
+
stopped: boolean;
|
|
1407
|
+
}, "forbocApi", unknown>;
|
|
1408
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1409
|
+
limit: number;
|
|
1410
|
+
apiUrl: string;
|
|
1411
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1412
|
+
sessions: any[];
|
|
1413
|
+
}, "forbocApi", unknown>;
|
|
1414
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1415
|
+
npcId: string;
|
|
1416
|
+
request: any;
|
|
1417
|
+
apiUrl: string;
|
|
1418
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulExportResponse, "forbocApi", unknown>;
|
|
1419
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1420
|
+
txId: string;
|
|
1421
|
+
apiUrl: string;
|
|
1422
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1423
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1424
|
+
limit: number;
|
|
1425
|
+
apiUrl: string;
|
|
1426
|
+
}, _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>;
|
|
1427
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1428
|
+
request: {
|
|
1429
|
+
action: NPCAction;
|
|
1430
|
+
context: ValidationContext;
|
|
1431
|
+
};
|
|
1432
|
+
npcId?: string;
|
|
1433
|
+
apiUrl: string;
|
|
1434
|
+
}, _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>;
|
|
1435
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1436
|
+
apiUrl: string;
|
|
1437
|
+
}, _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>;
|
|
1438
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1439
|
+
presetName: string;
|
|
1440
|
+
apiUrl: string;
|
|
1441
|
+
}, _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>;
|
|
1442
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1443
|
+
cortexId: string;
|
|
1444
|
+
prompt: string;
|
|
1445
|
+
options?: any;
|
|
1446
|
+
apiUrl: string;
|
|
1447
|
+
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", {
|
|
1449
|
+
text: string;
|
|
1450
|
+
}, "forbocApi", unknown>;
|
|
1451
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1452
|
+
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">;
|
|
1455
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1456
|
+
activeNpcId: string;
|
|
1457
|
+
};
|
|
1458
|
+
cortex: CortexInternalState;
|
|
1459
|
+
memory: _reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
1460
|
+
storageStatus: "idle" | "storing" | "error";
|
|
1461
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
1462
|
+
error: string | null;
|
|
1463
|
+
lastRecalledIds: string[];
|
|
1464
|
+
};
|
|
1465
|
+
ghost: GhostState;
|
|
1466
|
+
soul: SoulState;
|
|
1467
|
+
bridge: BridgeState;
|
|
1468
|
+
}) => NPCInternalState[];
|
|
1469
|
+
declare const selectTotalNPCs: (state: {
|
|
1470
|
+
[x: string]: /*elided*/ any;
|
|
1471
|
+
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
1472
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1473
|
+
npcId: string;
|
|
1474
|
+
request: DirectiveRequest;
|
|
1475
|
+
apiUrl: string;
|
|
1476
|
+
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>;
|
|
1478
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1479
|
+
npcId: string;
|
|
1480
|
+
request: ContextRequest;
|
|
1481
|
+
apiUrl: string;
|
|
1482
|
+
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>;
|
|
1484
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1485
|
+
npcId: string;
|
|
1486
|
+
request: VerdictRequest;
|
|
1487
|
+
apiUrl: string;
|
|
1488
|
+
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
|
+
postSpeak: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1491
|
+
npcId: string;
|
|
1492
|
+
request: SpeakRequest;
|
|
1493
|
+
apiUrl: string;
|
|
1494
|
+
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", SpeakResponse, "forbocApi", unknown>;
|
|
1496
|
+
postDialogue: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1497
|
+
npcId: string;
|
|
1498
|
+
request: DialogueRequest;
|
|
1499
|
+
apiUrl: string;
|
|
1500
|
+
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", DialogueResponse, "forbocApi", unknown>;
|
|
1502
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1503
|
+
request: {
|
|
1504
|
+
testSuite: string;
|
|
1505
|
+
duration: number;
|
|
1506
|
+
};
|
|
1507
|
+
apiUrl: string;
|
|
1508
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", GhostRunResponse, "forbocApi", unknown>;
|
|
1509
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1510
|
+
sessionId: string;
|
|
1511
|
+
apiUrl: string;
|
|
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", any, "forbocApi", unknown>;
|
|
1513
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1514
|
+
sessionId: string;
|
|
1515
|
+
apiUrl: string;
|
|
1516
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1517
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1518
|
+
sessionId: string;
|
|
1519
|
+
apiUrl: 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", {
|
|
1521
|
+
stopped: boolean;
|
|
1522
|
+
}, "forbocApi", unknown>;
|
|
1523
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1524
|
+
limit: number;
|
|
1525
|
+
apiUrl: string;
|
|
1526
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1527
|
+
sessions: any[];
|
|
1528
|
+
}, "forbocApi", unknown>;
|
|
1529
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1530
|
+
npcId: string;
|
|
1531
|
+
request: any;
|
|
1532
|
+
apiUrl: string;
|
|
1533
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulExportResponse, "forbocApi", unknown>;
|
|
1534
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1535
|
+
txId: string;
|
|
1536
|
+
apiUrl: string;
|
|
1537
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1538
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1539
|
+
limit: number;
|
|
1540
|
+
apiUrl: string;
|
|
1541
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulListResponse, "forbocApi", unknown>;
|
|
1542
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1543
|
+
request: {
|
|
1544
|
+
action: NPCAction;
|
|
1545
|
+
context: ValidationContext;
|
|
1546
|
+
};
|
|
1547
|
+
npcId?: string;
|
|
1548
|
+
apiUrl: string;
|
|
1549
|
+
}, _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>;
|
|
1550
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1551
|
+
apiUrl: 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", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
1553
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1554
|
+
presetName: string;
|
|
1555
|
+
apiUrl: string;
|
|
1556
|
+
}, _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>;
|
|
1557
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1558
|
+
cortexId: string;
|
|
1559
|
+
prompt: string;
|
|
1560
|
+
options?: any;
|
|
1561
|
+
apiUrl: string;
|
|
1562
|
+
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", {
|
|
1564
|
+
text: string;
|
|
1565
|
+
}, "forbocApi", unknown>;
|
|
1566
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1567
|
+
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">;
|
|
1570
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1571
|
+
activeNpcId: string;
|
|
1572
|
+
};
|
|
1573
|
+
cortex: CortexInternalState;
|
|
1574
|
+
memory: _reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
1575
|
+
storageStatus: "idle" | "storing" | "error";
|
|
1576
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
1577
|
+
error: string | null;
|
|
1578
|
+
lastRecalledIds: string[];
|
|
1579
|
+
};
|
|
1580
|
+
ghost: GhostState;
|
|
1581
|
+
soul: SoulState;
|
|
1582
|
+
bridge: BridgeState;
|
|
1583
|
+
}) => number;
|
|
1584
|
+
declare const selectActiveNpcId: (state: SDKState) => string;
|
|
1585
|
+
declare const selectActiveNPC: (state: SDKState) => NPCInternalState;
|
|
423
1586
|
|
|
424
1587
|
/**
|
|
425
|
-
* Creates
|
|
426
|
-
*
|
|
1588
|
+
* Creates the SDK internal Redux store.
|
|
1589
|
+
* Note: If using in a host app, slices should ideally be combined into the host store.
|
|
427
1590
|
*/
|
|
428
|
-
declare const
|
|
1591
|
+
declare const createSDKStore: <S extends ReducersMapObject>(extraReducers?: S) => _reduxjs_toolkit.EnhancedStore<{
|
|
1592
|
+
[x: string]: /*elided*/ any;
|
|
1593
|
+
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
1594
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1595
|
+
npcId: string;
|
|
1596
|
+
request: DirectiveRequest;
|
|
1597
|
+
apiUrl: string;
|
|
1598
|
+
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>;
|
|
1600
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1601
|
+
npcId: string;
|
|
1602
|
+
request: ContextRequest;
|
|
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", ContextResponse, "forbocApi", unknown>;
|
|
1606
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1607
|
+
npcId: string;
|
|
1608
|
+
request: VerdictRequest;
|
|
1609
|
+
apiUrl: string;
|
|
1610
|
+
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
|
+
postSpeak: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1613
|
+
npcId: string;
|
|
1614
|
+
request: SpeakRequest;
|
|
1615
|
+
apiUrl: string;
|
|
1616
|
+
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", SpeakResponse, "forbocApi", unknown>;
|
|
1618
|
+
postDialogue: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1619
|
+
npcId: string;
|
|
1620
|
+
request: DialogueRequest;
|
|
1621
|
+
apiUrl: string;
|
|
1622
|
+
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", DialogueResponse, "forbocApi", unknown>;
|
|
1624
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1625
|
+
request: {
|
|
1626
|
+
testSuite: string;
|
|
1627
|
+
duration: number;
|
|
1628
|
+
};
|
|
1629
|
+
apiUrl: string;
|
|
1630
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", GhostRunResponse, "forbocApi", unknown>;
|
|
1631
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1632
|
+
sessionId: string;
|
|
1633
|
+
apiUrl: string;
|
|
1634
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1635
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1636
|
+
sessionId: string;
|
|
1637
|
+
apiUrl: string;
|
|
1638
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1639
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1640
|
+
sessionId: string;
|
|
1641
|
+
apiUrl: string;
|
|
1642
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1643
|
+
stopped: boolean;
|
|
1644
|
+
}, "forbocApi", unknown>;
|
|
1645
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1646
|
+
limit: number;
|
|
1647
|
+
apiUrl: string;
|
|
1648
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1649
|
+
sessions: any[];
|
|
1650
|
+
}, "forbocApi", unknown>;
|
|
1651
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1652
|
+
npcId: string;
|
|
1653
|
+
request: any;
|
|
1654
|
+
apiUrl: string;
|
|
1655
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulExportResponse, "forbocApi", unknown>;
|
|
1656
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1657
|
+
txId: string;
|
|
1658
|
+
apiUrl: string;
|
|
1659
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1660
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1661
|
+
limit: number;
|
|
1662
|
+
apiUrl: string;
|
|
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", SoulListResponse, "forbocApi", unknown>;
|
|
1664
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1665
|
+
request: {
|
|
1666
|
+
action: NPCAction;
|
|
1667
|
+
context: ValidationContext;
|
|
1668
|
+
};
|
|
1669
|
+
npcId?: string;
|
|
1670
|
+
apiUrl: string;
|
|
1671
|
+
}, _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>;
|
|
1672
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1673
|
+
apiUrl: string;
|
|
1674
|
+
}, _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>;
|
|
1675
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1676
|
+
presetName: string;
|
|
1677
|
+
apiUrl: string;
|
|
1678
|
+
}, _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>;
|
|
1679
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1680
|
+
cortexId: string;
|
|
1681
|
+
prompt: string;
|
|
1682
|
+
options?: any;
|
|
1683
|
+
apiUrl: string;
|
|
1684
|
+
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", {
|
|
1686
|
+
text: string;
|
|
1687
|
+
}, "forbocApi", unknown>;
|
|
1688
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1689
|
+
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">;
|
|
1692
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1693
|
+
activeNpcId: string;
|
|
1694
|
+
};
|
|
1695
|
+
cortex: CortexInternalState;
|
|
1696
|
+
memory: _reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
1697
|
+
storageStatus: "idle" | "storing" | "error";
|
|
1698
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
1699
|
+
error: string | null;
|
|
1700
|
+
lastRecalledIds: string[];
|
|
1701
|
+
};
|
|
1702
|
+
ghost: GhostState;
|
|
1703
|
+
soul: SoulState;
|
|
1704
|
+
bridge: BridgeState;
|
|
1705
|
+
}, redux.UnknownAction, _reduxjs_toolkit.Tuple<[redux.StoreEnhancer<{
|
|
1706
|
+
dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
|
|
1707
|
+
[x: string]: /*elided*/ any;
|
|
1708
|
+
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
1709
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1710
|
+
npcId: string;
|
|
1711
|
+
request: DirectiveRequest;
|
|
1712
|
+
apiUrl: string;
|
|
1713
|
+
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>;
|
|
1715
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1716
|
+
npcId: string;
|
|
1717
|
+
request: ContextRequest;
|
|
1718
|
+
apiUrl: string;
|
|
1719
|
+
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>;
|
|
1721
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1722
|
+
npcId: string;
|
|
1723
|
+
request: VerdictRequest;
|
|
1724
|
+
apiUrl: string;
|
|
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", VerdictResponse, "forbocApi", unknown>;
|
|
1727
|
+
postSpeak: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1728
|
+
npcId: string;
|
|
1729
|
+
request: SpeakRequest;
|
|
1730
|
+
apiUrl: string;
|
|
1731
|
+
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", SpeakResponse, "forbocApi", unknown>;
|
|
1733
|
+
postDialogue: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1734
|
+
npcId: string;
|
|
1735
|
+
request: DialogueRequest;
|
|
1736
|
+
apiUrl: string;
|
|
1737
|
+
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", DialogueResponse, "forbocApi", unknown>;
|
|
1739
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1740
|
+
request: {
|
|
1741
|
+
testSuite: string;
|
|
1742
|
+
duration: number;
|
|
1743
|
+
};
|
|
1744
|
+
apiUrl: string;
|
|
1745
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", GhostRunResponse, "forbocApi", unknown>;
|
|
1746
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1747
|
+
sessionId: string;
|
|
1748
|
+
apiUrl: string;
|
|
1749
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1750
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1751
|
+
sessionId: string;
|
|
1752
|
+
apiUrl: 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", any, "forbocApi", unknown>;
|
|
1754
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1755
|
+
sessionId: string;
|
|
1756
|
+
apiUrl: string;
|
|
1757
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1758
|
+
stopped: boolean;
|
|
1759
|
+
}, "forbocApi", unknown>;
|
|
1760
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1761
|
+
limit: number;
|
|
1762
|
+
apiUrl: string;
|
|
1763
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1764
|
+
sessions: any[];
|
|
1765
|
+
}, "forbocApi", unknown>;
|
|
1766
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1767
|
+
npcId: string;
|
|
1768
|
+
request: any;
|
|
1769
|
+
apiUrl: string;
|
|
1770
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulExportResponse, "forbocApi", unknown>;
|
|
1771
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1772
|
+
txId: string;
|
|
1773
|
+
apiUrl: string;
|
|
1774
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1775
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1776
|
+
limit: number;
|
|
1777
|
+
apiUrl: string;
|
|
1778
|
+
}, _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>;
|
|
1779
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1780
|
+
request: {
|
|
1781
|
+
action: NPCAction;
|
|
1782
|
+
context: ValidationContext;
|
|
1783
|
+
};
|
|
1784
|
+
npcId?: string;
|
|
1785
|
+
apiUrl: string;
|
|
1786
|
+
}, _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>;
|
|
1787
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1788
|
+
apiUrl: 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", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
1790
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1791
|
+
presetName: string;
|
|
1792
|
+
apiUrl: string;
|
|
1793
|
+
}, _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>;
|
|
1794
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1795
|
+
cortexId: string;
|
|
1796
|
+
prompt: string;
|
|
1797
|
+
options?: any;
|
|
1798
|
+
apiUrl: string;
|
|
1799
|
+
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", {
|
|
1801
|
+
text: string;
|
|
1802
|
+
}, "forbocApi", unknown>;
|
|
1803
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1804
|
+
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">;
|
|
1807
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1808
|
+
activeNpcId: string;
|
|
1809
|
+
};
|
|
1810
|
+
cortex: CortexInternalState;
|
|
1811
|
+
memory: _reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
1812
|
+
storageStatus: "idle" | "storing" | "error";
|
|
1813
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
1814
|
+
error: string | null;
|
|
1815
|
+
lastRecalledIds: string[];
|
|
1816
|
+
};
|
|
1817
|
+
ghost: GhostState;
|
|
1818
|
+
soul: SoulState;
|
|
1819
|
+
bridge: BridgeState;
|
|
1820
|
+
}, undefined, redux.UnknownAction>;
|
|
1821
|
+
}>, redux.StoreEnhancer]>>;
|
|
1822
|
+
declare const store: _reduxjs_toolkit.EnhancedStore<{
|
|
1823
|
+
[x: string]: /*elided*/ any;
|
|
1824
|
+
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
1825
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1826
|
+
npcId: string;
|
|
1827
|
+
request: DirectiveRequest;
|
|
1828
|
+
apiUrl: string;
|
|
1829
|
+
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>;
|
|
1831
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1832
|
+
npcId: string;
|
|
1833
|
+
request: ContextRequest;
|
|
1834
|
+
apiUrl: string;
|
|
1835
|
+
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>;
|
|
1837
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1838
|
+
npcId: string;
|
|
1839
|
+
request: VerdictRequest;
|
|
1840
|
+
apiUrl: string;
|
|
1841
|
+
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
|
+
postSpeak: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1844
|
+
npcId: string;
|
|
1845
|
+
request: SpeakRequest;
|
|
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", SpeakResponse, "forbocApi", unknown>;
|
|
1849
|
+
postDialogue: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1850
|
+
npcId: string;
|
|
1851
|
+
request: DialogueRequest;
|
|
1852
|
+
apiUrl: string;
|
|
1853
|
+
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", DialogueResponse, "forbocApi", unknown>;
|
|
1855
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1856
|
+
request: {
|
|
1857
|
+
testSuite: string;
|
|
1858
|
+
duration: number;
|
|
1859
|
+
};
|
|
1860
|
+
apiUrl: string;
|
|
1861
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", GhostRunResponse, "forbocApi", unknown>;
|
|
1862
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1863
|
+
sessionId: string;
|
|
1864
|
+
apiUrl: string;
|
|
1865
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1866
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1867
|
+
sessionId: string;
|
|
1868
|
+
apiUrl: string;
|
|
1869
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1870
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1871
|
+
sessionId: string;
|
|
1872
|
+
apiUrl: string;
|
|
1873
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1874
|
+
stopped: boolean;
|
|
1875
|
+
}, "forbocApi", unknown>;
|
|
1876
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1877
|
+
limit: number;
|
|
1878
|
+
apiUrl: string;
|
|
1879
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1880
|
+
sessions: any[];
|
|
1881
|
+
}, "forbocApi", unknown>;
|
|
1882
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1883
|
+
npcId: string;
|
|
1884
|
+
request: any;
|
|
1885
|
+
apiUrl: string;
|
|
1886
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulExportResponse, "forbocApi", unknown>;
|
|
1887
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1888
|
+
txId: string;
|
|
1889
|
+
apiUrl: string;
|
|
1890
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1891
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1892
|
+
limit: number;
|
|
1893
|
+
apiUrl: string;
|
|
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", SoulListResponse, "forbocApi", unknown>;
|
|
1895
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1896
|
+
request: {
|
|
1897
|
+
action: NPCAction;
|
|
1898
|
+
context: ValidationContext;
|
|
1899
|
+
};
|
|
1900
|
+
npcId?: string;
|
|
1901
|
+
apiUrl: 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", ValidationResult, "forbocApi", unknown>;
|
|
1903
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1904
|
+
apiUrl: string;
|
|
1905
|
+
}, _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>;
|
|
1906
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1907
|
+
presetName: string;
|
|
1908
|
+
apiUrl: string;
|
|
1909
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", DirectiveRuleSet, "forbocApi", unknown>;
|
|
1910
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1911
|
+
cortexId: string;
|
|
1912
|
+
prompt: string;
|
|
1913
|
+
options?: any;
|
|
1914
|
+
apiUrl: string;
|
|
1915
|
+
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", {
|
|
1917
|
+
text: string;
|
|
1918
|
+
}, "forbocApi", unknown>;
|
|
1919
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1920
|
+
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">;
|
|
1923
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
1924
|
+
activeNpcId: string;
|
|
1925
|
+
};
|
|
1926
|
+
cortex: CortexInternalState;
|
|
1927
|
+
memory: _reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
1928
|
+
storageStatus: "idle" | "storing" | "error";
|
|
1929
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
1930
|
+
error: string | null;
|
|
1931
|
+
lastRecalledIds: string[];
|
|
1932
|
+
};
|
|
1933
|
+
ghost: GhostState;
|
|
1934
|
+
soul: SoulState;
|
|
1935
|
+
bridge: BridgeState;
|
|
1936
|
+
}, redux.UnknownAction, _reduxjs_toolkit.Tuple<[redux.StoreEnhancer<{
|
|
1937
|
+
dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
|
|
1938
|
+
[x: string]: /*elided*/ any;
|
|
1939
|
+
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
1940
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1941
|
+
npcId: string;
|
|
1942
|
+
request: DirectiveRequest;
|
|
1943
|
+
apiUrl: string;
|
|
1944
|
+
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>;
|
|
1946
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1947
|
+
npcId: string;
|
|
1948
|
+
request: ContextRequest;
|
|
1949
|
+
apiUrl: string;
|
|
1950
|
+
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>;
|
|
1952
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1953
|
+
npcId: string;
|
|
1954
|
+
request: VerdictRequest;
|
|
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", VerdictResponse, "forbocApi", unknown>;
|
|
1958
|
+
postSpeak: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1959
|
+
npcId: string;
|
|
1960
|
+
request: SpeakRequest;
|
|
1961
|
+
apiUrl: string;
|
|
1962
|
+
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", SpeakResponse, "forbocApi", unknown>;
|
|
1964
|
+
postDialogue: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1965
|
+
npcId: string;
|
|
1966
|
+
request: DialogueRequest;
|
|
1967
|
+
apiUrl: string;
|
|
1968
|
+
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", DialogueResponse, "forbocApi", unknown>;
|
|
1970
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1971
|
+
request: {
|
|
1972
|
+
testSuite: string;
|
|
1973
|
+
duration: number;
|
|
1974
|
+
};
|
|
1975
|
+
apiUrl: string;
|
|
1976
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", GhostRunResponse, "forbocApi", unknown>;
|
|
1977
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1978
|
+
sessionId: string;
|
|
1979
|
+
apiUrl: 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", any, "forbocApi", unknown>;
|
|
1981
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1982
|
+
sessionId: string;
|
|
1983
|
+
apiUrl: string;
|
|
1984
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
1985
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1986
|
+
sessionId: string;
|
|
1987
|
+
apiUrl: string;
|
|
1988
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
1989
|
+
stopped: boolean;
|
|
1990
|
+
}, "forbocApi", unknown>;
|
|
1991
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
1992
|
+
limit: number;
|
|
1993
|
+
apiUrl: 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", {
|
|
1995
|
+
sessions: any[];
|
|
1996
|
+
}, "forbocApi", unknown>;
|
|
1997
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
1998
|
+
npcId: string;
|
|
1999
|
+
request: any;
|
|
2000
|
+
apiUrl: 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", SoulExportResponse, "forbocApi", unknown>;
|
|
2002
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2003
|
+
txId: string;
|
|
2004
|
+
apiUrl: string;
|
|
2005
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
2006
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2007
|
+
limit: number;
|
|
2008
|
+
apiUrl: string;
|
|
2009
|
+
}, _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>;
|
|
2010
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2011
|
+
request: {
|
|
2012
|
+
action: NPCAction;
|
|
2013
|
+
context: ValidationContext;
|
|
2014
|
+
};
|
|
2015
|
+
npcId?: string;
|
|
2016
|
+
apiUrl: string;
|
|
2017
|
+
}, _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>;
|
|
2018
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2019
|
+
apiUrl: string;
|
|
2020
|
+
}, _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>;
|
|
2021
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2022
|
+
presetName: string;
|
|
2023
|
+
apiUrl: string;
|
|
2024
|
+
}, _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>;
|
|
2025
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2026
|
+
cortexId: string;
|
|
2027
|
+
prompt: string;
|
|
2028
|
+
options?: any;
|
|
2029
|
+
apiUrl: string;
|
|
2030
|
+
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", {
|
|
2032
|
+
text: string;
|
|
2033
|
+
}, "forbocApi", unknown>;
|
|
2034
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2035
|
+
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">;
|
|
2038
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
2039
|
+
activeNpcId: string;
|
|
2040
|
+
};
|
|
2041
|
+
cortex: CortexInternalState;
|
|
2042
|
+
memory: _reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
2043
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2044
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2045
|
+
error: string | null;
|
|
2046
|
+
lastRecalledIds: string[];
|
|
2047
|
+
};
|
|
2048
|
+
ghost: GhostState;
|
|
2049
|
+
soul: SoulState;
|
|
2050
|
+
bridge: BridgeState;
|
|
2051
|
+
}, undefined, redux.UnknownAction>;
|
|
2052
|
+
}>, redux.StoreEnhancer]>>;
|
|
2053
|
+
declare const dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
|
|
2054
|
+
[x: string]: /*elided*/ any;
|
|
2055
|
+
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
2056
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2057
|
+
npcId: string;
|
|
2058
|
+
request: DirectiveRequest;
|
|
2059
|
+
apiUrl: string;
|
|
2060
|
+
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>;
|
|
2062
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2063
|
+
npcId: string;
|
|
2064
|
+
request: ContextRequest;
|
|
2065
|
+
apiUrl: string;
|
|
2066
|
+
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>;
|
|
2068
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2069
|
+
npcId: string;
|
|
2070
|
+
request: VerdictRequest;
|
|
2071
|
+
apiUrl: string;
|
|
2072
|
+
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
|
+
postSpeak: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2075
|
+
npcId: string;
|
|
2076
|
+
request: SpeakRequest;
|
|
2077
|
+
apiUrl: string;
|
|
2078
|
+
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", SpeakResponse, "forbocApi", unknown>;
|
|
2080
|
+
postDialogue: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2081
|
+
npcId: string;
|
|
2082
|
+
request: DialogueRequest;
|
|
2083
|
+
apiUrl: string;
|
|
2084
|
+
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", DialogueResponse, "forbocApi", unknown>;
|
|
2086
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2087
|
+
request: {
|
|
2088
|
+
testSuite: string;
|
|
2089
|
+
duration: number;
|
|
2090
|
+
};
|
|
2091
|
+
apiUrl: string;
|
|
2092
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", GhostRunResponse, "forbocApi", unknown>;
|
|
2093
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2094
|
+
sessionId: string;
|
|
2095
|
+
apiUrl: string;
|
|
2096
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
2097
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2098
|
+
sessionId: string;
|
|
2099
|
+
apiUrl: string;
|
|
2100
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
2101
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2102
|
+
sessionId: string;
|
|
2103
|
+
apiUrl: string;
|
|
2104
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
2105
|
+
stopped: boolean;
|
|
2106
|
+
}, "forbocApi", unknown>;
|
|
2107
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2108
|
+
limit: number;
|
|
2109
|
+
apiUrl: string;
|
|
2110
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
2111
|
+
sessions: any[];
|
|
2112
|
+
}, "forbocApi", unknown>;
|
|
2113
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2114
|
+
npcId: string;
|
|
2115
|
+
request: any;
|
|
2116
|
+
apiUrl: string;
|
|
2117
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulExportResponse, "forbocApi", unknown>;
|
|
2118
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2119
|
+
txId: string;
|
|
2120
|
+
apiUrl: string;
|
|
2121
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
2122
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2123
|
+
limit: number;
|
|
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<{
|
|
2127
|
+
request: {
|
|
2128
|
+
action: NPCAction;
|
|
2129
|
+
context: ValidationContext;
|
|
2130
|
+
};
|
|
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
|
+
apiUrl: string;
|
|
2140
|
+
}, _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>;
|
|
2141
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2142
|
+
cortexId: string;
|
|
2143
|
+
prompt: string;
|
|
2144
|
+
options?: any;
|
|
2145
|
+
apiUrl: string;
|
|
2146
|
+
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", {
|
|
2148
|
+
text: string;
|
|
2149
|
+
}, "forbocApi", unknown>;
|
|
2150
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2151
|
+
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">;
|
|
2154
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
2155
|
+
activeNpcId: string;
|
|
2156
|
+
};
|
|
2157
|
+
cortex: CortexInternalState;
|
|
2158
|
+
memory: _reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
2159
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2160
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2161
|
+
error: string | null;
|
|
2162
|
+
lastRecalledIds: string[];
|
|
2163
|
+
};
|
|
2164
|
+
ghost: GhostState;
|
|
2165
|
+
soul: SoulState;
|
|
2166
|
+
bridge: BridgeState;
|
|
2167
|
+
}, undefined, redux.UnknownAction> & redux.Dispatch<redux.UnknownAction>;
|
|
2168
|
+
type SDKStore = ReturnType<typeof createSDKStore>;
|
|
2169
|
+
type SDKState = ReturnType<SDKStore['getState']>;
|
|
2170
|
+
type SDKDispatch = SDKStore['dispatch'];
|
|
2171
|
+
|
|
2172
|
+
interface SoulState {
|
|
2173
|
+
exportStatus: 'idle' | 'exporting' | 'success' | 'failed';
|
|
2174
|
+
importStatus: 'idle' | 'importing' | 'success' | 'failed';
|
|
2175
|
+
lastExport: SoulExportResult | null;
|
|
2176
|
+
lastImport: Soul | null;
|
|
2177
|
+
availableSouls: any[];
|
|
2178
|
+
error: string | null;
|
|
2179
|
+
}
|
|
2180
|
+
declare const remoteExportSoulThunk: _reduxjs_toolkit.AsyncThunk<SoulExportResult, {
|
|
2181
|
+
npcId?: string;
|
|
2182
|
+
apiUrl?: string;
|
|
2183
|
+
memories?: any[];
|
|
2184
|
+
}, {
|
|
2185
|
+
state: SDKState;
|
|
2186
|
+
rejectValue: string;
|
|
2187
|
+
extra?: unknown;
|
|
2188
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
2189
|
+
serializedErrorType?: unknown;
|
|
2190
|
+
pendingMeta?: unknown;
|
|
2191
|
+
fulfilledMeta?: unknown;
|
|
2192
|
+
rejectedMeta?: unknown;
|
|
2193
|
+
}>;
|
|
2194
|
+
declare const importSoulFromArweaveThunk: _reduxjs_toolkit.AsyncThunk<Soul, {
|
|
2195
|
+
txId: string;
|
|
2196
|
+
apiUrl?: string;
|
|
2197
|
+
}, {
|
|
2198
|
+
rejectValue: string;
|
|
2199
|
+
extra?: unknown;
|
|
2200
|
+
state?: unknown;
|
|
2201
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
2202
|
+
serializedErrorType?: unknown;
|
|
2203
|
+
pendingMeta?: unknown;
|
|
2204
|
+
fulfilledMeta?: unknown;
|
|
2205
|
+
rejectedMeta?: unknown;
|
|
2206
|
+
}>;
|
|
2207
|
+
declare const getSoulListThunk: _reduxjs_toolkit.AsyncThunk<any[], {
|
|
2208
|
+
limit?: number;
|
|
2209
|
+
apiUrl?: string;
|
|
2210
|
+
}, {
|
|
2211
|
+
rejectValue: string;
|
|
2212
|
+
extra?: unknown;
|
|
2213
|
+
state?: unknown;
|
|
2214
|
+
dispatch?: redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction> | undefined;
|
|
2215
|
+
serializedErrorType?: unknown;
|
|
2216
|
+
pendingMeta?: unknown;
|
|
2217
|
+
fulfilledMeta?: unknown;
|
|
2218
|
+
rejectedMeta?: unknown;
|
|
2219
|
+
}>;
|
|
2220
|
+
declare const soulSlice: _reduxjs_toolkit.Slice<SoulState, {
|
|
2221
|
+
clearSoulState: (state: {
|
|
2222
|
+
exportStatus: "idle" | "exporting" | "success" | "failed";
|
|
2223
|
+
importStatus: "idle" | "importing" | "success" | "failed";
|
|
2224
|
+
lastExport: {
|
|
2225
|
+
txId: string;
|
|
2226
|
+
url: string;
|
|
2227
|
+
soul: {
|
|
2228
|
+
id: string;
|
|
2229
|
+
version: string;
|
|
2230
|
+
name: string;
|
|
2231
|
+
persona: string;
|
|
2232
|
+
memories: {
|
|
2233
|
+
id: string;
|
|
2234
|
+
text: string;
|
|
2235
|
+
embedding?: number[] | undefined;
|
|
2236
|
+
timestamp: number;
|
|
2237
|
+
type: string;
|
|
2238
|
+
importance: number;
|
|
2239
|
+
}[];
|
|
2240
|
+
state: {
|
|
2241
|
+
[x: string]: unknown;
|
|
2242
|
+
};
|
|
2243
|
+
signature?: string | undefined;
|
|
2244
|
+
};
|
|
2245
|
+
} | null;
|
|
2246
|
+
lastImport: {
|
|
2247
|
+
id: string;
|
|
2248
|
+
version: string;
|
|
2249
|
+
name: string;
|
|
2250
|
+
persona: string;
|
|
2251
|
+
memories: {
|
|
2252
|
+
id: string;
|
|
2253
|
+
text: string;
|
|
2254
|
+
embedding?: number[] | undefined;
|
|
2255
|
+
timestamp: number;
|
|
2256
|
+
type: string;
|
|
2257
|
+
importance: number;
|
|
2258
|
+
}[];
|
|
2259
|
+
state: {
|
|
2260
|
+
[x: string]: unknown;
|
|
2261
|
+
};
|
|
2262
|
+
signature?: string | undefined;
|
|
2263
|
+
} | null;
|
|
2264
|
+
availableSouls: any[];
|
|
2265
|
+
error: string | null;
|
|
2266
|
+
}) => void;
|
|
2267
|
+
}, "soul", "soul", _reduxjs_toolkit.SliceSelectors<SoulState>>;
|
|
2268
|
+
declare const clearSoulState: _reduxjs_toolkit.ActionCreatorWithoutPayload<"soul/clearSoulState">;
|
|
429
2269
|
|
|
430
2270
|
/**
|
|
431
2271
|
* Consume an async token stream, calling `onChunk` for each token.
|
|
@@ -460,6 +2300,11 @@ declare const streamFromCortexWithDelay: (cortex: ICortex, prompt: string, onChu
|
|
|
460
2300
|
/**
|
|
461
2301
|
* Pure Functional Utilities for ForbocAI SDK
|
|
462
2302
|
*/
|
|
2303
|
+
declare const SDK_VERSION = "0.5.9";
|
|
2304
|
+
/**
|
|
2305
|
+
* Generate a unique ID for a new NPC.
|
|
2306
|
+
*/
|
|
2307
|
+
declare const generateNPCId: () => string;
|
|
463
2308
|
/**
|
|
464
2309
|
* Delay execution for a specified number of milliseconds.
|
|
465
2310
|
*/
|
|
@@ -477,6 +2322,547 @@ declare const memoiseAsync: <T>(fn: () => Promise<T>) => () => Promise<T>;
|
|
|
477
2322
|
*/
|
|
478
2323
|
declare const memoise: <T>(fn: () => T) => () => T;
|
|
479
2324
|
|
|
480
|
-
declare const
|
|
2325
|
+
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>, {
|
|
2326
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2327
|
+
npcId: string;
|
|
2328
|
+
request: DirectiveRequest;
|
|
2329
|
+
apiUrl: string;
|
|
2330
|
+
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>;
|
|
2332
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2333
|
+
npcId: string;
|
|
2334
|
+
request: ContextRequest;
|
|
2335
|
+
apiUrl: string;
|
|
2336
|
+
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>;
|
|
2338
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2339
|
+
npcId: string;
|
|
2340
|
+
request: VerdictRequest;
|
|
2341
|
+
apiUrl: string;
|
|
2342
|
+
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
|
+
postSpeak: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2345
|
+
npcId: string;
|
|
2346
|
+
request: SpeakRequest;
|
|
2347
|
+
apiUrl: string;
|
|
2348
|
+
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", SpeakResponse, "forbocApi", unknown>;
|
|
2350
|
+
postDialogue: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2351
|
+
npcId: string;
|
|
2352
|
+
request: DialogueRequest;
|
|
2353
|
+
apiUrl: string;
|
|
2354
|
+
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", DialogueResponse, "forbocApi", unknown>;
|
|
2356
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2357
|
+
request: {
|
|
2358
|
+
testSuite: string;
|
|
2359
|
+
duration: number;
|
|
2360
|
+
};
|
|
2361
|
+
apiUrl: string;
|
|
2362
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", GhostRunResponse, "forbocApi", unknown>;
|
|
2363
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2364
|
+
sessionId: string;
|
|
2365
|
+
apiUrl: 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", any, "forbocApi", unknown>;
|
|
2367
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2368
|
+
sessionId: string;
|
|
2369
|
+
apiUrl: string;
|
|
2370
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
2371
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2372
|
+
sessionId: string;
|
|
2373
|
+
apiUrl: 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", {
|
|
2375
|
+
stopped: boolean;
|
|
2376
|
+
}, "forbocApi", unknown>;
|
|
2377
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2378
|
+
limit: number;
|
|
2379
|
+
apiUrl: string;
|
|
2380
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
2381
|
+
sessions: any[];
|
|
2382
|
+
}, "forbocApi", unknown>;
|
|
2383
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2384
|
+
npcId: string;
|
|
2385
|
+
request: any;
|
|
2386
|
+
apiUrl: string;
|
|
2387
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulExportResponse, "forbocApi", unknown>;
|
|
2388
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2389
|
+
txId: string;
|
|
2390
|
+
apiUrl: string;
|
|
2391
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
2392
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2393
|
+
limit: number;
|
|
2394
|
+
apiUrl: string;
|
|
2395
|
+
}, _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>;
|
|
2396
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2397
|
+
request: {
|
|
2398
|
+
action: NPCAction;
|
|
2399
|
+
context: ValidationContext;
|
|
2400
|
+
};
|
|
2401
|
+
npcId?: string;
|
|
2402
|
+
apiUrl: string;
|
|
2403
|
+
}, _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>;
|
|
2404
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2405
|
+
apiUrl: 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", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
2407
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2408
|
+
presetName: string;
|
|
2409
|
+
apiUrl: 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", DirectiveRuleSet, "forbocApi", unknown>;
|
|
2411
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2412
|
+
cortexId: string;
|
|
2413
|
+
prompt: string;
|
|
2414
|
+
options?: any;
|
|
2415
|
+
apiUrl: string;
|
|
2416
|
+
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", {
|
|
2418
|
+
text: string;
|
|
2419
|
+
}, "forbocApi", unknown>;
|
|
2420
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2421
|
+
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>;
|
|
2424
|
+
|
|
2425
|
+
declare const memorySlice: _reduxjs_toolkit.Slice<_reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
2426
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2427
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2428
|
+
error: string | null;
|
|
2429
|
+
lastRecalledIds: string[];
|
|
2430
|
+
}, {
|
|
2431
|
+
memoryStoreStart: (state: {
|
|
2432
|
+
ids: string[];
|
|
2433
|
+
entities: {
|
|
2434
|
+
[x: string]: {
|
|
2435
|
+
id: string;
|
|
2436
|
+
text: string;
|
|
2437
|
+
embedding?: number[] | undefined;
|
|
2438
|
+
timestamp: number;
|
|
2439
|
+
type: string;
|
|
2440
|
+
importance: number;
|
|
2441
|
+
};
|
|
2442
|
+
};
|
|
2443
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2444
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2445
|
+
error: string | null;
|
|
2446
|
+
lastRecalledIds: string[];
|
|
2447
|
+
}) => void;
|
|
2448
|
+
memoryStoreSuccess: (state: {
|
|
2449
|
+
ids: string[];
|
|
2450
|
+
entities: {
|
|
2451
|
+
[x: string]: {
|
|
2452
|
+
id: string;
|
|
2453
|
+
text: string;
|
|
2454
|
+
embedding?: number[] | undefined;
|
|
2455
|
+
timestamp: number;
|
|
2456
|
+
type: string;
|
|
2457
|
+
importance: number;
|
|
2458
|
+
};
|
|
2459
|
+
};
|
|
2460
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2461
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2462
|
+
error: string | null;
|
|
2463
|
+
lastRecalledIds: string[];
|
|
2464
|
+
}, action: PayloadAction<MemoryItem>) => void;
|
|
2465
|
+
memoryStoreFailed: (state: {
|
|
2466
|
+
ids: string[];
|
|
2467
|
+
entities: {
|
|
2468
|
+
[x: string]: {
|
|
2469
|
+
id: string;
|
|
2470
|
+
text: string;
|
|
2471
|
+
embedding?: number[] | undefined;
|
|
2472
|
+
timestamp: number;
|
|
2473
|
+
type: string;
|
|
2474
|
+
importance: number;
|
|
2475
|
+
};
|
|
2476
|
+
};
|
|
2477
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2478
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2479
|
+
error: string | null;
|
|
2480
|
+
lastRecalledIds: string[];
|
|
2481
|
+
}, action: PayloadAction<string>) => void;
|
|
2482
|
+
memoryRecallStart: (state: {
|
|
2483
|
+
ids: string[];
|
|
2484
|
+
entities: {
|
|
2485
|
+
[x: string]: {
|
|
2486
|
+
id: string;
|
|
2487
|
+
text: string;
|
|
2488
|
+
embedding?: number[] | undefined;
|
|
2489
|
+
timestamp: number;
|
|
2490
|
+
type: string;
|
|
2491
|
+
importance: number;
|
|
2492
|
+
};
|
|
2493
|
+
};
|
|
2494
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2495
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2496
|
+
error: string | null;
|
|
2497
|
+
lastRecalledIds: string[];
|
|
2498
|
+
}) => void;
|
|
2499
|
+
memoryRecallSuccess: (state: {
|
|
2500
|
+
ids: string[];
|
|
2501
|
+
entities: {
|
|
2502
|
+
[x: string]: {
|
|
2503
|
+
id: string;
|
|
2504
|
+
text: string;
|
|
2505
|
+
embedding?: number[] | undefined;
|
|
2506
|
+
timestamp: number;
|
|
2507
|
+
type: string;
|
|
2508
|
+
importance: number;
|
|
2509
|
+
};
|
|
2510
|
+
};
|
|
2511
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2512
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2513
|
+
error: string | null;
|
|
2514
|
+
lastRecalledIds: string[];
|
|
2515
|
+
}, action: PayloadAction<MemoryItem[]>) => void;
|
|
2516
|
+
memoryRecallFailed: (state: {
|
|
2517
|
+
ids: string[];
|
|
2518
|
+
entities: {
|
|
2519
|
+
[x: string]: {
|
|
2520
|
+
id: string;
|
|
2521
|
+
text: string;
|
|
2522
|
+
embedding?: number[] | undefined;
|
|
2523
|
+
timestamp: number;
|
|
2524
|
+
type: string;
|
|
2525
|
+
importance: number;
|
|
2526
|
+
};
|
|
2527
|
+
};
|
|
2528
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2529
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2530
|
+
error: string | null;
|
|
2531
|
+
lastRecalledIds: string[];
|
|
2532
|
+
}, action: PayloadAction<string>) => void;
|
|
2533
|
+
memoryClear: (state: {
|
|
2534
|
+
ids: string[];
|
|
2535
|
+
entities: {
|
|
2536
|
+
[x: string]: {
|
|
2537
|
+
id: string;
|
|
2538
|
+
text: string;
|
|
2539
|
+
embedding?: number[] | undefined;
|
|
2540
|
+
timestamp: number;
|
|
2541
|
+
type: string;
|
|
2542
|
+
importance: number;
|
|
2543
|
+
};
|
|
2544
|
+
};
|
|
2545
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2546
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2547
|
+
error: string | null;
|
|
2548
|
+
lastRecalledIds: string[];
|
|
2549
|
+
}) => void;
|
|
2550
|
+
}, "memory", "memory", _reduxjs_toolkit.SliceSelectors<_reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
2551
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2552
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2553
|
+
error: string | null;
|
|
2554
|
+
lastRecalledIds: string[];
|
|
2555
|
+
}>>;
|
|
2556
|
+
declare const memoryStoreStart: _reduxjs_toolkit.ActionCreatorWithoutPayload<"memory/memoryStoreStart">;
|
|
2557
|
+
declare const memoryStoreSuccess: _reduxjs_toolkit.ActionCreatorWithPayload<MemoryItem, "memory/memoryStoreSuccess">;
|
|
2558
|
+
declare const memoryStoreFailed: _reduxjs_toolkit.ActionCreatorWithPayload<string, "memory/memoryStoreFailed">;
|
|
2559
|
+
declare const memoryRecallStart: _reduxjs_toolkit.ActionCreatorWithoutPayload<"memory/memoryRecallStart">;
|
|
2560
|
+
declare const memoryRecallSuccess: _reduxjs_toolkit.ActionCreatorWithPayload<MemoryItem[], "memory/memoryRecallSuccess">;
|
|
2561
|
+
declare const memoryRecallFailed: _reduxjs_toolkit.ActionCreatorWithPayload<string, "memory/memoryRecallFailed">;
|
|
2562
|
+
declare const memoryClear: _reduxjs_toolkit.ActionCreatorWithoutPayload<"memory/memoryClear">;
|
|
2563
|
+
declare const selectMemoryById: (state: {
|
|
2564
|
+
[x: string]: /*elided*/ any;
|
|
2565
|
+
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
2566
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2567
|
+
npcId: string;
|
|
2568
|
+
request: DirectiveRequest;
|
|
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", DirectiveResponse, "forbocApi", unknown>;
|
|
2572
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2573
|
+
npcId: string;
|
|
2574
|
+
request: ContextRequest;
|
|
2575
|
+
apiUrl: string;
|
|
2576
|
+
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>;
|
|
2578
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2579
|
+
npcId: string;
|
|
2580
|
+
request: VerdictRequest;
|
|
2581
|
+
apiUrl: string;
|
|
2582
|
+
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
|
+
postSpeak: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2585
|
+
npcId: string;
|
|
2586
|
+
request: SpeakRequest;
|
|
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", SpeakResponse, "forbocApi", unknown>;
|
|
2590
|
+
postDialogue: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2591
|
+
npcId: string;
|
|
2592
|
+
request: DialogueRequest;
|
|
2593
|
+
apiUrl: string;
|
|
2594
|
+
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", DialogueResponse, "forbocApi", unknown>;
|
|
2596
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2597
|
+
request: {
|
|
2598
|
+
testSuite: string;
|
|
2599
|
+
duration: number;
|
|
2600
|
+
};
|
|
2601
|
+
apiUrl: 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", GhostRunResponse, "forbocApi", unknown>;
|
|
2603
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2604
|
+
sessionId: string;
|
|
2605
|
+
apiUrl: string;
|
|
2606
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
2607
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2608
|
+
sessionId: string;
|
|
2609
|
+
apiUrl: string;
|
|
2610
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
2611
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2612
|
+
sessionId: string;
|
|
2613
|
+
apiUrl: string;
|
|
2614
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
2615
|
+
stopped: boolean;
|
|
2616
|
+
}, "forbocApi", unknown>;
|
|
2617
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2618
|
+
limit: number;
|
|
2619
|
+
apiUrl: 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", {
|
|
2621
|
+
sessions: any[];
|
|
2622
|
+
}, "forbocApi", unknown>;
|
|
2623
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2624
|
+
npcId: string;
|
|
2625
|
+
request: any;
|
|
2626
|
+
apiUrl: string;
|
|
2627
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulExportResponse, "forbocApi", unknown>;
|
|
2628
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2629
|
+
txId: string;
|
|
2630
|
+
apiUrl: string;
|
|
2631
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
2632
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2633
|
+
limit: number;
|
|
2634
|
+
apiUrl: string;
|
|
2635
|
+
}, _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>;
|
|
2636
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2637
|
+
request: {
|
|
2638
|
+
action: NPCAction;
|
|
2639
|
+
context: ValidationContext;
|
|
2640
|
+
};
|
|
2641
|
+
npcId?: string;
|
|
2642
|
+
apiUrl: string;
|
|
2643
|
+
}, _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>;
|
|
2644
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2645
|
+
apiUrl: string;
|
|
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", DirectiveRuleSet[], "forbocApi", unknown>;
|
|
2647
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2648
|
+
presetName: string;
|
|
2649
|
+
apiUrl: string;
|
|
2650
|
+
}, _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>;
|
|
2651
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2652
|
+
cortexId: string;
|
|
2653
|
+
prompt: string;
|
|
2654
|
+
options?: any;
|
|
2655
|
+
apiUrl: string;
|
|
2656
|
+
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", {
|
|
2658
|
+
text: string;
|
|
2659
|
+
}, "forbocApi", unknown>;
|
|
2660
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2661
|
+
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">;
|
|
2664
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
2665
|
+
activeNpcId: string;
|
|
2666
|
+
};
|
|
2667
|
+
cortex: CortexInternalState;
|
|
2668
|
+
memory: _reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
2669
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2670
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2671
|
+
error: string | null;
|
|
2672
|
+
lastRecalledIds: string[];
|
|
2673
|
+
};
|
|
2674
|
+
ghost: GhostState;
|
|
2675
|
+
soul: SoulState;
|
|
2676
|
+
bridge: BridgeState;
|
|
2677
|
+
}, id: string) => {
|
|
2678
|
+
id: string;
|
|
2679
|
+
text: string;
|
|
2680
|
+
embedding?: number[] | undefined;
|
|
2681
|
+
timestamp: number;
|
|
2682
|
+
type: string;
|
|
2683
|
+
importance: number;
|
|
2684
|
+
};
|
|
2685
|
+
declare const selectAllMemories: (state: {
|
|
2686
|
+
[x: string]: /*elided*/ any;
|
|
2687
|
+
forbocApi: _reduxjs_toolkit_query.CombinedState<{
|
|
2688
|
+
postDirective: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2689
|
+
npcId: string;
|
|
2690
|
+
request: DirectiveRequest;
|
|
2691
|
+
apiUrl: string;
|
|
2692
|
+
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>;
|
|
2694
|
+
postContext: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2695
|
+
npcId: string;
|
|
2696
|
+
request: ContextRequest;
|
|
2697
|
+
apiUrl: string;
|
|
2698
|
+
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>;
|
|
2700
|
+
postVerdict: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2701
|
+
npcId: string;
|
|
2702
|
+
request: VerdictRequest;
|
|
2703
|
+
apiUrl: string;
|
|
2704
|
+
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
|
+
postSpeak: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2707
|
+
npcId: string;
|
|
2708
|
+
request: SpeakRequest;
|
|
2709
|
+
apiUrl: string;
|
|
2710
|
+
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", SpeakResponse, "forbocApi", unknown>;
|
|
2712
|
+
postDialogue: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2713
|
+
npcId: string;
|
|
2714
|
+
request: DialogueRequest;
|
|
2715
|
+
apiUrl: string;
|
|
2716
|
+
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", DialogueResponse, "forbocApi", unknown>;
|
|
2718
|
+
postGhostRun: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2719
|
+
request: {
|
|
2720
|
+
testSuite: string;
|
|
2721
|
+
duration: number;
|
|
2722
|
+
};
|
|
2723
|
+
apiUrl: string;
|
|
2724
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", GhostRunResponse, "forbocApi", unknown>;
|
|
2725
|
+
getGhostStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2726
|
+
sessionId: string;
|
|
2727
|
+
apiUrl: 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", any, "forbocApi", unknown>;
|
|
2729
|
+
getGhostResults: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2730
|
+
sessionId: string;
|
|
2731
|
+
apiUrl: string;
|
|
2732
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
2733
|
+
postGhostStop: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2734
|
+
sessionId: string;
|
|
2735
|
+
apiUrl: string;
|
|
2736
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", {
|
|
2737
|
+
stopped: boolean;
|
|
2738
|
+
}, "forbocApi", unknown>;
|
|
2739
|
+
getGhostHistory: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2740
|
+
limit: number;
|
|
2741
|
+
apiUrl: string;
|
|
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", {
|
|
2743
|
+
sessions: any[];
|
|
2744
|
+
}, "forbocApi", unknown>;
|
|
2745
|
+
postSoulExport: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2746
|
+
npcId: string;
|
|
2747
|
+
request: any;
|
|
2748
|
+
apiUrl: string;
|
|
2749
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", SoulExportResponse, "forbocApi", unknown>;
|
|
2750
|
+
getSoulImport: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2751
|
+
txId: string;
|
|
2752
|
+
apiUrl: string;
|
|
2753
|
+
}, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "NPC" | "Memory" | "Cortex" | "Ghost" | "Soul" | "Bridge", any, "forbocApi", unknown>;
|
|
2754
|
+
getSouls: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2755
|
+
limit: number;
|
|
2756
|
+
apiUrl: string;
|
|
2757
|
+
}, _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>;
|
|
2758
|
+
postBridgeValidate: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2759
|
+
request: {
|
|
2760
|
+
action: NPCAction;
|
|
2761
|
+
context: ValidationContext;
|
|
2762
|
+
};
|
|
2763
|
+
npcId?: string;
|
|
2764
|
+
apiUrl: 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", ValidationResult, "forbocApi", unknown>;
|
|
2766
|
+
getBridgeRules: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2767
|
+
apiUrl: string;
|
|
2768
|
+
}, _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>;
|
|
2769
|
+
postBridgePreset: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2770
|
+
presetName: string;
|
|
2771
|
+
apiUrl: string;
|
|
2772
|
+
}, _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>;
|
|
2773
|
+
postCortexComplete: _reduxjs_toolkit_query.MutationDefinition<{
|
|
2774
|
+
cortexId: string;
|
|
2775
|
+
prompt: string;
|
|
2776
|
+
options?: any;
|
|
2777
|
+
apiUrl: string;
|
|
2778
|
+
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", {
|
|
2780
|
+
text: string;
|
|
2781
|
+
}, "forbocApi", unknown>;
|
|
2782
|
+
getApiStatus: _reduxjs_toolkit_query.QueryDefinition<{
|
|
2783
|
+
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">;
|
|
2786
|
+
npc: _reduxjs_toolkit.EntityState<NPCInternalState, string> & {
|
|
2787
|
+
activeNpcId: string;
|
|
2788
|
+
};
|
|
2789
|
+
cortex: CortexInternalState;
|
|
2790
|
+
memory: _reduxjs_toolkit.EntityState<MemoryItem, string> & {
|
|
2791
|
+
storageStatus: "idle" | "storing" | "error";
|
|
2792
|
+
recallStatus: "idle" | "recalling" | "error";
|
|
2793
|
+
error: string | null;
|
|
2794
|
+
lastRecalledIds: string[];
|
|
2795
|
+
};
|
|
2796
|
+
ghost: GhostState;
|
|
2797
|
+
soul: SoulState;
|
|
2798
|
+
bridge: BridgeState;
|
|
2799
|
+
}) => MemoryItem[];
|
|
2800
|
+
declare const selectLastRecalledMemories: (state: SDKState) => MemoryItem[];
|
|
2801
|
+
|
|
2802
|
+
interface ProcessArgs {
|
|
2803
|
+
npcId?: string;
|
|
2804
|
+
text: string;
|
|
2805
|
+
context?: Record<string, unknown>;
|
|
2806
|
+
apiUrl: string;
|
|
2807
|
+
apiKey?: string;
|
|
2808
|
+
memory?: IMemory | null;
|
|
2809
|
+
cortex?: ICortex | null;
|
|
2810
|
+
persona?: string;
|
|
2811
|
+
}
|
|
2812
|
+
declare const processNPC: _reduxjs_toolkit.AsyncThunk<AgentResponse, ProcessArgs, {
|
|
2813
|
+
state: SDKState;
|
|
2814
|
+
dispatch: SDKDispatch;
|
|
2815
|
+
extra?: unknown;
|
|
2816
|
+
rejectValue?: unknown;
|
|
2817
|
+
serializedErrorType?: unknown;
|
|
2818
|
+
pendingMeta?: unknown;
|
|
2819
|
+
fulfilledMeta?: unknown;
|
|
2820
|
+
rejectedMeta?: unknown;
|
|
2821
|
+
}>;
|
|
2822
|
+
declare const speakNPC: _reduxjs_toolkit.AsyncThunk<string, {
|
|
2823
|
+
npcId?: string;
|
|
2824
|
+
text: string;
|
|
2825
|
+
context?: Record<string, unknown>;
|
|
2826
|
+
apiUrl: string;
|
|
2827
|
+
apiKey?: string;
|
|
2828
|
+
}, {
|
|
2829
|
+
state: SDKState;
|
|
2830
|
+
dispatch: SDKDispatch;
|
|
2831
|
+
extra?: unknown;
|
|
2832
|
+
rejectValue?: unknown;
|
|
2833
|
+
serializedErrorType?: unknown;
|
|
2834
|
+
pendingMeta?: unknown;
|
|
2835
|
+
fulfilledMeta?: unknown;
|
|
2836
|
+
rejectedMeta?: unknown;
|
|
2837
|
+
}>;
|
|
2838
|
+
declare const dialogueNPC: _reduxjs_toolkit.AsyncThunk<string, {
|
|
2839
|
+
npcId?: string;
|
|
2840
|
+
text: string;
|
|
2841
|
+
context?: Array<[string, string]>;
|
|
2842
|
+
apiUrl: string;
|
|
2843
|
+
apiKey?: string;
|
|
2844
|
+
}, {
|
|
2845
|
+
state: SDKState;
|
|
2846
|
+
dispatch: SDKDispatch;
|
|
2847
|
+
extra?: unknown;
|
|
2848
|
+
rejectValue?: unknown;
|
|
2849
|
+
serializedErrorType?: unknown;
|
|
2850
|
+
pendingMeta?: unknown;
|
|
2851
|
+
fulfilledMeta?: unknown;
|
|
2852
|
+
rejectedMeta?: unknown;
|
|
2853
|
+
}>;
|
|
2854
|
+
declare const localExportSoulThunk: _reduxjs_toolkit.AsyncThunk<Soul, {
|
|
2855
|
+
id?: string;
|
|
2856
|
+
memory?: IMemory | null;
|
|
2857
|
+
}, {
|
|
2858
|
+
state: SDKState;
|
|
2859
|
+
dispatch: SDKDispatch;
|
|
2860
|
+
extra?: unknown;
|
|
2861
|
+
rejectValue?: unknown;
|
|
2862
|
+
serializedErrorType?: unknown;
|
|
2863
|
+
pendingMeta?: unknown;
|
|
2864
|
+
fulfilledMeta?: unknown;
|
|
2865
|
+
rejectedMeta?: unknown;
|
|
2866
|
+
}>;
|
|
481
2867
|
|
|
482
|
-
export { type
|
|
2868
|
+
export { type AgentConfig, type AgentResponse, type ApiStatusResponse, type BridgeRule, type BridgeState, type CompletionOptions, type ContextRequest, type ContextResponse, type CortexConfig, type CortexInternalState, type CortexStatus, type DialogueRequest, type DialogueResponse, type DirectiveRequest, type DirectiveResponse, type DirectiveRuleSet, type GhostConfig, type GhostHistoryEntry, type GhostResults, type GhostRunResponse, type GhostState, type GhostStatus, type ICortex, type IMemory, type INPC, 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 SpeakRequest, type SpeakResponse, type ValidationContext, type ValidationResult, type ValidationRule, type VerdictRequest, type VerdictResponse, addToHistory, blockAction, bridgeSlice, clearBlock, clearBridgeValidation, clearGhostSession, clearSoulState, completeRemoteThunk, cortexInitFailed, cortexInitStart, cortexInitSuccess, cortexSlice, createInitialState, createSDKStore, delay, dialogueNPC, dispatch, exportToSoul, generateNPCId, getBridgeRulesThunk, getGhostHistoryThunk, getGhostResultsThunk, getGhostStatusThunk, getSoulListThunk, ghostSlice, importSoulFromArweaveThunk, initRemoteCortexThunk, loadBridgePresetThunk, localExportSoulThunk, memoise, memoiseAsync, memoryClear, memoryRecallFailed, memoryRecallStart, memoryRecallSuccess, memorySlice, memoryStoreFailed, memoryStoreStart, memoryStoreSuccess, npcSlice, pipe, processNPC, remoteExportSoulThunk, removeNPC, sdkApi, selectActiveNPC, selectActiveNpcId, selectAllMemories, selectAllNPCs, selectLastRecalledMemories, selectMemoryById, selectNPCById, selectNPCEntities, selectNPCIds, selectTotalNPCs, setActiveNPC, setCortexStatus, setHistory, setLastAction, setNPCInfo, setNPCState, soulSlice, speakNPC, startGhostThunk, stopGhostThunk, store, streamFromCortex, streamFromCortexWithDelay, streamToCallback, streamToString, updateNPCState, updateNPCStateLocally, validateBridgeThunk };
|