@aident-ai/cli 0.1.0-rc.2 → 0.1.0

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/README.md CHANGED
@@ -50,8 +50,8 @@ aident --packages playbook playbooks execute --playbookId pb_123 --json
50
50
 
51
51
  ```bash
52
52
  aident capabilities search --query "send email"
53
- aident capabilities get --name "gmail.send_email"
54
- aident capabilities execute --name "gmail.send_email" --input '{"to":"user@example.com"}'
53
+ aident capabilities get --name "gmail_tools.gmail_send_email"
54
+ aident capabilities execute --name "gmail_tools.gmail_send_email" --input '{"to":"user@example.com"}'
55
55
  aident vault status --integrationId github_tools
56
56
  aident audit recent --limit 20
57
57
  ```
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.2";
305
+ var VERSION = "0.1.0";
306
306
 
307
307
  // src/client.ts
308
308
  class CliClient {
@@ -677,6 +677,19 @@ function renderHelp(catalog) {
677
677
  return lines.join(`
678
678
  `);
679
679
  }
680
+ function renderLoginHelp() {
681
+ return [
682
+ `${colors.bold}AIDENT LOGIN${colors.reset}`,
683
+ "",
684
+ "USAGE:",
685
+ " aident login [--oob] [--base-url <url>]",
686
+ "",
687
+ "FLAGS:",
688
+ " --oob Use browser verification code flow",
689
+ " --base-url <url> Authenticate against a specific Aident server"
690
+ ].join(`
691
+ `);
692
+ }
680
693
  function renderDomainHelp(catalog, domain) {
681
694
  const cmds = catalog.commands.filter((c) => c.domain === domain);
682
695
  if (cmds.length === 0)
@@ -968,6 +981,10 @@ async function runHelp(parsed) {
968
981
  }
969
982
  }
970
983
  async function runLogin(parsed) {
984
+ if (parsed.isHelp) {
985
+ logInfo(renderLoginHelp());
986
+ return;
987
+ }
971
988
  const flagBaseUrlRaw = parsed.flags["base-url"];
972
989
  const flagBaseUrl = typeof flagBaseUrlRaw === "string" ? flagBaseUrlRaw : undefined;
973
990
  const baseUrl = flagBaseUrl ? normalizeBaseUrl(flagBaseUrl) : await resolveDefaultBaseUrl();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aident-ai/cli",
3
- "version": "0.1.0-rc.2",
3
+ "version": "0.1.0",
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": {