{"_id":"@assistant-ui/metro","_rev":"14-2930b5dcf1b9c0ca4fe45b8b2dc9fbfa","name":"@assistant-ui/metro","dist-tags":{"latest":"0.0.15"},"versions":{"0.0.1":{"name":"@assistant-ui/metro","version":"0.0.1","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"author":"AgentbaseAI Inc.","license":"MIT","_id":"@assistant-ui/metro@0.0.1","maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"homepage":"https://www.assistant-ui.com/","bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"dist":{"shasum":"565c5a791bd694a27153ff0747f61c84234f2fb5","tarball":"https://registry.npmjs.org/@assistant-ui/metro/-/metro-0.0.1.tgz","fileCount":15,"integrity":"sha512-Hu2Q3xeV38r5FPpufU92YZLHdMyYJJP+/Qv3UgIiqzafNVWeDYzxX9yIJLt34iyAjerIQKd6CzYZfOmlx8Ccsw==","signatures":[{"sig":"MEQCIHldpjt13hX1dPF8h1c3G6mNKQgY8ANiLey6t4UZXIewAiBkTl1KaTceQVAI2oE+urOQAyGo/WZSjpsxpZqHU5oB/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":281151},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"./transformer":{"types":"./dist/transformer.d.cts","default":"./dist/transformer.cjs"}},"scripts":{"test":"vitest run","build":"tsdown","test:watch":"vitest"},"_npmUser":{"name":"yonom","email":"simon.farshid@outlook.com"},"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@babel/types":"^7.29.7","@babel/parser":"^7.29.7","@babel/traverse":"^7.29.7","@babel/generator":"^7.29.7"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.1","vitest":"^4.1.7","@types/node":"^25.9.1","@assistant-ui/x-buildutils":"0.0.11","@assistant-ui/x-generative-compiler":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/metro_0.0.1_1780941143121_0.9277521889921074","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@assistant-ui/metro","version":"0.0.2","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"author":"AgentbaseAI Inc.","license":"MIT","_id":"@assistant-ui/metro@0.0.2","maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"homepage":"https://www.assistant-ui.com/","bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"dist":{"shasum":"7abc3ea567be8d14352af3177d96ee3378809a17","tarball":"https://registry.npmjs.org/@assistant-ui/metro/-/metro-0.0.2.tgz","fileCount":15,"integrity":"sha512-r6YYlJ/5ko6paf9SSWHH58UMrMW0T2O7uxkAHuddm0elrkD09Bwgc0J3pesMqysg1YXFASWy0rY/cB1nncBtlQ==","signatures":[{"sig":"MEUCIQCPJQ5W/Tb2Ug56olUd6PP5uFtfBmAmz+sh9TK7RloOtAIgPtMezh3tOt2K0bqZlF1EeBDdIM/zXIMkvGebqCTEikk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@assistant-ui%2fmetro@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":282689},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"./transformer":{"types":"./dist/transformer.d.cts","default":"./dist/transformer.cjs"}},"scripts":{"test":"vitest run","build":"tsdown","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98386e92-9936-4156-ab83-8c1b00fb0553"}},"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"@babel/types":"^7.29.7","@babel/parser":"^7.29.7","@babel/traverse":"^7.29.7","@babel/generator":"^7.29.7"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.2","vitest":"^4.1.8","@types/node":"^25.9.2","@assistant-ui/x-buildutils":"0.0.12","@assistant-ui/x-generative-compiler":"^0.0.4"},"_npmOperationalInternal":{"tmp":"tmp/metro_0.0.2_1780941214420_0.2872077390705581","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@assistant-ui/metro","version":"0.0.3","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"author":"AgentbaseAI Inc.","license":"MIT","_id":"@assistant-ui/metro@0.0.3","maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"homepage":"https://www.assistant-ui.com/","bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"dist":{"shasum":"17c4c8688fe26971f043721a5eeba2115eff3cf1","tarball":"https://registry.npmjs.org/@assistant-ui/metro/-/metro-0.0.3.tgz","fileCount":15,"integrity":"sha512-Zi03CqG4R9q0nJosjemaXkdsruA0oHWDxpi2QHYdPF1CuKtBL6Wzi56FOKDdCwhXfy9rJ3aj7bkI8PMGnCg8PQ==","signatures":[{"sig":"MEQCIGObLR0+qE+y94U55Xf2Kd5kLHl83DMTOlT6D/grEOUmAiA0gUGGvrU7suKl/hh5XB/eNmBihKsdvpQJtkFewY9jXA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@assistant-ui%2fmetro@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":283116},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"./transformer":{"types":"./dist/transformer.d.cts","default":"./dist/transformer.cjs"}},"scripts":{"test":"vitest run","build":"tsdown","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98386e92-9936-4156-ab83-8c1b00fb0553"}},"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"@babel/types":"^7.29.7","@babel/parser":"^7.29.7","@babel/traverse":"^7.29.7","@babel/generator":"^7.29.7"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.2","vitest":"^4.1.8","@types/node":"^25.9.3","@assistant-ui/x-buildutils":"0.0.14","@assistant-ui/x-generative-compiler":"^0.0.5"},"_npmOperationalInternal":{"tmp":"tmp/metro_0.0.3_1781407989473_0.6273519679072279","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@assistant-ui/metro","version":"0.0.4","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"author":"AgentbaseAI Inc.","license":"MIT","_id":"@assistant-ui/metro@0.0.4","maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"homepage":"https://www.assistant-ui.com/","bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"dist":{"shasum":"c0a9a434a13f435e1bdb58789ab6f58f8dbee34e","tarball":"https://registry.npmjs.org/@assistant-ui/metro/-/metro-0.0.4.tgz","fileCount":15,"integrity":"sha512-RKI7kasM5fup0UdU3L4NNvQVXZ2af5qH0RJUIO1Ff9H2tTWuv7+HDexgceX5z+8UqfW/rKzz1ox7Ua27x/PK8g==","signatures":[{"sig":"MEYCIQCSVuGxl97L1/YAOfLiebvbNdD5XA6WgwxlxlIkhnSRdgIhAN6NpQeJzu23WJBxuvY47RGA4hdgJi+P6F8/v/QIbpm/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@assistant-ui%2fmetro@0.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":305486},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"./transformer":{"types":"./dist/transformer.d.cts","default":"./dist/transformer.cjs"}},"scripts":{"test":"vitest run","build":"tsdown","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98386e92-9936-4156-ab83-8c1b00fb0553"}},"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"@babel/types":"^8.0.0","@babel/parser":"^8.0.0","@babel/traverse":"^8.0.0","@babel/generator":"^8.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.3","vitest":"^4.1.9","@types/node":"^26.0.0","@assistant-ui/x-buildutils":"0.0.16","@assistant-ui/x-generative-compiler":"^0.0.6"},"_npmOperationalInternal":{"tmp":"tmp/metro_0.0.4_1782364084938_0.6213276750994707","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@assistant-ui/metro","version":"0.0.5","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"author":"AgentbaseAI Inc.","license":"MIT","_id":"@assistant-ui/metro@0.0.5","maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"homepage":"https://www.assistant-ui.com/","bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"dist":{"shasum":"2a56322a4bc9de29042e3cc423cf047ce78b6d90","tarball":"https://registry.npmjs.org/@assistant-ui/metro/-/metro-0.0.5.tgz","fileCount":15,"integrity":"sha512-nXEq7RJhY+aZJ/ujCcU6MmpcBlNnzJ4lARaYfYfp+gZGfm0Y3VjqOklQNw20Z2quh/mrKDFt7Az4+mO7bJcUsA==","signatures":[{"sig":"MEYCIQDYGKOHeAw0+w2jMawdhzMBdz/GapH5E6PBej89WH5/BgIhAJtr4bAOCNF0xWXWpvRn86umfWhikmwPMHvX9IAAs2IB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@assistant-ui%2fmetro@0.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":311157},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"./transformer":{"types":"./dist/transformer.d.cts","default":"./dist/transformer.cjs"}},"scripts":{"test":"vitest run","build":"tsdown","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98386e92-9936-4156-ab83-8c1b00fb0553"}},"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@babel/types":"^8.0.4","@babel/parser":"^8.0.4","@babel/traverse":"^8.0.4","@babel/generator":"^8.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.7","vitest":"^4.1.10","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^26.1.1","typescript-7":"npm:typescript@^7.0.2","@assistant-ui/x-buildutils":"0.0.18","@assistant-ui/x-generative-compiler":"^0.0.9"},"_npmOperationalInternal":{"tmp":"tmp/metro_0.0.5_1784216239527_0.6020303320567217","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@assistant-ui/metro","version":"0.0.6","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"author":"AgentbaseAI Inc.","license":"MIT","_id":"@assistant-ui/metro@0.0.6","maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"homepage":"https://www.assistant-ui.com/","bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"dist":{"shasum":"87e24a57b67aa7e78f874adff1b898213fa0f204","tarball":"https://registry.npmjs.org/@assistant-ui/metro/-/metro-0.0.6.tgz","fileCount":15,"integrity":"sha512-+tQqwtwZnJ1wgNDnWv/r1is14GPoz9j7Gp35YZsGcCNzNUaobvNfZNSlU4W/z7DHOCheIIo+2er5Glw5g/z7rw==","signatures":[{"sig":"MEQCIDbvVG9Gnd83AWu8mvgX4xM0/RcceCPF1YTIcTX7vBA7AiAIyHvD+X1aSpOiytCUNJi2Ibu0EjOp0Egj/JRAT9tk1Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@assistant-ui%2fmetro@0.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":315070},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"./transformer":{"types":"./dist/transformer.d.cts","default":"./dist/transformer.cjs"}},"scripts":{"test":"vitest run","build":"tsdown","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98386e92-9936-4156-ab83-8c1b00fb0553"}},"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@babel/types":"^8.0.4","@babel/parser":"^8.0.4","@babel/traverse":"^8.0.4","@babel/generator":"^8.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14","vitest":"^4.1.10","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^26.1.1","typescript-7":"npm:typescript@^7.0.2","@assistant-ui/x-buildutils":"0.0.19","@assistant-ui/x-generative-compiler":"^0.0.10"},"_npmOperationalInternal":{"tmp":"tmp/metro_0.0.6_1785051117446_0.4681705082073766","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@assistant-ui/metro","version":"0.0.7","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"author":"AgentbaseAI Inc.","license":"MIT","_id":"@assistant-ui/metro@0.0.7","maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"homepage":"https://www.assistant-ui.com/","bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"dist":{"shasum":"05b57895b31c19eabeb6d966bf9bcbfe4f41a62a","tarball":"https://registry.npmjs.org/@assistant-ui/metro/-/metro-0.0.7.tgz","fileCount":15,"integrity":"sha512-P7bfX1inIbwXbcMLyoUjeqmTID33yT73qtFhPfaXBLGPtsweywS/SyUE9YI2Zvo1Oz+kB3CkzQhf4AmkjxVfgA==","signatures":[{"sig":"MEUCIFDLquzeLULv0fQ1f8wGXRC1rp2pEDbMJ/8geWfirTqVAiEAy/1wXPvq9tBP0PLSaeeBNymObdQQ6HCdau5CfgdwQQk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@assistant-ui%2fmetro@0.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":317650},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"./transformer":{"types":"./dist/transformer.d.cts","default":"./dist/transformer.cjs"}},"scripts":{"test":"vitest run","build":"tsdown","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98386e92-9936-4156-ab83-8c1b00fb0553"}},"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@babel/types":"^8.0.4","@babel/parser":"^8.0.4","@babel/traverse":"^8.0.4","@babel/generator":"^8.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14","vitest":"^4.1.10","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^26.1.1","typescript-7":"npm:typescript@^7.0.2","@assistant-ui/x-buildutils":"0.0.21","@assistant-ui/x-generative-compiler":"^0.0.11"},"_npmOperationalInternal":{"tmp":"tmp/metro_0.0.7_1786014866837_0.29944037673592017","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@assistant-ui/metro","version":"0.0.8","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"author":"AgentbaseAI Inc.","license":"MIT","_id":"@assistant-ui/metro@0.0.8","maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"homepage":"https://www.assistant-ui.com/","bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"dist":{"shasum":"a4af3ec6d29f20620283a4dd4f82fda8b51d5747","tarball":"https://registry.npmjs.org/@assistant-ui/metro/-/metro-0.0.8.tgz","fileCount":15,"integrity":"sha512-VAoegkEVmgFP71XTgwf8/5oKCI4IxB/IJ2Xz2OQL3fMB7kD9uxRGpo/4cUmRDjcyvuDiCVk+qZX2StsngdhYaA==","signatures":[{"sig":"MEUCICOrDZ620Tc1/d4do5xYb7U/ogJP5pbw5XGNgcv/lyvjAiEA02XIaXxdz4twXliXBYPkXgXvkX2aoKZkgiP4Gr0kwOo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@assistant-ui%2fmetro@0.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":317957},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"./transformer":{"types":"./dist/transformer.d.cts","default":"./dist/transformer.cjs"}},"scripts":{"test":"vitest run","build":"tsdown","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98386e92-9936-4156-ab83-8c1b00fb0553"}},"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@babel/types":"^8.0.4","@babel/parser":"^8.0.4","@babel/traverse":"^8.0.4","@babel/generator":"^8.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14","vitest":"^4.1.10","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^26.1.2","typescript-7":"npm:typescript@^7.0.2","@assistant-ui/x-buildutils":"0.0.22","@assistant-ui/x-generative-compiler":"^0.0.12"},"_npmOperationalInternal":{"tmp":"tmp/metro_0.0.8_1786180842374_0.4213049114020153","host":"s3://npm-registry-packages-npm-production"}},"0.0.10":{"name":"@assistant-ui/metro","version":"0.0.10","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"author":"AgentbaseAI Inc.","license":"MIT","_id":"@assistant-ui/metro@0.0.10","maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"homepage":"https://www.assistant-ui.com/","bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"dist":{"shasum":"e16a44a613dc76130e40276ecb38abaca70621c7","tarball":"https://registry.npmjs.org/@assistant-ui/metro/-/metro-0.0.10.tgz","fileCount":15,"integrity":"sha512-CmE1CCL7lVyEac9zPX4XZm1wUNOGqpzcyJG+jekNO2BTOmMsi3aZw31rDRZBK0sontdUUhkP8fiI25UpO3fAzg==","signatures":[{"sig":"MEQCIH5gWXnLmOOXE2ZOtpKmq8e5K5a/P4BnMlJZwuIaq07uAiAepxdTJfb7sdpaDN0v5K8KOtDGk9IrOcrwKV1v6X7gRg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@assistant-ui%2fmetro@0.0.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":323951},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"./transformer":{"types":"./dist/transformer.d.cts","default":"./dist/transformer.cjs"}},"scripts":{"test":"vitest run","build":"tsdown","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98386e92-9936-4156-ab83-8c1b00fb0553"}},"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@babel/types":"^8.0.4","@babel/parser":"^8.0.4","@babel/traverse":"^8.0.4","@babel/generator":"^8.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14","vitest":"^4.1.10","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^26.2.0","typescript-7":"npm:typescript@^7.0.2","@assistant-ui/x-buildutils":"0.0.23","@assistant-ui/x-generative-compiler":"^0.0.14"},"_npmOperationalInternal":{"tmp":"tmp/metro_0.0.10_1787037033318_0.35413164997032354","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"@assistant-ui/metro","version":"0.0.11","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"author":"AgentbaseAI Inc.","license":"MIT","_id":"@assistant-ui/metro@0.0.11","maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"homepage":"https://www.assistant-ui.com/","bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"dist":{"shasum":"b718015ae28015c9ce51e8381d6b334fd8cafc4b","tarball":"https://registry.npmjs.org/@assistant-ui/metro/-/metro-0.0.11.tgz","fileCount":15,"integrity":"sha512-A5Q41EfyRuMw7zs9tZcxOkqJb4oglnmII6T8Jx4zWcEN8tnjPvkoUpQpWqWUmsAfmyjDv7gPnAfZpa63Vv4m7A==","signatures":[{"sig":"MEUCIQCTsH1umthpRHlkBNxrAyJ5rZUJhc01K/Dw+dE9vLUPqAIgRHfBHOPX1MnEu0/qPr0U7oQ1qT3RwPIaHGV+5H/0B2Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@assistant-ui%2fmetro@0.0.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":323846},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"./transformer":{"types":"./dist/transformer.d.cts","default":"./dist/transformer.cjs"}},"scripts":{"test":"vitest run","build":"aui-build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98386e92-9936-4156-ab83-8c1b00fb0553"}},"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@babel/types":"^8.0.4","@babel/parser":"^8.0.4","@babel/traverse":"^8.0.4","@babel/generator":"^8.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.11","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^26.2.0","typescript-7":"npm:typescript@^7.0.2","@assistant-ui/x-buildutils":"0.0.24","@assistant-ui/x-generative-compiler":"^0.0.15"},"_npmOperationalInternal":{"tmp":"tmp/metro_0.0.11_1787855743786_0.23581585965784035","host":"s3://npm-registry-packages-npm-production"}},"0.0.12":{"name":"@assistant-ui/metro","version":"0.0.12","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"author":"AgentbaseAI Inc.","license":"MIT","_id":"@assistant-ui/metro@0.0.12","maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"homepage":"https://www.assistant-ui.com/","bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"dist":{"shasum":"cf6d00a3d00a8d73afe2ad4ba699a2d995c494ce","tarball":"https://registry.npmjs.org/@assistant-ui/metro/-/metro-0.0.12.tgz","fileCount":15,"integrity":"sha512-iDxu2IIsxu4cfZqpFL3FJBLyQKRdENjAgBwRa9X87th7NrEDCKpmNbRC29V0v11AeVwVOO/6x3CRtMxQP6+hoA==","signatures":[{"sig":"MEUCIGOdLjpWiLztipwpsbZeSsA82KbPBlJ2p97Vyn8S14EpAiEA8EKo14fNjO7/qK9vaQB5hCjU6TkEa7XGzyDXd3L04XI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@assistant-ui%2fmetro@0.0.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":323846},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"./transformer":{"types":"./dist/transformer.d.cts","default":"./dist/transformer.cjs"}},"scripts":{"test":"vitest run","build":"aui-build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98386e92-9936-4156-ab83-8c1b00fb0553"}},"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","directories":{},"dependencies":{"@babel/types":"^8.0.4","@babel/parser":"^8.0.4","@babel/traverse":"^8.0.4","@babel/generator":"^8.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.11","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^26.4.0","typescript-7":"npm:typescript@^7.0.2","@assistant-ui/x-buildutils":"0.0.25","@assistant-ui/x-generative-compiler":"^0.0.16"},"_npmOperationalInternal":{"tmp":"tmp/metro_0.0.12_1788445445401_0.5611979886664771","host":"s3://npm-registry-packages-npm-production"}},"0.0.13":{"name":"@assistant-ui/metro","version":"0.0.13","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"author":"AgentbaseAI Inc.","license":"MIT","_id":"@assistant-ui/metro@0.0.13","maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"homepage":"https://www.assistant-ui.com/","bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"dist":{"shasum":"010fdbc5b040472283bad7daa136688a2968ca84","tarball":"https://registry.npmjs.org/@assistant-ui/metro/-/metro-0.0.13.tgz","fileCount":15,"integrity":"sha512-AwxRYbL1FdKM6NNJLDV0c8rb0n+eG0U7NcOAQEr0BTYYga25ymrD+tIiyLGCQhe8hh+v6wayJyyteTF9x77yuw==","signatures":[{"sig":"MEUCIQDH8QRP4ni93wVtvE9M9xmHIkdPkWoZnBDd51nqhKfYSwIgbrtahMyL9mh5VrD97V8joposg6vqHc3sKf+zZB6nlcs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@assistant-ui%2fmetro@0.0.13","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":328939},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"./transformer":{"types":"./dist/transformer.d.cts","default":"./dist/transformer.cjs"}},"scripts":{"test":"vitest run","build":"aui-build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98386e92-9936-4156-ab83-8c1b00fb0553"}},"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","directories":{},"dependencies":{"@babel/types":"^8.0.4","@babel/parser":"^8.0.4","@babel/traverse":"^8.0.4","@babel/generator":"^8.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.11","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^26.4.1","typescript-7":"npm:typescript@^7.0.2","@assistant-ui/x-buildutils":"0.0.26","@assistant-ui/x-generative-compiler":"^0.0.17"},"_npmOperationalInternal":{"tmp":"tmp/metro_0.0.13_1789140496269_0.46954019081757825","host":"s3://npm-registry-packages-npm-production"}},"0.0.14":{"name":"@assistant-ui/metro","version":"0.0.14","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"author":"AgentbaseAI Inc.","license":"MIT","_id":"@assistant-ui/metro@0.0.14","maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"homepage":"https://www.assistant-ui.com/","bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"dist":{"shasum":"05df951d91aca5615f374ec63507258fb401d04b","tarball":"https://registry.npmjs.org/@assistant-ui/metro/-/metro-0.0.14.tgz","fileCount":15,"integrity":"sha512-d73CRSwLzDLYzRPFDd97+h5LtrZIe+s3U22crb/e+mBYHrRNO8yU8YefKOT9TRulqV/mu68CvLC1QRuO6u01+g==","signatures":[{"sig":"MEYCIQDVqG4d+u7mtbAUhhVu4JmDj9rvsO5QpERBBYQujSBm7AIhAIQqh7pIAN7jvi9xCykurZ0eV0ImnEheIMO/pwFFSvc2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBr4MWJ2HqcIySXpyflZRHDOp90Xn5AUjgNtmtc+Tp+nAiEA9tyZ76S2qpJ3F/6eoB7YU2hDGTYhMwDrRQJGYQU/LxE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@assistant-ui%2fmetro@0.0.14","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":328892},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"./transformer":{"types":"./dist/transformer.d.cts","default":"./dist/transformer.cjs"}},"scripts":{"test":"vitest run","build":"aui-build","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98386e92-9936-4156-ab83-8c1b00fb0553"}},"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","directories":{},"dependencies":{"@babel/types":"^8.0.5","@babel/parser":"^8.0.5","@babel/traverse":"^8.0.5","@babel/generator":"^8.0.5"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.1","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^26.5.1","typescript-7":"npm:typescript@^7.0.2","@assistant-ui/x-buildutils":"0.0.28","@assistant-ui/x-generative-compiler":"^0.0.18"},"_npmOperationalInternal":{"tmp":"tmp/metro_0.0.14_1789744512131_0.40602044571001583","host":"s3://npm-registry-packages-npm-production"}},"0.0.15":{"_id":"@assistant-ui/metro@0.0.15","bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"dist":{"shasum":"aa58e4f0ff05fecda1e39b71bf71a6e42cb11c2a","tarball":"https://registry.npmjs.org/@assistant-ui/metro/-/metro-0.0.15.tgz","fileCount":15,"integrity":"sha512-zH6ULQSwa48pSmxYtvrhDejqSZpwc7jILSeOra1nRfZ+Zy3u8PCSgvCcfEMF4okPgryDll7GC0yM/azouJTJLw==","signatures":[{"sig":"MEQCIBtCTfgtmv0EjfXPlgJsuiKLKsZiOaoqetXMjJW7mvMTAiA8yUBZeew++YtVByQ33hbo1RJLc3YVHITFD3oars+s7g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD5tCanU8Q3/4Y0h7t4onVRE7lcN4YmTuQnqe7k1V2odgIgER8OWw4XWTRd5n7J7aLCetmbg0oUatsd4EFi6tv7LVk="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@assistant-ui%2fmetro@0.0.15","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":328896},"main":"./dist/index.cjs","name":"@assistant-ui/metro","types":"./dist/index.d.cts","author":"AgentbaseAI Inc.","exports":{".":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"./transformer":{"types":"./dist/transformer.d.cts","default":"./dist/transformer.cjs"}},"license":"MIT","scripts":{"test":"vitest run","build":"aui-build","typecheck":"tsc --noEmit","test:watch":"vitest"},"version":"0.0.15","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:98386e92-9936-4156-ab83-8c1b00fb0553"}},"homepage":"https://www.assistant-ui.com/","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","directories":{},"maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"dependencies":{"@babel/types":"^7.29.7","@babel/parser":"^7.29.7","@babel/traverse":"^7.29.7","@babel/generator":"^7.29.7"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.1","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^26.5.1","typescript-7":"npm:typescript@^7.0.2","@assistant-ui/x-buildutils":"0.0.29","@assistant-ui/x-generative-compiler":"^0.0.19"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/metro_0.0.15_1790252289915_0.46234933038371007"}}},"time":{"created":"2026-06-08T17:52:22.944Z","modified":"2026-09-24T12:18:10.356Z","0.0.1":"2026-06-08T17:52:23.271Z","0.0.2":"2026-06-08T17:53:34.566Z","0.0.3":"2026-06-14T03:33:09.619Z","0.0.4":"2026-06-25T05:08:05.064Z","0.0.5":"2026-07-16T15:37:19.675Z","0.0.6":"2026-07-26T07:31:57.585Z","0.0.7":"2026-08-06T11:14:26.979Z","0.0.8":"2026-08-08T09:20:42.517Z","0.0.10":"2026-08-18T07:10:33.450Z","0.0.11":"2026-08-27T18:35:43.962Z","0.0.12":"2026-09-03T14:24:05.551Z","0.0.13":"2026-09-11T15:28:16.434Z","0.0.14":"2026-09-18T15:15:12.265Z","0.0.15":"2026-09-24T12:18:10.001Z"},"bugs":{"url":"https://github.com/assistant-ui/assistant-ui/issues"},"author":"AgentbaseAI Inc.","license":"MIT","homepage":"https://www.assistant-ui.com/","keywords":["assistant-ui","metro","expo","react-native","generative","use generative","babel-transformer"],"repository":{"url":"git+https://github.com/assistant-ui/assistant-ui.git","type":"git","directory":"packages/metro"},"description":"Metro / Expo integration for assistant-ui: the \"use generative\" directive compiler that colocates a tool's schema, server execute, and client render in one file. Works with Expo and bare React Native.","maintainers":[{"name":"yonom","email":"simon.farshid@outlook.com"},{"name":"agentbase-bot","email":"npm@assistant-ui.com"}],"readme":"# @assistant-ui/metro\n\nMetro / Expo integration for [assistant-ui](https://www.assistant-ui.com): the\n`\"use generative\"` directive compiler for React Native. It lets you author tools\nwith the **same** [`defineToolkit`](https://www.assistant-ui.com/docs/tools/defining-tools)\nAPI as on the web: one file colocating a tool's schema, its `execute`, and its\n`render`, then compiles them for the device (and any Expo Router server route).\n\nWorks with **Expo** and **bare React Native** (both bundle with Metro).\n\n## Install\n\n```sh\nnpm install --save-dev @assistant-ui/metro\n```\n\n## Setup\n\nWrap your Metro config with `withAui`:\n\n```js\n// metro.config.js\nconst { getDefaultConfig } = require(\"expo/metro-config\");\nconst { withAui } = require(\"@assistant-ui/metro\");\n\nconst config = getDefaultConfig(__dirname);\n\nmodule.exports = withAui(config);\n```\n\nBare React Native (without Expo):\n\n```js\n// metro.config.js\nconst { getDefaultConfig } = require(\"@react-native/metro-config\");\nconst { withAui } = require(\"@assistant-ui/metro\");\n\nmodule.exports = withAui(getDefaultConfig(__dirname));\n```\n\n## Usage\n\nAuthor a `\"use generative\"` toolkit exactly like on the web, importing\n`defineToolkit` from `@assistant-ui/react-native`:\n\n```tsx\n// toolkit.tsx\n\"use generative\";\n\nimport { defineToolkit } from \"@assistant-ui/react-native\";\nimport { z } from \"zod\";\nimport { WeatherCard } from \"./WeatherCard\";\n\nexport default defineToolkit({\n  get_weather: {\n    description: \"Get the weather for a city.\",\n    parameters: z.object({ city: z.string() }),\n    execute: async ({ city }) => {\n      \"use client\";\n      return fetchWeather(city);\n    },\n    render: ({ args, result }) => <WeatherCard city={args.city} weather={result} />,\n  },\n});\n```\n\nRegister it with `Tools({ toolkit })`, the same as on the web:\n\n```tsx\nimport type { ReactNode } from \"react\";\nimport {\n  AssistantRuntimeProvider,\n  AuiConfig,\n  Tools,\n  useLocalRuntime,\n} from \"@assistant-ui/react-native\";\nimport toolkit from \"./toolkit\";\nimport { modelAdapter } from \"./modelAdapter\";\n\nconst config = AuiConfig({ tools: Tools({ toolkit }) });\n\nconst App = ({ children }: { children: ReactNode }) => {\n  const runtime = useLocalRuntime(modelAdapter);\n  return (\n    <AssistantRuntimeProvider runtime={runtime} config={config}>\n      {children}\n    </AssistantRuntimeProvider>\n  );\n};\n```\n\n## How it works\n\n`withAui` points Metro's `babelTransformerPath` at this package's transformer,\nwhich runs the `\"use generative\"` compiler and then delegates to your project's\nexisting transformer (Expo's or React Native's).\n\nThe build target follows Metro's environment: the device app gets the **client**\nbuild (schema + `render` + frontend `execute`), while an Expo Router `+api`\nroute (bundled for a server environment) gets the **server** build (schema +\nbackend `execute`). This mirrors [`@assistant-ui/next`](https://www.assistant-ui.com/docs/tools/defining-tools)\nand `@assistant-ui/vite`.\n\nSee the [Tools docs](https://www.assistant-ui.com/docs/tools/defining-tools) for\nthe full authoring API.\n","readmeFilename":""}