@different-ai/opencode-browser 4.5.0 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@different-ai/opencode-browser",
3
- "version": "4.5.0",
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": {
@@ -20,8 +20,10 @@
20
20
  ],
21
21
  "scripts": {
22
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",
23
25
  "prepublishOnly": "bun run build",
24
- "publish": "node -e \"const argv=(() => { try { return JSON.parse(process.env.npm_config_argv || '{}').original || []; } catch { return []; } })(); if (argv.length === 1 && argv[0] === 'publish') process.exit(0); require('child_process').execSync('npm publish --access public', { stdio: 'inherit' });\"",
26
+ "publish": "node -e \"if (process.env.npm_command === 'publish') process.exit(0); require('child_process').execSync('npm publish --access public', { stdio: 'inherit' });\"",
25
27
  "install": "node bin/cli.js install",
26
28
  "uninstall": "node bin/cli.js uninstall",
27
29
  "status": "node bin/cli.js status",