@dakera-ai/dakera 0.11.55 → 0.11.57
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/README.md +8 -8
- package/dist/index.d.mts +687 -7
- package/dist/index.d.ts +687 -7
- package/dist/index.js +315 -4
- package/dist/index.mjs +315 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -127,13 +127,13 @@ interface IndexStats {
|
|
|
127
127
|
/** Document for full-text search */
|
|
128
128
|
interface Document {
|
|
129
129
|
id: VectorId;
|
|
130
|
-
|
|
130
|
+
text: string;
|
|
131
131
|
metadata?: Record<string, unknown>;
|
|
132
132
|
}
|
|
133
133
|
/** Input for document operations */
|
|
134
134
|
type DocumentInput = Document | {
|
|
135
135
|
id: VectorId | string;
|
|
136
|
-
|
|
136
|
+
text: string;
|
|
137
137
|
metadata?: Record<string, unknown>;
|
|
138
138
|
};
|
|
139
139
|
/** Result from full-text search */
|
|
@@ -1173,13 +1173,30 @@ interface SlowQuery {
|
|
|
1173
1173
|
timestamp: string;
|
|
1174
1174
|
namespace?: string;
|
|
1175
1175
|
}
|
|
1176
|
+
/** Backup type. */
|
|
1177
|
+
type BackupType = 'full' | 'incremental' | 'snapshot';
|
|
1178
|
+
/** Backup status. */
|
|
1179
|
+
type BackupStatus = 'inprogress' | 'completed' | 'failed' | 'deleting';
|
|
1180
|
+
/** Compression type. */
|
|
1181
|
+
type CompressionType = 'none' | 'zstd' | 'lz4';
|
|
1182
|
+
/** Restore status. */
|
|
1183
|
+
type RestoreStatus = 'inprogress' | 'completed' | 'failed';
|
|
1176
1184
|
/** Backup info */
|
|
1177
1185
|
interface BackupInfo {
|
|
1178
|
-
|
|
1179
|
-
|
|
1186
|
+
backup_id: string;
|
|
1187
|
+
name: string;
|
|
1188
|
+
backup_type: BackupType;
|
|
1189
|
+
status: BackupStatus;
|
|
1190
|
+
namespaces: string[];
|
|
1191
|
+
vector_count: number;
|
|
1180
1192
|
size_bytes: number;
|
|
1181
|
-
|
|
1182
|
-
|
|
1193
|
+
created_at: number;
|
|
1194
|
+
completed_at?: number;
|
|
1195
|
+
duration_seconds?: number;
|
|
1196
|
+
storage_path?: string;
|
|
1197
|
+
error?: string;
|
|
1198
|
+
encrypted: boolean;
|
|
1199
|
+
compression?: CompressionType;
|
|
1183
1200
|
}
|
|
1184
1201
|
/** TTL configuration */
|
|
1185
1202
|
interface TtlConfig {
|
|
@@ -1388,6 +1405,62 @@ interface BatchForgetRequest {
|
|
|
1388
1405
|
interface BatchForgetResponse {
|
|
1389
1406
|
deleted_count: number;
|
|
1390
1407
|
}
|
|
1408
|
+
/**
|
|
1409
|
+
* A single memory entry within a {@link BatchStoreMemoryRequest}.
|
|
1410
|
+
*
|
|
1411
|
+
* Mirrors `StoreMemoryRequest` but omits `agent_id` — supplied at batch level.
|
|
1412
|
+
*/
|
|
1413
|
+
interface BatchStoreMemoryItem {
|
|
1414
|
+
/** Memory content text (required, max 100 000 chars). */
|
|
1415
|
+
content: string;
|
|
1416
|
+
/** One of `"episodic"`, `"semantic"`, `"procedural"`, or `"working"`. */
|
|
1417
|
+
memory_type?: MemoryType;
|
|
1418
|
+
/** Importance score 0.0–1.0 (default: 0.5). */
|
|
1419
|
+
importance?: number;
|
|
1420
|
+
/** Optional tags to associate with the memory. */
|
|
1421
|
+
tags?: string[];
|
|
1422
|
+
/** Optional session ID to associate with. */
|
|
1423
|
+
session_id?: string;
|
|
1424
|
+
/** Arbitrary metadata dictionary. */
|
|
1425
|
+
metadata?: Record<string, unknown>;
|
|
1426
|
+
/** Optional TTL in seconds. */
|
|
1427
|
+
ttl_seconds?: number;
|
|
1428
|
+
/** Optional explicit expiry as a Unix timestamp (seconds). */
|
|
1429
|
+
expires_at?: number;
|
|
1430
|
+
/** Optional custom ID. Auto-generated if not provided. */
|
|
1431
|
+
id?: string;
|
|
1432
|
+
}
|
|
1433
|
+
/**
|
|
1434
|
+
* Request body for `POST /v1/memories/store/batch` (DAK-5508).
|
|
1435
|
+
*
|
|
1436
|
+
* Accepts up to 1 000 memories per call. The server embeds all contents in a
|
|
1437
|
+
* single ONNX inference pass, yielding ≥100× throughput vs. N sequential
|
|
1438
|
+
* single-store calls.
|
|
1439
|
+
*/
|
|
1440
|
+
interface BatchStoreMemoryRequest {
|
|
1441
|
+
/** Agent namespace to store the memories in. */
|
|
1442
|
+
agent_id: string;
|
|
1443
|
+
/** Memories to store (1–1000 items). */
|
|
1444
|
+
memories: BatchStoreMemoryItem[];
|
|
1445
|
+
}
|
|
1446
|
+
/** A single stored memory returned in a {@link BatchStoreMemoryResponse}. */
|
|
1447
|
+
interface BatchStoredMemory {
|
|
1448
|
+
id: string;
|
|
1449
|
+
content: string;
|
|
1450
|
+
agent_id: string;
|
|
1451
|
+
tags: string[];
|
|
1452
|
+
importance: number;
|
|
1453
|
+
created_at: number;
|
|
1454
|
+
}
|
|
1455
|
+
/** Response from `POST /v1/memories/store/batch`. */
|
|
1456
|
+
interface BatchStoreMemoryResponse {
|
|
1457
|
+
/** Stored memories in the same order as the request items. */
|
|
1458
|
+
stored: BatchStoredMemory[];
|
|
1459
|
+
/** Number of memories successfully stored. */
|
|
1460
|
+
stored_count: number;
|
|
1461
|
+
/** Time spent on ONNX embedding for the entire batch (milliseconds). */
|
|
1462
|
+
total_embedding_time_ms: number;
|
|
1463
|
+
}
|
|
1391
1464
|
/**
|
|
1392
1465
|
* Edge type for memory knowledge graph relationships (CE-5).
|
|
1393
1466
|
*
|
|
@@ -1878,6 +1951,487 @@ interface FulltextReindexResponse {
|
|
|
1878
1951
|
/** Per-namespace breakdown. */
|
|
1879
1952
|
details: FulltextReindexNamespaceResult[];
|
|
1880
1953
|
}
|
|
1954
|
+
/** Response from GET /health/ready. */
|
|
1955
|
+
interface ReadinessResponse {
|
|
1956
|
+
ready: boolean;
|
|
1957
|
+
version: string;
|
|
1958
|
+
checks: Record<string, {
|
|
1959
|
+
status: string;
|
|
1960
|
+
message?: string;
|
|
1961
|
+
}>;
|
|
1962
|
+
}
|
|
1963
|
+
/** Response from GET /health/live. */
|
|
1964
|
+
interface LivenessResponse {
|
|
1965
|
+
alive: boolean;
|
|
1966
|
+
version: string;
|
|
1967
|
+
uptime_seconds: number;
|
|
1968
|
+
}
|
|
1969
|
+
/** Request for POST /v1/namespaces/{ns}/vectors/bulk-update. */
|
|
1970
|
+
interface BulkUpdateRequest {
|
|
1971
|
+
filter: Record<string, unknown>;
|
|
1972
|
+
update: Record<string, unknown>;
|
|
1973
|
+
}
|
|
1974
|
+
/** Response from POST /v1/namespaces/{ns}/vectors/bulk-update. */
|
|
1975
|
+
interface BulkUpdateResponse {
|
|
1976
|
+
updated: number;
|
|
1977
|
+
failed: number;
|
|
1978
|
+
errors: string[];
|
|
1979
|
+
}
|
|
1980
|
+
/** Request for POST /v1/namespaces/{ns}/vectors/bulk-delete. */
|
|
1981
|
+
interface BulkDeleteRequest {
|
|
1982
|
+
filter: Record<string, unknown>;
|
|
1983
|
+
}
|
|
1984
|
+
/** Response from POST /v1/namespaces/{ns}/vectors/bulk-delete. */
|
|
1985
|
+
interface BulkDeleteResponse {
|
|
1986
|
+
deleted: number;
|
|
1987
|
+
failed: number;
|
|
1988
|
+
errors: string[];
|
|
1989
|
+
}
|
|
1990
|
+
/** Request for POST /v1/namespaces/{ns}/vectors/count. */
|
|
1991
|
+
interface CountVectorsRequest {
|
|
1992
|
+
filter?: Record<string, unknown>;
|
|
1993
|
+
}
|
|
1994
|
+
/** Response from POST /v1/namespaces/{ns}/vectors/count. */
|
|
1995
|
+
interface CountVectorsResponse {
|
|
1996
|
+
count: number;
|
|
1997
|
+
namespace: string;
|
|
1998
|
+
}
|
|
1999
|
+
/** Response from POST /v1/agents/{agent_id}/consolidate. */
|
|
2000
|
+
interface AgentConsolidateResponse {
|
|
2001
|
+
agent_id: string;
|
|
2002
|
+
memories_scanned: number;
|
|
2003
|
+
clusters_found: number;
|
|
2004
|
+
memories_deprecated: number;
|
|
2005
|
+
anchor_ids: string[];
|
|
2006
|
+
deprecated_ids: string[];
|
|
2007
|
+
skipped?: boolean;
|
|
2008
|
+
reason?: string;
|
|
2009
|
+
}
|
|
2010
|
+
/** One entry in the agent consolidation log. */
|
|
2011
|
+
interface AgentConsolidationLogEntry {
|
|
2012
|
+
timestamp: number;
|
|
2013
|
+
clusters_found: number;
|
|
2014
|
+
memories_deprecated: number;
|
|
2015
|
+
anchor_ids: string[];
|
|
2016
|
+
deprecated_ids: string[];
|
|
2017
|
+
}
|
|
2018
|
+
/** Request for PATCH /v1/agents/{agent_id}/consolidation/config. */
|
|
2019
|
+
interface ConsolidationConfigPatch {
|
|
2020
|
+
enabled?: boolean;
|
|
2021
|
+
epsilon?: number;
|
|
2022
|
+
min_samples?: number;
|
|
2023
|
+
soft_deprecation_days?: number;
|
|
2024
|
+
}
|
|
2025
|
+
/** Response from PATCH /v1/agents/{agent_id}/consolidation/config. */
|
|
2026
|
+
interface AgentConsolidationConfig {
|
|
2027
|
+
enabled: boolean;
|
|
2028
|
+
epsilon: number;
|
|
2029
|
+
min_samples: number;
|
|
2030
|
+
soft_deprecation_days: number;
|
|
2031
|
+
}
|
|
2032
|
+
/** Response from GET /v1/namespaces/{ns}/config. */
|
|
2033
|
+
interface NamespaceEntityConfig {
|
|
2034
|
+
namespace: string;
|
|
2035
|
+
extract_entities: boolean;
|
|
2036
|
+
entity_types: string[];
|
|
2037
|
+
}
|
|
2038
|
+
/** Response from GET /v1/namespaces/{ns}/extractor. */
|
|
2039
|
+
interface ExtractorConfig {
|
|
2040
|
+
provider: string;
|
|
2041
|
+
model?: string;
|
|
2042
|
+
base_url?: string;
|
|
2043
|
+
}
|
|
2044
|
+
/** Cluster replication status. */
|
|
2045
|
+
interface ReplicationStatus {
|
|
2046
|
+
replication_factor: number;
|
|
2047
|
+
healthy_replicas: number;
|
|
2048
|
+
total_nodes: number;
|
|
2049
|
+
replication_lag: NodeReplicationLag[];
|
|
2050
|
+
}
|
|
2051
|
+
/** Per-node replication lag. */
|
|
2052
|
+
interface NodeReplicationLag {
|
|
2053
|
+
node_id: string;
|
|
2054
|
+
lag_ms: number;
|
|
2055
|
+
status: string;
|
|
2056
|
+
}
|
|
2057
|
+
/** Shard information. */
|
|
2058
|
+
interface ShardInfo {
|
|
2059
|
+
shard_id: string;
|
|
2060
|
+
namespace: string;
|
|
2061
|
+
primary_node: string;
|
|
2062
|
+
replica_nodes: string[];
|
|
2063
|
+
state: string;
|
|
2064
|
+
vector_count: number;
|
|
2065
|
+
size_bytes: number;
|
|
2066
|
+
}
|
|
2067
|
+
/** Response from GET /admin/cluster/shards. */
|
|
2068
|
+
interface ShardListResponse {
|
|
2069
|
+
shards: ShardInfo[];
|
|
2070
|
+
total: number;
|
|
2071
|
+
}
|
|
2072
|
+
/** Request for POST /admin/cluster/shards/rebalance. */
|
|
2073
|
+
interface ShardRebalanceRequest {
|
|
2074
|
+
shard_ids?: string[];
|
|
2075
|
+
dry_run?: boolean;
|
|
2076
|
+
}
|
|
2077
|
+
/** Response from POST /admin/cluster/shards/rebalance. */
|
|
2078
|
+
interface ShardRebalanceResponse {
|
|
2079
|
+
initiated: boolean;
|
|
2080
|
+
operation_id: string;
|
|
2081
|
+
shards_affected: number;
|
|
2082
|
+
estimated_seconds?: number;
|
|
2083
|
+
planned_moves: Array<{
|
|
2084
|
+
shard_id: string;
|
|
2085
|
+
from_node: string;
|
|
2086
|
+
to_node: string;
|
|
2087
|
+
}>;
|
|
2088
|
+
}
|
|
2089
|
+
/** Maintenance mode status. */
|
|
2090
|
+
interface MaintenanceStatus {
|
|
2091
|
+
enabled: boolean;
|
|
2092
|
+
reason?: string;
|
|
2093
|
+
enabled_at?: number;
|
|
2094
|
+
scheduled_end?: number;
|
|
2095
|
+
nodes_in_maintenance: string[];
|
|
2096
|
+
rejecting_requests: boolean;
|
|
2097
|
+
}
|
|
2098
|
+
/** Request for POST /admin/cluster/maintenance/enable. */
|
|
2099
|
+
interface EnableMaintenanceRequest {
|
|
2100
|
+
reason: string;
|
|
2101
|
+
node_ids?: string[];
|
|
2102
|
+
reject_requests?: boolean;
|
|
2103
|
+
duration_minutes?: number;
|
|
2104
|
+
}
|
|
2105
|
+
/** Request for POST /admin/cluster/maintenance/disable. */
|
|
2106
|
+
interface DisableMaintenanceRequest {
|
|
2107
|
+
force?: boolean;
|
|
2108
|
+
}
|
|
2109
|
+
/** Quota enforcement mode. */
|
|
2110
|
+
type QuotaEnforcement = 'none' | 'soft' | 'hard';
|
|
2111
|
+
/** Quota configuration for a namespace. */
|
|
2112
|
+
interface QuotaConfig {
|
|
2113
|
+
max_vectors?: number;
|
|
2114
|
+
max_storage_bytes?: number;
|
|
2115
|
+
max_dimensions?: number;
|
|
2116
|
+
max_metadata_bytes?: number;
|
|
2117
|
+
enforcement?: QuotaEnforcement;
|
|
2118
|
+
}
|
|
2119
|
+
/** Quota usage for a namespace. */
|
|
2120
|
+
interface QuotaUsage {
|
|
2121
|
+
vector_count: number;
|
|
2122
|
+
storage_bytes: number;
|
|
2123
|
+
avg_dimensions?: number;
|
|
2124
|
+
avg_metadata_bytes?: number;
|
|
2125
|
+
last_updated: number;
|
|
2126
|
+
}
|
|
2127
|
+
/** Combined quota status. */
|
|
2128
|
+
interface QuotaStatus {
|
|
2129
|
+
namespace: string;
|
|
2130
|
+
config: QuotaConfig;
|
|
2131
|
+
usage: QuotaUsage;
|
|
2132
|
+
vector_usage_percent?: number;
|
|
2133
|
+
storage_usage_percent?: number;
|
|
2134
|
+
is_exceeded: boolean;
|
|
2135
|
+
exceeded_quotas: string[];
|
|
2136
|
+
}
|
|
2137
|
+
/** Response from GET /admin/quotas. */
|
|
2138
|
+
interface QuotaListResponse {
|
|
2139
|
+
quotas: QuotaStatus[];
|
|
2140
|
+
total: number;
|
|
2141
|
+
default_config?: QuotaConfig;
|
|
2142
|
+
}
|
|
2143
|
+
/** Response from GET /admin/quotas/default. */
|
|
2144
|
+
interface DefaultQuotaResponse {
|
|
2145
|
+
config?: QuotaConfig;
|
|
2146
|
+
}
|
|
2147
|
+
/** Request for PUT /admin/quotas/default. */
|
|
2148
|
+
interface SetDefaultQuotaRequest {
|
|
2149
|
+
config?: QuotaConfig;
|
|
2150
|
+
}
|
|
2151
|
+
/** Request for PUT /admin/quotas/{namespace}. */
|
|
2152
|
+
interface SetQuotaRequest {
|
|
2153
|
+
config: QuotaConfig;
|
|
2154
|
+
}
|
|
2155
|
+
/** Response from PUT /admin/quotas. */
|
|
2156
|
+
interface SetQuotaResponse {
|
|
2157
|
+
success: boolean;
|
|
2158
|
+
namespace: string;
|
|
2159
|
+
config: QuotaConfig;
|
|
2160
|
+
message: string;
|
|
2161
|
+
}
|
|
2162
|
+
/** Request for POST /admin/quotas/{namespace}/check. */
|
|
2163
|
+
interface QuotaCheckRequest {
|
|
2164
|
+
vector_ids: string[];
|
|
2165
|
+
dimensions?: number;
|
|
2166
|
+
metadata_bytes?: number;
|
|
2167
|
+
}
|
|
2168
|
+
/** Response from POST /admin/quotas/{namespace}/check. */
|
|
2169
|
+
interface QuotaCheckResult {
|
|
2170
|
+
allowed: boolean;
|
|
2171
|
+
reason?: string;
|
|
2172
|
+
usage: QuotaUsage;
|
|
2173
|
+
exceeded_quota?: string;
|
|
2174
|
+
}
|
|
2175
|
+
/** Response from GET /admin/backups. */
|
|
2176
|
+
interface BackupListResponse {
|
|
2177
|
+
backups: BackupInfo[];
|
|
2178
|
+
total: number;
|
|
2179
|
+
}
|
|
2180
|
+
/** Request for POST /admin/backups. */
|
|
2181
|
+
interface CreateBackupRequest {
|
|
2182
|
+
name: string;
|
|
2183
|
+
backup_type?: BackupType;
|
|
2184
|
+
namespaces?: string[];
|
|
2185
|
+
encrypt?: boolean;
|
|
2186
|
+
compression?: CompressionType;
|
|
2187
|
+
}
|
|
2188
|
+
/** Response from POST /admin/backups. */
|
|
2189
|
+
interface CreateBackupResponse {
|
|
2190
|
+
backup: BackupInfo;
|
|
2191
|
+
estimated_completion?: number;
|
|
2192
|
+
}
|
|
2193
|
+
/** Request for POST /admin/backups/restore. */
|
|
2194
|
+
interface RestoreBackupRequest {
|
|
2195
|
+
backup_id: string;
|
|
2196
|
+
target_namespaces?: string[];
|
|
2197
|
+
overwrite?: boolean;
|
|
2198
|
+
point_in_time?: number;
|
|
2199
|
+
}
|
|
2200
|
+
/** Response from POST /admin/backups/restore. */
|
|
2201
|
+
interface RestoreBackupResponse {
|
|
2202
|
+
restore_id: string;
|
|
2203
|
+
status: RestoreStatus;
|
|
2204
|
+
backup_id: string;
|
|
2205
|
+
namespaces: string[];
|
|
2206
|
+
started_at: number;
|
|
2207
|
+
estimated_completion?: number;
|
|
2208
|
+
progress_percent?: number;
|
|
2209
|
+
vectors_restored?: number;
|
|
2210
|
+
completed_at?: number;
|
|
2211
|
+
duration_seconds?: number;
|
|
2212
|
+
error?: string;
|
|
2213
|
+
}
|
|
2214
|
+
/** Backup schedule configuration. */
|
|
2215
|
+
interface BackupSchedule {
|
|
2216
|
+
enabled: boolean;
|
|
2217
|
+
cron?: string;
|
|
2218
|
+
backup_type: BackupType;
|
|
2219
|
+
retention_days: number;
|
|
2220
|
+
max_backups: number;
|
|
2221
|
+
namespaces: string[];
|
|
2222
|
+
encrypt: boolean;
|
|
2223
|
+
compression?: CompressionType;
|
|
2224
|
+
last_backup_at?: number;
|
|
2225
|
+
next_backup_at?: number;
|
|
2226
|
+
}
|
|
2227
|
+
/** Request for POST /admin/backups/schedule. */
|
|
2228
|
+
interface UpdateBackupScheduleRequest {
|
|
2229
|
+
enabled?: boolean;
|
|
2230
|
+
cron?: string;
|
|
2231
|
+
backup_type?: BackupType;
|
|
2232
|
+
retention_days?: number;
|
|
2233
|
+
max_backups?: number;
|
|
2234
|
+
namespaces?: string[];
|
|
2235
|
+
encrypt?: boolean;
|
|
2236
|
+
compression?: CompressionType;
|
|
2237
|
+
}
|
|
2238
|
+
/** Ops job info. */
|
|
2239
|
+
interface JobInfo {
|
|
2240
|
+
id: string;
|
|
2241
|
+
job_type: string;
|
|
2242
|
+
status: string;
|
|
2243
|
+
created_at: number;
|
|
2244
|
+
started_at?: number;
|
|
2245
|
+
completed_at?: number;
|
|
2246
|
+
progress: number;
|
|
2247
|
+
message?: string;
|
|
2248
|
+
metadata: Record<string, string>;
|
|
2249
|
+
}
|
|
2250
|
+
/** System diagnostics. */
|
|
2251
|
+
interface SystemDiagnostics {
|
|
2252
|
+
system: {
|
|
2253
|
+
version: string;
|
|
2254
|
+
rust_version: string;
|
|
2255
|
+
build_time: string;
|
|
2256
|
+
uptime_seconds: number;
|
|
2257
|
+
pid: number;
|
|
2258
|
+
};
|
|
2259
|
+
resources: {
|
|
2260
|
+
memory_bytes: number;
|
|
2261
|
+
memory_total_bytes: number;
|
|
2262
|
+
thread_count: number;
|
|
2263
|
+
open_fds: number;
|
|
2264
|
+
cpu_percent?: number;
|
|
2265
|
+
};
|
|
2266
|
+
components: {
|
|
2267
|
+
storage: {
|
|
2268
|
+
healthy: boolean;
|
|
2269
|
+
message: string;
|
|
2270
|
+
last_check: number;
|
|
2271
|
+
};
|
|
2272
|
+
search_engine: {
|
|
2273
|
+
healthy: boolean;
|
|
2274
|
+
message: string;
|
|
2275
|
+
last_check: number;
|
|
2276
|
+
};
|
|
2277
|
+
cache: {
|
|
2278
|
+
healthy: boolean;
|
|
2279
|
+
message: string;
|
|
2280
|
+
last_check: number;
|
|
2281
|
+
};
|
|
2282
|
+
grpc: {
|
|
2283
|
+
healthy: boolean;
|
|
2284
|
+
message: string;
|
|
2285
|
+
last_check: number;
|
|
2286
|
+
};
|
|
2287
|
+
};
|
|
2288
|
+
active_jobs: number;
|
|
2289
|
+
active_connections: number;
|
|
2290
|
+
max_connections: number;
|
|
2291
|
+
fragmentation_percent: number;
|
|
2292
|
+
}
|
|
2293
|
+
/** Request for POST /ops/compact. */
|
|
2294
|
+
interface CompactionRequest {
|
|
2295
|
+
namespace?: string;
|
|
2296
|
+
force?: boolean;
|
|
2297
|
+
}
|
|
2298
|
+
/** Response from POST /ops/compact. */
|
|
2299
|
+
interface CompactionResponse {
|
|
2300
|
+
job_id: string;
|
|
2301
|
+
message: string;
|
|
2302
|
+
}
|
|
2303
|
+
/** GET /v1/namespaces/{namespace}/fulltext/stats */
|
|
2304
|
+
interface FullTextIndexStats {
|
|
2305
|
+
/** Number of documents in the full-text index. */
|
|
2306
|
+
document_count: number;
|
|
2307
|
+
/** Number of unique terms across all documents. */
|
|
2308
|
+
unique_terms: number;
|
|
2309
|
+
/** Average document length (in terms). */
|
|
2310
|
+
avg_doc_length: number;
|
|
2311
|
+
}
|
|
2312
|
+
/** Request body for POST /v1/namespaces/{namespace}/fulltext/delete */
|
|
2313
|
+
interface FulltextDeleteRequest {
|
|
2314
|
+
/** IDs of documents to delete from the full-text index. */
|
|
2315
|
+
ids: string[];
|
|
2316
|
+
}
|
|
2317
|
+
/** Response from POST /v1/namespaces/{namespace}/fulltext/delete */
|
|
2318
|
+
interface FulltextDeleteResponse {
|
|
2319
|
+
/** Number of documents deleted. */
|
|
2320
|
+
deleted_count: number;
|
|
2321
|
+
}
|
|
2322
|
+
/** Per-namespace TTL statistics. */
|
|
2323
|
+
interface TtlNamespaceStats {
|
|
2324
|
+
namespace: string;
|
|
2325
|
+
vectors_with_ttl: number;
|
|
2326
|
+
expiring_within_hour: number;
|
|
2327
|
+
expiring_within_day: number;
|
|
2328
|
+
expired_pending_cleanup: number;
|
|
2329
|
+
}
|
|
2330
|
+
/** Response from GET /admin/ttl/stats */
|
|
2331
|
+
interface TtlStatsResponse {
|
|
2332
|
+
namespaces: TtlNamespaceStats[];
|
|
2333
|
+
total_with_ttl: number;
|
|
2334
|
+
total_expired: number;
|
|
2335
|
+
}
|
|
2336
|
+
/** A single route match from the query router. */
|
|
2337
|
+
interface RouteMatch {
|
|
2338
|
+
namespace: string;
|
|
2339
|
+
similarity: number;
|
|
2340
|
+
description?: string;
|
|
2341
|
+
}
|
|
2342
|
+
/** Response from POST /v1/route */
|
|
2343
|
+
interface RouteResponse {
|
|
2344
|
+
routes: RouteMatch[];
|
|
2345
|
+
model: string;
|
|
2346
|
+
embedding_time_ms: number;
|
|
2347
|
+
}
|
|
2348
|
+
/** Request body for POST /v1/route */
|
|
2349
|
+
interface RouteRequest {
|
|
2350
|
+
query: string;
|
|
2351
|
+
top_k?: number;
|
|
2352
|
+
min_similarity?: number;
|
|
2353
|
+
model?: string;
|
|
2354
|
+
}
|
|
2355
|
+
/** Response from GET /v1/import/{job_id}/status */
|
|
2356
|
+
interface ImportJobStatus {
|
|
2357
|
+
job_id: string;
|
|
2358
|
+
status: string;
|
|
2359
|
+
format: string;
|
|
2360
|
+
total: number;
|
|
2361
|
+
imported: number;
|
|
2362
|
+
skipped: number;
|
|
2363
|
+
errors: string[];
|
|
2364
|
+
started_at: number;
|
|
2365
|
+
finished_at?: number;
|
|
2366
|
+
}
|
|
2367
|
+
/** Information about a storage tier. */
|
|
2368
|
+
interface TierInfo {
|
|
2369
|
+
name: string;
|
|
2370
|
+
tier_type: string;
|
|
2371
|
+
technology: string;
|
|
2372
|
+
description: string;
|
|
2373
|
+
target_latency: string;
|
|
2374
|
+
capacity?: string;
|
|
2375
|
+
status: string;
|
|
2376
|
+
current_count: number;
|
|
2377
|
+
hit_count: number;
|
|
2378
|
+
hit_rate: number;
|
|
2379
|
+
}
|
|
2380
|
+
/** Storage tier configuration. */
|
|
2381
|
+
interface TierConfig {
|
|
2382
|
+
hot_tier_capacity: number;
|
|
2383
|
+
hot_to_warm_threshold_secs: number;
|
|
2384
|
+
warm_to_cold_threshold_secs: number;
|
|
2385
|
+
auto_tier_enabled: boolean;
|
|
2386
|
+
tier_check_interval_secs: number;
|
|
2387
|
+
}
|
|
2388
|
+
/** Storage tier activity metrics. */
|
|
2389
|
+
interface TierActivity {
|
|
2390
|
+
promotions: number;
|
|
2391
|
+
demotions: number;
|
|
2392
|
+
cache_hit_rate: number;
|
|
2393
|
+
storage_backend: string;
|
|
2394
|
+
promotions_to_hot: number;
|
|
2395
|
+
demotions_to_warm: number;
|
|
2396
|
+
demotions_to_cold: number;
|
|
2397
|
+
}
|
|
2398
|
+
/** Response from GET /admin/storage/tiers */
|
|
2399
|
+
interface StorageTierOverview {
|
|
2400
|
+
tiers_enabled: boolean;
|
|
2401
|
+
architecture: TierInfo[];
|
|
2402
|
+
config: TierConfig;
|
|
2403
|
+
activity: TierActivity;
|
|
2404
|
+
}
|
|
2405
|
+
/** Response from GET /admin/memory-type-stats */
|
|
2406
|
+
interface MemoryTypeStatsResponse {
|
|
2407
|
+
total: number;
|
|
2408
|
+
working: number;
|
|
2409
|
+
episodic: number;
|
|
2410
|
+
semantic: number;
|
|
2411
|
+
procedural: number;
|
|
2412
|
+
agent_namespaces: number;
|
|
2413
|
+
}
|
|
2414
|
+
/** Request body for POST /admin/namespaces/migrate-dimensions */
|
|
2415
|
+
interface MigrateNamespaceDimensionsRequest {
|
|
2416
|
+
namespaces?: string[];
|
|
2417
|
+
target_dimension?: number;
|
|
2418
|
+
}
|
|
2419
|
+
/** Result of migrating a single namespace's dimensions. */
|
|
2420
|
+
interface NamespaceMigrationResult {
|
|
2421
|
+
namespace: string;
|
|
2422
|
+
original_dimension: number;
|
|
2423
|
+
vectors_migrated: number;
|
|
2424
|
+
vectors_skipped: number;
|
|
2425
|
+
status: string;
|
|
2426
|
+
error?: string;
|
|
2427
|
+
}
|
|
2428
|
+
/** Response from POST /admin/namespaces/migrate-dimensions */
|
|
2429
|
+
interface MigrateDimensionsResponse {
|
|
2430
|
+
migrated: number;
|
|
2431
|
+
failed: number;
|
|
2432
|
+
already_current: number;
|
|
2433
|
+
results: NamespaceMigrationResult[];
|
|
2434
|
+
}
|
|
1881
2435
|
|
|
1882
2436
|
/**
|
|
1883
2437
|
* Dakera client for interacting with the AI memory platform.
|
|
@@ -1979,6 +2533,12 @@ declare class DakeraClient {
|
|
|
1979
2533
|
* ```
|
|
1980
2534
|
*/
|
|
1981
2535
|
delete(namespace: string, options: DeleteOptions): Promise<DeleteResponse>;
|
|
2536
|
+
/** Bulk update vector metadata matching a filter. */
|
|
2537
|
+
bulkUpdateVectors(namespace: string, filter: Record<string, unknown>, update: Record<string, unknown>): Promise<BulkUpdateResponse>;
|
|
2538
|
+
/** Bulk delete vectors matching a filter. */
|
|
2539
|
+
bulkDeleteVectors(namespace: string, filter: Record<string, unknown>): Promise<BulkDeleteResponse>;
|
|
2540
|
+
/** Count vectors in a namespace, optionally filtered. */
|
|
2541
|
+
countVectors(namespace: string, filter?: Record<string, unknown>): Promise<CountVectorsResponse>;
|
|
1982
2542
|
/**
|
|
1983
2543
|
* Fetch vectors by ID.
|
|
1984
2544
|
*
|
|
@@ -2107,6 +2667,10 @@ declare class DakeraClient {
|
|
|
2107
2667
|
* @returns Health status
|
|
2108
2668
|
*/
|
|
2109
2669
|
health(): Promise<HealthResponse>;
|
|
2670
|
+
/** K8s readiness probe — checks storage and dependencies. */
|
|
2671
|
+
healthReady(): Promise<ReadinessResponse>;
|
|
2672
|
+
/** K8s liveness probe — checks process is alive. */
|
|
2673
|
+
healthLive(): Promise<LivenessResponse>;
|
|
2110
2674
|
/**
|
|
2111
2675
|
* Get index statistics for a namespace.
|
|
2112
2676
|
*
|
|
@@ -2461,6 +3025,26 @@ declare class DakeraClient {
|
|
|
2461
3025
|
* ```
|
|
2462
3026
|
*/
|
|
2463
3027
|
batchForget(request: BatchForgetRequest): Promise<BatchForgetResponse>;
|
|
3028
|
+
/**
|
|
3029
|
+
* Store multiple memories in a single request (DAK-5508).
|
|
3030
|
+
*
|
|
3031
|
+
* Uses `POST /v1/memories/store/batch`. The server embeds all contents in a
|
|
3032
|
+
* single ONNX inference pass, yielding ≥100× throughput vs. N sequential
|
|
3033
|
+
* single-store calls. Accepts up to 1 000 memories per call.
|
|
3034
|
+
*
|
|
3035
|
+
* @example
|
|
3036
|
+
* ```ts
|
|
3037
|
+
* const resp = await client.storeMemoriesBatch({
|
|
3038
|
+
* agent_id: 'agent-1',
|
|
3039
|
+
* memories: [
|
|
3040
|
+
* { content: 'The user prefers dark mode', importance: 0.8 },
|
|
3041
|
+
* { content: 'The user is based in Berlin', importance: 0.7 },
|
|
3042
|
+
* ],
|
|
3043
|
+
* });
|
|
3044
|
+
* console.log(`Stored ${resp.stored_count} memories`);
|
|
3045
|
+
* ```
|
|
3046
|
+
*/
|
|
3047
|
+
storeMemoriesBatch(request: BatchStoreMemoryRequest): Promise<BatchStoreMemoryResponse>;
|
|
2464
3048
|
/** Search memories for an agent */
|
|
2465
3049
|
searchMemories(agentId: string, query: string, options?: {
|
|
2466
3050
|
top_k?: number;
|
|
@@ -2475,6 +3059,12 @@ declare class DakeraClient {
|
|
|
2475
3059
|
}>;
|
|
2476
3060
|
/** Consolidate memories for an agent */
|
|
2477
3061
|
consolidate(agentId: string, request?: ConsolidateRequest): Promise<ConsolidateResponse>;
|
|
3062
|
+
/** Consolidate memories directly for an agent (DBSCAN clustering). */
|
|
3063
|
+
consolidateAgent(agentId: string): Promise<AgentConsolidateResponse>;
|
|
3064
|
+
/** Get the consolidation execution log for an agent. */
|
|
3065
|
+
getConsolidationLog(agentId: string): Promise<AgentConsolidationLogEntry[]>;
|
|
3066
|
+
/** Update the consolidation configuration for an agent. */
|
|
3067
|
+
patchConsolidationConfig(agentId: string, config: ConsolidationConfigPatch): Promise<AgentConsolidationConfig>;
|
|
2478
3068
|
/** Submit feedback on a memory recall */
|
|
2479
3069
|
memoryFeedback(agentId: string, request: MemoryFeedbackRequest): Promise<MemoryFeedbackResponse>;
|
|
2480
3070
|
/**
|
|
@@ -2559,6 +3149,10 @@ declare class DakeraClient {
|
|
|
2559
3149
|
* @param format Export format — `"json"` (default), `"graphml"`, or `"csv"`.
|
|
2560
3150
|
*/
|
|
2561
3151
|
agentGraphExport(agentId: string, format?: 'json' | 'graphml' | 'csv'): Promise<GraphExport>;
|
|
3152
|
+
/** Get entity extraction configuration for a namespace. */
|
|
3153
|
+
getNamespaceEntityConfig(namespace: string): Promise<NamespaceEntityConfig>;
|
|
3154
|
+
/** Get the extractor provider configuration for a namespace. */
|
|
3155
|
+
getNamespaceExtractor(namespace: string): Promise<ExtractorConfig>;
|
|
2562
3156
|
/**
|
|
2563
3157
|
* Configure entity extraction for a namespace.
|
|
2564
3158
|
*
|
|
@@ -3098,6 +3692,92 @@ declare class DakeraClient {
|
|
|
3098
3692
|
* @returns {@link FulltextReindexResponse} with per-namespace breakdown.
|
|
3099
3693
|
*/
|
|
3100
3694
|
adminFulltextReindex(namespace?: string): Promise<FulltextReindexResponse>;
|
|
3695
|
+
/** GET /admin/cluster/replication — cluster replication status. */
|
|
3696
|
+
adminClusterReplication(): Promise<ReplicationStatus>;
|
|
3697
|
+
/** GET /admin/cluster/shards — list shards. */
|
|
3698
|
+
adminListShards(): Promise<ShardListResponse>;
|
|
3699
|
+
/** POST /admin/cluster/shards/rebalance — rebalance shards. */
|
|
3700
|
+
adminRebalanceShards(request?: ShardRebalanceRequest): Promise<ShardRebalanceResponse>;
|
|
3701
|
+
/** GET /admin/cluster/maintenance — maintenance mode status. */
|
|
3702
|
+
adminMaintenanceStatus(): Promise<MaintenanceStatus>;
|
|
3703
|
+
/** POST /admin/cluster/maintenance/enable — enable maintenance mode. */
|
|
3704
|
+
adminEnableMaintenance(request: EnableMaintenanceRequest): Promise<MaintenanceStatus>;
|
|
3705
|
+
/** POST /admin/cluster/maintenance/disable — disable maintenance mode. */
|
|
3706
|
+
adminDisableMaintenance(request?: DisableMaintenanceRequest): Promise<MaintenanceStatus>;
|
|
3707
|
+
/** GET /admin/quotas — list all namespace quotas. */
|
|
3708
|
+
adminListQuotas(): Promise<QuotaListResponse>;
|
|
3709
|
+
/** GET /admin/quotas/default — get default quota configuration. */
|
|
3710
|
+
adminGetDefaultQuota(): Promise<DefaultQuotaResponse>;
|
|
3711
|
+
/** PUT /admin/quotas/default — set default quota configuration. */
|
|
3712
|
+
adminSetDefaultQuota(request: SetDefaultQuotaRequest): Promise<SetQuotaResponse>;
|
|
3713
|
+
/** GET /admin/quotas/{namespace} — get namespace quota. */
|
|
3714
|
+
adminGetQuota(namespace: string): Promise<QuotaStatus>;
|
|
3715
|
+
/** PUT /admin/quotas/{namespace} — set namespace quota. */
|
|
3716
|
+
adminSetQuota(namespace: string, request: SetQuotaRequest): Promise<SetQuotaResponse>;
|
|
3717
|
+
/** DELETE /admin/quotas/{namespace} — remove namespace quota. */
|
|
3718
|
+
adminDeleteQuota(namespace: string): Promise<Record<string, unknown>>;
|
|
3719
|
+
/** POST /admin/quotas/{namespace}/check — check if operation would exceed quota. */
|
|
3720
|
+
adminCheckQuota(namespace: string, request: QuotaCheckRequest): Promise<QuotaCheckResult>;
|
|
3721
|
+
/** GET /admin/slow-queries — list recent slow queries. */
|
|
3722
|
+
adminListSlowQueries(params?: {
|
|
3723
|
+
namespace?: string;
|
|
3724
|
+
query_type?: string;
|
|
3725
|
+
limit?: number;
|
|
3726
|
+
}): Promise<unknown[]>;
|
|
3727
|
+
/** GET /admin/slow-queries/summary — slow query summary. */
|
|
3728
|
+
adminSlowQuerySummary(): Promise<Record<string, unknown>>;
|
|
3729
|
+
/** DELETE /admin/slow-queries — clear slow query log. */
|
|
3730
|
+
adminClearSlowQueries(namespace?: string): Promise<Record<string, unknown>>;
|
|
3731
|
+
/** PATCH /admin/slow-queries/config — update slow query configuration. */
|
|
3732
|
+
adminUpdateSlowQueryConfig(config: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3733
|
+
/** GET /admin/backups — list all backups. */
|
|
3734
|
+
adminListBackups(): Promise<BackupListResponse>;
|
|
3735
|
+
/** POST /admin/backups — create a new backup. */
|
|
3736
|
+
adminCreateBackup(request: CreateBackupRequest): Promise<CreateBackupResponse>;
|
|
3737
|
+
/** GET /admin/backups/{id} — get backup details. */
|
|
3738
|
+
adminGetBackup(backupId: string): Promise<BackupInfo>;
|
|
3739
|
+
/** DELETE /admin/backups/{id} — delete a backup. */
|
|
3740
|
+
adminDeleteBackup(backupId: string): Promise<Record<string, unknown>>;
|
|
3741
|
+
/** GET /admin/backups/schedule — get backup schedule. */
|
|
3742
|
+
adminGetBackupSchedule(): Promise<BackupSchedule>;
|
|
3743
|
+
/** POST /admin/backups/schedule — update backup schedule. */
|
|
3744
|
+
adminUpdateBackupSchedule(request: UpdateBackupScheduleRequest): Promise<BackupSchedule>;
|
|
3745
|
+
/** POST /admin/backups/restore — restore from backup. */
|
|
3746
|
+
adminRestoreBackup(request: RestoreBackupRequest): Promise<RestoreBackupResponse>;
|
|
3747
|
+
/** GET /admin/backups/restore/{id} — restore operation status. */
|
|
3748
|
+
adminGetRestoreStatus(restoreId: string): Promise<RestoreBackupResponse>;
|
|
3749
|
+
/** GET /ops/diagnostics — system diagnostics. */
|
|
3750
|
+
opsDiagnostics(): Promise<SystemDiagnostics>;
|
|
3751
|
+
/** GET /ops/jobs — list background jobs. */
|
|
3752
|
+
opsListJobs(): Promise<JobInfo[]>;
|
|
3753
|
+
/** GET /ops/jobs/{id} — get job status. */
|
|
3754
|
+
opsGetJob(jobId: string): Promise<JobInfo>;
|
|
3755
|
+
/** POST /ops/compact — trigger compaction. */
|
|
3756
|
+
opsCompact(request?: CompactionRequest): Promise<CompactionResponse>;
|
|
3757
|
+
/** POST /ops/shutdown — request graceful shutdown. */
|
|
3758
|
+
opsShutdown(): Promise<Record<string, unknown>>;
|
|
3759
|
+
/** GET /v1/namespaces/{namespace}/fulltext/stats — full-text index statistics. */
|
|
3760
|
+
fulltextStats(namespace: string): Promise<FullTextIndexStats>;
|
|
3761
|
+
/** POST /v1/namespaces/{namespace}/fulltext/delete — delete documents from full-text index. */
|
|
3762
|
+
fulltextDelete(namespace: string, ids: string[]): Promise<FulltextDeleteResponse>;
|
|
3763
|
+
/** GET /admin/ttl/stats — TTL statistics across all namespaces. */
|
|
3764
|
+
adminTtlStats(): Promise<TtlStatsResponse>;
|
|
3765
|
+
/** POST /v1/route — route a query to the best-matching namespace(s). */
|
|
3766
|
+
routeQuery(request: RouteRequest): Promise<RouteResponse>;
|
|
3767
|
+
/** GET /v1/import/{job_id}/status — check import job progress. */
|
|
3768
|
+
importJobStatus(jobId: string): Promise<ImportJobStatus>;
|
|
3769
|
+
/** GET /admin/backups/{id}/download — download a backup as binary data. */
|
|
3770
|
+
adminDownloadBackup(backupId: string): Promise<ArrayBuffer>;
|
|
3771
|
+
/** POST /admin/backups/upload — upload a backup archive. */
|
|
3772
|
+
adminUploadBackup(data: ArrayBuffer | Uint8Array): Promise<CreateBackupResponse>;
|
|
3773
|
+
/** GET /admin/storage/tiers — storage tier overview. */
|
|
3774
|
+
adminStorageTierOverview(): Promise<StorageTierOverview>;
|
|
3775
|
+
/** GET /admin/background-activity — current background activity. */
|
|
3776
|
+
adminBackgroundActivity(): Promise<Record<string, unknown>>;
|
|
3777
|
+
/** GET /admin/memory-type-stats — memory type distribution statistics. */
|
|
3778
|
+
adminMemoryTypeStats(): Promise<MemoryTypeStatsResponse>;
|
|
3779
|
+
/** POST /admin/namespaces/migrate-dimensions — migrate namespace embedding dimensions. */
|
|
3780
|
+
adminMigrateNamespaceDimensions(request?: MigrateNamespaceDimensionsRequest): Promise<MigrateDimensionsResponse>;
|
|
3101
3781
|
}
|
|
3102
3782
|
|
|
3103
3783
|
/**
|
|
@@ -3162,4 +3842,4 @@ declare class TimeoutError extends DakeraError {
|
|
|
3162
3842
|
constructor(message: string);
|
|
3163
3843
|
}
|
|
3164
3844
|
|
|
3165
|
-
export { type AccessPatternHint, type AgentFeedbackSummary, type AgentId, type AgentNetworkEdge, type AgentNetworkInfo, type AgentNetworkNode, type AgentNetworkStats, type AgentStats, type AgentSummary, type AggregationGroup, type AggregationRequest, type AggregationResponse, type AnalyticsOptions, type AnalyticsOverview, type ApiKey, type AuditEvent, type AuditExportResponse, type AuditListResponse, AuthenticationError, AuthorizationError, type AutoPilotConfig, type AutoPilotConfigRequest, type AutoPilotConfigResponse, type AutoPilotConsolidationResult, type AutoPilotDedupResult, type AutoPilotStatusResponse, type AutoPilotTriggerAction, type AutoPilotTriggerResponse, type BackupInfo, type BatchForgetRequest, type BatchForgetResponse, type BatchMemoryFilter, type BatchQuerySpec, type BatchRecallRequest, type BatchRecallResponse, type BatchTextQueryOptions, type BatchTextQueryResponse, type Branded, type CacheStats, type ClientOptions, type ClusterNode, type ClusterStatus, type ColumnUpsertRequest, type CompressResponse, type ConfigureNamespaceRequest, type ConfigureNamespaceResponse, ConnectionError, type ConsolidateRequest, type ConsolidateResponse, type ConsolidationConfig, type ConsolidationLogEntry, type ConsolidationResultSnapshot, type CreateKeyRequest, type CreateNamespaceKeyResponse, type CrossAgentNetworkRequest, type CrossAgentNetworkResponse, DakeraClient, DakeraError, type DakeraEvent, type DecayConfigResponse, type DecayConfigUpdateRequest, type DecayConfigUpdateResponse, type DecayStatsResponse, type DecayStrategyName, type DedupResultSnapshot, type DeduplicateRequest, type DeduplicateResponse, type DeleteOptions, type DeleteResponse, type DistanceMetric, type Document, type DocumentInput, type EdgeType, type EmbeddingModel, type EntityExtractionResponse, ErrorCode, type ExportRequest, type ExportResponse, type ExportedVector, type ExtractEntitiesRequest, type ExtractEntitiesResponse, type ExtractedEntity, type ExtractionProviderInfo, type ExtractionResult, type FeedbackHealthResponse, type FeedbackHistoryEntry, type FeedbackHistoryResponse, type FeedbackResponse, type FeedbackSignal, type FilterExpression, type FilterOperators, type FullKnowledgeGraphRequest, type FullTextSearchResult, type FulltextReindexNamespaceResult, type FulltextReindexResponse, type FusionStrategy, type GraphEdge, type GraphExport, type GraphLinkResponse, type GraphNode, type GraphPath, type HealthResponse, type HybridSearchResult, type IndexStats, type JobProgressEvent, type KeyUsage, type KgExportResponse, type KgPathResponse, type KgQueryResponse, type KnowledgeEdge, type KnowledgeGraphRequest, type KnowledgeGraphResponse, type KnowledgeNode, type KpiSnapshot, type LastDecayCycleStats, type LatencyAnalytics, type ListNamespaceKeysResponse, type ListSessionsOptions, type Memory, type MemoryEntitiesResponse, type MemoryEvent, type MemoryExportResponse, type MemoryFeedbackBodyRequest, type MemoryFeedbackRequest, type MemoryFeedbackResponse, type MemoryGraph, type MemoryGraphOptions, type MemoryId, type MemoryImportResponse, type MemoryImportancePatchRequest, type MemoryPolicy, type MemoryType, type MultiVectorSearchRequest, type MultiVectorSearchResponse, type MultiVectorSearchResult, type NamespaceCreatedEvent, type NamespaceDeletedEvent, type NamespaceInfo, type NamespaceKeyInfo, type NamespaceKeyUsageResponse, type NamespaceNerConfig, NotFoundError, type OdeEntity, type OpStatus, type OperationProgressEvent, type OpsStats, type QueryExplainRequest, type QueryExplainResponse, type QueryOptions, type QueryResult, RateLimitError, type RateLimitHeaders, type ReadConsistency, type RecallRequest, type RecallResponse, type RecalledMemory, type RetryConfig, type RotateEncryptionKeyRequest, type RotateEncryptionKeyResponse, type RoutingMode, type SearchResult, ServerError, type Session, type SessionEndResponse, type SessionId, type SessionStartResponse, type SlowQuery, type StalenessConfig, type StartSessionRequest, type StorageAnalytics, type StoreMemoryRequest, type StoreMemoryResponse, type StreamLaggedEvent, type SummarizeRequest, type SummarizeResponse, type TextDocument, type TextQueryOptions, type TextQueryResponse, type TextSearchResult, type TextUpsertOptions, type TextUpsertResponse, type ThroughputAnalytics, TimeoutError, type TtlConfig, type UnifiedQueryRequest, type UnifiedQueryResponse, type UnifiedSearchResult, type UpdateImportanceRequest, type UpdateMemoryRequest, type UpsertOptions, type UpsertResponse, ValidationError, type Vector, type VectorId, type VectorInput, type VectorMutationOp, type VectorsMutatedEvent, type WakeUpOptions, type WakeUpResponse, type WarmCacheRequest, type WarmCacheResponse, type WarmingPriority, type WarmingTargetTier, agentId, memoryId, sessionId, vectorId };
|
|
3845
|
+
export { type AccessPatternHint, type AgentConsolidateResponse, type AgentConsolidationConfig, type AgentConsolidationLogEntry, type AgentFeedbackSummary, type AgentId, type AgentNetworkEdge, type AgentNetworkInfo, type AgentNetworkNode, type AgentNetworkStats, type AgentStats, type AgentSummary, type AggregationGroup, type AggregationRequest, type AggregationResponse, type AnalyticsOptions, type AnalyticsOverview, type ApiKey, type AuditEvent, type AuditExportResponse, type AuditListResponse, AuthenticationError, AuthorizationError, type AutoPilotConfig, type AutoPilotConfigRequest, type AutoPilotConfigResponse, type AutoPilotConsolidationResult, type AutoPilotDedupResult, type AutoPilotStatusResponse, type AutoPilotTriggerAction, type AutoPilotTriggerResponse, type BackupInfo, type BackupListResponse, type BackupSchedule, type BackupStatus, type BackupType, type BatchForgetRequest, type BatchForgetResponse, type BatchMemoryFilter, type BatchQuerySpec, type BatchRecallRequest, type BatchRecallResponse, type BatchStoreMemoryItem, type BatchStoreMemoryRequest, type BatchStoreMemoryResponse, type BatchStoredMemory, type BatchTextQueryOptions, type BatchTextQueryResponse, type Branded, type BulkDeleteRequest, type BulkDeleteResponse, type BulkUpdateRequest, type BulkUpdateResponse, type CacheStats, type ClientOptions, type ClusterNode, type ClusterStatus, type ColumnUpsertRequest, type CompactionRequest, type CompactionResponse, type CompressResponse, type CompressionType, type ConfigureNamespaceRequest, type ConfigureNamespaceResponse, ConnectionError, type ConsolidateRequest, type ConsolidateResponse, type ConsolidationConfig, type ConsolidationConfigPatch, type ConsolidationLogEntry, type ConsolidationResultSnapshot, type CountVectorsRequest, type CountVectorsResponse, type CreateBackupRequest, type CreateBackupResponse, type CreateKeyRequest, type CreateNamespaceKeyResponse, type CrossAgentNetworkRequest, type CrossAgentNetworkResponse, DakeraClient, DakeraError, type DakeraEvent, type DecayConfigResponse, type DecayConfigUpdateRequest, type DecayConfigUpdateResponse, type DecayStatsResponse, type DecayStrategyName, type DedupResultSnapshot, type DeduplicateRequest, type DeduplicateResponse, type DefaultQuotaResponse, type DeleteOptions, type DeleteResponse, type DisableMaintenanceRequest, type DistanceMetric, type Document, type DocumentInput, type EdgeType, type EmbeddingModel, type EnableMaintenanceRequest, type EntityExtractionResponse, ErrorCode, type ExportRequest, type ExportResponse, type ExportedVector, type ExtractEntitiesRequest, type ExtractEntitiesResponse, type ExtractedEntity, type ExtractionProviderInfo, type ExtractionResult, type ExtractorConfig, type FeedbackHealthResponse, type FeedbackHistoryEntry, type FeedbackHistoryResponse, type FeedbackResponse, type FeedbackSignal, type FilterExpression, type FilterOperators, type FullKnowledgeGraphRequest, type FullTextIndexStats, type FullTextSearchResult, type FulltextDeleteRequest, type FulltextDeleteResponse, type FulltextReindexNamespaceResult, type FulltextReindexResponse, type FusionStrategy, type GraphEdge, type GraphExport, type GraphLinkResponse, type GraphNode, type GraphPath, type HealthResponse, type HybridSearchResult, type ImportJobStatus, type IndexStats, type JobInfo, type JobProgressEvent, type KeyUsage, type KgExportResponse, type KgPathResponse, type KgQueryResponse, type KnowledgeEdge, type KnowledgeGraphRequest, type KnowledgeGraphResponse, type KnowledgeNode, type KpiSnapshot, type LastDecayCycleStats, type LatencyAnalytics, type ListNamespaceKeysResponse, type ListSessionsOptions, type LivenessResponse, type MaintenanceStatus, type Memory, type MemoryEntitiesResponse, type MemoryEvent, type MemoryExportResponse, type MemoryFeedbackBodyRequest, type MemoryFeedbackRequest, type MemoryFeedbackResponse, type MemoryGraph, type MemoryGraphOptions, type MemoryId, type MemoryImportResponse, type MemoryImportancePatchRequest, type MemoryPolicy, type MemoryType, type MemoryTypeStatsResponse, type MigrateDimensionsResponse, type MigrateNamespaceDimensionsRequest, type MultiVectorSearchRequest, type MultiVectorSearchResponse, type MultiVectorSearchResult, type NamespaceCreatedEvent, type NamespaceDeletedEvent, type NamespaceEntityConfig, type NamespaceInfo, type NamespaceKeyInfo, type NamespaceKeyUsageResponse, type NamespaceMigrationResult, type NamespaceNerConfig, type NodeReplicationLag, NotFoundError, type OdeEntity, type OpStatus, type OperationProgressEvent, type OpsStats, type QueryExplainRequest, type QueryExplainResponse, type QueryOptions, type QueryResult, type QuotaCheckRequest, type QuotaCheckResult, type QuotaConfig, type QuotaListResponse, type QuotaStatus, type QuotaUsage, RateLimitError, type RateLimitHeaders, type ReadConsistency, type ReadinessResponse, type RecallRequest, type RecallResponse, type RecalledMemory, type ReplicationStatus, type RestoreBackupRequest, type RestoreBackupResponse, type RestoreStatus, type RetryConfig, type RotateEncryptionKeyRequest, type RotateEncryptionKeyResponse, type RouteMatch, type RouteRequest, type RouteResponse, type RoutingMode, type SearchResult, ServerError, type Session, type SessionEndResponse, type SessionId, type SessionStartResponse, type SetDefaultQuotaRequest, type SetQuotaRequest, type SetQuotaResponse, type ShardInfo, type ShardListResponse, type ShardRebalanceRequest, type ShardRebalanceResponse, type SlowQuery, type StalenessConfig, type StartSessionRequest, type StorageAnalytics, type StorageTierOverview, type StoreMemoryRequest, type StoreMemoryResponse, type StreamLaggedEvent, type SummarizeRequest, type SummarizeResponse, type SystemDiagnostics, type TextDocument, type TextQueryOptions, type TextQueryResponse, type TextSearchResult, type TextUpsertOptions, type TextUpsertResponse, type ThroughputAnalytics, type TierActivity, type TierConfig, type TierInfo, TimeoutError, type TtlConfig, type TtlNamespaceStats, type TtlStatsResponse, type UnifiedQueryRequest, type UnifiedQueryResponse, type UnifiedSearchResult, type UpdateBackupScheduleRequest, type UpdateImportanceRequest, type UpdateMemoryRequest, type UpsertOptions, type UpsertResponse, ValidationError, type Vector, type VectorId, type VectorInput, type VectorMutationOp, type VectorsMutatedEvent, type WakeUpOptions, type WakeUpResponse, type WarmCacheRequest, type WarmCacheResponse, type WarmingPriority, type WarmingTargetTier, agentId, memoryId, sessionId, vectorId };
|