aegisai-harness 0.67.6 → 0.67.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aegisai-harness",
3
- "version": "0.67.6",
3
+ "version": "0.67.9",
4
4
  "description": "AegisAi Harness — feature-rich, local-only AI agent harness",
5
5
  "type": "commonjs",
6
6
  "main": "src/index.js",
package/public/app.js CHANGED
@@ -63,11 +63,14 @@ function OnboardingWizard({ onComplete }) {
63
63
  const steps = ['Welcome', 'Backend', 'Model', 'Security', 'Done'];
64
64
 
65
65
  async function finish() {
66
- const body = { BACKEND_TYPE: backend };
67
- if (token) body.AEGISAI_TOKEN = token;
68
- await fetch('/api/config', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(body) });
69
- localStorage.setItem('onboarded', '1');
70
- toast('Setup complete! Welcome to AegisAi Harness.', 'success');
66
+ try {
67
+ const body = { BACKEND_TYPE: backend };
68
+ if (token) body.AEGISAI_TOKEN = token;
69
+ await fetch('/api/config', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(body) });
70
+ } catch (e) {
71
+ console.error('config save failed:', e);
72
+ }
73
+ try { localStorage.setItem('onboarded', '1'); } catch (e) {}
71
74
  onComplete();
72
75
  }
73
76
 
package/src/index.js CHANGED
@@ -27,8 +27,7 @@ function askApproval(name, args) {
27
27
  }
28
28
 
29
29
  async function main() {
30
- const args = process.argv.slice(2);
31
- if (args.includes('--version') || args.includes('-v')) {
30
+ if (process.argv.includes('--version') || process.argv.includes('-v')) {
32
31
  console.log(require('../package.json').version);
33
32
  process.exit(0);
34
33
  }