@tryarcanist/cli 0.1.191 → 0.1.193
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 +7 -32
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -648,8 +648,6 @@ var AnthropicModel = {
|
|
|
648
648
|
Fable5: "claude-fable-5"
|
|
649
649
|
};
|
|
650
650
|
var BasetenModel = {
|
|
651
|
-
Glm47: "glm-4.7",
|
|
652
|
-
GptOss120B: "gpt-oss-120b",
|
|
653
651
|
KimiK27Code: "kimi-k2.7-code"
|
|
654
652
|
};
|
|
655
653
|
var MODEL_PROVIDERS_SET = /* @__PURE__ */ new Set([
|
|
@@ -880,34 +878,6 @@ var MODEL_REGISTRY = [
|
|
|
880
878
|
pricing: { inputPerMillion: 10, outputPerMillion: 50, cacheReadPerMillion: 1, cacheWritePerMillion: 12.5 },
|
|
881
879
|
sessionStart: { eligible: true }
|
|
882
880
|
},
|
|
883
|
-
{
|
|
884
|
-
id: BasetenModel.Glm47,
|
|
885
|
-
name: "GLM-4.7",
|
|
886
|
-
provider: "baseten",
|
|
887
|
-
backends: [OPENCODE_AGENT_RUNTIME_BACKEND],
|
|
888
|
-
contextWindow: 2e5,
|
|
889
|
-
// Verified 2026-06-30: GLM-4.6V is not served by Baseten, so opencode GA
|
|
890
|
-
// ships the served GLM-4.7 Model API instead. The served id is namespaced
|
|
891
|
-
// `zai-org/GLM-4.7`, not bare `glm-4.7`. GLM-4.7 is text-only (vision lives
|
|
892
|
-
// in the separate `-V` line), so opencode image input is plumbed but not
|
|
893
|
-
// exercised until a served `-V` model returns.
|
|
894
|
-
providerModelId: "zai-org/GLM-4.7",
|
|
895
|
-
pricing: { inputPerMillion: 0.6, outputPerMillion: 2.2, cacheReadPerMillion: 0.12 },
|
|
896
|
-
sessionStart: { eligible: true, isDefault: true }
|
|
897
|
-
},
|
|
898
|
-
{
|
|
899
|
-
id: BasetenModel.GptOss120B,
|
|
900
|
-
name: "GPT OSS 120B",
|
|
901
|
-
provider: "baseten",
|
|
902
|
-
backends: [OPENCODE_AGENT_RUNTIME_BACKEND],
|
|
903
|
-
contextWindow: 128e3,
|
|
904
|
-
// Verified 2026-07-04 against Baseten Model APIs docs and model library:
|
|
905
|
-
// wire id `openai/gpt-oss-120b`, 128k served context/output, OpenAI SDK
|
|
906
|
-
// compatible, Apache 2.0, tool calling supported for all Model APIs.
|
|
907
|
-
providerModelId: "openai/gpt-oss-120b",
|
|
908
|
-
pricing: { inputPerMillion: 0.1, outputPerMillion: 0.5 },
|
|
909
|
-
sessionStart: { eligible: true }
|
|
910
|
-
},
|
|
911
881
|
{
|
|
912
882
|
id: BasetenModel.KimiK27Code,
|
|
913
883
|
name: "Kimi K2.7 Code",
|
|
@@ -920,7 +890,7 @@ var MODEL_REGISTRY = [
|
|
|
920
890
|
// supported for all Model APIs.
|
|
921
891
|
providerModelId: "moonshotai/Kimi-K2.7-Code",
|
|
922
892
|
pricing: { inputPerMillion: 0.95, outputPerMillion: 4, cacheReadPerMillion: 0.16 },
|
|
923
|
-
sessionStart: { eligible: true }
|
|
893
|
+
sessionStart: { eligible: true, isDefault: true }
|
|
924
894
|
}
|
|
925
895
|
];
|
|
926
896
|
var MODEL_PROVIDER_NAMES = {
|
|
@@ -3786,7 +3756,12 @@ async function qaCommand(prUrl, options, command) {
|
|
|
3786
3756
|
{
|
|
3787
3757
|
exitCode: err instanceof CliError ? err.exitCode : void 0,
|
|
3788
3758
|
hint: `Retry with: arcanist sessions qa ${targetPrUrl} --idempotency-key ${idempotencyKey}`,
|
|
3789
|
-
requestId: err instanceof CliError ? err.requestId : void 0
|
|
3759
|
+
requestId: err instanceof CliError ? err.requestId : void 0,
|
|
3760
|
+
data: {
|
|
3761
|
+
...err instanceof CliError && err.data ? err.data : {},
|
|
3762
|
+
sessionId,
|
|
3763
|
+
...sessionData.sessionUrl ? { sessionUrl: sessionData.sessionUrl } : {}
|
|
3764
|
+
}
|
|
3790
3765
|
}
|
|
3791
3766
|
);
|
|
3792
3767
|
}
|