Skip to content

feat: add helper commands foundation#118

Merged
JoshMock merged 1 commit into
mainfrom
helpers/foundation
Apr 13, 2026
Merged

feat: add helper commands foundation#118
JoshMock merged 1 commit into
mainfrom
helpers/foundation

Conversation

@flobernd
Copy link
Copy Markdown
Member

Summary

  • Extract missingConfigError() and transportError() from src/es/handler.ts into a shared src/es/errors.ts module
  • Add shared helper utilities in src/es/helpers/shared.ts: NDJSON/JSON parsing, bulk NDJSON body builder, retry with exponential backoff, concurrency runner, glob file discovery, progress reporter
  • Register an empty helpers group under the es command tree, ready for helper commands to be added in follow-up PRs

…ion)

Extract error utilities into shared `src/es/errors.ts` so both the
existing ES handler and new helper commands can reuse them. Add shared
helper utilities (NDJSON parsing, bulk body builder, retry with backoff,
concurrency runner, progress reporter, glob file discovery) and register
an empty `helpers` group under the `es` command tree.
Copy link
Copy Markdown
Member

@JoshMock JoshMock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome! Thanks for the contribution.

@JoshMock JoshMock merged commit 1761707 into main Apr 13, 2026
16 checks passed
@JoshMock JoshMock deleted the helpers/foundation branch April 13, 2026 16:30
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.

2 participants