@vm0/runner 3.10.3 → 3.11.0
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/index.js +15 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -7665,14 +7665,20 @@ var modelProviderTypeSchema = z18.enum([
|
|
|
7665
7665
|
"anthropic-api-key",
|
|
7666
7666
|
"openrouter-api-key",
|
|
7667
7667
|
"moonshot-api-key",
|
|
7668
|
-
"minimax-api-key"
|
|
7668
|
+
"minimax-api-key",
|
|
7669
|
+
"aws-bedrock"
|
|
7669
7670
|
]);
|
|
7670
7671
|
var modelProviderFrameworkSchema = z18.enum(["claude-code", "codex"]);
|
|
7671
7672
|
var modelProviderResponseSchema = z18.object({
|
|
7672
7673
|
id: z18.string().uuid(),
|
|
7673
7674
|
type: modelProviderTypeSchema,
|
|
7674
7675
|
framework: modelProviderFrameworkSchema,
|
|
7675
|
-
credentialName: z18.string(),
|
|
7676
|
+
credentialName: z18.string().nullable(),
|
|
7677
|
+
// Legacy single-credential (deprecated for multi-auth)
|
|
7678
|
+
authMethod: z18.string().nullable(),
|
|
7679
|
+
// For multi-auth providers
|
|
7680
|
+
credentialNames: z18.array(z18.string()).nullable(),
|
|
7681
|
+
// For multi-auth providers
|
|
7676
7682
|
isDefault: z18.boolean(),
|
|
7677
7683
|
selectedModel: z18.string().nullable(),
|
|
7678
7684
|
createdAt: z18.string(),
|
|
@@ -7683,7 +7689,12 @@ var modelProviderListResponseSchema = z18.object({
|
|
|
7683
7689
|
});
|
|
7684
7690
|
var upsertModelProviderRequestSchema = z18.object({
|
|
7685
7691
|
type: modelProviderTypeSchema,
|
|
7686
|
-
credential: z18.string().min(1
|
|
7692
|
+
credential: z18.string().min(1).optional(),
|
|
7693
|
+
// Legacy single credential
|
|
7694
|
+
authMethod: z18.string().optional(),
|
|
7695
|
+
// For multi-auth providers
|
|
7696
|
+
credentials: z18.record(z18.string(), z18.string()).optional(),
|
|
7697
|
+
// For multi-auth providers
|
|
7687
7698
|
convert: z18.boolean().optional(),
|
|
7688
7699
|
selectedModel: z18.string().optional()
|
|
7689
7700
|
});
|
|
@@ -11194,7 +11205,7 @@ var benchmarkCommand = new Command4("benchmark").description(
|
|
|
11194
11205
|
});
|
|
11195
11206
|
|
|
11196
11207
|
// src/index.ts
|
|
11197
|
-
var version = true ? "3.
|
|
11208
|
+
var version = true ? "3.11.0" : "0.1.0";
|
|
11198
11209
|
program.name("vm0-runner").version(version).description("Self-hosted runner for VM0 agents");
|
|
11199
11210
|
program.addCommand(startCommand);
|
|
11200
11211
|
program.addCommand(doctorCommand);
|