@tangle-network/starter-foundry 0.1.0
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/LICENSE +21 -0
- package/README.md +140 -0
- package/corpus/held-out-validation.json +322 -0
- package/corpus/ideasai-prompts.json +820 -0
- package/corpus/template-family-mapping.json +87 -0
- package/corpus/vibecode-e2e.json +744 -0
- package/corpus/vibecoder-prompts.json +324 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +294 -0
- package/dist/cli.js.map +1 -0
- package/dist/lib/agent-runners.d.ts +28 -0
- package/dist/lib/agent-runners.js +163 -0
- package/dist/lib/agent-runners.js.map +1 -0
- package/dist/lib/audit.d.ts +14 -0
- package/dist/lib/audit.js +75 -0
- package/dist/lib/audit.js.map +1 -0
- package/dist/lib/augment.d.ts +17 -0
- package/dist/lib/augment.js +45 -0
- package/dist/lib/augment.js.map +1 -0
- package/dist/lib/batch-export.d.ts +27 -0
- package/dist/lib/batch-export.js +124 -0
- package/dist/lib/batch-export.js.map +1 -0
- package/dist/lib/benchmark.d.ts +6 -0
- package/dist/lib/benchmark.js +80 -0
- package/dist/lib/benchmark.js.map +1 -0
- package/dist/lib/build-plan.d.ts +2 -0
- package/dist/lib/build-plan.js +144 -0
- package/dist/lib/build-plan.js.map +1 -0
- package/dist/lib/catalog.d.ts +15 -0
- package/dist/lib/catalog.js +41 -0
- package/dist/lib/catalog.js.map +1 -0
- package/dist/lib/compose.d.ts +5 -0
- package/dist/lib/compose.js +242 -0
- package/dist/lib/compose.js.map +1 -0
- package/dist/lib/context-pack.d.ts +10 -0
- package/dist/lib/context-pack.js +49 -0
- package/dist/lib/context-pack.js.map +1 -0
- package/dist/lib/fatten.d.ts +34 -0
- package/dist/lib/fatten.js +110 -0
- package/dist/lib/fatten.js.map +1 -0
- package/dist/lib/fs.d.ts +9 -0
- package/dist/lib/fs.js +87 -0
- package/dist/lib/fs.js.map +1 -0
- package/dist/lib/index.d.ts +16 -0
- package/dist/lib/index.js +16 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/keywords.d.ts +29 -0
- package/dist/lib/keywords.js +377 -0
- package/dist/lib/keywords.js.map +1 -0
- package/dist/lib/prompt-e2e.d.ts +59 -0
- package/dist/lib/prompt-e2e.js +177 -0
- package/dist/lib/prompt-e2e.js.map +1 -0
- package/dist/lib/prompt-planner.d.ts +9 -0
- package/dist/lib/prompt-planner.js +879 -0
- package/dist/lib/prompt-planner.js.map +1 -0
- package/dist/lib/prove.d.ts +61 -0
- package/dist/lib/prove.js +88 -0
- package/dist/lib/prove.js.map +1 -0
- package/dist/lib/registry.d.ts +36 -0
- package/dist/lib/registry.js +280 -0
- package/dist/lib/registry.js.map +1 -0
- package/dist/lib/release.d.ts +14 -0
- package/dist/lib/release.js +49 -0
- package/dist/lib/release.js.map +1 -0
- package/dist/lib/selection.d.ts +5 -0
- package/dist/lib/selection.js +128 -0
- package/dist/lib/selection.js.map +1 -0
- package/dist/lib/semantic-router.d.ts +29 -0
- package/dist/lib/semantic-router.js +114 -0
- package/dist/lib/semantic-router.js.map +1 -0
- package/dist/lib/telemetry.d.ts +62 -0
- package/dist/lib/telemetry.js +102 -0
- package/dist/lib/telemetry.js.map +1 -0
- package/dist/lib/validate.d.ts +5 -0
- package/dist/lib/validate.js +201 -0
- package/dist/lib/validate.js.map +1 -0
- package/dist/lib/workspace.d.ts +79 -0
- package/dist/lib/workspace.js +304 -0
- package/dist/lib/workspace.js.map +1 -0
- package/dist/types.d.ts +309 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +63 -0
- package/registry/families/agent-service-py/files/requirements.txt +1 -0
- package/registry/families/agent-service-py/manifest.json +159 -0
- package/registry/families/agent-service-rust/manifest.json +123 -0
- package/registry/families/agent-service-ts/files/package.json +8 -0
- package/registry/families/agent-service-ts/manifest.json +276 -0
- package/registry/families/angular-ts/files/package.json +16 -0
- package/registry/families/angular-ts/manifest.json +100 -0
- package/registry/families/api-service/files/package.json +9 -0
- package/registry/families/api-service/manifest.json +149 -0
- package/registry/families/browser-extension-ts/files/package.json +12 -0
- package/registry/families/browser-extension-ts/files/preview-server.mjs +33 -0
- package/registry/families/browser-extension-ts/files/validate-types.mjs +13 -0
- package/registry/families/browser-extension-ts/manifest.json +118 -0
- package/registry/families/cli-ts/files/package.json +12 -0
- package/registry/families/cli-ts/files/validate-types.mjs +7 -0
- package/registry/families/cli-ts/manifest.json +99 -0
- package/registry/families/cloudflare-worker-ts/files/package.json +11 -0
- package/registry/families/cloudflare-worker-ts/files/validate-worker.mjs +9 -0
- package/registry/families/cloudflare-worker-ts/files/wrangler.jsonc +5 -0
- package/registry/families/cloudflare-worker-ts/manifest.json +130 -0
- package/registry/families/dspy-pipeline-py/manifest.json +115 -0
- package/registry/families/eigenlayer-avs/files/validate-avs.mjs +18 -0
- package/registry/families/eigenlayer-avs/manifest.json +79 -0
- package/registry/families/electron-desktop-ts/files/package.json +13 -0
- package/registry/families/electron-desktop-ts/files/preview-server.mjs +33 -0
- package/registry/families/electron-desktop-ts/files/validate-types.mjs +12 -0
- package/registry/families/electron-desktop-ts/manifest.json +121 -0
- package/registry/families/evm-infra-ts/files/package.json +8 -0
- package/registry/families/evm-infra-ts/manifest.json +151 -0
- package/registry/families/expo-react-native-ts/files/package.json +14 -0
- package/registry/families/expo-react-native-ts/files/validate-types.mjs +10 -0
- package/registry/families/expo-react-native-ts/manifest.json +118 -0
- package/registry/families/fhenix-contracts/files/package.json +16 -0
- package/registry/families/fhenix-contracts/manifest.json +32 -0
- package/registry/families/fhevm-contracts/files/package.json +16 -0
- package/registry/families/fhevm-contracts/manifest.json +30 -0
- package/registry/families/forge-contracts/manifest.json +214 -0
- package/registry/families/frontend-static/files/package.json +14 -0
- package/registry/families/frontend-static/files/serve.mjs +33 -0
- package/registry/families/frontend-static/manifest.json +91 -0
- package/registry/families/fullstack-ts/files/package.json +21 -0
- package/registry/families/fullstack-ts/files/validate-types.mjs +12 -0
- package/registry/families/fullstack-ts/manifest.json +418 -0
- package/registry/families/go-api/files/validate-go.mjs +21 -0
- package/registry/families/go-api/manifest.json +136 -0
- package/registry/families/go-worker/files/validate-go-worker.mjs +14 -0
- package/registry/families/go-worker/manifest.json +92 -0
- package/registry/families/hardhat-contracts/files/package.json +13 -0
- package/registry/families/hardhat-contracts/files/validate-hardhat.mjs +13 -0
- package/registry/families/hardhat-contracts/manifest.json +79 -0
- package/registry/families/mcp-server-ts/files/package.json +6 -0
- package/registry/families/mcp-server-ts/manifest.json +120 -0
- package/registry/families/move-contracts/files/validate-move.mjs +25 -0
- package/registry/families/move-contracts/manifest.json +79 -0
- package/registry/families/nextjs-ts/files/package.json +30 -0
- package/registry/families/nextjs-ts/files/preview-server.mjs +33 -0
- package/registry/families/nextjs-ts/files/validate-types.mjs +18 -0
- package/registry/families/nextjs-ts/manifest.json +261 -0
- package/registry/families/playwright-worker/files/package.json +11 -0
- package/registry/families/playwright-worker/manifest.json +86 -0
- package/registry/families/python-api/files/requirements.txt +1 -0
- package/registry/families/python-api/manifest.json +141 -0
- package/registry/families/python-data-app/files/requirements.txt +1 -0
- package/registry/families/python-data-app/manifest.json +83 -0
- package/registry/families/python-worker/files/requirements.txt +1 -0
- package/registry/families/python-worker/manifest.json +99 -0
- package/registry/families/react-vite-ts/files/package.json +30 -0
- package/registry/families/react-vite-ts/files/preview-server.mjs +33 -0
- package/registry/families/react-vite-ts/files/validate-types.mjs +18 -0
- package/registry/families/react-vite-ts/manifest.json +183 -0
- package/registry/families/remix-ts/files/package.json +28 -0
- package/registry/families/remix-ts/manifest.json +102 -0
- package/registry/families/rust-service/manifest.json +122 -0
- package/registry/families/solana-program/manifest.json +75 -0
- package/registry/families/stylus-contracts/manifest.json +58 -0
- package/registry/families/sveltekit-ts/files/package.json +19 -0
- package/registry/families/sveltekit-ts/manifest.json +105 -0
- package/registry/families/tangle-blueprint/manifest.json +88 -0
- package/registry/families/tauri-desktop/files/package.json +19 -0
- package/registry/families/tauri-desktop/files/preview-server.mjs +33 -0
- package/registry/families/tauri-desktop/files/validate-types.mjs +12 -0
- package/registry/families/tauri-desktop/manifest.json +122 -0
- package/registry/families/vue-ts/files/package.json +17 -0
- package/registry/families/vue-ts/manifest.json +106 -0
- package/registry/families/worker-job/files/package.json +9 -0
- package/registry/families/worker-job/manifest.json +108 -0
- package/registry/families/x402-service/files/package.json +6 -0
- package/registry/families/x402-service/manifest.json +119 -0
- package/registry/families/zk-prover-service/files/package.json +6 -0
- package/registry/families/zk-prover-service/manifest.json +136 -0
- package/registry/layers/auth/better-auth/files/auth-config.json +24 -0
- package/registry/layers/auth/better-auth/manifest.json +65 -0
- package/registry/layers/auth/clerk/files/auth-config.json +31 -0
- package/registry/layers/auth/clerk/manifest.json +67 -0
- package/registry/layers/auth/none/manifest.json +31 -0
- package/registry/layers/auth/supabase-auth/files/auth-config.json +27 -0
- package/registry/layers/auth/supabase-auth/manifest.json +67 -0
- package/registry/layers/capability/admin-crud/files/admin-config.json +29 -0
- package/registry/layers/capability/admin-crud/files/admin-data.json +10 -0
- package/registry/layers/capability/admin-crud/manifest.json +58 -0
- package/registry/layers/capability/agent-ai-sdk/files/ai-sdk-config.json +15 -0
- package/registry/layers/capability/agent-ai-sdk/manifest.json +18 -0
- package/registry/layers/capability/agent-browser/files/browser-agent-config.json +13 -0
- package/registry/layers/capability/agent-browser/manifest.json +17 -0
- package/registry/layers/capability/agent-code-review/files/review-config.json +11 -0
- package/registry/layers/capability/agent-code-review/files/review-pipeline.ts +205 -0
- package/registry/layers/capability/agent-code-review/manifest.json +37 -0
- package/registry/layers/capability/agent-customer-support/files/support-config.json +15 -0
- package/registry/layers/capability/agent-customer-support/files/support-pipeline.ts +122 -0
- package/registry/layers/capability/agent-customer-support/manifest.json +38 -0
- package/registry/layers/capability/agent-data-pipeline/files/analyst.ts +192 -0
- package/registry/layers/capability/agent-data-pipeline/files/pipeline-config.json +15 -0
- package/registry/layers/capability/agent-data-pipeline/manifest.json +38 -0
- package/registry/layers/capability/agent-github/files/github-config.json +10 -0
- package/registry/layers/capability/agent-github/files/github-handler.ts +153 -0
- package/registry/layers/capability/agent-github/manifest.json +36 -0
- package/registry/layers/capability/agent-hermes/files/hermes-config.json +15 -0
- package/registry/layers/capability/agent-hermes/manifest.json +30 -0
- package/registry/layers/capability/agent-intel/files/entity-card.tsx +97 -0
- package/registry/layers/capability/agent-intel/files/intel-config.json +14 -0
- package/registry/layers/capability/agent-intel/files/intel-dashboard.tsx +224 -0
- package/registry/layers/capability/agent-intel/files/scrape-status.tsx +78 -0
- package/registry/layers/capability/agent-intel/manifest.json +32 -0
- package/registry/layers/capability/agent-langgraph/files/langgraph-config.json +17 -0
- package/registry/layers/capability/agent-langgraph/manifest.json +17 -0
- package/registry/layers/capability/agent-mastra/files/mastra-config.json +6 -0
- package/registry/layers/capability/agent-mastra/manifest.json +27 -0
- package/registry/layers/capability/agent-multi-agent/files/orchestration-config.json +18 -0
- package/registry/layers/capability/agent-multi-agent/files/supervisor.ts +154 -0
- package/registry/layers/capability/agent-multi-agent/manifest.json +39 -0
- package/registry/layers/capability/agent-openclaw/files/openclaw-config.json +6 -0
- package/registry/layers/capability/agent-openclaw/manifest.json +28 -0
- package/registry/layers/capability/agent-rag/files/rag-config.json +12 -0
- package/registry/layers/capability/agent-rag/files/retrieval-pipeline.ts +183 -0
- package/registry/layers/capability/agent-rag/manifest.json +65 -0
- package/registry/layers/capability/agent-slack/files/slack-config.json +10 -0
- package/registry/layers/capability/agent-slack/files/slack-handler.ts +125 -0
- package/registry/layers/capability/agent-slack/manifest.json +34 -0
- package/registry/layers/capability/agent-trading/files/strategy.ts +128 -0
- package/registry/layers/capability/agent-trading/files/trading-config.json +16 -0
- package/registry/layers/capability/agent-trading/manifest.json +61 -0
- package/registry/layers/capability/agent-voice/files/voice-config.json +18 -0
- package/registry/layers/capability/agent-voice/manifest.json +17 -0
- package/registry/layers/capability/ai-agent-dashboard/files/dashboard-config.json +6 -0
- package/registry/layers/capability/ai-agent-dashboard/files/dashboard-data.json +6 -0
- package/registry/layers/capability/ai-agent-dashboard/manifest.json +37 -0
- package/registry/layers/capability/ai-agent-orchestrator/files/agent-card.tsx +78 -0
- package/registry/layers/capability/ai-agent-orchestrator/files/agent-run-view.tsx +143 -0
- package/registry/layers/capability/ai-agent-orchestrator/files/orchestrator-page.tsx +132 -0
- package/registry/layers/capability/ai-agent-orchestrator/manifest.json +26 -0
- package/registry/layers/capability/ai-chat-sessions/files/chat-header.tsx +109 -0
- package/registry/layers/capability/ai-chat-sessions/files/session-folders.tsx +98 -0
- package/registry/layers/capability/ai-chat-sessions/files/session-list.tsx +194 -0
- package/registry/layers/capability/ai-chat-sessions/manifest.json +26 -0
- package/registry/layers/capability/ai-chat-ui/files/chat-config.json +12 -0
- package/registry/layers/capability/ai-chat-ui/files/chat-data.json +8 -0
- package/registry/layers/capability/ai-chat-ui/manifest.json +65 -0
- package/registry/layers/capability/ai-fine-tuning/files/finetune-config.json +10 -0
- package/registry/layers/capability/ai-fine-tuning/manifest.json +37 -0
- package/registry/layers/capability/ai-rag-chat/files/knowledge-base-manager.tsx +187 -0
- package/registry/layers/capability/ai-rag-chat/files/rag-message.tsx +132 -0
- package/registry/layers/capability/ai-rag-chat/files/source-panel.tsx +117 -0
- package/registry/layers/capability/ai-rag-chat/manifest.json +26 -0
- package/registry/layers/capability/ai-voice-chat/files/voice-chat-page.tsx +162 -0
- package/registry/layers/capability/ai-voice-chat/files/voice-controls.tsx +118 -0
- package/registry/layers/capability/ai-voice-chat/files/voice-transcript.tsx +68 -0
- package/registry/layers/capability/ai-voice-chat/manifest.json +26 -0
- package/registry/layers/capability/chart-widget/files/metric-card.tsx +51 -0
- package/registry/layers/capability/chart-widget/files/simple-chart.tsx +109 -0
- package/registry/layers/capability/chart-widget/files/starter-data.json +19 -0
- package/registry/layers/capability/chart-widget/manifest.json +23 -0
- package/registry/layers/capability/crypto-bridge-ui/files/bridge-card.tsx +173 -0
- package/registry/layers/capability/crypto-bridge-ui/files/bridge-history.tsx +91 -0
- package/registry/layers/capability/crypto-bridge-ui/manifest.json +24 -0
- package/registry/layers/capability/crypto-governance-ui/files/governance-page.tsx +98 -0
- package/registry/layers/capability/crypto-governance-ui/files/proposal-card.tsx +88 -0
- package/registry/layers/capability/crypto-governance-ui/manifest.json +24 -0
- package/registry/layers/capability/crypto-launchpad-ui/files/sale-card.tsx +113 -0
- package/registry/layers/capability/crypto-launchpad-ui/files/vesting-schedule.tsx +101 -0
- package/registry/layers/capability/crypto-launchpad-ui/manifest.json +24 -0
- package/registry/layers/capability/crypto-portfolio-ui/files/portfolio-overview.tsx +118 -0
- package/registry/layers/capability/crypto-portfolio-ui/files/token-row.tsx +79 -0
- package/registry/layers/capability/crypto-portfolio-ui/manifest.json +24 -0
- package/registry/layers/capability/crypto-staking-ui/files/staking-dashboard.tsx +170 -0
- package/registry/layers/capability/crypto-staking-ui/files/validator-card.tsx +82 -0
- package/registry/layers/capability/crypto-staking-ui/manifest.json +24 -0
- package/registry/layers/capability/crypto-swap-ui/files/pool-card.tsx +93 -0
- package/registry/layers/capability/crypto-swap-ui/files/swap-card.tsx +151 -0
- package/registry/layers/capability/crypto-swap-ui/files/token-select-dialog.tsx +104 -0
- package/registry/layers/capability/crypto-swap-ui/manifest.json +25 -0
- package/registry/layers/capability/defi-bridge/files/bridge-config.json +15 -0
- package/registry/layers/capability/defi-bridge/manifest.json +35 -0
- package/registry/layers/capability/defi-dex/files/dex-config.json +15 -0
- package/registry/layers/capability/defi-dex/manifest.json +36 -0
- package/registry/layers/capability/defi-lending/files/lending-config.json +15 -0
- package/registry/layers/capability/defi-lending/manifest.json +36 -0
- package/registry/layers/capability/defi-perpetuals/files/perp-config.json +11 -0
- package/registry/layers/capability/defi-perpetuals/manifest.json +34 -0
- package/registry/layers/capability/defi-restaking/files/restaking-config.json +6 -0
- package/registry/layers/capability/defi-restaking/manifest.json +32 -0
- package/registry/layers/capability/defi-yield/files/yield-config.json +16 -0
- package/registry/layers/capability/defi-yield/manifest.json +36 -0
- package/registry/layers/capability/deploy-docker/files/deploy-config.json +15 -0
- package/registry/layers/capability/deploy-docker/manifest.json +42 -0
- package/registry/layers/capability/deploy-github-actions/files/ci-config.json +12 -0
- package/registry/layers/capability/deploy-github-actions/manifest.json +46 -0
- package/registry/layers/capability/effect-ts/files/effect-config.json +5 -0
- package/registry/layers/capability/effect-ts/manifest.json +30 -0
- package/registry/layers/capability/evm-account-abstraction/files/Deploy.s.sol +10 -0
- package/registry/layers/capability/evm-account-abstraction/files/GaslessCollectible.sol +21 -0
- package/registry/layers/capability/evm-account-abstraction/files/GaslessCollectible.t.sol +17 -0
- package/registry/layers/capability/evm-account-abstraction/files/MintWithBundler.s.sol +11 -0
- package/registry/layers/capability/evm-account-abstraction/files/bundler-config.json +10 -0
- package/registry/layers/capability/evm-account-abstraction/manifest.json +46 -0
- package/registry/layers/capability/evm-chain-monitor/files/hooks.mjs +14 -0
- package/registry/layers/capability/evm-chain-monitor/files/monitor-config.json +6 -0
- package/registry/layers/capability/evm-chain-monitor/manifest.json +31 -0
- package/registry/layers/capability/evm-deploy-foundry/files/Deploy.s.sol +11 -0
- package/registry/layers/capability/evm-deploy-foundry/files/deploy-config.json +10 -0
- package/registry/layers/capability/evm-deploy-foundry/files/env.example +2 -0
- package/registry/layers/capability/evm-deploy-foundry/files/foundry.toml +13 -0
- package/registry/layers/capability/evm-deploy-foundry/manifest.json +43 -0
- package/registry/layers/capability/evm-layerzero-oft/files/OmnichainToken.sol +21 -0
- package/registry/layers/capability/evm-layerzero-oft/files/OmnichainToken.t.sol +18 -0
- package/registry/layers/capability/evm-layerzero-oft/files/SendTokens.s.sol +10 -0
- package/registry/layers/capability/evm-layerzero-oft/files/bridge-config.json +10 -0
- package/registry/layers/capability/evm-layerzero-oft/manifest.json +39 -0
- package/registry/layers/capability/evm-protocol-api/files/protocol-config.json +8 -0
- package/registry/layers/capability/evm-protocol-api/files/protocol-hooks.ts +149 -0
- package/registry/layers/capability/evm-protocol-api/manifest.json +36 -0
- package/registry/layers/capability/evm-wallet-dashboard/files/hooks.mjs +10 -0
- package/registry/layers/capability/evm-wallet-dashboard/files/wallet-dashboard.json +6 -0
- package/registry/layers/capability/evm-wallet-dashboard/manifest.json +30 -0
- package/registry/layers/capability/exchange-binance/files/exchange-config.json +17 -0
- package/registry/layers/capability/exchange-binance/manifest.json +33 -0
- package/registry/layers/capability/exchange-coinbase/files/exchange-config.json +17 -0
- package/registry/layers/capability/exchange-coinbase/manifest.json +33 -0
- package/registry/layers/capability/exchange-okx/files/exchange-config.json +17 -0
- package/registry/layers/capability/exchange-okx/manifest.json +33 -0
- package/registry/layers/capability/fhe-private-token/files/PrivateToken.sol +49 -0
- package/registry/layers/capability/fhe-private-token/manifest.json +12 -0
- package/registry/layers/capability/fhe-private-voting/files/PrivateVoting.sol +50 -0
- package/registry/layers/capability/fhe-private-voting/manifest.json +12 -0
- package/registry/layers/capability/fhe-sealed-auction/files/SealedAuction.sol +43 -0
- package/registry/layers/capability/fhe-sealed-auction/manifest.json +12 -0
- package/registry/layers/capability/gpu-modal/files/gpu-config.json +8 -0
- package/registry/layers/capability/gpu-modal/manifest.json +31 -0
- package/registry/layers/capability/gpu-replicate/files/gpu-config.json +5 -0
- package/registry/layers/capability/gpu-replicate/manifest.json +33 -0
- package/registry/layers/capability/gpu-together/files/gpu-config.json +5 -0
- package/registry/layers/capability/gpu-together/manifest.json +32 -0
- package/registry/layers/capability/icons/files/icons-config.json +18 -0
- package/registry/layers/capability/icons/manifest.json +33 -0
- package/registry/layers/capability/infra-k8s/files/k8s-config.json +7 -0
- package/registry/layers/capability/infra-k8s/manifest.json +38 -0
- package/registry/layers/capability/infra-pulumi/files/pulumi-config.json +7 -0
- package/registry/layers/capability/infra-pulumi/manifest.json +36 -0
- package/registry/layers/capability/infra-terraform/files/terraform-config.json +7 -0
- package/registry/layers/capability/infra-terraform/manifest.json +37 -0
- package/registry/layers/capability/json-render/files/json-render-config.json +16 -0
- package/registry/layers/capability/json-render/manifest.json +24 -0
- package/registry/layers/capability/layout-admin/files/admin-page.tsx +141 -0
- package/registry/layers/capability/layout-admin/files/column-header.tsx +37 -0
- package/registry/layers/capability/layout-admin/files/data-table.tsx +221 -0
- package/registry/layers/capability/layout-admin/files/entity-form.tsx +109 -0
- package/registry/layers/capability/layout-admin/files/media-manifest.json +14 -0
- package/registry/layers/capability/layout-admin/manifest.json +30 -0
- package/registry/layers/capability/layout-auth/files/sign-in-page.tsx +82 -0
- package/registry/layers/capability/layout-auth/files/sign-up-page.tsx +94 -0
- package/registry/layers/capability/layout-auth/manifest.json +51 -0
- package/registry/layers/capability/layout-chat/files/chat-input.tsx +76 -0
- package/registry/layers/capability/layout-chat/files/chat-message.tsx +100 -0
- package/registry/layers/capability/layout-chat/files/chat-page.tsx +149 -0
- package/registry/layers/capability/layout-chat/files/chat-sidebar.tsx +78 -0
- package/registry/layers/capability/layout-chat/files/media-manifest.json +24 -0
- package/registry/layers/capability/layout-chat/manifest.json +30 -0
- package/registry/layers/capability/layout-dashboard/files/dashboard-page.tsx +113 -0
- package/registry/layers/capability/layout-dashboard/files/media-manifest.json +34 -0
- package/registry/layers/capability/layout-dashboard/files/nav-config.ts +46 -0
- package/registry/layers/capability/layout-dashboard/files/sidebar-layout.tsx +149 -0
- package/registry/layers/capability/layout-dashboard/manifest.json +33 -0
- package/registry/layers/capability/layout-dashboard/variants/sidebar/dashboard-page.tsx +113 -0
- package/registry/layers/capability/layout-dashboard/variants/sidebar/media-manifest.json +34 -0
- package/registry/layers/capability/layout-dashboard/variants/sidebar/nav-config.ts +46 -0
- package/registry/layers/capability/layout-dashboard/variants/sidebar/sidebar-layout.tsx +149 -0
- package/registry/layers/capability/layout-dashboard/variants/topnav/dashboard-page.tsx +113 -0
- package/registry/layers/capability/layout-dashboard/variants/topnav/media-manifest.json +34 -0
- package/registry/layers/capability/layout-dashboard/variants/topnav/nav-config.ts +26 -0
- package/registry/layers/capability/layout-dashboard/variants/topnav/sidebar-layout.tsx +157 -0
- package/registry/layers/capability/layout-landing/files/features-section.tsx +98 -0
- package/registry/layers/capability/layout-landing/files/hero-section.tsx +111 -0
- package/registry/layers/capability/layout-landing/files/landing-page.tsx +164 -0
- package/registry/layers/capability/layout-landing/files/media-manifest.json +44 -0
- package/registry/layers/capability/layout-landing/files/pricing-section.tsx +175 -0
- package/registry/layers/capability/layout-landing/manifest.json +73 -0
- package/registry/layers/capability/layout-landing/variants/dark-product/features-section.tsx +79 -0
- package/registry/layers/capability/layout-landing/variants/dark-product/hero-section.tsx +78 -0
- package/registry/layers/capability/layout-landing/variants/dark-product/landing-page.tsx +164 -0
- package/registry/layers/capability/layout-landing/variants/dark-product/media-manifest.json +44 -0
- package/registry/layers/capability/layout-landing/variants/dark-product/pricing-section.tsx +166 -0
- package/registry/layers/capability/layout-landing/variants/default/features-section.tsx +98 -0
- package/registry/layers/capability/layout-landing/variants/default/hero-section.tsx +111 -0
- package/registry/layers/capability/layout-landing/variants/default/landing-page.tsx +164 -0
- package/registry/layers/capability/layout-landing/variants/default/media-manifest.json +44 -0
- package/registry/layers/capability/layout-landing/variants/default/pricing-section.tsx +175 -0
- package/registry/layers/capability/layout-landing/variants/gradient-hero/features-section.tsx +79 -0
- package/registry/layers/capability/layout-landing/variants/gradient-hero/hero-section.tsx +73 -0
- package/registry/layers/capability/layout-landing/variants/gradient-hero/landing-page.tsx +164 -0
- package/registry/layers/capability/layout-landing/variants/gradient-hero/media-manifest.json +44 -0
- package/registry/layers/capability/layout-landing/variants/gradient-hero/pricing-section.tsx +165 -0
- package/registry/layers/capability/layout-landing/variants/minimal-clean/features-section.tsx +73 -0
- package/registry/layers/capability/layout-landing/variants/minimal-clean/hero-section.tsx +65 -0
- package/registry/layers/capability/layout-landing/variants/minimal-clean/landing-page.tsx +164 -0
- package/registry/layers/capability/layout-landing/variants/minimal-clean/media-manifest.json +44 -0
- package/registry/layers/capability/layout-landing/variants/minimal-clean/pricing-section.tsx +162 -0
- package/registry/layers/capability/layout-settings/files/settings-page.tsx +165 -0
- package/registry/layers/capability/layout-settings/manifest.json +45 -0
- package/registry/layers/capability/logging/files/error-handler.ts +35 -0
- package/registry/layers/capability/logging/files/logger.ts +78 -0
- package/registry/layers/capability/logging/files/request-logger.ts +52 -0
- package/registry/layers/capability/logging/manifest.json +47 -0
- package/registry/layers/capability/market-sim/files/market-feed.json +16 -0
- package/registry/layers/capability/market-sim/manifest.json +19 -0
- package/registry/layers/capability/marketplace/files/listing-card.tsx +80 -0
- package/registry/layers/capability/marketplace/files/listing-grid.tsx +55 -0
- package/registry/layers/capability/marketplace/files/marketplace-config.json +26 -0
- package/registry/layers/capability/marketplace/files/review-card.tsx +57 -0
- package/registry/layers/capability/marketplace/files/search-filters.tsx +113 -0
- package/registry/layers/capability/marketplace/manifest.json +29 -0
- package/registry/layers/capability/move-amm/files/amm-config.json +1 -0
- package/registry/layers/capability/move-amm/manifest.json +46 -0
- package/registry/layers/capability/move-launchpad/files/launchpad-config.json +1 -0
- package/registry/layers/capability/move-launchpad/manifest.json +45 -0
- package/registry/layers/capability/move-nft/files/nft-config.json +1 -0
- package/registry/layers/capability/move-nft/manifest.json +9 -0
- package/registry/layers/capability/move-oracle/files/oracle-config.json +1 -0
- package/registry/layers/capability/move-oracle/manifest.json +10 -0
- package/registry/layers/capability/move-staking/files/staking-config.json +1 -0
- package/registry/layers/capability/move-staking/manifest.json +9 -0
- package/registry/layers/capability/realtime-ws/files/realtime-config.json +19 -0
- package/registry/layers/capability/realtime-ws/files/ws-client.ts +90 -0
- package/registry/layers/capability/realtime-ws/files/ws-server.ts +121 -0
- package/registry/layers/capability/realtime-ws/files/ws-types.ts +30 -0
- package/registry/layers/capability/realtime-ws/manifest.json +66 -0
- package/registry/layers/capability/saas-billing/files/billing-api.ts +134 -0
- package/registry/layers/capability/saas-billing/files/billing-config.json +15 -0
- package/registry/layers/capability/saas-billing/files/billing-guard.ts +38 -0
- package/registry/layers/capability/saas-billing/files/billing-ui.tsx +100 -0
- package/registry/layers/capability/saas-billing/manifest.json +73 -0
- package/registry/layers/capability/saas-teams/files/teams-api.ts +118 -0
- package/registry/layers/capability/saas-teams/files/teams-config.json +16 -0
- package/registry/layers/capability/saas-teams/files/teams-guard.ts +35 -0
- package/registry/layers/capability/saas-teams/files/teams-ui.tsx +235 -0
- package/registry/layers/capability/saas-teams/manifest.json +74 -0
- package/registry/layers/capability/shadcn/files/alert.tsx +39 -0
- package/registry/layers/capability/shadcn/files/avatar.tsx +33 -0
- package/registry/layers/capability/shadcn/files/badge.tsx +28 -0
- package/registry/layers/capability/shadcn/files/breadcrumb.tsx +45 -0
- package/registry/layers/capability/shadcn/files/button.tsx +44 -0
- package/registry/layers/capability/shadcn/files/card.tsx +46 -0
- package/registry/layers/capability/shadcn/files/checkbox.tsx +26 -0
- package/registry/layers/capability/shadcn/files/command.tsx +72 -0
- package/registry/layers/capability/shadcn/files/dialog.tsx +75 -0
- package/registry/layers/capability/shadcn/files/dropdown-menu.tsx +68 -0
- package/registry/layers/capability/shadcn/files/form.tsx +57 -0
- package/registry/layers/capability/shadcn/files/input.tsx +21 -0
- package/registry/layers/capability/shadcn/files/label.tsx +18 -0
- package/registry/layers/capability/shadcn/files/progress.tsx +28 -0
- package/registry/layers/capability/shadcn/files/scroll-area.tsx +32 -0
- package/registry/layers/capability/shadcn/files/select.tsx +80 -0
- package/registry/layers/capability/shadcn/files/separator.tsx +21 -0
- package/registry/layers/capability/shadcn/files/shadcn-config.json +26 -0
- package/registry/layers/capability/shadcn/files/sheet.tsx +71 -0
- package/registry/layers/capability/shadcn/files/sidebar.tsx +73 -0
- package/registry/layers/capability/shadcn/files/skeleton.tsx +7 -0
- package/registry/layers/capability/shadcn/files/switch.tsx +36 -0
- package/registry/layers/capability/shadcn/files/table.tsx +58 -0
- package/registry/layers/capability/shadcn/files/tabs.tsx +56 -0
- package/registry/layers/capability/shadcn/files/textarea.tsx +20 -0
- package/registry/layers/capability/shadcn/files/toast.tsx +68 -0
- package/registry/layers/capability/shadcn/files/toggle.tsx +43 -0
- package/registry/layers/capability/shadcn/files/tooltip.tsx +45 -0
- package/registry/layers/capability/shadcn/files/utils.ts +6 -0
- package/registry/layers/capability/shadcn/manifest.json +171 -0
- package/registry/layers/capability/solana-amm/files/README.md +5 -0
- package/registry/layers/capability/solana-amm/files/lib.rs +52 -0
- package/registry/layers/capability/solana-amm/files/pool-config.json +6 -0
- package/registry/layers/capability/solana-amm/manifest.json +22 -0
- package/registry/layers/capability/solana-keeper/files/keeper-hooks.ts +90 -0
- package/registry/layers/capability/solana-keeper/files/market-feed.json +7 -0
- package/registry/layers/capability/solana-keeper/manifest.json +18 -0
- package/registry/layers/capability/solana-launchpad/files/README.md +5 -0
- package/registry/layers/capability/solana-launchpad/files/lib.rs +52 -0
- package/registry/layers/capability/solana-launchpad/files/sale-config.json +5 -0
- package/registry/layers/capability/solana-launchpad/manifest.json +35 -0
- package/registry/layers/capability/solana-nft/files/README.md +5 -0
- package/registry/layers/capability/solana-nft/files/lib.rs +52 -0
- package/registry/layers/capability/solana-nft/files/marketplace-config.json +4 -0
- package/registry/layers/capability/solana-nft/manifest.json +34 -0
- package/registry/layers/capability/solana-perps/files/README.md +5 -0
- package/registry/layers/capability/solana-perps/files/lib.rs +52 -0
- package/registry/layers/capability/solana-perps/files/market-config.json +6 -0
- package/registry/layers/capability/solana-perps/manifest.json +22 -0
- package/registry/layers/capability/solana-prediction/files/README.md +5 -0
- package/registry/layers/capability/solana-prediction/files/lib.rs +52 -0
- package/registry/layers/capability/solana-prediction/files/prediction-config.json +6 -0
- package/registry/layers/capability/solana-prediction/manifest.json +22 -0
- package/registry/layers/capability/solana-staking/files/README.md +5 -0
- package/registry/layers/capability/solana-staking/files/lib.rs +52 -0
- package/registry/layers/capability/solana-staking/files/staking-config.json +5 -0
- package/registry/layers/capability/solana-staking/manifest.json +22 -0
- package/registry/layers/capability/tailwind/files/design-tokens.json +51 -0
- package/registry/layers/capability/tailwind/files/tailwind-config.json +34 -0
- package/registry/layers/capability/tailwind/manifest.json +53 -0
- package/registry/layers/capability/tangle-custody/files/blueprint.json +17 -0
- package/registry/layers/capability/tangle-custody/files/lib.rs +53 -0
- package/registry/layers/capability/tangle-custody/manifest.json +30 -0
- package/registry/layers/capability/tangle-oracle/files/blueprint.json +17 -0
- package/registry/layers/capability/tangle-oracle/files/lib.rs +53 -0
- package/registry/layers/capability/tangle-oracle/manifest.json +29 -0
- package/registry/layers/capability/typography/files/typography-config.json +24 -0
- package/registry/layers/capability/typography/manifest.json +35 -0
- package/registry/layers/capability/webhook-processor/files/webhook-config.json +26 -0
- package/registry/layers/capability/webhook-processor/files/webhook-handler.ts +61 -0
- package/registry/layers/capability/webhook-processor/files/webhook-queue.ts +77 -0
- package/registry/layers/capability/webhook-processor/files/webhook-router.ts +77 -0
- package/registry/layers/capability/webhook-processor/manifest.json +67 -0
- package/registry/layers/capability/webrtc/files/call-controls.tsx +82 -0
- package/registry/layers/capability/webrtc/files/participant-tile.tsx +66 -0
- package/registry/layers/capability/webrtc/files/video-room.tsx +97 -0
- package/registry/layers/capability/webrtc/files/webrtc-config.json +18 -0
- package/registry/layers/capability/webrtc/manifest.json +30 -0
- package/registry/layers/database/convex/files/database-config.json +5 -0
- package/registry/layers/database/convex/manifest.json +31 -0
- package/registry/layers/database/mongodb/files/database-config.json +5 -0
- package/registry/layers/database/mongodb/manifest.json +31 -0
- package/registry/layers/database/postgres/files/database-config.json +5 -0
- package/registry/layers/database/postgres/manifest.json +31 -0
- package/registry/layers/database/sqlite/files/database-config.json +5 -0
- package/registry/layers/database/sqlite/manifest.json +31 -0
- package/registry/layers/framework/agent-service-py/files/agent.config.json +9 -0
- package/registry/layers/framework/agent-service-py/files/app.py +43 -0
- package/registry/layers/framework/agent-service-py/manifest.json +15 -0
- package/registry/layers/framework/agent-service-rust/files/Cargo.toml +6 -0
- package/registry/layers/framework/agent-service-rust/files/agent.config.json +8 -0
- package/registry/layers/framework/agent-service-rust/files/main.rs +23 -0
- package/registry/layers/framework/agent-service-rust/manifest.json +19 -0
- package/registry/layers/framework/agent-service-ts/files/agent.config.json +9 -0
- package/registry/layers/framework/agent-service-ts/files/agent.mjs +39 -0
- package/registry/layers/framework/agent-service-ts/manifest.json +15 -0
- package/registry/layers/framework/angular-ts/files/app.component.ts +10 -0
- package/registry/layers/framework/angular-ts/files/main.ts +4 -0
- package/registry/layers/framework/angular-ts/manifest.json +9 -0
- package/registry/layers/framework/browser-extension-ts/files/background.ts +3 -0
- package/registry/layers/framework/browser-extension-ts/files/content.ts +1 -0
- package/registry/layers/framework/browser-extension-ts/files/manifest.json +13 -0
- package/registry/layers/framework/browser-extension-ts/files/popup.css +16 -0
- package/registry/layers/framework/browser-extension-ts/files/popup.html +16 -0
- package/registry/layers/framework/browser-extension-ts/files/popup.ts +13 -0
- package/registry/layers/framework/browser-extension-ts/files/tsconfig.json +8 -0
- package/registry/layers/framework/browser-extension-ts/manifest.json +39 -0
- package/registry/layers/framework/cli-ts/files/index.ts +26 -0
- package/registry/layers/framework/cli-ts/files/tsconfig.json +8 -0
- package/registry/layers/framework/cli-ts/manifest.json +15 -0
- package/registry/layers/framework/cloudflare-worker-ts/files/worker.ts +21 -0
- package/registry/layers/framework/cloudflare-worker-ts/manifest.json +11 -0
- package/registry/layers/framework/dspy-pipeline-py/files/main.py +17 -0
- package/registry/layers/framework/dspy-pipeline-py/files/pipeline.json +9 -0
- package/registry/layers/framework/dspy-pipeline-py/manifest.json +15 -0
- package/registry/layers/framework/eigenlayer-avs/files/ServiceManager.sol +10 -0
- package/registry/layers/framework/eigenlayer-avs/files/avs.config.json +9 -0
- package/registry/layers/framework/eigenlayer-avs/files/main.rs +3 -0
- package/registry/layers/framework/eigenlayer-avs/manifest.json +19 -0
- package/registry/layers/framework/electron-desktop-ts/files/app.ts +9 -0
- package/registry/layers/framework/electron-desktop-ts/files/index.html +16 -0
- package/registry/layers/framework/electron-desktop-ts/files/main.ts +1 -0
- package/registry/layers/framework/electron-desktop-ts/files/preload.ts +1 -0
- package/registry/layers/framework/electron-desktop-ts/files/styles.css +18 -0
- package/registry/layers/framework/electron-desktop-ts/files/tsconfig.json +8 -0
- package/registry/layers/framework/electron-desktop-ts/manifest.json +35 -0
- package/registry/layers/framework/evm-infra-ts/files/chain-config.json +5 -0
- package/registry/layers/framework/evm-infra-ts/files/server.mjs +39 -0
- package/registry/layers/framework/evm-infra-ts/manifest.json +15 -0
- package/registry/layers/framework/expo-react-native-ts/files/App.tsx +37 -0
- package/registry/layers/framework/expo-react-native-ts/files/app.json +8 -0
- package/registry/layers/framework/expo-react-native-ts/files/tsconfig.json +9 -0
- package/registry/layers/framework/expo-react-native-ts/manifest.json +23 -0
- package/registry/layers/framework/fhenix-contracts/files/FHECounter.sol +26 -0
- package/registry/layers/framework/fhenix-contracts/files/FHECounter.test.ts +23 -0
- package/registry/layers/framework/fhenix-contracts/files/deploy.ts +13 -0
- package/registry/layers/framework/fhenix-contracts/files/hardhat.config.ts +16 -0
- package/registry/layers/framework/fhenix-contracts/manifest.json +11 -0
- package/registry/layers/framework/fhevm-contracts/files/EncryptedCounter.sol +28 -0
- package/registry/layers/framework/fhevm-contracts/files/EncryptedCounter.test.ts +23 -0
- package/registry/layers/framework/fhevm-contracts/files/deploy.ts +13 -0
- package/registry/layers/framework/fhevm-contracts/files/hardhat.config.ts +21 -0
- package/registry/layers/framework/fhevm-contracts/manifest.json +11 -0
- package/registry/layers/framework/forge-foundation/files/Counter.sol +14 -0
- package/registry/layers/framework/forge-foundation/files/Counter.t.sol +17 -0
- package/registry/layers/framework/forge-foundation/files/Deploy.s.sol +10 -0
- package/registry/layers/framework/forge-foundation/files/foundry.toml +6 -0
- package/registry/layers/framework/forge-foundation/manifest.json +23 -0
- package/registry/layers/framework/fullstack-node-ts/files/client.js +60 -0
- package/registry/layers/framework/fullstack-node-ts/files/client.ts +6 -0
- package/registry/layers/framework/fullstack-node-ts/files/index.html +25 -0
- package/registry/layers/framework/fullstack-node-ts/files/server.ts +62 -0
- package/registry/layers/framework/fullstack-node-ts/files/styles.css +86 -0
- package/registry/layers/framework/fullstack-node-ts/files/tsconfig.json +10 -0
- package/registry/layers/framework/fullstack-node-ts/manifest.json +36 -0
- package/registry/layers/framework/go-net-http/files/go.mod +3 -0
- package/registry/layers/framework/go-net-http/files/handlers.go +28 -0
- package/registry/layers/framework/go-net-http/files/main.go +23 -0
- package/registry/layers/framework/go-net-http/manifest.json +19 -0
- package/registry/layers/framework/go-worker/files/cycle.go +5 -0
- package/registry/layers/framework/go-worker/files/go.mod +3 -0
- package/registry/layers/framework/go-worker/files/main.go +11 -0
- package/registry/layers/framework/go-worker/manifest.json +19 -0
- package/registry/layers/framework/hardhat-ts/files/contract.sol +6 -0
- package/registry/layers/framework/hardhat-ts/files/deploy.ts +1 -0
- package/registry/layers/framework/hardhat-ts/files/env.example +1 -0
- package/registry/layers/framework/hardhat-ts/files/hardhat.config.ts +10 -0
- package/registry/layers/framework/hardhat-ts/files/test.ts +3 -0
- package/registry/layers/framework/hardhat-ts/files/tsconfig.json +9 -0
- package/registry/layers/framework/hardhat-ts/manifest.json +31 -0
- package/registry/layers/framework/mcp-server-ts/files/mcp.config.json +9 -0
- package/registry/layers/framework/mcp-server-ts/files/server.mjs +12 -0
- package/registry/layers/framework/mcp-server-ts/manifest.json +15 -0
- package/registry/layers/framework/move-package/files/Move.toml +6 -0
- package/registry/layers/framework/move-package/files/module.move +22 -0
- package/registry/layers/framework/move-package/files/test.move +9 -0
- package/registry/layers/framework/move-package/manifest.json +19 -0
- package/registry/layers/framework/nextjs-app-router/files/globals.css +42 -0
- package/registry/layers/framework/nextjs-app-router/files/layout.tsx +16 -0
- package/registry/layers/framework/nextjs-app-router/files/next.config.ts +5 -0
- package/registry/layers/framework/nextjs-app-router/files/page.tsx +8 -0
- package/registry/layers/framework/nextjs-app-router/files/postcss.config.js +5 -0
- package/registry/layers/framework/nextjs-app-router/files/preview-client.js +47 -0
- package/registry/layers/framework/nextjs-app-router/files/preview-index.html +19 -0
- package/registry/layers/framework/nextjs-app-router/files/tsconfig.json +15 -0
- package/registry/layers/framework/nextjs-app-router/manifest.json +43 -0
- package/registry/layers/framework/node-http/files/server.mjs +65 -0
- package/registry/layers/framework/node-http/manifest.json +11 -0
- package/registry/layers/framework/node-worker/files/worker.mjs +43 -0
- package/registry/layers/framework/node-worker/manifest.json +11 -0
- package/registry/layers/framework/playwright-worker/files/worker.mjs +13 -0
- package/registry/layers/framework/playwright-worker/manifest.json +11 -0
- package/registry/layers/framework/python-data-app/files/app.py +54 -0
- package/registry/layers/framework/python-data-app/manifest.json +15 -0
- package/registry/layers/framework/python-http/files/app.py +44 -0
- package/registry/layers/framework/python-http/manifest.json +11 -0
- package/registry/layers/framework/python-worker/files/worker.py +49 -0
- package/registry/layers/framework/python-worker/manifest.json +8 -0
- package/registry/layers/framework/react-vite-ts/files/App.tsx +8 -0
- package/registry/layers/framework/react-vite-ts/files/index.html +15 -0
- package/registry/layers/framework/react-vite-ts/files/main.ts +8 -0
- package/registry/layers/framework/react-vite-ts/files/preview-client.js +49 -0
- package/registry/layers/framework/react-vite-ts/files/styles.css +43 -0
- package/registry/layers/framework/react-vite-ts/files/tsconfig.json +15 -0
- package/registry/layers/framework/react-vite-ts/files/vite.config.ts +13 -0
- package/registry/layers/framework/react-vite-ts/manifest.json +39 -0
- package/registry/layers/framework/remix-ts/files/index.tsx +8 -0
- package/registry/layers/framework/remix-ts/files/root.tsx +10 -0
- package/registry/layers/framework/remix-ts/files/vite.config.ts +14 -0
- package/registry/layers/framework/remix-ts/manifest.json +10 -0
- package/registry/layers/framework/rust-http/files/Cargo.toml +6 -0
- package/registry/layers/framework/rust-http/files/main.rs +26 -0
- package/registry/layers/framework/rust-http/manifest.json +15 -0
- package/registry/layers/framework/solana-native-rust/files/Cargo.toml +9 -0
- package/registry/layers/framework/solana-native-rust/files/README.md +5 -0
- package/registry/layers/framework/solana-native-rust/files/lib.rs +48 -0
- package/registry/layers/framework/solana-native-rust/manifest.json +19 -0
- package/registry/layers/framework/stylus-contracts/files/Cargo.toml +8 -0
- package/registry/layers/framework/stylus-contracts/files/lib.rs +13 -0
- package/registry/layers/framework/stylus-contracts/files/stylus.json +4 -0
- package/registry/layers/framework/stylus-contracts/manifest.json +19 -0
- package/registry/layers/framework/sveltekit-ts/files/app.html +5 -0
- package/registry/layers/framework/sveltekit-ts/files/layout.svelte +1 -0
- package/registry/layers/framework/sveltekit-ts/files/page.svelte +8 -0
- package/registry/layers/framework/sveltekit-ts/files/svelte.config.js +2 -0
- package/registry/layers/framework/sveltekit-ts/files/vite.config.ts +9 -0
- package/registry/layers/framework/sveltekit-ts/manifest.json +12 -0
- package/registry/layers/framework/tangle-blueprint/files/Cargo.toml +10 -0
- package/registry/layers/framework/tangle-blueprint/files/HelloBlueprint.sol +32 -0
- package/registry/layers/framework/tangle-blueprint/files/bin-Cargo.toml +15 -0
- package/registry/layers/framework/tangle-blueprint/files/blueprint.json +16 -0
- package/registry/layers/framework/tangle-blueprint/files/cargo-config.toml +2 -0
- package/registry/layers/framework/tangle-blueprint/files/foundry.toml +17 -0
- package/registry/layers/framework/tangle-blueprint/files/lib-Cargo.toml +13 -0
- package/registry/layers/framework/tangle-blueprint/files/lib.rs +55 -0
- package/registry/layers/framework/tangle-blueprint/files/main.rs +70 -0
- package/registry/layers/framework/tangle-blueprint/files/rust-toolchain.toml +4 -0
- package/registry/layers/framework/tangle-blueprint/manifest.json +47 -0
- package/registry/layers/framework/tauri-desktop/files/Cargo.toml +7 -0
- package/registry/layers/framework/tauri-desktop/files/app.ts +7 -0
- package/registry/layers/framework/tauri-desktop/files/index.html +16 -0
- package/registry/layers/framework/tauri-desktop/files/main.rs +3 -0
- package/registry/layers/framework/tauri-desktop/files/styles.css +18 -0
- package/registry/layers/framework/tauri-desktop/files/tauri.conf.json +7 -0
- package/registry/layers/framework/tauri-desktop/files/tsconfig.json +8 -0
- package/registry/layers/framework/tauri-desktop/manifest.json +35 -0
- package/registry/layers/framework/vue-ts/files/App.vue +11 -0
- package/registry/layers/framework/vue-ts/files/index.html +5 -0
- package/registry/layers/framework/vue-ts/files/main.ts +3 -0
- package/registry/layers/framework/vue-ts/files/vite.config.ts +14 -0
- package/registry/layers/framework/vue-ts/manifest.json +11 -0
- package/registry/layers/framework/web-static/files/app.js +53 -0
- package/registry/layers/framework/web-static/files/index.html +21 -0
- package/registry/layers/framework/web-static/files/styles.css +85 -0
- package/registry/layers/framework/web-static/manifest.json +23 -0
- package/registry/layers/framework/x402-service/files/server.mjs +18 -0
- package/registry/layers/framework/x402-service/files/x402.config.json +7 -0
- package/registry/layers/framework/x402-service/manifest.json +15 -0
- package/registry/layers/framework/zk-prover-service/files/proof-system.json +8 -0
- package/registry/layers/framework/zk-prover-service/files/server.mjs +18 -0
- package/registry/layers/framework/zk-prover-service/manifest.json +15 -0
- package/registry/layers/payments/coinbase-commerce/files/payments-config.json +5 -0
- package/registry/layers/payments/coinbase-commerce/manifest.json +39 -0
- package/registry/layers/payments/none/manifest.json +30 -0
- package/registry/layers/payments/stripe/files/payments-config.json +5 -0
- package/registry/layers/payments/stripe/manifest.json +39 -0
- package/registry/layers/queue/bullmq/files/queue-config.json +5 -0
- package/registry/layers/queue/bullmq/manifest.json +35 -0
- package/registry/layers/queue/none/manifest.json +26 -0
- package/registry/layers/queue/trigger-dev/files/queue-config.json +5 -0
- package/registry/layers/queue/trigger-dev/manifest.json +35 -0
- package/registry/layers/sdk/coinbase-cdp/files/sdk-config.json +30 -0
- package/registry/layers/sdk/coinbase-cdp/manifest.json +61 -0
- package/registry/layers/sdk/evm-wallet/files/sdk-config.json +49 -0
- package/registry/layers/sdk/evm-wallet/manifest.json +64 -0
- package/registry/layers/sdk/none/manifest.json +34 -0
- package/registry/layers/sdk/solana-web3/files/sdk-config.json +31 -0
- package/registry/layers/sdk/solana-web3/manifest.json +59 -0
- package/registry/partners/arbitrum/files/partner-config.json +5 -0
- package/registry/partners/arbitrum/files/starter-brand.json +5 -0
- package/registry/partners/arbitrum/manifest.json +42 -0
- package/registry/partners/coinbase/files/partner-config.json +6 -0
- package/registry/partners/coinbase/files/starter-brand.json +4 -0
- package/registry/partners/coinbase/manifest.json +46 -0
- package/registry/partners/eigenlayer/files/partner-config.json +5 -0
- package/registry/partners/eigenlayer/files/starter-brand.json +5 -0
- package/registry/partners/eigenlayer/manifest.json +39 -0
- package/registry/partners/solana/files/partner-config.json +5 -0
- package/registry/partners/solana/files/starter-brand.json +5 -0
- package/registry/partners/solana/manifest.json +39 -0
- package/registry/partners/tangle/files/partner-config.json +5 -0
- package/registry/partners/tangle/files/starter-brand.json +5 -0
- package/registry/partners/tangle/manifest.json +39 -0
- package/registry/partners/xlayer/files/partner-config.json +5 -0
- package/registry/partners/xlayer/files/starter-brand.json +5 -0
- package/registry/partners/xlayer/manifest.json +41 -0
- package/specs/agent-python-research.json +12 -0
- package/specs/agent-rust-runtime.json +11 -0
- package/specs/agent-ts-control-plane.json +13 -0
- package/specs/api-evm-protocol.json +17 -0
- package/specs/api-health.json +14 -0
- package/specs/browser-extension-research.json +12 -0
- package/specs/cli-release-tool.json +9 -0
- package/specs/cloudflare-edge.json +13 -0
- package/specs/coinbase-landing.json +13 -0
- package/specs/dspy-pipeline.json +8 -0
- package/specs/eigenlayer-avs.json +8 -0
- package/specs/electron-ops-console.json +14 -0
- package/specs/evm-infra.json +15 -0
- package/specs/expo-wallet-mobile.json +14 -0
- package/specs/forge-counter.json +10 -0
- package/specs/fullstack-control-plane.json +16 -0
- package/specs/go-api.json +12 -0
- package/specs/go-worker.json +11 -0
- package/specs/hardhat-xlayer-config.json +9 -0
- package/specs/mcp-server.json +8 -0
- package/specs/move-treasury.json +10 -0
- package/specs/multichain-workspace.json +74 -0
- package/specs/nextjs-saas.json +11 -0
- package/specs/playwright-worker.json +11 -0
- package/specs/python-api.json +13 -0
- package/specs/python-data-insights.json +9 -0
- package/specs/react-vite-coinbase.json +11 -0
- package/specs/rust-service.json +13 -0
- package/specs/solana-keeper-worker.json +13 -0
- package/specs/solana-perps.json +12 -0
- package/specs/solana-prediction.json +12 -0
- package/specs/solana-treasury.json +10 -0
- package/specs/stylus-contracts.json +8 -0
- package/specs/tangle-blueprint.json +9 -0
- package/specs/tangle-custody.json +11 -0
- package/specs/tangle-oracle.json +11 -0
- package/specs/tauri-desktop.json +13 -0
- package/specs/trading-worker.json +12 -0
- package/specs/x402-service.json +8 -0
- package/specs/xlayer-aa.json +13 -0
- package/specs/xlayer-foundry-deploy.json +12 -0
- package/specs/xlayer-oft.json +13 -0
- package/specs/xlayer-wallet-dashboard.json +18 -0
- package/specs/zk-prover.json +8 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
import { cn } from "@/lib/utils"
|
|
3
|
+
|
|
4
|
+
const Switch = React.forwardRef<
|
|
5
|
+
HTMLButtonElement,
|
|
6
|
+
React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
7
|
+
checked?: boolean
|
|
8
|
+
onCheckedChange?: (checked: boolean) => void
|
|
9
|
+
}
|
|
10
|
+
>(({ className, checked = false, onCheckedChange, ...props }, ref) => {
|
|
11
|
+
return (
|
|
12
|
+
<button
|
|
13
|
+
type="button"
|
|
14
|
+
role="switch"
|
|
15
|
+
aria-checked={checked}
|
|
16
|
+
ref={ref}
|
|
17
|
+
className={cn(
|
|
18
|
+
"peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",
|
|
19
|
+
checked ? "bg-primary" : "bg-input",
|
|
20
|
+
className
|
|
21
|
+
)}
|
|
22
|
+
onClick={() => onCheckedChange?.(!checked)}
|
|
23
|
+
{...props}
|
|
24
|
+
>
|
|
25
|
+
<span
|
|
26
|
+
className={cn(
|
|
27
|
+
"pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform",
|
|
28
|
+
checked ? "translate-x-4" : "translate-x-0"
|
|
29
|
+
)}
|
|
30
|
+
/>
|
|
31
|
+
</button>
|
|
32
|
+
)
|
|
33
|
+
})
|
|
34
|
+
Switch.displayName = "Switch"
|
|
35
|
+
|
|
36
|
+
export { Switch }
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
import { cn } from "@/lib/utils"
|
|
3
|
+
|
|
4
|
+
const Table = React.forwardRef<HTMLTableElement, React.HTMLAttributes<HTMLTableElement>>(
|
|
5
|
+
({ className, ...props }, ref) => (
|
|
6
|
+
<div className="relative w-full overflow-auto">
|
|
7
|
+
<table ref={ref} className={cn("w-full caption-bottom text-sm", className)} {...props} />
|
|
8
|
+
</div>
|
|
9
|
+
)
|
|
10
|
+
)
|
|
11
|
+
Table.displayName = "Table"
|
|
12
|
+
|
|
13
|
+
const TableHeader = React.forwardRef<HTMLTableSectionElement, React.HTMLAttributes<HTMLTableSectionElement>>(
|
|
14
|
+
({ className, ...props }, ref) => <thead ref={ref} className={cn("[&_tr]:border-b", className)} {...props} />
|
|
15
|
+
)
|
|
16
|
+
TableHeader.displayName = "TableHeader"
|
|
17
|
+
|
|
18
|
+
const TableBody = React.forwardRef<HTMLTableSectionElement, React.HTMLAttributes<HTMLTableSectionElement>>(
|
|
19
|
+
({ className, ...props }, ref) => <tbody ref={ref} className={cn("[&_tr:last-child]:border-0", className)} {...props} />
|
|
20
|
+
)
|
|
21
|
+
TableBody.displayName = "TableBody"
|
|
22
|
+
|
|
23
|
+
const TableFooter = React.forwardRef<HTMLTableSectionElement, React.HTMLAttributes<HTMLTableSectionElement>>(
|
|
24
|
+
({ className, ...props }, ref) => (
|
|
25
|
+
<tfoot ref={ref} className={cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className)} {...props} />
|
|
26
|
+
)
|
|
27
|
+
)
|
|
28
|
+
TableFooter.displayName = "TableFooter"
|
|
29
|
+
|
|
30
|
+
const TableRow = React.forwardRef<HTMLTableRowElement, React.HTMLAttributes<HTMLTableRowElement>>(
|
|
31
|
+
({ className, ...props }, ref) => (
|
|
32
|
+
<tr ref={ref} className={cn("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", className)} {...props} />
|
|
33
|
+
)
|
|
34
|
+
)
|
|
35
|
+
TableRow.displayName = "TableRow"
|
|
36
|
+
|
|
37
|
+
const TableHead = React.forwardRef<HTMLTableCellElement, React.ThHTMLAttributes<HTMLTableCellElement>>(
|
|
38
|
+
({ className, ...props }, ref) => (
|
|
39
|
+
<th ref={ref} className={cn("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className)} {...props} />
|
|
40
|
+
)
|
|
41
|
+
)
|
|
42
|
+
TableHead.displayName = "TableHead"
|
|
43
|
+
|
|
44
|
+
const TableCell = React.forwardRef<HTMLTableCellElement, React.TdHTMLAttributes<HTMLTableCellElement>>(
|
|
45
|
+
({ className, ...props }, ref) => (
|
|
46
|
+
<td ref={ref} className={cn("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className)} {...props} />
|
|
47
|
+
)
|
|
48
|
+
)
|
|
49
|
+
TableCell.displayName = "TableCell"
|
|
50
|
+
|
|
51
|
+
const TableCaption = React.forwardRef<HTMLTableCaptionElement, React.HTMLAttributes<HTMLTableCaptionElement>>(
|
|
52
|
+
({ className, ...props }, ref) => (
|
|
53
|
+
<caption ref={ref} className={cn("mt-4 text-sm text-muted-foreground", className)} {...props} />
|
|
54
|
+
)
|
|
55
|
+
)
|
|
56
|
+
TableCaption.displayName = "TableCaption"
|
|
57
|
+
|
|
58
|
+
export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption }
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
import { cn } from "@/lib/utils"
|
|
3
|
+
|
|
4
|
+
type TabsContextValue = { value: string; onValueChange: (v: string) => void }
|
|
5
|
+
const TabsContext = React.createContext<TabsContextValue>({ value: "", onValueChange: () => {} })
|
|
6
|
+
|
|
7
|
+
function Tabs({ defaultValue = "", value: controlledValue, onValueChange, className, children, ...props }: React.HTMLAttributes<HTMLDivElement> & { defaultValue?: string; value?: string; onValueChange?: (v: string) => void }) {
|
|
8
|
+
const [internal, setInternal] = React.useState(defaultValue)
|
|
9
|
+
const value = controlledValue ?? internal
|
|
10
|
+
const setter = onValueChange ?? setInternal
|
|
11
|
+
return (
|
|
12
|
+
<TabsContext.Provider value={{ value, onValueChange: setter }}>
|
|
13
|
+
<div className={cn("", className)} {...props}>{children}</div>
|
|
14
|
+
</TabsContext.Provider>
|
|
15
|
+
)
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const TabsList = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(
|
|
19
|
+
({ className, ...props }, ref) => (
|
|
20
|
+
<div ref={ref} className={cn("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground", className)} {...props} />
|
|
21
|
+
)
|
|
22
|
+
)
|
|
23
|
+
TabsList.displayName = "TabsList"
|
|
24
|
+
|
|
25
|
+
const TabsTrigger = React.forwardRef<HTMLButtonElement, React.ButtonHTMLAttributes<HTMLButtonElement> & { value: string }>(
|
|
26
|
+
({ className, value, ...props }, ref) => {
|
|
27
|
+
const ctx = React.useContext(TabsContext)
|
|
28
|
+
const active = ctx.value === value
|
|
29
|
+
return (
|
|
30
|
+
<button
|
|
31
|
+
ref={ref}
|
|
32
|
+
type="button"
|
|
33
|
+
role="tab"
|
|
34
|
+
aria-selected={active}
|
|
35
|
+
data-state={active ? "active" : "inactive"}
|
|
36
|
+
className={cn("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", active && "bg-background text-foreground shadow", className)}
|
|
37
|
+
onClick={() => ctx.onValueChange(value)}
|
|
38
|
+
{...props}
|
|
39
|
+
/>
|
|
40
|
+
)
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
TabsTrigger.displayName = "TabsTrigger"
|
|
44
|
+
|
|
45
|
+
const TabsContent = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement> & { value: string }>(
|
|
46
|
+
({ className, value, ...props }, ref) => {
|
|
47
|
+
const ctx = React.useContext(TabsContext)
|
|
48
|
+
if (ctx.value !== value) return null
|
|
49
|
+
return (
|
|
50
|
+
<div ref={ref} role="tabpanel" className={cn("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", className)} {...props} />
|
|
51
|
+
)
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
TabsContent.displayName = "TabsContent"
|
|
55
|
+
|
|
56
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent }
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
import { cn } from "@/lib/utils"
|
|
3
|
+
|
|
4
|
+
const Textarea = React.forwardRef<HTMLTextAreaElement, React.TextareaHTMLAttributes<HTMLTextAreaElement>>(
|
|
5
|
+
({ className, ...props }, ref) => {
|
|
6
|
+
return (
|
|
7
|
+
<textarea
|
|
8
|
+
className={cn(
|
|
9
|
+
"flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
10
|
+
className
|
|
11
|
+
)}
|
|
12
|
+
ref={ref}
|
|
13
|
+
{...props}
|
|
14
|
+
/>
|
|
15
|
+
)
|
|
16
|
+
}
|
|
17
|
+
)
|
|
18
|
+
Textarea.displayName = "Textarea"
|
|
19
|
+
|
|
20
|
+
export { Textarea }
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
import { cva, type VariantProps } from "class-variance-authority"
|
|
3
|
+
import { cn } from "@/lib/utils"
|
|
4
|
+
|
|
5
|
+
const toastVariants = cva(
|
|
6
|
+
"group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all",
|
|
7
|
+
{
|
|
8
|
+
variants: {
|
|
9
|
+
variant: {
|
|
10
|
+
default: "border bg-background text-foreground",
|
|
11
|
+
destructive: "destructive group border-destructive bg-destructive text-destructive-foreground",
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
defaultVariants: { variant: "default" },
|
|
15
|
+
}
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
type ToastData = { id: string; title?: string; description?: string; variant?: "default" | "destructive"; action?: React.ReactNode }
|
|
19
|
+
|
|
20
|
+
let listeners: Array<(t: ToastData) => void> = []
|
|
21
|
+
let toastCount = 0
|
|
22
|
+
|
|
23
|
+
function toast(opts: Omit<ToastData, "id">) {
|
|
24
|
+
const t = { ...opts, id: String(++toastCount) }
|
|
25
|
+
listeners.forEach((fn) => fn(t))
|
|
26
|
+
return t.id
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function ToastAction({ className, ...props }: React.ButtonHTMLAttributes<HTMLButtonElement>) {
|
|
30
|
+
return (
|
|
31
|
+
<button className={cn("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring", className)} {...props} />
|
|
32
|
+
)
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function Toaster() {
|
|
36
|
+
const [toasts, setToasts] = React.useState<ToastData[]>([])
|
|
37
|
+
|
|
38
|
+
React.useEffect(() => {
|
|
39
|
+
const handler = (t: ToastData) => {
|
|
40
|
+
setToasts((prev) => [...prev, t])
|
|
41
|
+
setTimeout(() => setToasts((prev) => prev.filter((x) => x.id !== t.id)), 5000)
|
|
42
|
+
}
|
|
43
|
+
listeners.push(handler)
|
|
44
|
+
return () => { listeners = listeners.filter((fn) => fn !== handler) }
|
|
45
|
+
}, [])
|
|
46
|
+
|
|
47
|
+
if (toasts.length === 0) return null
|
|
48
|
+
|
|
49
|
+
return (
|
|
50
|
+
<div className="fixed bottom-0 right-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:max-w-[420px]">
|
|
51
|
+
{toasts.map((t) => (
|
|
52
|
+
<div key={t.id} className={cn(toastVariants({ variant: t.variant }), "mb-2")}>
|
|
53
|
+
<div className="grid gap-1">
|
|
54
|
+
{t.title && <div className="text-sm font-semibold">{t.title}</div>}
|
|
55
|
+
{t.description && <div className="text-sm opacity-90">{t.description}</div>}
|
|
56
|
+
</div>
|
|
57
|
+
{t.action}
|
|
58
|
+
<button className="absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none group-hover:opacity-100"
|
|
59
|
+
onClick={() => setToasts((prev) => prev.filter((x) => x.id !== t.id))}>
|
|
60
|
+
<span className="text-xs">✕</span>
|
|
61
|
+
</button>
|
|
62
|
+
</div>
|
|
63
|
+
))}
|
|
64
|
+
</div>
|
|
65
|
+
)
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export { toast, Toaster, ToastAction, toastVariants }
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
import { cva, type VariantProps } from "class-variance-authority"
|
|
3
|
+
import { cn } from "@/lib/utils"
|
|
4
|
+
|
|
5
|
+
const toggleVariants = cva(
|
|
6
|
+
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
7
|
+
{
|
|
8
|
+
variants: {
|
|
9
|
+
variant: {
|
|
10
|
+
default: "bg-transparent",
|
|
11
|
+
outline: "border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground",
|
|
12
|
+
},
|
|
13
|
+
size: {
|
|
14
|
+
default: "h-9 px-2 min-w-9",
|
|
15
|
+
sm: "h-8 px-1.5 min-w-8",
|
|
16
|
+
lg: "h-10 px-2.5 min-w-10",
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
defaultVariants: { variant: "default", size: "default" },
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
const Toggle = React.forwardRef<
|
|
24
|
+
HTMLButtonElement,
|
|
25
|
+
React.ButtonHTMLAttributes<HTMLButtonElement> &
|
|
26
|
+
VariantProps<typeof toggleVariants> & {
|
|
27
|
+
pressed?: boolean
|
|
28
|
+
onPressedChange?: (pressed: boolean) => void
|
|
29
|
+
}
|
|
30
|
+
>(({ className, variant, size, pressed = false, onPressedChange, ...props }, ref) => (
|
|
31
|
+
<button
|
|
32
|
+
ref={ref}
|
|
33
|
+
type="button"
|
|
34
|
+
aria-pressed={pressed}
|
|
35
|
+
data-state={pressed ? "on" : "off"}
|
|
36
|
+
className={cn(toggleVariants({ variant, size, className }))}
|
|
37
|
+
onClick={() => onPressedChange?.(!pressed)}
|
|
38
|
+
{...props}
|
|
39
|
+
/>
|
|
40
|
+
))
|
|
41
|
+
Toggle.displayName = "Toggle"
|
|
42
|
+
|
|
43
|
+
export { Toggle, toggleVariants }
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
import { cn } from "@/lib/utils"
|
|
3
|
+
|
|
4
|
+
function TooltipProvider({ children }: { children: React.ReactNode }) {
|
|
5
|
+
return <>{children}</>
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
type TooltipContextValue = { open: boolean; onOpenChange: (v: boolean) => void }
|
|
9
|
+
const TooltipContext = React.createContext<TooltipContextValue>({ open: false, onOpenChange: () => {} })
|
|
10
|
+
|
|
11
|
+
function Tooltip({ open: controlledOpen, onOpenChange, children }: { open?: boolean; onOpenChange?: (v: boolean) => void; children: React.ReactNode }) {
|
|
12
|
+
const [internal, setInternal] = React.useState(false)
|
|
13
|
+
const open = controlledOpen ?? internal
|
|
14
|
+
const setter = onOpenChange ?? setInternal
|
|
15
|
+
return <TooltipContext.Provider value={{ open, onOpenChange: setter }}>{children}</TooltipContext.Provider>
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const TooltipTrigger = React.forwardRef<HTMLButtonElement, React.ButtonHTMLAttributes<HTMLButtonElement>>(
|
|
19
|
+
({ onMouseEnter, onMouseLeave, ...props }, ref) => {
|
|
20
|
+
const ctx = React.useContext(TooltipContext)
|
|
21
|
+
return (
|
|
22
|
+
<button ref={ref} type="button"
|
|
23
|
+
onMouseEnter={(e) => { ctx.onOpenChange(true); onMouseEnter?.(e) }}
|
|
24
|
+
onMouseLeave={(e) => { ctx.onOpenChange(false); onMouseLeave?.(e) }}
|
|
25
|
+
onFocus={() => ctx.onOpenChange(true)}
|
|
26
|
+
onBlur={() => ctx.onOpenChange(false)}
|
|
27
|
+
{...props}
|
|
28
|
+
/>
|
|
29
|
+
)
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
TooltipTrigger.displayName = "TooltipTrigger"
|
|
33
|
+
|
|
34
|
+
const TooltipContent = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(
|
|
35
|
+
({ className, ...props }, ref) => {
|
|
36
|
+
const ctx = React.useContext(TooltipContext)
|
|
37
|
+
if (!ctx.open) return null
|
|
38
|
+
return (
|
|
39
|
+
<div ref={ref} className={cn("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95", className)} {...props} />
|
|
40
|
+
)
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
TooltipContent.displayName = "TooltipContent"
|
|
44
|
+
|
|
45
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "shadcn",
|
|
3
|
+
"description": "Adds shadcn/ui component system with cn() utility, path aliases, and base UI components ready to use.",
|
|
4
|
+
"appliesTo": [
|
|
5
|
+
"react-vite-ts",
|
|
6
|
+
"nextjs-ts",
|
|
7
|
+
"fullstack-ts",
|
|
8
|
+
"remix-ts",
|
|
9
|
+
"electron-desktop-ts",
|
|
10
|
+
"tauri-desktop"
|
|
11
|
+
],
|
|
12
|
+
"files": [
|
|
13
|
+
{
|
|
14
|
+
"source": "files/shadcn-config.json",
|
|
15
|
+
"target": "shadcn-config.json"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"source": "files/utils.ts",
|
|
19
|
+
"target": "src/lib/utils.ts"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"source": "files/alert.tsx",
|
|
23
|
+
"target": "src/components/ui/alert.tsx"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"source": "files/avatar.tsx",
|
|
27
|
+
"target": "src/components/ui/avatar.tsx"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"source": "files/badge.tsx",
|
|
31
|
+
"target": "src/components/ui/badge.tsx"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"source": "files/breadcrumb.tsx",
|
|
35
|
+
"target": "src/components/ui/breadcrumb.tsx"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"source": "files/button.tsx",
|
|
39
|
+
"target": "src/components/ui/button.tsx"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"source": "files/card.tsx",
|
|
43
|
+
"target": "src/components/ui/card.tsx"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"source": "files/checkbox.tsx",
|
|
47
|
+
"target": "src/components/ui/checkbox.tsx"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"source": "files/command.tsx",
|
|
51
|
+
"target": "src/components/ui/command.tsx"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"source": "files/dialog.tsx",
|
|
55
|
+
"target": "src/components/ui/dialog.tsx"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"source": "files/dropdown-menu.tsx",
|
|
59
|
+
"target": "src/components/ui/dropdown-menu.tsx"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"source": "files/form.tsx",
|
|
63
|
+
"target": "src/components/ui/form.tsx"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"source": "files/input.tsx",
|
|
67
|
+
"target": "src/components/ui/input.tsx"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"source": "files/label.tsx",
|
|
71
|
+
"target": "src/components/ui/label.tsx"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"source": "files/progress.tsx",
|
|
75
|
+
"target": "src/components/ui/progress.tsx"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"source": "files/scroll-area.tsx",
|
|
79
|
+
"target": "src/components/ui/scroll-area.tsx"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"source": "files/select.tsx",
|
|
83
|
+
"target": "src/components/ui/select.tsx"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"source": "files/separator.tsx",
|
|
87
|
+
"target": "src/components/ui/separator.tsx"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"source": "files/sheet.tsx",
|
|
91
|
+
"target": "src/components/ui/sheet.tsx"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"source": "files/sidebar.tsx",
|
|
95
|
+
"target": "src/components/ui/sidebar.tsx"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"source": "files/skeleton.tsx",
|
|
99
|
+
"target": "src/components/ui/skeleton.tsx"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"source": "files/switch.tsx",
|
|
103
|
+
"target": "src/components/ui/switch.tsx"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"source": "files/table.tsx",
|
|
107
|
+
"target": "src/components/ui/table.tsx"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"source": "files/tabs.tsx",
|
|
111
|
+
"target": "src/components/ui/tabs.tsx"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"source": "files/textarea.tsx",
|
|
115
|
+
"target": "src/components/ui/textarea.tsx"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"source": "files/toast.tsx",
|
|
119
|
+
"target": "src/components/ui/toast.tsx"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"source": "files/toggle.tsx",
|
|
123
|
+
"target": "src/components/ui/toggle.tsx"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"source": "files/tooltip.tsx",
|
|
127
|
+
"target": "src/components/ui/tooltip.tsx"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"contextHints": {
|
|
131
|
+
"extensionPoints": [
|
|
132
|
+
"shadcn-config.json",
|
|
133
|
+
"src/lib/utils.ts",
|
|
134
|
+
"src/components/ui/"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"keywords": [
|
|
138
|
+
"shadcn",
|
|
139
|
+
"shadcn/ui",
|
|
140
|
+
"shadcn-ui",
|
|
141
|
+
"radix ui",
|
|
142
|
+
"radix primitives",
|
|
143
|
+
"cn utility",
|
|
144
|
+
"component library",
|
|
145
|
+
"professional",
|
|
146
|
+
"production-ready",
|
|
147
|
+
"design system"
|
|
148
|
+
],
|
|
149
|
+
"capabilityRequires": [
|
|
150
|
+
"tailwind"
|
|
151
|
+
],
|
|
152
|
+
"defaults": {
|
|
153
|
+
"presetCode": "aIkeymG",
|
|
154
|
+
"presetOptions": {
|
|
155
|
+
"neutral": "aIkeymG",
|
|
156
|
+
"vibrant": "b2D0wqNxT",
|
|
157
|
+
"minimal": "aFk3nPQ",
|
|
158
|
+
"dark": "cR8mLvW",
|
|
159
|
+
"playful": "dN5pKjX"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"buildHints": {
|
|
163
|
+
"architectureNotes": [
|
|
164
|
+
"shadcn/ui components are pre-installed in src/components/ui/. Import directly: import { Button } from '@/components/ui/button'",
|
|
165
|
+
"Add more components via: npx shadcn@latest add dialog sheet dropdown-menu",
|
|
166
|
+
"The cn() utility in src/lib/utils.ts merges Tailwind classes. Use it in all custom components.",
|
|
167
|
+
"Configure tsconfig.json paths: { '@/*': ['./src/*'] }",
|
|
168
|
+
"Alternative to static component files: pnpm dlx shadcn@latest init --preset {{presetCode}}"
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
|
2
|
+
pub enum ProgramError {
|
|
3
|
+
InvalidInstruction,
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
|
7
|
+
pub enum Instruction {
|
|
8
|
+
InitializePool,
|
|
9
|
+
AddLiquidity,
|
|
10
|
+
Swap,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
impl Instruction {
|
|
14
|
+
pub fn unpack(input: &[u8]) -> Result<Self, ProgramError> {
|
|
15
|
+
match input.first().copied() {
|
|
16
|
+
Some(0) => Ok(Self::InitializePool),
|
|
17
|
+
Some(1) => Ok(Self::AddLiquidity),
|
|
18
|
+
Some(2) => Ok(Self::Swap),
|
|
19
|
+
_ => Err(ProgramError::InvalidInstruction),
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
pub fn process_instruction(input: &[u8]) -> Result<&'static str, ProgramError> {
|
|
25
|
+
match Instruction::unpack(input)? {
|
|
26
|
+
Instruction::InitializePool => Ok("initialize_pool"),
|
|
27
|
+
Instruction::AddLiquidity => Ok("add_liquidity"),
|
|
28
|
+
Instruction::Swap => Ok("swap"),
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
#[cfg(test)]
|
|
33
|
+
mod tests {
|
|
34
|
+
use super::{process_instruction, Instruction, ProgramError};
|
|
35
|
+
|
|
36
|
+
#[test]
|
|
37
|
+
fn unpacks_pool_instructions() {
|
|
38
|
+
assert_eq!(Instruction::unpack(&[0]), Ok(Instruction::InitializePool));
|
|
39
|
+
assert_eq!(Instruction::unpack(&[1]), Ok(Instruction::AddLiquidity));
|
|
40
|
+
assert_eq!(Instruction::unpack(&[2]), Ok(Instruction::Swap));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
#[test]
|
|
44
|
+
fn rejects_unknown_instruction() {
|
|
45
|
+
assert_eq!(Instruction::unpack(&[9]), Err(ProgramError::InvalidInstruction));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
#[test]
|
|
49
|
+
fn processes_swap() {
|
|
50
|
+
assert_eq!(process_instruction(&[2]), Ok("swap"));
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "solana-amm",
|
|
3
|
+
"description": "Specializes a Solana program lane for concentrated liquidity and swap routing.",
|
|
4
|
+
"appliesTo": ["solana-program"],
|
|
5
|
+
"files": [
|
|
6
|
+
{
|
|
7
|
+
"source": "files/lib.rs",
|
|
8
|
+
"target": "src/lib.rs"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"source": "files/README.md",
|
|
12
|
+
"target": "client/README.md"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"source": "files/pool-config.json",
|
|
16
|
+
"target": "pool-config.json"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"contextHints": {
|
|
20
|
+
"extensionPoints": ["src/lib.rs", "pool-config.json", "client/README.md"]
|
|
21
|
+
}
|
|
22
|
+
}
|