From aaa7821c7718bfb878f86d4a82621019b6b3e27f Mon Sep 17 00:00:00 2001 From: Tobias Herber <22559657+herber@users.noreply.github.com> Date: Thu, 23 Apr 2026 16:14:29 +0200 Subject: [PATCH 1/2] Fix build --- README.md | 8 -------- internal/commands/integrations/command.go | 14 +++++++------- templates/cli.md | 6 ------ 3 files changed, 7 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index d1a184a..9d9144b 100644 --- a/README.md +++ b/README.md @@ -38,14 +38,6 @@ Best if you already manage command line tools with Homebrew. brew install metorial/tap/metorial ``` -### Chocolatey - -Best for Windows setups that already use Chocolatey. - -```powershell -choco install metorial -``` - ### Scoop Best for Windows setups that prefer Scoop. diff --git a/internal/commands/integrations/command.go b/internal/commands/integrations/command.go index f3d12b1..d734627 100644 --- a/internal/commands/integrations/command.go +++ b/internal/commands/integrations/command.go @@ -21,7 +21,7 @@ import ( "github.com/metorial/metorial-go/v1/endpoints" "github.com/metorial/metorial-go/v1/resources/consumers" "github.com/metorial/metorial-go/v1/resources/magicmcpservers" - magicmcpserverprovider "github.com/metorial/metorial-go/v1/resources/magicmcpservers/providers" + magicmcpserverprovider "github.com/metorial/metorial-go/v1/resources/magicmcpservers/provider" setupsessions "github.com/metorial/metorial-go/v1/resources/providerdeployments/setupsessions" providerlistings "github.com/metorial/metorial-go/v1/resources/providerlistings" "github.com/metorial/metorial-go/v1/resources/providers" @@ -981,13 +981,13 @@ func ensureMagicMCPTokenSecret(sdk *metorial.MetorialSdk) (string, error) { return strings.TrimSpace(token.Secret), nil } -func listMagicMcpServerProviders(runtime config.Runtime, sdk *metorial.MetorialSdk, magicMcpServerID string) (*magicmcpserverprovider.MagicMcpServersProvidersListOutput, error) { +func listMagicMcpServerProviders(runtime config.Runtime, sdk *metorial.MetorialSdk, magicMcpServerID string) (*magicmcpserverprovider.MagicMcpServersProviderListOutput, error) { response, err := consumerSDKFetch(runtime, sdk, "GET", fmt.Sprintf("/magic-mcp-servers/%s/providers?limit=15", strings.TrimSpace(magicMcpServerID)), nil) if err != nil { return nil, err } - var providers magicmcpserverprovider.MagicMcpServersProvidersListOutput + var providers magicmcpserverprovider.MagicMcpServersProviderListOutput if err := json.Unmarshal(response.Body, &providers); err != nil { return nil, fmt.Errorf("metorial: failed to decode magic MCP providers for %s: %w", magicMcpServerID, err) } @@ -995,7 +995,7 @@ func listMagicMcpServerProviders(runtime config.Runtime, sdk *metorial.MetorialS return &providers, nil } -func createMagicMcpServerProvider(runtime config.Runtime, sdk *metorial.MetorialSdk, magicMcpServerID string, body map[string]any) (*magicmcpserverprovider.MagicMcpServersProvidersCreateOutput, error) { +func createMagicMcpServerProvider(runtime config.Runtime, sdk *metorial.MetorialSdk, magicMcpServerID string, body map[string]any) (*magicmcpserverprovider.MagicMcpServersProviderCreateOutput, error) { payload, err := json.Marshal(body) if err != nil { return nil, fmt.Errorf("metorial: failed to encode magic MCP provider assignment: %w", err) @@ -1006,7 +1006,7 @@ func createMagicMcpServerProvider(runtime config.Runtime, sdk *metorial.Metorial return nil, err } - var providerAssignment magicmcpserverprovider.MagicMcpServersProvidersCreateOutput + var providerAssignment magicmcpserverprovider.MagicMcpServersProviderCreateOutput if err := json.Unmarshal(response.Body, &providerAssignment); err != nil { return nil, fmt.Errorf("metorial: failed to decode magic MCP provider assignment for %s: %w", magicMcpServerID, err) } @@ -1414,7 +1414,7 @@ func attachSetupSessionProviderToMagicServer( sdk *metorial.MetorialSdk, setupSession *setupsessions.ProviderDeploymentsSetupSessionsGetOutput, server *magicmcpservers.MagicMcpServersCreateOutput, -) (*magicmcpserverprovider.MagicMcpServersProvidersCreateOutput, error) { +) (*magicmcpserverprovider.MagicMcpServersProviderCreateOutput, error) { if setupSession == nil || server == nil { return nil, nil } @@ -1691,7 +1691,7 @@ func renderIntegrationTools(writer io.Writer, features terminal.Features, server return renderTips(writer, features, tips) } -func renderSetupResult(writer io.Writer, features terminal.Features, setupSession *setupsessions.ProviderDeploymentsSetupSessionsGetOutput, listing *providerlistings.ProviderListingsGetOutput, provider *providers.ProvidersGetOutput, server *magicmcpservers.MagicMcpServersCreateOutput, sessionTemplateProvider *magicmcpserverprovider.MagicMcpServersProvidersCreateOutput, tips []string) error { +func renderSetupResult(writer io.Writer, features terminal.Features, setupSession *setupsessions.ProviderDeploymentsSetupSessionsGetOutput, listing *providerlistings.ProviderListingsGetOutput, provider *providers.ProvidersGetOutput, server *magicmcpservers.MagicMcpServersCreateOutput, sessionTemplateProvider *magicmcpserverprovider.MagicMcpServersProviderCreateOutput, tips []string) error { colors := terminal.NewColorizer(features) title := server.Id if name := optionalString(server.Name); name != "" { diff --git a/templates/cli.md b/templates/cli.md index 869960e..b7ef04a 100644 --- a/templates/cli.md +++ b/templates/cli.md @@ -46,12 +46,6 @@ npx @metorial/cli@latest brew install metorial/tap/metorial ``` -### Chocolatey - -```powershell -choco install metorial -``` - ### Scoop ```powershell From 7960f1c825148645af401465e0a09f267fdd1bbb Mon Sep 17 00:00:00 2001 From: Tobias Herber <22559657+herber@users.noreply.github.com> Date: Thu, 23 Apr 2026 16:18:42 +0200 Subject: [PATCH 2/2] Remove browser shell script --- .github/workflows/ci.yml | 3 --- .github/workflows/release.yml | 6 ------ 2 files changed, 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa4436d..dd6d808 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,6 +50,3 @@ jobs: - name: Build npm packages run: bun run build:npm - - - name: Build browser shell - run: bun run build:browser-shell diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3fe6ea..33e8d63 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -94,12 +94,6 @@ jobs: - name: Publish npm packages run: bun run publish:npm - - name: Build browser shell - run: bun run build:browser-shell -- "${GITHUB_REF_NAME}" - - - name: Upload browser shell release assets - run: gh release upload "${GITHUB_REF_NAME}" dist/browser-shell/* --clobber - - name: Build hosted installer site run: bun ./scripts/build-public.ts