neoagent 2.3.1-beta.21 → 2.3.1-beta.22

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.
@@ -54,6 +54,19 @@ function buildBundledWebClientIfPossible({
54
54
  );
55
55
  }
56
56
 
57
+ const pubGet = runCommand(
58
+ 'flutter',
59
+ ['pub', 'get'],
60
+ {
61
+ cwd: flutterAppDir,
62
+ env: withInstallEnv(),
63
+ },
64
+ );
65
+
66
+ if (pubGet.status !== 0) {
67
+ fail('Flutter pub get failed before web rebuild.');
68
+ }
69
+
57
70
  onBuildStart?.();
58
71
  const build = runCommand(
59
72
  'flutter',
package/lib/manager.js CHANGED
@@ -1076,10 +1076,6 @@ function cmdRestart() {
1076
1076
 
1077
1077
  async function cmdRebuildWeb() {
1078
1078
  heading(`Rebuild Flutter Web Client`);
1079
- if (fs.existsSync(WEB_CLIENT_DIR)) {
1080
- fs.rmSync(WEB_CLIENT_DIR, { recursive: true, force: true });
1081
- logOk('Removed old web client build');
1082
- }
1083
1079
  buildBundledWebClientIfPossible();
1084
1080
  }
1085
1081
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neoagent",
3
- "version": "2.3.1-beta.21",
3
+ "version": "2.3.1-beta.22",
4
4
  "description": "Proactive personal AI agent with no limits",
5
5
  "license": "MIT",
6
6
  "main": "server/index.js",
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"59aa584fdf100e6c78c785d8a5b565d1de4b48
37
37
 
38
38
  _flutter.loader.load({
39
39
  serviceWorkerSettings: {
40
- serviceWorkerVersion: "61545030" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
40
+ serviceWorkerVersion: "1811680254" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
41
41
  }
42
42
  });