{"_id":"@agentscopehq/agent-kit-sdk","_rev":"4-51b419ffa55049852cf241e3688e222d","name":"@agentscopehq/agent-kit-sdk","dist-tags":{"alpha":"0.1.0-alpha.1","latest":"0.1.0-alpha.2"},"versions":{"0.1.0-alpha.0":{"name":"@agentscopehq/agent-kit-sdk","version":"0.1.0-alpha.0","keywords":["solana","agent","observability","opentelemetry","solana-agent-kit"],"license":"MIT","_id":"@agentscopehq/agent-kit-sdk@0.1.0-alpha.0","maintainers":[{"name":"kapitoshko","email":"dereniukpi@gmail.com"}],"homepage":"https://github.com/PavloDereniuk/agentscope#readme","bugs":{"url":"https://github.com/PavloDereniuk/agentscope/issues"},"dist":{"shasum":"204f3836335beb0e625a5590921f566d6b11cb56","tarball":"https://registry.npmjs.org/@agentscopehq/agent-kit-sdk/-/agent-kit-sdk-0.1.0-alpha.0.tgz","fileCount":14,"integrity":"sha512-bUbUrPb6Cg4E5Vt9muRAvUvYbcdf1IyH25E+SC4XuEbrqB8V2MtkPqXOEbr+1zUwKzs/JMpWIOUKWB5lYPhNgA==","signatures":[{"sig":"MEUCIDzxpxgy6Ykoo+hhJkZxmHiXc4TWJcC0eL7A5AzttG5fAiEA8OqFyqbHwLbKx1Ek9Zo6VZ0fZgcO3au9tnpPrkWjQCw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14943},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"e3534856efea76eed765b32e1c4804dfd12c5d0b","scripts":{"lint":"biome check .","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist .turbo","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest watch"},"_npmUser":{"name":"kapitoshko","email":"dereniukpi@gmail.com"},"repository":{"url":"git+https://github.com/PavloDereniuk/agentscope.git","type":"git","directory":"packages/agent-kit-sdk"},"_npmVersion":"11.6.1","description":"AgentScope observability wrapper for Solana Agent Kit — hooks every tool call into OpenTelemetry spans the AgentScope API can ingest.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"@opentelemetry/api":"^1.9.1","@opentelemetry/sdk-node":"^0.214.0","@opentelemetry/resources":"^2.6.1","@opentelemetry/exporter-trace-otlp-http":"^0.214.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"solana-agent-kit":"*"},"peerDependenciesMeta":{"solana-agent-kit":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/agent-kit-sdk_0.1.0-alpha.0_1776945544075_0.7540120771986398","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.1":{"name":"@agentscopehq/agent-kit-sdk","version":"0.1.0-alpha.1","keywords":["solana","agent","observability","opentelemetry","solana-agent-kit"],"license":"MIT","_id":"@agentscopehq/agent-kit-sdk@0.1.0-alpha.1","maintainers":[{"name":"kapitoshko","email":"dereniukpi@gmail.com"}],"homepage":"https://agentscope.dev","dist":{"shasum":"235f3cd18fb739e0f0618c5d400ffbaee7841d1c","tarball":"https://registry.npmjs.org/@agentscopehq/agent-kit-sdk/-/agent-kit-sdk-0.1.0-alpha.1.tgz","fileCount":14,"integrity":"sha512-OU0IqlOV0ZD8CBq6Dw/4b3O6jXiVryKjNHUQ42anjTwT+wSkIU02o5VaguaYjYxFvFe8Nx8XG4tdzols9Plbvg==","signatures":[{"sig":"MEUCIBtyuRZyvmh3gWz+0zmry87xraguyOBTfYSb4yESEk1BAiEAk12xbfJGtukPixvoxD+Yn3NDWUJeVb+j1C0WukBVHFk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14613},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"ea1d522c4bcd3178dfb3fd185bf4ed4907bb243b","scripts":{"lint":"biome check .","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist .turbo","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest watch"},"_npmUser":{"name":"kapitoshko","email":"dereniukpi@gmail.com"},"_npmVersion":"11.6.1","description":"AgentScope observability wrapper for Solana Agent Kit — hooks every tool call into OpenTelemetry spans the AgentScope API can ingest.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"@opentelemetry/api":"^1.9.1","@opentelemetry/sdk-node":"^0.214.0","@opentelemetry/resources":"^2.6.1","@opentelemetry/exporter-trace-otlp-http":"^0.214.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"solana-agent-kit":"*"},"peerDependenciesMeta":{"solana-agent-kit":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/agent-kit-sdk_0.1.0-alpha.1_1777135092278_0.9923185706669579","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.2":{"name":"@agentscopehq/agent-kit-sdk","version":"0.1.0-alpha.2","description":"AgentScope observability wrapper for Solana Agent Kit — hooks every tool call into OpenTelemetry spans the AgentScope API can ingest.","license":"MIT","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"publishConfig":{"access":"public"},"homepage":"https://agentscopehq.dev","repository":{"type":"git","url":"git+https://github.com/PavloDereniuk/AgentScope.git","directory":"packages/agent-kit-sdk"},"bugs":{"url":"https://github.com/PavloDereniuk/AgentScope/issues"},"keywords":["solana","agent","observability","opentelemetry","solana-agent-kit"],"peerDependencies":{"solana-agent-kit":"*"},"peerDependenciesMeta":{"solana-agent-kit":{"optional":true}},"dependencies":{"@opentelemetry/api":"^1.9.1","@opentelemetry/exporter-trace-otlp-http":"^0.214.0","@opentelemetry/resources":"^2.6.1","@opentelemetry/sdk-node":"^0.214.0"},"scripts":{"build":"tsc -p tsconfig.build.json","lint":"biome check .","typecheck":"tsc -p tsconfig.json --noEmit","test":"vitest run","test:watch":"vitest watch","clean":"rm -rf dist .turbo"},"_id":"@agentscopehq/agent-kit-sdk@0.1.0-alpha.2","_integrity":"sha512-fxLvz/mUT/0/Ow0zM9mXo2rr8m8b3HnttW0cUIAoOPksS9rb6xxcR8kOhiebyw2jDC4j1SF3WkI1ki/vV6C7Ww==","_resolved":"C:\\Users\\Pasha\\AppData\\Local\\Temp\\fc219cb7578c32e9b58146df9c4517a2\\agentscopehq-agent-kit-sdk-0.1.0-alpha.2.tgz","_from":"file:agentscopehq-agent-kit-sdk-0.1.0-alpha.2.tgz","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-fxLvz/mUT/0/Ow0zM9mXo2rr8m8b3HnttW0cUIAoOPksS9rb6xxcR8kOhiebyw2jDC4j1SF3WkI1ki/vV6C7Ww==","shasum":"17bb4d8775c38b490714128074a288d974728319","tarball":"https://registry.npmjs.org/@agentscopehq/agent-kit-sdk/-/agent-kit-sdk-0.1.0-alpha.2.tgz","fileCount":15,"unpackedSize":15987,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEo+6QirO8Uma/hhYXS4YF1YJdIt5ySO1c57r/0PqP4AAiEAwMV2wM1TGXJmDve0TlXIcNZrPyoXoV3eKYpUpW4MhGA="}]},"_npmUser":{"name":"kapitoshko","email":"dereniukpi@gmail.com"},"directories":{},"maintainers":[{"name":"kapitoshko","email":"dereniukpi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agent-kit-sdk_0.1.0-alpha.2_1778178772231_0.3360990320958177"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-23T11:59:03.975Z","modified":"2026-05-07T18:32:52.917Z","0.1.0-alpha.0":"2026-04-23T11:59:04.219Z","0.1.0-alpha.1":"2026-04-25T16:38:12.421Z","0.1.0-alpha.2":"2026-05-07T18:32:52.395Z"},"license":"MIT","homepage":"https://agentscopehq.dev","keywords":["solana","agent","observability","opentelemetry","solana-agent-kit"],"description":"AgentScope observability wrapper for Solana Agent Kit — hooks every tool call into OpenTelemetry spans the AgentScope API can ingest.","maintainers":[{"name":"kapitoshko","email":"dereniukpi@gmail.com"}],"readme":"# @agentscopehq/agent-kit-sdk\n\nAgentScope observability wrapper for [Solana Agent Kit](https://github.com/sendaifun/solana-agent-kit). Hooks every tool call into OpenTelemetry spans the AgentScope API ingests in real time.\n\n> **Alpha:** the API surface may shift before `1.0`. Pin the exact version in production.\n\n## Install\n\n```bash\npnpm add @agentscopehq/agent-kit-sdk@alpha\n# or\nnpm install @agentscopehq/agent-kit-sdk@alpha\n```\n\nRequires Node 20+. Works with any SolanaAgentKit instance; `solana-agent-kit` is an optional peer.\n\n## Usage\n\n```ts\nimport { initAgentScope, traced } from '@agentscopehq/agent-kit-sdk';\n\ninitAgentScope({\n  apiUrl: process.env.AGENTSCOPE_API_URL,        // https://api.agentscopehq.dev\n  agentToken: process.env.AGENTSCOPE_AGENT_TOKEN, // from dashboard Settings\n});\n\n// Wrap any async action:\nconst sig = await traced('swap', () => kit.trade(mint, amount, 'buy'), {\n  'solana.mint': mint,\n  'trade.amount_sol': amount,\n});\n```\n\nGet `AGENTSCOPE_AGENT_TOKEN` from the **Settings → Ingest Token** panel of your agent in the AgentScope dashboard.\n\n## Enriching spans post hoc\n\nRe-export of `trace` from `@opentelemetry/api` lets you attach on-chain signatures once the tx confirms — no extra dep needed:\n\n```ts\nimport { trace } from '@agentscopehq/agent-kit-sdk';\n\nconst sig = await traced('swap', async () => {\n  const result = await kit.trade(mint, amount, 'buy');\n  trace.getActiveSpan()?.setAttribute('solana.signature', result.signature);\n  return result;\n});\n```\n\n## Links\n\n- **Dashboard / docs:** https://agentscopehq.dev\n\n## License\n\nMIT\n","readmeFilename":"README.md","repository":{"type":"git","url":"git+https://github.com/PavloDereniuk/AgentScope.git","directory":"packages/agent-kit-sdk"},"bugs":{"url":"https://github.com/PavloDereniuk/AgentScope/issues"}}