{"_id":"@allbaseai/allbase","name":"@allbaseai/allbase","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@allbaseai/allbase","version":"0.2.0","type":"module","description":"OpenClaw plugin to map OpenClaw agents to Allbase agent/workspace profiles.","license":"MIT","publishConfig":{"access":"public"},"openclaw":{"extensions":["./index.ts"]},"dependencies":{"@sinclair/typebox":"^0.34.41"},"_id":"@allbaseai/allbase@0.2.0","gitHead":"e03352f5e533193d39a07b9afdd186248fb31c6a","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-Qcd2Qek7/C3QcZGqInOdV+UkxOleez6abJskS+jc03mhnBsvfLxQZ++J+B5k1UwYbeKSOrAQm94z1btyjZH42w==","shasum":"4b6c1abf8791ee8ee8e32a4cff720d93fd5cc3cb","tarball":"https://registry.npmjs.org/@allbaseai/allbase/-/allbase-0.2.0.tgz","fileCount":5,"unpackedSize":21990,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIH83hIsQQiytaukWZIqWlPVnnApaAJkfSgP6HOrdswHxAiEAsdCsnegTzNwkmYstxRfaeR/FcqFK6nnBa5Iw+0MZsu0="}]},"_npmUser":{"name":"convalytics","email":"dev@allbase.ai"},"directories":{},"maintainers":[{"name":"convalytics","email":"dev@allbase.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/allbase_0.2.0_1772908010177_0.8365477691200853"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-07T18:26:50.027Z","0.2.0":"2026-03-07T18:26:50.322Z","modified":"2026-03-07T18:26:50.565Z"},"maintainers":[{"name":"convalytics","email":"dev@allbase.ai"}],"description":"OpenClaw plugin to map OpenClaw agents to Allbase agent/workspace profiles.","license":"MIT","readme":"# OpenClaw Allbase Plugin\n\nConnect OpenClaw agents to Allbase profiles with **OAuth (recommended)** and env/api-key fallback.\n\n## What it supports\n\n- Map each OpenClaw agent to a different Allbase profile\n- OAuth-first auth (access token or refresh-token flow)\n- Env/api-key fallback for server-side automation\n- Tools exposed in agent runtime:\n  - `allbase` with actions:\n    - `status`\n    - `save_memory`\n    - `save_knowledge`\n    - `search_memories`\n    - `upload_document`\n    - `search_documents`\n\n## Install (npm)\n\n```bash\nopenclaw plugins install @allbaseai/openclaw-allbase\n```\n\n## Install (local path)\n\n```bash\ncd /home/jason/Documents/botscripts/skills/openclaw-allbase-plugin\nnpm install\nopenclaw plugins install -l /home/jason/Documents/botscripts/skills/openclaw-allbase-plugin\n```\n\nThen restart gateway.\n\n## Config path\n\nUse `plugins.entries.openclaw-allbase.config`.\n\n## OAuth config (recommended)\n\n```json5\n{\n  baseUrl: \"https://allbase.ai\",\n  defaultProfile: \"team\",\n  profiles: {\n    team: {\n      // Option A: direct access token\n      oauthAccessToken: \"eyJ...\",\n\n      // Option B: refresh flow\n      // oauthRefreshToken: \"...\",\n      // oauthClientId: \"oac-...\",\n      // oauthTokenEndpoint: \"https://allbase.ai/oauth/token\"\n    }\n  },\n  mapByOpenclawAgent: {\n    \"alan-allbase\": \"team\"\n  }\n}\n```\n\nWith OAuth, users can authorize/select their Allbase agent upstream and avoid static env wiring.\n\n## Env/API-key fallback (secondary)\n\nIf OAuth is not configured, the plugin can use profile credentials or env vars:\n\n- `ALLBASE_WORKSPACE_ID`\n- `ALLBASE_AGENT_ID`\n- `ALLBASE_AGENT_API_KEY` (or `ALLBASE_API_KEY`)\n- optional: `ALLBASE_BASE_URL`, `ALLBASE_TOKEN_PATH`\n\nProfile-based api-key config still works:\n\n```json5\n{\n  baseUrl: \"https://allbase.ai\",\n  tokenPath: \"/token\",\n  defaultProfile: \"team\",\n  profiles: {\n    team: {\n      workspaceId: \"ws-TEAM\",\n      agentId: \"team-agent\",\n      apiKey: \"abk_...\"\n    }\n  }\n}\n```\n\n## Usage examples\n\n- Check mapping/health:\n  - tool call: `allbase` with `action: \"status\"`\n- Save memory:\n  - `action: \"save_memory\"`, `content`, optional `category`, `tags`\n- Search memory:\n  - `action: \"search_memories\"`, `query`\n\nOptional `profile` parameter overrides automatic mapping for one call.\n\n## Notes\n\n- Plugin id is `openclaw-allbase` (use this id in `plugins.entries.*`).\n- Keep tokens/API keys private.\n- `upload_document` requires local file path available to the gateway host.\n","readmeFilename":"README.md","_rev":"1-aa683bb514a1171269f4ce64e162e352"}