neoagent 2.3.1-beta.89 → 2.3.1-beta.91
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/.env.example +4 -0
- package/README.md +16 -7
- package/flutter_app/lib/features/location/location_service.dart +2 -4
- package/flutter_app/lib/main.dart +1 -0
- package/flutter_app/lib/main_app_shell.dart +17 -15
- package/flutter_app/lib/main_chat.dart +46 -42
- package/flutter_app/lib/main_controller.dart +6 -1
- package/flutter_app/lib/main_devices.dart +86 -742
- package/flutter_app/lib/main_integrations.dart +3 -3
- package/flutter_app/lib/main_settings.dart +50 -0
- package/flutter_app/lib/main_spacing.dart +18 -0
- package/flutter_app/lib/main_theme.dart +9 -0
- package/flutter_app/lib/main_unified.dart +3 -3
- package/lib/manager.js +33 -0
- package/package.json +1 -1
- package/server/db/database.js +74 -16
- package/server/guest_agent.js +1 -0
- package/server/public/.last_build_id +1 -1
- package/server/public/assets/fonts/MaterialIcons-Regular.otf +0 -0
- package/server/public/flutter_bootstrap.js +1 -1
- package/server/public/main.dart.js +50396 -50271
- package/server/services/ai/capabilityHealth.js +2 -3
- package/server/services/android/android_bootstrap_worker.js +18 -3
- package/server/services/android/controller.js +460 -2753
- package/server/services/runtime/backends/local-vm.js +33 -145
- package/server/services/runtime/docker-vm-manager.js +392 -0
- package/server/services/runtime/manager.js +53 -38
- package/server/services/runtime/settings.js +12 -10
- package/server/services/runtime/validation.js +4 -1
- package/server/utils/deployment.js +8 -2
- package/server/services/runtime/qemu.js +0 -1118
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
const db = require('../../db/database');
|
|
2
2
|
const { getProviderHealthCatalog } = require('./models');
|
|
3
|
-
const { deriveCloudBrowserBackend } = require('../runtime/settings');
|
|
4
3
|
|
|
5
4
|
function capabilityEntry(overrides = {}) {
|
|
6
5
|
return {
|
|
@@ -111,12 +110,12 @@ async function getBrowserHealth(userId, app, engine) {
|
|
|
111
110
|
summary: error
|
|
112
111
|
? `Browser runtime error: ${error}`
|
|
113
112
|
: runtimeSettings?.browser_backend === 'extension'
|
|
114
|
-
? `No extension device is active. Falling back to the
|
|
113
|
+
? `No extension device is active. Falling back to the vm browser runtime.`
|
|
115
114
|
: (launched ? 'Browser runtime is ready.' : 'Browser runtime is available but not launched.'),
|
|
116
115
|
details: {
|
|
117
116
|
preferredBackend: runtimeSettings?.browser_backend || null,
|
|
118
117
|
backend: runtimeSettings?.browser_backend === 'extension'
|
|
119
|
-
?
|
|
118
|
+
? 'vm'
|
|
120
119
|
: runtimeSettings?.browser_backend || null,
|
|
121
120
|
extensionConnected: extensionStatus?.connected === true,
|
|
122
121
|
activeTokenCount: Array.isArray(extensionStatus?.tokens)
|
|
@@ -27,7 +27,12 @@ async function main() {
|
|
|
27
27
|
} catch {}
|
|
28
28
|
}
|
|
29
29
|
try {
|
|
30
|
-
console.error('[Android] Bootstrap worker failed:',
|
|
30
|
+
console.error('[Android] Bootstrap worker failed:', {
|
|
31
|
+
message: error?.message || String(error),
|
|
32
|
+
code: error?.code || null,
|
|
33
|
+
details: error?.details || null,
|
|
34
|
+
stack: error?.stack || null,
|
|
35
|
+
});
|
|
31
36
|
} catch {}
|
|
32
37
|
process.exit(1);
|
|
33
38
|
}
|
|
@@ -35,14 +40,24 @@ async function main() {
|
|
|
35
40
|
|
|
36
41
|
process.on('unhandledRejection', (error) => {
|
|
37
42
|
try {
|
|
38
|
-
console.error('[Android] UnhandledRejection in bootstrap worker:',
|
|
43
|
+
console.error('[Android] UnhandledRejection in bootstrap worker:', {
|
|
44
|
+
message: error?.message || String(error),
|
|
45
|
+
code: error?.code || null,
|
|
46
|
+
details: error?.details || null,
|
|
47
|
+
stack: error?.stack || null,
|
|
48
|
+
});
|
|
39
49
|
} catch {}
|
|
40
50
|
process.exit(1);
|
|
41
51
|
});
|
|
42
52
|
|
|
43
53
|
main().catch((error) => {
|
|
44
54
|
try {
|
|
45
|
-
console.error('[Android] Bootstrap worker crashed:',
|
|
55
|
+
console.error('[Android] Bootstrap worker crashed:', {
|
|
56
|
+
message: error?.message || String(error),
|
|
57
|
+
code: error?.code || null,
|
|
58
|
+
details: error?.details || null,
|
|
59
|
+
stack: error?.stack || null,
|
|
60
|
+
});
|
|
46
61
|
} catch {}
|
|
47
62
|
process.exit(1);
|
|
48
63
|
});
|