@aident-ai/cli 0.1.3-rc.0 → 0.1.3-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 (2) hide show
  1. package/dist/cli.mjs +5 -3
  2. package/package.json +1 -1
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.0";
551
+ var VERSION = "0.1.3-rc.1";
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.0",
3
+ "version": "0.1.3-rc.1",
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": {