@rubytech/create-maxy-code 0.1.169 → 0.1.171

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 (169) hide show
  1. package/dist/__tests__/premium-mcp-discover.test.js +42 -0
  2. package/dist/lib/premium-mcp-discover.js +9 -2
  3. package/package.json +1 -1
  4. package/payload/platform/plugins/.claude-plugin/marketplace.json +0 -15
  5. package/payload/platform/plugins/docs/references/platform.md +1 -1
  6. package/payload/premium-plugins/writer-craft/lib/mcp-stderr-tee/dist/index.d.ts +51 -0
  7. package/payload/premium-plugins/writer-craft/lib/mcp-stderr-tee/dist/index.d.ts.map +1 -0
  8. package/payload/premium-plugins/writer-craft/lib/mcp-stderr-tee/dist/index.js +196 -0
  9. package/payload/premium-plugins/writer-craft/lib/mcp-stderr-tee/dist/index.js.map +1 -0
  10. package/payload/premium-plugins/writer-craft/lib/mcp-stderr-tee/package.json +7 -0
  11. package/payload/premium-plugins/writer-craft/mcp/dist/index.d.ts +3 -0
  12. package/payload/premium-plugins/writer-craft/mcp/dist/index.d.ts.map +1 -0
  13. package/payload/premium-plugins/writer-craft/mcp/dist/index.js +257 -0
  14. package/payload/premium-plugins/writer-craft/mcp/dist/index.js.map +1 -0
  15. package/payload/premium-plugins/writer-craft/mcp/dist/lib/neo4j.d.ts +14 -0
  16. package/payload/premium-plugins/writer-craft/mcp/dist/lib/neo4j.d.ts.map +1 -0
  17. package/payload/premium-plugins/writer-craft/mcp/dist/lib/neo4j.js +47 -0
  18. package/payload/premium-plugins/writer-craft/mcp/dist/lib/neo4j.js.map +1 -0
  19. package/payload/premium-plugins/writer-craft/mcp/dist/lib/voice-corpus.d.ts +42 -0
  20. package/payload/premium-plugins/writer-craft/mcp/dist/lib/voice-corpus.d.ts.map +1 -0
  21. package/payload/{platform/plugins/writer-craft/mcp/src/lib/voice-corpus.ts → premium-plugins/writer-craft/mcp/dist/lib/voice-corpus.js} +5 -5
  22. package/payload/premium-plugins/writer-craft/mcp/dist/lib/voice-corpus.js.map +1 -0
  23. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-distil-profile.d.ts +36 -0
  24. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-distil-profile.d.ts.map +1 -0
  25. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-distil-profile.js +225 -0
  26. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-distil-profile.js.map +1 -0
  27. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-record-feedback.d.ts +26 -0
  28. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-record-feedback.d.ts.map +1 -0
  29. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-record-feedback.js +74 -0
  30. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-record-feedback.js.map +1 -0
  31. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-retrieve-conditioning.d.ts +22 -0
  32. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-retrieve-conditioning.d.ts.map +1 -0
  33. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-retrieve-conditioning.js +102 -0
  34. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-retrieve-conditioning.js.map +1 -0
  35. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-tag-content.d.ts +14 -0
  36. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-tag-content.d.ts.map +1 -0
  37. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-tag-content.js +84 -0
  38. package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-tag-content.js.map +1 -0
  39. package/payload/premium-plugins/writer-craft/mcp/package-lock.json +1327 -0
  40. package/payload/server/{chunk-3TRIXQSJ.js → chunk-L2YK2VK3.js} +17 -29
  41. package/payload/server/maxy-edge.js +1 -1
  42. package/payload/server/server.js +1 -1
  43. package/payload/platform/plugins/teaching/.claude-plugin/plugin.json +0 -8
  44. package/payload/platform/plugins/teaching/PLUGIN.md +0 -58
  45. package/payload/platform/plugins/teaching/skills/interactive-tutor/SKILL.md +0 -59
  46. package/payload/platform/plugins/teaching/skills/interactive-tutor/references/assessment.md +0 -70
  47. package/payload/platform/plugins/teaching/skills/interactive-tutor/references/classroom-conduct.md +0 -43
  48. package/payload/platform/plugins/teaching/skills/interactive-tutor/references/teaching-modes.md +0 -83
  49. package/payload/platform/plugins/teaching/skills/lesson-planner/SKILL.md +0 -48
  50. package/payload/platform/plugins/teaching/skills/lesson-planner/references/context-gathering.md +0 -41
  51. package/payload/platform/plugins/teaching/skills/lesson-planner/references/plan-structure.md +0 -94
  52. package/payload/platform/plugins/teaching/skills/study-pack-builder/SKILL.md +0 -52
  53. package/payload/platform/plugins/teaching/skills/study-pack-builder/references/disaggregation.md +0 -49
  54. package/payload/platform/plugins/teaching/skills/study-pack-builder/references/materials.md +0 -116
  55. package/payload/platform/plugins/venture-studio/.claude-plugin/plugin.json +0 -8
  56. package/payload/platform/plugins/venture-studio/PLUGIN.md +0 -119
  57. package/payload/platform/plugins/venture-studio/bin/scaffold.sh +0 -116
  58. package/payload/platform/plugins/venture-studio/skills/brand-pack/SKILL.md +0 -256
  59. package/payload/platform/plugins/venture-studio/skills/brand-pack/references/color-psychology.md +0 -118
  60. package/payload/platform/plugins/venture-studio/skills/investor-data-room/SKILL.md +0 -376
  61. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/business-plan-template.md +0 -64
  62. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/compliance-research-checklist.md +0 -53
  63. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/data-room-structure.md +0 -88
  64. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/deck-blueprint-template.md +0 -39
  65. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/design-tokens-application.md +0 -79
  66. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/html-pdf-pipeline.md +0 -236
  67. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/internal-workings-scrub.md +0 -33
  68. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/termsheet-template.md +0 -88
  69. package/payload/platform/plugins/venture-studio/skills/investor-data-room/templates/prospectus/index.html +0 -1565
  70. package/payload/platform/plugins/venture-studio/skills/investor-data-room/templates/prospectus/render-pdf.mjs +0 -91
  71. package/payload/platform/plugins/venture-studio/skills/investor-data-room/templates/prospectus/term_sheet.html +0 -715
  72. package/payload/platform/plugins/venture-studio/skills/office-hours/SKILL.md +0 -587
  73. package/payload/platform/plugins/venture-studio/skills/prototype-host/SKILL.md +0 -179
  74. package/payload/platform/plugins/venture-studio/skills/prototype-host/references/cloudflared-ingress-edit.md +0 -81
  75. package/payload/platform/plugins/venture-studio/skills/prototype-host/references/scaffold-frameworks.md +0 -60
  76. package/payload/platform/plugins/venture-studio/skills/prototype-host/references/systemd-user-service.md +0 -104
  77. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/SKILL.md +0 -336
  78. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/aarrr-metrics.md +0 -275
  79. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/assumption-testing.md +0 -93
  80. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/boolean-search.md +0 -308
  81. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/build-measure-learn.md +0 -262
  82. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/business-model-canvas.md +0 -171
  83. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/commitment-signals.md +0 -246
  84. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/design-thinking.md +0 -183
  85. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/earlyvangelist.md +0 -190
  86. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/first-principles.md +0 -58
  87. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/fishbone.md +0 -114
  88. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/five-whys.md +0 -43
  89. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/ice-scoring.md +0 -237
  90. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/innovation-accounting.md +0 -290
  91. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/jtbd.md +0 -105
  92. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/landing-page.md +0 -361
  93. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/market-type.md +0 -167
  94. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/mom-test.md +0 -193
  95. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/mvp-types.md +0 -200
  96. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/og-images.md +0 -239
  97. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/pareto.md +0 -103
  98. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/persona-development.md +0 -291
  99. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/pivot-types.md +0 -225
  100. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/positioning-statement.md +0 -179
  101. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/prd.md +0 -363
  102. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/pre-mortem.md +0 -74
  103. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/problem-validation.md +0 -253
  104. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/product-market-fit.md +0 -256
  105. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/research-synthesis.md +0 -276
  106. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/three-engines-of-growth.md +0 -248
  107. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/validation-tests.md +0 -89
  108. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/value-proposition-canvas.md +0 -121
  109. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/win-loss-analysis.md +0 -242
  110. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/workflow-mapping.md +0 -271
  111. package/payload/platform/plugins/writer-craft/.claude-plugin/plugin.json +0 -17
  112. package/payload/platform/plugins/writer-craft/PLUGIN.md +0 -130
  113. package/payload/platform/plugins/writer-craft/agents/writer-craft--manuscript-reviewer.md +0 -96
  114. package/payload/platform/plugins/writer-craft/mcp/package.json +0 -19
  115. package/payload/platform/plugins/writer-craft/mcp/scripts/smoke.mjs +0 -152
  116. package/payload/platform/plugins/writer-craft/mcp/src/index.ts +0 -289
  117. package/payload/platform/plugins/writer-craft/mcp/src/lib/neo4j.ts +0 -56
  118. package/payload/platform/plugins/writer-craft/mcp/src/tools/voice-distil-profile.ts +0 -303
  119. package/payload/platform/plugins/writer-craft/mcp/src/tools/voice-record-feedback.ts +0 -114
  120. package/payload/platform/plugins/writer-craft/mcp/src/tools/voice-retrieve-conditioning.ts +0 -145
  121. package/payload/platform/plugins/writer-craft/mcp/src/tools/voice-tag-content.ts +0 -117
  122. package/payload/platform/plugins/writer-craft/mcp/tsconfig.json +0 -8
  123. package/payload/platform/plugins/writer-craft/skills/citation-style/SKILL.md +0 -94
  124. package/payload/platform/plugins/writer-craft/skills/citation-style/references/book-and-chapter-models.md +0 -77
  125. package/payload/platform/plugins/writer-craft/skills/citation-style/references/citation-rules.md +0 -103
  126. package/payload/platform/plugins/writer-craft/skills/citation-style/references/journal-article-models.md +0 -74
  127. package/payload/platform/plugins/writer-craft/skills/citation-style/references/other-source-models.md +0 -146
  128. package/payload/platform/plugins/writer-craft/skills/citation-style/references/reference-list-rules.md +0 -70
  129. package/payload/platform/plugins/writer-craft/skills/editorial-practice/SKILL.md +0 -108
  130. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/copyediting.md +0 -73
  131. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/developmental-editing.md +0 -85
  132. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/genre-specific-editing.md +0 -78
  133. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/line-editing.md +0 -55
  134. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/self-editing.md +0 -89
  135. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/SKILL.md +0 -114
  136. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/audience-analysis.md +0 -73
  137. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/crafting-persuasive-story.md +0 -76
  138. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/persuasion-case-studies.md +0 -67
  139. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/transformation-framework.md +0 -86
  140. package/payload/platform/plugins/writer-craft/skills/point-of-view/SKILL.md +0 -97
  141. package/payload/platform/plugins/writer-craft/skills/point-of-view/references/indirect-narration.md +0 -72
  142. package/payload/platform/plugins/writer-craft/skills/point-of-view/references/pov-types-and-voice.md +0 -91
  143. package/payload/platform/plugins/writer-craft/skills/point-of-view/references/protagonist-filter.md +0 -71
  144. package/payload/platform/plugins/writer-craft/skills/point-of-view/references/tense-and-person.md +0 -85
  145. package/payload/platform/plugins/writer-craft/skills/prose-craft/SKILL.md +0 -100
  146. package/payload/platform/plugins/writer-craft/skills/prose-craft/references/punctuation-and-grammar.md +0 -72
  147. package/payload/platform/plugins/writer-craft/skills/prose-craft/references/repetition.md +0 -71
  148. package/payload/platform/plugins/writer-craft/skills/prose-craft/references/sound-and-rhythm.md +0 -64
  149. package/payload/platform/plugins/writer-craft/skills/prose-craft/references/word-economy.md +0 -93
  150. package/payload/platform/plugins/writer-craft/skills/reader-engagement/SKILL.md +0 -100
  151. package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/cause-effect-setup-payoff.md +0 -79
  152. package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/conflict-escalation.md +0 -81
  153. package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/hooking-readers.md +0 -67
  154. package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/neurochemistry-of-engagement.md +0 -94
  155. package/payload/platform/plugins/writer-craft/skills/review-manuscript/SKILL.md +0 -111
  156. package/payload/platform/plugins/writer-craft/skills/review-manuscript/references/review-manuscript-checklist.md +0 -119
  157. package/payload/platform/plugins/writer-craft/skills/review-prose/SKILL.md +0 -99
  158. package/payload/platform/plugins/writer-craft/skills/review-prose/references/prose-review-checklist.md +0 -112
  159. package/payload/platform/plugins/writer-craft/skills/review-scene/SKILL.md +0 -99
  160. package/payload/platform/plugins/writer-craft/skills/review-scene/references/scene-analysis-framework.md +0 -95
  161. package/payload/platform/plugins/writer-craft/skills/story-architecture/SKILL.md +0 -106
  162. package/payload/platform/plugins/writer-craft/skills/story-architecture/references/blueprinting-and-scene-cards.md +0 -118
  163. package/payload/platform/plugins/writer-craft/skills/story-architecture/references/inner-issue-and-protagonist-goal.md +0 -66
  164. package/payload/platform/plugins/writer-craft/skills/story-architecture/references/misbelief-desire-worldview.md +0 -87
  165. package/payload/platform/plugins/writer-craft/skills/story-architecture/references/origin-scenes-and-escalation.md +0 -82
  166. package/payload/platform/plugins/writer-craft/skills/story-blueprint/SKILL.md +0 -133
  167. package/payload/platform/plugins/writer-craft/skills/story-blueprint/references/blueprinting-exercises.md +0 -118
  168. package/payload/platform/plugins/writer-craft/skills/story-blueprint/references/blueprinting-process.md +0 -128
  169. package/payload/platform/plugins/writer-craft/skills/voice-mirror/SKILL.md +0 -166
@@ -1,91 +0,0 @@
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}`);