neoagent 2.5.2-beta.13 → 2.5.2-beta.15

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.5.2-beta.13",
3
+ "version": "2.5.2-beta.15",
4
4
  "description": "Proactive personal AI agent with no limits",
5
5
  "license": "AGPL-3.0-only",
6
6
  "main": "server/index.js",
@@ -1 +1 @@
1
- ff1f1758f0de6cf5e52022f2490651ab
1
+ 1d10248cc582c1ba92c1198aac6710a0
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"77e2e94772b6eb43759e34ed1ad7da4674e19c
37
37
 
38
38
  _flutter.loader.load({
39
39
  serviceWorkerSettings: {
40
- serviceWorkerVersion: "3310591106" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
40
+ serviceWorkerVersion: "250173635" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
41
41
  }
42
42
  });
@@ -134794,7 +134794,7 @@ r===$&&A.b()
134794
134794
  p.push(A.jP(q,A.j9(!1,new A.a_(B.uG,A.d8(new A.cA(B.jt,new A.a7N(r,q),q),q,q),q),!1,B.H,!0),q,q,0,0,0,q))}r=!1
134795
134795
  if(!s.ay)if(!s.ch){r=s.e
134796
134796
  r===$&&A.b()
134797
- r=B.b.u("mqgb2cwv-c182f46").length!==0&&r.b}if(r){r=s.d
134797
+ r=B.b.u("mqgcr48m-8bfb25e").length!==0&&r.b}if(r){r=s.d
134798
134798
  r===$&&A.b()
134799
134799
  r=r.aP&&!r.ai?84:0
134800
134800
  s=s.e
@@ -140506,7 +140506,7 @@ $S:0}
140506
140506
  A.a_6.prototype={}
140507
140507
  A.SQ.prototype={
140508
140508
  nb(a){var s=this
140509
- if(B.b.u("mqgb2cwv-c182f46").length===0||s.a!=null)return
140509
+ if(B.b.u("mqgcr48m-8bfb25e").length===0||s.a!=null)return
140510
140510
  s.AU()
140511
140511
  s.a=A.on(B.RH,new A.bc8(s))},
140512
140512
  AU(){var s=0,r=A.l(t.H),q,p=2,o=[],n=this,m,l,k,j,i,h,g,f
@@ -140524,7 +140524,7 @@ if(!t.f.b(k)){s=1
140524
140524
  break}i=J.a3(k,"buildId")
140525
140525
  h=i==null?null:B.b.u(J.p(i))
140526
140526
  j=h==null?"":h
140527
- if(J.bi(j)===0||J.d(j,"mqgb2cwv-c182f46")){s=1
140527
+ if(J.bi(j)===0||J.d(j,"mqgcr48m-8bfb25e")){s=1
140528
140528
  break}n.b=!0
140529
140529
  n.F()
140530
140530
  p=2
@@ -140541,7 +140541,7 @@ case 2:return A.i(o.at(-1),r)}})
140541
140541
  return A.k($async$AU,r)},
140542
140542
  vE(){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
140543
140543
  var $async$vE=A.h(function(a2,a3){if(a2===1){o.push(a3)
140544
- s=p}for(;;)switch(s){case 0:if(B.b.u("mqgb2cwv-c182f46").length===0||n.c){s=1
140544
+ s=p}for(;;)switch(s){case 0:if(B.b.u("mqgcr48m-8bfb25e").length===0||n.c){s=1
140545
140545
  break}n.c=!0
140546
140546
  n.F()
140547
140547
  p=4
@@ -138,8 +138,16 @@ function normalizePathOrUri(value) {
138
138
  if (text.startsWith('/api/artifacts/')) return { uri: text, path: null };
139
139
  if (/^https?:\/\//i.test(text)) return { uri: text, path: null };
140
140
  if (text.startsWith('//')) return null;
141
- if (/^[A-Za-z]:\\/.test(text)) return { path: text, uri: null };
142
- if (path.isAbsolute(text)) return { path: text, uri: null };
141
+ if (/^[A-Za-z]:\\/.test(text)) {
142
+ const ext = path.extname(text.split('?')[0]).toLowerCase();
143
+ if (!FILE_EXTENSION_TO_KIND[ext]) return null;
144
+ return { path: text, uri: null };
145
+ }
146
+ if (path.isAbsolute(text)) {
147
+ const ext = path.extname(text.split('?')[0]).toLowerCase();
148
+ if (!FILE_EXTENSION_TO_KIND[ext]) return null;
149
+ return { path: text, uri: null };
150
+ }
143
151
  return null;
144
152
  }
145
153
 
@@ -694,7 +694,7 @@ async function runConversation(engine, userId, userMessage, options = {}, _model
694
694
  console.info(
695
695
  `[Run ${shortenRunId(runId)}] tools total=${toolNames.length} builtIns=${builtInTools.length} mcp=${mcpTools.length} core=${JSON.stringify(coreToolStatus)}`
696
696
  );
697
- const capabilityHealth = await getCapabilityHealth({ userId, agentId, app, engine: this });
697
+ const capabilityHealth = await getCapabilityHealth({ userId, agentId, app, engine });
698
698
  const capabilitySummary = summarizeCapabilityHealth(capabilityHealth);
699
699
  const integrationSummary = integrationManager?.summarizeConnectedProviders?.(userId, agentId) || '';
700
700
 
@@ -905,7 +905,7 @@ async function runConversation(engine, userId, userMessage, options = {}, _model
905
905
 
906
906
  if (options.skipDeliverableWorkflow !== true) {
907
907
  const deliverableSelectionResult = await selectDeliverableWorkflow({
908
- engine: this,
908
+ engine,
909
909
  provider,
910
910
  providerName,
911
911
  model,
@@ -930,7 +930,7 @@ async function runConversation(engine, userId, userMessage, options = {}, _model
930
930
  options,
931
931
  });
932
932
  await selectedWorkflow.run(deliverablePlan, {
933
- engine: this,
933
+ engine,
934
934
  userId,
935
935
  agentId,
936
936
  runId,