@aria_asi/cli 0.2.17 → 0.2.18

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/bin/aria.js CHANGED
@@ -187,9 +187,14 @@ if (command === 'check-update') {
187
187
  const pathMod = require('path');
188
188
  const osMod = require('os');
189
189
  const LICENSE_PATH = pathMod.join(osMod.homedir(), '.aria', 'license.json');
190
+ const OWNER_TOKEN_PATH = pathMod.join(osMod.homedir(), '.aria', 'owner-token');
190
191
  const hasLicense = fsMod.existsSync(LICENSE_PATH);
192
+ // Hamza 2026-04-27: owner-token presence means the user already authenticated
193
+ // via `aria login --owner`. Without this check, the wizard fires every time
194
+ // because owner-mode never writes license.json (master JWT goes to owner-token).
195
+ const hasOwnerToken = fsMod.existsSync(OWNER_TOKEN_PATH);
191
196
 
192
- if (!hasLicense) {
197
+ if (!hasLicense && !hasOwnerToken) {
193
198
  const { runSetupWizard } = await import('../dist/aria-connector/src/setup-wizard.js');
194
199
  await runSetupWizard();
195
200
  process.exit(0);
@@ -199,7 +204,12 @@ if (command === 'check-update') {
199
204
 
200
205
  const config = loadConfig();
201
206
 
202
- if (!config.model) {
207
+ // Owner-mode short-circuit: owner doesn't need a client provider/API key
208
+ // configured because /api/aria/speak uses server-side master credentials
209
+ // for primary-author dispatch (DeepSeek → Grok → NIM → Qwen Mac chain).
210
+ // The provider-config prompt is for client tier where the chain dispatches
211
+ // through the client's own LLM. Skip it for owner.
212
+ if (!config.model && !hasOwnerToken) {
203
213
  const rl = require('readline').createInterface({
204
214
  input: process.stdin,
205
215
  output: process.stdout,
@@ -1,5 +1,5 @@
1
1
  {
2
- "bundledAt": "2026-04-27T17:17:10.692Z",
2
+ "bundledAt": "2026-04-27T18:05:44.844Z",
3
3
  "sdkSource": "/home/hamzaibrahim1/rei-ai-brain/harness/packages/harness-http-client/dist",
4
4
  "files": 3
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aria_asi/cli",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "description": "Aria Smart CLI — the world's first harness-powered terminal companion",
5
5
  "bin": {
6
6
  "aria": "./bin/aria.js"