{"_id":"@adk-sim/converters","_rev":"3-c671d4f0f99b2c5af29e5fd64303afa1","name":"@adk-sim/converters","dist-tags":{"latest":"0.1.22"},"versions":{"0.1.0":{"name":"@adk-sim/converters","version":"0.1.0","keywords":["adk","simulator","converters","protobuf"],"license":"Apache-2.0","_id":"@adk-sim/converters@0.1.0","maintainers":[{"name":"kevinaud","email":"kevinaud@gmail.com"}],"homepage":"https://github.com/kevinaud/adk-sim-plugin#readme","bugs":{"url":"https://github.com/kevinaud/adk-sim-plugin/issues"},"dist":{"shasum":"adb4e02a5c44553606149f13cce30afb489f0033","tarball":"https://registry.npmjs.org/@adk-sim/converters/-/converters-0.1.0.tgz","fileCount":6,"integrity":"sha512-u5DLgC1LgDJLKHcr5OjocyENsyUPvK2VuA+daSjYNHz5Tj2UQwobOOK4Vuaf4LVp0d3PZ4/qZsU3w2U9615MPQ==","signatures":[{"sig":"MEYCIQDI5UA4VJP3HKsQ8CpURFpLK5xUuA0WMisXI6ZC1kIuJgIhAOtYbdq8/5wr7Kt4+bzDH9iRqfm3wL6Agfm9P9GyTeKT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5595},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"28fcd053d5f88d8329ad2919d5e6337c4b2daed7","scripts":{"test":"vitest","build":"tsc","clean":"rm -rf dist"},"_npmUser":{"name":"kevinaud","email":"kevinaud@gmail.com"},"repository":{"url":"git+https://github.com/kevinaud/adk-sim-plugin.git","type":"git","directory":"packages/adk-converters-ts"},"_npmVersion":"9.2.0","description":"Conversion utilities between ADK types and Simulator proto types","directories":{},"_nodeVersion":"20.19.2","dependencies":{"@adk-sim/protos":"*"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"~5.8.0"},"peerDependencies":{"@bufbuild/protobuf":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/converters_0.1.0_1768247524672_0.05740165282651377","host":"s3://npm-registry-packages-npm-production"}},"0.1.21":{"name":"@adk-sim/converters","version":"0.1.21","keywords":["adk","simulator","converters","protobuf"],"license":"Apache-2.0","_id":"@adk-sim/converters@0.1.21","maintainers":[{"name":"kevinaud","email":"kevinaud@gmail.com"}],"homepage":"https://github.com/kevinaud/adk-sim-plugin#readme","bugs":{"url":"https://github.com/kevinaud/adk-sim-plugin/issues"},"dist":{"shasum":"3de8977e71f2392b6626360e3ff3f8d41af1c27f","tarball":"https://registry.npmjs.org/@adk-sim/converters/-/converters-0.1.21.tgz","fileCount":6,"integrity":"sha512-oSnutkBJVkOdcDFU9PFKhuqQQ4G/D//jtRtDCCDo/I300y0ZnWCLm7u7Mms4FaTkAIL8/K7PlY0ALoKVs7QH6g==","signatures":[{"sig":"MEYCIQCCAcCDlux2pum3lhnzqyyXMUxYas7ZBfxpTsMSvqITfQIhAI3Ge2e3PrVLt3JXGQRzWQC94LORd/77tO7FnzFC25di","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adk-sim%2fconverters@0.1.21","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5616},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"0445489d1d233acca9729e10a0aa7f23a0281aa2","scripts":{"test":"vitest","build":"tsc","clean":"rm -rf dist"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8f987244-19bf-4649-aa5e-45ea775adaaa"}},"repository":{"url":"git+https://github.com/kevinaud/adk-sim-plugin.git","type":"git","directory":"packages/adk-converters-ts"},"_npmVersion":"11.6.2","description":"Conversion utilities between ADK types and Simulator proto types","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@adk-sim/protos":"*"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"~5.8.0"},"peerDependencies":{"@bufbuild/protobuf":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/converters_0.1.21_1768306412732_0.32668205746174217","host":"s3://npm-registry-packages-npm-production"}},"0.1.22":{"name":"@adk-sim/converters","version":"0.1.22","description":"Conversion utilities between ADK types and Simulator proto types","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc","clean":"rm -rf dist","test":"vitest run","test:watch":"vitest"},"dependencies":{"@adk-sim/protos":"*","@google/genai":"^1.35.0"},"peerDependencies":{"@bufbuild/protobuf":"^2.0.0"},"devDependencies":{"@types/nunjucks":"^3.2.6","nunjucks":"^3.2.4","typescript":"~5.8.0","vitest":"^3.0.0"},"keywords":["adk","simulator","converters","protobuf"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/kevinaud/adk-sim-plugin.git","directory":"packages/adk-converters-ts"},"publishConfig":{"access":"public","provenance":true},"gitHead":"b833310a5208336cfcabd1a926bd8da0c3df020c","_id":"@adk-sim/converters@0.1.22","bugs":{"url":"https://github.com/kevinaud/adk-sim-plugin/issues"},"homepage":"https://github.com/kevinaud/adk-sim-plugin#readme","_nodeVersion":"22.21.1","_npmVersion":"11.7.0","dist":{"integrity":"sha512-0Sq6kMRDhEIZ0f3n4yweAntfz6h+mwgIyyhptJMsZp0P+vWmdTUdzUkpdEwKqc+/UkQlRS1M0K7Ow11dV0e3Og==","shasum":"8505eea34a3d8564d62b6c1848c60c6f000b5c77","tarball":"https://registry.npmjs.org/@adk-sim/converters/-/converters-0.1.22.tgz","fileCount":53,"unpackedSize":4010817,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adk-sim%2fconverters@0.1.22","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDtSXglMjTTAhlQSps3f750trLMw+ceqIKZeoGTClqvtAiEAmmol1AsLby88OQOzzkX/QuWszAUYwDGJb0snNrQTB78="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8f987244-19bf-4649-aa5e-45ea775adaaa"}},"directories":{},"maintainers":[{"name":"kevinaud","email":"kevinaud@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/converters_0.1.22_1768997929142_0.7050248186578507"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-12T19:52:04.585Z","modified":"2026-01-21T12:18:49.630Z","0.1.0":"2026-01-12T19:52:04.814Z","0.1.21":"2026-01-13T12:13:32.871Z","0.1.22":"2026-01-21T12:18:49.337Z"},"bugs":{"url":"https://github.com/kevinaud/adk-sim-plugin/issues"},"license":"Apache-2.0","homepage":"https://github.com/kevinaud/adk-sim-plugin#readme","keywords":["adk","simulator","converters","protobuf"],"repository":{"type":"git","url":"git+https://github.com/kevinaud/adk-sim-plugin.git","directory":"packages/adk-converters-ts"},"description":"Conversion utilities between ADK types and Simulator proto types","maintainers":[{"name":"kevinaud","email":"kevinaud@gmail.com"}],"readme":"# @adk-sim/converters\n\nConversion utilities between ADK SDK types and Simulator proto types.\n\n## Installation\n\n```bash\nnpm install @adk-sim/converters\n```\n\n## Usage\n\n```typescript\nimport { protoToLlmRequest, llmResponseToProto } from '@adk-sim/converters';\n\n// Convert incoming proto request to LlmRequest format for display\nconst request = protoToLlmRequest(protoMessage);\n\n// Convert LlmResponse to proto format for submission\nconst { proto, warnings } = llmResponseToProto(response);\n```\n\n## Purpose\n\nThis package provides the **inverse** conversion operations compared to the Python plugin:\n\n| Python Plugin | Frontend (this package) |\n|---------------|------------------------|\n| `LlmRequest → Proto` | `Proto → LlmRequest` |\n| `Proto → LlmResponse` | `LlmResponse → Proto` |\n\nThe Python plugin converts *outgoing* requests and *incoming* responses.\nThe frontend needs to *display* incoming requests and *submit* responses.\n\n## Status\n\n⚠️ **Scaffold only** - Full conversion logic is not yet implemented.\n","readmeFilename":"README.md"}