@cloudverse/aix-cli 1.2.0 → 1.2.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/index.js +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -142,6 +142,7 @@ program
142
142
  .option('--compliance-tier <string>', 'Compliance tier (passed through)')
143
143
  .option('--input-tokens <number>', 'Estimated input tokens for cost simulation')
144
144
  .option('--output-tokens <number>', 'Estimated output tokens for cost simulation')
145
+ .option('--preferred-providers <string>', 'Comma-separated list of preferred provider names (scoring boost)')
145
146
  .option('--intent-json <path>', 'Path to JSON file with full request payload')
146
147
  .option('--format <string>', 'Output format: pretty | json', 'pretty')
147
148
  .action(async (opts) => {
@@ -183,6 +184,9 @@ program
183
184
  if (opts.outputTokens)
184
185
  payload.token_estimates.output_tokens = parseInt(opts.outputTokens);
185
186
  }
187
+ if (opts.preferredProviders) {
188
+ payload.preferred_providers = opts.preferredProviders.split(',').map((s) => s.trim());
189
+ }
186
190
  }
187
191
  const res = await request('POST', '/api/brain/decide', payload);
188
192
  if (!res.ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudverse/aix-cli",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "AIX Brain Decision Engine CLI - decision-only surface for AI workload routing",
5
5
  "type": "module",
6
6
  "bin": {