@aident-ai/cli 0.1.0-rc.0 → 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.
- package/dist/cli.mjs +5 -3
- 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.
|
|
305
|
+
var VERSION = "0.1.0-rc.2";
|
|
306
306
|
|
|
307
307
|
// src/client.ts
|
|
308
308
|
class CliClient {
|
|
@@ -824,7 +824,7 @@ function coerceArgsToSchema(args, schema) {
|
|
|
824
824
|
} else {
|
|
825
825
|
out[key] = [value];
|
|
826
826
|
}
|
|
827
|
-
} else if (types.includes("string") && !types.includes("number") && typeof value === "number") {
|
|
827
|
+
} else if (types.includes("string") && !types.includes("number") && !types.includes("boolean") && (typeof value === "number" || typeof value === "boolean")) {
|
|
828
828
|
out[key] = String(value);
|
|
829
829
|
}
|
|
830
830
|
}
|
|
@@ -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.
|
|
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": {
|