@aident-ai/cli 0.1.3 → 0.1.4-rc.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.
Files changed (3) hide show
  1. package/README.md +30 -0
  2. package/dist/cli.mjs +8290 -1216
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -24,6 +24,7 @@ npm install -g @aident-ai/cli
24
24
  ```bash
25
25
  aident setup
26
26
  aident doctor
27
+ aident update --check
27
28
  aident --help
28
29
  ```
29
30
 
@@ -41,6 +42,20 @@ aident logout
41
42
 
42
43
  When using `AIDENT_TOKEN`, unset it in your shell after running `aident logout`.
43
44
 
45
+ ## Updates
46
+
47
+ Check without changing the machine, or explicitly update both the CLI and static skill:
48
+
49
+ ```bash
50
+ aident update --check
51
+ aident update
52
+ aident update --project
53
+ ```
54
+
55
+ The CLI uses the package manager that owns the active persistent installation and verifies the exact resulting
56
+ version. The skill updater verifies a digest-addressed Aident artifact, installs one canonical global copy, and
57
+ preserves project copies unless `--project` is passed. Recommendations never apply an update automatically.
58
+
44
59
  ## Packages
45
60
 
46
61
  Loadout is always enabled by default. Add Playbook only when an agent needs to create, execute, or manage playbooks.
@@ -60,20 +75,35 @@ aident --packages playbook playbooks execute --playbookId pb_123 --json
60
75
  aident capabilities search --query "send email"
61
76
  aident capabilities get --name "composio:gmail_tools:gmail_send_email"
62
77
  aident capabilities execute --name "composio:gmail_tools:gmail_send_email" --input '{"to":"user@example.com"}'
78
+ aident skills search --query "review a technical plan"
79
+ aident skills read --name "skill:550e8400-e29b-41d4-a716-446655440000"
80
+ aident skills favorite --name "skill:550e8400-e29b-41d4-a716-446655440000"
81
+ aident skills sync
63
82
  aident vault status --integrationId composio:github_tools
64
83
  aident integrations migrate-local --json
65
84
  aident integrations migrate-local --apply --integrationIds github_tools,slack_tools --json
66
85
  aident billing balance --json
67
86
  aident audit recent --limit 20
87
+ aident audit recent --scope team --json
68
88
  ```
69
89
 
70
90
  `integrations migrate-local` scans known local MCP/agent config files, redacts secret-like values, maps supported
71
91
  providers to Loadout integrations, and starts selected Vault/OAuth connect flows only when `--apply` is passed.
72
92
 
93
+ `skills favorite` saves the account preference and immediately synchronizes all current favorites. `skills sync`
94
+ reconciles each current public revision into `~/.agents/skills` and links it into supported harness-global Skill
95
+ directories, where the deterministic `loadout-<slug>-<id>` name is available as a slash command. The CLI tracks its
96
+ owned paths in `~/.aident/favorite-skills.json` and never overwrites or removes unmanaged paths.
97
+
73
98
  `billing balance` keeps `balance` and returns `currentCreditSource` for the currently selected wallet. The legacy
74
99
  `creditSource` alias remains available for compatibility. The response also returns `wallets.personal` plus
75
100
  `wallets.team` when the team owner has enabled credit sharing. The Team wallet includes its team and owner names;
76
101
  `wallets.team` is `null` while sharing is unavailable.
102
+ `audit recent` returns `creditSource` on newly charged action rows so callers can distinguish Personal and Team usage;
103
+ uncharged and historical rows return `null`. Team owners can pass `--scope team` to see shared-wallet usage across all
104
+ active members instead of just their own: each entry adds `actingUserId`/`actingUserEmail`/`actingUserName`, and the
105
+ summary adds a `byActingUser` breakdown. `--scope team` is rejected for anyone who isn't the owner of a team with
106
+ credit sharing enabled; the default `--scope mine` behavior is unchanged.
77
107
 
78
108
  ## Configuration
79
109