@tryarcanist/cli 0.1.326 → 0.1.327

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 +26 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7370,7 +7370,7 @@ import { Command } from "commander";
7370
7370
  // package.json
7371
7371
  var package_default = {
7372
7372
  name: "@tryarcanist/cli",
7373
- version: "0.1.326",
7373
+ version: "0.1.327",
7374
7374
  description: "CLI for Arcanist - create and manage coding agent sessions",
7375
7375
  type: "module",
7376
7376
  bin: {
@@ -22938,13 +22938,8 @@ function parseGithubRepoCoordinate(owner, repo) {
22938
22938
  return isValidGithubRepoSegment(owner) && isValidGithubRepoSegment(repo) ? { owner, repo } : null;
22939
22939
  }
22940
22940
  function parseGithubRepoFullName(value) {
22941
- const shorthand = value.match(/^([a-zA-Z0-9_.-]+)\/([a-zA-Z0-9_.-]+)$/);
22942
- if (shorthand) return parseGithubRepoCoordinate(shorthand[1], shorthand[2]);
22943
- const ssh = value.match(/^git@github\.com:([^/]+)\/([^/]+?)(?:\.git)?$/);
22944
- if (ssh) return parseGithubRepoCoordinate(ssh[1], ssh[2]);
22945
- const https = value.match(/^https?:\/\/github\.com\/([^/]+)\/([^/]+?)(?:\.git)?\/?$/);
22946
- if (https) return parseGithubRepoCoordinate(https[1], https[2]);
22947
- return null;
22941
+ const match = value.match(/^([a-zA-Z0-9_.-]+)\/([a-zA-Z0-9_.-]+)$/) ?? value.match(/^git@github\.com:([^/]+)\/([^/]+?)(?:\.git)?$/) ?? value.match(/^https?:\/\/github\.com\/([^/]+)\/([^/]+?)(?:\.git)?\/?$/);
22942
+ return match ? parseGithubRepoCoordinate(match[1], match[2]) : null;
22948
22943
  }
22949
22944
 
22950
22945
  // src/git.ts
@@ -23365,7 +23360,8 @@ var DeepSeekModel = {
23365
23360
  V4Pro: "deepseek-v4-pro"
23366
23361
  };
23367
23362
  var GlmModel = {
23368
- Flash53: "glm-5.3-flash"
23363
+ Flash53: "glm-5.3-flash",
23364
+ G53: "glm-5.3"
23369
23365
  };
23370
23366
  var MODEL_PROVIDERS_SET = /* @__PURE__ */ new Set(["openai", "anthropic"]);
23371
23367
  var BACKEND_DESKTOP_IMAGE_FEEDBACK_CONFIGS = {
@@ -23709,6 +23705,27 @@ var MODEL_REGISTRY = [
23709
23705
  pricing: { inputPerMillion: 0.15, outputPerMillion: 0.5, cacheReadPerMillion: 0.03 },
23710
23706
  sessionStart: { eligible: true },
23711
23707
  visibility: "internal_probe"
23708
+ },
23709
+ {
23710
+ id: GlmModel.G53,
23711
+ name: "GLM-5.3",
23712
+ // Same contract as the DeepSeek V4 entries: "openai" is the wire protocol
23713
+ // (OpenAI Responses), not the vendor. GLM-5.3 is served by Baseten.
23714
+ provider: "openai",
23715
+ backends: [CODEX_AGENT_RUNTIME_BACKEND],
23716
+ codexProviderRoute: "baseten",
23717
+ capabilities: { codexToolSearch: true },
23718
+ contextWindow: 1e6,
23719
+ // Official GLM-5.3 efforts are low / high / max. Do not list medium.
23720
+ // Widen only after probing each value against Baseten.
23721
+ reasoning: { efforts: ["high"], default: "high" },
23722
+ // Verified against https://www.baseten.co/pricing on 2026-08-28 (Model APIs
23723
+ // token pricing, row `zai-org/GLM-5.3`): $1.40/M input, $0.14/M cached
23724
+ // input, $4.40/M output. Cached-input rate is published, so it is carried
23725
+ // verbatim. No longContext and no flex (OpenAI-only axes).
23726
+ pricing: { inputPerMillion: 1.4, outputPerMillion: 4.4, cacheReadPerMillion: 0.14 },
23727
+ sessionStart: { eligible: true },
23728
+ visibility: "internal_probe"
23712
23729
  }
23713
23730
  ];
23714
23731
  var MODEL_PROVIDER_NAMES = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryarcanist/cli",
3
- "version": "0.1.326",
3
+ "version": "0.1.327",
4
4
  "description": "CLI for Arcanist - create and manage coding agent sessions",
5
5
  "type": "module",
6
6
  "bin": {