@rubytech/create-realagent-code 0.1.113 → 0.1.115
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/dist/__tests__/installer-specialist-registration.test.js +40 -1
- package/dist/__tests__/premium-bundle-gate.test.js +59 -0
- package/dist/index.js +24 -1
- package/dist/specialist-registration.js +15 -0
- package/package.json +1 -1
- package/payload/platform/config/brand.json +2 -2
- package/payload/platform/neo4j/schema.cypher +8 -3
- package/payload/platform/plugins/.claude-plugin/marketplace.json +0 -20
- package/payload/platform/plugins/admin/skills/public-agent-manager/SKILL.md +14 -7
- package/payload/platform/plugins/contacts/mcp/dist/index.js +3 -3
- package/payload/platform/plugins/contacts/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/contacts/mcp/dist/tools/contact-create.js +1 -1
- package/payload/platform/plugins/docs/references/contacts-guide.md +1 -9
- package/payload/platform/plugins/docs/references/getting-started.md +1 -1
- package/payload/platform/plugins/docs/references/internals.md +10 -26
- package/payload/platform/plugins/docs/references/platform.md +1 -1
- package/payload/platform/plugins/docs/references/plugins-guide.md +1 -2
- package/payload/platform/plugins/linkedin-import/PLUGIN.md +1 -1
- package/payload/platform/plugins/memory/PLUGIN.md +3 -2
- package/payload/platform/plugins/sales/.claude-plugin/plugin.json +1 -1
- package/payload/platform/plugins/sales/PLUGIN.md +9 -9
- package/payload/platform/plugins/sales/references/close-tracking.md +6 -6
- package/payload/platform/plugins/sales/references/faq.md +1 -5
- package/payload/platform/plugins/sales/references/objection-handling.md +2 -2
- package/payload/platform/plugins/scheduling/PLUGIN.md +1 -1
- package/payload/platform/plugins/scheduling/mcp/dist/index.js +2 -2
- package/payload/platform/plugins/scheduling/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/scheduling/mcp/dist/lib/__tests__/getUserTimezone.test.js +1 -1
- package/payload/platform/plugins/whatsapp/.claude-plugin/plugin.json +9 -0
- package/payload/platform/plugins/whatsapp/PLUGIN.md +1 -1
- package/payload/platform/plugins/workflows/PLUGIN.md +1 -1
- package/payload/platform/plugins/workflows/mcp/dist/tools/workflow-execute.d.ts +1 -1
- package/payload/platform/plugins/workflows/mcp/dist/tools/workflow-execute.js +2 -2
- package/payload/platform/plugins/workflows/mcp/dist/tools/workflow-execute.js.map +1 -1
- package/payload/platform/scripts/conversation-id-allowlist.txt +0 -7
- package/payload/platform/services/claude-session-manager/dist/brand-foreign-filter.d.ts +30 -0
- package/payload/platform/services/claude-session-manager/dist/brand-foreign-filter.d.ts.map +1 -0
- package/payload/platform/services/claude-session-manager/dist/brand-foreign-filter.js +86 -0
- package/payload/platform/services/claude-session-manager/dist/brand-foreign-filter.js.map +1 -0
- package/payload/platform/services/claude-session-manager/dist/http-server.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/http-server.js +42 -1
- package/payload/platform/services/claude-session-manager/dist/http-server.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/index.js +51 -9
- package/payload/platform/services/claude-session-manager/dist/index.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts +34 -0
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.js +118 -6
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/system-prompt.d.ts +7 -0
- package/payload/platform/services/claude-session-manager/dist/system-prompt.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/system-prompt.js +7 -0
- package/payload/platform/services/claude-session-manager/dist/system-prompt.js.map +1 -1
- package/payload/platform/templates/specialists/agents/project-manager.md +1 -3
- package/payload/premium-plugins/real-agent/plugins/buyers/skills/property-recommender/SKILL.md +23 -3
- package/payload/server/{chunk-FSPPVVWM.js → chunk-FJCI6X3H.js} +192 -0
- package/payload/server/maxy-edge.js +1 -1
- package/payload/server/public/assets/{ChatInput-CsnIedhS.js → ChatInput-CJo_77bp.js} +5 -1
- package/payload/server/public/assets/{Checkbox-CWugFyFT.js → Checkbox-YrQovXpN.js} +1 -1
- package/payload/server/public/assets/{admin-D3gZuyUn.js → admin-DOxHsV7g.js} +25 -25
- package/payload/server/public/assets/{architectureDiagram-Q4EWVU46-CeTRKWDb.js → architectureDiagram-Q4EWVU46-Breg9-99.js} +1 -1
- package/payload/server/public/assets/{blockDiagram-DXYQGD6D-DeeIX5U3.js → blockDiagram-DXYQGD6D-DXf1_673.js} +1 -1
- package/payload/server/public/assets/{c4Diagram-AHTNJAMY-CFsqZuil.js → c4Diagram-AHTNJAMY-CSZ36W4-.js} +1 -1
- package/payload/server/public/assets/channel-BmZnt3PP.js +1 -0
- package/payload/server/public/assets/{chunk-336JU56O-DpIXuFM0.js → chunk-336JU56O-DsrLk2eK.js} +2 -2
- package/payload/server/public/assets/{chunk-426QAEUC-Qk8qqrvA.js → chunk-426QAEUC-JpNfNf81.js} +1 -1
- package/payload/server/public/assets/{chunk-4TB4RGXK-DtM8-CUn.js → chunk-4TB4RGXK-DmClEAD0.js} +1 -1
- package/payload/server/public/assets/{chunk-5FUZZQ4R-CrSQ4ySU.js → chunk-5FUZZQ4R-BI9blW3N.js} +1 -1
- package/payload/server/public/assets/{chunk-5PVQY5BW-Bn2nQwdj.js → chunk-5PVQY5BW-BbgttEFO.js} +1 -1
- package/payload/server/public/assets/{chunk-EDXVE4YY-CzCPnR0P.js → chunk-EDXVE4YY-BX_LCFOx.js} +1 -1
- package/payload/server/public/assets/{chunk-ENJZ2VHE-CgZj9RoG.js → chunk-ENJZ2VHE-Bb7EoD0w.js} +1 -1
- package/payload/server/public/assets/{chunk-ICPOFSXX-wy-eNjwW.js → chunk-ICPOFSXX-DH8uQk-s.js} +1 -1
- package/payload/server/public/assets/{chunk-OYMX7WX6-CMmJtL8S.js → chunk-OYMX7WX6-FH5kgXsw.js} +1 -1
- package/payload/server/public/assets/{chunk-U2HBQHQK-CFCW7OaT.js → chunk-U2HBQHQK-D_ljlkHr.js} +1 -1
- package/payload/server/public/assets/{chunk-X2U36JSP-Bgh-CJSN.js → chunk-X2U36JSP-BX3EmZvm.js} +1 -1
- package/payload/server/public/assets/{chunk-YZCP3GAM-BXKwZ4vN.js → chunk-YZCP3GAM-Vu7-E93h.js} +1 -1
- package/payload/server/public/assets/{chunk-ZZ45TVLE-BiOuK5NP.js → chunk-ZZ45TVLE-CwjhNPX5.js} +1 -1
- package/payload/server/public/assets/classDiagram-6PBFFD2Q-kmMLFUpV.js +1 -0
- package/payload/server/public/assets/classDiagram-v2-HSJHXN6E-BV7Ae8ct.js +1 -0
- package/payload/server/public/assets/clone-B5eqoN9I.js +1 -0
- package/payload/server/public/assets/{dagre-DyCxa9Q2.js → dagre-Ce6gsj0C.js} +1 -1
- package/payload/server/public/assets/{dagre-KV5264BT-Cffo_hmf.js → dagre-KV5264BT-BaMGpsoy.js} +1 -1
- package/payload/server/public/assets/data-NMvGx6jm.js +1 -0
- package/payload/server/public/assets/{diagram-5BDNPKRD-Bt93Du3V.js → diagram-5BDNPKRD-CHEE9rjq.js} +1 -1
- package/payload/server/public/assets/{diagram-G4DWMVQ6-v4r-tBsC.js → diagram-G4DWMVQ6-C98sZLW1.js} +1 -1
- package/payload/server/public/assets/{diagram-MMDJMWI5-DKrVPOP-.js → diagram-MMDJMWI5-DNvMGsTZ.js} +1 -1
- package/payload/server/public/assets/{diagram-TYMM5635-B1PzWQb9.js → diagram-TYMM5635-Cdte4IBa.js} +1 -1
- package/payload/server/public/assets/{erDiagram-SMLLAGMA-ClQzsQAs.js → erDiagram-SMLLAGMA-C9VZsWXK.js} +1 -1
- package/payload/server/public/assets/{flowDiagram-DWJPFMVM-h3IbpN_7.js → flowDiagram-DWJPFMVM-tuP5fzzR.js} +1 -1
- package/payload/server/public/assets/{ganttDiagram-T4ZO3ILL-ClaxOJi8.js → ganttDiagram-T4ZO3ILL-SJgRPUwx.js} +1 -1
- package/payload/server/public/assets/{gitGraphDiagram-UUTBAWPF-pM-U4ClD.js → gitGraphDiagram-UUTBAWPF-DU_cI_50.js} +1 -1
- package/payload/server/public/assets/graph-BkwTCV2Y.js +1 -0
- package/payload/server/public/assets/graph-labels-h39S93Xo.js +1 -0
- package/payload/server/public/assets/{graphlib-CwimOv_M.js → graphlib-D_nAsvmx.js} +1 -1
- package/payload/server/public/assets/{infoDiagram-42DDH7IO-DcO3Giwe.js → infoDiagram-42DDH7IO-Cj2Y19m6.js} +1 -1
- package/payload/server/public/assets/{ishikawaDiagram-UXIWVN3A-BcdSL5VS.js → ishikawaDiagram-UXIWVN3A-DMc1xq1y.js} +1 -1
- package/payload/server/public/assets/{journeyDiagram-VCZTEJTY-CYahHYzf.js → journeyDiagram-VCZTEJTY-C4CRAQma.js} +1 -1
- package/payload/server/public/assets/{kanban-definition-6JOO6SKY-Cl5KhoS4.js → kanban-definition-6JOO6SKY-CTr4AldU.js} +1 -1
- package/payload/server/public/assets/lib-Bnh57com.js +29 -0
- package/payload/server/public/assets/{line-d_2oTxLp.js → line-Btlm_IAl.js} +1 -1
- package/payload/server/public/assets/{mermaid-parser.core-CMMDGv3x.js → mermaid-parser.core-DXFdj_y1.js} +1 -1
- package/payload/server/public/assets/{mermaid.core-DK9ENGbr.js → mermaid.core-DFBhoCr5.js} +3 -3
- package/payload/server/public/assets/{mindmap-definition-QFDTVHPH-mA3x3MFG.js → mindmap-definition-QFDTVHPH-r9gVQybo.js} +1 -1
- package/payload/server/public/assets/{page-CgDmg_fX.js → page-B0iMmY6t.js} +1 -1
- package/payload/server/public/assets/{page-D9lluVl7.js → page-zQ79YCEt.js} +2 -2
- package/payload/server/public/assets/{pieDiagram-DEJITSTG-CW1nGFlY.js → pieDiagram-DEJITSTG-CHKZjSaH.js} +1 -1
- package/payload/server/public/assets/{public-DdLMkNdS.js → public-DyGWgfaZ.js} +4 -4
- package/payload/server/public/assets/{quadrantDiagram-34T5L4WZ-DI5igJhR.js → quadrantDiagram-34T5L4WZ-CSGR1HJr.js} +1 -1
- package/payload/server/public/assets/{requirementDiagram-MS252O5E-DyVeI4e_.js → requirementDiagram-MS252O5E-DZ6hX9D6.js} +1 -1
- package/payload/server/public/assets/{sankeyDiagram-XADWPNL6-CCTTBYKY.js → sankeyDiagram-XADWPNL6-DbZBKh0m.js} +1 -1
- package/payload/server/public/assets/{sequenceDiagram-FGHM5R23-hVVf35ly.js → sequenceDiagram-FGHM5R23-BHHpb8dt.js} +1 -1
- package/payload/server/public/assets/{stateDiagram-FHFEXIEX-CSLuQDUX.js → stateDiagram-FHFEXIEX-DQ1jiLB4.js} +1 -1
- package/payload/server/public/assets/stateDiagram-v2-QKLJ7IA2-CByT2RzF.js +1 -0
- package/payload/server/public/assets/{timeline-definition-GMOUNBTQ-sxC3W8Q4.js → timeline-definition-GMOUNBTQ-BlGiEU7p.js} +1 -1
- package/payload/server/public/assets/{vennDiagram-DHZGUBPP-Ro-ton6Z.js → vennDiagram-DHZGUBPP-DmEH-hsB.js} +1 -1
- package/payload/server/public/assets/{wardleyDiagram-NUSXRM2D-T-dKD0Zx.js → wardleyDiagram-NUSXRM2D-C7KJJ40d.js} +1 -1
- package/payload/server/public/assets/{xychartDiagram-5P7HB3ND-CfProPts.js → xychartDiagram-5P7HB3ND-JDnusCaa.js} +1 -1
- package/payload/server/public/data.html +4 -4
- package/payload/server/public/graph.html +5 -5
- package/payload/server/public/index.html +7 -7
- package/payload/server/public/public.html +4 -4
- package/payload/server/server.js +144 -49
- package/payload/platform/plugins/teaching/.claude-plugin/plugin.json +0 -8
- package/payload/platform/plugins/teaching/PLUGIN.md +0 -58
- package/payload/platform/plugins/teaching/skills/interactive-tutor/SKILL.md +0 -59
- package/payload/platform/plugins/teaching/skills/interactive-tutor/references/assessment.md +0 -70
- package/payload/platform/plugins/teaching/skills/interactive-tutor/references/classroom-conduct.md +0 -43
- package/payload/platform/plugins/teaching/skills/interactive-tutor/references/teaching-modes.md +0 -83
- package/payload/platform/plugins/teaching/skills/lesson-planner/SKILL.md +0 -48
- package/payload/platform/plugins/teaching/skills/lesson-planner/references/context-gathering.md +0 -41
- package/payload/platform/plugins/teaching/skills/lesson-planner/references/plan-structure.md +0 -94
- package/payload/platform/plugins/teaching/skills/study-pack-builder/SKILL.md +0 -52
- package/payload/platform/plugins/teaching/skills/study-pack-builder/references/disaggregation.md +0 -49
- package/payload/platform/plugins/teaching/skills/study-pack-builder/references/materials.md +0 -116
- package/payload/platform/plugins/venture-studio/.claude-plugin/plugin.json +0 -8
- package/payload/platform/plugins/venture-studio/PLUGIN.md +0 -119
- package/payload/platform/plugins/venture-studio/bin/scaffold.sh +0 -116
- package/payload/platform/plugins/venture-studio/skills/brand-pack/SKILL.md +0 -256
- package/payload/platform/plugins/venture-studio/skills/brand-pack/references/color-psychology.md +0 -118
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/SKILL.md +0 -374
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/business-plan-template.md +0 -64
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/compliance-research-checklist.md +0 -53
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/data-room-structure.md +0 -88
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/deck-blueprint-template.md +0 -39
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/design-tokens-application.md +0 -79
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/html-pdf-pipeline.md +0 -236
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/internal-workings-scrub.md +0 -33
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/termsheet-template.md +0 -88
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/templates/prospectus/index.html +0 -1565
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/templates/prospectus/render-pdf.mjs +0 -91
- package/payload/platform/plugins/venture-studio/skills/investor-data-room/templates/prospectus/term_sheet.html +0 -715
- package/payload/platform/plugins/venture-studio/skills/office-hours/SKILL.md +0 -587
- package/payload/platform/plugins/venture-studio/skills/prototype-host/SKILL.md +0 -179
- package/payload/platform/plugins/venture-studio/skills/prototype-host/references/cloudflared-ingress-edit.md +0 -81
- package/payload/platform/plugins/venture-studio/skills/prototype-host/references/scaffold-frameworks.md +0 -60
- package/payload/platform/plugins/venture-studio/skills/prototype-host/references/systemd-user-service.md +0 -104
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/SKILL.md +0 -336
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/aarrr-metrics.md +0 -275
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/assumption-testing.md +0 -93
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/boolean-search.md +0 -308
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/build-measure-learn.md +0 -262
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/business-model-canvas.md +0 -171
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/commitment-signals.md +0 -246
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/design-thinking.md +0 -183
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/earlyvangelist.md +0 -190
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/first-principles.md +0 -58
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/fishbone.md +0 -114
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/five-whys.md +0 -43
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/ice-scoring.md +0 -237
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/innovation-accounting.md +0 -290
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/jtbd.md +0 -105
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/landing-page.md +0 -361
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/market-type.md +0 -167
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/mom-test.md +0 -193
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/mvp-types.md +0 -200
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/og-images.md +0 -239
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/pareto.md +0 -103
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/persona-development.md +0 -291
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/pivot-types.md +0 -225
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/positioning-statement.md +0 -179
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/prd.md +0 -363
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/pre-mortem.md +0 -74
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/problem-validation.md +0 -253
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/product-market-fit.md +0 -256
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/research-synthesis.md +0 -276
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/three-engines-of-growth.md +0 -248
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/validation-tests.md +0 -89
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/value-proposition-canvas.md +0 -121
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/win-loss-analysis.md +0 -242
- package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/workflow-mapping.md +0 -271
- package/payload/platform/plugins/waitlist/.claude-plugin/plugin.json +0 -17
- package/payload/platform/plugins/waitlist/PLUGIN.md +0 -86
- package/payload/platform/plugins/waitlist/mcp/dist/index.d.ts +0 -2
- package/payload/platform/plugins/waitlist/mcp/dist/index.d.ts.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/index.js +0 -388
- package/payload/platform/plugins/waitlist/mcp/dist/index.js.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/lib/admin-model.d.ts +0 -16
- package/payload/platform/plugins/waitlist/mcp/dist/lib/admin-model.d.ts.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/lib/admin-model.js +0 -58
- package/payload/platform/plugins/waitlist/mcp/dist/lib/admin-model.js.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/lib/embedding.d.ts +0 -3
- package/payload/platform/plugins/waitlist/mcp/dist/lib/embedding.d.ts.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/lib/embedding.js +0 -48
- package/payload/platform/plugins/waitlist/mcp/dist/lib/embedding.js.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/lib/neo4j.d.ts +0 -5
- package/payload/platform/plugins/waitlist/mcp/dist/lib/neo4j.d.ts.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/lib/neo4j.js +0 -40
- package/payload/platform/plugins/waitlist/mcp/dist/lib/neo4j.js.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/__tests__/waitlist-persist.test.d.ts +0 -2
- package/payload/platform/plugins/waitlist/mcp/dist/tools/__tests__/waitlist-persist.test.d.ts.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/__tests__/waitlist-persist.test.js +0 -70
- package/payload/platform/plugins/waitlist/mcp/dist/tools/__tests__/waitlist-persist.test.js.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-extract.d.ts +0 -34
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-extract.d.ts.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-extract.js +0 -129
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-extract.js.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-heal.d.ts +0 -27
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-heal.d.ts.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-heal.js +0 -127
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-heal.js.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-list.d.ts +0 -23
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-list.d.ts.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-list.js +0 -58
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-list.js.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-persist.d.ts +0 -83
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-persist.d.ts.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-persist.js +0 -433
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-persist.js.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-review.d.ts +0 -19
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-review.d.ts.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-review.js +0 -81
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-review.js.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-scan.d.ts +0 -28
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-scan.d.ts.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-scan.js +0 -50
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-scan.js.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-setup.d.ts +0 -33
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-setup.d.ts.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-setup.js +0 -297
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-setup.js.map +0 -1
- package/payload/platform/plugins/waitlist/mcp/package.json +0 -23
- package/payload/platform/plugins/waitlist/mcp/vitest.config.ts +0 -9
- package/payload/platform/plugins/writer-craft/.claude-plugin/plugin.json +0 -8
- package/payload/platform/plugins/writer-craft/PLUGIN.md +0 -88
- package/payload/platform/plugins/writer-craft/agents/writer-craft--manuscript-reviewer.md +0 -92
- package/payload/platform/plugins/writer-craft/skills/citation-style/SKILL.md +0 -94
- package/payload/platform/plugins/writer-craft/skills/citation-style/references/book-and-chapter-models.md +0 -77
- package/payload/platform/plugins/writer-craft/skills/citation-style/references/citation-rules.md +0 -103
- package/payload/platform/plugins/writer-craft/skills/citation-style/references/journal-article-models.md +0 -74
- package/payload/platform/plugins/writer-craft/skills/citation-style/references/other-source-models.md +0 -146
- package/payload/platform/plugins/writer-craft/skills/citation-style/references/reference-list-rules.md +0 -70
- package/payload/platform/plugins/writer-craft/skills/editorial-practice/SKILL.md +0 -108
- package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/copyediting.md +0 -73
- package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/developmental-editing.md +0 -85
- package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/genre-specific-editing.md +0 -78
- package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/line-editing.md +0 -55
- package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/self-editing.md +0 -89
- package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/SKILL.md +0 -114
- package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/audience-analysis.md +0 -73
- package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/crafting-persuasive-story.md +0 -76
- package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/persuasion-case-studies.md +0 -67
- package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/transformation-framework.md +0 -86
- package/payload/platform/plugins/writer-craft/skills/point-of-view/SKILL.md +0 -97
- package/payload/platform/plugins/writer-craft/skills/point-of-view/references/indirect-narration.md +0 -72
- package/payload/platform/plugins/writer-craft/skills/point-of-view/references/pov-types-and-voice.md +0 -91
- package/payload/platform/plugins/writer-craft/skills/point-of-view/references/protagonist-filter.md +0 -71
- package/payload/platform/plugins/writer-craft/skills/point-of-view/references/tense-and-person.md +0 -85
- package/payload/platform/plugins/writer-craft/skills/prose-craft/SKILL.md +0 -100
- package/payload/platform/plugins/writer-craft/skills/prose-craft/references/punctuation-and-grammar.md +0 -72
- package/payload/platform/plugins/writer-craft/skills/prose-craft/references/repetition.md +0 -71
- package/payload/platform/plugins/writer-craft/skills/prose-craft/references/sound-and-rhythm.md +0 -64
- package/payload/platform/plugins/writer-craft/skills/prose-craft/references/word-economy.md +0 -93
- package/payload/platform/plugins/writer-craft/skills/reader-engagement/SKILL.md +0 -100
- package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/cause-effect-setup-payoff.md +0 -79
- package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/conflict-escalation.md +0 -81
- package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/hooking-readers.md +0 -67
- package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/neurochemistry-of-engagement.md +0 -94
- package/payload/platform/plugins/writer-craft/skills/review-manuscript/SKILL.md +0 -111
- package/payload/platform/plugins/writer-craft/skills/review-manuscript/references/review-manuscript-checklist.md +0 -119
- package/payload/platform/plugins/writer-craft/skills/review-prose/SKILL.md +0 -99
- package/payload/platform/plugins/writer-craft/skills/review-prose/references/prose-review-checklist.md +0 -112
- package/payload/platform/plugins/writer-craft/skills/review-scene/SKILL.md +0 -99
- package/payload/platform/plugins/writer-craft/skills/review-scene/references/scene-analysis-framework.md +0 -95
- package/payload/platform/plugins/writer-craft/skills/story-architecture/SKILL.md +0 -106
- package/payload/platform/plugins/writer-craft/skills/story-architecture/references/blueprinting-and-scene-cards.md +0 -118
- package/payload/platform/plugins/writer-craft/skills/story-architecture/references/inner-issue-and-protagonist-goal.md +0 -66
- package/payload/platform/plugins/writer-craft/skills/story-architecture/references/misbelief-desire-worldview.md +0 -87
- package/payload/platform/plugins/writer-craft/skills/story-architecture/references/origin-scenes-and-escalation.md +0 -82
- package/payload/platform/plugins/writer-craft/skills/story-blueprint/SKILL.md +0 -133
- package/payload/platform/plugins/writer-craft/skills/story-blueprint/references/blueprinting-exercises.md +0 -118
- package/payload/platform/plugins/writer-craft/skills/story-blueprint/references/blueprinting-process.md +0 -128
- package/payload/premium-plugins/.claude-plugin/marketplace.json +0 -23
- package/payload/premium-plugins/teaching/.claude-plugin/plugin.json +0 -8
- package/payload/premium-plugins/teaching/PLUGIN.md +0 -58
- package/payload/premium-plugins/teaching/skills/interactive-tutor/SKILL.md +0 -59
- package/payload/premium-plugins/teaching/skills/interactive-tutor/references/assessment.md +0 -70
- package/payload/premium-plugins/teaching/skills/interactive-tutor/references/classroom-conduct.md +0 -43
- package/payload/premium-plugins/teaching/skills/interactive-tutor/references/teaching-modes.md +0 -83
- package/payload/premium-plugins/teaching/skills/lesson-planner/SKILL.md +0 -48
- package/payload/premium-plugins/teaching/skills/lesson-planner/references/context-gathering.md +0 -41
- package/payload/premium-plugins/teaching/skills/lesson-planner/references/plan-structure.md +0 -94
- package/payload/premium-plugins/teaching/skills/study-pack-builder/SKILL.md +0 -52
- package/payload/premium-plugins/teaching/skills/study-pack-builder/references/disaggregation.md +0 -49
- package/payload/premium-plugins/teaching/skills/study-pack-builder/references/materials.md +0 -116
- package/payload/premium-plugins/venture-studio/.claude-plugin/plugin.json +0 -8
- package/payload/premium-plugins/venture-studio/PLUGIN.md +0 -119
- package/payload/premium-plugins/venture-studio/bin/scaffold.sh +0 -116
- package/payload/premium-plugins/venture-studio/skills/brand-pack/SKILL.md +0 -256
- package/payload/premium-plugins/venture-studio/skills/brand-pack/references/color-psychology.md +0 -118
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/SKILL.md +0 -374
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/business-plan-template.md +0 -64
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/compliance-research-checklist.md +0 -53
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/data-room-structure.md +0 -88
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/deck-blueprint-template.md +0 -39
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/design-tokens-application.md +0 -79
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/html-pdf-pipeline.md +0 -236
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/internal-workings-scrub.md +0 -33
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/termsheet-template.md +0 -88
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/templates/prospectus/index.html +0 -1565
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/templates/prospectus/render-pdf.mjs +0 -91
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/templates/prospectus/term_sheet.html +0 -715
- package/payload/premium-plugins/venture-studio/skills/office-hours/SKILL.md +0 -587
- package/payload/premium-plugins/venture-studio/skills/prototype-host/SKILL.md +0 -179
- package/payload/premium-plugins/venture-studio/skills/prototype-host/references/cloudflared-ingress-edit.md +0 -81
- package/payload/premium-plugins/venture-studio/skills/prototype-host/references/scaffold-frameworks.md +0 -60
- package/payload/premium-plugins/venture-studio/skills/prototype-host/references/systemd-user-service.md +0 -104
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/SKILL.md +0 -336
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/aarrr-metrics.md +0 -275
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/assumption-testing.md +0 -93
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/boolean-search.md +0 -308
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/build-measure-learn.md +0 -262
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/business-model-canvas.md +0 -171
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/commitment-signals.md +0 -246
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/design-thinking.md +0 -183
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/earlyvangelist.md +0 -190
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/first-principles.md +0 -58
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/fishbone.md +0 -114
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/five-whys.md +0 -43
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/ice-scoring.md +0 -237
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/innovation-accounting.md +0 -290
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/jtbd.md +0 -105
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/landing-page.md +0 -361
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/market-type.md +0 -167
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/mom-test.md +0 -193
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/mvp-types.md +0 -200
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/og-images.md +0 -239
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/pareto.md +0 -103
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/persona-development.md +0 -291
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/pivot-types.md +0 -225
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/positioning-statement.md +0 -179
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/prd.md +0 -363
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/pre-mortem.md +0 -74
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/problem-validation.md +0 -253
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/product-market-fit.md +0 -256
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/research-synthesis.md +0 -276
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/three-engines-of-growth.md +0 -248
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/validation-tests.md +0 -89
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/value-proposition-canvas.md +0 -121
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/win-loss-analysis.md +0 -242
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/workflow-mapping.md +0 -271
- package/payload/premium-plugins/writer-craft/.claude-plugin/plugin.json +0 -8
- package/payload/premium-plugins/writer-craft/PLUGIN.md +0 -88
- package/payload/premium-plugins/writer-craft/agents/writer-craft--manuscript-reviewer.md +0 -92
- package/payload/premium-plugins/writer-craft/skills/citation-style/SKILL.md +0 -94
- package/payload/premium-plugins/writer-craft/skills/citation-style/references/book-and-chapter-models.md +0 -77
- package/payload/premium-plugins/writer-craft/skills/citation-style/references/citation-rules.md +0 -103
- package/payload/premium-plugins/writer-craft/skills/citation-style/references/journal-article-models.md +0 -74
- package/payload/premium-plugins/writer-craft/skills/citation-style/references/other-source-models.md +0 -146
- package/payload/premium-plugins/writer-craft/skills/citation-style/references/reference-list-rules.md +0 -70
- package/payload/premium-plugins/writer-craft/skills/editorial-practice/SKILL.md +0 -108
- package/payload/premium-plugins/writer-craft/skills/editorial-practice/references/copyediting.md +0 -73
- package/payload/premium-plugins/writer-craft/skills/editorial-practice/references/developmental-editing.md +0 -85
- package/payload/premium-plugins/writer-craft/skills/editorial-practice/references/genre-specific-editing.md +0 -78
- package/payload/premium-plugins/writer-craft/skills/editorial-practice/references/line-editing.md +0 -55
- package/payload/premium-plugins/writer-craft/skills/editorial-practice/references/self-editing.md +0 -89
- package/payload/premium-plugins/writer-craft/skills/persuasive-storytelling/SKILL.md +0 -114
- package/payload/premium-plugins/writer-craft/skills/persuasive-storytelling/references/audience-analysis.md +0 -73
- package/payload/premium-plugins/writer-craft/skills/persuasive-storytelling/references/crafting-persuasive-story.md +0 -76
- package/payload/premium-plugins/writer-craft/skills/persuasive-storytelling/references/persuasion-case-studies.md +0 -67
- package/payload/premium-plugins/writer-craft/skills/persuasive-storytelling/references/transformation-framework.md +0 -86
- package/payload/premium-plugins/writer-craft/skills/point-of-view/SKILL.md +0 -97
- package/payload/premium-plugins/writer-craft/skills/point-of-view/references/indirect-narration.md +0 -72
- package/payload/premium-plugins/writer-craft/skills/point-of-view/references/pov-types-and-voice.md +0 -91
- package/payload/premium-plugins/writer-craft/skills/point-of-view/references/protagonist-filter.md +0 -71
- package/payload/premium-plugins/writer-craft/skills/point-of-view/references/tense-and-person.md +0 -85
- package/payload/premium-plugins/writer-craft/skills/prose-craft/SKILL.md +0 -100
- package/payload/premium-plugins/writer-craft/skills/prose-craft/references/punctuation-and-grammar.md +0 -72
- package/payload/premium-plugins/writer-craft/skills/prose-craft/references/repetition.md +0 -71
- package/payload/premium-plugins/writer-craft/skills/prose-craft/references/sound-and-rhythm.md +0 -64
- package/payload/premium-plugins/writer-craft/skills/prose-craft/references/word-economy.md +0 -93
- package/payload/premium-plugins/writer-craft/skills/reader-engagement/SKILL.md +0 -100
- package/payload/premium-plugins/writer-craft/skills/reader-engagement/references/cause-effect-setup-payoff.md +0 -79
- package/payload/premium-plugins/writer-craft/skills/reader-engagement/references/conflict-escalation.md +0 -81
- package/payload/premium-plugins/writer-craft/skills/reader-engagement/references/hooking-readers.md +0 -67
- package/payload/premium-plugins/writer-craft/skills/reader-engagement/references/neurochemistry-of-engagement.md +0 -94
- package/payload/premium-plugins/writer-craft/skills/review-manuscript/SKILL.md +0 -111
- package/payload/premium-plugins/writer-craft/skills/review-manuscript/references/review-manuscript-checklist.md +0 -119
- package/payload/premium-plugins/writer-craft/skills/review-prose/SKILL.md +0 -99
- package/payload/premium-plugins/writer-craft/skills/review-prose/references/prose-review-checklist.md +0 -112
- package/payload/premium-plugins/writer-craft/skills/review-scene/SKILL.md +0 -99
- package/payload/premium-plugins/writer-craft/skills/review-scene/references/scene-analysis-framework.md +0 -95
- package/payload/premium-plugins/writer-craft/skills/story-architecture/SKILL.md +0 -106
- package/payload/premium-plugins/writer-craft/skills/story-architecture/references/blueprinting-and-scene-cards.md +0 -118
- package/payload/premium-plugins/writer-craft/skills/story-architecture/references/inner-issue-and-protagonist-goal.md +0 -66
- package/payload/premium-plugins/writer-craft/skills/story-architecture/references/misbelief-desire-worldview.md +0 -87
- package/payload/premium-plugins/writer-craft/skills/story-architecture/references/origin-scenes-and-escalation.md +0 -82
- package/payload/premium-plugins/writer-craft/skills/story-blueprint/SKILL.md +0 -133
- package/payload/premium-plugins/writer-craft/skills/story-blueprint/references/blueprinting-exercises.md +0 -118
- package/payload/premium-plugins/writer-craft/skills/story-blueprint/references/blueprinting-process.md +0 -128
- package/payload/server/public/assets/channel-CrSx5mnG.js +0 -1
- package/payload/server/public/assets/classDiagram-6PBFFD2Q-C3IDJsqN.js +0 -1
- package/payload/server/public/assets/classDiagram-v2-HSJHXN6E-BOIrJ5Zb.js +0 -1
- package/payload/server/public/assets/clone-P8Fkz7JD.js +0 -1
- package/payload/server/public/assets/data-DRfwJPja.js +0 -1
- package/payload/server/public/assets/graph-B4FFYwus.js +0 -1
- package/payload/server/public/assets/graph-labels-Cpk9Ktt0.js +0 -1
- package/payload/server/public/assets/lib--yuBd0Xi.js +0 -33
- package/payload/server/public/assets/stateDiagram-v2-QKLJ7IA2-C5JejhQU.js +0 -1
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Scan public agent conversations for waitlist extraction.
|
|
3
|
-
*
|
|
4
|
-
* Queries all public conversations and returns structured JSON
|
|
5
|
-
* containing conversation IDs and user messages. This output
|
|
6
|
-
* feeds an LLM extraction step (via a workflow) that identifies
|
|
7
|
-
* contact details and discovery intelligence.
|
|
8
|
-
*
|
|
9
|
-
* NEO4J
|
|
10
|
-
* │
|
|
11
|
-
* ├─ Conversation {agentType: 'public'}
|
|
12
|
-
* │ └─ Message {role: 'user'} (ordered by createdAt)
|
|
13
|
-
* │
|
|
14
|
-
* v
|
|
15
|
-
* STRUCTURED JSON
|
|
16
|
-
* { conversations: [{ conversationId, messages, createdAt }] }
|
|
17
|
-
*/
|
|
18
|
-
export interface ConversationTranscript {
|
|
19
|
-
conversationId: string;
|
|
20
|
-
messages: string[];
|
|
21
|
-
createdAt: string | null;
|
|
22
|
-
}
|
|
23
|
-
export interface WaitlistScanResult {
|
|
24
|
-
conversations: ConversationTranscript[];
|
|
25
|
-
totalMessages: number;
|
|
26
|
-
}
|
|
27
|
-
export declare function waitlistScan(accountId: string): Promise<WaitlistScanResult>;
|
|
28
|
-
//# sourceMappingURL=waitlist-scan.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"waitlist-scan.d.ts","sourceRoot":"","sources":["../../src/tools/waitlist-scan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,MAAM,WAAW,sBAAsB;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,kBAAkB;IACjC,aAAa,EAAE,sBAAsB,EAAE,CAAC;IACxC,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,wBAAsB,YAAY,CAChC,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,kBAAkB,CAAC,CAmC7B"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Scan public agent conversations for waitlist extraction.
|
|
3
|
-
*
|
|
4
|
-
* Queries all public conversations and returns structured JSON
|
|
5
|
-
* containing conversation IDs and user messages. This output
|
|
6
|
-
* feeds an LLM extraction step (via a workflow) that identifies
|
|
7
|
-
* contact details and discovery intelligence.
|
|
8
|
-
*
|
|
9
|
-
* NEO4J
|
|
10
|
-
* │
|
|
11
|
-
* ├─ Conversation {agentType: 'public'}
|
|
12
|
-
* │ └─ Message {role: 'user'} (ordered by createdAt)
|
|
13
|
-
* │
|
|
14
|
-
* v
|
|
15
|
-
* STRUCTURED JSON
|
|
16
|
-
* { conversations: [{ conversationId, messages, createdAt }] }
|
|
17
|
-
*/
|
|
18
|
-
import { getSession } from "../lib/neo4j.js";
|
|
19
|
-
export async function waitlistScan(accountId) {
|
|
20
|
-
const session = getSession();
|
|
21
|
-
try {
|
|
22
|
-
const result = await session.run(`MATCH (c:Conversation {agentType: 'public', accountId: $accountId})
|
|
23
|
-
<-[:PART_OF]-(m:Message {role: 'user'})
|
|
24
|
-
WITH c, m ORDER BY m.createdAt ASC
|
|
25
|
-
RETURN c.conversationId AS conversationId,
|
|
26
|
-
collect(m.content) AS messages,
|
|
27
|
-
c.createdAt AS createdAt
|
|
28
|
-
ORDER BY createdAt ASC`, { accountId });
|
|
29
|
-
const conversations = result.records.map((r) => ({
|
|
30
|
-
conversationId: r.get("conversationId"),
|
|
31
|
-
messages: r.get("messages"),
|
|
32
|
-
createdAt: (() => {
|
|
33
|
-
const val = r.get("createdAt");
|
|
34
|
-
if (!val)
|
|
35
|
-
return null;
|
|
36
|
-
if (typeof val === "string")
|
|
37
|
-
return val;
|
|
38
|
-
if (typeof val.toString === "function")
|
|
39
|
-
return val.toString();
|
|
40
|
-
return null;
|
|
41
|
-
})(),
|
|
42
|
-
}));
|
|
43
|
-
const totalMessages = conversations.reduce((sum, c) => sum + c.messages.length, 0);
|
|
44
|
-
return { conversations, totalMessages };
|
|
45
|
-
}
|
|
46
|
-
finally {
|
|
47
|
-
await session.close();
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=waitlist-scan.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"waitlist-scan.js","sourceRoot":"","sources":["../../src/tools/waitlist-scan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAa7C,MAAM,CAAC,KAAK,UAAU,YAAY,CAChC,SAAiB;IAEjB,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAC7B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,GAAG,CAC9B;;;;;;8BAMwB,EACxB,EAAE,SAAS,EAAE,CACd,CAAC;QAEF,MAAM,aAAa,GAA6B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACzE,cAAc,EAAE,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAW;YACjD,QAAQ,EAAE,CAAC,CAAC,GAAG,CAAC,UAAU,CAAa;YACvC,SAAS,EAAE,CAAC,GAAG,EAAE;gBACf,MAAM,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;gBAC/B,IAAI,CAAC,GAAG;oBAAE,OAAO,IAAI,CAAC;gBACtB,IAAI,OAAO,GAAG,KAAK,QAAQ;oBAAE,OAAO,GAAG,CAAC;gBACxC,IAAI,OAAO,GAAG,CAAC,QAAQ,KAAK,UAAU;oBAAE,OAAO,GAAG,CAAC,QAAQ,EAAE,CAAC;gBAC9D,OAAO,IAAI,CAAC;YACd,CAAC,CAAC,EAAE;SACL,CAAC,CAAC,CAAC;QAEJ,MAAM,aAAa,GAAG,aAAa,CAAC,MAAM,CACxC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,QAAQ,CAAC,MAAM,EACnC,CAAC,CACF,CAAC;QAEF,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC;IAC1C,CAAC;YAAS,CAAC;QACT,MAAM,OAAO,CAAC,KAAK,EAAE,CAAC;IACxB,CAAC;AACH,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Set up automatic waitlist extraction as a workflow.
|
|
3
|
-
*
|
|
4
|
-
* Creates:
|
|
5
|
-
* 1. A Workflow node with 3 steps (scan → LLM extract → persist)
|
|
6
|
-
* 2. A scheduled Event that dispatches workflow-execute at the
|
|
7
|
-
* specified interval
|
|
8
|
-
*
|
|
9
|
-
* The extraction prompt is stored in the LLM step and is visible
|
|
10
|
-
* via workflow-get and editable via workflow-update. The user can
|
|
11
|
-
* change what fields are extracted, adjust the model, or modify
|
|
12
|
-
* the prompt — all through conversation.
|
|
13
|
-
*
|
|
14
|
-
* Idempotent: if the workflow already exists, returns its details.
|
|
15
|
-
* Cleans up old-style events that pointed at the removed
|
|
16
|
-
* waitlist-extract tool.
|
|
17
|
-
*/
|
|
18
|
-
import { type CreatedBy } from "../../../../../lib/graph-write/dist/index.js";
|
|
19
|
-
export interface WaitlistSetupParams {
|
|
20
|
-
accountId: string;
|
|
21
|
-
recurrence?: string;
|
|
22
|
-
timezone?: string;
|
|
23
|
-
createdBy: CreatedBy;
|
|
24
|
-
}
|
|
25
|
-
export interface WaitlistSetupResult {
|
|
26
|
-
workflowId: string;
|
|
27
|
-
eventId: string;
|
|
28
|
-
recurrence: string;
|
|
29
|
-
nextRun: string;
|
|
30
|
-
alreadyExists: boolean;
|
|
31
|
-
}
|
|
32
|
-
export declare function waitlistSetup(params: WaitlistSetupParams): Promise<WaitlistSetupResult>;
|
|
33
|
-
//# sourceMappingURL=waitlist-setup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"waitlist-setup.d.ts","sourceRoot":"","sources":["../../src/tools/waitlist-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAMH,OAAO,EAGL,KAAK,SAAS,EACf,MAAM,8CAA8C,CAAC;AActD,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;CACxB;AAMD,wBAAsB,aAAa,CACjC,MAAM,EAAE,mBAAmB,GAC1B,OAAO,CAAC,mBAAmB,CAAC,CA0O9B"}
|
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Set up automatic waitlist extraction as a workflow.
|
|
3
|
-
*
|
|
4
|
-
* Creates:
|
|
5
|
-
* 1. A Workflow node with 3 steps (scan → LLM extract → persist)
|
|
6
|
-
* 2. A scheduled Event that dispatches workflow-execute at the
|
|
7
|
-
* specified interval
|
|
8
|
-
*
|
|
9
|
-
* The extraction prompt is stored in the LLM step and is visible
|
|
10
|
-
* via workflow-get and editable via workflow-update. The user can
|
|
11
|
-
* change what fields are extracted, adjust the model, or modify
|
|
12
|
-
* the prompt — all through conversation.
|
|
13
|
-
*
|
|
14
|
-
* Idempotent: if the workflow already exists, returns its details.
|
|
15
|
-
* Cleans up old-style events that pointed at the removed
|
|
16
|
-
* waitlist-extract tool.
|
|
17
|
-
*/
|
|
18
|
-
import { randomUUID } from "node:crypto";
|
|
19
|
-
import { getSession } from "../lib/neo4j.js";
|
|
20
|
-
import { computeEmbedding } from "../lib/embedding.js";
|
|
21
|
-
import { healLegacyLlmStep, WORKFLOW_NAME } from "./waitlist-heal.js";
|
|
22
|
-
import { writeNodeWithEdges, } from "../../../../../lib/graph-write/dist/index.js";
|
|
23
|
-
import cronParser from "cron-parser";
|
|
24
|
-
const { parseExpression } = cronParser;
|
|
25
|
-
// ---------------------------------------------------------------------------
|
|
26
|
-
// Constants
|
|
27
|
-
// ---------------------------------------------------------------------------
|
|
28
|
-
const DEFAULT_RECURRENCE = "0 */4 * * *"; // Every 4 hours
|
|
29
|
-
// ---------------------------------------------------------------------------
|
|
30
|
-
// Main
|
|
31
|
-
// ---------------------------------------------------------------------------
|
|
32
|
-
export async function waitlistSetup(params) {
|
|
33
|
-
const { accountId, timezone, createdBy } = params;
|
|
34
|
-
const recurrence = params.recurrence ?? DEFAULT_RECURRENCE;
|
|
35
|
-
// Resolution-trace line: accountId always comes from env (ACCOUNT_ID set by
|
|
36
|
-
// the MCP spawner); the Zod schema does not accept accountId as arg.
|
|
37
|
-
// getSession() triggers driver init first, which throws if
|
|
38
|
-
// NEO4J_URI is unset — the log below therefore only ever prints a validated
|
|
39
|
-
// URI, never `undefined`.
|
|
40
|
-
const session = getSession();
|
|
41
|
-
console.error(`[waitlist-setup] resolved accountId=${accountId} source=env neo4j_uri=${process.env.NEO4J_URI}`);
|
|
42
|
-
try {
|
|
43
|
-
// ------------------------------------------------------------------
|
|
44
|
-
// Clean up old-style events (actionTool: waitlist-extract)
|
|
45
|
-
// These pointed at the removed bespoke extraction tool.
|
|
46
|
-
// ------------------------------------------------------------------
|
|
47
|
-
await session.run(`MATCH (e:Event {
|
|
48
|
-
accountId: $accountId,
|
|
49
|
-
actionPlugin: 'waitlist',
|
|
50
|
-
actionTool: 'waitlist-extract'
|
|
51
|
-
})
|
|
52
|
-
DELETE e`, { accountId });
|
|
53
|
-
// ------------------------------------------------------------------
|
|
54
|
-
// Check for existing workflow
|
|
55
|
-
// ------------------------------------------------------------------
|
|
56
|
-
const existingResult = await session.run(`MATCH (w:Workflow {accountId: $accountId, name: $name})
|
|
57
|
-
WHERE w.status IN ['active', 'draft']
|
|
58
|
-
OPTIONAL MATCH (e:Event {
|
|
59
|
-
accountId: $accountId,
|
|
60
|
-
actionPlugin: 'workflows',
|
|
61
|
-
actionTool: 'workflow-execute'
|
|
62
|
-
})
|
|
63
|
-
WHERE e.eventStatus IN ['scheduled', 'due']
|
|
64
|
-
AND e.actionArgs CONTAINS w.workflowId
|
|
65
|
-
RETURN w.workflowId AS workflowId,
|
|
66
|
-
e.eventId AS eventId,
|
|
67
|
-
e.recurrence AS recurrence,
|
|
68
|
-
e.nextRun AS nextRun
|
|
69
|
-
LIMIT 1`, { accountId, name: WORKFLOW_NAME });
|
|
70
|
-
if (existingResult.records.length > 0) {
|
|
71
|
-
const existing = existingResult.records[0];
|
|
72
|
-
const workflowId = existing.get("workflowId");
|
|
73
|
-
const eventId = existing.get("eventId");
|
|
74
|
-
// Self-healing: migrate any legacy LLM-typed extraction step to the
|
|
75
|
-
// new `waitlist-extract` tool step. Idempotent — no-op when the
|
|
76
|
-
// workflow already has the tool-step shape.
|
|
77
|
-
await healLegacyLlmStep(session, workflowId, accountId);
|
|
78
|
-
// Workflow exists but no event — create one
|
|
79
|
-
if (!eventId) {
|
|
80
|
-
const newEventResult = await createScheduledEvent(session, accountId, workflowId, recurrence, timezone, createdBy);
|
|
81
|
-
return {
|
|
82
|
-
workflowId,
|
|
83
|
-
eventId: newEventResult.eventId,
|
|
84
|
-
recurrence,
|
|
85
|
-
nextRun: newEventResult.nextRun,
|
|
86
|
-
alreadyExists: true,
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
return {
|
|
90
|
-
workflowId,
|
|
91
|
-
eventId,
|
|
92
|
-
recurrence: existing.get("recurrence"),
|
|
93
|
-
nextRun: existing.get("nextRun"),
|
|
94
|
-
alreadyExists: true,
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
// ------------------------------------------------------------------
|
|
98
|
-
// Create workflow with 3 steps
|
|
99
|
-
// ------------------------------------------------------------------
|
|
100
|
-
const workflowId = randomUUID();
|
|
101
|
-
const now = new Date().toISOString();
|
|
102
|
-
// Compute embedding for workflow discovery
|
|
103
|
-
const embeddingText = `${WORKFLOW_NAME} — scans public conversations for waitlist sign-ups, extracts contact details and discovery intelligence via LLM`;
|
|
104
|
-
const embedding = await computeEmbedding(embeddingText);
|
|
105
|
-
const workflowProps = {
|
|
106
|
-
workflowId,
|
|
107
|
-
accountId,
|
|
108
|
-
name: WORKFLOW_NAME,
|
|
109
|
-
description: "Scans public agent conversations, extracts contact details and customer discovery intelligence " +
|
|
110
|
-
"via the waitlist-extract tool, and creates Person nodes idempotently. The extraction prompt " +
|
|
111
|
-
"lives in the waitlist-extract tool source — redeploy the waitlist plugin to change behaviour.",
|
|
112
|
-
status: "active",
|
|
113
|
-
createdAt: now,
|
|
114
|
-
updatedAt: now,
|
|
115
|
-
};
|
|
116
|
-
if (embedding.length > 0) {
|
|
117
|
-
workflowProps.embedding = embedding;
|
|
118
|
-
}
|
|
119
|
-
// MERGE on {accountId, name} prevents duplicate workflows when the
|
|
120
|
-
// heartbeat reconciliation and an admin session call setup concurrently.
|
|
121
|
-
// Returns the actual workflowId — may differ from the local one if
|
|
122
|
-
// another caller created the node first.
|
|
123
|
-
const mergeResult = await session.run(`MERGE (w:Workflow {accountId: $accountId, name: $name})
|
|
124
|
-
ON CREATE SET w += $props
|
|
125
|
-
RETURN w.workflowId AS workflowId`, { accountId, name: WORKFLOW_NAME, props: workflowProps });
|
|
126
|
-
const actualWorkflowId = mergeResult.records[0]?.get("workflowId");
|
|
127
|
-
if (actualWorkflowId !== workflowId) {
|
|
128
|
-
// Race: another caller created the workflow concurrently.
|
|
129
|
-
// Return early — next cycle's existence check handles Event creation.
|
|
130
|
-
const eventResult = await createScheduledEvent(session, accountId, actualWorkflowId, recurrence, timezone, createdBy);
|
|
131
|
-
return {
|
|
132
|
-
workflowId: actualWorkflowId,
|
|
133
|
-
eventId: eventResult.eventId,
|
|
134
|
-
recurrence,
|
|
135
|
-
nextRun: eventResult.nextRun,
|
|
136
|
-
alreadyExists: true,
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
// Step 1: Scan public conversations
|
|
140
|
-
const step1Id = randomUUID();
|
|
141
|
-
await session.run(`MATCH (w:Workflow {workflowId: $workflowId})
|
|
142
|
-
CREATE (w)-[:HAS_STEP]->(s:WorkflowStep $props)`, {
|
|
143
|
-
workflowId,
|
|
144
|
-
props: {
|
|
145
|
-
stepId: step1Id,
|
|
146
|
-
workflowId,
|
|
147
|
-
accountId,
|
|
148
|
-
type: "tool",
|
|
149
|
-
plugin: "waitlist",
|
|
150
|
-
tool: "waitlist-scan",
|
|
151
|
-
params: null,
|
|
152
|
-
dependsOn: null,
|
|
153
|
-
onFailure: "abort",
|
|
154
|
-
retryLimit: null,
|
|
155
|
-
outputKey: "conversations",
|
|
156
|
-
timeout: 30,
|
|
157
|
-
position: 0,
|
|
158
|
-
label: "Scan public conversations",
|
|
159
|
-
},
|
|
160
|
-
});
|
|
161
|
-
// Step 2: Extract contacts via the waitlist-extract tool (LLM-backed)
|
|
162
|
-
const step2Id = randomUUID();
|
|
163
|
-
await session.run(`MATCH (w:Workflow {workflowId: $workflowId})
|
|
164
|
-
CREATE (w)-[:HAS_STEP]->(s:WorkflowStep $props)`, {
|
|
165
|
-
workflowId,
|
|
166
|
-
props: {
|
|
167
|
-
stepId: step2Id,
|
|
168
|
-
workflowId,
|
|
169
|
-
accountId,
|
|
170
|
-
type: "tool",
|
|
171
|
-
plugin: "waitlist",
|
|
172
|
-
tool: "waitlist-extract",
|
|
173
|
-
params: JSON.stringify({
|
|
174
|
-
conversations: "{{conversations}}",
|
|
175
|
-
}),
|
|
176
|
-
dependsOn: JSON.stringify([step1Id]),
|
|
177
|
-
onFailure: "abort",
|
|
178
|
-
retryLimit: null,
|
|
179
|
-
outputKey: "extractions",
|
|
180
|
-
timeout: 120,
|
|
181
|
-
position: 1,
|
|
182
|
-
label: "Extract contacts and discovery intelligence",
|
|
183
|
-
},
|
|
184
|
-
});
|
|
185
|
-
// Step 3: Persist extraction results
|
|
186
|
-
await session.run(`MATCH (w:Workflow {workflowId: $workflowId})
|
|
187
|
-
CREATE (w)-[:HAS_STEP]->(s:WorkflowStep $props)`, {
|
|
188
|
-
workflowId,
|
|
189
|
-
props: {
|
|
190
|
-
stepId: randomUUID(),
|
|
191
|
-
workflowId,
|
|
192
|
-
accountId,
|
|
193
|
-
type: "tool",
|
|
194
|
-
plugin: "waitlist",
|
|
195
|
-
tool: "waitlist-persist",
|
|
196
|
-
params: JSON.stringify({
|
|
197
|
-
extractions: "{{extractions}}",
|
|
198
|
-
conversations: "{{conversations}}",
|
|
199
|
-
}),
|
|
200
|
-
dependsOn: JSON.stringify([step2Id]),
|
|
201
|
-
onFailure: "abort",
|
|
202
|
-
retryLimit: null,
|
|
203
|
-
outputKey: "results",
|
|
204
|
-
timeout: 60,
|
|
205
|
-
position: 2,
|
|
206
|
-
label: "Create/update Person nodes from extractions",
|
|
207
|
-
},
|
|
208
|
-
});
|
|
209
|
-
// ------------------------------------------------------------------
|
|
210
|
-
// Create scheduled event
|
|
211
|
-
// ------------------------------------------------------------------
|
|
212
|
-
const eventResult = await createScheduledEvent(session, accountId, workflowId, recurrence, timezone, createdBy);
|
|
213
|
-
return {
|
|
214
|
-
workflowId,
|
|
215
|
-
eventId: eventResult.eventId,
|
|
216
|
-
recurrence,
|
|
217
|
-
nextRun: eventResult.nextRun,
|
|
218
|
-
alreadyExists: false,
|
|
219
|
-
};
|
|
220
|
-
}
|
|
221
|
-
finally {
|
|
222
|
-
await session.close();
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
// ---------------------------------------------------------------------------
|
|
226
|
-
// Event creation helper
|
|
227
|
-
// ---------------------------------------------------------------------------
|
|
228
|
-
async function createScheduledEvent(session, accountId, workflowId, recurrence, timezone, createdBy) {
|
|
229
|
-
// Validate cron expression and compute nextRun
|
|
230
|
-
let nextRun;
|
|
231
|
-
try {
|
|
232
|
-
const interval = parseExpression(recurrence, {
|
|
233
|
-
currentDate: new Date(),
|
|
234
|
-
tz: timezone,
|
|
235
|
-
});
|
|
236
|
-
nextRun = interval.next().toISOString();
|
|
237
|
-
}
|
|
238
|
-
catch (err) {
|
|
239
|
-
throw new Error(`Invalid recurrence expression: "${recurrence}" — ${err instanceof Error ? err.message : String(err)}`);
|
|
240
|
-
}
|
|
241
|
-
const eventId = randomUUID();
|
|
242
|
-
const now = new Date().toISOString();
|
|
243
|
-
const props = {
|
|
244
|
-
eventId,
|
|
245
|
-
accountId,
|
|
246
|
-
name: "Waitlist lead extraction",
|
|
247
|
-
description: "Executes the waitlist extraction workflow on schedule",
|
|
248
|
-
startDate: now,
|
|
249
|
-
eventStatus: "scheduled",
|
|
250
|
-
recurrence,
|
|
251
|
-
nextRun,
|
|
252
|
-
sourcePlugin: "waitlist",
|
|
253
|
-
actionPlugin: "workflows",
|
|
254
|
-
actionTool: "workflow-execute",
|
|
255
|
-
actionArgs: JSON.stringify({
|
|
256
|
-
workflowId,
|
|
257
|
-
trigger: "schedule",
|
|
258
|
-
}),
|
|
259
|
-
createdAt: now,
|
|
260
|
-
updatedAt: now,
|
|
261
|
-
};
|
|
262
|
-
if (timezone) {
|
|
263
|
-
props.timezone = timezone;
|
|
264
|
-
}
|
|
265
|
-
// Compute embedding for event discoverability
|
|
266
|
-
const embeddingText = "Event: Waitlist lead extraction — runs workflow to scan public conversations for sign-ups";
|
|
267
|
-
const embedding = await computeEmbedding(embeddingText);
|
|
268
|
-
if (embedding.length > 0) {
|
|
269
|
-
props.embedding = embedding;
|
|
270
|
-
}
|
|
271
|
-
// Write doctrine: the Event must be created with
|
|
272
|
-
// at least one adjacency in the same transaction. The Event exists to
|
|
273
|
-
// trigger the Workflow it references via actionArgs — that's the
|
|
274
|
-
// semantic link. Pre-resolve the Workflow elementId; if missing, the
|
|
275
|
-
// Workflow was deleted concurrently and there's nothing to schedule.
|
|
276
|
-
const wfResult = await session.run(`MATCH (w:Workflow {workflowId: $workflowId, accountId: $accountId})
|
|
277
|
-
RETURN elementId(w) AS id LIMIT 1`, { workflowId, accountId });
|
|
278
|
-
if (wfResult.records.length === 0) {
|
|
279
|
-
throw new Error(`Write doctrine violated: cannot schedule Event — target Workflow ${workflowId} not found.`);
|
|
280
|
-
}
|
|
281
|
-
const relationships = [
|
|
282
|
-
{
|
|
283
|
-
type: "ABOUT",
|
|
284
|
-
direction: "outgoing",
|
|
285
|
-
targetNodeId: wfResult.records[0].get("id"),
|
|
286
|
-
},
|
|
287
|
-
];
|
|
288
|
-
await writeNodeWithEdges({
|
|
289
|
-
session,
|
|
290
|
-
labels: ["Event"],
|
|
291
|
-
props,
|
|
292
|
-
relationships,
|
|
293
|
-
createdBy,
|
|
294
|
-
});
|
|
295
|
-
return { eventId, nextRun };
|
|
296
|
-
}
|
|
297
|
-
//# sourceMappingURL=waitlist-setup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"waitlist-setup.js","sourceRoot":"","sources":["../../src/tools/waitlist-setup.ts"],"names":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AO,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAW;SACtD;KACF,CAAC;IAEF,MAAM,kBAAkB,CAAC;QACvB,OAAO;QACP,MAAM,EAAE,CAAC,OAAO,CAAC;QACjB,KAAK;QACL,aAAa;QACb,SAAS;KACV,CAAC,CAAC;IAEH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AAC9B,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@maxy/waitlist",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "tsc",
|
|
9
|
-
"start": "node dist/index.js",
|
|
10
|
-
"test": "vitest run"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
14
|
-
"cron-parser": "^4.9.0",
|
|
15
|
-
"neo4j-driver": "^5.28.1",
|
|
16
|
-
"zod": "^3.24.0"
|
|
17
|
-
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"typescript": "^5.7.0",
|
|
20
|
-
"@types/node": "^22.0.0",
|
|
21
|
-
"vitest": "^4.1.2"
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "writer-craft",
|
|
3
|
-
"description": "Manuscript review and writing craft tools grounded in neuroscience-based story theory, professional editing practice, and prose technique. 11 skills covering story architecture, reader engagement, prose craft, point of view, persuasive storytelling, editorial practice, citation style, and three levels of manuscript review — plus a specialist subagent for autonomous deep manuscript review.",
|
|
4
|
-
"version": "0.1.0",
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "Rubytech LLC"
|
|
7
|
-
}
|
|
8
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: writer-craft
|
|
3
|
-
description: "Manuscript review and writing craft tools grounded in neuroscience-based story theory, professional editing practice, and prose technique. 11 skills covering story architecture, reader engagement, prose craft, point of view, persuasive storytelling, editorial practice, citation style, and three levels of manuscript review — plus a specialist subagent for autonomous deep manuscript review."
|
|
4
|
-
icon: ✍️
|
|
5
|
-
tools: []
|
|
6
|
-
always: false
|
|
7
|
-
metadata: {"platform":{"optional":true,"pluginKey":"writer-craft","embed":["admin"]}}
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Writer Craft
|
|
11
|
-
|
|
12
|
-
11 specialist skills for writers, editors, and anyone working with narrative. Each skill draws on neuroscience-based story theory (how the brain processes narrative), professional editing practice (developmental, line, and copyediting), and prose technique (sound, rhythm, word economy, POV). One specialist subagent performs autonomous deep manuscript review.
|
|
13
|
-
|
|
14
|
-
## When to Activate
|
|
15
|
-
|
|
16
|
-
The user is:
|
|
17
|
-
- Writing fiction or nonfiction and wants craft-level guidance
|
|
18
|
-
- Reviewing or editing a manuscript, chapter, scene, or passage
|
|
19
|
-
- Building a story from scratch using blueprinting methodology
|
|
20
|
-
- Working on persuasive writing, speeches, or advocacy storytelling
|
|
21
|
-
- Formatting citations and references in Chicago author-date style
|
|
22
|
-
- Seeking feedback on prose quality, POV consistency, or reader engagement
|
|
23
|
-
|
|
24
|
-
## Skills
|
|
25
|
-
|
|
26
|
-
### Story & Structure
|
|
27
|
-
|
|
28
|
-
| Skill | Purpose |
|
|
29
|
-
|-------|---------|
|
|
30
|
-
| `story-architecture` | Build and analyze internal story architecture: misbelief, desire, third rail, worldview, origin scenes, scene cards |
|
|
31
|
-
| `story-blueprint` | Walk a writer interactively through building a story from the inside out using the Story Genius blueprinting method |
|
|
32
|
-
| `reader-engagement` | Analyze and teach reader engagement: hooking from page one, urgency, cause-and-effect, setup-payoff, conflict escalation |
|
|
33
|
-
|
|
34
|
-
### Prose & Voice
|
|
35
|
-
|
|
36
|
-
| Skill | Purpose |
|
|
37
|
-
|-------|---------|
|
|
38
|
-
| `prose-craft` | Review and teach prose technique: sound and rhythm, sentence variety, punctuation, repetition, word economy, crowding and leaping |
|
|
39
|
-
| `point-of-view` | Guide point of view, narrative voice, tense, person, and indirect narration |
|
|
40
|
-
| `persuasive-storytelling` | Guide persuasive storytelling for nonfiction, speeches, marketing, and advocacy |
|
|
41
|
-
|
|
42
|
-
### Editing & Reference
|
|
43
|
-
|
|
44
|
-
| Skill | Purpose |
|
|
45
|
-
|-------|---------|
|
|
46
|
-
| `editorial-practice` | Guide professional editing methods: developmental editing, line editing, copyediting, self-editing, genre-specific considerations |
|
|
47
|
-
| `citation-style` | Guide Chicago author-date citation and reference formatting per the Chicago Manual of Style (17th edition) |
|
|
48
|
-
|
|
49
|
-
### Review
|
|
50
|
-
|
|
51
|
-
| Skill | Purpose |
|
|
52
|
-
|-------|---------|
|
|
53
|
-
| `review-manuscript` | Comprehensive multi-level review covering story architecture, reader engagement, prose craft, and editorial quality |
|
|
54
|
-
| `review-scene` | Deep analysis of a single scene against scene card criteria, engagement principles, and prose craft standards |
|
|
55
|
-
| `review-prose` | Prose-level review analyzing sound, rhythm, sentence variety, POV consistency, word economy, and crowding/leaping balance |
|
|
56
|
-
|
|
57
|
-
## Specialist Agent
|
|
58
|
-
|
|
59
|
-
| Agent | Purpose |
|
|
60
|
-
|-------|---------|
|
|
61
|
-
| `writer-craft--manuscript-reviewer` | Autonomous deep manuscript reviewer — reads a full manuscript or chapter and produces a structured report with inline observations and summary |
|
|
62
|
-
|
|
63
|
-
The manuscript-reviewer agent operates in its own context window with file tools (Read, Glob, Grep, Write), allowing it to work through full manuscripts autonomously. Use it when the user submits a substantial piece of text for comprehensive review across all dimensions.
|
|
64
|
-
|
|
65
|
-
## Tools Used
|
|
66
|
-
|
|
67
|
-
No MCP server. Skills operate via existing platform tools:
|
|
68
|
-
- `memory-search` — retrieve writing-related content from the knowledge base
|
|
69
|
-
|
|
70
|
-
Structured choices are presented as numbered lists in plain chat — the platform has no inline-UI component primitive on the admin / native-CC surface.
|
|
71
|
-
|
|
72
|
-
## References
|
|
73
|
-
|
|
74
|
-
Domain knowledge files loaded on demand by each skill. See individual skill files for their specific reference listings.
|
|
75
|
-
|
|
76
|
-
| Skill | References |
|
|
77
|
-
|-------|-----------|
|
|
78
|
-
| `story-architecture` | `misbelief-desire-worldview.md`, `blueprinting-and-scene-cards.md`, `origin-scenes-and-escalation.md`, `inner-issue-and-protagonist-goal.md` |
|
|
79
|
-
| `story-blueprint` | `blueprinting-process.md`, `blueprinting-exercises.md` |
|
|
80
|
-
| `prose-craft` | `sound-and-rhythm.md`, `word-economy.md`, `punctuation-and-grammar.md`, `repetition.md` |
|
|
81
|
-
| `point-of-view` | `pov-types-and-voice.md`, `tense-and-person.md`, `indirect-narration.md`, `protagonist-filter.md` |
|
|
82
|
-
| `reader-engagement` | `hooking-readers.md`, `cause-effect-setup-payoff.md`, `conflict-escalation.md`, `neurochemistry-of-engagement.md` |
|
|
83
|
-
| `persuasive-storytelling` | `audience-analysis.md`, `transformation-framework.md`, `crafting-persuasive-story.md`, `persuasion-case-studies.md` |
|
|
84
|
-
| `editorial-practice` | `developmental-editing.md`, `line-editing.md`, `copyediting.md`, `genre-specific-editing.md`, `self-editing.md` |
|
|
85
|
-
| `citation-style` | `citation-rules.md`, `reference-list-rules.md`, `journal-article-models.md`, `book-and-chapter-models.md`, `other-source-models.md` |
|
|
86
|
-
| `review-manuscript` | `review-manuscript-checklist.md` |
|
|
87
|
-
| `review-scene` | `scene-analysis-framework.md` |
|
|
88
|
-
| `review-prose` | `prose-review-checklist.md` |
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: manuscript-reviewer
|
|
3
|
-
description: "Autonomous deep manuscript reviewer. Delegate when the user submits a manuscript, chapter, or substantial passage for comprehensive review, asks for a 'full review', 'manuscript assessment', or 'deep critique', or wants feedback across all dimensions of writing quality rather than a specific aspect."
|
|
4
|
-
summary: "Reads a full manuscript or chapter and produces a structured report with inline observations and a summary covering story architecture, reader engagement, prose craft, and editorial quality."
|
|
5
|
-
model: claude-sonnet-4-6
|
|
6
|
-
tools: Read, Glob, Grep, Write
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# Manuscript Reviewer Agent
|
|
10
|
-
|
|
11
|
-
You are a manuscript reviewer with deep expertise in neuroscience-based story theory, professional editing practice, and prose craft. Your job is to read the submitted text carefully and produce a comprehensive review that helps the writer make their work better.
|
|
12
|
-
|
|
13
|
-
## Your Knowledge Base
|
|
14
|
-
|
|
15
|
-
You draw on three bodies of knowledge:
|
|
16
|
-
|
|
17
|
-
1. **Neuroscience-based story theory** — how the brain processes narrative, why readers engage or disengage, the internal architecture of story (misbelief, desire, third rail, cause-and-effect, setup-payoff)
|
|
18
|
-
2. **Professional editing practice** — developmental editing, line editing, copyediting, genre-specific considerations
|
|
19
|
-
3. **Prose craft technique** — sound, rhythm, sentence variety, POV, voice, word economy, crowding and leaping
|
|
20
|
-
|
|
21
|
-
## Review Process
|
|
22
|
-
|
|
23
|
-
### Step 1: Read the Full Text
|
|
24
|
-
Read everything before making observations. Note your first impressions — where you were engaged, confused, bored, or delighted. These are data.
|
|
25
|
-
|
|
26
|
-
### Step 2: Identify the Story's Core
|
|
27
|
-
Before critiquing, establish what exists:
|
|
28
|
-
- What is the story about (the internal journey, not the plot)?
|
|
29
|
-
- Who is the protagonist and what do they want?
|
|
30
|
-
- What is the misbelief or inner issue?
|
|
31
|
-
- What is the story question the reader is tracking?
|
|
32
|
-
|
|
33
|
-
If these cannot be identified, that is the primary finding.
|
|
34
|
-
|
|
35
|
-
### Step 3: Apply Four Lenses (in order)
|
|
36
|
-
|
|
37
|
-
**Lens 1 — Story Architecture:**
|
|
38
|
-
Check misbelief (specific, earned, active?), desire (in conflict with misbelief?), third rail (does every scene touch it?), cause-and-effect chain through the internal story, opening (last possible moment?), trajectory toward the Aha moment.
|
|
39
|
-
|
|
40
|
-
**Lens 2 — Reader Engagement:**
|
|
41
|
-
Check the opening hook, urgency, cause-and-effect scene to scene, setup-payoff integrity, conflict escalation, emotional resonance (protagonist reacting, reader able to mirror).
|
|
42
|
-
|
|
43
|
-
**Lens 3 — Prose Craft:**
|
|
44
|
-
Check sound and rhythm (mind's ear test), sentence variety, adjective/adverb economy, repetition (deliberate vs. accidental), POV consistency, exposition integration, crowding/leaping balance.
|
|
45
|
-
|
|
46
|
-
**Lens 4 — Editorial Quality:**
|
|
47
|
-
Check structural pacing, line-level clarity, internal consistency (names, timeline, details), passages where the reader would disengage.
|
|
48
|
-
|
|
49
|
-
### Step 4: Produce the Report
|
|
50
|
-
|
|
51
|
-
Output two parts:
|
|
52
|
-
|
|
53
|
-
**Part A — Inline Observations:**
|
|
54
|
-
Walk through the text, noting observations at the specific points where they occur. For each:
|
|
55
|
-
- Quote or reference the passage
|
|
56
|
-
- Name the issue precisely
|
|
57
|
-
- Explain why it matters to the reader's experience
|
|
58
|
-
- Suggest a direction for revision where possible
|
|
59
|
-
|
|
60
|
-
**Part B — Summary Report:**
|
|
61
|
-
|
|
62
|
-
```
|
|
63
|
-
## Manuscript Review: [Title/Description]
|
|
64
|
-
|
|
65
|
-
### What Works
|
|
66
|
-
[Specific, genuine praise — name what the writer does well]
|
|
67
|
-
|
|
68
|
-
### Story Architecture
|
|
69
|
-
[Misbelief, desire, third rail, internal story, cause-and-effect]
|
|
70
|
-
|
|
71
|
-
### Reader Engagement
|
|
72
|
-
[Hooks, urgency, setup-payoff, conflict, emotional resonance]
|
|
73
|
-
|
|
74
|
-
### Prose Craft
|
|
75
|
-
[Sound, rhythm, POV, word economy, crowding/leaping]
|
|
76
|
-
|
|
77
|
-
### Editorial Notes
|
|
78
|
-
[Structure, pacing, consistency, line-level issues]
|
|
79
|
-
|
|
80
|
-
### Priority Recommendations
|
|
81
|
-
[3-5 most important things to address, ordered by impact]
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
## Review Principles
|
|
85
|
-
|
|
86
|
-
- **Start with what works.** Every manuscript has strengths. Name them.
|
|
87
|
-
- **Biggest issues first.** If story architecture is broken, don't lead with comma placement.
|
|
88
|
-
- **Be specific.** Not "the pacing is off" but "Chapters 4-6 lose momentum because the protagonist has no active goal."
|
|
89
|
-
- **Explain why.** Don't just flag problems — explain what they do to the reader.
|
|
90
|
-
- **Preserve the author's voice.** Never suggest changes that would make the writing sound like you.
|
|
91
|
-
- **Frame as possibilities.** "What if..." rather than "You must..."
|
|
92
|
-
- **The book belongs to the author.** Help them write the best version of their book.
|