Skip to content

Conversation

@WolfGangS
Copy link
Contributor

@WolfGangS WolfGangS commented Dec 21, 2025

Description

Adds a method for the web socket server to allow 3rd party tools to query scripts available for subscription. Useful for the sl-vscode-plugin to be able to resubscribe after a connection loss (like the user updated vscode, or similar)

Also useful for plans to add support for a cli version of the plugin, to allow broader editor compatibility.

Related Issues

Issue Link: relates to secondlife/sl-vscode-plugin#43


Checklist

Please ensure the following before requesting review:

  • I have provided a clear title and detailed description for this pull request.
  • If useful, I have included media such as screenshots and video to show off my changes.
  • The PR is linked to a relevant issue with sufficient context.
  • I have tested the changes locally and verified they work as intended.
  • All new and existing tests pass.
  • Code follows the project's style guidelines.
  • Documentation has been updated if needed.
  • Any dependent changes have been merged and published in downstream modules
  • I have reviewed the contributing guidelines.

Additional Notes

Discussed with @Rider-Linden before, so likely more his wheelhouse for review.

I suspect there may be some issue I am missing with my changes to LLScriptEditorWSServer::unsubscribeConnection but they (or something like them) are needed else a websocket connection closing flushes scripts from the subscription list, even though they are still open in viewer, and on disk in the temp directory.

…ubscription

Signed-off-by: WolfGangS <flamin2k8@gmail.com>
Signed-off-by: WolfGangS <flamin2k8@gmail.com>
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