@sandagent/runner-cli 0.6.3 → 0.7.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 (2) hide show
  1. package/dist/bundle.mjs +2 -1
  2. package/package.json +5 -6
package/dist/bundle.mjs CHANGED
@@ -1253,7 +1253,8 @@ function createPiRunner(options = {}) {
1253
1253
  const { provider, modelName } = parseModelSpec(modelSpec.trim());
1254
1254
  const cwd = options.cwd || process.cwd();
1255
1255
  const modelRegistry = new ModelRegistry(AuthStorage.create());
1256
- let model = getModel(provider, modelName) ?? modelRegistry.find(provider, modelName);
1256
+ const defaultModel = getModel(provider, modelName);
1257
+ let model = defaultModel ?? modelRegistry.find(provider, modelName);
1257
1258
  if (model == null) {
1258
1259
  const baseUrlEnvKey = `${provider.toUpperCase().replace(/-/g, "_")}_BASE_URL`;
1259
1260
  const apiKeyEnvKey = `${provider.toUpperCase().replace(/-/g, "_")}_API_KEY`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sandagent/runner-cli",
3
- "version": "0.6.3",
3
+ "version": "0.7.1",
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": {
@@ -26,8 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "publishConfig": {
29
- "access": "public",
30
- "tag": "beta"
29
+ "access": "public"
31
30
  },
32
31
  "engines": {
33
32
  "node": ">=20.0.0"
@@ -54,11 +53,11 @@
54
53
  "esbuild": "^0.27.2",
55
54
  "typescript": "^5.3.0",
56
55
  "vitest": "^1.6.1",
56
+ "@sandagent/runner-claude": "0.6.2",
57
57
  "@sandagent/runner-codex": "0.6.2",
58
58
  "@sandagent/runner-gemini": "0.6.2",
59
- "@sandagent/runner-pi": "0.6.3",
60
- "@sandagent/runner-claude": "0.6.2",
61
- "@sandagent/runner-opencode": "0.6.2"
59
+ "@sandagent/runner-opencode": "0.6.2",
60
+ "@sandagent/runner-pi": "0.6.3"
62
61
  },
63
62
  "scripts": {
64
63
  "build": "tsc && pnpm bundle",