Problem
@orgloop/connector-linear-webhook imports normalizeAssigneeChange (and others) from @orgloop/connector-linear, and @orgloop/connector-github-webhook imports normalizeCheckSuiteCompleted (and others) from @orgloop/connector-github.
But neither base connector re-exports these functions from their entry point (dist/index.js). The functions exist in dist/normalizer.js but aren't included in the package's public API.
This causes orgloop to crash on startup:
Failed to import connector "@orgloop/connector-linear-webhook": The requested module '@orgloop/connector-linear' does not provide an export named 'normalizeAssigneeChange'
Fix
Both connector-linear/src/index.ts and connector-github/src/index.ts need to re-export their normalizer functions:
// connector-linear/src/index.ts
export { normalizeAssigneeChange, normalizeComment, normalizeIssueStateChange, normalizeLabelChange, normalizeNewIssue, normalizePriorityChange } from './normalizer.js';
// connector-github/src/index.ts
export { normalizePullRequestReview, normalizePullRequestReviewComment, normalizeIssueComment, normalizePullRequestClosed, normalizeWorkflowRunFailed, normalizePullRequestOpened, normalizePullRequestReadyForReview, normalizeCheckSuiteCompleted } from './normalizer.js';
Then publish new versions of both base connectors.
Workaround
Manually patching the globally installed dist/index.js files to add the re-exports. Fragile — any npm install -g wipes the patches.
Problem
@orgloop/connector-linear-webhookimportsnormalizeAssigneeChange(and others) from@orgloop/connector-linear, and@orgloop/connector-github-webhookimportsnormalizeCheckSuiteCompleted(and others) from@orgloop/connector-github.But neither base connector re-exports these functions from their entry point (
dist/index.js). The functions exist indist/normalizer.jsbut aren't included in the package's public API.This causes orgloop to crash on startup:
Fix
Both
connector-linear/src/index.tsandconnector-github/src/index.tsneed to re-export their normalizer functions:Then publish new versions of both base connectors.
Workaround
Manually patching the globally installed
dist/index.jsfiles to add the re-exports. Fragile — anynpm install -gwipes the patches.