Skip to content

feat(hosted): send sessionless browser init/verify to authoring route - #439

Merged
ankitranjan7 merged 4 commits into
mainfrom
feat/sessionless-authoring
Aug 26, 2026
Merged

feat(hosted): send sessionless browser init/verify to authoring route#439
ankitranjan7 merged 4 commits into
mainfrom
feat/sessionless-authoring

Conversation

@ankitranjan7

Copy link
Copy Markdown
Contributor

Do not merge until Cloud feat/sessionless-authoring is on main. This CLI posts to /v1/browser/authoring/commands.

What now works

webcmd browser init|verify <site>/<command> in hosted mode does not need --session. Other browser commands still do.

Review in 10 minutes

  1. Open src/browser/command-catalog.tsinit/verify are sessionless.
  2. Open src/hosted/runner.ts — those two POST to /v1/browser/authoring/commands with no Session field.
  3. Open src/hosted/runner.test.ts — missing --session is allowed only for init/verify; a run.session in the reply is HOSTED_PROTOCOL.

Out of scope

Snapshot routing. Error details. Artifact download. adapter init alias.

Next: confirm the Cloud PR is merged, then merge this when CI is green.

Mark init and verify as sessionless in the public contract and POST them to
/v1/browser/authoring/commands without a Session selector or token.
@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🟠 Maintainer review suggested — low confidence

The automated review could not reach a fully supported conclusion.

Limitations

  • The automated review returned an invalid structured result.

This review is advisory and does not block merging.

Sessionless authoring now errors with SESSION_NOT_ALLOWED instead of
quietly dropping --session. Help text says these commands do not take it.
…ng cases

The checkout fingerprint exceeds Vitest's 5s default on windows-latest shard 1.
Parallel CI workers mutate the tree while this test runs, so a full-repo
fingerprint is racy and slow. Keep the dist fingerprint and empty-cwd check.
@ankitranjan7
ankitranjan7 merged commit 41d17b2 into main Aug 26, 2026
36 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