@vm0/cli 9.103.0 → 9.103.1

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.
@@ -49,7 +49,7 @@ if (DSN) {
49
49
  Sentry.init({
50
50
  dsn: DSN,
51
51
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
52
- release: "9.103.0",
52
+ release: "9.103.1",
53
53
  sendDefaultPii: false,
54
54
  tracesSampleRate: 0,
55
55
  shutdownTimeout: 500,
@@ -68,7 +68,7 @@ if (DSN) {
68
68
  }
69
69
  });
70
70
  Sentry.setContext("cli", {
71
- version: "9.103.0",
71
+ version: "9.103.1",
72
72
  command: process.argv.slice(2).join(" ")
73
73
  });
74
74
  Sentry.setContext("runtime", {
@@ -26111,32 +26111,6 @@ var sandboxOperationSchema = z11.object({
26111
26111
  success: z11.boolean(),
26112
26112
  error: z11.string().optional()
26113
26113
  });
26114
- var networkLogSchema = z11.object({
26115
- timestamp: z11.string(),
26116
- type: z11.string().optional(),
26117
- action: z11.enum(["ALLOW", "DENY"]).optional(),
26118
- host: z11.string().optional(),
26119
- port: z11.number().optional(),
26120
- method: z11.string().optional(),
26121
- url: z11.string().optional(),
26122
- status: z11.number().optional(),
26123
- latency_ms: z11.number().optional(),
26124
- request_size: z11.number().optional(),
26125
- response_size: z11.number().optional(),
26126
- firewall_base: z11.string().optional(),
26127
- firewall_name: z11.string().optional(),
26128
- firewall_ref: z11.string().optional(),
26129
- firewall_permission: z11.string().optional(),
26130
- firewall_rule_match: z11.string().optional(),
26131
- firewall_params: z11.record(z11.string(), z11.string()).optional(),
26132
- firewall_error: z11.string().optional(),
26133
- auth_resolved_secrets: z11.array(z11.string()).optional(),
26134
- auth_refreshed_connectors: z11.array(z11.string()).optional(),
26135
- auth_refreshed_secrets: z11.array(z11.string()).optional(),
26136
- auth_cache_hit: z11.boolean().optional(),
26137
- auth_url_rewrite: z11.boolean().optional(),
26138
- error: z11.string().optional()
26139
- });
26140
26114
  var webhookTelemetryContract = c6.router({
26141
26115
  /**
26142
26116
  * POST /api/webhooks/agent/telemetry
@@ -26150,7 +26124,7 @@ var webhookTelemetryContract = c6.router({
26150
26124
  runId: z11.string().min(1, "runId is required"),
26151
26125
  systemLog: z11.string().optional(),
26152
26126
  metrics: z11.array(metricDataSchema).optional(),
26153
- networkLogs: z11.array(networkLogSchema).optional(),
26127
+ networkLogs: z11.array(networkLogEntrySchema).optional(),
26154
26128
  sandboxOperations: z11.array(sandboxOperationSchema).optional()
26155
26129
  }),
26156
26130
  responses: {
@@ -27926,11 +27900,13 @@ var firewallAccessRequestStatusSchema = z27.enum([
27926
27900
  "approved",
27927
27901
  "rejected"
27928
27902
  ]);
27903
+ var firewallAccessRequestActionSchema = z27.enum(["allow", "deny"]);
27929
27904
  var firewallAccessRequestResponseSchema = z27.object({
27930
27905
  id: z27.string().uuid(),
27931
27906
  agentId: z27.string().uuid(),
27932
27907
  firewallRef: z27.string(),
27933
27908
  permission: z27.string(),
27909
+ action: firewallAccessRequestActionSchema,
27934
27910
  method: z27.string().nullable(),
27935
27911
  path: z27.string().nullable(),
27936
27912
  reason: z27.string().nullable(),
@@ -27945,6 +27921,7 @@ var createFirewallAccessRequestSchema = z27.object({
27945
27921
  agentId: z27.string().uuid(),
27946
27922
  firewallRef: z27.string(),
27947
27923
  permission: z27.string(),
27924
+ action: firewallAccessRequestActionSchema.optional().default("allow"),
27948
27925
  method: z27.string().optional(),
27949
27926
  path: z27.string().optional(),
27950
27927
  reason: z27.string().optional()
@@ -27970,7 +27947,8 @@ var firewallAccessRequestsCreateContract = c17.router({
27970
27947
  }
27971
27948
  });
27972
27949
  var firewallAccessRequestsListQuerySchema = z27.object({
27973
- agentId: z27.string(),
27950
+ agentId: z27.string().optional(),
27951
+ requestId: z27.string().optional(),
27974
27952
  status: z27.string().optional()
27975
27953
  });
27976
27954
  var firewallAccessRequestsListContract = c17.router({
@@ -32243,4 +32221,4 @@ export {
32243
32221
  parseTime,
32244
32222
  paginate
32245
32223
  };
32246
- //# sourceMappingURL=chunk-LIBXYI24.js.map
32224
+ //# sourceMappingURL=chunk-LQZNYDKG.js.map