(
name: string,
options: { cowork?: boolean },
)
| 593 | |
| 594 | // marketplace remove (lines 5576–5598) |
| 595 | export async function marketplaceRemoveHandler( |
| 596 | name: string, |
| 597 | options: { cowork?: boolean }, |
| 598 | ): Promise<void> { |
| 599 | if (options.cowork) setUseCoworkPlugins(true) |
| 600 | try { |
| 601 | await removeMarketplaceSource(name) |
| 602 | clearAllCaches() |
| 603 | |
| 604 | logEvent('tengu_marketplace_removed', { |
| 605 | marketplace_name: |
| 606 | name as AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS, |
| 607 | }) |
| 608 | |
| 609 | cliOk(`${figures.tick} Successfully removed marketplace: ${name}`) |
| 610 | } catch (error) { |
| 611 | handleMarketplaceError(error, 'remove marketplace') |
| 612 | } |
| 613 | } |
| 614 | |
| 615 | // marketplace update (lines 5609–5672) |
| 616 | export async function marketplaceUpdateHandler( |
no test coverage detected