agenttwin 0.3.21 → 0.3.23
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/dist/api.js +2113 -609
- package/dist/dashboard/assets/dashboard/agent-home.css +7 -7
- package/dist/dashboard/assets/dashboard/bay-morning.webp +0 -0
- package/dist/dashboard/assets/dashboard/golden-gate-afternoon.webp +0 -0
- package/dist/dashboard/assets/dashboard/golden-gate-portrait.webp +0 -0
- package/dist/dashboard/assets/dashboard/moonlit-coast.webp +0 -0
- package/dist/dashboard/assets/next/static/chunks/{1250-7571b1a697f6bb4a.js → 1250-a3c859fd20517500.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/{2743-a0efd6f4aeb11cc5.js → 2743-72610a5d5a3f8462.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/5663-403316746afad10e.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/dashboard/{page-9c11295678539a5f.js → page-0e0392368e0a891e.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/docs/[[...slug]]/page-4981ea4966b19e3e.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/onboarding/page-dd4ac0f5f36e6bfa.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/dashboard/{page-34574448d210c775.js → page-de0fe6d84be21e6a.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/onboarding/page-360cbffc57981f6b.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/page-fc4df4912ce3af44.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/{webpack-40324749d289e4a5.js → webpack-9e40ef55e5f2fb53.js} +1 -1
- package/dist/dashboard/assets/next/static/css/{42045de5f39b50ca.css → 37d81e1d2804cc5f.css} +1 -1
- package/dist/dashboard/assets/next/static/css/69ec1bae997c3bb0.css +1 -0
- package/dist/dashboard/assets/next/static/css/ad85402a1595e56e.css +1 -0
- package/dist/dashboard/assets/next/static/css/{4bbe78c2fe206b92.css → da981fb878a02b8c.css} +1 -1
- package/dist/dashboard/assets/next/static/media/bay-morning.82669113.webp +0 -0
- package/dist/dashboard/assets/next/static/media/golden-gate-afternoon.0aa49492.webp +0 -0
- package/dist/dashboard/assets/next/static/media/golden-gate-portrait.89fc667a.webp +0 -0
- package/dist/dashboard/assets/next/static/media/moonlit-coast.09739ef4.webp +0 -0
- package/dist/dashboard/index.html +2 -2
- package/dist/engine.js +6386 -4974
- package/dist/gateway.js +2194 -604
- package/dist/twins/catalog.json +6020 -0
- package/dist/twins/engine/v2/THIRD-PARTY.txt +25 -0
- package/dist/twins/engine/v2/chunks/2CHBP57N.mjs +8 -0
- package/dist/twins/engine/v2/chunks/4CPL6MPF.mjs +30 -0
- package/dist/twins/engine/v2/chunks/OYLYKZGD.mjs +2 -0
- package/dist/twins/engine/v2/chunks/SQSP35HM.mjs +38 -0
- package/dist/twins/engine/v2/chunks/YSJQQVUM.mjs +2 -0
- package/dist/twins/engine/v2/react-dom_client.mjs +272 -0
- package/dist/twins/engine/v2/react-dom_server.mjs +263 -0
- package/dist/twins/engine/v2/react.mjs +2 -0
- package/dist/twins/engine/v2/react_jsx-runtime.mjs +31 -0
- package/dist/twins/engine/v2/volter_world-core.mjs +195 -0
- package/dist/twins/engine/v2/volter_world-core_app-route.mjs +2 -0
- package/dist/twins/engine/v2/volter_world-core_network-policy.mjs +2 -0
- package/dist/twins/engine/v3/THIRD-PARTY.txt +65 -0
- package/dist/twins/engine/v3/chunks/2CHBP57N.mjs +8 -0
- package/dist/twins/engine/v3/chunks/2YSSPA5O.mjs +65 -0
- package/dist/twins/engine/v3/chunks/5PWRY4UK.mjs +154 -0
- package/dist/twins/engine/v3/chunks/7XRKSFFJ.mjs +2 -0
- package/dist/twins/engine/v3/chunks/AWOWH2H5.mjs +2 -0
- package/dist/twins/engine/v3/chunks/C46M5U3Q.mjs +2 -0
- package/dist/twins/engine/v3/chunks/MFH2VZPP.mjs +2 -0
- package/dist/twins/engine/v3/chunks/MWCO5UV3.mjs +2 -0
- package/dist/twins/engine/v3/chunks/N5BL5RDF.mjs +313 -0
- package/dist/twins/engine/v3/chunks/O7HGPMXG.mjs +2 -0
- package/dist/twins/engine/v3/chunks/OYLYKZGD.mjs +2 -0
- package/dist/twins/engine/v3/chunks/PLB7HTON.mjs +8 -0
- package/dist/twins/engine/v3/chunks/TY4LDBVH.mjs +7 -0
- package/dist/twins/engine/v3/chunks/VDIRUSCM.mjs +2 -0
- package/dist/twins/engine/v3/chunks/WGUCFQK6.mjs +2 -0
- package/dist/twins/engine/v3/chunks/WPATONSC.mjs +2 -0
- package/dist/twins/engine/v3/react_jsx-runtime.mjs +2 -0
- package/dist/twins/engine/v3/volter_world-core.mjs +2 -0
- package/dist/twins/engine/v3/volter_world-ui.mjs +559 -0
- package/dist/twins/packs/ahrefs/LICENSE +202 -0
- package/dist/twins/packs/ahrefs/NOTICE +7 -0
- package/dist/twins/packs/ahrefs/index.mjs +2 -0
- package/dist/twins/packs/ai-gateway/LICENSE +202 -0
- package/dist/twins/packs/ai-gateway/NOTICE +7 -0
- package/dist/twins/packs/ai-gateway/index.mjs +14 -0
- package/dist/twins/packs/airtable/LICENSE +202 -0
- package/dist/twins/packs/airtable/NOTICE +7 -0
- package/dist/twins/packs/airtable/index.mjs +2 -0
- package/dist/twins/packs/algolia/LICENSE +202 -0
- package/dist/twins/packs/algolia/NOTICE +7 -0
- package/dist/twins/packs/algolia/index.mjs +2 -0
- package/dist/twins/packs/ambientcg/LICENSE +202 -0
- package/dist/twins/packs/ambientcg/NOTICE +7 -0
- package/dist/twins/packs/ambientcg/index.mjs +2 -0
- package/dist/twins/packs/anthropic/LICENSE +202 -0
- package/dist/twins/packs/anthropic/NOTICE +7 -0
- package/dist/twins/packs/anthropic/index.mjs +18 -0
- package/dist/twins/packs/assemblyai/LICENSE +202 -0
- package/dist/twins/packs/assemblyai/NOTICE +7 -0
- package/dist/twins/packs/assemblyai/index.mjs +11 -0
- package/dist/twins/packs/aws/LICENSE +202 -0
- package/dist/twins/packs/aws/NOTICE +7 -0
- package/dist/twins/packs/aws/index.mjs +2 -0
- package/dist/twins/packs/azure/LICENSE +202 -0
- package/dist/twins/packs/azure/NOTICE +7 -0
- package/dist/twins/packs/azure/index.mjs +38 -0
- package/dist/twins/packs/azureformrecognizer/LICENSE +202 -0
- package/dist/twins/packs/azureformrecognizer/NOTICE +7 -0
- package/dist/twins/packs/azureformrecognizer/index.mjs +3 -0
- package/dist/twins/packs/bitly/LICENSE +202 -0
- package/dist/twins/packs/bitly/NOTICE +7 -0
- package/dist/twins/packs/bitly/index.mjs +2 -0
- package/dist/twins/packs/bluesky/LICENSE +202 -0
- package/dist/twins/packs/bluesky/NOTICE +7 -0
- package/dist/twins/packs/bluesky/index.mjs +30 -0
- package/dist/twins/packs/calcom/LICENSE +202 -0
- package/dist/twins/packs/calcom/NOTICE +7 -0
- package/dist/twins/packs/calcom/index.mjs +2 -0
- package/dist/twins/packs/clerk/LICENSE +202 -0
- package/dist/twins/packs/clerk/NOTICE +7 -0
- package/dist/twins/packs/clerk/index.mjs +5 -0
- package/dist/twins/packs/cloudflare/LICENSE +202 -0
- package/dist/twins/packs/cloudflare/NOTICE +7 -0
- package/dist/twins/packs/cloudflare/index.mjs +79 -0
- package/dist/twins/packs/cohere/LICENSE +202 -0
- package/dist/twins/packs/cohere/NOTICE +7 -0
- package/dist/twins/packs/cohere/index.mjs +2 -0
- package/dist/twins/packs/datadog/LICENSE +202 -0
- package/dist/twins/packs/datadog/NOTICE +7 -0
- package/dist/twins/packs/datadog/index.mjs +3 -0
- package/dist/twins/packs/deepinfra/LICENSE +202 -0
- package/dist/twins/packs/deepinfra/NOTICE +7 -0
- package/dist/twins/packs/deepinfra/index.mjs +13 -0
- package/dist/twins/packs/deepseek/LICENSE +202 -0
- package/dist/twins/packs/deepseek/NOTICE +7 -0
- package/dist/twins/packs/deepseek/index.mjs +12 -0
- package/dist/twins/packs/discord/LICENSE +202 -0
- package/dist/twins/packs/discord/NOTICE +7 -0
- package/dist/twins/packs/discord/index.mjs +2 -0
- package/dist/twins/packs/duckduckgo/LICENSE +202 -0
- package/dist/twins/packs/duckduckgo/NOTICE +7 -0
- package/dist/twins/packs/duckduckgo/index.mjs +532 -0
- package/dist/twins/packs/dynadot/LICENSE +202 -0
- package/dist/twins/packs/dynadot/NOTICE +7 -0
- package/dist/twins/packs/dynadot/index.mjs +2 -0
- package/dist/twins/packs/e2b/LICENSE +202 -0
- package/dist/twins/packs/e2b/NOTICE +7 -0
- package/dist/twins/packs/e2b/index.mjs +2 -0
- package/dist/twins/packs/elevenlabs/LICENSE +202 -0
- package/dist/twins/packs/elevenlabs/NOTICE +7 -0
- package/dist/twins/packs/elevenlabs/index.mjs +4 -0
- package/dist/twins/packs/expo/LICENSE +202 -0
- package/dist/twins/packs/expo/NOTICE +7 -0
- package/dist/twins/packs/expo/index.mjs +2 -0
- package/dist/twins/packs/fal/LICENSE +202 -0
- package/dist/twins/packs/fal/NOTICE +7 -0
- package/dist/twins/packs/fal/index.mjs +2 -0
- package/dist/twins/packs/figma/LICENSE +202 -0
- package/dist/twins/packs/figma/NOTICE +7 -0
- package/dist/twins/packs/figma/index.mjs +2 -0
- package/dist/twins/packs/firecrawl/LICENSE +202 -0
- package/dist/twins/packs/firecrawl/NOTICE +7 -0
- package/dist/twins/packs/firecrawl/index.mjs +9 -0
- package/dist/twins/packs/fireworks/LICENSE +202 -0
- package/dist/twins/packs/fireworks/NOTICE +7 -0
- package/dist/twins/packs/fireworks/index.mjs +13 -0
- package/dist/twins/packs/fly/LICENSE +202 -0
- package/dist/twins/packs/fly/NOTICE +7 -0
- package/dist/twins/packs/fly/index.mjs +2 -0
- package/dist/twins/packs/gcs/LICENSE +202 -0
- package/dist/twins/packs/gcs/NOTICE +7 -0
- package/dist/twins/packs/gcs/index.mjs +8 -0
- package/dist/twins/packs/gemini/LICENSE +202 -0
- package/dist/twins/packs/gemini/NOTICE +7 -0
- package/dist/twins/packs/gemini/index.mjs +7 -0
- package/dist/twins/packs/github/LICENSE +202 -0
- package/dist/twins/packs/github/NOTICE +7 -0
- package/dist/twins/packs/github/index.mjs +75153 -0
- package/dist/twins/packs/googleads/LICENSE +202 -0
- package/dist/twins/packs/googleads/NOTICE +7 -0
- package/dist/twins/packs/googleads/index.mjs +3 -0
- package/dist/twins/packs/googlemaps/LICENSE +202 -0
- package/dist/twins/packs/googlemaps/NOTICE +7 -0
- package/dist/twins/packs/googlemaps/index.mjs +2 -0
- package/dist/twins/packs/googleoauth/LICENSE +202 -0
- package/dist/twins/packs/googleoauth/NOTICE +7 -0
- package/dist/twins/packs/googleoauth/index.mjs +2 -0
- package/dist/twins/packs/hackernews/LICENSE +202 -0
- package/dist/twins/packs/hackernews/NOTICE +7 -0
- package/dist/twins/packs/hackernews/index.mjs +35 -0
- package/dist/twins/packs/huggingface/LICENSE +202 -0
- package/dist/twins/packs/huggingface/NOTICE +7 -0
- package/dist/twins/packs/huggingface/index.mjs +9 -0
- package/dist/twins/packs/inngest/LICENSE +202 -0
- package/dist/twins/packs/inngest/NOTICE +7 -0
- package/dist/twins/packs/inngest/index.mjs +2 -0
- package/dist/twins/packs/instagram/LICENSE +202 -0
- package/dist/twins/packs/instagram/NOTICE +7 -0
- package/dist/twins/packs/instagram/index.mjs +2 -0
- package/dist/twins/packs/jira/LICENSE +202 -0
- package/dist/twins/packs/jira/NOTICE +7 -0
- package/dist/twins/packs/jira/index.mjs +2 -0
- package/dist/twins/packs/langfuse/LICENSE +202 -0
- package/dist/twins/packs/langfuse/NOTICE +7 -0
- package/dist/twins/packs/langfuse/index.mjs +2 -0
- package/dist/twins/packs/linear/LICENSE +202 -0
- package/dist/twins/packs/linear/NOTICE +7 -0
- package/dist/twins/packs/linear/index.mjs +52866 -0
- package/dist/twins/packs/linkedin/LICENSE +202 -0
- package/dist/twins/packs/linkedin/NOTICE +7 -0
- package/dist/twins/packs/linkedin/index.mjs +78 -0
- package/dist/twins/packs/livekit/LICENSE +202 -0
- package/dist/twins/packs/livekit/NOTICE +7 -0
- package/dist/twins/packs/livekit/index.mjs +2 -0
- package/dist/twins/packs/mailgun/LICENSE +202 -0
- package/dist/twins/packs/mailgun/NOTICE +7 -0
- package/dist/twins/packs/mailgun/index.mjs +13 -0
- package/dist/twins/packs/mapbox/LICENSE +202 -0
- package/dist/twins/packs/mapbox/NOTICE +7 -0
- package/dist/twins/packs/mapbox/index.mjs +2 -0
- package/dist/twins/packs/merge/LICENSE +202 -0
- package/dist/twins/packs/merge/NOTICE +7 -0
- package/dist/twins/packs/merge/index.mjs +4 -0
- package/dist/twins/packs/mistral/LICENSE +202 -0
- package/dist/twins/packs/mistral/NOTICE +7 -0
- package/dist/twins/packs/mistral/index.mjs +6 -0
- package/dist/twins/packs/mixpanel/LICENSE +202 -0
- package/dist/twins/packs/mixpanel/NOTICE +8 -0
- package/dist/twins/packs/mixpanel/index.mjs +2 -0
- package/dist/twins/packs/mongodb/LICENSE +202 -0
- package/dist/twins/packs/mongodb/NOTICE +7 -0
- package/dist/twins/packs/mongodb/index.mjs +8 -0
- package/dist/twins/packs/moonshot/LICENSE +202 -0
- package/dist/twins/packs/moonshot/NOTICE +7 -0
- package/dist/twins/packs/moonshot/index.mjs +18 -0
- package/dist/twins/packs/notion/LICENSE +202 -0
- package/dist/twins/packs/notion/NOTICE +7 -0
- package/dist/twins/packs/notion/index.mjs +2 -0
- package/dist/twins/packs/npm-registry/LICENSE +202 -0
- package/dist/twins/packs/npm-registry/NOTICE +7 -0
- package/dist/twins/packs/npm-registry/index.mjs +2 -0
- package/dist/twins/packs/oa-treasury/LICENSE +202 -0
- package/dist/twins/packs/oa-treasury/NOTICE +8 -0
- package/dist/twins/packs/oa-treasury/index.mjs +16 -0
- package/dist/twins/packs/openai/LICENSE +202 -0
- package/dist/twins/packs/openai/NOTICE +7 -0
- package/dist/twins/packs/openai/index.mjs +3473 -0
- package/dist/twins/packs/openrouter/LICENSE +202 -0
- package/dist/twins/packs/openrouter/NOTICE +7 -0
- package/dist/twins/packs/openrouter/index.mjs +2 -0
- package/dist/twins/packs/openweather/LICENSE +202 -0
- package/dist/twins/packs/openweather/NOTICE +7 -0
- package/dist/twins/packs/openweather/index.mjs +2 -0
- package/dist/twins/packs/paypal/LICENSE +202 -0
- package/dist/twins/packs/paypal/NOTICE +7 -0
- package/dist/twins/packs/paypal/index.mjs +51 -0
- package/dist/twins/packs/pinecone/LICENSE +202 -0
- package/dist/twins/packs/pinecone/NOTICE +7 -0
- package/dist/twins/packs/pinecone/index.mjs +2 -0
- package/dist/twins/packs/plain/LICENSE +202 -0
- package/dist/twins/packs/plain/NOTICE +8 -0
- package/dist/twins/packs/plain/index.mjs +18426 -0
- package/dist/twins/packs/planetscale/LICENSE +202 -0
- package/dist/twins/packs/planetscale/NOTICE +7 -0
- package/dist/twins/packs/planetscale/index.mjs +18 -0
- package/dist/twins/packs/polar/LICENSE +202 -0
- package/dist/twins/packs/polar/NOTICE +7 -0
- package/dist/twins/packs/polar/index.mjs +2 -0
- package/dist/twins/packs/polyhaven/LICENSE +202 -0
- package/dist/twins/packs/polyhaven/NOTICE +7 -0
- package/dist/twins/packs/polyhaven/index.mjs +3 -0
- package/dist/twins/packs/postmark/LICENSE +202 -0
- package/dist/twins/packs/postmark/NOTICE +7 -0
- package/dist/twins/packs/postmark/index.mjs +12 -0
- package/dist/twins/packs/reddit/LICENSE +202 -0
- package/dist/twins/packs/reddit/NOTICE +7 -0
- package/dist/twins/packs/reddit/index.mjs +324 -0
- package/dist/twins/packs/redis/LICENSE +202 -0
- package/dist/twins/packs/redis/NOTICE +7 -0
- package/dist/twins/packs/redis/index.mjs +2 -0
- package/dist/twins/packs/replicate/LICENSE +202 -0
- package/dist/twins/packs/replicate/NOTICE +7 -0
- package/dist/twins/packs/replicate/index.mjs +2 -0
- package/dist/twins/packs/resend/LICENSE +202 -0
- package/dist/twins/packs/resend/NOTICE +7 -0
- package/dist/twins/packs/resend/index.mjs +139 -0
- package/dist/twins/packs/runhuman/LICENSE +202 -0
- package/dist/twins/packs/runhuman/NOTICE +7 -0
- package/dist/twins/packs/runhuman/index.mjs +3 -0
- package/dist/twins/packs/scrapecreators/LICENSE +202 -0
- package/dist/twins/packs/scrapecreators/NOTICE +7 -0
- package/dist/twins/packs/scrapecreators/index.mjs +2 -0
- package/dist/twins/packs/segment/LICENSE +202 -0
- package/dist/twins/packs/segment/NOTICE +8 -0
- package/dist/twins/packs/segment/index.mjs +2 -0
- package/dist/twins/packs/sendblue/LICENSE +202 -0
- package/dist/twins/packs/sendblue/NOTICE +7 -0
- package/dist/twins/packs/sendblue/index.mjs +2 -0
- package/dist/twins/packs/sendgrid/LICENSE +202 -0
- package/dist/twins/packs/sendgrid/NOTICE +8 -0
- package/dist/twins/packs/sendgrid/index.mjs +4 -0
- package/dist/twins/packs/sentry/LICENSE +202 -0
- package/dist/twins/packs/sentry/NOTICE +7 -0
- package/dist/twins/packs/sentry/index.mjs +5 -0
- package/dist/twins/packs/sigstore/LICENSE +202 -0
- package/dist/twins/packs/sigstore/NOTICE +7 -0
- package/dist/twins/packs/sigstore/index.mjs +12 -0
- package/dist/twins/packs/slack/LICENSE +202 -0
- package/dist/twins/packs/slack/NOTICE +7 -0
- package/dist/twins/packs/slack/index.mjs +66 -0
- package/dist/twins/packs/smtp/LICENSE +202 -0
- package/dist/twins/packs/smtp/NOTICE +7 -0
- package/dist/twins/packs/smtp/index.mjs +3 -0
- package/dist/twins/packs/snowflake/LICENSE +202 -0
- package/dist/twins/packs/snowflake/NOTICE +8 -0
- package/dist/twins/packs/snowflake/index.mjs +30 -0
- package/dist/twins/packs/stigg/LICENSE +202 -0
- package/dist/twins/packs/stigg/NOTICE +8 -0
- package/dist/twins/packs/stigg/index.mjs +22194 -0
- package/dist/twins/packs/stream/LICENSE +202 -0
- package/dist/twins/packs/stream/NOTICE +7 -0
- package/dist/twins/packs/stream/index.mjs +2 -0
- package/dist/twins/packs/stripe/LICENSE +202 -0
- package/dist/twins/packs/stripe/NOTICE +7 -0
- package/dist/twins/packs/stripe/index.mjs +211 -0
- package/dist/twins/packs/supabase/LICENSE +202 -0
- package/dist/twins/packs/supabase/NOTICE +7 -0
- package/dist/twins/packs/supabase/index.mjs +2 -0
- package/dist/twins/packs/supermemory/LICENSE +202 -0
- package/dist/twins/packs/supermemory/NOTICE +7 -0
- package/dist/twins/packs/supermemory/index.mjs +2 -0
- package/dist/twins/packs/svix/LICENSE +202 -0
- package/dist/twins/packs/svix/NOTICE +7 -0
- package/dist/twins/packs/svix/index.mjs +2 -0
- package/dist/twins/packs/tavily/LICENSE +202 -0
- package/dist/twins/packs/tavily/NOTICE +7 -0
- package/dist/twins/packs/tavily/index.mjs +2 -0
- package/dist/twins/packs/telegram/LICENSE +202 -0
- package/dist/twins/packs/telegram/NOTICE +7 -0
- package/dist/twins/packs/telegram/index.mjs +11 -0
- package/dist/twins/packs/temporal/LICENSE +202 -0
- package/dist/twins/packs/temporal/NOTICE +7 -0
- package/dist/twins/packs/temporal/index.mjs +44 -0
- package/dist/twins/packs/tiktok/LICENSE +202 -0
- package/dist/twins/packs/tiktok/NOTICE +7 -0
- package/dist/twins/packs/tiktok/index.mjs +2 -0
- package/dist/twins/packs/tinybird/LICENSE +202 -0
- package/dist/twins/packs/tinybird/NOTICE +7 -0
- package/dist/twins/packs/tinybird/index.mjs +50 -0
- package/dist/twins/packs/togetherai/LICENSE +202 -0
- package/dist/twins/packs/togetherai/NOTICE +7 -0
- package/dist/twins/packs/togetherai/index.mjs +11 -0
- package/dist/twins/packs/tremendous/LICENSE +202 -0
- package/dist/twins/packs/tremendous/NOTICE +7 -0
- package/dist/twins/packs/tremendous/index.mjs +2 -0
- package/dist/twins/packs/tripo/LICENSE +202 -0
- package/dist/twins/packs/tripo/NOTICE +7 -0
- package/dist/twins/packs/tripo/index.mjs +9 -0
- package/dist/twins/packs/tunnel/LICENSE +202 -0
- package/dist/twins/packs/tunnel/NOTICE +7 -0
- package/dist/twins/packs/tunnel/index.mjs +2 -0
- package/dist/twins/packs/twelvelabs/LICENSE +202 -0
- package/dist/twins/packs/twelvelabs/NOTICE +7 -0
- package/dist/twins/packs/twelvelabs/index.mjs +5 -0
- package/dist/twins/packs/twilio/LICENSE +202 -0
- package/dist/twins/packs/twilio/NOTICE +7 -0
- package/dist/twins/packs/twilio/index.mjs +2 -0
- package/dist/twins/packs/twitch/LICENSE +202 -0
- package/dist/twins/packs/twitch/NOTICE +7 -0
- package/dist/twins/packs/twitch/index.mjs +68 -0
- package/dist/twins/packs/upstash/LICENSE +202 -0
- package/dist/twins/packs/upstash/NOTICE +7 -0
- package/dist/twins/packs/upstash/index.mjs +14 -0
- package/dist/twins/packs/upstashvector/LICENSE +202 -0
- package/dist/twins/packs/upstashvector/NOTICE +7 -0
- package/dist/twins/packs/upstashvector/index.mjs +3 -0
- package/dist/twins/packs/vercel/LICENSE +202 -0
- package/dist/twins/packs/vercel/NOTICE +7 -0
- package/dist/twins/packs/vercel/index.mjs +10 -0
- package/dist/twins/packs/veriff/LICENSE +202 -0
- package/dist/twins/packs/veriff/NOTICE +7 -0
- package/dist/twins/packs/veriff/index.mjs +2 -0
- package/dist/twins/packs/vgauth/LICENSE +202 -0
- package/dist/twins/packs/vgauth/NOTICE +7 -0
- package/dist/twins/packs/vgauth/index.mjs +2 -0
- package/dist/twins/packs/vital/LICENSE +202 -0
- package/dist/twins/packs/vital/NOTICE +7 -0
- package/dist/twins/packs/vital/index.mjs +2 -0
- package/dist/twins/packs/volteridentity/LICENSE +202 -0
- package/dist/twins/packs/volteridentity/NOTICE +7 -0
- package/dist/twins/packs/volteridentity/index.mjs +2 -0
- package/dist/twins/packs/webrisk/LICENSE +202 -0
- package/dist/twins/packs/webrisk/NOTICE +7 -0
- package/dist/twins/packs/webrisk/index.mjs +2 -0
- package/dist/twins/packs/worldlabs/LICENSE +202 -0
- package/dist/twins/packs/worldlabs/NOTICE +7 -0
- package/dist/twins/packs/worldlabs/index.mjs +2 -0
- package/dist/twins/packs/x/LICENSE +202 -0
- package/dist/twins/packs/x/NOTICE +7 -0
- package/dist/twins/packs/x/index.mjs +63 -0
- package/dist/twins/packs/xai/LICENSE +202 -0
- package/dist/twins/packs/xai/NOTICE +7 -0
- package/dist/twins/packs/xai/index.mjs +4 -0
- package/dist/twins/packs/xidentity/LICENSE +202 -0
- package/dist/twins/packs/xidentity/NOTICE +8 -0
- package/dist/twins/packs/xidentity/index.mjs +209 -0
- package/dist/twins/packs/youtube/LICENSE +202 -0
- package/dist/twins/packs/youtube/NOTICE +7 -0
- package/dist/twins/packs/youtube/index.mjs +5 -0
- package/dist/worker.js +442 -18
- package/dist/world-host.js +928 -91
- package/package.json +6 -5
- package/dist/dashboard/assets/dashboard/bay-morning.png +0 -0
- package/dist/dashboard/assets/dashboard/golden-gate-afternoon.png +0 -0
- package/dist/dashboard/assets/dashboard/golden-gate-portrait.png +0 -0
- package/dist/dashboard/assets/dashboard/moonlit-coast.png +0 -0
- package/dist/dashboard/assets/next/static/chunks/2868-424d32cfc8ae81c9.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/docs/[[...slug]]/page-f9fca2c08f779fa0.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/onboarding/page-bc480c9258e5cc4d.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/onboarding/page-f04c0b236abaead3.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/page-07c8054d57c9089b.js +0 -1
- package/dist/dashboard/assets/next/static/css/4af3c8ca0da0f48b.css +0 -1
- package/dist/dashboard/assets/next/static/css/6b8edde77e493a51.css +0 -1
- package/dist/dashboard/assets/next/static/media/bay-morning.1a9f358c.png +0 -0
- package/dist/dashboard/assets/next/static/media/golden-gate-afternoon.3e7cea58.png +0 -0
- package/dist/dashboard/assets/next/static/media/golden-gate-portrait.7941528f.png +0 -0
- package/dist/dashboard/assets/next/static/media/moonlit-coast.bbe901a1.png +0 -0
- /package/dist/dashboard/assets/next/static/{5ub3D2yzS8DE7w2qZd1nv → GTd0IQ6HYyhE_2HqcgFno}/_buildManifest.js +0 -0
- /package/dist/dashboard/assets/next/static/{5ub3D2yzS8DE7w2qZd1nv → GTd0IQ6HYyhE_2HqcgFno}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
@agenttwin/twin-smtp
|
|
2
|
+
|
|
3
|
+
Contains @volter/twin-smtp 1.0.0 by Volter (https://github.com/volter-ai),
|
|
4
|
+
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
|
+
|
|
6
|
+
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{createRequire as __atReq}from'node:module';const require=__atReq(import.meta.url);
|
|
2
|
+
var Ce=Object.defineProperty;var Ue=(t,e)=>{for(var r in e)Ce(t,r,{get:e[r],enumerable:!0})};import{packOf as tt,registerPack as rt}from"../../engine/v3/volter_world-core.mjs";var f=(t,e)=>`spec:${t} "${e}"`,M=t=>`https://www.rfc-editor.org/rfc/rfc4954 "${t}"`,p=t=>({status:503,code:"5.5.1",message:t}),W="Once started, a mail transaction consists of a transaction beginning command, one or more RCPT commands, and a DATA command, in that order.",Pe=[{operation:"EHLO",from:"*",to:"ehlo",source:f("4.1.4","If it is issued after the session begins and the EHLO command is acceptable to the SMTP server, the SMTP server MUST clear all buffers and reset the state exactly as if a RSET command had been issued.")},{operation:"HELO",from:"*",to:"helo",source:f("4.1.1.1","These commands are used to identify the SMTP client to the SMTP server.")},{operation:"MAIL",from:["helo","ehlo"],to:"mail",refusals:{fresh:p("Error: send HELO/EHLO first"),mail:p("Error: nested MAIL command"),rcpt:p("Error: nested MAIL command")},source:f("4.1.4","MAIL (or SEND, SOML, or SAML) MUST NOT be sent if a mail transaction is already open")},{operation:"RCPT",from:["mail","rcpt"],to:"rcpt",refusals:{fresh:p("Error: need MAIL command"),helo:p("Error: need MAIL command"),ehlo:p("Error: need MAIL command")},source:f("4.1.4",W)},{operation:"DATA",from:["rcpt"],to:"data",refusals:{fresh:p("Error: need MAIL command"),helo:p("Error: need MAIL command"),ehlo:p("Error: need MAIL command"),mail:p("Error: need RCPT command")},source:f("4.1.4",W)},{operation:"DATA",from:["data"],to:"ehlo",source:f("4.1.4","or if the previous one successfully concluded with a successful DATA command")},{operation:"DATA",from:["data"],to:"helo",source:f("4.1.4","or if the previous one successfully concluded with a successful DATA command")},{operation:"RSET",from:["mail","rcpt"],to:"ehlo",source:f("4.1.1.5","This command specifies that the current mail transaction will be aborted.")},{operation:"RSET",from:["mail","rcpt"],to:"helo",source:f("4.1.1.5","This command specifies that the current mail transaction will be aborted.")},{operation:"QUIT",from:"*",to:"closed",source:f("4.1.1.10","The QUIT command may be issued at any time.")},{operation:"AUTH",from:["ehlo"],refusals:{fresh:p("Error: send EHLO first"),helo:p("Error: send EHLO first"),mail:p("Error: MAIL transaction in progress"),rcpt:p("Error: MAIL transaction in progress")},source:M("An AUTH command issued during a mail transaction MUST be rejected with a 503 reply.")}],De=[{operation:"AUTH",from:["true"],refusal:p("Error: already authenticated"),source:M("After a successful AUTH command completes, a server MUST reject any further AUTH commands with a 503 reply.")},{operation:"AUTH",from:["false"],to:"true",source:M("After a successful AUTH command completes, a server MUST reject any further AUTH commands with a 503 reply.")}],Q={Session:{state:{stage:{initial:"fresh",transitions:Pe},authenticated:{initial:"false",transitions:De}}}};var b={vendor:"smtp",service:"smtp",discovery:{twinOf:"an SMTP submission relay as Postfix serves one (RFC 5321, with AUTH, SIZE, 8BITMIME and SMTPUTF8)",identity:"SMTP AUTH PLAIN/LOGIN uses the credentials configured through POST /_twin/relay; without configured credentials, the relay accepts mail without authentication and AUTH is disabled (503). Inspect doors need no credential.",stores:"the relay's policy and every message it accepted, with its envelope, its bytes and its parsed parts"},body:{json:"always"},ids:{template:"{letters:10}"},time:"iso",error:{error:"{message}"},readOnly:{status:403,message:"the twin is read-only"},notFound:{status:404,message:"no such message"},list:{style:"envelope",envelope:{messages:"{data}"},limit:{param:"limit",default:50,max:500}},deleted:{},vendorBacked:{none:"SMTP is a line protocol: messages are submitted over a connection; there is no derived HTTP perform or vendor resource refresh."},unmodeled:["EXPN","HELP"],resources:{Session:{storedAs:"_session",refresh:{none:"Connection-local state, not a vendor resource."},idPrefix:"session",...Q.Session},message:{refresh:{none:"SMTP has no operation for retrieving accepted mail; the inspect doors read local capture only."},idPrefix:"",ids:"{letters:10}"},relay:{idPrefix:"",refresh:{none:"Operator policy, not an SMTP resource."}}},doors:[{id:"relay",method:"POST",path:"/_twin/relay",note:"{ hostname?, auth?: { username, password }, senderDomains?, relayDomains?, maxSize?, localRecipients? }: the relay's policy, as its operator configures it; an empty body makes it an open relay"},{id:"messages",method:"GET",path:"/_twin/messages",note:"?to=&from=&q=: the messages the relay accepted, newest first"},{id:"message",method:"GET",path:"/_twin/messages/{id}",note:"one message: its envelope, headers, text, HTML and attachments"},{id:"raw",method:"GET",path:"/_twin/messages/{id}/raw",note:"the message's bytes as the client sent them"},{id:"attachment",method:"GET",path:"/_twin/messages/{id}/attachments/{index}",note:"one attachment's bytes"},{id:"remove",method:"DELETE",path:"/_twin/messages/{id}",note:"one message deleted"},{id:"clear",method:"DELETE",path:"/_twin/messages",note:"every message deleted"}],descriptor:{protocol:"3",transport:"raw-tcp",archetype:"crud",bin:"world-smtp",resources:["message","relay"],specSource:"spec/rfc5321.txt (RFC 5321), with spec/patches.json from RFC 4954 (AUTH), RFC 3207 (STARTTLS) and Postfix's documented replies",description:"SMTP relay twin \u2014 the submission server nodemailer sends to (EHLO, AUTH PLAIN/LOGIN, MAIL with SIZE, 8BITMIME and SMTPUTF8, RCPT, DATA, RSET, QUIT, with Postfix's replies), keeping every accepted message in the World, read and deleted through its inspect doors. Nothing is put on the wire.",adoption:{pypi:["aiosmtplib"],sdks:["nodemailer","nodemailer-smtp-transport","emailjs"],envStems:["NEXTPRIVATESMTP"]},hostsNone:"RAW-PROTOCOL pack: SMTP is a line protocol over a raw TCP socket, invisible to the http/fetch injector, and the relay is whatever host the operator names. The World injects SMTP_HOST/SMTP_PORT, EMAIL_SERVER_HOST/EMAIL_SERVER_PORT and EMAIL_SERVER at the twin's listener (world-runtime init.ts).",endpointEnvNone:"the relay is named by host and port settings the runtime injects as templates (world-runtime init.ts), not a base URL",sidePorts:[{name:"inspect",option:"inspectPort",flag:"--inspect-port",path:"/_twin/messages",note:"the World's inspect doors: the messages the relay accepted"}]}};var x={generatedBy:"scripts/derive-pack.ts",spec:"rfc5321.txt",format:"command-reply",version:"RFC 5321",anyCommand:[500,501,421],commands:[{id:"CONNECTION ESTABLISHMENT",intermediate:[],success:[220],error:[554]},{id:"EHLO",intermediate:[],success:[250],error:[504,550,502]},{id:"HELO",intermediate:[],success:[250],error:[504,550,502]},{id:"MAIL",intermediate:[],success:[250],error:[552,451,452,550,553,503,455,555,530]},{id:"RCPT",intermediate:[],success:[250,251],error:[550,551,552,553,450,451,452,503,455,555,554]},{id:"DATA",intermediate:[354],success:[],error:[503,554],then:{intermediate:[],success:[250],error:[552,554,451,452,450,550]}},{id:"RSET",intermediate:[],success:[250],error:[]},{id:"VRFY",intermediate:[],success:[250,251,252],error:[550,551,553,502,504]},{id:"EXPN",intermediate:[],success:[250,252],error:[550,500,502,504]},{id:"HELP",intermediate:[],success:[211,214],error:[502,504]},{id:"NOOP",intermediate:[],success:[250],error:[]},{id:"QUIT",intermediate:[],success:[221],error:[]},{id:"AUTH",intermediate:[334],success:[235],error:[432,454,500,501,503,504,530,534,535,538],then:{intermediate:[334],success:[235],error:[432,454,500,501,534,535,538]}},{id:"STARTTLS",intermediate:[],success:[220],error:[454,501,502]}]};import{createPackFetch as Je}from"../../engine/v3/volter_world-core.mjs";import{privateTransportKey as _e}from"../../engine/v3/volter_world-core.mjs";function X(t){let e=t.search(/\r?\n\r?\n/),r=e<0?t:t.slice(0,e),n=e<0?"":t.slice(e).replace(/^\r?\n\r?\n/,""),s={};for(let o of r.replace(/\r?\n[ \t]+/g," ").split(/\r?\n/)){let a=o.indexOf(":");a>0&&(s[o.slice(0,a).trim().toLowerCase()]??=V(A(o.slice(a+1).trim())))}return{headers:s,body:n}}var S=(t,e)=>{let r=new RegExp(`;\\s*${e}\\*?=\\s*(?:"([^"]*)"|([^;\\s]+))`,"i").exec(t),n=r?.[1]??r?.[2];return n?.startsWith("utf-8''")||n?.startsWith("UTF-8''")?decodeURIComponent(n.slice(7)):n},A=t=>Uint8Array.from(t,e=>e.charCodeAt(0)&255),V=t=>new TextDecoder().decode(t),_=(t,e)=>{try{return new TextDecoder(e??"utf-8").decode(t)}catch{return V(t)}};function ve(t){let e=(t.headers["content-transfer-encoding"]??"7bit").toLowerCase();if(e==="base64")try{return A(atob(t.body.replace(/\s+/g,"")))}catch{return A(t.body)}return A(e==="quoted-printable"?t.body.replace(/=\r?\n/g,"").replace(/=([0-9A-Fa-f]{2})/g,(r,n)=>String.fromCharCode(Number.parseInt(n,16))).split("").map(r=>r.charCodeAt(0)>255?"?":r).join(""):t.body)}function N(t){return t.replace(/=\?([^?]+)\?([BbQq])\?([^?]*)\?=(\s+(?==\?))?/g,(e,r,n,s)=>{try{return _(n.toUpperCase()==="B"?A(atob(s)):A(s.replace(/_/g," ").replace(/=([0-9A-Fa-f]{2})/g,(o,a)=>String.fromCharCode(Number.parseInt(a,16)))),r)}catch{return s}})}var v=t=>t?N(t).split(/,(?=(?:[^"]*"[^"]*")*[^"]*$)/).map(e=>(/<([^>]+)>/.exec(e)?.[1]??e).trim()).filter(Boolean):[];function Z(t){let e=t.headers["content-type"]??"text/plain",r=/^multipart\//i.test(e)?S(e,"boundary"):void 0;return r?t.body.split(new RegExp(`\\r?\\n?--${r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?:--)?[ \\t]*\\r?\\n?`)).slice(1,-1).filter(s=>s.trim()).flatMap(s=>Z(X(s))):[t]}function J(t){let e=X(t),r=null,n=null,s=[];for(let o of Z(e)){let a=(o.headers["content-type"]??"text/plain").split(";")[0].trim().toLowerCase(),d=o.headers["content-disposition"]??"",c=S(d,"filename")??S(o.headers["content-type"]??"","name"),u=ve(o);if(!/^attachment/i.test(d)&&!c&&a==="text/plain"&&r===null){r=_(u,S(o.headers["content-type"]??"","charset"));continue}if(!/^attachment/i.test(d)&&!c&&a==="text/html"&&n===null){n=_(u,S(o.headers["content-type"]??"","charset"));continue}let m="";for(let l of u)m+=String.fromCharCode(l);s.push({filename:c?N(c):null,contentType:a,size:u.length,contentId:o.headers["content-id"]?.replace(/^<|>$/g,"")??null,base64:btoa(m)})}return{headers:e.headers,subject:N(e.headers.subject??""),from:v(e.headers.from)[0]??"",to:v(e.headers.to),cc:v(e.headers.cc),text:r,html:n,attachments:s}}var y="message",H="relay",Ne=1024e4;function g(t){let e=t.rowsRaw(H).find(r=>r.id==="relay"&&r.deleted!==!0);return{hostname:typeof e?.hostname=="string"?e.hostname:"relay.world.test",...e?.auth&&typeof e.auth=="object"?{auth:e.auth}:{},...Array.isArray(e?.senderDomains)?{senderDomains:e.senderDomains}:{},...Array.isArray(e?.relayDomains)?{relayDomains:e.relayDomains}:{},...Array.isArray(e?.localRecipients)?{localRecipients:e.localRecipients}:{},maxSize:typeof e?.maxSize=="number"?e.maxSize:Ne}}var O=()=>({stage:"fresh",authenticated:"false",rcpt:[]}),F=()=>_e("smtp"),I="x-volter-smtp-wire",ee="250 2.1.0 Ok",te="250 2.1.5 Ok",$="250 2.0.0 Ok",re="354 End data with <CR><LF>.<CR><LF>",ne=t=>`250 2.0.0 Ok: queued as ${t}`,se="221 2.0.0 Bye",j="500 5.5.2 Error: command not recognized",oe="502 5.5.1 VRFY command is disabled",ae="454 4.7.0 TLS not available due to local problem",ie="501 5.5.4 Syntax: MAIL FROM:<address>",ce="501 5.1.7 Bad sender address syntax",de="501 5.5.4 Bad message size syntax",B=t=>`555 5.5.4 Unsupported option: ${t}`,me="501 5.5.4 Syntax: RCPT TO:<address>",z="501 5.1.3 Bad recipient address syntax",k="552 5.3.4 Message size exceeds fixed limit",ue=t=>`554 5.7.1 <${t}>: Relay access denied`,le=(t,e)=>`553 5.7.1 <${t}>: Sender address rejected: not owned by user ${e}`,pe=t=>`554 5.7.1 <${t}>: Sender address rejected: Access denied`,fe="530 5.7.0 Authentication required",he="503 5.5.1 Error: authentication not enabled",ye="501 5.5.4 Syntax: AUTH mechanism",Te="235 2.7.0 Authentication successful",w=t=>`535 5.7.8 Error: authentication failed: ${t}`,Ae="501 5.7.0 Authentication aborted",He="504 5.5.4 Unrecognized authentication type";function G(t){let e=/^<([^<>\s]*)>$/.exec(t.trim());if(!e)return;let r=e[1];return r===""?"":/^[^@\s]+@[^@\s]+\.[^@\s]+$/.test(r)?r:void 0}var E=t=>t.slice(t.lastIndexOf("@")+1).toLowerCase();async function Se(t,e){let r=t.mint(y).toUpperCase(),n=J(e.data),s=r+"/raw";await t.blobs.put(s,Uint8Array.from(e.data,d=>d.charCodeAt(0)));let o=[];for(let d=0;d<n.attachments.length;d++){let c=r+"/attachments/"+d;await t.blobs.put(c,Uint8Array.from(atob(n.attachments[d].base64),u=>u.charCodeAt(0))),o.push(c)}let a={envelope:{from:e.from,to:e.to,smtputf8:e.smtputf8,...e.user?{authenticatedAs:e.user}:{}},size:e.data.length,receivedAt:t.occurredAt,headers:n.headers,subject:n.subject,from:n.from,to:n.to,cc:n.cc,text:n.text,html:n.html,id:r,attachments:n.attachments.map(({base64:d,...c})=>c),_raw:s,_attachments:o};return await t.write(y,r,a,"message.deliver"),r}function Fe(t,e){let r;try{r=atob(e.trim())}catch{return{replies:[w("Invalid base64 data in initial response")],session:t,mode:"command"}}return{replies:["334 UGFzc3dvcmQ6"],session:{...t,auth:{mechanism:"LOGIN",user:r}},mode:"auth"}}function $e(t){return{replies:[He],session:t,mode:"command"}}function ge(t){return{replies:[j],session:t,mode:"command"}}var je=t=>({replies:["334 VXNlcm5hbWU6"],session:{...t,auth:{mechanism:"LOGIN"}},mode:"auth"});function we(t,e,r){return e.toUpperCase()==="LOGIN"?r!==void 0?Fe(t,r):je(t):$e(t)}var L=t=>Response.json(t),i=(t,...e)=>({replies:e,session:t,mode:"command"});function T(t,e,r,n){let s=t.legal("Session","stage",r,e.stage,n);return s?`${s.status} ${String(s.code)} ${s.message}`:void 0}function Be(t){let e=[t.hostname,"PIPELINING",`SIZE ${t.maxSize}`,...t.auth?["AUTH PLAIN LOGIN"]:[],"ENHANCEDSTATUSCODES","8BITMIME","SMTPUTF8"];return e.map((r,n)=>`250${n===e.length-1?" ":"-"}${r}`)}var q=(t,e)=>({stage:e,authenticated:t.authenticated,...t.user?{user:t.user}:{},rcpt:[],...e==="helo"||e==="ehlo"?{greeted:e}:t.greeted?{greeted:t.greeted}:{}});async function Ee(t,e,r,n,s){let o={...e};if(delete o.auth,!r.auth||n!==r.auth.username||s!==r.auth.password)return i(o,w("authentication failure"));let a=t.legal("Session","authenticated","AUTH",e.authenticated,"true");return a?i(o,`${a.status} ${String(a.code)} ${a.message}`):i({...o,authenticated:"true",user:n},Te)}var Re=t=>{try{return atob(t.trim())}catch{return}};async function ze(t,e,r){let n=g(t),[s="",...o]=r.split(" "),a=s.toUpperCase(),d=o.join(" ");switch(a){default:return ge(e);case"EHLO":case"HELO":{if(!d.trim())return i(e,`501 5.5.4 Syntax: ${a} hostname`);T(t,e,a,a.toLowerCase());let c=q(e,a.toLowerCase());return a==="EHLO"?{replies:Be(n),session:c,mode:"command"}:i(c,`250 ${n.hostname}`)}case"MAIL":{let c=T(t,e,"MAIL","mail");if(c)return i(e,c);let u=/^FROM:\s*(<[^>]*>)((?:\s+\S+)*)\s*$/i.exec(d);if(!u)return i(e,ie);let m=G(u[1]);if(m===void 0)return i(e,ce);let l,P=!1;for(let K of u[2].trim().split(/\s+/).filter(Boolean)){let[D="",R]=K.split("=");if(D.toUpperCase()==="SIZE"){if(!/^\d+$/.test(R??""))return i(e,de);l=Number(R)}else{if(D.toUpperCase()==="BODY"&&["7BIT","8BITMIME"].includes((R??"").toUpperCase()))continue;if(D.toUpperCase()==="SMTPUTF8"&&R===void 0)P=!0;else return i(e,B(K))}}return n.auth&&e.authenticated!=="true"?i(e,fe):l!==void 0&&l>n.maxSize?i(e,k):n.senderDomains&&m!==""&&!n.senderDomains.includes(E(m))?i(e,e.user?le(m,e.user):pe(m)):i({...e,stage:"mail",from:m,rcpt:[],...P?{smtputf8:P}:{},...l!==void 0?{declaredSize:l}:{}},ee)}case"RCPT":{let c=T(t,e,"RCPT","rcpt");if(c)return i(e,c);let u=/^TO:\s*(<[^>]*>)(?:\s+\S+)*\s*$/i.exec(d);if(!u)return i(e,me);if(/^TO:\s*<[^>]*>\s+\S/i.test(d))return i(e,B(d.slice(d.indexOf(">")+1).trim()));let m=G(u[1]);return m?/[^\x00-\x7f]/.test(m)&&!e.smtputf8?i(e,z):n.localRecipients&&n.localRecipients.some(l=>E(l)===E(m))&&!n.localRecipients.some(l=>l.toLowerCase()===m.toLowerCase())?i(e,"550 5.1.1 No such user here"):n.relayDomains&&e.authenticated!=="true"&&!n.relayDomains.includes(E(m))?i(e,ue(m)):i({...e,stage:"rcpt",rcpt:[...e.rcpt,m]},te):i(e,z)}case"DATA":{if(d.trim())return i(e,"501 5.5.4 Syntax: DATA");let c=T(t,e,"DATA","data");return c?i(e,c):{replies:[re],session:{...e,stage:"data"},mode:"data"}}case"RSET":{if(d.trim())return i(e,"501 5.5.4 Syntax: RSET");let c=e.greeted??"fresh";return(e.stage==="mail"||e.stage==="rcpt")&&T(t,e,"RSET",c),i(q(e,e.stage==="mail"||e.stage==="rcpt"?c:e.stage),$)}case"NOOP":return i(e,$);case"QUIT":return T(t,e,"QUIT","closed"),{replies:[se],session:{...e,stage:"closed"},mode:"command",close:!0};case"VRFY":return i(e,oe);case"STARTTLS":return i(e,ae);case"AUTH":{if(!n.auth)return i(e,he);let c=T(t,e,"AUTH");if(c)return i(e,c);let u=t.legal("Session","authenticated","AUTH",e.authenticated,"true");if(u)return i(e,`${u.status} ${String(u.code)} ${u.message}`);let[m="",l]=d.trim().split(/\s+/);return m?m.toUpperCase()==="PLAIN"?l===void 0?{replies:["334 "],session:{...e,auth:{mechanism:"PLAIN"}},mode:"auth"}:be(t,e,n,l):we(e,m,l):i(e,ye)}}}function be(t,e,r,n){let o=Re(n)?.split("\0");if(!o||o.length!==3){let a={...e};return delete a.auth,Promise.resolve(i(a,w("Invalid base64 data in continued response")))}return Ee(t,e,r,o[1],o[2])}async function ke(t,e,r){let n=g(t),s=e.auth;if(!s)return i(e,j);if(r.trim()==="*"){let a={...e};return delete a.auth,i(a,Ae)}if(s.mechanism==="PLAIN")return be(t,e,n,r);let o=Re(r);if(o===void 0){let a={...e};return delete a.auth,i(a,w("Invalid base64 data in continued response"))}return s.user===void 0?{replies:["334 UGFzc3dvcmQ6"],session:{...e,auth:{mechanism:"LOGIN",user:o}},mode:"auth"}:Ee(t,e,n,s.user,o)}async function Ge(t,e,r){let n=g(t),s=e.greeted??"ehlo";T(t,e,"DATA",s);let o=q(e,s);if(r.length>n.maxSize)return i(o,k);let d=await Se(t,{from:e.from??"",to:e.rcpt,data:r,smtputf8:e.smtputf8===!0,...e.user?{user:e.user}:{}});return i(o,ne(d))}async function xe(t,e){let r=t.call.request;if(!r.headers.has(I))return e();if(r.headers.get(I)!==F())return new Response("not the relay's wire",{status:403});let n=t.body??{},s=n.session??O();return n.open?L({replies:[`220 ${g(t).hostname} ESMTP`],session:O(),mode:"command"}):n.data!==void 0?L(await Ge(t,s,n.data)):n.response!==void 0?L(await ke(t,s,n.response)):L(await ze(t,s,String(n.line??"")))}var Y={};Ue(Y,{attachment:()=>Xe,clear:()=>Ze,message:()=>We,messages:()=>Ke,raw:()=>Qe,relay:()=>Ye,remove:()=>Ve});var qe=t=>t.body&&typeof t.body=="object"&&!Array.isArray(t.body)?t.body:{},h=(t,e=400)=>Response.json({error:t},{status:e}),Oe=(t,e)=>t.get(y,String(e.id)),Ie=t=>t.rowsRaw(y).filter(e=>e.deleted!==!0).reverse().sort((e,r)=>String(r.receivedAt).localeCompare(String(e.receivedAt))),C=t=>t.rowsRaw(y).find(e=>e.id===t.call.params.id&&e.deleted!==!0);async function Ye(t){let e=qe(t),r=e.auth;if(r!==void 0&&(typeof r.username!="string"||typeof r.password!="string"))return h("auth needs a username and a password");for(let s of["senderDomains","relayDomains","localRecipients"])if(e[s]!==void 0&&(!Array.isArray(e[s])||e[s].some(o=>typeof o!="string")))return h(`${s} is a list of domains`);if(e.maxSize!==void 0&&(typeof e.maxSize!="number"||e.maxSize<=0))return h("maxSize is a number of bytes");let n={hostname:typeof e.hostname=="string"?e.hostname:"relay.world.test",auth:r??null,senderDomains:e.senderDomains?.map(s=>s.toLowerCase())??null,relayDomains:e.relayDomains?.map(s=>s.toLowerCase())??null,maxSize:e.maxSize??null,localRecipients:e.localRecipients??null};return await t.write(H,"relay",n,"relay.configure"),Response.json({hostname:n.hostname,auth:r?{username:r.username}:null,senderDomains:n.senderDomains,relayDomains:n.relayDomains,maxSize:n.maxSize,localRecipients:n.localRecipients})}async function Ke(t){let e=new URL(t.call.request.url).searchParams,r=e.get("to")?.toLowerCase(),n=e.get("from")?.toLowerCase(),s=e.get("q")?.toLowerCase(),o=Ie(t).filter(a=>{let d=a.envelope;return(!r||d.to.some(c=>c.toLowerCase()===r))&&(!n||d.from.toLowerCase()===n)&&(!s||`${String(a.subject)}
|
|
3
|
+
${String(a.text??"")}`.toLowerCase().includes(s))});return Response.json({total:o.length,messages:o.map(a=>Oe(t,a))})}async function We(t){let e=C(t);return e?Response.json(Oe(t,e)):h("no such message",404)}async function Qe(t){let e=C(t);if(!e)return h("no such message",404);let r=await t.blobs.get(String(e._raw));return r?new Response(new Uint8Array(r),{headers:{"content-type":"message/rfc822"}}):h("no such message bytes",404)}async function Xe(t){let e=C(t),r=Number(t.call.params.index),n=e?.attachments?.[r],s=e?._attachments?.[r];if(!e||!n||s===void 0)return h("no such attachment",404);let o=await t.blobs.get(s);return o?new Response(new Uint8Array(o),{headers:{"content-type":String(n.contentType),...n.filename?{"content-disposition":`attachment; filename="${String(n.filename)}"`}:{}}}):h("no such attachment bytes",404)}async function Ve(t){let e=C(t);return e?(await t.remove(y,String(e.id),"message.delete"),new Response(null,{status:204})):h("no such message",404)}async function Ze(t){let e=Ie(t);for(let r of e)await t.remove(y,String(r.id),"message.delete");return Response.json({deleted:e.length})}var Le={};function U(t={}){return Je({manifest:b,surface:x,handlers:Le,doors:Y,around:xe},t)}import{serveHttp as It,serveStream as Lt}from"../../engine/v3/volter_world-core.mjs";var Nt=rt(tt(b,x));export{U as createTwinFetch};
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@agenttwin/twin-snowflake
|
|
2
|
+
|
|
3
|
+
Contains @volter/twin-snowflake 0.1.37 by Volter (https://github.com/volter-ai),
|
|
4
|
+
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
|
+
|
|
6
|
+
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
8
|
+
The upstream package declares Apache-2.0 but ships no LICENSE file; LICENSE is the license's standard text.
|