-
Notifications
You must be signed in to change notification settings - Fork 96
feat(cli): add moss playground command with WASM-based query UI #496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
msranjana
wants to merge
29
commits into
usemoss:main
Choose a base branch
from
msranjana:feat/local-playground-ui
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 23 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
24e8ba3
feat(cli): add moss playground command with WASM-based query UI
msranjana 6766c80
fix(playground): remove wildcard CORS and escape doc.id in result HTML
msranjana 6490453
fix(playground): address code review — remove CDN, proxy through serv…
msranjana 5859df3
fix(playground): add CSRF token and Host/Origin checks to protect loc…
msranjana 8fa0c37
fix(playground): pass token via URL fragment, capture currentIndex at…
msranjana c49513f
fix(playground): print tokenized URL, guard loadIndex with requestId …
msranjana df550c2
fix(playground): recompute all UI state on selection change, allow lo…
msranjana 7862618
fix(playground): add HTML asset to package-data, add asset-existence …
msranjana 26b9a46
fix(playground): propagate fetch errors to UI, preserve currentIndex …
msranjana a268bc9
fix: remove extraneous f-prefix on non-interpolated string (ruff F541)
msranjana 74e71e6
fix(playground): update global indexes, clear stale results on index …
msranjana 31a9e3c
fix(playground): use ThreadingHTTPServer for concurrent requests, val…
msranjana 6289eaa
fix(playground): serialize all MossClient calls through a single even…
msranjana 1811ebf
fix(playground): validate POST body and fix worker loop binding
msranjana 405bd6c
fix(playground): correct awaitable check and prevent shutdown hang
msranjana 8b5d972
fix(playground): SDK thread-affinity and unbounded shutdown join
msranjana 9839dd6
fix(playground): serialize SDK results inside worker thread
msranjana 8950ce4
fix(playground): use async def closures in worker.submit() for correc…
msranjana 3d3c970
fix(playground): render result summary via DOM nodes not innerHTML
msranjana 54657b2
fix(playground): serialize worker submissions under an asyncio.Lock
msranjana 72d167c
fix(playground): create asyncio.Lock via coroutine after worker threa…
msranjana 21246bd
docs(moss-cli): document the playground command
msranjana 6edb5e4
fix(playground): validate query params, render metadata, abort stale …
msranjana 7ae2a7b
test(playground): cover param validation, metadata rendering, stale q…
msranjana af177cb
fix(playground): harden request handling and per-session staleness
msranjana dabcc0c
fix(playground): persist token in sessionStorage across reloads
msranjana 0182ecf
fix(playground): unload prior index, catch alpha overflow, bind port …
msranjana 45b1ac5
Update packages/moss-cli/src/moss_cli/commands/playground.py
msranjana 623a001
feat(playground): run index loading and queries in-browser via moss-w…
msranjana File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.