@codeyam-editor/codeyam-editor 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/npm/cloud.js +361 -18
  2. package/npm/editor-dev.js +24 -2
  3. package/npm/editor.js +15 -5
  4. package/npm/fleet-add-failure.js +355 -21
  5. package/npm/fleet-branch.js +124 -1
  6. package/npm/fleet-build-data.js +12 -1
  7. package/npm/fleet-cleanup.js +84 -3
  8. package/npm/fleet-datastore-health.js +107 -0
  9. package/npm/fleet-revision.js +108 -0
  10. package/npm/fleet-run-setup.js +66 -0
  11. package/npm/fleet-session-activity.js +162 -0
  12. package/npm/fleet-vm-readiness.js +57 -16
  13. package/npm/launch-config.js +126 -2
  14. package/npm/scenario-check.js +697 -34
  15. package/npm/scenario-interactivity.js +477 -23
  16. package/npm/scenario-issues.js +61 -0
  17. package/npm/scenario-playwright.js +67 -14
  18. package/npm/utils.js +262 -22
  19. package/package.json +5 -5
  20. package/ui/dist/assets/{ContainerInspector-DSVZvEkB.js → ContainerInspector-C7I9wctz.js} +1 -1
  21. package/ui/dist/assets/EditorShell-9aYMeOdZ.js +330 -0
  22. package/ui/dist/assets/EditorShell-CE8iG_EM.css +1 -0
  23. package/ui/dist/assets/ScenarioDataPanel-CLwkrex0.js +18 -0
  24. package/ui/dist/assets/{ScenarioDataPanelFullPage-Cyk6efiI.js → ScenarioDataPanelFullPage-DT0TZC4M.js} +1 -1
  25. package/ui/dist/assets/ScenarioRenderer-Bsarhcrl.js +21 -0
  26. package/ui/dist/assets/index-BRoAenc1.css +1 -0
  27. package/ui/dist/assets/{index-BPLKgwon.js → index-iMR5siiG.js} +9 -9
  28. package/ui/dist/index.html +2 -2
  29. package/ui/dist/preview-subdir-demo/index.html +62 -0
  30. package/ui/dist/preview-subdir-demo/sibling.html +48 -0
  31. package/ui/dist/assets/EditorShell-DnXdHrar.js +0 -256
  32. package/ui/dist/assets/EditorShell-FvbXyqqD.css +0 -1
  33. package/ui/dist/assets/ScenarioDataPanel-6qJE-0lA.js +0 -15
  34. package/ui/dist/assets/ScenarioRenderer-Uyt54vHI.js +0 -21
  35. package/ui/dist/assets/index-DKpgJLo3.css +0 -1
@@ -5,10 +5,10 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>CodeYam</title>
7
7
  <link rel="icon" type="image/x-icon" href="/favicon.ico" />
8
- <script type="module" crossorigin src="/assets/index-BPLKgwon.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-iMR5siiG.js"></script>
9
9
  <link rel="modulepreload" crossorigin href="/assets/react-nrLBr15I.js">
10
10
  <link rel="modulepreload" crossorigin href="/assets/markdown-C9tbsVHX.js">
11
- <link rel="stylesheet" crossorigin href="/assets/index-DKpgJLo3.css">
11
+ <link rel="stylesheet" crossorigin href="/assets/index-BRoAenc1.css">
12
12
  </head>
13
13
  <body>
14
14
  <div id="root"></div>
@@ -0,0 +1,62 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>Preview subdirectory demo</title>
6
+ <style>
7
+ body {
8
+ font-family: ui-sans-serif, system-ui, sans-serif;
9
+ margin: 0;
10
+ padding: 48px;
11
+ background: #0f1117;
12
+ color: #e6e8ee;
13
+ }
14
+ h1 {
15
+ font-size: 22px;
16
+ margin: 0 0 8px;
17
+ }
18
+ p {
19
+ color: #9aa3b2;
20
+ line-height: 1.6;
21
+ max-width: 60ch;
22
+ }
23
+ .base {
24
+ font-family: ui-monospace, monospace;
25
+ font-size: 14px;
26
+ background: #1a1d27;
27
+ border: 1px solid #2a2f3d;
28
+ border-radius: 8px;
29
+ padding: 14px 16px;
30
+ margin: 24px 0;
31
+ color: #7ee2b8;
32
+ word-break: break-all;
33
+ }
34
+ a.link {
35
+ display: inline-block;
36
+ background: #3b6df6;
37
+ color: #fff;
38
+ text-decoration: none;
39
+ padding: 12px 20px;
40
+ border-radius: 8px;
41
+ font-weight: 600;
42
+ }
43
+ </style>
44
+ </head>
45
+ <body>
46
+ <h1>Preview subdirectory demo</h1>
47
+ <p>
48
+ This page is served from a subdirectory of the public root. The link below is
49
+ <strong>relative</strong> — it resolves against this document's
50
+ <code>&lt;base href&gt;</code>. If the proxy pins that base to the proxy root, the
51
+ subdirectory segment is dropped and the link 404s.
52
+ </p>
53
+
54
+ <div class="base">document.baseURI = <span id="base">(reading…)</span></div>
55
+
56
+ <a class="link" href="sibling.html">Open the sibling page (relative link)</a>
57
+
58
+ <script>
59
+ document.getElementById('base').textContent = document.baseURI;
60
+ </script>
61
+ </body>
62
+ </html>
@@ -0,0 +1,48 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>Sibling page reached</title>
6
+ <style>
7
+ body {
8
+ font-family: ui-sans-serif, system-ui, sans-serif;
9
+ margin: 0;
10
+ padding: 48px;
11
+ background: #0f1117;
12
+ color: #e6e8ee;
13
+ }
14
+ h1 {
15
+ font-size: 22px;
16
+ margin: 0 0 8px;
17
+ color: #7ee2b8;
18
+ }
19
+ p {
20
+ color: #9aa3b2;
21
+ line-height: 1.6;
22
+ max-width: 60ch;
23
+ }
24
+ .base {
25
+ font-family: ui-monospace, monospace;
26
+ font-size: 14px;
27
+ background: #1a1d27;
28
+ border: 1px solid #2a2f3d;
29
+ border-radius: 8px;
30
+ padding: 14px 16px;
31
+ margin: 24px 0;
32
+ color: #7ee2b8;
33
+ word-break: break-all;
34
+ }
35
+ </style>
36
+ </head>
37
+ <body>
38
+ <h1>✓ Sibling page reached</h1>
39
+ <p>
40
+ The relative link resolved inside the subdirectory instead of 404ing at the proxy
41
+ root. This is the state the base-href fix restores.
42
+ </p>
43
+ <div class="base">document.baseURI = <span id="base">(reading…)</span></div>
44
+ <script>
45
+ document.getElementById('base').textContent = document.baseURI;
46
+ </script>
47
+ </body>
48
+ </html>