morluto and Cursor Agent
fa1aa64ce4
fix(errors): store resource-constraint recovery as one shape ( #8055 )
...
* fix(errors): store resource-constraint recovery as one shape
AnalysisResourceConstraintError kept remediationAction, fixedAllowance,
and retryable as independent optionals, so a refusal could claim both a
fixed allowance and a separate remediation. The constructor now stores
the existing ResourceConstraintRecovery union, and the three accessors
read that object.
* test(errors): cover competing resource-constraint recovery fields
A runtime options object can still carry both a fixed allowance and a
remediation action. The constructor keeps the allowance and drops the
other field; the regression now supplies both.
---------
Co-authored-by: Cursor Agent <[email protected] >
2026-10-30 04:50:02 +08:00
..
2026-10-30 02:48:51 +08:00
2026-10-27 18:53:22 +08:00
2026-10-28 20:13:58 +08:00
2026-10-28 19:46:11 +08:00
2026-10-30 00:03:19 +08:00
2026-10-30 04:27:17 +08:00
2026-10-29 18:50:26 +08:00
2026-10-26 16:46:53 +08:00
2026-10-29 20:52:03 +08:00
2026-10-29 20:06:55 +08:00
2026-10-24 00:27:57 +08:00
2026-10-29 22:54:58 +08:00
2026-10-30 04:25:48 +08:00
2026-10-27 08:58:27 +08:00
2026-10-30 04:50:02 +08:00
2026-10-29 14:34:42 +08:00
2026-10-27 13:06:56 +08:00
2026-10-29 01:23:17 +08:00
2026-10-27 02:35:54 +08:00
2026-10-27 15:13:47 +08:00
2026-10-29 20:07:30 +08:00
2026-10-27 08:34:42 +08:00
2026-10-29 05:04:53 +08:00
2026-10-29 09:20:33 +08:00
2026-10-29 08:23:38 +08:00
2026-10-27 11:10:10 +08:00
2026-10-27 08:55:43 +08:00
2026-10-29 22:54:58 +08:00
2026-10-29 08:11:07 +08:00
2026-10-29 08:16:57 +08:00
2026-10-27 11:45:25 +08:00
2026-10-29 20:00:02 +08:00
2026-10-29 01:30:24 +08:00
2026-10-27 13:21:35 +08:00
2026-10-29 05:56:38 +00:00
2026-10-29 04:59:25 +08:00
2026-10-30 00:03:23 +08:00
2026-10-21 01:20:52 +08:00
2026-10-29 09:23:07 +08:00
2026-10-29 20:07:30 +08:00
2026-10-27 13:49:44 +08:00
2026-10-29 01:11:27 +08:00
2026-10-29 01:52:34 +08:00
2026-10-29 09:20:33 +08:00
2026-10-27 03:02:05 +08:00
2026-10-30 04:25:48 +08:00
2026-10-27 02:47:25 +08:00
2026-10-29 01:30:08 +08:00
2026-10-29 05:08:41 +08:00
2026-10-27 18:50:40 +08:00
2026-10-28 14:12:39 +08:00
2026-10-30 04:25:48 +08:00
2026-10-27 09:16:02 +08:00
2026-10-29 08:57:38 +08:00
2026-10-21 04:22:20 +08:00
2026-10-29 16:47:10 +08:00
2026-10-24 00:06:03 +08:00
2026-10-29 12:34:46 +08:00
2026-10-09 22:46:09 +08:00
2026-10-27 12:42:25 +08:00
2026-10-21 03:50:14 +08:00
2026-10-18 04:00:15 +08:00
2026-10-28 12:57:14 +08:00
2026-10-28 12:57:14 +08:00
2026-10-29 08:57:38 +08:00
2026-10-29 05:56:38 +00:00
2026-10-24 08:22:13 +08:00
2026-10-27 07:17:10 +08:00
2026-10-29 18:46:18 +08:00
2026-10-13 04:11:55 +08:00
2026-10-23 15:21:14 +08:00
2026-10-26 22:55:10 +08:00
2026-10-29 01:28:04 +08:00
2026-10-29 01:28:04 +08:00
2026-10-26 16:46:53 +08:00
2026-10-27 13:21:35 +08:00
2026-10-22 02:59:27 +08:00
2026-10-26 17:59:51 +08:00
2026-10-22 03:07:31 +00:00
2026-10-22 00:17:11 +08:00
2026-10-28 11:34:28 +00:00