Skip to content

fix(hub): hub and api keep --host; the test provider is called Sandbox - #83

Merged
Domantas merged 3 commits into
mainfrom
fix/host-flag
Oct 19, 2026
Merged

Domantas merged 3 commits into
mainfrom
fix/host-flag

Conversation

@Domantas

Copy link
Copy Markdown
Contributor
  • fix(hub): norbix hub / norbix api dropped --host (and --language, --prod): the hand-kept list of global flags missed them, so --host became a request field and the call went to the [default] profile's host. The list is now derived from BaseCommand.baseFlags + the command's flags, and host discovery in init() parses the same split argv (restoring the argv oclif overwrites).
  • feat(integrations): the built-in test provider is called Sandbox in help, examples, code runs texts and docs; --provider Sandbox sends the API value Fake. Breaking: --provider Fake is no longer offered.

Tests: npm test 38 files / 1037 tests green. New tests/namespace-host.test.ts (6 tests) fails on origin/main and passes here.
Task file: docs/tasks/host-flag-and-sandbox.md (branch fix/host-flag). Expected release: minor.

🤖 Generated with Claude Code

Domantas and others added 3 commits October 19, 2026 07:48
…l flags

The generic commands split their argv by a hand-kept list of global flags
that missed --host, --language and --prod, so --host became a request field
and the call went to the [default] profile's host. The list is now derived
from BaseCommand.baseFlags plus the command's own flags, and host discovery
in init() parses the same split argv (and gives oclif's overwritten argv
back), so it runs for the --host target.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`email|sms|push integration save --provider Sandbox` replaces
`--provider Fake`; the request still carries the API value `Fake`. Help,
examples, `code runs` texts and the docs pages say Sandbox: the safe
built-in provider that accepts every send and never contacts a real
service.

Breaking: `--provider Fake` is no longer offered; use `--provider Sandbox`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Domantas
Domantas merged commit f5f49c1 into main Oct 19, 2026
11 checks passed
@Domantas
Domantas deleted the fix/host-flag branch October 19, 2026 04:58
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.35.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant