@vm0/cli 9.169.1 → 9.169.2

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.
@@ -74083,7 +74083,7 @@ if (DSN) {
74083
74083
  init2({
74084
74084
  dsn: DSN,
74085
74085
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
74086
- release: "9.169.1",
74086
+ release: "9.169.2",
74087
74087
  sendDefaultPii: false,
74088
74088
  tracesSampleRate: 0,
74089
74089
  shutdownTimeout: 500,
@@ -74102,7 +74102,7 @@ if (DSN) {
74102
74102
  }
74103
74103
  });
74104
74104
  setContext("cli", {
74105
- version: "9.169.1",
74105
+ version: "9.169.2",
74106
74106
  command: process.argv.slice(2).join(" ")
74107
74107
  });
74108
74108
  setContext("runtime", {
@@ -94943,6 +94943,28 @@ var directRunModelProviderTypeSchema = modelProviderTypeSchema.refine(
94943
94943
  },
94944
94944
  { message: "vm0 model provider is only supported by zero runs" }
94945
94945
  );
94946
+ var claudeToolEntrySchema = external_exports.string().refine(
94947
+ (tool) => {
94948
+ return tool.trim().length > 0;
94949
+ },
94950
+ {
94951
+ message: "Claude tool name must not be empty"
94952
+ }
94953
+ ).refine(
94954
+ (tool) => {
94955
+ return !tool.includes(",");
94956
+ },
94957
+ {
94958
+ message: "Claude tool name must not contain commas"
94959
+ }
94960
+ ).refine(
94961
+ (tool) => {
94962
+ return !tool.trimStart().startsWith("-");
94963
+ },
94964
+ {
94965
+ message: "Claude tool name must not start with a hyphen"
94966
+ }
94967
+ );
94946
94968
  var MAX_EVENT_SEQUENCE_NUMBER = 2147483647;
94947
94969
  var eventSequenceNumberSchema = external_exports.number().int().nonnegative().max(MAX_EVENT_SEQUENCE_NUMBER);
94948
94970
  var eventSequenceCursorSchema = external_exports.number().int().min(-1).max(MAX_EVENT_SEQUENCE_NUMBER);
@@ -94995,9 +95017,9 @@ var unifiedRunRequestSchema = external_exports.object({
94995
95017
  // Optional system prompt to append to the agent's system prompt
94996
95018
  appendSystemPrompt: external_exports.string().optional(),
94997
95019
  // Optional list of tools to disable in Claude CLI (passed as --disallowed-tools)
94998
- disallowedTools: external_exports.array(external_exports.string()).optional(),
95020
+ disallowedTools: external_exports.array(claudeToolEntrySchema).optional(),
94999
95021
  // Optional list of tools to make available in Claude CLI (passed as --tools)
95000
- tools: external_exports.array(external_exports.string()).optional(),
95022
+ tools: external_exports.array(claudeToolEntrySchema).optional(),
95001
95023
  // Settings JSON to pass to Claude CLI (passed as --settings)
95002
95024
  settings: external_exports.string().optional(),
95003
95025
  // How the run was triggered (defaults to "cli" on the server if not provided)
@@ -135229,4 +135251,4 @@ undici/lib/web/fetch/body.js:
135229
135251
  undici/lib/web/websocket/frame.js:
135230
135252
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
135231
135253
  */
135232
- //# sourceMappingURL=chunk-RWNXCBAW.js.map
135254
+ //# sourceMappingURL=chunk-CZICABIP.js.map