gazesight 0.3.5 → 0.5.0

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "GazeSight",
4
- "version": "0.1.0",
4
+ "version": "0.3.0",
5
5
  "description": "Give coding agents visual access to the Chrome tab you're already using.",
6
6
  "minimum_chrome_version": "102",
7
7
  "icons": {
@@ -51,7 +51,7 @@
51
51
  "open_in_tab": true
52
52
  },
53
53
  "content_security_policy": {
54
- "extension_pages": "script-src 'self'; object-src 'none'; connect-src ws://127.0.0.1:* data:"
54
+ "extension_pages": "script-src 'self'; object-src 'none'; connect-src ws://127.0.0.1:* http://127.0.0.1:* data:"
55
55
  },
56
56
  "content_scripts": [
57
57
  {
@@ -16,6 +16,15 @@ form {
16
16
  display: grid;
17
17
  gap: 12px;
18
18
  }
19
+ .pairing-card { margin: 24px 0; padding: 24px; border: 1px solid #d9d5ff; border-radius: 16px; background: linear-gradient(135deg, #f8f7ff, #fff); box-shadow: 0 12px 32px rgba(63, 35, 145, .08); }
20
+ .pairing-card h2 { margin: 4px 0 8px; }
21
+ .eyebrow { margin: 0; color: #6848ca; font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
22
+ .pairing-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; }
23
+ .pairing-actions button { width: auto; margin: 0; }
24
+ .pairing-actions .secondary { color: #4723b0; background: white; }
25
+ .pairing-code { width: fit-content; padding: 10px 14px; border-radius: 8px; color: #160653; background: #ebe8ff; font: 700 20px/1.2 ui-monospace, monospace; letter-spacing: .12em; }
26
+ .advanced { margin-top: 22px; padding: 14px 0; border-top: 1px solid #dddfff; }
27
+ .advanced summary { cursor: pointer; color: #625a94; font-weight: 650; }
19
28
  input,
20
29
  textarea,
21
30
  button {
@@ -16,6 +16,19 @@
16
16
  Le token de pairing est conservé dans le stockage local de Firefox, qui
17
17
  n’est pas chiffré. Ne partagez pas votre fichier de configuration.
18
18
  </p>
19
+ <section class="pairing-card" aria-labelledby="pairing-title">
20
+ <p class="eyebrow">Secure local pairing</p>
21
+ <h2 id="pairing-title">Connect without a config file</h2>
22
+ <p id="pairing-message">Run <code>gazesight pair</code>, then approve the matching request in your terminal.</p>
23
+ <p id="pairing-code" class="pairing-code" hidden></p>
24
+ <div class="pairing-actions">
25
+ <button type="button" id="pair-connect">Connect to GazeSight</button>
26
+ <button type="button" id="pair-disconnect" class="secondary">Disconnect / re-pair</button>
27
+ </div>
28
+ <output id="pairing-status" aria-live="polite"></output>
29
+ </section>
30
+ <details class="advanced">
31
+ <summary>Advanced manual configuration</summary>
19
32
  <form>
20
33
  <label for="config-file"
21
34
  >Importer la configuration GazeSight locale</label
@@ -46,6 +59,7 @@
46
59
  ><button>Enregistrer et connecter</button
47
60
  ><output aria-live="polite"></output>
48
61
  </form>
62
+ </details>
49
63
  <p>
50
64
  Ouvrez ensuite votre application locale, puis GazeSight et « Use this tab
51
65
  », ou utilisez Ctrl+Maj+Y. Gardez cet onglet actif pour les captures.