@dolphinclaw/sdk to your project. The package is published to the public npm registry and works with any Node.js-compatible package manager.
Install
Import
The package supports both CommonJSrequire and ESM/TypeScript import syntax.
TypeScript support
@dolphinclaw/sdk ships with a bundled index.d.ts declaration file. You do not need to install a separate @types/dolphinclaw__sdk package — type checking and editor autocomplete work as soon as you install the package.
Add to package.json
Make sure @dolphinclaw/sdk appears in the dependencies field of your project’s package.json, not devDependencies. The Dolphinclaw platform installs dependencies when it deploys your agent; packages listed only under devDependencies will not be available at runtime.
package.json
@dolphinclaw/sdk exports a single shared instance. Every require or import in your project resolves to the same object, so you can safely import the SDK in multiple files without creating duplicate instances.