neoagent 2.3.1-beta.82 → 2.3.1-beta.84

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": "neoagent",
3
- "version": "2.3.1-beta.82",
3
+ "version": "2.3.1-beta.84",
4
4
  "description": "Proactive personal AI agent with no limits",
5
5
  "license": "MIT",
6
6
  "main": "server/index.js",
@@ -92,6 +92,7 @@ async function handle(res, work) {
92
92
  app.use(requireToken);
93
93
 
94
94
  app.get('/health', (_req, res) => {
95
+ console.log('[Guest Agent] Health check requested');
95
96
  res.json({
96
97
  status: 'ok',
97
98
  runtime: 'guest-agent',
@@ -1 +1 @@
1
- ed299251352d194703fe2ae49b134362
1
+ fd0797f2209789364168077213933ca3
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"42d3d75a56efe1a2e9902f52dc8006099c45d9
37
37
 
38
38
  _flutter.loader.load({
39
39
  serviceWorkerSettings: {
40
- serviceWorkerVersion: "3058659841" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
40
+ serviceWorkerVersion: "2721040569" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
41
41
  }
42
42
  });
@@ -127331,7 +127331,7 @@ r===$&&A.b()
127331
127331
  o.push(A.id(p,A.iS(!1,new A.a3(B.tF,A.e_(new A.cU(B.h8,new A.a5o(r,p),p),p,p),p),!1,B.I,!0),p,p,0,0,0,p))}r=!1
127332
127332
  if(!s.ay)if(!s.ch){r=s.e
127333
127333
  r===$&&A.b()
127334
- r=B.b.A("mp2i31v9-774c259").length!==0&&r.b}if(r){r=s.d
127334
+ r=B.b.A("mp2izzds-c4e9e33").length!==0&&r.b}if(r){r=s.d
127335
127335
  r===$&&A.b()
127336
127336
  r=r.V&&!r.a0?84:0
127337
127337
  q=s.e
@@ -131991,7 +131991,7 @@ $S:324}
131991
131991
  A.Y_.prototype={}
131992
131992
  A.R_.prototype={
131993
131993
  mJ(a){var s=this
131994
- if(B.b.A("mp2i31v9-774c259").length===0||s.a!=null)return
131994
+ if(B.b.A("mp2izzds-c4e9e33").length===0||s.a!=null)return
131995
131995
  s.zY()
131996
131996
  s.a=A.pN(B.Pq,new A.b3i(s))},
131997
131997
  zY(){var s=0,r=A.l(t.H),q,p=2,o=[],n=this,m,l,k,j,i,h,g,f
@@ -132009,7 +132009,7 @@ if(!t.f.b(k)){s=1
132009
132009
  break}i=J.Z(k,"buildId")
132010
132010
  h=i==null?null:B.b.A(J.r(i))
132011
132011
  j=h==null?"":h
132012
- if(J.bi(j)===0||J.c(j,"mp2i31v9-774c259")){s=1
132012
+ if(J.bi(j)===0||J.c(j,"mp2izzds-c4e9e33")){s=1
132013
132013
  break}n.b=!0
132014
132014
  n.J()
132015
132015
  p=2
@@ -132026,7 +132026,7 @@ case 2:return A.i(o.at(-1),r)}})
132026
132026
  return A.k($async$zY,r)},
132027
132027
  v0(){var s=0,r=A.l(t.H),q,p=2,o=[],n=this,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1
132028
132028
  var $async$v0=A.h(function(a2,a3){if(a2===1){o.push(a3)
132029
- s=p}for(;;)switch(s){case 0:if(B.b.A("mp2i31v9-774c259").length===0||n.c){s=1
132029
+ s=p}for(;;)switch(s){case 0:if(B.b.A("mp2izzds-c4e9e33").length===0||n.c){s=1
132030
132030
  break}n.c=!0
132031
132031
  n.J()
132032
132032
  p=4
@@ -31,6 +31,10 @@ function createCloudInitScript({
31
31
  'export DEBIAN_FRONTEND=noninteractive',
32
32
  `HOST_SHARE_MOUNT=${JSON.stringify(hostShareMount)}`,
33
33
  `HOST_DATA_MOUNT=${JSON.stringify(hostDataMount)}`,
34
+ 'HOST_SHARE_TAG=neoagent-host',
35
+ 'HOST_SHARE_TAG_FALLBACK=neoagent-host-pci',
36
+ 'HOST_DATA_TAG=neoagent-data',
37
+ 'HOST_DATA_TAG_FALLBACK=neoagent-data-pci',
34
38
  `APP_DIR=${JSON.stringify(appDir)}`,
35
39
  `BOOTSTRAP_MARKER=${JSON.stringify(bootstrapMarker)}`,
36
40
  `ENV_FILE=${JSON.stringify(envFile)}`,
@@ -41,16 +45,32 @@ function createCloudInitScript({
41
45
  'modprobe 9p 2>/dev/null || true',
42
46
  'modprobe 9pnet_virtio 2>/dev/null || true',
43
47
  '',
44
- 'if ! grep -qs "neoagent-host" /etc/fstab; then',
45
- ' echo "neoagent-host ${HOST_SHARE_MOUNT} 9p trans=virtio,version=9p2000.L,msize=262144,ro 0 0" >> /etc/fstab',
48
+ 'function mount_9p_tag() {',
49
+ ' local tag="$1"',
50
+ ' local target="$2"',
51
+ ' local mode="$3"',
52
+ ' mount -t 9p -o "trans=virtio,version=9p2000.L,msize=131072,${mode}" "$tag" "$target" >/dev/null 2>&1',
53
+ '}',
54
+ '',
55
+ 'if ! mount_9p_tag "$HOST_SHARE_TAG" "$HOST_SHARE_MOUNT" ro; then',
56
+ ' if mount_9p_tag "$HOST_SHARE_TAG_FALLBACK" "$HOST_SHARE_MOUNT" ro; then',
57
+ ' HOST_SHARE_TAG="$HOST_SHARE_TAG_FALLBACK"',
58
+ ' fi',
59
+ 'fi',
60
+ 'if ! mount_9p_tag "$HOST_DATA_TAG" "$HOST_DATA_MOUNT" rw; then',
61
+ ' if mount_9p_tag "$HOST_DATA_TAG_FALLBACK" "$HOST_DATA_MOUNT" rw; then',
62
+ ' HOST_DATA_TAG="$HOST_DATA_TAG_FALLBACK"',
63
+ ' fi',
64
+ 'fi',
65
+ '',
66
+ 'if ! grep -qs "${HOST_SHARE_MOUNT}" /etc/fstab; then',
67
+ ' echo "${HOST_SHARE_TAG} ${HOST_SHARE_MOUNT} 9p trans=virtio,version=9p2000.L,msize=262144,ro 0 0" >> /etc/fstab',
46
68
  'fi',
47
- 'if ! grep -qs "neoagent-data" /etc/fstab; then',
48
- ' echo "neoagent-data ${HOST_DATA_MOUNT} 9p trans=virtio,version=9p2000.L,msize=262144,rw 0 0" >> /etc/fstab',
69
+ 'if ! grep -qs "${HOST_DATA_MOUNT}" /etc/fstab; then',
70
+ ' echo "${HOST_DATA_TAG} ${HOST_DATA_MOUNT} 9p trans=virtio,version=9p2000.L,msize=262144,rw 0 0" >> /etc/fstab',
49
71
  'fi',
50
72
  '',
51
73
  'mount -a >/dev/null 2>&1 || true',
52
- 'mount "$HOST_SHARE_MOUNT" >/dev/null 2>&1 || true',
53
- 'mount "$HOST_DATA_MOUNT" >/dev/null 2>&1 || true',
54
74
  '',
55
75
  '# Redirect logs to both host-writable share and console',
56
76
  'LOG_FILE="${HOST_DATA_MOUNT}/bootstrap.log"',
@@ -204,6 +224,8 @@ function createCloudInitUserData({
204
224
  ' ExecStart=/usr/bin/env node /opt/neoagent/server/guest_agent.js',
205
225
  ' Restart=always',
206
226
  ' RestartSec=5',
227
+ ' StandardOutput=journal+console',
228
+ ' StandardError=journal+console',
207
229
  '',
208
230
  ' [Install]',
209
231
  ' WantedBy=multi-user.target',