neoagent 2.5.2-beta.1 → 2.5.2-beta.3
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/flutter_app/lib/main_chat.dart +0 -3
- package/flutter_app/lib/main_shared.dart +40 -29
- package/package.json +1 -1
- package/server/public/.last_build_id +1 -1
- package/server/public/flutter_bootstrap.js +1 -1
- package/server/public/main.dart.js +19016 -19016
- package/server/services/ai/engine.js +581 -48
|
@@ -335,10 +335,7 @@ class _ChatPanelState extends State<ChatPanel> with WidgetsBindingObserver {
|
|
|
335
335
|
last?.role,
|
|
336
336
|
last?.content.length,
|
|
337
337
|
last?.typing,
|
|
338
|
-
controller.toolEvents.length,
|
|
339
338
|
activeRun?.runId,
|
|
340
|
-
activeRun?.phase,
|
|
341
|
-
activeRun?.iteration,
|
|
342
339
|
controller.streamingAssistant.length,
|
|
343
340
|
controller.isSendingMessage,
|
|
344
341
|
].join('|');
|
|
@@ -689,6 +689,8 @@ Color _runPhaseColor(String phase) {
|
|
|
689
689
|
class _RunStatusPanel extends StatelessWidget {
|
|
690
690
|
const _RunStatusPanel({required this.run, required this.tools});
|
|
691
691
|
|
|
692
|
+
static const double _timelineViewportHeight = 188;
|
|
693
|
+
|
|
692
694
|
final ActiveRunState? run;
|
|
693
695
|
final List<ToolEventItem> tools;
|
|
694
696
|
|
|
@@ -712,7 +714,8 @@ class _RunStatusPanel extends StatelessWidget {
|
|
|
712
714
|
if (phase.isNotEmpty) ...<Widget>[
|
|
713
715
|
_PulseHalo(
|
|
714
716
|
color: phaseColor,
|
|
715
|
-
animate:
|
|
717
|
+
animate:
|
|
718
|
+
phase.toLowerCase() != 'completed' &&
|
|
716
719
|
phase.toLowerCase() != 'stopped',
|
|
717
720
|
child: Container(
|
|
718
721
|
width: 30,
|
|
@@ -802,14 +805,17 @@ class _RunStatusPanel extends StatelessWidget {
|
|
|
802
805
|
],
|
|
803
806
|
),
|
|
804
807
|
const SizedBox(height: 14),
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
808
|
+
SizedBox(
|
|
809
|
+
height: _timelineViewportHeight,
|
|
810
|
+
child: ListView.separated(
|
|
811
|
+
primary: false,
|
|
812
|
+
padding: EdgeInsets.zero,
|
|
813
|
+
physics: const ClampingScrollPhysics(),
|
|
814
|
+
itemCount: tools.length,
|
|
815
|
+
separatorBuilder: (context, _) => const SizedBox(height: 12),
|
|
816
|
+
itemBuilder: (context, index) => _ToolEventTimelineRow(
|
|
817
|
+
tool: tools[index],
|
|
818
|
+
isLast: index == tools.length - 1,
|
|
813
819
|
),
|
|
814
820
|
),
|
|
815
821
|
),
|
|
@@ -3697,27 +3703,32 @@ class _QuickReplyBar extends StatelessWidget {
|
|
|
3697
3703
|
return Wrap(
|
|
3698
3704
|
spacing: 8,
|
|
3699
3705
|
runSpacing: 8,
|
|
3700
|
-
children: payload.options
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3706
|
+
children: payload.options
|
|
3707
|
+
.map((option) {
|
|
3708
|
+
return GestureDetector(
|
|
3709
|
+
onTap: () => onSelected(option.value),
|
|
3710
|
+
child: Container(
|
|
3711
|
+
padding: const EdgeInsets.symmetric(
|
|
3712
|
+
horizontal: 14,
|
|
3713
|
+
vertical: 8,
|
|
3714
|
+
),
|
|
3715
|
+
decoration: BoxDecoration(
|
|
3716
|
+
color: _accentMuted,
|
|
3717
|
+
borderRadius: BorderRadius.circular(999),
|
|
3718
|
+
border: Border.all(color: _accent.withValues(alpha: 0.4)),
|
|
3719
|
+
),
|
|
3720
|
+
child: Text(
|
|
3721
|
+
option.label,
|
|
3722
|
+
style: TextStyle(
|
|
3723
|
+
fontSize: 13,
|
|
3724
|
+
color: _accent,
|
|
3725
|
+
fontWeight: FontWeight.w600,
|
|
3726
|
+
),
|
|
3727
|
+
),
|
|
3716
3728
|
),
|
|
3717
|
-
)
|
|
3718
|
-
)
|
|
3719
|
-
|
|
3720
|
-
}).toList(growable: false),
|
|
3729
|
+
);
|
|
3730
|
+
})
|
|
3731
|
+
.toList(growable: false),
|
|
3721
3732
|
);
|
|
3722
3733
|
}
|
|
3723
3734
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
abe2552b23bc51626fa18b7baf5d91d0
|
|
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"77e2e94772b6eb43759e34ed1ad7da4674e19c
|
|
|
37
37
|
|
|
38
38
|
_flutter.loader.load({
|
|
39
39
|
serviceWorkerSettings: {
|
|
40
|
-
serviceWorkerVersion: "
|
|
40
|
+
serviceWorkerVersion: "946389838" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
|
|
41
41
|
}
|
|
42
42
|
});
|