{"_id":"@cool-ai/beach-llm-mastra","_rev":"15-f86f8bab91eead5e4dd717dc9786aa93","name":"@cool-ai/beach-llm-mastra","dist-tags":{"latest":"0.1.14"},"versions":{"0.1.0":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.0","license":"Apache-2.0","_id":"@cool-ai/beach-llm-mastra@0.1.0","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"dist":{"shasum":"39969330d6b19476f7ba55cb895ca799e99a35a9","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.0.tgz","fileCount":15,"integrity":"sha512-1/JgIFhsl4jKatVK6MduVCbWQ+kFmrPG2TQ/pCwCNjPmqw/g0chztPGzcX5BgHSAI6MNuw1fNLK0fb6SiGEQXg==","signatures":[{"sig":"MEUCIB6rbr9vMjxksJt09rYNsibmnQmOrkA1IHvnUJ8RG7C8AiEAurw/9VjhzNAykHGUyDoJgHiGk0EQYgH87zF+T61hh18=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61502},"type":"module","_from":"file:cool-ai-beach-llm-mastra-0.1.0.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --project tsconfig.json --watch","test":"vitest run","build":"tsc --project tsconfig.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"_resolved":"/tmp/22f0f38f040d4646ce052b4d8e07ec6d/cool-ai-beach-llm-mastra-0.1.0.tgz","_integrity":"sha512-1/JgIFhsl4jKatVK6MduVCbWQ+kFmrPG2TQ/pCwCNjPmqw/g0chztPGzcX5BgHSAI6MNuw1fNLK0fb6SiGEQXg==","repository":{"url":"git+https://gitlab.com/johncandrew/beach.git","type":"git","directory":"packages/llm-mastra"},"_npmVersion":"10.9.7","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@cool-ai/beach-llm":"0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beach-llm-mastra_0.1.0_1777596497065_0.09459684651993738","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.1","license":"Apache-2.0","_id":"@cool-ai/beach-llm-mastra@0.1.1","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"dist":{"shasum":"4d42728fc325ff5f10b56ee467c2faa8109edfcc","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.1.tgz","fileCount":15,"integrity":"sha512-9YG1J5yRMrSrVsxVJsVqWs5MBMImCHemWNyr9P/vaeIvjpCtYnZyCSKWiblai/ESbSLreQ3kbM4Wi8oqiSS5Jw==","signatures":[{"sig":"MEUCIGsm2k0vAwbVtNwSUwFSblgsCUUd7IoaSg9Dj7QcRpTPAiEAycDDepCKmqH0sUUbahMu/zbUi/A6btaTlqYV/NUDtF8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61502},"type":"module","_from":"file:cool-ai-beach-llm-mastra-0.1.1.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --project tsconfig.json --watch","test":"vitest run","build":"tsc --project tsconfig.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"_resolved":"/tmp/a8743442e6b5b2c3ef88824e09d180bf/cool-ai-beach-llm-mastra-0.1.1.tgz","_integrity":"sha512-9YG1J5yRMrSrVsxVJsVqWs5MBMImCHemWNyr9P/vaeIvjpCtYnZyCSKWiblai/ESbSLreQ3kbM4Wi8oqiSS5Jw==","repository":{"url":"git+https://gitlab.com/johncandrew/beach.git","type":"git","directory":"packages/llm-mastra"},"_npmVersion":"10.9.7","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@cool-ai/beach-llm":"0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beach-llm-mastra_0.1.1_1777597323994_0.4526615372168792","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.2","license":"Apache-2.0","_id":"@cool-ai/beach-llm-mastra@0.1.2","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"dist":{"shasum":"9c76c6dcc99fad994ede4b1ba0114b892765cbe5","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.2.tgz","fileCount":15,"integrity":"sha512-OrkZ6w45ye1uYQQMSufhW/Gly/YkIPHcYhbHn0Fe8ds6iJYZVlY1j5xxj0wuvDUn09+13YVYTSuG14um7mOhlg==","signatures":[{"sig":"MEYCIQCLSvhDdF1Txr3CcPfiipMcUFNgAyEDxEvzzVCWUp2h5gIhAJk7sk12eHQGu7aduL24Nk9F1KvlBFpEUbncNN7BO9zy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61502},"type":"module","_from":"file:cool-ai-beach-llm-mastra-0.1.2.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --project tsconfig.json --watch","test":"vitest run","build":"tsc --project tsconfig.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"_resolved":"/tmp/949ca6f3f824e0a1d918bac259be11b5/cool-ai-beach-llm-mastra-0.1.2.tgz","_integrity":"sha512-OrkZ6w45ye1uYQQMSufhW/Gly/YkIPHcYhbHn0Fe8ds6iJYZVlY1j5xxj0wuvDUn09+13YVYTSuG14um7mOhlg==","repository":{"url":"git+https://gitlab.com/johncandrew/beach.git","type":"git","directory":"packages/llm-mastra"},"_npmVersion":"10.9.7","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@cool-ai/beach-llm":"0.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beach-llm-mastra_0.1.2_1777662567646_0.17270616923540838","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.3","license":"Apache-2.0","_id":"@cool-ai/beach-llm-mastra@0.1.3","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"dist":{"shasum":"4d1ffc0ff89f7a0ae5f2bbadf89ddec84a4e2a57","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.3.tgz","fileCount":15,"integrity":"sha512-IKa5O8X1DejBNydUjfy4MnZGayXuId2LqCRQYf5yLIgtTqes0cEvS8VF04pwlkoe8mFWXK03zEA6u9+Np631EQ==","signatures":[{"sig":"MEYCIQCRKQEkP4W0Ko+h/22VRyIQLOG7M691NDvvEdIOpiDjIAIhANMGZ6ayDr53Ehj7ikw5UUCYO3sB3dY3xfBGHQnV5sGU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61502},"type":"module","_from":"file:cool-ai-beach-llm-mastra-0.1.3.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --project tsconfig.json --watch","test":"vitest run","build":"tsc --project tsconfig.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"_resolved":"/tmp/8b48146933e447cbccf8bd4d49dc26c8/cool-ai-beach-llm-mastra-0.1.3.tgz","_integrity":"sha512-IKa5O8X1DejBNydUjfy4MnZGayXuId2LqCRQYf5yLIgtTqes0cEvS8VF04pwlkoe8mFWXK03zEA6u9+Np631EQ==","repository":{"url":"git+https://gitlab.com/johncandrew/beach.git","type":"git","directory":"packages/llm-mastra"},"_npmVersion":"10.9.7","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@cool-ai/beach-llm":"0.6.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beach-llm-mastra_0.1.3_1777752271643_0.06195558331379991","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.4","license":"Apache-2.0","_id":"@cool-ai/beach-llm-mastra@0.1.4","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"dist":{"shasum":"2ae71b4a531bd6d41da7c2586c910ba3ee05c9b0","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.4.tgz","fileCount":15,"integrity":"sha512-I8qIlxAKUk5To0VhHcOnc2ooK5dMoLS5UvvekDo+dCb/EWVj59JbhXYCftuhMdIWgV9YGuEpYuP5XjRrhLL3MA==","signatures":[{"sig":"MEUCIHCyUzwJpNIH6XSS+sSy7TeXKStoLnClw66bN8QezLYtAiEAgG6HFfco1uSErB3i3xozpI1tuIgafaPX0k2MGeUkrsY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61502},"type":"module","_from":"file:cool-ai-beach-llm-mastra-0.1.4.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --project tsconfig.json --watch","test":"vitest run","build":"tsc --project tsconfig.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"_resolved":"/tmp/e91bcac798ca2d5517014481525becf3/cool-ai-beach-llm-mastra-0.1.4.tgz","_integrity":"sha512-I8qIlxAKUk5To0VhHcOnc2ooK5dMoLS5UvvekDo+dCb/EWVj59JbhXYCftuhMdIWgV9YGuEpYuP5XjRrhLL3MA==","repository":{"url":"git+https://gitlab.com/johncandrew/beach.git","type":"git","directory":"packages/llm-mastra"},"_npmVersion":"10.9.7","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@cool-ai/beach-llm":"0.6.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beach-llm-mastra_0.1.4_1777923917935_0.35101640054342487","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.5","license":"Apache-2.0","_id":"@cool-ai/beach-llm-mastra@0.1.5","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"dist":{"shasum":"a1728529e148164f7a1edfde2137a1735e93a314","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.5.tgz","fileCount":15,"integrity":"sha512-fh6wXbcuvFhQ2rgj14V+nxGuta4SL4XLvuGtiWtOEBzjpreP+QedRRdc7XYEs2/deBkZDQ/7d6cykgf5WU0xnw==","signatures":[{"sig":"MEQCICflJYa/M/oC5Fu7YKlpHq96sWVWkGg2CV2KvP+zqWWaAiBnKW44Dw2jsuXkSH1mELp1IknD0CYWhzpxFov26Bn1mg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63358},"type":"module","_from":"file:cool-ai-beach-llm-mastra-0.1.5.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --project tsconfig.json --watch","test":"vitest run","build":"tsc --project tsconfig.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"_resolved":"/tmp/5ce42cb0b5423a1ed7fa6074771f64db/cool-ai-beach-llm-mastra-0.1.5.tgz","_integrity":"sha512-fh6wXbcuvFhQ2rgj14V+nxGuta4SL4XLvuGtiWtOEBzjpreP+QedRRdc7XYEs2/deBkZDQ/7d6cykgf5WU0xnw==","repository":{"url":"git+https://gitlab.com/johncandrew/beach.git","type":"git","directory":"packages/llm-mastra"},"_npmVersion":"10.9.7","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@cool-ai/beach-llm":"0.6.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beach-llm-mastra_0.1.5_1778003253844_0.35432446329222445","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.6","license":"Apache-2.0","_id":"@cool-ai/beach-llm-mastra@0.1.6","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"dist":{"shasum":"217bba648de1d119edad5e3ea381138f993fc7f5","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.6.tgz","fileCount":11,"integrity":"sha512-rBrSYVAxaNLL02XRp7eQSXeUWSAQZIA+7FgL6xo7G+AQsUeNWqdZQmUVFC8zYYB1Eqmv3jQmJhJjq9HdrbuoGQ==","signatures":[{"sig":"MEQCICQZb23ubrXm0NQP2PQH2NHjOQc3s6kN1uGBMqlyTTRNAiAeUbIFTrIIQX5tdfT019I0OhUgXcjzei7CmGX2AjcP9w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37632},"type":"module","_from":"file:cool-ai-beach-llm-mastra-0.1.6.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --project tsconfig.json --watch","test":"vitest run","build":"tsc --project tsconfig.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"_resolved":"/tmp/994890a3b4cc09aece21de611fd7c198/cool-ai-beach-llm-mastra-0.1.6.tgz","_integrity":"sha512-rBrSYVAxaNLL02XRp7eQSXeUWSAQZIA+7FgL6xo7G+AQsUeNWqdZQmUVFC8zYYB1Eqmv3jQmJhJjq9HdrbuoGQ==","repository":{"url":"git+https://gitlab.com/johncandrew/beach.git","type":"git","directory":"packages/llm-mastra"},"_npmVersion":"10.9.7","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@cool-ai/beach-llm":"0.6.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beach-llm-mastra_0.1.6_1778191675645_0.025776386217397418","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.7","license":"Apache-2.0","_id":"@cool-ai/beach-llm-mastra@0.1.7","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"dist":{"shasum":"fffab26683972137d8cc98d63c88f3703f6de7a7","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.7.tgz","fileCount":11,"integrity":"sha512-7/oyd7+Qv6UqCuB8mjshZo++n5/Wef+d54K55H6JkYfM4IDMWgIbT1HREGJlbinrxWQzYNJAc9kyAgMYBbc5Vg==","signatures":[{"sig":"MEUCIQDXUC6khovNLA5GH08jYScxsT5J+/wFJ1CZ2RIoTuy7yAIgG0yKqimFgTyCoSNlhX3xMx0JpSHm0uKU8vVLoySPx+M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37786},"type":"module","_from":"file:cool-ai-beach-llm-mastra-0.1.7.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --project tsconfig.json --watch","test":"vitest run","build":"tsc --project tsconfig.json","coverage":"vitest run --coverage","typecheck":"tsc --noEmit && tsc --noEmit --project tsconfig.test.json","test:watch":"vitest"},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"_resolved":"/tmp/03ba55f32be5967608351f780ff89afe/cool-ai-beach-llm-mastra-0.1.7.tgz","_integrity":"sha512-7/oyd7+Qv6UqCuB8mjshZo++n5/Wef+d54K55H6JkYfM4IDMWgIbT1HREGJlbinrxWQzYNJAc9kyAgMYBbc5Vg==","repository":{"url":"git+https://gitlab.com/johncandrew/beach.git","type":"git","directory":"packages/llm-mastra"},"_npmVersion":"10.9.7","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@cool-ai/beach-llm":"0.6.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0","@mastra/core":"0.10.15"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beach-llm-mastra_0.1.7_1778403641311_0.36574333567715467","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.8","license":"Apache-2.0","_id":"@cool-ai/beach-llm-mastra@0.1.8","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"dist":{"shasum":"6bd76663bdd222737122e2b745f56228dd82873c","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.8.tgz","fileCount":11,"integrity":"sha512-tzGKMaNQck1bqRd+5WYis1X4Vj60q378GCuxaf2hKDKzcsl5Am+DwOS76rJTTIGqcbH0UlCaZBPyVQodO1H+3w==","signatures":[{"sig":"MEYCIQCZSGn++sh/rCa7N0RPaaklWzZmvyobELlo1APejOq8QgIhAOj0vMK3F9lGBG+xQsPgJ563eU9VmNW2Z0NASOPW9uTx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37786},"type":"module","_from":"file:cool-ai-beach-llm-mastra-0.1.8.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --project tsconfig.json --watch","test":"vitest run","build":"tsc --project tsconfig.json","coverage":"vitest run --coverage","typecheck":"tsc --noEmit && tsc --noEmit --project tsconfig.test.json","test:watch":"vitest"},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"_resolved":"/tmp/4524374fb88cf28e7c4282e3bbcc06ff/cool-ai-beach-llm-mastra-0.1.8.tgz","_integrity":"sha512-tzGKMaNQck1bqRd+5WYis1X4Vj60q378GCuxaf2hKDKzcsl5Am+DwOS76rJTTIGqcbH0UlCaZBPyVQodO1H+3w==","repository":{"url":"git+https://gitlab.com/johncandrew/beach.git","type":"git","directory":"packages/llm-mastra"},"_npmVersion":"10.9.7","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@cool-ai/beach-llm":"0.6.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0","@mastra/core":"0.10.15"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beach-llm-mastra_0.1.8_1778436938144_0.3058569328150673","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.9","license":"Apache-2.0","_id":"@cool-ai/beach-llm-mastra@0.1.9","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"dist":{"shasum":"5e0d1e521c26d1698285447b8e85003bbc5d3f8d","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.9.tgz","fileCount":11,"integrity":"sha512-UyZ/NsxS3DR37lP3Mt5XabazGZuucz7j7HhJrPzShhPEQuYVZpPL61n/dGa0IrCEGk3/tn67EUt+wBRBtSODiA==","signatures":[{"sig":"MEYCIQCTxskbqmexOkt0OxlLI7rtWlEXfz4eoX//k2aIPfVA3gIhAL/lhVjBZLK+ejgWtS0dhxgoTRGvke1TVQpKj2YdMG/H","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37786},"type":"module","_from":"file:cool-ai-beach-llm-mastra-0.1.9.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --project tsconfig.json --watch","test":"vitest run","build":"tsc --project tsconfig.json","coverage":"vitest run --coverage","typecheck":"tsc --noEmit && tsc --noEmit --project tsconfig.test.json","test:watch":"vitest"},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"_resolved":"/tmp/e640c2dc5f49e6a76496d66a458dbbd1/cool-ai-beach-llm-mastra-0.1.9.tgz","_integrity":"sha512-UyZ/NsxS3DR37lP3Mt5XabazGZuucz7j7HhJrPzShhPEQuYVZpPL61n/dGa0IrCEGk3/tn67EUt+wBRBtSODiA==","repository":{"url":"git+https://gitlab.com/johncandrew/beach.git","type":"git","directory":"packages/llm-mastra"},"_npmVersion":"10.9.7","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@cool-ai/beach-llm":"0.6.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0","@mastra/core":"0.10.15"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beach-llm-mastra_0.1.9_1778440089738_0.46060605086384165","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.10","license":"Apache-2.0","_id":"@cool-ai/beach-llm-mastra@0.1.10","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"dist":{"shasum":"9452760129f1f550a6cf0b0e357182c3d664e1ef","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.10.tgz","fileCount":11,"integrity":"sha512-GCcA0LDQiKL8F2mSwmvvOFhkEFatPwSQVJdA7a5GHhOJlbM2DA1djoPkRd8hdI3LuVY9avA9/CPwywr2XDRlgQ==","signatures":[{"sig":"MEUCIQCwR++xEXxbPKs0Gwm3njBbEXz9oGXfuzbmjwqv5AUQDwIgUEpM9oKsTomsYx6crvMh2KgvbYXtHUeXN/7wMw6IDrM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37787},"type":"module","_from":"file:cool-ai-beach-llm-mastra-0.1.10.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --project tsconfig.json --watch","test":"vitest run","build":"tsc --project tsconfig.json","coverage":"vitest run --coverage","typecheck":"tsc --noEmit && tsc --noEmit --project tsconfig.test.json","test:watch":"vitest"},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"_resolved":"/tmp/3a3dad56d73aa77321492529b6425f97/cool-ai-beach-llm-mastra-0.1.10.tgz","_integrity":"sha512-GCcA0LDQiKL8F2mSwmvvOFhkEFatPwSQVJdA7a5GHhOJlbM2DA1djoPkRd8hdI3LuVY9avA9/CPwywr2XDRlgQ==","repository":{"url":"git+https://gitlab.com/johncandrew/beach.git","type":"git","directory":"packages/llm-mastra"},"_npmVersion":"10.9.7","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@cool-ai/beach-llm":"0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0","@mastra/core":"0.10.15"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beach-llm-mastra_0.1.10_1778459519883_0.7047672547775923","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.11","license":"Apache-2.0","_id":"@cool-ai/beach-llm-mastra@0.1.11","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"dist":{"shasum":"1c366008f31c615f3c0ea986ea9a13a43c8cfe77","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.11.tgz","fileCount":11,"integrity":"sha512-L+2QhAO/J0o8FU9+Cj3WYeCVPcKMfMu4AMwqyPIkbpDfhPPauZrCBcHQZtdbM/V5zwxo2tvXrUBll7fMtnkfHQ==","signatures":[{"sig":"MEUCIQDX1FBuLRwhmpCZkElWeFtp3x6/IBao7BesCIvuAM7kzgIgM/XtNcvPrPwBhqqS8pNNnu5UfdPkKjqbFFBvTPlGlJE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37787},"type":"module","_from":"file:cool-ai-beach-llm-mastra-0.1.11.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --project tsconfig.json --watch","test":"vitest run","build":"tsc --project tsconfig.json","coverage":"vitest run --coverage","typecheck":"tsc --noEmit && tsc --noEmit --project tsconfig.test.json","test:watch":"vitest"},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"_resolved":"/tmp/350885f55a6feee62c20549b8743daf7/cool-ai-beach-llm-mastra-0.1.11.tgz","_integrity":"sha512-L+2QhAO/J0o8FU9+Cj3WYeCVPcKMfMu4AMwqyPIkbpDfhPPauZrCBcHQZtdbM/V5zwxo2tvXrUBll7fMtnkfHQ==","repository":{"url":"git+https://gitlab.com/johncandrew/beach.git","type":"git","directory":"packages/llm-mastra"},"_npmVersion":"10.9.7","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@cool-ai/beach-llm":"0.7.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0","@mastra/core":"0.10.15"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beach-llm-mastra_0.1.11_1778466314187_0.5913747134260043","host":"s3://npm-registry-packages-npm-production"}},"0.1.12":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.12","license":"Apache-2.0","_id":"@cool-ai/beach-llm-mastra@0.1.12","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"dist":{"shasum":"5b99bb93274f2d209e5ec33f40fa4b2a7d01eb7e","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.12.tgz","fileCount":11,"integrity":"sha512-2bZE7d9FYPPOQ/DJED8Hg2AoZ3PVyQQfVpmdYvQX4IDfRA2rN9eGCVslp3eRiP72T4q/n2F8EyRuh6iAxul9CQ==","signatures":[{"sig":"MEUCIQDDPlwp/1hxdNC0rI3S0te2vGJAxeXcOwbRi0bEEkcFxwIgZjw/xtySzR8M8PBo7WvngfLZIVjgsBtDMUN+qEWIt3E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37788},"type":"module","_from":"file:cool-ai-beach-llm-mastra-0.1.12.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --project tsconfig.json --watch","test":"vitest run","build":"tsc --project tsconfig.json","coverage":"vitest run --coverage","typecheck":"tsc --noEmit && tsc --noEmit --project tsconfig.test.json","test:watch":"vitest"},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"_resolved":"/tmp/afc6af8ffc78c4007267fa2ca49d0cd4/cool-ai-beach-llm-mastra-0.1.12.tgz","_integrity":"sha512-2bZE7d9FYPPOQ/DJED8Hg2AoZ3PVyQQfVpmdYvQX4IDfRA2rN9eGCVslp3eRiP72T4q/n2F8EyRuh6iAxul9CQ==","repository":{"url":"git+https://gitlab.com/johncandrew/beach.git","type":"git","directory":"packages/llm-mastra"},"_npmVersion":"10.9.7","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@cool-ai/beach-llm":"^0.7.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0","@mastra/core":"0.10.15"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beach-llm-mastra_0.1.12_1778500639828_0.9538057546053214","host":"s3://npm-registry-packages-npm-production"}},"0.1.13":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.13","license":"Apache-2.0","_id":"@cool-ai/beach-llm-mastra@0.1.13","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"dist":{"shasum":"5411397594034613074504170f737913caab46e9","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.13.tgz","fileCount":11,"integrity":"sha512-XTDR18Mq1A135oxduyAo1XU2C/svUhtRtYa1Adfo9CRWmLpgbOAt0nDf0Ppdsnwbcfa7lxWMGLu+9/NOV8Mv/Q==","signatures":[{"sig":"MEYCIQCGFDBK/pi4uBoVfutc650ouWVYJrOX61Cndlz0IrrcPAIhANRrnPic3Qc8Fdhv5TAT9pt70QW2ETFBN5C6Qugp1E/A","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39710},"type":"module","_from":"file:cool-ai-beach-llm-mastra-0.1.13.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --project tsconfig.json --watch","test":"vitest run","build":"tsc --project tsconfig.json","coverage":"vitest run --coverage","typecheck":"tsc --noEmit && tsc --noEmit --project tsconfig.test.json","test:watch":"vitest"},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"_resolved":"/tmp/94f605121f2ea350846b794ed2c15aa4/cool-ai-beach-llm-mastra-0.1.13.tgz","_integrity":"sha512-XTDR18Mq1A135oxduyAo1XU2C/svUhtRtYa1Adfo9CRWmLpgbOAt0nDf0Ppdsnwbcfa7lxWMGLu+9/NOV8Mv/Q==","repository":{"url":"git+https://gitlab.com/johncandrew/beach.git","type":"git","directory":"packages/llm-mastra"},"_npmVersion":"10.9.8","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@cool-ai/beach-llm":"^0.7.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.5.0","@mastra/core":"0.10.15"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beach-llm-mastra_0.1.13_1780328414251_0.06883646210350336","host":"s3://npm-registry-packages-npm-production"}},"0.1.14":{"name":"@cool-ai/beach-llm-mastra","version":"0.1.14","description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","license":"Apache-2.0","repository":{"type":"git","url":"git+https://gitlab.com/johncandrew/beach.git","directory":"packages/llm-mastra"},"homepage":"https://cool-ai.org","bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"type":"module","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"publishConfig":{"access":"public"},"dependencies":{"@cool-ai/beach-llm":"^0.8.0"},"devDependencies":{"@mastra/core":"0.10.15","typescript":"^5.5.0","vitest":"^2.0.0"},"peerDependencies":{"@mastra/core":"^0.10.0"},"peerDependenciesMeta":{"@mastra/core":{"optional":false}},"scripts":{"build":"tsc --project tsconfig.json","dev":"tsc --project tsconfig.json --watch","test":"vitest run","coverage":"vitest run --coverage","test:watch":"vitest","typecheck":"tsc --noEmit && tsc --noEmit --project tsconfig.test.json"},"_id":"@cool-ai/beach-llm-mastra@0.1.14","_integrity":"sha512-7h3AO6NX2zC4zN/c6nS/WOatrCXaZ9OUh7oYO6tR0w+NPvAwMyv8TCIKlO3fnA+npuy6jfWqhJbLN9MN65j+8g==","_resolved":"/tmp/24b8475317748b3225a6c4bcbabbb84e/cool-ai-beach-llm-mastra-0.1.14.tgz","_from":"file:cool-ai-beach-llm-mastra-0.1.14.tgz","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-7h3AO6NX2zC4zN/c6nS/WOatrCXaZ9OUh7oYO6tR0w+NPvAwMyv8TCIKlO3fnA+npuy6jfWqhJbLN9MN65j+8g==","shasum":"e6f4531c3690b80c509abfe3859cd5897c96220c","tarball":"https://registry.npmjs.org/@cool-ai/beach-llm-mastra/-/beach-llm-mastra-0.1.14.tgz","fileCount":11,"unpackedSize":39715,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIH5M4UAmi1xNU5IKbilgodOzKiejh594dDRghkIgXHuFAiBhtopbm0EZzzhXaGaR4vUqjlTNVhL/K4jN/1TDfZQHzw=="}]},"_npmUser":{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"},"directories":{},"maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/beach-llm-mastra_0.1.14_1780572516740_0.2065234328878418"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-01T00:48:16.944Z","modified":"2026-06-04T11:28:37.224Z","0.1.0":"2026-05-01T00:48:17.243Z","0.1.1":"2026-05-01T01:02:04.193Z","0.1.2":"2026-05-01T19:09:27.799Z","0.1.3":"2026-05-02T20:04:31.796Z","0.1.4":"2026-05-04T19:45:18.063Z","0.1.5":"2026-05-05T17:47:33.998Z","0.1.6":"2026-05-07T22:07:55.771Z","0.1.7":"2026-05-10T09:00:41.456Z","0.1.8":"2026-05-10T18:15:38.278Z","0.1.9":"2026-05-10T19:08:09.872Z","0.1.10":"2026-05-11T00:32:00.026Z","0.1.11":"2026-05-11T02:25:14.347Z","0.1.12":"2026-05-11T11:57:19.987Z","0.1.13":"2026-06-01T15:40:14.433Z","0.1.14":"2026-06-04T11:28:36.983Z"},"bugs":{"url":"https://gitlab.com/johncandrew/beach/-/issues"},"license":"Apache-2.0","homepage":"https://cool-ai.org","repository":{"type":"git","url":"git+https://gitlab.com/johncandrew/beach.git","directory":"packages/llm-mastra"},"description":"Mastra adapter for Beach's LLMProvider — wraps a @mastra/core Agent so its model + tool runtime drives Beach actor turns.","maintainers":[{"name":"johncandrew","email":"johncandrew@yahoo.co.uk"}],"readme":"# @cool-ai/beach-llm-mastra\n\nMastra adapter for Beach's `LLMProvider`. Wraps a [`@mastra/core`](https://mastra.ai) Agent so its model + tool runtime drives Beach handler turns.\n\n> **Home:** [cool-ai.org](https://cool-ai.org) · **Documentation:** [cool-ai.org/docs](https://cool-ai.org/docs)\n\n## Why this exists\n\nBeach's `LLMProvider` interface is the seam where handler turns meet a model. Beach ships two implementations directly — `AnthropicProvider` (native Anthropic SDK, including extended-thinking) and `VercelAIProvider` (the Vercel AI SDK). This package adds a third: a wrap of a Mastra Agent. Consumers who have already built up a Mastra Agent — with its memory, instructions, tracing, lifecycle hooks — can drop it into Beach without rewriting their agent runtime.\n\nThe wrap is intentionally narrow. **Beach owns the turn loop** — `respond()` discipline, the ToolRegistry, manifests, the canonical pipeline. **Mastra contributes the model + tool runtime** and whatever ergonomics the consumer wired onto its Agent. The two responsibilities meet at one method (`agent.generate(messages, options)`); Beach normalises the result into its own `CompletionResult` shape.\n\n## Install\n\n```sh\nnpm install @cool-ai/beach-llm-mastra @mastra/core\n```\n\n`@mastra/core` is a peer dependency. Consumers supply their own Mastra Agent instance — the connection-injection convention shared by every Mastra-quarter adapter. Beach's interior never imports `@mastra/core`.\n\n## Usage\n\n```typescript\nimport { Agent } from '@mastra/core/agent';\nimport { openai } from '@ai-sdk/openai';\nimport { MastraProvider } from '@cool-ai/beach-llm-mastra';\nimport { runRespondLoop, ToolRegistry } from '@cool-ai/beach-llm';\n\nconst agent = new Agent({\n  name: 'concierge',\n  model: openai('gpt-4o'),\n  // Leave instructions empty — Beach passes its own `system` per call.\n  instructions: '',\n});\n\nconst provider = new MastraProvider(agent);\n\nconst result = await runRespondLoop({\n  config: {\n    id: 'concierge',\n    model: 'gpt-4o',\n    systemPrompt: '… your Beach handler system prompt …',\n    tools: ['fetch_user_bookings'],\n  },\n  provider,\n  registry: tools,\n  messages: [{ role: 'user', content: 'Suggest a quiet beach in Europe.' }],\n  sessionId: 'demo',\n});\n```\n\nThe Mastra Agent's `model`, `tools`, and any other configuration come from Mastra. The handler's prompt, tool list, and turn lifecycle come from Beach.\n\n## Canonical wrap-pattern signature\n\nEvery Mastra adapter Beach ships follows the same shape:\n\n| Concern | Where it lives |\n|---|---|\n| Underlying SDK / runtime client | Constructed by the **consumer**, passed to the adapter as a constructor argument. Beach never imports the SDK. |\n| Adapter class | Implements one Beach interface (here: `LLMProvider`). One method per surface (here: `complete()`). |\n| Configuration | Beach's per-call options (`CompletionOptions`) take precedence; adapter-level options refine the wrap (e.g. `instructionsAuthority`). |\n| Peer dependency | The underlying SDK (`@mastra/core`) is a peer dep, never a direct dep. Consumers pin their own version. |\n| Error handling | Errors from the underlying SDK propagate unchanged. Beach's respond() loop owns retry / fallback. |\n\nSubsequent adapters in the quarter (missives, channel, durable, evals, voice) follow the same shape. The canonical signature is the durable contract.\n\n## Configuration\n\n```typescript\nnew MastraProvider(agent, {\n  // Default: 'beach' — Beach's per-call `system` is forwarded as Mastra's\n  // `instructions` and overrides any Agent-level instructions for that call.\n  // Set to 'agent' to keep Agent-level instructions and ignore Beach's\n  // per-call `system` (rarely the right choice; Beach's handler configs\n  // expect their system prompt to be authoritative).\n  instructionsAuthority: 'beach',\n  // CAIB-280 — optional LLM round-trip observer. Fires onRequest before\n  // and onResponse after every `complete()` invocation, paired by\n  // requestId. Mirrors the AnthropicProvider / VercelAIProvider shape.\n  observer: llmObserver,\n  // Override the provider name stamped on observer events (default 'mastra').\n  providerName: 'mastra-prod',\n});\n```\n\n## Message normalisation\n\nBeach's `Message[]` shape (with text / thinking / tool_use / tool_result content parts) is mapped to Mastra's request shape (text / reasoning / tool-call / tool-result). Tool result messages are emitted as Mastra `role: 'tool'` messages with `tool-result` content parts. The bidirectional mapping mirrors `VercelAIProvider`'s — the two SDKs share the underlying AI SDK semantics.\n\n`thinking` blocks lose their signature on the way to Mastra (Mastra's reasoning content is plain text). Use `AnthropicProvider` for Anthropic models with extended thinking enabled.\n\n## Architectural commitments\n\n- Beach's interior never imports `@mastra/core`. `@cool-ai/beach-core`, `@cool-ai/beach-session`, `@cool-ai/beach-llm`, and the rest of Beach's runtime stay Mastra-independent. The adapter is the boundary.\n- No wrapping under any `@mastra/core/ee` path. The adapter targets only Apache-2.0 surfaces.\n- Mastra Agents are the consumer's concern. The adapter expects a constructed Agent and does not expose a builder API.\n\n## Related\n\n- [`beach-llm` README](../llm/README.md) — the `LLMProvider` interface this adapter implements.\n- `AnthropicProvider`, `VercelAIProvider` — the other two LLM provider implementations Beach ships.\n- Other Mastra adapters Beach ships follow the same wrap-pattern: missives, channel, durable, evals, voice.\n","readmeFilename":"README.md"}