(reason: string)
| 843 | // artifact was saved and can be reopened later. |
| 844 | |
| 845 | const renderRejectedResult = (reason: string): McpToolResult => ({ |
| 846 | content: [{ type: "text", text: `create-artifact rejected: ${reason}` }], |
| 847 | structuredContent: { status: "error", error: reason }, |
| 848 | isError: true, |
| 849 | }); |
| 850 | |
| 851 | /** An edit batch that could not be applied. Carries the current stored source |
| 852 | * so the model can rebuild its edits without a `show-artifact` round trip. */ |
no outgoing calls
no test coverage detected