@vm0/runner 2.11.1 → 2.12.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 +20 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4954,7 +4954,9 @@ var storedExecutionContextSchema = z4.object({
|
|
|
4954
4954
|
encryptedSecrets: z4.string().nullable(),
|
|
4955
4955
|
// AES-256-GCM encrypted secrets
|
|
4956
4956
|
cliAgentType: z4.string(),
|
|
4957
|
-
experimentalFirewall: experimentalFirewallSchema.optional()
|
|
4957
|
+
experimentalFirewall: experimentalFirewallSchema.optional(),
|
|
4958
|
+
// Debug flag to force real Claude in mock environments (internal use only)
|
|
4959
|
+
debugNoMockClaude: z4.boolean().optional()
|
|
4958
4960
|
});
|
|
4959
4961
|
var executionContextSchema = z4.object({
|
|
4960
4962
|
runId: z4.string().uuid(),
|
|
@@ -4972,7 +4974,9 @@ var executionContextSchema = z4.object({
|
|
|
4972
4974
|
secretValues: z4.array(z4.string()).nullable(),
|
|
4973
4975
|
cliAgentType: z4.string(),
|
|
4974
4976
|
// Experimental firewall configuration
|
|
4975
|
-
experimentalFirewall: experimentalFirewallSchema.optional()
|
|
4977
|
+
experimentalFirewall: experimentalFirewallSchema.optional(),
|
|
4978
|
+
// Debug flag to force real Claude in mock environments (internal use only)
|
|
4979
|
+
debugNoMockClaude: z4.boolean().optional()
|
|
4976
4980
|
});
|
|
4977
4981
|
var runnersJobClaimContract = c.router({
|
|
4978
4982
|
claim: {
|
|
@@ -5255,6 +5259,8 @@ var unifiedRunRequestSchema = z6.object({
|
|
|
5255
5259
|
vars: z6.record(z6.string(), z6.string()).optional(),
|
|
5256
5260
|
secrets: z6.record(z6.string(), z6.string()).optional(),
|
|
5257
5261
|
volumeVersions: z6.record(z6.string(), z6.string()).optional(),
|
|
5262
|
+
// Debug flag to force real Claude in mock environments (internal use only)
|
|
5263
|
+
debugNoMockClaude: z6.boolean().optional(),
|
|
5258
5264
|
// Required
|
|
5259
5265
|
prompt: z6.string().min(1, "Missing prompt")
|
|
5260
5266
|
});
|
|
@@ -7138,6 +7144,16 @@ var SCRIPT_PATHS = {
|
|
|
7138
7144
|
envLoader: "/usr/local/bin/vm0-agent/env-loader.mjs"
|
|
7139
7145
|
};
|
|
7140
7146
|
|
|
7147
|
+
// ../../packages/core/src/feature-switch.ts
|
|
7148
|
+
var PricingSwitch = {
|
|
7149
|
+
key: "pricing" /* Pricing */,
|
|
7150
|
+
maintainer: "ethan@vm0.ai",
|
|
7151
|
+
enabled: false
|
|
7152
|
+
};
|
|
7153
|
+
var FEATURE_SWITCHES = {
|
|
7154
|
+
["pricing" /* Pricing */]: PricingSwitch
|
|
7155
|
+
};
|
|
7156
|
+
|
|
7141
7157
|
// src/lib/scripts/index.ts
|
|
7142
7158
|
var ENV_LOADER_PATH = "/usr/local/bin/vm0-agent/env-loader.mjs";
|
|
7143
7159
|
|
|
@@ -8142,7 +8158,7 @@ function buildEnvironmentVariables(context, apiUrl) {
|
|
|
8142
8158
|
envVars.VERCEL_PROTECTION_BYPASS = vercelBypass;
|
|
8143
8159
|
}
|
|
8144
8160
|
const useMockClaude = process.env.USE_MOCK_CLAUDE;
|
|
8145
|
-
if (useMockClaude) {
|
|
8161
|
+
if (useMockClaude && !context.debugNoMockClaude) {
|
|
8146
8162
|
envVars.USE_MOCK_CLAUDE = useMockClaude;
|
|
8147
8163
|
}
|
|
8148
8164
|
if (context.storageManifest?.artifact) {
|
|
@@ -8949,7 +8965,7 @@ var benchmarkCommand = new Command3("benchmark").description(
|
|
|
8949
8965
|
});
|
|
8950
8966
|
|
|
8951
8967
|
// src/index.ts
|
|
8952
|
-
var version = true ? "2.
|
|
8968
|
+
var version = true ? "2.12.0" : "0.1.0";
|
|
8953
8969
|
program.name("vm0-runner").version(version).description("Self-hosted runner for VM0 agents");
|
|
8954
8970
|
program.addCommand(startCommand);
|
|
8955
8971
|
program.addCommand(statusCommand);
|