@jacobbd/relay-ai 0.7.3 → 0.7.4
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/{chunk-5LPUIWNJ.js → chunk-EUY2MVOS.js} +7 -5
- package/dist/chunk-EUY2MVOS.js.map +1 -0
- package/dist/cli.js +10 -5
- package/dist/cli.js.map +1 -1
- package/dist/core/index.js +3 -1
- package/dist/core/index.js.map +1 -1
- package/dist/{ui-command-DMPYSK7W.js → ui-command-CF3IEIZP.js} +2 -2
- package/package.json +3 -1
- package/dist/chunk-5LPUIWNJ.js.map +0 -1
- /package/dist/{ui-command-DMPYSK7W.js.map → ui-command-CF3IEIZP.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -177,7 +177,7 @@ import {
|
|
|
177
177
|
validateCustomEndpointUrl,
|
|
178
178
|
writeSecureLogLine,
|
|
179
179
|
zenRegistryStub
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-EUY2MVOS.js";
|
|
181
181
|
import {
|
|
182
182
|
filterTemplates,
|
|
183
183
|
init_provider_templates,
|
|
@@ -13393,7 +13393,7 @@ Options:
|
|
|
13393
13393
|
--trace Write debug logs under ~/.relay-ai/logs/`);
|
|
13394
13394
|
return 0;
|
|
13395
13395
|
}
|
|
13396
|
-
const { runUiCommand } = await import("./ui-command-
|
|
13396
|
+
const { runUiCommand } = await import("./ui-command-CF3IEIZP.js");
|
|
13397
13397
|
return runUiCommand({ trace: parsed.trace, serverMode: parsed.uiServerMode });
|
|
13398
13398
|
}
|
|
13399
13399
|
if (parsed.command === "models") {
|
|
@@ -13534,15 +13534,20 @@ function isCliEntryPoint() {
|
|
|
13534
13534
|
}
|
|
13535
13535
|
if (isCliEntryPoint()) {
|
|
13536
13536
|
main().then((exitCode) => {
|
|
13537
|
-
|
|
13537
|
+
gracefulExit(exitCode);
|
|
13538
13538
|
}).catch((err) => {
|
|
13539
13539
|
if (err === /* @__PURE__ */ Symbol.for("clack:cancel")) {
|
|
13540
|
-
|
|
13540
|
+
gracefulExit(0);
|
|
13541
|
+
return;
|
|
13541
13542
|
}
|
|
13542
13543
|
console.error(pc12.red("\nUnexpected error:"), err);
|
|
13543
|
-
|
|
13544
|
+
gracefulExit(1);
|
|
13544
13545
|
});
|
|
13545
13546
|
}
|
|
13547
|
+
function gracefulExit(code) {
|
|
13548
|
+
process.exitCode = code;
|
|
13549
|
+
setTimeout(() => process.exit(code), 500).unref();
|
|
13550
|
+
}
|
|
13546
13551
|
export {
|
|
13547
13552
|
antigravityAppHelpText,
|
|
13548
13553
|
antigravityCliHelpText,
|