@visa/cli 5.0.0-rc.415 → 5.0.0-rc.417

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.
@@ -40,7 +40,7 @@ export function resolveReleaseSourceConfig(env = process.env) {
40
40
  if (!raw) {
41
41
  throw new ManagedRuntimeUpdateError(
42
42
  'release_source_required',
43
- 'VISA_RUNTIME_RELEASE_SOURCE_URL must name the trusted Visa /v1/status endpoint'
43
+ 'VISA_RUNTIME_RELEASE_SOURCE_URL must name the trusted Visa /health endpoint'
44
44
  )
45
45
  }
46
46
 
@@ -243,7 +243,17 @@ export async function runManagedRuntimeConvergence(env = process.env, dependenci
243
243
  }
244
244
  }
245
245
 
246
- async function main() {
246
+ export const CONVERGE_HELP = [
247
+ 'Manage Visa updates.',
248
+ 'Usage: visa-runtime-converge [--help]',
249
+ 'Configuration: https://github.com/Visa-Crypto-Labs/Visa-mono/blob/main/packages/visa-cli-openclaw/RUNTIMES.md',
250
+ ].join('\n')
251
+
252
+ export async function main(argv = process.argv.slice(2)) {
253
+ if (argv.includes('--help') || argv.includes('-h')) {
254
+ process.stdout.write(CONVERGE_HELP + '\n')
255
+ return
256
+ }
247
257
  try {
248
258
  const result = await runManagedRuntimeConvergence(process.env)
249
259
  process.stdout.write(`${JSON.stringify(result)}\n`)