Skip to content

feat: let a host turn the Yard off with &yard=none - #325

Merged
oddessentials merged 2 commits into
mainfrom
feat/yard-none
Oct 26, 2026
Merged

oddessentials merged 2 commits into
mainfrom
feat/yard-none

Conversation

@oddessentials

Copy link
Copy Markdown
Owner

Closes #324

Summary

  • A hosted page with &yard=none shows the Cards, doesn't offer the Yard in Settings, and ignores &view=yard, &layout=compact and the host's view: "yard" message. It never loads the scene or downloads the Yard's art.
  • When the page removes the token from its address, it keeps #yard=none, so a reload keeps the Yard off.
  • The Pages demo's ?view=yard bookmark doesn't override yard=none.
  • A browser ignores yard=none. Without it, nothing changes.
  • docs/api.md documents &yard=none with the other host parameters.

For the companion apps

  • Managers released before this ignore yard=none. An app can use the version in the page's ready message to tell whether the Yard is reliably off.
  • A TV page opened with yard=none ends up at the address #yard=none, not the compact one (agent-guild-android#19).

Tests

  • tests/yard.test.mjs, tests/host.test.mjs, tests/pages-demo.test.mjs: yard=none for VS Code, the Apple app and the Android app, and that a browser ignores it.
  • tests/browser/layout.mjs: a TV-style hosted page, including after a reload with the Yard saved as the user's view. It checks the Cards, the hidden Yard choice, the ignored request and that nothing from the Yard is requested. It fails without the fix.
  • Two existing tests fail on main without this change and are unrelated: the Windows wrapper test in tests/autostart.test.mjs and the restart-refusal test in tests/launcher.test.mjs.

🤖 Generated with Claude Code

oddessentials and others added 2 commits October 26, 2026 19:07
A hosted page with &yard=none shows the Cards, doesn't offer the Yard,
ignores view=yard, layout=compact and the host's "yard" view message, and
never loads the scene or downloads the Yard's art.

Closes #324

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A reload of a hosted page opened with &yard=none lost the opt-out, so the
Yard came back and a saved Yard view loaded the scene.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oddessentials
oddessentials merged commit f292ac6 into main Oct 26, 2026
31 checks passed
@oddessentials
oddessentials deleted the feat/yard-none branch October 26, 2026 23:43
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.

Hosts: let the app turn the Yard off with &yard=none

1 participant