@odla-ai/cli 0.31.0 → 0.31.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.
package/dist/bin.js CHANGED
@@ -174,7 +174,7 @@ function absoluteEntryPath(entryPath) {
174
174
 
175
175
  // src/bin.ts
176
176
  var argv = process.argv.slice(2);
177
- requireCurrentCliForProvision(argv).then(() => requireCoherentProvisionRuntime(argv)).then(async () => (await import("./cli-CCQVA7VV.js")).runCli()).catch((err) => {
177
+ requireCurrentCliForProvision(argv).then(() => requireCoherentProvisionRuntime(argv)).then(async () => (await import("./cli-Q2U7TCMV.js")).runCli()).catch((err) => {
178
178
  console.error(redactSecrets(`odla-ai: ${err instanceof Error ? err.message : String(err)}`));
179
179
  process.exitCode = exitCodeFor(err);
180
180
  });
@@ -365,7 +365,7 @@ async function freshHandshake(ctx, waitMs) {
365
365
  } catch (err) {
366
366
  const code = err instanceof OdlaError ? err.code : void 0;
367
367
  if (code === "handshake_pending" && started) throw stillPending(started, ctx.email);
368
- if (code === "handshake_denied" || code === "handshake_expired" || code === "handshake_timeout") {
368
+ if (code === "handshake_duplicate" || code === "handshake_denied" || code === "handshake_expired" || code === "handshake_timeout") {
369
369
  clearPendingHandshake(ctx.pendingFile);
370
370
  }
371
371
  throw err;
@@ -13320,4 +13320,4 @@ export {
13320
13320
  isTerminalHostedSecurityStatus,
13321
13321
  runCli
13322
13322
  };
13323
- //# sourceMappingURL=chunk-5VH4EWV7.js.map
13323
+ //# sourceMappingURL=chunk-Y3W7YKWI.js.map