{"_id":"@agentinsight-sdk/otel","_rev":"4-4a42a149999d8cb4b156155a9800a7f5","name":"@agentinsight-sdk/otel","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@agentinsight-sdk/otel","version":"0.1.0","keywords":["agentinsight","observability","opentelemetry","otel","export","ai","llm"],"author":{"name":"AgentInsight"},"license":"MIT","_id":"@agentinsight-sdk/otel@0.1.0","maintainers":[{"name":"agentinsightcn","email":"agentinsightcn@gmail.com"}],"homepage":"https://agent.goldebridge.com","bugs":{"url":"https://github.com/AgentInsightSDK/agentinsight-js/issues"},"dist":{"shasum":"b0e1a057a0ae554b845a5ac6eba556fa6f23159a","tarball":"https://registry.npmjs.org/@agentinsight-sdk/otel/-/otel-0.1.0.tgz","fileCount":9,"integrity":"sha512-BUzVlE8+/bdECOEoWAyOlqIEkVHFx2s8cW7k2a94YGH7aDRZjsL0+Yn08cOr485s+Lpq/N5oOhAlenjDLV6B1g==","signatures":[{"sig":"MEYCIQDeCJmk+SU3xnzXinH7+qsPH7lK6zoAAa6BQmsZiOfefgIhAKVGfRFNI6ynQRk+3/I84QZlF/ndBdiOsi85/sTX0XCe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":147882},"main":"./dist/index.cjs","type":"module","_from":"file:agentinsight-sdk-otel-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\"","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\""},"_npmUser":{"name":"agentinsightcn","email":"agentinsightcn@gmail.com"},"_resolved":"C:\\Users\\Yingn\\AppData\\Local\\Temp\\82b4789aa0982f1ec95616716affbde0\\agentinsight-sdk-otel-0.1.0.tgz","_integrity":"sha512-BUzVlE8+/bdECOEoWAyOlqIEkVHFx2s8cW7k2a94YGH7aDRZjsL0+Yn08cOr485s+Lpq/N5oOhAlenjDLV6B1g==","repository":{"url":"git+https://github.com/agentinsight/agentinsight-js.git","type":"git","directory":"packages/otel"},"_npmVersion":"11.13.0","description":"AgentInsight OpenTelemetry export helpers","directories":{},"sideEffects":false,"_nodeVersion":"26.1.0","dependencies":{"@agentinsight-sdk/core":"^0.1.0"},"_hasShrinkwrap":false,"peerDependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/core":"^2.0.1","@opentelemetry/sdk-trace-base":"^2.0.1","@opentelemetry/exporter-trace-otlp-http":">=0.202.0 <1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/otel_0.1.0_1780407705356_0.14645190839483924","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@agentinsight-sdk/otel","version":"0.1.1","keywords":["agentinsight","observability","opentelemetry","otel","export","ai","llm"],"author":{"name":"AgentInsight"},"license":"MIT","_id":"@agentinsight-sdk/otel@0.1.1","maintainers":[{"name":"agentinsightcn","email":"agentinsightcn@gmail.com"}],"homepage":"https://agent.goldebridge.com","bugs":{"url":"https://github.com/AgentInsightSDK/agentinsight-js/issues"},"dist":{"shasum":"7a726b19e648cb6de7de9def813582cbf00c4413","tarball":"https://registry.npmjs.org/@agentinsight-sdk/otel/-/otel-0.1.1.tgz","fileCount":9,"integrity":"sha512-ZpqRqqNavsqUpOLi1bharTVBDZjKHMCkSJgOAYVmIYWF73v9TTiU7aE9CkiyPxya6MTKL0Anauq5beAL2qqW5w==","signatures":[{"sig":"MEQCIBolnhz0N6MrkXWzs2J1T9REF6D/SXaAI2Qv+0TioLB/AiBhHmMgH6f2vkOfMNt5BRLwa1lgwwCNflZQNo3Srx+rOA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":147955},"main":"./dist/index.cjs","type":"module","_from":"file:agentinsight-sdk-otel-0.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\"","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\""},"_npmUser":{"name":"agentinsightcn","email":"agentinsightcn@gmail.com"},"_resolved":"C:\\Users\\Yingn\\AppData\\Local\\Temp\\d3256f157aaf52bc365b7e5da1be932b\\agentinsight-sdk-otel-0.1.1.tgz","_integrity":"sha512-ZpqRqqNavsqUpOLi1bharTVBDZjKHMCkSJgOAYVmIYWF73v9TTiU7aE9CkiyPxya6MTKL0Anauq5beAL2qqW5w==","repository":{"url":"git+https://github.com/agentinsight/agentinsight-js.git","type":"git","directory":"packages/otel"},"_npmVersion":"11.13.0","description":"AgentInsight OpenTelemetry export helpers","directories":{},"sideEffects":false,"_nodeVersion":"26.1.0","dependencies":{"@agentinsight-sdk/core":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/core":"^2.0.1","@opentelemetry/sdk-trace-base":"^2.0.1","@opentelemetry/exporter-trace-otlp-http":">=0.202.0 <1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/otel_0.1.1_1780411538176_0.8203834511700232","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@agentinsight-sdk/otel","version":"0.1.2","keywords":["agentinsight","observability","opentelemetry","otel","export","ai","llm"],"author":{"name":"AgentInsight"},"license":"MIT","_id":"@agentinsight-sdk/otel@0.1.2","maintainers":[{"name":"agentinsightcn","email":"agentinsightcn@gmail.com"}],"homepage":"https://agent.goldebridge.com","bugs":{"url":"https://github.com/agentinsight/agentinsight-sdk-ts/issues"},"dist":{"shasum":"219ddd038daabb2d7f6c85a199040b3453ca0202","tarball":"https://registry.npmjs.org/@agentinsight-sdk/otel/-/otel-0.1.2.tgz","fileCount":9,"integrity":"sha512-JhhI5q797zYWR99CTTVcDlYIpNthTvpXVW8dVM1JDZvf/si4AU+uyB0TVJ2DmvA0SbGxoA3LK8xjbtBDjXVrYQ==","signatures":[{"sig":"MEUCIGXfGyV5wkbwiH6Jfvo0DkXVwChQXvs/YIDJIDkpJOL4AiEA2kPunqEJfp4LUS7RjlFTFLKBgRaGNuf769QgU9BzhEA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":144231},"main":"./dist/index.cjs","type":"module","_from":"file:agentinsight-sdk-otel-0.1.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\"","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\""},"_npmUser":{"name":"agentinsightcn","email":"agentinsightcn@gmail.com"},"_resolved":"C:\\Users\\Yingn\\AppData\\Local\\Temp\\591be24eeb0955e88e7d6ff55de151f4\\agentinsight-sdk-otel-0.1.2.tgz","_integrity":"sha512-JhhI5q797zYWR99CTTVcDlYIpNthTvpXVW8dVM1JDZvf/si4AU+uyB0TVJ2DmvA0SbGxoA3LK8xjbtBDjXVrYQ==","repository":{"url":"git+https://github.com/agentinsight/agentinsight-sdk-ts.git","type":"git","directory":"packages/otel"},"_npmVersion":"11.13.0","description":"AgentInsight OpenTelemetry export helpers","directories":{},"sideEffects":false,"_nodeVersion":"26.1.0","dependencies":{"@agentinsight-sdk/core":"^0.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/core":"^2.0.1","@opentelemetry/sdk-trace-base":"^2.0.1","@opentelemetry/exporter-trace-otlp-http":">=0.202.0 <1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/otel_0.1.2_1780412971530_0.7678403022591147","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@agentinsight-sdk/otel","version":"0.1.3","author":{"name":"AgentInsight"},"license":"MIT","keywords":["agentinsight","observability","opentelemetry","otel","export","ai","llm"],"homepage":"https://agentinsight.goldebridge.com/platform","bugs":{"url":"https://github.com/agentinsight/agentinsight-sdk-ts/issues"},"repository":{"type":"git","url":"git+https://github.com/agentinsight/agentinsight-sdk-ts.git","directory":"packages/otel"},"engines":{"node":">=20"},"description":"AgentInsight OpenTelemetry export helpers","type":"module","sideEffects":false,"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"tsup","test":"vitest run","test:watch":"vitest","format":"prettier --write \"src/**/*.ts\"","format:check":"prettier --check \"src/**/*.ts\"","clean":"rm -rf dist"},"publishConfig":{"access":"public"},"dependencies":{"@agentinsight-sdk/core":"workspace:^"},"peerDependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/core":"^2.0.1","@opentelemetry/exporter-trace-otlp-http":">=0.202.0 <1.0.0","@opentelemetry/sdk-trace-base":"^2.0.1"},"gitHead":"37fbb138900111474cc4d845e3efe47a8942366f","_id":"@agentinsight-sdk/otel@0.1.3","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-B8z/HVCrouBGpb/yyetrH9LHyBhTvf4a49gWn/4ITOjVUBder0Y5x5cr+wi1AfhII1G3djGcA3wl/lbAbR65fw==","shasum":"3922e12e4efb261bf327c5ae807c366017046323","tarball":"https://registry.npmjs.org/@agentinsight-sdk/otel/-/otel-0.1.3.tgz","fileCount":22,"unpackedSize":175718,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC4XhD+d4f0lkD9SyRHJrlRyBqlJThu+SyFIFe8iu2tMwIhAO6jZyuabSporTLunBct9bBw89WJmFvUyfVIQSWWJKF6"}]},"_npmUser":{"name":"agentinsightcn","email":"agentinsightcn@gmail.com"},"directories":{},"maintainers":[{"name":"agentinsightcn","email":"agentinsightcn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_0.1.3_1782100594092_0.1071995175179763"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-02T13:41:45.135Z","modified":"2026-06-22T03:56:34.357Z","0.1.0":"2026-06-02T13:41:45.489Z","0.1.1":"2026-06-02T14:45:38.314Z","0.1.2":"2026-06-02T15:09:31.677Z","0.1.3":"2026-06-22T03:56:34.229Z"},"bugs":{"url":"https://github.com/agentinsight/agentinsight-sdk-ts/issues"},"author":{"name":"AgentInsight"},"license":"MIT","homepage":"https://agentinsight.goldebridge.com/platform","keywords":["agentinsight","observability","opentelemetry","otel","export","ai","llm"],"repository":{"type":"git","url":"git+https://github.com/agentinsight/agentinsight-sdk-ts.git","directory":"packages/otel"},"description":"AgentInsight OpenTelemetry export helpers","maintainers":[{"name":"agentinsightcn","email":"agentinsightcn@gmail.com"}],"readme":"# @agentinsight-sdk/otel\n\n[![NPM](https://img.shields.io/npm/v/@agentinsight-sdk/otel.svg)](https://www.npmjs.com/package/@agentinsight-sdk/otel)\n\nAgentInsight OpenTelemetry 导出助手 / AgentInsight OpenTelemetry Export Helpers\n\n提供 `AgentInsightSpanProcessor`，支持将追踪数据导出到 AgentInsight 平台，包含数据掩码、过滤和媒体处理功能。\n\nProvides `AgentInsightSpanProcessor` to export traces to the AgentInsight platform, with masking, filtering, and media handling.\n\n> ⚠️ 仅支持 Node.js 20+ / Node.js 20+ only\n\n## 安装 / Installation\n\n```bash\nnpm install @agentinsight-sdk/otel\n```\n\n## 快速开始 / Quick Start\n\n```typescript\nimport { AgentInsightSpanProcessor } from \"@agentinsight-sdk/otel\";\nimport { NodeSDK } from \"@opentelemetry/sdk-node\";\n\nconst sdk = new NodeSDK({\n  spanProcessors: [\n    new AgentInsightSpanProcessor({\n      publicKey: \"pk-ai-...\",\n      secretKey: \"sk-ai-...\",\n      baseUrl: \"https://agent.goldebridge.com\",\n    }),\n  ],\n});\n\nsdk.start();\n```\n\n## 文档 / Documentation\n\n- [AgentInsight 平台 / Platform](https://agentinsight.goldebridge.com/platform)\n- [API 参考 / API Reference](https://agentinsight.goldebridge.com/docs)\n\n## 许可证 / License\n\n[MIT](../../LICENSE)\n","readmeFilename":"README.md"}