Idea detail
postmessage_clone_safety
reqlan rq/codestyle/typescript.rq:152
block
done
Summary
Before `postMessage` from a Svelte webview, JSON-clone payloads ( `JSON.parse(JSON.stringify(...))` )
so `$state` proxies remain structured-clone safe. Shared helpers live in each webview's `lib/vscode.ts`.
Navigation
Attributes
| Key | Value |
|---|---|
| apply_to | *.rq".*webview*, *.rq".*_pane |
| implementation | vscode.ts, vscode.ts |
| status | done |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| wildcard_reference | reqlan rq/extension/**/*.rq.*webview* | *.rq".*webview* | |
| wildcard_reference | reqlan rq/extension/local-context/activitybar-panels/*.rq.*_pane | *.rq".*_pane |
Local graph
Initialising graph…