Teknium
aa475aef31
feat: add exit code context for common CLI tools in terminal results ( #5144 )
...
When commands like grep, diff, test, or find return non-zero exit codes
that aren't actual errors (grep 1 = no matches, diff 1 = files differ),
the model wastes turns investigating non-problems. This adds an
exit_code_meaning field to the terminal JSON result that explains
informational exit codes, so the agent can move on instead of debugging.
Covers grep/rg/ag/ack (no matches), diff (files differ), find (partial
access), test/[ (condition false), curl (timeouts, DNS, HTTP errors),
and git (context-dependent). Correctly extracts the last command from
pipelines and chains, strips full paths and env var assignments.
The exit_code field itself is unchanged — this is purely additive context.
2026-04-04 16:57:24 -07:00
..
2026-03-23 07:43:12 -07:00
2026-04-03 17:50:01 -07:00
2026-04-01 04:18:50 -07:00
2026-04-01 04:34:04 -07:00
2026-03-30 20:36:56 -07:00
2026-03-19 10:17:03 -07:00
2026-03-17 02:02:57 -07:00
2026-03-28 17:25:04 -07:00
2026-03-23 22:45:55 -07:00
2026-04-01 12:03:56 -07:00
2026-03-31 10:40:13 -07:00
2026-04-04 10:18:57 -07:00
2026-03-27 13:22:01 -07:00
2026-03-27 04:03:00 -07:00
2026-04-03 21:14:42 -07:00
2026-03-17 01:40:02 -07:00
2026-03-30 02:45:41 -07:00
2026-03-26 14:50:26 -07:00
2026-03-31 03:10:01 -07:00
2026-04-03 23:30:12 -07:00
2026-03-24 08:19:34 -07:00
2026-03-31 12:53:19 -07:00
2026-04-01 00:50:08 -07:00
2026-04-04 10:18:57 -07:00
2026-03-23 07:43:12 -07:00
2026-03-17 02:22:12 -07:00
2026-03-27 15:28:19 -07:00
2026-03-23 22:45:55 -07:00
2026-03-28 14:43:41 -07:00
2026-03-31 08:48:54 +09:00
2026-03-30 13:28:10 +09:00
2026-04-02 08:43:06 -07:00
2026-03-30 13:28:10 +09:00
2026-03-29 15:52:54 -07:00
2026-04-03 02:29:20 -07:00
2026-04-04 10:18:57 -07:00
2026-04-03 02:29:20 -07:00
2026-04-04 10:18:57 -07:00
2026-04-02 20:54:27 -07:00
2026-04-03 13:10:11 -07:00
2026-03-28 11:21:44 -07:00
2026-03-31 09:29:59 +09:00
2026-03-17 02:34:35 -07:00
2026-03-26 19:38:04 -07:00
2026-03-17 03:52:15 -07:00
2026-03-20 14:54:25 -07:00
2026-03-27 07:49:44 -07:00
2026-03-17 02:02:57 -07:00
2026-03-29 15:17:46 -07:00
2026-03-17 15:38:37 +00:00
2026-03-26 14:35:31 -07:00
2026-03-16 19:01:39 +03:00
2026-03-28 17:52:32 -07:00
2026-04-01 04:19:19 -07:00
2026-04-01 04:19:19 -07:00
2026-04-01 04:19:19 -07:00
2026-03-26 13:40:21 -07:00
2026-03-30 08:37:19 -07:00
2026-03-26 01:08:02 +05:30
2026-03-28 17:52:32 -07:00
2026-03-15 21:13:40 -07:00
2026-03-21 17:10:17 -07:00
2026-04-04 16:57:24 -07:00
2026-03-31 08:48:54 +09:00
2026-03-29 21:51:44 -07:00
2026-03-30 13:28:10 +09:00
2026-03-16 23:39:41 -07:00
2026-03-31 08:48:54 +09:00
2026-03-31 03:10:01 -07:00
2026-03-23 15:40:42 -07:00
2026-03-29 20:55:04 -07:00
2026-03-31 12:13:33 -07:00
2026-03-31 08:48:54 +09:00
2026-03-17 04:28:03 -07:00
2026-03-30 08:10:14 -07:00
2026-03-17 02:22:12 -07:00