atris 3.25.0 → 3.25.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 +1 -1
  2. package/ax +11 -9
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -87,7 +87,7 @@ Integrates with any agent.
87
87
 
88
88
  ## Chat With Atris 2
89
89
 
90
- `ax` is the Atris 2 chat and coding-agent CLI. It uses the hosted Atris cloud by default, streams text, shows tool activity, and keeps fresh installs away from backend setup.
90
+ `ax` is the Atris 2 chat and coding-agent CLI. It uses the hosted Atris cloud by default, streams text, shows tool activity, and keeps fresh installs away from local setup.
91
91
 
92
92
  ```bash
93
93
  cd your-project
package/ax CHANGED
@@ -349,7 +349,7 @@ function buildRunProfile(options = {}) {
349
349
  workspace_path: isCodeFastLocal(options) ? cwd : 'cloud scratch',
350
350
  max_turns: 1,
351
351
  streaming: false,
352
- runtime: isCodeFastLocal(options) ? 'local Cursor SDK through backend' : 'authenticated Code Fast cloud scratch',
352
+ runtime: isCodeFastLocal(options) ? 'local Cursor SDK bridge' : 'authenticated Code Fast cloud scratch',
353
353
  reasoning: 'Composer 2.5 fast lane; charges 10 credits per public turn'
354
354
  };
355
355
  }
@@ -368,10 +368,10 @@ function buildRunProfile(options = {}) {
368
368
  streaming: true,
369
369
  runtime: route === 'cloud' ? 'authenticated cloud connectors/chat' : 'local workspace',
370
370
  reasoning: mode === 'max'
371
- ? 'backend reports run row; Max workspace tool loop uses high reasoning effort'
371
+ ? 'Atris cloud service; Max workspace tool loop uses high reasoning effort'
372
372
  : mode === 'pro'
373
- ? 'backend reports run row; Pro workspace tool loop uses API default medium'
374
- : 'backend reports run row; Fast workspace tool loop uses provider default'
373
+ ? 'Atris cloud service; Pro workspace tool loop uses API default medium'
374
+ : 'Atris cloud service; Fast workspace tool loop uses provider default'
375
375
  };
376
376
  }
377
377
 
@@ -2872,16 +2872,18 @@ function formatChatDogfoodStatusReport(status) {
2872
2872
  return lines.join('\n');
2873
2873
  }
2874
2874
 
2875
- function printBackendHint() {
2875
+ function printBackendHint(options = {}) {
2876
2876
  console.log('');
2877
2877
  console.log('Hosted lane:');
2878
2878
  console.log('ax --cloud "hello"');
2879
2879
  console.log('');
2880
2880
  console.log('Cloud API:');
2881
2881
  console.log(`ATRIS_API_BASE=${BACKEND.publicBase}`);
2882
- console.log('');
2883
- console.log('Local workspace lane:');
2884
- console.log(`Set AX_BACKEND_URL=http://${BACKEND.host}:${BACKEND.port} after starting a local Atris2 backend.`);
2882
+ if (options.route === 'local' || options.forceLocal) {
2883
+ console.log('');
2884
+ console.log('Local developer lane:');
2885
+ console.log(`Set AX_BACKEND_URL=http://${BACKEND.host}:${BACKEND.port} after starting your local Atris2 service.`);
2886
+ }
2885
2887
  }
2886
2888
 
2887
2889
  function bufferedOutput() {
@@ -3243,7 +3245,7 @@ async function main() {
3243
3245
  console.log(formatDoneLine(result.durationMs, creditsFromState(result)));
3244
3246
  } catch (error) {
3245
3247
  console.error(`x ${error.message}`);
3246
- printBackendHint();
3248
+ printBackendHint(runOptions);
3247
3249
  process.exit(1);
3248
3250
  }
3249
3251
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atris",
3
- "version": "3.25.0",
3
+ "version": "3.25.1",
4
4
  "main": "bin/atris.js",
5
5
  "bin": {
6
6
  "atris": "bin/atris.js",