@tryarcanist/cli 0.1.212 → 0.1.214

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/index.js +4 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1882,7 +1882,9 @@ function resolveAutomationModelBackend(rawModel, normalizedModel) {
1882
1882
  }
1883
1883
  const provider = rawModel.match(/^([a-z]+)[/:]/i)?.[1]?.toLowerCase();
1884
1884
  if (provider === "anthropic") return CLAUDE_CODE_AGENT_RUNTIME_BACKEND;
1885
- if (provider === "baseten") return OPENCODE_AGENT_RUNTIME_BACKEND;
1885
+ if (provider === "baseten" || provider === "xai") return OPENCODE_AGENT_RUNTIME_BACKEND;
1886
+ if (provider === "cursor") return CURSOR_AGENT_RUNTIME_BACKEND;
1887
+ if (provider === "grok") return GROK_AGENT_RUNTIME_BACKEND;
1886
1888
  return CODEX_AGENT_RUNTIME_BACKEND;
1887
1889
  }
1888
1890
  async function automationApiFetch(config, path, init) {
@@ -1937,7 +1939,7 @@ var CODEX_SUBSCRIPTION_ENABLED_PATH = "/api/settings/codex-subscription/enabled"
1937
1939
  function describeCredentialStatus(credential) {
1938
1940
  if (!credential.isSet) return null;
1939
1941
  if (credential.lastValidationStatus === "invalid") {
1940
- return "Expired. Run `arcanist codex login` to reconnect, or `arcanist codex use off` to fall back to your OpenAI key.";
1942
+ return "Expired. Upload a fresh auth.json in Settings, or run `arcanist codex login` if the Codex CLI is installed. `arcanist codex use off` falls back to your OpenAI key.";
1941
1943
  }
1942
1944
  if (credential.lastValidationStatus === "validated") return "Verified with OpenAI.";
1943
1945
  return "Saved, but not verified with OpenAI yet.";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryarcanist/cli",
3
- "version": "0.1.212",
3
+ "version": "0.1.214",
4
4
  "description": "CLI for Arcanist — create and manage coding agent sessions",
5
5
  "type": "module",
6
6
  "bin": {