Skip to content

feat: drop hosted mode from webcmd setup - #493

Merged
ankitranjan7 merged 1 commit into
mainfrom
feat/setup-drop-hosted-mode
Sep 7, 2026
Merged

feat: drop hosted mode from webcmd setup#493
ankitranjan7 merged 1 commit into
mainfrom
feat/setup-drop-hosted-mode

Conversation

@ankitranjan7

@ankitranjan7 ankitranjan7 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • webcmd setup no longer asks "hosted or local" or accepts --mode/--api-key. It always configures local browser mode: browser selection, Chrome cookie import, and daemon restart are unchanged.
  • Hosted-mode setup (API key entry, account verification, credential storage) is removed along with its now-dead helpers (hostedAccountLabel, credentialBackendLabel).
  • Reading an existing on-disk hosted config elsewhere in the CLI (main.ts, hosted/availability.ts, hosted/contract.ts) is untouched — only the ability to create one via setup is removed.

Test plan

  • src/hosted/setup.test.ts — 39/39 passed (hosted-path tests removed; local-path tests adapted, including a regression test that a mocked question answering 'hosted' is never even called in non-interactive mode)
  • Full suite: 3624 passed, 81 skipped, 0 real failures (6 pre-existing e2e/smoke failures are a plugins/ fixture gap present even on a plain checkout, unrelated to this change)
  • npm run typecheck / npm run build — both pass
  • Manual smoke: setup --help/setup --status on the built CLI show no --mode/--api-key, reports {"mode":"local", ...}

webcmd setup no longer asks "hosted or local" or accepts --mode/--api-key.
It always configures local browser mode: browser selection, Chrome cookie
import, and daemon restart are unchanged. Hosted-mode setup (API key entry,
account verification, credential storage) is removed along with its
now-dead helpers. Reading an existing on-disk hosted config elsewhere in
the CLI (main.ts, hosted/availability.ts, hosted/contract.ts) is untouched.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013KuPnjTXhrBoY2KtPV2R89
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

🟠 Maintainer review suggested — low confidence

The automated review could not reach a fully supported conclusion.

This review is advisory and does not block merging.

@ankitranjan7
ankitranjan7 merged commit 71afb5b into main Sep 7, 2026
15 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