chocolatito-code 1.1.0 → 1.2.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.
@@ -10,11 +10,18 @@
10
10
  "scripting",
11
11
  "debugger",
12
12
  "webNavigation",
13
- "storage"
13
+ "storage",
14
+ "downloads"
14
15
  ],
15
16
  "host_permissions": [
16
17
  "<all_urls>"
17
18
  ],
19
+ "icons": {
20
+ "16": "iconos/16.png",
21
+ "32": "iconos/32.png",
22
+ "48": "iconos/48.png",
23
+ "128": "iconos/128.png"
24
+ },
18
25
  "background": {
19
26
  "service_worker": "background.js"
20
27
  },
@@ -32,6 +39,22 @@
32
39
  ],
33
40
  "action": {
34
41
  "default_title": "Chocolatito Code",
35
- "default_popup": "popup.html"
36
- }
42
+ "default_popup": "popup.html",
43
+ "default_icon": {
44
+ "16": "iconos/16.png",
45
+ "32": "iconos/32.png",
46
+ "48": "iconos/48.png"
47
+ }
48
+ },
49
+ "web_accessible_resources": [
50
+ {
51
+ "resources": [
52
+ "iconos/*",
53
+ "fuentes/*"
54
+ ],
55
+ "matches": [
56
+ "<all_urls>"
57
+ ]
58
+ }
59
+ ]
37
60
  }
@@ -1,22 +1,32 @@
1
1
  <!doctype html>
2
2
  <meta charset="utf-8" />
3
3
  <style>
4
+ @font-face {
5
+ font-family: 'ChocolatitoMarca';
6
+ src: url('fuentes/Chocolatito-Marca.ttf') format('truetype');
7
+ }
4
8
  body {
5
9
  margin: 0;
6
- width: 260px;
7
- padding: 14px;
10
+ width: 320px;
11
+ box-sizing: border-box;
12
+ padding: 16px;
8
13
  font: 13px/1.45 -apple-system, "Segoe UI", system-ui, sans-serif;
9
14
  background: #191211;
10
15
  color: #F3EAE4;
11
16
  }
12
- h1 { margin: 0 0 10px; font-size: 14px; letter-spacing: .2px; }
13
- .row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
17
+ .header { text-align: center; margin-bottom: 14px; }
18
+ .logo { width: 100%; max-width: 260px; height: auto; display: block; margin: 0 auto 6px auto; }
19
+ .subtitulo { margin: 0; font-size: 11px; color: #B5A49C; letter-spacing: 0.3px; }
20
+ .row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
14
21
  .dot { width: 9px; height: 9px; border-radius: 50%; background: #6B5B54; }
15
- .dot.on { background: #4ADE80; }
22
+ .dot.on { background: #4ADE80; box-shadow: 0 0 8px rgba(74, 222, 128, 0.5); }
16
23
  .muted { color: #B5A49C; font-size: 12px; }
17
24
  code { background: #2A1F1C; padding: 1px 5px; border-radius: 4px; font-size: 11px; }
18
25
  </style>
19
- <h1>Chocolatito Code</h1>
26
+ <div class="header">
27
+ <img src="iconos/logotipo.png" alt="Chocolatito Code" class="logo" />
28
+ <p class="subtitulo">Puente con el CLI de Chocolatito</p>
29
+ </div>
20
30
  <div class="row"><span class="dot" id="dot"></span><span id="state">Comprobando…</span></div>
21
31
  <div class="row muted" id="hint"></div>
22
32
  <script src="popup.js"></script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chocolatito-code",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Agente autónomo de programación para la terminal, con control real del ordenador y del navegador. Desarrollado por Chocolatito.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -28,7 +28,8 @@
28
28
  "dev": "tsc --watch",
29
29
  "start": "node ./dist/index.js",
30
30
  "test": "node --test tests/*.test.mjs",
31
- "prepublishOnly": "npm run build && npm test"
31
+ "prepublishOnly": "npm run build && npm test",
32
+ "vscode": "code --extensionDevelopmentPath=./extension-vscode ."
32
33
  },
33
34
  "keywords": [
34
35
  "ai",