@aident-ai/cli 0.1.3-rc.0 → 0.1.3-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/README.md +6 -0
- package/dist/cli.mjs +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,12 +63,18 @@ aident capabilities execute --name "composio:gmail_tools:gmail_send_email" --inp
|
|
|
63
63
|
aident vault status --integrationId composio:github_tools
|
|
64
64
|
aident integrations migrate-local --json
|
|
65
65
|
aident integrations migrate-local --apply --integrationIds github_tools,slack_tools --json
|
|
66
|
+
aident billing balance --json
|
|
66
67
|
aident audit recent --limit 20
|
|
67
68
|
```
|
|
68
69
|
|
|
69
70
|
`integrations migrate-local` scans known local MCP/agent config files, redacts secret-like values, maps supported
|
|
70
71
|
providers to Loadout integrations, and starts selected Vault/OAuth connect flows only when `--apply` is passed.
|
|
71
72
|
|
|
73
|
+
`billing balance` keeps `balance` and returns `currentCreditSource` for the currently selected wallet. The legacy
|
|
74
|
+
`creditSource` alias remains available for compatibility. The response also returns `wallets.personal` plus
|
|
75
|
+
`wallets.team` when the team owner has enabled credit sharing. The Team wallet includes its team and owner names;
|
|
76
|
+
`wallets.team` is `null` while sharing is unavailable.
|
|
77
|
+
|
|
72
78
|
## Configuration
|
|
73
79
|
|
|
74
80
|
Settings live in `~/.aident/config.json`; OAuth credentials live in `~/.aident/credentials.json`.
|
package/dist/cli.mjs
CHANGED
|
@@ -548,7 +548,7 @@ function normalizeBaseUrl(url) {
|
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
// src/version.ts
|
|
551
|
-
var VERSION = "0.1.3-rc.
|
|
551
|
+
var VERSION = "0.1.3-rc.2";
|
|
552
552
|
|
|
553
553
|
// src/catalogCache.ts
|
|
554
554
|
var CACHE_TTL_MS = 5 * 60 * 1000;
|
|
@@ -1853,7 +1853,7 @@ function coerceArgsToSchema(args, schema) {
|
|
|
1853
1853
|
return out;
|
|
1854
1854
|
}
|
|
1855
1855
|
function shouldRejectRemainingArgs(domain, command) {
|
|
1856
|
-
return domain === "audit" && command === "audit" || domain === "vault" && command === "vault";
|
|
1856
|
+
return domain === "audit" && command === "audit" || domain === "billing" && command === "billing" || domain === "vault" && command === "vault";
|
|
1857
1857
|
}
|
|
1858
1858
|
function parseJsonObjectArg(value) {
|
|
1859
1859
|
const trimmed = value.trim();
|
|
@@ -1880,7 +1880,10 @@ function buildCommandArgs(params) {
|
|
|
1880
1880
|
if (positionalJson?.error)
|
|
1881
1881
|
return positionalJson;
|
|
1882
1882
|
const args = { ...positionalJson?.args ?? {}, ...params.flags };
|
|
1883
|
+
const props = params.schema?.properties ?? {};
|
|
1883
1884
|
for (const reserved of RESERVED_CLI_FLAGS) {
|
|
1885
|
+
if (reserved === "version" && props.version !== undefined)
|
|
1886
|
+
continue;
|
|
1884
1887
|
delete args[reserved];
|
|
1885
1888
|
}
|
|
1886
1889
|
if (positionalJson?.args)
|
|
@@ -1897,7 +1900,6 @@ function buildCommandArgs(params) {
|
|
|
1897
1900
|
args.action = params.subcommand;
|
|
1898
1901
|
}
|
|
1899
1902
|
const required = new Set(params.schema?.required ?? []);
|
|
1900
|
-
const props = params.schema?.properties ?? {};
|
|
1901
1903
|
for (const key of Object.keys(props)) {
|
|
1902
1904
|
if (remaining.length === 0)
|
|
1903
1905
|
break;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aident-ai/cli",
|
|
3
|
-
"version": "0.1.3-rc.
|
|
3
|
+
"version": "0.1.3-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": {
|