Skip to content

feat: add proxy generation helpers and CLI - #2

Merged
nstdata-dev merged 2 commits into
mainfrom
feat/proxy-generation
Nov 3, 2026
Merged

nstdata-dev merged 2 commits into
mainfrom
feat/proxy-generation

Conversation

@nstdata-dev

Copy link
Copy Markdown
Contributor

Summary

Generate proxy connections from an API key without first configuring a channel. Add prepareProxy(), getProxy() and getProxies() with account-aware defaults and reuse of a dedicated default channel. Existing customer API methods remain compatible.

Add the standalone nstdata-proxy CLI with hidden API-key input, setup confirmation, advanced selection and private file export. Uncertain channel creation is reconciled before further generation; requests are not blindly retried. Update the bilingual guides and prepare version 1.1.0.

Validation

  • npm run typecheck, npm test and npm run check:package passed in all four CI jobs: Node.js 22.18.0, 22.x, 24.0.0 and 24.x.
  • Local checks covered standalone npx/global CLI use, terminal input, installed-package behavior and the documented commands against loopback fixtures.
  • A controlled live check verified initial channel creation and reuse from a new client, with one channel created and two proxy generations. No target traffic was sent.

Add prepareProxy, getProxy and getProxies with default-channel reuse.
Provide nstdata-proxy for interactive generation and private file export.
Remove the bootstrap steps for publishing a new npm package.
@nstdata-dev
nstdata-dev merged commit 5f9fa81 into main Nov 3, 2026
8 checks passed
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