reflex-agent 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -0
- package/.next/app-build-manifest.json +319 -0
- package/.next/app-path-routes-manifest.json +34 -0
- package/.next/build-manifest.json +33 -0
- package/.next/diagnostics/build-diagnostics.json +6 -0
- package/.next/diagnostics/framework.json +1 -0
- package/.next/export-marker.json +6 -0
- package/.next/images-manifest.json +58 -0
- package/.next/next-minimal-server.js.nft.json +1 -0
- package/.next/next-server.js.nft.json +1 -0
- package/.next/package.json +1 -0
- package/.next/prerender-manifest.json +160 -0
- package/.next/react-loadable-manifest.json +8 -0
- package/.next/required-server-files.json +337 -0
- package/.next/routes-manifest.json +282 -0
- package/.next/server/app/_not-found/page.js +2 -0
- package/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
- package/.next/server/app/_not-found.html +1 -0
- package/.next/server/app/_not-found.meta +8 -0
- package/.next/server/app/_not-found.rsc +18 -0
- package/.next/server/app/agents/[agentId]/page.js +3 -0
- package/.next/server/app/agents/[agentId]/page.js.nft.json +1 -0
- package/.next/server/app/agents/[agentId]/page_client-reference-manifest.js +1 -0
- package/.next/server/app/api/agents/[agentId]/respond/route.js +2 -0
- package/.next/server/app/api/agents/[agentId]/respond/route.js.nft.json +1 -0
- package/.next/server/app/api/agents/[agentId]/respond/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/images/[rootId]/[file]/route.js +1 -0
- package/.next/server/app/api/images/[rootId]/[file]/route.js.nft.json +1 -0
- package/.next/server/app/api/images/[rootId]/[file]/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/oauth/callback/route.js +22 -0
- package/.next/server/app/api/oauth/callback/route.js.nft.json +1 -0
- package/.next/server/app/api/oauth/callback/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/oauth/start/route.js +1 -0
- package/.next/server/app/api/oauth/start/route.js.nft.json +1 -0
- package/.next/server/app/api/oauth/start/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/roots/[id]/attachments/route.js +0 -0
- package/.next/server/app/api/roots/[id]/attachments/route.js.nft.json +1 -0
- package/.next/server/app/api/roots/[id]/attachments/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/roots/[id]/chat/[topicId]/send/route.js +2 -0
- package/.next/server/app/api/roots/[id]/chat/[topicId]/send/route.js.nft.json +1 -0
- package/.next/server/app/api/roots/[id]/chat/[topicId]/send/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/roots/[id]/chat/[topicId]/stop/route.js +2 -0
- package/.next/server/app/api/roots/[id]/chat/[topicId]/stop/route.js.nft.json +1 -0
- package/.next/server/app/api/roots/[id]/chat/[topicId]/stop/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/roots/[id]/chat/[topicId]/stream/route.js +8 -0
- package/.next/server/app/api/roots/[id]/chat/[topicId]/stream/route.js.nft.json +1 -0
- package/.next/server/app/api/roots/[id]/chat/[topicId]/stream/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/roots/[id]/dashboard/route.js +1 -0
- package/.next/server/app/api/roots/[id]/dashboard/route.js.nft.json +1 -0
- package/.next/server/app/api/roots/[id]/dashboard/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/roots/[id]/suggestions/route.js +1 -0
- package/.next/server/app/api/roots/[id]/suggestions/route.js.nft.json +1 -0
- package/.next/server/app/api/roots/[id]/suggestions/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/utilities/[scope]/[id]/bundle.js/route.js +1 -0
- package/.next/server/app/api/utilities/[scope]/[id]/bundle.js/route.js.nft.json +1 -0
- package/.next/server/app/api/utilities/[scope]/[id]/bundle.js/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/utilities/[scope]/[id]/host/route.js +2 -0
- package/.next/server/app/api/utilities/[scope]/[id]/host/route.js.nft.json +1 -0
- package/.next/server/app/api/utilities/[scope]/[id]/host/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/utilities/[scope]/[id]/host-api.mjs/route.js +55 -0
- package/.next/server/app/api/utilities/[scope]/[id]/host-api.mjs/route.js.nft.json +1 -0
- package/.next/server/app/api/utilities/[scope]/[id]/host-api.mjs/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/utilities/[scope]/[id]/host-ui.mjs/route.js +114 -0
- package/.next/server/app/api/utilities/[scope]/[id]/host-ui.mjs/route.js.nft.json +1 -0
- package/.next/server/app/api/utilities/[scope]/[id]/host-ui.mjs/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/utilities/[scope]/[id]/iframe/route.js +21 -0
- package/.next/server/app/api/utilities/[scope]/[id]/iframe/route.js.nft.json +1 -0
- package/.next/server/app/api/utilities/[scope]/[id]/iframe/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/utilities/[scope]/[id]/style.css/route.js +1 -0
- package/.next/server/app/api/utilities/[scope]/[id]/style.css/route.js.nft.json +1 -0
- package/.next/server/app/api/utilities/[scope]/[id]/style.css/route_client-reference-manifest.js +1 -0
- package/.next/server/app/audit/page.js +2 -0
- package/.next/server/app/audit/page.js.nft.json +1 -0
- package/.next/server/app/audit/page_client-reference-manifest.js +1 -0
- package/.next/server/app/index.html +1 -0
- package/.next/server/app/index.meta +9 -0
- package/.next/server/app/index.rsc +19 -0
- package/.next/server/app/onboarding/page.js +10 -0
- package/.next/server/app/onboarding/page.js.nft.json +1 -0
- package/.next/server/app/onboarding/page_client-reference-manifest.js +1 -0
- package/.next/server/app/page.js +2 -0
- package/.next/server/app/page.js.nft.json +1 -0
- package/.next/server/app/page_client-reference-manifest.js +1 -0
- package/.next/server/app/roots/[id]/chat/[topicId]/page.js +7 -0
- package/.next/server/app/roots/[id]/chat/[topicId]/page.js.nft.json +1 -0
- package/.next/server/app/roots/[id]/chat/[topicId]/page_client-reference-manifest.js +1 -0
- package/.next/server/app/roots/[id]/kb/[...slug]/page.js +6 -0
- package/.next/server/app/roots/[id]/kb/[...slug]/page.js.nft.json +1 -0
- package/.next/server/app/roots/[id]/kb/[...slug]/page_client-reference-manifest.js +1 -0
- package/.next/server/app/roots/[id]/page.js +5 -0
- package/.next/server/app/roots/[id]/page.js.nft.json +1 -0
- package/.next/server/app/roots/[id]/page_client-reference-manifest.js +1 -0
- package/.next/server/app/roots/[id]/workflows/[wfId]/page.js +2 -0
- package/.next/server/app/roots/[id]/workflows/[wfId]/page.js.nft.json +1 -0
- package/.next/server/app/roots/[id]/workflows/[wfId]/page_client-reference-manifest.js +1 -0
- package/.next/server/app/roots/[id]/workflows/page.js +2 -0
- package/.next/server/app/roots/[id]/workflows/page.js.nft.json +1 -0
- package/.next/server/app/roots/[id]/workflows/page_client-reference-manifest.js +1 -0
- package/.next/server/app/roots/new/page.js +5 -0
- package/.next/server/app/roots/new/page.js.nft.json +1 -0
- package/.next/server/app/roots/new/page_client-reference-manifest.js +1 -0
- package/.next/server/app/roots/new.html +1 -0
- package/.next/server/app/roots/new.meta +7 -0
- package/.next/server/app/roots/new.rsc +21 -0
- package/.next/server/app/settings/page.js +65 -0
- package/.next/server/app/settings/page.js.nft.json +1 -0
- package/.next/server/app/settings/page_client-reference-manifest.js +1 -0
- package/.next/server/app/settings.html +1 -0
- package/.next/server/app/settings.meta +7 -0
- package/.next/server/app/settings.rsc +22 -0
- package/.next/server/app/share/[id]/file/page.js +2 -0
- package/.next/server/app/share/[id]/file/page.js.nft.json +1 -0
- package/.next/server/app/share/[id]/file/page_client-reference-manifest.js +1 -0
- package/.next/server/app/share/[id]/page.js +2 -0
- package/.next/server/app/share/[id]/page.js.nft.json +1 -0
- package/.next/server/app/share/[id]/page_client-reference-manifest.js +1 -0
- package/.next/server/app/utilities/[scope]/[id]/page.js +2 -0
- package/.next/server/app/utilities/[scope]/[id]/page.js.nft.json +1 -0
- package/.next/server/app/utilities/[scope]/[id]/page_client-reference-manifest.js +1 -0
- package/.next/server/app/utilities/page.js +17 -0
- package/.next/server/app/utilities/page.js.nft.json +1 -0
- package/.next/server/app/utilities/page_client-reference-manifest.js +1 -0
- package/.next/server/app-paths-manifest.json +34 -0
- package/.next/server/chunks/1088.js +1 -0
- package/.next/server/chunks/1105.js +1 -0
- package/.next/server/chunks/1223.js +1 -0
- package/.next/server/chunks/1244.js +1 -0
- package/.next/server/chunks/133.js +490 -0
- package/.next/server/chunks/1888.js +1 -0
- package/.next/server/chunks/192.js +1 -0
- package/.next/server/chunks/1960.js +1 -0
- package/.next/server/chunks/1961.js +1 -0
- package/.next/server/chunks/1986.js +1 -0
- package/.next/server/chunks/2035.js +1 -0
- package/.next/server/chunks/2356.js +1 -0
- package/.next/server/chunks/2433.js +1 -0
- package/.next/server/chunks/2485.js +6 -0
- package/.next/server/chunks/2503.js +1 -0
- package/.next/server/chunks/3240.js +1 -0
- package/.next/server/chunks/3295.js +1 -0
- package/.next/server/chunks/3332.js +1 -0
- package/.next/server/chunks/3657.js +1 -0
- package/.next/server/chunks/4031.js +6 -0
- package/.next/server/chunks/4066.js +1 -0
- package/.next/server/chunks/4553.js +1 -0
- package/.next/server/chunks/4833.js +1 -0
- package/.next/server/chunks/4840.js +1 -0
- package/.next/server/chunks/4842.js +1 -0
- package/.next/server/chunks/4925.js +1 -0
- package/.next/server/chunks/5087.js +1 -0
- package/.next/server/chunks/5152.js +1 -0
- package/.next/server/chunks/5243.js +1 -0
- package/.next/server/chunks/5319.js +1 -0
- package/.next/server/chunks/5373.js +1 -0
- package/.next/server/chunks/5401.js +1 -0
- package/.next/server/chunks/5436.js +1 -0
- package/.next/server/chunks/5543.js +1 -0
- package/.next/server/chunks/569.js +1 -0
- package/.next/server/chunks/5895.js +16 -0
- package/.next/server/chunks/5986.js +3 -0
- package/.next/server/chunks/613.js +1 -0
- package/.next/server/chunks/6216.js +1 -0
- package/.next/server/chunks/6435.js +1 -0
- package/.next/server/chunks/6536.js +3 -0
- package/.next/server/chunks/6602.js +4 -0
- package/.next/server/chunks/6730.js +1 -0
- package/.next/server/chunks/6909.js +488 -0
- package/.next/server/chunks/7188.js +1 -0
- package/.next/server/chunks/7300.js +128 -0
- package/.next/server/chunks/7508.js +1 -0
- package/.next/server/chunks/7572.js +2 -0
- package/.next/server/chunks/8056.js +1 -0
- package/.next/server/chunks/8124.js +1 -0
- package/.next/server/chunks/8262.js +1 -0
- package/.next/server/chunks/8404.js +62 -0
- package/.next/server/chunks/8514.js +1 -0
- package/.next/server/chunks/8843.js +1 -0
- package/.next/server/chunks/9098.js +1 -0
- package/.next/server/chunks/9293.js +1 -0
- package/.next/server/chunks/9328.js +179 -0
- package/.next/server/chunks/94.js +1 -0
- package/.next/server/chunks/9579.js +1 -0
- package/.next/server/chunks/9631.js +16 -0
- package/.next/server/chunks/9692.js +6 -0
- package/.next/server/chunks/9739.js +108 -0
- package/.next/server/chunks/9803.js +22 -0
- package/.next/server/chunks/9835.js +1 -0
- package/.next/server/chunks/9842.js +1 -0
- package/.next/server/chunks/9861.js +128 -0
- package/.next/server/chunks/9995.js +1 -0
- package/.next/server/edge-runtime-webpack.js +2 -0
- package/.next/server/edge-runtime-webpack.js.map +1 -0
- package/.next/server/functions-config-manifest.json +21 -0
- package/.next/server/interception-route-rewrite-manifest.js +1 -0
- package/.next/server/middleware-build-manifest.js +1 -0
- package/.next/server/middleware-manifest.json +32 -0
- package/.next/server/middleware-react-loadable-manifest.js +1 -0
- package/.next/server/middleware.js +14 -0
- package/.next/server/middleware.js.map +1 -0
- package/.next/server/next-font-manifest.js +1 -0
- package/.next/server/next-font-manifest.json +1 -0
- package/.next/server/pages/404.html +1 -0
- package/.next/server/pages/500.html +1 -0
- package/.next/server/pages/_app.js +1 -0
- package/.next/server/pages/_app.js.nft.json +1 -0
- package/.next/server/pages/_document.js +1 -0
- package/.next/server/pages/_document.js.nft.json +1 -0
- package/.next/server/pages/_error.js +19 -0
- package/.next/server/pages/_error.js.nft.json +1 -0
- package/.next/server/pages-manifest.json +6 -0
- package/.next/server/server-reference-manifest.js +1 -0
- package/.next/server/server-reference-manifest.json +1 -0
- package/.next/server/webpack-runtime.js +1 -0
- package/.next/static/chunks/1217-407174d9b164a499.js +1 -0
- package/.next/static/chunks/146-ccee3b26755b68c8.js +1 -0
- package/.next/static/chunks/3335-5647a38ab2cfa88d.js +1 -0
- package/.next/static/chunks/3954-fe27ff41d9bf012d.js +1 -0
- package/.next/static/chunks/4108.d6ed46bc2fcab462.js +1 -0
- package/.next/static/chunks/4400-cdb1f7913ae34e09.js +1 -0
- package/.next/static/chunks/4895-712004156efeccf2.js +1 -0
- package/.next/static/chunks/5097-f07f6aeee3f60a33.js +1 -0
- package/.next/static/chunks/5235-990ba9c4c8446446.js +62 -0
- package/.next/static/chunks/6489-ecde2d94e57eb8a9.js +1 -0
- package/.next/static/chunks/6568-e4d2de23d9f8d347.js +1 -0
- package/.next/static/chunks/6727-d38536774bdb32d5.js +1 -0
- package/.next/static/chunks/6734-9d524ec49e4ba49c.js +1 -0
- package/.next/static/chunks/6744-dbfe3cc4ce461613.js +1 -0
- package/.next/static/chunks/6fe292aa-7126ff9d6732e864.js +1 -0
- package/.next/static/chunks/8566-5d4c89b722d9cee1.js +1 -0
- package/.next/static/chunks/8775-890699c74c28df61.js +1 -0
- package/.next/static/chunks/9045-731ff0865352dd95.js +1 -0
- package/.next/static/chunks/app/_not-found/page-ffead1b4e248e14d.js +1 -0
- package/.next/static/chunks/app/agents/[agentId]/page-0b5c2838354d0eba.js +1 -0
- package/.next/static/chunks/app/api/agents/[agentId]/respond/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/images/[rootId]/[file]/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/oauth/callback/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/oauth/start/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/roots/[id]/attachments/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/roots/[id]/chat/[topicId]/send/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/roots/[id]/chat/[topicId]/stop/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/roots/[id]/chat/[topicId]/stream/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/roots/[id]/dashboard/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/roots/[id]/suggestions/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/utilities/[scope]/[id]/bundle.js/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/utilities/[scope]/[id]/host/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/utilities/[scope]/[id]/host-api.mjs/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/utilities/[scope]/[id]/host-ui.mjs/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/utilities/[scope]/[id]/iframe/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/api/utilities/[scope]/[id]/style.css/route-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/audit/page-e3445076d462aa80.js +1 -0
- package/.next/static/chunks/app/layout-c7a35075cfbfa3e3.js +1 -0
- package/.next/static/chunks/app/onboarding/page-cde5b92b13b03c63.js +1 -0
- package/.next/static/chunks/app/page-ddaeffdc9a15f597.js +1 -0
- package/.next/static/chunks/app/roots/[id]/chat/[topicId]/page-1b55f68984817d29.js +1 -0
- package/.next/static/chunks/app/roots/[id]/kb/[...slug]/page-d4358cb6042740c4.js +1 -0
- package/.next/static/chunks/app/roots/[id]/layout-7e2f82a91b10b7e2.js +1 -0
- package/.next/static/chunks/app/roots/[id]/page-703d96bf8208af2f.js +1 -0
- package/.next/static/chunks/app/roots/[id]/workflows/[wfId]/page-738e8e4128baa722.js +1 -0
- package/.next/static/chunks/app/roots/[id]/workflows/page-e3445076d462aa80.js +1 -0
- package/.next/static/chunks/app/roots/new/page-534769dce46d0d29.js +1 -0
- package/.next/static/chunks/app/settings/page-86ee3d07ea1acbc7.js +1 -0
- package/.next/static/chunks/app/share/[id]/file/page-93e0105d7903f777.js +1 -0
- package/.next/static/chunks/app/share/[id]/page-5bbc8503cb9a9eeb.js +1 -0
- package/.next/static/chunks/app/utilities/[scope]/[id]/page-72546d245b840091.js +1 -0
- package/.next/static/chunks/app/utilities/page-9f949d831421d314.js +1 -0
- package/.next/static/chunks/framework-aaa7c1a953276299.js +1 -0
- package/.next/static/chunks/main-app-ebe67847147d19aa.js +1 -0
- package/.next/static/chunks/main-bfb98fc1d6aa1d45.js +1 -0
- package/.next/static/chunks/pages/_app-bf8bc157ace53d59.js +1 -0
- package/.next/static/chunks/pages/_error-da89ab2956f0cf38.js +1 -0
- package/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
- package/.next/static/chunks/webpack-2e8cca5826414cc6.js +1 -0
- package/.next/static/css/87e01f779d555d04.css +1 -0
- package/.next/static/p8t15rbWhT5Rrs5fOXWZ6/_buildManifest.js +1 -0
- package/.next/static/p8t15rbWhT5Rrs5fOXWZ6/_ssgManifest.js +1 -0
- package/.next/trace +46 -0
- package/.next/types/app/agents/[agentId]/page.ts +84 -0
- package/.next/types/app/api/agents/[agentId]/respond/route.ts +347 -0
- package/.next/types/app/api/images/[rootId]/[file]/route.ts +347 -0
- package/.next/types/app/api/oauth/callback/route.ts +347 -0
- package/.next/types/app/api/oauth/start/route.ts +347 -0
- package/.next/types/app/api/roots/[id]/attachments/route.ts +347 -0
- package/.next/types/app/api/roots/[id]/chat/[topicId]/send/route.ts +347 -0
- package/.next/types/app/api/roots/[id]/chat/[topicId]/stop/route.ts +347 -0
- package/.next/types/app/api/roots/[id]/chat/[topicId]/stream/route.ts +347 -0
- package/.next/types/app/api/roots/[id]/dashboard/route.ts +347 -0
- package/.next/types/app/api/roots/[id]/suggestions/route.ts +347 -0
- package/.next/types/app/api/utilities/[scope]/[id]/bundle.js/route.ts +347 -0
- package/.next/types/app/api/utilities/[scope]/[id]/host/route.ts +347 -0
- package/.next/types/app/api/utilities/[scope]/[id]/host-api.mjs/route.ts +347 -0
- package/.next/types/app/api/utilities/[scope]/[id]/host-ui.mjs/route.ts +347 -0
- package/.next/types/app/api/utilities/[scope]/[id]/iframe/route.ts +347 -0
- package/.next/types/app/api/utilities/[scope]/[id]/style.css/route.ts +347 -0
- package/.next/types/app/audit/page.ts +84 -0
- package/.next/types/app/onboarding/page.ts +84 -0
- package/.next/types/app/page.ts +84 -0
- package/.next/types/app/roots/[id]/chat/[topicId]/page.ts +84 -0
- package/.next/types/app/roots/[id]/kb/[...slug]/page.ts +84 -0
- package/.next/types/app/roots/[id]/layout.ts +84 -0
- package/.next/types/app/roots/[id]/page.ts +84 -0
- package/.next/types/app/roots/[id]/workflows/[wfId]/page.ts +84 -0
- package/.next/types/app/roots/[id]/workflows/page.ts +84 -0
- package/.next/types/app/roots/new/page.ts +84 -0
- package/.next/types/app/settings/page.ts +84 -0
- package/.next/types/app/share/[id]/file/page.ts +84 -0
- package/.next/types/app/share/[id]/page.ts +84 -0
- package/.next/types/app/utilities/[scope]/[id]/page.ts +84 -0
- package/.next/types/app/utilities/page.ts +84 -0
- package/.next/types/cache-life.d.ts +141 -0
- package/.next/types/package.json +1 -0
- package/.next/types/routes.d.ts +103 -0
- package/.next/types/validator.ts +349 -0
- package/README.md +72 -0
- package/dist/bin/cli.js +82 -0
- package/dist/bin/cli.js.map +1 -0
- package/dist/lib/reflex/agents/backend.js +14 -0
- package/dist/lib/reflex/agents/backend.js.map +1 -0
- package/dist/lib/reflex/agents/claude-code.js +48 -0
- package/dist/lib/reflex/agents/claude-code.js.map +1 -0
- package/dist/lib/reflex/agents/codex.js +46 -0
- package/dist/lib/reflex/agents/codex.js.map +1 -0
- package/dist/lib/reflex/agents/index.js +13 -0
- package/dist/lib/reflex/agents/index.js.map +1 -0
- package/dist/lib/reflex/agents/prompts.js +228 -0
- package/dist/lib/reflex/agents/prompts.js.map +1 -0
- package/dist/lib/reflex/commands/chat.js +41 -0
- package/dist/lib/reflex/commands/chat.js.map +1 -0
- package/dist/lib/reflex/commands/init.js +38 -0
- package/dist/lib/reflex/commands/init.js.map +1 -0
- package/dist/lib/reflex/commands/start.js +64 -0
- package/dist/lib/reflex/commands/start.js.map +1 -0
- package/dist/lib/reflex/commands/watch.js +137 -0
- package/dist/lib/reflex/commands/watch.js.map +1 -0
- package/dist/lib/reflex/config.js +42 -0
- package/dist/lib/reflex/config.js.map +1 -0
- package/dist/lib/reflex/ignore.js +83 -0
- package/dist/lib/reflex/ignore.js.map +1 -0
- package/dist/lib/reflex/kb.js +48 -0
- package/dist/lib/reflex/kb.js.map +1 -0
- package/dist/lib/reflex/paths.js +33 -0
- package/dist/lib/reflex/paths.js.map +1 -0
- package/dist/lib/reflex/prompts/defaults.js +363 -0
- package/dist/lib/reflex/prompts/defaults.js.map +1 -0
- package/dist/lib/reflex/prompts/render.js +14 -0
- package/dist/lib/reflex/prompts/render.js.map +1 -0
- package/dist/lib/reflex/prompts/store.js +54 -0
- package/dist/lib/reflex/prompts/store.js.map +1 -0
- package/dist/lib/reflex/walker.js +55 -0
- package/dist/lib/reflex/walker.js.map +1 -0
- package/next.config.ts +33 -0
- package/package.json +87 -0
- package/packages/utilities/learn-anything/README.md +41 -0
- package/packages/utilities/learn-anything/actions/_json.ts +191 -0
- package/packages/utilities/learn-anything/actions/_store.ts +248 -0
- package/packages/utilities/learn-anything/actions/buildModule.ts +487 -0
- package/packages/utilities/learn-anything/actions/explainSelection.ts +64 -0
- package/packages/utilities/learn-anything/actions/generateOutline.ts +170 -0
- package/packages/utilities/learn-anything/actions/generateQuiz.ts +72 -0
- package/packages/utilities/learn-anything/actions/generateTrainer.ts +106 -0
- package/packages/utilities/learn-anything/actions/refreshCourseCard.ts +76 -0
- package/packages/utilities/learn-anything/actions/tutorAsk.ts +93 -0
- package/packages/utilities/learn-anything/article-view.tsx +464 -0
- package/packages/utilities/learn-anything/manifest.json +42 -0
- package/packages/utilities/learn-anything/ui.tsx +1589 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8997],{4959:(e,t,s)=>{"use strict";s.d(t,{BT:()=>o,Wu:()=>d,ZB:()=>l,Zp:()=>i,aR:()=>n,wL:()=>c});var r=s(4624);s(99356);var a=s(13506);function i(e){let{className:t,...s}=e;return(0,r.jsx)("div",{"data-slot":"card",className:(0,a.cn)("flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",t),...s})}function n(e){let{className:t,...s}=e;return(0,r.jsx)("div",{"data-slot":"card-header",className:(0,a.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",t),...s})}function l(e){let{className:t,...s}=e;return(0,r.jsx)("div",{"data-slot":"card-title",className:(0,a.cn)("leading-none font-semibold",t),...s})}function o(e){let{className:t,...s}=e;return(0,r.jsx)("div",{"data-slot":"card-description",className:(0,a.cn)("text-sm text-muted-foreground",t),...s})}function d(e){let{className:t,...s}=e;return(0,r.jsx)("div",{"data-slot":"card-content",className:(0,a.cn)("px-6",t),...s})}function c(e){let{className:t,...s}=e;return(0,r.jsx)("div",{"data-slot":"card-footer",className:(0,a.cn)("flex items-center px-6 [.border-t]:pt-6",t),...s})}},8096:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(45804).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},9598:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(45804).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},13506:(e,t,s)=>{"use strict";s.d(t,{cn:()=>i});var r=s(47989),a=s(55701);function i(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,a.QP)((0,r.$)(t))}},13561:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(45804).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},15523:(e,t,s)=>{"use strict";s.d(t,{p:()=>i});var r=s(4624);s(99356);var a=s(13506);function i(e){let{className:t,type:s,...i}=e;return(0,r.jsx)("input",{type:s,"data-slot":"input",className:(0,a.cn)("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30","focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50","aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",t),...i})}},22841:(e,t,s)=>{"use strict";s.d(t,{bq:()=>u,eb:()=>m,gC:()=>x,l6:()=>d,yv:()=>c});var r=s(4624);s(99356);var a=s(69709),i=s(43153),n=s(59728),l=s(85314),o=s(13506);function d(e){let{...t}=e;return(0,r.jsx)(l.Root,{"data-slot":"select",...t})}function c(e){let{...t}=e;return(0,r.jsx)(l.Value,{"data-slot":"select-value",...t})}function u(e){let{className:t,size:s="default",children:i,...n}=e;return(0,r.jsxs)(l.Trigger,{"data-slot":"select-trigger","data-size":s,className:(0,o.cn)("flex w-fit items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",t),...n,children:[i,(0,r.jsx)(l.Icon,{asChild:!0,children:(0,r.jsx)(a.A,{className:"size-4 opacity-50"})})]})}function x(e){let{className:t,children:s,position:a="item-aligned",align:i="center",...n}=e;return(0,r.jsx)(l.Portal,{children:(0,r.jsxs)(l.Content,{"data-slot":"select-content",className:(0,o.cn)("relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95","popper"===a&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:a,align:i,...n,children:[(0,r.jsx)(h,{}),(0,r.jsx)(l.Viewport,{className:(0,o.cn)("p-1","popper"===a&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:s}),(0,r.jsx)(v,{})]})})}function m(e){let{className:t,children:s,...a}=e;return(0,r.jsxs)(l.Item,{"data-slot":"select-item",className:(0,o.cn)("relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",t),...a,children:[(0,r.jsx)("span",{"data-slot":"select-item-indicator",className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,r.jsx)(l.ItemIndicator,{children:(0,r.jsx)(i.A,{className:"size-4"})})}),(0,r.jsx)(l.ItemText,{children:s})]})}function h(e){let{className:t,...s}=e;return(0,r.jsx)(l.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:(0,o.cn)("flex cursor-default items-center justify-center py-1",t),...s,children:(0,r.jsx)(n.A,{className:"size-4"})})}function v(e){let{className:t,...s}=e;return(0,r.jsx)(l.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:(0,o.cn)("flex cursor-default items-center justify-center py-1",t),...s,children:(0,r.jsx)(a.A,{className:"size-4"})})}},23119:(e,t,s)=>{"use strict";s.d(t,{InstallViaAgentButton:()=>v});var r=s(4624),a=s(99356),i=s(50988),n=s(13561),l=s(43153),o=s(9598),d=s(56221),c=s(85253),u=s(4959),x=s(15523),m=s(78825),h=s(71651);function v(){let[e,t]=(0,a.useState)(!1),[s,v]=(0,a.useState)(""),[f,b]=(0,a.useState)(!1),g=s.trim()?p(s.trim()):p("<github URL here>"),j=async()=>{await navigator.clipboard.writeText(g),b(!0),d.oR.success("Prompt скопирован"),setTimeout(()=>b(!1),1500)};return e?(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-start justify-center overflow-y-auto bg-black/30 p-6",children:(0,r.jsxs)(u.Zp,{className:"w-full max-w-2xl",children:[(0,r.jsxs)(u.aR,{className:"flex flex-row items-start justify-between",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)(u.ZB,{className:"flex items-center gap-2",children:[(0,r.jsx)(i.A,{className:"h-5 w-5"}),"GitHub-репо → Reflex utility (через агента)"]}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Если репо не структурирован как Reflex utility — попроси оркестратора проанализировать его и сгенерировать обёртку."})]}),(0,r.jsx)(c.$,{variant:"ghost",size:"icon",onClick:()=>t(!1),children:(0,r.jsx)(n.A,{className:"h-4 w-4"})})]}),(0,r.jsxs)(u.Wu,{className:"space-y-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(m.J,{children:"GitHub URL"}),(0,r.jsx)(x.p,{value:s,onChange:e=>v(e.target.value),placeholder:"https://github.com/owner/repo"})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)(m.J,{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{children:"Prompt для агента"}),(0,r.jsxs)(c.$,{size:"sm",variant:"ghost",onClick:j,className:"gap-1",children:[f?(0,r.jsx)(l.A,{className:"h-3 w-3"}):(0,r.jsx)(o.A,{className:"h-3 w-3"}),f?"Скопировано":"Скопировать"]})]}),(0,r.jsx)(h.T,{value:g,readOnly:!0,className:"font-mono text-xs h-64"})]}),(0,r.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Вставь в чат любого проекта (Sidebar → проект → чат). Агент проанализирует репо, придумает thin UI поверх его API/CLI и эмитнет",(0,r.jsx)("code",{className:"font-mono mx-1",children:"<<reflex:utility>>"}),"маркер; установка пройдёт автоматически."]})]})]})}):(0,r.jsxs)(c.$,{onClick:()=>t(!0),variant:"outline",className:"gap-2",children:[(0,r.jsx)(i.A,{className:"h-4 w-4"}),"From GitHub (via agent)"]})}function p(e){return"Преобразуй GitHub-репо ".concat(e," в Reflex-утилиту.\n\nШаги:\n1. Прочитай README репозитория (через web.fetch если есть permission, иначе попроси).\n2. Определи, что это: npm-пакет / CLI / web app / библиотека.\n3. Спроектируй thin Reflex-обёртку:\n - Если это npm-пакет с JS API → util вызывает его через server action (actions/run.ts).\n - Если это CLI → server action exec'ает его, аргументы из UI.\n - Если это web-сервис → util дергает его API через reflex.web.fetch (укажи нужный домен в permissions.web.fetch.domains).\n4. UI — одна-две формы для главного use-case'а; default-export functional component.\n5. Эмить <<reflex:utility>>{...}<</reflex:utility>> с manifest + files.\n\nМанифест должен содержать source.origin = \"github:").concat(e,'", category = подходящая ("dev", "media", "data", "kb", и т.д.), и явные permissions.\n\nНе выдумывай API — если не уверен в форме вызова, спроси через <<reflex:question>>.')}},28310:(e,t,s)=>{"use strict";s.d(t,{E:()=>o});var r=s(4624);s(99356);var a=s(60621),i=s(50362),n=s(13506);let l=(0,a.F)("inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3",{variants:{variant:{default:"bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"bg-destructive text-white focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40 [a&]:hover:bg-destructive/90",outline:"border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",ghost:"[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",link:"text-primary underline-offset-4 [a&]:hover:underline"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:s="default",asChild:a=!1,...o}=e,d=a?i.bL:"span";return(0,r.jsx)(d,{"data-slot":"badge","data-variant":s,className:(0,n.cn)(l({variant:s}),t),...o})}},29494:(e,t,s)=>{"use strict";s.d(t,{g:()=>a});var r=s(7911);let a=(0,r.createServerReference)("40fb59f02e358b555e430fc3390876e456117b1abb",r.callServer,void 0,r.findSourceMapURL,"installCuratedAction")},30324:(e,t,s)=>{"use strict";s.d(t,{B:()=>a});var r=s(7911);let a=(0,r.createServerReference)("00e0e47a8d18329615142bb067bec3f0f8a2ff16cb",r.callServer,void 0,r.findSourceMapURL,"listCuratedAction")},35687:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(45804).A)("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]])},43153:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(45804).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},46972:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(45804).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},48572:(e,t,s)=>{"use strict";s.d(t,{RemoveUtilityButton:()=>u});var r=s(4624),a=s(99356),i=s(69285),n=s(3239),l=s(46972),o=s(56221),d=s(85253),c=s(78979);function u(e){let{scope:t,id:s,name:u,rootId:x}=e,[m,h]=(0,a.useTransition)(),v=(0,i.useRouter)();return(0,r.jsx)(d.$,{type:"button",size:"sm",variant:"ghost",disabled:m,onClick:()=>{confirm('Удалить утилиту "'.concat(u,'"?\nКод и данные в data/ будут стёрты.'))&&h(async()=>{var e;let r=await (0,c.j)(t,s,x);r.ok?(o.oR.success("Удалено"),v.refresh()):o.oR.error(null!=(e=r.error)?e:"не получилось")})},children:m?(0,r.jsx)(n.A,{className:"h-4 w-4 animate-spin"}):(0,r.jsx)(l.A,{className:"h-4 w-4 text-muted-foreground"})})}},50988:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(45804).A)("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},56703:(e,t,s)=>{"use strict";s.d(t,{InstallFromMcpButton:()=>j});var r=s(4624),a=s(99356),i=s(69285),n=s(35687),l=s(13561),o=s(3239),d=s(56221),c=s(28310),u=s(85253),x=s(4959),m=s(15523),h=s(78825),v=s(71651),p=s(22841),f=s(7911);let b=(0,f.createServerReference)("4015e0bffd95ecf3c74df7cc8b369a0651e58661c4",f.callServer,void 0,f.findSourceMapURL,"mcpPreviewAction"),g=(0,f.createServerReference)("409c8effbefaed45aa73def7d435b9330167f9d049",f.callServer,void 0,f.findSourceMapURL,"mcpInstallAction");function j(){var e;let[t,s]=(0,a.useState)(!1),[f,j]=(0,a.useState)("stdio"),[y,N]=(0,a.useState)(""),[w,k]=(0,a.useState)(""),[A,S]=(0,a.useState)(""),[C,P]=(0,a.useState)(""),[R,z]=(0,a.useState)(""),[M,I]=(0,a.useState)(""),[V,L]=(0,a.useState)(""),[U,_]=(0,a.useState)("global"),[J,T]=(0,a.useState)(null),[B,$]=(0,a.useTransition)(),[F,O]=(0,a.useTransition)(),E=(0,i.useRouter)(),H=()=>{if("stdio"===f){if(!y.trim())return{ok:!1,error:"command required"};try{let e=A.trim()?JSON.parse(A):{};return{ok:!0,config:{transport:"stdio",command:y.trim(),args:w.trim()?w.trim().split(/\s+/).filter(Boolean):[],env:e}}}catch(e){return{ok:!1,error:"env must be JSON object"}}}if(!C.trim())return{ok:!1,error:"URL required"};try{let e=R.trim()?JSON.parse(R):{};return{ok:!0,config:{transport:f,url:C.trim(),headers:e}}}catch(e){return{ok:!1,error:"headers must be JSON object"}}},q=()=>{N(""),k(""),S(""),P(""),z(""),I(""),L(""),T(null)};return t?(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-start justify-center overflow-y-auto bg-black/30 p-6",children:(0,r.jsxs)(x.Zp,{className:"w-full max-w-2xl",children:[(0,r.jsxs)(x.aR,{className:"flex flex-row items-start justify-between",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)(x.ZB,{className:"flex items-center gap-2",children:[(0,r.jsx)(n.A,{className:"h-5 w-5"}),"MCP server → Reflex utility"]}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Подключимся к серверу, прочитаем tools/list, сгенерируем UI и server-action прокси."})]}),(0,r.jsx)(u.$,{variant:"ghost",size:"icon",onClick:()=>{s(!1),q()},children:(0,r.jsx)(l.A,{className:"h-4 w-4"})})]}),(0,r.jsxs)(x.Wu,{className:"space-y-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(h.J,{children:"Transport"}),(0,r.jsxs)(p.l6,{value:f,onValueChange:e=>j(e),children:[(0,r.jsx)(p.bq,{className:"w-48",children:(0,r.jsx)(p.yv,{})}),(0,r.jsxs)(p.gC,{children:[(0,r.jsx)(p.eb,{value:"stdio",children:"stdio (subprocess)"}),(0,r.jsx)(p.eb,{value:"http",children:"HTTP (Streamable)"}),(0,r.jsx)(p.eb,{value:"sse",children:"SSE (legacy)"})]})]})]}),"stdio"===f?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(h.J,{children:"Command"}),(0,r.jsx)(m.p,{value:y,onChange:e=>N(e.target.value),placeholder:"npx"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(h.J,{children:"Args (space-separated)"}),(0,r.jsx)(m.p,{value:w,onChange:e=>k(e.target.value),placeholder:"-y @modelcontextprotocol/server-everything"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(h.J,{children:"Env (JSON, optional)"}),(0,r.jsx)(v.T,{value:A,onChange:e=>S(e.target.value),placeholder:'{"FOO": "bar"}',className:"font-mono text-xs"})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(h.J,{children:"URL"}),(0,r.jsx)(m.p,{value:C,onChange:e=>P(e.target.value),placeholder:"https://example.com/mcp"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(h.J,{children:"Headers (JSON, optional)"}),(0,r.jsx)(v.T,{value:R,onChange:e=>z(e.target.value),placeholder:'{"Authorization": "Bearer ..."}',className:"font-mono text-xs"})]})]}),(0,r.jsx)("div",{className:"flex justify-end",children:(0,r.jsx)(u.$,{onClick:()=>{let e=H();if(!e.ok)return void d.oR.error(e.error);T(null),$(async()=>{var t,s;let r=await b(e.config);if(!r.ok)return void d.oR.error("Connect failed: "+r.error);T({...r.serverName?{serverName:r.serverName}:{},...r.serverVersion?{serverVersion:r.serverVersion}:{},tools:r.tools}),M||I((null!=(t=r.serverName)?t:"mcp-server").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,40)||"mcp-server"),V||L(null!=(s=r.serverName)?s:"MCP server")})},disabled:B,children:B?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.A,{className:"h-4 w-4 animate-spin mr-2"}),"Connecting…"]}):"Connect & list tools"})}),J&&(0,r.jsxs)("div",{className:"space-y-3 border-t pt-4",children:[(0,r.jsxs)("div",{className:"text-sm",children:[(0,r.jsx)("span",{className:"font-medium",children:"Server:"})," ",null!=(e=J.serverName)?e:"(anonymous)",J.serverVersion?" v".concat(J.serverVersion):"",(0,r.jsxs)(c.E,{variant:"outline",className:"ml-2",children:[J.tools.length," tools"]})]}),(0,r.jsx)("div",{className:"max-h-40 overflow-y-auto rounded border bg-slate-50 p-2 text-xs",children:0===J.tools.length?(0,r.jsx)("em",{className:"text-slate-500",children:"No tools advertised."}):(0,r.jsx)("ul",{className:"space-y-1",children:J.tools.map(e=>(0,r.jsxs)("li",{children:[(0,r.jsx)("span",{className:"font-mono",children:e.name}),e.description&&(0,r.jsxs)("span",{className:"text-slate-500",children:[" — ",e.description]})]},e.name))})}),(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(h.J,{children:"Utility id (kebab-case)"}),(0,r.jsx)(m.p,{value:M,onChange:e=>I(e.target.value),placeholder:"my-mcp-server",className:"font-mono"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(h.J,{children:"Display name"}),(0,r.jsx)(m.p,{value:V,onChange:e=>L(e.target.value),placeholder:"My MCP Server"})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(h.J,{children:"Scope"}),(0,r.jsxs)(p.l6,{value:U,onValueChange:e=>_(e),children:[(0,r.jsx)(p.bq,{className:"w-48",children:(0,r.jsx)(p.yv,{})}),(0,r.jsxs)(p.gC,{children:[(0,r.jsx)(p.eb,{value:"global",children:"global (~/.reflex)"}),(0,r.jsx)(p.eb,{value:"project",children:"project"})]})]})]}),(0,r.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,r.jsx)(u.$,{variant:"ghost",onClick:()=>{s(!1),q()},children:"Отмена"}),(0,r.jsx)(u.$,{onClick:()=>{let e=H();return e.ok?J?M.trim()&&V.trim()?void O(async()=>{let t=await g({scope:U,id:M.trim(),name:V.trim(),config:e.config});if(!t.ok)return void d.oR.error(t.error);d.oR.success("installed ".concat(t.id)),s(!1),q(),E.refresh(),E.push("/utilities/".concat(t.scope,"/").concat(t.id))}):void d.oR.error("id and name required"):void d.oR.error("preview first"):void d.oR.error(e.error)},disabled:F,children:F?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.A,{className:"h-4 w-4 animate-spin mr-2"}),"Installing…"]}):"Install"})]})]})]})]})}):(0,r.jsxs)(u.$,{onClick:()=>s(!0),variant:"outline",className:"gap-2",children:[(0,r.jsx)(n.A,{className:"h-4 w-4"}),"From MCP"]})}},57751:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(45804).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},59487:(e,t,s)=>{"use strict";s.d(t,{CuratedGallery:()=>f});var r=s(4624),a=s(99356),i=s(69285),n=s(3239),l=s(8096),o=s(43153),d=s(69709),c=s(57751),u=s(56221),x=s(4959),m=s(28310),h=s(30324),v=s(29494);let p={finance:"Финансы",health:"Здоровье",productivity:"Продуктивность",travel:"Путешествия",study:"Учёба",creative:"Творчество",other:"Другое"};function f(e){let{installedIds:t,spaces:s}=e,f=(0,i.useRouter)(),[b,g]=(0,a.useState)([]),[j,y]=(0,a.useState)(!0),[N,w]=(0,a.useState)(null),[k,A]=(0,a.useState)("all"),[S,C]=(0,a.useTransition)(),[P,R]=(0,a.useState)(null);(0,a.useEffect)(()=>{let e=!1;return(async()=>{try{let t=await (0,h.B)();e||g(t.items)}catch(t){e||g([])}finally{e||y(!1)}})(),()=>{e=!0}},[]);let z=(0,a.useMemo)(()=>{let e=new Set;return b.forEach(t=>e.add(t.category)),["all",...Array.from(e).sort()]},[b]),M="all"===k?b:b.filter(e=>e.category===k),I=(e,t)=>{w(e.id),C(async()=>{var r,a;let i=null!=(a=e.suggestedScope)?a:"global",n=await (0,v.g)({github:e.github,scope:i,..."project"===i&&t?{rootId:t}:{}});if(w(null),R(null),!n.ok)return void u.oR.error(n.error);let l=t?null==(r=s.find(e=>e.id===t))?void 0:r.label:void 0;u.oR.success("\xab".concat(e.name,"\xbb установлено").concat(l?" в \xab".concat(l,"\xbb"):"")),f.refresh()})};return j?(0,r.jsxs)("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[(0,r.jsx)(n.A,{className:"h-3 w-3 animate-spin"}),"Загружаю каталог…"]}):0===b.length?(0,r.jsx)("p",{className:"text-xs text-muted-foreground",children:"Каталог пуст. Можно установить из GitHub вручную (внизу страницы)."}):(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 flex-wrap",children:[(0,r.jsx)(l.A,{className:"h-3 w-3 text-violet-600"}),(0,r.jsx)("span",{className:"text-[11px] text-muted-foreground mr-2",children:"Категория:"}),z.map(e=>{var t;return(0,r.jsx)("button",{type:"button",onClick:()=>A(e),className:"rounded-full px-2 py-0.5 text-[11px] "+(k===e?"bg-violet-600 text-white":"border bg-card hover:bg-accent"),children:"all"===e?"Все":null!=(t=p[e])?t:e},e)})]}),(0,r.jsx)("div",{className:"grid gap-3 sm:grid-cols-2 lg:grid-cols-3",children:M.map(e=>{var a;let i=t.has(e.id),l=N===e.id&&S;return(0,r.jsx)(x.Zp,{className:"group",children:(0,r.jsxs)(x.Wu,{className:"pt-4 pb-4 space-y-2",children:[(0,r.jsxs)("div",{className:"flex items-start gap-2",children:[(0,r.jsx)("span",{className:"text-2xl leading-none",children:e.emoji}),(0,r.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,r.jsx)("div",{className:"font-medium truncate",children:e.name}),(0,r.jsxs)("div",{className:"text-[10px] text-muted-foreground font-mono truncate",children:[e.author?"".concat(e.author,"/"):"",e.id]})]}),(0,r.jsx)(m.E,{variant:"outline",className:"text-[10px]",children:null!=(a=p[e.category])?a:e.category})]}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground line-clamp-2",children:e.description}),(0,r.jsxs)("div",{className:"pt-1",children:[i?(0,r.jsxs)("button",{type:"button",disabled:!0,className:"inline-flex items-center gap-1 rounded border px-2 py-1 text-xs text-emerald-700 cursor-default",children:[(0,r.jsx)(o.A,{className:"h-3 w-3"}),"Установлено"]}):(0,r.jsxs)("button",{type:"button",onClick:()=>{var t;return"global"===(null!=(t=e.suggestedScope)?t:"global")?void I(e):0===s.length?void u.oR.error("Сначала создай пространство (мастер /onboarding) — утилита привязывается к проекту."):1===s.length?void I(e,s[0].id):void R(t=>t===e.id?null:e.id)},disabled:l||S,className:"inline-flex items-center gap-1 rounded bg-violet-600 px-2 py-1 text-xs text-white hover:bg-violet-700 disabled:opacity-50",children:[l?(0,r.jsx)(n.A,{className:"h-3 w-3 animate-spin"}):"project"===e.suggestedScope&&s.length>1?(0,r.jsx)(d.A,{className:"h-3 w-3"}):(0,r.jsx)(c.A,{className:"h-3 w-3"}),"project"===e.suggestedScope&&s.length>1?"В пространство…":"Установить"]}),P===e.id&&(0,r.jsxs)("ul",{className:"mt-2 rounded-md border bg-popover shadow-sm divide-y",children:[s.map(t=>(0,r.jsx)("li",{children:(0,r.jsxs)("button",{type:"button",onClick:()=>I(e,t.id),disabled:l||S,className:"w-full text-left px-2.5 py-1.5 text-xs hover:bg-accent disabled:opacity-50 inline-flex items-center gap-1.5",children:[(0,r.jsx)(c.A,{className:"h-3 w-3 text-violet-600"}),(0,r.jsx)("span",{className:"truncate",children:t.label})]})},t.id)),(0,r.jsx)("li",{children:(0,r.jsx)("button",{type:"button",onClick:()=>R(null),className:"w-full text-left px-2.5 py-1.5 text-[10px] text-muted-foreground hover:bg-accent",children:"Отмена"})})]})]})]})},e.id)})})]})}},59728:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(45804).A)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},60621:(e,t,s)=>{"use strict";s.d(t,{F:()=>n});var r=s(47989);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=r.$,n=(e,t)=>s=>{var r;if((null==t?void 0:t.variants)==null)return i(e,null==s?void 0:s.class,null==s?void 0:s.className);let{variants:n,defaultVariants:l}=t,o=Object.keys(n).map(e=>{let t=null==s?void 0:s[e],r=null==l?void 0:l[e];if(null===t)return null;let i=a(t)||a(r);return n[e][i]}),d=s&&Object.entries(s).reduce((e,t)=>{let[s,r]=t;return void 0===r||(e[s]=r),e},{});return i(e,o,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:s,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,s]=e;return Array.isArray(s)?s.includes({...l,...d}[t]):({...l,...d})[t]===s})?[...e,s,r]:e},[]),null==s?void 0:s.class,null==s?void 0:s.className)}},69285:(e,t,s)=>{"use strict";var r=s(48849);s.o(r,"usePathname")&&s.d(t,{usePathname:function(){return r.usePathname}}),s.o(r,"useRouter")&&s.d(t,{useRouter:function(){return r.useRouter}})},69709:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(45804).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},71651:(e,t,s)=>{"use strict";s.d(t,{T:()=>i});var r=s(4624);s(99356);var a=s(13506);function i(e){let{className:t,...s}=e;return(0,r.jsx)("textarea",{"data-slot":"textarea",className:(0,a.cn)("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40",t),...s})}},76161:(e,t,s)=>{"use strict";s.d(t,{InstallFromGithubButton:()=>w});var r=s(4624),a=s(99356),i=s(69285),n=s(45804);let l=(0,n.A)("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);var o=s(13561),d=s(3239);let c=(0,n.A)("ShieldAlert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);var u=s(86295),x=s(85924),m=s(56221),h=s(28310),v=s(85253),p=s(4959),f=s(15523),b=s(78825),g=s(22841),j=s(7911);let y=(0,j.createServerReference)("400f4906db059227810bcf2c1768a77a6b34085c03",j.callServer,void 0,j.findSourceMapURL,"githubPreviewAction"),N=(0,j.createServerReference)("40d4d9589e0215dda459fcdb925582cfb60cc8c23a",j.callServer,void 0,j.findSourceMapURL,"githubInstallAction");function w(){let[e,t]=(0,a.useState)(!1),[s,n]=(0,a.useState)(""),[j,w]=(0,a.useState)(null),[A,S]=(0,a.useState)("global"),[C,P]=(0,a.useTransition)(),[R,z]=(0,a.useTransition)(),M=(0,i.useRouter)();return e?(0,r.jsxs)(p.Zp,{className:"fixed inset-x-4 top-16 z-50 mx-auto max-w-2xl shadow-2xl sm:inset-x-auto sm:right-6",children:[(0,r.jsxs)(p.aR,{className:"flex flex-row items-start justify-between gap-3",children:[(0,r.jsxs)("div",{className:"space-y-1",children:[(0,r.jsxs)(p.ZB,{className:"flex items-center gap-2 text-base",children:[(0,r.jsx)(l,{className:"h-4 w-4"})," Установка из GitHub"]}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground",children:"Утилита будет работать в изолированном iframe. Все её вызовы пройдут через Host API с проверкой разрешений."})]}),(0,r.jsx)(v.$,{size:"icon",variant:"ghost",onClick:()=>{t(!1),w(null),n("")},children:(0,r.jsx)(o.A,{className:"h-4 w-4"})})]}),(0,r.jsxs)(p.Wu,{className:"space-y-4",children:[(0,r.jsxs)("form",{className:"flex gap-2",onSubmit:e=>{e.preventDefault(),s.trim()&&P(async()=>{let e=await y(s.trim());if(!e.ok)return void m.oR.error(e.error);w(e.preview)})},children:[(0,r.jsx)(f.p,{value:s,onChange:e=>n(e.target.value),placeholder:"https://github.com/owner/repo или github:owner/repo@tag",className:"font-mono text-xs"}),(0,r.jsx)(v.$,{type:"submit",disabled:C||!s.trim(),children:C?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.A,{className:"mr-2 h-4 w-4 animate-spin"})," Запрос…"]}):"Получить превью"})]}),j&&(0,r.jsxs)("div",{className:"space-y-3 rounded-md border p-4 bg-muted/30",children:[(0,r.jsxs)("div",{className:"flex items-baseline gap-3 flex-wrap",children:[(0,r.jsx)("div",{className:"text-base font-semibold",children:j.manifest.name}),(0,r.jsxs)(h.E,{variant:"outline",className:"font-mono text-[10px]",children:["v",j.manifest.version]}),(0,r.jsxs)(h.E,{variant:"secondary",className:"font-mono text-[10px]",children:["github:",j.source.owner,"/",j.source.repo,"@",j.source.sha.slice(0,7)]})]}),j.manifest.author&&(0,r.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Автор: ",j.manifest.author]}),j.manifest.description&&(0,r.jsx)("p",{className:"text-sm",children:j.manifest.description}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"text-[11px] uppercase tracking-wider text-muted-foreground mb-1 flex items-center gap-1",children:[(0,r.jsx)(c,{className:"h-3 w-3"})," Запрашиваемые разрешения"]}),(0,r.jsx)(k,{permissions:j.manifest.permissions})]}),(0,r.jsxs)("details",{className:"text-xs",children:[(0,r.jsxs)("summary",{className:"cursor-pointer text-muted-foreground",children:["Файлы в репозитории (",Object.keys(j.files).length,")"]}),(0,r.jsx)("ul",{className:"mt-1 font-mono text-[11px] space-y-0.5",children:Object.entries(j.sizes).map(e=>{var t;let[s,a]=e;return(0,r.jsxs)("li",{className:"flex justify-between gap-3",children:[(0,r.jsx)("span",{className:"truncate",children:s}),(0,r.jsx)("span",{className:"text-muted-foreground shrink-0",children:(t=a)<1024?"".concat(t," B"):t<1048576?"".concat((t/1024).toFixed(1)," KB"):"".concat((t/1048576).toFixed(2)," MB")})]},s)})})]}),(0,r.jsxs)("div",{className:"flex items-center gap-3 pt-2 border-t",children:[(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)(b.J,{className:"text-xs",children:"Куда установить"}),(0,r.jsxs)(g.l6,{value:A,onValueChange:e=>S(e),children:[(0,r.jsx)(g.bq,{className:"mt-1",children:(0,r.jsx)(g.yv,{})}),(0,r.jsxs)(g.gC,{children:[(0,r.jsx)(g.eb,{value:"global",children:"Глобально (~/.reflex/utilities/)"}),(0,r.jsx)(g.eb,{value:"project",disabled:!0,children:"В проект — нужно открыть конкретный проект"})]})]})]}),(0,r.jsx)(v.$,{onClick:()=>{j&&z(async()=>{let e=await N({preview:j,scope:A});if(!e.ok)return void m.oR.error(e.error);m.oR.success("Установлена: ".concat(e.id)),t(!1),n(""),w(null),M.refresh()})},disabled:R,size:"lg",className:"self-end",children:R?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.A,{className:"mr-2 h-4 w-4 animate-spin"})," Ставим…"]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.A,{className:"mr-2 h-4 w-4"})," Установить"]})})]}),(0,r.jsxs)("div",{className:"flex items-start gap-2 text-[11px] text-muted-foreground rounded bg-amber-100/40 border border-amber-200 px-2 py-1.5",children:[(0,r.jsx)(x.A,{className:"h-3 w-3 mt-0.5 shrink-0 text-amber-700"}),(0,r.jsx)("span",{children:"Это код от другого пользователя. Reflex ставит CSP-запрет на прямые сетевые вызовы, но проверь список разрешений выше — особенно домены под web.fetch и kb.write."})]})]})]})]}):(0,r.jsxs)(v.$,{onClick:()=>t(!0),children:[(0,r.jsx)(l,{className:"mr-2 h-4 w-4"})," Установить из GitHub"]})}function k(e){var t,s,a,i,n,l,o,d,c,u,x;let{permissions:m}=e,v=[];return((null==(s=m.llm)||null==(t=s.tasks)?void 0:t.length)&&v.push({label:"llm: ".concat(m.llm.tasks.join(", ")),severity:"info"}),(null==(a=m.kb)?void 0:a.read)&&v.push({label:"kb.read",severity:"info"}),(null==(i=m.kb)?void 0:i.write)&&v.push({label:"kb.write",severity:"warn"}),(null==(n=m.fs)?void 0:n.sandbox)&&v.push({label:"fs (sandbox)",severity:"info"}),(null==(d=m.web)||null==(o=d.fetch)||null==(l=o.domains)?void 0:l.length)&&v.push({label:"web.fetch → ".concat(m.web.fetch.domains.join(", ")),severity:"warn"}),(null==(c=m.web)?void 0:c.search)&&v.push({label:"web.search",severity:"warn"}),(null==(u=m.audit)?void 0:u.write)&&v.push({label:"audit.write",severity:"info"}),(null==(x=m.workers)?void 0:x.enabled)&&v.push({label:"workers (server actions)",severity:"danger"}),0===v.length)?(0,r.jsx)("span",{className:"text-xs italic text-muted-foreground",children:"Без разрешений — утилита чисто UI."}):(0,r.jsx)("div",{className:"flex flex-wrap gap-1.5",children:v.map(e=>(0,r.jsx)(h.E,{variant:"outline",className:"danger"===e.severity?"border-destructive text-destructive":"warn"===e.severity?"border-amber-600 text-amber-700":"",children:e.label},e.label))})}},78825:(e,t,s)=>{"use strict";s.d(t,{J:()=>n});var r=s(4624);s(99356);var a=s(33976),i=s(13506);function n(e){let{className:t,...s}=e;return(0,r.jsx)(a.Root,{"data-slot":"label",className:(0,i.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...s})}},78979:(e,t,s)=>{"use strict";s.d(t,{j:()=>a});var r=s(7911);let a=(0,r.createServerReference)("7023eb83f74367f0a71df3d12450747b3299db5304",r.callServer,void 0,r.findSourceMapURL,"removeUtilityAction")},80795:(e,t,s)=>{Promise.resolve().then(s.bind(s,59487)),Promise.resolve().then(s.bind(s,76161)),Promise.resolve().then(s.bind(s,56703)),Promise.resolve().then(s.bind(s,23119)),Promise.resolve().then(s.bind(s,48572)),Promise.resolve().then(s.bind(s,91074)),Promise.resolve().then(s.bind(s,96253)),Promise.resolve().then(s.bind(s,28050)),Promise.resolve().then(s.bind(s,94904)),Promise.resolve().then(s.bind(s,13270)),Promise.resolve().then(s.bind(s,99730)),Promise.resolve().then(s.bind(s,89146)),Promise.resolve().then(s.bind(s,19078)),Promise.resolve().then(s.bind(s,67854)),Promise.resolve().then(s.bind(s,69050)),Promise.resolve().then(s.bind(s,63739)),Promise.resolve().then(s.bind(s,33976)),Promise.resolve().then(s.bind(s,12537)),Promise.resolve().then(s.bind(s,97485)),Promise.resolve().then(s.bind(s,41923)),Promise.resolve().then(s.bind(s,73868)),Promise.resolve().then(s.bind(s,53511)),Promise.resolve().then(s.bind(s,2018)),Promise.resolve().then(s.bind(s,18487)),Promise.resolve().then(s.bind(s,98346)),Promise.resolve().then(s.bind(s,14884)),Promise.resolve().then(s.bind(s,85314)),Promise.resolve().then(s.bind(s,17280)),Promise.resolve().then(s.bind(s,8855)),Promise.resolve().then(s.bind(s,86631)),Promise.resolve().then(s.bind(s,2604)),Promise.resolve().then(s.bind(s,27237)),Promise.resolve().then(s.bind(s,49455)),Promise.resolve().then(s.bind(s,39211)),Promise.resolve().then(s.bind(s,56360)),Promise.resolve().then(s.t.bind(s,54400,23))},85253:(e,t,s)=>{"use strict";s.d(t,{$:()=>o});var r=s(4624);s(99356);var a=s(60621),i=s(50362),n=s(13506);let l=(0,a.F)("inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",xs:"h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-xs":"size-6 rounded-md [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function o(e){let{className:t,variant:s="default",size:a="default",asChild:o=!1,...d}=e,c=o?i.bL:"button";return(0,r.jsx)(c,{"data-slot":"button","data-variant":s,"data-size":a,className:(0,n.cn)(l({variant:s,size:a,className:t})),...d})}},85924:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(45804).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},86295:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(45804).A)("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},91074:(e,t,s)=>{"use strict";s.d(t,{Separator:()=>n});var r=s(4624);s(99356);var a=s(44188),i=s(13506);function n(e){let{className:t,orientation:s="horizontal",decorative:n=!0,...l}=e;return(0,r.jsx)(a.b,{"data-slot":"separator",decorative:n,orientation:s,className:(0,i.cn)("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",t),...l})}}},e=>{e.O(0,[4400,1217,3335,5097,4933,146,7358],()=>e(e.s=80795)),_N_E=e.O()}]);
|