@anuma/sdk 6.4.1 → 6.5.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/expo/{chunk-WYARTNEN.mjs → chunk-NCP3VGRX.mjs} +232 -7
- package/dist/expo/index.cjs +268 -153
- package/dist/expo/index.d.mts +163 -7
- package/dist/expo/index.d.ts +163 -7
- package/dist/expo/index.mjs +12 -148
- package/dist/expo/{recall-7FOWWX5T.mjs → recall-ISSI7RMD.mjs} +1 -1
- package/dist/index.cjs +71 -0
- package/dist/index.d.mts +121 -1
- package/dist/index.d.ts +121 -1
- package/dist/index.mjs +67 -0
- package/dist/react/{chunk-IO4ZCPK2.mjs → chunk-OB5HFCLB.mjs} +253 -7
- package/dist/react/index.cjs +293 -203
- package/dist/react/index.d.mts +163 -7
- package/dist/react/index.d.ts +163 -7
- package/dist/react/index.mjs +15 -196
- package/dist/react/{recall-2J2755WC.mjs → recall-DQJINKEY.mjs} +1 -1
- package/dist/server/{chunk-EKYGWD5N.mjs → chunk-BZEAYCBV.mjs} +97 -7
- package/dist/server/index.cjs +120 -45
- package/dist/server/index.d.mts +54 -6
- package/dist/server/index.d.ts +54 -6
- package/dist/server/index.mjs +3 -37
- package/dist/server/{recall-IVV6EILK.mjs → recall-CZFWWOVF.mjs} +1 -1
- package/package.json +3 -3
package/dist/expo/index.mjs
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
+
CHUNKS_DISCARDED_ORIGIN,
|
|
2
3
|
DEFAULT_API_EMBEDDING_MODEL,
|
|
3
4
|
DEFAULT_CHUNK_OVERLAP,
|
|
4
5
|
DEFAULT_CHUNK_SIZE,
|
|
5
6
|
DEFAULT_MIN_CHUNK_SIZE,
|
|
6
7
|
DEFAULT_MIN_CONTENT_LENGTH,
|
|
7
8
|
DEFAULT_VAULT_CACHE_SIZE,
|
|
9
|
+
DISPLAY_CARD_PLACEHOLDER,
|
|
8
10
|
EMBEDDINGS_DEGRADED_EMPTY,
|
|
9
11
|
ENTITY_FANOUT,
|
|
10
12
|
ENTITY_KINDS,
|
|
@@ -15,6 +17,7 @@ import {
|
|
|
15
17
|
RECALL_MAX_LIMIT,
|
|
16
18
|
RECALL_TOOL_NAME,
|
|
17
19
|
RerankerUnavailableError,
|
|
20
|
+
TOOL_RESULT_ORIGIN,
|
|
18
21
|
TOPICS_EXTRACTION_VERSION,
|
|
19
22
|
TREND_RECENT_WINDOW_DAYS,
|
|
20
23
|
TREND_STALE_WINDOW_DAYS,
|
|
@@ -22,6 +25,7 @@ import {
|
|
|
22
25
|
archiveVaultMemoryOp,
|
|
23
26
|
assertVaultScopeForSweep,
|
|
24
27
|
backfillMemoryTopicsOp,
|
|
28
|
+
buildToolResultContent,
|
|
25
29
|
capHopsForDensity,
|
|
26
30
|
chunkAndEmbedAllMessages,
|
|
27
31
|
chunkAndEmbedMessage,
|
|
@@ -42,6 +46,7 @@ import {
|
|
|
42
46
|
createVaultEmbeddingCache,
|
|
43
47
|
createVaultMemoriesBatchOp,
|
|
44
48
|
createVaultMemoryOp,
|
|
49
|
+
decodeChunkVector,
|
|
45
50
|
decomposeQuery,
|
|
46
51
|
decryptField,
|
|
47
52
|
decryptJsonField,
|
|
@@ -51,6 +56,7 @@ import {
|
|
|
51
56
|
eagerEmbedContent,
|
|
52
57
|
embedAllMessages,
|
|
53
58
|
embedMessage,
|
|
59
|
+
encodeChunkVector,
|
|
54
60
|
encryptField,
|
|
55
61
|
encryptJsonField,
|
|
56
62
|
encryptVaultMemoryContent,
|
|
@@ -94,6 +100,7 @@ import {
|
|
|
94
100
|
parseMedia,
|
|
95
101
|
postApiV1CreditsPurchase,
|
|
96
102
|
preEmbedVaultMemories,
|
|
103
|
+
prepareToolResultsForReplay,
|
|
97
104
|
prepareVaultCandidates,
|
|
98
105
|
rankPreparedVaultCandidates,
|
|
99
106
|
recall,
|
|
@@ -123,7 +130,7 @@ import {
|
|
|
123
130
|
upsertMessageOp,
|
|
124
131
|
useEncryption,
|
|
125
132
|
vaultMemoryToStored
|
|
126
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-NCP3VGRX.mjs";
|
|
127
134
|
import {
|
|
128
135
|
PII_PATTERNS,
|
|
129
136
|
PiiRedactor,
|
|
@@ -4986,153 +4993,6 @@ async function cleanupConversationSummary(database, conversationId) {
|
|
|
4986
4993
|
}
|
|
4987
4994
|
}
|
|
4988
4995
|
|
|
4989
|
-
// src/lib/chat/toolResultMessage.ts
|
|
4990
|
-
var HEADER = "[Tool Execution Results]\n\n";
|
|
4991
|
-
var FOOTER = "\n\nBased on these results, continue with the task.";
|
|
4992
|
-
var ENTRY_SEPARATOR = "\n\n";
|
|
4993
|
-
var TOOL_RESULT_FOOTER_LINE = FOOTER.trim();
|
|
4994
|
-
var MAX_PERSISTED_TOOL_RESULT_CHARS = 1e5;
|
|
4995
|
-
function buildToolResultContent(results) {
|
|
4996
|
-
const entries = results.map((r) => `Tool "${r.name}" returned: ${JSON.stringify(r.result)}`);
|
|
4997
|
-
const framing = HEADER.length + FOOTER.length + ENTRY_SEPARATOR.length * Math.max(0, entries.length - 1);
|
|
4998
|
-
const summary = capEntries(entries, MAX_PERSISTED_TOOL_RESULT_CHARS - framing).join(
|
|
4999
|
-
ENTRY_SEPARATOR
|
|
5000
|
-
);
|
|
5001
|
-
return `${HEADER}${summary}${FOOTER}`;
|
|
5002
|
-
}
|
|
5003
|
-
function capToolResultEntries(entries, budget) {
|
|
5004
|
-
return capEntries(entries, budget);
|
|
5005
|
-
}
|
|
5006
|
-
function capEntries(entries, budget) {
|
|
5007
|
-
const smallestFirst = entries.map((_, index) => index).sort((a, b) => entries[a].length - entries[b].length);
|
|
5008
|
-
const capped = [...entries];
|
|
5009
|
-
let remaining = budget;
|
|
5010
|
-
let unassigned = entries.length;
|
|
5011
|
-
for (const index of smallestFirst) {
|
|
5012
|
-
capped[index] = truncateEntry(entries[index], Math.floor(remaining / unassigned));
|
|
5013
|
-
remaining -= capped[index].length;
|
|
5014
|
-
unassigned--;
|
|
5015
|
-
}
|
|
5016
|
-
return capped;
|
|
5017
|
-
}
|
|
5018
|
-
function truncateEntry(entry, allowance) {
|
|
5019
|
-
if (entry.length <= allowance) return entry;
|
|
5020
|
-
const keep = allowance - truncationMarker(entry.length).length;
|
|
5021
|
-
if (keep <= 0) return entry.slice(0, Math.max(0, allowance));
|
|
5022
|
-
return `${entry.slice(0, keep)}${truncationMarker(entry.length - keep)}`;
|
|
5023
|
-
}
|
|
5024
|
-
function truncationMarker(omitted) {
|
|
5025
|
-
return `
|
|
5026
|
-
|
|
5027
|
-
... (tool output truncated, ${omitted} characters omitted)`;
|
|
5028
|
-
}
|
|
5029
|
-
|
|
5030
|
-
// src/lib/chat/toolResults.ts
|
|
5031
|
-
var TOOL_RESULTS_PREFIX = "[Tool Execution Results]";
|
|
5032
|
-
var DISPLAY_CARD_PLACEHOLDER = "[displayed a card to the user with the tool result]";
|
|
5033
|
-
var TOOL_LINE = /^Tool "([^"]+)" returned: (.*)$/;
|
|
5034
|
-
var TOOL_RESULT_ORIGIN = "tool_result";
|
|
5035
|
-
function isToolResultsRow(row) {
|
|
5036
|
-
if (row.origin === TOOL_RESULT_ORIGIN) return true;
|
|
5037
|
-
if (typeof row.origin === "string") return false;
|
|
5038
|
-
if (row.role !== "user" || !row.content.startsWith(TOOL_RESULTS_PREFIX)) return false;
|
|
5039
|
-
return parseToolResultSegments(row.content).length > 0;
|
|
5040
|
-
}
|
|
5041
|
-
function parseToolResultSegments(content) {
|
|
5042
|
-
const segments = [];
|
|
5043
|
-
for (const raw of content.split("\n")) {
|
|
5044
|
-
const line = raw.trim();
|
|
5045
|
-
const match = TOOL_LINE.exec(line);
|
|
5046
|
-
if (match) {
|
|
5047
|
-
segments.push({ name: match[1], line });
|
|
5048
|
-
continue;
|
|
5049
|
-
}
|
|
5050
|
-
const current = segments[segments.length - 1];
|
|
5051
|
-
if (!current || line === "" || line === TOOL_RESULT_FOOTER_LINE) continue;
|
|
5052
|
-
if (line === TOOL_RESULTS_PREFIX) continue;
|
|
5053
|
-
current.line = `${current.line}
|
|
5054
|
-
${line}`;
|
|
5055
|
-
}
|
|
5056
|
-
return segments;
|
|
5057
|
-
}
|
|
5058
|
-
function prepareToolResultsForReplay(rows, options) {
|
|
5059
|
-
if (options.fold) {
|
|
5060
|
-
return foldToolResultsRows(rows, {
|
|
5061
|
-
exclude: options.exclude,
|
|
5062
|
-
placeholder: options.placeholder
|
|
5063
|
-
});
|
|
5064
|
-
}
|
|
5065
|
-
return rows.filter((row) => !isToolResultsRow(row));
|
|
5066
|
-
}
|
|
5067
|
-
function foldToolResultsRows(rows, options) {
|
|
5068
|
-
const exclude = new Set(options?.exclude ?? []);
|
|
5069
|
-
const out = [];
|
|
5070
|
-
const pending = [];
|
|
5071
|
-
const assistantIndexById = /* @__PURE__ */ new Map();
|
|
5072
|
-
for (const row of rows) {
|
|
5073
|
-
if (isToolResultsRow(row)) {
|
|
5074
|
-
pending.push({ row, insertionPoint: out.length });
|
|
5075
|
-
continue;
|
|
5076
|
-
}
|
|
5077
|
-
out.push(row);
|
|
5078
|
-
if (row.role === "assistant" && row.uniqueId) {
|
|
5079
|
-
assistantIndexById.set(row.uniqueId, out.length - 1);
|
|
5080
|
-
}
|
|
5081
|
-
}
|
|
5082
|
-
const byTarget = /* @__PURE__ */ new Map();
|
|
5083
|
-
for (const { row, insertionPoint } of pending) {
|
|
5084
|
-
const target = resolveFoldTarget(out, row, insertionPoint, assistantIndexById);
|
|
5085
|
-
if (target === void 0) continue;
|
|
5086
|
-
const group = byTarget.get(target);
|
|
5087
|
-
if (group) group.push(row);
|
|
5088
|
-
else byTarget.set(target, [row]);
|
|
5089
|
-
}
|
|
5090
|
-
for (const [target, groupedRows] of byTarget) {
|
|
5091
|
-
const assistant = out[target];
|
|
5092
|
-
const kept = groupedRows.flatMap((row) => parseToolResultSegments(row.content)).filter((segment) => !exclude.has(segment.name));
|
|
5093
|
-
if (kept.length > 0) {
|
|
5094
|
-
out[target] = { ...assistant, content: appendToolResults(assistant.content, kept) };
|
|
5095
|
-
} else if (!assistant.content.trim() && options?.placeholder) {
|
|
5096
|
-
out[target] = { ...assistant, content: options.placeholder };
|
|
5097
|
-
}
|
|
5098
|
-
}
|
|
5099
|
-
return out;
|
|
5100
|
-
}
|
|
5101
|
-
function resolveFoldTarget(out, row, insertionPoint, assistantIndexById) {
|
|
5102
|
-
const linked = row.parentMessageId ? assistantIndexById.get(row.parentMessageId) : void 0;
|
|
5103
|
-
if (linked !== void 0) return linked;
|
|
5104
|
-
let previous;
|
|
5105
|
-
for (let i = insertionPoint - 1; i >= 0; i--) {
|
|
5106
|
-
if (out[i].role === "assistant") {
|
|
5107
|
-
previous = i;
|
|
5108
|
-
break;
|
|
5109
|
-
}
|
|
5110
|
-
}
|
|
5111
|
-
let next;
|
|
5112
|
-
for (let i = insertionPoint; i < out.length; i++) {
|
|
5113
|
-
if (out[i].role === "assistant") {
|
|
5114
|
-
next = i;
|
|
5115
|
-
break;
|
|
5116
|
-
}
|
|
5117
|
-
}
|
|
5118
|
-
if (previous === void 0) return next;
|
|
5119
|
-
if (next === void 0) return previous;
|
|
5120
|
-
return next - insertionPoint < insertionPoint - previous ? next : previous;
|
|
5121
|
-
}
|
|
5122
|
-
var MAX_FOLDED_APPENDIX_CHARS = 2e4;
|
|
5123
|
-
function appendToolResults(assistantContent, kept) {
|
|
5124
|
-
const framing = TOOL_RESULTS_PREFIX.length + 1 + (kept.length - 1);
|
|
5125
|
-
const capped = capToolResultEntries(
|
|
5126
|
-
kept.map((segment) => segment.line),
|
|
5127
|
-
MAX_FOLDED_APPENDIX_CHARS - framing
|
|
5128
|
-
);
|
|
5129
|
-
const appendix = `${TOOL_RESULTS_PREFIX}
|
|
5130
|
-
${capped.join("\n")}`;
|
|
5131
|
-
return assistantContent.trim() ? `${assistantContent}
|
|
5132
|
-
|
|
5133
|
-
${appendix}` : appendix;
|
|
5134
|
-
}
|
|
5135
|
-
|
|
5136
4996
|
// src/lib/db/chat/lazyDecrypt.ts
|
|
5137
4997
|
var LRU_CAPACITY = 256;
|
|
5138
4998
|
var titleCache = /* @__PURE__ */ new Map();
|
|
@@ -14856,6 +14716,7 @@ function createNotionTools(getAccessToken, requestNotionAccess) {
|
|
|
14856
14716
|
];
|
|
14857
14717
|
}
|
|
14858
14718
|
export {
|
|
14719
|
+
CHUNKS_DISCARDED_ORIGIN,
|
|
14859
14720
|
Conversation as ChatConversation,
|
|
14860
14721
|
Message as ChatMessage,
|
|
14861
14722
|
ConversationMemory as ConversationMemoryModel,
|
|
@@ -14896,6 +14757,7 @@ export {
|
|
|
14896
14757
|
VaultFolder as StoredVaultFolderModel,
|
|
14897
14758
|
VaultMemory as StoredVaultMemoryModel,
|
|
14898
14759
|
StreamExpiredError,
|
|
14760
|
+
TOOL_RESULT_ORIGIN,
|
|
14899
14761
|
TOPICS_EXTRACTION_VERSION,
|
|
14900
14762
|
TOPIC_EXTRACTION_BATCH_SIZE,
|
|
14901
14763
|
TREND_RECENT_WINDOW_DAYS,
|
|
@@ -14953,6 +14815,7 @@ export {
|
|
|
14953
14815
|
createVaultMemoryOp,
|
|
14954
14816
|
createWeatherPreProcessor,
|
|
14955
14817
|
createWebSearchPreProcessor,
|
|
14818
|
+
decodeChunkVector,
|
|
14956
14819
|
decryptConversationTitle,
|
|
14957
14820
|
deleteAllVaultMemoriesForUserOp,
|
|
14958
14821
|
deleteVaultFolderOp,
|
|
@@ -14962,6 +14825,7 @@ export {
|
|
|
14962
14825
|
eagerEmbedContent,
|
|
14963
14826
|
embedAllMessages,
|
|
14964
14827
|
embedMessage,
|
|
14828
|
+
encodeChunkVector,
|
|
14965
14829
|
ensureDefaultFoldersOp,
|
|
14966
14830
|
exchangeNotionCode,
|
|
14967
14831
|
extractAndLinkEntitiesForMemoriesOp,
|
package/dist/index.cjs
CHANGED
|
@@ -61,6 +61,7 @@ var init_clientConfig = __esm({
|
|
|
61
61
|
var index_exports = {};
|
|
62
62
|
__export(index_exports, {
|
|
63
63
|
BUILT_IN_TOOL_SETS: () => BUILT_IN_TOOL_SETS,
|
|
64
|
+
CHUNKS_DISCARDED_ORIGIN: () => CHUNKS_DISCARDED_ORIGIN,
|
|
64
65
|
DEFAULT_ANALYSIS_PROMPT: () => DEFAULT_ANALYSIS_PROMPT,
|
|
65
66
|
DEFAULT_ANALYZE_AFTER_MESSAGES: () => DEFAULT_ANALYZE_AFTER_MESSAGES,
|
|
66
67
|
DEFAULT_DOCUMENT_PATTERN: () => DEFAULT_DOCUMENT_PATTERN,
|
|
@@ -76,6 +77,7 @@ __export(index_exports, {
|
|
|
76
77
|
PiiRedactor: () => PiiRedactor,
|
|
77
78
|
SseIdleTimeoutError: () => SseIdleTimeoutError,
|
|
78
79
|
TOOL_CATALOG: () => TOOL_CATALOG,
|
|
80
|
+
TOOL_RESULT_ORIGIN: () => TOOL_RESULT_ORIGIN,
|
|
79
81
|
activatedToolSetNames: () => activatedToolSetNames,
|
|
80
82
|
analyzeStyle: () => analyzeStyle,
|
|
81
83
|
applyToolSets: () => applyToolSets,
|
|
@@ -87,6 +89,7 @@ __export(index_exports, {
|
|
|
87
89
|
cosineInt8: () => cosineInt8,
|
|
88
90
|
createServerToolsFilter: () => createServerToolsFilter,
|
|
89
91
|
createStreamingDeAnonymizer: () => createStreamingDeAnonymizer,
|
|
92
|
+
decodeChunkVector: () => decodeChunkVector,
|
|
90
93
|
decryptConversationTitle: () => decryptConversationTitle,
|
|
91
94
|
defaultServerToolsFilter: () => defaultServerToolsFilter,
|
|
92
95
|
deleteApiV1Account: () => deleteApiV1Account,
|
|
@@ -101,6 +104,7 @@ __export(index_exports, {
|
|
|
101
104
|
deleteApiV1UserApiKeysByKeyId: () => deleteApiV1UserApiKeysByKeyId,
|
|
102
105
|
deleteApiV1WalletsBindingByAddress: () => deleteApiV1WalletsBindingByAddress,
|
|
103
106
|
dequantizeEmbedding: () => dequantizeEmbedding,
|
|
107
|
+
encodeChunkVector: () => encodeChunkVector,
|
|
104
108
|
expandToolSetsAdditive: () => expandToolSetsAdditive,
|
|
105
109
|
getApiV1AdminApps: () => getApiV1AdminApps,
|
|
106
110
|
getApiV1AdminAppsByAppIdApiKeys: () => getApiV1AdminAppsByAppIdApiKeys,
|
|
@@ -2829,6 +2833,9 @@ function buildSystemPrompt(ctx, options) {
|
|
|
2829
2833
|
return { prompt, activeSections };
|
|
2830
2834
|
}
|
|
2831
2835
|
|
|
2836
|
+
// src/lib/chat/toolResults.ts
|
|
2837
|
+
var TOOL_RESULT_ORIGIN = "tool_result";
|
|
2838
|
+
|
|
2832
2839
|
// src/react/useEncryption.ts
|
|
2833
2840
|
var EncryptionKeyMissingError = class extends Error {
|
|
2834
2841
|
constructor(address, version) {
|
|
@@ -2908,6 +2915,63 @@ async function decryptDataWithKey(encryptedHex, key) {
|
|
|
2908
2915
|
return SHARED_TEXT_DECODER.decode(decryptedData);
|
|
2909
2916
|
}
|
|
2910
2917
|
|
|
2918
|
+
// src/lib/processors/encoding.ts
|
|
2919
|
+
var B64_ENCODE_CHUNK = 32768 * 3;
|
|
2920
|
+
function uint8ArrayToBase64(data) {
|
|
2921
|
+
if (typeof Buffer !== "undefined") {
|
|
2922
|
+
return Buffer.from(data).toString("base64");
|
|
2923
|
+
}
|
|
2924
|
+
let base64 = "";
|
|
2925
|
+
for (let i = 0; i < data.length; i += B64_ENCODE_CHUNK) {
|
|
2926
|
+
const slice = data.subarray(i, i + B64_ENCODE_CHUNK);
|
|
2927
|
+
let binary = "";
|
|
2928
|
+
for (let j = 0; j < slice.length; j++) {
|
|
2929
|
+
binary += String.fromCharCode(slice[j]);
|
|
2930
|
+
}
|
|
2931
|
+
base64 += btoa(binary);
|
|
2932
|
+
}
|
|
2933
|
+
return base64;
|
|
2934
|
+
}
|
|
2935
|
+
function base64ToUint8Array(base64) {
|
|
2936
|
+
if (typeof Buffer !== "undefined") {
|
|
2937
|
+
const buf = Buffer.from(base64, "base64");
|
|
2938
|
+
return new Uint8Array(buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength));
|
|
2939
|
+
}
|
|
2940
|
+
const binary = atob(base64);
|
|
2941
|
+
const bytes = new Uint8Array(binary.length);
|
|
2942
|
+
for (let i = 0; i < binary.length; i++) {
|
|
2943
|
+
bytes[i] = binary.charCodeAt(i);
|
|
2944
|
+
}
|
|
2945
|
+
return bytes;
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
// src/lib/memoryEngine/vectorEncoding.ts
|
|
2949
|
+
var BYTES_PER_FLOAT32 = 4;
|
|
2950
|
+
var CANONICAL_BASE64 = /^[A-Za-z0-9+/]+={0,2}$/;
|
|
2951
|
+
function encodeChunkVector(vector) {
|
|
2952
|
+
const f32 = vector instanceof Float32Array ? vector : Float32Array.from(vector);
|
|
2953
|
+
return uint8ArrayToBase64(new Uint8Array(f32.buffer, f32.byteOffset, f32.byteLength));
|
|
2954
|
+
}
|
|
2955
|
+
function decodeChunkVector(vector, onMalformed) {
|
|
2956
|
+
if (!vector || vector.length === 0) return new Float32Array(0);
|
|
2957
|
+
if (typeof vector !== "string") return Float32Array.from(vector);
|
|
2958
|
+
if (vector.length % 4 !== 0 || !CANONICAL_BASE64.test(vector)) {
|
|
2959
|
+
onMalformed?.();
|
|
2960
|
+
return new Float32Array(0);
|
|
2961
|
+
}
|
|
2962
|
+
try {
|
|
2963
|
+
const bytes = base64ToUint8Array(vector);
|
|
2964
|
+
if (bytes.byteLength === 0 || bytes.byteLength % BYTES_PER_FLOAT32 !== 0) {
|
|
2965
|
+
onMalformed?.();
|
|
2966
|
+
return new Float32Array(0);
|
|
2967
|
+
}
|
|
2968
|
+
return new Float32Array(bytes.buffer, bytes.byteOffset, bytes.byteLength / BYTES_PER_FLOAT32);
|
|
2969
|
+
} catch {
|
|
2970
|
+
onMalformed?.();
|
|
2971
|
+
return new Float32Array(0);
|
|
2972
|
+
}
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2911
2975
|
// src/lib/db/encryption-utils.ts
|
|
2912
2976
|
function isEncrypted(value) {
|
|
2913
2977
|
const prefix = value.startsWith("enc:v3:") ? "enc:v3:" : value.startsWith("enc:v2:") ? "enc:v2:" : null;
|
|
@@ -2979,6 +3043,9 @@ function getImageModel(r) {
|
|
|
2979
3043
|
return r.image_model;
|
|
2980
3044
|
}
|
|
2981
3045
|
|
|
3046
|
+
// src/lib/memoryEngine/embeddings.ts
|
|
3047
|
+
var CHUNKS_DISCARDED_ORIGIN = "chunks_discarded";
|
|
3048
|
+
|
|
2982
3049
|
// src/lib/memoryEngine/quantization.ts
|
|
2983
3050
|
var INT8_MAX = 127;
|
|
2984
3051
|
function quantizeEmbedding(v) {
|
|
@@ -3736,6 +3803,7 @@ function createStreamingDeAnonymizer(redactor, emit) {
|
|
|
3736
3803
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3737
3804
|
0 && (module.exports = {
|
|
3738
3805
|
BUILT_IN_TOOL_SETS,
|
|
3806
|
+
CHUNKS_DISCARDED_ORIGIN,
|
|
3739
3807
|
DEFAULT_ANALYSIS_PROMPT,
|
|
3740
3808
|
DEFAULT_ANALYZE_AFTER_MESSAGES,
|
|
3741
3809
|
DEFAULT_DOCUMENT_PATTERN,
|
|
@@ -3751,6 +3819,7 @@ function createStreamingDeAnonymizer(redactor, emit) {
|
|
|
3751
3819
|
PiiRedactor,
|
|
3752
3820
|
SseIdleTimeoutError,
|
|
3753
3821
|
TOOL_CATALOG,
|
|
3822
|
+
TOOL_RESULT_ORIGIN,
|
|
3754
3823
|
activatedToolSetNames,
|
|
3755
3824
|
analyzeStyle,
|
|
3756
3825
|
applyToolSets,
|
|
@@ -3762,6 +3831,7 @@ function createStreamingDeAnonymizer(redactor, emit) {
|
|
|
3762
3831
|
cosineInt8,
|
|
3763
3832
|
createServerToolsFilter,
|
|
3764
3833
|
createStreamingDeAnonymizer,
|
|
3834
|
+
decodeChunkVector,
|
|
3765
3835
|
decryptConversationTitle,
|
|
3766
3836
|
defaultServerToolsFilter,
|
|
3767
3837
|
deleteApiV1Account,
|
|
@@ -3776,6 +3846,7 @@ function createStreamingDeAnonymizer(redactor, emit) {
|
|
|
3776
3846
|
deleteApiV1UserApiKeysByKeyId,
|
|
3777
3847
|
deleteApiV1WalletsBindingByAddress,
|
|
3778
3848
|
dequantizeEmbedding,
|
|
3849
|
+
encodeChunkVector,
|
|
3779
3850
|
expandToolSetsAdditive,
|
|
3780
3851
|
getApiV1AdminApps,
|
|
3781
3852
|
getApiV1AdminAppsByAppIdApiKeys,
|
package/dist/index.d.mts
CHANGED
|
@@ -8625,6 +8625,54 @@ interface LazyStoredConversation extends Omit<StoredConversation, "title"> {
|
|
|
8625
8625
|
encryptedTitle: string;
|
|
8626
8626
|
}
|
|
8627
8627
|
|
|
8628
|
+
/**
|
|
8629
|
+
* Memory Retrieval Embeddings
|
|
8630
|
+
*
|
|
8631
|
+
* Message-level embedding + persistence helpers: find messages via the
|
|
8632
|
+
* WatermelonDB-backed `db/chat/operations`, embed their content, and store the
|
|
8633
|
+
* vectors/chunks back. The raw "text → embedding" calls live in `./generate`
|
|
8634
|
+
* (dependency-free so the tool-selection engine can import them without the DB
|
|
8635
|
+
* layer) and are re-exported here so existing importers of
|
|
8636
|
+
* `../memoryEngine/embeddings` and the `../memoryEngine` barrel keep working.
|
|
8637
|
+
*/
|
|
8638
|
+
|
|
8639
|
+
/**
|
|
8640
|
+
* An ordinary message whose chunk vectors were built over `enc:v3:` ciphertext
|
|
8641
|
+
* (sdk#864) and have been discarded instead of re-embedded.
|
|
8642
|
+
*
|
|
8643
|
+
* Re-embedding is the obvious repair and is the wrong one: the sweep calls the
|
|
8644
|
+
* embedder with the user's own identity token, so healing these rows would
|
|
8645
|
+
* silently spend a user's own credits — up to ~9k embedding calls on the
|
|
8646
|
+
* worst-hit account — on a background repair nobody asked for (client#5618).
|
|
8647
|
+
* Discarding costs semantic recall on rows whose vectors describe hex, i.e. on
|
|
8648
|
+
* search that is already broken for them.
|
|
8649
|
+
*
|
|
8650
|
+
* Deliberately NOT `tool_result`, because that value does two jobs: it
|
|
8651
|
+
* suppresses embedding AND hides the row (`isToolResultsRow` returns true on it
|
|
8652
|
+
* alone, with no content check, and the clients render nothing for such a row).
|
|
8653
|
+
* These are ~2k real user and assistant messages that must keep rendering, so
|
|
8654
|
+
* they need the first job without the second.
|
|
8655
|
+
*
|
|
8656
|
+
* Suppression is "never automatically", not "never": `filter.reembedDiscarded`
|
|
8657
|
+
* on either sweep re-opens these rows for an explicit, caller-initiated
|
|
8658
|
+
* re-index. Off by default, so no background pass can spend a user's credits
|
|
8659
|
+
* without being asked to.
|
|
8660
|
+
*
|
|
8661
|
+
* That flag opens the gate for one call and nothing more. It does not heal the
|
|
8662
|
+
* row: a message that re-indexes successfully still carries `chunks_discarded`
|
|
8663
|
+
* afterwards, so the next pass skips it again unless that pass sets the flag
|
|
8664
|
+
* too. An embedding-model migration is where this bites. It reaches this gate
|
|
8665
|
+
* before it can do anything, so the repaired rows stay on the old model, and
|
|
8666
|
+
* `searchChunksOp` already drops stale-model vectors — they go quiet with
|
|
8667
|
+
* nothing telling them apart from rows that were never repaired. Clearing the
|
|
8668
|
+
* marker on a successful re-index is the real fix, tracked in #879.
|
|
8669
|
+
*
|
|
8670
|
+
* `satisfies MessageOrigin` so the constant and the union cannot drift apart
|
|
8671
|
+
* silently — the column's type is the union, and a typo here would otherwise
|
|
8672
|
+
* only surface as a marker nothing matches.
|
|
8673
|
+
*/
|
|
8674
|
+
declare const CHUNKS_DISCARDED_ORIGIN = "chunks_discarded";
|
|
8675
|
+
|
|
8628
8676
|
/**
|
|
8629
8677
|
* Int8 Embedding Quantization
|
|
8630
8678
|
*
|
|
@@ -8699,6 +8747,78 @@ declare function dequantizeEmbedding({ data, scale }: QuantizedEmbedding): Float
|
|
|
8699
8747
|
*/
|
|
8700
8748
|
declare function cosineInt8(a: Int8Array, scaleA: number, b: Int8Array, scaleB: number): number;
|
|
8701
8749
|
|
|
8750
|
+
/**
|
|
8751
|
+
* Storage encoding for `MessageChunk.vector`.
|
|
8752
|
+
*
|
|
8753
|
+
* Chunk vectors are persisted inside the `chunks` column as JSON. Since #732
|
|
8754
|
+
* their values are canonically float32 — `generateEmbeddings` round-trips its
|
|
8755
|
+
* return value through a `Float32Array` so a cache hit and a cache miss agree —
|
|
8756
|
+
* which paradoxically made the JSON LONGER: `JSON.stringify` emits the shortest
|
|
8757
|
+
* decimal that round-trips to the float64, and a binary32-exact value needs ~17
|
|
8758
|
+
* significant digits. Measured at 4096 dims (`qwen/qwen3-embedding-8b`): 54.5 KB
|
|
8759
|
+
* of JSON before #732, 84.5 KB after.
|
|
8760
|
+
*
|
|
8761
|
+
* Base64-encoding the `Float32Array` stores the same bits as 4 bytes per value
|
|
8762
|
+
* instead of ~21 characters — 21.3 KB at 4096 dims. Because the data already IS
|
|
8763
|
+
* float32, the encoding is EXACTLY lossless, so the round-trip assertion is
|
|
8764
|
+
* equality and never a tolerance.
|
|
8765
|
+
*
|
|
8766
|
+
* Rollout (sdk#862). `decodeChunkVector` accepts both encodings and ships first;
|
|
8767
|
+
* `encodeChunkVector` is deliberately NOT wired into the write path yet. Every
|
|
8768
|
+
* stored chunk on every device is still a JSON array, and chat history syncs
|
|
8769
|
+
* those rows between devices verbatim — the backup push spreads the whole raw
|
|
8770
|
+
* row and the restore copies every column — so a device on an older build would
|
|
8771
|
+
* meet a base64 string where it expects `number[]`. It does not throw, and it
|
|
8772
|
+
* does not fall back: the row still HAS chunks, so the old build takes the chunk
|
|
8773
|
+
* branch and never reaches the whole-message one. `Float32Array.from` over the
|
|
8774
|
+
* string yields one NaN per character, `cosineSimilarity` returns 0 on the
|
|
8775
|
+
* dimension mismatch, and the default `minSimilarity` cuts it — the row leaves
|
|
8776
|
+
* search entirely. The old build then caches what it built: ~87 KB of NaN per
|
|
8777
|
+
* chunk, so ~54 MB resident for a 620-chunk row, on exactly the device this
|
|
8778
|
+
* sequencing exists to protect. The writer flips in a later release, once a
|
|
8779
|
+
* build that reads both encodings has saturated; the single flip site is
|
|
8780
|
+
* `updateMessageChunksOp`.
|
|
8781
|
+
*
|
|
8782
|
+
* Byte order is the platform's, since this reads the `Float32Array` bytes
|
|
8783
|
+
* directly. Every runtime the SDK targets (browsers, iOS, Android, Node on
|
|
8784
|
+
* x86/ARM) is little-endian.
|
|
8785
|
+
*/
|
|
8786
|
+
/**
|
|
8787
|
+
* Encode an embedding as base64 float32 for storage.
|
|
8788
|
+
*
|
|
8789
|
+
* Not yet called by the write path — see the rollout note above. Values are
|
|
8790
|
+
* narrowed to float32 first, which is lossless for anything `generateEmbeddings`
|
|
8791
|
+
* produced and is what makes the decode byte-exact.
|
|
8792
|
+
*/
|
|
8793
|
+
declare function encodeChunkVector(vector: ArrayLike<number>): string;
|
|
8794
|
+
/**
|
|
8795
|
+
* Read a stored chunk vector in either encoding: a base64 float32 string, or the
|
|
8796
|
+
* legacy `number[]` that every row written before the writer flip still holds.
|
|
8797
|
+
*
|
|
8798
|
+
* Returns a zero-length `Float32Array` for a missing, empty, or unreadable
|
|
8799
|
+
* value, which callers already treat as "this chunk has no vector" — the same
|
|
8800
|
+
* degradation a malformed `chunks` JSON gets today, rather than a throw that
|
|
8801
|
+
* would take down a whole search pass over one bad row.
|
|
8802
|
+
*
|
|
8803
|
+
* That one return value covers two different situations, and a caller cannot
|
|
8804
|
+
* tell them apart: a chunk that legitimately has no vector, and a chunk whose
|
|
8805
|
+
* vector is corrupt. `onMalformed` separates them. It fires only on the corrupt
|
|
8806
|
+
* paths, never on an absent or empty value, so a caller can count corruption
|
|
8807
|
+
* without counting normal empties.
|
|
8808
|
+
*
|
|
8809
|
+
* Nothing is logged here. A corrupt row holds hundreds of chunks and this runs
|
|
8810
|
+
* once per chunk, so the caller aggregates and reports once per pass — the shape
|
|
8811
|
+
* `searchChunksOp` already uses for stale-model vectors.
|
|
8812
|
+
*/
|
|
8813
|
+
declare function decodeChunkVector(vector: number[] | string | null | undefined, onMalformed?: () => void): Float32Array<ArrayBuffer>;
|
|
8814
|
+
|
|
8815
|
+
/**
|
|
8816
|
+
* Value of the `origin` column on a row the SDK synthesised for a turn's tool results (v44, #866).
|
|
8817
|
+
*
|
|
8818
|
+
* `satisfies MessageOrigin` so this constant and the column's union cannot drift apart silently.
|
|
8819
|
+
*/
|
|
8820
|
+
declare const TOOL_RESULT_ORIGIN = "tool_result";
|
|
8821
|
+
|
|
8702
8822
|
/**
|
|
8703
8823
|
* Lazy decryption helpers for conversation titles.
|
|
8704
8824
|
*
|
|
@@ -8766,4 +8886,4 @@ declare function clearLazyTitleCache(): void;
|
|
|
8766
8886
|
*/
|
|
8767
8887
|
declare function decryptConversationTitle(encryptedTitle: string, address: string): Promise<string>;
|
|
8768
8888
|
|
|
8769
|
-
export { type AgentAgendaItem, type AgentAgendaTranscript, type AgentAnalysisSection, type AgentAnalysisTranscript, type AgentConfig, type AgentExampleConversation, type AgentManifest, type AgentMarketplaceContent, type AgentMarketplaceFamily, type AgentMarketplaceTranscript, type AgentPrimaryActionKind, type AgentRuntime, type AgentScheduleItem, type AgentTranscriptItem, type AgentTranscriptTone, type AgentUiMetadata, type AnalyzeStyleOptions, type AnalyzeStyleResult, type ApiResponse, BUILT_IN_TOOL_SETS, type BuildPromptOptions, type BuildPromptResult, type ClientOptions, type ConnectorGuidance, type ConnectorGuidanceInput, type CreateServerToolsFilterOptions, DEFAULT_ANALYSIS_PROMPT, DEFAULT_ANALYZE_AFTER_MESSAGES, DEFAULT_DOCUMENT_PATTERN, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_MAX_INPUT_MESSAGES, DEFAULT_MAX_PROFILE_LENGTH, DEFAULT_MIN_MESSAGES, DEFAULT_PROMPT_TEMPLATES, DEFAULT_REFRESH_EVERY_MESSAGES, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, type DeleteApiV1AccountData, type DeleteApiV1AccountError, type DeleteApiV1AccountErrors, type DeleteApiV1AccountResponse, type DeleteApiV1AccountResponses, type DeleteApiV1AdminAgentsByIdData, type DeleteApiV1AdminAgentsByIdError, type DeleteApiV1AdminAgentsByIdErrors, type DeleteApiV1AdminAgentsByIdResponse, type DeleteApiV1AdminAgentsByIdResponses, type DeleteApiV1AdminAppsByAppIdApiKeysByIdData, type DeleteApiV1AdminAppsByAppIdApiKeysByIdError, type DeleteApiV1AdminAppsByAppIdApiKeysByIdErrors, type DeleteApiV1AdminAppsByAppIdApiKeysByIdResponse, type DeleteApiV1AdminAppsByAppIdApiKeysByIdResponses, type DeleteApiV1AdminAppsByIdData, type DeleteApiV1AdminAppsByIdError, type DeleteApiV1AdminAppsByIdErrors, type DeleteApiV1AdminAppsByIdResponse, type DeleteApiV1AdminAppsByIdResponses, type DeleteApiV1AdminPersonasByIdData, type DeleteApiV1AdminPersonasByIdError, type DeleteApiV1AdminPersonasByIdErrors, type DeleteApiV1AdminPersonasByIdResponse, type DeleteApiV1AdminPersonasByIdResponses, type DeleteApiV1AdminTextResetData, type DeleteApiV1AdminTextResetError, type DeleteApiV1AdminTextResetErrors, type DeleteApiV1AdminTextResetResponse, type DeleteApiV1AdminTextResetResponses, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdData, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdError, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdErrors, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdResponse, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdResponses, type DeleteApiV1DeveloperAppsByAppUuidData, type DeleteApiV1DeveloperAppsByAppUuidError, type DeleteApiV1DeveloperAppsByAppUuidErrors, type DeleteApiV1DeveloperAppsByAppUuidPrivyData, type DeleteApiV1DeveloperAppsByAppUuidPrivyError, type DeleteApiV1DeveloperAppsByAppUuidPrivyErrors, type DeleteApiV1DeveloperAppsByAppUuidPrivyResponse, type DeleteApiV1DeveloperAppsByAppUuidPrivyResponses, type DeleteApiV1DeveloperAppsByAppUuidResponse, type DeleteApiV1DeveloperAppsByAppUuidResponses, type DeleteApiV1UserApiKeysByKeyIdData, type DeleteApiV1UserApiKeysByKeyIdError, type DeleteApiV1UserApiKeysByKeyIdErrors, type DeleteApiV1UserApiKeysByKeyIdResponse, type DeleteApiV1UserApiKeysByKeyIdResponses, type DeleteApiV1WalletsBindingByAddressData, type DeleteApiV1WalletsBindingByAddressError, type DeleteApiV1WalletsBindingByAddressErrors, type DeleteApiV1WalletsBindingByAddressResponse, type DeleteApiV1WalletsBindingByAddressResponses, type FileExtractionStrategy, type GetApiV1AdminAppsByAppIdApiKeysByIdData, type GetApiV1AdminAppsByAppIdApiKeysByIdError, type GetApiV1AdminAppsByAppIdApiKeysByIdErrors, type GetApiV1AdminAppsByAppIdApiKeysByIdResponse, type GetApiV1AdminAppsByAppIdApiKeysByIdResponses, type GetApiV1AdminAppsByAppIdApiKeysData, type GetApiV1AdminAppsByAppIdApiKeysError, type GetApiV1AdminAppsByAppIdApiKeysErrors, type GetApiV1AdminAppsByAppIdApiKeysResponse, type GetApiV1AdminAppsByAppIdApiKeysResponses, type GetApiV1AdminAppsByIdData, type GetApiV1AdminAppsByIdError, type GetApiV1AdminAppsByIdErrors, type GetApiV1AdminAppsByIdResponse, type GetApiV1AdminAppsByIdResponses, type GetApiV1AdminAppsData, type GetApiV1AdminAppsError, type GetApiV1AdminAppsErrors, type GetApiV1AdminAppsResponse, type GetApiV1AdminAppsResponses, type GetApiV1AdminUsersLookupData, type GetApiV1AdminUsersLookupError, type GetApiV1AdminUsersLookupErrors, type GetApiV1AdminUsersLookupResponse, type GetApiV1AdminUsersLookupResponses, type GetApiV1AgentPreferencesData, type GetApiV1AgentPreferencesError, type GetApiV1AgentPreferencesErrors, type GetApiV1AgentPreferencesResponse, type GetApiV1AgentPreferencesResponses, type GetApiV1AgentsByIdData, type GetApiV1AgentsByIdError, type GetApiV1AgentsByIdErrors, type GetApiV1AgentsByIdResponse, type GetApiV1AgentsByIdResponses, type GetApiV1AgentsData, type GetApiV1AgentsError, type GetApiV1AgentsErrors, type GetApiV1AgentsResponse, type GetApiV1AgentsResponses, type GetApiV1ConfigData, type GetApiV1ConfigError, type GetApiV1ConfigErrors, type GetApiV1ConfigResponse, type GetApiV1ConfigResponses, type GetApiV1CreditsBalanceData, type GetApiV1CreditsBalanceError, type GetApiV1CreditsBalanceErrors, type GetApiV1CreditsBalanceResponse, type GetApiV1CreditsBalanceResponses, type GetApiV1CreditsPacksData, type GetApiV1CreditsPacksError, type GetApiV1CreditsPacksErrors, type GetApiV1CreditsPacksResponse, type GetApiV1CreditsPacksResponses, type GetApiV1DeveloperAppsByAppUuidApiKeysData, type GetApiV1DeveloperAppsByAppUuidApiKeysError, type GetApiV1DeveloperAppsByAppUuidApiKeysErrors, type GetApiV1DeveloperAppsByAppUuidApiKeysResponse, type GetApiV1DeveloperAppsByAppUuidApiKeysResponses, type GetApiV1DeveloperAppsByAppUuidData, type GetApiV1DeveloperAppsByAppUuidError, type GetApiV1DeveloperAppsByAppUuidErrors, type GetApiV1DeveloperAppsByAppUuidResponse, type GetApiV1DeveloperAppsByAppUuidResponses, type GetApiV1DeveloperAppsByAppUuidUsageData, type GetApiV1DeveloperAppsByAppUuidUsageError, type GetApiV1DeveloperAppsByAppUuidUsageErrors, type GetApiV1DeveloperAppsByAppUuidUsageResponse, type GetApiV1DeveloperAppsByAppUuidUsageResponses, type GetApiV1DeveloperAppsByAppUuidUsageUsersData, type GetApiV1DeveloperAppsByAppUuidUsageUsersError, type GetApiV1DeveloperAppsByAppUuidUsageUsersErrors, type GetApiV1DeveloperAppsByAppUuidUsageUsersResponse, type GetApiV1DeveloperAppsByAppUuidUsageUsersResponses, type GetApiV1DeveloperAppsByAppUuidUsersByAddressData, type GetApiV1DeveloperAppsByAppUuidUsersByAddressError, type GetApiV1DeveloperAppsByAppUuidUsersByAddressErrors, type GetApiV1DeveloperAppsByAppUuidUsersByAddressResponse, type GetApiV1DeveloperAppsByAppUuidUsersByAddressResponses, type GetApiV1DeveloperAppsByAppUuidUsersData, type GetApiV1DeveloperAppsByAppUuidUsersError, type GetApiV1DeveloperAppsByAppUuidUsersErrors, type GetApiV1DeveloperAppsByAppUuidUsersResponse, type GetApiV1DeveloperAppsByAppUuidUsersResponses, type GetApiV1DeveloperAppsData, type GetApiV1DeveloperAppsError, type GetApiV1DeveloperAppsErrors, type GetApiV1DeveloperAppsResponse, type GetApiV1DeveloperAppsResponses, type GetApiV1DeveloperBillingData, type GetApiV1DeveloperBillingError, type GetApiV1DeveloperBillingErrors, type GetApiV1DeveloperBillingResponse, type GetApiV1DeveloperBillingResponses, type GetApiV1DocsSwaggerJsonData, type GetApiV1DocsSwaggerJsonResponse, type GetApiV1DocsSwaggerJsonResponses, type GetApiV1ModelsData, type GetApiV1ModelsError, type GetApiV1ModelsErrors, type GetApiV1ModelsResponse, type GetApiV1ModelsResponses, type GetApiV1PersonasByIdData, type GetApiV1PersonasByIdError, type GetApiV1PersonasByIdErrors, type GetApiV1PersonasByIdResponse, type GetApiV1PersonasByIdResponses, type GetApiV1PersonasData, type GetApiV1PersonasError, type GetApiV1PersonasErrors, type GetApiV1PersonasResponse, type GetApiV1PersonasResponses, type GetApiV1PhoneCallsByCallIdData, type GetApiV1PhoneCallsByCallIdError, type GetApiV1PhoneCallsByCallIdErrors, type GetApiV1PhoneCallsByCallIdResponse, type GetApiV1PhoneCallsByCallIdResponses, type GetApiV1SubscriptionsPlansData, type GetApiV1SubscriptionsPlansError, type GetApiV1SubscriptionsPlansErrors, type GetApiV1SubscriptionsPlansResponse, type GetApiV1SubscriptionsPlansResponses, type GetApiV1SubscriptionsStatusData, type GetApiV1SubscriptionsStatusError, type GetApiV1SubscriptionsStatusErrors, type GetApiV1SubscriptionsStatusResponse, type GetApiV1SubscriptionsStatusResponses, type GetApiV1ToolsData, type GetApiV1ToolsError, type GetApiV1ToolsErrors, type GetApiV1ToolsResponse, type GetApiV1ToolsResponses, type GetApiV1UsageInferenceWeeklyData, type GetApiV1UsageInferenceWeeklyResponse, type GetApiV1UsageInferenceWeeklyResponses, type GetApiV1UsageModelsData, type GetApiV1UsageModelsError, type GetApiV1UsageModelsErrors, type GetApiV1UsageModelsResponse, type GetApiV1UsageModelsResponses, type GetApiV1UserApiKeysData, type GetApiV1UserApiKeysError, type GetApiV1UserApiKeysErrors, type GetApiV1UserApiKeysResponse, type GetApiV1UserApiKeysResponses, type GetApiV1WalletsBindingData, type GetApiV1WalletsBindingError, type GetApiV1WalletsBindingErrors, type GetApiV1WalletsBindingResponse, type GetApiV1WalletsBindingResponses, type GetApiV1ZetaCreditRateData, type GetApiV1ZetaCreditRateResponse, type GetApiV1ZetaCreditRateResponses, type GetApiV1ZetaMarketData, type GetApiV1ZetaMarketResponse, type GetApiV1ZetaMarketResponses, type GetHealthData, type GetHealthError, type GetHealthErrors, type GetHealthResponse, type GetHealthResponses, type HandlersAddCreditsRequest, type HandlersAddCreditsResponse, type HandlersAgentListItem, type HandlersAgentListResponse, type HandlersAgentResponse, type HandlersApiKeyResponse, type HandlersApiKeyWithKeyResponse, type HandlersAppConfig, type HandlersAppResponse, type HandlersAppUsageResponse, type HandlersAppUserUsageResponse, type HandlersBillingHistoryResponse, type HandlersBillingRecordResponse, type HandlersBindRequest, type HandlersBoundWalletResponse, type HandlersCancelScheduledDowngradeResponse, type HandlersCancelSubscriptionResponse, type HandlersCheckoutSessionResponse, type HandlersConfigResponse, type HandlersConfigurePrivyRequest, type HandlersCreateAgentRequest, type HandlersCreateApiKeyRequest, type HandlersCreateAppRequest, type HandlersCreateCheckoutSessionRequest, type HandlersCreateCreditPackCheckoutRequest, type HandlersCreateCustomerPortalRequest, type HandlersCreateDeveloperAppRequest, type HandlersCreatePersonaRequest, type HandlersCreatePhoneCallRequest, type HandlersCreditBalanceResponse, type HandlersCreditPack, type HandlersCreditPacksResponse, type HandlersCreditRateResponse, type HandlersCustomerPortalResponse, type HandlersDeveloperApiKeyRequest, type HandlersDeveloperApiKeyResponse, type HandlersDeveloperApiKeyWithSecretResponse, type HandlersDeveloperAppResponse, type HandlersDeveloperUserResponse, type HandlersExchangeRequest, type HandlersExpiringCredits, type HandlersFundDeveloperAppRequest, type HandlersGeneratedApiKey, type HandlersGetToolsResponse, type HandlersHealthResponse, type HandlersInferenceWeeklyResponse, type HandlersListApiKeysResponse, type HandlersListAppsResponse, type HandlersListDeveloperApiKeysResponse, type HandlersListDeveloperAppsResponse, type HandlersListResponse, type HandlersListTotals, type HandlersListUserApiKeysResponse, type HandlersListUsersResponse, type HandlersModelToolUsageItem, type HandlersModelUsageItem, type HandlersNonceResponse, type HandlersPaginationResponse, type HandlersPersonaListResponse, type HandlersPersonaResponse, type HandlersPhoneCallResponse, type HandlersPhoneCallTranscriptEntry, type HandlersProInfo, type HandlersRedeemTokensRequest, type HandlersRedeemTokensResponse, type HandlersRefreshRequest, type HandlersRenewSubscriptionResponse, type HandlersRevokeRequest, type HandlersScheduleDowngradeRequest, type HandlersScheduleDowngradeResponse, type HandlersSeedApiKeyInput, type HandlersSeedAppInput, type HandlersSeedAppsRequest, type HandlersSeedAppsResponse, type HandlersSetSubscriptionTierRequest, type HandlersSetSubscriptionTierResponse, type HandlersSetUserAgentPreferenceRequest, type HandlersSubscriptionPlan, type HandlersSubscriptionPlansResponse, type HandlersSubscriptionStatusResponse, type HandlersTokenResponse, type HandlersTool, type HandlersToolCallDetailItem, type HandlersTopUpUserRequest, type HandlersUpdateAgentRequest, type HandlersUpdateApiKeyRequest, type HandlersUpdateAppRequest, type HandlersUpdateDeveloperAppRequest, type HandlersUpdatePersonaRequest, type HandlersUpdateUserLimitRequest, type HandlersUpgradeSubscriptionRequest, type HandlersUpgradeSubscriptionResponse, type HandlersUsageByModelResponse, type HandlersUsagePeriod, type HandlersUsageTimeseriesPoint, type HandlersUsageTotals, type HandlersUserAgentPreferenceResponse, type HandlersUserAgentPreferencesListResponse, type HandlersUserApiKeyRequest, type HandlersUserApiKeyResponse, type HandlersUserApiKeyWithSecretResponse, type HandlersUserLookupAccount, type HandlersUserLookupEnrollment, type HandlersUserLookupResponse, type HandlersUserLookupTextReg, type HandlersUserUsageResponse, type HandlersWalletDetails, type HandlersWeeklyInferenceItem, type HandlersZetaMarketResponse, type LazyStoredConversation, type LlmapiChatCompletionExtraFields, type LlmapiChatCompletionRequest, type LlmapiChatCompletionResponse, type LlmapiChatCompletionTool, type LlmapiChatCompletionToolChoice, type LlmapiChatCompletionUsage, type OpenaiChatCompletionChoice as LlmapiChoice, type LlmapiEmbeddingData, type LlmapiEmbeddingExtraFields, type LlmapiEmbeddingRequest, type LlmapiEmbeddingResponse, type LlmapiEmbeddingUsage, type LlmapiMcpTool, type LlmapiMessage, type LlmapiMessageContentFile, type LlmapiMessageContentImage, type LlmapiMessageContentPart, type LlmapiModel, type LlmapiModelArchitecture, type LlmapiModelPerRequestLimits, type LlmapiModelPricing, type LlmapiModelTopProvider, type LlmapiModelsListExtraFields, type LlmapiModelsListResponse, type LlmapiPortalChatCompletionRequest, type LlmapiPortalChatCompletionResponse, type LlmapiResponseExtraFields, type LlmapiResponseInput, type LlmapiResponseOutputContent, type LlmapiResponseOutputItem, type LlmapiResponseReasoning, type LlmapiResponseRequest, type LlmapiResponseResponse, type LlmapiResponseTool, type LlmapiResponseToolChoice, type LlmapiResponseUsage, type LlmapiRole, type LlmapiThinkingOptions, type LlmapiToolCall, type LlmapiToolCallEvent, type LlmapiToolCallFunction, type Logger, MULTILINE_FIELD_MAX, type McpToolSchema, type MessageRedactionResult, type NerDetector, type Options, PII_PATTERNS, type PatchApiV1DeveloperAppsByAppUuidData, type PatchApiV1DeveloperAppsByAppUuidError, type PatchApiV1DeveloperAppsByAppUuidErrors, type PatchApiV1DeveloperAppsByAppUuidResponse, type PatchApiV1DeveloperAppsByAppUuidResponses, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressData, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressError, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressErrors, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressResponse, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressResponses, type PiiCategory, type PiiMatch, type PiiPattern, PiiRedactor, type PiiRedactorOptions, type PiiSpan, type PostApiV1AdminAddCreditsData, type PostApiV1AdminAddCreditsError, type PostApiV1AdminAddCreditsErrors, type PostApiV1AdminAddCreditsResponse, type PostApiV1AdminAddCreditsResponses, type PostApiV1AdminAgentsData, type PostApiV1AdminAgentsError, type PostApiV1AdminAgentsErrors, type PostApiV1AdminAgentsResponse, type PostApiV1AdminAgentsResponses, type PostApiV1AdminAppsByAppIdApiKeysData, type PostApiV1AdminAppsByAppIdApiKeysError, type PostApiV1AdminAppsByAppIdApiKeysErrors, type PostApiV1AdminAppsByAppIdApiKeysResponse, type PostApiV1AdminAppsByAppIdApiKeysResponses, type PostApiV1AdminAppsData, type PostApiV1AdminAppsError, type PostApiV1AdminAppsErrors, type PostApiV1AdminAppsResponse, type PostApiV1AdminAppsResponses, type PostApiV1AdminPersonasData, type PostApiV1AdminPersonasError, type PostApiV1AdminPersonasErrors, type PostApiV1AdminPersonasResponse, type PostApiV1AdminPersonasResponses, type PostApiV1AdminSeedAppsData, type PostApiV1AdminSeedAppsError, type PostApiV1AdminSeedAppsErrors, type PostApiV1AdminSeedAppsResponse, type PostApiV1AdminSeedAppsResponses, type PostApiV1AdminSubscriptionTierData, type PostApiV1AdminSubscriptionTierError, type PostApiV1AdminSubscriptionTierErrors, type PostApiV1AdminSubscriptionTierResponse, type PostApiV1AdminSubscriptionTierResponses, type PostApiV1ChatCompletionsData, type PostApiV1ChatCompletionsError, type PostApiV1ChatCompletionsErrors, type PostApiV1ChatCompletionsResponse, type PostApiV1ChatCompletionsResponses, type PostApiV1CreditsPurchaseData, type PostApiV1CreditsPurchaseError, type PostApiV1CreditsPurchaseErrors, type PostApiV1CreditsPurchaseResponse, type PostApiV1CreditsPurchaseResponses, type PostApiV1CreditsRedeemTokensData, type PostApiV1CreditsRedeemTokensError, type PostApiV1CreditsRedeemTokensErrors, type PostApiV1CreditsRedeemTokensResponse, type PostApiV1CreditsRedeemTokensResponses, type PostApiV1DeveloperAppsByAppUuidApiKeysData, type PostApiV1DeveloperAppsByAppUuidApiKeysError, type PostApiV1DeveloperAppsByAppUuidApiKeysErrors, type PostApiV1DeveloperAppsByAppUuidApiKeysResponse, type PostApiV1DeveloperAppsByAppUuidApiKeysResponses, type PostApiV1DeveloperAppsByAppUuidFundData, type PostApiV1DeveloperAppsByAppUuidFundError, type PostApiV1DeveloperAppsByAppUuidFundErrors, type PostApiV1DeveloperAppsByAppUuidFundResponse, type PostApiV1DeveloperAppsByAppUuidFundResponses, type PostApiV1DeveloperAppsByAppUuidPrivyData, type PostApiV1DeveloperAppsByAppUuidPrivyError, type PostApiV1DeveloperAppsByAppUuidPrivyErrors, type PostApiV1DeveloperAppsByAppUuidPrivyResponse, type PostApiV1DeveloperAppsByAppUuidPrivyResponses, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpData, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpError, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpErrors, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpResponse, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpResponses, type PostApiV1DeveloperAppsData, type PostApiV1DeveloperAppsError, type PostApiV1DeveloperAppsErrors, type PostApiV1DeveloperAppsResponse, type PostApiV1DeveloperAppsResponses, type PostApiV1EmbeddingsData, type PostApiV1EmbeddingsError, type PostApiV1EmbeddingsErrors, type PostApiV1EmbeddingsResponse, type PostApiV1EmbeddingsResponses, type PostApiV1PhoneCallsData, type PostApiV1PhoneCallsError, type PostApiV1PhoneCallsErrors, type PostApiV1PhoneCallsResponse, type PostApiV1PhoneCallsResponses, type PostApiV1ResponsesData, type PostApiV1ResponsesError, type PostApiV1ResponsesErrors, type PostApiV1ResponsesResponse, type PostApiV1ResponsesResponses, type PostApiV1SubscriptionsCancelData, type PostApiV1SubscriptionsCancelError, type PostApiV1SubscriptionsCancelErrors, type PostApiV1SubscriptionsCancelResponse, type PostApiV1SubscriptionsCancelResponses, type PostApiV1SubscriptionsCancelScheduledDowngradeData, type PostApiV1SubscriptionsCancelScheduledDowngradeError, type PostApiV1SubscriptionsCancelScheduledDowngradeErrors, type PostApiV1SubscriptionsCancelScheduledDowngradeResponse, type PostApiV1SubscriptionsCancelScheduledDowngradeResponses, type PostApiV1SubscriptionsCreateCheckoutSessionData, type PostApiV1SubscriptionsCreateCheckoutSessionError, type PostApiV1SubscriptionsCreateCheckoutSessionErrors, type PostApiV1SubscriptionsCreateCheckoutSessionResponse, type PostApiV1SubscriptionsCreateCheckoutSessionResponses, type PostApiV1SubscriptionsCustomerPortalData, type PostApiV1SubscriptionsCustomerPortalError, type PostApiV1SubscriptionsCustomerPortalErrors, type PostApiV1SubscriptionsCustomerPortalResponse, type PostApiV1SubscriptionsCustomerPortalResponses, type PostApiV1SubscriptionsRenewData, type PostApiV1SubscriptionsRenewError, type PostApiV1SubscriptionsRenewErrors, type PostApiV1SubscriptionsRenewResponse, type PostApiV1SubscriptionsRenewResponses, type PostApiV1SubscriptionsScheduleDowngradeData, type PostApiV1SubscriptionsScheduleDowngradeError, type PostApiV1SubscriptionsScheduleDowngradeErrors, type PostApiV1SubscriptionsScheduleDowngradeResponse, type PostApiV1SubscriptionsScheduleDowngradeResponses, type PostApiV1SubscriptionsUpgradeData, type PostApiV1SubscriptionsUpgradeError, type PostApiV1SubscriptionsUpgradeErrors, type PostApiV1SubscriptionsUpgradeResponse, type PostApiV1SubscriptionsUpgradeResponses, type PostApiV1SubscriptionsWebhookData, type PostApiV1SubscriptionsWebhookError, type PostApiV1SubscriptionsWebhookErrors, type PostApiV1SubscriptionsWebhookResponse, type PostApiV1SubscriptionsWebhookResponses, type PostApiV1UserApiKeysData, type PostApiV1UserApiKeysError, type PostApiV1UserApiKeysErrors, type PostApiV1UserApiKeysResponse, type PostApiV1UserApiKeysResponses, type PostApiV1WalletsBindingData, type PostApiV1WalletsBindingError, type PostApiV1WalletsBindingErrors, type PostApiV1WalletsBindingNonceData, type PostApiV1WalletsBindingNonceError, type PostApiV1WalletsBindingNonceErrors, type PostApiV1WalletsBindingNonceResponse, type PostApiV1WalletsBindingNonceResponses, type PostApiV1WalletsBindingResponse, type PostApiV1WalletsBindingResponses, type PostApiV1WebhooksRevenuecatData, type PostApiV1WebhooksRevenuecatError, type PostApiV1WebhooksRevenuecatErrors, type PostApiV1WebhooksRevenuecatResponse, type PostApiV1WebhooksRevenuecatResponses, type PostAuthOauthByProviderExchangeData, type PostAuthOauthByProviderExchangeError, type PostAuthOauthByProviderExchangeErrors, type PostAuthOauthByProviderExchangeResponse, type PostAuthOauthByProviderExchangeResponses, type PostAuthOauthByProviderRefreshData, type PostAuthOauthByProviderRefreshError, type PostAuthOauthByProviderRefreshErrors, type PostAuthOauthByProviderRefreshResponse, type PostAuthOauthByProviderRefreshResponses, type PostAuthOauthByProviderRevokeData, type PostAuthOauthByProviderRevokeError, type PostAuthOauthByProviderRevokeErrors, type PostAuthOauthByProviderRevokeResponse, type PostAuthOauthByProviderRevokeResponses, type PromptContext, type PromptSection, type PromptTemplates, type PutApiV1AdminAgentsByIdData, type PutApiV1AdminAgentsByIdError, type PutApiV1AdminAgentsByIdErrors, type PutApiV1AdminAgentsByIdResponse, type PutApiV1AdminAgentsByIdResponses, type PutApiV1AdminAppsByAppIdApiKeysByIdData, type PutApiV1AdminAppsByAppIdApiKeysByIdError, type PutApiV1AdminAppsByAppIdApiKeysByIdErrors, type PutApiV1AdminAppsByAppIdApiKeysByIdResponse, type PutApiV1AdminAppsByAppIdApiKeysByIdResponses, type PutApiV1AdminAppsByIdData, type PutApiV1AdminAppsByIdError, type PutApiV1AdminAppsByIdErrors, type PutApiV1AdminAppsByIdResponse, type PutApiV1AdminAppsByIdResponses, type PutApiV1AdminPersonasByIdData, type PutApiV1AdminPersonasByIdError, type PutApiV1AdminPersonasByIdErrors, type PutApiV1AdminPersonasByIdResponse, type PutApiV1AdminPersonasByIdResponses, type PutApiV1AgentsByIdPreferenceData, type PutApiV1AgentsByIdPreferenceError, type PutApiV1AgentsByIdPreferenceErrors, type PutApiV1AgentsByIdPreferenceResponse, type PutApiV1AgentsByIdPreferenceResponses, type QuantizedEmbedding, type RedactionResult, type ResponseErrorResponse, type SelectServerSideToolsOptions, type SkillConfig, type SkillJourneyDefinition, type SkillJourneyField, type SkillJourneyFieldType, SseIdleTimeoutError, type SseKeepaliveOptions, type StyleAnalysisSchedule, TOOL_CATALOG, type ToolSet, activatedToolSetNames, analyzeStyle, applyToolSets, buildConnectorGuidance, buildDeniedToolsRider, buildSystemPrompt, clearLazyTitleCache, consoleLogger, cosineInt8, createServerToolsFilter, createStreamingDeAnonymizer, decryptConversationTitle, defaultServerToolsFilter, deleteApiV1Account, deleteApiV1AdminAgentsById, deleteApiV1AdminAppsByAppIdApiKeysById, deleteApiV1AdminAppsById, deleteApiV1AdminPersonasById, deleteApiV1AdminTextReset, deleteApiV1DeveloperAppsByAppUuid, deleteApiV1DeveloperAppsByAppUuidApiKeysByKeyId, deleteApiV1DeveloperAppsByAppUuidPrivy, deleteApiV1UserApiKeysByKeyId, deleteApiV1WalletsBindingByAddress, dequantizeEmbedding, expandToolSetsAdditive, getApiV1AdminApps, getApiV1AdminAppsByAppIdApiKeys, getApiV1AdminAppsByAppIdApiKeysById, getApiV1AdminAppsById, getApiV1AdminUsersLookup, getApiV1AgentPreferences, getApiV1Agents, getApiV1AgentsById, getApiV1Config, getApiV1CreditsBalance, getApiV1CreditsPacks, getApiV1DeveloperApps, getApiV1DeveloperAppsByAppUuid, getApiV1DeveloperAppsByAppUuidApiKeys, getApiV1DeveloperAppsByAppUuidUsage, getApiV1DeveloperAppsByAppUuidUsageUsers, getApiV1DeveloperAppsByAppUuidUsers, getApiV1DeveloperAppsByAppUuidUsersByAddress, getApiV1DeveloperBilling, getApiV1DocsSwaggerJson, getApiV1Models, getApiV1Personas, getApiV1PersonasById, getApiV1PhoneCallsByCallId, getApiV1SubscriptionsPlans, getApiV1SubscriptionsStatus, getApiV1Tools, getApiV1UsageInferenceWeekly, getApiV1UsageModels, getApiV1UserApiKeys, getApiV1WalletsBinding, getApiV1ZetaCreditRate, getApiV1ZetaMarket, getCostMicroUsd, getCreditsUsed, getHealth, getImageModel, getLogger, getToolCallEvents, isPiiRedactor, noopLogger, patchApiV1DeveloperAppsByAppUuid, patchApiV1DeveloperAppsByAppUuidUsersByAddress, postApiV1AdminAddCredits, postApiV1AdminAgents, postApiV1AdminApps, postApiV1AdminAppsByAppIdApiKeys, postApiV1AdminPersonas, postApiV1AdminSeedApps, postApiV1AdminSubscriptionTier, postApiV1ChatCompletions, postApiV1CreditsPurchase, postApiV1CreditsRedeemTokens, postApiV1DeveloperApps, postApiV1DeveloperAppsByAppUuidApiKeys, postApiV1DeveloperAppsByAppUuidFund, postApiV1DeveloperAppsByAppUuidPrivy, postApiV1DeveloperAppsByAppUuidUsersByAddressTopUp, postApiV1Embeddings, postApiV1PhoneCalls, postApiV1Responses, postApiV1SubscriptionsCancel, postApiV1SubscriptionsCancelScheduledDowngrade, postApiV1SubscriptionsCreateCheckoutSession, postApiV1SubscriptionsCustomerPortal, postApiV1SubscriptionsRenew, postApiV1SubscriptionsScheduleDowngrade, postApiV1SubscriptionsUpgrade, postApiV1SubscriptionsWebhook, postApiV1UserApiKeys, postApiV1WalletsBinding, postApiV1WalletsBindingNonce, postApiV1WebhooksRevenuecat, postAuthOauthByProviderExchange, postAuthOauthByProviderRefresh, postAuthOauthByProviderRevoke, putApiV1AdminAgentsById, putApiV1AdminAppsByAppIdApiKeysById, putApiV1AdminAppsById, putApiV1AdminPersonasById, putApiV1AgentsByIdPreference, quantizeEmbedding, renderTemplate, resolvePiiRedactor, sanitizeQuotes, selectServerSideTools, setLogger, shouldAnalyzeStyle, toolSetSystemPrompts, withSseKeepalive };
|
|
8889
|
+
export { type AgentAgendaItem, type AgentAgendaTranscript, type AgentAnalysisSection, type AgentAnalysisTranscript, type AgentConfig, type AgentExampleConversation, type AgentManifest, type AgentMarketplaceContent, type AgentMarketplaceFamily, type AgentMarketplaceTranscript, type AgentPrimaryActionKind, type AgentRuntime, type AgentScheduleItem, type AgentTranscriptItem, type AgentTranscriptTone, type AgentUiMetadata, type AnalyzeStyleOptions, type AnalyzeStyleResult, type ApiResponse, BUILT_IN_TOOL_SETS, type BuildPromptOptions, type BuildPromptResult, CHUNKS_DISCARDED_ORIGIN, type ClientOptions, type ConnectorGuidance, type ConnectorGuidanceInput, type CreateServerToolsFilterOptions, DEFAULT_ANALYSIS_PROMPT, DEFAULT_ANALYZE_AFTER_MESSAGES, DEFAULT_DOCUMENT_PATTERN, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_MAX_INPUT_MESSAGES, DEFAULT_MAX_PROFILE_LENGTH, DEFAULT_MIN_MESSAGES, DEFAULT_PROMPT_TEMPLATES, DEFAULT_REFRESH_EVERY_MESSAGES, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, type DeleteApiV1AccountData, type DeleteApiV1AccountError, type DeleteApiV1AccountErrors, type DeleteApiV1AccountResponse, type DeleteApiV1AccountResponses, type DeleteApiV1AdminAgentsByIdData, type DeleteApiV1AdminAgentsByIdError, type DeleteApiV1AdminAgentsByIdErrors, type DeleteApiV1AdminAgentsByIdResponse, type DeleteApiV1AdminAgentsByIdResponses, type DeleteApiV1AdminAppsByAppIdApiKeysByIdData, type DeleteApiV1AdminAppsByAppIdApiKeysByIdError, type DeleteApiV1AdminAppsByAppIdApiKeysByIdErrors, type DeleteApiV1AdminAppsByAppIdApiKeysByIdResponse, type DeleteApiV1AdminAppsByAppIdApiKeysByIdResponses, type DeleteApiV1AdminAppsByIdData, type DeleteApiV1AdminAppsByIdError, type DeleteApiV1AdminAppsByIdErrors, type DeleteApiV1AdminAppsByIdResponse, type DeleteApiV1AdminAppsByIdResponses, type DeleteApiV1AdminPersonasByIdData, type DeleteApiV1AdminPersonasByIdError, type DeleteApiV1AdminPersonasByIdErrors, type DeleteApiV1AdminPersonasByIdResponse, type DeleteApiV1AdminPersonasByIdResponses, type DeleteApiV1AdminTextResetData, type DeleteApiV1AdminTextResetError, type DeleteApiV1AdminTextResetErrors, type DeleteApiV1AdminTextResetResponse, type DeleteApiV1AdminTextResetResponses, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdData, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdError, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdErrors, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdResponse, type DeleteApiV1DeveloperAppsByAppUuidApiKeysByKeyIdResponses, type DeleteApiV1DeveloperAppsByAppUuidData, type DeleteApiV1DeveloperAppsByAppUuidError, type DeleteApiV1DeveloperAppsByAppUuidErrors, type DeleteApiV1DeveloperAppsByAppUuidPrivyData, type DeleteApiV1DeveloperAppsByAppUuidPrivyError, type DeleteApiV1DeveloperAppsByAppUuidPrivyErrors, type DeleteApiV1DeveloperAppsByAppUuidPrivyResponse, type DeleteApiV1DeveloperAppsByAppUuidPrivyResponses, type DeleteApiV1DeveloperAppsByAppUuidResponse, type DeleteApiV1DeveloperAppsByAppUuidResponses, type DeleteApiV1UserApiKeysByKeyIdData, type DeleteApiV1UserApiKeysByKeyIdError, type DeleteApiV1UserApiKeysByKeyIdErrors, type DeleteApiV1UserApiKeysByKeyIdResponse, type DeleteApiV1UserApiKeysByKeyIdResponses, type DeleteApiV1WalletsBindingByAddressData, type DeleteApiV1WalletsBindingByAddressError, type DeleteApiV1WalletsBindingByAddressErrors, type DeleteApiV1WalletsBindingByAddressResponse, type DeleteApiV1WalletsBindingByAddressResponses, type FileExtractionStrategy, type GetApiV1AdminAppsByAppIdApiKeysByIdData, type GetApiV1AdminAppsByAppIdApiKeysByIdError, type GetApiV1AdminAppsByAppIdApiKeysByIdErrors, type GetApiV1AdminAppsByAppIdApiKeysByIdResponse, type GetApiV1AdminAppsByAppIdApiKeysByIdResponses, type GetApiV1AdminAppsByAppIdApiKeysData, type GetApiV1AdminAppsByAppIdApiKeysError, type GetApiV1AdminAppsByAppIdApiKeysErrors, type GetApiV1AdminAppsByAppIdApiKeysResponse, type GetApiV1AdminAppsByAppIdApiKeysResponses, type GetApiV1AdminAppsByIdData, type GetApiV1AdminAppsByIdError, type GetApiV1AdminAppsByIdErrors, type GetApiV1AdminAppsByIdResponse, type GetApiV1AdminAppsByIdResponses, type GetApiV1AdminAppsData, type GetApiV1AdminAppsError, type GetApiV1AdminAppsErrors, type GetApiV1AdminAppsResponse, type GetApiV1AdminAppsResponses, type GetApiV1AdminUsersLookupData, type GetApiV1AdminUsersLookupError, type GetApiV1AdminUsersLookupErrors, type GetApiV1AdminUsersLookupResponse, type GetApiV1AdminUsersLookupResponses, type GetApiV1AgentPreferencesData, type GetApiV1AgentPreferencesError, type GetApiV1AgentPreferencesErrors, type GetApiV1AgentPreferencesResponse, type GetApiV1AgentPreferencesResponses, type GetApiV1AgentsByIdData, type GetApiV1AgentsByIdError, type GetApiV1AgentsByIdErrors, type GetApiV1AgentsByIdResponse, type GetApiV1AgentsByIdResponses, type GetApiV1AgentsData, type GetApiV1AgentsError, type GetApiV1AgentsErrors, type GetApiV1AgentsResponse, type GetApiV1AgentsResponses, type GetApiV1ConfigData, type GetApiV1ConfigError, type GetApiV1ConfigErrors, type GetApiV1ConfigResponse, type GetApiV1ConfigResponses, type GetApiV1CreditsBalanceData, type GetApiV1CreditsBalanceError, type GetApiV1CreditsBalanceErrors, type GetApiV1CreditsBalanceResponse, type GetApiV1CreditsBalanceResponses, type GetApiV1CreditsPacksData, type GetApiV1CreditsPacksError, type GetApiV1CreditsPacksErrors, type GetApiV1CreditsPacksResponse, type GetApiV1CreditsPacksResponses, type GetApiV1DeveloperAppsByAppUuidApiKeysData, type GetApiV1DeveloperAppsByAppUuidApiKeysError, type GetApiV1DeveloperAppsByAppUuidApiKeysErrors, type GetApiV1DeveloperAppsByAppUuidApiKeysResponse, type GetApiV1DeveloperAppsByAppUuidApiKeysResponses, type GetApiV1DeveloperAppsByAppUuidData, type GetApiV1DeveloperAppsByAppUuidError, type GetApiV1DeveloperAppsByAppUuidErrors, type GetApiV1DeveloperAppsByAppUuidResponse, type GetApiV1DeveloperAppsByAppUuidResponses, type GetApiV1DeveloperAppsByAppUuidUsageData, type GetApiV1DeveloperAppsByAppUuidUsageError, type GetApiV1DeveloperAppsByAppUuidUsageErrors, type GetApiV1DeveloperAppsByAppUuidUsageResponse, type GetApiV1DeveloperAppsByAppUuidUsageResponses, type GetApiV1DeveloperAppsByAppUuidUsageUsersData, type GetApiV1DeveloperAppsByAppUuidUsageUsersError, type GetApiV1DeveloperAppsByAppUuidUsageUsersErrors, type GetApiV1DeveloperAppsByAppUuidUsageUsersResponse, type GetApiV1DeveloperAppsByAppUuidUsageUsersResponses, type GetApiV1DeveloperAppsByAppUuidUsersByAddressData, type GetApiV1DeveloperAppsByAppUuidUsersByAddressError, type GetApiV1DeveloperAppsByAppUuidUsersByAddressErrors, type GetApiV1DeveloperAppsByAppUuidUsersByAddressResponse, type GetApiV1DeveloperAppsByAppUuidUsersByAddressResponses, type GetApiV1DeveloperAppsByAppUuidUsersData, type GetApiV1DeveloperAppsByAppUuidUsersError, type GetApiV1DeveloperAppsByAppUuidUsersErrors, type GetApiV1DeveloperAppsByAppUuidUsersResponse, type GetApiV1DeveloperAppsByAppUuidUsersResponses, type GetApiV1DeveloperAppsData, type GetApiV1DeveloperAppsError, type GetApiV1DeveloperAppsErrors, type GetApiV1DeveloperAppsResponse, type GetApiV1DeveloperAppsResponses, type GetApiV1DeveloperBillingData, type GetApiV1DeveloperBillingError, type GetApiV1DeveloperBillingErrors, type GetApiV1DeveloperBillingResponse, type GetApiV1DeveloperBillingResponses, type GetApiV1DocsSwaggerJsonData, type GetApiV1DocsSwaggerJsonResponse, type GetApiV1DocsSwaggerJsonResponses, type GetApiV1ModelsData, type GetApiV1ModelsError, type GetApiV1ModelsErrors, type GetApiV1ModelsResponse, type GetApiV1ModelsResponses, type GetApiV1PersonasByIdData, type GetApiV1PersonasByIdError, type GetApiV1PersonasByIdErrors, type GetApiV1PersonasByIdResponse, type GetApiV1PersonasByIdResponses, type GetApiV1PersonasData, type GetApiV1PersonasError, type GetApiV1PersonasErrors, type GetApiV1PersonasResponse, type GetApiV1PersonasResponses, type GetApiV1PhoneCallsByCallIdData, type GetApiV1PhoneCallsByCallIdError, type GetApiV1PhoneCallsByCallIdErrors, type GetApiV1PhoneCallsByCallIdResponse, type GetApiV1PhoneCallsByCallIdResponses, type GetApiV1SubscriptionsPlansData, type GetApiV1SubscriptionsPlansError, type GetApiV1SubscriptionsPlansErrors, type GetApiV1SubscriptionsPlansResponse, type GetApiV1SubscriptionsPlansResponses, type GetApiV1SubscriptionsStatusData, type GetApiV1SubscriptionsStatusError, type GetApiV1SubscriptionsStatusErrors, type GetApiV1SubscriptionsStatusResponse, type GetApiV1SubscriptionsStatusResponses, type GetApiV1ToolsData, type GetApiV1ToolsError, type GetApiV1ToolsErrors, type GetApiV1ToolsResponse, type GetApiV1ToolsResponses, type GetApiV1UsageInferenceWeeklyData, type GetApiV1UsageInferenceWeeklyResponse, type GetApiV1UsageInferenceWeeklyResponses, type GetApiV1UsageModelsData, type GetApiV1UsageModelsError, type GetApiV1UsageModelsErrors, type GetApiV1UsageModelsResponse, type GetApiV1UsageModelsResponses, type GetApiV1UserApiKeysData, type GetApiV1UserApiKeysError, type GetApiV1UserApiKeysErrors, type GetApiV1UserApiKeysResponse, type GetApiV1UserApiKeysResponses, type GetApiV1WalletsBindingData, type GetApiV1WalletsBindingError, type GetApiV1WalletsBindingErrors, type GetApiV1WalletsBindingResponse, type GetApiV1WalletsBindingResponses, type GetApiV1ZetaCreditRateData, type GetApiV1ZetaCreditRateResponse, type GetApiV1ZetaCreditRateResponses, type GetApiV1ZetaMarketData, type GetApiV1ZetaMarketResponse, type GetApiV1ZetaMarketResponses, type GetHealthData, type GetHealthError, type GetHealthErrors, type GetHealthResponse, type GetHealthResponses, type HandlersAddCreditsRequest, type HandlersAddCreditsResponse, type HandlersAgentListItem, type HandlersAgentListResponse, type HandlersAgentResponse, type HandlersApiKeyResponse, type HandlersApiKeyWithKeyResponse, type HandlersAppConfig, type HandlersAppResponse, type HandlersAppUsageResponse, type HandlersAppUserUsageResponse, type HandlersBillingHistoryResponse, type HandlersBillingRecordResponse, type HandlersBindRequest, type HandlersBoundWalletResponse, type HandlersCancelScheduledDowngradeResponse, type HandlersCancelSubscriptionResponse, type HandlersCheckoutSessionResponse, type HandlersConfigResponse, type HandlersConfigurePrivyRequest, type HandlersCreateAgentRequest, type HandlersCreateApiKeyRequest, type HandlersCreateAppRequest, type HandlersCreateCheckoutSessionRequest, type HandlersCreateCreditPackCheckoutRequest, type HandlersCreateCustomerPortalRequest, type HandlersCreateDeveloperAppRequest, type HandlersCreatePersonaRequest, type HandlersCreatePhoneCallRequest, type HandlersCreditBalanceResponse, type HandlersCreditPack, type HandlersCreditPacksResponse, type HandlersCreditRateResponse, type HandlersCustomerPortalResponse, type HandlersDeveloperApiKeyRequest, type HandlersDeveloperApiKeyResponse, type HandlersDeveloperApiKeyWithSecretResponse, type HandlersDeveloperAppResponse, type HandlersDeveloperUserResponse, type HandlersExchangeRequest, type HandlersExpiringCredits, type HandlersFundDeveloperAppRequest, type HandlersGeneratedApiKey, type HandlersGetToolsResponse, type HandlersHealthResponse, type HandlersInferenceWeeklyResponse, type HandlersListApiKeysResponse, type HandlersListAppsResponse, type HandlersListDeveloperApiKeysResponse, type HandlersListDeveloperAppsResponse, type HandlersListResponse, type HandlersListTotals, type HandlersListUserApiKeysResponse, type HandlersListUsersResponse, type HandlersModelToolUsageItem, type HandlersModelUsageItem, type HandlersNonceResponse, type HandlersPaginationResponse, type HandlersPersonaListResponse, type HandlersPersonaResponse, type HandlersPhoneCallResponse, type HandlersPhoneCallTranscriptEntry, type HandlersProInfo, type HandlersRedeemTokensRequest, type HandlersRedeemTokensResponse, type HandlersRefreshRequest, type HandlersRenewSubscriptionResponse, type HandlersRevokeRequest, type HandlersScheduleDowngradeRequest, type HandlersScheduleDowngradeResponse, type HandlersSeedApiKeyInput, type HandlersSeedAppInput, type HandlersSeedAppsRequest, type HandlersSeedAppsResponse, type HandlersSetSubscriptionTierRequest, type HandlersSetSubscriptionTierResponse, type HandlersSetUserAgentPreferenceRequest, type HandlersSubscriptionPlan, type HandlersSubscriptionPlansResponse, type HandlersSubscriptionStatusResponse, type HandlersTokenResponse, type HandlersTool, type HandlersToolCallDetailItem, type HandlersTopUpUserRequest, type HandlersUpdateAgentRequest, type HandlersUpdateApiKeyRequest, type HandlersUpdateAppRequest, type HandlersUpdateDeveloperAppRequest, type HandlersUpdatePersonaRequest, type HandlersUpdateUserLimitRequest, type HandlersUpgradeSubscriptionRequest, type HandlersUpgradeSubscriptionResponse, type HandlersUsageByModelResponse, type HandlersUsagePeriod, type HandlersUsageTimeseriesPoint, type HandlersUsageTotals, type HandlersUserAgentPreferenceResponse, type HandlersUserAgentPreferencesListResponse, type HandlersUserApiKeyRequest, type HandlersUserApiKeyResponse, type HandlersUserApiKeyWithSecretResponse, type HandlersUserLookupAccount, type HandlersUserLookupEnrollment, type HandlersUserLookupResponse, type HandlersUserLookupTextReg, type HandlersUserUsageResponse, type HandlersWalletDetails, type HandlersWeeklyInferenceItem, type HandlersZetaMarketResponse, type LazyStoredConversation, type LlmapiChatCompletionExtraFields, type LlmapiChatCompletionRequest, type LlmapiChatCompletionResponse, type LlmapiChatCompletionTool, type LlmapiChatCompletionToolChoice, type LlmapiChatCompletionUsage, type OpenaiChatCompletionChoice as LlmapiChoice, type LlmapiEmbeddingData, type LlmapiEmbeddingExtraFields, type LlmapiEmbeddingRequest, type LlmapiEmbeddingResponse, type LlmapiEmbeddingUsage, type LlmapiMcpTool, type LlmapiMessage, type LlmapiMessageContentFile, type LlmapiMessageContentImage, type LlmapiMessageContentPart, type LlmapiModel, type LlmapiModelArchitecture, type LlmapiModelPerRequestLimits, type LlmapiModelPricing, type LlmapiModelTopProvider, type LlmapiModelsListExtraFields, type LlmapiModelsListResponse, type LlmapiPortalChatCompletionRequest, type LlmapiPortalChatCompletionResponse, type LlmapiResponseExtraFields, type LlmapiResponseInput, type LlmapiResponseOutputContent, type LlmapiResponseOutputItem, type LlmapiResponseReasoning, type LlmapiResponseRequest, type LlmapiResponseResponse, type LlmapiResponseTool, type LlmapiResponseToolChoice, type LlmapiResponseUsage, type LlmapiRole, type LlmapiThinkingOptions, type LlmapiToolCall, type LlmapiToolCallEvent, type LlmapiToolCallFunction, type Logger, MULTILINE_FIELD_MAX, type McpToolSchema, type MessageRedactionResult, type NerDetector, type Options, PII_PATTERNS, type PatchApiV1DeveloperAppsByAppUuidData, type PatchApiV1DeveloperAppsByAppUuidError, type PatchApiV1DeveloperAppsByAppUuidErrors, type PatchApiV1DeveloperAppsByAppUuidResponse, type PatchApiV1DeveloperAppsByAppUuidResponses, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressData, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressError, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressErrors, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressResponse, type PatchApiV1DeveloperAppsByAppUuidUsersByAddressResponses, type PiiCategory, type PiiMatch, type PiiPattern, PiiRedactor, type PiiRedactorOptions, type PiiSpan, type PostApiV1AdminAddCreditsData, type PostApiV1AdminAddCreditsError, type PostApiV1AdminAddCreditsErrors, type PostApiV1AdminAddCreditsResponse, type PostApiV1AdminAddCreditsResponses, type PostApiV1AdminAgentsData, type PostApiV1AdminAgentsError, type PostApiV1AdminAgentsErrors, type PostApiV1AdminAgentsResponse, type PostApiV1AdminAgentsResponses, type PostApiV1AdminAppsByAppIdApiKeysData, type PostApiV1AdminAppsByAppIdApiKeysError, type PostApiV1AdminAppsByAppIdApiKeysErrors, type PostApiV1AdminAppsByAppIdApiKeysResponse, type PostApiV1AdminAppsByAppIdApiKeysResponses, type PostApiV1AdminAppsData, type PostApiV1AdminAppsError, type PostApiV1AdminAppsErrors, type PostApiV1AdminAppsResponse, type PostApiV1AdminAppsResponses, type PostApiV1AdminPersonasData, type PostApiV1AdminPersonasError, type PostApiV1AdminPersonasErrors, type PostApiV1AdminPersonasResponse, type PostApiV1AdminPersonasResponses, type PostApiV1AdminSeedAppsData, type PostApiV1AdminSeedAppsError, type PostApiV1AdminSeedAppsErrors, type PostApiV1AdminSeedAppsResponse, type PostApiV1AdminSeedAppsResponses, type PostApiV1AdminSubscriptionTierData, type PostApiV1AdminSubscriptionTierError, type PostApiV1AdminSubscriptionTierErrors, type PostApiV1AdminSubscriptionTierResponse, type PostApiV1AdminSubscriptionTierResponses, type PostApiV1ChatCompletionsData, type PostApiV1ChatCompletionsError, type PostApiV1ChatCompletionsErrors, type PostApiV1ChatCompletionsResponse, type PostApiV1ChatCompletionsResponses, type PostApiV1CreditsPurchaseData, type PostApiV1CreditsPurchaseError, type PostApiV1CreditsPurchaseErrors, type PostApiV1CreditsPurchaseResponse, type PostApiV1CreditsPurchaseResponses, type PostApiV1CreditsRedeemTokensData, type PostApiV1CreditsRedeemTokensError, type PostApiV1CreditsRedeemTokensErrors, type PostApiV1CreditsRedeemTokensResponse, type PostApiV1CreditsRedeemTokensResponses, type PostApiV1DeveloperAppsByAppUuidApiKeysData, type PostApiV1DeveloperAppsByAppUuidApiKeysError, type PostApiV1DeveloperAppsByAppUuidApiKeysErrors, type PostApiV1DeveloperAppsByAppUuidApiKeysResponse, type PostApiV1DeveloperAppsByAppUuidApiKeysResponses, type PostApiV1DeveloperAppsByAppUuidFundData, type PostApiV1DeveloperAppsByAppUuidFundError, type PostApiV1DeveloperAppsByAppUuidFundErrors, type PostApiV1DeveloperAppsByAppUuidFundResponse, type PostApiV1DeveloperAppsByAppUuidFundResponses, type PostApiV1DeveloperAppsByAppUuidPrivyData, type PostApiV1DeveloperAppsByAppUuidPrivyError, type PostApiV1DeveloperAppsByAppUuidPrivyErrors, type PostApiV1DeveloperAppsByAppUuidPrivyResponse, type PostApiV1DeveloperAppsByAppUuidPrivyResponses, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpData, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpError, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpErrors, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpResponse, type PostApiV1DeveloperAppsByAppUuidUsersByAddressTopUpResponses, type PostApiV1DeveloperAppsData, type PostApiV1DeveloperAppsError, type PostApiV1DeveloperAppsErrors, type PostApiV1DeveloperAppsResponse, type PostApiV1DeveloperAppsResponses, type PostApiV1EmbeddingsData, type PostApiV1EmbeddingsError, type PostApiV1EmbeddingsErrors, type PostApiV1EmbeddingsResponse, type PostApiV1EmbeddingsResponses, type PostApiV1PhoneCallsData, type PostApiV1PhoneCallsError, type PostApiV1PhoneCallsErrors, type PostApiV1PhoneCallsResponse, type PostApiV1PhoneCallsResponses, type PostApiV1ResponsesData, type PostApiV1ResponsesError, type PostApiV1ResponsesErrors, type PostApiV1ResponsesResponse, type PostApiV1ResponsesResponses, type PostApiV1SubscriptionsCancelData, type PostApiV1SubscriptionsCancelError, type PostApiV1SubscriptionsCancelErrors, type PostApiV1SubscriptionsCancelResponse, type PostApiV1SubscriptionsCancelResponses, type PostApiV1SubscriptionsCancelScheduledDowngradeData, type PostApiV1SubscriptionsCancelScheduledDowngradeError, type PostApiV1SubscriptionsCancelScheduledDowngradeErrors, type PostApiV1SubscriptionsCancelScheduledDowngradeResponse, type PostApiV1SubscriptionsCancelScheduledDowngradeResponses, type PostApiV1SubscriptionsCreateCheckoutSessionData, type PostApiV1SubscriptionsCreateCheckoutSessionError, type PostApiV1SubscriptionsCreateCheckoutSessionErrors, type PostApiV1SubscriptionsCreateCheckoutSessionResponse, type PostApiV1SubscriptionsCreateCheckoutSessionResponses, type PostApiV1SubscriptionsCustomerPortalData, type PostApiV1SubscriptionsCustomerPortalError, type PostApiV1SubscriptionsCustomerPortalErrors, type PostApiV1SubscriptionsCustomerPortalResponse, type PostApiV1SubscriptionsCustomerPortalResponses, type PostApiV1SubscriptionsRenewData, type PostApiV1SubscriptionsRenewError, type PostApiV1SubscriptionsRenewErrors, type PostApiV1SubscriptionsRenewResponse, type PostApiV1SubscriptionsRenewResponses, type PostApiV1SubscriptionsScheduleDowngradeData, type PostApiV1SubscriptionsScheduleDowngradeError, type PostApiV1SubscriptionsScheduleDowngradeErrors, type PostApiV1SubscriptionsScheduleDowngradeResponse, type PostApiV1SubscriptionsScheduleDowngradeResponses, type PostApiV1SubscriptionsUpgradeData, type PostApiV1SubscriptionsUpgradeError, type PostApiV1SubscriptionsUpgradeErrors, type PostApiV1SubscriptionsUpgradeResponse, type PostApiV1SubscriptionsUpgradeResponses, type PostApiV1SubscriptionsWebhookData, type PostApiV1SubscriptionsWebhookError, type PostApiV1SubscriptionsWebhookErrors, type PostApiV1SubscriptionsWebhookResponse, type PostApiV1SubscriptionsWebhookResponses, type PostApiV1UserApiKeysData, type PostApiV1UserApiKeysError, type PostApiV1UserApiKeysErrors, type PostApiV1UserApiKeysResponse, type PostApiV1UserApiKeysResponses, type PostApiV1WalletsBindingData, type PostApiV1WalletsBindingError, type PostApiV1WalletsBindingErrors, type PostApiV1WalletsBindingNonceData, type PostApiV1WalletsBindingNonceError, type PostApiV1WalletsBindingNonceErrors, type PostApiV1WalletsBindingNonceResponse, type PostApiV1WalletsBindingNonceResponses, type PostApiV1WalletsBindingResponse, type PostApiV1WalletsBindingResponses, type PostApiV1WebhooksRevenuecatData, type PostApiV1WebhooksRevenuecatError, type PostApiV1WebhooksRevenuecatErrors, type PostApiV1WebhooksRevenuecatResponse, type PostApiV1WebhooksRevenuecatResponses, type PostAuthOauthByProviderExchangeData, type PostAuthOauthByProviderExchangeError, type PostAuthOauthByProviderExchangeErrors, type PostAuthOauthByProviderExchangeResponse, type PostAuthOauthByProviderExchangeResponses, type PostAuthOauthByProviderRefreshData, type PostAuthOauthByProviderRefreshError, type PostAuthOauthByProviderRefreshErrors, type PostAuthOauthByProviderRefreshResponse, type PostAuthOauthByProviderRefreshResponses, type PostAuthOauthByProviderRevokeData, type PostAuthOauthByProviderRevokeError, type PostAuthOauthByProviderRevokeErrors, type PostAuthOauthByProviderRevokeResponse, type PostAuthOauthByProviderRevokeResponses, type PromptContext, type PromptSection, type PromptTemplates, type PutApiV1AdminAgentsByIdData, type PutApiV1AdminAgentsByIdError, type PutApiV1AdminAgentsByIdErrors, type PutApiV1AdminAgentsByIdResponse, type PutApiV1AdminAgentsByIdResponses, type PutApiV1AdminAppsByAppIdApiKeysByIdData, type PutApiV1AdminAppsByAppIdApiKeysByIdError, type PutApiV1AdminAppsByAppIdApiKeysByIdErrors, type PutApiV1AdminAppsByAppIdApiKeysByIdResponse, type PutApiV1AdminAppsByAppIdApiKeysByIdResponses, type PutApiV1AdminAppsByIdData, type PutApiV1AdminAppsByIdError, type PutApiV1AdminAppsByIdErrors, type PutApiV1AdminAppsByIdResponse, type PutApiV1AdminAppsByIdResponses, type PutApiV1AdminPersonasByIdData, type PutApiV1AdminPersonasByIdError, type PutApiV1AdminPersonasByIdErrors, type PutApiV1AdminPersonasByIdResponse, type PutApiV1AdminPersonasByIdResponses, type PutApiV1AgentsByIdPreferenceData, type PutApiV1AgentsByIdPreferenceError, type PutApiV1AgentsByIdPreferenceErrors, type PutApiV1AgentsByIdPreferenceResponse, type PutApiV1AgentsByIdPreferenceResponses, type QuantizedEmbedding, type RedactionResult, type ResponseErrorResponse, type SelectServerSideToolsOptions, type SkillConfig, type SkillJourneyDefinition, type SkillJourneyField, type SkillJourneyFieldType, SseIdleTimeoutError, type SseKeepaliveOptions, type StyleAnalysisSchedule, TOOL_CATALOG, TOOL_RESULT_ORIGIN, type ToolSet, activatedToolSetNames, analyzeStyle, applyToolSets, buildConnectorGuidance, buildDeniedToolsRider, buildSystemPrompt, clearLazyTitleCache, consoleLogger, cosineInt8, createServerToolsFilter, createStreamingDeAnonymizer, decodeChunkVector, decryptConversationTitle, defaultServerToolsFilter, deleteApiV1Account, deleteApiV1AdminAgentsById, deleteApiV1AdminAppsByAppIdApiKeysById, deleteApiV1AdminAppsById, deleteApiV1AdminPersonasById, deleteApiV1AdminTextReset, deleteApiV1DeveloperAppsByAppUuid, deleteApiV1DeveloperAppsByAppUuidApiKeysByKeyId, deleteApiV1DeveloperAppsByAppUuidPrivy, deleteApiV1UserApiKeysByKeyId, deleteApiV1WalletsBindingByAddress, dequantizeEmbedding, encodeChunkVector, expandToolSetsAdditive, getApiV1AdminApps, getApiV1AdminAppsByAppIdApiKeys, getApiV1AdminAppsByAppIdApiKeysById, getApiV1AdminAppsById, getApiV1AdminUsersLookup, getApiV1AgentPreferences, getApiV1Agents, getApiV1AgentsById, getApiV1Config, getApiV1CreditsBalance, getApiV1CreditsPacks, getApiV1DeveloperApps, getApiV1DeveloperAppsByAppUuid, getApiV1DeveloperAppsByAppUuidApiKeys, getApiV1DeveloperAppsByAppUuidUsage, getApiV1DeveloperAppsByAppUuidUsageUsers, getApiV1DeveloperAppsByAppUuidUsers, getApiV1DeveloperAppsByAppUuidUsersByAddress, getApiV1DeveloperBilling, getApiV1DocsSwaggerJson, getApiV1Models, getApiV1Personas, getApiV1PersonasById, getApiV1PhoneCallsByCallId, getApiV1SubscriptionsPlans, getApiV1SubscriptionsStatus, getApiV1Tools, getApiV1UsageInferenceWeekly, getApiV1UsageModels, getApiV1UserApiKeys, getApiV1WalletsBinding, getApiV1ZetaCreditRate, getApiV1ZetaMarket, getCostMicroUsd, getCreditsUsed, getHealth, getImageModel, getLogger, getToolCallEvents, isPiiRedactor, noopLogger, patchApiV1DeveloperAppsByAppUuid, patchApiV1DeveloperAppsByAppUuidUsersByAddress, postApiV1AdminAddCredits, postApiV1AdminAgents, postApiV1AdminApps, postApiV1AdminAppsByAppIdApiKeys, postApiV1AdminPersonas, postApiV1AdminSeedApps, postApiV1AdminSubscriptionTier, postApiV1ChatCompletions, postApiV1CreditsPurchase, postApiV1CreditsRedeemTokens, postApiV1DeveloperApps, postApiV1DeveloperAppsByAppUuidApiKeys, postApiV1DeveloperAppsByAppUuidFund, postApiV1DeveloperAppsByAppUuidPrivy, postApiV1DeveloperAppsByAppUuidUsersByAddressTopUp, postApiV1Embeddings, postApiV1PhoneCalls, postApiV1Responses, postApiV1SubscriptionsCancel, postApiV1SubscriptionsCancelScheduledDowngrade, postApiV1SubscriptionsCreateCheckoutSession, postApiV1SubscriptionsCustomerPortal, postApiV1SubscriptionsRenew, postApiV1SubscriptionsScheduleDowngrade, postApiV1SubscriptionsUpgrade, postApiV1SubscriptionsWebhook, postApiV1UserApiKeys, postApiV1WalletsBinding, postApiV1WalletsBindingNonce, postApiV1WebhooksRevenuecat, postAuthOauthByProviderExchange, postAuthOauthByProviderRefresh, postAuthOauthByProviderRevoke, putApiV1AdminAgentsById, putApiV1AdminAppsByAppIdApiKeysById, putApiV1AdminAppsById, putApiV1AdminPersonasById, putApiV1AgentsByIdPreference, quantizeEmbedding, renderTemplate, resolvePiiRedactor, sanitizeQuotes, selectServerSideTools, setLogger, shouldAnalyzeStyle, toolSetSystemPrompts, withSseKeepalive };
|