Skip to content

chore: remove the leftover ERP Integration API (erp-integration) files - #566

Merged
karlrank merged 1 commit into
mainfrom
chore/remove-erp-integration
Oct 23, 2026
Merged

karlrank merged 1 commit into
mainfrom
chore/remove-erp-integration

Conversation

@karlrank

Copy link
Copy Markdown
Member

Removes the leftover ERP Integration API (erp-integration) files. The API was renamed to the Integration Toolkit API and lives on as epilot integration-toolkit / @epilot/sdk/integration-toolkit.

Why it's dead code

  • CLI: erp-integration is not registered in packages/cli/src/index.ts. On @epilot/cli@0.1.224, epilot erp-integration --help falls through to the top-level usage text and the command isn't listed. The CLI generator builds commands from clients/, and there is no erp-integration-client there any more.
  • SDK: _registry.ts / client-map.ts don't reference it, and there is no ./erp-integration export.
  • Why it matters anyway: the frozen 0.58.0 spec, types and docs were still shipped (@epilot/cli definitions/erp-integration.json) and picked up by docs tooling. They advertise operations the current spec marks deprecated (the four v1 monitoring query endpoints, processErpUpdatesEvents, processErpUpdatesEventsV2) without the flag.
  • No functionality lost: all 43 of its operations exist under the same operationId in the Integration Toolkit API.

Changes

  • Delete packages/cli/{definitions,docs}/erp-integration.*, packages/cli/src/commands/apis/erp-integration.ts
  • Delete packages/epilot-sdk-v2/{docs,src/definitions,src/docs,src/types}/erp-integration*
  • Drop the erp-integration rows from packages/cli-wrapper/README.md and the erp-integration-client entry from publish-clients.sh
  • Changeset: @epilot/cli patch, @epilot/sdk patch

Verification

  • packages/cli: vitest 160/160, packages/epilot-sdk-v2: vitest 362/362, SDK tsup build OK, biome check . clean
  • tsc --noEmit: CLI 12 / SDK 2 errors, identical on main (existing, unrelated: profiles.ts, definition typing)

Follow-up outside this repo: how-to-everything still has 13-cli/commands/erp-integration.md and references in 13-cli/cli.md.

🤖 Generated with Claude Code

The ERP Integration API was renamed to the Integration Toolkit API long ago
and is served as `epilot integration-toolkit` and
`@epilot/sdk/integration-toolkit`. The `erp-integration` files were left
behind: the CLI no longer registered the command (`epilot erp-integration`
falls through to the usage text) and the SDK registry no longer loads the
definitions, but the frozen 0.58.0 spec, its types and docs were still
shipped and picked up by docs tooling, advertising operations the current
spec marks deprecated without saying so.

Every one of its 43 operations exists under the same operationId in the
Integration Toolkit API. Also drops the stale README rows and the
`erp-integration-client` entry from publish-clients.sh (that client
directory no longer exists).
@karlrank
karlrank merged commit 1512d41 into main Oct 23, 2026
7 checks passed
karlrank added a commit that referenced this pull request Oct 23, 2026
…files

chore: delete the leftover erp-integration files (completes #566)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant