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