(reason: string)
| 883 | // artifact was saved and can be reopened later. |
| 884 | |
| 885 | const renderRejectedResult = (reason: string): McpToolResult => ({ |
| 886 | content: [{ type: "text", text: `create-artifact rejected: ${reason}` }], |
| 887 | structuredContent: { status: "error", error: reason }, |
| 888 | isError: true, |
| 889 | }); |
| 890 | |
| 891 | /** An edit batch that could not be applied. Carries the current stored source |
| 892 | * so the model can rebuild its edits without a `show-artifact` round trip. */ |
no outgoing calls
no test coverage detected