{"_id":"@agent-cdp/protocol","_rev":"3-7d04c7ca82e5e396d479eeebc1112580","name":"@agent-cdp/protocol","dist-tags":{"latest":"1.6.1"},"versions":{"1.5.0":{"name":"@agent-cdp/protocol","version":"1.5.0","_id":"@agent-cdp/protocol@1.5.0","maintainers":[{"name":"aitwar","email":"szymonchmal@gmail.com"}],"dist":{"shasum":"0e47c12c232db71214e5ab5a470f1d4de4c436be","tarball":"https://registry.npmjs.org/@agent-cdp/protocol/-/protocol-1.5.0.tgz","fileCount":6,"integrity":"sha512-x6HlAEIjsaf4C8a5sqLDUBvH4YunXmLlU57c7BTuBrKurDIBe51hxdDMw8beGDnkwtyroG4qItBDm5yNydIAVg==","signatures":[{"sig":"MEUCIFVhtfdy0baPNpwJWGzyjXZdACReU2RX+yz/+GKrBJcVAiEAirDPFhlpFPiBe3pssFzyF/JWac33xYDq3+tN2qDlKp4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27135},"type":"module","_from":"file:agent-cdp-protocol-1.5.0.tgz","types":"./src/index.ts","exports":{".":{"types":"./src/index.ts","import":"./dist/index.js","react-native":"./src/index.ts"}},"scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"aitwar","email":"szymonchmal@gmail.com"},"_resolved":"/private/var/folders/tb/j39z273s5kn7lb9tz1dhk8l00000gn/T/9560c1bd845ff51afca7f5dffc9512c5/agent-cdp-protocol-1.5.0.tgz","_integrity":"sha512-x6HlAEIjsaf4C8a5sqLDUBvH4YunXmLlU57c7BTuBrKurDIBe51hxdDMw8beGDnkwtyroG4qItBDm5yNydIAVg==","_npmVersion":"11.9.0","description":"Shared protocol types for agent-cdp daemon, CLI, and SDK integrations.","directories":{},"_nodeVersion":"24.14.0","react-native":"./src/index.ts","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/protocol_1.5.0_1778845684147_0.24071968012074874","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"@agent-cdp/protocol","version":"1.5.1","_id":"@agent-cdp/protocol@1.5.1","maintainers":[{"name":"aitwar","email":"szymonchmal@gmail.com"}],"dist":{"shasum":"50c56044562f310b795a1d9b1e08a9fe4c5d45c1","tarball":"https://registry.npmjs.org/@agent-cdp/protocol/-/protocol-1.5.1.tgz","fileCount":6,"integrity":"sha512-CXmjRyjmV4l25J/tZkzAjI40OovIjjNvBQW3q8i7qqTnwMCNRz8kZtkMPUlfCFutqwp3uUb7gLngxB+nNPDuxQ==","signatures":[{"sig":"MEUCIQDbFvtpDPCaSG8r8RKmzwPaTIZccal2su19kMrRRfoXzwIgRE/V1uCr4IDvuHo6fsg5dNf3Onhqd8M+ke2mtfPOU+0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26301},"type":"module","_from":"file:agent-cdp-protocol-1.5.1.tgz","types":"./src/index.ts","exports":{".":{"types":"./src/index.ts","import":"./dist/index.js","react-native":"./src/index.ts"}},"scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"aitwar","email":"szymonchmal@gmail.com"},"_resolved":"/private/var/folders/tb/j39z273s5kn7lb9tz1dhk8l00000gn/T/10d7cdb0357d8bbfda7744515e6c0fe6/agent-cdp-protocol-1.5.1.tgz","_integrity":"sha512-CXmjRyjmV4l25J/tZkzAjI40OovIjjNvBQW3q8i7qqTnwMCNRz8kZtkMPUlfCFutqwp3uUb7gLngxB+nNPDuxQ==","_npmVersion":"11.9.0","description":"Shared protocol types for agent-cdp daemon, CLI, and SDK integrations.","directories":{},"_nodeVersion":"24.14.0","react-native":"./src/index.ts","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/protocol_1.5.1_1778850051528_0.38351517342476593","host":"s3://npm-registry-packages-npm-production"}},"1.6.1":{"name":"@agent-cdp/protocol","version":"1.6.1","description":"Shared protocol types for agent-cdp daemon, CLI, and SDK integrations.","type":"module","repository":{"type":"git","url":"git+https://github.com/callstackincubator/agent-cdp.git","directory":"packages/protocol"},"bugs":{"url":"https://github.com/callstackincubator/agent-cdp/issues"},"homepage":"https://github.com/callstackincubator/agent-cdp/tree/master/packages/protocol#readme","license":"MIT","types":"./src/index.ts","react-native":"./src/index.ts","exports":{".":{"types":"./src/index.ts","react-native":"./src/index.ts","import":"./dist/index.js"}},"devDependencies":{"tsup":"^8.5.0","typescript":"^5.8.3"},"scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_id":"@agent-cdp/protocol@1.6.1","_integrity":"sha512-8yqqxew0nBWO+zfFbRo8cbYjUWZem+TSqwjOT6Yk06905X5FnKA+levSf5HI07YSB5+EHCFTQ2Kw43Br4amLaQ==","_resolved":"/home/runner/work/_temp/packs/agent-cdp-protocol-1.6.1.tgz","_from":"file:/home/runner/work/_temp/packs/agent-cdp-protocol-1.6.1.tgz","_nodeVersion":"24.17.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-8yqqxew0nBWO+zfFbRo8cbYjUWZem+TSqwjOT6Yk06905X5FnKA+levSf5HI07YSB5+EHCFTQ2Kw43Br4amLaQ==","shasum":"71980335f713e9e6deaaf785fa02c164adc54707","tarball":"https://registry.npmjs.org/@agent-cdp/protocol/-/protocol-1.6.1.tgz","fileCount":6,"unpackedSize":26841,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agent-cdp%2fprotocol@1.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDxPYuFtg41CBk/+9aPD3e/ppOWxbOdbuK9wCEi4N+AhAIhAKxuNdDHw8UzfP8Hx/lRQ03H2hgqpOUEzKTzPPw/ZsVV"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b982c9c1-596c-46b9-a95b-f5e90d67c8a6"}},"directories":{},"maintainers":[{"name":"aitwar","email":"szymonchmal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/protocol_1.6.1_1782904608181_0.8618716166204683"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-15T11:48:04.035Z","modified":"2026-07-01T11:16:48.806Z","1.5.0":"2026-05-15T11:48:04.288Z","1.5.1":"2026-05-15T13:00:51.721Z","1.6.1":"2026-07-01T11:16:48.455Z"},"description":"Shared protocol types for agent-cdp daemon, CLI, and SDK integrations.","maintainers":[{"name":"aitwar","email":"szymonchmal@gmail.com"}],"readme":"# @agent-cdp/protocol\n\n`@agent-cdp/protocol` contains the shared TypeScript types and command contracts used by the `agent-cdp` CLI, daemon, and runtime SDK bridge.\n\n## Install\n\n```sh\nnpm install @agent-cdp/protocol\n```\n\nFor workspace development from this repository:\n\n```sh\npnpm install\npnpm run build\n```\n\n## What it exports\n\n- Discovery and target types such as `TargetDescriptor`, `StatusInfo`, and `DaemonInfo`\n- IPC command and response unions such as `IpcCommand` and `IpcResponse`\n- Runtime bridge request and response types such as `AgentRuntimeBridgeRequest` and `AgentRuntimeBridgeResponse`\n- Shared binding names used by the runtime bridge: `AGENT_CDP_BINDING_NAME` and `AGENT_CDP_RECEIVE_NAME`\n\n## Usage\n\n```ts\nimport type { AgentRuntimeBridgeRequest, TargetDescriptor } from \"@agent-cdp/protocol\";\nimport { AGENT_CDP_BINDING_NAME } from \"@agent-cdp/protocol\";\n\nconst request: AgentRuntimeBridgeRequest = {\n  id: \"1\",\n  command: { type: \"js-profile-status\" },\n};\n\nfunction describeTarget(target: TargetDescriptor) {\n  return `${target.kind}:${target.title}`;\n}\n\nconsole.log(AGENT_CDP_BINDING_NAME, request, describeTarget);\n```\n","readmeFilename":"README.md","homepage":"https://github.com/callstackincubator/agent-cdp/tree/master/packages/protocol#readme","repository":{"type":"git","url":"git+https://github.com/callstackincubator/agent-cdp.git","directory":"packages/protocol"},"bugs":{"url":"https://github.com/callstackincubator/agent-cdp/issues"},"license":"MIT"}