@aident-ai/cli 0.1.0-rc.1 → 0.1.0-rc.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.
Files changed (2) hide show
  1. package/dist/cli.mjs +4 -2
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -302,7 +302,7 @@ function escapeHtml(s) {
302
302
  }
303
303
 
304
304
  // src/version.ts
305
- var VERSION = "0.1.0-rc.1";
305
+ var VERSION = "0.1.0-rc.2";
306
306
 
307
307
  // src/client.ts
308
308
  class CliClient {
@@ -998,7 +998,9 @@ async function runWhoami(parsed) {
998
998
  process.exitCode = 1;
999
999
  return;
1000
1000
  }
1001
- await fetchCatalog(client);
1001
+ const catalog = await fetchCatalog(client);
1002
+ if (!catalog)
1003
+ return;
1002
1004
  const result = await callWithRefresh(client, (c) => c.exec("account", "auth status", {}));
1003
1005
  if (parsed.format === "json") {
1004
1006
  logInfo(JSON.stringify(result.body));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aident-ai/cli",
3
- "version": "0.1.0-rc.1",
3
+ "version": "0.1.0-rc.2",
4
4
  "description": "Aident CLI — umbrella access to Loadout integrations, Playbook automation, Intern tools, and the Aident platform.",
5
5
  "homepage": "https://aident.ai",
6
6
  "repository": {