@ericsanchezok/synergy-sdk 2.2.1 → 2.3.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/gen/sdk.gen.d.ts +183 -30
- package/dist/gen/sdk.gen.js +274 -26
- package/dist/gen/types.gen.d.ts +770 -203
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -154,6 +154,9 @@ export type StatsSnapshot = {
|
|
|
154
154
|
computedAt: number;
|
|
155
155
|
watermark: number;
|
|
156
156
|
};
|
|
157
|
+
export type DiagnosticsSummary = {
|
|
158
|
+
[key: string]: unknown;
|
|
159
|
+
};
|
|
157
160
|
export type HolosLoginResponse = {
|
|
158
161
|
url: string;
|
|
159
162
|
};
|
|
@@ -552,11 +555,11 @@ export type KeybindsConfig = {
|
|
|
552
555
|
*/
|
|
553
556
|
messages_copy?: string;
|
|
554
557
|
/**
|
|
555
|
-
* Undo message
|
|
558
|
+
* Undo message history only
|
|
556
559
|
*/
|
|
557
560
|
messages_undo?: string;
|
|
558
561
|
/**
|
|
559
|
-
* Redo message
|
|
562
|
+
* Redo message history only
|
|
560
563
|
*/
|
|
561
564
|
messages_redo?: string;
|
|
562
565
|
/**
|
|
@@ -884,6 +887,31 @@ export type PluginMarketplaceConfig = {
|
|
|
884
887
|
*/
|
|
885
888
|
offlineCache?: boolean;
|
|
886
889
|
};
|
|
890
|
+
/**
|
|
891
|
+
* Signed remote provider catalog configuration
|
|
892
|
+
*/
|
|
893
|
+
export type ProviderCatalogConfig = {
|
|
894
|
+
/**
|
|
895
|
+
* Enable signed remote provider catalog updates
|
|
896
|
+
*/
|
|
897
|
+
enabled?: boolean;
|
|
898
|
+
/**
|
|
899
|
+
* Signed provider catalog URL. The signature is fetched from the same URL plus .sig.
|
|
900
|
+
*/
|
|
901
|
+
registryUrl?: string;
|
|
902
|
+
/**
|
|
903
|
+
* Base64 Ed25519 public key used to verify provider catalog signatures
|
|
904
|
+
*/
|
|
905
|
+
publicKey?: string;
|
|
906
|
+
/**
|
|
907
|
+
* Provider catalog cache TTL in milliseconds
|
|
908
|
+
*/
|
|
909
|
+
cacheTtlMs?: number;
|
|
910
|
+
/**
|
|
911
|
+
* Use the last verified provider catalog when offline
|
|
912
|
+
*/
|
|
913
|
+
offlineCache?: boolean;
|
|
914
|
+
};
|
|
887
915
|
export type PermissionActionConfig = "ask" | "allow" | "deny";
|
|
888
916
|
export type PermissionObjectConfig = {
|
|
889
917
|
[key: string]: PermissionActionConfig;
|
|
@@ -1254,7 +1282,7 @@ export type ExperienceConfig = {
|
|
|
1254
1282
|
retrieve?: boolean | PassiveRetrievalConfig;
|
|
1255
1283
|
learning?: LearningConfig;
|
|
1256
1284
|
};
|
|
1257
|
-
export type
|
|
1285
|
+
export type LibraryConfig = {
|
|
1258
1286
|
memory?: MemoryConfig;
|
|
1259
1287
|
experience?: ExperienceConfig;
|
|
1260
1288
|
/**
|
|
@@ -1623,6 +1651,27 @@ export type SandboxConfig = {
|
|
|
1623
1651
|
conpty?: boolean;
|
|
1624
1652
|
};
|
|
1625
1653
|
};
|
|
1654
|
+
/**
|
|
1655
|
+
* Local logs, traces, and diagnostics settings
|
|
1656
|
+
*/
|
|
1657
|
+
export type ObservabilityConfig = {
|
|
1658
|
+
/**
|
|
1659
|
+
* Enable local observability trace JSONL events (default: true)
|
|
1660
|
+
*/
|
|
1661
|
+
enabled?: boolean;
|
|
1662
|
+
/**
|
|
1663
|
+
* Days to retain local trace files (default: 7)
|
|
1664
|
+
*/
|
|
1665
|
+
retentionDays?: number;
|
|
1666
|
+
/**
|
|
1667
|
+
* Maximum total trace storage in bytes (default: 250MB)
|
|
1668
|
+
*/
|
|
1669
|
+
maxBytes?: number;
|
|
1670
|
+
/**
|
|
1671
|
+
* Milliseconds without tool activity before emitting a stalled-tool trace event
|
|
1672
|
+
*/
|
|
1673
|
+
stalledToolMs?: number;
|
|
1674
|
+
};
|
|
1626
1675
|
/**
|
|
1627
1676
|
* Holos platform configuration
|
|
1628
1677
|
*/
|
|
@@ -1819,6 +1868,7 @@ export type Config = {
|
|
|
1819
1868
|
* When set, ONLY these providers will be enabled. All other providers will be ignored
|
|
1820
1869
|
*/
|
|
1821
1870
|
enabled_providers?: Array<string>;
|
|
1871
|
+
providerCatalog?: ProviderCatalogConfig;
|
|
1822
1872
|
/**
|
|
1823
1873
|
* Default model in the format of provider/model, eg anthropic/claude-sonnet-4-5
|
|
1824
1874
|
*/
|
|
@@ -1887,7 +1937,7 @@ export type Config = {
|
|
|
1887
1937
|
};
|
|
1888
1938
|
embedding?: EmbeddingConfig;
|
|
1889
1939
|
rerank?: RerankConfig;
|
|
1890
|
-
|
|
1940
|
+
library?: LibraryConfig;
|
|
1891
1941
|
/**
|
|
1892
1942
|
* MCP (Model Context Protocol) server configurations
|
|
1893
1943
|
*/
|
|
@@ -1904,6 +1954,7 @@ export type Config = {
|
|
|
1904
1954
|
[key: string]: ChannelFeishuConfig;
|
|
1905
1955
|
};
|
|
1906
1956
|
sandbox?: SandboxConfig;
|
|
1957
|
+
observability?: ObservabilityConfig;
|
|
1907
1958
|
controlProfile?: ControlProfileId;
|
|
1908
1959
|
holos?: HolosConfig;
|
|
1909
1960
|
email?: EmailConfig;
|
|
@@ -1936,6 +1987,14 @@ export type Config = {
|
|
|
1936
1987
|
* Additional instruction files or patterns to include
|
|
1937
1988
|
*/
|
|
1938
1989
|
instructions?: Array<string>;
|
|
1990
|
+
/**
|
|
1991
|
+
* Ordered fallback instruction filenames to try when AGENTS.md is missing in a directory
|
|
1992
|
+
*/
|
|
1993
|
+
project_doc_fallback_filenames?: Array<string>;
|
|
1994
|
+
/**
|
|
1995
|
+
* Maximum bytes to include from each automatically discovered instruction file (default: 32768; 0 disables automatic discovery)
|
|
1996
|
+
*/
|
|
1997
|
+
project_doc_max_bytes?: number;
|
|
1939
1998
|
layout?: LayoutConfig;
|
|
1940
1999
|
permission?: PermissionConfig;
|
|
1941
2000
|
/**
|
|
@@ -2028,7 +2087,7 @@ export type Config = {
|
|
|
2028
2087
|
};
|
|
2029
2088
|
};
|
|
2030
2089
|
export type ConfigDomainSummary = {
|
|
2031
|
-
id: "general" | "models" | "providers" | "
|
|
2090
|
+
id: "general" | "models" | "providers" | "library" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
|
|
2032
2091
|
filename: string;
|
|
2033
2092
|
label: string;
|
|
2034
2093
|
path: string;
|
|
@@ -2043,6 +2102,16 @@ export type ConfigDomainUpdateInput = {
|
|
|
2043
2102
|
config: Config;
|
|
2044
2103
|
mode?: "merge" | "replace-domain" | "append";
|
|
2045
2104
|
};
|
|
2105
|
+
export type ConfigDomainOpenResponse = {
|
|
2106
|
+
success: true;
|
|
2107
|
+
path: string;
|
|
2108
|
+
};
|
|
2109
|
+
export type ConfigDomainOpenError = {
|
|
2110
|
+
success: false;
|
|
2111
|
+
error: string;
|
|
2112
|
+
message: string;
|
|
2113
|
+
path?: string;
|
|
2114
|
+
};
|
|
2046
2115
|
export type ConfigDomainImportChange = {
|
|
2047
2116
|
key: string;
|
|
2048
2117
|
before?: unknown;
|
|
@@ -2051,7 +2120,7 @@ export type ConfigDomainImportChange = {
|
|
|
2051
2120
|
};
|
|
2052
2121
|
export type ConfigDomainImportPlan = {
|
|
2053
2122
|
domains: Array<{
|
|
2054
|
-
id: "general" | "models" | "providers" | "
|
|
2123
|
+
id: "general" | "models" | "providers" | "library" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
|
|
2055
2124
|
filename: string;
|
|
2056
2125
|
path: string;
|
|
2057
2126
|
mode: "merge" | "replace-domain" | "append";
|
|
@@ -2061,7 +2130,7 @@ export type ConfigDomainImportPlan = {
|
|
|
2061
2130
|
};
|
|
2062
2131
|
export type ConfigDomainImportPlanInput = {
|
|
2063
2132
|
config: Config;
|
|
2064
|
-
only?: Array<"general" | "models" | "providers" | "
|
|
2133
|
+
only?: Array<"general" | "models" | "providers" | "library" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime">;
|
|
2065
2134
|
mode?: "merge" | "replace-domain" | "append";
|
|
2066
2135
|
};
|
|
2067
2136
|
export type Model = {
|
|
@@ -2287,6 +2356,19 @@ export type SessionInteraction = {
|
|
|
2287
2356
|
*/
|
|
2288
2357
|
source?: string;
|
|
2289
2358
|
};
|
|
2359
|
+
export type SessionHistoryInfo = {
|
|
2360
|
+
rollback?: {
|
|
2361
|
+
id: string;
|
|
2362
|
+
numTurns: number;
|
|
2363
|
+
created: number;
|
|
2364
|
+
messageID?: string;
|
|
2365
|
+
droppedMessageIDs: Array<string>;
|
|
2366
|
+
droppedUserMessageIDs: Array<string>;
|
|
2367
|
+
files: Array<string>;
|
|
2368
|
+
patchPartIDs: Array<string>;
|
|
2369
|
+
canUnrollback: boolean;
|
|
2370
|
+
};
|
|
2371
|
+
};
|
|
2290
2372
|
export type SessionCortexDelegation = {
|
|
2291
2373
|
parentSessionID: string;
|
|
2292
2374
|
parentMessageID: string;
|
|
@@ -2324,6 +2406,11 @@ export type Session = {
|
|
|
2324
2406
|
id: string;
|
|
2325
2407
|
scope: SessionScope;
|
|
2326
2408
|
parentID?: string;
|
|
2409
|
+
forkedFrom?: {
|
|
2410
|
+
sessionID: string;
|
|
2411
|
+
messageID?: string;
|
|
2412
|
+
title?: string;
|
|
2413
|
+
};
|
|
2327
2414
|
category?: "project" | "home" | "channel" | "background";
|
|
2328
2415
|
endpoint?: SessionEndpoint;
|
|
2329
2416
|
summary?: {
|
|
@@ -2347,6 +2434,10 @@ export type Session = {
|
|
|
2347
2434
|
* Tool names pre-authorized by the user via system scheduling (e.g. agenda wake). Bypasses the ask gate for these tools within this session only.
|
|
2348
2435
|
*/
|
|
2349
2436
|
preAuthorizedActions?: Array<string>;
|
|
2437
|
+
toolState?: {
|
|
2438
|
+
expandedGroups?: Array<string>;
|
|
2439
|
+
activatedTools?: Array<string>;
|
|
2440
|
+
};
|
|
2350
2441
|
pendingReply?: boolean;
|
|
2351
2442
|
interaction?: SessionInteraction;
|
|
2352
2443
|
agenda?: {
|
|
@@ -2356,12 +2447,7 @@ export type Session = {
|
|
|
2356
2447
|
user?: string;
|
|
2357
2448
|
assistant?: string;
|
|
2358
2449
|
};
|
|
2359
|
-
|
|
2360
|
-
messageID: string;
|
|
2361
|
-
partID?: string;
|
|
2362
|
-
snapshot?: string;
|
|
2363
|
-
diff?: string;
|
|
2364
|
-
};
|
|
2450
|
+
history?: SessionHistoryInfo;
|
|
2365
2451
|
cortex?: SessionCortexDelegation;
|
|
2366
2452
|
working?: SessionWorkingInfo;
|
|
2367
2453
|
workspace?: SessionWorkspace;
|
|
@@ -2488,6 +2574,101 @@ export type SessionAgendaResponse = {
|
|
|
2488
2574
|
total: number;
|
|
2489
2575
|
hasMore: boolean;
|
|
2490
2576
|
};
|
|
2577
|
+
export type SessionInboxItemSource = {
|
|
2578
|
+
type: string;
|
|
2579
|
+
label?: string;
|
|
2580
|
+
[key: string]: unknown | string | undefined;
|
|
2581
|
+
};
|
|
2582
|
+
export type SessionInboxItem = {
|
|
2583
|
+
id: string;
|
|
2584
|
+
sessionID: string;
|
|
2585
|
+
kind: "queued_user" | "guiding" | "agent_update";
|
|
2586
|
+
state: "queued" | "guiding";
|
|
2587
|
+
deliveryTarget: "after_turn" | "next_model_call";
|
|
2588
|
+
summary: {
|
|
2589
|
+
title: string;
|
|
2590
|
+
preview?: string;
|
|
2591
|
+
};
|
|
2592
|
+
detail?: {
|
|
2593
|
+
text?: string;
|
|
2594
|
+
attachments?: Array<string>;
|
|
2595
|
+
};
|
|
2596
|
+
source: SessionInboxItemSource;
|
|
2597
|
+
time: {
|
|
2598
|
+
created: number;
|
|
2599
|
+
updated?: number;
|
|
2600
|
+
};
|
|
2601
|
+
orderKey: string;
|
|
2602
|
+
messageID?: string;
|
|
2603
|
+
};
|
|
2604
|
+
export type SessionInputResult = {
|
|
2605
|
+
status: "started";
|
|
2606
|
+
messageID: string;
|
|
2607
|
+
} | {
|
|
2608
|
+
status: "queued";
|
|
2609
|
+
item: SessionInboxItem;
|
|
2610
|
+
};
|
|
2611
|
+
export type TextPartInput = {
|
|
2612
|
+
id?: string;
|
|
2613
|
+
type: "text";
|
|
2614
|
+
text: string;
|
|
2615
|
+
synthetic?: boolean;
|
|
2616
|
+
ignored?: boolean;
|
|
2617
|
+
time?: {
|
|
2618
|
+
start: number;
|
|
2619
|
+
end?: number;
|
|
2620
|
+
};
|
|
2621
|
+
metadata?: {
|
|
2622
|
+
[key: string]: unknown;
|
|
2623
|
+
};
|
|
2624
|
+
};
|
|
2625
|
+
export type FilePartSourceText = {
|
|
2626
|
+
value: string;
|
|
2627
|
+
start: number;
|
|
2628
|
+
end: number;
|
|
2629
|
+
};
|
|
2630
|
+
export type FileSource = {
|
|
2631
|
+
text: FilePartSourceText;
|
|
2632
|
+
type: "file";
|
|
2633
|
+
path: string;
|
|
2634
|
+
};
|
|
2635
|
+
export type Range = {
|
|
2636
|
+
start: {
|
|
2637
|
+
line: number;
|
|
2638
|
+
character: number;
|
|
2639
|
+
};
|
|
2640
|
+
end: {
|
|
2641
|
+
line: number;
|
|
2642
|
+
character: number;
|
|
2643
|
+
};
|
|
2644
|
+
};
|
|
2645
|
+
export type SymbolSource = {
|
|
2646
|
+
text: FilePartSourceText;
|
|
2647
|
+
type: "symbol";
|
|
2648
|
+
path: string;
|
|
2649
|
+
range: Range;
|
|
2650
|
+
name: string;
|
|
2651
|
+
kind: number;
|
|
2652
|
+
};
|
|
2653
|
+
export type ResourceSource = {
|
|
2654
|
+
text: FilePartSourceText;
|
|
2655
|
+
type: "resource";
|
|
2656
|
+
clientName: string;
|
|
2657
|
+
uri: string;
|
|
2658
|
+
};
|
|
2659
|
+
export type FilePartSource = FileSource | SymbolSource | ResourceSource;
|
|
2660
|
+
export type FilePartInput = {
|
|
2661
|
+
id?: string;
|
|
2662
|
+
type: "file";
|
|
2663
|
+
mime: string;
|
|
2664
|
+
filename?: string;
|
|
2665
|
+
url: string;
|
|
2666
|
+
localPath?: string;
|
|
2667
|
+
source?: FilePartSource;
|
|
2668
|
+
metadata?: {
|
|
2669
|
+
[key: string]: unknown;
|
|
2670
|
+
};
|
|
2671
|
+
};
|
|
2491
2672
|
export type UserMessage = {
|
|
2492
2673
|
id: string;
|
|
2493
2674
|
sessionID: string;
|
|
@@ -2619,41 +2800,6 @@ export type ReasoningPart = {
|
|
|
2619
2800
|
end?: number;
|
|
2620
2801
|
};
|
|
2621
2802
|
};
|
|
2622
|
-
export type FilePartSourceText = {
|
|
2623
|
-
value: string;
|
|
2624
|
-
start: number;
|
|
2625
|
-
end: number;
|
|
2626
|
-
};
|
|
2627
|
-
export type FileSource = {
|
|
2628
|
-
text: FilePartSourceText;
|
|
2629
|
-
type: "file";
|
|
2630
|
-
path: string;
|
|
2631
|
-
};
|
|
2632
|
-
export type Range = {
|
|
2633
|
-
start: {
|
|
2634
|
-
line: number;
|
|
2635
|
-
character: number;
|
|
2636
|
-
};
|
|
2637
|
-
end: {
|
|
2638
|
-
line: number;
|
|
2639
|
-
character: number;
|
|
2640
|
-
};
|
|
2641
|
-
};
|
|
2642
|
-
export type SymbolSource = {
|
|
2643
|
-
text: FilePartSourceText;
|
|
2644
|
-
type: "symbol";
|
|
2645
|
-
path: string;
|
|
2646
|
-
range: Range;
|
|
2647
|
-
name: string;
|
|
2648
|
-
kind: number;
|
|
2649
|
-
};
|
|
2650
|
-
export type ResourceSource = {
|
|
2651
|
-
text: FilePartSourceText;
|
|
2652
|
-
type: "resource";
|
|
2653
|
-
clientName: string;
|
|
2654
|
-
uri: string;
|
|
2655
|
-
};
|
|
2656
|
-
export type FilePartSource = FileSource | SymbolSource | ResourceSource;
|
|
2657
2803
|
export type FilePart = {
|
|
2658
2804
|
id: string;
|
|
2659
2805
|
sessionID: string;
|
|
@@ -2799,32 +2945,76 @@ export type CompactionPart = {
|
|
|
2799
2945
|
auto: boolean;
|
|
2800
2946
|
};
|
|
2801
2947
|
export type Part = TextPart | ReasoningPart | FilePart | ToolPart | StepStartPart | StepFinishPart | SnapshotPart | PatchPart | RetryPart | CompactionPart;
|
|
2802
|
-
export type
|
|
2803
|
-
id
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
time?: {
|
|
2809
|
-
start: number;
|
|
2810
|
-
end?: number;
|
|
2948
|
+
export type SessionRollbackEvent = {
|
|
2949
|
+
id: string;
|
|
2950
|
+
sessionID: string;
|
|
2951
|
+
type: "rollback";
|
|
2952
|
+
time: {
|
|
2953
|
+
created: number;
|
|
2811
2954
|
};
|
|
2812
|
-
|
|
2813
|
-
|
|
2955
|
+
numTurns: number;
|
|
2956
|
+
droppedMessageIDs: Array<string>;
|
|
2957
|
+
droppedUserMessageIDs: Array<string>;
|
|
2958
|
+
files: Array<string>;
|
|
2959
|
+
patchPartIDs: Array<string>;
|
|
2960
|
+
};
|
|
2961
|
+
export type SessionUnrollbackEvent = {
|
|
2962
|
+
id: string;
|
|
2963
|
+
sessionID: string;
|
|
2964
|
+
type: "unrollback";
|
|
2965
|
+
time: {
|
|
2966
|
+
created: number;
|
|
2814
2967
|
};
|
|
2968
|
+
rollbackID: string;
|
|
2815
2969
|
};
|
|
2816
|
-
export type
|
|
2817
|
-
id
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2970
|
+
export type SessionRollbackSummary = {
|
|
2971
|
+
id: string;
|
|
2972
|
+
numTurns: number;
|
|
2973
|
+
created: number;
|
|
2974
|
+
messageID?: string;
|
|
2975
|
+
droppedMessageIDs: Array<string>;
|
|
2976
|
+
droppedUserMessageIDs: Array<string>;
|
|
2977
|
+
files: Array<string>;
|
|
2978
|
+
patchPartIDs: Array<string>;
|
|
2979
|
+
canUnrollback: boolean;
|
|
2980
|
+
};
|
|
2981
|
+
export type NoteInfo = {
|
|
2982
|
+
id: string;
|
|
2983
|
+
title: string;
|
|
2984
|
+
content: unknown;
|
|
2985
|
+
pinned: boolean;
|
|
2986
|
+
global: boolean;
|
|
2987
|
+
originScope?: string;
|
|
2988
|
+
tags: Array<string>;
|
|
2989
|
+
kind?: "note" | "blueprint";
|
|
2990
|
+
blueprint?: {
|
|
2991
|
+
description?: string;
|
|
2992
|
+
defaultAgent?: string;
|
|
2993
|
+
activeLoopID?: string;
|
|
2994
|
+
runCount?: number;
|
|
2995
|
+
lastRunAt?: number;
|
|
2996
|
+
};
|
|
2997
|
+
version: number;
|
|
2998
|
+
time: {
|
|
2999
|
+
created: number;
|
|
3000
|
+
updated: number;
|
|
3001
|
+
};
|
|
3002
|
+
};
|
|
3003
|
+
export type NoteConflictError = {
|
|
3004
|
+
name: "NoteConflictError";
|
|
3005
|
+
data: {
|
|
3006
|
+
noteID: string;
|
|
3007
|
+
expectedVersion: number;
|
|
3008
|
+
note: NoteInfo;
|
|
2826
3009
|
};
|
|
2827
3010
|
};
|
|
3011
|
+
export type SessionFileRestoreResult = {
|
|
3012
|
+
restoredFiles: Array<string>;
|
|
3013
|
+
patchPartIDs: Array<string>;
|
|
3014
|
+
rollbackID?: string;
|
|
3015
|
+
messageID?: string;
|
|
3016
|
+
partID?: string;
|
|
3017
|
+
};
|
|
2828
3018
|
export type PermissionRequest = {
|
|
2829
3019
|
id: string;
|
|
2830
3020
|
sessionID: string;
|
|
@@ -2928,6 +3118,7 @@ export type CortexTask = {
|
|
|
2928
3118
|
updatedAt: number;
|
|
2929
3119
|
}>;
|
|
2930
3120
|
};
|
|
3121
|
+
notifyParentOnComplete?: boolean;
|
|
2931
3122
|
};
|
|
2932
3123
|
export type Command = {
|
|
2933
3124
|
name: string;
|
|
@@ -2943,8 +3134,51 @@ export type Command = {
|
|
|
2943
3134
|
template?: string;
|
|
2944
3135
|
hints: Array<string>;
|
|
2945
3136
|
};
|
|
3137
|
+
export type ProviderAuthHealth = {
|
|
3138
|
+
providerID: string;
|
|
3139
|
+
status: "connected" | "not_configured" | "expired" | "exhausted" | "dead";
|
|
3140
|
+
authKind?: string;
|
|
3141
|
+
source?: string;
|
|
3142
|
+
updatedAt?: number;
|
|
3143
|
+
reloginRequired?: boolean;
|
|
3144
|
+
cooldownUntil?: number;
|
|
3145
|
+
resetAt?: number;
|
|
3146
|
+
failureCode?: string;
|
|
3147
|
+
};
|
|
3148
|
+
export type ProviderRuntimeAvailability = {
|
|
3149
|
+
providerID: string;
|
|
3150
|
+
available: boolean;
|
|
3151
|
+
reason?: "connected" | "not_connected" | "disabled" | "no_models";
|
|
3152
|
+
healthCheck?: "models" | "none";
|
|
3153
|
+
modelCount: number;
|
|
3154
|
+
};
|
|
3155
|
+
export type AccountUsageWindow = {
|
|
3156
|
+
label: string;
|
|
3157
|
+
usedPercent?: number;
|
|
3158
|
+
remainingPercent?: number;
|
|
3159
|
+
resetAt?: string;
|
|
3160
|
+
detail?: string;
|
|
3161
|
+
};
|
|
3162
|
+
export type AccountUsageCredits = {
|
|
3163
|
+
hasCredits?: boolean;
|
|
3164
|
+
balance?: number;
|
|
3165
|
+
unlimited?: boolean;
|
|
3166
|
+
currency?: string;
|
|
3167
|
+
};
|
|
3168
|
+
export type AccountUsageSnapshot = {
|
|
3169
|
+
providerID: string;
|
|
3170
|
+
status: "available" | "unavailable" | "error";
|
|
3171
|
+
source?: string;
|
|
3172
|
+
fetchedAt: string;
|
|
3173
|
+
plan?: string;
|
|
3174
|
+
windows: Array<AccountUsageWindow>;
|
|
3175
|
+
details: Array<string>;
|
|
3176
|
+
credits?: AccountUsageCredits;
|
|
3177
|
+
reloginRequired?: boolean;
|
|
3178
|
+
unavailableReason?: string;
|
|
3179
|
+
};
|
|
2946
3180
|
export type ProviderAuthMethod = {
|
|
2947
|
-
type: "oauth" | "api";
|
|
3181
|
+
type: "oauth" | "api" | "import";
|
|
2948
3182
|
label: string;
|
|
2949
3183
|
};
|
|
2950
3184
|
export type ProviderAuthAuthorization = {
|
|
@@ -3296,37 +3530,15 @@ export type NoteMetaScopeGroup = {
|
|
|
3296
3530
|
scopeType: "home" | "project";
|
|
3297
3531
|
notes: Array<NoteMetaInfo>;
|
|
3298
3532
|
};
|
|
3299
|
-
export type
|
|
3300
|
-
|
|
3533
|
+
export type NoteScopeGroup = {
|
|
3534
|
+
scopeID: string;
|
|
3535
|
+
scopeType: "home" | "project";
|
|
3536
|
+
notes: Array<NoteInfo>;
|
|
3537
|
+
};
|
|
3538
|
+
export type NoteCreateInput = {
|
|
3301
3539
|
title: string;
|
|
3302
|
-
content
|
|
3303
|
-
|
|
3304
|
-
global: boolean;
|
|
3305
|
-
originScope?: string;
|
|
3306
|
-
tags: Array<string>;
|
|
3307
|
-
kind?: "note" | "blueprint";
|
|
3308
|
-
blueprint?: {
|
|
3309
|
-
description?: string;
|
|
3310
|
-
defaultAgent?: string;
|
|
3311
|
-
activeLoopID?: string;
|
|
3312
|
-
runCount?: number;
|
|
3313
|
-
lastRunAt?: number;
|
|
3314
|
-
};
|
|
3315
|
-
version: number;
|
|
3316
|
-
time: {
|
|
3317
|
-
created: number;
|
|
3318
|
-
updated: number;
|
|
3319
|
-
};
|
|
3320
|
-
};
|
|
3321
|
-
export type NoteScopeGroup = {
|
|
3322
|
-
scopeID: string;
|
|
3323
|
-
scopeType: "home" | "project";
|
|
3324
|
-
notes: Array<NoteInfo>;
|
|
3325
|
-
};
|
|
3326
|
-
export type NoteCreateInput = {
|
|
3327
|
-
title: string;
|
|
3328
|
-
content?: unknown;
|
|
3329
|
-
tags?: Array<string>;
|
|
3540
|
+
content?: unknown;
|
|
3541
|
+
tags?: Array<string>;
|
|
3330
3542
|
kind?: "note" | "blueprint";
|
|
3331
3543
|
blueprint?: {
|
|
3332
3544
|
description?: string;
|
|
@@ -3336,14 +3548,6 @@ export type NoteCreateInput = {
|
|
|
3336
3548
|
lastRunAt?: number;
|
|
3337
3549
|
};
|
|
3338
3550
|
};
|
|
3339
|
-
export type NoteConflictError = {
|
|
3340
|
-
name: "NoteConflictError";
|
|
3341
|
-
data: {
|
|
3342
|
-
noteID: string;
|
|
3343
|
-
expectedVersion: number;
|
|
3344
|
-
note: NoteInfo;
|
|
3345
|
-
};
|
|
3346
|
-
};
|
|
3347
3551
|
export type NotePatchInput = {
|
|
3348
3552
|
title?: string;
|
|
3349
3553
|
content?: unknown;
|
|
@@ -3693,10 +3897,8 @@ export type RegistryPluginSummary = {
|
|
|
3693
3897
|
source: "official" | "local";
|
|
3694
3898
|
};
|
|
3695
3899
|
export type RegistryPluginSignature = {
|
|
3696
|
-
algorithm:
|
|
3697
|
-
|
|
3698
|
-
keyId?: string;
|
|
3699
|
-
timestamp?: number;
|
|
3900
|
+
algorithm: "ed25519";
|
|
3901
|
+
signer: string;
|
|
3700
3902
|
};
|
|
3701
3903
|
export type RegistryPermissionItem = {
|
|
3702
3904
|
key: string;
|
|
@@ -3899,20 +4101,32 @@ export type OAuth = {
|
|
|
3899
4101
|
access: string;
|
|
3900
4102
|
expires: number;
|
|
3901
4103
|
enterpriseUrl?: string;
|
|
4104
|
+
metadata?: {
|
|
4105
|
+
[key: string]: unknown;
|
|
4106
|
+
};
|
|
3902
4107
|
};
|
|
3903
4108
|
export type ApiAuth = {
|
|
3904
4109
|
type: "api";
|
|
3905
4110
|
key: string;
|
|
4111
|
+
metadata?: {
|
|
4112
|
+
[key: string]: unknown;
|
|
4113
|
+
};
|
|
3906
4114
|
};
|
|
3907
4115
|
export type WellKnownAuth = {
|
|
3908
4116
|
type: "wellknown";
|
|
3909
4117
|
key: string;
|
|
3910
4118
|
token: string;
|
|
4119
|
+
metadata?: {
|
|
4120
|
+
[key: string]: unknown;
|
|
4121
|
+
};
|
|
3911
4122
|
};
|
|
3912
4123
|
export type HolosAuth = {
|
|
3913
4124
|
type: "holos";
|
|
3914
4125
|
agentId: string;
|
|
3915
4126
|
agentSecret: string;
|
|
4127
|
+
metadata?: {
|
|
4128
|
+
[key: string]: unknown;
|
|
4129
|
+
};
|
|
3916
4130
|
};
|
|
3917
4131
|
export type Auth = OAuth | ApiAuth | WellKnownAuth | HolosAuth;
|
|
3918
4132
|
export type EventScopeUpdated = {
|
|
@@ -4102,6 +4316,13 @@ export type EventSessionIdle = {
|
|
|
4102
4316
|
sessionID: string;
|
|
4103
4317
|
};
|
|
4104
4318
|
};
|
|
4319
|
+
export type EventSessionInboxUpdated = {
|
|
4320
|
+
type: "session.inbox.updated";
|
|
4321
|
+
properties: {
|
|
4322
|
+
sessionID: string;
|
|
4323
|
+
items: Array<SessionInboxItem>;
|
|
4324
|
+
};
|
|
4325
|
+
};
|
|
4105
4326
|
export type EventNoteCreated = {
|
|
4106
4327
|
type: "note.created";
|
|
4107
4328
|
properties: {
|
|
@@ -4366,7 +4587,7 @@ export type EventGlobalDisposed = {
|
|
|
4366
4587
|
[key: string]: unknown;
|
|
4367
4588
|
};
|
|
4368
4589
|
};
|
|
4369
|
-
export type Event = EventScopeUpdated | EventScopeRemoved | EventScopeRuntimeDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventConfigUpdated | EventMcpToolsChanged | EventMcpPromptsChanged | EventMcpResourcesChanged | EventMcpReady | EventMcpFailed | EventCommandExecuted | EventFileEdited | EventFileWatcherUpdated | EventLspClientDiagnostics | EventLspUpdated | EventVcsBranchUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionStatus | EventSessionIdle | EventNoteCreated | EventNoteUpdated | EventNoteDeleted | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventQuestionTimedOut | EventRuntimeReloaded | EventDagUpdated | EventTodoUpdated | EventBlueprintLoopCreated | EventBlueprintLoopUpdated | EventBlueprintLoopCompleted | EventBlueprintLoopFailed | EventBlueprintLoopCancelled | EventBlueprintLoopAuditing | EventBlueprintLoopRestarted | EventSessionCompacted | EventAgendaItemCreated | EventAgendaItemUpdated | EventAgendaItemDeleted | EventCortexTaskCreated | EventCortexTaskCompleted | EventCortexTasksUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventChannelCommandExecuted | EventChannelConnected | EventChannelDisconnected | EventChannelMessageReceived | EventHolosContactAdded | EventHolosContactRemoved | EventHolosContactUpdated | EventHolosConnected | EventHolosConnectionStatusChanged | EventHolosPresence | EventServerConnected | EventGlobalDisposed;
|
|
4590
|
+
export type Event = EventScopeUpdated | EventScopeRemoved | EventScopeRuntimeDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventConfigUpdated | EventMcpToolsChanged | EventMcpPromptsChanged | EventMcpResourcesChanged | EventMcpReady | EventMcpFailed | EventCommandExecuted | EventFileEdited | EventFileWatcherUpdated | EventLspClientDiagnostics | EventLspUpdated | EventVcsBranchUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionStatus | EventSessionIdle | EventSessionInboxUpdated | EventNoteCreated | EventNoteUpdated | EventNoteDeleted | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventQuestionTimedOut | EventRuntimeReloaded | EventDagUpdated | EventTodoUpdated | EventBlueprintLoopCreated | EventBlueprintLoopUpdated | EventBlueprintLoopCompleted | EventBlueprintLoopFailed | EventBlueprintLoopCancelled | EventBlueprintLoopAuditing | EventBlueprintLoopRestarted | EventSessionCompacted | EventAgendaItemCreated | EventAgendaItemUpdated | EventAgendaItemDeleted | EventCortexTaskCreated | EventCortexTaskCompleted | EventCortexTasksUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventChannelCommandExecuted | EventChannelConnected | EventChannelDisconnected | EventChannelMessageReceived | EventHolosContactAdded | EventHolosContactRemoved | EventHolosContactUpdated | EventHolosConnected | EventHolosConnectionStatusChanged | EventHolosPresence | EventServerConnected | EventGlobalDisposed;
|
|
4370
4591
|
export type GlobalHealthData = {
|
|
4371
4592
|
body?: never;
|
|
4372
4593
|
path?: never;
|
|
@@ -4632,6 +4853,19 @@ export type GlobalStatsProgressResponses = {
|
|
|
4632
4853
|
};
|
|
4633
4854
|
};
|
|
4634
4855
|
export type GlobalStatsProgressResponse = GlobalStatsProgressResponses[keyof GlobalStatsProgressResponses];
|
|
4856
|
+
export type ObservabilityDiagnosticsSummaryData = {
|
|
4857
|
+
body?: never;
|
|
4858
|
+
path?: never;
|
|
4859
|
+
query?: never;
|
|
4860
|
+
url: "/global/diagnostics";
|
|
4861
|
+
};
|
|
4862
|
+
export type ObservabilityDiagnosticsSummaryResponses = {
|
|
4863
|
+
/**
|
|
4864
|
+
* Diagnostics summary
|
|
4865
|
+
*/
|
|
4866
|
+
200: DiagnosticsSummary;
|
|
4867
|
+
};
|
|
4868
|
+
export type ObservabilityDiagnosticsSummaryResponse = ObservabilityDiagnosticsSummaryResponses[keyof ObservabilityDiagnosticsSummaryResponses];
|
|
4635
4869
|
export type GlobalDisposeData = {
|
|
4636
4870
|
body?: never;
|
|
4637
4871
|
path?: never;
|
|
@@ -5219,7 +5453,7 @@ export type ConfigDomainListResponse = ConfigDomainListResponses[keyof ConfigDom
|
|
|
5219
5453
|
export type ConfigDomainGetData = {
|
|
5220
5454
|
body?: never;
|
|
5221
5455
|
path: {
|
|
5222
|
-
domain: "general" | "models" | "providers" | "
|
|
5456
|
+
domain: "general" | "models" | "providers" | "library" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
|
|
5223
5457
|
};
|
|
5224
5458
|
query?: {
|
|
5225
5459
|
directory?: string;
|
|
@@ -5244,7 +5478,7 @@ export type ConfigDomainGetResponse = ConfigDomainGetResponses[keyof ConfigDomai
|
|
|
5244
5478
|
export type ConfigDomainUpdateData = {
|
|
5245
5479
|
body?: ConfigDomainUpdateInput;
|
|
5246
5480
|
path: {
|
|
5247
|
-
domain: "general" | "models" | "providers" | "
|
|
5481
|
+
domain: "general" | "models" | "providers" | "library" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
|
|
5248
5482
|
};
|
|
5249
5483
|
query?: {
|
|
5250
5484
|
directory?: string;
|
|
@@ -5266,6 +5500,35 @@ export type ConfigDomainUpdateResponses = {
|
|
|
5266
5500
|
200: Config;
|
|
5267
5501
|
};
|
|
5268
5502
|
export type ConfigDomainUpdateResponse = ConfigDomainUpdateResponses[keyof ConfigDomainUpdateResponses];
|
|
5503
|
+
export type ConfigDomainOpenData = {
|
|
5504
|
+
body?: never;
|
|
5505
|
+
path: {
|
|
5506
|
+
domain: "general" | "models" | "providers" | "library" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime";
|
|
5507
|
+
};
|
|
5508
|
+
query?: {
|
|
5509
|
+
directory?: string;
|
|
5510
|
+
scopeID?: string;
|
|
5511
|
+
};
|
|
5512
|
+
url: "/config/domains/{domain}/open";
|
|
5513
|
+
};
|
|
5514
|
+
export type ConfigDomainOpenErrors = {
|
|
5515
|
+
/**
|
|
5516
|
+
* Unsupported platform
|
|
5517
|
+
*/
|
|
5518
|
+
400: ConfigDomainOpenError;
|
|
5519
|
+
/**
|
|
5520
|
+
* Failed to open config domain file
|
|
5521
|
+
*/
|
|
5522
|
+
500: ConfigDomainOpenError;
|
|
5523
|
+
};
|
|
5524
|
+
export type ConfigDomainOpenError2 = ConfigDomainOpenErrors[keyof ConfigDomainOpenErrors];
|
|
5525
|
+
export type ConfigDomainOpenResponses = {
|
|
5526
|
+
/**
|
|
5527
|
+
* Opened config domain file
|
|
5528
|
+
*/
|
|
5529
|
+
200: ConfigDomainOpenResponse;
|
|
5530
|
+
};
|
|
5531
|
+
export type ConfigDomainOpenResponse2 = ConfigDomainOpenResponses[keyof ConfigDomainOpenResponses];
|
|
5269
5532
|
export type ConfigImportPlanData = {
|
|
5270
5533
|
body?: ConfigDomainImportPlanInput;
|
|
5271
5534
|
path?: never;
|
|
@@ -5292,7 +5555,7 @@ export type ConfigImportPlanResponse = ConfigImportPlanResponses[keyof ConfigImp
|
|
|
5292
5555
|
export type ConfigImportApplyData = {
|
|
5293
5556
|
body?: {
|
|
5294
5557
|
config: Config;
|
|
5295
|
-
only?: Array<"general" | "models" | "providers" | "
|
|
5558
|
+
only?: Array<"general" | "models" | "providers" | "library" | "mcp" | "plugins" | "agents" | "commands" | "permissions" | "channels" | "holos" | "email" | "runtime">;
|
|
5296
5559
|
mode?: "merge" | "replace-domain" | "append";
|
|
5297
5560
|
yes?: boolean;
|
|
5298
5561
|
};
|
|
@@ -5960,6 +6223,25 @@ export type SessionInitResponse = SessionInitResponses[keyof SessionInitResponse
|
|
|
5960
6223
|
export type SessionForkData = {
|
|
5961
6224
|
body?: {
|
|
5962
6225
|
messageID?: string;
|
|
6226
|
+
position?: {
|
|
6227
|
+
type: "current";
|
|
6228
|
+
} | {
|
|
6229
|
+
type: "before";
|
|
6230
|
+
messageID: string;
|
|
6231
|
+
};
|
|
6232
|
+
workspace?: {
|
|
6233
|
+
mode: "current";
|
|
6234
|
+
} | {
|
|
6235
|
+
mode: "existing";
|
|
6236
|
+
target: string;
|
|
6237
|
+
force?: boolean;
|
|
6238
|
+
} | {
|
|
6239
|
+
mode: "create";
|
|
6240
|
+
name?: string;
|
|
6241
|
+
baseRef?: "current" | "fresh";
|
|
6242
|
+
};
|
|
6243
|
+
title?: string;
|
|
6244
|
+
controlProfile?: "guarded" | "autonomous" | "full_access";
|
|
5963
6245
|
};
|
|
5964
6246
|
path: {
|
|
5965
6247
|
sessionID: string;
|
|
@@ -6006,6 +6288,165 @@ export type SessionAbortResponses = {
|
|
|
6006
6288
|
200: boolean;
|
|
6007
6289
|
};
|
|
6008
6290
|
export type SessionAbortResponse = SessionAbortResponses[keyof SessionAbortResponses];
|
|
6291
|
+
export type SessionInboxData = {
|
|
6292
|
+
body?: never;
|
|
6293
|
+
path: {
|
|
6294
|
+
/**
|
|
6295
|
+
* Session ID
|
|
6296
|
+
*/
|
|
6297
|
+
sessionID: string;
|
|
6298
|
+
};
|
|
6299
|
+
query?: {
|
|
6300
|
+
directory?: string;
|
|
6301
|
+
scopeID?: string;
|
|
6302
|
+
};
|
|
6303
|
+
url: "/session/{sessionID}/inbox";
|
|
6304
|
+
};
|
|
6305
|
+
export type SessionInboxErrors = {
|
|
6306
|
+
/**
|
|
6307
|
+
* Bad request
|
|
6308
|
+
*/
|
|
6309
|
+
400: BadRequestError;
|
|
6310
|
+
/**
|
|
6311
|
+
* Not found
|
|
6312
|
+
*/
|
|
6313
|
+
404: NotFoundError;
|
|
6314
|
+
};
|
|
6315
|
+
export type SessionInboxError = SessionInboxErrors[keyof SessionInboxErrors];
|
|
6316
|
+
export type SessionInboxResponses = {
|
|
6317
|
+
/**
|
|
6318
|
+
* Session inbox items
|
|
6319
|
+
*/
|
|
6320
|
+
200: Array<SessionInboxItem>;
|
|
6321
|
+
};
|
|
6322
|
+
export type SessionInboxResponse = SessionInboxResponses[keyof SessionInboxResponses];
|
|
6323
|
+
export type SessionInputData = {
|
|
6324
|
+
body?: {
|
|
6325
|
+
messageID?: string;
|
|
6326
|
+
model?: {
|
|
6327
|
+
providerID: string;
|
|
6328
|
+
modelID: string;
|
|
6329
|
+
};
|
|
6330
|
+
agent?: string;
|
|
6331
|
+
noReply?: boolean;
|
|
6332
|
+
metadata?: {
|
|
6333
|
+
[key: string]: unknown;
|
|
6334
|
+
};
|
|
6335
|
+
summary?: {
|
|
6336
|
+
title?: string;
|
|
6337
|
+
};
|
|
6338
|
+
/**
|
|
6339
|
+
* Per-prompt tool visibility toggle. Does not affect session permissions.
|
|
6340
|
+
*/
|
|
6341
|
+
tools?: {
|
|
6342
|
+
[key: string]: boolean;
|
|
6343
|
+
};
|
|
6344
|
+
system?: string;
|
|
6345
|
+
variant?: string;
|
|
6346
|
+
parts: Array<TextPartInput | FilePartInput>;
|
|
6347
|
+
};
|
|
6348
|
+
path: {
|
|
6349
|
+
/**
|
|
6350
|
+
* Session ID
|
|
6351
|
+
*/
|
|
6352
|
+
sessionID: string;
|
|
6353
|
+
};
|
|
6354
|
+
query?: {
|
|
6355
|
+
directory?: string;
|
|
6356
|
+
scopeID?: string;
|
|
6357
|
+
};
|
|
6358
|
+
url: "/session/{sessionID}/input";
|
|
6359
|
+
};
|
|
6360
|
+
export type SessionInputErrors = {
|
|
6361
|
+
/**
|
|
6362
|
+
* Bad request
|
|
6363
|
+
*/
|
|
6364
|
+
400: BadRequestError;
|
|
6365
|
+
/**
|
|
6366
|
+
* Not found
|
|
6367
|
+
*/
|
|
6368
|
+
404: NotFoundError;
|
|
6369
|
+
};
|
|
6370
|
+
export type SessionInputError = SessionInputErrors[keyof SessionInputErrors];
|
|
6371
|
+
export type SessionInputResponses = {
|
|
6372
|
+
/**
|
|
6373
|
+
* Input accepted
|
|
6374
|
+
*/
|
|
6375
|
+
200: SessionInputResult;
|
|
6376
|
+
};
|
|
6377
|
+
export type SessionInputResponse = SessionInputResponses[keyof SessionInputResponses];
|
|
6378
|
+
export type SessionInboxGuideData = {
|
|
6379
|
+
body?: never;
|
|
6380
|
+
path: {
|
|
6381
|
+
/**
|
|
6382
|
+
* Session ID
|
|
6383
|
+
*/
|
|
6384
|
+
sessionID: string;
|
|
6385
|
+
/**
|
|
6386
|
+
* Inbox item ID
|
|
6387
|
+
*/
|
|
6388
|
+
itemID: string;
|
|
6389
|
+
};
|
|
6390
|
+
query?: {
|
|
6391
|
+
directory?: string;
|
|
6392
|
+
scopeID?: string;
|
|
6393
|
+
};
|
|
6394
|
+
url: "/session/{sessionID}/inbox/{itemID}/guide";
|
|
6395
|
+
};
|
|
6396
|
+
export type SessionInboxGuideErrors = {
|
|
6397
|
+
/**
|
|
6398
|
+
* Bad request
|
|
6399
|
+
*/
|
|
6400
|
+
400: BadRequestError;
|
|
6401
|
+
/**
|
|
6402
|
+
* Not found
|
|
6403
|
+
*/
|
|
6404
|
+
404: NotFoundError;
|
|
6405
|
+
};
|
|
6406
|
+
export type SessionInboxGuideError = SessionInboxGuideErrors[keyof SessionInboxGuideErrors];
|
|
6407
|
+
export type SessionInboxGuideResponses = {
|
|
6408
|
+
/**
|
|
6409
|
+
* Promoted inbox item
|
|
6410
|
+
*/
|
|
6411
|
+
200: SessionInboxItem;
|
|
6412
|
+
};
|
|
6413
|
+
export type SessionInboxGuideResponse = SessionInboxGuideResponses[keyof SessionInboxGuideResponses];
|
|
6414
|
+
export type SessionInboxRemoveData = {
|
|
6415
|
+
body?: never;
|
|
6416
|
+
path: {
|
|
6417
|
+
/**
|
|
6418
|
+
* Session ID
|
|
6419
|
+
*/
|
|
6420
|
+
sessionID: string;
|
|
6421
|
+
/**
|
|
6422
|
+
* Inbox item ID
|
|
6423
|
+
*/
|
|
6424
|
+
itemID: string;
|
|
6425
|
+
};
|
|
6426
|
+
query?: {
|
|
6427
|
+
directory?: string;
|
|
6428
|
+
scopeID?: string;
|
|
6429
|
+
};
|
|
6430
|
+
url: "/session/{sessionID}/inbox/{itemID}";
|
|
6431
|
+
};
|
|
6432
|
+
export type SessionInboxRemoveErrors = {
|
|
6433
|
+
/**
|
|
6434
|
+
* Bad request
|
|
6435
|
+
*/
|
|
6436
|
+
400: BadRequestError;
|
|
6437
|
+
/**
|
|
6438
|
+
* Not found
|
|
6439
|
+
*/
|
|
6440
|
+
404: NotFoundError;
|
|
6441
|
+
};
|
|
6442
|
+
export type SessionInboxRemoveError = SessionInboxRemoveErrors[keyof SessionInboxRemoveErrors];
|
|
6443
|
+
export type SessionInboxRemoveResponses = {
|
|
6444
|
+
/**
|
|
6445
|
+
* Inbox item removed
|
|
6446
|
+
*/
|
|
6447
|
+
204: void;
|
|
6448
|
+
};
|
|
6449
|
+
export type SessionInboxRemoveResponse = SessionInboxRemoveResponses[keyof SessionInboxRemoveResponses];
|
|
6009
6450
|
export type SessionSummarizeData = {
|
|
6010
6451
|
body?: {
|
|
6011
6452
|
providerID: string;
|
|
@@ -6054,6 +6495,7 @@ export type SessionMessagesData = {
|
|
|
6054
6495
|
directory?: string;
|
|
6055
6496
|
scopeID?: string;
|
|
6056
6497
|
limit?: number;
|
|
6498
|
+
raw?: boolean;
|
|
6057
6499
|
};
|
|
6058
6500
|
url: "/session/{sessionID}/message";
|
|
6059
6501
|
};
|
|
@@ -6432,10 +6874,9 @@ export type SessionShellResponses = {
|
|
|
6432
6874
|
200: AssistantMessage;
|
|
6433
6875
|
};
|
|
6434
6876
|
export type SessionShellResponse = SessionShellResponses[keyof SessionShellResponses];
|
|
6435
|
-
export type
|
|
6877
|
+
export type SessionRollbackData = {
|
|
6436
6878
|
body?: {
|
|
6437
|
-
|
|
6438
|
-
partID?: string;
|
|
6879
|
+
numTurns: number;
|
|
6439
6880
|
};
|
|
6440
6881
|
path: {
|
|
6441
6882
|
sessionID: string;
|
|
@@ -6444,9 +6885,9 @@ export type SessionRevertData = {
|
|
|
6444
6885
|
directory?: string;
|
|
6445
6886
|
scopeID?: string;
|
|
6446
6887
|
};
|
|
6447
|
-
url: "/session/{sessionID}/
|
|
6888
|
+
url: "/session/{sessionID}/rollback";
|
|
6448
6889
|
};
|
|
6449
|
-
export type
|
|
6890
|
+
export type SessionRollbackErrors = {
|
|
6450
6891
|
/**
|
|
6451
6892
|
* Bad request
|
|
6452
6893
|
*/
|
|
@@ -6456,15 +6897,15 @@ export type SessionRevertErrors = {
|
|
|
6456
6897
|
*/
|
|
6457
6898
|
404: NotFoundError;
|
|
6458
6899
|
};
|
|
6459
|
-
export type
|
|
6460
|
-
export type
|
|
6900
|
+
export type SessionRollbackError = SessionRollbackErrors[keyof SessionRollbackErrors];
|
|
6901
|
+
export type SessionRollbackResponses = {
|
|
6461
6902
|
/**
|
|
6462
|
-
*
|
|
6903
|
+
* Rollback event
|
|
6463
6904
|
*/
|
|
6464
|
-
200:
|
|
6905
|
+
200: SessionRollbackEvent;
|
|
6465
6906
|
};
|
|
6466
|
-
export type
|
|
6467
|
-
export type
|
|
6907
|
+
export type SessionRollbackResponse = SessionRollbackResponses[keyof SessionRollbackResponses];
|
|
6908
|
+
export type SessionUnrollbackData = {
|
|
6468
6909
|
body?: never;
|
|
6469
6910
|
path: {
|
|
6470
6911
|
sessionID: string;
|
|
@@ -6473,9 +6914,9 @@ export type SessionUnrevertData = {
|
|
|
6473
6914
|
directory?: string;
|
|
6474
6915
|
scopeID?: string;
|
|
6475
6916
|
};
|
|
6476
|
-
url: "/session/{sessionID}/
|
|
6917
|
+
url: "/session/{sessionID}/unrollback";
|
|
6477
6918
|
};
|
|
6478
|
-
export type
|
|
6919
|
+
export type SessionUnrollbackErrors = {
|
|
6479
6920
|
/**
|
|
6480
6921
|
* Bad request
|
|
6481
6922
|
*/
|
|
@@ -6484,15 +6925,55 @@ export type SessionUnrevertErrors = {
|
|
|
6484
6925
|
* Not found
|
|
6485
6926
|
*/
|
|
6486
6927
|
404: NotFoundError;
|
|
6928
|
+
/**
|
|
6929
|
+
* Conflict
|
|
6930
|
+
*/
|
|
6931
|
+
409: NoteConflictError;
|
|
6487
6932
|
};
|
|
6488
|
-
export type
|
|
6489
|
-
export type
|
|
6933
|
+
export type SessionUnrollbackError = SessionUnrollbackErrors[keyof SessionUnrollbackErrors];
|
|
6934
|
+
export type SessionUnrollbackResponses = {
|
|
6490
6935
|
/**
|
|
6491
|
-
*
|
|
6936
|
+
* Unrollback event or current rollback state
|
|
6492
6937
|
*/
|
|
6493
|
-
200:
|
|
6938
|
+
200: SessionUnrollbackEvent | {
|
|
6939
|
+
rollback: SessionRollbackSummary;
|
|
6940
|
+
};
|
|
6941
|
+
};
|
|
6942
|
+
export type SessionUnrollbackResponse = SessionUnrollbackResponses[keyof SessionUnrollbackResponses];
|
|
6943
|
+
export type SessionFilesRestoreData = {
|
|
6944
|
+
body?: {
|
|
6945
|
+
rollbackID?: string;
|
|
6946
|
+
messageID?: string;
|
|
6947
|
+
partID?: string;
|
|
6948
|
+
files?: Array<string>;
|
|
6949
|
+
};
|
|
6950
|
+
path: {
|
|
6951
|
+
sessionID: string;
|
|
6952
|
+
};
|
|
6953
|
+
query?: {
|
|
6954
|
+
directory?: string;
|
|
6955
|
+
scopeID?: string;
|
|
6956
|
+
};
|
|
6957
|
+
url: "/session/{sessionID}/files/restore";
|
|
6494
6958
|
};
|
|
6495
|
-
export type
|
|
6959
|
+
export type SessionFilesRestoreErrors = {
|
|
6960
|
+
/**
|
|
6961
|
+
* Bad request
|
|
6962
|
+
*/
|
|
6963
|
+
400: BadRequestError;
|
|
6964
|
+
/**
|
|
6965
|
+
* Not found
|
|
6966
|
+
*/
|
|
6967
|
+
404: NotFoundError;
|
|
6968
|
+
};
|
|
6969
|
+
export type SessionFilesRestoreError = SessionFilesRestoreErrors[keyof SessionFilesRestoreErrors];
|
|
6970
|
+
export type SessionFilesRestoreResponses = {
|
|
6971
|
+
/**
|
|
6972
|
+
* Restored files
|
|
6973
|
+
*/
|
|
6974
|
+
200: SessionFileRestoreResult;
|
|
6975
|
+
};
|
|
6976
|
+
export type SessionFilesRestoreResponse = SessionFilesRestoreResponses[keyof SessionFilesRestoreResponses];
|
|
6496
6977
|
export type PermissionRespondData = {
|
|
6497
6978
|
body?: {
|
|
6498
6979
|
response: "once" | "session" | "always" | "reject";
|
|
@@ -6922,9 +7403,62 @@ export type ProviderListResponses = {
|
|
|
6922
7403
|
};
|
|
6923
7404
|
connected: Array<string>;
|
|
6924
7405
|
configProviders: Array<string>;
|
|
7406
|
+
catalogProviders: Array<string>;
|
|
7407
|
+
authHealth: {
|
|
7408
|
+
[key: string]: ProviderAuthHealth;
|
|
7409
|
+
};
|
|
7410
|
+
runtimeAvailability: {
|
|
7411
|
+
[key: string]: ProviderRuntimeAvailability;
|
|
7412
|
+
};
|
|
6925
7413
|
};
|
|
6926
7414
|
};
|
|
6927
7415
|
export type ProviderListResponse = ProviderListResponses[keyof ProviderListResponses];
|
|
7416
|
+
export type ProviderUsageListData = {
|
|
7417
|
+
body?: never;
|
|
7418
|
+
path?: never;
|
|
7419
|
+
query?: {
|
|
7420
|
+
directory?: string;
|
|
7421
|
+
scopeID?: string;
|
|
7422
|
+
};
|
|
7423
|
+
url: "/provider/usage";
|
|
7424
|
+
};
|
|
7425
|
+
export type ProviderUsageListResponses = {
|
|
7426
|
+
/**
|
|
7427
|
+
* Provider account usage snapshots
|
|
7428
|
+
*/
|
|
7429
|
+
200: {
|
|
7430
|
+
[key: string]: AccountUsageSnapshot;
|
|
7431
|
+
};
|
|
7432
|
+
};
|
|
7433
|
+
export type ProviderUsageListResponse = ProviderUsageListResponses[keyof ProviderUsageListResponses];
|
|
7434
|
+
export type ProviderUsageGetData = {
|
|
7435
|
+
body?: never;
|
|
7436
|
+
path: {
|
|
7437
|
+
/**
|
|
7438
|
+
* Provider ID
|
|
7439
|
+
*/
|
|
7440
|
+
providerID: string;
|
|
7441
|
+
};
|
|
7442
|
+
query?: {
|
|
7443
|
+
directory?: string;
|
|
7444
|
+
scopeID?: string;
|
|
7445
|
+
};
|
|
7446
|
+
url: "/provider/{providerID}/usage";
|
|
7447
|
+
};
|
|
7448
|
+
export type ProviderUsageGetErrors = {
|
|
7449
|
+
/**
|
|
7450
|
+
* Bad request
|
|
7451
|
+
*/
|
|
7452
|
+
400: BadRequestError;
|
|
7453
|
+
};
|
|
7454
|
+
export type ProviderUsageGetError = ProviderUsageGetErrors[keyof ProviderUsageGetErrors];
|
|
7455
|
+
export type ProviderUsageGetResponses = {
|
|
7456
|
+
/**
|
|
7457
|
+
* Provider account usage snapshot
|
|
7458
|
+
*/
|
|
7459
|
+
200: AccountUsageSnapshot;
|
|
7460
|
+
};
|
|
7461
|
+
export type ProviderUsageGetResponse = ProviderUsageGetResponses[keyof ProviderUsageGetResponses];
|
|
6928
7462
|
export type ProviderAuthData = {
|
|
6929
7463
|
body?: never;
|
|
6930
7464
|
path?: never;
|
|
@@ -7013,6 +7547,39 @@ export type ProviderOauthCallbackResponses = {
|
|
|
7013
7547
|
200: boolean;
|
|
7014
7548
|
};
|
|
7015
7549
|
export type ProviderOauthCallbackResponse = ProviderOauthCallbackResponses[keyof ProviderOauthCallbackResponses];
|
|
7550
|
+
export type ProviderCredentialsImportCredentialsData = {
|
|
7551
|
+
body?: {
|
|
7552
|
+
/**
|
|
7553
|
+
* Auth method index
|
|
7554
|
+
*/
|
|
7555
|
+
method: number;
|
|
7556
|
+
};
|
|
7557
|
+
path: {
|
|
7558
|
+
/**
|
|
7559
|
+
* Provider ID
|
|
7560
|
+
*/
|
|
7561
|
+
providerID: string;
|
|
7562
|
+
};
|
|
7563
|
+
query?: {
|
|
7564
|
+
directory?: string;
|
|
7565
|
+
scopeID?: string;
|
|
7566
|
+
};
|
|
7567
|
+
url: "/provider/{providerID}/import";
|
|
7568
|
+
};
|
|
7569
|
+
export type ProviderCredentialsImportCredentialsErrors = {
|
|
7570
|
+
/**
|
|
7571
|
+
* Bad request
|
|
7572
|
+
*/
|
|
7573
|
+
400: BadRequestError;
|
|
7574
|
+
};
|
|
7575
|
+
export type ProviderCredentialsImportCredentialsError = ProviderCredentialsImportCredentialsErrors[keyof ProviderCredentialsImportCredentialsErrors];
|
|
7576
|
+
export type ProviderCredentialsImportCredentialsResponses = {
|
|
7577
|
+
/**
|
|
7578
|
+
* Credentials imported successfully
|
|
7579
|
+
*/
|
|
7580
|
+
200: boolean;
|
|
7581
|
+
};
|
|
7582
|
+
export type ProviderCredentialsImportCredentialsResponse = ProviderCredentialsImportCredentialsResponses[keyof ProviderCredentialsImportCredentialsResponses];
|
|
7016
7583
|
export type SkillListData = {
|
|
7017
7584
|
body?: never;
|
|
7018
7585
|
path?: never;
|
|
@@ -7252,7 +7819,7 @@ export type FileStatusResponses = {
|
|
|
7252
7819
|
200: Array<File>;
|
|
7253
7820
|
};
|
|
7254
7821
|
export type FileStatusResponse = FileStatusResponses[keyof FileStatusResponses];
|
|
7255
|
-
export type
|
|
7822
|
+
export type LibraryExperienceSearchData = {
|
|
7256
7823
|
body?: {
|
|
7257
7824
|
/**
|
|
7258
7825
|
* Search query text
|
|
@@ -7272,23 +7839,23 @@ export type EngramExperienceSearchData = {
|
|
|
7272
7839
|
directory?: string;
|
|
7273
7840
|
scopeID?: string;
|
|
7274
7841
|
};
|
|
7275
|
-
url: "/
|
|
7842
|
+
url: "/library/experience/search";
|
|
7276
7843
|
};
|
|
7277
|
-
export type
|
|
7844
|
+
export type LibraryExperienceSearchErrors = {
|
|
7278
7845
|
/**
|
|
7279
7846
|
* Bad request
|
|
7280
7847
|
*/
|
|
7281
7848
|
400: BadRequestError;
|
|
7282
7849
|
};
|
|
7283
|
-
export type
|
|
7284
|
-
export type
|
|
7850
|
+
export type LibraryExperienceSearchError = LibraryExperienceSearchErrors[keyof LibraryExperienceSearchErrors];
|
|
7851
|
+
export type LibraryExperienceSearchResponses = {
|
|
7285
7852
|
/**
|
|
7286
7853
|
* Search results ranked by hybrid score
|
|
7287
7854
|
*/
|
|
7288
7855
|
200: Array<ExperienceSearchResult>;
|
|
7289
7856
|
};
|
|
7290
|
-
export type
|
|
7291
|
-
export type
|
|
7857
|
+
export type LibraryExperienceSearchResponse = LibraryExperienceSearchResponses[keyof LibraryExperienceSearchResponses];
|
|
7858
|
+
export type LibraryExperiencePageData = {
|
|
7292
7859
|
body?: never;
|
|
7293
7860
|
path?: never;
|
|
7294
7861
|
query?: {
|
|
@@ -7312,23 +7879,23 @@ export type EngramExperiencePageData = {
|
|
|
7312
7879
|
*/
|
|
7313
7880
|
offset?: number;
|
|
7314
7881
|
};
|
|
7315
|
-
url: "/
|
|
7882
|
+
url: "/library/experience/page";
|
|
7316
7883
|
};
|
|
7317
|
-
export type
|
|
7884
|
+
export type LibraryExperiencePageErrors = {
|
|
7318
7885
|
/**
|
|
7319
7886
|
* Bad request
|
|
7320
7887
|
*/
|
|
7321
7888
|
400: BadRequestError;
|
|
7322
7889
|
};
|
|
7323
|
-
export type
|
|
7324
|
-
export type
|
|
7890
|
+
export type LibraryExperiencePageError = LibraryExperiencePageErrors[keyof LibraryExperiencePageErrors];
|
|
7891
|
+
export type LibraryExperiencePageResponses = {
|
|
7325
7892
|
/**
|
|
7326
7893
|
* Paginated experience list
|
|
7327
7894
|
*/
|
|
7328
7895
|
200: ExperienceListPage;
|
|
7329
7896
|
};
|
|
7330
|
-
export type
|
|
7331
|
-
export type
|
|
7897
|
+
export type LibraryExperiencePageResponse = LibraryExperiencePageResponses[keyof LibraryExperiencePageResponses];
|
|
7898
|
+
export type LibraryExperienceRemoveData = {
|
|
7332
7899
|
body?: never;
|
|
7333
7900
|
path: {
|
|
7334
7901
|
/**
|
|
@@ -7340,23 +7907,23 @@ export type EngramExperienceRemoveData = {
|
|
|
7340
7907
|
directory?: string;
|
|
7341
7908
|
scopeID?: string;
|
|
7342
7909
|
};
|
|
7343
|
-
url: "/
|
|
7910
|
+
url: "/library/experience/{id}";
|
|
7344
7911
|
};
|
|
7345
|
-
export type
|
|
7912
|
+
export type LibraryExperienceRemoveErrors = {
|
|
7346
7913
|
/**
|
|
7347
7914
|
* Bad request
|
|
7348
7915
|
*/
|
|
7349
7916
|
400: BadRequestError;
|
|
7350
7917
|
};
|
|
7351
|
-
export type
|
|
7352
|
-
export type
|
|
7918
|
+
export type LibraryExperienceRemoveError = LibraryExperienceRemoveErrors[keyof LibraryExperienceRemoveErrors];
|
|
7919
|
+
export type LibraryExperienceRemoveResponses = {
|
|
7353
7920
|
/**
|
|
7354
7921
|
* Deleted
|
|
7355
7922
|
*/
|
|
7356
7923
|
200: boolean;
|
|
7357
7924
|
};
|
|
7358
|
-
export type
|
|
7359
|
-
export type
|
|
7925
|
+
export type LibraryExperienceRemoveResponse = LibraryExperienceRemoveResponses[keyof LibraryExperienceRemoveResponses];
|
|
7926
|
+
export type LibraryExperienceGetData = {
|
|
7360
7927
|
body?: never;
|
|
7361
7928
|
path: {
|
|
7362
7929
|
/**
|
|
@@ -7368,9 +7935,9 @@ export type EngramExperienceGetData = {
|
|
|
7368
7935
|
directory?: string;
|
|
7369
7936
|
scopeID?: string;
|
|
7370
7937
|
};
|
|
7371
|
-
url: "/
|
|
7938
|
+
url: "/library/experience/{id}";
|
|
7372
7939
|
};
|
|
7373
|
-
export type
|
|
7940
|
+
export type LibraryExperienceGetErrors = {
|
|
7374
7941
|
/**
|
|
7375
7942
|
* Bad request
|
|
7376
7943
|
*/
|
|
@@ -7380,15 +7947,15 @@ export type EngramExperienceGetErrors = {
|
|
|
7380
7947
|
*/
|
|
7381
7948
|
404: NotFoundError;
|
|
7382
7949
|
};
|
|
7383
|
-
export type
|
|
7384
|
-
export type
|
|
7950
|
+
export type LibraryExperienceGetError = LibraryExperienceGetErrors[keyof LibraryExperienceGetErrors];
|
|
7951
|
+
export type LibraryExperienceGetResponses = {
|
|
7385
7952
|
/**
|
|
7386
7953
|
* Experience detail
|
|
7387
7954
|
*/
|
|
7388
7955
|
200: ExperienceDetailInfo;
|
|
7389
7956
|
};
|
|
7390
|
-
export type
|
|
7391
|
-
export type
|
|
7957
|
+
export type LibraryExperienceGetResponse = LibraryExperienceGetResponses[keyof LibraryExperienceGetResponses];
|
|
7958
|
+
export type LibraryExperienceApplyRewardData = {
|
|
7392
7959
|
body?: {
|
|
7393
7960
|
/**
|
|
7394
7961
|
* Direct composite reward value [-1, 1]
|
|
@@ -7406,9 +7973,9 @@ export type EngramExperienceApplyRewardData = {
|
|
|
7406
7973
|
directory?: string;
|
|
7407
7974
|
scopeID?: string;
|
|
7408
7975
|
};
|
|
7409
|
-
url: "/
|
|
7976
|
+
url: "/library/experience/{id}/reward";
|
|
7410
7977
|
};
|
|
7411
|
-
export type
|
|
7978
|
+
export type LibraryExperienceApplyRewardErrors = {
|
|
7412
7979
|
/**
|
|
7413
7980
|
* Bad request
|
|
7414
7981
|
*/
|
|
@@ -7418,15 +7985,15 @@ export type EngramExperienceApplyRewardErrors = {
|
|
|
7418
7985
|
*/
|
|
7419
7986
|
404: NotFoundError;
|
|
7420
7987
|
};
|
|
7421
|
-
export type
|
|
7422
|
-
export type
|
|
7988
|
+
export type LibraryExperienceApplyRewardError = LibraryExperienceApplyRewardErrors[keyof LibraryExperienceApplyRewardErrors];
|
|
7989
|
+
export type LibraryExperienceApplyRewardResponses = {
|
|
7423
7990
|
/**
|
|
7424
7991
|
* Reward applied
|
|
7425
7992
|
*/
|
|
7426
7993
|
200: ApplyRewardResult;
|
|
7427
7994
|
};
|
|
7428
|
-
export type
|
|
7429
|
-
export type
|
|
7995
|
+
export type LibraryExperienceApplyRewardResponse = LibraryExperienceApplyRewardResponses[keyof LibraryExperienceApplyRewardResponses];
|
|
7996
|
+
export type LibraryExperienceListData = {
|
|
7430
7997
|
body?: never;
|
|
7431
7998
|
path?: never;
|
|
7432
7999
|
query?: {
|
|
@@ -7436,16 +8003,16 @@ export type EngramExperienceListData = {
|
|
|
7436
8003
|
*/
|
|
7437
8004
|
scopeID?: string;
|
|
7438
8005
|
};
|
|
7439
|
-
url: "/
|
|
8006
|
+
url: "/library/experience";
|
|
7440
8007
|
};
|
|
7441
|
-
export type
|
|
8008
|
+
export type LibraryExperienceListResponses = {
|
|
7442
8009
|
/**
|
|
7443
8010
|
* List of experiences
|
|
7444
8011
|
*/
|
|
7445
8012
|
200: Array<ExperienceInfo>;
|
|
7446
8013
|
};
|
|
7447
|
-
export type
|
|
7448
|
-
export type
|
|
8014
|
+
export type LibraryExperienceListResponse = LibraryExperienceListResponses[keyof LibraryExperienceListResponses];
|
|
8015
|
+
export type LibraryStatsData = {
|
|
7449
8016
|
body?: never;
|
|
7450
8017
|
path?: never;
|
|
7451
8018
|
query?: {
|
|
@@ -7456,23 +8023,23 @@ export type EngramStatsData = {
|
|
|
7456
8023
|
*/
|
|
7457
8024
|
recompute?: "true" | "false";
|
|
7458
8025
|
};
|
|
7459
|
-
url: "/
|
|
8026
|
+
url: "/library/stats";
|
|
7460
8027
|
};
|
|
7461
|
-
export type
|
|
8028
|
+
export type LibraryStatsErrors = {
|
|
7462
8029
|
/**
|
|
7463
8030
|
* Bad request
|
|
7464
8031
|
*/
|
|
7465
8032
|
400: BadRequestError;
|
|
7466
8033
|
};
|
|
7467
|
-
export type
|
|
7468
|
-
export type
|
|
8034
|
+
export type LibraryStatsError = LibraryStatsErrors[keyof LibraryStatsErrors];
|
|
8035
|
+
export type LibraryStatsResponses = {
|
|
7469
8036
|
/**
|
|
7470
|
-
*
|
|
8037
|
+
* Library statistics
|
|
7471
8038
|
*/
|
|
7472
8039
|
200: MemoryStats;
|
|
7473
8040
|
};
|
|
7474
|
-
export type
|
|
7475
|
-
export type
|
|
8041
|
+
export type LibraryStatsResponse = LibraryStatsResponses[keyof LibraryStatsResponses];
|
|
8042
|
+
export type LibrarySearchData = {
|
|
7476
8043
|
body?: {
|
|
7477
8044
|
/**
|
|
7478
8045
|
* Search query text
|
|
@@ -7496,23 +8063,23 @@ export type EngramSearchData = {
|
|
|
7496
8063
|
directory?: string;
|
|
7497
8064
|
scopeID?: string;
|
|
7498
8065
|
};
|
|
7499
|
-
url: "/
|
|
8066
|
+
url: "/library/search";
|
|
7500
8067
|
};
|
|
7501
|
-
export type
|
|
8068
|
+
export type LibrarySearchErrors = {
|
|
7502
8069
|
/**
|
|
7503
8070
|
* Bad request
|
|
7504
8071
|
*/
|
|
7505
8072
|
400: BadRequestError;
|
|
7506
8073
|
};
|
|
7507
|
-
export type
|
|
7508
|
-
export type
|
|
8074
|
+
export type LibrarySearchError = LibrarySearchErrors[keyof LibrarySearchErrors];
|
|
8075
|
+
export type LibrarySearchResponses = {
|
|
7509
8076
|
/**
|
|
7510
8077
|
* Search results ranked by similarity
|
|
7511
8078
|
*/
|
|
7512
8079
|
200: Array<MemorySearchResult>;
|
|
7513
8080
|
};
|
|
7514
|
-
export type
|
|
7515
|
-
export type
|
|
8081
|
+
export type LibrarySearchResponse = LibrarySearchResponses[keyof LibrarySearchResponses];
|
|
8082
|
+
export type LibraryResetData = {
|
|
7516
8083
|
body?: {
|
|
7517
8084
|
/**
|
|
7518
8085
|
* What to reset
|
|
@@ -7532,23 +8099,23 @@ export type EngramResetData = {
|
|
|
7532
8099
|
directory?: string;
|
|
7533
8100
|
scopeID?: string;
|
|
7534
8101
|
};
|
|
7535
|
-
url: "/
|
|
8102
|
+
url: "/library/reset";
|
|
7536
8103
|
};
|
|
7537
|
-
export type
|
|
8104
|
+
export type LibraryResetErrors = {
|
|
7538
8105
|
/**
|
|
7539
8106
|
* Bad request
|
|
7540
8107
|
*/
|
|
7541
8108
|
400: BadRequestError;
|
|
7542
8109
|
};
|
|
7543
|
-
export type
|
|
7544
|
-
export type
|
|
8110
|
+
export type LibraryResetError = LibraryResetErrors[keyof LibraryResetErrors];
|
|
8111
|
+
export type LibraryResetResponses = {
|
|
7545
8112
|
/**
|
|
7546
8113
|
* Reset result with deletion counts
|
|
7547
8114
|
*/
|
|
7548
8115
|
200: MemoryResetResult;
|
|
7549
8116
|
};
|
|
7550
|
-
export type
|
|
7551
|
-
export type
|
|
8117
|
+
export type LibraryResetResponse = LibraryResetResponses[keyof LibraryResetResponses];
|
|
8118
|
+
export type LibraryRemoveData = {
|
|
7552
8119
|
body?: never;
|
|
7553
8120
|
path: {
|
|
7554
8121
|
/**
|
|
@@ -7560,23 +8127,23 @@ export type EngramRemoveData = {
|
|
|
7560
8127
|
directory?: string;
|
|
7561
8128
|
scopeID?: string;
|
|
7562
8129
|
};
|
|
7563
|
-
url: "/
|
|
8130
|
+
url: "/library/{id}";
|
|
7564
8131
|
};
|
|
7565
|
-
export type
|
|
8132
|
+
export type LibraryRemoveErrors = {
|
|
7566
8133
|
/**
|
|
7567
8134
|
* Bad request
|
|
7568
8135
|
*/
|
|
7569
8136
|
400: BadRequestError;
|
|
7570
8137
|
};
|
|
7571
|
-
export type
|
|
7572
|
-
export type
|
|
8138
|
+
export type LibraryRemoveError = LibraryRemoveErrors[keyof LibraryRemoveErrors];
|
|
8139
|
+
export type LibraryRemoveResponses = {
|
|
7573
8140
|
/**
|
|
7574
8141
|
* Deleted
|
|
7575
8142
|
*/
|
|
7576
8143
|
200: boolean;
|
|
7577
8144
|
};
|
|
7578
|
-
export type
|
|
7579
|
-
export type
|
|
8145
|
+
export type LibraryRemoveResponse = LibraryRemoveResponses[keyof LibraryRemoveResponses];
|
|
8146
|
+
export type LibraryGetData = {
|
|
7580
8147
|
body?: never;
|
|
7581
8148
|
path: {
|
|
7582
8149
|
/**
|
|
@@ -7588,9 +8155,9 @@ export type EngramGetData = {
|
|
|
7588
8155
|
directory?: string;
|
|
7589
8156
|
scopeID?: string;
|
|
7590
8157
|
};
|
|
7591
|
-
url: "/
|
|
8158
|
+
url: "/library/{id}";
|
|
7592
8159
|
};
|
|
7593
|
-
export type
|
|
8160
|
+
export type LibraryGetErrors = {
|
|
7594
8161
|
/**
|
|
7595
8162
|
* Bad request
|
|
7596
8163
|
*/
|
|
@@ -7600,15 +8167,15 @@ export type EngramGetErrors = {
|
|
|
7600
8167
|
*/
|
|
7601
8168
|
404: NotFoundError;
|
|
7602
8169
|
};
|
|
7603
|
-
export type
|
|
7604
|
-
export type
|
|
8170
|
+
export type LibraryGetError = LibraryGetErrors[keyof LibraryGetErrors];
|
|
8171
|
+
export type LibraryGetResponses = {
|
|
7605
8172
|
/**
|
|
7606
8173
|
* Memory detail
|
|
7607
8174
|
*/
|
|
7608
8175
|
200: MemoryInfo;
|
|
7609
8176
|
};
|
|
7610
|
-
export type
|
|
7611
|
-
export type
|
|
8177
|
+
export type LibraryGetResponse = LibraryGetResponses[keyof LibraryGetResponses];
|
|
8178
|
+
export type LibraryListData = {
|
|
7612
8179
|
body?: never;
|
|
7613
8180
|
path?: never;
|
|
7614
8181
|
query?: {
|
|
@@ -7617,15 +8184,15 @@ export type EngramListData = {
|
|
|
7617
8184
|
category?: MemoryCategory;
|
|
7618
8185
|
recallMode?: MemoryRecallMode;
|
|
7619
8186
|
};
|
|
7620
|
-
url: "/
|
|
8187
|
+
url: "/library";
|
|
7621
8188
|
};
|
|
7622
|
-
export type
|
|
8189
|
+
export type LibraryListResponses = {
|
|
7623
8190
|
/**
|
|
7624
8191
|
* List of memories
|
|
7625
8192
|
*/
|
|
7626
8193
|
200: Array<MemoryInfo>;
|
|
7627
8194
|
};
|
|
7628
|
-
export type
|
|
8195
|
+
export type LibraryListResponse = LibraryListResponses[keyof LibraryListResponses];
|
|
7629
8196
|
export type AgendaActivityData = {
|
|
7630
8197
|
body?: never;
|
|
7631
8198
|
path?: never;
|