@nikcli-ai/sdk 1.227.0 → 1.229.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.
@@ -152,6 +152,7 @@ export type MessageContextOverflowError = {
152
152
  name: "MessageContextOverflowError";
153
153
  data: {
154
154
  message: string;
155
+ statusCode?: number;
155
156
  responseBody?: string;
156
157
  };
157
158
  };
@@ -181,6 +182,7 @@ export type ApiError = {
181
182
  metadata?: {
182
183
  [key: string]: string;
183
184
  };
185
+ classification?: "payload-too-large";
184
186
  };
185
187
  };
186
188
  export type AssistantMessage = {
@@ -2386,6 +2388,10 @@ export type Config = {
2386
2388
  * Show a per-turn token breakdown after each answer, with a warning when the prompt cache is invalidated (default: false)
2387
2389
  */
2388
2390
  turn_tokens?: boolean;
2391
+ /**
2392
+ * Render LaTeX math in messages as Unicode formulas instead of raw source (default: true). Set to false to keep $…$ and $$…$$ as written.
2393
+ */
2394
+ math?: boolean;
2389
2395
  };
2390
2396
  ads?: AdsConfig;
2391
2397
  server?: ServerConfig;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@nikcli-ai/sdk",
4
- "version": "1.227.0",
4
+ "version": "1.229.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {