@different-ai/opencode-browser 4.5.1 → 4.6.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.
- package/README.md +32 -2
- package/bin/broker.cjs +1 -1
- package/dist/plugin.js +335 -90
- package/extension/background.js +594 -19
- package/extension/manifest.json +4 -2
- package/package.json +13 -9
- package/.opencode/skill/github-release/SKILL.md +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@different-ai/opencode-browser",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"description": "Browser automation plugin for OpenCode (native messaging + per-tab ownership).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -18,6 +18,17 @@
|
|
|
18
18
|
"extension",
|
|
19
19
|
"README.md"
|
|
20
20
|
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "bun build src/plugin.ts --target=node --outfile=dist/plugin.js",
|
|
23
|
+
"build:cws": "node build-cws-package.mjs",
|
|
24
|
+
"check:extension": "node --check extension/background.js",
|
|
25
|
+
"prepublishOnly": "bun run build",
|
|
26
|
+
"publish": "node -e \"if (process.env.npm_command === 'publish') process.exit(0); require('child_process').execSync('npm publish --access public', { stdio: 'inherit' });\"",
|
|
27
|
+
"install": "node bin/cli.js install",
|
|
28
|
+
"uninstall": "node bin/cli.js uninstall",
|
|
29
|
+
"status": "node bin/cli.js status",
|
|
30
|
+
"tool-test": "bun bin/tool-test.ts"
|
|
31
|
+
},
|
|
21
32
|
"keywords": [
|
|
22
33
|
"opencode",
|
|
23
34
|
"browser",
|
|
@@ -45,12 +56,5 @@
|
|
|
45
56
|
"devDependencies": {
|
|
46
57
|
"@opencode-ai/plugin": "*",
|
|
47
58
|
"bun-types": "*"
|
|
48
|
-
},
|
|
49
|
-
"scripts": {
|
|
50
|
-
"build": "bun build src/plugin.ts --target=node --outfile=dist/plugin.js",
|
|
51
|
-
"install": "node bin/cli.js install",
|
|
52
|
-
"uninstall": "node bin/cli.js uninstall",
|
|
53
|
-
"status": "node bin/cli.js status",
|
|
54
|
-
"tool-test": "bun bin/tool-test.ts"
|
|
55
59
|
}
|
|
56
|
-
}
|
|
60
|
+
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: github-release
|
|
3
|
-
description: Create a GitHub release after pnpm publish with clear feature updates.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Use this skill after running `pnpm publish`.
|
|
7
|
-
|
|
8
|
-
1. Read the current version from `package.json` and set the tag name to `v<version>`.
|
|
9
|
-
2. Summarize changes from git commits since the last tag, or if no tags exist, from the current conversation and latest commits.
|
|
10
|
-
3. Draft release notes with a "## Features" section using those changes, and confirm with the user.
|
|
11
|
-
4. Create the GitHub release with `gh release create v<version> --title "v<version>" --notes "<notes>"`.
|
|
12
|
-
5. Confirm the release appears on GitHub and share the URL.
|