l0ng-ai
d48146f52d
fix(agents): keep agent_refresh_models off the main thread and cache newest_install ( #8070 )
...
Opening the New Agent Task page froze the UI when a native agent such as Codex had several installs on PATH: agent_refresh_models was a synchronous command, so it resolved provider specs and ran <agent> --version for every candidate on the main thread, while agent_commands, agent_probe and catalog completion repeated the same blocking lookup on Tokio workers. agent_refresh_models now runs on the blocking pool, the remaining provider_specs / resolve_for_launch / catalog requests move to spawn_blocking, and newest_install probes candidates in parallel with a per-binary cache (canonical path, mtime, size, inode; 60 s) and single-flight deduplication.
2026-12-05 01:59:50 +08:00
..
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-12-04 23:19:46 +08:00
2026-12-04 23:19:46 +08:00
2026-12-03 14:07:19 +08:00
2026-12-05 01:59:50 +08:00
2026-11-28 07:09:15 +08:00
2026-11-24 07:02:21 +08:00
2026-12-01 19:21:30 +08:00
2026-12-03 15:54:37 +08:00
2026-12-01 02:38:34 +08:00
2026-12-03 16:58:35 +08:00
2026-11-25 19:27:09 +08:00
2026-11-27 17:06:51 +08:00
2026-11-25 02:01:59 +08:00
2026-11-24 07:02:21 +08:00
2026-11-18 09:29:59 +08:00
2026-11-29 13:31:13 +08:00
2026-11-29 14:03:48 +08:00
2026-11-29 14:03:48 +08:00
2026-11-27 02:34:33 +08:00
2026-11-24 07:02:21 +08:00
2026-12-02 15:48:23 +08:00
2026-11-26 21:39:53 +08:00
2026-11-26 21:52:50 +08:00
2026-12-01 06:02:57 +08:00
2026-11-26 19:31:03 +08:00
2026-11-24 07:02:21 +08:00
2026-12-03 14:07:19 +08:00
2026-12-03 19:57:52 +08:00
2026-11-24 07:02:21 +08:00
2026-11-17 19:10:13 +08:00
2026-11-24 07:02:21 +08:00
2026-11-18 09:20:09 +08:00
2026-11-12 13:18:36 +08:00
2026-11-24 23:04:40 +08:00
2026-12-04 23:38:50 +08:00
2026-11-11 02:05:41 +08:00
2026-11-24 07:02:21 +08:00
2026-11-07 15:29:16 +08:00
2026-12-05 00:06:00 +08:00
2026-11-07 19:25:10 +08:00
2026-11-27 16:21:12 +08:00
2026-12-03 15:27:17 +08:00
2026-11-27 16:21:12 +08:00
2026-11-07 04:30:30 +08:00
2026-11-24 07:02:21 +08:00
2026-11-08 03:15:08 +08:00
2026-12-03 03:52:27 +08:00
2026-11-26 23:33:04 +08:00
2026-12-03 00:26:01 +08:00
2026-12-04 20:46:11 +08:00
2026-11-24 20:29:25 +08:00
2026-11-25 00:45:06 +08:00
2026-11-24 07:02:21 +08:00
2026-11-28 14:58:10 +08:00
2026-12-03 17:41:54 +08:00
2026-12-03 17:23:45 +08:00
2026-12-03 17:36:01 +08:00
2026-12-03 17:36:01 +08:00
2026-11-29 15:15:42 +08:00
2026-11-17 19:10:13 +08:00
2026-12-04 19:47:38 +08:00
2026-12-03 18:27:33 +08:00
2026-12-03 16:45:44 +08:00
2026-12-03 15:31:16 +08:00
2026-12-03 02:53:06 +08:00
2026-11-24 07:02:21 +08:00
2026-11-27 09:51:49 +08:00
2026-11-29 14:37:35 +08:00
2026-11-24 06:01:01 +08:00
2026-11-25 19:27:09 +08:00
2026-12-04 23:21:44 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 11:42:00 +08:00
2026-11-24 07:02:21 +08:00
2026-12-04 18:57:51 +08:00
2026-12-02 13:58:59 +08:00
2026-11-24 07:02:21 +08:00
2026-12-03 19:28:08 +08:00
2026-12-02 14:47:00 +08:00
2026-12-04 18:57:51 +08:00
2026-11-25 08:46:36 +08:00
2026-11-24 07:02:21 +08:00
2026-12-01 15:52:08 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-12-04 20:01:51 +08:00
2026-11-24 07:02:21 +08:00
2026-12-04 23:57:39 +08:00