Skip to content

The fastest browser for AI agents to run browser automation, built for sharing your logged-in browser state with your AI agents, like Codex or Claude Code, without disturbing you. Zero cost, zero config.

feat(plugins): publish the npm packages under the @ego-lite scope

0x0c972df38a93f
diff --git a/plugins/ego/README.md b/plugins/ego/README.md
index d368f09..1691acc 100644
--- a/plugins/ego/README.md
+++ b/plugins/ego/README.md
@@ -29,9 +29,9 @@ The output directory is `dist/plugins/ego-v2.2.0/`:
| Grok Build | `ego-grok-build-v2.2.0.zip` | Agent Plugins and Claude-compatible manifests |
| WorkBuddy | `ego-workbuddy-v2.2.0.zip` | Local marketplace and CodeBuddy manifest |
| QwenWork Desktop | `ego-qwenwork-v2.2.0.zip` | Claude-compatible expert kit |
-| OpenCode | `ego-opencode-v2.2.0.tgz` | `@citrolabs/ego-opencode` npm package |
-| DeepSeek Harness | `ego-deepseek-harness-v2.2.0.tgz` | `@citrolabs/ego-deepseek-harness` npm bundle |
-| Pi | `ego-pi-v2.2.0.tgz` | `@citrolabs/ego-pi` Pi package |
+| OpenCode | `ego-opencode-v2.2.0.tgz` | `@ego-lite/opencode-plugin` npm package |
+| DeepSeek Harness | `ego-deepseek-harness-v2.2.0.tgz` | `@ego-lite/dsh-plugin` npm bundle |
+| Pi | `ego-pi-v2.2.0.tgz` | `@ego-lite/pi-plugin` Pi package |
Every ZIP includes a host-specific `README.md` at its root; npm archives include
it under `package/`. The WorkBuddy ZIP contains a marketplace root with the
@@ -242,7 +242,7 @@ two install plugins differently.
On OpenCode 1, install the package by name:
```bash
-opencode plugin @citrolabs/ego-opencode -g
+opencode plugin @ego-lite/opencode-plugin -g
```
To remove the plugin, delete its entry from the `plugin` array of the
@@ -251,10 +251,10 @@ applicable `opencode.json` or `opencode.jsonc`.
On OpenCode 2, `opencode plugin add` accepts only npm and Git packages:
```bash
-opencode plugin add @citrolabs/ego-opencode
+opencode plugin add @ego-lite/opencode-plugin
```
-Remove it with `opencode plugin remove @citrolabs/ego-opencode`.
+Remove it with `opencode plugin remove @ego-lite/opencode-plugin`.
To try a local npm archive instead, extract it into a persistent directory and
keep it in place; OpenCode does not install the `.tgz` itself:
@@ -269,7 +269,7 @@ The last command registers it on OpenCode 1. On OpenCode 2, add the absolute
path of the extracted `package` directory to the `plugins` array of
`opencode.json` in the folder that `opencode debug paths config` prints.
-The package is named `@citrolabs/ego-opencode`. Its `.` and `./server` exports
+The package is named `@ego-lite/opencode-plugin`. Its `.` and `./server` exports
load `index.js`, whose default export serves both versions. OpenCode 1 calls
`server()`, which adds the packaged `skills/` directory to its Skill paths and
offers ego-browser as the `/ego-browser` command. OpenCode 2 calls `setup()`,
@@ -284,7 +284,7 @@ See the plugin guides for [OpenCode 1](https://opencode.ai/docs/plugins/) and
Add the package to the desired profile by name:
```bash
-dsh plugin --profile web add @citrolabs/ego-deepseek-harness
+dsh plugin --profile web add @ego-lite/dsh-plugin
dsh --profile web --dump-config
dsh --profile web
```
@@ -299,10 +299,10 @@ dsh plugin --profile web add /absolute/path/to/ego-deepseek-harness-v2.2.0.tgz
The bundle declares `engines.dsh` as `>=0.2.0`, and DSH refuses it on earlier
versions.
-The package is named `@citrolabs/ego-deepseek-harness`. Its bundle patch loads
-`@citrolabs/ego-deepseek-harness/dsh` and registers the packaged Skill. Use
+The package is named `@ego-lite/dsh-plugin`. Its bundle patch loads
+`@ego-lite/dsh-plugin/dsh` and registers the packaged Skill. Use
`/ego-browser`. Remove it with
-`dsh plugin --profile web remove @citrolabs/ego-deepseek-harness`.
+`dsh plugin --profile web remove @ego-lite/dsh-plugin`.
An existing personal `ego-browser` Skill takes precedence over this bundled
provider. Check the base directory returned by the Skill tool: it must point
@@ -316,13 +316,13 @@ See the [DeepSeek Harness local package guide](https://github.com/deepseek-ai/de
Install the npm package, or a local npm archive:
```bash
-pi install npm:@citrolabs/ego-pi
-pi install "npm:@citrolabs/ego-pi@file:/absolute/path/to/ego-pi-v2.2.0.tgz"
+pi install npm:@ego-lite/pi-plugin
+pi install "npm:@ego-lite/pi-plugin@file:/absolute/path/to/ego-pi-v2.2.0.tgz"
```
Pass the archive through the `npm:` source: a bare `.tgz` path installs without
loading any Skill. Use `/skill:ego-browser`. Remove it with
-`pi remove npm:@citrolabs/ego-pi`.
+`pi remove npm:@ego-lite/pi-plugin`.
The package declares the `pi-package` keyword, which makes a published package
eligible for the [Pi package gallery](https://pi.dev/packages), and `pi.image`
diff --git a/plugins/ego/tests/cross-host-plugin.test.mjs b/plugins/ego/tests/cross-host-plugin.test.mjs
index 821490e..4a470b0 100644
--- a/plugins/ego/tests/cross-host-plugin.test.mjs
+++ b/plugins/ego/tests/cross-host-plugin.test.mjs
@@ -443,9 +443,9 @@ test("plugin README documents every host as a pure-Skill install", () => {
assert.match(readme, /\.codebuddy-plugin\/plugin\.json/);
assert.match(readme, /\.qoder-plugin\/plugin\.json/);
assert.match(readme, /opencode plugin \/absolute\/path/);
- assert.match(readme, /opencode plugin add @citrolabs\/ego-opencode/);
+ assert.match(readme, /opencode plugin add @ego-lite\/opencode-plugin/);
assert.match(readme, /dsh plugin --profile web add \/absolute\/path/);
- assert.match(readme, /pi install npm:@citrolabs\/ego-pi/);
+ assert.match(readme, /pi install npm:@ego-lite\/pi-plugin/);
assert.match(
readme,
new RegExp(
diff --git a/plugins/ego/tests/plugin-packaging.test.mjs b/plugins/ego/tests/plugin-packaging.test.mjs
index 7252f7a..5826f3a 100644
--- a/plugins/ego/tests/plugin-packaging.test.mjs
+++ b/plugins/ego/tests/plugin-packaging.test.mjs
@@ -53,6 +53,11 @@ const npmKeywords = {
"deepseek-harness": "deepseek-harness",
pi: "pi-package",
};
+const npmNames = {
+ opencode: "@ego-lite/opencode-plugin",
+ "deepseek-harness": "@ego-lite/dsh-plugin",
+ pi: "@ego-lite/pi-plugin",
+};
function write(path, value) {
mkdirSync(dirname(path), { recursive: true });
@@ -250,7 +255,7 @@ function assertArtifacts(root, output, name, version, skillName) {
const pkg = JSON.parse(
readFileSync(join(plugin, "package.json"), "utf8"),
);
- assert.equal(pkg.name, `${sourcePackage.name}-${id}`);
+ assert.equal(pkg.name, npmNames[id]);
assert.equal(pkg.version, version);
assert.equal(
pkg.scripts,
@@ -355,7 +360,7 @@ function assertArtifacts(root, output, name, version, skillName) {
import assert from 'node:assert/strict';
import { existsSync } from 'node:fs';
import { join } from 'node:path';
- import plugin from '@citrolabs/ego-opencode/server';
+ import plugin from '@ego-lite/opencode-plugin/server';
const config = {};
await (await plugin.server()).config(config);
assert.ok(existsSync(join(config.skills.paths[0], 'ego-browser', 'SKILL.md')));
diff --git a/plugins/scripts/package-plugins.mjs b/plugins/scripts/package-plugins.mjs
index 41ed291..706a7a8 100755
--- a/plugins/scripts/package-plugins.mjs
+++ b/plugins/scripts/package-plugins.mjs
@@ -58,6 +58,7 @@ const TARGETS = [
title: "OpenCode",
files: ["index.js"],
npm: true,
+ packageName: "@ego-lite/opencode-plugin",
keywords: ["opencode"],
exports: { ".": "./index.js", "./server": "./index.js" },
},
@@ -66,6 +67,7 @@ const TARGETS = [
title: "DeepSeek Harness",
files: ["cordis.patch.yml", "dsh/src/index.js"],
npm: true,
+ packageName: "@ego-lite/dsh-plugin",
keywords: ["deepseek-harness"],
exports: {
"./dsh": "./dsh/src/index.js",
@@ -80,6 +82,7 @@ const TARGETS = [
title: "Pi",
files: [],
npm: true,
+ packageName: "@ego-lite/pi-plugin",
keywords: ["pi-package"],
// The gallery image comes from the release tag, so a published version
// keeps its preview when the default branch moves the file.
@@ -385,7 +388,7 @@ async function packagePlugin(repositoryRoot, name, outputRoot) {
if (target.npm) {
const pkg = {
...sourcePackage,
- name: `${sourcePackage.name}-${target.id}`,
+ name: target.packageName,
files: ["LICENSE", "README.md", "skills", ...target.files],
keywords: [...target.keywords, ...sourcePackage.keywords],
exports: target.exports,