@rubytech/create-maxy-code 0.1.107 → 0.1.109

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/package.json +1 -1
  2. package/payload/platform/config/brand.json +1 -0
  3. package/payload/platform/plugins/.claude-plugin/marketplace.json +5 -0
  4. package/payload/platform/plugins/business-assistant/PLUGIN.md +4 -1
  5. package/payload/platform/plugins/cloudflare/PLUGIN.md +1 -1
  6. package/payload/platform/plugins/cloudflare/scripts/list-cf-domains.sh +12 -12
  7. package/payload/platform/plugins/cloudflare/scripts/list-cf-domains.ts +9 -43
  8. package/payload/platform/plugins/cloudflare/scripts/setup-tunnel.sh +27 -29
  9. package/payload/platform/plugins/cloudflare/skills/setup-tunnel/SKILL.md +14 -9
  10. package/payload/platform/plugins/docs/references/platform.md +4 -22
  11. package/payload/platform/plugins/docs/references/plugins-guide.md +9 -2
  12. package/payload/platform/plugins/docs/references/troubleshooting.md +4 -316
  13. package/payload/platform/plugins/venture-studio/.claude-plugin/plugin.json +8 -0
  14. package/payload/platform/plugins/venture-studio/PLUGIN.md +110 -0
  15. package/payload/platform/plugins/venture-studio/bin/scaffold.sh +104 -0
  16. package/payload/platform/plugins/venture-studio/skills/brand-pack/SKILL.md +256 -0
  17. package/payload/platform/plugins/venture-studio/skills/brand-pack/references/color-psychology.md +118 -0
  18. package/payload/{premium-plugins/founder-pack → platform/plugins/venture-studio}/skills/investor-data-room/SKILL.md +112 -9
  19. package/payload/{premium-plugins/founder-pack → platform/plugins/venture-studio}/skills/investor-data-room/references/html-pdf-pipeline.md +1 -1
  20. package/payload/{premium-plugins/founder-pack → platform/plugins/venture-studio}/skills/investor-data-room/references/termsheet-template.md +1 -1
  21. package/payload/platform/plugins/venture-studio/skills/investor-data-room/templates/prospectus/index.html +1565 -0
  22. package/payload/platform/plugins/venture-studio/skills/investor-data-room/templates/prospectus/render-pdf.mjs +91 -0
  23. package/payload/platform/plugins/venture-studio/skills/investor-data-room/templates/prospectus/term_sheet.html +715 -0
  24. package/payload/platform/plugins/venture-studio/skills/office-hours/SKILL.md +588 -0
  25. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/SKILL.md +332 -0
  26. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/aarrr-metrics.md +275 -0
  27. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/assumption-testing.md +93 -0
  28. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/boolean-search.md +308 -0
  29. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/build-measure-learn.md +262 -0
  30. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/business-model-canvas.md +171 -0
  31. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/commitment-signals.md +246 -0
  32. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/design-thinking.md +183 -0
  33. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/earlyvangelist.md +190 -0
  34. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/first-principles.md +58 -0
  35. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/fishbone.md +114 -0
  36. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/five-whys.md +43 -0
  37. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/ice-scoring.md +237 -0
  38. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/innovation-accounting.md +290 -0
  39. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/jtbd.md +105 -0
  40. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/landing-page.md +361 -0
  41. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/market-type.md +167 -0
  42. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/mom-test.md +193 -0
  43. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/mvp-types.md +200 -0
  44. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/og-images.md +239 -0
  45. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/pareto.md +103 -0
  46. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/persona-development.md +291 -0
  47. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/pivot-types.md +225 -0
  48. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/positioning-statement.md +179 -0
  49. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/prd.md +363 -0
  50. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/pre-mortem.md +74 -0
  51. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/problem-validation.md +253 -0
  52. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/product-market-fit.md +256 -0
  53. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/research-synthesis.md +276 -0
  54. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/three-engines-of-growth.md +248 -0
  55. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/validation-tests.md +89 -0
  56. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/value-proposition-canvas.md +121 -0
  57. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/win-loss-analysis.md +242 -0
  58. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/workflow-mapping.md +271 -0
  59. package/payload/platform/plugins/work/mcp/dist/cli/project-create-cli.d.ts +2 -0
  60. package/payload/platform/plugins/work/mcp/dist/cli/project-create-cli.d.ts.map +1 -0
  61. package/payload/platform/plugins/work/mcp/dist/cli/project-create-cli.js +78 -0
  62. package/payload/platform/plugins/work/mcp/dist/cli/project-create-cli.js.map +1 -0
  63. package/payload/platform/scripts/vnc.sh +4 -3
  64. package/payload/premium-plugins/.claude-plugin/marketplace.json +4 -4
  65. package/payload/premium-plugins/real-agent/plugins/brochures/skills/property-brochure/references/build.md +4 -5
  66. package/payload/premium-plugins/venture-studio/.claude-plugin/plugin.json +8 -0
  67. package/payload/premium-plugins/venture-studio/PLUGIN.md +110 -0
  68. package/payload/premium-plugins/venture-studio/bin/scaffold.sh +104 -0
  69. package/payload/premium-plugins/venture-studio/skills/brand-pack/SKILL.md +256 -0
  70. package/payload/premium-plugins/venture-studio/skills/brand-pack/references/color-psychology.md +118 -0
  71. package/payload/premium-plugins/venture-studio/skills/investor-data-room/SKILL.md +361 -0
  72. package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/business-plan-template.md +61 -0
  73. package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/compliance-research-checklist.md +53 -0
  74. package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/data-room-structure.md +77 -0
  75. package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/deck-blueprint-template.md +38 -0
  76. package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/design-tokens-application.md +79 -0
  77. package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/html-pdf-pipeline.md +236 -0
  78. package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/internal-workings-scrub.md +33 -0
  79. package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/termsheet-template.md +88 -0
  80. package/payload/premium-plugins/venture-studio/skills/investor-data-room/templates/prospectus/index.html +1565 -0
  81. package/payload/premium-plugins/venture-studio/skills/investor-data-room/templates/prospectus/render-pdf.mjs +91 -0
  82. package/payload/premium-plugins/venture-studio/skills/investor-data-room/templates/prospectus/term_sheet.html +715 -0
  83. package/payload/premium-plugins/venture-studio/skills/office-hours/SKILL.md +588 -0
  84. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/SKILL.md +332 -0
  85. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/aarrr-metrics.md +275 -0
  86. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/assumption-testing.md +93 -0
  87. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/boolean-search.md +308 -0
  88. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/build-measure-learn.md +262 -0
  89. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/business-model-canvas.md +171 -0
  90. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/commitment-signals.md +246 -0
  91. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/design-thinking.md +183 -0
  92. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/earlyvangelist.md +190 -0
  93. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/first-principles.md +58 -0
  94. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/fishbone.md +114 -0
  95. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/five-whys.md +43 -0
  96. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/ice-scoring.md +237 -0
  97. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/innovation-accounting.md +290 -0
  98. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/jtbd.md +105 -0
  99. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/landing-page.md +361 -0
  100. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/market-type.md +167 -0
  101. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/mom-test.md +193 -0
  102. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/mvp-types.md +200 -0
  103. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/og-images.md +239 -0
  104. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/pareto.md +103 -0
  105. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/persona-development.md +291 -0
  106. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/pivot-types.md +225 -0
  107. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/positioning-statement.md +179 -0
  108. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/prd.md +363 -0
  109. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/pre-mortem.md +74 -0
  110. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/problem-validation.md +253 -0
  111. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/product-market-fit.md +256 -0
  112. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/research-synthesis.md +276 -0
  113. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/three-engines-of-growth.md +248 -0
  114. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/validation-tests.md +89 -0
  115. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/value-proposition-canvas.md +121 -0
  116. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/win-loss-analysis.md +242 -0
  117. package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/workflow-mapping.md +271 -0
  118. package/payload/server/{chunk-TZD23CX6.js → chunk-FSPPVVWM.js} +1347 -505
  119. package/payload/server/maxy-edge.js +21 -259
  120. package/payload/server/public/assets/{ChatInput-DJsqm_Gf.js → ChatInput-CsnIedhS.js} +1 -5
  121. package/payload/server/public/assets/{Checkbox-DGZG9BKc.js → Checkbox-CWugFyFT.js} +1 -1
  122. package/payload/server/public/assets/admin-D3gZuyUn.js +217 -0
  123. package/payload/server/public/assets/{architectureDiagram-Q4EWVU46-Dw16BhiX.js → architectureDiagram-Q4EWVU46-CeTRKWDb.js} +1 -1
  124. package/payload/server/public/assets/{blockDiagram-DXYQGD6D-DIOpmf5Y.js → blockDiagram-DXYQGD6D-DeeIX5U3.js} +1 -1
  125. package/payload/server/public/assets/{c4Diagram-AHTNJAMY-Tdb_HZeX.js → c4Diagram-AHTNJAMY-CFsqZuil.js} +1 -1
  126. package/payload/server/public/assets/channel-CrSx5mnG.js +1 -0
  127. package/payload/server/public/assets/{chunk-336JU56O-CebpwDDe.js → chunk-336JU56O-DpIXuFM0.js} +2 -2
  128. package/payload/server/public/assets/{chunk-426QAEUC-BtRCmfDU.js → chunk-426QAEUC-Qk8qqrvA.js} +1 -1
  129. package/payload/server/public/assets/{chunk-4TB4RGXK-BZ3GEWs3.js → chunk-4TB4RGXK-DtM8-CUn.js} +1 -1
  130. package/payload/server/public/assets/{chunk-5FUZZQ4R-iDI6Xu0U.js → chunk-5FUZZQ4R-CrSQ4ySU.js} +1 -1
  131. package/payload/server/public/assets/{chunk-5PVQY5BW-SQD_EpYa.js → chunk-5PVQY5BW-Bn2nQwdj.js} +1 -1
  132. package/payload/server/public/assets/{chunk-EDXVE4YY-CtCcA7_e.js → chunk-EDXVE4YY-CzCPnR0P.js} +1 -1
  133. package/payload/server/public/assets/{chunk-ENJZ2VHE-pXVGVCbb.js → chunk-ENJZ2VHE-CgZj9RoG.js} +1 -1
  134. package/payload/server/public/assets/{chunk-ICPOFSXX-Dkzg9o2N.js → chunk-ICPOFSXX-wy-eNjwW.js} +1 -1
  135. package/payload/server/public/assets/{chunk-OYMX7WX6-1ZZWzf9F.js → chunk-OYMX7WX6-CMmJtL8S.js} +1 -1
  136. package/payload/server/public/assets/{chunk-U2HBQHQK-CpQ3kzO0.js → chunk-U2HBQHQK-CFCW7OaT.js} +1 -1
  137. package/payload/server/public/assets/{chunk-X2U36JSP-C2LkxroC.js → chunk-X2U36JSP-Bgh-CJSN.js} +1 -1
  138. package/payload/server/public/assets/{chunk-YZCP3GAM-Bl5jBOt5.js → chunk-YZCP3GAM-BXKwZ4vN.js} +1 -1
  139. package/payload/server/public/assets/{chunk-ZZ45TVLE-CHtnptPS.js → chunk-ZZ45TVLE-BiOuK5NP.js} +1 -1
  140. package/payload/server/public/assets/classDiagram-6PBFFD2Q-C3IDJsqN.js +1 -0
  141. package/payload/server/public/assets/classDiagram-v2-HSJHXN6E-BOIrJ5Zb.js +1 -0
  142. package/payload/server/public/assets/clone-P8Fkz7JD.js +1 -0
  143. package/payload/server/public/assets/{dagre-BziN0Nkh.js → dagre-DyCxa9Q2.js} +1 -1
  144. package/payload/server/public/assets/{dagre-KV5264BT-B7OG1g1Y.js → dagre-KV5264BT-Cffo_hmf.js} +1 -1
  145. package/payload/server/public/assets/data-DRfwJPja.js +1 -0
  146. package/payload/server/public/assets/{diagram-5BDNPKRD-Bf31nIDs.js → diagram-5BDNPKRD-Bt93Du3V.js} +1 -1
  147. package/payload/server/public/assets/{diagram-G4DWMVQ6-DQu85hhH.js → diagram-G4DWMVQ6-v4r-tBsC.js} +1 -1
  148. package/payload/server/public/assets/{diagram-MMDJMWI5-5tstbs4y.js → diagram-MMDJMWI5-DKrVPOP-.js} +1 -1
  149. package/payload/server/public/assets/{diagram-TYMM5635--MOV1U4o.js → diagram-TYMM5635-B1PzWQb9.js} +1 -1
  150. package/payload/server/public/assets/{erDiagram-SMLLAGMA-BtAnOJmd.js → erDiagram-SMLLAGMA-ClQzsQAs.js} +1 -1
  151. package/payload/server/public/assets/{flowDiagram-DWJPFMVM-CybiCIih.js → flowDiagram-DWJPFMVM-h3IbpN_7.js} +1 -1
  152. package/payload/server/public/assets/{ganttDiagram-T4ZO3ILL-B44jN7Cy.js → ganttDiagram-T4ZO3ILL-ClaxOJi8.js} +1 -1
  153. package/payload/server/public/assets/{gitGraphDiagram-UUTBAWPF-CT7iYcwg.js → gitGraphDiagram-UUTBAWPF-pM-U4ClD.js} +1 -1
  154. package/payload/server/public/assets/graph-B4FFYwus.js +1 -0
  155. package/payload/server/public/assets/graph-labels-Cpk9Ktt0.js +1 -0
  156. package/payload/server/public/assets/{graphlib-DP4o0pYL.js → graphlib-CwimOv_M.js} +1 -1
  157. package/payload/server/public/assets/{infoDiagram-42DDH7IO-CvxFpFHN.js → infoDiagram-42DDH7IO-DcO3Giwe.js} +1 -1
  158. package/payload/server/public/assets/{ishikawaDiagram-UXIWVN3A-CUwWLPeR.js → ishikawaDiagram-UXIWVN3A-BcdSL5VS.js} +1 -1
  159. package/payload/server/public/assets/{journeyDiagram-VCZTEJTY-y-OnGgLi.js → journeyDiagram-VCZTEJTY-CYahHYzf.js} +1 -1
  160. package/payload/server/public/assets/{kanban-definition-6JOO6SKY-BhrSe8R4.js → kanban-definition-6JOO6SKY-Cl5KhoS4.js} +1 -1
  161. package/payload/server/public/assets/lib--yuBd0Xi.js +33 -0
  162. package/payload/server/public/assets/{line-C9uS7z4J.js → line-d_2oTxLp.js} +1 -1
  163. package/payload/server/public/assets/{mermaid-parser.core-Cg4ZdKp-.js → mermaid-parser.core-CMMDGv3x.js} +1 -1
  164. package/payload/server/public/assets/{mermaid.core-BHdKOsex.js → mermaid.core-DK9ENGbr.js} +3 -3
  165. package/payload/server/public/assets/{mindmap-definition-QFDTVHPH-NBYiXHo7.js → mindmap-definition-QFDTVHPH-mA3x3MFG.js} +1 -1
  166. package/payload/server/public/assets/page-CgDmg_fX.js +1 -0
  167. package/payload/server/public/assets/{page-D9YpwhIu.js → page-D9lluVl7.js} +2 -2
  168. package/payload/server/public/assets/{pieDiagram-DEJITSTG-CbojC64C.js → pieDiagram-DEJITSTG-CW1nGFlY.js} +1 -1
  169. package/payload/server/public/assets/public-DdLMkNdS.js +7 -0
  170. package/payload/server/public/assets/{quadrantDiagram-34T5L4WZ-CnnoZXcL.js → quadrantDiagram-34T5L4WZ-DI5igJhR.js} +1 -1
  171. package/payload/server/public/assets/{requirementDiagram-MS252O5E-DFRFRtyJ.js → requirementDiagram-MS252O5E-DyVeI4e_.js} +1 -1
  172. package/payload/server/public/assets/{sankeyDiagram-XADWPNL6-DU5gcpzO.js → sankeyDiagram-XADWPNL6-CCTTBYKY.js} +1 -1
  173. package/payload/server/public/assets/{sequenceDiagram-FGHM5R23-BN7HZ6Hq.js → sequenceDiagram-FGHM5R23-hVVf35ly.js} +1 -1
  174. package/payload/server/public/assets/{stateDiagram-FHFEXIEX-DG6cCjvg.js → stateDiagram-FHFEXIEX-CSLuQDUX.js} +1 -1
  175. package/payload/server/public/assets/stateDiagram-v2-QKLJ7IA2-C5JejhQU.js +1 -0
  176. package/payload/server/public/assets/{timeline-definition-GMOUNBTQ-qmV-8SEV.js → timeline-definition-GMOUNBTQ-sxC3W8Q4.js} +1 -1
  177. package/payload/server/public/assets/{vennDiagram-DHZGUBPP-BMXQ1s3n.js → vennDiagram-DHZGUBPP-Ro-ton6Z.js} +1 -1
  178. package/payload/server/public/assets/{wardleyDiagram-NUSXRM2D-CoAdP1Gw.js → wardleyDiagram-NUSXRM2D-T-dKD0Zx.js} +1 -1
  179. package/payload/server/public/assets/{xychartDiagram-5P7HB3ND-CZlfGTEn.js → xychartDiagram-5P7HB3ND-CfProPts.js} +1 -1
  180. package/payload/server/public/data.html +4 -4
  181. package/payload/server/public/graph.html +5 -5
  182. package/payload/server/public/index.html +7 -7
  183. package/payload/server/public/public.html +4 -4
  184. package/payload/server/server.js +300 -1393
  185. package/payload/platform/plugins/cloudflare/scripts/_stream-log.sh +0 -154
  186. package/payload/premium-plugins/founder-pack/.claude-plugin/plugin.json +0 -8
  187. package/payload/server/chunk-BDFOTLPW.js +0 -759
  188. package/payload/server/chunk-JRBCOVA4.js +0 -1305
  189. package/payload/server/cloudflare-task-tracker-M5ONAGUT.js +0 -22
  190. package/payload/server/public/assets/admin-BvzMvMGo.js +0 -217
  191. package/payload/server/public/assets/channel-DThrH4QF.js +0 -1
  192. package/payload/server/public/assets/classDiagram-6PBFFD2Q-BC6oGTNX.js +0 -1
  193. package/payload/server/public/assets/classDiagram-v2-HSJHXN6E-COwC5Umh.js +0 -1
  194. package/payload/server/public/assets/clone-Chp7hvnA.js +0 -1
  195. package/payload/server/public/assets/data-BAgaPs4j.js +0 -1
  196. package/payload/server/public/assets/graph-Cma7EArf.js +0 -1
  197. package/payload/server/public/assets/graph-labels-DyKk6Sxf.js +0 -1
  198. package/payload/server/public/assets/lib-CpkYtEDz.js +0 -29
  199. package/payload/server/public/assets/page-B4IWl3aZ.js +0 -1
  200. package/payload/server/public/assets/public-BtOXjy3A.js +0 -8
  201. package/payload/server/public/assets/stateDiagram-v2-QKLJ7IA2-CvVd1Q_q.js +0 -1
  202. /package/payload/{premium-plugins/founder-pack → platform/plugins/venture-studio}/skills/investor-data-room/references/business-plan-template.md +0 -0
  203. /package/payload/{premium-plugins/founder-pack → platform/plugins/venture-studio}/skills/investor-data-room/references/compliance-research-checklist.md +0 -0
  204. /package/payload/{premium-plugins/founder-pack → platform/plugins/venture-studio}/skills/investor-data-room/references/data-room-structure.md +0 -0
  205. /package/payload/{premium-plugins/founder-pack → platform/plugins/venture-studio}/skills/investor-data-room/references/deck-blueprint-template.md +0 -0
  206. /package/payload/{premium-plugins/founder-pack → platform/plugins/venture-studio}/skills/investor-data-room/references/design-tokens-application.md +0 -0
  207. /package/payload/{premium-plugins/founder-pack → platform/plugins/venture-studio}/skills/investor-data-room/references/internal-workings-scrub.md +0 -0
@@ -0,0 +1,91 @@
1
+ // Render an HTML document into an A4 PORTRAIT image-only PDF.
2
+ // Mirrors the property-brochure pipeline (skills/property-brochure/references/build.md).
3
+ // Each <section class="page"> is screenshot as ONE PNG; bound to A4 via img2pdf;
4
+ // linearized via qpdf. The HTML CSS sizes each .page to exactly A4 (210mm × 297mm).
5
+ //
6
+ // node render-pdf.mjs <input.html> <output.pdf> [scale]
7
+
8
+ import { chromium } from 'playwright';
9
+ import { execFileSync } from 'node:child_process';
10
+ import { mkdirSync, readdirSync, rmSync, statSync } from 'node:fs';
11
+ import { dirname, join, resolve, basename } from 'node:path';
12
+ import { fileURLToPath } from 'node:url';
13
+
14
+ const __dirname = dirname(fileURLToPath(import.meta.url));
15
+
16
+ const inputArg = process.argv[2];
17
+ const outputArg = process.argv[3];
18
+ const SCALE = parseFloat(process.argv[4] || '3.125'); // 3.125× → 300 dpi
19
+ if (!inputArg || !outputArg) {
20
+ console.error('Usage: node render-pdf.mjs <input.html> <output.pdf> [scale]');
21
+ process.exit(2);
22
+ }
23
+
24
+ const INPUT = resolve(inputArg);
25
+ const OUTPUT = resolve(outputArg);
26
+ const TMP = join(__dirname, `.tmp-${basename(INPUT, '.html')}`);
27
+
28
+ rmSync(TMP, { recursive: true, force: true });
29
+ mkdirSync(TMP, { recursive: true });
30
+
31
+ const browser = await chromium.launch();
32
+ const context = await browser.newContext({
33
+ viewport: { width: 794, height: 1123 }, // A4 portrait at 96 dpi
34
+ deviceScaleFactor: SCALE,
35
+ });
36
+ const page = await context.newPage();
37
+ await page.emulateMedia({ media: 'print' }); // trigger @media print rules
38
+ await page.goto(`file://${INPUT}`, { waitUntil: 'networkidle' });
39
+
40
+ // Hide screen-only chrome but DO NOT inject layout CSS — the HTML's @media print
41
+ // rules are responsible for sizing each .page to A4. Per the brochure pipeline.
42
+ await page.addStyleTag({ content: `
43
+ .pdf-btn { display: none !important; }
44
+ html, body { background: #fff !important; margin: 0 !important; }
45
+ ` });
46
+
47
+ await page.evaluate(() => Promise.all(
48
+ Array.from(document.images, img => img.complete ? null : new Promise(r => { img.onload = img.onerror = r; }))
49
+ ));
50
+
51
+ const sections = await page.$$('section.page');
52
+ if (!sections.length) {
53
+ console.error('No <section class="page"> found in', INPUT);
54
+ process.exit(3);
55
+ }
56
+ console.log(`Rendering ${sections.length} A4 page(s) from ${basename(INPUT)} at ${SCALE}× ...`);
57
+
58
+ // Per build.md: "Verify every page fits A4: measure scrollHeight for all .page elements"
59
+ // A4 portrait at 96 dpi is 1123 CSS px. Anything past that is content overflow that will
60
+ // be clipped by `overflow: hidden` and lost from the rendered PDF.
61
+ const A4_H = 1123;
62
+ let overflowed = false;
63
+ for (let i = 0; i < sections.length; i++) {
64
+ const box = await sections[i].boundingBox();
65
+ const scrollH = await sections[i].evaluate(el => el.scrollHeight);
66
+ const ok = scrollH <= A4_H + 2; // 2px slack
67
+ if (!ok) overflowed = true;
68
+ console.log(` page ${i + 1}: scrollHeight ${scrollH}px${ok ? '' : ` ⚠ EXCEEDS A4 (${A4_H}px) — content will be clipped`}`);
69
+ }
70
+ if (overflowed) {
71
+ console.error('\nOne or more <section class="page"> elements overflow A4 height. Split their content into separate <section class="page"> blocks. Aborting render.');
72
+ await browser.close();
73
+ process.exit(4);
74
+ }
75
+
76
+ for (let i = 0; i < sections.length; i++) {
77
+ const file = join(TMP, `page-${String(i + 1).padStart(2, '0')}.png`);
78
+ await sections[i].scrollIntoViewIfNeeded();
79
+ await sections[i].screenshot({ path: file, type: 'png' });
80
+ const bytes = statSync(file).size;
81
+ console.log(` page ${i + 1}: ${(bytes / 1024).toFixed(0)} KB`);
82
+ }
83
+
84
+ await browser.close();
85
+
86
+ const pngs = readdirSync(TMP).filter(f => f.startsWith('page-') && f.endsWith('.png')).sort().map(f => join(TMP, f));
87
+ const preLinear = join(TMP, 'pre-linearize.pdf');
88
+ execFileSync('img2pdf', ['--pagesize', '210mmx297mm', '--output', preLinear, ...pngs], { stdio: 'inherit' });
89
+ execFileSync('qpdf', ['--linearize', '--object-streams=disable', preLinear, OUTPUT], { stdio: 'inherit' });
90
+
91
+ console.log(`\nWrote ${OUTPUT}`);