@vm0/cli 9.237.2 → 9.237.3

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.
Files changed (90) hide show
  1. package/{agent-2NTLUZ3Q.js → agent-JHPWN2VR.js} +5 -5
  2. package/{banking-GYL2ITBM.js → banking-DBSX5BDX.js} +3 -3
  3. package/{chat-6UAO4EJO.js → chat-THI2OQL2.js} +4 -4
  4. package/{chunk-2J262TOD.js → chunk-5EV2TAHQ.js} +2 -2
  5. package/{chunk-HEGJPPBN.js → chunk-6AAJJUD4.js} +2 -2
  6. package/{chunk-OHQONXKG.js → chunk-AKVJGOYO.js} +3 -3
  7. package/{chunk-HU44PZDH.js → chunk-C24KF42N.js} +4 -4
  8. package/{chunk-MBQ64I5M.js → chunk-EY5A7AIB.js} +2 -2
  9. package/{chunk-GPZFXJF6.js → chunk-K7GO6MVZ.js} +27 -19
  10. package/chunk-K7GO6MVZ.js.map +1 -0
  11. package/{chunk-E5VVOBJ4.js → chunk-N5OIJGEA.js} +12 -4
  12. package/{chunk-E5VVOBJ4.js.map → chunk-N5OIJGEA.js.map} +1 -1
  13. package/{chunk-AEL2XKIL.js → chunk-QONRYB2R.js} +2 -2
  14. package/{chunk-2JZ66FKH.js → chunk-R562IE6B.js} +2 -2
  15. package/{chunk-JKB6P3VO.js → chunk-UT6XVWV5.js} +2 -2
  16. package/{chunk-NPC4JKK2.js → chunk-XL2OLDVB.js} +2 -2
  17. package/{computer-use-TZP5D27S.js → computer-use-W2GRZBII.js} +3 -3
  18. package/{connector-4LDVG2YU.js → connector-QKCA6WSB.js} +4 -4
  19. package/{credit-ASJ5RACS.js → credit-INNMWR7Y.js} +4 -4
  20. package/{developer-support-CUUQTNHK.js → developer-support-UUDGE7YS.js} +3 -3
  21. package/{doctor-4XKNSIOM.js → doctor-FZXU2ZLM.js} +7 -7
  22. package/{generate-I2VLS2N6.js → generate-35OCSHH6.js} +4 -4
  23. package/{github-SVWWHKGN.js → github-C62562OZ.js} +3 -3
  24. package/{goal-CQDVC4YO.js → goal-45CL36HM.js} +3 -3
  25. package/{host-HOMIDNAL.js → host-Y6DARVSA.js} +3 -3
  26. package/index.js +14 -14
  27. package/{logs-YIPQV5UX.js → logs-G6ZKH4MY.js} +7 -7
  28. package/{maps-SO3MLFWJ.js → maps-QYI52JRJ.js} +3 -3
  29. package/{memory-KV2RFKQS.js → memory-YLFIHD27.js} +3 -3
  30. package/{model-U6DTR7JY.js → model-7VSKVI74.js} +4 -4
  31. package/{model-provider-5LGQU6VF.js → model-provider-K4MASYW6.js} +4 -4
  32. package/{org-2UDAOW4R.js → org-46JUH6ZP.js} +3 -3
  33. package/package.json +1 -1
  34. package/{phone-7WJLTTW2.js → phone-E2DRNZRN.js} +3 -3
  35. package/{preference-MSMPINCM.js → preference-TV5OSMKK.js} +3 -3
  36. package/{relationship-XC64ZBSX.js → relationship-L2TUUHLQ.js} +3 -3
  37. package/{resource-W7JNLMJP.js → resource-CG6QO63Z.js} +3 -3
  38. package/{search-XK5LO4BC.js → search-DJ4SSK7H.js} +7 -7
  39. package/{secret-5CFIBLLI.js → secret-5MPT5AB6.js} +4 -4
  40. package/{slack-7J33PAP5.js → slack-ZJ2GBE7T.js} +3 -3
  41. package/{teams-IWY7IFLD.js → teams-4LI6LOIL.js} +3 -3
  42. package/{telegram-QWZYLAJW.js → telegram-JHF3BCHG.js} +3 -3
  43. package/{variable-3LUSNJRP.js → variable-ZMBE33UG.js} +3 -3
  44. package/{video-XHTZYJWK.js → video-QSDGVYDJ.js} +2 -2
  45. package/{web-C76UB3WO.js → web-IY667WBT.js} +3 -3
  46. package/{whoami-K6I3CEDK.js → whoami-SAT6ECF6.js} +5 -5
  47. package/{workflow-K2OP7MBH.js → workflow-H2SKYFYQ.js} +3 -3
  48. package/zero.js +34 -34
  49. package/chunk-GPZFXJF6.js.map +0 -1
  50. /package/{agent-2NTLUZ3Q.js.map → agent-JHPWN2VR.js.map} +0 -0
  51. /package/{banking-GYL2ITBM.js.map → banking-DBSX5BDX.js.map} +0 -0
  52. /package/{chat-6UAO4EJO.js.map → chat-THI2OQL2.js.map} +0 -0
  53. /package/{chunk-2J262TOD.js.map → chunk-5EV2TAHQ.js.map} +0 -0
  54. /package/{chunk-HEGJPPBN.js.map → chunk-6AAJJUD4.js.map} +0 -0
  55. /package/{chunk-OHQONXKG.js.map → chunk-AKVJGOYO.js.map} +0 -0
  56. /package/{chunk-HU44PZDH.js.map → chunk-C24KF42N.js.map} +0 -0
  57. /package/{chunk-MBQ64I5M.js.map → chunk-EY5A7AIB.js.map} +0 -0
  58. /package/{chunk-AEL2XKIL.js.map → chunk-QONRYB2R.js.map} +0 -0
  59. /package/{chunk-2JZ66FKH.js.map → chunk-R562IE6B.js.map} +0 -0
  60. /package/{chunk-JKB6P3VO.js.map → chunk-UT6XVWV5.js.map} +0 -0
  61. /package/{chunk-NPC4JKK2.js.map → chunk-XL2OLDVB.js.map} +0 -0
  62. /package/{computer-use-TZP5D27S.js.map → computer-use-W2GRZBII.js.map} +0 -0
  63. /package/{connector-4LDVG2YU.js.map → connector-QKCA6WSB.js.map} +0 -0
  64. /package/{credit-ASJ5RACS.js.map → credit-INNMWR7Y.js.map} +0 -0
  65. /package/{developer-support-CUUQTNHK.js.map → developer-support-UUDGE7YS.js.map} +0 -0
  66. /package/{doctor-4XKNSIOM.js.map → doctor-FZXU2ZLM.js.map} +0 -0
  67. /package/{generate-I2VLS2N6.js.map → generate-35OCSHH6.js.map} +0 -0
  68. /package/{github-SVWWHKGN.js.map → github-C62562OZ.js.map} +0 -0
  69. /package/{goal-CQDVC4YO.js.map → goal-45CL36HM.js.map} +0 -0
  70. /package/{host-HOMIDNAL.js.map → host-Y6DARVSA.js.map} +0 -0
  71. /package/{logs-YIPQV5UX.js.map → logs-G6ZKH4MY.js.map} +0 -0
  72. /package/{maps-SO3MLFWJ.js.map → maps-QYI52JRJ.js.map} +0 -0
  73. /package/{memory-KV2RFKQS.js.map → memory-YLFIHD27.js.map} +0 -0
  74. /package/{model-U6DTR7JY.js.map → model-7VSKVI74.js.map} +0 -0
  75. /package/{model-provider-5LGQU6VF.js.map → model-provider-K4MASYW6.js.map} +0 -0
  76. /package/{org-2UDAOW4R.js.map → org-46JUH6ZP.js.map} +0 -0
  77. /package/{phone-7WJLTTW2.js.map → phone-E2DRNZRN.js.map} +0 -0
  78. /package/{preference-MSMPINCM.js.map → preference-TV5OSMKK.js.map} +0 -0
  79. /package/{relationship-XC64ZBSX.js.map → relationship-L2TUUHLQ.js.map} +0 -0
  80. /package/{resource-W7JNLMJP.js.map → resource-CG6QO63Z.js.map} +0 -0
  81. /package/{search-XK5LO4BC.js.map → search-DJ4SSK7H.js.map} +0 -0
  82. /package/{secret-5CFIBLLI.js.map → secret-5MPT5AB6.js.map} +0 -0
  83. /package/{slack-7J33PAP5.js.map → slack-ZJ2GBE7T.js.map} +0 -0
  84. /package/{teams-IWY7IFLD.js.map → teams-4LI6LOIL.js.map} +0 -0
  85. /package/{telegram-QWZYLAJW.js.map → telegram-JHF3BCHG.js.map} +0 -0
  86. /package/{variable-3LUSNJRP.js.map → variable-ZMBE33UG.js.map} +0 -0
  87. /package/{video-XHTZYJWK.js.map → video-QSDGVYDJ.js.map} +0 -0
  88. /package/{web-C76UB3WO.js.map → web-IY667WBT.js.map} +0 -0
  89. /package/{whoami-K6I3CEDK.js.map → whoami-SAT6ECF6.js.map} +0 -0
  90. /package/{workflow-K2OP7MBH.js.map → workflow-H2SKYFYQ.js.map} +0 -0
@@ -4,10 +4,10 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  loadConnectorPermissionInfos,
6
6
  policyIcon
7
- } from "./chunk-2JZ66FKH.js";
7
+ } from "./chunk-R562IE6B.js";
8
8
  import {
9
9
  permissionGrantsToFirewallPolicies
10
- } from "./chunk-AEL2XKIL.js";
10
+ } from "./chunk-QONRYB2R.js";
11
11
  import {
12
12
  isInteractive,
13
13
  promptConfirm
@@ -24,10 +24,10 @@ import {
24
24
  listZeroUserPermissionGrants,
25
25
  updateZeroAgent,
26
26
  updateZeroAgentInstructions
27
- } from "./chunk-GPZFXJF6.js";
27
+ } from "./chunk-K7GO6MVZ.js";
28
28
  import {
29
29
  withErrorHandler
30
- } from "./chunk-NPC4JKK2.js";
30
+ } from "./chunk-XL2OLDVB.js";
31
31
  import {
32
32
  source_default
33
33
  } from "./chunk-JUTUEPIR.js";
@@ -595,4 +595,4 @@ Notes:
595
595
  export {
596
596
  zeroAgentCommand
597
597
  };
598
- //# sourceMappingURL=agent-2NTLUZ3Q.js.map
598
+ //# sourceMappingURL=agent-JHPWN2VR.js.map
@@ -4,10 +4,10 @@ const require = __createRequire(import.meta.url);
4
4
  import "./chunk-LTDQISD7.js";
5
5
  import {
6
6
  callZeroBanking
7
- } from "./chunk-GPZFXJF6.js";
7
+ } from "./chunk-K7GO6MVZ.js";
8
8
  import {
9
9
  withErrorHandler
10
- } from "./chunk-NPC4JKK2.js";
10
+ } from "./chunk-XL2OLDVB.js";
11
11
  import {
12
12
  source_default
13
13
  } from "./chunk-JUTUEPIR.js";
@@ -115,4 +115,4 @@ Notes:
115
115
  export {
116
116
  zeroBankingCommand
117
117
  };
118
- //# sourceMappingURL=banking-GYL2ITBM.js.map
118
+ //# sourceMappingURL=banking-DBSX5BDX.js.map
@@ -3,17 +3,17 @@ import { createRequire as __createRequire } from "node:module";
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  formatModelProviderRoute
6
- } from "./chunk-MBQ64I5M.js";
6
+ } from "./chunk-EY5A7AIB.js";
7
7
  import "./chunk-LTDQISD7.js";
8
8
  import {
9
9
  getZeroChatThread,
10
10
  listZeroModelPolicies,
11
11
  renameZeroChatThread,
12
12
  updateZeroChatThreadModelSelection
13
- } from "./chunk-GPZFXJF6.js";
13
+ } from "./chunk-K7GO6MVZ.js";
14
14
  import {
15
15
  withErrorHandler
16
- } from "./chunk-NPC4JKK2.js";
16
+ } from "./chunk-XL2OLDVB.js";
17
17
  import {
18
18
  source_default
19
19
  } from "./chunk-JUTUEPIR.js";
@@ -244,4 +244,4 @@ Examples:
244
244
  export {
245
245
  zeroChatCommand
246
246
  };
247
- //# sourceMappingURL=chat-6UAO4EJO.js.map
247
+ //# sourceMappingURL=chat-THI2OQL2.js.map
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  getApiUrl
6
- } from "./chunk-NPC4JKK2.js";
6
+ } from "./chunk-XL2OLDVB.js";
7
7
  import {
8
8
  init_esm_shims
9
9
  } from "./chunk-DIRAZ3YX.js";
@@ -32,4 +32,4 @@ export {
32
32
  toPlatformUrl,
33
33
  getPlatformOrigin
34
34
  };
35
- //# sourceMappingURL=chunk-2J262TOD.js.map
35
+ //# sourceMappingURL=chunk-5EV2TAHQ.js.map
@@ -10,7 +10,7 @@ import {
10
10
  splitPathSegments,
11
11
  validateAuthBaseUrl,
12
12
  validateBaseUrl
13
- } from "./chunk-GPZFXJF6.js";
13
+ } from "./chunk-K7GO6MVZ.js";
14
14
  import {
15
15
  init_esm_shims
16
16
  } from "./chunk-DIRAZ3YX.js";
@@ -1176,4 +1176,4 @@ export {
1176
1176
  matchFirewallBaseUrl,
1177
1177
  matchFirewallRequestDecision
1178
1178
  };
1179
- //# sourceMappingURL=chunk-HEGJPPBN.js.map
1179
+ //# sourceMappingURL=chunk-6AAJJUD4.js.map
@@ -50,7 +50,7 @@ if (DSN) {
50
50
  Sentry.init({
51
51
  dsn: DSN,
52
52
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
53
- release: "9.237.2",
53
+ release: "9.237.3",
54
54
  sendDefaultPii: false,
55
55
  tracesSampleRate: 0,
56
56
  shutdownTimeout: 500,
@@ -69,7 +69,7 @@ if (DSN) {
69
69
  }
70
70
  });
71
71
  Sentry.setContext("cli", {
72
- version: "9.237.2",
72
+ version: "9.237.3",
73
73
  command: process.argv.slice(2).join(" ")
74
74
  });
75
75
  Sentry.setContext("runtime", {
@@ -146,4 +146,4 @@ async function configureGlobalProxyFromEnv() {
146
146
  export {
147
147
  configureGlobalProxyFromEnv
148
148
  };
149
- //# sourceMappingURL=chunk-OHQONXKG.js.map
149
+ //# sourceMappingURL=chunk-AKVJGOYO.js.map
@@ -10,13 +10,13 @@ import {
10
10
  parseBoundedLogCount,
11
11
  parseSearchQuery,
12
12
  parseTime
13
- } from "./chunk-E5VVOBJ4.js";
13
+ } from "./chunk-N5OIJGEA.js";
14
14
  import {
15
15
  searchZeroLogs
16
- } from "./chunk-GPZFXJF6.js";
16
+ } from "./chunk-K7GO6MVZ.js";
17
17
  import {
18
18
  withErrorHandler
19
- } from "./chunk-NPC4JKK2.js";
19
+ } from "./chunk-XL2OLDVB.js";
20
20
  import {
21
21
  source_default
22
22
  } from "./chunk-JUTUEPIR.js";
@@ -176,4 +176,4 @@ export {
176
176
  runLogsSearch,
177
177
  searchCommand
178
178
  };
179
- //# sourceMappingURL=chunk-HU44PZDH.js.map
179
+ //# sourceMappingURL=chunk-C24KF42N.js.map
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  MODEL_PROVIDER_TYPES
6
- } from "./chunk-GPZFXJF6.js";
6
+ } from "./chunk-K7GO6MVZ.js";
7
7
  import {
8
8
  init_esm_shims
9
9
  } from "./chunk-DIRAZ3YX.js";
@@ -40,4 +40,4 @@ export {
40
40
  formatModelProviderRoute,
41
41
  formatModelPolicyStatus
42
42
  };
43
- //# sourceMappingURL=chunk-MBQ64I5M.js.map
43
+ //# sourceMappingURL=chunk-EY5A7AIB.js.map
@@ -14,7 +14,7 @@ import {
14
14
  headersWithCliClientHeaders,
15
15
  initClient,
16
16
  initContract
17
- } from "./chunk-NPC4JKK2.js";
17
+ } from "./chunk-XL2OLDVB.js";
18
18
  import {
19
19
  init_esm_shims
20
20
  } from "./chunk-DIRAZ3YX.js";
@@ -3050,8 +3050,8 @@ function rawPathFromBaseUrl(value) {
3050
3050
  const schemeEnd = value.indexOf("://");
3051
3051
  if (schemeEnd === -1) return "";
3052
3052
  const afterScheme = value.slice(schemeEnd + 3);
3053
- const pathStart = afterScheme.indexOf("/");
3054
- if (pathStart === -1) return "";
3053
+ const pathStart = afterScheme.search(/[/?#]/);
3054
+ if (pathStart === -1 || afterScheme[pathStart] !== "/") return "";
3055
3055
  const pathAndAfter = afterScheme.slice(pathStart);
3056
3056
  const pathEnd = pathAndAfter.search(/[?#]/);
3057
3057
  return pathEnd === -1 ? pathAndAfter : pathAndAfter.slice(0, pathEnd);
@@ -3062,6 +3062,15 @@ function validateBaseUrlPrefixVariable({
3062
3062
  name,
3063
3063
  value
3064
3064
  }) {
3065
+ const rawPath = rawPathFromBaseUrl(value);
3066
+ if (hasUnsafeFirewallPath(rawPath)) {
3067
+ throw baseUrlVariableError(
3068
+ base,
3069
+ serviceName,
3070
+ name,
3071
+ "must not contain unsafe path segments before a fixed path suffix"
3072
+ );
3073
+ }
3065
3074
  validateBaseUrl(value, serviceName);
3066
3075
  const url = new URL(value);
3067
3076
  if (url.search || url.hash) {
@@ -3072,17 +3081,6 @@ function validateBaseUrlPrefixVariable({
3072
3081
  "must not contain query or fragment before a fixed path suffix"
3073
3082
  );
3074
3083
  }
3075
- const rawPath = rawPathFromBaseUrl(value);
3076
- for (const segment2 of rawPath.split("/")) {
3077
- if (pathSegmentHasUnsafeSyntax(segment2, false)) {
3078
- throw baseUrlVariableError(
3079
- base,
3080
- serviceName,
3081
- name,
3082
- "must not contain unsafe path segments before a fixed path suffix"
3083
- );
3084
- }
3085
- }
3086
3084
  }
3087
3085
  function validateResolvedBaseUrlPathSafety(templateBase, serviceName, resolved) {
3088
3086
  const rawPath = rawPathFromBaseUrl(resolved);
@@ -4216,6 +4214,7 @@ function validateBaseUrl(base, serviceName) {
4216
4214
  `Invalid base URL "${base}" in firewall "${serviceName}": must not contain backslash`
4217
4215
  );
4218
4216
  }
4217
+ const hasTemplateVars = hasBaseUrlVars(base);
4219
4218
  const rawSyntaxTarget = baseUrlRawSyntaxTarget(base);
4220
4219
  if (hasRawWhitespace(rawSyntaxTarget)) {
4221
4220
  throw new Error(
@@ -4227,7 +4226,16 @@ function validateBaseUrl(base, serviceName) {
4227
4226
  `Invalid base URL "${base}" in firewall "${serviceName}": must not contain control characters or invalid Unicode`
4228
4227
  );
4229
4228
  }
4230
- if (hasBaseUrlVars(base)) return;
4229
+ let knownRawPath = rawPathFromBaseUrl(rawSyntaxTarget);
4230
+ if (knownRawPath === "" && hasTemplateVars && rawSyntaxTarget.startsWith(`${AUTH_TEMPLATE_URL_PLACEHOLDER}/`)) {
4231
+ knownRawPath = rawSyntaxTarget.slice(AUTH_TEMPLATE_URL_PLACEHOLDER.length);
4232
+ }
4233
+ if (hasUnsafeFirewallPath(knownRawPath)) {
4234
+ throw new Error(
4235
+ errMsg(base, serviceName, "must not contain unsafe path segments")
4236
+ );
4237
+ }
4238
+ if (hasTemplateVars) return;
4231
4239
  validateUrlSchemeDelimiter(base, serviceName, "base URL");
4232
4240
  if (hasBaseUrlParams(base)) {
4233
4241
  validateBaseUrlParams(base, serviceName);
@@ -22389,10 +22397,10 @@ var storedExecutionContextSchema = external_exports.object({
22389
22397
  storageManifest: storageManifestSchema.nullable(),
22390
22398
  environment: external_exports.record(external_exports.string(), external_exports.string()).nullable(),
22391
22399
  // API-only references used to reconstruct runner masking values from the
22392
- // stored environment. Missing means legacy/stripped data, null means no
22393
- // persistent secret map, and array order/repetition follows secret-map values.
22400
+ // stored environment. Null means no persistent secret map, and array
22401
+ // order/repetition follows secret-map values.
22394
22402
  // This field must not be included in the runner-facing ExecutionContext.
22395
- secretValueEnvironmentKeys: external_exports.array(external_exports.string()).nullable().optional(),
22403
+ secretValueEnvironmentKeys: external_exports.array(external_exports.string()).nullable(),
22396
22404
  // Connector-owned runtime vars used by proxy/firewall template resolution.
22397
22405
  // User-provided run vars stay in agent_runs.vars and are merged at claim time.
22398
22406
  vars: external_exports.record(external_exports.string(), external_exports.string()).nullable().optional(),
@@ -29641,4 +29649,4 @@ export {
29641
29649
  completeHostedSite,
29642
29650
  getHostedSiteFiles
29643
29651
  };
29644
- //# sourceMappingURL=chunk-GPZFXJF6.js.map
29652
+ //# sourceMappingURL=chunk-K7GO6MVZ.js.map