You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added launch and entry trace logging to prove/fix the hosted SVG launch path into `tools/SVG Asset Studio/main.js` and the hosted workspace shell branch.
5
+
6
+
## Files changed
7
+
-`tools/Workspace Manager/main.js`
8
+
-`tools/SVG Asset Studio/main.js`
9
+
-`docs/dev/reports/pr_11_180_validation.md`
10
+
11
+
## Workspace Manager launch logs
12
+
`tools/Workspace Manager/main.js` now logs `[WORKSPACE_TOOL_LAUNCH]` after `runtime.launch(...)` for every mounted tool using the actual returned iframe URL/source URL.
13
+
14
+
The launch log includes:
15
+
- requested tool id
16
+
- normalized mounted tool id
17
+
- iframe URL
18
+
-`hosted` URL param
19
+
-`hostToolId` URL param
20
+
-`hostContextId` URL param
21
+
- payload presence
22
+
- payload keys
23
+
24
+
For `svg-asset-studio`, Workspace Manager also logs `[SVG_LAUNCH_REQUEST]` with:
25
+
- iframe URL
26
+
- hosted URL params
27
+
-`payloadJson.vectorAssetDocument` existence
28
+
-`sourceName`
29
+
- SVG text length
30
+
31
+
## SVG entry log
32
+
`tools/SVG Asset Studio/main.js` now logs `[SVG_ENTRY_TOP]` at module top before hosted branch detection.
33
+
34
+
The entry log includes:
35
+
-`location.href`
36
+
-`hosted`
37
+
-`hostToolId`
38
+
-`hostContextId`
39
+
40
+
The hosted guard still requires:
41
+
-`hosted=1`
42
+
-`hostToolId=svg-asset-studio`
43
+
- non-empty `hostContextId`
44
+
45
+
When the guard matches, SVG still logs `[SVG_HOSTED_WORKSPACE_ENTRY]` and calls `initWorkspaceShell(window.location, document)`.
0 commit comments