@tangle-network/starter-foundry 0.5.3 → 0.7.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/README.md +77 -5
- package/corpus/held-out-validation.json +1 -1
- package/corpus/ideasai-prompts.json +119 -58
- package/corpus/model-rates.json +56 -0
- package/dist/cli.js +35 -6
- package/dist/cli.js.map +1 -1
- package/dist/eval/diagnoser.d.ts +37 -0
- package/dist/eval/diagnoser.js +113 -0
- package/dist/eval/diagnoser.js.map +1 -0
- package/dist/eval/propose.d.ts +20 -0
- package/dist/eval/propose.js +75 -0
- package/dist/eval/propose.js.map +1 -0
- package/dist/eval/replay.d.ts +137 -0
- package/dist/eval/replay.js +392 -0
- package/dist/eval/replay.js.map +1 -0
- package/dist/eval/scaffold-bridge.d.ts +100 -0
- package/dist/eval/scaffold-bridge.js +492 -0
- package/dist/eval/scaffold-bridge.js.map +1 -0
- package/dist/lib/ab.d.ts +61 -0
- package/dist/lib/ab.js +80 -0
- package/dist/lib/ab.js.map +1 -0
- package/dist/lib/agent-context.js +34 -22
- package/dist/lib/agent-context.js.map +1 -1
- package/dist/lib/batch-export.js +1 -11
- package/dist/lib/batch-export.js.map +1 -1
- package/dist/lib/brand/first-turn-flows.d.ts +10 -0
- package/dist/lib/brand/first-turn-flows.js +114 -0
- package/dist/lib/brand/first-turn-flows.js.map +1 -0
- package/dist/lib/brand/i18n.d.ts +15 -0
- package/dist/lib/brand/i18n.js +100 -0
- package/dist/lib/brand/i18n.js.map +1 -0
- package/dist/lib/brand/index.d.ts +27 -0
- package/dist/lib/brand/index.js +100 -0
- package/dist/lib/brand/index.js.map +1 -0
- package/dist/lib/brand/media-manifest.d.ts +26 -0
- package/dist/lib/brand/media-manifest.js +98 -0
- package/dist/lib/brand/media-manifest.js.map +1 -0
- package/dist/lib/brand/user-segments.d.ts +7 -0
- package/dist/lib/brand/user-segments.js +81 -0
- package/dist/lib/brand/user-segments.js.map +1 -0
- package/dist/lib/brand/voice.d.ts +10 -0
- package/dist/lib/brand/voice.js +92 -0
- package/dist/lib/brand/voice.js.map +1 -0
- package/dist/lib/bridge.d.ts +38 -0
- package/dist/lib/bridge.js +130 -0
- package/dist/lib/bridge.js.map +1 -0
- package/dist/lib/build-plan.d.ts +43 -0
- package/dist/lib/build-plan.js +139 -1
- package/dist/lib/build-plan.js.map +1 -1
- package/dist/lib/buildout-traces.d.ts +182 -0
- package/dist/lib/buildout-traces.js +149 -0
- package/dist/lib/buildout-traces.js.map +1 -0
- package/dist/lib/canary.d.ts +38 -0
- package/dist/lib/canary.js +91 -0
- package/dist/lib/canary.js.map +1 -0
- package/dist/lib/capability-inferrer.d.ts +41 -0
- package/dist/lib/capability-inferrer.js +82 -0
- package/dist/lib/capability-inferrer.js.map +1 -0
- package/dist/lib/compose-prompt.d.ts +8 -7
- package/dist/lib/compose-prompt.js +30 -7
- package/dist/lib/compose-prompt.js.map +1 -1
- package/dist/lib/compose-seed.d.ts +15 -0
- package/dist/lib/compose-seed.js +44 -0
- package/dist/lib/compose-seed.js.map +1 -0
- package/dist/lib/compose.js +106 -1
- package/dist/lib/compose.js.map +1 -1
- package/dist/lib/context-pack.d.ts +6 -1
- package/dist/lib/context-pack.js +9 -3
- package/dist/lib/context-pack.js.map +1 -1
- package/dist/lib/cost.d.ts +53 -0
- package/dist/lib/cost.js +77 -0
- package/dist/lib/cost.js.map +1 -0
- package/dist/lib/fs.d.ts +1 -0
- package/dist/lib/fs.js +10 -0
- package/dist/lib/fs.js.map +1 -1
- package/dist/lib/index.d.ts +42 -1
- package/dist/lib/index.js +22 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/industry-flows.d.ts +6 -0
- package/dist/lib/industry-flows.js +165 -0
- package/dist/lib/industry-flows.js.map +1 -0
- package/dist/lib/keywords.js +85 -18
- package/dist/lib/keywords.js.map +1 -1
- package/dist/lib/llm.d.ts +14 -0
- package/dist/lib/llm.js +199 -0
- package/dist/lib/llm.js.map +1 -0
- package/dist/lib/planner/contracts.d.ts +12 -0
- package/dist/lib/planner/contracts.js +119 -0
- package/dist/lib/planner/contracts.js.map +1 -0
- package/dist/lib/planner/detectors.d.ts +14 -0
- package/dist/lib/planner/detectors.js +221 -0
- package/dist/lib/planner/detectors.js.map +1 -0
- package/dist/lib/planner/helpers.d.ts +2 -0
- package/dist/lib/planner/helpers.js +292 -0
- package/dist/lib/planner/helpers.js.map +1 -0
- package/dist/lib/planner/implicit-caps.d.ts +1 -0
- package/dist/lib/planner/implicit-caps.js +153 -0
- package/dist/lib/planner/implicit-caps.js.map +1 -0
- package/dist/lib/planner/partner-first.d.ts +31 -0
- package/dist/lib/planner/partner-first.js +137 -0
- package/dist/lib/planner/partner-first.js.map +1 -0
- package/dist/lib/planner/projects.d.ts +13 -0
- package/dist/lib/planner/projects.js +631 -0
- package/dist/lib/planner/projects.js.map +1 -0
- package/dist/lib/planner/signals.d.ts +24 -0
- package/dist/lib/planner/signals.js +526 -0
- package/dist/lib/planner/signals.js.map +1 -0
- package/dist/lib/planner/zk-preferences.d.ts +9 -0
- package/dist/lib/planner/zk-preferences.js +91 -0
- package/dist/lib/planner/zk-preferences.js.map +1 -0
- package/dist/lib/product-brief.d.ts +25 -0
- package/dist/lib/product-brief.js +129 -0
- package/dist/lib/product-brief.js.map +1 -0
- package/dist/lib/prompt-planner.d.ts +5 -1
- package/dist/lib/prompt-planner.js +246 -624
- package/dist/lib/prompt-planner.js.map +1 -1
- package/dist/lib/prompt-rewriter.d.ts +22 -0
- package/dist/lib/prompt-rewriter.js +129 -0
- package/dist/lib/prompt-rewriter.js.map +1 -0
- package/dist/lib/registry-mirror.d.ts +28 -0
- package/dist/lib/registry-mirror.js +64 -0
- package/dist/lib/registry-mirror.js.map +1 -0
- package/dist/lib/release.js +1 -11
- package/dist/lib/release.js.map +1 -1
- package/dist/lib/reproducibility.d.ts +39 -0
- package/dist/lib/reproducibility.js +96 -0
- package/dist/lib/reproducibility.js.map +1 -0
- package/dist/lib/reviewer-route.d.ts +12 -0
- package/dist/lib/reviewer-route.js +99 -0
- package/dist/lib/reviewer-route.js.map +1 -0
- package/dist/lib/safety/license-check.d.ts +9 -0
- package/dist/lib/safety/license-check.js +61 -0
- package/dist/lib/safety/license-check.js.map +1 -0
- package/dist/lib/safety/secret-scan.d.ts +7 -0
- package/dist/lib/safety/secret-scan.js +67 -0
- package/dist/lib/safety/secret-scan.js.map +1 -0
- package/dist/lib/sbom.d.ts +34 -0
- package/dist/lib/sbom.js +89 -0
- package/dist/lib/sbom.js.map +1 -0
- package/dist/lib/selection.d.ts +22 -0
- package/dist/lib/selection.js +225 -36
- package/dist/lib/selection.js.map +1 -1
- package/dist/lib/semantic-router.d.ts +2 -1
- package/dist/lib/synthetic/index.d.ts +45 -0
- package/dist/lib/synthetic/index.js +101 -0
- package/dist/lib/synthetic/index.js.map +1 -0
- package/dist/lib/telemetry/stream.d.ts +52 -0
- package/dist/lib/telemetry/stream.js +153 -0
- package/dist/lib/telemetry/stream.js.map +1 -0
- package/dist/lib/telemetry.d.ts +6 -11
- package/dist/lib/telemetry.js +3 -3
- package/dist/lib/telemetry.js.map +1 -1
- package/dist/lib/template-quality.d.ts +61 -0
- package/dist/lib/template-quality.js +84 -0
- package/dist/lib/template-quality.js.map +1 -0
- package/dist/lib/validate-plan.d.ts +10 -0
- package/dist/lib/validate-plan.js +74 -0
- package/dist/lib/validate-plan.js.map +1 -0
- package/dist/lib/vb-outcomes.d.ts +62 -0
- package/dist/lib/vb-outcomes.js +88 -0
- package/dist/lib/vb-outcomes.js.map +1 -0
- package/dist/lib/version-history.d.ts +15 -0
- package/dist/lib/version-history.js +40 -0
- package/dist/lib/version-history.js.map +1 -0
- package/dist/lib/visual-regression.d.ts +75 -0
- package/dist/lib/visual-regression.js +125 -0
- package/dist/lib/visual-regression.js.map +1 -0
- package/dist/training/capability_proposer/propose.d.ts +26 -0
- package/dist/training/capability_proposer/propose.js +305 -0
- package/dist/training/capability_proposer/propose.js.map +1 -0
- package/dist/training/family_proposer/propose.d.ts +35 -0
- package/dist/training/family_proposer/propose.js +664 -0
- package/dist/training/family_proposer/propose.js.map +1 -0
- package/dist/training/routing/train.d.ts +49 -0
- package/dist/training/routing/train.js +249 -0
- package/dist/training/routing/train.js.map +1 -0
- package/dist/training/template_v1/audit.d.ts +15 -0
- package/dist/training/template_v1/audit.js +83 -0
- package/dist/training/template_v1/audit.js.map +1 -0
- package/dist/training/template_v1/correctness.d.ts +25 -0
- package/dist/training/template_v1/correctness.js +194 -0
- package/dist/training/template_v1/correctness.js.map +1 -0
- package/dist/training/template_v1/harvest.d.ts +25 -0
- package/dist/training/template_v1/harvest.js +101 -0
- package/dist/training/template_v1/harvest.js.map +1 -0
- package/dist/training/template_v1/judge.d.ts +26 -0
- package/dist/training/template_v1/judge.js +104 -0
- package/dist/training/template_v1/judge.js.map +1 -0
- package/dist/training/template_v1/multi-propose.d.ts +27 -0
- package/dist/training/template_v1/multi-propose.js +34 -0
- package/dist/training/template_v1/multi-propose.js.map +1 -0
- package/dist/training/template_v1/run.d.ts +1 -0
- package/dist/training/template_v1/run.js +369 -0
- package/dist/training/template_v1/run.js.map +1 -0
- package/dist/training/template_v1/synthesize.d.ts +14 -0
- package/dist/training/template_v1/synthesize.js +101 -0
- package/dist/training/template_v1/synthesize.js.map +1 -0
- package/dist/training/variant_b/brief-loader.d.ts +5 -0
- package/dist/training/variant_b/brief-loader.js +263 -0
- package/dist/training/variant_b/brief-loader.js.map +1 -0
- package/dist/training/variant_b/flow.d.ts +51 -0
- package/dist/training/variant_b/flow.js +80 -0
- package/dist/training/variant_b/flow.js.map +1 -0
- package/dist/training/variant_b/generate.d.ts +7 -0
- package/dist/training/variant_b/generate.js +70 -0
- package/dist/training/variant_b/generate.js.map +1 -0
- package/dist/training/variant_b/judge.d.ts +8 -0
- package/dist/training/variant_b/judge.js +24 -0
- package/dist/training/variant_b/judge.js.map +1 -0
- package/dist/training/variant_b/nodes/collect.d.ts +31 -0
- package/dist/training/variant_b/nodes/collect.js +122 -0
- package/dist/training/variant_b/nodes/collect.js.map +1 -0
- package/dist/training/variant_b/nodes/generate.d.ts +22 -0
- package/dist/training/variant_b/nodes/generate.js +171 -0
- package/dist/training/variant_b/nodes/generate.js.map +1 -0
- package/dist/training/variant_b/nodes/judge.d.ts +26 -0
- package/dist/training/variant_b/nodes/judge.js +64 -0
- package/dist/training/variant_b/nodes/judge.js.map +1 -0
- package/dist/training/variant_b/nodes/promote.d.ts +15 -0
- package/dist/training/variant_b/nodes/promote.js +64 -0
- package/dist/training/variant_b/nodes/promote.js.map +1 -0
- package/dist/training/variant_b/nodes/rank.d.ts +12 -0
- package/dist/training/variant_b/nodes/rank.js +46 -0
- package/dist/training/variant_b/nodes/rank.js.map +1 -0
- package/dist/training/variant_b/nodes/train.d.ts +34 -0
- package/dist/training/variant_b/nodes/train.js +209 -0
- package/dist/training/variant_b/nodes/train.js.map +1 -0
- package/dist/training/variant_b/run-flow.d.ts +12 -0
- package/dist/training/variant_b/run-flow.js +21 -0
- package/dist/training/variant_b/run-flow.js.map +1 -0
- package/dist/training/variant_b/train.d.ts +15 -0
- package/dist/training/variant_b/train.js +37 -0
- package/dist/training/variant_b/train.js.map +1 -0
- package/dist/types/registry-schemas.generated.d.ts +105 -0
- package/dist/types/registry-schemas.generated.js +5 -0
- package/dist/types/registry-schemas.generated.js.map +1 -0
- package/dist/types.d.ts +135 -0
- package/package.json +58 -15
- package/registry/_mirrors.json +29 -0
- package/registry/_schemas/buildhints.schema.json +30 -0
- package/registry/_schemas/family.schema.json +92 -0
- package/registry/_schemas/layer.schema.json +59 -0
- package/registry/_schemas/partner.schema.json +27 -0
- package/registry/families/agent-service-py/manifest.json +9 -0
- package/registry/families/agent-service-ts/files/package.json +8 -0
- package/registry/families/agent-service-ts/manifest.json +1 -4
- package/registry/families/agent-swarm-ts/files/package.json +31 -0
- package/registry/families/agent-swarm-ts/files/tsconfig.json +14 -0
- package/registry/families/agent-swarm-ts/files/validate-swarm.mjs +28 -0
- package/registry/families/agent-swarm-ts/manifest.json +174 -0
- package/registry/families/angular-ts/files/package.json +8 -0
- package/registry/families/aptos-move/files/README.md +45 -0
- package/registry/families/aptos-move/files/validate-aptos.mjs +33 -0
- package/registry/families/aptos-move/manifest.json +106 -0
- package/registry/families/arkworks-prover/files/Cargo.toml +25 -0
- package/registry/families/arkworks-prover/files/README.md +77 -0
- package/registry/families/arkworks-prover/files/rust-toolchain.toml +3 -0
- package/registry/families/arkworks-prover/files/src/circuit.rs +39 -0
- package/registry/families/arkworks-prover/files/src/main.rs +31 -0
- package/registry/families/arkworks-prover/files/src/prover.rs +47 -0
- package/registry/families/arkworks-prover/files/validate-arkworks.mjs +25 -0
- package/registry/families/arkworks-prover/manifest.json +84 -0
- package/registry/families/astro-static/files/package.json +28 -0
- package/registry/families/astro-static/files/tsconfig.json +5 -0
- package/registry/families/astro-static/files/validate-astro.mjs +26 -0
- package/registry/families/astro-static/manifest.json +141 -0
- package/registry/families/bevy-web/files/Cargo.toml +27 -0
- package/registry/families/bevy-web/files/Trunk.toml +20 -0
- package/registry/families/bevy-web/files/build.sh +32 -0
- package/registry/families/bevy-web/files/index.html +30 -0
- package/registry/families/bevy-web/files/validate-bevy-web.mjs +46 -0
- package/registry/families/bevy-web/manifest.json +171 -0
- package/registry/families/browser-extension-ts/files/package.json +4 -1
- package/registry/families/bun-http/files/bunfig.toml +9 -0
- package/registry/families/bun-http/files/package.json +23 -0
- package/registry/families/bun-http/files/tsconfig.json +16 -0
- package/registry/families/bun-http/files/validate-bun.mjs +21 -0
- package/registry/families/bun-http/manifest.json +163 -0
- package/registry/families/celestia-da/files/README.md +53 -0
- package/registry/families/celestia-da/files/validate-celestia.mjs +43 -0
- package/registry/families/celestia-da/manifest.json +117 -0
- package/registry/families/cli-ts/files/package.json +13 -0
- package/registry/families/cloudflare-worker-ts/files/package.json +8 -0
- package/registry/families/crm-backend/files/package.json +23 -0
- package/registry/families/crm-backend/files/tsconfig.json +14 -0
- package/registry/families/crm-backend/files/validate-crm.mjs +32 -0
- package/registry/families/crm-backend/manifest.json +132 -0
- package/registry/families/deno-edge/files/deno.json +17 -0
- package/registry/families/deno-edge/files/validate-deno.mjs +21 -0
- package/registry/families/deno-edge/manifest.json +153 -0
- package/registry/families/ecommerce-headless/files/package.json +24 -0
- package/registry/families/ecommerce-headless/files/tsconfig.json +14 -0
- package/registry/families/ecommerce-headless/files/validate-commerce.mjs +37 -0
- package/registry/families/ecommerce-headless/manifest.json +68 -0
- package/registry/families/electron-desktop-ts/files/package.json +11 -1
- package/registry/families/electron-native-os/files/package.json +35 -0
- package/registry/families/electron-native-os/files/preview-server.mjs +34 -0
- package/registry/families/electron-native-os/files/validate-types.mjs +39 -0
- package/registry/families/electron-native-os/manifest.json +200 -0
- package/registry/families/eleventy-static/files/.eleventy.js +16 -0
- package/registry/families/eleventy-static/files/package.json +23 -0
- package/registry/families/eleventy-static/files/validate-eleventy.mjs +25 -0
- package/registry/families/eleventy-static/manifest.json +106 -0
- package/registry/families/esp32-rust/files/Cargo.toml +47 -0
- package/registry/families/esp32-rust/files/build.rs +9 -0
- package/registry/families/esp32-rust/files/cargo-config.toml +22 -0
- package/registry/families/esp32-rust/files/rust-toolchain.toml +10 -0
- package/registry/families/esp32-rust/files/sdkconfig.defaults +28 -0
- package/registry/families/esp32-rust/files/validate-esp32.mjs +54 -0
- package/registry/families/esp32-rust/manifest.json +168 -0
- package/registry/families/expo-react-native-ts/files/package.json +13 -1
- package/registry/families/expo-rn-rich/files/package.json +37 -0
- package/registry/families/expo-rn-rich/files/validate-expo-rn-rich.mjs +43 -0
- package/registry/families/expo-rn-rich/manifest.json +181 -0
- package/registry/families/fhenix-contracts/files/package.json +1 -1
- package/registry/families/fhevm-contracts/files/package.json +1 -1
- package/registry/families/fintech-ledger-backend/files/package.json +30 -0
- package/registry/families/fintech-ledger-backend/files/tsconfig.json +14 -0
- package/registry/families/fintech-ledger-backend/files/validate-fintech.mjs +43 -0
- package/registry/families/fintech-ledger-backend/manifest.json +138 -0
- package/registry/families/flutter-app/files/analysis_options.yaml +17 -0
- package/registry/families/flutter-app/files/android/app/build.gradle +38 -0
- package/registry/families/flutter-app/files/ios/Runner/Info.plist +49 -0
- package/registry/families/flutter-app/files/pubspec.yaml +24 -0
- package/registry/families/flutter-app/files/validate-flutter.mjs +43 -0
- package/registry/families/flutter-app/manifest.json +189 -0
- package/registry/families/fraud-ops-console/files/.env.example +6 -0
- package/registry/families/fraud-ops-console/files/.gitkeep +0 -0
- package/registry/families/fraud-ops-console/files/README.md +43 -0
- package/registry/families/fraud-ops-console/files/index.html +12 -0
- package/registry/families/fraud-ops-console/files/package.json +37 -0
- package/registry/families/fraud-ops-console/files/src/App.tsx +19 -0
- package/registry/families/fraud-ops-console/files/src/main.tsx +9 -0
- package/registry/families/fraud-ops-console/files/tsconfig.json +12 -0
- package/registry/families/fraud-ops-console/files/validate-node.mjs +49 -0
- package/registry/families/fraud-ops-console/files/vite.config.ts +10 -0
- package/registry/families/fraud-ops-console/manifest.json +138 -0
- package/registry/families/frontend-static/files/package.json +8 -0
- package/registry/families/frontend-static/manifest.json +17 -0
- package/registry/families/fullstack-ts/files/package.json +11 -1
- package/registry/families/fullstack-ts/manifest.json +22 -0
- package/registry/families/gdpr-compliance-pack/files/docs/DPIA-template.md +55 -0
- package/registry/families/gdpr-compliance-pack/files/docs/GDPR-controls.md +65 -0
- package/registry/families/gdpr-compliance-pack/files/package.json +14 -0
- package/registry/families/gdpr-compliance-pack/files/src/components/CookieBanner.tsx +115 -0
- package/registry/families/gdpr-compliance-pack/files/src/consent.ts +71 -0
- package/registry/families/gdpr-compliance-pack/files/src/data-inventory.ts +94 -0
- package/registry/families/gdpr-compliance-pack/files/src/data-subject-rights.ts +98 -0
- package/registry/families/gdpr-compliance-pack/files/tsconfig.json +14 -0
- package/registry/families/gdpr-compliance-pack/files/validate-gdpr-pack.mjs +31 -0
- package/registry/families/gdpr-compliance-pack/manifest.json +56 -0
- package/registry/families/godot-web/files/README.md +71 -0
- package/registry/families/godot-web/files/export_presets.cfg +44 -0
- package/registry/families/godot-web/files/icon.svg +7 -0
- package/registry/families/godot-web/files/project.godot +28 -0
- package/registry/families/godot-web/files/validate-godot-web.mjs +46 -0
- package/registry/families/godot-web/manifest.json +172 -0
- package/registry/families/hardhat-contracts/files/package.json +11 -1
- package/registry/families/healthcare-hipaa-backend/files/package.json +29 -0
- package/registry/families/healthcare-hipaa-backend/files/tsconfig.json +15 -0
- package/registry/families/healthcare-hipaa-backend/files/validate-hipaa.mjs +35 -0
- package/registry/families/healthcare-hipaa-backend/manifest.json +145 -0
- package/registry/families/hipaa-compliance-pack/files/docs/BAA-template.md +60 -0
- package/registry/families/hipaa-compliance-pack/files/docs/HIPAA-controls.md +58 -0
- package/registry/families/hipaa-compliance-pack/files/package.json +14 -0
- package/registry/families/hipaa-compliance-pack/files/src/audit-log.ts +54 -0
- package/registry/families/hipaa-compliance-pack/files/src/encryption.ts +74 -0
- package/registry/families/hipaa-compliance-pack/files/src/phi-access.ts +83 -0
- package/registry/families/hipaa-compliance-pack/files/tsconfig.json +14 -0
- package/registry/families/hipaa-compliance-pack/files/validate-hipaa-pack.mjs +33 -0
- package/registry/families/hipaa-compliance-pack/manifest.json +63 -0
- package/registry/families/hls-origin/files/docker-compose.yml +32 -0
- package/registry/families/hls-origin/files/nginx.conf +68 -0
- package/registry/families/hls-origin/files/package.json +30 -0
- package/registry/families/hls-origin/files/start-stream.sh +58 -0
- package/registry/families/hls-origin/files/tsconfig.json +15 -0
- package/registry/families/hls-origin/files/validate-hls.mjs +50 -0
- package/registry/families/hls-origin/manifest.json +159 -0
- package/registry/families/hugo-static/files/config.toml +12 -0
- package/registry/families/hugo-static/files/validate-hugo.mjs +22 -0
- package/registry/families/hugo-static/manifest.json +99 -0
- package/registry/families/jupyter-book/files/_config.yml +26 -0
- package/registry/families/jupyter-book/files/_toc.yml +4 -0
- package/registry/families/jupyter-book/files/intro.md +16 -0
- package/registry/families/jupyter-book/files/requirements.txt +3 -0
- package/registry/families/jupyter-book/files/validate-jupyter-book.mjs +26 -0
- package/registry/families/jupyter-book/manifest.json +115 -0
- package/registry/families/k12-edtech/files/package.json +23 -0
- package/registry/families/k12-edtech/files/tsconfig.json +14 -0
- package/registry/families/k12-edtech/files/validate-k12.mjs +28 -0
- package/registry/families/k12-edtech/manifest.json +64 -0
- package/registry/families/kotlin-multiplatform/files/build.gradle.kts +67 -0
- package/registry/families/kotlin-multiplatform/files/gradle.properties +12 -0
- package/registry/families/kotlin-multiplatform/files/root-build.gradle.kts +12 -0
- package/registry/families/kotlin-multiplatform/files/settings.gradle.kts +30 -0
- package/registry/families/kotlin-multiplatform/files/validate-kmp.mjs +52 -0
- package/registry/families/kotlin-multiplatform/manifest.json +196 -0
- package/registry/families/kyc-onboarding/files/.env.example +6 -0
- package/registry/families/kyc-onboarding/files/.gitkeep +0 -0
- package/registry/families/kyc-onboarding/files/README.md +23 -0
- package/registry/families/kyc-onboarding/files/index.html +12 -0
- package/registry/families/kyc-onboarding/files/package.json +24 -0
- package/registry/families/kyc-onboarding/files/src/App.tsx +40 -0
- package/registry/families/kyc-onboarding/files/src/main.ts +12 -0
- package/registry/families/kyc-onboarding/files/tsconfig.json +17 -0
- package/registry/families/kyc-onboarding/files/validate-node.mjs +17 -0
- package/registry/families/kyc-onboarding/files/vite.config.ts +15 -0
- package/registry/families/kyc-onboarding/manifest.json +140 -0
- package/registry/families/legal-case-mgmt/files/package.json +24 -0
- package/registry/families/legal-case-mgmt/files/tsconfig.json +14 -0
- package/registry/families/legal-case-mgmt/files/validate-legal.mjs +12 -0
- package/registry/families/legal-case-mgmt/manifest.json +85 -0
- package/registry/families/livekit-sfu/files/.env.example +8 -0
- package/registry/families/livekit-sfu/files/docker-compose.yml +27 -0
- package/registry/families/livekit-sfu/files/livekit.yaml +30 -0
- package/registry/families/livekit-sfu/files/package.json +31 -0
- package/registry/families/livekit-sfu/files/tsconfig.json +15 -0
- package/registry/families/livekit-sfu/files/validate-livekit.mjs +46 -0
- package/registry/families/livekit-sfu/manifest.json +152 -0
- package/registry/families/lora-training/files/.env.example +8 -0
- package/registry/families/lora-training/files/README-lora.md +71 -0
- package/registry/families/lora-training/files/config/train.yaml +54 -0
- package/registry/families/lora-training/files/data/sample.jsonl +5 -0
- package/registry/families/lora-training/files/pyproject.toml +29 -0
- package/registry/families/lora-training/files/validate-lora.mjs +63 -0
- package/registry/families/lora-training/manifest.json +183 -0
- package/registry/families/move-contracts/files/validate-move.mjs +1 -1
- package/registry/families/move-contracts/manifest.json +0 -1
- package/registry/families/multimodal-agent/files/api/README.md +108 -0
- package/registry/families/multimodal-agent/files/index.html +105 -0
- package/registry/families/multimodal-agent/files/package.json +31 -0
- package/registry/families/multimodal-agent/files/tsconfig.json +15 -0
- package/registry/families/multimodal-agent/files/validate-multimodal.mjs +64 -0
- package/registry/families/multimodal-agent/files/vite.config.ts +15 -0
- package/registry/families/multimodal-agent/manifest.json +143 -0
- package/registry/families/nextjs-ts/files/package.json +16 -6
- package/registry/families/nextjs-ts/manifest.json +35 -0
- package/registry/families/nextjs-ts/prompt-fragment.md +12 -0
- package/registry/families/observable-notebook/files/index.md +23 -0
- package/registry/families/observable-notebook/files/observablehq.config.ts +15 -0
- package/registry/families/observable-notebook/files/package.json +26 -0
- package/registry/families/observable-notebook/files/tsconfig.json +13 -0
- package/registry/families/observable-notebook/files/validate-observable.mjs +24 -0
- package/registry/families/observable-notebook/manifest.json +110 -0
- package/registry/families/ollama-server/files/Modelfile +10 -0
- package/registry/families/ollama-server/files/README.md +32 -0
- package/registry/families/ollama-server/files/docker-compose.yml +23 -0
- package/registry/families/ollama-server/files/package.json +14 -0
- package/registry/families/ollama-server/files/tsconfig.json +13 -0
- package/registry/families/ollama-server/files/validate-ollama.mjs +19 -0
- package/registry/families/ollama-server/manifest.json +101 -0
- package/registry/families/pci-dss-compliance-pack/files/docs/PCI-DSS-controls.md +43 -0
- package/registry/families/pci-dss-compliance-pack/files/package.json +14 -0
- package/registry/families/pci-dss-compliance-pack/files/src/pan-redact.ts +50 -0
- package/registry/families/pci-dss-compliance-pack/files/src/tokenize.ts +39 -0
- package/registry/families/pci-dss-compliance-pack/files/tsconfig.json +14 -0
- package/registry/families/pci-dss-compliance-pack/files/validate-pci-pack.mjs +19 -0
- package/registry/families/pci-dss-compliance-pack/manifest.json +50 -0
- package/registry/families/phaser-game/files/index.html +17 -0
- package/registry/families/phaser-game/files/package.json +18 -0
- package/registry/families/phaser-game/files/tsconfig.json +15 -0
- package/registry/families/phaser-game/files/validate-phaser.mjs +19 -0
- package/registry/families/phaser-game/files/vite.config.ts +11 -0
- package/registry/families/phaser-game/manifest.json +91 -0
- package/registry/families/pixijs-game/files/index.html +16 -0
- package/registry/families/pixijs-game/files/package.json +18 -0
- package/registry/families/pixijs-game/files/tsconfig.json +13 -0
- package/registry/families/pixijs-game/files/validate-pixi.mjs +14 -0
- package/registry/families/pixijs-game/files/vite.config.ts +6 -0
- package/registry/families/pixijs-game/manifest.json +90 -0
- package/registry/families/playwright-worker/files/package.json +8 -0
- package/registry/families/polymarket-portfolio-hedging/files/.env.example +5 -0
- package/registry/families/polymarket-portfolio-hedging/files/.gitkeep +0 -0
- package/registry/families/polymarket-portfolio-hedging/files/README.md +37 -0
- package/registry/families/polymarket-portfolio-hedging/files/index.html +1 -0
- package/registry/families/polymarket-portfolio-hedging/files/package.json +32 -0
- package/registry/families/polymarket-portfolio-hedging/files/src/App.tsx +45 -0
- package/registry/families/polymarket-portfolio-hedging/files/src/main.tsx +9 -0
- package/registry/families/polymarket-portfolio-hedging/files/tsconfig.json +12 -0
- package/registry/families/polymarket-portfolio-hedging/files/validate-node.mjs +1 -0
- package/registry/families/polymarket-portfolio-hedging/files/vite.config.ts +10 -0
- package/registry/families/polymarket-portfolio-hedging/manifest.json +127 -0
- package/registry/families/python-api/manifest.json +1 -3
- package/registry/families/rag-pipeline-py/files/.env.example +20 -0
- package/registry/families/rag-pipeline-py/files/README-rag.md +57 -0
- package/registry/families/rag-pipeline-py/files/docs/sample.md +14 -0
- package/registry/families/rag-pipeline-py/files/pyproject.toml +26 -0
- package/registry/families/rag-pipeline-py/files/validate-rag.mjs +38 -0
- package/registry/families/rag-pipeline-py/manifest.json +174 -0
- package/registry/families/react-vite-ts/files/package.json +16 -6
- package/registry/families/react-vite-ts/files/src/components/ui/badge.tsx +9 -0
- package/registry/families/react-vite-ts/files/src/components/ui/button.tsx +18 -0
- package/registry/families/react-vite-ts/files/src/components/ui/card.tsx +22 -0
- package/registry/families/react-vite-ts/manifest.json +45 -2
- package/registry/families/realtime-audio-ts/files/package.json +25 -0
- package/registry/families/realtime-audio-ts/files/validate-realtime-audio.mjs +43 -0
- package/registry/families/realtime-audio-ts/manifest.json +177 -0
- package/registry/families/remix-ts/files/package.json +16 -8
- package/registry/families/remix-ts/manifest.json +30 -0
- package/registry/families/risczero-zkvm/files/Cargo.toml +23 -0
- package/registry/families/risczero-zkvm/files/README.md +66 -0
- package/registry/families/risczero-zkvm/files/host/main.rs +25 -0
- package/registry/families/risczero-zkvm/files/host/prover.rs +48 -0
- package/registry/families/risczero-zkvm/files/host-Cargo.toml +16 -0
- package/registry/families/risczero-zkvm/files/methods/Cargo.toml +11 -0
- package/registry/families/risczero-zkvm/files/methods/build.rs +6 -0
- package/registry/families/risczero-zkvm/files/methods/guest/main.rs +38 -0
- package/registry/families/risczero-zkvm/files/methods/guest-Cargo.toml +12 -0
- package/registry/families/risczero-zkvm/files/methods/src-lib.rs +3 -0
- package/registry/families/risczero-zkvm/files/rust-toolchain.toml +3 -0
- package/registry/families/risczero-zkvm/files/validate-risczero.mjs +41 -0
- package/registry/families/risczero-zkvm/manifest.json +109 -0
- package/registry/families/ros2-node-py/files/README-ros2.md +46 -0
- package/registry/families/ros2-node-py/files/package.xml +28 -0
- package/registry/families/ros2-node-py/files/resource-marker +1 -0
- package/registry/families/ros2-node-py/files/setup.cfg +5 -0
- package/registry/families/ros2-node-py/files/setup.py +32 -0
- package/registry/families/ros2-node-py/files/validate-ros2-py.mjs +96 -0
- package/registry/families/ros2-node-py/manifest.json +197 -0
- package/registry/families/sglang-server/files/.env.example +21 -0
- package/registry/families/sglang-server/files/README-sglang.md +60 -0
- package/registry/families/sglang-server/files/client.py +87 -0
- package/registry/families/sglang-server/files/docker-compose.yml +46 -0
- package/registry/families/sglang-server/files/launch.sh +26 -0
- package/registry/families/sglang-server/files/requirements.txt +5 -0
- package/registry/families/sglang-server/files/validate-sglang.mjs +49 -0
- package/registry/families/sglang-server/manifest.json +182 -0
- package/registry/families/skypilot-serving/files/.env.example +12 -0
- package/registry/families/skypilot-serving/files/README-skypilot.md +73 -0
- package/registry/families/skypilot-serving/files/requirements.txt +5 -0
- package/registry/families/skypilot-serving/files/service.yaml +44 -0
- package/registry/families/skypilot-serving/files/sky-serve.yaml +25 -0
- package/registry/families/skypilot-serving/files/validate-skypilot.mjs +41 -0
- package/registry/families/skypilot-serving/manifest.json +181 -0
- package/registry/families/soc2-compliance-pack/files/docs/SOC2-controls.md +54 -0
- package/registry/families/soc2-compliance-pack/files/docs/incident-response.md +33 -0
- package/registry/families/soc2-compliance-pack/files/docs/vendor-attestations.md +36 -0
- package/registry/families/soc2-compliance-pack/files/package.json +14 -0
- package/registry/families/soc2-compliance-pack/files/src/audit.ts +46 -0
- package/registry/families/soc2-compliance-pack/files/src/change-mgmt.ts +36 -0
- package/registry/families/soc2-compliance-pack/files/tsconfig.json +14 -0
- package/registry/families/soc2-compliance-pack/files/validate-soc2-pack.mjs +25 -0
- package/registry/families/soc2-compliance-pack/manifest.json +60 -0
- package/registry/families/sp1-zkvm/files/Cargo.toml +18 -0
- package/registry/families/sp1-zkvm/files/README.md +68 -0
- package/registry/families/sp1-zkvm/files/program/main.rs +21 -0
- package/registry/families/sp1-zkvm/files/program-Cargo.toml +11 -0
- package/registry/families/sp1-zkvm/files/rust-toolchain.toml +3 -0
- package/registry/families/sp1-zkvm/files/script/main.rs +13 -0
- package/registry/families/sp1-zkvm/files/script/prover.rs +36 -0
- package/registry/families/sp1-zkvm/files/script-Cargo.toml +17 -0
- package/registry/families/sp1-zkvm/files/validate-sp1.mjs +30 -0
- package/registry/families/sp1-zkvm/manifest.json +92 -0
- package/registry/families/stm32-rust/files/Cargo.toml +69 -0
- package/registry/families/stm32-rust/files/Embed.toml +26 -0
- package/registry/families/stm32-rust/files/build.rs +24 -0
- package/registry/families/stm32-rust/files/cargo-config.toml +20 -0
- package/registry/families/stm32-rust/files/memory.x +25 -0
- package/registry/families/stm32-rust/files/validate-stm32.mjs +19 -0
- package/registry/families/stm32-rust/manifest.json +170 -0
- package/registry/families/streamlit-advanced/files/config.toml +12 -0
- package/registry/families/streamlit-advanced/files/requirements.txt +5 -0
- package/registry/families/streamlit-advanced/files/validate-streamlit.mjs +27 -0
- package/registry/families/streamlit-advanced/manifest.json +109 -0
- package/registry/families/sveltekit-ts/files/package.json +9 -1
- package/registry/families/tauri-desktop/files/package.json +7 -5
- package/registry/families/tauri-menubar/files/package.json +31 -0
- package/registry/families/tauri-menubar/files/preview-server.mjs +36 -0
- package/registry/families/tauri-menubar/files/validate-types.mjs +31 -0
- package/registry/families/tauri-menubar/manifest.json +174 -0
- package/registry/families/tauri-tray/files/package.json +23 -0
- package/registry/families/tauri-tray/files/preview-server.mjs +63 -0
- package/registry/families/tauri-tray/files/validate-types.mjs +27 -0
- package/registry/families/tauri-tray/manifest.json +174 -0
- package/registry/families/tgi-server/files/.env.example +22 -0
- package/registry/families/tgi-server/files/README-tgi.md +59 -0
- package/registry/families/tgi-server/files/client.py +78 -0
- package/registry/families/tgi-server/files/docker-compose.yml +46 -0
- package/registry/families/tgi-server/files/requirements.txt +3 -0
- package/registry/families/tgi-server/files/validate-tgi.mjs +44 -0
- package/registry/families/tgi-server/manifest.json +178 -0
- package/registry/families/threejs-game/files/index.html +16 -0
- package/registry/families/threejs-game/files/package.json +27 -0
- package/registry/families/threejs-game/files/tsconfig.json +13 -0
- package/registry/families/threejs-game/files/validate-threejs.mjs +32 -0
- package/registry/families/threejs-game/files/vite.config.ts +10 -0
- package/registry/families/threejs-game/manifest.json +164 -0
- package/registry/families/triton-server/files/README-triton.md +65 -0
- package/registry/families/triton-server/files/client.py +54 -0
- package/registry/families/triton-server/files/docker-compose.yml +41 -0
- package/registry/families/triton-server/files/model_repository/identity/1/.gitkeep +9 -0
- package/registry/families/triton-server/files/model_repository/identity/config.pbtxt +43 -0
- package/registry/families/triton-server/files/requirements.txt +2 -0
- package/registry/families/triton-server/files/validate-triton.mjs +53 -0
- package/registry/families/triton-server/manifest.json +190 -0
- package/registry/families/unity-web-proxy/files/Build/.gitkeep +17 -0
- package/registry/families/unity-web-proxy/files/README.md +68 -0
- package/registry/families/unity-web-proxy/files/package.json +24 -0
- package/registry/families/unity-web-proxy/files/scripts/build-webgl.sh +62 -0
- package/registry/families/unity-web-proxy/files/tsconfig.json +13 -0
- package/registry/families/unity-web-proxy/files/validate-unity.mjs +60 -0
- package/registry/families/unity-web-proxy/files/vite.config.ts +32 -0
- package/registry/families/unity-web-proxy/manifest.json +175 -0
- package/registry/families/vision-first-agent/files/api/README.md +92 -0
- package/registry/families/vision-first-agent/files/index.html +67 -0
- package/registry/families/vision-first-agent/files/package.json +24 -0
- package/registry/families/vision-first-agent/files/tsconfig.json +13 -0
- package/registry/families/vision-first-agent/files/validate-vision.mjs +48 -0
- package/registry/families/vision-first-agent/files/vite.config.ts +13 -0
- package/registry/families/vision-first-agent/manifest.json +142 -0
- package/registry/families/vllm-server/files/README-serving.md +60 -0
- package/registry/families/vllm-server/files/config.yaml +26 -0
- package/registry/families/vllm-server/files/requirements.txt +6 -0
- package/registry/families/vllm-server/files/validate-vllm.mjs +30 -0
- package/registry/families/vllm-server/manifest.json +165 -0
- package/registry/families/voice-first-agent/files/api/README.md +83 -0
- package/registry/families/voice-first-agent/files/index.html +59 -0
- package/registry/families/voice-first-agent/files/package.json +24 -0
- package/registry/families/voice-first-agent/files/tsconfig.json +13 -0
- package/registry/families/voice-first-agent/files/validate-voice.mjs +46 -0
- package/registry/families/voice-first-agent/files/vite.config.ts +16 -0
- package/registry/families/voice-first-agent/manifest.json +140 -0
- package/registry/families/vue-ts/files/package.json +9 -1
- package/registry/families/wasm-rust/files/Cargo.toml +20 -0
- package/registry/families/wasm-rust/files/build-wasm.mjs +22 -0
- package/registry/families/wasm-rust/files/package.json +27 -0
- package/registry/families/wasm-rust/files/tsconfig.json +14 -0
- package/registry/families/wasm-rust/files/validate-wasm.mjs +30 -0
- package/registry/families/wasm-rust/files/vite.config.ts +11 -0
- package/registry/families/wasm-rust/manifest.json +156 -0
- package/registry/families/webgpu-inference/files/index.html +25 -0
- package/registry/families/webgpu-inference/files/package.json +24 -0
- package/registry/families/webgpu-inference/files/tsconfig.json +14 -0
- package/registry/families/webgpu-inference/files/validate-webgpu-inference.mjs +52 -0
- package/registry/families/webgpu-inference/files/vite.config.ts +13 -0
- package/registry/families/webgpu-inference/manifest.json +173 -0
- package/registry/families/webgpu-render/files/index.html +19 -0
- package/registry/families/webgpu-render/files/package.json +24 -0
- package/registry/families/webgpu-render/files/tsconfig.json +14 -0
- package/registry/families/webgpu-render/files/validate-webgpu-render.mjs +58 -0
- package/registry/families/webgpu-render/files/vite.config.ts +11 -0
- package/registry/families/webgpu-render/manifest.json +171 -0
- package/registry/families/zk-prover-service/manifest.json +2 -6
- package/registry/families/zola-static/files/config.toml +13 -0
- package/registry/families/zola-static/files/validate-zola.mjs +23 -0
- package/registry/families/zola-static/manifest.json +96 -0
- package/registry/layers/auth/better-auth/manifest.json +40 -18
- package/registry/layers/auth/clerk/manifest.json +40 -18
- package/registry/layers/auth/none/manifest.json +42 -18
- package/registry/layers/auth/supabase-auth/manifest.json +29 -18
- package/registry/layers/capability/agent-multi-agent/manifest.json +9 -9
- package/registry/layers/capability/ai-chat-ui/manifest.json +112 -1
- package/registry/layers/capability/banking-baas/files/banking-config.json +25 -0
- package/registry/layers/capability/banking-baas/files/banking.ts +125 -0
- package/registry/layers/capability/banking-baas/manifest.json +59 -0
- package/registry/layers/capability/chart-widget/manifest.json +69 -3
- package/registry/layers/capability/code-editor/files/code-editor.tsx +82 -0
- package/registry/layers/capability/code-editor/manifest.json +90 -0
- package/registry/layers/capability/date-utils/manifest.json +64 -0
- package/registry/layers/capability/evm-nft-mint-page/files/.gitkeep +0 -0
- package/registry/layers/capability/evm-nft-mint-page/files/evm-nft-mint.md +21 -0
- package/registry/layers/capability/evm-nft-mint-page/files/src/components/MintPage.tsx +38 -0
- package/registry/layers/capability/evm-nft-mint-page/files/src/mint-page-config.json +1 -0
- package/registry/layers/capability/evm-nft-mint-page/manifest.json +75 -0
- package/registry/layers/capability/evm-wallet-dashboard/manifest.json +6 -1
- package/registry/layers/capability/layout-admin/manifest.json +84 -14
- package/registry/layers/capability/layout-auth/manifest.json +12 -0
- package/registry/layers/capability/layout-chat/manifest.json +100 -14
- package/registry/layers/capability/layout-dashboard/manifest.json +0 -1
- package/registry/layers/capability/logging/manifest.json +10 -14
- package/registry/layers/capability/multi-tenancy/manifest.json +60 -0
- package/registry/layers/capability/passkey-onboarding/files/.gitkeep +0 -0
- package/registry/layers/capability/passkey-onboarding/files/passkey-onboarding.md +37 -0
- package/registry/layers/capability/passkey-onboarding/files/src/components/PasskeyRegister.tsx +25 -0
- package/registry/layers/capability/passkey-onboarding/files/src/components/PasskeySignIn.tsx +84 -0
- package/registry/layers/capability/passkey-onboarding/files/src/passkey-onboarding-config.json +1 -0
- package/registry/layers/capability/passkey-onboarding/manifest.json +78 -0
- package/registry/layers/capability/routing/files/router.tsx +63 -0
- package/registry/layers/capability/routing/files/routing-notes.md +33 -0
- package/registry/layers/capability/routing/manifest.json +66 -0
- package/registry/layers/capability/saas-billing/manifest.json +5 -0
- package/registry/layers/capability/shadcn/files/breadcrumb.tsx +1 -1
- package/registry/layers/capability/shadcn/files/collapsible.tsx +50 -0
- package/registry/layers/capability/shadcn/files/popover.tsx +54 -0
- package/registry/layers/capability/shadcn/manifest.json +22 -1
- package/registry/layers/capability/stripe-checkout-onetime/files/checkout.ts +60 -0
- package/registry/layers/capability/stripe-checkout-onetime/manifest.json +36 -0
- package/registry/layers/capability/stripe-connect/files/connect-api.ts +57 -0
- package/registry/layers/capability/stripe-connect/files/connect-config.json +8 -0
- package/registry/layers/capability/stripe-connect/manifest.json +40 -0
- package/registry/layers/capability/stripe-metered/files/metered.ts +43 -0
- package/registry/layers/capability/stripe-metered/manifest.json +35 -0
- package/registry/layers/capability/tailwind/manifest.json +13 -1
- package/registry/layers/capability/tangle-gpu-provider/files/gpu-config.json +14 -0
- package/registry/layers/capability/tangle-gpu-provider/manifest.json +34 -0
- package/registry/layers/capability/tangle-mpp/files/mpp-config.json +18 -0
- package/registry/layers/capability/tangle-mpp/manifest.json +30 -0
- package/registry/layers/capability/tangle-remote-provider/files/remote-config.json +28 -0
- package/registry/layers/capability/tangle-remote-provider/manifest.json +29 -0
- package/registry/layers/capability/tangle-tee/files/tee-config.json +20 -0
- package/registry/layers/capability/tangle-tee/manifest.json +31 -0
- package/registry/layers/capability/tangle-x402/files/x402-config.json +11 -0
- package/registry/layers/capability/tangle-x402/manifest.json +24 -0
- package/registry/layers/capability/webhook-processor/manifest.json +10 -14
- package/registry/layers/capability/webrtc/manifest.json +79 -10
- package/registry/layers/capability/zk-browser/files/mixer-deposit-panel.tsx +64 -0
- package/registry/layers/capability/zk-browser/files/mixer-merkle-panel.tsx +41 -0
- package/registry/layers/capability/zk-browser/files/mixer-note.ts +90 -0
- package/registry/layers/capability/zk-browser/files/mixer-verify-panel.tsx +66 -0
- package/registry/layers/capability/zk-browser/files/mixer-withdraw-panel.tsx +105 -0
- package/registry/layers/capability/zk-browser/files/zk-circuits.md +73 -0
- package/registry/layers/capability/zk-browser/files/zkproof.ts +94 -0
- package/registry/layers/capability/zk-browser/manifest.json +112 -0
- package/registry/layers/capability/zk-gnark/files/circuit.go +28 -0
- package/registry/layers/capability/zk-gnark/files/gnark-notes.md +80 -0
- package/registry/layers/capability/zk-gnark/files/prover.go +70 -0
- package/registry/layers/capability/zk-gnark/manifest.json +63 -0
- package/registry/layers/capability/zk-noir/files/circuits/Nargo.toml +7 -0
- package/registry/layers/capability/zk-noir/files/circuits/main.nr +22 -0
- package/registry/layers/capability/zk-noir/files/noir-notes.md +72 -0
- package/registry/layers/capability/zk-noir/files/prover.ts +53 -0
- package/registry/layers/capability/zk-noir/manifest.json +72 -0
- package/registry/layers/database/convex/manifest.json +12 -9
- package/registry/layers/database/mongodb/manifest.json +12 -9
- package/registry/layers/database/postgres/manifest.json +18 -9
- package/registry/layers/database/sqlite/manifest.json +18 -9
- package/registry/layers/framework/agent-swarm-ts/files/researcher.ts +30 -0
- package/registry/layers/framework/agent-swarm-ts/files/server.ts +35 -0
- package/registry/layers/framework/agent-swarm-ts/files/state.ts +33 -0
- package/registry/layers/framework/agent-swarm-ts/files/supervisor.ts +31 -0
- package/registry/layers/framework/agent-swarm-ts/files/writer.ts +27 -0
- package/registry/layers/framework/agent-swarm-ts/manifest.json +27 -0
- package/registry/layers/framework/aptos-move/files/AGENTS.md +58 -0
- package/registry/layers/framework/aptos-move/files/Move.toml +10 -0
- package/registry/layers/framework/aptos-move/files/module.move +46 -0
- package/registry/layers/framework/aptos-move/files/package.json +9 -0
- package/registry/layers/framework/aptos-move/files/scripts/deploy.sh +21 -0
- package/registry/layers/framework/aptos-move/files/test.move +30 -0
- package/registry/layers/framework/aptos-move/manifest.json +88 -0
- package/registry/layers/framework/arkworks-prover/manifest.json +6 -0
- package/registry/layers/framework/astro-static/files/astro.config.mjs +9 -0
- package/registry/layers/framework/astro-static/files/src/env.d.ts +1 -0
- package/registry/layers/framework/astro-static/files/src/layouts/Base.astro +33 -0
- package/registry/layers/framework/astro-static/files/src/pages/index.astro +18 -0
- package/registry/layers/framework/astro-static/manifest.json +75 -0
- package/registry/layers/framework/bevy-web/files/src/main.rs +79 -0
- package/registry/layers/framework/bevy-web/manifest.json +48 -0
- package/registry/layers/framework/bun-http/files/handlers.ts +25 -0
- package/registry/layers/framework/bun-http/files/server.ts +15 -0
- package/registry/layers/framework/bun-http/manifest.json +15 -0
- package/registry/layers/framework/celestia-da/files/AGENTS.md +70 -0
- package/registry/layers/framework/celestia-da/files/cmd/celestia-node/main.go +146 -0
- package/registry/layers/framework/celestia-da/files/config.toml +32 -0
- package/registry/layers/framework/celestia-da/files/docker-compose.yml +30 -0
- package/registry/layers/framework/celestia-da/files/go.mod +3 -0
- package/registry/layers/framework/celestia-da/files/go.sum +0 -0
- package/registry/layers/framework/celestia-da/files/submit-blob.sh +54 -0
- package/registry/layers/framework/celestia-da/manifest.json +65 -0
- package/registry/layers/framework/crm-backend/files/contacts.ts +93 -0
- package/registry/layers/framework/crm-backend/files/db.ts +8 -0
- package/registry/layers/framework/crm-backend/files/drizzle.config.ts +9 -0
- package/registry/layers/framework/crm-backend/files/package.json +22 -0
- package/registry/layers/framework/crm-backend/files/pipeline.ts +158 -0
- package/registry/layers/framework/crm-backend/files/reporting.ts +69 -0
- package/registry/layers/framework/crm-backend/files/schema.ts +146 -0
- package/registry/layers/framework/crm-backend/files/server.ts +42 -0
- package/registry/layers/framework/crm-backend/manifest.json +89 -0
- package/registry/layers/framework/deno-edge/files/handlers.ts +24 -0
- package/registry/layers/framework/deno-edge/files/server.ts +12 -0
- package/registry/layers/framework/deno-edge/manifest.json +15 -0
- package/registry/layers/framework/ecommerce-headless/files/.env.example +12 -0
- package/registry/layers/framework/ecommerce-headless/files/AGENTS.md +57 -0
- package/registry/layers/framework/ecommerce-headless/files/cart.ts +119 -0
- package/registry/layers/framework/ecommerce-headless/files/checkout.ts +113 -0
- package/registry/layers/framework/ecommerce-headless/files/db.ts +8 -0
- package/registry/layers/framework/ecommerce-headless/files/drizzle.config.ts +9 -0
- package/registry/layers/framework/ecommerce-headless/files/package.json +23 -0
- package/registry/layers/framework/ecommerce-headless/files/products.ts +33 -0
- package/registry/layers/framework/ecommerce-headless/files/schema.ts +160 -0
- package/registry/layers/framework/ecommerce-headless/files/server.ts +43 -0
- package/registry/layers/framework/ecommerce-headless/files/stripe-webhook.ts +148 -0
- package/registry/layers/framework/ecommerce-headless/files/tsconfig.json +14 -0
- package/registry/layers/framework/ecommerce-headless/manifest.json +81 -0
- package/registry/layers/framework/electron-native-os/files/App.tsx +87 -0
- package/registry/layers/framework/electron-native-os/files/deeplinks.ts +59 -0
- package/registry/layers/framework/electron-native-os/files/electron-builder.json +39 -0
- package/registry/layers/framework/electron-native-os/files/electron.vite.config.ts +14 -0
- package/registry/layers/framework/electron-native-os/files/index.ts +119 -0
- package/registry/layers/framework/electron-native-os/files/menu.ts +99 -0
- package/registry/layers/framework/electron-native-os/files/package.json +30 -0
- package/registry/layers/framework/electron-native-os/files/preload.ts +33 -0
- package/registry/layers/framework/electron-native-os/files/protocol.ts +56 -0
- package/registry/layers/framework/electron-native-os/files/renderer-index.html +14 -0
- package/registry/layers/framework/electron-native-os/files/renderer-main.tsx +12 -0
- package/registry/layers/framework/electron-native-os/files/styles.css +72 -0
- package/registry/layers/framework/electron-native-os/files/tsconfig.json +14 -0
- package/registry/layers/framework/electron-native-os/files/updater.ts +29 -0
- package/registry/layers/framework/electron-native-os/manifest.json +121 -0
- package/registry/layers/framework/eleventy-static/files/base.njk +23 -0
- package/registry/layers/framework/eleventy-static/files/index.md +11 -0
- package/registry/layers/framework/eleventy-static/files/src/assets/.gitkeep +0 -0
- package/registry/layers/framework/eleventy-static/manifest.json +75 -0
- package/registry/layers/framework/esp32-rust/files/.cargo/config.toml +3 -0
- package/registry/layers/framework/esp32-rust/files/Cargo.toml +11 -0
- package/registry/layers/framework/esp32-rust/files/README.md +51 -0
- package/registry/layers/framework/esp32-rust/files/build.rs +1 -0
- package/registry/layers/framework/esp32-rust/files/rust-toolchain.toml +2 -0
- package/registry/layers/framework/esp32-rust/files/src/main.rs +16 -0
- package/registry/layers/framework/esp32-rust/manifest.json +48 -0
- package/registry/layers/framework/expo-react-native-ts/files/tsconfig.json +2 -1
- package/registry/layers/framework/expo-rn-rich/files/App.tsx +28 -0
- package/registry/layers/framework/expo-rn-rich/files/CanvasScreen.tsx +84 -0
- package/registry/layers/framework/expo-rn-rich/files/HomeScreen.tsx +43 -0
- package/registry/layers/framework/expo-rn-rich/files/RootNavigator.tsx +37 -0
- package/registry/layers/framework/expo-rn-rich/files/app.json +27 -0
- package/registry/layers/framework/expo-rn-rich/files/babel.config.js +10 -0
- package/registry/layers/framework/expo-rn-rich/files/metro.config.cjs +9 -0
- package/registry/layers/framework/expo-rn-rich/files/metro.config.js +14 -0
- package/registry/layers/framework/expo-rn-rich/files/tsconfig.json +12 -0
- package/registry/layers/framework/expo-rn-rich/manifest.json +101 -0
- package/registry/layers/framework/fintech-ledger-backend/files/db.ts +10 -0
- package/registry/layers/framework/fintech-ledger-backend/files/drizzle.config.ts +9 -0
- package/registry/layers/framework/fintech-ledger-backend/files/ledger/query.ts +66 -0
- package/registry/layers/framework/fintech-ledger-backend/files/money.ts +32 -0
- package/registry/layers/framework/fintech-ledger-backend/files/post.ts +141 -0
- package/registry/layers/framework/fintech-ledger-backend/files/schema.ts +87 -0
- package/registry/layers/framework/fintech-ledger-backend/files/server.ts +26 -0
- package/registry/layers/framework/fintech-ledger-backend/files/transactions-api.ts +59 -0
- package/registry/layers/framework/fintech-ledger-backend/files/tsconfig.json +17 -0
- package/registry/layers/framework/fintech-ledger-backend/manifest.json +82 -0
- package/registry/layers/framework/flutter-app/files/main.dart +189 -0
- package/registry/layers/framework/flutter-app/manifest.json +15 -0
- package/registry/layers/framework/forge-foundation/files/foundry.toml +11 -1
- package/registry/layers/framework/fraud-ops-console/manifest.json +8 -0
- package/registry/layers/framework/fullstack-node-ts/files/personalize.json +5 -5
- package/registry/layers/framework/gdpr-compliance-pack/files/AGENTS.md +40 -0
- package/registry/layers/framework/gdpr-compliance-pack/files/package.json +19 -0
- package/registry/layers/framework/gdpr-compliance-pack/files/tsconfig.json +14 -0
- package/registry/layers/framework/gdpr-compliance-pack/manifest.json +60 -0
- package/registry/layers/framework/godot-web/files/export/web/.gitkeep +0 -0
- package/registry/layers/framework/godot-web/files/export_presets.cfg +5 -0
- package/registry/layers/framework/godot-web/files/exports/web/.gitkeep +0 -0
- package/registry/layers/framework/godot-web/files/package.json +15 -0
- package/registry/layers/framework/godot-web/files/project.godot +5 -0
- package/registry/layers/framework/godot-web/files/scenes/main.tscn +19 -0
- package/registry/layers/framework/godot-web/files/scripts/main.gd +29 -0
- package/registry/layers/framework/godot-web/files/src/main.ts +2 -0
- package/registry/layers/framework/godot-web/files/tsconfig.json +11 -0
- package/registry/layers/framework/godot-web/manifest.json +62 -0
- package/registry/layers/framework/healthcare-hipaa-backend/files/db.ts +13 -0
- package/registry/layers/framework/healthcare-hipaa-backend/files/drizzle.config.ts +11 -0
- package/registry/layers/framework/healthcare-hipaa-backend/files/encounters.ts +89 -0
- package/registry/layers/framework/healthcare-hipaa-backend/files/encryption.ts +69 -0
- package/registry/layers/framework/healthcare-hipaa-backend/files/hipaa.md +65 -0
- package/registry/layers/framework/healthcare-hipaa-backend/files/package.json +22 -0
- package/registry/layers/framework/healthcare-hipaa-backend/files/patients.ts +86 -0
- package/registry/layers/framework/healthcare-hipaa-backend/files/phi-access.ts +85 -0
- package/registry/layers/framework/healthcare-hipaa-backend/files/schema.ts +82 -0
- package/registry/layers/framework/healthcare-hipaa-backend/files/server.ts +43 -0
- package/registry/layers/framework/healthcare-hipaa-backend/files/tsconfig.json +15 -0
- package/registry/layers/framework/healthcare-hipaa-backend/manifest.json +138 -0
- package/registry/layers/framework/hipaa-compliance-pack/files/AGENTS.md +39 -0
- package/registry/layers/framework/hipaa-compliance-pack/files/docs/BAA-template.md +60 -0
- package/registry/layers/framework/hipaa-compliance-pack/files/docs/HIPAA-controls.md +58 -0
- package/registry/layers/framework/hipaa-compliance-pack/files/package.json +14 -0
- package/registry/layers/framework/hipaa-compliance-pack/files/src/audit-log.ts +54 -0
- package/registry/layers/framework/hipaa-compliance-pack/files/src/encryption.ts +74 -0
- package/registry/layers/framework/hipaa-compliance-pack/files/src/phi-access.ts +83 -0
- package/registry/layers/framework/hipaa-compliance-pack/files/tsconfig.json +14 -0
- package/registry/layers/framework/hipaa-compliance-pack/files/validate-hipaa-pack.mjs +33 -0
- package/registry/layers/framework/hipaa-compliance-pack/manifest.json +56 -0
- package/registry/layers/framework/hls-origin/files/server.ts +83 -0
- package/registry/layers/framework/hls-origin/manifest.json +72 -0
- package/registry/layers/framework/hugo-static/files/_index.md +18 -0
- package/registry/layers/framework/hugo-static/files/baseof.html +22 -0
- package/registry/layers/framework/hugo-static/files/index.html +13 -0
- package/registry/layers/framework/hugo-static/files/package.json +13 -0
- package/registry/layers/framework/hugo-static/manifest.json +70 -0
- package/registry/layers/framework/jupyter-book/files/chapter-1.md +30 -0
- package/registry/layers/framework/jupyter-book/manifest.json +63 -0
- package/registry/layers/framework/k12-edtech/files/README.md +79 -0
- package/registry/layers/framework/k12-edtech/files/classroom.ts +119 -0
- package/registry/layers/framework/k12-edtech/files/db.ts +8 -0
- package/registry/layers/framework/k12-edtech/files/drizzle.config.ts +9 -0
- package/registry/layers/framework/k12-edtech/files/gradebook.ts +161 -0
- package/registry/layers/framework/k12-edtech/files/schema.ts +171 -0
- package/registry/layers/framework/k12-edtech/files/server.ts +58 -0
- package/registry/layers/framework/k12-edtech/files/tsconfig.json +15 -0
- package/registry/layers/framework/k12-edtech/manifest.json +105 -0
- package/registry/layers/framework/kotlin-multiplatform/files/AGENTS.md +67 -0
- package/registry/layers/framework/kotlin-multiplatform/files/App.kt +46 -0
- package/registry/layers/framework/kotlin-multiplatform/files/Platform.android.kt +5 -0
- package/registry/layers/framework/kotlin-multiplatform/files/Platform.ios.kt +6 -0
- package/registry/layers/framework/kotlin-multiplatform/files/build.gradle.kts +3 -0
- package/registry/layers/framework/kotlin-multiplatform/files/pom.xml +38 -0
- package/registry/layers/framework/kotlin-multiplatform/files/settings.gradle.kts +7 -0
- package/registry/layers/framework/kotlin-multiplatform/files/src/commonMain/kotlin/App.kt +3 -0
- package/registry/layers/framework/kotlin-multiplatform/manifest.json +74 -0
- package/registry/layers/framework/kyc-onboarding/manifest.json +8 -0
- package/registry/layers/framework/legal-case-mgmt/files/.env.example +5 -0
- package/registry/layers/framework/legal-case-mgmt/files/AGENTS.md +62 -0
- package/registry/layers/framework/legal-case-mgmt/files/billing.ts +130 -0
- package/registry/layers/framework/legal-case-mgmt/files/db.ts +8 -0
- package/registry/layers/framework/legal-case-mgmt/files/drizzle.config.ts +9 -0
- package/registry/layers/framework/legal-case-mgmt/files/matter.ts +111 -0
- package/registry/layers/framework/legal-case-mgmt/files/package.json +23 -0
- package/registry/layers/framework/legal-case-mgmt/files/schema.ts +148 -0
- package/registry/layers/framework/legal-case-mgmt/files/server.ts +50 -0
- package/registry/layers/framework/legal-case-mgmt/files/tsconfig.json +16 -0
- package/registry/layers/framework/legal-case-mgmt/files/validate-legal.mjs +26 -0
- package/registry/layers/framework/legal-case-mgmt/manifest.json +79 -0
- package/registry/layers/framework/livekit-sfu/files/AGENTS.md +76 -0
- package/registry/layers/framework/livekit-sfu/files/server.ts +84 -0
- package/registry/layers/framework/livekit-sfu/manifest.json +67 -0
- package/registry/layers/framework/lora-training/files/infer.py +102 -0
- package/registry/layers/framework/lora-training/files/pyrightconfig.json +8 -0
- package/registry/layers/framework/lora-training/files/train.py +174 -0
- package/registry/layers/framework/lora-training/manifest.json +78 -0
- package/registry/layers/framework/move-package/files/Move.toml +20 -1
- package/registry/layers/framework/move-package/files/module.move +1 -1
- package/registry/layers/framework/move-package/files/test.move +4 -6
- package/registry/layers/framework/multimodal-agent/files/App.tsx +219 -0
- package/registry/layers/framework/multimodal-agent/files/main.tsx +12 -0
- package/registry/layers/framework/multimodal-agent/manifest.json +60 -0
- package/registry/layers/framework/observable-notebook/files/data/rows.json.ts +11 -0
- package/registry/layers/framework/observable-notebook/files/overview.md +28 -0
- package/registry/layers/framework/observable-notebook/files/src/observablehq.d.ts +12 -0
- package/registry/layers/framework/observable-notebook/files/tsconfig.json +13 -0
- package/registry/layers/framework/observable-notebook/manifest.json +55 -0
- package/registry/layers/framework/ollama-server/files/.env.example +6 -0
- package/registry/layers/framework/ollama-server/files/src/client.ts +52 -0
- package/registry/layers/framework/ollama-server/manifest.json +52 -0
- package/registry/layers/framework/pci-dss-compliance-pack/files/AGENTS.md +52 -0
- package/registry/layers/framework/pci-dss-compliance-pack/files/README.md +51 -0
- package/registry/layers/framework/pci-dss-compliance-pack/files/src/index.ts +3 -0
- package/registry/layers/framework/pci-dss-compliance-pack/manifest.json +50 -0
- package/registry/layers/framework/phaser-game/files/src/main.ts +19 -0
- package/registry/layers/framework/phaser-game/files/src/scenes/MainScene.ts +38 -0
- package/registry/layers/framework/phaser-game/manifest.json +55 -0
- package/registry/layers/framework/pixijs-game/files/src/main.ts +49 -0
- package/registry/layers/framework/pixijs-game/files/src/vite-env.d.ts +1 -0
- package/registry/layers/framework/pixijs-game/manifest.json +51 -0
- package/registry/layers/framework/polymarket-portfolio-hedging/manifest.json +8 -0
- package/registry/layers/framework/rag-pipeline-py/files/AGENTS.md +55 -0
- package/registry/layers/framework/rag-pipeline-py/files/__init__.py +1 -0
- package/registry/layers/framework/rag-pipeline-py/files/pipeline.py +220 -0
- package/registry/layers/framework/rag-pipeline-py/manifest.json +56 -0
- package/registry/layers/framework/react-vite-ts/files/App.tsx +9 -72
- package/registry/layers/framework/realtime-audio-ts/files/audio.ts +75 -0
- package/registry/layers/framework/realtime-audio-ts/files/index.html +34 -0
- package/registry/layers/framework/realtime-audio-ts/files/main.ts +93 -0
- package/registry/layers/framework/realtime-audio-ts/files/peer.ts +68 -0
- package/registry/layers/framework/realtime-audio-ts/files/styles.css +59 -0
- package/registry/layers/framework/realtime-audio-ts/files/tsconfig.json +12 -0
- package/registry/layers/framework/realtime-audio-ts/files/visualizer.ts +59 -0
- package/registry/layers/framework/realtime-audio-ts/files/vite.config.ts +16 -0
- package/registry/layers/framework/realtime-audio-ts/manifest.json +54 -0
- package/registry/layers/framework/risczero-zkvm/manifest.json +6 -0
- package/registry/layers/framework/ros2-node-py/files/AGENTS.md +58 -0
- package/registry/layers/framework/ros2-node-py/files/__init__.py +0 -0
- package/registry/layers/framework/ros2-node-py/files/bringup.launch.py +23 -0
- package/registry/layers/framework/ros2-node-py/files/minimal_publisher.py +43 -0
- package/registry/layers/framework/ros2-node-py/files/minimal_subscriber.py +36 -0
- package/registry/layers/framework/ros2-node-py/files/my_node.py +24 -0
- package/registry/layers/framework/ros2-node-py/files/setup.py +28 -0
- package/registry/layers/framework/ros2-node-py/manifest.json +90 -0
- package/registry/layers/framework/sglang-server/files/Makefile +22 -0
- package/registry/layers/framework/sglang-server/files/README.md +56 -0
- package/registry/layers/framework/sglang-server/files/__init__.py +1 -0
- package/registry/layers/framework/sglang-server/files/pyproject.toml +30 -0
- package/registry/layers/framework/sglang-server/manifest.json +62 -0
- package/registry/layers/framework/skypilot-serving/files/AGENTS.md +85 -0
- package/registry/layers/framework/skypilot-serving/manifest.json +68 -0
- package/registry/layers/framework/soc2-compliance-pack/files/AGENTS.md +46 -0
- package/registry/layers/framework/soc2-compliance-pack/files/README.md +61 -0
- package/registry/layers/framework/soc2-compliance-pack/files/src/index.ts +3 -0
- package/registry/layers/framework/soc2-compliance-pack/manifest.json +52 -0
- package/registry/layers/framework/sp1-zkvm/manifest.json +6 -0
- package/registry/layers/framework/stm32-rust/files/.cargo/config.toml +9 -0
- package/registry/layers/framework/stm32-rust/files/Embed.toml +27 -0
- package/registry/layers/framework/stm32-rust/files/rust-toolchain.toml +3 -0
- package/registry/layers/framework/stm32-rust/files/src/main.rs +54 -0
- package/registry/layers/framework/stm32-rust/manifest.json +66 -0
- package/registry/layers/framework/streamlit-advanced/files/.env.example +3 -0
- package/registry/layers/framework/streamlit-advanced/files/README.md +58 -0
- package/registry/layers/framework/streamlit-advanced/files/analysis.py +40 -0
- package/registry/layers/framework/streamlit-advanced/files/app.py +76 -0
- package/registry/layers/framework/streamlit-advanced/manifest.json +60 -0
- package/registry/layers/framework/tangle-blueprint/files/TOOLCHAIN.md +16 -0
- package/registry/layers/framework/tangle-blueprint/files/lib.rs +29 -15
- package/registry/layers/framework/tangle-blueprint/files/rust-toolchain.toml +1 -1
- package/registry/layers/framework/tangle-blueprint/manifest.json +4 -0
- package/registry/layers/framework/tauri-menubar/README.md +54 -0
- package/registry/layers/framework/tauri-menubar/files/App.tsx +65 -0
- package/registry/layers/framework/tauri-menubar/files/Cargo.toml +18 -0
- package/registry/layers/framework/tauri-menubar/files/build.rs +3 -0
- package/registry/layers/framework/tauri-menubar/files/index.html +13 -0
- package/registry/layers/framework/tauri-menubar/files/lib.rs +75 -0
- package/registry/layers/framework/tauri-menubar/files/main.rs +7 -0
- package/registry/layers/framework/tauri-menubar/files/main.tsx +14 -0
- package/registry/layers/framework/tauri-menubar/files/styles.css +112 -0
- package/registry/layers/framework/tauri-menubar/files/tauri.conf.json +45 -0
- package/registry/layers/framework/tauri-menubar/files/tsconfig.json +13 -0
- package/registry/layers/framework/tauri-menubar/files/vite.config.ts +18 -0
- package/registry/layers/framework/tauri-menubar/manifest.json +92 -0
- package/registry/layers/framework/tauri-tray/files/Cargo.toml +19 -0
- package/registry/layers/framework/tauri-tray/files/build.rs +3 -0
- package/registry/layers/framework/tauri-tray/files/lib.rs +89 -0
- package/registry/layers/framework/tauri-tray/files/main.rs +5 -0
- package/registry/layers/framework/tauri-tray/files/src/main.ts +1 -0
- package/registry/layers/framework/tauri-tray/files/src/tray.ts +5 -0
- package/registry/layers/framework/tauri-tray/files/tauri.conf.json +28 -0
- package/registry/layers/framework/tauri-tray/files/tsconfig.json +11 -0
- package/registry/layers/framework/tauri-tray/manifest.json +80 -0
- package/registry/layers/framework/tgi-server/files/pyproject.toml +20 -0
- package/registry/layers/framework/tgi-server/files/src/__init__.py +1 -0
- package/registry/layers/framework/tgi-server/files/src/main.py +50 -0
- package/registry/layers/framework/tgi-server/manifest.json +41 -0
- package/registry/layers/framework/threejs-game/files/src/main.ts +62 -0
- package/registry/layers/framework/threejs-game/files/src/vite-env.d.ts +1 -0
- package/registry/layers/framework/threejs-game/manifest.json +50 -0
- package/registry/layers/framework/triton-server/files/AGENTS.md +71 -0
- package/registry/layers/framework/triton-server/files/Makefile +25 -0
- package/registry/layers/framework/triton-server/files/__init__.py +1 -0
- package/registry/layers/framework/triton-server/files/pyproject.toml +33 -0
- package/registry/layers/framework/triton-server/manifest.json +70 -0
- package/registry/layers/framework/unity-web-proxy/files/index.html +104 -0
- package/registry/layers/framework/unity-web-proxy/manifest.json +63 -0
- package/registry/layers/framework/vision-first-agent/files/main.ts +143 -0
- package/registry/layers/framework/vision-first-agent/files/vite-env.d.ts +1 -0
- package/registry/layers/framework/vision-first-agent/manifest.json +47 -0
- package/registry/layers/framework/vllm-server/files/__init__.py +0 -0
- package/registry/layers/framework/vllm-server/files/server.py +134 -0
- package/registry/layers/framework/vllm-server/manifest.json +15 -0
- package/registry/layers/framework/voice-first-agent/files/main.ts +160 -0
- package/registry/layers/framework/voice-first-agent/files/vite-env.d.ts +1 -0
- package/registry/layers/framework/voice-first-agent/manifest.json +48 -0
- package/registry/layers/framework/wasm-rust/files/index.html +12 -0
- package/registry/layers/framework/wasm-rust/files/lib.rs +43 -0
- package/registry/layers/framework/wasm-rust/files/main.ts +24 -0
- package/registry/layers/framework/wasm-rust/files/pkg/starter_foundry_wasm.d.ts +7 -0
- package/registry/layers/framework/wasm-rust/manifest.json +23 -0
- package/registry/layers/framework/webgpu-inference/files/src/main.ts +167 -0
- package/registry/layers/framework/webgpu-inference/files/src/shaders/matmul.wgsl +30 -0
- package/registry/layers/framework/webgpu-inference/manifest.json +55 -0
- package/registry/layers/framework/webgpu-render/files/src/main.ts +113 -0
- package/registry/layers/framework/webgpu-render/files/src/shaders/main.wgsl +37 -0
- package/registry/layers/framework/webgpu-render/files/src/vite-env.d.ts +1 -0
- package/registry/layers/framework/webgpu-render/manifest.json +56 -0
- package/registry/layers/framework/zola-static/files/_index.md +10 -0
- package/registry/layers/framework/zola-static/files/base.html +12 -0
- package/registry/layers/framework/zola-static/files/gitignore +3 -0
- package/registry/layers/framework/zola-static/files/index.html +26 -0
- package/registry/layers/framework/zola-static/files/main.scss +21 -0
- package/registry/layers/framework/zola-static/files/package.json +12 -0
- package/registry/layers/framework/zola-static/files/static.gitkeep +0 -0
- package/registry/layers/framework/zola-static/manifest.json +72 -0
- package/registry/layers/payments/coinbase-commerce/manifest.json +26 -17
- package/registry/layers/payments/none/manifest.json +28 -17
- package/registry/layers/payments/stripe/manifest.json +27 -17
- package/registry/layers/queue/bullmq/manifest.json +15 -13
- package/registry/layers/queue/none/manifest.json +15 -13
- package/registry/layers/queue/trigger-dev/manifest.json +15 -13
- package/registry/layers/sdk/coinbase-cdp/manifest.json +24 -17
- package/registry/layers/sdk/evm-wallet/manifest.json +24 -17
- package/registry/layers/sdk/none/manifest.json +26 -17
- package/registry/layers/sdk/solana-web3/manifest.json +24 -17
- package/registry/package-to-capability.json +63 -0
- package/registry/partners/avalanche/files/partner-config.json +14 -0
- package/registry/partners/avalanche/files/starter-brand.json +5 -0
- package/registry/partners/avalanche/manifest.json +46 -0
- package/registry/partners/chainlink/files/chainlink-config.json +29 -0
- package/registry/partners/chainlink/manifest.json +43 -0
- package/registry/partners/farcaster/files/partner-config.json +10 -0
- package/registry/partners/farcaster/files/starter-brand.json +5 -0
- package/registry/partners/farcaster/manifest.json +44 -0
- package/registry/partners/hyperliquid/files/partner-config.json +12 -0
- package/registry/partners/hyperliquid/files/starter-brand.json +5 -0
- package/registry/partners/hyperliquid/manifest.json +46 -0
- package/registry/partners/lens/files/partner-config.json +12 -0
- package/registry/partners/lens/files/starter-brand.json +5 -0
- package/registry/partners/lens/manifest.json +44 -0
- package/registry/partners/linea/files/partner-config.json +13 -0
- package/registry/partners/linea/files/starter-brand.json +5 -0
- package/registry/partners/linea/manifest.json +45 -0
- package/registry/partners/monad/files/partner-config.json +10 -0
- package/registry/partners/monad/files/starter-brand.json +5 -0
- package/registry/partners/monad/manifest.json +46 -0
- package/registry/partners/polygon/files/partner-config.json +16 -0
- package/registry/partners/polygon/files/starter-brand.json +5 -0
- package/registry/partners/polygon/manifest.json +46 -0
- package/registry/partners/sei-evm/files/partner-config.json +12 -0
- package/registry/partners/sei-evm/files/starter-brand.json +5 -0
- package/registry/partners/sei-evm/manifest.json +45 -0
- package/registry/partners/sui/files/sui-config.json +18 -0
- package/registry/partners/sui/manifest.json +41 -0
- package/registry/partners/tempo/files/tempo-config.json +26 -0
- package/registry/partners/tempo/manifest.json +46 -0
- package/registry/partners/tether/files/partner-config.json +17 -0
- package/registry/partners/tether/files/starter-brand.json +5 -0
- package/registry/partners/tether/manifest.json +49 -0
- package/registry/partners/usdc-circle/files/partner-config.json +25 -0
- package/registry/partners/usdc-circle/files/starter-brand.json +5 -0
- package/registry/partners/usdc-circle/manifest.json +50 -0
|
@@ -1,623 +1,15 @@
|
|
|
1
|
-
import { sanitizePackageName } from './fs.js';
|
|
2
1
|
import { emit, traced } from './telemetry.js';
|
|
3
2
|
import { loadRegistry } from './registry.js';
|
|
4
3
|
import { selectStarter } from './selection.js';
|
|
5
|
-
import { detectCapabilities, detectIndustry, detectLane, hasAny
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const familySets = {
|
|
15
|
-
coinbase: new Set([
|
|
16
|
-
'frontend-static',
|
|
17
|
-
'react-vite-ts',
|
|
18
|
-
'nextjs-ts',
|
|
19
|
-
'fullstack-ts',
|
|
20
|
-
'expo-react-native-ts',
|
|
21
|
-
'browser-extension-ts',
|
|
22
|
-
'electron-desktop-ts',
|
|
23
|
-
'tauri-desktop',
|
|
24
|
-
'api-service',
|
|
25
|
-
'cloudflare-worker-ts',
|
|
26
|
-
'python-api',
|
|
27
|
-
'rust-service',
|
|
28
|
-
'go-api',
|
|
29
|
-
'worker-job',
|
|
30
|
-
'go-worker',
|
|
31
|
-
'playwright-worker',
|
|
32
|
-
'evm-infra-ts',
|
|
33
|
-
'agent-service-ts',
|
|
34
|
-
'agent-service-py',
|
|
35
|
-
'forge-contracts',
|
|
36
|
-
'hardhat-contracts',
|
|
37
|
-
]),
|
|
38
|
-
tangle: new Set([
|
|
39
|
-
'frontend-static',
|
|
40
|
-
'react-vite-ts',
|
|
41
|
-
'nextjs-ts',
|
|
42
|
-
'fullstack-ts',
|
|
43
|
-
'api-service',
|
|
44
|
-
'python-api',
|
|
45
|
-
'rust-service',
|
|
46
|
-
'go-api',
|
|
47
|
-
'worker-job',
|
|
48
|
-
'go-worker',
|
|
49
|
-
'playwright-worker',
|
|
50
|
-
'evm-infra-ts',
|
|
51
|
-
'agent-service-ts',
|
|
52
|
-
'agent-service-py',
|
|
53
|
-
'agent-service-rust',
|
|
54
|
-
'tangle-blueprint',
|
|
55
|
-
]),
|
|
56
|
-
eigenlayer: new Set([
|
|
57
|
-
'frontend-static',
|
|
58
|
-
'react-vite-ts',
|
|
59
|
-
'nextjs-ts',
|
|
60
|
-
'fullstack-ts',
|
|
61
|
-
'api-service',
|
|
62
|
-
'python-api',
|
|
63
|
-
'rust-service',
|
|
64
|
-
'go-api',
|
|
65
|
-
'worker-job',
|
|
66
|
-
'go-worker',
|
|
67
|
-
'playwright-worker',
|
|
68
|
-
'evm-infra-ts',
|
|
69
|
-
'agent-service-ts',
|
|
70
|
-
'agent-service-py',
|
|
71
|
-
'agent-service-rust',
|
|
72
|
-
'eigenlayer-avs',
|
|
73
|
-
]),
|
|
74
|
-
arbitrum: new Set([
|
|
75
|
-
'frontend-static',
|
|
76
|
-
'react-vite-ts',
|
|
77
|
-
'nextjs-ts',
|
|
78
|
-
'fullstack-ts',
|
|
79
|
-
'api-service',
|
|
80
|
-
'python-api',
|
|
81
|
-
'rust-service',
|
|
82
|
-
'go-api',
|
|
83
|
-
'worker-job',
|
|
84
|
-
'go-worker',
|
|
85
|
-
'playwright-worker',
|
|
86
|
-
'evm-infra-ts',
|
|
87
|
-
'agent-service-ts',
|
|
88
|
-
'agent-service-py',
|
|
89
|
-
'agent-service-rust',
|
|
90
|
-
'forge-contracts',
|
|
91
|
-
'hardhat-contracts',
|
|
92
|
-
'stylus-contracts',
|
|
93
|
-
]),
|
|
94
|
-
xlayer: new Set([
|
|
95
|
-
'frontend-static',
|
|
96
|
-
'react-vite-ts',
|
|
97
|
-
'nextjs-ts',
|
|
98
|
-
'fullstack-ts',
|
|
99
|
-
'api-service',
|
|
100
|
-
'python-api',
|
|
101
|
-
'rust-service',
|
|
102
|
-
'go-api',
|
|
103
|
-
'worker-job',
|
|
104
|
-
'go-worker',
|
|
105
|
-
'playwright-worker',
|
|
106
|
-
'evm-infra-ts',
|
|
107
|
-
'agent-service-ts',
|
|
108
|
-
'agent-service-py',
|
|
109
|
-
'agent-service-rust',
|
|
110
|
-
'forge-contracts',
|
|
111
|
-
'hardhat-contracts',
|
|
112
|
-
]),
|
|
113
|
-
solana: new Set([
|
|
114
|
-
'frontend-static',
|
|
115
|
-
'react-vite-ts',
|
|
116
|
-
'nextjs-ts',
|
|
117
|
-
'fullstack-ts',
|
|
118
|
-
'api-service',
|
|
119
|
-
'python-api',
|
|
120
|
-
'rust-service',
|
|
121
|
-
'go-api',
|
|
122
|
-
'worker-job',
|
|
123
|
-
'go-worker',
|
|
124
|
-
'playwright-worker',
|
|
125
|
-
'agent-service-ts',
|
|
126
|
-
'agent-service-py',
|
|
127
|
-
'agent-service-rust',
|
|
128
|
-
'solana-program',
|
|
129
|
-
]),
|
|
130
|
-
};
|
|
131
|
-
return familySets[partner]?.has(family) ? partner : null;
|
|
132
|
-
}
|
|
133
|
-
function detectDatabaseSlot(text) {
|
|
134
|
-
if (text.includes('convex'))
|
|
135
|
-
return 'database:convex';
|
|
136
|
-
if (text.includes('postgres'))
|
|
137
|
-
return 'database:postgres';
|
|
138
|
-
if (text.includes('mongodb') || text.includes('mongo'))
|
|
139
|
-
return 'database:mongodb';
|
|
140
|
-
if (text.includes('sqlite'))
|
|
141
|
-
return 'database:sqlite';
|
|
142
|
-
return null;
|
|
143
|
-
}
|
|
144
|
-
function detectSdkSlot(text, partner) {
|
|
145
|
-
if (text.includes('solana web3') || text.includes('@solana/web3') || text.includes('wallet adapter')) {
|
|
146
|
-
return 'sdk:solana-web3';
|
|
147
|
-
}
|
|
148
|
-
if (partner === 'coinbase')
|
|
149
|
-
return 'sdk:coinbase-cdp';
|
|
150
|
-
if (text.includes('coinbase cdp') || text.includes('coinbase sdk'))
|
|
151
|
-
return 'sdk:coinbase-cdp';
|
|
152
|
-
if (partner === 'xlayer' ||
|
|
153
|
-
partner === 'arbitrum' ||
|
|
154
|
-
hasAny(text, ['walletconnect', 'wallet connect', 'okx wallet', 'metamask', 'viem', 'ethers'])) {
|
|
155
|
-
return 'sdk:evm-wallet';
|
|
156
|
-
}
|
|
157
|
-
return null;
|
|
158
|
-
}
|
|
159
|
-
function detectAuthSlot(text) {
|
|
160
|
-
if (text.includes('clerk'))
|
|
161
|
-
return 'auth:clerk';
|
|
162
|
-
if (text.includes('better auth') || text.includes('better-auth'))
|
|
163
|
-
return 'auth:better-auth';
|
|
164
|
-
if (text.includes('supabase auth') || text.includes('supabase-auth'))
|
|
165
|
-
return 'auth:supabase-auth';
|
|
166
|
-
return null;
|
|
167
|
-
}
|
|
168
|
-
function detectPaymentsSlot(text) {
|
|
169
|
-
if (text.includes('coinbase commerce'))
|
|
170
|
-
return 'payments:coinbase-commerce';
|
|
171
|
-
if (text.includes('stripe') || text.includes('subscription') || text.includes('billing') || text.includes('checkout')) {
|
|
172
|
-
return 'payments:stripe';
|
|
173
|
-
}
|
|
174
|
-
return null;
|
|
175
|
-
}
|
|
176
|
-
function detectQueueSlot(text) {
|
|
177
|
-
if (text.includes('trigger.dev') || text.includes('trigger dev'))
|
|
178
|
-
return 'queue:trigger-dev';
|
|
179
|
-
if (text.includes('bullmq') || text.includes('queue') || text.includes('background job'))
|
|
180
|
-
return 'queue:bullmq';
|
|
181
|
-
return null;
|
|
182
|
-
}
|
|
183
|
-
function detectTangleOraclePattern(text) {
|
|
184
|
-
return (hasAny(text, ['tangle', 'tangle network', 'tangle native']) &&
|
|
185
|
-
hasAny(text, ['oracle', 'price feed', 'attestation', 'feeder', 'operator rewards', 'slashing', 'data source']));
|
|
186
|
-
}
|
|
187
|
-
function detectTangleCustodyPattern(text) {
|
|
188
|
-
return (hasAny(text, ['tangle', 'tangle network', 'tangle native', 'frost']) &&
|
|
189
|
-
hasAny(text, ['custody', 'mpc', 'threshold signing', 'key resharing', 'policy engine', 'signing ceremony']));
|
|
190
|
-
}
|
|
191
|
-
function detectEvmDeployPattern(text) {
|
|
192
|
-
return hasAny(text, [
|
|
193
|
-
'foundry.toml',
|
|
194
|
-
'deploy script',
|
|
195
|
-
'deploy task',
|
|
196
|
-
'contract verification',
|
|
197
|
-
'verify',
|
|
198
|
-
'oklink explorer',
|
|
199
|
-
'.env template',
|
|
200
|
-
'private_key',
|
|
201
|
-
'sample erc20',
|
|
202
|
-
]);
|
|
203
|
-
}
|
|
204
|
-
function detectHardhatExplicit(text) {
|
|
205
|
-
return text.includes('hardhat') && !hasAny(text, ['foundry', 'forge']);
|
|
206
|
-
}
|
|
207
|
-
function detectEvmSupportApiPattern(text) {
|
|
208
|
-
return hasAny(text, [
|
|
209
|
-
'indexer',
|
|
210
|
-
'subgraph',
|
|
211
|
-
'events',
|
|
212
|
-
'relayer',
|
|
213
|
-
'paymaster',
|
|
214
|
-
'bundler',
|
|
215
|
-
'keeper',
|
|
216
|
-
'oracle',
|
|
217
|
-
'bridge',
|
|
218
|
-
'bridges',
|
|
219
|
-
'layerzero',
|
|
220
|
-
'oft',
|
|
221
|
-
'sendtokens',
|
|
222
|
-
'hook',
|
|
223
|
-
'analytics',
|
|
224
|
-
'portfolio',
|
|
225
|
-
'metrics',
|
|
226
|
-
'multicall',
|
|
227
|
-
'wallet balance',
|
|
228
|
-
'transaction count',
|
|
229
|
-
'gas price',
|
|
230
|
-
'websocket',
|
|
231
|
-
'/stats',
|
|
232
|
-
]);
|
|
233
|
-
}
|
|
234
|
-
function inferPartner(text) {
|
|
235
|
-
if (hasAny(text, ['coinbase', 'base network', 'coinbase commerce', 'coinbase wallet', 'coinbase cdp'])) {
|
|
236
|
-
return 'coinbase';
|
|
237
|
-
}
|
|
238
|
-
if (hasAny(text, ['tangle', 'blueprint sdk', 'cargo tangle']))
|
|
239
|
-
return 'tangle';
|
|
240
|
-
if (hasAny(text, ['eigenlayer', 'avs']))
|
|
241
|
-
return 'eigenlayer';
|
|
242
|
-
if (hasAny(text, ['x layer', 'xlayer', 'okb', 'oklink', 'okx']))
|
|
243
|
-
return 'xlayer';
|
|
244
|
-
if (hasAny(text, ['arbitrum', 'stylus']))
|
|
245
|
-
return 'arbitrum';
|
|
246
|
-
if (hasAny(text, ['solana', 'anchor', 'pda', 'wallet adapter']))
|
|
247
|
-
return 'solana';
|
|
248
|
-
return null;
|
|
249
|
-
}
|
|
250
|
-
function needsSupportApiLane(text) {
|
|
251
|
-
return hasAny(text, [
|
|
252
|
-
'order management',
|
|
253
|
-
'order history',
|
|
254
|
-
'payment webhook',
|
|
255
|
-
'quote generation',
|
|
256
|
-
'claims',
|
|
257
|
-
'transaction history',
|
|
258
|
-
'history/audit',
|
|
259
|
-
'portfolio',
|
|
260
|
-
'analytics',
|
|
261
|
-
'monitoring',
|
|
262
|
-
'indexer',
|
|
263
|
-
'websocket',
|
|
264
|
-
'database',
|
|
265
|
-
'metrics',
|
|
266
|
-
'p&l',
|
|
267
|
-
'api endpoints',
|
|
268
|
-
'consumer integration',
|
|
269
|
-
'historical data',
|
|
270
|
-
'data source',
|
|
271
|
-
'programmatic access',
|
|
272
|
-
'control plane',
|
|
273
|
-
'agent state',
|
|
274
|
-
'tool logs',
|
|
275
|
-
'memory',
|
|
276
|
-
'thread history',
|
|
277
|
-
'execution traces',
|
|
278
|
-
]);
|
|
279
|
-
}
|
|
280
|
-
function detectSolanaProductApiPattern(text) {
|
|
281
|
-
return hasAny(text, [
|
|
282
|
-
'pyth',
|
|
283
|
-
'switchboard',
|
|
284
|
-
'jupiter',
|
|
285
|
-
'openbook',
|
|
286
|
-
'analytics',
|
|
287
|
-
'leaderboard',
|
|
288
|
-
'activity feed',
|
|
289
|
-
'creator dashboard',
|
|
290
|
-
'launch calendar',
|
|
291
|
-
'pool discovery',
|
|
292
|
-
'market browser',
|
|
293
|
-
'market data',
|
|
294
|
-
'oracle integration',
|
|
295
|
-
'price feeds',
|
|
296
|
-
'dashboard',
|
|
297
|
-
'staking dashboard',
|
|
298
|
-
'royalty analytics',
|
|
299
|
-
'position explorer',
|
|
300
|
-
'pool explorer',
|
|
301
|
-
]);
|
|
302
|
-
}
|
|
303
|
-
function detectSolanaWorkerPattern(text) {
|
|
304
|
-
return hasAny(text, [
|
|
305
|
-
'keeper',
|
|
306
|
-
'liquidation',
|
|
307
|
-
'funding rate',
|
|
308
|
-
'pyth price feeds',
|
|
309
|
-
'switchboard',
|
|
310
|
-
'oracle integration',
|
|
311
|
-
'disputes',
|
|
312
|
-
'auto-deleveraging',
|
|
313
|
-
'rebalance',
|
|
314
|
-
'rebalancing',
|
|
315
|
-
'rewards distribution',
|
|
316
|
-
'reward distribution',
|
|
317
|
-
'vesting',
|
|
318
|
-
'sale monitor',
|
|
319
|
-
'auto-compound',
|
|
320
|
-
]);
|
|
321
|
-
}
|
|
322
|
-
function buildEvmContractLayers(text) {
|
|
323
|
-
const hardhatExplicit = detectHardhatExplicit(text);
|
|
324
|
-
const layers = [hardhatExplicit ? 'framework:hardhat-ts' : 'framework:forge-foundation'];
|
|
325
|
-
if (!hardhatExplicit && detectEvmDeployPattern(text)) {
|
|
326
|
-
layers.push('capability:evm-deploy-foundry');
|
|
327
|
-
}
|
|
328
|
-
if (!hardhatExplicit &&
|
|
329
|
-
hasAny(text, ['layerzero', 'oft', 'bridge tokens', 'sendtokens script', 'omnichain fungible token'])) {
|
|
330
|
-
layers.push('capability:evm-layerzero-oft');
|
|
331
|
-
}
|
|
332
|
-
else if (!hardhatExplicit &&
|
|
333
|
-
hasAny(text, ['erc-4337', 'erc4337', 'bundler', 'permissionless.js', 'gasless mint', 'account abstraction'])) {
|
|
334
|
-
layers.push('capability:evm-account-abstraction');
|
|
335
|
-
}
|
|
336
|
-
return layers;
|
|
337
|
-
}
|
|
338
|
-
function chooseAgentFamily(text) {
|
|
339
|
-
if (hasAny(text, ['rust', 'cargo', 'rig', 'rust agent'])) {
|
|
340
|
-
return {
|
|
341
|
-
family: 'agent-service-rust',
|
|
342
|
-
layers: ['framework:agent-service-rust'],
|
|
343
|
-
path: 'apps/agent',
|
|
344
|
-
variables: {
|
|
345
|
-
agentLibrary: matchesKeyword(text, 'rig') ? 'rig' : 'rust-agent',
|
|
346
|
-
},
|
|
347
|
-
};
|
|
348
|
-
}
|
|
349
|
-
if (hasAny(text, ['python', 'fastapi', 'pydanticai', 'crewai', 'autogen', 'agno', 'llamaindex', 'agentkit', 'python agent', 'unsloth', 'qlora'])) {
|
|
350
|
-
let agentLibrary = 'pydanticai';
|
|
351
|
-
if (text.includes('crewai'))
|
|
352
|
-
agentLibrary = 'crewai';
|
|
353
|
-
else if (text.includes('autogen'))
|
|
354
|
-
agentLibrary = 'autogen';
|
|
355
|
-
else if (text.includes('agno'))
|
|
356
|
-
agentLibrary = 'agno';
|
|
357
|
-
else if (text.includes('llamaindex'))
|
|
358
|
-
agentLibrary = 'llamaindex';
|
|
359
|
-
else if (text.includes('agentkit'))
|
|
360
|
-
agentLibrary = 'agentkit';
|
|
361
|
-
return {
|
|
362
|
-
family: 'agent-service-py',
|
|
363
|
-
layers: ['framework:agent-service-py'],
|
|
364
|
-
path: 'apps/agent',
|
|
365
|
-
variables: { agentLibrary },
|
|
366
|
-
};
|
|
367
|
-
}
|
|
368
|
-
let agentLibrary = 'openai-agents';
|
|
369
|
-
if (text.includes('langgraph'))
|
|
370
|
-
agentLibrary = 'langgraph';
|
|
371
|
-
else if (text.includes('mastra'))
|
|
372
|
-
agentLibrary = 'mastra';
|
|
373
|
-
else if (hasAny(text, ['anthropic sdk', 'claude sdk']))
|
|
374
|
-
agentLibrary = 'anthropic-sdk';
|
|
375
|
-
return {
|
|
376
|
-
family: 'agent-service-ts',
|
|
377
|
-
layers: ['framework:agent-service-ts'],
|
|
378
|
-
path: 'apps/agent',
|
|
379
|
-
variables: { agentLibrary },
|
|
380
|
-
};
|
|
381
|
-
}
|
|
382
|
-
function buildEvmContractVariables(text) {
|
|
383
|
-
if (hasAny(text, ['layerzero', 'oft', 'omnichain fungible token']))
|
|
384
|
-
return { contractName: 'OmnichainToken' };
|
|
385
|
-
if (hasAny(text, ['erc721', 'erc-721', 'nft collection', 'gasless mint']))
|
|
386
|
-
return { contractName: 'GaslessCollectible' };
|
|
387
|
-
if (hasAny(text, ['erc20', 'erc-20', 'sample erc20']))
|
|
388
|
-
return { contractName: 'XLayerToken' };
|
|
389
|
-
return { contractName: 'Counter' };
|
|
390
|
-
}
|
|
391
|
-
function buildSolanaProgramLayers(text) {
|
|
392
|
-
const layers = ['framework:solana-native-rust'];
|
|
393
|
-
if (hasAny(text, ['perpetual', 'futures', 'funding rate', 'liquidation', 'insurance fund', 'cross-collateral'])) {
|
|
394
|
-
layers.push('capability:solana-perps');
|
|
395
|
-
}
|
|
396
|
-
else if (hasAny(text, ['concentrated liquidity', 'tick-based liquidity', 'swap router', 'position nft'])) {
|
|
397
|
-
layers.push('capability:solana-amm');
|
|
398
|
-
}
|
|
399
|
-
else if (hasAny(text, ['nft marketplace', 'compressed nfts', 'royalty enforcement', 'bundle sales'])) {
|
|
400
|
-
layers.push('capability:solana-nft');
|
|
401
|
-
}
|
|
402
|
-
else if (hasAny(text, ['launchpad', 'fair launches', 'dutch auction', 'bonding curve', 'claim portal'])) {
|
|
403
|
-
layers.push('capability:solana-launchpad');
|
|
404
|
-
}
|
|
405
|
-
else if (hasAny(text, ['staking platform', 'veToken', 'rewards dashboard', 'auto-compound', 'validator delegation'])) {
|
|
406
|
-
layers.push('capability:solana-staking');
|
|
407
|
-
}
|
|
408
|
-
else if (hasAny(text, ['prediction market', 'binary (yes/no)', 'switchboard oracle', 'scalar', 'categorical'])) {
|
|
409
|
-
layers.push('capability:solana-prediction');
|
|
410
|
-
}
|
|
411
|
-
return layers;
|
|
412
|
-
}
|
|
413
|
-
function buildSolanaProgramVariables(text) {
|
|
414
|
-
if (hasAny(text, ['perpetual', 'futures']))
|
|
415
|
-
return { instructionName: 'InitializePerpMarket' };
|
|
416
|
-
if (hasAny(text, ['concentrated liquidity', 'amm dex', 'swap router']))
|
|
417
|
-
return { instructionName: 'InitializePool' };
|
|
418
|
-
if (hasAny(text, ['nft marketplace', 'compressed nfts']))
|
|
419
|
-
return { instructionName: 'CreateListing' };
|
|
420
|
-
if (hasAny(text, ['launchpad', 'fair launches', 'bonding curve']))
|
|
421
|
-
return { instructionName: 'CreateLaunch' };
|
|
422
|
-
if (hasAny(text, ['staking platform', 'veToken', 'auto-compound']))
|
|
423
|
-
return { instructionName: 'InitializeStakePool' };
|
|
424
|
-
if (hasAny(text, ['prediction market', 'scalar', 'categorical']))
|
|
425
|
-
return { instructionName: 'CreateMarket' };
|
|
426
|
-
return { instructionName: 'InitializeTreasury' };
|
|
427
|
-
}
|
|
428
|
-
function buildWebProject(prompt, partner, text, registry) {
|
|
429
|
-
const isNext = hasAny(text, ['next', 'next.js', 'nextjs', 'app router', 'seo']);
|
|
430
|
-
const family = isNext ? 'nextjs-ts' : 'react-vite-ts';
|
|
431
|
-
const frameworkLayer = isNext ? 'framework:nextjs-app-router' : 'framework:react-vite-ts';
|
|
432
|
-
const layers = [frameworkLayer];
|
|
433
|
-
if (hasAny(text, ['dashboard', 'metrics', 'analytics', 'control plane', 'admin'])) {
|
|
434
|
-
layers.push('capability:chart-widget');
|
|
435
|
-
}
|
|
436
|
-
const slots = {};
|
|
437
|
-
const sdkSlot = detectSdkSlot(text, partner);
|
|
438
|
-
const authSlot = detectAuthSlot(text);
|
|
439
|
-
const paymentsSlot = detectPaymentsSlot(text);
|
|
440
|
-
if (authSlot)
|
|
441
|
-
slots['auth'] = authSlot;
|
|
442
|
-
if (paymentsSlot)
|
|
443
|
-
slots['payments'] = paymentsSlot;
|
|
444
|
-
if (sdkSlot)
|
|
445
|
-
slots['sdk'] = sdkSlot;
|
|
446
|
-
const webCapabilities = registry ? detectCapabilities(text, family, registry) : [];
|
|
447
|
-
if (webCapabilities.length > 0)
|
|
448
|
-
layers.push(...webCapabilities);
|
|
449
|
-
return {
|
|
450
|
-
id: 'web',
|
|
451
|
-
path: 'apps/web',
|
|
452
|
-
spec: {
|
|
453
|
-
projectName: `${buildSlug(prompt, 'workspace')}-web`,
|
|
454
|
-
family,
|
|
455
|
-
layers: [...new Set(layers)],
|
|
456
|
-
partner: resolvePartnerForFamily(partner, family),
|
|
457
|
-
slots,
|
|
458
|
-
variables: {
|
|
459
|
-
headline: 'Ship the primary product surface first',
|
|
460
|
-
subheadline: 'This workspace starts with the user-visible surface before deepening the backend and contract lanes.',
|
|
461
|
-
},
|
|
462
|
-
primaryArtifactTargetMs: 2500,
|
|
463
|
-
},
|
|
464
|
-
};
|
|
465
|
-
}
|
|
466
|
-
function chooseWorkerFamily(text) {
|
|
467
|
-
if (hasAny(text, ['playwright', 'browser automation', 'web scraping', 'scraper', 'crawler'])) {
|
|
468
|
-
return { family: 'playwright-worker', layers: ['framework:playwright-worker'], path: 'apps/worker' };
|
|
469
|
-
}
|
|
470
|
-
if (hasAny(text, ['go worker', 'golang worker', 'go cron', 'go queue', 'go background job'])) {
|
|
471
|
-
return { family: 'go-worker', layers: ['framework:go-worker'], path: 'apps/worker' };
|
|
472
|
-
}
|
|
473
|
-
if (hasAny(text, ['python worker', 'python cron', 'python queue', 'python background job', 'celery', 'python task'])) {
|
|
474
|
-
return { family: 'python-worker', layers: ['framework:python-worker'], path: 'apps/worker' };
|
|
475
|
-
}
|
|
476
|
-
if (detectLane(text, 'agent') && hasAny(text, ['worker', 'background', 'cron', 'queue', 'runner', 'executor'])) {
|
|
477
|
-
return { family: 'worker-job', layers: ['framework:node-worker'], path: 'apps/worker' };
|
|
478
|
-
}
|
|
479
|
-
const layers = ['framework:node-worker'];
|
|
480
|
-
if (hasAny(text, ['trading', 'market', 'feed', 'stream'])) {
|
|
481
|
-
layers.push('capability:market-sim');
|
|
482
|
-
}
|
|
483
|
-
return { family: 'worker-job', layers, path: 'apps/worker' };
|
|
484
|
-
}
|
|
485
|
-
function chooseApiFamily(text) {
|
|
486
|
-
if (detectLane(text, 'x402'))
|
|
487
|
-
return { family: 'x402-service', layers: ['framework:x402-service'], path: 'apps/api' };
|
|
488
|
-
if (detectLane(text, 'mcp'))
|
|
489
|
-
return { family: 'mcp-server-ts', layers: ['framework:mcp-server-ts'], path: 'apps/mcp' };
|
|
490
|
-
if (detectLane(text, 'dspy'))
|
|
491
|
-
return { family: 'dspy-pipeline-py', layers: ['framework:dspy-pipeline-py'], path: 'apps/ai' };
|
|
492
|
-
if (detectLane(text, 'agent'))
|
|
493
|
-
return chooseAgentFamily(text);
|
|
494
|
-
if (detectLane(text, 'zk'))
|
|
495
|
-
return { family: 'zk-prover-service', layers: ['framework:zk-prover-service'], path: 'apps/prover' };
|
|
496
|
-
if (detectLane(text, 'evm-infra'))
|
|
497
|
-
return { family: 'evm-infra-ts', layers: ['framework:evm-infra-ts'], path: 'apps/api' };
|
|
498
|
-
if (hasAny(text, ['cloudflare', 'durable object', 'edge api', 'edge function', 'hono edge'])) {
|
|
499
|
-
return { family: 'cloudflare-worker-ts', layers: ['framework:cloudflare-worker-ts'], path: 'apps/edge' };
|
|
500
|
-
}
|
|
501
|
-
if (hasAny(text, ['rust', 'cargo', 'axum', 'rust api', 'rust backend'])) {
|
|
502
|
-
return { family: 'rust-service', layers: ['framework:rust-http'], path: 'apps/api' };
|
|
503
|
-
}
|
|
504
|
-
if (hasAny(text, ['python', 'fastapi', 'flask', 'django', 'python api'])) {
|
|
505
|
-
return { family: 'python-api', layers: ['framework:python-http'], path: 'apps/api' };
|
|
506
|
-
}
|
|
507
|
-
if (hasAny(text, ['golang', 'go api', 'go backend', 'go service', 'net/http'])) {
|
|
508
|
-
return { family: 'go-api', layers: ['framework:go-net-http'], path: 'apps/api' };
|
|
509
|
-
}
|
|
510
|
-
return { family: 'api-service', layers: ['framework:node-http', 'capability:logging'], path: 'apps/api' };
|
|
511
|
-
}
|
|
512
|
-
function buildApiProject(prompt, partner, text, registry) {
|
|
513
|
-
const choice = chooseApiFamily(text);
|
|
514
|
-
const layers = [...choice.layers];
|
|
515
|
-
const slots = {};
|
|
516
|
-
const databaseSlot = detectDatabaseSlot(text);
|
|
517
|
-
const sdkSlot = detectSdkSlot(text, partner);
|
|
518
|
-
const authSlot = detectAuthSlot(text);
|
|
519
|
-
const paymentsSlot = detectPaymentsSlot(text);
|
|
520
|
-
const queueSlot = detectQueueSlot(text);
|
|
521
|
-
if (databaseSlot)
|
|
522
|
-
slots['database'] = databaseSlot;
|
|
523
|
-
if (authSlot)
|
|
524
|
-
slots['auth'] = authSlot;
|
|
525
|
-
if (paymentsSlot)
|
|
526
|
-
slots['payments'] = paymentsSlot;
|
|
527
|
-
if (queueSlot)
|
|
528
|
-
slots['queue'] = queueSlot;
|
|
529
|
-
if (sdkSlot)
|
|
530
|
-
slots['sdk'] = sdkSlot;
|
|
531
|
-
if ((choice.family === 'api-service' || choice.family === 'evm-infra-ts') && detectEvmSupportApiPattern(text)) {
|
|
532
|
-
layers.push('capability:evm-protocol-api');
|
|
533
|
-
}
|
|
534
|
-
if (choice.family === 'evm-infra-ts') {
|
|
535
|
-
if (hasAny(text, ['block monitor', 'new blocks', 'gas price', 'tps', '/stats'])) {
|
|
536
|
-
layers.push('capability:evm-chain-monitor');
|
|
537
|
-
}
|
|
538
|
-
else if (hasAny(text, ['wallet balance', 'wallet address', 'multicall', 'summary table'])) {
|
|
539
|
-
layers.push('capability:evm-wallet-dashboard');
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
const apiCapabilities = registry ? detectCapabilities(text, choice.family, registry) : [];
|
|
543
|
-
if (apiCapabilities.length > 0)
|
|
544
|
-
layers.push(...apiCapabilities);
|
|
545
|
-
return {
|
|
546
|
-
id: choice.family.startsWith('agent-service-') ? 'agent' : 'api',
|
|
547
|
-
path: choice.path,
|
|
548
|
-
spec: {
|
|
549
|
-
projectName: `${buildSlug(prompt, 'workspace')}-api`,
|
|
550
|
-
family: choice.family,
|
|
551
|
-
layers: [...new Set(layers)],
|
|
552
|
-
partner: resolvePartnerForFamily(partner, choice.family),
|
|
553
|
-
slots,
|
|
554
|
-
variables: choice.variables ?? {},
|
|
555
|
-
primaryArtifactTargetMs: 2500,
|
|
556
|
-
},
|
|
557
|
-
};
|
|
558
|
-
}
|
|
559
|
-
function buildWorkerProject(prompt, partner, text) {
|
|
560
|
-
const choice = chooseWorkerFamily(text);
|
|
561
|
-
const layers = [...choice.layers];
|
|
562
|
-
const slots = {};
|
|
563
|
-
const queueSlot = detectQueueSlot(text);
|
|
564
|
-
if (queueSlot)
|
|
565
|
-
slots['queue'] = queueSlot;
|
|
566
|
-
if (choice.family === 'worker-job' && hasAny(text, ['solana', 'anchor', 'pyth', 'switchboard', 'keeper', 'liquidation'])) {
|
|
567
|
-
layers.push('capability:solana-keeper');
|
|
568
|
-
}
|
|
569
|
-
return {
|
|
570
|
-
id: 'worker',
|
|
571
|
-
path: choice.path,
|
|
572
|
-
spec: {
|
|
573
|
-
projectName: `${buildSlug(prompt, 'workspace')}-worker`,
|
|
574
|
-
family: choice.family,
|
|
575
|
-
layers,
|
|
576
|
-
partner: resolvePartnerForFamily(partner, choice.family),
|
|
577
|
-
slots,
|
|
578
|
-
variables: {
|
|
579
|
-
workerName: partner ? `${partner} worker lane` : 'workspace worker lane',
|
|
580
|
-
},
|
|
581
|
-
primaryArtifactTargetMs: 2500,
|
|
582
|
-
},
|
|
583
|
-
};
|
|
584
|
-
}
|
|
585
|
-
// Single-surface families that never become workspaces
|
|
586
|
-
const SINGLE_LANE_SIGNALS = [
|
|
587
|
-
'expo', 'react native', 'mobile app', 'ios app', 'android app',
|
|
588
|
-
'browser extension', 'chrome extension', 'manifest v3',
|
|
589
|
-
'electron', 'desktop app', 'desktop assistant',
|
|
590
|
-
'command line', 'terminal tool',
|
|
591
|
-
'streamlit', 'gradio', 'data app', 'tauri',
|
|
592
|
-
];
|
|
593
|
-
const FRONTEND_SIGNALS = [
|
|
594
|
-
'frontend', 'ui', 'website', 'landing', 'dashboard', 'web app', 'app',
|
|
595
|
-
'preview', 'next', 'react', 'platform', 'dapp', 'interface', 'portal',
|
|
596
|
-
];
|
|
597
|
-
const API_SIGNALS = [
|
|
598
|
-
'api', 'backend', 'server', 'endpoint', 'service', 'webhook', 'health check',
|
|
599
|
-
'cloudflare', 'durable object', 'edge api', 'edge function', 'payment webhook',
|
|
600
|
-
'server wallet', 'rest api', 'graphql api',
|
|
601
|
-
];
|
|
602
|
-
const FRAMEWORK_API_TERMS = ['composition api', 'options api', 'signals api', 'context api', 'hooks api'];
|
|
603
|
-
const STRONG_API_TERMS = ['backend', 'server', 'endpoint', 'webhook', 'rest api', 'graphql api', 'api service', 'api endpoint', 'health check'];
|
|
604
|
-
const WORKER_SIGNALS = [
|
|
605
|
-
'trading bot', 'background job', 'background worker', 'worker for', 'playwright worker',
|
|
606
|
-
'automation worker', 'go worker', 'golang worker', 'queue', 'cron', 'market stream', 'bot',
|
|
607
|
-
];
|
|
608
|
-
const EXPLICIT_WORKER_SIGNALS = [
|
|
609
|
-
'trading bot', 'background job', 'background worker', 'worker for', 'playwright worker',
|
|
610
|
-
'automation worker', 'go worker', 'golang worker', 'queue', 'cron', 'market stream',
|
|
611
|
-
];
|
|
612
|
-
const FULLSTACK_SIGNALS = [
|
|
613
|
-
'fullstack', 'full stack', 'dashboard with api', 'app with api', 'admin app', 'admin panel',
|
|
614
|
-
'database-backed', 'dashboard and api', 'admin flows', 'saas', 'saas app', 'saas platform',
|
|
615
|
-
'internal tool', 'back office', 'crud app',
|
|
616
|
-
];
|
|
617
|
-
const WORKSPACE_SIGNALS = [
|
|
618
|
-
'workspace', 'monorepo', 'separate backend', 'separate api',
|
|
619
|
-
'background worker', 'contract lane', 'contract lanes',
|
|
620
|
-
];
|
|
4
|
+
import { detectCapabilities, detectIndustry, detectLane, hasAny } from './keywords.js';
|
|
5
|
+
import { rewritePrompt, rewriteViaBrief } from './prompt-rewriter.js';
|
|
6
|
+
import { API_SIGNALS, EXPLICIT_WORKER_SIGNALS, FRAMEWORK_API_TERMS, FRONTEND_SIGNALS, FULLSTACK_SIGNALS, REACT_FAMILIES, SINGLE_LANE_SIGNALS, STRONG_API_TERMS, WORKER_SIGNALS, WORKSPACE_SIGNALS, } from './planner/signals.js';
|
|
7
|
+
import { detectAuthSlot, detectDatabaseSlot, detectEvmSupportApiPattern, detectHardhatExplicit, detectPaymentsSlot, detectQueueSlot, detectSdkSlot, detectSolanaProductApiPattern, detectSolanaWorkerPattern, detectTangleCustodyPattern, detectTangleOraclePattern, inferPartner, needsSupportApiLane, } from './planner/detectors.js';
|
|
8
|
+
import { buildEvmContractLayers, buildEvmContractVariables, buildSolanaProgramLayers, buildSolanaProgramVariables, } from './planner/contracts.js';
|
|
9
|
+
import { buildSlug, resolvePartnerForFamily } from './planner/helpers.js';
|
|
10
|
+
import { inferImplicitCapabilities } from './planner/implicit-caps.js';
|
|
11
|
+
import { shouldPromotePartnerFirst } from './planner/partner-first.js';
|
|
12
|
+
import { buildApiProject, buildWebProject, buildWorkerProject, chooseApiFamily } from './planner/projects.js';
|
|
621
13
|
function detectLanes(text, partner) {
|
|
622
14
|
const hasApiRaw = hasAny(text, API_SIGNALS);
|
|
623
15
|
const apiIsFalsePositive = hasApiRaw && !hasAny(text, STRONG_API_TERMS) && hasAny(text, FRAMEWORK_API_TERMS);
|
|
@@ -746,8 +138,32 @@ function collectServiceProjects(lanes, prompt, partner, text, registry) {
|
|
|
746
138
|
projects.push({ id: 'api', path: 'apps/api', spec: { projectName: `${buildSlug(prompt, 'workspace')}-api`, family: 'x402-service', layers: ['framework:x402-service'], partner: resolvePartnerForFamily(partner, 'x402-service'), slots: {}, variables: {}, primaryArtifactTargetMs: 2500 } });
|
|
747
139
|
}
|
|
748
140
|
if (lanes.zk && !lanes.api) {
|
|
749
|
-
|
|
750
|
-
|
|
141
|
+
// Dispatch to the specific zkVM family when the prompt names one; fall
|
|
142
|
+
// back to the generic zk-prover-service for unspecific "zk prover" /
|
|
143
|
+
// "verifiable ml" / "dark pool" / "mixer" / "private voting" prompts.
|
|
144
|
+
// Mirrors the single-starter routing path so workspace composition is
|
|
145
|
+
// consistent with single-family selection.
|
|
146
|
+
let zkFamily = 'zk-prover-service';
|
|
147
|
+
let zkFramework = 'framework:zk-prover-service';
|
|
148
|
+
const zkVars = {};
|
|
149
|
+
if (text.includes('risc zero') || text.includes('risc0') || text.includes('risczero') || text.includes('bonsai')) {
|
|
150
|
+
zkFamily = 'risczero-zkvm';
|
|
151
|
+
zkFramework = 'framework:risczero-zkvm';
|
|
152
|
+
}
|
|
153
|
+
else if (text.includes('sp1') || text.includes('succinct')) {
|
|
154
|
+
zkFamily = 'sp1-zkvm';
|
|
155
|
+
zkFramework = 'framework:sp1-zkvm';
|
|
156
|
+
}
|
|
157
|
+
else if (text.includes('arkworks') || text.includes('hand-rolled r1cs') || text.includes('custom snark circuit')) {
|
|
158
|
+
zkFamily = 'arkworks-prover';
|
|
159
|
+
zkFramework = 'framework:arkworks-prover';
|
|
160
|
+
}
|
|
161
|
+
else {
|
|
162
|
+
// Generic fallback — keep the pre-existing proof-system slot logic so
|
|
163
|
+
// the generic scaffold composes with a proofSystem hint.
|
|
164
|
+
zkVars.proofSystem = text.includes('circom') ? 'circom' : text.includes('fhenix') ? 'fhenix' : 'sp1';
|
|
165
|
+
}
|
|
166
|
+
projects.push(buildProtocolProject('zk', 'apps/prover', zkFamily, [zkFramework], prompt, null, zkVars));
|
|
751
167
|
}
|
|
752
168
|
if (lanes.agent && !projects.some((p) => p.id === 'agent')) {
|
|
753
169
|
projects.push(buildApiProject(prompt, partner, text, registry));
|
|
@@ -789,7 +205,47 @@ function buildWorkspacePromptPlan({ prompt, partner, text, registry, }) {
|
|
|
789
205
|
},
|
|
790
206
|
};
|
|
791
207
|
}
|
|
792
|
-
export async function planPrompt({ prompt, partner = null, forceKind = null, familyHint = null, }) {
|
|
208
|
+
export async function planPrompt({ prompt, partner = null, forceKind = null, familyHint = null, rewriter = false, brief = false, }) {
|
|
209
|
+
if (brief) {
|
|
210
|
+
const preCheck = await selectStarter({ prompt, partner });
|
|
211
|
+
if (preCheck.confidence !== 'high' || preCheck.fallbackUsed) {
|
|
212
|
+
const registry = await loadRegistry();
|
|
213
|
+
const knownFamilies = [...registry.families.keys()];
|
|
214
|
+
const knownCapabilities = [];
|
|
215
|
+
for (const [key] of registry.layers) {
|
|
216
|
+
if (key.startsWith('capability:'))
|
|
217
|
+
knownCapabilities.push(key);
|
|
218
|
+
}
|
|
219
|
+
const briefResult = await rewriteViaBrief({ prompt, partner, knownFamilies, knownCapabilities });
|
|
220
|
+
if (briefResult) {
|
|
221
|
+
const plan = await planPrompt({
|
|
222
|
+
prompt: briefResult.canonicalPrompt,
|
|
223
|
+
partner,
|
|
224
|
+
forceKind,
|
|
225
|
+
familyHint,
|
|
226
|
+
rewriter: false,
|
|
227
|
+
brief: false,
|
|
228
|
+
});
|
|
229
|
+
return { ...plan, brief: briefResult.brief };
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
if (rewriter) {
|
|
234
|
+
const preCheck = await selectStarter({ prompt, partner });
|
|
235
|
+
if (preCheck.confidence !== 'high' || preCheck.fallbackUsed) {
|
|
236
|
+
const registry = await loadRegistry();
|
|
237
|
+
const knownFamilies = [...registry.families.keys()];
|
|
238
|
+
const knownCapabilities = [];
|
|
239
|
+
for (const [key] of registry.layers) {
|
|
240
|
+
if (key.startsWith('capability:'))
|
|
241
|
+
knownCapabilities.push(key);
|
|
242
|
+
}
|
|
243
|
+
const rewrite = await rewritePrompt({ prompt, partner, knownFamilies, knownCapabilities });
|
|
244
|
+
if (rewrite) {
|
|
245
|
+
return planPrompt({ prompt: rewrite.canonicalPrompt, partner, forceKind, familyHint, rewriter: false });
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
793
249
|
const { result: plan, durationMs } = await traced('planPrompt', async () => {
|
|
794
250
|
const text = prompt.toLowerCase();
|
|
795
251
|
const effectivePartner = partner ?? inferPartner(text);
|
|
@@ -801,6 +257,81 @@ export async function planPrompt({ prompt, partner = null, forceKind = null, fam
|
|
|
801
257
|
return workspacePlan;
|
|
802
258
|
}
|
|
803
259
|
}
|
|
260
|
+
// Partner-first routing. When the workspace check did NOT fire and the
|
|
261
|
+
// buildout trace carries an EXPLICIT partnerGuess (e.g. `tangle-network`,
|
|
262
|
+
// `polymarket-prediction`, `coinbase-smart-wallet`, `deno`) that aligns
|
|
263
|
+
// with a registry family via tags / keywords / id tokens, promote the
|
|
264
|
+
// prompt to a single-project workspace wrapping the partner-aligned
|
|
265
|
+
// family. This absorbs demand from newly-promoted domain-specific
|
|
266
|
+
// families (polymarket-portfolio-hedging, kyc-onboarding,
|
|
267
|
+
// fraud-ops-console, tangle-blueprint, deno-edge, …) that otherwise
|
|
268
|
+
// disappear into generic workspace composition.
|
|
269
|
+
//
|
|
270
|
+
// Narrowing — MUST preserve routing_stability:
|
|
271
|
+
// (1) Only fires on an explicit caller-supplied `partner`. The soft
|
|
272
|
+
// `inferPartner(text)` heuristic is too eager — it tags `'tangle'`
|
|
273
|
+
// on any prompt containing "tangle", which breaks coverage tests
|
|
274
|
+
// that expect starter-mode routing for bare protocol prompts.
|
|
275
|
+
// (2) Only fires when the workspace planner already declined, so the
|
|
276
|
+
// 28 currently-routed workspace scenarios are never touched.
|
|
277
|
+
// (3) forceKind === 'starter' callers (scaffold-builder with a
|
|
278
|
+
// curated family) bypass this branch.
|
|
279
|
+
const PARTNER_FIRST_SURFACES = new Set([
|
|
280
|
+
'frontend', 'api', 'agent-service', 'fullstack', 'blueprint',
|
|
281
|
+
]);
|
|
282
|
+
if (forceKind !== 'starter' && partner) {
|
|
283
|
+
const partnerMatch = shouldPromotePartnerFirst(partner, registry);
|
|
284
|
+
if (partnerMatch && PARTNER_FIRST_SURFACES.has(partnerMatch.surface)) {
|
|
285
|
+
const fwLayers = [];
|
|
286
|
+
for (const [key, layer] of registry.layers) {
|
|
287
|
+
if (layer.group === 'framework' && layer.appliesTo?.includes(partnerMatch.familyId)) {
|
|
288
|
+
fwLayers.push(key);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
const slug = buildSlug(prompt, 'workspace');
|
|
292
|
+
// Surface → project id + path. Mirrors how buildWebProject /
|
|
293
|
+
// buildApiProject name their outputs so downstream artifact selectors
|
|
294
|
+
// (primaryArtifact.kind, path) remain consistent.
|
|
295
|
+
const surfaceConfig = {
|
|
296
|
+
frontend: { id: 'web', path: 'apps/web', artifactKind: 'preview', artifactPath: '/' },
|
|
297
|
+
fullstack: { id: 'web', path: 'apps/web', artifactKind: 'preview', artifactPath: '/' },
|
|
298
|
+
api: { id: 'api', path: 'apps/api', artifactKind: 'service', artifactPath: '/health' },
|
|
299
|
+
'agent-service': { id: 'agent', path: 'apps/agent', artifactKind: 'service', artifactPath: '/health' },
|
|
300
|
+
blueprint: { id: 'blueprint', path: 'protocols/tangle', artifactKind: 'service', artifactPath: '/health' },
|
|
301
|
+
};
|
|
302
|
+
const cfg = surfaceConfig[partnerMatch.surface] ?? surfaceConfig.frontend;
|
|
303
|
+
const wrapped = {
|
|
304
|
+
kind: 'workspace',
|
|
305
|
+
confidence: 'medium',
|
|
306
|
+
reasons: [`partner-first → ${partnerMatch.familyId} (aligned to ${partner})`],
|
|
307
|
+
spec: {
|
|
308
|
+
workspaceName: `${slug}-workspace`,
|
|
309
|
+
userPrompt: prompt,
|
|
310
|
+
launchPlan: {
|
|
311
|
+
primaryProjectId: cfg.id,
|
|
312
|
+
primaryArtifact: { kind: cfg.artifactKind, path: cfg.artifactPath, targetMs: 2500 },
|
|
313
|
+
initialAgentMission: "Build the user's prompt on top of this partner-aligned scaffold. The starter was chosen because the partner has a dedicated family in the registry — lead with the domain-specific surfaces.",
|
|
314
|
+
},
|
|
315
|
+
projects: [
|
|
316
|
+
{
|
|
317
|
+
id: cfg.id,
|
|
318
|
+
path: cfg.path,
|
|
319
|
+
spec: {
|
|
320
|
+
projectName: `${slug}-${cfg.id}`,
|
|
321
|
+
family: partnerMatch.familyId,
|
|
322
|
+
layers: fwLayers,
|
|
323
|
+
partner: resolvePartnerForFamily(partner, partnerMatch.familyId),
|
|
324
|
+
slots: {},
|
|
325
|
+
variables: {},
|
|
326
|
+
primaryArtifactTargetMs: 2500,
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
],
|
|
330
|
+
},
|
|
331
|
+
};
|
|
332
|
+
return wrapped;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
804
335
|
// Use family hint if provided (scaffold-builder knows the family)
|
|
805
336
|
let starterSelection;
|
|
806
337
|
if (familyHint && registry.families.has(familyHint)) {
|
|
@@ -826,10 +357,95 @@ export async function planPrompt({ prompt, partner = null, forceKind = null, fam
|
|
|
826
357
|
}
|
|
827
358
|
else {
|
|
828
359
|
starterSelection = await selectStarter({ prompt, partner: effectivePartner });
|
|
360
|
+
// Specialty-family override: selectStarter's tiered keyword score sometimes
|
|
361
|
+
// lets a generic sibling (python-api, expo-react-native-ts, tauri-desktop,
|
|
362
|
+
// agent-service-ts, fullstack-ts) beat a more specialized family that the
|
|
363
|
+
// prompt clearly demands. When the prompt carries unambiguous phrases, we
|
|
364
|
+
// pick the specialty family directly.
|
|
365
|
+
const specialtyRules = [
|
|
366
|
+
{ family: 'expo-rn-rich', phrases: ['skia', 'reanimated', 'rich animations mobile', 'expo skia', 'expo reanimated', 'react native skia'] },
|
|
367
|
+
{ family: 'tauri-tray', phrases: ['tauri system tray', 'system tray daemon', 'tray icon only', 'tray menu daemon'] },
|
|
368
|
+
{ family: 'tauri-menubar', phrases: ['macos menubar', 'menu bar app', 'raycast-like', 'floating panel app'] },
|
|
369
|
+
{ family: 'electron-native-os', phrases: ['electron native os', 'deep links desktop', 'native os integration', 'auto updater electron'] },
|
|
370
|
+
{ family: 'voice-first-agent', phrases: ['voice-first conversational', 'voice first agent', 'browser mic agent', 'push to talk agent'] },
|
|
371
|
+
{ family: 'vision-first-agent', phrases: ['camera agent', 'vision-first agent', 'visual qa agent'] },
|
|
372
|
+
{ family: 'multimodal-agent', phrases: ['multimodal agent', 'text image audio agent', 'gpt-4o client app'] },
|
|
373
|
+
{ family: 'webgpu-inference', phrases: ['webgpu browser compute', 'webgpu inference', 'wgsl matmul', 'wgsl compute'] },
|
|
374
|
+
{ family: 'webgpu-render', phrases: ['raw webgpu', 'wgsl graphics', 'wgsl vertex', 'webgpu triangle'] },
|
|
375
|
+
{ family: 'bevy-web', phrases: ['bevy web game', 'bevy wasm', 'rust web game'] },
|
|
376
|
+
{ family: 'godot-web', phrases: ['godot 4 web', 'godot html5', 'godot web game'] },
|
|
377
|
+
{ family: 'unity-web-proxy', phrases: ['unity webgl export', 'unity web build'] },
|
|
378
|
+
{ family: 'livekit-sfu', phrases: ['livekit sfu', 'self-hosted livekit', 'selective forwarding unit'] },
|
|
379
|
+
{ family: 'hls-origin', phrases: ['hls origin', 'hls live streaming', 'rtmp ingest'] },
|
|
380
|
+
{ family: 'realtime-audio-ts', phrases: ['realtime audio visualiz', 'webaudio analyser', 'peer audio'] },
|
|
381
|
+
{ family: 'hipaa-compliance-pack', phrases: ['hipaa compliance pack', 'hipaa-compliant compliance pack', 'phi audit trail and baa', 'baa template'] },
|
|
382
|
+
{ family: 'soc2-compliance-pack', phrases: ['soc 2 type ii compliance pack', 'soc 2 compliance pack', 'soc2 compliance pack', 'change management and incident response'] },
|
|
383
|
+
{ family: 'pci-dss-compliance-pack', phrases: ['pci-dss 4.0 compliance pack', 'pci dss compliance pack', 'pan redaction and stripe tokenization', 'pci compliance pack'] },
|
|
384
|
+
{ family: 'gdpr-compliance-pack', phrases: ['gdpr compliance pack', 'gdpr-compliant consent management', 'data subject rights endpoint'] },
|
|
385
|
+
{ family: 'healthcare-hipaa-backend', phrases: ['hipaa-compliant', 'phi audit log', 'healthcare backend'] },
|
|
386
|
+
{ family: 'fintech-ledger-backend', phrases: ['double-entry ledger', 'double entry ledger', 'debits and credits'] },
|
|
387
|
+
{ family: 'legal-case-mgmt', phrases: ['legal case management', 'matter management', 'attorney timekeeping'] },
|
|
388
|
+
{ family: 'k12-edtech', phrases: ['k-12 edtech', 'k12 edtech', 'ferpa'] },
|
|
389
|
+
{ family: 'crm-backend', phrases: ['sales crm', 'deals pipeline', 'sales pipeline'] },
|
|
390
|
+
{ family: 'ecommerce-headless', phrases: ['headless commerce', 'ecommerce backend', 'cart checkout'] },
|
|
391
|
+
{ family: 'aptos-move', phrases: ['aptos move', 'aptos_framework', 'aptos framework'] },
|
|
392
|
+
{ family: 'celestia-da', phrases: ['celestia', 'data availability node', 'celestia blob'] },
|
|
393
|
+
{ family: 'ollama-server', phrases: ['ollama local', 'ollama server', 'gguf'] },
|
|
394
|
+
{ family: 'sglang-server', phrases: ['sglang', 'radix attention'] },
|
|
395
|
+
{ family: 'tgi-server', phrases: ['text generation inference', 'huggingface tgi'] },
|
|
396
|
+
{ family: 'triton-server', phrases: ['nvidia triton', 'triton inference'] },
|
|
397
|
+
{ family: 'skypilot-serving', phrases: ['skypilot', 'sky serve'] },
|
|
398
|
+
{ family: 'lora-training', phrases: ['lora fine-tun', 'qlora', 'lora training'] },
|
|
399
|
+
{ family: 'streamlit-advanced', phrases: ['multipage streamlit', 'streamlit multipage', 'production streamlit'] },
|
|
400
|
+
{ family: 'jupyter-book', phrases: ['jupyter book', 'jupyterbook', 'executable book'] },
|
|
401
|
+
{ family: 'observable-notebook', phrases: ['observable framework', 'observablehq', 'observable notebook'] },
|
|
402
|
+
{ family: 'eleventy-static', phrases: ['eleventy', '11ty'] },
|
|
403
|
+
{ family: 'hugo-static', phrases: ['hugo static', 'hugo site', 'hugo blog'] },
|
|
404
|
+
{ family: 'zola-static', phrases: ['zola static', 'zola site', 'tera template'] },
|
|
405
|
+
{ family: 'astro-static', phrases: ['astro static', 'astro islands'] },
|
|
406
|
+
{ family: 'threejs-game', phrases: ['three.js', 'threejs', 'webgl 3d scene'] },
|
|
407
|
+
{ family: 'phaser-game', phrases: ['phaser 3', '2d arcade game'] },
|
|
408
|
+
{ family: 'pixijs-game', phrases: ['pixi.js v8', 'pixijs', '2d webgpu'] },
|
|
409
|
+
{ family: 'flutter-app', phrases: ['flutter app', 'flutter dart', 'material design flutter', 'cupertino flutter'] },
|
|
410
|
+
{ family: 'kotlin-multiplatform', phrases: ['kotlin multiplatform', 'compose multiplatform', 'kmp kotlin', 'expect-actual'] },
|
|
411
|
+
{ family: 'esp32-rust', phrases: ['esp32 rust', 'esp-idf-svc', 'xtensa rust', 'espressif rust'] },
|
|
412
|
+
{ family: 'stm32-rust', phrases: ['stm32 rust', 'embassy stm32', 'stm32 embassy', 'stm32 bare metal'] },
|
|
413
|
+
{ family: 'ros2-node-py', phrases: ['ros2 rclpy', 'ros2 python node', 'rclpy publisher', 'ros2 node python'] },
|
|
414
|
+
];
|
|
415
|
+
const lower = prompt.toLowerCase();
|
|
416
|
+
for (const rule of specialtyRules) {
|
|
417
|
+
if (starterSelection.spec.family === rule.family)
|
|
418
|
+
break;
|
|
419
|
+
if (!registry.families.has(rule.family))
|
|
420
|
+
continue;
|
|
421
|
+
if (rule.phrases.some((p) => lower.includes(p))) {
|
|
422
|
+
const fwLayers = [];
|
|
423
|
+
for (const [key, layer] of registry.layers) {
|
|
424
|
+
if (layer.group === 'framework' && layer.appliesTo?.includes(rule.family))
|
|
425
|
+
fwLayers.push(key);
|
|
426
|
+
}
|
|
427
|
+
starterSelection = {
|
|
428
|
+
confidence: 'high',
|
|
429
|
+
spec: {
|
|
430
|
+
...starterSelection.spec,
|
|
431
|
+
family: rule.family,
|
|
432
|
+
layers: fwLayers,
|
|
433
|
+
},
|
|
434
|
+
fallbackUsed: false,
|
|
435
|
+
reasons: [`specialty override → ${rule.family}`],
|
|
436
|
+
};
|
|
437
|
+
break;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
829
440
|
}
|
|
830
441
|
const family = registry.families.get(starterSelection.spec.family);
|
|
831
442
|
const spec = {
|
|
832
443
|
...starterSelection.spec,
|
|
444
|
+
// Scrub partner if it's incompatible with the selected family — otherwise
|
|
445
|
+
// composeStarter throws at compose time, after the caller has already
|
|
446
|
+
// allocated a workspace and shown the user a "preparing" UI (blueprint-
|
|
447
|
+
// agent bug report #3).
|
|
448
|
+
partner: resolvePartnerForFamily(starterSelection.spec.partner ?? effectivePartner, starterSelection.spec.family),
|
|
833
449
|
projectName: buildSlug(prompt, starterSelection.spec.projectName),
|
|
834
450
|
primaryArtifactTargetMs: 2500,
|
|
835
451
|
userPrompt: prompt,
|
|
@@ -861,10 +477,7 @@ export async function planPrompt({ prompt, partner = null, forceKind = null, fam
|
|
|
861
477
|
// Frontend families default to tailwind + shadcn so the layout layers and
|
|
862
478
|
// any UI components composed downstream actually render with styles.
|
|
863
479
|
// Without these, components ship Tailwind class names against an unconfigured
|
|
864
|
-
// Tailwind install — the visual result is unstyled HTML.
|
|
865
|
-
// means callers don't need to know which families are React-flavored or what
|
|
866
|
-
// their UI deps are.
|
|
867
|
-
const REACT_FAMILIES = new Set(['react-vite-ts', 'nextjs-ts', 'fullstack-ts', 'remix-ts']);
|
|
480
|
+
// Tailwind install — the visual result is unstyled HTML.
|
|
868
481
|
if (REACT_FAMILIES.has(spec.family)) {
|
|
869
482
|
const layerSet = new Set(spec.layers ?? []);
|
|
870
483
|
if (!layerSet.has('capability:tailwind')) {
|
|
@@ -874,6 +487,15 @@ export async function planPrompt({ prompt, partner = null, forceKind = null, fam
|
|
|
874
487
|
spec.layers = [...(spec.layers ?? []), 'capability:shadcn'];
|
|
875
488
|
}
|
|
876
489
|
}
|
|
490
|
+
// Archetype-based implicit capability inference. Runs last so it can see
|
|
491
|
+
// everything already attached and avoid double-adding. For web-producing
|
|
492
|
+
// families this attaches the SaaS UI trio (layout-dashboard + chart +
|
|
493
|
+
// ai-chat-ui) or the chat archetype (layout-chat + ai-chat-ui) based on
|
|
494
|
+
// the product shape in the prompt.
|
|
495
|
+
const implicitCaps = inferImplicitCapabilities(text, spec.family, new Set(spec.layers ?? []));
|
|
496
|
+
if (implicitCaps.length > 0) {
|
|
497
|
+
spec.layers = [...new Set([...(spec.layers ?? []), ...implicitCaps])];
|
|
498
|
+
}
|
|
877
499
|
return {
|
|
878
500
|
kind: 'starter',
|
|
879
501
|
confidence: starterSelection.confidence,
|