itwillsync 1.0.0 → 1.0.2

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.
@@ -7,8 +7,8 @@
7
7
  <meta name="mobile-web-app-capable" content="yes">
8
8
  <meta name="theme-color" content="#1a1a2e">
9
9
  <title>itwillsync</title>
10
- <script type="module" crossorigin src="/assets/index-D5whIj_8.js"></script>
11
- <link rel="stylesheet" crossorigin href="/assets/index-C_FteUer.css">
10
+ <script type="module" crossorigin src="/assets/index-BvGj1B-6.js"></script>
11
+ <link rel="stylesheet" crossorigin href="/assets/index-BfDx-XdF.css">
12
12
  </head>
13
13
  <body>
14
14
  <div id="status-bar">
@@ -17,5 +17,24 @@
17
17
  </div>
18
18
  <div id="terminal-container"></div>
19
19
  <div id="extra-keys"></div>
20
+ <script>
21
+ // Inline fallback: if the main JS module fails to load or crashes,
22
+ // show a meaningful error instead of staying stuck at "Connecting..."
23
+ window.__itwillsync_loaded = false;
24
+ window.onerror = function(msg) {
25
+ if (!window.__itwillsync_loaded) {
26
+ var el = document.getElementById("status-text");
27
+ if (el) el.textContent = "Error: " + msg;
28
+ }
29
+ };
30
+ setTimeout(function() {
31
+ if (!window.__itwillsync_loaded) {
32
+ var el = document.getElementById("status-text");
33
+ if (el && el.textContent === "Connecting...") {
34
+ el.textContent = "Failed to load — try refreshing";
35
+ }
36
+ }
37
+ }, 10000);
38
+ </script>
20
39
  </body>
21
40
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itwillsync",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Sync any terminal-based coding agent to your phone over local network",
5
5
  "type": "module",
6
6
  "bin": {