{"_id":"@21st-sdk/agent","_rev":"13-fb40570145d815ff2657a057f872bfc0","name":"@21st-sdk/agent","dist-tags":{"latest":"0.0.18"},"versions":{"0.0.5":{"name":"@21st-sdk/agent","version":"0.0.5","keywords":["ai","agent","tools","an","an.dev","sdk","claude","codex"],"license":"MIT","_id":"@21st-sdk/agent@0.0.5","maintainers":[{"name":"danverr","email":"ddmaryakhin@mail.ru"},{"name":"bunasq","email":"realsergeybunas@gmail.com"}],"homepage":"https://an.dev","dist":{"shasum":"b015f318adbc690cf461480ce1cb388a391e084e","tarball":"https://registry.npmjs.org/@21st-sdk/agent/-/agent-0.0.5.tgz","fileCount":21,"integrity":"sha512-T/DKA58mCl0nI5thPuTZtaVV9whtOlSalvDLVH7VUHAdXKNOlR9EAXghwx4PENgpKwedGy6GTfLDld86HCITcA==","signatures":[{"sig":"MEUCIBcYWWZpZrqdFqjJjkI9pA37ZQyWpWv/OBPaERbjv8k1AiEAjlY5orkI4f6EIlzKZLYVttqFnJVnDSC9AY1lML372ug=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46078},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"b2f01d90864243f791cba8222a90e1ebe07a87ce","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit","build":"tsup","prepack":"cp -r ../docs ./docs","postpack":"rm -rf ./docs"},"_npmUser":{"name":"danverr","email":"ddmaryakhin@mail.ru"},"_npmVersion":"10.8.2","description":"Define AI agents and tools with full type inference — the config layer for AN","directories":{"doc":"./docs"},"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24","tsup":"^8.0.0","typescript":"^5.4.5"},"peerDependencies":{"zod":">=3.24"},"_npmOperationalInternal":{"tmp":"tmp/agent_0.0.5_1772764423916_0.4264209608322109","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@21st-sdk/agent","version":"0.0.6","keywords":["ai","agent","tools","21st","21st.dev","sdk","claude","codex"],"license":"MIT","_id":"@21st-sdk/agent@0.0.6","maintainers":[{"name":"danverr","email":"ddmaryakhin@mail.ru"},{"name":"bunasq","email":"realsergeybunas@gmail.com"}],"homepage":"https://21st.dev/agents","dist":{"shasum":"1165ea62f4a16f07b6e54f23635ea6965c846144","tarball":"https://registry.npmjs.org/@21st-sdk/agent/-/agent-0.0.6.tgz","fileCount":21,"integrity":"sha512-v9UaYjLC2y0Iw2BQeJ5NguWh64DEZU5YNNmyFkeoPKibP2G6XiW5FCrwP2bsN7wnluWFUoHJQsD6hPVlqgEtgg==","signatures":[{"sig":"MEUCIB2+0ALygrngasaLlwqoR8XkUVEv0NWD7KEvkjhsSladAiEAn6s4uiZ37Dk8ow1R5Xa/oOc0YBHjO8yXMTFD+lj8bCo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46275},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"4ead7130be5aad18d4ab31eafe7f7392ea95fc3d","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit","build":"tsup","prepack":"cp -r ../docs ./docs","postpack":"rm -rf ./docs"},"_npmUser":{"name":"danverr","email":"ddmaryakhin@mail.ru"},"_npmVersion":"10.8.2","description":"Define AI agents and tools with full type inference for 21st Agents","directories":{"doc":"./docs"},"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24","tsup":"^8.0.0","typescript":"^5.4.5"},"peerDependencies":{"zod":">=3.24"},"_npmOperationalInternal":{"tmp":"tmp/agent_0.0.6_1772829798905_0.21686529346054417","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@21st-sdk/agent","version":"0.0.7","keywords":["ai","agent","tools","21st","21st.dev","sdk","claude","codex"],"license":"MIT","_id":"@21st-sdk/agent@0.0.7","maintainers":[{"name":"danverr","email":"ddmaryakhin@mail.ru"},{"name":"bunasq","email":"realsergeybunas@gmail.com"}],"homepage":"https://21st.dev/agents","dist":{"shasum":"4b19a71e25f469b87c1cbbca8b10dfbf86bc87df","tarball":"https://registry.npmjs.org/@21st-sdk/agent/-/agent-0.0.7.tgz","fileCount":21,"integrity":"sha512-GBGPCyb3KqSycrlPJNhgced57SNEiGYp42c5jTLJ9mGRMd9NvZSL8oir8jHYk39UHfGt11ZMf5XZfDblmAb5XA==","signatures":[{"sig":"MEUCIAJokQh7dbBHnK3WCB51sDwJbm9CIi0h2Dx7l7EO10dMAiEAyB6p6551FkkhfO+9HrXogBISMk3dDBkIrJwsO1OPSnY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46465},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"4ab367c02550bc32673e57957c44952c783c4452","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit","build":"tsup","prepack":"cp -r ../docs ./docs","postpack":"rm -rf ./docs"},"_npmUser":{"name":"danverr","email":"ddmaryakhin@mail.ru"},"_npmVersion":"10.8.2","description":"Define AI agents and tools with full type inference for 21st Agents","directories":{"doc":"./docs"},"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24","tsup":"^8.0.0","typescript":"^5.4.5"},"peerDependencies":{"zod":">=3.24"},"_npmOperationalInternal":{"tmp":"tmp/agent_0.0.7_1773256038608_0.2920007240569116","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@21st-sdk/agent","version":"0.0.8","keywords":["ai","agent","tools","21st","21st.dev","sdk","claude","codex"],"license":"MIT","_id":"@21st-sdk/agent@0.0.8","maintainers":[{"name":"danverr","email":"ddmaryakhin@mail.ru"},{"name":"bunasq","email":"realsergeybunas@gmail.com"}],"homepage":"https://21st.dev/agents","dist":{"shasum":"3469beb99c48840bab2cffbb2cc0ff6af393d9a1","tarball":"https://registry.npmjs.org/@21st-sdk/agent/-/agent-0.0.8.tgz","fileCount":21,"integrity":"sha512-tyFL8iXbMZTBNzBwhUpN0aWmC+JzeMxpXZqDvK9COifijOSux5TjZ9pGdydFwK1ANXQ5aLhBt/K3BomhYUCJnw==","signatures":[{"sig":"MEUCIEMGH5iej/ZJrEjKBfIvjwA6ptRvdMWjcJWopVLgbk2sAiEAx4lfn/PKI29hrxjXYaxiUeXs1uuxJll4VwGwVHBsIk4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49599},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"b1d4cee46e28e944b5071651d63d77e18f603593","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit","build":"tsup","prepack":"cp -r ../docs ./docs","postpack":"rm -rf ./docs"},"_npmUser":{"name":"danverr","email":"ddmaryakhin@mail.ru"},"_npmVersion":"10.8.2","description":"Define AI agents and tools with full type inference for 21st Agents","directories":{"doc":"./docs"},"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24","tsup":"^8.0.0","typescript":"^5.4.5"},"peerDependencies":{"zod":">=3.24"},"_npmOperationalInternal":{"tmp":"tmp/agent_0.0.8_1773267049907_0.4221978937834705","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@21st-sdk/agent","version":"0.0.9","keywords":["ai","agent","tools","21st","21st.dev","sdk","claude","codex"],"license":"MIT","_id":"@21st-sdk/agent@0.0.9","maintainers":[{"name":"danverr","email":"ddmaryakhin@mail.ru"},{"name":"bunasq","email":"realsergeybunas@gmail.com"}],"homepage":"https://21st.dev/agents","dist":{"shasum":"67d905ac5f78292669b80830282e4466f02b7ff0","tarball":"https://registry.npmjs.org/@21st-sdk/agent/-/agent-0.0.9.tgz","fileCount":21,"integrity":"sha512-3SKlenGVdZsyoXty0ohFZ9d/Bl4nPnI6STYKqeoZF+Tz4fes2FM33hERNTqwU7V0bInwpM2575nP66KNRaM5ZA==","signatures":[{"sig":"MEUCIQCa0/NJkI5vRbNhxoM/KYgnJmM8ZVtU2kcno1ZYnYI/KgIgdimyES9F2cg6LHSGtUbZUTSg0hJojdUK89593nxkkf8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50132},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"82398d6ca76faab7d3452dbadb5076b6d865c6a8","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit","build":"tsup","prepack":"cp -r ../docs ./docs","postpack":"rm -rf ./docs"},"_npmUser":{"name":"danverr","email":"ddmaryakhin@mail.ru"},"_npmVersion":"10.8.2","description":"Define AI agents and tools with full type inference for 21st Agents","directories":{"doc":"./docs"},"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24","tsup":"^8.0.0","typescript":"^5.4.5"},"peerDependencies":{"zod":">=3.24"},"_npmOperationalInternal":{"tmp":"tmp/agent_0.0.9_1773769760277_0.7741955477789615","host":"s3://npm-registry-packages-npm-production"}},"0.0.10":{"name":"@21st-sdk/agent","version":"0.0.10","keywords":["ai","agent","tools","21st","21st.dev","sdk","claude","codex"],"license":"MIT","_id":"@21st-sdk/agent@0.0.10","maintainers":[{"name":"danverr","email":"ddmaryakhin@mail.ru"},{"name":"bunasq","email":"realsergeybunas@gmail.com"}],"homepage":"https://21st.dev/agents","dist":{"shasum":"789dc76e21812f4b2b3b768fbfe6dbb66fb1970c","tarball":"https://registry.npmjs.org/@21st-sdk/agent/-/agent-0.0.10.tgz","fileCount":21,"integrity":"sha512-g9smh94tH5igkvukubkhNiJgrOJk+viLGa0b93w1ah3t+YRJjR4KMwILcI2kg9wkAagUes2X1AWSNuZEdEALzQ==","signatures":[{"sig":"MEUCIBv2Nncwzaw7vDj3FsCgqbIF+IDZkGTSCloDrt0fcAYuAiEAzZdSxprPTKO9w2tZmEzIE1TPtnPtB9i3IYVSn72WrXk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50414},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"643fb51a826fa401631ba56023750a8722a7f06e","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit","build":"tsup","prepack":"cp -r ../docs ./docs","postpack":"rm -rf ./docs"},"_npmUser":{"name":"danverr","email":"ddmaryakhin@mail.ru"},"_npmVersion":"10.8.2","description":"Define AI agents and tools with full type inference for 21st Agents","directories":{"doc":"./docs"},"_nodeVersion":"20.19.6","dependencies":{"@21st-sdk/node":"workspace:^"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24","tsup":"^8.0.0","typescript":"^5.4.5"},"peerDependencies":{"zod":">=3.24"},"_npmOperationalInternal":{"tmp":"tmp/agent_0.0.10_1773788312180_0.6461206729157356","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"@21st-sdk/agent","version":"0.0.11","keywords":["ai","agent","tools","21st","21st.dev","sdk","claude","codex"],"license":"MIT","_id":"@21st-sdk/agent@0.0.11","maintainers":[{"name":"danverr","email":"ddmaryakhin@mail.ru"},{"name":"bunasq","email":"realsergeybunas@gmail.com"}],"homepage":"https://21st.dev/agents","dist":{"shasum":"91b724a6f3c92482c6a102cf151c9cc221a9eed9","tarball":"https://registry.npmjs.org/@21st-sdk/agent/-/agent-0.0.11.tgz","fileCount":21,"integrity":"sha512-4opOwP8P8FemfG42Wm0CV5LknBzo0dcnWklnMePIU+OWQR/G3loTKllDVcouKJQA2KtS10q4UDBW4qEbHFsouA==","signatures":[{"sig":"MEQCIEjEInXy1VuO7PlITD8BxVldyY9XnDpTIvEmiDixvzk8AiA0wxL2JVo/L8Yt8Mr1hxtpm5vCHukkG2ID5ExtozQKOA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50466},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"14ac20ee3c57f20ac84b9e1eca4b62b00ce49a64","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit","build":"tsup","prepack":"cp -r ../docs ./docs","postpack":"rm -rf ./docs","prepublishOnly":"pnpm install && pnpm build"},"_npmUser":{"name":"danverr","email":"ddmaryakhin@mail.ru"},"_npmVersion":"10.8.2","description":"Define AI agents and tools with full type inference for 21st Agents","directories":{"doc":"./docs"},"_nodeVersion":"20.19.6","dependencies":{"@21st-sdk/node":"workspace:^"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24","tsup":"^8.0.0","typescript":"^5.4.5"},"peerDependencies":{"zod":">=3.24"},"_npmOperationalInternal":{"tmp":"tmp/agent_0.0.11_1773791721639_0.8760285791716991","host":"s3://npm-registry-packages-npm-production"}},"0.0.12":{"name":"@21st-sdk/agent","version":"0.0.12","keywords":["ai","agent","tools","21st","21st.dev","sdk","claude","codex"],"license":"MIT","_id":"@21st-sdk/agent@0.0.12","maintainers":[{"name":"danverr","email":"ddmaryakhin@mail.ru"},{"name":"bunasq","email":"realsergeybunas@gmail.com"}],"homepage":"https://21st.dev/agents","dist":{"shasum":"007a714990beaa3ab849823f9bfd3b494d084f97","tarball":"https://registry.npmjs.org/@21st-sdk/agent/-/agent-0.0.12.tgz","fileCount":22,"integrity":"sha512-q24wlyBbVaM60/07l0gWHKwLL6x03/mUOQCpg3DKE1oOYDwbEfLxXF7ezzsz0FdryHYJJjw91g89ZCblgDidpg==","signatures":[{"sig":"MEUCIQC0+qeYdNfgu5KHr4eCA83q4yL7wLaWpH85R4czQ9AKsgIgfXvHH4tCnYRqpxyDw3a07gCGW8F7XGUthV70Xg/rp1Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51401},"main":"./dist/index.cjs","type":"module","_from":"file:21st-sdk-agent-0.0.12.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"tsc --noEmit","build":"tsup"},"_npmUser":{"name":"danverr","email":"ddmaryakhin@mail.ru"},"_resolved":"/private/var/folders/kr/b86wdv7x4fjc3x184c6t_bb40000gn/T/f619e0d689bf5f1dd7c9abf2d75456f8/21st-sdk-agent-0.0.12.tgz","_integrity":"sha512-q24wlyBbVaM60/07l0gWHKwLL6x03/mUOQCpg3DKE1oOYDwbEfLxXF7ezzsz0FdryHYJJjw91g89ZCblgDidpg==","_npmVersion":"10.8.2","description":"Define AI agents and tools with full type inference for 21st Agents","directories":{"doc":"./docs"},"_nodeVersion":"20.19.6","dependencies":{"@21st-sdk/node":"^0.0.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24","tsup":"^8.0.0","typescript":"^5.4.5"},"peerDependencies":{"zod":">=3.24"},"_npmOperationalInternal":{"tmp":"tmp/agent_0.0.12_1773791831222_0.826539772478158","host":"s3://npm-registry-packages-npm-production"}},"0.0.13":{"name":"@21st-sdk/agent","version":"0.0.13","keywords":["ai","agent","tools","21st","21st.dev","sdk","claude","codex"],"license":"MIT","_id":"@21st-sdk/agent@0.0.13","maintainers":[{"name":"danverr","email":"ddmaryakhin@mail.ru"},{"name":"bunasq","email":"realsergeybunas@gmail.com"}],"homepage":"https://21st.dev/agents","dist":{"shasum":"21154d0cd04ec053119d8c8e4198bcb87666c933","tarball":"https://registry.npmjs.org/@21st-sdk/agent/-/agent-0.0.13.tgz","fileCount":21,"integrity":"sha512-H5SKadvMWA2GBF8ALzw9fN2Ci/lZeF/8fVT0AVef70nFagXj9qrKmb5wHiqawPdW757BSXGPsEMoXAirIPGxiw==","signatures":[{"sig":"MEQCICungPaPTAcBh9bHmq/mUGvIeBblKFN8habGevSSXl58AiBOkR+yfNQkMFAU4ZXOut1Ti8CVASItChoQy5tQggLSPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52483},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"39ac2ad8f0392d2a34ee793997ca4e9632e5c7a9","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit","build":"tsup","prepack":"cp -r ../docs ./docs","postpack":"rm -rf ./docs","prepublishOnly":"pnpm install && pnpm build"},"_npmUser":{"name":"danverr","email":"ddmaryakhin@mail.ru"},"_npmVersion":"10.8.2","description":"Define AI agents and tools with full type inference for 21st Agents","directories":{"doc":"./docs"},"_nodeVersion":"20.19.6","dependencies":{"@21st-sdk/node":"workspace:^"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24","tsup":"^8.0.0","typescript":"^5.4.5"},"peerDependencies":{"zod":">=3.24"},"_npmOperationalInternal":{"tmp":"tmp/agent_0.0.13_1773929827894_0.5816432386549863","host":"s3://npm-registry-packages-npm-production"}},"0.0.14":{"name":"@21st-sdk/agent","version":"0.0.14","keywords":["ai","agent","tools","21st","21st.dev","sdk","claude","codex"],"license":"MIT","_id":"@21st-sdk/agent@0.0.14","maintainers":[{"name":"danverr","email":"ddmaryakhin@mail.ru"},{"name":"bunasq","email":"realsergeybunas@gmail.com"}],"homepage":"https://21st.dev/agents","dist":{"shasum":"bf8c24624a0ed35ed3e6814fb95907d729a012cf","tarball":"https://registry.npmjs.org/@21st-sdk/agent/-/agent-0.0.14.tgz","fileCount":22,"integrity":"sha512-jIyXWSFHm81YNXWj/xNKOGKa8RuFpZVBNdogWiy9Eoz7a3PGfeCnhE7iVz9T3k1zw7Xc0yrWZDmjRSoWhcv5Fw==","signatures":[{"sig":"MEYCIQDY58ikng2ZNsG8hOPHvhnd3wfFwlL9d11CrM3NPthmFwIhAK0y276jgphEQnSxjVXvs9rE1H9V6pfFW142rTIn3hAw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53418},"main":"./dist/index.cjs","type":"module","_from":"file:21st-sdk-agent-0.0.14.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"tsc --noEmit","build":"tsup"},"_npmUser":{"name":"danverr","email":"ddmaryakhin@mail.ru"},"_resolved":"/private/var/folders/kr/b86wdv7x4fjc3x184c6t_bb40000gn/T/5a4914fd10f3c4606ea31cee1ee2ac58/21st-sdk-agent-0.0.14.tgz","_integrity":"sha512-jIyXWSFHm81YNXWj/xNKOGKa8RuFpZVBNdogWiy9Eoz7a3PGfeCnhE7iVz9T3k1zw7Xc0yrWZDmjRSoWhcv5Fw==","_npmVersion":"10.8.2","description":"Define AI agents and tools with full type inference for 21st Agents","directories":{"doc":"./docs"},"_nodeVersion":"20.19.6","dependencies":{"@21st-sdk/node":"^0.0.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24","tsup":"^8.0.0","typescript":"^5.4.5"},"peerDependencies":{"zod":">=3.24"},"_npmOperationalInternal":{"tmp":"tmp/agent_0.0.14_1773929934434_0.5723877976635856","host":"s3://npm-registry-packages-npm-production"}},"0.0.15":{"name":"@21st-sdk/agent","version":"0.0.15","keywords":["ai","agent","tools","21st","21st.dev","sdk","claude","codex"],"license":"MIT","_id":"@21st-sdk/agent@0.0.15","maintainers":[{"name":"danverr","email":"ddmaryakhin@mail.ru"},{"name":"bunasq","email":"realsergeybunas@gmail.com"}],"homepage":"https://21st.dev/agents","dist":{"shasum":"1f1f5bef5b825290e47925b97156754b830b6223","tarball":"https://registry.npmjs.org/@21st-sdk/agent/-/agent-0.0.15.tgz","fileCount":21,"integrity":"sha512-GQDT00zxNYX+F3MJ06hqj65K/UmcVoKMf0TbFfWoFg5B2r2laqesyrJWERRqVsb8iU7dlvdBQx1fv0otVyQEAA==","signatures":[{"sig":"MEUCIQCMP2DtRl2mhcPbf02HrREQexvCowrqpk0u3fcP6hCk9AIgJYznomZx3kByA6w8EcEwgAQXqkf77K9Vaw/fYiC8WHw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57330},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"cbb889083ce331949717abb523408b4a94b086e6","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit","build":"tsup","prepack":"cp -r ../docs ./docs","postpack":"rm -rf ./docs","prepublishOnly":"pnpm install && pnpm build"},"_npmUser":{"name":"danverr","email":"ddmaryakhin@mail.ru"},"_npmVersion":"11.6.2","description":"Define AI agents and tools with full type inference for 21st Agents","directories":{"doc":"./docs"},"_nodeVersion":"25.2.1","dependencies":{"@21st-sdk/node":"workspace:^"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24","tsup":"^8.0.0","typescript":"^5.4.5"},"peerDependencies":{"zod":">=3.24"},"_npmOperationalInternal":{"tmp":"tmp/agent_0.0.15_1775505564249_0.3512935547453375","host":"s3://npm-registry-packages-npm-production"}},"0.0.16":{"name":"@21st-sdk/agent","version":"0.0.16","keywords":["ai","agent","tools","21st","21st.dev","sdk","claude","codex"],"license":"MIT","_id":"@21st-sdk/agent@0.0.16","maintainers":[{"name":"danverr","email":"ddmaryakhin@mail.ru"},{"name":"bunasq","email":"realsergeybunas@gmail.com"}],"homepage":"https://21st.dev/agents","dist":{"shasum":"6a517b8ab599c25d03c77d3f93bb192798cb8340","tarball":"https://registry.npmjs.org/@21st-sdk/agent/-/agent-0.0.16.tgz","fileCount":22,"integrity":"sha512-bMvMAGay7b5RD1x3rybBKCWTFxv7fa4fGkEquJsMH9xwxH2mV9S0im6KJV8NZ5Mbt/frAxZYVhM8ZL8DNfw6jw==","signatures":[{"sig":"MEMCIExEOfzEH2IC78bIDUeSAEfRrVyn9CQCf40vLLzvfXuuAh8JW3PipChxKo982C4GZGAkmqP+066i+2fNEI2gOaeN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58265},"main":"./dist/index.cjs","type":"module","_from":"file:21st-sdk-agent-0.0.16.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"tsc --noEmit","build":"tsup"},"_npmUser":{"name":"danverr","email":"ddmaryakhin@mail.ru"},"_resolved":"/private/var/folders/kr/b86wdv7x4fjc3x184c6t_bb40000gn/T/0d99087dee112fbcef818254c48142c1/21st-sdk-agent-0.0.16.tgz","_integrity":"sha512-bMvMAGay7b5RD1x3rybBKCWTFxv7fa4fGkEquJsMH9xwxH2mV9S0im6KJV8NZ5Mbt/frAxZYVhM8ZL8DNfw6jw==","_npmVersion":"10.8.2","description":"Define AI agents and tools with full type inference for 21st Agents","directories":{"doc":"./docs"},"_nodeVersion":"20.19.6","dependencies":{"@21st-sdk/node":"^0.0.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24","tsup":"^8.0.0","typescript":"^5.4.5"},"peerDependencies":{"zod":">=3.24"},"_npmOperationalInternal":{"tmp":"tmp/agent_0.0.16_1775580133880_0.7741026610351192","host":"s3://npm-registry-packages-npm-production"}},"0.0.18":{"name":"@21st-sdk/agent","version":"0.0.18","license":"MIT","description":"Define AI agents and tools with full type inference for 21st Agents","homepage":"https://21st.dev/agents","publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"directories":{"doc":"./docs"},"keywords":["ai","agent","tools","21st","21st.dev","sdk","claude","codex"],"peerDependencies":{"zod":">=3.24"},"dependencies":{"@21st-sdk/node":"^0.1.1"},"devDependencies":{"tsup":"^8.0.0","typescript":"^5.4.5","zod":"^3.24"},"scripts":{"build":"tsup","dev":"tsup --watch","lint":"tsc --noEmit"},"_id":"@21st-sdk/agent@0.0.18","_integrity":"sha512-jGT0eZymgxFbSv0QZEFOBM+uLpUQG6wGxWwFvjG5nuB7jjCE7W7TrVWIVwM8pHFevuTpFeL3SSiCofoj4Q6mbw==","_resolved":"/private/var/folders/kr/b86wdv7x4fjc3x184c6t_bb40000gn/T/b82befab65ab1dde2b162b8f3f272419/21st-sdk-agent-0.0.18.tgz","_from":"file:21st-sdk-agent-0.0.18.tgz","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-jGT0eZymgxFbSv0QZEFOBM+uLpUQG6wGxWwFvjG5nuB7jjCE7W7TrVWIVwM8pHFevuTpFeL3SSiCofoj4Q6mbw==","shasum":"2b842eec144f4ca2a68e9a23a6f62febb5e44fd1","tarball":"https://registry.npmjs.org/@21st-sdk/agent/-/agent-0.0.18.tgz","fileCount":22,"unpackedSize":61586,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCdxWYOgovs0B4kOzWLCyU3GBaCQfsZE1RYtRV9nLp3cwIhAI3VMYPPzXLwSveV+/2/iTCtDI2IDHAR6vrrNV/Bz7sf"}]},"_npmUser":{"name":"danverr","email":"ddmaryakhin@mail.ru"},"maintainers":[{"name":"danverr","email":"ddmaryakhin@mail.ru"},{"name":"bunasq","email":"realsergeybunas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agent_0.0.18_1777399222211_0.29923788293334197"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-06T02:33:43.828Z","modified":"2026-04-28T18:00:22.684Z","0.0.5":"2026-03-06T02:33:44.054Z","0.0.6":"2026-03-06T20:43:19.088Z","0.0.7":"2026-03-11T19:07:18.754Z","0.0.8":"2026-03-11T22:10:50.322Z","0.0.9":"2026-03-17T17:49:20.482Z","0.0.10":"2026-03-17T22:58:32.347Z","0.0.11":"2026-03-17T23:55:21.784Z","0.0.12":"2026-03-17T23:57:11.387Z","0.0.13":"2026-03-19T14:17:08.037Z","0.0.14":"2026-03-19T14:18:54.571Z","0.0.15":"2026-04-06T19:59:24.403Z","0.0.16":"2026-04-07T16:42:14.050Z","0.0.18":"2026-04-28T18:00:22.524Z"},"license":"MIT","homepage":"https://21st.dev/agents","keywords":["ai","agent","tools","21st","21st.dev","sdk","claude","codex"],"description":"Define AI agents and tools with full type inference for 21st Agents","maintainers":[{"name":"danverr","email":"ddmaryakhin@mail.ru"},{"name":"bunasq","email":"realsergeybunas@gmail.com"}],"readme":"# @21st-sdk/agent\n\nDefine AI agents with full type inference. The config layer for [21st Agents](https://21st.dev/agents).\n\n## Install\n\n```bash\nnpm install @21st-sdk/agent zod\n```\n\n## Quick Start\n\nCreate `src/agent.ts`:\n\n```ts\nimport { agent, tool } from \"@21st-sdk/agent\"\nimport { z } from \"zod\"\n\nexport default agent({\n  model: \"claude-sonnet-4-6\",\n  systemPrompt: \"You are a helpful coding assistant.\",\n  tools: {\n    greet: tool({\n      description: \"Greet a user by name\",\n      inputSchema: z.object({ name: z.string() }),\n      execute: async ({ name }) => ({\n        content: [{ type: \"text\", text: `Hello, ${name}!` }],\n      }),\n    }),\n  },\n})\n```\n\nThen deploy with the [21st SDK CLI](https://www.npmjs.com/package/@21st-sdk/cli):\n\n```bash\nnpx @21st-sdk/cli login\nnpx @21st-sdk/cli deploy\n```\n\n## API\n\n### `agent(config)`\n\nCreates an agent configuration. Returns the config with a `_type: \"agent\"` tag for the runtime.\n\n```ts\nexport default agent({\n  // Model to use (default: \"claude-sonnet-4-6\")\n  model: \"claude-sonnet-4-6\",\n\n  // For \"claude-code\" runtime, string prompts are appended\n  // to Claude Code's preset system prompt by default.\n  systemPrompt: \"You are a PR reviewer...\",\n\n  // Custom tools the agent can use\n  tools: {\n    lint: tool({ ... }),\n    test: tool({ ... }),\n  },\n\n  // Runtime: \"claude-code\" (default) or \"codex\"\n  runtime: \"claude-code\",\n\n  // Permission mode: \"default\", \"acceptEdits\", or \"bypassPermissions\"\n  permissionMode: \"default\",\n\n  // Max turns before stopping (default: 50)\n  maxTurns: 50,\n\n  // Max budget in USD\n  maxBudgetUsd: 5,\n\n  // Lifecycle hooks\n  onStart: async () => { ... },\n  onToolCall: async ({ toolName, input }) => { ... },\n  onToolResult: async ({ toolName, input, output }) => { ... },\n  onStepFinish: async ({ step }) => { ... },\n  onFinish: async ({ result }) => { ... },\n  onError: async ({ error }) => { ... },\n})\n```\n\n### `tool(definition)`\n\nCreates a tool definition with Zod schema validation.\n\n```ts\nimport { tool } from \"@21st-sdk/agent\"\nimport { z } from \"zod\"\n\nconst myTool = tool({\n  description: \"What this tool does\",\n  inputSchema: z.object({\n    path: z.string(),\n    verbose: z.boolean().optional(),\n  }),\n  execute: async (args) => {\n    // args is fully typed from the schema\n    return {\n      content: [{ type: \"text\", text: \"result\" }],\n    }\n  },\n})\n```\n\n### Hooks\n\n#### `onToolCall`\n\nRuns before a tool executes. Return `false` to block it.\n\n```ts\nonToolCall: async ({ toolName, input }) => {\n  if (toolName === \"Bash\" && input.command?.includes(\"rm -rf\")) {\n    return false // blocked\n  }\n}\n```\n\n#### `onFinish`\n\nRuns when the agent completes successfully.\n\n```ts\nonFinish: async ({ result }) => {\n  await fetch(\"https://my-api.com/webhook\", {\n    method: \"POST\",\n    body: JSON.stringify({ done: true }),\n  })\n}\n```\n\n## How It Works\n\n`agent()` and `tool()` are identity functions — they return exactly what you pass in, with type inference added. The actual execution happens in the 21st Agents runtime (E2B sandbox) using the Claude Agent SDK.\n\nYour code runs in a secure cloud sandbox with full access to Node.js, git, and system tools.\n\nFor `runtime: \"claude-code\"`, omitting `systemPrompt` uses Claude Code's default preset system prompt. If you pass a string, it is appended to that preset automatically. You can also pass the preset object directly:\n\n```ts\nsystemPrompt: {\n  type: \"preset\",\n  preset: \"claude_code\",\n  append: \"Your extra instructions here\",\n}\n```\n\n## License\n\nMIT\n\n","readmeFilename":"README.md"}