opencode-browser-annotation-plugin 0.6.1 → 0.6.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.
- package/extension/icons/icon-128.png +0 -0
- package/extension/icons/icon-16.png +0 -0
- package/extension/icons/icon-32.png +0 -0
- package/extension/icons/icon-48.png +0 -0
- package/extension/icons/icon-512.png +0 -0
- package/extension/icons/icon.svg +27 -0
- package/extension/manifest.json +14 -2
- package/package.json +2 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<svg width="128" height="128" viewBox="0 0 128 128" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="bg" x1="0" y1="0" x2="0" y2="128" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop offset="0" stop-color="#22262e"/>
|
|
5
|
+
<stop offset="1" stop-color="#15171c"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
<linearGradient id="mint" x1="34" y1="30" x2="94" y2="98" gradientUnits="userSpaceOnUse">
|
|
8
|
+
<stop offset="0" stop-color="#7ef0c8"/>
|
|
9
|
+
<stop offset="1" stop-color="#39c79a"/>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
</defs>
|
|
12
|
+
|
|
13
|
+
<!-- rounded dark badge -->
|
|
14
|
+
<rect x="4" y="4" width="120" height="120" rx="28" fill="url(#bg)"/>
|
|
15
|
+
<rect x="4.5" y="4.5" width="119" height="119" rx="27.5" fill="none" stroke="#3a3f49" stroke-width="1"/>
|
|
16
|
+
|
|
17
|
+
<!-- element-picker corner brackets (mint) -->
|
|
18
|
+
<g stroke="url(#mint)" stroke-width="7" stroke-linecap="round" stroke-linejoin="round" fill="none">
|
|
19
|
+
<path d="M34 50 V38 A4 4 0 0 1 38 34 H50"/>
|
|
20
|
+
<path d="M78 34 H90 A4 4 0 0 1 94 38 V50"/>
|
|
21
|
+
<path d="M34 78 V90 A4 4 0 0 1 38 94 H50"/>
|
|
22
|
+
</g>
|
|
23
|
+
|
|
24
|
+
<!-- cursor / pick arrow, lower-right, on top of brackets -->
|
|
25
|
+
<path d="M66 60 L98 74 L83 80 L91 98 L82 102 L74 84 L62 92 Z"
|
|
26
|
+
fill="#ffffff" stroke="#15171c" stroke-width="3" stroke-linejoin="round"/>
|
|
27
|
+
</svg>
|
package/extension/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest_version": 3,
|
|
3
3
|
"name": "OpenCode Browser Annotation",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.2",
|
|
5
5
|
"description": "Alt+A to annotate an element, Alt+Shift+A for the annotation list. Sends element metadata to your OpenCode agent.",
|
|
6
6
|
"permissions": [
|
|
7
7
|
"activeTab",
|
|
@@ -16,8 +16,20 @@
|
|
|
16
16
|
"service_worker": "background.js",
|
|
17
17
|
"type": "module"
|
|
18
18
|
},
|
|
19
|
+
"icons": {
|
|
20
|
+
"16": "icons/icon-16.png",
|
|
21
|
+
"32": "icons/icon-32.png",
|
|
22
|
+
"48": "icons/icon-48.png",
|
|
23
|
+
"128": "icons/icon-128.png"
|
|
24
|
+
},
|
|
19
25
|
"action": {
|
|
20
|
-
"default_title": "OpenCode Annotation — Alt+A to pick, Alt+Shift+A for list"
|
|
26
|
+
"default_title": "OpenCode Annotation — Alt+A to pick, Alt+Shift+A for list",
|
|
27
|
+
"default_icon": {
|
|
28
|
+
"16": "icons/icon-16.png",
|
|
29
|
+
"32": "icons/icon-32.png",
|
|
30
|
+
"48": "icons/icon-48.png",
|
|
31
|
+
"128": "icons/icon-128.png"
|
|
32
|
+
}
|
|
21
33
|
},
|
|
22
34
|
"options_page": "options.html",
|
|
23
35
|
"commands": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-browser-annotation-plugin",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Select an element in your browser, type an instruction, and send it to your OpenCode agent over a loopback + SSH tunnel. Text and element metadata only (no screenshots).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"opencode",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsc -p tsconfig.json",
|
|
36
36
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
37
|
+
"pack:ext": "node scripts/pack-extension.mjs",
|
|
37
38
|
"prepublishOnly": "npm run build"
|
|
38
39
|
},
|
|
39
40
|
"peerDependencies": {
|