diff --git a/apps/server/src/services/plugins/builtin-registry.ts b/apps/server/src/services/plugins/builtin-registry.ts index a55dff72a8..71d1e6c649 100644 --- a/apps/server/src/services/plugins/builtin-registry.ts +++ b/apps/server/src/services/plugins/builtin-registry.ts @@ -81,7 +81,7 @@ export const BUILTIN_PLUGINS = [ { name: "monaco-editor", pluginId: "monaco-editor", - defaultEnabled: true, + defaultEnabled: false, category: "Interface", }, { diff --git a/apps/server/test/services/plugins/builtin-plugins.test.ts b/apps/server/test/services/plugins/builtin-plugins.test.ts index f18eab9cec..31ea73a871 100644 --- a/apps/server/test/services/plugins/builtin-plugins.test.ts +++ b/apps/server/test/services/plugins/builtin-plugins.test.ts @@ -463,6 +463,14 @@ describe("builtin plugin reconciliation", () => { expect(pluginApiTester?.defaultEnabled).toBe(false); }); + it("ships the File Editor (monaco-editor) disabled on a fresh database", () => { + const monacoEditor = BUILTIN_PLUGINS.find( + (builtin) => builtin.name === "monaco-editor", + ); + + expect(monacoEditor?.defaultEnabled).toBe(false); + }); + it("ships Workflows disabled on a fresh database", async () => { const workflows = BUILTIN_PLUGINS.find( (builtin) => builtin.name === "workflows", diff --git a/packages/bb-app/scripts/smoke-tarball.mjs b/packages/bb-app/scripts/smoke-tarball.mjs index 70565f7609..5b2745eac8 100644 --- a/packages/bb-app/scripts/smoke-tarball.mjs +++ b/packages/bb-app/scripts/smoke-tarball.mjs @@ -33,7 +33,6 @@ const EXPECTED_RUNNING_BUILTIN_PLUGINS = [ "custom-instructions", "inline-vis", "keep-awake", - "monaco-editor", "pdf-preview", "provider-retry", "secrets", diff --git a/plugins/monaco-editor/app.tsx b/plugins/monaco-editor/app.tsx index 456cda838b..6bee9a0a28 100644 --- a/plugins/monaco-editor/app.tsx +++ b/plugins/monaco-editor/app.tsx @@ -547,7 +547,7 @@ function NoticeAction({ export default definePluginApp((app) => { app.slots.fileOpener({ id: "monaco", - title: "Monaco", + title: "File Editor", extensions: CLAIMED_EXTENSIONS, component: MonacoFileOpener, }); diff --git a/plugins/monaco-editor/package.json b/plugins/monaco-editor/package.json index cfe6259e2f..caa80ba510 100644 --- a/plugins/monaco-editor/package.json +++ b/plugins/monaco-editor/package.json @@ -27,7 +27,7 @@ "bbPluginSdk": ">=0.4.9" }, "bb": { - "name": "Monaco editor", + "name": "File Editor", "description": "Edit files in BB with the Monaco editor instead of the read-only preview.", "branding": { "icon": "Code"