sjw1231
08c155e145
refactor(office): record structured error name and code for Office tool failures
...
Office tool failures now throw HarnessError subclasses so tool/result keeps
error.name and error.code:
- OfficeKitError failures map to OfficeToolError OFFICE_* codes at the tool
boundary, keeping the OfficeKitError as cause.
- A model route without image input is OfficeToolError
MODEL_DOES_NOT_SUPPORT_IMAGES; oversized images are OFFICE_OUTPUT_TOO_LARGE;
a remote workspace is OFFICE_UNSUPPORTED_REMOTE_WORKSPACE.
- Missing Agent, attachment store, or model route is ToolContextUnavailableError.
- Missing or non-regular inputs are FsError FS_NOT_FOUND / FS_NOT_REGULAR_FILE.
- Hand-checked argument rules are ToolArgsError INVALID_ARGS.
- Attachment store refusals keep their AttachmentError code.
Refs #7869
2026-11-09 15:27:37 +08:00
..
2026-11-03 20:39:03 +08:00
2026-11-05 20:21:45 +08:00
2026-10-15 16:59:58 +08:00
2026-10-21 15:56:44 +08:00
2026-11-06 17:40:24 +08:00
2026-10-19 22:23:13 +08:00
2026-11-05 17:53:22 +08:00
2026-09-23 22:32:06 +08:00
2026-11-09 14:43:20 +08:00
2026-11-09 14:43:20 +08:00
2026-11-06 16:59:29 +08:00
2026-09-23 22:32:06 +08:00
2026-10-21 15:02:29 +08:00
2026-10-21 15:02:29 +08:00
2026-11-05 17:53:22 +08:00
2026-10-23 16:13:38 +08:00
2026-10-23 16:13:38 +08:00
2026-10-23 16:13:38 +08:00
2026-11-06 19:20:28 +08:00
2026-11-06 19:20:28 +08:00
2026-11-06 19:20:28 +08:00
2026-11-06 17:40:24 +08:00
2026-11-06 17:40:24 +08:00
2026-11-06 17:40:24 +08:00
2026-10-05 17:45:17 +08:00
2026-10-18 11:44:14 +08:00
2026-10-18 11:44:14 +08:00
2026-09-24 23:08:20 +08:00
2026-11-09 15:27:37 +08:00
2026-11-09 15:27:37 +08:00
2026-09-23 22:32:06 +08:00
2026-10-26 13:55:47 +08:00
2026-10-26 13:55:47 +08:00
2026-10-26 13:55:47 +08:00
2026-09-21 08:24:18 +00:00
2026-11-09 13:15:10 +08:00
2026-11-09 13:15:10 +08:00
2026-11-09 13:15:10 +08:00
2026-10-20 21:09:09 +08:00
2026-11-09 14:43:20 +08:00
2026-11-09 14:43:20 +08:00
2026-11-05 12:28:50 +08:00
2026-11-05 12:28:50 +08:00
2026-11-05 12:28:50 +08:00
2026-10-12 10:35:05 +08:00
2026-10-12 10:35:05 +08:00
2026-10-12 10:35:05 +08:00
2026-09-23 22:32:06 +08:00
2026-09-23 22:32:06 +08:00
2026-11-09 15:27:37 +08:00
2026-11-09 15:27:37 +08:00
2026-11-09 13:56:40 +08:00
2026-11-09 13:56:40 +08:00
2026-11-09 13:56:40 +08:00
2026-11-06 16:39:36 +08:00
2026-10-29 18:54:29 +08:00
2026-10-29 18:54:29 +08:00
2026-10-29 18:54:29 +08:00
2026-10-08 20:26:57 +08:00
2026-10-08 20:26:57 +08:00
2026-10-08 20:26:57 +08:00
2026-11-03 13:04:26 +08:00
2026-11-03 13:04:26 +08:00
2026-11-03 13:04:26 +08:00
2026-11-05 14:53:17 +08:00
2026-11-05 14:53:17 +08:00
2026-11-05 14:53:17 +08:00
2026-10-19 14:50:00 +08:00
2026-10-19 14:50:00 +08:00
2026-10-19 14:50:00 +08:00
2026-11-03 20:39:03 +08:00
2026-11-03 20:39:03 +08:00
2026-11-03 20:39:03 +08:00
2026-11-03 20:38:25 +08:00
2026-11-03 20:38:25 +08:00
2026-11-03 20:38:25 +08:00
2026-11-05 11:25:51 +08:00
2026-11-05 11:25:51 +08:00
2026-11-05 11:25:51 +08:00