@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.
Files changed (777) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +140 -0
  3. package/corpus/held-out-validation.json +322 -0
  4. package/corpus/ideasai-prompts.json +820 -0
  5. package/corpus/template-family-mapping.json +87 -0
  6. package/corpus/vibecode-e2e.json +744 -0
  7. package/corpus/vibecoder-prompts.json +324 -0
  8. package/dist/cli.d.ts +2 -0
  9. package/dist/cli.js +294 -0
  10. package/dist/cli.js.map +1 -0
  11. package/dist/lib/agent-runners.d.ts +28 -0
  12. package/dist/lib/agent-runners.js +163 -0
  13. package/dist/lib/agent-runners.js.map +1 -0
  14. package/dist/lib/audit.d.ts +14 -0
  15. package/dist/lib/audit.js +75 -0
  16. package/dist/lib/audit.js.map +1 -0
  17. package/dist/lib/augment.d.ts +17 -0
  18. package/dist/lib/augment.js +45 -0
  19. package/dist/lib/augment.js.map +1 -0
  20. package/dist/lib/batch-export.d.ts +27 -0
  21. package/dist/lib/batch-export.js +124 -0
  22. package/dist/lib/batch-export.js.map +1 -0
  23. package/dist/lib/benchmark.d.ts +6 -0
  24. package/dist/lib/benchmark.js +80 -0
  25. package/dist/lib/benchmark.js.map +1 -0
  26. package/dist/lib/build-plan.d.ts +2 -0
  27. package/dist/lib/build-plan.js +144 -0
  28. package/dist/lib/build-plan.js.map +1 -0
  29. package/dist/lib/catalog.d.ts +15 -0
  30. package/dist/lib/catalog.js +41 -0
  31. package/dist/lib/catalog.js.map +1 -0
  32. package/dist/lib/compose.d.ts +5 -0
  33. package/dist/lib/compose.js +242 -0
  34. package/dist/lib/compose.js.map +1 -0
  35. package/dist/lib/context-pack.d.ts +10 -0
  36. package/dist/lib/context-pack.js +49 -0
  37. package/dist/lib/context-pack.js.map +1 -0
  38. package/dist/lib/fatten.d.ts +34 -0
  39. package/dist/lib/fatten.js +110 -0
  40. package/dist/lib/fatten.js.map +1 -0
  41. package/dist/lib/fs.d.ts +9 -0
  42. package/dist/lib/fs.js +87 -0
  43. package/dist/lib/fs.js.map +1 -0
  44. package/dist/lib/index.d.ts +16 -0
  45. package/dist/lib/index.js +16 -0
  46. package/dist/lib/index.js.map +1 -0
  47. package/dist/lib/keywords.d.ts +29 -0
  48. package/dist/lib/keywords.js +377 -0
  49. package/dist/lib/keywords.js.map +1 -0
  50. package/dist/lib/prompt-e2e.d.ts +59 -0
  51. package/dist/lib/prompt-e2e.js +177 -0
  52. package/dist/lib/prompt-e2e.js.map +1 -0
  53. package/dist/lib/prompt-planner.d.ts +9 -0
  54. package/dist/lib/prompt-planner.js +879 -0
  55. package/dist/lib/prompt-planner.js.map +1 -0
  56. package/dist/lib/prove.d.ts +61 -0
  57. package/dist/lib/prove.js +88 -0
  58. package/dist/lib/prove.js.map +1 -0
  59. package/dist/lib/registry.d.ts +36 -0
  60. package/dist/lib/registry.js +280 -0
  61. package/dist/lib/registry.js.map +1 -0
  62. package/dist/lib/release.d.ts +14 -0
  63. package/dist/lib/release.js +49 -0
  64. package/dist/lib/release.js.map +1 -0
  65. package/dist/lib/selection.d.ts +5 -0
  66. package/dist/lib/selection.js +128 -0
  67. package/dist/lib/selection.js.map +1 -0
  68. package/dist/lib/semantic-router.d.ts +29 -0
  69. package/dist/lib/semantic-router.js +114 -0
  70. package/dist/lib/semantic-router.js.map +1 -0
  71. package/dist/lib/telemetry.d.ts +62 -0
  72. package/dist/lib/telemetry.js +102 -0
  73. package/dist/lib/telemetry.js.map +1 -0
  74. package/dist/lib/validate.d.ts +5 -0
  75. package/dist/lib/validate.js +201 -0
  76. package/dist/lib/validate.js.map +1 -0
  77. package/dist/lib/workspace.d.ts +79 -0
  78. package/dist/lib/workspace.js +304 -0
  79. package/dist/lib/workspace.js.map +1 -0
  80. package/dist/types.d.ts +309 -0
  81. package/dist/types.js +2 -0
  82. package/dist/types.js.map +1 -0
  83. package/package.json +63 -0
  84. package/registry/families/agent-service-py/files/requirements.txt +1 -0
  85. package/registry/families/agent-service-py/manifest.json +159 -0
  86. package/registry/families/agent-service-rust/manifest.json +123 -0
  87. package/registry/families/agent-service-ts/files/package.json +8 -0
  88. package/registry/families/agent-service-ts/manifest.json +276 -0
  89. package/registry/families/angular-ts/files/package.json +16 -0
  90. package/registry/families/angular-ts/manifest.json +100 -0
  91. package/registry/families/api-service/files/package.json +9 -0
  92. package/registry/families/api-service/manifest.json +149 -0
  93. package/registry/families/browser-extension-ts/files/package.json +12 -0
  94. package/registry/families/browser-extension-ts/files/preview-server.mjs +33 -0
  95. package/registry/families/browser-extension-ts/files/validate-types.mjs +13 -0
  96. package/registry/families/browser-extension-ts/manifest.json +118 -0
  97. package/registry/families/cli-ts/files/package.json +12 -0
  98. package/registry/families/cli-ts/files/validate-types.mjs +7 -0
  99. package/registry/families/cli-ts/manifest.json +99 -0
  100. package/registry/families/cloudflare-worker-ts/files/package.json +11 -0
  101. package/registry/families/cloudflare-worker-ts/files/validate-worker.mjs +9 -0
  102. package/registry/families/cloudflare-worker-ts/files/wrangler.jsonc +5 -0
  103. package/registry/families/cloudflare-worker-ts/manifest.json +130 -0
  104. package/registry/families/dspy-pipeline-py/manifest.json +115 -0
  105. package/registry/families/eigenlayer-avs/files/validate-avs.mjs +18 -0
  106. package/registry/families/eigenlayer-avs/manifest.json +79 -0
  107. package/registry/families/electron-desktop-ts/files/package.json +13 -0
  108. package/registry/families/electron-desktop-ts/files/preview-server.mjs +33 -0
  109. package/registry/families/electron-desktop-ts/files/validate-types.mjs +12 -0
  110. package/registry/families/electron-desktop-ts/manifest.json +121 -0
  111. package/registry/families/evm-infra-ts/files/package.json +8 -0
  112. package/registry/families/evm-infra-ts/manifest.json +151 -0
  113. package/registry/families/expo-react-native-ts/files/package.json +14 -0
  114. package/registry/families/expo-react-native-ts/files/validate-types.mjs +10 -0
  115. package/registry/families/expo-react-native-ts/manifest.json +118 -0
  116. package/registry/families/fhenix-contracts/files/package.json +16 -0
  117. package/registry/families/fhenix-contracts/manifest.json +32 -0
  118. package/registry/families/fhevm-contracts/files/package.json +16 -0
  119. package/registry/families/fhevm-contracts/manifest.json +30 -0
  120. package/registry/families/forge-contracts/manifest.json +214 -0
  121. package/registry/families/frontend-static/files/package.json +14 -0
  122. package/registry/families/frontend-static/files/serve.mjs +33 -0
  123. package/registry/families/frontend-static/manifest.json +91 -0
  124. package/registry/families/fullstack-ts/files/package.json +21 -0
  125. package/registry/families/fullstack-ts/files/validate-types.mjs +12 -0
  126. package/registry/families/fullstack-ts/manifest.json +418 -0
  127. package/registry/families/go-api/files/validate-go.mjs +21 -0
  128. package/registry/families/go-api/manifest.json +136 -0
  129. package/registry/families/go-worker/files/validate-go-worker.mjs +14 -0
  130. package/registry/families/go-worker/manifest.json +92 -0
  131. package/registry/families/hardhat-contracts/files/package.json +13 -0
  132. package/registry/families/hardhat-contracts/files/validate-hardhat.mjs +13 -0
  133. package/registry/families/hardhat-contracts/manifest.json +79 -0
  134. package/registry/families/mcp-server-ts/files/package.json +6 -0
  135. package/registry/families/mcp-server-ts/manifest.json +120 -0
  136. package/registry/families/move-contracts/files/validate-move.mjs +25 -0
  137. package/registry/families/move-contracts/manifest.json +79 -0
  138. package/registry/families/nextjs-ts/files/package.json +30 -0
  139. package/registry/families/nextjs-ts/files/preview-server.mjs +33 -0
  140. package/registry/families/nextjs-ts/files/validate-types.mjs +18 -0
  141. package/registry/families/nextjs-ts/manifest.json +261 -0
  142. package/registry/families/playwright-worker/files/package.json +11 -0
  143. package/registry/families/playwright-worker/manifest.json +86 -0
  144. package/registry/families/python-api/files/requirements.txt +1 -0
  145. package/registry/families/python-api/manifest.json +141 -0
  146. package/registry/families/python-data-app/files/requirements.txt +1 -0
  147. package/registry/families/python-data-app/manifest.json +83 -0
  148. package/registry/families/python-worker/files/requirements.txt +1 -0
  149. package/registry/families/python-worker/manifest.json +99 -0
  150. package/registry/families/react-vite-ts/files/package.json +30 -0
  151. package/registry/families/react-vite-ts/files/preview-server.mjs +33 -0
  152. package/registry/families/react-vite-ts/files/validate-types.mjs +18 -0
  153. package/registry/families/react-vite-ts/manifest.json +183 -0
  154. package/registry/families/remix-ts/files/package.json +28 -0
  155. package/registry/families/remix-ts/manifest.json +102 -0
  156. package/registry/families/rust-service/manifest.json +122 -0
  157. package/registry/families/solana-program/manifest.json +75 -0
  158. package/registry/families/stylus-contracts/manifest.json +58 -0
  159. package/registry/families/sveltekit-ts/files/package.json +19 -0
  160. package/registry/families/sveltekit-ts/manifest.json +105 -0
  161. package/registry/families/tangle-blueprint/manifest.json +88 -0
  162. package/registry/families/tauri-desktop/files/package.json +19 -0
  163. package/registry/families/tauri-desktop/files/preview-server.mjs +33 -0
  164. package/registry/families/tauri-desktop/files/validate-types.mjs +12 -0
  165. package/registry/families/tauri-desktop/manifest.json +122 -0
  166. package/registry/families/vue-ts/files/package.json +17 -0
  167. package/registry/families/vue-ts/manifest.json +106 -0
  168. package/registry/families/worker-job/files/package.json +9 -0
  169. package/registry/families/worker-job/manifest.json +108 -0
  170. package/registry/families/x402-service/files/package.json +6 -0
  171. package/registry/families/x402-service/manifest.json +119 -0
  172. package/registry/families/zk-prover-service/files/package.json +6 -0
  173. package/registry/families/zk-prover-service/manifest.json +136 -0
  174. package/registry/layers/auth/better-auth/files/auth-config.json +24 -0
  175. package/registry/layers/auth/better-auth/manifest.json +65 -0
  176. package/registry/layers/auth/clerk/files/auth-config.json +31 -0
  177. package/registry/layers/auth/clerk/manifest.json +67 -0
  178. package/registry/layers/auth/none/manifest.json +31 -0
  179. package/registry/layers/auth/supabase-auth/files/auth-config.json +27 -0
  180. package/registry/layers/auth/supabase-auth/manifest.json +67 -0
  181. package/registry/layers/capability/admin-crud/files/admin-config.json +29 -0
  182. package/registry/layers/capability/admin-crud/files/admin-data.json +10 -0
  183. package/registry/layers/capability/admin-crud/manifest.json +58 -0
  184. package/registry/layers/capability/agent-ai-sdk/files/ai-sdk-config.json +15 -0
  185. package/registry/layers/capability/agent-ai-sdk/manifest.json +18 -0
  186. package/registry/layers/capability/agent-browser/files/browser-agent-config.json +13 -0
  187. package/registry/layers/capability/agent-browser/manifest.json +17 -0
  188. package/registry/layers/capability/agent-code-review/files/review-config.json +11 -0
  189. package/registry/layers/capability/agent-code-review/files/review-pipeline.ts +205 -0
  190. package/registry/layers/capability/agent-code-review/manifest.json +37 -0
  191. package/registry/layers/capability/agent-customer-support/files/support-config.json +15 -0
  192. package/registry/layers/capability/agent-customer-support/files/support-pipeline.ts +122 -0
  193. package/registry/layers/capability/agent-customer-support/manifest.json +38 -0
  194. package/registry/layers/capability/agent-data-pipeline/files/analyst.ts +192 -0
  195. package/registry/layers/capability/agent-data-pipeline/files/pipeline-config.json +15 -0
  196. package/registry/layers/capability/agent-data-pipeline/manifest.json +38 -0
  197. package/registry/layers/capability/agent-github/files/github-config.json +10 -0
  198. package/registry/layers/capability/agent-github/files/github-handler.ts +153 -0
  199. package/registry/layers/capability/agent-github/manifest.json +36 -0
  200. package/registry/layers/capability/agent-hermes/files/hermes-config.json +15 -0
  201. package/registry/layers/capability/agent-hermes/manifest.json +30 -0
  202. package/registry/layers/capability/agent-intel/files/entity-card.tsx +97 -0
  203. package/registry/layers/capability/agent-intel/files/intel-config.json +14 -0
  204. package/registry/layers/capability/agent-intel/files/intel-dashboard.tsx +224 -0
  205. package/registry/layers/capability/agent-intel/files/scrape-status.tsx +78 -0
  206. package/registry/layers/capability/agent-intel/manifest.json +32 -0
  207. package/registry/layers/capability/agent-langgraph/files/langgraph-config.json +17 -0
  208. package/registry/layers/capability/agent-langgraph/manifest.json +17 -0
  209. package/registry/layers/capability/agent-mastra/files/mastra-config.json +6 -0
  210. package/registry/layers/capability/agent-mastra/manifest.json +27 -0
  211. package/registry/layers/capability/agent-multi-agent/files/orchestration-config.json +18 -0
  212. package/registry/layers/capability/agent-multi-agent/files/supervisor.ts +154 -0
  213. package/registry/layers/capability/agent-multi-agent/manifest.json +39 -0
  214. package/registry/layers/capability/agent-openclaw/files/openclaw-config.json +6 -0
  215. package/registry/layers/capability/agent-openclaw/manifest.json +28 -0
  216. package/registry/layers/capability/agent-rag/files/rag-config.json +12 -0
  217. package/registry/layers/capability/agent-rag/files/retrieval-pipeline.ts +183 -0
  218. package/registry/layers/capability/agent-rag/manifest.json +65 -0
  219. package/registry/layers/capability/agent-slack/files/slack-config.json +10 -0
  220. package/registry/layers/capability/agent-slack/files/slack-handler.ts +125 -0
  221. package/registry/layers/capability/agent-slack/manifest.json +34 -0
  222. package/registry/layers/capability/agent-trading/files/strategy.ts +128 -0
  223. package/registry/layers/capability/agent-trading/files/trading-config.json +16 -0
  224. package/registry/layers/capability/agent-trading/manifest.json +61 -0
  225. package/registry/layers/capability/agent-voice/files/voice-config.json +18 -0
  226. package/registry/layers/capability/agent-voice/manifest.json +17 -0
  227. package/registry/layers/capability/ai-agent-dashboard/files/dashboard-config.json +6 -0
  228. package/registry/layers/capability/ai-agent-dashboard/files/dashboard-data.json +6 -0
  229. package/registry/layers/capability/ai-agent-dashboard/manifest.json +37 -0
  230. package/registry/layers/capability/ai-agent-orchestrator/files/agent-card.tsx +78 -0
  231. package/registry/layers/capability/ai-agent-orchestrator/files/agent-run-view.tsx +143 -0
  232. package/registry/layers/capability/ai-agent-orchestrator/files/orchestrator-page.tsx +132 -0
  233. package/registry/layers/capability/ai-agent-orchestrator/manifest.json +26 -0
  234. package/registry/layers/capability/ai-chat-sessions/files/chat-header.tsx +109 -0
  235. package/registry/layers/capability/ai-chat-sessions/files/session-folders.tsx +98 -0
  236. package/registry/layers/capability/ai-chat-sessions/files/session-list.tsx +194 -0
  237. package/registry/layers/capability/ai-chat-sessions/manifest.json +26 -0
  238. package/registry/layers/capability/ai-chat-ui/files/chat-config.json +12 -0
  239. package/registry/layers/capability/ai-chat-ui/files/chat-data.json +8 -0
  240. package/registry/layers/capability/ai-chat-ui/manifest.json +65 -0
  241. package/registry/layers/capability/ai-fine-tuning/files/finetune-config.json +10 -0
  242. package/registry/layers/capability/ai-fine-tuning/manifest.json +37 -0
  243. package/registry/layers/capability/ai-rag-chat/files/knowledge-base-manager.tsx +187 -0
  244. package/registry/layers/capability/ai-rag-chat/files/rag-message.tsx +132 -0
  245. package/registry/layers/capability/ai-rag-chat/files/source-panel.tsx +117 -0
  246. package/registry/layers/capability/ai-rag-chat/manifest.json +26 -0
  247. package/registry/layers/capability/ai-voice-chat/files/voice-chat-page.tsx +162 -0
  248. package/registry/layers/capability/ai-voice-chat/files/voice-controls.tsx +118 -0
  249. package/registry/layers/capability/ai-voice-chat/files/voice-transcript.tsx +68 -0
  250. package/registry/layers/capability/ai-voice-chat/manifest.json +26 -0
  251. package/registry/layers/capability/chart-widget/files/metric-card.tsx +51 -0
  252. package/registry/layers/capability/chart-widget/files/simple-chart.tsx +109 -0
  253. package/registry/layers/capability/chart-widget/files/starter-data.json +19 -0
  254. package/registry/layers/capability/chart-widget/manifest.json +23 -0
  255. package/registry/layers/capability/crypto-bridge-ui/files/bridge-card.tsx +173 -0
  256. package/registry/layers/capability/crypto-bridge-ui/files/bridge-history.tsx +91 -0
  257. package/registry/layers/capability/crypto-bridge-ui/manifest.json +24 -0
  258. package/registry/layers/capability/crypto-governance-ui/files/governance-page.tsx +98 -0
  259. package/registry/layers/capability/crypto-governance-ui/files/proposal-card.tsx +88 -0
  260. package/registry/layers/capability/crypto-governance-ui/manifest.json +24 -0
  261. package/registry/layers/capability/crypto-launchpad-ui/files/sale-card.tsx +113 -0
  262. package/registry/layers/capability/crypto-launchpad-ui/files/vesting-schedule.tsx +101 -0
  263. package/registry/layers/capability/crypto-launchpad-ui/manifest.json +24 -0
  264. package/registry/layers/capability/crypto-portfolio-ui/files/portfolio-overview.tsx +118 -0
  265. package/registry/layers/capability/crypto-portfolio-ui/files/token-row.tsx +79 -0
  266. package/registry/layers/capability/crypto-portfolio-ui/manifest.json +24 -0
  267. package/registry/layers/capability/crypto-staking-ui/files/staking-dashboard.tsx +170 -0
  268. package/registry/layers/capability/crypto-staking-ui/files/validator-card.tsx +82 -0
  269. package/registry/layers/capability/crypto-staking-ui/manifest.json +24 -0
  270. package/registry/layers/capability/crypto-swap-ui/files/pool-card.tsx +93 -0
  271. package/registry/layers/capability/crypto-swap-ui/files/swap-card.tsx +151 -0
  272. package/registry/layers/capability/crypto-swap-ui/files/token-select-dialog.tsx +104 -0
  273. package/registry/layers/capability/crypto-swap-ui/manifest.json +25 -0
  274. package/registry/layers/capability/defi-bridge/files/bridge-config.json +15 -0
  275. package/registry/layers/capability/defi-bridge/manifest.json +35 -0
  276. package/registry/layers/capability/defi-dex/files/dex-config.json +15 -0
  277. package/registry/layers/capability/defi-dex/manifest.json +36 -0
  278. package/registry/layers/capability/defi-lending/files/lending-config.json +15 -0
  279. package/registry/layers/capability/defi-lending/manifest.json +36 -0
  280. package/registry/layers/capability/defi-perpetuals/files/perp-config.json +11 -0
  281. package/registry/layers/capability/defi-perpetuals/manifest.json +34 -0
  282. package/registry/layers/capability/defi-restaking/files/restaking-config.json +6 -0
  283. package/registry/layers/capability/defi-restaking/manifest.json +32 -0
  284. package/registry/layers/capability/defi-yield/files/yield-config.json +16 -0
  285. package/registry/layers/capability/defi-yield/manifest.json +36 -0
  286. package/registry/layers/capability/deploy-docker/files/deploy-config.json +15 -0
  287. package/registry/layers/capability/deploy-docker/manifest.json +42 -0
  288. package/registry/layers/capability/deploy-github-actions/files/ci-config.json +12 -0
  289. package/registry/layers/capability/deploy-github-actions/manifest.json +46 -0
  290. package/registry/layers/capability/effect-ts/files/effect-config.json +5 -0
  291. package/registry/layers/capability/effect-ts/manifest.json +30 -0
  292. package/registry/layers/capability/evm-account-abstraction/files/Deploy.s.sol +10 -0
  293. package/registry/layers/capability/evm-account-abstraction/files/GaslessCollectible.sol +21 -0
  294. package/registry/layers/capability/evm-account-abstraction/files/GaslessCollectible.t.sol +17 -0
  295. package/registry/layers/capability/evm-account-abstraction/files/MintWithBundler.s.sol +11 -0
  296. package/registry/layers/capability/evm-account-abstraction/files/bundler-config.json +10 -0
  297. package/registry/layers/capability/evm-account-abstraction/manifest.json +46 -0
  298. package/registry/layers/capability/evm-chain-monitor/files/hooks.mjs +14 -0
  299. package/registry/layers/capability/evm-chain-monitor/files/monitor-config.json +6 -0
  300. package/registry/layers/capability/evm-chain-monitor/manifest.json +31 -0
  301. package/registry/layers/capability/evm-deploy-foundry/files/Deploy.s.sol +11 -0
  302. package/registry/layers/capability/evm-deploy-foundry/files/deploy-config.json +10 -0
  303. package/registry/layers/capability/evm-deploy-foundry/files/env.example +2 -0
  304. package/registry/layers/capability/evm-deploy-foundry/files/foundry.toml +13 -0
  305. package/registry/layers/capability/evm-deploy-foundry/manifest.json +43 -0
  306. package/registry/layers/capability/evm-layerzero-oft/files/OmnichainToken.sol +21 -0
  307. package/registry/layers/capability/evm-layerzero-oft/files/OmnichainToken.t.sol +18 -0
  308. package/registry/layers/capability/evm-layerzero-oft/files/SendTokens.s.sol +10 -0
  309. package/registry/layers/capability/evm-layerzero-oft/files/bridge-config.json +10 -0
  310. package/registry/layers/capability/evm-layerzero-oft/manifest.json +39 -0
  311. package/registry/layers/capability/evm-protocol-api/files/protocol-config.json +8 -0
  312. package/registry/layers/capability/evm-protocol-api/files/protocol-hooks.ts +149 -0
  313. package/registry/layers/capability/evm-protocol-api/manifest.json +36 -0
  314. package/registry/layers/capability/evm-wallet-dashboard/files/hooks.mjs +10 -0
  315. package/registry/layers/capability/evm-wallet-dashboard/files/wallet-dashboard.json +6 -0
  316. package/registry/layers/capability/evm-wallet-dashboard/manifest.json +30 -0
  317. package/registry/layers/capability/exchange-binance/files/exchange-config.json +17 -0
  318. package/registry/layers/capability/exchange-binance/manifest.json +33 -0
  319. package/registry/layers/capability/exchange-coinbase/files/exchange-config.json +17 -0
  320. package/registry/layers/capability/exchange-coinbase/manifest.json +33 -0
  321. package/registry/layers/capability/exchange-okx/files/exchange-config.json +17 -0
  322. package/registry/layers/capability/exchange-okx/manifest.json +33 -0
  323. package/registry/layers/capability/fhe-private-token/files/PrivateToken.sol +49 -0
  324. package/registry/layers/capability/fhe-private-token/manifest.json +12 -0
  325. package/registry/layers/capability/fhe-private-voting/files/PrivateVoting.sol +50 -0
  326. package/registry/layers/capability/fhe-private-voting/manifest.json +12 -0
  327. package/registry/layers/capability/fhe-sealed-auction/files/SealedAuction.sol +43 -0
  328. package/registry/layers/capability/fhe-sealed-auction/manifest.json +12 -0
  329. package/registry/layers/capability/gpu-modal/files/gpu-config.json +8 -0
  330. package/registry/layers/capability/gpu-modal/manifest.json +31 -0
  331. package/registry/layers/capability/gpu-replicate/files/gpu-config.json +5 -0
  332. package/registry/layers/capability/gpu-replicate/manifest.json +33 -0
  333. package/registry/layers/capability/gpu-together/files/gpu-config.json +5 -0
  334. package/registry/layers/capability/gpu-together/manifest.json +32 -0
  335. package/registry/layers/capability/icons/files/icons-config.json +18 -0
  336. package/registry/layers/capability/icons/manifest.json +33 -0
  337. package/registry/layers/capability/infra-k8s/files/k8s-config.json +7 -0
  338. package/registry/layers/capability/infra-k8s/manifest.json +38 -0
  339. package/registry/layers/capability/infra-pulumi/files/pulumi-config.json +7 -0
  340. package/registry/layers/capability/infra-pulumi/manifest.json +36 -0
  341. package/registry/layers/capability/infra-terraform/files/terraform-config.json +7 -0
  342. package/registry/layers/capability/infra-terraform/manifest.json +37 -0
  343. package/registry/layers/capability/json-render/files/json-render-config.json +16 -0
  344. package/registry/layers/capability/json-render/manifest.json +24 -0
  345. package/registry/layers/capability/layout-admin/files/admin-page.tsx +141 -0
  346. package/registry/layers/capability/layout-admin/files/column-header.tsx +37 -0
  347. package/registry/layers/capability/layout-admin/files/data-table.tsx +221 -0
  348. package/registry/layers/capability/layout-admin/files/entity-form.tsx +109 -0
  349. package/registry/layers/capability/layout-admin/files/media-manifest.json +14 -0
  350. package/registry/layers/capability/layout-admin/manifest.json +30 -0
  351. package/registry/layers/capability/layout-auth/files/sign-in-page.tsx +82 -0
  352. package/registry/layers/capability/layout-auth/files/sign-up-page.tsx +94 -0
  353. package/registry/layers/capability/layout-auth/manifest.json +51 -0
  354. package/registry/layers/capability/layout-chat/files/chat-input.tsx +76 -0
  355. package/registry/layers/capability/layout-chat/files/chat-message.tsx +100 -0
  356. package/registry/layers/capability/layout-chat/files/chat-page.tsx +149 -0
  357. package/registry/layers/capability/layout-chat/files/chat-sidebar.tsx +78 -0
  358. package/registry/layers/capability/layout-chat/files/media-manifest.json +24 -0
  359. package/registry/layers/capability/layout-chat/manifest.json +30 -0
  360. package/registry/layers/capability/layout-dashboard/files/dashboard-page.tsx +113 -0
  361. package/registry/layers/capability/layout-dashboard/files/media-manifest.json +34 -0
  362. package/registry/layers/capability/layout-dashboard/files/nav-config.ts +46 -0
  363. package/registry/layers/capability/layout-dashboard/files/sidebar-layout.tsx +149 -0
  364. package/registry/layers/capability/layout-dashboard/manifest.json +33 -0
  365. package/registry/layers/capability/layout-dashboard/variants/sidebar/dashboard-page.tsx +113 -0
  366. package/registry/layers/capability/layout-dashboard/variants/sidebar/media-manifest.json +34 -0
  367. package/registry/layers/capability/layout-dashboard/variants/sidebar/nav-config.ts +46 -0
  368. package/registry/layers/capability/layout-dashboard/variants/sidebar/sidebar-layout.tsx +149 -0
  369. package/registry/layers/capability/layout-dashboard/variants/topnav/dashboard-page.tsx +113 -0
  370. package/registry/layers/capability/layout-dashboard/variants/topnav/media-manifest.json +34 -0
  371. package/registry/layers/capability/layout-dashboard/variants/topnav/nav-config.ts +26 -0
  372. package/registry/layers/capability/layout-dashboard/variants/topnav/sidebar-layout.tsx +157 -0
  373. package/registry/layers/capability/layout-landing/files/features-section.tsx +98 -0
  374. package/registry/layers/capability/layout-landing/files/hero-section.tsx +111 -0
  375. package/registry/layers/capability/layout-landing/files/landing-page.tsx +164 -0
  376. package/registry/layers/capability/layout-landing/files/media-manifest.json +44 -0
  377. package/registry/layers/capability/layout-landing/files/pricing-section.tsx +175 -0
  378. package/registry/layers/capability/layout-landing/manifest.json +73 -0
  379. package/registry/layers/capability/layout-landing/variants/dark-product/features-section.tsx +79 -0
  380. package/registry/layers/capability/layout-landing/variants/dark-product/hero-section.tsx +78 -0
  381. package/registry/layers/capability/layout-landing/variants/dark-product/landing-page.tsx +164 -0
  382. package/registry/layers/capability/layout-landing/variants/dark-product/media-manifest.json +44 -0
  383. package/registry/layers/capability/layout-landing/variants/dark-product/pricing-section.tsx +166 -0
  384. package/registry/layers/capability/layout-landing/variants/default/features-section.tsx +98 -0
  385. package/registry/layers/capability/layout-landing/variants/default/hero-section.tsx +111 -0
  386. package/registry/layers/capability/layout-landing/variants/default/landing-page.tsx +164 -0
  387. package/registry/layers/capability/layout-landing/variants/default/media-manifest.json +44 -0
  388. package/registry/layers/capability/layout-landing/variants/default/pricing-section.tsx +175 -0
  389. package/registry/layers/capability/layout-landing/variants/gradient-hero/features-section.tsx +79 -0
  390. package/registry/layers/capability/layout-landing/variants/gradient-hero/hero-section.tsx +73 -0
  391. package/registry/layers/capability/layout-landing/variants/gradient-hero/landing-page.tsx +164 -0
  392. package/registry/layers/capability/layout-landing/variants/gradient-hero/media-manifest.json +44 -0
  393. package/registry/layers/capability/layout-landing/variants/gradient-hero/pricing-section.tsx +165 -0
  394. package/registry/layers/capability/layout-landing/variants/minimal-clean/features-section.tsx +73 -0
  395. package/registry/layers/capability/layout-landing/variants/minimal-clean/hero-section.tsx +65 -0
  396. package/registry/layers/capability/layout-landing/variants/minimal-clean/landing-page.tsx +164 -0
  397. package/registry/layers/capability/layout-landing/variants/minimal-clean/media-manifest.json +44 -0
  398. package/registry/layers/capability/layout-landing/variants/minimal-clean/pricing-section.tsx +162 -0
  399. package/registry/layers/capability/layout-settings/files/settings-page.tsx +165 -0
  400. package/registry/layers/capability/layout-settings/manifest.json +45 -0
  401. package/registry/layers/capability/logging/files/error-handler.ts +35 -0
  402. package/registry/layers/capability/logging/files/logger.ts +78 -0
  403. package/registry/layers/capability/logging/files/request-logger.ts +52 -0
  404. package/registry/layers/capability/logging/manifest.json +47 -0
  405. package/registry/layers/capability/market-sim/files/market-feed.json +16 -0
  406. package/registry/layers/capability/market-sim/manifest.json +19 -0
  407. package/registry/layers/capability/marketplace/files/listing-card.tsx +80 -0
  408. package/registry/layers/capability/marketplace/files/listing-grid.tsx +55 -0
  409. package/registry/layers/capability/marketplace/files/marketplace-config.json +26 -0
  410. package/registry/layers/capability/marketplace/files/review-card.tsx +57 -0
  411. package/registry/layers/capability/marketplace/files/search-filters.tsx +113 -0
  412. package/registry/layers/capability/marketplace/manifest.json +29 -0
  413. package/registry/layers/capability/move-amm/files/amm-config.json +1 -0
  414. package/registry/layers/capability/move-amm/manifest.json +46 -0
  415. package/registry/layers/capability/move-launchpad/files/launchpad-config.json +1 -0
  416. package/registry/layers/capability/move-launchpad/manifest.json +45 -0
  417. package/registry/layers/capability/move-nft/files/nft-config.json +1 -0
  418. package/registry/layers/capability/move-nft/manifest.json +9 -0
  419. package/registry/layers/capability/move-oracle/files/oracle-config.json +1 -0
  420. package/registry/layers/capability/move-oracle/manifest.json +10 -0
  421. package/registry/layers/capability/move-staking/files/staking-config.json +1 -0
  422. package/registry/layers/capability/move-staking/manifest.json +9 -0
  423. package/registry/layers/capability/realtime-ws/files/realtime-config.json +19 -0
  424. package/registry/layers/capability/realtime-ws/files/ws-client.ts +90 -0
  425. package/registry/layers/capability/realtime-ws/files/ws-server.ts +121 -0
  426. package/registry/layers/capability/realtime-ws/files/ws-types.ts +30 -0
  427. package/registry/layers/capability/realtime-ws/manifest.json +66 -0
  428. package/registry/layers/capability/saas-billing/files/billing-api.ts +134 -0
  429. package/registry/layers/capability/saas-billing/files/billing-config.json +15 -0
  430. package/registry/layers/capability/saas-billing/files/billing-guard.ts +38 -0
  431. package/registry/layers/capability/saas-billing/files/billing-ui.tsx +100 -0
  432. package/registry/layers/capability/saas-billing/manifest.json +73 -0
  433. package/registry/layers/capability/saas-teams/files/teams-api.ts +118 -0
  434. package/registry/layers/capability/saas-teams/files/teams-config.json +16 -0
  435. package/registry/layers/capability/saas-teams/files/teams-guard.ts +35 -0
  436. package/registry/layers/capability/saas-teams/files/teams-ui.tsx +235 -0
  437. package/registry/layers/capability/saas-teams/manifest.json +74 -0
  438. package/registry/layers/capability/shadcn/files/alert.tsx +39 -0
  439. package/registry/layers/capability/shadcn/files/avatar.tsx +33 -0
  440. package/registry/layers/capability/shadcn/files/badge.tsx +28 -0
  441. package/registry/layers/capability/shadcn/files/breadcrumb.tsx +45 -0
  442. package/registry/layers/capability/shadcn/files/button.tsx +44 -0
  443. package/registry/layers/capability/shadcn/files/card.tsx +46 -0
  444. package/registry/layers/capability/shadcn/files/checkbox.tsx +26 -0
  445. package/registry/layers/capability/shadcn/files/command.tsx +72 -0
  446. package/registry/layers/capability/shadcn/files/dialog.tsx +75 -0
  447. package/registry/layers/capability/shadcn/files/dropdown-menu.tsx +68 -0
  448. package/registry/layers/capability/shadcn/files/form.tsx +57 -0
  449. package/registry/layers/capability/shadcn/files/input.tsx +21 -0
  450. package/registry/layers/capability/shadcn/files/label.tsx +18 -0
  451. package/registry/layers/capability/shadcn/files/progress.tsx +28 -0
  452. package/registry/layers/capability/shadcn/files/scroll-area.tsx +32 -0
  453. package/registry/layers/capability/shadcn/files/select.tsx +80 -0
  454. package/registry/layers/capability/shadcn/files/separator.tsx +21 -0
  455. package/registry/layers/capability/shadcn/files/shadcn-config.json +26 -0
  456. package/registry/layers/capability/shadcn/files/sheet.tsx +71 -0
  457. package/registry/layers/capability/shadcn/files/sidebar.tsx +73 -0
  458. package/registry/layers/capability/shadcn/files/skeleton.tsx +7 -0
  459. package/registry/layers/capability/shadcn/files/switch.tsx +36 -0
  460. package/registry/layers/capability/shadcn/files/table.tsx +58 -0
  461. package/registry/layers/capability/shadcn/files/tabs.tsx +56 -0
  462. package/registry/layers/capability/shadcn/files/textarea.tsx +20 -0
  463. package/registry/layers/capability/shadcn/files/toast.tsx +68 -0
  464. package/registry/layers/capability/shadcn/files/toggle.tsx +43 -0
  465. package/registry/layers/capability/shadcn/files/tooltip.tsx +45 -0
  466. package/registry/layers/capability/shadcn/files/utils.ts +6 -0
  467. package/registry/layers/capability/shadcn/manifest.json +171 -0
  468. package/registry/layers/capability/solana-amm/files/README.md +5 -0
  469. package/registry/layers/capability/solana-amm/files/lib.rs +52 -0
  470. package/registry/layers/capability/solana-amm/files/pool-config.json +6 -0
  471. package/registry/layers/capability/solana-amm/manifest.json +22 -0
  472. package/registry/layers/capability/solana-keeper/files/keeper-hooks.ts +90 -0
  473. package/registry/layers/capability/solana-keeper/files/market-feed.json +7 -0
  474. package/registry/layers/capability/solana-keeper/manifest.json +18 -0
  475. package/registry/layers/capability/solana-launchpad/files/README.md +5 -0
  476. package/registry/layers/capability/solana-launchpad/files/lib.rs +52 -0
  477. package/registry/layers/capability/solana-launchpad/files/sale-config.json +5 -0
  478. package/registry/layers/capability/solana-launchpad/manifest.json +35 -0
  479. package/registry/layers/capability/solana-nft/files/README.md +5 -0
  480. package/registry/layers/capability/solana-nft/files/lib.rs +52 -0
  481. package/registry/layers/capability/solana-nft/files/marketplace-config.json +4 -0
  482. package/registry/layers/capability/solana-nft/manifest.json +34 -0
  483. package/registry/layers/capability/solana-perps/files/README.md +5 -0
  484. package/registry/layers/capability/solana-perps/files/lib.rs +52 -0
  485. package/registry/layers/capability/solana-perps/files/market-config.json +6 -0
  486. package/registry/layers/capability/solana-perps/manifest.json +22 -0
  487. package/registry/layers/capability/solana-prediction/files/README.md +5 -0
  488. package/registry/layers/capability/solana-prediction/files/lib.rs +52 -0
  489. package/registry/layers/capability/solana-prediction/files/prediction-config.json +6 -0
  490. package/registry/layers/capability/solana-prediction/manifest.json +22 -0
  491. package/registry/layers/capability/solana-staking/files/README.md +5 -0
  492. package/registry/layers/capability/solana-staking/files/lib.rs +52 -0
  493. package/registry/layers/capability/solana-staking/files/staking-config.json +5 -0
  494. package/registry/layers/capability/solana-staking/manifest.json +22 -0
  495. package/registry/layers/capability/tailwind/files/design-tokens.json +51 -0
  496. package/registry/layers/capability/tailwind/files/tailwind-config.json +34 -0
  497. package/registry/layers/capability/tailwind/manifest.json +53 -0
  498. package/registry/layers/capability/tangle-custody/files/blueprint.json +17 -0
  499. package/registry/layers/capability/tangle-custody/files/lib.rs +53 -0
  500. package/registry/layers/capability/tangle-custody/manifest.json +30 -0
  501. package/registry/layers/capability/tangle-oracle/files/blueprint.json +17 -0
  502. package/registry/layers/capability/tangle-oracle/files/lib.rs +53 -0
  503. package/registry/layers/capability/tangle-oracle/manifest.json +29 -0
  504. package/registry/layers/capability/typography/files/typography-config.json +24 -0
  505. package/registry/layers/capability/typography/manifest.json +35 -0
  506. package/registry/layers/capability/webhook-processor/files/webhook-config.json +26 -0
  507. package/registry/layers/capability/webhook-processor/files/webhook-handler.ts +61 -0
  508. package/registry/layers/capability/webhook-processor/files/webhook-queue.ts +77 -0
  509. package/registry/layers/capability/webhook-processor/files/webhook-router.ts +77 -0
  510. package/registry/layers/capability/webhook-processor/manifest.json +67 -0
  511. package/registry/layers/capability/webrtc/files/call-controls.tsx +82 -0
  512. package/registry/layers/capability/webrtc/files/participant-tile.tsx +66 -0
  513. package/registry/layers/capability/webrtc/files/video-room.tsx +97 -0
  514. package/registry/layers/capability/webrtc/files/webrtc-config.json +18 -0
  515. package/registry/layers/capability/webrtc/manifest.json +30 -0
  516. package/registry/layers/database/convex/files/database-config.json +5 -0
  517. package/registry/layers/database/convex/manifest.json +31 -0
  518. package/registry/layers/database/mongodb/files/database-config.json +5 -0
  519. package/registry/layers/database/mongodb/manifest.json +31 -0
  520. package/registry/layers/database/postgres/files/database-config.json +5 -0
  521. package/registry/layers/database/postgres/manifest.json +31 -0
  522. package/registry/layers/database/sqlite/files/database-config.json +5 -0
  523. package/registry/layers/database/sqlite/manifest.json +31 -0
  524. package/registry/layers/framework/agent-service-py/files/agent.config.json +9 -0
  525. package/registry/layers/framework/agent-service-py/files/app.py +43 -0
  526. package/registry/layers/framework/agent-service-py/manifest.json +15 -0
  527. package/registry/layers/framework/agent-service-rust/files/Cargo.toml +6 -0
  528. package/registry/layers/framework/agent-service-rust/files/agent.config.json +8 -0
  529. package/registry/layers/framework/agent-service-rust/files/main.rs +23 -0
  530. package/registry/layers/framework/agent-service-rust/manifest.json +19 -0
  531. package/registry/layers/framework/agent-service-ts/files/agent.config.json +9 -0
  532. package/registry/layers/framework/agent-service-ts/files/agent.mjs +39 -0
  533. package/registry/layers/framework/agent-service-ts/manifest.json +15 -0
  534. package/registry/layers/framework/angular-ts/files/app.component.ts +10 -0
  535. package/registry/layers/framework/angular-ts/files/main.ts +4 -0
  536. package/registry/layers/framework/angular-ts/manifest.json +9 -0
  537. package/registry/layers/framework/browser-extension-ts/files/background.ts +3 -0
  538. package/registry/layers/framework/browser-extension-ts/files/content.ts +1 -0
  539. package/registry/layers/framework/browser-extension-ts/files/manifest.json +13 -0
  540. package/registry/layers/framework/browser-extension-ts/files/popup.css +16 -0
  541. package/registry/layers/framework/browser-extension-ts/files/popup.html +16 -0
  542. package/registry/layers/framework/browser-extension-ts/files/popup.ts +13 -0
  543. package/registry/layers/framework/browser-extension-ts/files/tsconfig.json +8 -0
  544. package/registry/layers/framework/browser-extension-ts/manifest.json +39 -0
  545. package/registry/layers/framework/cli-ts/files/index.ts +26 -0
  546. package/registry/layers/framework/cli-ts/files/tsconfig.json +8 -0
  547. package/registry/layers/framework/cli-ts/manifest.json +15 -0
  548. package/registry/layers/framework/cloudflare-worker-ts/files/worker.ts +21 -0
  549. package/registry/layers/framework/cloudflare-worker-ts/manifest.json +11 -0
  550. package/registry/layers/framework/dspy-pipeline-py/files/main.py +17 -0
  551. package/registry/layers/framework/dspy-pipeline-py/files/pipeline.json +9 -0
  552. package/registry/layers/framework/dspy-pipeline-py/manifest.json +15 -0
  553. package/registry/layers/framework/eigenlayer-avs/files/ServiceManager.sol +10 -0
  554. package/registry/layers/framework/eigenlayer-avs/files/avs.config.json +9 -0
  555. package/registry/layers/framework/eigenlayer-avs/files/main.rs +3 -0
  556. package/registry/layers/framework/eigenlayer-avs/manifest.json +19 -0
  557. package/registry/layers/framework/electron-desktop-ts/files/app.ts +9 -0
  558. package/registry/layers/framework/electron-desktop-ts/files/index.html +16 -0
  559. package/registry/layers/framework/electron-desktop-ts/files/main.ts +1 -0
  560. package/registry/layers/framework/electron-desktop-ts/files/preload.ts +1 -0
  561. package/registry/layers/framework/electron-desktop-ts/files/styles.css +18 -0
  562. package/registry/layers/framework/electron-desktop-ts/files/tsconfig.json +8 -0
  563. package/registry/layers/framework/electron-desktop-ts/manifest.json +35 -0
  564. package/registry/layers/framework/evm-infra-ts/files/chain-config.json +5 -0
  565. package/registry/layers/framework/evm-infra-ts/files/server.mjs +39 -0
  566. package/registry/layers/framework/evm-infra-ts/manifest.json +15 -0
  567. package/registry/layers/framework/expo-react-native-ts/files/App.tsx +37 -0
  568. package/registry/layers/framework/expo-react-native-ts/files/app.json +8 -0
  569. package/registry/layers/framework/expo-react-native-ts/files/tsconfig.json +9 -0
  570. package/registry/layers/framework/expo-react-native-ts/manifest.json +23 -0
  571. package/registry/layers/framework/fhenix-contracts/files/FHECounter.sol +26 -0
  572. package/registry/layers/framework/fhenix-contracts/files/FHECounter.test.ts +23 -0
  573. package/registry/layers/framework/fhenix-contracts/files/deploy.ts +13 -0
  574. package/registry/layers/framework/fhenix-contracts/files/hardhat.config.ts +16 -0
  575. package/registry/layers/framework/fhenix-contracts/manifest.json +11 -0
  576. package/registry/layers/framework/fhevm-contracts/files/EncryptedCounter.sol +28 -0
  577. package/registry/layers/framework/fhevm-contracts/files/EncryptedCounter.test.ts +23 -0
  578. package/registry/layers/framework/fhevm-contracts/files/deploy.ts +13 -0
  579. package/registry/layers/framework/fhevm-contracts/files/hardhat.config.ts +21 -0
  580. package/registry/layers/framework/fhevm-contracts/manifest.json +11 -0
  581. package/registry/layers/framework/forge-foundation/files/Counter.sol +14 -0
  582. package/registry/layers/framework/forge-foundation/files/Counter.t.sol +17 -0
  583. package/registry/layers/framework/forge-foundation/files/Deploy.s.sol +10 -0
  584. package/registry/layers/framework/forge-foundation/files/foundry.toml +6 -0
  585. package/registry/layers/framework/forge-foundation/manifest.json +23 -0
  586. package/registry/layers/framework/fullstack-node-ts/files/client.js +60 -0
  587. package/registry/layers/framework/fullstack-node-ts/files/client.ts +6 -0
  588. package/registry/layers/framework/fullstack-node-ts/files/index.html +25 -0
  589. package/registry/layers/framework/fullstack-node-ts/files/server.ts +62 -0
  590. package/registry/layers/framework/fullstack-node-ts/files/styles.css +86 -0
  591. package/registry/layers/framework/fullstack-node-ts/files/tsconfig.json +10 -0
  592. package/registry/layers/framework/fullstack-node-ts/manifest.json +36 -0
  593. package/registry/layers/framework/go-net-http/files/go.mod +3 -0
  594. package/registry/layers/framework/go-net-http/files/handlers.go +28 -0
  595. package/registry/layers/framework/go-net-http/files/main.go +23 -0
  596. package/registry/layers/framework/go-net-http/manifest.json +19 -0
  597. package/registry/layers/framework/go-worker/files/cycle.go +5 -0
  598. package/registry/layers/framework/go-worker/files/go.mod +3 -0
  599. package/registry/layers/framework/go-worker/files/main.go +11 -0
  600. package/registry/layers/framework/go-worker/manifest.json +19 -0
  601. package/registry/layers/framework/hardhat-ts/files/contract.sol +6 -0
  602. package/registry/layers/framework/hardhat-ts/files/deploy.ts +1 -0
  603. package/registry/layers/framework/hardhat-ts/files/env.example +1 -0
  604. package/registry/layers/framework/hardhat-ts/files/hardhat.config.ts +10 -0
  605. package/registry/layers/framework/hardhat-ts/files/test.ts +3 -0
  606. package/registry/layers/framework/hardhat-ts/files/tsconfig.json +9 -0
  607. package/registry/layers/framework/hardhat-ts/manifest.json +31 -0
  608. package/registry/layers/framework/mcp-server-ts/files/mcp.config.json +9 -0
  609. package/registry/layers/framework/mcp-server-ts/files/server.mjs +12 -0
  610. package/registry/layers/framework/mcp-server-ts/manifest.json +15 -0
  611. package/registry/layers/framework/move-package/files/Move.toml +6 -0
  612. package/registry/layers/framework/move-package/files/module.move +22 -0
  613. package/registry/layers/framework/move-package/files/test.move +9 -0
  614. package/registry/layers/framework/move-package/manifest.json +19 -0
  615. package/registry/layers/framework/nextjs-app-router/files/globals.css +42 -0
  616. package/registry/layers/framework/nextjs-app-router/files/layout.tsx +16 -0
  617. package/registry/layers/framework/nextjs-app-router/files/next.config.ts +5 -0
  618. package/registry/layers/framework/nextjs-app-router/files/page.tsx +8 -0
  619. package/registry/layers/framework/nextjs-app-router/files/postcss.config.js +5 -0
  620. package/registry/layers/framework/nextjs-app-router/files/preview-client.js +47 -0
  621. package/registry/layers/framework/nextjs-app-router/files/preview-index.html +19 -0
  622. package/registry/layers/framework/nextjs-app-router/files/tsconfig.json +15 -0
  623. package/registry/layers/framework/nextjs-app-router/manifest.json +43 -0
  624. package/registry/layers/framework/node-http/files/server.mjs +65 -0
  625. package/registry/layers/framework/node-http/manifest.json +11 -0
  626. package/registry/layers/framework/node-worker/files/worker.mjs +43 -0
  627. package/registry/layers/framework/node-worker/manifest.json +11 -0
  628. package/registry/layers/framework/playwright-worker/files/worker.mjs +13 -0
  629. package/registry/layers/framework/playwright-worker/manifest.json +11 -0
  630. package/registry/layers/framework/python-data-app/files/app.py +54 -0
  631. package/registry/layers/framework/python-data-app/manifest.json +15 -0
  632. package/registry/layers/framework/python-http/files/app.py +44 -0
  633. package/registry/layers/framework/python-http/manifest.json +11 -0
  634. package/registry/layers/framework/python-worker/files/worker.py +49 -0
  635. package/registry/layers/framework/python-worker/manifest.json +8 -0
  636. package/registry/layers/framework/react-vite-ts/files/App.tsx +8 -0
  637. package/registry/layers/framework/react-vite-ts/files/index.html +15 -0
  638. package/registry/layers/framework/react-vite-ts/files/main.ts +8 -0
  639. package/registry/layers/framework/react-vite-ts/files/preview-client.js +49 -0
  640. package/registry/layers/framework/react-vite-ts/files/styles.css +43 -0
  641. package/registry/layers/framework/react-vite-ts/files/tsconfig.json +15 -0
  642. package/registry/layers/framework/react-vite-ts/files/vite.config.ts +13 -0
  643. package/registry/layers/framework/react-vite-ts/manifest.json +39 -0
  644. package/registry/layers/framework/remix-ts/files/index.tsx +8 -0
  645. package/registry/layers/framework/remix-ts/files/root.tsx +10 -0
  646. package/registry/layers/framework/remix-ts/files/vite.config.ts +14 -0
  647. package/registry/layers/framework/remix-ts/manifest.json +10 -0
  648. package/registry/layers/framework/rust-http/files/Cargo.toml +6 -0
  649. package/registry/layers/framework/rust-http/files/main.rs +26 -0
  650. package/registry/layers/framework/rust-http/manifest.json +15 -0
  651. package/registry/layers/framework/solana-native-rust/files/Cargo.toml +9 -0
  652. package/registry/layers/framework/solana-native-rust/files/README.md +5 -0
  653. package/registry/layers/framework/solana-native-rust/files/lib.rs +48 -0
  654. package/registry/layers/framework/solana-native-rust/manifest.json +19 -0
  655. package/registry/layers/framework/stylus-contracts/files/Cargo.toml +8 -0
  656. package/registry/layers/framework/stylus-contracts/files/lib.rs +13 -0
  657. package/registry/layers/framework/stylus-contracts/files/stylus.json +4 -0
  658. package/registry/layers/framework/stylus-contracts/manifest.json +19 -0
  659. package/registry/layers/framework/sveltekit-ts/files/app.html +5 -0
  660. package/registry/layers/framework/sveltekit-ts/files/layout.svelte +1 -0
  661. package/registry/layers/framework/sveltekit-ts/files/page.svelte +8 -0
  662. package/registry/layers/framework/sveltekit-ts/files/svelte.config.js +2 -0
  663. package/registry/layers/framework/sveltekit-ts/files/vite.config.ts +9 -0
  664. package/registry/layers/framework/sveltekit-ts/manifest.json +12 -0
  665. package/registry/layers/framework/tangle-blueprint/files/Cargo.toml +10 -0
  666. package/registry/layers/framework/tangle-blueprint/files/HelloBlueprint.sol +32 -0
  667. package/registry/layers/framework/tangle-blueprint/files/bin-Cargo.toml +15 -0
  668. package/registry/layers/framework/tangle-blueprint/files/blueprint.json +16 -0
  669. package/registry/layers/framework/tangle-blueprint/files/cargo-config.toml +2 -0
  670. package/registry/layers/framework/tangle-blueprint/files/foundry.toml +17 -0
  671. package/registry/layers/framework/tangle-blueprint/files/lib-Cargo.toml +13 -0
  672. package/registry/layers/framework/tangle-blueprint/files/lib.rs +55 -0
  673. package/registry/layers/framework/tangle-blueprint/files/main.rs +70 -0
  674. package/registry/layers/framework/tangle-blueprint/files/rust-toolchain.toml +4 -0
  675. package/registry/layers/framework/tangle-blueprint/manifest.json +47 -0
  676. package/registry/layers/framework/tauri-desktop/files/Cargo.toml +7 -0
  677. package/registry/layers/framework/tauri-desktop/files/app.ts +7 -0
  678. package/registry/layers/framework/tauri-desktop/files/index.html +16 -0
  679. package/registry/layers/framework/tauri-desktop/files/main.rs +3 -0
  680. package/registry/layers/framework/tauri-desktop/files/styles.css +18 -0
  681. package/registry/layers/framework/tauri-desktop/files/tauri.conf.json +7 -0
  682. package/registry/layers/framework/tauri-desktop/files/tsconfig.json +8 -0
  683. package/registry/layers/framework/tauri-desktop/manifest.json +35 -0
  684. package/registry/layers/framework/vue-ts/files/App.vue +11 -0
  685. package/registry/layers/framework/vue-ts/files/index.html +5 -0
  686. package/registry/layers/framework/vue-ts/files/main.ts +3 -0
  687. package/registry/layers/framework/vue-ts/files/vite.config.ts +14 -0
  688. package/registry/layers/framework/vue-ts/manifest.json +11 -0
  689. package/registry/layers/framework/web-static/files/app.js +53 -0
  690. package/registry/layers/framework/web-static/files/index.html +21 -0
  691. package/registry/layers/framework/web-static/files/styles.css +85 -0
  692. package/registry/layers/framework/web-static/manifest.json +23 -0
  693. package/registry/layers/framework/x402-service/files/server.mjs +18 -0
  694. package/registry/layers/framework/x402-service/files/x402.config.json +7 -0
  695. package/registry/layers/framework/x402-service/manifest.json +15 -0
  696. package/registry/layers/framework/zk-prover-service/files/proof-system.json +8 -0
  697. package/registry/layers/framework/zk-prover-service/files/server.mjs +18 -0
  698. package/registry/layers/framework/zk-prover-service/manifest.json +15 -0
  699. package/registry/layers/payments/coinbase-commerce/files/payments-config.json +5 -0
  700. package/registry/layers/payments/coinbase-commerce/manifest.json +39 -0
  701. package/registry/layers/payments/none/manifest.json +30 -0
  702. package/registry/layers/payments/stripe/files/payments-config.json +5 -0
  703. package/registry/layers/payments/stripe/manifest.json +39 -0
  704. package/registry/layers/queue/bullmq/files/queue-config.json +5 -0
  705. package/registry/layers/queue/bullmq/manifest.json +35 -0
  706. package/registry/layers/queue/none/manifest.json +26 -0
  707. package/registry/layers/queue/trigger-dev/files/queue-config.json +5 -0
  708. package/registry/layers/queue/trigger-dev/manifest.json +35 -0
  709. package/registry/layers/sdk/coinbase-cdp/files/sdk-config.json +30 -0
  710. package/registry/layers/sdk/coinbase-cdp/manifest.json +61 -0
  711. package/registry/layers/sdk/evm-wallet/files/sdk-config.json +49 -0
  712. package/registry/layers/sdk/evm-wallet/manifest.json +64 -0
  713. package/registry/layers/sdk/none/manifest.json +34 -0
  714. package/registry/layers/sdk/solana-web3/files/sdk-config.json +31 -0
  715. package/registry/layers/sdk/solana-web3/manifest.json +59 -0
  716. package/registry/partners/arbitrum/files/partner-config.json +5 -0
  717. package/registry/partners/arbitrum/files/starter-brand.json +5 -0
  718. package/registry/partners/arbitrum/manifest.json +42 -0
  719. package/registry/partners/coinbase/files/partner-config.json +6 -0
  720. package/registry/partners/coinbase/files/starter-brand.json +4 -0
  721. package/registry/partners/coinbase/manifest.json +46 -0
  722. package/registry/partners/eigenlayer/files/partner-config.json +5 -0
  723. package/registry/partners/eigenlayer/files/starter-brand.json +5 -0
  724. package/registry/partners/eigenlayer/manifest.json +39 -0
  725. package/registry/partners/solana/files/partner-config.json +5 -0
  726. package/registry/partners/solana/files/starter-brand.json +5 -0
  727. package/registry/partners/solana/manifest.json +39 -0
  728. package/registry/partners/tangle/files/partner-config.json +5 -0
  729. package/registry/partners/tangle/files/starter-brand.json +5 -0
  730. package/registry/partners/tangle/manifest.json +39 -0
  731. package/registry/partners/xlayer/files/partner-config.json +5 -0
  732. package/registry/partners/xlayer/files/starter-brand.json +5 -0
  733. package/registry/partners/xlayer/manifest.json +41 -0
  734. package/specs/agent-python-research.json +12 -0
  735. package/specs/agent-rust-runtime.json +11 -0
  736. package/specs/agent-ts-control-plane.json +13 -0
  737. package/specs/api-evm-protocol.json +17 -0
  738. package/specs/api-health.json +14 -0
  739. package/specs/browser-extension-research.json +12 -0
  740. package/specs/cli-release-tool.json +9 -0
  741. package/specs/cloudflare-edge.json +13 -0
  742. package/specs/coinbase-landing.json +13 -0
  743. package/specs/dspy-pipeline.json +8 -0
  744. package/specs/eigenlayer-avs.json +8 -0
  745. package/specs/electron-ops-console.json +14 -0
  746. package/specs/evm-infra.json +15 -0
  747. package/specs/expo-wallet-mobile.json +14 -0
  748. package/specs/forge-counter.json +10 -0
  749. package/specs/fullstack-control-plane.json +16 -0
  750. package/specs/go-api.json +12 -0
  751. package/specs/go-worker.json +11 -0
  752. package/specs/hardhat-xlayer-config.json +9 -0
  753. package/specs/mcp-server.json +8 -0
  754. package/specs/move-treasury.json +10 -0
  755. package/specs/multichain-workspace.json +74 -0
  756. package/specs/nextjs-saas.json +11 -0
  757. package/specs/playwright-worker.json +11 -0
  758. package/specs/python-api.json +13 -0
  759. package/specs/python-data-insights.json +9 -0
  760. package/specs/react-vite-coinbase.json +11 -0
  761. package/specs/rust-service.json +13 -0
  762. package/specs/solana-keeper-worker.json +13 -0
  763. package/specs/solana-perps.json +12 -0
  764. package/specs/solana-prediction.json +12 -0
  765. package/specs/solana-treasury.json +10 -0
  766. package/specs/stylus-contracts.json +8 -0
  767. package/specs/tangle-blueprint.json +9 -0
  768. package/specs/tangle-custody.json +11 -0
  769. package/specs/tangle-oracle.json +11 -0
  770. package/specs/tauri-desktop.json +13 -0
  771. package/specs/trading-worker.json +12 -0
  772. package/specs/x402-service.json +8 -0
  773. package/specs/xlayer-aa.json +13 -0
  774. package/specs/xlayer-foundry-deploy.json +12 -0
  775. package/specs/xlayer-oft.json +13 -0
  776. package/specs/xlayer-wallet-dashboard.json +18 -0
  777. package/specs/zk-prover.json +8 -0
@@ -0,0 +1,128 @@
1
+ // Types
2
+
3
+ export interface OHLCV {
4
+ timestamp: number
5
+ open: number
6
+ high: number
7
+ low: number
8
+ close: number
9
+ volume: number
10
+ }
11
+
12
+ export interface Indicators {
13
+ smaFast: number[]
14
+ smaSlow: number[]
15
+ rsi?: number
16
+ atr?: number
17
+ }
18
+
19
+ export interface Signal {
20
+ action: 'buy' | 'sell' | 'hold'
21
+ confidence: number
22
+ reason: string
23
+ }
24
+
25
+ export interface Position {
26
+ size: number
27
+ stopLoss: number
28
+ takeProfit: number
29
+ }
30
+
31
+ export interface Portfolio {
32
+ equity: number
33
+ openPositions: number
34
+ maxPositions: number
35
+ }
36
+
37
+ // Implementation
38
+
39
+ export function crossover(fast: number[], slow: number[]): 'bullish' | 'bearish' | 'none' {
40
+ if (fast.length < 2 || slow.length < 2) return 'none'
41
+
42
+ const prevFast = fast[fast.length - 2]
43
+ const currFast = fast[fast.length - 1]
44
+ const prevSlow = slow[slow.length - 2]
45
+ const currSlow = slow[slow.length - 1]
46
+
47
+ if (prevFast <= prevSlow && currFast > currSlow) return 'bullish'
48
+ if (prevFast >= prevSlow && currFast < currSlow) return 'bearish'
49
+ return 'none'
50
+ }
51
+
52
+ export function evaluateSignal(candle: OHLCV, indicators: Indicators): Signal {
53
+ const cross = crossover(indicators.smaFast, indicators.smaSlow)
54
+
55
+ // RSI extremes override crossover signals
56
+ if (indicators.rsi !== undefined) {
57
+ if (indicators.rsi > 80) {
58
+ return { action: 'sell', confidence: 0.7, reason: `RSI overbought at ${indicators.rsi.toFixed(1)}` }
59
+ }
60
+ if (indicators.rsi < 20) {
61
+ return { action: 'buy', confidence: 0.7, reason: `RSI oversold at ${indicators.rsi.toFixed(1)}` }
62
+ }
63
+ }
64
+
65
+ // Crossover signals
66
+ if (cross === 'bullish') {
67
+ const confidence = indicators.rsi !== undefined
68
+ ? 0.5 + (50 - Math.min(indicators.rsi, 50)) / 100
69
+ : 0.5
70
+ return { action: 'buy', confidence: Math.min(confidence, 1), reason: 'Bullish SMA crossover' }
71
+ }
72
+
73
+ if (cross === 'bearish') {
74
+ const confidence = indicators.rsi !== undefined
75
+ ? 0.5 + (Math.max(indicators.rsi, 50) - 50) / 100
76
+ : 0.5
77
+ return { action: 'sell', confidence: Math.min(confidence, 1), reason: 'Bearish SMA crossover' }
78
+ }
79
+
80
+ // Trend confirmation: price relative to slow SMA
81
+ const slowSma = indicators.smaSlow[indicators.smaSlow.length - 1]
82
+ if (slowSma !== undefined) {
83
+ const deviation = (candle.close - slowSma) / slowSma
84
+ if (Math.abs(deviation) > 0.02) {
85
+ return {
86
+ action: 'hold',
87
+ confidence: 0.3,
88
+ reason: `Price ${deviation > 0 ? 'above' : 'below'} slow SMA by ${(Math.abs(deviation) * 100).toFixed(1)}%, awaiting crossover`,
89
+ }
90
+ }
91
+ }
92
+
93
+ return { action: 'hold', confidence: 0.1, reason: 'No clear signal' }
94
+ }
95
+
96
+ export function calculatePosition(
97
+ signal: Signal,
98
+ portfolio: Portfolio,
99
+ riskPct: number,
100
+ ): Position | null {
101
+ if (signal.action === 'hold') return null
102
+ if (portfolio.openPositions >= portfolio.maxPositions) return null
103
+
104
+ const clampedRisk = Math.max(0.001, Math.min(riskPct, 0.1))
105
+ const riskAmount = portfolio.equity * clampedRisk
106
+
107
+ // ATR-based stop or default 2% stop
108
+ const stopPct = 0.02
109
+ const size = riskAmount / stopPct
110
+
111
+ // Scale by confidence
112
+ const adjustedSize = size * signal.confidence
113
+
114
+ const stopLoss = signal.action === 'buy'
115
+ ? 1 - stopPct
116
+ : 1 + stopPct
117
+
118
+ // 2:1 reward/risk ratio
119
+ const takeProfit = signal.action === 'buy'
120
+ ? 1 + stopPct * 2
121
+ : 1 - stopPct * 2
122
+
123
+ return {
124
+ size: Math.round(adjustedSize * 100) / 100,
125
+ stopLoss,
126
+ takeProfit,
127
+ }
128
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "exchange": "{{exchangeMode}}",
3
+ "pairs": "{{tradingPairs}}",
4
+ "riskLimits": {
5
+ "maxPositionSizeUsd": 1000,
6
+ "stopLossPercent": 5,
7
+ "maxOpenPositions": 3,
8
+ "dailyLossLimitUsd": 500
9
+ },
10
+ "dataFeeds": ["orderbook", "trades", "candles"],
11
+ "notes": [
12
+ "Start in paper mode. Never deploy live trading without manual review.",
13
+ "strategy.mjs defines signal generation and position management.",
14
+ "Risk limits are enforced before any order execution."
15
+ ]
16
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "id": "agent-trading",
3
+ "description": "Adds trading strategy seams with market data, order execution, and risk management.",
4
+ "appliesTo": [
5
+ "agent-service-ts",
6
+ "agent-service-py",
7
+ "agent-service-rust"
8
+ ],
9
+ "defaults": {
10
+ "exchangeMode": "paper",
11
+ "tradingPairs": "BTC/USDT,ETH/USDT"
12
+ },
13
+ "files": [
14
+ {
15
+ "source": "files/trading-config.json",
16
+ "target": "trading-config.json"
17
+ },
18
+ {
19
+ "source": "files/strategy.ts",
20
+ "target": "strategy.ts"
21
+ }
22
+ ],
23
+ "contextHints": {
24
+ "extensionPoints": [
25
+ "trading-config.json",
26
+ "strategy.ts"
27
+ ]
28
+ },
29
+ "keywords": [
30
+ "trading agent",
31
+ "trading bot agent",
32
+ "market analysis agent",
33
+ "trading strategy agent",
34
+ "exchange api agent",
35
+ "order execution agent",
36
+ "backtesting agent"
37
+ ],
38
+ "buildHints": {
39
+ "apiRoutes": [
40
+ "/api/strategy",
41
+ "/api/positions",
42
+ "/api/risk"
43
+ ],
44
+ "components": [
45
+ "StrategyConfig",
46
+ "PositionTable",
47
+ "PnLChart",
48
+ "RiskDashboard"
49
+ ],
50
+ "dataModels": [
51
+ "Position",
52
+ "Order",
53
+ "Signal",
54
+ "RiskLimit"
55
+ ],
56
+ "integrations": [
57
+ "Exchange API (from exchange config)",
58
+ "Market data WebSocket"
59
+ ]
60
+ }
61
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "provider": "{{voiceProvider}}",
3
+ "stt": { "model": "{{sttModel}}", "language": "en", "interim": true },
4
+ "tts": { "model": "{{ttsModel}}", "voice": "default", "speed": 1.0 },
5
+ "session": {
6
+ "maxDuration": 3600,
7
+ "silenceTimeout": 10,
8
+ "interruptible": true,
9
+ "vadSensitivity": 0.5
10
+ },
11
+ "notes": [
12
+ "Set LIVEKIT_URL and LIVEKIT_API_KEY/SECRET in your environment.",
13
+ "LiveKit Agents SDK handles room creation, participant management, and audio routing.",
14
+ "Deepgram provides real-time STT with interim results for low-latency transcription.",
15
+ "ElevenLabs provides natural TTS. Switch to OpenAI TTS for lower cost.",
16
+ "VAD (Voice Activity Detection) sensitivity controls when the agent starts listening."
17
+ ]
18
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "agent-voice",
3
+ "description": "Adds voice agent patterns with real-time audio streaming, speech-to-text, and text-to-speech.",
4
+ "appliesTo": ["agent-service-ts", "agent-service-py", "agent-service-rust"],
5
+ "defaults": { "voiceProvider": "livekit", "sttModel": "deepgram", "ttsModel": "elevenlabs" },
6
+ "files": [
7
+ { "source": "files/voice-config.json", "target": "voice-config.json" }
8
+ ],
9
+ "contextHints": { "extensionPoints": ["voice-config.json"] },
10
+ "keywords": ["voice agent", "voice bot", "livekit", "livekit agents", "realtime voice", "speech to text", "text to speech", "phone agent", "call center", "voice ai", "audio streaming", "webrtc agent", "deepgram", "elevenlabs"],
11
+ "buildHints": {
12
+ "components": ["VoiceSession", "TranscriptTimeline", "InterruptionHandler"],
13
+ "dataModels": ["AudioFrame", "Transcript", "VoiceSession"],
14
+ "integrations": ["LiveKit Agents SDK", "Deepgram STT", "ElevenLabs TTS", "WebRTC"],
15
+ "architectureNotes": ["Use LiveKit Agents SDK for room management and audio routing.", "Implement interruption handling — user can cut off the agent mid-sentence.", "Stream transcript in real-time alongside audio for accessibility.", "Keep turn-taking logic server-side to minimize latency."]
16
+ }
17
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "panels": ["run-traces", "tool-calls", "token-usage", "cost-tracking", "error-rates", "latency-p50-p99"],
3
+ "dataSource": "agent-api",
4
+ "refreshInterval": 5000,
5
+ "notes": ["Render run traces as a timeline with expandable tool call details.", "Token usage and cost panels require the agent to report usage metadata.", "Error rates and latency panels connect to the agent health endpoint."]
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "sampleRuns": [
3
+ { "id": "run_001", "agent": "support-bot", "status": "completed", "durationMs": 2340, "tokensUsed": 1850, "toolCalls": 3, "costUsd": 0.012 },
4
+ { "id": "run_002", "agent": "research-agent", "status": "completed", "durationMs": 8900, "tokensUsed": 12400, "toolCalls": 7, "costUsd": 0.089 }
5
+ ]
6
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "id": "ai-agent-dashboard",
3
+ "description": "Adds agent observability dashboard with run traces, tool calls, token usage, and cost tracking.",
4
+ "appliesTo": [
5
+ "react-vite-ts",
6
+ "nextjs-ts",
7
+ "fullstack-ts",
8
+ "sveltekit-ts",
9
+ "remix-ts",
10
+ "vue-ts"
11
+ ],
12
+ "files": [
13
+ {
14
+ "source": "files/dashboard-config.json",
15
+ "target": "agent-dashboard-config.json"
16
+ },
17
+ {
18
+ "source": "files/dashboard-data.json",
19
+ "target": "agent-dashboard-data.json"
20
+ }
21
+ ],
22
+ "contextHints": {
23
+ "extensionPoints": [
24
+ "agent-dashboard-config.json",
25
+ "agent-dashboard-data.json"
26
+ ]
27
+ },
28
+ "capabilityRequires": ["chart-widget"],
29
+ "keywords": [
30
+ "agent dashboard",
31
+ "agent monitoring",
32
+ "agent observability",
33
+ "run traces",
34
+ "agent traces",
35
+ "agent analytics"
36
+ ]
37
+ }
@@ -0,0 +1,78 @@
1
+ 'use client'
2
+
3
+ import { cn } from '@/lib/utils'
4
+ import { Card } from '@/components/ui/card'
5
+ import { Badge } from '@/components/ui/badge'
6
+ import { Avatar, AvatarFallback } from '@/components/ui/avatar'
7
+ import { Bot, Loader2 } from 'lucide-react'
8
+
9
+ type AgentStatus = 'idle' | 'running' | 'waiting' | 'errored'
10
+
11
+ interface Agent {
12
+ id: string
13
+ name: string
14
+ role: string
15
+ model: string
16
+ tools: string[]
17
+ status: AgentStatus
18
+ messagesSent: number
19
+ messagesReceived: number
20
+ lastAction?: string
21
+ }
22
+
23
+ interface AgentCardProps {
24
+ agent: Agent
25
+ isActive?: boolean
26
+ onClick?: () => void
27
+ }
28
+
29
+ const statusColors: Record<AgentStatus, string> = {
30
+ idle: 'bg-zinc-400',
31
+ running: 'bg-green-500',
32
+ waiting: 'bg-yellow-500',
33
+ errored: 'bg-red-500',
34
+ }
35
+
36
+ export function AgentCard({ agent, isActive, onClick }: AgentCardProps) {
37
+ return (
38
+ <Card
39
+ onClick={onClick}
40
+ className={cn(
41
+ 'cursor-pointer space-y-3 p-4 transition-colors hover:bg-accent/50',
42
+ isActive && 'ring-2 ring-primary'
43
+ )}
44
+ >
45
+ <div className="flex items-start gap-3">
46
+ <Avatar className="h-9 w-9">
47
+ <AvatarFallback className="bg-primary/10 text-primary">
48
+ {agent.status === 'running' ? <Loader2 className="h-4 w-4 animate-spin" /> : <Bot className="h-4 w-4" />}
49
+ </AvatarFallback>
50
+ </Avatar>
51
+ <div className="flex-1 overflow-hidden">
52
+ <div className="flex items-center gap-2">
53
+ <p className="truncate text-sm font-medium">{agent.name}</p>
54
+ <span className={cn('h-2 w-2 shrink-0 rounded-full', statusColors[agent.status])} />
55
+ </div>
56
+ <p className="truncate text-xs text-muted-foreground">{agent.role}</p>
57
+ </div>
58
+ <Badge variant="secondary" className="shrink-0 text-[10px]">{agent.model}</Badge>
59
+ </div>
60
+
61
+ {agent.tools.length > 0 && (
62
+ <div className="flex flex-wrap gap-1">
63
+ {agent.tools.map((tool) => (
64
+ <Badge key={tool} variant="outline" className="text-[10px]">{tool}</Badge>
65
+ ))}
66
+ </div>
67
+ )}
68
+
69
+ <div className="flex items-center justify-between text-[11px] text-muted-foreground">
70
+ <span>{agent.messagesSent} sent / {agent.messagesReceived} received</span>
71
+ </div>
72
+
73
+ {agent.lastAction && (
74
+ <p className="truncate text-xs text-muted-foreground">{agent.lastAction}</p>
75
+ )}
76
+ </Card>
77
+ )
78
+ }
@@ -0,0 +1,143 @@
1
+ 'use client'
2
+
3
+ import * as React from 'react'
4
+ import { cn } from '@/lib/utils'
5
+ import { Card } from '@/components/ui/card'
6
+ import { Badge } from '@/components/ui/badge'
7
+ import { Button } from '@/components/ui/button'
8
+ import { ScrollArea } from '@/components/ui/scroll-area'
9
+ import { Separator } from '@/components/ui/separator'
10
+ import {
11
+ Collapsible,
12
+ CollapsibleContent,
13
+ CollapsibleTrigger,
14
+ } from '@/components/ui/collapsible'
15
+ import { Bot, Wrench, Clock, CheckCircle2, XCircle, ChevronDown, Brain, Loader2 } from 'lucide-react'
16
+
17
+ type StepStatus = 'running' | 'completed' | 'failed' | 'waiting'
18
+ type StepType = 'action' | 'thinking' | 'tool_call'
19
+
20
+ interface ToolCall {
21
+ name: string
22
+ input: Record<string, unknown>
23
+ output?: Record<string, unknown>
24
+ }
25
+
26
+ interface RunStep {
27
+ id: string
28
+ agentName: string
29
+ agentRole?: string
30
+ type: StepType
31
+ description: string
32
+ toolCall?: ToolCall
33
+ output?: string
34
+ status: StepStatus
35
+ durationMs?: number
36
+ }
37
+
38
+ interface AgentRunViewProps {
39
+ steps: RunStep[]
40
+ totalDurationMs?: number
41
+ }
42
+
43
+ const statusConfig: Record<StepStatus, { icon: React.ElementType; className: string }> = {
44
+ running: { icon: Loader2, className: 'text-blue-500 animate-spin' },
45
+ completed: { icon: CheckCircle2, className: 'text-green-500' },
46
+ failed: { icon: XCircle, className: 'text-red-500' },
47
+ waiting: { icon: Clock, className: 'text-yellow-500' },
48
+ }
49
+
50
+ function formatDuration(ms: number) {
51
+ if (ms < 1000) return `${ms}ms`
52
+ return `${(ms / 1000).toFixed(1)}s`
53
+ }
54
+
55
+ function StepItem({ step }: { step: RunStep }) {
56
+ const [open, setOpen] = React.useState(false)
57
+ const StatusIcon = statusConfig[step.status].icon
58
+ const isThinking = step.type === 'thinking'
59
+
60
+ return (
61
+ <div className="relative flex gap-3 pb-6 last:pb-0">
62
+ <div className="flex flex-col items-center">
63
+ <div className={cn('flex h-7 w-7 shrink-0 items-center justify-center rounded-full border bg-background')}>
64
+ {isThinking ? (
65
+ <Brain className="h-3.5 w-3.5 text-purple-500" />
66
+ ) : step.type === 'tool_call' ? (
67
+ <Wrench className="h-3.5 w-3.5 text-muted-foreground" />
68
+ ) : (
69
+ <Bot className="h-3.5 w-3.5 text-muted-foreground" />
70
+ )}
71
+ </div>
72
+ <div className="mt-1 w-px flex-1 bg-border" />
73
+ </div>
74
+
75
+ <div className="flex-1 space-y-1.5 pt-0.5">
76
+ <div className="flex items-center gap-2">
77
+ <Badge variant="outline" className="text-[10px]">{step.agentName}</Badge>
78
+ {step.agentRole && <span className="text-xs text-muted-foreground">{step.agentRole}</span>}
79
+ <div className="flex-1" />
80
+ <StatusIcon className={cn('h-4 w-4', statusConfig[step.status].className)} />
81
+ {step.durationMs != null && (
82
+ <span className="text-[11px] text-muted-foreground">{formatDuration(step.durationMs)}</span>
83
+ )}
84
+ </div>
85
+
86
+ <p className={cn('text-sm', isThinking && 'italic text-muted-foreground')}>{step.description}</p>
87
+
88
+ {step.toolCall && (
89
+ <Collapsible open={open} onOpenChange={setOpen}>
90
+ <CollapsibleTrigger asChild>
91
+ <Button variant="ghost" size="sm" className="h-6 gap-1 px-2 text-xs text-muted-foreground">
92
+ <Wrench className="h-3 w-3" />
93
+ {step.toolCall.name}
94
+ <ChevronDown className={cn('h-3 w-3 transition-transform', open && 'rotate-180')} />
95
+ </Button>
96
+ </CollapsibleTrigger>
97
+ <CollapsibleContent>
98
+ <Card className="mt-1.5 space-y-2 p-3">
99
+ <div>
100
+ <p className="mb-1 text-[10px] font-medium uppercase tracking-wider text-muted-foreground">Input</p>
101
+ <pre className="overflow-x-auto rounded bg-muted p-2 text-xs">{JSON.stringify(step.toolCall.input, null, 2)}</pre>
102
+ </div>
103
+ {step.toolCall.output && (
104
+ <div>
105
+ <p className="mb-1 text-[10px] font-medium uppercase tracking-wider text-muted-foreground">Output</p>
106
+ <pre className="overflow-x-auto rounded bg-muted p-2 text-xs">{JSON.stringify(step.toolCall.output, null, 2)}</pre>
107
+ </div>
108
+ )}
109
+ </Card>
110
+ </CollapsibleContent>
111
+ </Collapsible>
112
+ )}
113
+
114
+ {step.output && !step.toolCall && (
115
+ <Card className="mt-1 p-3">
116
+ <p className="text-xs text-muted-foreground">{step.output}</p>
117
+ </Card>
118
+ )}
119
+ </div>
120
+ </div>
121
+ )
122
+ }
123
+
124
+ export function AgentRunView({ steps, totalDurationMs }: AgentRunViewProps) {
125
+ return (
126
+ <ScrollArea className="h-full">
127
+ <div className="space-y-0 p-4">
128
+ {steps.map((step) => (
129
+ <StepItem key={step.id} step={step} />
130
+ ))}
131
+ </div>
132
+ {totalDurationMs != null && (
133
+ <>
134
+ <Separator />
135
+ <div className="flex items-center justify-end gap-1.5 px-4 py-2">
136
+ <Clock className="h-3.5 w-3.5 text-muted-foreground" />
137
+ <span className="text-xs text-muted-foreground">Total: {formatDuration(totalDurationMs)}</span>
138
+ </div>
139
+ </>
140
+ )}
141
+ </ScrollArea>
142
+ )
143
+ }
@@ -0,0 +1,132 @@
1
+ 'use client'
2
+
3
+ import * as React from 'react'
4
+ import { cn } from '@/lib/utils'
5
+ import { Card } from '@/components/ui/card'
6
+ import { Button } from '@/components/ui/button'
7
+ import { Input } from '@/components/ui/input'
8
+ import { Badge } from '@/components/ui/badge'
9
+ import { Separator } from '@/components/ui/separator'
10
+ import { ScrollArea } from '@/components/ui/scroll-area'
11
+ import {
12
+ Select,
13
+ SelectContent,
14
+ SelectItem,
15
+ SelectTrigger,
16
+ SelectValue,
17
+ } from '@/components/ui/select'
18
+ import { AgentRunView } from '@/components/agents/agent-run-view'
19
+ import { AgentCard } from '@/components/agents/agent-card'
20
+ import { Play, Settings2 } from 'lucide-react'
21
+
22
+ const sampleAgents = [
23
+ { id: 'a1', name: 'Researcher', role: 'Finds relevant information', model: 'GPT-4o', tools: ['web_search', 'scrape'], status: 'completed' as const, messagesSent: 3, messagesReceived: 2, lastAction: 'Searched for "AI agent frameworks"' },
24
+ { id: 'a2', name: 'Analyst', role: 'Synthesizes findings into insights', model: 'Claude Sonnet', tools: ['code_exec', 'chart'], status: 'running' as const, messagesSent: 1, messagesReceived: 3, lastAction: 'Analyzing search results...' },
25
+ { id: 'a3', name: 'Writer', role: 'Produces final report', model: 'Claude Opus', tools: ['markdown'], status: 'idle' as const, messagesSent: 0, messagesReceived: 0 },
26
+ ]
27
+
28
+ const sampleSteps = [
29
+ { id: 's1', agentName: 'Researcher', agentRole: 'Research', type: 'action' as const, description: 'Starting web search for AI agent frameworks', status: 'completed' as const, durationMs: 1200 },
30
+ { id: 's2', agentName: 'Researcher', type: 'tool_call' as const, description: 'Called web_search', status: 'completed' as const, durationMs: 3400, toolCall: { name: 'web_search', input: { query: 'best AI agent frameworks 2025' }, output: { results: 8 } } },
31
+ { id: 's3', agentName: 'Researcher', type: 'thinking' as const, description: 'Evaluating which results are most relevant for a technical comparison...', status: 'completed' as const, durationMs: 800 },
32
+ { id: 's4', agentName: 'Analyst', type: 'action' as const, description: 'Received research results, beginning analysis', status: 'running' as const },
33
+ ]
34
+
35
+ type RunStatus = 'idle' | 'running' | 'completed' | 'failed'
36
+
37
+ const statusBadgeVariant: Record<RunStatus, 'secondary' | 'default' | 'destructive' | 'outline'> = {
38
+ idle: 'secondary',
39
+ running: 'default',
40
+ completed: 'outline',
41
+ failed: 'destructive',
42
+ }
43
+
44
+ export default function OrchestratorPage() {
45
+ const [task, setTask] = React.useState('')
46
+ const [runStatus, setRunStatus] = React.useState<RunStatus>('running')
47
+ const [selectedAgent, setSelectedAgent] = React.useState<string | null>(null)
48
+ const [model, setModel] = React.useState('gpt-4o')
49
+ const [maxIterations, setMaxIterations] = React.useState('10')
50
+ const [showConfig, setShowConfig] = React.useState(false)
51
+
52
+ const handleRun = () => {
53
+ if (!task.trim()) return
54
+ setRunStatus('running')
55
+ }
56
+
57
+ return (
58
+ <div className="flex h-screen flex-col bg-background">
59
+ <header className="flex h-14 items-center gap-3 border-b px-4">
60
+ <h1 className="text-sm font-semibold">Agent Orchestrator</h1>
61
+ <Separator orientation="vertical" className="h-5" />
62
+ <span className="text-sm text-muted-foreground">Research Task</span>
63
+ <Badge variant={statusBadgeVariant[runStatus]} className="text-[10px]">{runStatus}</Badge>
64
+ <div className="flex-1" />
65
+ <Button variant="ghost" size="icon" className="h-8 w-8" onClick={() => setShowConfig(!showConfig)}>
66
+ <Settings2 className="h-4 w-4" />
67
+ </Button>
68
+ </header>
69
+
70
+ {showConfig && (
71
+ <div className="flex items-center gap-4 border-b bg-muted/30 px-4 py-2">
72
+ <div className="flex items-center gap-2">
73
+ <label className="text-xs text-muted-foreground">Model</label>
74
+ <Select value={model} onValueChange={setModel}>
75
+ <SelectTrigger className="h-7 w-32 text-xs"><SelectValue /></SelectTrigger>
76
+ <SelectContent>
77
+ <SelectItem value="gpt-4o">GPT-4o</SelectItem>
78
+ <SelectItem value="claude-sonnet">Claude Sonnet</SelectItem>
79
+ <SelectItem value="claude-opus">Claude Opus</SelectItem>
80
+ </SelectContent>
81
+ </Select>
82
+ </div>
83
+ <div className="flex items-center gap-2">
84
+ <label className="text-xs text-muted-foreground">Max iterations</label>
85
+ <Input value={maxIterations} onChange={(e) => setMaxIterations(e.target.value)} className="h-7 w-16 text-xs" type="number" min="1" max="100" />
86
+ </div>
87
+ <div className="flex items-center gap-2">
88
+ <label className="text-xs text-muted-foreground">Timeout</label>
89
+ <Input defaultValue="300" className="h-7 w-16 text-xs" type="number" min="10" />
90
+ <span className="text-xs text-muted-foreground">sec</span>
91
+ </div>
92
+ </div>
93
+ )}
94
+
95
+ <div className="flex flex-1 overflow-hidden">
96
+ <aside className="w-64 shrink-0 overflow-y-auto border-r p-3">
97
+ <p className="mb-2 text-xs font-medium text-muted-foreground">Agents</p>
98
+ <div className="space-y-2">
99
+ {sampleAgents.map((agent) => (
100
+ <AgentCard
101
+ key={agent.id}
102
+ agent={agent}
103
+ isActive={selectedAgent === agent.id}
104
+ onClick={() => setSelectedAgent(agent.id === selectedAgent ? null : agent.id)}
105
+ />
106
+ ))}
107
+ </div>
108
+ </aside>
109
+
110
+ <div className="flex-1 overflow-hidden">
111
+ <AgentRunView steps={sampleSteps} totalDurationMs={5400} />
112
+ </div>
113
+ </div>
114
+
115
+ <div className="border-t p-3">
116
+ <div className="mx-auto flex max-w-3xl gap-2">
117
+ <Input
118
+ value={task}
119
+ onChange={(e) => setTask(e.target.value)}
120
+ placeholder="Describe the task for your agents..."
121
+ className="flex-1"
122
+ onKeyDown={(e) => { if (e.key === 'Enter' && !e.shiftKey) handleRun() }}
123
+ />
124
+ <Button onClick={handleRun} disabled={!task.trim() || runStatus === 'running'} className="gap-1.5">
125
+ <Play className="h-4 w-4" />
126
+ Run
127
+ </Button>
128
+ </div>
129
+ </div>
130
+ </div>
131
+ )
132
+ }