@tangle-network/starter-foundry 0.5.4 → 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 +28 -5
- package/corpus/held-out-validation.json +1 -1
- package/corpus/model-rates.json +56 -0
- package/dist/cli.js +7 -4
- 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/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 +25 -0
- package/dist/lib/build-plan.js +67 -1
- package/dist/lib/build-plan.js.map +1 -1
- package/dist/lib/buildout-traces.d.ts +70 -1
- package/dist/lib/buildout-traces.js +66 -0
- package/dist/lib/buildout-traces.js.map +1 -1
- 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 +5 -4
- 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/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 +14 -0
- package/dist/lib/keywords.js.map +1 -1
- package/dist/lib/llm.d.ts +7 -2
- package/dist/lib/llm.js +137 -8
- package/dist/lib/llm.js.map +1 -1
- package/dist/lib/planner/contracts.d.ts +2 -1
- package/dist/lib/planner/detectors.js +26 -0
- package/dist/lib/planner/detectors.js.map +1 -1
- package/dist/lib/planner/helpers.js +157 -0
- package/dist/lib/planner/helpers.js.map +1 -1
- package/dist/lib/planner/implicit-caps.js +63 -1
- package/dist/lib/planner/implicit-caps.js.map +1 -1
- 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 +2 -2
- package/dist/lib/planner/projects.js +452 -2
- package/dist/lib/planner/projects.js.map +1 -1
- package/dist/lib/planner/signals.d.ts +7 -0
- package/dist/lib/planner/signals.js +203 -1
- package/dist/lib/planner/signals.js.map +1 -1
- 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/prompt-planner.js +187 -2
- package/dist/lib/prompt-planner.js.map +1 -1
- package/dist/lib/prompt-rewriter.d.ts +4 -3
- package/dist/lib/prompt-rewriter.js +11 -0
- package/dist/lib/prompt-rewriter.js.map +1 -1
- 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 +56 -1
- 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 -0
- 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 +2 -1
- 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/flow.d.ts +9 -14
- package/dist/training/variant_b/run-flow.d.ts +2 -1
- 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 +119 -0
- package/package.json +57 -18
- 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 +3 -3
- 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 +10 -2
- 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 +10 -2
- 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 +11 -3
- 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/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 +10 -2
- 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 +10 -2
- 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 +15 -7
- 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 +7 -7
- package/registry/families/react-vite-ts/manifest.json +31 -0
- 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 +7 -7
- 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/tauri-desktop/files/package.json +6 -6
- 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/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-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 +4 -15
- package/registry/layers/framework/fraud-ops-console/manifest.json +8 -0
- 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/lib.rs +29 -15
- 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 +16 -10
- 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
|
@@ -0,0 +1,664 @@
|
|
|
1
|
+
// family_proposer/propose.ts — given a target family id + taxonomy +
|
|
2
|
+
// rough description, reads N peer families (closest by taxonomy),
|
|
3
|
+
// asks the LLM to synthesize a full manifest + the listed template
|
|
4
|
+
// files, writes them into .evolve/family-proposals/<id>/ for review.
|
|
5
|
+
//
|
|
6
|
+
// The scaffolded proposal is NOT auto-promoted. A human runs
|
|
7
|
+
// `pnpm promote:family-proposal <id>` to merge it into registry/.
|
|
8
|
+
//
|
|
9
|
+
// When a router key is present, the LLM drafts fresh manifests +
|
|
10
|
+
// real template bodies. Without a key, we fall back to the existing
|
|
11
|
+
// `scripts/new-family.mjs` skeleton (deterministic TODO stubs).
|
|
12
|
+
import { readFileSync, existsSync, readdirSync, writeFileSync, mkdirSync, statSync } from 'node:fs';
|
|
13
|
+
import { dirname, join, resolve } from 'node:path';
|
|
14
|
+
import { fileURLToPath } from 'node:url';
|
|
15
|
+
import { ax } from '@ax-llm/ax';
|
|
16
|
+
import { runProposeReview, inMemoryReviewStore, } from '@tangle-network/agent-eval';
|
|
17
|
+
import { createLLM, isLLMAvailable } from '../../lib/llm.js';
|
|
18
|
+
const REPO = resolve(dirname(fileURLToPath(import.meta.url)), '..', '..', '..');
|
|
19
|
+
const PROPOSALS_DIR = join(REPO, '.evolve/family-proposals');
|
|
20
|
+
function taxonomyDistance(a, b) {
|
|
21
|
+
let dist = 0;
|
|
22
|
+
if (a.language !== b['language'])
|
|
23
|
+
dist += 1;
|
|
24
|
+
if (a.runtime !== b['runtime'])
|
|
25
|
+
dist += 1;
|
|
26
|
+
if (a.surface !== b['surface'])
|
|
27
|
+
dist += 1;
|
|
28
|
+
return dist;
|
|
29
|
+
}
|
|
30
|
+
function loadPeerSummaries(targetTaxonomy, limit) {
|
|
31
|
+
const familiesRoot = join(REPO, 'registry/families');
|
|
32
|
+
const rows = [];
|
|
33
|
+
for (const id of readdirSync(familiesRoot)) {
|
|
34
|
+
if (id.startsWith('_') || id.startsWith('.'))
|
|
35
|
+
continue;
|
|
36
|
+
const manifestPath = join(familiesRoot, id, 'manifest.json');
|
|
37
|
+
if (!existsSync(manifestPath))
|
|
38
|
+
continue;
|
|
39
|
+
try {
|
|
40
|
+
const m = JSON.parse(readFileSync(manifestPath, 'utf8'));
|
|
41
|
+
rows.push({
|
|
42
|
+
id: m.id,
|
|
43
|
+
description: m.description ?? '',
|
|
44
|
+
tags: m.tags ?? [],
|
|
45
|
+
taxonomy: m.taxonomy ?? {},
|
|
46
|
+
keywordsTier1: m.tieredKeywords?.tier1 ?? [],
|
|
47
|
+
firstSteps: m.buildHints?.firstSteps ?? [],
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
catch {
|
|
51
|
+
/* skip malformed */
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return rows
|
|
55
|
+
.map((r) => ({ r, d: taxonomyDistance(targetTaxonomy, r.taxonomy) }))
|
|
56
|
+
.sort((a, b) => a.d - b.d)
|
|
57
|
+
.slice(0, limit)
|
|
58
|
+
.map(({ r }) => r);
|
|
59
|
+
}
|
|
60
|
+
// Ask the LLM for primitive fields we assemble into the manifest.
|
|
61
|
+
// Strict signature shape prevents the free-form JSON mistakes the LLM
|
|
62
|
+
// made when we asked for `manifestJson:string` — it invented its own
|
|
63
|
+
// schema (family_id, family_name, etc.) instead of ours.
|
|
64
|
+
const hintsAuthor = ax('familyId:string, familyDescription:string, taxonomyLanguage:string, taxonomyRuntime:string, taxonomySurface:string, productCues:string, peerFamiliesSummary:string -> whenToUse:string, firstSteps:string[], gotchas:string[], architectureNotes:string[], keywordsTier1:string[], keywordsTier2:string[], primaryEntrypoint:string, packageDepsCsv:string, reasoning:string');
|
|
65
|
+
// R3: file author now takes refinementHints so the RLM reviewer's
|
|
66
|
+
// nextShotInstruction reaches the file-body generation, not just the
|
|
67
|
+
// manifest hints. Without this, fileAuthor produced byte-identical
|
|
68
|
+
// package.json across shots no matter what guidance was given.
|
|
69
|
+
const fileAuthor = ax('familyId:string, familyDescription:string, taxonomyLanguage:string, taxonomyRuntime:string, taxonomySurface:string, filePath:string, fileRole:string, peerFamiliesSummary:string, refinementHints:string[] -> fileBody:string');
|
|
70
|
+
function slotForFile(filePath, runtime, surface) {
|
|
71
|
+
// R3: prescriptive slots — include exact schema requirements (keys, scripts,
|
|
72
|
+
// imports) so the fileAuthor LLM doesn't default to its canned boilerplate
|
|
73
|
+
// (jest + tsc + node src/index.ts). Without this, the file author ignores
|
|
74
|
+
// refinementHints and regenerates the same package.json every shot.
|
|
75
|
+
if (filePath === 'package.json') {
|
|
76
|
+
if (surface === 'frontend') {
|
|
77
|
+
return 'Vite+React package manifest with EXACTLY these scripts: {"dev":"vite","build":"tsc --noEmit && vite build","preview":"vite preview","test":"vitest run"}. Dependencies: react, react-dom. DevDependencies: @types/react, @types/react-dom, @vitejs/plugin-react, typescript ^5, vite, vitest. NO jest, NO start script, NO TypeScript 4.x. Set "type": "module" and "private": true.';
|
|
78
|
+
}
|
|
79
|
+
if (surface === 'api' || surface === 'agent') {
|
|
80
|
+
return 'Node/TS API package manifest with scripts: {"dev":"tsx watch src/index.ts","build":"tsc","start":"node dist/index.js","test":"vitest run"}. DevDependencies: tsx, typescript ^5, vitest, @types/node. Set "type":"module" and "private":true.';
|
|
81
|
+
}
|
|
82
|
+
if (surface === 'cli') {
|
|
83
|
+
return 'Node/TS CLI package manifest with {"dev":"tsx src/cli.ts","build":"tsc","test":"vitest run"} and a "bin" field pointing at dist/cli.js. DevDependencies: tsx, typescript ^5, vitest.';
|
|
84
|
+
}
|
|
85
|
+
if (surface === 'tooling') {
|
|
86
|
+
return 'TS tooling package manifest: {"dev":"tsx src/runner.ts","test":"vitest run","build":"tsc"}. DevDependencies: tsx, vitest, typescript ^5.';
|
|
87
|
+
}
|
|
88
|
+
return 'package manifest with "dev" + "build" + "test" scripts and pinned TypeScript ^5 (NOT ^4.x).';
|
|
89
|
+
}
|
|
90
|
+
if (filePath === 'tsconfig.json')
|
|
91
|
+
return 'strict TS5 config: target es2022, module esnext, moduleResolution bundler, jsx react-jsx (if frontend), strict true, noEmit true, skipLibCheck true, lib ["es2022","dom","dom.iterable"].';
|
|
92
|
+
if (filePath === 'vite.config.ts')
|
|
93
|
+
return 'Vite config importing @vitejs/plugin-react, with defineConfig({ plugins: [react()], server: { port: 5173 } }).';
|
|
94
|
+
if (filePath === 'index.html')
|
|
95
|
+
return 'HTML5 shell: <!doctype html>, <div id="root"></div>, <script type="module" src="/src/main.tsx">, responsive viewport meta.';
|
|
96
|
+
if (filePath === 'src/main.ts' || filePath === 'src/main.tsx') {
|
|
97
|
+
if (surface === 'frontend')
|
|
98
|
+
return 'React entrypoint: import React, ReactDOM; createRoot(document.getElementById("root")).render(<App />). MUST NOT import node:http or createServer — this is browser code.';
|
|
99
|
+
return `main entrypoint for the ${runtime} starter`;
|
|
100
|
+
}
|
|
101
|
+
if (filePath === 'src/App.tsx')
|
|
102
|
+
return 'React App component — functional component with useState for app-local state, renders a simple UI surfacing the family\'s domain.';
|
|
103
|
+
if (filePath === 'src/index.ts') {
|
|
104
|
+
if (surface === 'api')
|
|
105
|
+
return 'HTTP server entrypoint using Hono or native Node http, /health endpoint returning 200.';
|
|
106
|
+
if (surface === 'agent')
|
|
107
|
+
return 'Agent entrypoint: import agent loop, wire tools, start chat step runner.';
|
|
108
|
+
return `main entrypoint for the ${runtime} starter`;
|
|
109
|
+
}
|
|
110
|
+
if (filePath === 'src/cli.ts')
|
|
111
|
+
return 'commander-based CLI entrypoint with --help surface';
|
|
112
|
+
if (filePath === 'src/agent.ts')
|
|
113
|
+
return 'agent loop entrypoint — tool registry + chat step function';
|
|
114
|
+
if (filePath === 'src/runner.ts')
|
|
115
|
+
return 'batch runner that iterates scenarios/ + writes results';
|
|
116
|
+
if (filePath === 'scenarios/example.ts')
|
|
117
|
+
return 'example scenario file the harness picks up';
|
|
118
|
+
if (filePath === 'judges/example.ts')
|
|
119
|
+
return 'example rubric judge returning {score, rationale}';
|
|
120
|
+
if (filePath === '.env.example')
|
|
121
|
+
return 'Environment variables the app reads. List every var with a short comment. Never include real secrets. Frontend vars use VITE_ prefix.';
|
|
122
|
+
if (filePath === 'docker-compose.yml')
|
|
123
|
+
return 'docker compose with the primary service + volume';
|
|
124
|
+
if (filePath === 'requirements.txt')
|
|
125
|
+
return 'Python deps pinned to current major versions';
|
|
126
|
+
if (filePath === 'pyproject.toml')
|
|
127
|
+
return 'Python package metadata + deps';
|
|
128
|
+
if (filePath === 'Cargo.toml')
|
|
129
|
+
return 'Rust crate manifest with pinned deps + binary target';
|
|
130
|
+
if (filePath === 'src/main.rs')
|
|
131
|
+
return 'Rust binary entrypoint — tokio::main + startup wiring';
|
|
132
|
+
if (filePath === 'src/lib.rs')
|
|
133
|
+
return 'Rust library entrypoint — public module re-exports';
|
|
134
|
+
if (filePath === 'go.mod')
|
|
135
|
+
return 'Go module declaration with Go version + deps';
|
|
136
|
+
if (filePath === 'main.go')
|
|
137
|
+
return 'Go binary entrypoint with main() and top-level wiring';
|
|
138
|
+
if (filePath.endsWith('.mjs'))
|
|
139
|
+
return 'Node validator asserting key files + deps structure';
|
|
140
|
+
if (filePath === 'README.md')
|
|
141
|
+
return 'Project README with THESE exact section headers in order: "## Quickstart" (npm/pnpm install + dev command), "## Environment" (list every VITE_ / env var from .env.example with a one-line description + where to obtain the value), "## Architecture" (what src/main and src/App do, what deps are used for), "## Extension Points" (the 2-3 files an agent will most likely edit when building on this starter). Write as if the reader is a staff engineer who has never seen the domain — explain every non-obvious design choice. No marketing fluff, no emojis.';
|
|
142
|
+
return `${filePath} — agent-extensible entry file`;
|
|
143
|
+
}
|
|
144
|
+
function filesForTaxonomy(taxonomy) {
|
|
145
|
+
const lang = taxonomy.language;
|
|
146
|
+
const runtime = taxonomy.runtime;
|
|
147
|
+
const surface = taxonomy.surface;
|
|
148
|
+
const validator = `validate-${runtime}.mjs`;
|
|
149
|
+
const toFiles = (paths) => paths.map((p) => ({ path: p, role: slotForFile(p, runtime, surface) }));
|
|
150
|
+
// TypeScript / Node / Bun / Deno / CF-Worker permutations
|
|
151
|
+
if (lang === 'typescript' || lang === 'javascript') {
|
|
152
|
+
if (surface === 'frontend') {
|
|
153
|
+
return toFiles(['package.json', 'tsconfig.json', 'vite.config.ts', 'index.html', 'src/main.tsx', 'src/App.tsx', '.env.example', 'README.md', validator]);
|
|
154
|
+
}
|
|
155
|
+
if (surface === 'api' || surface === 'inference') {
|
|
156
|
+
return toFiles(['package.json', 'tsconfig.json', 'src/index.ts', '.env.example', 'README.md', validator]);
|
|
157
|
+
}
|
|
158
|
+
if (surface === 'cli') {
|
|
159
|
+
return toFiles(['package.json', 'tsconfig.json', 'src/cli.ts', 'src/index.ts', 'README.md', validator]);
|
|
160
|
+
}
|
|
161
|
+
if (surface === 'agent') {
|
|
162
|
+
return toFiles(['package.json', 'tsconfig.json', 'src/agent.ts', 'src/index.ts', '.env.example', 'README.md', validator]);
|
|
163
|
+
}
|
|
164
|
+
if (surface === 'tooling') {
|
|
165
|
+
// Eval/test-harness-shaped project: scenarios + judges + runner + validator.
|
|
166
|
+
return toFiles(['package.json', 'tsconfig.json', 'src/runner.ts', 'scenarios/example.ts', 'judges/example.ts', 'README.md', validator]);
|
|
167
|
+
}
|
|
168
|
+
// Unknown TS surface: still give a real scaffold, not a bare README.
|
|
169
|
+
return toFiles(['package.json', 'tsconfig.json', 'src/index.ts', 'README.md', validator]);
|
|
170
|
+
}
|
|
171
|
+
// Python permutations
|
|
172
|
+
if (lang === 'python') {
|
|
173
|
+
if (surface === 'api') {
|
|
174
|
+
return toFiles(['pyproject.toml', 'requirements.txt', 'src/main.py', '.env.example', 'README.md', validator]);
|
|
175
|
+
}
|
|
176
|
+
if (surface === 'cli') {
|
|
177
|
+
return toFiles(['pyproject.toml', 'requirements.txt', 'src/cli.py', 'README.md', validator]);
|
|
178
|
+
}
|
|
179
|
+
if (surface === 'agent') {
|
|
180
|
+
return toFiles(['pyproject.toml', 'requirements.txt', 'src/agent.py', 'src/main.py', 'README.md', validator]);
|
|
181
|
+
}
|
|
182
|
+
// Default python surface
|
|
183
|
+
return toFiles(['pyproject.toml', 'requirements.txt', 'src/main.py', '.env.example', 'README.md', validator]);
|
|
184
|
+
}
|
|
185
|
+
// Rust permutations
|
|
186
|
+
if (lang === 'rust') {
|
|
187
|
+
if (surface === 'api') {
|
|
188
|
+
return toFiles(['Cargo.toml', 'src/main.rs', 'README.md', validator]);
|
|
189
|
+
}
|
|
190
|
+
if (surface === 'cli') {
|
|
191
|
+
return toFiles(['Cargo.toml', 'src/main.rs', 'src/lib.rs', 'README.md', validator]);
|
|
192
|
+
}
|
|
193
|
+
return toFiles(['Cargo.toml', 'src/main.rs', 'README.md', validator]);
|
|
194
|
+
}
|
|
195
|
+
// Go permutations
|
|
196
|
+
if (lang === 'go') {
|
|
197
|
+
if (surface === 'cli') {
|
|
198
|
+
return toFiles(['go.mod', 'main.go', 'README.md', validator]);
|
|
199
|
+
}
|
|
200
|
+
return toFiles(['go.mod', 'main.go', 'README.md', validator]);
|
|
201
|
+
}
|
|
202
|
+
// Unknown language — at least give README + validator so the scaffold compiles.
|
|
203
|
+
return toFiles(['README.md', validator]);
|
|
204
|
+
}
|
|
205
|
+
async function proposeViaLLM(input, peers) {
|
|
206
|
+
if (!isLLMAvailable())
|
|
207
|
+
return null;
|
|
208
|
+
const llm = createLLM();
|
|
209
|
+
const peerSummary = peers
|
|
210
|
+
.map((p) => `- ${p.id} (${p.taxonomy['language'] ?? '?'}/${p.taxonomy['runtime'] ?? '?'}/${p.taxonomy['surface'] ?? '?'}): ${p.description}`)
|
|
211
|
+
.join('\n');
|
|
212
|
+
const cues = (input.productCues ?? []).join('\n- ') || '(none)';
|
|
213
|
+
try {
|
|
214
|
+
const hints = (await hintsAuthor.forward(llm, {
|
|
215
|
+
familyId: input.id,
|
|
216
|
+
familyDescription: input.description,
|
|
217
|
+
taxonomyLanguage: input.taxonomy.language,
|
|
218
|
+
taxonomyRuntime: input.taxonomy.runtime,
|
|
219
|
+
taxonomySurface: input.taxonomy.surface,
|
|
220
|
+
productCues: cues,
|
|
221
|
+
peerFamiliesSummary: peerSummary,
|
|
222
|
+
}));
|
|
223
|
+
const wantedFiles = filesForTaxonomy(input.taxonomy);
|
|
224
|
+
const templateFiles = [];
|
|
225
|
+
// Extract reviewer directives from productCues for the file generator.
|
|
226
|
+
// The RLM wrapper prefixes its directives with "REVIEWER DIRECTIVE" so
|
|
227
|
+
// they're distinguishable from plain product cues. Ax rejects empty
|
|
228
|
+
// string[] inputs as missing — use ['(no refinements yet)'] as the
|
|
229
|
+
// shot-1 sentinel so the field is always populated.
|
|
230
|
+
const directives = (input.productCues ?? []).filter((c) => /REVIEWER DIRECTIVE|REFINEMENT GUIDANCE|prior fidelity rejection/i.test(c));
|
|
231
|
+
const refinementHints = directives.length > 0
|
|
232
|
+
? directives
|
|
233
|
+
: ['(shot 1 — no prior reviewer directives)'];
|
|
234
|
+
for (const f of wantedFiles) {
|
|
235
|
+
try {
|
|
236
|
+
const body = (await fileAuthor.forward(llm, {
|
|
237
|
+
familyId: input.id,
|
|
238
|
+
familyDescription: input.description,
|
|
239
|
+
taxonomyLanguage: input.taxonomy.language,
|
|
240
|
+
taxonomyRuntime: input.taxonomy.runtime,
|
|
241
|
+
taxonomySurface: input.taxonomy.surface,
|
|
242
|
+
filePath: f.path,
|
|
243
|
+
fileRole: f.role,
|
|
244
|
+
peerFamiliesSummary: peerSummary,
|
|
245
|
+
refinementHints,
|
|
246
|
+
}));
|
|
247
|
+
if (body.fileBody && body.fileBody.length > 10) {
|
|
248
|
+
templateFiles.push({ path: f.path, body: body.fileBody });
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
catch (err) {
|
|
252
|
+
console.error(`[propose] file ${f.path} LLM call failed:`, err.message);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
const deps = {};
|
|
256
|
+
for (const pair of (hints.packageDepsCsv ?? '').split(',')) {
|
|
257
|
+
const [name, version] = pair.split('@');
|
|
258
|
+
if (name && version && /^[@\w./-]+$/.test(name.trim())) {
|
|
259
|
+
deps[name.trim()] = version.trim();
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
const manifest = {
|
|
263
|
+
id: input.id,
|
|
264
|
+
description: input.description.length >= 20 ? input.description : `${input.description} — ${input.taxonomy.runtime} ${input.taxonomy.surface} starter`,
|
|
265
|
+
tags: [input.taxonomy.runtime, input.taxonomy.surface, input.taxonomy.language],
|
|
266
|
+
taxonomy: input.taxonomy,
|
|
267
|
+
defaults: { projectType: input.taxonomy.surface, serviceName: `starter-foundry-${input.id}` },
|
|
268
|
+
files: templateFiles.map((f) => ({ source: `files/${f.path}`, target: f.path })),
|
|
269
|
+
validationChecks: [
|
|
270
|
+
...templateFiles.slice(0, 3).map((f) => ({ type: 'file-exists', path: f.path })),
|
|
271
|
+
],
|
|
272
|
+
contextHints: {
|
|
273
|
+
commands: (hints.firstSteps ?? []).slice(0, 3).filter((s) => /^\w.{0,60}$/.test(s)),
|
|
274
|
+
entrypoints: hints.primaryEntrypoint ? [hints.primaryEntrypoint] : [],
|
|
275
|
+
preview: null,
|
|
276
|
+
extensionPoints: [],
|
|
277
|
+
},
|
|
278
|
+
keywords: [...(hints.keywordsTier1 ?? []), ...(hints.keywordsTier2 ?? [])],
|
|
279
|
+
tieredKeywords: {
|
|
280
|
+
tier1: hints.keywordsTier1 ?? [input.id],
|
|
281
|
+
tier2: hints.keywordsTier2 ?? [],
|
|
282
|
+
},
|
|
283
|
+
buildHints: {
|
|
284
|
+
whenToUse: hints.whenToUse ?? input.description,
|
|
285
|
+
firstSteps: hints.firstSteps ?? [],
|
|
286
|
+
gotchas: hints.gotchas ?? [],
|
|
287
|
+
architectureNotes: hints.architectureNotes ?? [],
|
|
288
|
+
placeholders: hints.primaryEntrypoint
|
|
289
|
+
? [{ path: hints.primaryEntrypoint, description: `Primary entrypoint agents must extend.` }]
|
|
290
|
+
: [],
|
|
291
|
+
},
|
|
292
|
+
...(Object.keys(deps).length > 0 ? { packageDeps: { dependencies: deps } } : {}),
|
|
293
|
+
};
|
|
294
|
+
const frameworkManifest = {
|
|
295
|
+
id: input.id,
|
|
296
|
+
description: `${input.taxonomy.runtime} framework layer for ${input.id}.`,
|
|
297
|
+
appliesTo: [input.id],
|
|
298
|
+
files: [],
|
|
299
|
+
};
|
|
300
|
+
return {
|
|
301
|
+
id: input.id,
|
|
302
|
+
proposalDir: join(PROPOSALS_DIR, input.id),
|
|
303
|
+
manifest,
|
|
304
|
+
frameworkManifest,
|
|
305
|
+
templateFiles,
|
|
306
|
+
peerFamilies: peers.map((p) => p.id),
|
|
307
|
+
mode: 'llm',
|
|
308
|
+
reasoning: hints.reasoning ?? '',
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
catch (err) {
|
|
312
|
+
console.error(`[propose] LLM call failed: ${err.message}`);
|
|
313
|
+
return null;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
function proposeDeterministic(input, peers) {
|
|
317
|
+
const manifest = {
|
|
318
|
+
id: input.id,
|
|
319
|
+
description: input.description.length >= 20 ? input.description : `${input.description} — starter (regenerate before shipping)`,
|
|
320
|
+
tags: [input.taxonomy.runtime, input.taxonomy.surface, input.taxonomy.language],
|
|
321
|
+
taxonomy: input.taxonomy,
|
|
322
|
+
defaults: { projectType: input.taxonomy.surface, serviceName: `starter-foundry-${input.id}` },
|
|
323
|
+
files: [],
|
|
324
|
+
validationChecks: [],
|
|
325
|
+
contextHints: { commands: [], entrypoints: [], preview: null, extensionPoints: [] },
|
|
326
|
+
keywords: [input.id],
|
|
327
|
+
tieredKeywords: { tier1: [input.id], tier2: [] },
|
|
328
|
+
buildHints: {
|
|
329
|
+
whenToUse: `TODO: describe when a prompt should route to ${input.id}. Derive from peer families: ${peers.slice(0, 3).map((p) => p.id).join(', ')}.`,
|
|
330
|
+
firstSteps: ['TODO: install command', 'TODO: dev-server command', 'TODO: entrypoint an agent should extend'],
|
|
331
|
+
gotchas: ['TODO: one non-obvious trap specific to this runtime'],
|
|
332
|
+
placeholders: [{ path: 'TODO/entrypoint.xyz', description: 'TODO: primary file agents must replace.' }],
|
|
333
|
+
},
|
|
334
|
+
};
|
|
335
|
+
const frameworkManifest = {
|
|
336
|
+
id: input.id,
|
|
337
|
+
description: `Framework layer for ${input.id}.`,
|
|
338
|
+
appliesTo: [input.id],
|
|
339
|
+
files: [],
|
|
340
|
+
};
|
|
341
|
+
return {
|
|
342
|
+
id: input.id,
|
|
343
|
+
proposalDir: join(PROPOSALS_DIR, input.id),
|
|
344
|
+
manifest,
|
|
345
|
+
frameworkManifest,
|
|
346
|
+
templateFiles: [],
|
|
347
|
+
peerFamilies: peers.map((p) => p.id),
|
|
348
|
+
mode: 'deterministic',
|
|
349
|
+
reasoning: 'No router key available — emitting TODO skeleton; human fills in template files + buildHints.',
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
export async function proposeFamily(input) {
|
|
353
|
+
const peers = loadPeerSummaries(input.taxonomy, 5);
|
|
354
|
+
const llmProposal = await proposeViaLLM(input, peers);
|
|
355
|
+
const proposal = llmProposal ?? proposeDeterministic(input, peers);
|
|
356
|
+
mkdirSync(proposal.proposalDir, { recursive: true });
|
|
357
|
+
writeFileSync(join(proposal.proposalDir, 'manifest.json'), JSON.stringify(proposal.manifest, null, 2) + '\n');
|
|
358
|
+
writeFileSync(join(proposal.proposalDir, 'framework.manifest.json'), JSON.stringify(proposal.frameworkManifest, null, 2) + '\n');
|
|
359
|
+
writeFileSync(join(proposal.proposalDir, '.meta.json'), JSON.stringify({
|
|
360
|
+
id: proposal.id,
|
|
361
|
+
peerFamilies: proposal.peerFamilies,
|
|
362
|
+
mode: proposal.mode,
|
|
363
|
+
reasoning: proposal.reasoning,
|
|
364
|
+
generatedAt: new Date().toISOString(),
|
|
365
|
+
}, null, 2) + '\n');
|
|
366
|
+
for (const f of proposal.templateFiles) {
|
|
367
|
+
const abs = join(proposal.proposalDir, 'files', f.path);
|
|
368
|
+
mkdirSync(dirname(abs), { recursive: true });
|
|
369
|
+
writeFileSync(abs, f.body);
|
|
370
|
+
}
|
|
371
|
+
// Ensure the proposal dir stays visible in git even if templateFiles is empty.
|
|
372
|
+
const filesDir = join(proposal.proposalDir, 'files');
|
|
373
|
+
mkdirSync(filesDir, { recursive: true });
|
|
374
|
+
const stat = statSync(filesDir);
|
|
375
|
+
if (stat.isDirectory()) {
|
|
376
|
+
const keep = join(filesDir, '.gitkeep');
|
|
377
|
+
if (!existsSync(keep))
|
|
378
|
+
writeFileSync(keep, '');
|
|
379
|
+
}
|
|
380
|
+
return proposal;
|
|
381
|
+
}
|
|
382
|
+
const proposalReviewer = ax('"Direct the next shot of a registry-family proposer. You do NOT grade — the verifier already flagged the failures. Read the draft summary + failures + prior shots, identify the root cause (missing tier1 keywords? weak description? TODO bodies? wrong taxonomy fields?), and emit a concrete, actionable instruction for the next shot. Do not restate the failures. Direct the worker to fix them in order of blast radius." goal:string, currentDraftSummary:string, verificationFailures:string[], priorShotsMemory:string -> observations:string, diagnosis:string, nextShotInstruction:string, shouldContinue:boolean, confidence:number');
|
|
383
|
+
/**
|
|
384
|
+
* R3: read past `event: 'fidelity-fail'` entries from the generation-impact
|
|
385
|
+
* log for this id and synthesize ReviewMemoryEntry records the RLM reviewer
|
|
386
|
+
* can see as "prior shots." This is the cheap cross-session learning path —
|
|
387
|
+
* the proposer sees what the downstream fidelity judge rejected before and
|
|
388
|
+
* avoids repeating it, without any extra LLM calls per shot.
|
|
389
|
+
*
|
|
390
|
+
* Returns [] when the log is missing, malformed, or has no matching events.
|
|
391
|
+
*/
|
|
392
|
+
function loadPriorFidelityEntries(id) {
|
|
393
|
+
try {
|
|
394
|
+
const logPath = join(REPO, '.evolve/generation-impact.jsonl');
|
|
395
|
+
const raw = readFileSync(logPath, 'utf8');
|
|
396
|
+
const lines = raw.split('\n').filter(Boolean);
|
|
397
|
+
const entries = [];
|
|
398
|
+
let shotCounter = 0;
|
|
399
|
+
for (const line of lines) {
|
|
400
|
+
let ev = {};
|
|
401
|
+
try {
|
|
402
|
+
ev = JSON.parse(line);
|
|
403
|
+
}
|
|
404
|
+
catch {
|
|
405
|
+
continue;
|
|
406
|
+
}
|
|
407
|
+
if (ev.event !== 'fidelity-fail')
|
|
408
|
+
continue;
|
|
409
|
+
if (String(ev.id) !== id)
|
|
410
|
+
continue;
|
|
411
|
+
const ts = Date.parse(ev.ts ?? '') || Date.now();
|
|
412
|
+
const topIssue = ev.topIssue ?? 'fidelity judge rejected this scaffold in a prior session';
|
|
413
|
+
shotCounter += 1;
|
|
414
|
+
entries.push({
|
|
415
|
+
shot: shotCounter,
|
|
416
|
+
timestamp: ts,
|
|
417
|
+
observations: `Prior session: fidelity judge returned verdict=${ev.verdict ?? 'fail'}, overall=${(ev.overall ?? 0).toFixed(2)}.`,
|
|
418
|
+
diagnosis: 'Previous proposer attempt was rejected downstream by the scaffold-fidelity judge.',
|
|
419
|
+
nextShotInstruction: `Prior fidelity rejection: "${topIssue}". Do NOT repeat this defect in the new draft — explicitly address it by adjusting file bodies (e.g., add the missing script, add .env.example, fix taxonomy/implementation mismatch).`,
|
|
420
|
+
shouldContinue: true,
|
|
421
|
+
confidence: 0.5,
|
|
422
|
+
verification: { pass: false, score: ev.overall ?? 0, failingLayers: [topIssue] },
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
return entries.slice(-3); // at most 3 prior sessions to keep the memory scan cheap
|
|
426
|
+
}
|
|
427
|
+
catch {
|
|
428
|
+
return [];
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
function validateDraftForRLM(state, id, taxonomy) {
|
|
432
|
+
const errors = [];
|
|
433
|
+
const m = state.manifest;
|
|
434
|
+
if (!m)
|
|
435
|
+
return ['manifest is null'];
|
|
436
|
+
if (m['id'] !== id)
|
|
437
|
+
errors.push(`manifest.id=${String(m['id'])} but expected ${id}`);
|
|
438
|
+
const desc = typeof m['description'] === 'string' ? m['description'] : '';
|
|
439
|
+
if (!desc || desc.length < 20)
|
|
440
|
+
errors.push('description missing or <20 chars');
|
|
441
|
+
if (!m['taxonomy'])
|
|
442
|
+
errors.push('missing taxonomy');
|
|
443
|
+
const serialized = JSON.stringify(m);
|
|
444
|
+
if (serialized.includes('TODO:') || serialized.includes('TODO ')) {
|
|
445
|
+
errors.push('TODO placeholders present — proposer emitted a skeleton');
|
|
446
|
+
}
|
|
447
|
+
const tier1 = m['tieredKeywords']?.['tier1'];
|
|
448
|
+
if (!Array.isArray(tier1) || tier1.length < 3)
|
|
449
|
+
errors.push('tieredKeywords.tier1 must have ≥3 entries');
|
|
450
|
+
// R3: tier1 must be domain-specific, not taxonomy restatements. The LLM
|
|
451
|
+
// loves emitting "TypeScript/Node.js/Frontend" which absorbs generic
|
|
452
|
+
// prompts. Reject tier1 overlap with taxonomy tags.
|
|
453
|
+
const taxonomyTerms = new Set([taxonomy?.language, taxonomy?.runtime, taxonomy?.surface]
|
|
454
|
+
.filter((s) => typeof s === 'string' && s.length > 0)
|
|
455
|
+
.flatMap((s) => [s.toLowerCase(), s.toLowerCase().replace(/[^a-z]/g, '')]));
|
|
456
|
+
const tier1Lower = Array.isArray(tier1) ? tier1.map((k) => String(k).toLowerCase()) : [];
|
|
457
|
+
const tier1TaxonomyOverlap = tier1Lower.filter((k) => taxonomyTerms.has(k) || taxonomyTerms.has(k.replace(/[^a-z]/g, '')));
|
|
458
|
+
if (tier1TaxonomyOverlap.length > 0) {
|
|
459
|
+
errors.push(`tier1 keywords must be domain-specific, not taxonomy restatements — found ${tier1TaxonomyOverlap.join(', ')} (these are already in tags)`);
|
|
460
|
+
}
|
|
461
|
+
if (state.templateFiles.length === 0)
|
|
462
|
+
errors.push('no template files generated — proposer produced no file bodies');
|
|
463
|
+
for (const f of state.templateFiles) {
|
|
464
|
+
if (typeof f.body !== 'string' || f.body.length < 20) {
|
|
465
|
+
errors.push(`file ${f.path} body <20 chars (stub)`);
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
// R3: structural fidelity checks derived from R2 judge patterns. These
|
|
469
|
+
// catch the common Goodhart-failures (build-passes-but-not-useful) before
|
|
470
|
+
// the build gate + fidelity judge ever run.
|
|
471
|
+
const byPath = Object.fromEntries(state.templateFiles.map((f) => [f.path, f.body]));
|
|
472
|
+
const surface = taxonomy?.surface;
|
|
473
|
+
const language = taxonomy?.language;
|
|
474
|
+
const pkg = byPath['package.json'];
|
|
475
|
+
if (pkg && (language === 'typescript' || language === 'javascript')) {
|
|
476
|
+
try {
|
|
477
|
+
const parsed = JSON.parse(pkg);
|
|
478
|
+
const scripts = parsed.scripts ?? {};
|
|
479
|
+
if (surface === 'frontend' && !scripts['dev']) {
|
|
480
|
+
errors.push('package.json missing "dev" script — frontend scaffold must expose a dev server command (e.g. "vite")');
|
|
481
|
+
}
|
|
482
|
+
const allDeps = { ...(parsed.dependencies ?? {}), ...(parsed.devDependencies ?? {}) };
|
|
483
|
+
const tsVersion = allDeps['typescript'];
|
|
484
|
+
if (tsVersion && /^\^?4\./.test(tsVersion)) {
|
|
485
|
+
errors.push(`typescript pinned to ${tsVersion} — use TypeScript 5.x for new scaffolds`);
|
|
486
|
+
}
|
|
487
|
+
if (surface === 'frontend') {
|
|
488
|
+
// A frontend scaffold should either depend on a UI framework or be a
|
|
489
|
+
// static HTML surface. Node-only deps signal a shape mismatch.
|
|
490
|
+
const uiDeps = ['react', 'vue', 'svelte', 'solid-js', 'preact', '@angular/core', 'astro'];
|
|
491
|
+
const hasUiDep = uiDeps.some((d) => d in allDeps);
|
|
492
|
+
const hasHtml = 'index.html' in byPath;
|
|
493
|
+
if (!hasUiDep && !hasHtml) {
|
|
494
|
+
errors.push('frontend surface but no UI framework dep and no index.html — shape mismatch with taxonomy');
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
catch {
|
|
499
|
+
errors.push('package.json is not valid JSON');
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
// Env-var documentation: frontend/api/agent surfaces should ship either
|
|
503
|
+
// .env.example or mention env vars in README. The R2 judge flagged
|
|
504
|
+
// "no environment variables documented" on every shallow draft.
|
|
505
|
+
if (surface === 'frontend' || surface === 'api' || surface === 'agent') {
|
|
506
|
+
const hasEnv = '.env.example' in byPath;
|
|
507
|
+
const readme = byPath['README.md'] ?? '';
|
|
508
|
+
const readmeMentionsEnv = /env(ironment)?|\.env|import\.meta\.env|process\.env/.test(readme);
|
|
509
|
+
if (!hasEnv && !readmeMentionsEnv) {
|
|
510
|
+
errors.push(`${surface} surface should document env vars — add .env.example or an "Environment" section to README.md`);
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
// Frontend mainfile shape: if surface=frontend and language=typescript/javascript,
|
|
514
|
+
// src/main.ts|tsx shouldn't import node-only modules like 'http'. That was
|
|
515
|
+
// the R2 smoking gun — description said frontend, main.ts shipped Node HTTP.
|
|
516
|
+
if (surface === 'frontend' && (language === 'typescript' || language === 'javascript')) {
|
|
517
|
+
for (const p of ['src/main.ts', 'src/main.tsx', 'src/index.ts', 'src/index.tsx']) {
|
|
518
|
+
const body = byPath[p];
|
|
519
|
+
if (!body)
|
|
520
|
+
continue;
|
|
521
|
+
if (/\bfrom\s+['"]http['"]/.test(body) || /require\(['"]http['"]\)/.test(body) || /createServer/.test(body)) {
|
|
522
|
+
errors.push(`${p} imports node:http / createServer — frontend surface must not ship a Node HTTP server in the UI entrypoint`);
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
const fm = state.frameworkManifest;
|
|
527
|
+
if (fm) {
|
|
528
|
+
const applies = fm['appliesTo'];
|
|
529
|
+
if (!Array.isArray(applies) || !applies.includes(id)) {
|
|
530
|
+
errors.push('frameworkManifest.appliesTo must include family id');
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
return errors;
|
|
534
|
+
}
|
|
535
|
+
export async function proposeFamilyWithRLM(input, opts = {}) {
|
|
536
|
+
if (!isLLMAvailable())
|
|
537
|
+
return null;
|
|
538
|
+
const peers = loadPeerSummaries(input.taxonomy, 5);
|
|
539
|
+
const llm = createLLM();
|
|
540
|
+
const maxShots = opts.maxShots ?? 3;
|
|
541
|
+
const propose = async ({ priorReview }) => {
|
|
542
|
+
const cues = priorReview?.nextShotInstruction
|
|
543
|
+
? [...(input.productCues ?? []), `REVIEWER DIRECTIVE (shot refinement): ${priorReview.nextShotInstruction}`]
|
|
544
|
+
: (input.productCues ?? []);
|
|
545
|
+
const p = await proposeViaLLM({ ...input, productCues: cues }, peers);
|
|
546
|
+
if (!p) {
|
|
547
|
+
// Proposer failed entirely — return empty state so the verifier flags it.
|
|
548
|
+
return { state: { manifest: null, frameworkManifest: null, templateFiles: [], reasoning: '(proposer returned null)' } };
|
|
549
|
+
}
|
|
550
|
+
return {
|
|
551
|
+
state: {
|
|
552
|
+
manifest: p.manifest,
|
|
553
|
+
frameworkManifest: p.frameworkManifest,
|
|
554
|
+
templateFiles: p.templateFiles,
|
|
555
|
+
reasoning: p.reasoning,
|
|
556
|
+
},
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
const verify = async (state) => {
|
|
560
|
+
const errors = validateDraftForRLM(state, input.id, input.taxonomy);
|
|
561
|
+
const pass = errors.length === 0;
|
|
562
|
+
const score = pass ? 1 : Math.max(0, 1 - errors.length / 10);
|
|
563
|
+
const result = { pass, score, failingLayers: errors.slice(0, 5), details: errors };
|
|
564
|
+
return result;
|
|
565
|
+
};
|
|
566
|
+
const review = async ({ state, verification, memory, shot, goal }) => {
|
|
567
|
+
const failures = verification.details ?? [];
|
|
568
|
+
const priorMem = memory
|
|
569
|
+
.map((m) => `shot ${m.shot} conf=${m.confidence.toFixed(2)} instr="${m.nextShotInstruction.slice(0, 200)}"`)
|
|
570
|
+
.join('\n') || '(none)';
|
|
571
|
+
const tier1 = state.manifest?.['tieredKeywords']?.['tier1'];
|
|
572
|
+
const tier1Len = Array.isArray(tier1) ? tier1.length : 0;
|
|
573
|
+
const desc = typeof state.manifest?.['description'] === 'string' ? state.manifest['description'] : '';
|
|
574
|
+
const summary = `id=${String(state.manifest?.['id'])} desc="${desc.slice(0, 120)}" files=${state.templateFiles.length} tier1=${tier1Len}`;
|
|
575
|
+
const raw = (await proposalReviewer.forward(llm, {
|
|
576
|
+
goal,
|
|
577
|
+
currentDraftSummary: summary,
|
|
578
|
+
verificationFailures: failures,
|
|
579
|
+
priorShotsMemory: priorMem,
|
|
580
|
+
}));
|
|
581
|
+
// Coerce minimally — agent-eval's coerceReview will re-validate.
|
|
582
|
+
// Override: if verification failed AND we have budget, the answer is
|
|
583
|
+
// always "keep trying." The reviewer's role is to DIRECT the next shot,
|
|
584
|
+
// not to decide whether the goal is achievable — that's the verifier's
|
|
585
|
+
// concern. R3 caught the LLM reviewer giving up at shot 1 because the
|
|
586
|
+
// draft "looked OK" despite the verifier flagging missing dev scripts.
|
|
587
|
+
const hasBudget = shot < maxShots;
|
|
588
|
+
const shouldContinue = failures.length > 0 && hasBudget
|
|
589
|
+
? true
|
|
590
|
+
: typeof raw.shouldContinue === 'boolean' ? raw.shouldContinue : hasBudget;
|
|
591
|
+
return {
|
|
592
|
+
observations: String(raw.observations ?? `shot ${shot} produced ${failures.length} verification failures`),
|
|
593
|
+
diagnosis: String(raw.diagnosis ?? 'reviewer returned no diagnosis'),
|
|
594
|
+
nextShotInstruction: String(raw.nextShotInstruction ?? 'fix the verification failures in priority order'),
|
|
595
|
+
shouldContinue,
|
|
596
|
+
confidence: Number.isFinite(raw.confidence) ? Number(raw.confidence) : 0.5,
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
// R3: pre-seed reviewer memory with past fidelity-fail events for this id.
|
|
600
|
+
// Gives shot 1 the benefit of what the downstream fidelity judge flagged in
|
|
601
|
+
// prior sessions — the proposer stops repeating the same failure.
|
|
602
|
+
const priorFidelityEntries = loadPriorFidelityEntries(input.id);
|
|
603
|
+
const initialState = { manifest: null, frameworkManifest: null, templateFiles: [], reasoning: '' };
|
|
604
|
+
const report = await runProposeReview({
|
|
605
|
+
goal: `Generate a complete, promotable family registry entry for ${input.id}: ${input.description}`,
|
|
606
|
+
initialState,
|
|
607
|
+
propose,
|
|
608
|
+
verify,
|
|
609
|
+
review,
|
|
610
|
+
memory: inMemoryReviewStore(priorFidelityEntries),
|
|
611
|
+
maxShots,
|
|
612
|
+
scenarioId: 'family-proposer',
|
|
613
|
+
projectId: input.id,
|
|
614
|
+
});
|
|
615
|
+
const final = report.finalState;
|
|
616
|
+
if (!final.manifest) {
|
|
617
|
+
console.error(`[propose-rlm] ${input.id}: all ${report.shots.length} shots produced no manifest`);
|
|
618
|
+
return null;
|
|
619
|
+
}
|
|
620
|
+
return {
|
|
621
|
+
id: input.id,
|
|
622
|
+
proposalDir: join(PROPOSALS_DIR, input.id),
|
|
623
|
+
manifest: final.manifest,
|
|
624
|
+
frameworkManifest: final.frameworkManifest,
|
|
625
|
+
templateFiles: final.templateFiles,
|
|
626
|
+
peerFamilies: peers.map((p) => p.id),
|
|
627
|
+
mode: 'llm',
|
|
628
|
+
reasoning: `RLM ${report.shots.length} shot(s), verification pass=${report.finalVerification.pass}, score=${report.score.toFixed(2)}. ${final.reasoning}`,
|
|
629
|
+
};
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* Same disk-write semantics as proposeFamily, but drives the RLM loop.
|
|
633
|
+
* Writes .meta.json with shot telemetry for debuggability.
|
|
634
|
+
*/
|
|
635
|
+
export async function proposeFamilyWithRLMToDisk(input, opts = {}) {
|
|
636
|
+
const rlmProposal = await proposeFamilyWithRLM(input, opts);
|
|
637
|
+
const peers = loadPeerSummaries(input.taxonomy, 5);
|
|
638
|
+
const proposal = rlmProposal ?? proposeDeterministic(input, peers);
|
|
639
|
+
mkdirSync(proposal.proposalDir, { recursive: true });
|
|
640
|
+
writeFileSync(join(proposal.proposalDir, 'manifest.json'), JSON.stringify(proposal.manifest, null, 2) + '\n');
|
|
641
|
+
writeFileSync(join(proposal.proposalDir, 'framework.manifest.json'), JSON.stringify(proposal.frameworkManifest, null, 2) + '\n');
|
|
642
|
+
writeFileSync(join(proposal.proposalDir, '.meta.json'), JSON.stringify({
|
|
643
|
+
id: proposal.id,
|
|
644
|
+
peerFamilies: proposal.peerFamilies,
|
|
645
|
+
mode: proposal.mode === 'llm' ? 'llm-rlm' : proposal.mode,
|
|
646
|
+
reasoning: proposal.reasoning,
|
|
647
|
+
generatedAt: new Date().toISOString(),
|
|
648
|
+
}, null, 2) + '\n');
|
|
649
|
+
for (const f of proposal.templateFiles) {
|
|
650
|
+
const abs = join(proposal.proposalDir, 'files', f.path);
|
|
651
|
+
mkdirSync(dirname(abs), { recursive: true });
|
|
652
|
+
writeFileSync(abs, f.body);
|
|
653
|
+
}
|
|
654
|
+
const filesDir = join(proposal.proposalDir, 'files');
|
|
655
|
+
mkdirSync(filesDir, { recursive: true });
|
|
656
|
+
const stat = statSync(filesDir);
|
|
657
|
+
if (stat.isDirectory()) {
|
|
658
|
+
const keep = join(filesDir, '.gitkeep');
|
|
659
|
+
if (!existsSync(keep))
|
|
660
|
+
writeFileSync(keep, '');
|
|
661
|
+
}
|
|
662
|
+
return proposal;
|
|
663
|
+
}
|
|
664
|
+
//# sourceMappingURL=propose.js.map
|