@billjr99/pi-openai-compat 1.1.26 → 1.1.27

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 (3) hide show
  1. package/README.md +1 -0
  2. package/index.ts +7 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -65,6 +65,7 @@ If pi is already running when you install, type `/reload` first.
65
65
  | **xKiro** | `https://api.xkiro.com/v1` | `sk-xt-...` key from the xKiro console at xkiro.com (docs.xkiro.com) |
66
66
  | **TeamoRouter** | `https://api.teamorouter.com/v1` | `sk-teamo-...` key from teamorouter.com (teamorouter.com/docs) |
67
67
  | **GMI Cloud** | `https://api.gmi-serving.com/v1` | API key from console.gmicloud.ai → Organization Settings → API Keys |
68
+ | **Token Harbor** | `https://tokenharbor.ai/v1` | `thk_live_...` Universal Key from tokenharbor.ai/dashboard/api-keys |
68
69
  | **Ollama (local)** | `http://localhost:11434/v1` | Keyless |
69
70
  | **Ollama Cloud** | `https://ollama.com/v1` | Ollama Cloud API key from ollama.com |
70
71
  | **llmproxy** | `http://localhost:8080/v1` (editable) | Keyless by default; bearer token if your instance requires one |
package/index.ts CHANGED
@@ -358,6 +358,13 @@ const TEMPLATES: Record<string, {
358
358
  // control plane (containers, clusters, sandboxes) and has no /chat/completions.
359
359
  keyHint: "console.gmicloud.ai → Organization Settings → API Keys (docs at docs.gmicloud.ai/inference-engine)",
360
360
  },
361
+ tokenharbor: {
362
+ displayName: "Token Harbor",
363
+ baseUrl: "https://tokenharbor.ai/v1",
364
+ keyless: false,
365
+ // One "Universal Key" reaches every model; free models carry a ":free" id suffix.
366
+ keyHint: "tokenharbor.ai/dashboard/api-keys (Universal Key, format thk_live_...; docs at tokenharbor.ai/docs)",
367
+ },
361
368
  custom: {
362
369
  displayName: "Custom Endpoint",
363
370
  baseUrl: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@billjr99/pi-openai-compat",
3
- "version": "1.1.26",
3
+ "version": "1.1.27",
4
4
  "description": "pi-coding-agent extension: OpenAI-compatible endpoint support (OpenRouter, NVIDIA NIM, Nous Portal, Ollama, custom)",
5
5
  "author": "Bill Mongan <https://github.com/BillJr99>",
6
6
  "license": "MIT",