docs/agents/plans/remove-enabled-integrations.md
enabledIntegrationsRemove the Tool-channel step control enabledIntegrations (integration-identifier filter) and all related UI, schema, DTO, sanitize, render, and worker filtering logic. After removal, Tool steps always deliver to all active Tool integrations in the environment (previous empty/undefined behavior).
enabledProviders in libs/maily-core (editor suggestion providers) — different concept; leave untouched.libs/internal-sdk — auto-generated; do not edit.| Path | Symbol / reason |
|---|---|
apps/dashboard/src/components/workflow-editor/steps/tool/tool-enabled-providers.tsx | ToolEnabledProviders — UI-only for this control |
| Path | Change |
|---|---|
apps/dashboard/src/components/workflow-editor/steps/configure-step-form.tsx | Remove ToolEnabledProviders import/usage; remove showToolFormMiddleSection; remove TOOL branch that defaults enabledIntegrations in registerInlineControlValues |
| Path | Change |
|---|---|
libs/application-generic/src/schemas/control/tool-control.schema.ts | Remove enabledIntegrations from toolControlZodSchema |
libs/application-generic/src/schemas/control/tool-control.schema.spec.ts | Drop enabledIntegrations from fixtures |
libs/application-generic/src/dtos/workflow/tool-control.dto.ts | Remove field + validators |
libs/application-generic/src/utils/sanitize-control-values.ts | Stop mapping enabledIntegrations in sanitizeTool (strips key on save/normalize) |
packages/framework/src/schemas/steps/channels/tool.schema.ts | Remove from toolOutputSchema.properties |
packages/framework/src/schemas/steps/channels/tool.schema.test.ts | Update expectation |
packages/shared/src/dto/workflows/preview-step-response.dto.ts | Remove from ToolRenderOutput |
| Path | Change |
|---|---|
apps/api/src/app/environments-v1/usecases/output-renderers/tool-output-renderer.usecase.ts | Stop copying enabledIntegrations into output |
apps/worker/src/app/workflow/usecases/send-message/send-message-tool.usecase.ts | Remove filterToolIntegrationsByEnabledIdentifiers, ToolStepOutputs.enabledIntegrations, filter call, and requestedEnabledIntegrations / enabled_integrations_filter_matched_none failure details; use all active integrations; simplify resolveContentAndProviders to return { content } only |
apps/worker/src/app/workflow/usecases/send-message/send-message-tool.usecase.spec.ts | Remove the enabledIntegrations filter describe block |
enabledIntegrations.sanitizeTool only copies known keys → next normalize/save strips the field..strict() / additionalProperties: false → if raw validation runs before sanitize, the stale key may surface as a step-issue until the workflow is re-saved. Acceptable; matches existing unknown-key handling.enabledIntegrations / ToolEnabledProviders / filterToolIntegrationsByEnabledIdentifiers remain (except intentional non-Tool enabledProviders in maily-core).apps/worker — send-message-tool.usecase.spec.tslibs/application-generic — tool-control.schema.spec.tspackages/framework — tool.schema.test.ts