@sandagent/runner-cli 0.9.7 → 0.9.9-beta.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.
Files changed (2) hide show
  1. package/dist/bundle.mjs +1 -1
  2. package/package.json +2 -2
package/dist/bundle.mjs CHANGED
@@ -1404,7 +1404,7 @@ function createPiRunner(options = {}) {
1404
1404
  if (model == null) {
1405
1405
  const baseUrlEnvKey = `${provider.toUpperCase().replace(/-/g, "_")}_BASE_URL`;
1406
1406
  const apiKeyEnvKey = `${provider.toUpperCase().replace(/-/g, "_")}_API_KEY`;
1407
- const baseUrl = process.env[baseUrlEnvKey] ?? process.env.OPENAI_BASE_URL;
1407
+ const baseUrl = getEnvValue(options.env, baseUrlEnvKey) ?? getEnvValue(options.env, "OPENAI_BASE_URL");
1408
1408
  if (!baseUrl) {
1409
1409
  throw new Error(`Pi runner: model "${modelSpec}" not found in built-in catalog. Set ${baseUrlEnvKey} (or OPENAI_BASE_URL) to auto-register it.`);
1410
1410
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sandagent/runner-cli",
3
- "version": "0.9.7",
3
+ "version": "0.9.9-beta.0",
4
4
  "description": "SandAgent Runner CLI - Like gemini-cli or claude-code, runs in your local terminal with AI SDK UI streaming",
5
5
  "type": "module",
6
6
  "bin": {
@@ -54,9 +54,9 @@
54
54
  "typescript": "^5.3.0",
55
55
  "vitest": "^1.6.1",
56
56
  "@sandagent/runner-core": "0.1.0",
57
- "@sandagent/runner-claude": "0.6.2",
58
57
  "@sandagent/runner-gemini": "0.6.2",
59
58
  "@sandagent/runner-opencode": "0.6.2",
59
+ "@sandagent/runner-claude": "0.6.2",
60
60
  "@sandagent/runner-pi": "0.6.3",
61
61
  "@sandagent/runner-codex": "0.6.2"
62
62
  },