@tryarcanist/cli 0.1.335 → 0.1.337
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/index.js +3 -113
- 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.
|
|
7373
|
+
version: "0.1.337",
|
|
7374
7374
|
description: "CLI for Arcanist - create and manage coding agent sessions",
|
|
7375
7375
|
type: "module",
|
|
7376
7376
|
bin: {
|
|
@@ -23355,14 +23355,6 @@ var OpenAIModel = {
|
|
|
23355
23355
|
GPT52ChatLatest: "gpt-5.2-chat-latest",
|
|
23356
23356
|
GPT52Codex: "gpt-5.2-codex"
|
|
23357
23357
|
};
|
|
23358
|
-
var DeepSeekModel = {
|
|
23359
|
-
V4Flash: "deepseek-v4-flash",
|
|
23360
|
-
V4Pro: "deepseek-v4-pro"
|
|
23361
|
-
};
|
|
23362
|
-
var GlmModel = {
|
|
23363
|
-
Flash53: "glm-5.3-flash",
|
|
23364
|
-
G53: "glm-5.3"
|
|
23365
|
-
};
|
|
23366
23358
|
var MODEL_PROVIDERS_SET = /* @__PURE__ */ new Set(["openai", "anthropic"]);
|
|
23367
23359
|
var BACKEND_DESKTOP_IMAGE_FEEDBACK_CONFIGS = {
|
|
23368
23360
|
[CODEX_AGENT_RUNTIME_BACKEND]: {
|
|
@@ -23622,110 +23614,6 @@ var MODEL_REGISTRY = [
|
|
|
23622
23614
|
contextWindow: 4e5,
|
|
23623
23615
|
reasoning: { efforts: ["low", "medium", "high", "xhigh"], default: "high" },
|
|
23624
23616
|
pricing: { inputPerMillion: 1.75, outputPerMillion: 14, cacheReadPerMillion: 0.175 }
|
|
23625
|
-
},
|
|
23626
|
-
{
|
|
23627
|
-
id: DeepSeekModel.V4Flash,
|
|
23628
|
-
name: "DeepSeek V4 Flash",
|
|
23629
|
-
// `provider` names the WIRE PROTOCOL the gateway speaks (OpenAI Responses),
|
|
23630
|
-
// not the vendor. DeepSeek V4 is served by Baseten: the gateway maps these
|
|
23631
|
-
// registry ids to Baseten wire ids and swaps the upstream host, while every
|
|
23632
|
-
// request/response stays OpenAI-shaped. Do NOT "fix" this to a new
|
|
23633
|
-
// "baseten" provider — `ModelProvider` is what review-model validation, the
|
|
23634
|
-
// credential gate (`PROVIDER_ENV_VAR` / spawn credential resolution), and
|
|
23635
|
-
// the sandbox bridge's model guard all key off, so a new provider value
|
|
23636
|
-
// silently fails those closed instead of routing anywhere.
|
|
23637
|
-
provider: "openai",
|
|
23638
|
-
backends: [CODEX_AGENT_RUNTIME_BACKEND],
|
|
23639
|
-
codexProviderRoute: "baseten",
|
|
23640
|
-
// Required for codex session-start eligibility: the codex backend is the
|
|
23641
|
-
// sole consumer of this flag and drops any model without it from the
|
|
23642
|
-
// session-start set (see modelSupportsRequiredSessionStartCapabilities).
|
|
23643
|
-
capabilities: { codexToolSearch: true },
|
|
23644
|
-
contextWindow: 1048576,
|
|
23645
|
-
// Only the effort our live Baseten probes actually proved. Registry efforts
|
|
23646
|
-
// are treated as supported capabilities and are selectable by other paths
|
|
23647
|
-
// (isValidReasoningEffort, review config, CLI overrides), so widen this list
|
|
23648
|
-
// only after probing each added value end-to-end against Baseten.
|
|
23649
|
-
reasoning: { efforts: ["high"], default: "high" },
|
|
23650
|
-
// Verified against https://www.baseten.co/pricing on 2026-08-11 (Model APIs
|
|
23651
|
-
// token pricing, row `deepseek-ai/DeepSeek-V4-Flash-0731`): $0.13/M input,
|
|
23652
|
-
// $0.028/M cached input, $0.26/M output. Baseten publishes a cached-input
|
|
23653
|
-
// rate for this model, so cacheReadPerMillion carries it rather than
|
|
23654
|
-
// mirroring the input rate. No longContext and no flex: both are OpenAI-only
|
|
23655
|
-
// pricing axes and Baseten prices a single flat tier.
|
|
23656
|
-
pricing: { inputPerMillion: 0.13, outputPerMillion: 0.26, cacheReadPerMillion: 0.028 },
|
|
23657
|
-
sessionStart: { eligible: true },
|
|
23658
|
-
visibility: "internal_probe"
|
|
23659
|
-
// Deliberately no overloadFallback. A Baseten 429 must not silently re-run
|
|
23660
|
-
// an A/B arm on a different model; with no fallback the loop retries the
|
|
23661
|
-
// same model, which is what an A/B comparison requires.
|
|
23662
|
-
},
|
|
23663
|
-
{
|
|
23664
|
-
id: DeepSeekModel.V4Pro,
|
|
23665
|
-
name: "DeepSeek V4 Pro",
|
|
23666
|
-
// See the DeepSeek V4 Flash entry above: "openai" is the wire protocol
|
|
23667
|
-
// (OpenAI Responses), not the vendor. Changing it to a "baseten" provider
|
|
23668
|
-
// breaks review-model validation, the credential gate, and the sandbox
|
|
23669
|
-
// bridge's model guard.
|
|
23670
|
-
provider: "openai",
|
|
23671
|
-
backends: [CODEX_AGENT_RUNTIME_BACKEND],
|
|
23672
|
-
codexProviderRoute: "baseten",
|
|
23673
|
-
// Required for codex session-start eligibility (sole consumer of the flag).
|
|
23674
|
-
capabilities: { codexToolSearch: true },
|
|
23675
|
-
contextWindow: 262144,
|
|
23676
|
-
// Only the probed effort; widen only after probing each value against
|
|
23677
|
-
// Baseten, since registry efforts are selectable capabilities.
|
|
23678
|
-
reasoning: { efforts: ["high"], default: "high" },
|
|
23679
|
-
// Verified against https://www.baseten.co/pricing on 2026-08-11 (Model APIs
|
|
23680
|
-
// token pricing, row `DeepSeek V4 Pro`): $1.74/M input, $0.145/M cached
|
|
23681
|
-
// input, $3.48/M output. Cached-input rate is published, so it is carried
|
|
23682
|
-
// verbatim. No longContext and no flex (OpenAI-only axes).
|
|
23683
|
-
pricing: { inputPerMillion: 1.74, outputPerMillion: 3.48, cacheReadPerMillion: 0.145 },
|
|
23684
|
-
sessionStart: { eligible: true },
|
|
23685
|
-
visibility: "internal_probe"
|
|
23686
|
-
// Deliberately no overloadFallback — see DeepSeek V4 Flash: an A/B arm must
|
|
23687
|
-
// retry the same model on a Baseten 429, never silently swap models.
|
|
23688
|
-
},
|
|
23689
|
-
{
|
|
23690
|
-
id: GlmModel.Flash53,
|
|
23691
|
-
name: "GLM-5.3 Flash",
|
|
23692
|
-
// Same contract as the DeepSeek V4 entries: "openai" is the wire protocol
|
|
23693
|
-
// (OpenAI Responses), not the vendor. GLM-5.3-Flash is served by Baseten.
|
|
23694
|
-
provider: "openai",
|
|
23695
|
-
backends: [CODEX_AGENT_RUNTIME_BACKEND],
|
|
23696
|
-
codexProviderRoute: "baseten",
|
|
23697
|
-
capabilities: { codexToolSearch: true },
|
|
23698
|
-
contextWindow: 1e6,
|
|
23699
|
-
// Only the effort the live streamed Baseten probe proved on 2026-08-27.
|
|
23700
|
-
reasoning: { efforts: ["medium"], default: "medium" },
|
|
23701
|
-
// Verified against https://www.baseten.co/pricing on 2026-08-27 (Model APIs
|
|
23702
|
-
// token pricing, row `zai-org/GLM-5.3-Flash`): $0.15/M input, $0.03/M cached
|
|
23703
|
-
// input, $0.50/M output. Cached-input rate is published, so it is carried
|
|
23704
|
-
// verbatim. No longContext and no flex (OpenAI-only axes).
|
|
23705
|
-
pricing: { inputPerMillion: 0.15, outputPerMillion: 0.5, cacheReadPerMillion: 0.03 },
|
|
23706
|
-
sessionStart: { eligible: true },
|
|
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"
|
|
23729
23617
|
}
|
|
23730
23618
|
];
|
|
23731
23619
|
var MODEL_PROVIDER_NAMES = {
|
|
@@ -26229,6 +26117,7 @@ var ERROR_CODES = [
|
|
|
26229
26117
|
"policy_block",
|
|
26230
26118
|
"handled_automatically",
|
|
26231
26119
|
"review_publish_blocked",
|
|
26120
|
+
"review_finalization_failed",
|
|
26232
26121
|
"output_length",
|
|
26233
26122
|
"context_overflow",
|
|
26234
26123
|
"aborted",
|
|
@@ -26278,6 +26167,7 @@ var ERROR_CODE_LABELS = {
|
|
|
26278
26167
|
policy_block: "Policy block",
|
|
26279
26168
|
handled_automatically: "Handled automatically",
|
|
26280
26169
|
review_publish_blocked: "Review publication blocked",
|
|
26170
|
+
review_finalization_failed: "Review finalization failed",
|
|
26281
26171
|
output_length: "Output was too long",
|
|
26282
26172
|
context_overflow: "Context window exceeded",
|
|
26283
26173
|
aborted: "Stopped by user",
|