| 754 | warn("tui plugin has no entrypoint", { path: candidate.plan.spec, retry, message }) |
| 755 | }, |
| 756 | error(candidate, retry, stage, error, resolved) { |
| 757 | const spec = candidate.plan.spec |
| 758 | if (stage === "install") { |
| 759 | fail("failed to resolve tui plugin", { path: spec, retry, error }) |
| 760 | return |
| 761 | } |
| 762 | if (stage === "compatibility") { |
| 763 | fail("tui plugin incompatible", { path: spec, retry, error }) |
| 764 | return |
| 765 | } |
| 766 | if (stage === "entry") { |
| 767 | fail("failed to resolve tui plugin entry", { path: spec, retry, error }) |
| 768 | return |
| 769 | } |
| 770 | fail("failed to load tui plugin", { path: spec, target: resolved?.entry, retry, error }) |
| 771 | }, |
| 772 | }, |
| 773 | }) |
| 774 | } |