agent-sh 0.13.5 → 0.13.6

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.
package/dist/cli/index.js CHANGED
@@ -200,7 +200,8 @@ async function main() {
200
200
  catch {
201
201
  // Ignore errors, we already have process.env as fallback
202
202
  }
203
- if (!config.apiKey && !config.provider && !anyProviderConfigured()) {
203
+ const selectedBackend = config.backend ?? getSettings().defaultBackend ?? "ash";
204
+ if (selectedBackend === "ash" && !config.apiKey && !config.provider && !anyProviderConfigured()) {
204
205
  console.error("\nagent-sh: no LLM provider configured.\n\n" +
205
206
  " Run `agent-sh auth login` to store an API key, or\n" +
206
207
  " export OPENAI_API_KEY / OPENROUTER_API_KEY / DEEPSEEK_API_KEY, or\n" +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-sh",
3
- "version": "0.13.5",
3
+ "version": "0.13.6",
4
4
  "description": "A shell-first terminal where AI is one keystroke away",
5
5
  "type": "module",
6
6
  "main": "dist/core/index.js",