@anuma/sdk 6.7.3 → 6.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/{react/chunk-5GBYOWRY.mjs → expo/chunk-CJ32HO6Q.mjs} +14 -1
  2. package/dist/expo/{chunk-ITRFWFNS.mjs → chunk-OUFITMDL.mjs} +1 -1
  3. package/dist/expo/{chunk-37VWRZTL.mjs → chunk-YO5UXOC4.mjs} +3 -2
  4. package/dist/{react/consolidate-FNFIDL37.mjs → expo/consolidate-4BMNVOL4.mjs} +3 -2
  5. package/dist/expo/index.cjs +34 -2
  6. package/dist/expo/index.d.mts +38 -0
  7. package/dist/expo/index.d.ts +38 -0
  8. package/dist/expo/index.mjs +16 -5
  9. package/dist/expo/{recall-FZ7JC4AX.mjs → recall-IEKVX4JL.mjs} +2 -2
  10. package/dist/index.cjs +10 -0
  11. package/dist/index.d.mts +49 -1
  12. package/dist/index.d.ts +49 -1
  13. package/dist/index.mjs +8 -0
  14. package/dist/{expo/chunk-5GBYOWRY.mjs → react/chunk-CJ32HO6Q.mjs} +14 -1
  15. package/dist/react/{chunk-ZZDMEEHO.mjs → chunk-DY5VGC6K.mjs} +1 -1
  16. package/dist/react/{chunk-NC7BZEEF.mjs → chunk-POCLKALT.mjs} +3 -2
  17. package/dist/{expo/consolidate-H6YD36XI.mjs → react/consolidate-5TP3J6BY.mjs} +3 -2
  18. package/dist/react/index.cjs +34 -2
  19. package/dist/react/index.d.mts +38 -0
  20. package/dist/react/index.d.ts +38 -0
  21. package/dist/react/index.mjs +16 -5
  22. package/dist/react/{recall-546HTUPK.mjs → recall-B2AIAPCM.mjs} +2 -2
  23. package/dist/server/{chunk-G6IH6QTZ.mjs → chunk-FS6DNUNT.mjs} +3 -2
  24. package/dist/server/{chunk-I2U35Z3O.mjs → chunk-KF5OU4IN.mjs} +14 -1
  25. package/dist/server/{chunk-5KIUGHQZ.mjs → chunk-MEQ2PAEX.mjs} +1 -1
  26. package/dist/server/{consolidate-S7QZ7V6T.mjs → consolidate-QDWEYFTZ.mjs} +3 -2
  27. package/dist/server/index.cjs +34 -2
  28. package/dist/server/index.d.mts +38 -0
  29. package/dist/server/index.d.ts +38 -0
  30. package/dist/server/index.mjs +16 -5
  31. package/dist/server/{recall-BIPVQMG4.mjs → recall-2GAPE2XH.mjs} +2 -2
  32. package/package.json +1 -1
@@ -53,6 +53,12 @@ function withInternalFlowMarker(systemPrompt) {
53
53
  ${systemPrompt}`;
54
54
  }
55
55
 
56
+ // src/lib/taskType.ts
57
+ var TASK_TYPE_HEADER = "X-Anuma-Task-Type";
58
+ function taskTypeHeader(taskType) {
59
+ return taskType ? { [TASK_TYPE_HEADER]: taskType } : {};
60
+ }
61
+
56
62
  // src/lib/memory/portalLlm.ts
57
63
  function defaultBaseUrl() {
58
64
  return typeof process !== "undefined" && process.env?.ANUMA_PORTAL_BASE_URL || BASE_URL;
@@ -195,7 +201,13 @@ async function attemptPortalJson(req, endpoint) {
195
201
  try {
196
202
  response = await fetchImpl(`${baseUrl}${endpoint}`, {
197
203
  method: "POST",
198
- headers: { ...authHeaders, "Content-Type": "application/json" },
204
+ // Attached HERE, at the one transport every background memory op shares, so
205
+ // a new flow gets the provenance by construction rather than by remembering.
206
+ headers: {
207
+ ...authHeaders,
208
+ ...taskTypeHeader(req.taskType),
209
+ "Content-Type": "application/json"
210
+ },
199
211
  body: JSON.stringify(requestBody),
200
212
  signal: controller.signal
201
213
  });
@@ -343,6 +355,7 @@ export {
343
355
  validateEndpointOverride,
344
356
  INTERNAL_FLOW_MARKER,
345
357
  withInternalFlowMarker,
358
+ taskTypeHeader,
346
359
  supportsResponseFormat,
347
360
  resolvePortalAuthHeaders,
348
361
  callPortalJsonCompletion,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getLogger
3
- } from "./chunk-5GBYOWRY.mjs";
3
+ } from "./chunk-CJ32HO6Q.mjs";
4
4
 
5
5
  // src/lib/pii/patterns.ts
6
6
  function luhnCheck(digits) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  callPortalJsonCompletion,
3
3
  getLogger
4
- } from "./chunk-5GBYOWRY.mjs";
4
+ } from "./chunk-CJ32HO6Q.mjs";
5
5
  import {
6
6
  BASE_URL,
7
7
  createClientConfig
@@ -6807,7 +6807,7 @@ function createMemoryVaultSearchTool(vaultCtx, embeddingOptions, cache, searchOp
6807
6807
  subQueries = decomp.subQueries;
6808
6808
  }
6809
6809
  }
6810
- const { recall: recall2 } = await import("./recall-FZ7JC4AX.mjs");
6810
+ const { recall: recall2 } = await import("./recall-IEKVX4JL.mjs");
6811
6811
  let recallDegraded = [];
6812
6812
  const result = await recall2(
6813
6813
  query,
@@ -7074,6 +7074,7 @@ Output strict JSON, no prose: { "expand": [<entity names to expand, verbatim fro
7074
7074
  ...options.apiKey !== void 0 && { apiKey: options.apiKey },
7075
7075
  ...options.getToken !== void 0 && { getToken: options.getToken },
7076
7076
  ...options.baseUrl !== void 0 && { baseUrl: options.baseUrl },
7077
+ taskType: "memory_graph",
7077
7078
  model: options.model ?? DEFAULT_REFINER_MODEL,
7078
7079
  systemPrompt,
7079
7080
  userMessage: `Question: ${query}
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  notifyConsolidationFallback,
3
3
  resolvePiiRedactor
4
- } from "./chunk-ZZDMEEHO.mjs";
4
+ } from "./chunk-OUFITMDL.mjs";
5
5
  import {
6
6
  callPortalJsonCompletion
7
- } from "./chunk-5GBYOWRY.mjs";
7
+ } from "./chunk-CJ32HO6Q.mjs";
8
8
  import "./chunk-GYKJOWEO.mjs";
9
9
 
10
10
  // src/lib/memory/consolidate.ts
@@ -77,6 +77,7 @@ ${candidateText}`;
77
77
  ...options.apiKey !== void 0 && { apiKey: options.apiKey },
78
78
  ...options.getToken !== void 0 && { getToken: options.getToken },
79
79
  ...options.baseUrl !== void 0 && { baseUrl: options.baseUrl },
80
+ taskType: "memory_consolidate",
80
81
  model: options.model ?? DEFAULT_CONSOLIDATION_MODEL,
81
82
  systemPrompt: SYSTEM_PROMPT,
82
83
  userMessage,
@@ -4578,6 +4578,18 @@ var init_internalFlowMarker = __esm({
4578
4578
  }
4579
4579
  });
4580
4580
 
4581
+ // src/lib/taskType.ts
4582
+ function taskTypeHeader(taskType) {
4583
+ return taskType ? { [TASK_TYPE_HEADER]: taskType } : {};
4584
+ }
4585
+ var TASK_TYPE_HEADER;
4586
+ var init_taskType = __esm({
4587
+ "src/lib/taskType.ts"() {
4588
+ "use strict";
4589
+ TASK_TYPE_HEADER = "X-Anuma-Task-Type";
4590
+ }
4591
+ });
4592
+
4581
4593
  // src/lib/db/entities/types.ts
4582
4594
  function normalizeEntityName(name) {
4583
4595
  return name.trim().toLowerCase();
@@ -6231,7 +6243,13 @@ async function attemptPortalJson(req, endpoint) {
6231
6243
  try {
6232
6244
  response = await fetchImpl(`${baseUrl}${endpoint}`, {
6233
6245
  method: "POST",
6234
- headers: { ...authHeaders, "Content-Type": "application/json" },
6246
+ // Attached HERE, at the one transport every background memory op shares, so
6247
+ // a new flow gets the provenance by construction rather than by remembering.
6248
+ headers: {
6249
+ ...authHeaders,
6250
+ ...taskTypeHeader(req.taskType),
6251
+ "Content-Type": "application/json"
6252
+ },
6235
6253
  body: JSON.stringify(requestBody),
6236
6254
  signal: controller.signal
6237
6255
  });
@@ -6378,6 +6396,7 @@ var init_portalLlm = __esm({
6378
6396
  init_endpointOverride();
6379
6397
  init_internalFlowMarker();
6380
6398
  init_logger();
6399
+ init_taskType();
6381
6400
  RESPONSE_FORMAT_OK = /* @__PURE__ */ new Set(["openai", "inclusionai", "deepseek"]);
6382
6401
  RESPONSE_SCHEMA_OK = /* @__PURE__ */ new Set(["openai"]);
6383
6402
  RETRYABLE_HTTP = /* @__PURE__ */ new Set([408, 409, 425, 429]);
@@ -7164,6 +7183,7 @@ Output strict JSON, no prose: { "expand": [<entity names to expand, verbatim fro
7164
7183
  ...options.apiKey !== void 0 && { apiKey: options.apiKey },
7165
7184
  ...options.getToken !== void 0 && { getToken: options.getToken },
7166
7185
  ...options.baseUrl !== void 0 && { baseUrl: options.baseUrl },
7186
+ taskType: "memory_graph",
7167
7187
  model: options.model ?? DEFAULT_REFINER_MODEL,
7168
7188
  systemPrompt,
7169
7189
  userMessage: `Question: ${query}
@@ -9247,6 +9267,7 @@ ${candidateText}`;
9247
9267
  ...options.apiKey !== void 0 && { apiKey: options.apiKey },
9248
9268
  ...options.getToken !== void 0 && { getToken: options.getToken },
9249
9269
  ...options.baseUrl !== void 0 && { baseUrl: options.baseUrl },
9270
+ taskType: "memory_consolidate",
9250
9271
  model: options.model ?? DEFAULT_CONSOLIDATION_MODEL,
9251
9272
  systemPrompt: SYSTEM_PROMPT3,
9252
9273
  userMessage,
@@ -14080,6 +14101,7 @@ async function deleteConversationSummaryOp(ctx, conversationId) {
14080
14101
  // src/lib/chat/summarize.ts
14081
14102
  init_internalFlowMarker();
14082
14103
  init_logger();
14104
+ init_taskType();
14083
14105
  var DEFAULT_SUMMARY_TOKEN_THRESHOLD = 4e3;
14084
14106
  var DEFAULT_SUMMARY_MIN_WINDOW_MESSAGES = 4;
14085
14107
  var DEFAULT_SUMMARY_MODEL = "cerebras/qwen-3-235b-a22b-instruct-2507";
@@ -14266,7 +14288,12 @@ async function callSummarizationLlm(prompt, model, token, baseUrl) {
14266
14288
  method: "POST",
14267
14289
  headers: {
14268
14290
  "Content-Type": "application/json",
14269
- Authorization: `Bearer ${token}`
14291
+ Authorization: `Bearer ${token}`,
14292
+ // Names the task so the portal can own this prompt server-side instead of
14293
+ // trusting the one we build. Summarization is the archetypal Class-B flow:
14294
+ // one fixed purpose, no conversation, and today its instructions are ours
14295
+ // to reword.
14296
+ ...taskTypeHeader("summarize")
14270
14297
  },
14271
14298
  body: JSON.stringify({
14272
14299
  model,
@@ -15899,6 +15926,7 @@ async function classifyInjectionCandidates(candidates, options) {
15899
15926
  ...options.apiKey !== void 0 && { apiKey: options.apiKey },
15900
15927
  ...options.getToken !== void 0 && { getToken: options.getToken },
15901
15928
  ...options.baseUrl !== void 0 && { baseUrl: options.baseUrl },
15929
+ taskType: "memory_injection_check",
15902
15930
  model: options.model ?? DEFAULT_MODEL,
15903
15931
  systemPrompt: SYSTEM_PROMPT,
15904
15932
  userMessage: `Candidate facts:
@@ -16608,6 +16636,7 @@ async function extractFacts(messages, options) {
16608
16636
  ...options.apiKey !== void 0 && { apiKey: options.apiKey },
16609
16637
  ...options.getToken !== void 0 && { getToken: options.getToken },
16610
16638
  ...options.baseUrl !== void 0 && { baseUrl: options.baseUrl },
16639
+ taskType: "memory_extract",
16611
16640
  ...options.endpointOverride !== void 0 && {
16612
16641
  endpointOverride: options.endpointOverride
16613
16642
  },
@@ -17176,6 +17205,7 @@ function createLlmDecayClassifier(options) {
17176
17205
  ...options.apiKey !== void 0 && { apiKey: options.apiKey },
17177
17206
  ...options.getToken !== void 0 && { getToken: options.getToken },
17178
17207
  ...options.baseUrl !== void 0 && { baseUrl: options.baseUrl },
17208
+ taskType: "memory_decay",
17179
17209
  model: options.model ?? DEFAULT_MODEL3,
17180
17210
  systemPrompt: SYSTEM_PROMPT5,
17181
17211
  userMessage: `Memory content:
@@ -18333,6 +18363,7 @@ When a memory refers to one of these, reuse the EXACT existing name (same spelli
18333
18363
  ...options.apiKey !== void 0 && { apiKey: options.apiKey },
18334
18364
  ...options.getToken !== void 0 && { getToken: options.getToken },
18335
18365
  ...options.baseUrl !== void 0 && { baseUrl: options.baseUrl },
18366
+ taskType: "memory_topic",
18336
18367
  ...options.endpointOverride !== void 0 && {
18337
18368
  endpointOverride: options.endpointOverride
18338
18369
  },
@@ -18526,6 +18557,7 @@ ${evidence}`);
18526
18557
  ...options.apiKey !== void 0 && { apiKey: options.apiKey },
18527
18558
  ...options.getToken !== void 0 && { getToken: options.getToken },
18528
18559
  ...options.baseUrl !== void 0 && { baseUrl: options.baseUrl },
18560
+ taskType: "memory_verify_support",
18529
18561
  model: options.model ?? DEFAULT_MODEL5,
18530
18562
  systemPrompt: SYSTEM_PROMPT7,
18531
18563
  userMessage: `Stored facts and their sources:
@@ -4862,6 +4862,44 @@ interface EntityOperationsContext {
4862
4862
  allowUnscopedRows?: boolean;
4863
4863
  }
4864
4864
 
4865
+ /**
4866
+ * Shared portal LLM call for the memory pipeline.
4867
+ *
4868
+ * The three LLM-driven steps (`extractFacts`, `consolidateMemory`,
4869
+ * `decomposeQuery`) share the same shape: POST to `/api/v1/chat/completions`
4870
+ * with a system+user prompt and `response_format: json_object`, parse
4871
+ * `choices[0].message.content` as JSON, validate, return null on any failure.
4872
+ * This helper owns the fetch+timeout+parse+log boilerplate so each caller
4873
+ * stays focused on its prompt and validator.
4874
+ *
4875
+ * PROMPT CACHING. The portal inserts explicit prompt-cache breakpoints only for
4876
+ * `anthropic/` models. Its request schema does carry OpenAI's
4877
+ * `prompt_cache_key`, but that is a routing hint for OpenAI's own implicit
4878
+ * cache rather than a switch that enables caching, and we deliberately don't
4879
+ * send it: the memory pipeline runs open-weights models by default (gpt-oss for
4880
+ * extraction/topics, ling for consolidation), and this module already has one
4881
+ * hard lesson about OpenAI-standard fields a non-OpenAI provider hard-400s on
4882
+ * (`response_format`, below). Revisit only with a verified per-provider gate.
4883
+ *
4884
+ * So on the models this pipeline actually uses, the only cache that can hit is
4885
+ * the provider's own implicit prefix cache — which makes prefix stability the
4886
+ * one lever a caller controls. Messages are assembled system-first (below), so
4887
+ * every caller must pass a CONSTANT `systemPrompt` and keep all per-call
4888
+ * material in `userMessage`: a single interpolated timestamp, id, or count in a
4889
+ * system prompt shifts every byte after it and misses the cache on every
4890
+ * request thereafter. The memory callers are regression-gated on that property
4891
+ * in `promptPrefixStability.test.ts`.
4892
+ *
4893
+ * Whether those implicit caches hit is observable: each successful response
4894
+ * logs the portal's reported token counts at debug level, including
4895
+ * `portal.cached_tokens` (the prompt tokens the provider served from cache —
4896
+ * the portal omits the field when there was no hit). See {@link logPortalUsage}.
4897
+ *
4898
+ * There is no batch/async-bulk route on the portal, so a backfill or reindex
4899
+ * has no discounted-throughput path either; its only levers are the same stable
4900
+ * prefix and caller-side batching (e.g. topicExtract's 10-memories-per-call).
4901
+ */
4902
+
4865
4903
  /**
4866
4904
  * Auth for portal LLM calls (extraction, consolidation, decomposition,
4867
4905
  * reflection). Mirrors `memoryEngine`'s `EmbeddingOptions` dual-auth:
@@ -4862,6 +4862,44 @@ interface EntityOperationsContext {
4862
4862
  allowUnscopedRows?: boolean;
4863
4863
  }
4864
4864
 
4865
+ /**
4866
+ * Shared portal LLM call for the memory pipeline.
4867
+ *
4868
+ * The three LLM-driven steps (`extractFacts`, `consolidateMemory`,
4869
+ * `decomposeQuery`) share the same shape: POST to `/api/v1/chat/completions`
4870
+ * with a system+user prompt and `response_format: json_object`, parse
4871
+ * `choices[0].message.content` as JSON, validate, return null on any failure.
4872
+ * This helper owns the fetch+timeout+parse+log boilerplate so each caller
4873
+ * stays focused on its prompt and validator.
4874
+ *
4875
+ * PROMPT CACHING. The portal inserts explicit prompt-cache breakpoints only for
4876
+ * `anthropic/` models. Its request schema does carry OpenAI's
4877
+ * `prompt_cache_key`, but that is a routing hint for OpenAI's own implicit
4878
+ * cache rather than a switch that enables caching, and we deliberately don't
4879
+ * send it: the memory pipeline runs open-weights models by default (gpt-oss for
4880
+ * extraction/topics, ling for consolidation), and this module already has one
4881
+ * hard lesson about OpenAI-standard fields a non-OpenAI provider hard-400s on
4882
+ * (`response_format`, below). Revisit only with a verified per-provider gate.
4883
+ *
4884
+ * So on the models this pipeline actually uses, the only cache that can hit is
4885
+ * the provider's own implicit prefix cache — which makes prefix stability the
4886
+ * one lever a caller controls. Messages are assembled system-first (below), so
4887
+ * every caller must pass a CONSTANT `systemPrompt` and keep all per-call
4888
+ * material in `userMessage`: a single interpolated timestamp, id, or count in a
4889
+ * system prompt shifts every byte after it and misses the cache on every
4890
+ * request thereafter. The memory callers are regression-gated on that property
4891
+ * in `promptPrefixStability.test.ts`.
4892
+ *
4893
+ * Whether those implicit caches hit is observable: each successful response
4894
+ * logs the portal's reported token counts at debug level, including
4895
+ * `portal.cached_tokens` (the prompt tokens the provider served from cache —
4896
+ * the portal omits the field when there was no hit). See {@link logPortalUsage}.
4897
+ *
4898
+ * There is no batch/async-bulk route on the portal, so a backfill or reindex
4899
+ * has no discounted-throughput path either; its only levers are the same stable
4900
+ * prefix and caller-side batching (e.g. topicExtract's 10-memories-per-call).
4901
+ */
4902
+
4865
4903
  /**
4866
4904
  * Auth for portal LLM calls (extraction, consolidation, decomposition,
4867
4905
  * reflection). Mirrors `memoryEngine`'s `EmbeddingOptions` dual-auth:
@@ -132,7 +132,7 @@ import {
132
132
  upsertMessageOp,
133
133
  useEncryption,
134
134
  vaultMemoryToStored
135
- } from "./chunk-37VWRZTL.mjs";
135
+ } from "./chunk-YO5UXOC4.mjs";
136
136
  import {
137
137
  PII_PATTERNS,
138
138
  PiiRedactor,
@@ -140,7 +140,7 @@ import {
140
140
  isPiiRedactor,
141
141
  notifyConsolidationFallback,
142
142
  resolvePiiRedactor
143
- } from "./chunk-ITRFWFNS.mjs";
143
+ } from "./chunk-OUFITMDL.mjs";
144
144
  import {
145
145
  INTERNAL_FLOW_MARKER,
146
146
  callPortalJsonCompletion,
@@ -151,9 +151,10 @@ import {
151
151
  resolvePortalAuthHeaders,
152
152
  setLogger,
153
153
  supportsResponseFormat,
154
+ taskTypeHeader,
154
155
  validateEndpointOverride,
155
156
  withInternalFlowMarker
156
- } from "./chunk-5GBYOWRY.mjs";
157
+ } from "./chunk-CJ32HO6Q.mjs";
157
158
  import {
158
159
  BASE_URL,
159
160
  MCP_R2_DOMAIN,
@@ -4788,7 +4789,12 @@ async function callSummarizationLlm(prompt, model, token, baseUrl) {
4788
4789
  method: "POST",
4789
4790
  headers: {
4790
4791
  "Content-Type": "application/json",
4791
- Authorization: `Bearer ${token}`
4792
+ Authorization: `Bearer ${token}`,
4793
+ // Names the task so the portal can own this prompt server-side instead of
4794
+ // trusting the one we build. Summarization is the archetypal Class-B flow:
4795
+ // one fixed purpose, no conversation, and today its instructions are ours
4796
+ // to reword.
4797
+ ...taskTypeHeader("summarize")
4792
4798
  },
4793
4799
  body: JSON.stringify({
4794
4800
  model,
@@ -6387,6 +6393,7 @@ async function classifyInjectionCandidates(candidates, options) {
6387
6393
  ...options.apiKey !== void 0 && { apiKey: options.apiKey },
6388
6394
  ...options.getToken !== void 0 && { getToken: options.getToken },
6389
6395
  ...options.baseUrl !== void 0 && { baseUrl: options.baseUrl },
6396
+ taskType: "memory_injection_check",
6390
6397
  model: options.model ?? DEFAULT_MODEL,
6391
6398
  systemPrompt: SYSTEM_PROMPT,
6392
6399
  userMessage: `Candidate facts:
@@ -6861,7 +6868,7 @@ async function tryConsolidate(trimmed, ctx, options, prepared) {
6861
6868
  content: m.content,
6862
6869
  similarity: m.similarity
6863
6870
  }));
6864
- const { consolidateMemory: doConsolidate } = await import("./consolidate-H6YD36XI.mjs");
6871
+ const { consolidateMemory: doConsolidate } = await import("./consolidate-4BMNVOL4.mjs");
6865
6872
  const decision = await doConsolidate(trimmed, candidates, consolidateOptions);
6866
6873
  if (decision.action === "create") return null;
6867
6874
  if (decision.action === "supersede" && decision.content) {
@@ -7086,6 +7093,7 @@ async function extractFacts(messages, options) {
7086
7093
  ...options.apiKey !== void 0 && { apiKey: options.apiKey },
7087
7094
  ...options.getToken !== void 0 && { getToken: options.getToken },
7088
7095
  ...options.baseUrl !== void 0 && { baseUrl: options.baseUrl },
7096
+ taskType: "memory_extract",
7089
7097
  ...options.endpointOverride !== void 0 && {
7090
7098
  endpointOverride: options.endpointOverride
7091
7099
  },
@@ -7648,6 +7656,7 @@ function createLlmDecayClassifier(options) {
7648
7656
  ...options.apiKey !== void 0 && { apiKey: options.apiKey },
7649
7657
  ...options.getToken !== void 0 && { getToken: options.getToken },
7650
7658
  ...options.baseUrl !== void 0 && { baseUrl: options.baseUrl },
7659
+ taskType: "memory_decay",
7651
7660
  model: options.model ?? DEFAULT_MODEL2,
7652
7661
  systemPrompt: SYSTEM_PROMPT3,
7653
7662
  userMessage: `Memory content:
@@ -8771,6 +8780,7 @@ When a memory refers to one of these, reuse the EXACT existing name (same spelli
8771
8780
  ...options.apiKey !== void 0 && { apiKey: options.apiKey },
8772
8781
  ...options.getToken !== void 0 && { getToken: options.getToken },
8773
8782
  ...options.baseUrl !== void 0 && { baseUrl: options.baseUrl },
8783
+ taskType: "memory_topic",
8774
8784
  ...options.endpointOverride !== void 0 && {
8775
8785
  endpointOverride: options.endpointOverride
8776
8786
  },
@@ -8960,6 +8970,7 @@ ${evidence}`);
8960
8970
  ...options.apiKey !== void 0 && { apiKey: options.apiKey },
8961
8971
  ...options.getToken !== void 0 && { getToken: options.getToken },
8962
8972
  ...options.baseUrl !== void 0 && { baseUrl: options.baseUrl },
8973
+ taskType: "memory_verify_support",
8963
8974
  model: options.model ?? DEFAULT_MODEL4,
8964
8975
  systemPrompt: SYSTEM_PROMPT5,
8965
8976
  userMessage: `Stored facts and their sources:
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  recall
3
- } from "./chunk-37VWRZTL.mjs";
4
- import "./chunk-5GBYOWRY.mjs";
3
+ } from "./chunk-YO5UXOC4.mjs";
4
+ import "./chunk-CJ32HO6Q.mjs";
5
5
  import "./chunk-GYKJOWEO.mjs";
6
6
  export {
7
7
  recall
package/dist/index.cjs CHANGED
@@ -76,6 +76,7 @@ __export(index_exports, {
76
76
  PII_PATTERNS: () => PII_PATTERNS,
77
77
  PiiRedactor: () => PiiRedactor,
78
78
  SseIdleTimeoutError: () => SseIdleTimeoutError,
79
+ TASK_TYPE_HEADER: () => TASK_TYPE_HEADER,
79
80
  TOOL_CATALOG: () => TOOL_CATALOG,
80
81
  TOOL_RESULT_ORIGIN: () => TOOL_RESULT_ORIGIN,
81
82
  activatedToolSetNames: () => activatedToolSetNames,
@@ -194,6 +195,7 @@ __export(index_exports, {
194
195
  selectServerSideTools: () => selectServerSideTools,
195
196
  setLogger: () => setLogger,
196
197
  shouldAnalyzeStyle: () => shouldAnalyzeStyle,
198
+ taskTypeHeader: () => taskTypeHeader,
197
199
  toolSetSystemPrompts: () => toolSetSystemPrompts,
198
200
  withSseKeepalive: () => withSseKeepalive
199
201
  });
@@ -3800,6 +3802,12 @@ function createStreamingDeAnonymizer(redactor, emit) {
3800
3802
  }
3801
3803
  };
3802
3804
  }
3805
+
3806
+ // src/lib/taskType.ts
3807
+ var TASK_TYPE_HEADER = "X-Anuma-Task-Type";
3808
+ function taskTypeHeader(taskType) {
3809
+ return taskType ? { [TASK_TYPE_HEADER]: taskType } : {};
3810
+ }
3803
3811
  // Annotate the CommonJS export names for ESM import in node:
3804
3812
  0 && (module.exports = {
3805
3813
  BUILT_IN_TOOL_SETS,
@@ -3818,6 +3826,7 @@ function createStreamingDeAnonymizer(redactor, emit) {
3818
3826
  PII_PATTERNS,
3819
3827
  PiiRedactor,
3820
3828
  SseIdleTimeoutError,
3829
+ TASK_TYPE_HEADER,
3821
3830
  TOOL_CATALOG,
3822
3831
  TOOL_RESULT_ORIGIN,
3823
3832
  activatedToolSetNames,
@@ -3936,6 +3945,7 @@ function createStreamingDeAnonymizer(redactor, emit) {
3936
3945
  selectServerSideTools,
3937
3946
  setLogger,
3938
3947
  shouldAnalyzeStyle,
3948
+ taskTypeHeader,
3939
3949
  toolSetSystemPrompts,
3940
3950
  withSseKeepalive
3941
3951
  });
package/dist/index.d.mts CHANGED
@@ -8886,4 +8886,52 @@ declare function clearLazyTitleCache(): void;
8886
8886
  */
8887
8887
  declare function decryptConversationTitle(encryptedTitle: string, address: string): Promise<string>;
8888
8888
 
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 };
8889
+ /**
8890
+ * Class-B task types — the vocabulary of the `X-Anuma-Task-Type` header.
8891
+ *
8892
+ * A Class-B flow has ONE fixed purpose and no conversation: extract memories
8893
+ * from a snippet, pick a topic, consolidate duplicates, classify a query. Today
8894
+ * each of those builds its own system prompt on the client and sends it as a
8895
+ * `role:system` message, which makes the prompt a suggestion rather than a
8896
+ * contract — a caller can reword it into "you are a general assistant" and get
8897
+ * general chat at internal-endpoint prices.
8898
+ *
8899
+ * The fix is that the SERVER owns the text and the client only names the task.
8900
+ * This header is the name. The portal allowlists it against its own copy of this
8901
+ * enum (ai-portal `internal/systemprompt/tasks.go`) and DROPS anything it does
8902
+ * not recognise, so an unknown value degrades to "no task declared" rather than
8903
+ * failing the request.
8904
+ *
8905
+ * ⚠ These string values are a wire contract with ai-portal. Adding one here
8906
+ * before the portal knows it is harmless (it is dropped); renaming or removing
8907
+ * one silently stops that flow being counted. Keep them in step with
8908
+ * `AllTaskTypes` on the portal side, and see ai-portal
8909
+ * `docs/BACKEND_OWNED_TASK_PROMPTS.md` for the rollout.
8910
+ *
8911
+ * Deliberately ABSENT: agent personas, `reflect()` when it answers the user, and
8912
+ * the app-idea chat. Those carry an open conversation with the user, so a fixed
8913
+ * server-owned prompt would be wrong rather than merely premature — the same
8914
+ * boundary {@link INTERNAL_FLOW_MARKER} draws.
8915
+ *
8916
+ * @public
8917
+ */
8918
+ type TaskType = "title" | "commit_message" | "memory_extract" | "memory_dedup" | "memory_decay" | "memory_injection_check" | "memory_verify_support" | "memory_autosort" | "memory_topic" | "memory_consolidate" | "memory_decompose" | "memory_profile_synth" | "memory_graph" | "folder_context" | "selection_memory" | "summarize" | "style_analysis" | "classify_search" | "app_inspiration" | "spotlight_image" | "slide_image" | "media_video" | "media_audio" | "media_bg_removal" | "media_image_preset" | "tool_app_builder" | "tool_document_builder" | "tool_slides" | "connector_guidance" | "cf_task" | "xbot_intent" | "xbot_council" | "scheduled_task";
8919
+ /**
8920
+ * HTTP header naming the Class-B task a request performs.
8921
+ *
8922
+ * @public
8923
+ */
8924
+ declare const TASK_TYPE_HEADER = "X-Anuma-Task-Type";
8925
+ /**
8926
+ * Build the task-type header, or nothing when no task is declared.
8927
+ *
8928
+ * Returns a spreadable object so call sites stay a single expression
8929
+ * (`{ ...auth, ...taskTypeHeader(t) }`) and an undeclared task adds no header at
8930
+ * all rather than an empty one — the portal treats absent and invalid
8931
+ * identically, but an empty header value is noise on the wire and in logs.
8932
+ *
8933
+ * @public
8934
+ */
8935
+ declare function taskTypeHeader(taskType?: TaskType): Record<string, string>;
8936
+
8937
+ 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, TASK_TYPE_HEADER, TOOL_CATALOG, TOOL_RESULT_ORIGIN, type TaskType, 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, taskTypeHeader, toolSetSystemPrompts, withSseKeepalive };