@tryarcanist/cli 0.1.180 → 0.1.181
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/README.md +1 -1
- package/dist/index.js +19 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -156,7 +156,7 @@ arcanist sessions create your-org/your-repo "verify the deployed change" --cold
|
|
|
156
156
|
arcanist sessions create your-org/your-repo "retry-safe create" --idempotency-key 1f0e6f1a-...
|
|
157
157
|
```
|
|
158
158
|
|
|
159
|
-
`--backend` picks the agent runtime backend: `codex` (default) or `claude_code`. `--model` must be valid for the chosen backend — codex runs OpenAI models (`gpt-5.4` default, `gpt-5.5`), `claude_code` runs Anthropic models (`claude-opus-4-8` default, `claude-sonnet-4-6`) — and the CLI rejects a mismatch before any network call. `claude_code` sessions require an Anthropic API key configured in Settings.
|
|
159
|
+
`--backend` picks the agent runtime backend: `codex` (default) or `claude_code`. `--model` must be valid for the chosen backend — codex runs OpenAI models (`gpt-5.4` default, `gpt-5.5`), `claude_code` runs Anthropic models (`claude-opus-4-8` default, `claude-sonnet-4-6`, `claude-fable-5`) — and the CLI rejects a mismatch before any network call. `claude_code` sessions require an Anthropic API key configured in Settings.
|
|
160
160
|
|
|
161
161
|
`--wait` blocks until the created prompt finishes, prints the resulting PR/branch line in human-readable mode when it is already available, and exits non-zero if the prompt finishes with `status: failed`, making it suitable for cron or other schedulers that alert on command failure. JSON mode waits quietly and prints the create payload after the prompt completes successfully. `--poll-interval <ms>` tunes the completion check frequency.
|
|
162
162
|
|
package/dist/index.js
CHANGED
|
@@ -618,7 +618,8 @@ var OpenAIModel = {
|
|
|
618
618
|
};
|
|
619
619
|
var AnthropicModel = {
|
|
620
620
|
Opus48: "claude-opus-4-8",
|
|
621
|
-
Sonnet46: "claude-sonnet-4-6"
|
|
621
|
+
Sonnet46: "claude-sonnet-4-6",
|
|
622
|
+
Fable5: "claude-fable-5"
|
|
622
623
|
};
|
|
623
624
|
var BasetenModel = {
|
|
624
625
|
Glm47: "glm-4.7",
|
|
@@ -780,6 +781,23 @@ var MODEL_REGISTRY = [
|
|
|
780
781
|
pricing: { inputPerMillion: 3, outputPerMillion: 15, cacheReadPerMillion: 0.3, cacheWritePerMillion: 3.75 },
|
|
781
782
|
sessionStart: { eligible: true }
|
|
782
783
|
},
|
|
784
|
+
{
|
|
785
|
+
id: AnthropicModel.Fable5,
|
|
786
|
+
name: "Claude Fable 5",
|
|
787
|
+
provider: "anthropic",
|
|
788
|
+
backends: [CLAUDE_CODE_AGENT_RUNTIME_BACKEND],
|
|
789
|
+
contextWindow: 1e6,
|
|
790
|
+
// Fable's adaptive thinking means "none" would safely omit SDK
|
|
791
|
+
// Options.effort, as with Opus/Sonnet. We intentionally require an explicit
|
|
792
|
+
// effort for this higher-cost model and default to the existing Claude
|
|
793
|
+
// Code high effort.
|
|
794
|
+
reasoning: { efforts: ["low", "medium", "high", "xhigh", "max"], default: "high" },
|
|
795
|
+
// Bridge cost-ESTIMATE only; NOT authoritative for control-plane Anthropic
|
|
796
|
+
// billing. `anthropic/cost.ts` ANTHROPIC_MESSAGES_MODEL_PRICING owns that
|
|
797
|
+
// verified Messages API table.
|
|
798
|
+
pricing: { inputPerMillion: 10, outputPerMillion: 50, cacheReadPerMillion: 1, cacheWritePerMillion: 12.5 },
|
|
799
|
+
sessionStart: { eligible: true }
|
|
800
|
+
},
|
|
783
801
|
{
|
|
784
802
|
id: BasetenModel.Glm47,
|
|
785
803
|
name: "GLM-4.7",
|