Skip to content

feat(ls): allow host-controlled guest commands - #15

Open
kermanx wants to merge 1 commit into
mainfrom
feat/issue-11-guest-command-control
Open

feat(ls): allow host-controlled guest commands#15
kermanx wants to merge 1 commit into
mainfrom
feat/issue-11-guest-command-control

Conversation

@kermanx

@kermanx kermanx commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • add the machine-scoped p2p-live-share.languages.allowGuestCommandControl host setting, disabled by default
  • advertise the internal LSP command bridge so guest language actions can call back into the host
  • forward completion, code-action, bare command, and code-lens commands through opaque per-peer capabilities
  • enforce the setting and capability lookup on the host before execution

Verification

  • pnpm typecheck
  • pnpm exec eslint src/configs.ts src/ls/guest.ts src/ls/host.ts package.json
  • pnpm build

Closes #11

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.

Add the equivalent to liveshare.languages.allowGuestCommandControl

1 participant