{"_id":"@bluenexus/bluenexus-openclaw-plugin","_rev":"4-3d33dfe2348adbb1462f161bda782e06","name":"@bluenexus/bluenexus-openclaw-plugin","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"@bluenexus/bluenexus-openclaw-plugin","version":"0.1.0","keywords":["openclaw","openclaw-plugin","bluenexus","mcp","model-context-protocol","ai-agent"],"license":"MIT","_id":"@bluenexus/bluenexus-openclaw-plugin@0.1.0","maintainers":[{"name":"bluenexus","email":"accounts@bluenexus.ai"}],"homepage":"https://github.com/bluenexus-ai/openclaw#readme","bugs":{"url":"https://github.com/bluenexus-ai/openclaw/issues"},"dist":{"shasum":"9adb00ef401ce942c3f8f11314061164c67f27f2","tarball":"https://registry.npmjs.org/@bluenexus/bluenexus-openclaw-plugin/-/bluenexus-openclaw-plugin-0.1.0.tgz","fileCount":44,"integrity":"sha512-BW+2OE2aMqODsUXz5jme5vKeb3QfujPudparEk1WPZDUdhvZUc/noIUaWpRuZeSnyOXI1MloUdSGIAhlsk7V9Q==","signatures":[{"sig":"MEYCIQC1OIhkliK5za6GFf0BxImemubhN7Ir+c9BXlJ7BfjSiwIhAPBv3eeaUYl6N2gjlT8PlMZtsfBwSto1iGLHHsciF+cW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101537},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"c5d097ca586451bc0d63590e38fb9cef53695925","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc -p tsconfig.build.json","clean:dist":"rm -rf dist","test:watch":"vitest","check:types":"tsc --noEmit","clean:node_modules":"rm -rf node_modules"},"_npmUser":{"name":"bluenexus","email":"accounts@bluenexus.ai"},"openclaw":{"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/bluenexus-ai/openclaw.git","type":"git"},"_npmVersion":"11.6.2","description":"OpenClaw plugin for BlueNexus Universal MCP - connect OpenClaw agents to BlueNexus services","directories":{},"_nodeVersion":"24.11.1","dependencies":{"zod":"^3.23.8","undici":"^7.3.0","@sinclair/typebox":"^0.34.33","zod-to-json-schema":"^3.25.1","@modelcontextprotocol/sdk":"^1.12.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.22.0+sha512.bf049efe995b28f527fd2b41ae0474ce29186f7edcb3bf545087bd61fbbebb2bf75362d1307fda09c2d288e1e499787ac12d4fcb617a974718a6051f2eee741c","devDependencies":{"vitest":"^3.1.1","typescript":"^5.9.3","@types/node":"^22.19.7"},"_npmOperationalInternal":{"tmp":"tmp/bluenexus-openclaw-plugin_0.1.0_1772687831824_0.5320497032619775","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@bluenexus/bluenexus-openclaw-plugin","version":"0.1.1","keywords":["openclaw","openclaw-plugin","bluenexus","mcp","model-context-protocol","ai-agent"],"license":"MIT","_id":"@bluenexus/bluenexus-openclaw-plugin@0.1.1","maintainers":[{"name":"bluenexus","email":"accounts@bluenexus.ai"}],"homepage":"https://github.com/bluenexus-ai/openclaw#readme","bugs":{"url":"https://github.com/bluenexus-ai/openclaw/issues"},"dist":{"shasum":"e29fd81fc915e768a9cbf15bc22103e3afe54559","tarball":"https://registry.npmjs.org/@bluenexus/bluenexus-openclaw-plugin/-/bluenexus-openclaw-plugin-0.1.1.tgz","fileCount":44,"integrity":"sha512-nuW8Y12YJBfFh8N73dYzT83XkZF43hbNyowy1KfIU/9VM9Sdd8iGDrfEmknVHqV7k3Ogg2zfOnKfrCVhu7Yueg==","signatures":[{"sig":"MEYCIQCZi7MdLlIg2ydMT5kdrzKM/aEkWmvcr7fAXXQ82gTfRgIhAPSeFi+g4Iv3++tsI2TCxPtgJbjGttJYoDK11ge/NkpL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1900000},"main":"./dist/index.js","type":"module","_from":"file:bluenexus-bluenexus-openclaw-plugin-0.1.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc -p tsconfig.build.json && esbuild dist/index.js --bundle --format=esm --platform=node --target=node22 --outfile=dist/index.js --allow-overwrite","clean:dist":"rm -rf dist","test:watch":"vitest","check:types":"tsc --noEmit","clean:node_modules":"rm -rf node_modules"},"_npmUser":{"name":"bluenexus","email":"accounts@bluenexus.ai"},"openclaw":{"extensions":["./dist/index.js"]},"_resolved":"/private/var/folders/5q/lyhx97k16h70xcymdp_2qvvh0000gn/T/79ba7174cb3218e958b4d7e84681b611/bluenexus-bluenexus-openclaw-plugin-0.1.1.tgz","_integrity":"sha512-nuW8Y12YJBfFh8N73dYzT83XkZF43hbNyowy1KfIU/9VM9Sdd8iGDrfEmknVHqV7k3Ogg2zfOnKfrCVhu7Yueg==","repository":{"url":"git+https://github.com/bluenexus-ai/openclaw.git","type":"git"},"_npmVersion":"11.6.2","description":"OpenClaw plugin for BlueNexus Universal MCP - connect OpenClaw agents to BlueNexus services","directories":{},"_nodeVersion":"24.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.23.8","undici":"^7.3.0","vitest":"^3.1.1","esbuild":"^0.25.0","typescript":"^5.9.3","@types/node":"^22.19.7","@sinclair/typebox":"^0.34.33","zod-to-json-schema":"^3.25.1","@modelcontextprotocol/sdk":"^1.12.0"},"_npmOperationalInternal":{"tmp":"tmp/bluenexus-openclaw-plugin_0.1.1_1773039564885_0.62899668375368","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@bluenexus/bluenexus-openclaw-plugin","version":"0.1.2","keywords":["openclaw","openclaw-plugin","bluenexus","mcp","model-context-protocol","ai-agent"],"license":"MIT","_id":"@bluenexus/bluenexus-openclaw-plugin@0.1.2","maintainers":[{"name":"bluenexus","email":"accounts@bluenexus.ai"}],"homepage":"https://github.com/bluenexus-ai/openclaw#readme","bugs":{"url":"https://github.com/bluenexus-ai/openclaw/issues"},"dist":{"shasum":"b0e872e173cded1bb70236aedf9b75961437cc4e","tarball":"https://registry.npmjs.org/@bluenexus/bluenexus-openclaw-plugin/-/bluenexus-openclaw-plugin-0.1.2.tgz","fileCount":5,"integrity":"sha512-239dhrZc6bc1VXL/H1Q4ncEdO0w777HjkOm0BO6NgO+yblz/+rKW2fZQrM61qijmj2Ci7UqdvBwW5Hyflm91SA==","signatures":[{"sig":"MEYCIQC2eephquu9CeYmc9kV9AtpPxL6wpifWSbrox+773qxegIhAKgzU+WoZeeEDB47+DoXUtAI3hJYkaSwN/lIkUIScHyJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1810992},"main":"./dist/index.js","type":"module","exports":{".":{"default":"./dist/index.js"}},"gitHead":"1742cbbcb0681359c01c85740050fb0fc6dea6f4","scripts":{"dev":"vitest","fix":"pnpm exec biome check --fix","test":"vitest run","build":"node esbuild.config.mjs","check":"pnpm run check:biome && pnpm run check:types","clean:dist":"rm -rf dist","check:biome":"pnpm exec biome check --error-on-warnings","check:types":"tsc --noEmit","clean:node_modules":"rm -rf node_modules"},"_npmUser":{"name":"bluenexus","email":"accounts@bluenexus.ai"},"openclaw":{"extensions":["./dist/index.js"]},"repository":{"url":"git+https://github.com/bluenexus-ai/openclaw.git","type":"git"},"_npmVersion":"10.9.4","description":"OpenClaw plugin for BlueNexus Universal MCP - connect OpenClaw agents to BlueNexus services","directories":{},"_nodeVersion":"22.22.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.22.0+sha512.bf049efe995b28f527fd2b41ae0474ce29186f7edcb3bf545087bd61fbbebb2bf75362d1307fda09c2d288e1e499787ac12d4fcb617a974718a6051f2eee741c","devDependencies":{"zod":"^3.23.8","undici":"^7.3.0","vitest":"^3.1.1","esbuild":"^0.25.0","typescript":"^5.9.3","@types/node":"^22.19.7","@biomejs/biome":"^1.9.4","@sinclair/typebox":"^0.34.33","zod-to-json-schema":"^3.25.1","@modelcontextprotocol/sdk":"^1.12.0"},"_npmOperationalInternal":{"tmp":"tmp/bluenexus-openclaw-plugin_0.1.2_1774938439686_0.5282384471494896","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@bluenexus/bluenexus-openclaw-plugin","version":"1.0.0","license":"MIT","description":"OpenClaw plugin for BlueNexus Universal MCP - connect OpenClaw agents to BlueNexus services","type":"module","main":"./dist/index.js","exports":{".":{"default":"./dist/index.js"}},"scripts":{"clean:node_modules":"rm -rf node_modules","clean:dist":"rm -rf dist","dev":"vitest","build":"node esbuild.config.mjs","check":"pnpm run check:biome && pnpm run check:types","check:biome":"pnpm exec biome check --error-on-warnings","check:types":"tsc --noEmit","fix":"pnpm exec biome check --fix","test":"vitest run"},"devDependencies":{"@biomejs/biome":"^2.4.10","@modelcontextprotocol/sdk":"^1.12.0","@sinclair/typebox":"^0.34.33","@types/node":"^22.19.7","esbuild":"^0.28.0","typescript":"^6.0.3","undici":"^7.3.0","vitest":"^4.1.5","zod":"^4.3.6","zod-to-json-schema":"^3.25.1"},"keywords":["openclaw","openclaw-plugin","bluenexus","mcp","model-context-protocol","ai-agent"],"repository":{"type":"git","url":"git+https://github.com/bluenexus-ai/openclaw.git"},"publishConfig":{"access":"public"},"homepage":"https://github.com/bluenexus-ai/openclaw#readme","bugs":{"url":"https://github.com/bluenexus-ai/openclaw/issues"},"openclaw":{"extensions":["./dist/index.js"]},"packageManager":"pnpm@10.22.0+sha512.bf049efe995b28f527fd2b41ae0474ce29186f7edcb3bf545087bd61fbbebb2bf75362d1307fda09c2d288e1e499787ac12d4fcb617a974718a6051f2eee741c","_id":"@bluenexus/bluenexus-openclaw-plugin@1.0.0","gitHead":"079fb7d9efb7a9d42be5957b2d935842ddc6e7d0","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-vEA/S5XmVmTAiB3Tx81x/pO9C2mU9L5jTZrEybeumoQYj3g4i0ayo/Epd0FYv3vWoGOVyOicrS+aTErMg7UPGQ==","shasum":"0ea7352b7c9160ff7de32afed9b768f5b23fe3ff","tarball":"https://registry.npmjs.org/@bluenexus/bluenexus-openclaw-plugin/-/bluenexus-openclaw-plugin-1.0.0.tgz","fileCount":5,"unpackedSize":2222109,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDcqnUriCunHLSlrP2gnD5A1Z0GT2mRdxUc94pJ2s/eSQIgDFJ1WdJNaPIhvtMoJBo0RjpFAsecbGlDs+XoXraLNNI="}]},"_npmUser":{"name":"bluenexus","email":"accounts@bluenexus.ai"},"directories":{},"maintainers":[{"name":"bluenexus","email":"accounts@bluenexus.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bluenexus-openclaw-plugin_1.0.0_1777014254061_0.040559116495513026"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-05T05:17:11.741Z","modified":"2026-04-24T07:04:14.389Z","0.1.0":"2026-03-05T05:17:12.024Z","0.1.1":"2026-03-09T06:59:25.071Z","0.1.2":"2026-03-31T06:27:19.937Z","1.0.0":"2026-04-24T07:04:14.297Z"},"bugs":{"url":"https://github.com/bluenexus-ai/openclaw/issues"},"license":"MIT","homepage":"https://github.com/bluenexus-ai/openclaw#readme","keywords":["openclaw","openclaw-plugin","bluenexus","mcp","model-context-protocol","ai-agent"],"repository":{"type":"git","url":"git+https://github.com/bluenexus-ai/openclaw.git"},"description":"OpenClaw plugin for BlueNexus Universal MCP - connect OpenClaw agents to BlueNexus services","maintainers":[{"name":"bluenexus","email":"accounts@bluenexus.ai"}],"readme":"# @bluenexus/bluenexus-openclaw-plugin\n\nOpenClaw plugin for [BlueNexus](https://bluenexus.ai) Universal MCP. Connect your OpenClaw agents to GitHub, Notion, Slack, Google, and more through a single plugin.\n\n## Getting Started\n\n```bash\n# 1. Install OpenClaw and start the daemon\nopenclaw onboard --install-daemon\n\n# 2. Install the BlueNexus plugin\nopenclaw plugins install @bluenexus/bluenexus-openclaw-plugin\n\n# 3. Allow the plugin tools\nopenclaw config set tools.alsoAllow '[\"bluenexus-openclaw-plugin\"]'\n\n# 4. Restart the gateway to load the plugin\nopenclaw gateway restart\n\n# 5. Authenticate with your BlueNexus account\nopenclaw models auth login --provider bluenexus-openclaw-plugin\n```\n\nStep 5 opens a browser window for OAuth sign-in. Once complete, the plugin is ready to use.\n\n## Available Tools\n\n### `list-connections`\n\nList all connected services and their status.\n\n```\nWhich services are connected to my BlueNexus account?\n```\n\n### `read-connections`\n\nDelegate a read-only task to the BlueNexus AI agent across any of the user's\nconnected services.\n\n```\nWhat's on my Google Calendar today?\nSearch for files about the Q4 project in my Google Drive\nShow my recent meeting notes from Fireflies\n```\n\n### `write-connections`\n\nDelegate a task that can read, create, update, or delete data in the user's\nconnected services. Only available to sessions with the\n`universal-mcp-read-write` OAuth scope (the plugin requests this scope by\ndefault).\n\n```\nCreate a GitHub issue about the login bug\nSend a Slack message to #engineering with today's standup notes\nSchedule a meeting with the team for next Tuesday at 2pm\n```\n\n### `search-knowledge-base`\n\nSearch, browse, or read pages in the user's compiled knowledge base wiki.\nActions: `search`, `get_page`, `get_index`.\n\n```\nWhat do we know about the Q4 launch plan?\nShow the knowledge base table of contents.\n```\n\n### `add-to-knowledge-base`\n\nAdd documents, artifacts, or conversation context to the user's knowledge\nbase. A compiler LLM will organize and cross-link the content.\n\n```\nSave this report to my knowledge base as \"Q2 Marketing Strategy\".\n```\n\n## Configuration\n\n| Option | Default | Description |\n|--------|---------|-------------|\n| `serverUrl` | `https://api.bluenexus.ai` | BlueNexus API server URL |\n| `clientId` | *(empty)* | OAuth client ID (optional, uses DCR if empty) |\n| `redirectPort` | `51122` | Local port for OAuth callback |\n\nFor local development, set the `BLUENEXUS_SERVER_URL` environment variable to override the default server URL.\n\n## Troubleshooting\n\n### Plugin not loading\n\n1. Verify installation: `openclaw plugins list`\n2. Restart gateway: `openclaw gateway restart`\n3. Check gateway logs for errors\n\n### Authentication issues\n\n1. Re-authenticate: `openclaw models auth login --provider bluenexus-openclaw-plugin`\n2. Check token in `~/.openclaw/agents/main/agent/auth-profiles.json`\n\n---\n\n## Development\n\n### Prerequisites\n\n- Node.js 18+\n- pnpm\n\n### Setup\n\n```bash\npnpm install\npnpm run build\n```\n\n### Watch mode\n\n```bash\npnpm run dev\n```\n\n### Testing\n\n```bash\npnpm test\n```\n\n### Local plugin development\n\n```bash\n# Link mode (changes require only gateway restart)\nopenclaw plugins install --link /path/to/openclaw\nopenclaw gateway restart\n```\n\n### Project Structure\n\n```\nsrc/\n├── index.ts                  # Plugin entry point\n├── config.ts                 # Configuration parsing (Zod)\n├── constants.ts              # Shared constants\n├── credentials.ts            # Credential storage and refresh\n├── mcp-client.ts             # MCP SDK client wrapper\n├── oauth.ts                  # OAuth 2.1 PKCE implementation\n├── openclaw-types.ts         # OpenClaw plugin API types\n├── types.ts                  # Plugin domain types\n├── __tests__/                # Vitest unit tests\n└── tools/\n    ├── _shared.ts                 # Shared auth + MCP client helper\n    ├── list-connections/          # list-connections tool\n    ├── read-connections/          # read-connections tool\n    ├── write-connections/         # write-connections tool\n    ├── search-knowledge-base/     # search-knowledge-base tool\n    └── add-to-knowledge-base/     # add-to-knowledge-base tool\n```\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}