(reason: string)
| 864 | // artifact was saved and can be reopened later. |
| 865 | |
| 866 | const renderRejectedResult = (reason: string): McpToolResult => ({ |
| 867 | content: [{ type: "text", text: `create-artifact rejected: ${reason}` }], |
| 868 | structuredContent: { status: "error", error: reason }, |
| 869 | isError: true, |
| 870 | }); |
| 871 | |
| 872 | /** An edit batch that could not be applied. Carries the current stored source |
| 873 | * so the model can rebuild its edits without a `show-artifact` round trip. */ |
no outgoing calls
no test coverage detected