neoagent 2.5.2-beta.22 → 2.5.2-beta.23

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.22",
3
+ "version": "2.5.2-beta.23",
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
- 7b68be842f70ebca5228682c4fe3dc90
1
+ d276dee2ae356c64a3cfa6047a3a1bd1
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"77e2e94772b6eb43759e34ed1ad7da4674e19c
37
37
 
38
38
  _flutter.loader.load({
39
39
  serviceWorkerSettings: {
40
- serviceWorkerVersion: "1027370389" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
40
+ serviceWorkerVersion: "82494360" /* 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("mqgt278r-971ca3d").length!==0&&r.b}if(r){r=s.d
134797
+ r=B.b.u("mqgu5j85-f9cebb0").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("mqgt278r-971ca3d").length===0||s.a!=null)return
140509
+ if(B.b.u("mqgu5j85-f9cebb0").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,"mqgt278r-971ca3d")){s=1
140527
+ if(J.bi(j)===0||J.d(j,"mqgu5j85-f9cebb0")){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("mqgt278r-971ca3d").length===0||n.c){s=1
140544
+ s=p}for(;;)switch(s){case 0:if(B.b.u("mqgu5j85-f9cebb0").length===0||n.c){s=1
140545
140545
  break}n.c=!0
140546
140546
  n.F()
140547
140547
  p=4
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const FIRST_UPDATE_MS = 35 * 1000;
3
+ const FIRST_UPDATE_MS = 30 * 1000;
4
4
  const REPEAT_UPDATE_MS = 75 * 1000;
5
5
  const STALL_MS = 150 * 1000;
6
6
  const TICK_MS = 15 * 1000;
@@ -45,6 +45,7 @@ const PLAN_SCHEMA_EXAMPLE = {
45
45
  const ANALYSIS_PROMPT_INSTRUCTIONS = [
46
46
  'Choose the lightest routing mode that still handles the task well.',
47
47
  'Use mode="direct_answer" only when a final user-facing reply can be given immediately without tool work.',
48
+ 'For short immediate questions, greetings, small explanations, or quick conversational replies, prefer mode="direct_answer" with progress_update_policy="none"; speed matters more than creating plans or tasks.',
48
49
  'Use mode="execute" for normal tool-driven work without a separate planning step.',
49
50
  'Use mode="plan_execute" only when the task is genuinely multi-step, broad, or coordination-heavy.',
50
51
  'Set needs_verification=true when the final answer should be checked against tool evidence before it is sent.',
@@ -54,6 +55,7 @@ const ANALYSIS_PROMPT_INSTRUCTIONS = [
54
55
  'Set complexity from the actual work shape, not from keywords: simple, standard, or complex.',
55
56
  'Set autonomy_level="high" when the agent should decide sequencing, retries, evidence gathering, and verification without asking the user unless blocked.',
56
57
  'Set progress_update_policy="required" for long, slow, voice, messaging, or externally visible work where silence would be confusing.',
58
+ 'Do not suggest create_task, update_task, delete_task, or list_tasks for ordinary immediate work. Use task tools only when the user asks for future, recurring, scheduled, monitored, background, or existing-task management behavior.',
57
59
  'Set parallel_work=true when independent tool calls or subagents can materially reduce latency.',
58
60
  'Set completion_confidence_required="high" when wrong completion would be costly, state-changing, user-visible, or hard to recover.',
59
61
  ];
@@ -85,6 +87,7 @@ const EXECUTION_GUIDANCE_ACTION_LINES = [
85
87
  'Your shell (execute_command) starts in your workspace, and the file tools (read_file, write_file, list_directory, search_files) operate on that same workspace. Clone or create files into the current directory and then inspect or edit them with either the shell or the file tools interchangeably. Clone a repo once and reuse it; do not re-clone or re-list the same tree.',
86
88
  'Tool results are already present in the conversation as tool output. Do not assume a tool result was persisted to a readable /tmp path unless that exact path was explicitly returned by the tool result.',
87
89
  'Use send_interim_update sparingly when a short real update or question would help.',
90
+ 'Do not create background tasks for immediate short work. Answer directly unless the user asked to schedule, repeat, monitor, defer, or manage a saved task.',
88
91
  'When you must ask for missing required user input, ask once, then wait for the reply instead of re-asking in the same run.',
89
92
  'For outbound messages, calls, emails, shared edits, installs, restarts, or task mutations, verify the action result before claiming it happened. If user confirmation is required and missing, draft or ask instead of sending.',
90
93
  'Retry with alternative tools or approaches when one path fails. If evidence is still insufficient, say so explicitly instead of guessing.',
@@ -1144,7 +1144,7 @@ function getAvailableTools(app, options = {}) {
1144
1144
  },
1145
1145
  {
1146
1146
  name: 'create_task',
1147
- description: 'Create a background task with a named trigger and self-contained prompt.',
1147
+ description: 'Create a future, recurring, monitored, or background automation with a named trigger and self-contained prompt. Do not use for immediate short answers.',
1148
1148
  parameters: {
1149
1149
  type: 'object',
1150
1150
  properties: {
@@ -1163,12 +1163,12 @@ function getAvailableTools(app, options = {}) {
1163
1163
  },
1164
1164
  {
1165
1165
  name: 'list_tasks',
1166
- description: 'List all tasks for this user and agent.',
1166
+ description: 'List saved background/scheduled tasks for this user and agent. Do not use for ordinary immediate replies.',
1167
1167
  parameters: { type: 'object', properties: {} }
1168
1168
  },
1169
1169
  {
1170
1170
  name: 'delete_task',
1171
- description: 'Delete a task by its ID.',
1171
+ description: 'Delete a saved background/scheduled task by its ID.',
1172
1172
  parameters: {
1173
1173
  type: 'object',
1174
1174
  properties: {
@@ -1179,7 +1179,7 @@ function getAvailableTools(app, options = {}) {
1179
1179
  },
1180
1180
  {
1181
1181
  name: 'update_task',
1182
- description: 'Update an existing task, including its trigger, prompt, or enabled state.',
1182
+ description: 'Update an existing saved background/scheduled task, including its trigger, prompt, or enabled state.',
1183
1183
  parameters: {
1184
1184
  type: 'object',
1185
1185
  properties: {