@oh-my-pi/pi-ai 15.3.0 → 15.3.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.
@@ -1 +1,10 @@
1
- export declare const loginDeepSeek: (options: import("./types").OAuthController) => Promise<string>;
1
+ import type { OAuthController } from "./types";
2
+ /**
3
+ * Normalize a pasted DeepSeek API key.
4
+ *
5
+ * Users frequently copy keys out of `curl` snippets that include the
6
+ * `Authorization: Bearer …` prefix. Strip it so validation does not fail
7
+ * with a confusing 401, and reject obviously empty input early.
8
+ */
9
+ export declare function normalizeDeepSeekApiKey(raw: string): string;
10
+ export declare const loginDeepSeek: (options: OAuthController) => Promise<string>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-ai",
4
- "version": "15.3.0",
4
+ "version": "15.3.1",
5
5
  "description": "Unified LLM API with automatic model discovery and provider configuration",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": "Can Boluk",
@@ -43,7 +43,7 @@
43
43
  "dependencies": {
44
44
  "@anthropic-ai/sdk": "^0.94.0",
45
45
  "@bufbuild/protobuf": "^2.12.0",
46
- "@oh-my-pi/pi-utils": "15.3.0",
46
+ "@oh-my-pi/pi-utils": "15.3.1",
47
47
  "openai": "^6.36.0",
48
48
  "partial-json": "^0.1.7",
49
49
  "zod": "4.4.3"