@rubytech/create-realagent 1.0.406 → 1.0.424
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/index.js +14 -9
- package/package.json +2 -2
- package/payload/maxy/public/assets/ChatInput-BcuvuN5M.css +1 -0
- package/payload/maxy/public/assets/ChatInput-Bkvp46jn.js +42 -0
- package/payload/maxy/public/assets/{admin-k0izNYS1.js → admin-h_MCGiva.js} +2 -2
- package/payload/maxy/public/assets/{public-3Y1Xk7cO.js → public-CJdTPrH1.js} +1 -1
- package/payload/maxy/public/brand/demo-9pm-enquiry.svg +95 -0
- package/payload/maxy/public/brand/demo-create-agent.svg +110 -0
- package/payload/maxy/public/brand/demo-morning-briefing.svg +83 -0
- package/payload/maxy/public/brand/demo-post-viewing.svg +107 -0
- package/payload/maxy/public/brand/how-it-works.svg +152 -0
- package/payload/maxy/public/brand/realagent-favicon-dark-32.png +0 -0
- package/payload/maxy/public/brand/realagent-icon-dark-round-web.png +0 -0
- package/payload/maxy/public/brand/realagent-icon-dark-web.png +0 -0
- package/payload/maxy/public/brand/realagent-icon-web.png +0 -0
- package/payload/maxy/public/brand-constants.json +3 -3
- package/payload/maxy/public/brand-defaults.css +4 -4
- package/payload/maxy/public/index.html +3 -3
- package/payload/maxy/public/public.html +3 -3
- package/payload/maxy/server.js +618 -115
- package/payload/platform/config/brand.json +10 -7
- package/payload/platform/knowledge/maxy.md +4 -0
- package/payload/platform/plugins/admin/PLUGIN.md +7 -6
- package/payload/platform/plugins/admin/hooks/agent-creation-approval.sh +9 -1
- package/payload/platform/plugins/admin/hooks/agent-creation-gate.sh +9 -1
- package/payload/platform/plugins/admin/hooks/agent-creation-post.sh +9 -1
- package/payload/platform/plugins/admin/hooks/test-agent-creation-gate.sh +15 -0
- package/payload/platform/plugins/admin/mcp/dist/index.js +1 -1
- package/payload/platform/plugins/admin/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/admin/skills/plugin-management/skill.md +56 -7
- package/payload/platform/plugins/admin/skills/public-agent-manager/skill.md +21 -2
- package/payload/platform/plugins/anthropic/PLUGIN.md +0 -1
- package/payload/platform/plugins/business-assistant/PLUGIN.md +1 -1
- package/payload/platform/plugins/cloudflare/PLUGIN.md +0 -1
- package/payload/platform/plugins/contacts/PLUGIN.md +0 -1
- package/payload/platform/plugins/deep-research/PLUGIN.md +0 -1
- package/payload/platform/plugins/docs/PLUGIN.md +1 -1
- package/payload/platform/plugins/docs/references/plugins-guide.md +11 -5
- package/payload/platform/plugins/email/PLUGIN.md +1 -2
- package/payload/platform/plugins/email/mcp/dist/scripts/email-auto-respond.d.ts +1 -1
- package/payload/platform/plugins/email/mcp/dist/scripts/email-auto-respond.js +1 -1
- package/payload/platform/plugins/memory/PLUGIN.md +24 -4
- package/payload/platform/plugins/memory/mcp/dist/index.js +1 -1
- package/payload/platform/plugins/memory/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/semantic-chunker.js +1 -1
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-delete.js +2 -2
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-edit-attachment.js +2 -2
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-ingest-extract.js +2 -2
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-read-attachment.js +2 -2
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-search.js +5 -5
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-write.d.ts.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-write.js +31 -2
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-write.js.map +1 -1
- package/payload/platform/plugins/memory/skills/{conversational-memory.md → conversational-memory/SKILL.md} +10 -1
- package/payload/platform/plugins/projects/PLUGIN.md +1 -1
- package/payload/platform/plugins/sales/PLUGIN.md +1 -1
- package/payload/platform/plugins/scheduling/PLUGIN.md +15 -1
- package/payload/platform/plugins/scheduling/mcp/dist/index.js +36 -9
- package/payload/platform/plugins/scheduling/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/scheduling/mcp/dist/lib/neo4j.d.ts +6 -0
- package/payload/platform/plugins/scheduling/mcp/dist/lib/neo4j.d.ts.map +1 -1
- package/payload/platform/plugins/scheduling/mcp/dist/lib/neo4j.js +23 -0
- package/payload/platform/plugins/scheduling/mcp/dist/lib/neo4j.js.map +1 -1
- package/payload/platform/plugins/scheduling/mcp/dist/lib/time-format.d.ts +48 -0
- package/payload/platform/plugins/scheduling/mcp/dist/lib/time-format.d.ts.map +1 -0
- package/payload/platform/plugins/scheduling/mcp/dist/lib/time-format.js +140 -0
- package/payload/platform/plugins/scheduling/mcp/dist/lib/time-format.js.map +1 -0
- package/payload/platform/plugins/scheduling/mcp/dist/scripts/check-due-events.js +24 -14
- package/payload/platform/plugins/scheduling/mcp/dist/scripts/check-due-events.js.map +1 -1
- package/payload/platform/plugins/scheduling/mcp/dist/tools/schedule-list.d.ts.map +1 -1
- package/payload/platform/plugins/scheduling/mcp/dist/tools/schedule-list.js +24 -6
- package/payload/platform/plugins/scheduling/mcp/dist/tools/schedule-list.js.map +1 -1
- package/payload/platform/plugins/tasks/.claude-plugin/plugin.json +0 -1
- package/payload/platform/plugins/tasks/PLUGIN.md +11 -1
- package/payload/platform/plugins/waitlist/PLUGIN.md +2 -2
- package/payload/platform/plugins/waitlist/mcp/dist/index.js +44 -0
- package/payload/platform/plugins/waitlist/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-heal.d.ts +33 -0
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-heal.d.ts.map +1 -0
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-heal.js +124 -0
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-heal.js.map +1 -0
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-list.d.ts +1 -0
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-list.d.ts.map +1 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-list.js +1 -0
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-list.js.map +1 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-persist.d.ts +6 -3
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-persist.d.ts.map +1 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-persist.js +20 -9
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-persist.js.map +1 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-review.d.ts +1 -0
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-review.d.ts.map +1 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-review.js +1 -0
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-review.js.map +1 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-scan.d.ts +3 -2
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-scan.d.ts.map +1 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-scan.js +3 -2
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-scan.js.map +1 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-setup.d.ts.map +1 -1
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-setup.js +4 -35
- package/payload/platform/plugins/waitlist/mcp/dist/tools/waitlist-setup.js.map +1 -1
- package/payload/platform/plugins/workflows/.claude-plugin/plugin.json +0 -1
- package/payload/platform/plugins/workflows/PLUGIN.md +12 -3
- package/payload/platform/plugins/workflows/mcp/dist/lib/llm-call.d.ts +15 -23
- package/payload/platform/plugins/workflows/mcp/dist/lib/llm-call.d.ts.map +1 -1
- package/payload/platform/plugins/workflows/mcp/dist/lib/llm-call.js +64 -233
- package/payload/platform/plugins/workflows/mcp/dist/lib/llm-call.js.map +1 -1
- package/payload/platform/plugins/workflows/mcp/dist/lib/step-resolver.d.ts +4 -4
- package/payload/platform/plugins/workflows/mcp/dist/lib/step-resolver.js +4 -4
- package/payload/platform/plugins/workflows/mcp/dist/tools/workflow-execute.d.ts +6 -6
- package/payload/platform/plugins/workflows/mcp/dist/tools/workflow-execute.js +7 -7
- package/payload/platform/plugins/workflows/mcp/dist/tools/workflow-execute.js.map +1 -1
- package/payload/platform/templates/agents/admin/IDENTITY.md +23 -6
- package/payload/platform/templates/specialists/agents/scheduler.md +1 -1
- package/payload/premium-plugins/real-agency/BUNDLE.md +32 -0
- package/payload/premium-plugins/real-agency/agents/buyer-enquiry/IDENTITY.md +13 -0
- package/payload/premium-plugins/real-agency/agents/buyer-enquiry/SOUL.md +9 -0
- package/payload/premium-plugins/real-agency/agents/buyer-enquiry/template.json +9 -0
- package/payload/premium-plugins/real-agency/plugins/real-agency-business/PLUGIN.md +34 -0
- package/payload/premium-plugins/real-agency/{skills/business-growth.md → plugins/real-agency-business/skills/business-growth/SKILL.md} +20 -25
- package/payload/premium-plugins/real-agency/{skills/business-operations.md → plugins/real-agency-business/skills/business-operations/SKILL.md} +5 -5
- package/payload/premium-plugins/real-agency/{skills/exp-partnership.md → plugins/real-agency-business/skills/exp-partnership/SKILL.md} +7 -7
- package/payload/premium-plugins/real-agency/{skills/personal-branding.md → plugins/real-agency-business/skills/personal-branding/SKILL.md} +17 -17
- package/payload/premium-plugins/real-agency/plugins/real-agency-buyers/PLUGIN.md +35 -0
- package/payload/premium-plugins/real-agency/{skills/buyer-feedback.md → plugins/real-agency-buyers/skills/buyer-feedback/SKILL.md} +2 -2
- package/payload/premium-plugins/real-agency/{skills/buyer-management.md → plugins/real-agency-buyers/skills/buyer-management/SKILL.md} +8 -8
- package/payload/premium-plugins/real-agency/{skills/buyer-seller-guides.md → plugins/real-agency-buyers/skills/buyer-seller-guides/SKILL.md} +7 -7
- package/payload/premium-plugins/real-agency/plugins/real-agency-coaching/PLUGIN.md +55 -0
- package/payload/premium-plugins/real-agency/{skills/agent-performance.md → plugins/real-agency-coaching/skills/agent-performance/SKILL.md} +5 -1
- package/payload/premium-plugins/real-agency/{skills/bespoke-coaching.md → plugins/real-agency-coaching/skills/bespoke-coaching/SKILL.md} +10 -2
- package/payload/premium-plugins/real-agency/{skills/coaching-toolkit.md → plugins/real-agency-coaching/skills/coaching-toolkit/SKILL.md} +3 -1
- package/payload/premium-plugins/real-agency/{skills/serhant-training.md → plugins/real-agency-coaching/skills/serhant-training/SKILL.md} +1 -1
- package/payload/premium-plugins/real-agency/plugins/real-agency-leads/PLUGIN.md +32 -0
- package/payload/premium-plugins/real-agency/{skills/lead-nurturing.md → plugins/real-agency-leads/skills/lead-nurturing/SKILL.md} +20 -26
- package/payload/premium-plugins/real-agency/{references/lead-nurturing-database-reactivation.md → plugins/real-agency-leads/skills/lead-nurturing/references/database-reactivation.md} +1 -1
- package/payload/premium-plugins/real-agency/{skills/prospecting.md → plugins/real-agency-leads/skills/prospecting/SKILL.md} +4 -4
- package/payload/premium-plugins/real-agency/plugins/real-agency-listings/PLUGIN.md +33 -0
- package/payload/premium-plugins/real-agency/{skills/home-preparation.md → plugins/real-agency-listings/skills/home-preparation/SKILL.md} +4 -4
- package/payload/premium-plugins/real-agency/{skills/listing-presentation.md → plugins/real-agency-listings/skills/listing-presentation/SKILL.md} +4 -4
- package/payload/premium-plugins/real-agency/{skills/property-marketing.md → plugins/real-agency-listings/skills/property-marketing/SKILL.md} +8 -8
- package/payload/premium-plugins/real-agency/plugins/real-agency-onboarding/PLUGIN.md +31 -0
- package/payload/premium-plugins/real-agency/{skills/bootstrap.md → plugins/real-agency-onboarding/skills/bootstrap/SKILL.md} +3 -3
- package/payload/premium-plugins/real-agency/{references/bootstrap-onboarding-flow.md → plugins/real-agency-onboarding/skills/bootstrap/references/onboarding-flow.md} +1 -1
- package/payload/premium-plugins/real-agency/plugins/real-agency-sales/PLUGIN.md +34 -0
- package/payload/premium-plugins/real-agency/{skills/sales-closer.md → plugins/real-agency-sales/skills/sales-closer/SKILL.md} +1 -4
- package/payload/premium-plugins/real-agency/{skills/sales-discovery.md → plugins/real-agency-sales/skills/sales-discovery/SKILL.md} +7 -11
- package/payload/premium-plugins/real-agency/{skills/sales-negotiation.md → plugins/real-agency-sales/skills/sales-negotiation/SKILL.md} +5 -8
- package/payload/premium-plugins/real-agency/{skills/sales-progression.md → plugins/real-agency-sales/skills/sales-progression/SKILL.md} +2 -2
- package/payload/premium-plugins/real-agency/plugins/real-agency-teaching/PLUGIN.md +32 -0
- package/payload/premium-plugins/real-agency/{skills/content-directory.md → plugins/real-agency-teaching/skills/content-directory/SKILL.md} +2 -2
- package/payload/premium-plugins/real-agency/plugins/real-agency-vendors/PLUGIN.md +34 -0
- package/payload/premium-plugins/real-agency/{skills/negotiation.md → plugins/real-agency-vendors/skills/negotiation/SKILL.md} +5 -5
- package/payload/premium-plugins/real-agency/{skills/vendor-communication.md → plugins/real-agency-vendors/skills/vendor-communication/SKILL.md} +10 -10
- package/payload/premium-plugins/real-agency/{skills/vendor-updates.md → plugins/real-agency-vendors/skills/vendor-updates/SKILL.md} +3 -3
- package/payload/premium-plugins/teaching/PLUGIN.md +1 -2
- package/payload/premium-plugins/writer-craft/PLUGIN.md +1 -2
- package/payload/maxy/public/assets/ChatInput-7sHhJaNJ.js +0 -42
- package/payload/maxy/public/assets/ChatInput-oLFewltq.css +0 -1
- package/payload/premium-plugins/real-agency/PLUGIN.md +0 -101
- /package/payload/platform/plugins/anthropic/skills/{get-api-key.md → get-api-key/SKILL.md} +0 -0
- /package/payload/platform/plugins/cloudflare/skills/{setup-tunnel.md → setup-tunnel/SKILL.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-growth-buy-back-your-time.md → plugins/real-agency-business/skills/business-growth/references/buy-back-your-time.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-growth-firewave-gost-scorecards.md → plugins/real-agency-business/skills/business-growth/references/firewave-gost-scorecards.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-growth-keller-org-model.md → plugins/real-agency-business/skills/business-growth/references/keller-org-model.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-growth-lencioni-team-models.md → plugins/real-agency-business/skills/business-growth/references/lencioni-team-models.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-growth-listing-management-system.md → plugins/real-agency-business/skills/business-growth/references/listing-management-system.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-growth-net-figure-form.md → plugins/real-agency-business/skills/business-growth/references/net-figure-form.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-growth-serhant-bizinbox-notes.md → plugins/real-agency-business/skills/business-growth/references/serhant-bizinbox-notes.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-growth-team-roles-commission.md → plugins/real-agency-business/skills/business-growth/references/team-roles-commission.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-growth-va-2026-ops.md → plugins/real-agency-business/skills/business-growth/references/va-2026-ops.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-growth-wingman-structure.md → plugins/real-agency-business/skills/business-growth/references/wingman-structure.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-operations-crm-systems.md → plugins/real-agency-business/skills/business-operations/references/crm-systems.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-operations-hiring-guide.md → plugins/real-agency-business/skills/business-operations/references/hiring-guide.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-operations-impact-framework.md → plugins/real-agency-business/skills/business-operations/references/impact-framework.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-operations-minutes-equal-money.md → plugins/real-agency-business/skills/business-operations/references/minutes-equal-money.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/business-operations-team-management.md → plugins/real-agency-business/skills/business-operations/references/team-management.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/exp-partnership-12-reasons.md → plugins/real-agency-business/skills/exp-partnership/references/12-reasons.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/exp-partnership-95-5-system.md → plugins/real-agency-business/skills/exp-partnership/references/95-5-system.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/exp-partnership-agent-attraction-scripts.md → plugins/real-agency-business/skills/exp-partnership/references/agent-attraction-scripts.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/exp-partnership-business-partnership.md → plugins/real-agency-business/skills/exp-partnership/references/business-partnership.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/exp-partnership-exp-model-overview.md → plugins/real-agency-business/skills/exp-partnership/references/exp-model-overview.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/exp-partnership-model-comparison.md → plugins/real-agency-business/skills/exp-partnership/references/model-comparison.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/exp-partnership-revenue-share-explained.md → plugins/real-agency-business/skills/exp-partnership/references/revenue-share-explained.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-attraction-agent-notes.md → plugins/real-agency-business/skills/personal-branding/references/attraction-agent-notes.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-attraction-agent.md → plugins/real-agency-business/skills/personal-branding/references/attraction-agent.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-authenticity-boundaries.md → plugins/real-agency-business/skills/personal-branding/references/authenticity-boundaries.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-become-a-brand-leader-notes.md → plugins/real-agency-business/skills/personal-branding/references/become-a-brand-leader-notes.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-blast-formula.md → plugins/real-agency-business/skills/personal-branding/references/blast-formula.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-brand-leader.md → plugins/real-agency-business/skills/personal-branding/references/brand-leader.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-brand-strategy-system.md → plugins/real-agency-business/skills/personal-branding/references/brand-strategy-system.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-content-engine.md → plugins/real-agency-business/skills/personal-branding/references/content-engine.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-firewave-blast-and-blogging.md → plugins/real-agency-business/skills/personal-branding/references/firewave-blast-and-blogging.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-gary-v-content.md → plugins/real-agency-business/skills/personal-branding/references/gary-v-content.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-gary-v-principles.md → plugins/real-agency-business/skills/personal-branding/references/gary-v-principles.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-oversubscribed-positioning.md → plugins/real-agency-business/skills/personal-branding/references/oversubscribed-positioning.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-platforms.md → plugins/real-agency-business/skills/personal-branding/references/platforms.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-priestley-oversubscribed.md → plugins/real-agency-business/skills/personal-branding/references/priestley-oversubscribed.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-storeys-style-examples.md → plugins/real-agency-business/skills/personal-branding/references/storeys-style-examples.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/personal-branding-visual-identity.md → plugins/real-agency-business/skills/personal-branding/references/visual-identity.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-management-buyer-qualification-questions.md → plugins/real-agency-buyers/skills/buyer-management/references/buyer-qualification-questions.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-management-buyer-qualification.md → plugins/real-agency-buyers/skills/buyer-management/references/buyer-qualification.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-management-buyer-scripts.md → plugins/real-agency-buyers/skills/buyer-management/references/buyer-scripts.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-management-buyer-working-scripts.md → plugins/real-agency-buyers/skills/buyer-management/references/buyer-working-scripts.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-management-feedback-collection.md → plugins/real-agency-buyers/skills/buyer-management/references/feedback-collection.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-management-offer-capture.md → plugins/real-agency-buyers/skills/buyer-management/references/offer-capture.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-management-viewing-booking.md → plugins/real-agency-buyers/skills/buyer-management/references/viewing-booking.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-management-viewing-management.md → plugins/real-agency-buyers/skills/buyer-management/references/viewing-management.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-seller-guides-care-fees-guide.md → plugins/real-agency-buyers/skills/buyer-seller-guides/references/care-fees-guide.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-seller-guides-divorce-sales-guide.md → plugins/real-agency-buyers/skills/buyer-seller-guides/references/divorce-sales-guide.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-seller-guides-downsizing-guide.md → plugins/real-agency-buyers/skills/buyer-seller-guides/references/downsizing-guide.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-seller-guides-first-time-buyers.md → plugins/real-agency-buyers/skills/buyer-seller-guides/references/first-time-buyers.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-seller-guides-first-time-sellers.md → plugins/real-agency-buyers/skills/buyer-seller-guides/references/first-time-sellers.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-seller-guides-probate-guide.md → plugins/real-agency-buyers/skills/buyer-seller-guides/references/probate-guide.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/buyer-seller-guides-upsizing-guide.md → plugins/real-agency-buyers/skills/buyer-seller-guides/references/upsizing-guide.md} +0 -0
- /package/payload/premium-plugins/real-agency/{skills/property-enquiry.md → plugins/real-agency-buyers/skills/property-enquiry/SKILL.md} +0 -0
- /package/payload/premium-plugins/real-agency/{skills/viewing-management.md → plugins/real-agency-buyers/skills/viewing-management/SKILL.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/agent-performance-atomic-habits.md → plugins/real-agency-coaching/skills/agent-performance/references/atomic-habits.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/agent-performance-daily-routine-scorecard.md → plugins/real-agency-coaching/skills/agent-performance/references/daily-routine-scorecard.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/agent-performance-hp6-model.md → plugins/real-agency-coaching/skills/agent-performance/references/hp6-model.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/agent-performance-twelve-week-year.md → plugins/real-agency-coaching/skills/agent-performance/references/twelve-week-year.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/bespoke-coaching-coaching-boundaries.md → plugins/real-agency-coaching/skills/bespoke-coaching/references/coaching-boundaries.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/bespoke-coaching-feedback-framework.md → plugins/real-agency-coaching/skills/bespoke-coaching/references/feedback-framework.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/bespoke-coaching-performance-framework.md → plugins/real-agency-coaching/skills/bespoke-coaching/references/performance-framework.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/coaching-toolkit-coaching-exercises.md → plugins/real-agency-coaching/skills/coaching-toolkit/references/coaching-exercises.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/coaching-toolkit-goal-setting.md → plugins/real-agency-coaching/skills/coaching-toolkit/references/goal-setting.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/coaching-toolkit-one-to-one-framework.md → plugins/real-agency-coaching/skills/coaching-toolkit/references/one-to-one-framework.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/coaching-toolkit-soi-workbook.md → plugins/real-agency-coaching/skills/coaching-toolkit/references/soi-workbook.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/serhant-training-agent-training-guide.md → plugins/real-agency-coaching/skills/serhant-training/references/agent-training-guide.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/serhant-training-business-in-a-box.md → plugins/real-agency-coaching/skills/serhant-training/references/business-in-a-box.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/serhant-training-buyers-guide.md → plugins/real-agency-coaching/skills/serhant-training/references/buyers-guide.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/serhant-training-codo-method.md → plugins/real-agency-coaching/skills/serhant-training/references/codo-method.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/serhant-training-website-planning-guide.md → plugins/real-agency-coaching/skills/serhant-training/references/website-planning-guide.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-buyer-search-letter.md → plugins/real-agency-leads/skills/lead-nurturing/references/buyer-search-letter.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-buyer-search-letters.md → plugins/real-agency-leads/skills/lead-nurturing/references/buyer-search-letters.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-email-nurture-sequences.md → plugins/real-agency-leads/skills/lead-nurturing/references/email-nurture-sequences.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-facebook-referrals.md → plugins/real-agency-leads/skills/lead-nurturing/references/facebook-referrals.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-firewave-email-nurture-sequences.md → plugins/real-agency-leads/skills/lead-nurturing/references/firewave-email-nurture-sequences.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-keller-33-touch.md → plugins/real-agency-leads/skills/lead-nurturing/references/keller-33-touch.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-neighbour-letters.md → plugins/real-agency-leads/skills/lead-nurturing/references/neighbour-letters.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-neighbour-notification-letter.md → plugins/real-agency-leads/skills/lead-nurturing/references/neighbour-notification-letter.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-ofi-follow-up-dialogue.md → plugins/real-agency-leads/skills/lead-nurturing/references/ofi-follow-up-dialogue.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-ofi-follow-up.md → plugins/real-agency-leads/skills/lead-nurturing/references/ofi-follow-up.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-serhant-three-fs-plus.md → plugins/real-agency-leads/skills/lead-nurturing/references/serhant-three-fs-plus.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-sharran-10x10x10.md → plugins/real-agency-leads/skills/lead-nurturing/references/sharran-10x10x10.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-sms-templates.md → plugins/real-agency-leads/skills/lead-nurturing/references/sms-templates.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-sphere-of-influence-notes.md → plugins/real-agency-leads/skills/lead-nurturing/references/sphere-of-influence-notes.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-sphere-of-influence.md → plugins/real-agency-leads/skills/lead-nurturing/references/sphere-of-influence.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/lead-nurturing-tom-panos-sms-templates.md → plugins/real-agency-leads/skills/lead-nurturing/references/tom-panos-sms-templates.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/prospecting-database-matching.md → plugins/real-agency-leads/skills/prospecting/references/database-matching.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/prospecting-database-value.md → plugins/real-agency-leads/skills/prospecting/references/database-value.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/prospecting-prospecting-dialogues.md → plugins/real-agency-leads/skills/prospecting/references/prospecting-dialogues.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/prospecting-reactivation.md → plugins/real-agency-leads/skills/prospecting/references/reactivation.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/home-preparation-kerb-appeal.md → plugins/real-agency-listings/skills/home-preparation/references/kerb-appeal.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/home-preparation-photo-day.md → plugins/real-agency-listings/skills/home-preparation/references/photo-day.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/home-preparation-situational-tips.md → plugins/real-agency-listings/skills/home-preparation/references/situational-tips.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/home-preparation-staging-guide.md → plugins/real-agency-listings/skills/home-preparation/references/staging-guide.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/listing-presentation-booking-script.md → plugins/real-agency-listings/skills/listing-presentation/references/booking-script.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/listing-presentation-objection-scripts.md → plugins/real-agency-listings/skills/listing-presentation/references/objection-scripts.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/listing-presentation-penhaul-presentation.md → plugins/real-agency-listings/skills/listing-presentation/references/penhaul-presentation.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/listing-presentation-pre-listing-kit.md → plugins/real-agency-listings/skills/listing-presentation/references/pre-listing-kit.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/listing-presentation-set-to-sell.md → plugins/real-agency-listings/skills/listing-presentation/references/set-to-sell.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/listing-presentation-sharran-frameworks.md → plugins/real-agency-listings/skills/listing-presentation/references/sharran-frameworks.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/property-marketing-auction-report-template.md → plugins/real-agency-listings/skills/property-marketing/references/auction-report-template.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/property-marketing-coming-soon-campaign.md → plugins/real-agency-listings/skills/property-marketing/references/coming-soon-campaign.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/property-marketing-direct-mail-templates.md → plugins/real-agency-listings/skills/property-marketing/references/direct-mail-templates.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/property-marketing-eoi-form-template.md → plugins/real-agency-listings/skills/property-marketing/references/eoi-form-template.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/property-marketing-monthly-scorecard.md → plugins/real-agency-listings/skills/property-marketing/references/monthly-scorecard.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-closer-serhant-emotion-stages.md → plugins/real-agency-sales/skills/sales-closer/references/serhant-emotion-stages.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-discovery-chris-voss-discovery.md → plugins/real-agency-sales/skills/sales-discovery/references/chris-voss-discovery.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-discovery-firewave-gost-journey.md → plugins/real-agency-sales/skills/sales-discovery/references/firewave-gost-journey.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-discovery-phil-jones-openers.md → plugins/real-agency-sales/skills/sales-discovery/references/phil-jones-openers.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-discovery-pre-listing-checklist.md → plugins/real-agency-sales/skills/sales-discovery/references/pre-listing-checklist.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-discovery-serhant-improv.md → plugins/real-agency-sales/skills/sales-discovery/references/serhant-improv.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-discovery-tom-ferry-discovery.md → plugins/real-agency-sales/skills/sales-discovery/references/tom-ferry-discovery.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-discovery-vendor-motivation-competitor.md → plugins/real-agency-sales/skills/sales-discovery/references/vendor-motivation-competitor.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-negotiation-chris-voss-negotiation.md → plugins/real-agency-sales/skills/sales-negotiation/references/chris-voss-negotiation.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-negotiation-phil-jones-price-words.md → plugins/real-agency-sales/skills/sales-negotiation/references/phil-jones-price-words.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-negotiation-serhant-negotiation-plus.md → plugins/real-agency-sales/skills/sales-negotiation/references/serhant-negotiation-plus.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-negotiation-tom-panos-commission-pricing.md → plugins/real-agency-sales/skills/sales-negotiation/references/tom-panos-commission-pricing.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-negotiation-tony-morris-questioning.md → plugins/real-agency-sales/skills/sales-negotiation/references/tony-morris-questioning.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-progression-conveyancing-guide.md → plugins/real-agency-sales/skills/sales-progression/references/conveyancing-guide.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/sales-progression-transaction-tracking.md → plugins/real-agency-sales/skills/sales-progression/references/transaction-tracking.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/content-directory-module-delivery.md → plugins/real-agency-teaching/skills/content-directory/references/module-delivery.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/content-directory-progress-tracking.md → plugins/real-agency-teaching/skills/content-directory/references/progress-tracking.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/negotiation-deal-saving.md → plugins/real-agency-vendors/skills/negotiation/references/deal-saving.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/negotiation-negotiation-deep-guide.md → plugins/real-agency-vendors/skills/negotiation/references/negotiation-deep-guide.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/negotiation-negotiation-prep-principles.md → plugins/real-agency-vendors/skills/negotiation/references/negotiation-prep-principles.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/negotiation-negotiation-techniques.md → plugins/real-agency-vendors/skills/negotiation/references/negotiation-techniques.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/negotiation-offer-presentation.md → plugins/real-agency-vendors/skills/negotiation/references/offer-presentation.md} +0 -0
- /package/payload/premium-plugins/real-agency/{skills/valuation-booking.md → plugins/real-agency-vendors/skills/valuation-booking/SKILL.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/vendor-communication-fee-protection-and-agenda.md → plugins/real-agency-vendors/skills/vendor-communication/references/fee-protection-and-agenda.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/vendor-communication-listing-scripts.md → plugins/real-agency-vendors/skills/vendor-communication/references/listing-scripts.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/vendor-communication-negotiation-deep-guide.md → plugins/real-agency-vendors/skills/vendor-communication/references/negotiation-deep-guide.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/vendor-communication-price-alignment-scripts.md → plugins/real-agency-vendors/skills/vendor-communication/references/price-alignment-scripts.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/vendor-communication-price-alignment.md → plugins/real-agency-vendors/skills/vendor-communication/references/price-alignment.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/vendor-communication-scenario-scripts.md → plugins/real-agency-vendors/skills/vendor-communication/references/scenario-scripts.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/vendor-communication-seller-engagement.md → plugins/real-agency-vendors/skills/vendor-communication/references/seller-engagement.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/vendor-communication-valuation-booking.md → plugins/real-agency-vendors/skills/vendor-communication/references/valuation-booking.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/vendor-communication-vendor-scripts.md → plugins/real-agency-vendors/skills/vendor-communication/references/vendor-scripts.md} +0 -0
- /package/payload/premium-plugins/real-agency/{references/vendor-communication-vendor-updates.md → plugins/real-agency-vendors/skills/vendor-communication/references/vendor-updates.md} +0 -0
- /package/payload/premium-plugins/teaching/skills/{interactive-tutor.md → interactive-tutor/SKILL.md} +0 -0
- /package/payload/premium-plugins/teaching/{references → skills/interactive-tutor/references}/assessment.md +0 -0
- /package/payload/premium-plugins/teaching/{references → skills/interactive-tutor/references}/classroom-conduct.md +0 -0
- /package/payload/premium-plugins/teaching/{references → skills/interactive-tutor/references}/teaching-modes.md +0 -0
- /package/payload/premium-plugins/teaching/skills/{lesson-planner.md → lesson-planner/SKILL.md} +0 -0
- /package/payload/premium-plugins/teaching/{references → skills/lesson-planner/references}/context-gathering.md +0 -0
- /package/payload/premium-plugins/teaching/{references → skills/lesson-planner/references}/plan-structure.md +0 -0
- /package/payload/premium-plugins/teaching/skills/{study-pack-builder.md → study-pack-builder/SKILL.md} +0 -0
- /package/payload/premium-plugins/teaching/{references → skills/study-pack-builder/references}/disaggregation.md +0 -0
- /package/payload/premium-plugins/teaching/{references → skills/study-pack-builder/references}/materials.md +0 -0
- /package/payload/premium-plugins/writer-craft/skills/{citation-style.md → citation-style/SKILL.md} +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/citation-style/references}/book-and-chapter-models.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/citation-style/references}/citation-rules.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/citation-style/references}/journal-article-models.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/citation-style/references}/other-source-models.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/citation-style/references}/reference-list-rules.md +0 -0
- /package/payload/premium-plugins/writer-craft/skills/{editorial-practice.md → editorial-practice/SKILL.md} +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/editorial-practice/references}/copyediting.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/editorial-practice/references}/developmental-editing.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/editorial-practice/references}/genre-specific-editing.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/editorial-practice/references}/line-editing.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/editorial-practice/references}/self-editing.md +0 -0
- /package/payload/premium-plugins/writer-craft/skills/{persuasive-storytelling.md → persuasive-storytelling/SKILL.md} +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/persuasive-storytelling/references}/audience-analysis.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/persuasive-storytelling/references}/crafting-persuasive-story.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/persuasive-storytelling/references}/persuasion-case-studies.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/persuasive-storytelling/references}/transformation-framework.md +0 -0
- /package/payload/premium-plugins/writer-craft/skills/{point-of-view.md → point-of-view/SKILL.md} +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/point-of-view/references}/indirect-narration.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/point-of-view/references}/pov-types-and-voice.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/point-of-view/references}/protagonist-filter.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/point-of-view/references}/tense-and-person.md +0 -0
- /package/payload/premium-plugins/writer-craft/skills/{prose-craft.md → prose-craft/SKILL.md} +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/prose-craft/references}/punctuation-and-grammar.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/prose-craft/references}/repetition.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/prose-craft/references}/sound-and-rhythm.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/prose-craft/references}/word-economy.md +0 -0
- /package/payload/premium-plugins/writer-craft/skills/{reader-engagement.md → reader-engagement/SKILL.md} +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/reader-engagement/references}/cause-effect-setup-payoff.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/reader-engagement/references}/conflict-escalation.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/reader-engagement/references}/hooking-readers.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/reader-engagement/references}/neurochemistry-of-engagement.md +0 -0
- /package/payload/premium-plugins/writer-craft/skills/{review-manuscript.md → review-manuscript/SKILL.md} +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/review-manuscript/references}/review-manuscript-checklist.md +0 -0
- /package/payload/premium-plugins/writer-craft/skills/{review-prose.md → review-prose/SKILL.md} +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/review-prose/references}/prose-review-checklist.md +0 -0
- /package/payload/premium-plugins/writer-craft/skills/{review-scene.md → review-scene/SKILL.md} +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/review-scene/references}/scene-analysis-framework.md +0 -0
- /package/payload/premium-plugins/writer-craft/skills/{story-architecture.md → story-architecture/SKILL.md} +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/story-architecture/references}/blueprinting-and-scene-cards.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/story-architecture/references}/inner-issue-and-protagonist-goal.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/story-architecture/references}/misbelief-desire-worldview.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/story-architecture/references}/origin-scenes-and-escalation.md +0 -0
- /package/payload/premium-plugins/writer-craft/skills/{story-blueprint.md → story-blueprint/SKILL.md} +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/story-blueprint/references}/blueprinting-exercises.md +0 -0
- /package/payload/premium-plugins/writer-craft/{references → skills/story-blueprint/references}/blueprinting-process.md +0 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Heal broken prompt patterns in the waitlist extraction workflow.
|
|
3
|
+
*
|
|
4
|
+
* Idempotent: reads the LLM step's prompt, replaces known broken patterns
|
|
5
|
+
* with the correct versions, and writes back only if something changed.
|
|
6
|
+
* Safe to call on every heartbeat cycle — a no-op when the prompt is healthy.
|
|
7
|
+
*
|
|
8
|
+
* Heal patterns:
|
|
9
|
+
* 1. {{conversations._raw}} → {{conversations}} (pre-structured-JSON)
|
|
10
|
+
* 2. Missing conversationDate field instruction (pre-Task-231)
|
|
11
|
+
*/
|
|
12
|
+
import { getSession } from "../lib/neo4j.js";
|
|
13
|
+
// ---------------------------------------------------------------------------
|
|
14
|
+
// Constants — broken patterns and their replacements
|
|
15
|
+
// ---------------------------------------------------------------------------
|
|
16
|
+
export const WORKFLOW_NAME = "Waitlist lead extraction";
|
|
17
|
+
const BROKEN_PROMPT_PATTERN = "{{conversations._raw}}";
|
|
18
|
+
const FIXED_PROMPT_FRAGMENT = "{{conversations}}";
|
|
19
|
+
/**
|
|
20
|
+
* Broken prompt instructions described delimiter-separated text;
|
|
21
|
+
* fixed version describes the JSON format waitlist-scan actually returns.
|
|
22
|
+
*/
|
|
23
|
+
const BROKEN_INSTRUCTION = "Below are transcripts from public agent conversations. Each conversation is delimited by " +
|
|
24
|
+
'"--- CONVERSATION <id> ---".';
|
|
25
|
+
const FIXED_INSTRUCTION = "Below is a JSON object containing public agent conversations. It has a `conversations` array " +
|
|
26
|
+
"where each element has a `conversationId`, a `createdAt` timestamp, and a `messages` array of user message strings.";
|
|
27
|
+
const BROKEN_ID_REF = "the conversation ID from the delimiter";
|
|
28
|
+
const FIXED_ID_REF = "the conversation ID from the input data";
|
|
29
|
+
/**
|
|
30
|
+
* Heal pattern: prompt missing the conversationDate field instruction.
|
|
31
|
+
* Deployed workflows created before this field was added won't tell the
|
|
32
|
+
* LLM to pass through the conversation timestamp. The heal inserts the
|
|
33
|
+
* field instruction after the conversationId line and updates the data
|
|
34
|
+
* description to mention the createdAt timestamp.
|
|
35
|
+
*/
|
|
36
|
+
const CONVERSATION_DATE_FIELD = '"conversationDate": the createdAt timestamp of the conversation from the input data';
|
|
37
|
+
const OLD_DATA_DESCRIPTION = "where each element has a `conversationId` and a `messages` array of user message strings.";
|
|
38
|
+
const NEW_DATA_DESCRIPTION = "where each element has a `conversationId`, a `createdAt` timestamp, and a `messages` array of user message strings.";
|
|
39
|
+
// ---------------------------------------------------------------------------
|
|
40
|
+
// Core heal logic — also used by waitlist-setup on its idempotency path
|
|
41
|
+
// ---------------------------------------------------------------------------
|
|
42
|
+
/**
|
|
43
|
+
* Surgically repair a known-broken prompt pattern in a workflow's LLM step.
|
|
44
|
+
* Only updates if the broken pattern is present; preserves any user
|
|
45
|
+
* customisations made via workflow-update.
|
|
46
|
+
*/
|
|
47
|
+
export async function healBrokenPrompt(session, workflowId) {
|
|
48
|
+
const result = await session.run(`MATCH (w:Workflow {workflowId: $workflowId})-[:HAS_STEP]->(s:WorkflowStep {type: 'llm'})
|
|
49
|
+
WHERE s.prompt CONTAINS $pattern
|
|
50
|
+
RETURN s.stepId AS stepId, s.prompt AS prompt
|
|
51
|
+
LIMIT 1`, { workflowId, pattern: BROKEN_PROMPT_PATTERN });
|
|
52
|
+
if (result.records.length === 0)
|
|
53
|
+
return false;
|
|
54
|
+
const stepId = result.records[0].get("stepId");
|
|
55
|
+
const prompt = result.records[0].get("prompt");
|
|
56
|
+
const healed = prompt
|
|
57
|
+
.replace(BROKEN_PROMPT_PATTERN, FIXED_PROMPT_FRAGMENT)
|
|
58
|
+
.replace(BROKEN_INSTRUCTION, FIXED_INSTRUCTION)
|
|
59
|
+
.replace(BROKEN_ID_REF, FIXED_ID_REF);
|
|
60
|
+
if (healed === prompt)
|
|
61
|
+
return false; // Nothing changed — defensive guard
|
|
62
|
+
await session.run(`MATCH (s:WorkflowStep {stepId: $stepId})
|
|
63
|
+
SET s.prompt = $prompt`, { stepId, prompt: healed });
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Patch the LLM step prompt to include the conversationDate field.
|
|
68
|
+
* Only updates if the field is missing; preserves user customisations.
|
|
69
|
+
*/
|
|
70
|
+
export async function healMissingConversationDate(session, workflowId) {
|
|
71
|
+
const result = await session.run(`MATCH (w:Workflow {workflowId: $workflowId})-[:HAS_STEP]->(s:WorkflowStep {type: 'llm'})
|
|
72
|
+
WHERE s.prompt IS NOT NULL
|
|
73
|
+
AND NOT s.prompt CONTAINS $marker
|
|
74
|
+
RETURN s.stepId AS stepId, s.prompt AS prompt
|
|
75
|
+
LIMIT 1`, { workflowId, marker: "conversationDate" });
|
|
76
|
+
if (result.records.length === 0)
|
|
77
|
+
return false;
|
|
78
|
+
const stepId = result.records[0].get("stepId");
|
|
79
|
+
let prompt = result.records[0].get("prompt");
|
|
80
|
+
// Insert the conversationDate field instruction after the conversationId line
|
|
81
|
+
const convIdLine = '"conversationId": the conversation ID from the input data';
|
|
82
|
+
if (prompt.includes(convIdLine)) {
|
|
83
|
+
prompt = prompt.replace(convIdLine, convIdLine + "\n" + "- " + CONVERSATION_DATE_FIELD);
|
|
84
|
+
}
|
|
85
|
+
// Update the data description to mention createdAt
|
|
86
|
+
prompt = prompt.replace(OLD_DATA_DESCRIPTION, NEW_DATA_DESCRIPTION);
|
|
87
|
+
await session.run(`MATCH (s:WorkflowStep {stepId: $stepId})
|
|
88
|
+
SET s.prompt = $prompt`, { stepId, prompt });
|
|
89
|
+
console.error(`[waitlist-heal] patched conversationDate field into prompt for workflow ${workflowId}`);
|
|
90
|
+
return true;
|
|
91
|
+
}
|
|
92
|
+
// ---------------------------------------------------------------------------
|
|
93
|
+
// Standalone tool entry point
|
|
94
|
+
// ---------------------------------------------------------------------------
|
|
95
|
+
export async function waitlistHeal(params) {
|
|
96
|
+
const { accountId } = params;
|
|
97
|
+
const session = getSession();
|
|
98
|
+
try {
|
|
99
|
+
// Look up the workflow by name
|
|
100
|
+
const workflowResult = await session.run(`MATCH (w:Workflow {accountId: $accountId, name: $name})
|
|
101
|
+
WHERE w.status IN ['active', 'draft']
|
|
102
|
+
RETURN w.workflowId AS workflowId
|
|
103
|
+
LIMIT 1`, { accountId, name: WORKFLOW_NAME });
|
|
104
|
+
if (workflowResult.records.length === 0) {
|
|
105
|
+
console.error("[waitlist-heal] no workflow found — nothing to heal");
|
|
106
|
+
return { healed: false, workflowId: null };
|
|
107
|
+
}
|
|
108
|
+
const workflowId = workflowResult.records[0].get("workflowId");
|
|
109
|
+
const healedBroken = await healBrokenPrompt(session, workflowId);
|
|
110
|
+
const healedDate = await healMissingConversationDate(session, workflowId);
|
|
111
|
+
const healed = healedBroken || healedDate;
|
|
112
|
+
if (healed) {
|
|
113
|
+
console.error(`[waitlist-heal] prompt healed for workflow ${workflowId}`);
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
console.error("[waitlist-heal] no healing needed");
|
|
117
|
+
}
|
|
118
|
+
return { healed, workflowId };
|
|
119
|
+
}
|
|
120
|
+
finally {
|
|
121
|
+
await session.close();
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
//# sourceMappingURL=waitlist-heal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"waitlist-heal.js","sourceRoot":"","sources":["../../src/tools/waitlist-heal.ts"],"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|
|
1
|
-
{"version":3,"file":"waitlist-list.d.ts","sourceRoot":"","sources":["../../src/tools/waitlist-list.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAsB,YAAY,CAAC,MAAM,EAAE;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,OAAO,CAAC,kBAAkB,CAAC,
|
|
1
|
+
{"version":3,"file":"waitlist-list.d.ts","sourceRoot":"","sources":["../../src/tools/waitlist-list.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAsB,YAAY,CAAC,MAAM,EAAE;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA2E9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waitlist-list.js","sourceRoot":"","sources":["../../src/tools/waitlist-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,cAAc,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"waitlist-list.js","sourceRoot":"","sources":["../../src/tools/waitlist-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,cAAc,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAoB7C,MAAM,CAAC,KAAK,UAAU,YAAY,CAAC,MAKlC;IACC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAExD,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAC7B,IAAI,CAAC;QACH,MAAM,UAAU,GAAG;YACjB,0BAA0B;YAC1B,uBAAuB;SACxB,CAAC;QACF,MAAM,WAAW,GAA4B;YAC3C,SAAS;YACT,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC;SACxB,CAAC;QAEF,IAAI,MAAM,EAAE,CAAC;YACX,UAAU,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;YACtC,WAAW,CAAC,MAAM,GAAG,MAAM,CAAC;QAC9B,CAAC;QAED,IAAI,KAAK,EAAE,CAAC;YACV,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;YACzC,WAAW,CAAC,KAAK,GAAG,K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AC;QAEH,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC;IACzC,CAAC;YAAS,CAAC;QACT,MAAM,OAAO,CAAC,KAAK,EAAE,CAAC;IACxB,CAAC;AACH,CAAC"}
|
|
@@ -11,12 +11,14 @@
|
|
|
11
11
|
* │ ├─ Validate email present and well-formed
|
|
12
12
|
* │ ├─ Hallucination guard: email must appear in source messages
|
|
13
13
|
* │ ├─ MERGE Person node (idempotent on email + accountId)
|
|
14
|
-
* │ ├─ ON CREATE: set all fields
|
|
15
|
-
* │
|
|
14
|
+
* │ ├─ ON CREATE: set all fields; createdOn = conversationDate
|
|
15
|
+
* │ │ (fallback: extraction time); extractedOn = extraction time
|
|
16
|
+
* │ ├─ ON MATCH: backfill name if existing is "Unknown";
|
|
17
|
+
* │ │ preserve createdOn (earliest conversation date)
|
|
16
18
|
* │ ├─ Merge discoveryNotes (new enriches existing)
|
|
17
19
|
* │ └─ Recompute embedding with discovery context
|
|
18
20
|
* │
|
|
19
|
-
*
|
|
21
|
+
* v
|
|
20
22
|
* SUMMARY STATS
|
|
21
23
|
*/
|
|
22
24
|
export interface DiscoveryNotes {
|
|
@@ -33,6 +35,7 @@ export interface ExtractionEntry {
|
|
|
33
35
|
givenName?: string | null;
|
|
34
36
|
familyName?: string | null;
|
|
35
37
|
conversationId?: string | null;
|
|
38
|
+
conversationDate?: string | null;
|
|
36
39
|
businessType?: string | null;
|
|
37
40
|
role?: string | null;
|
|
38
41
|
needs?: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waitlist-persist.d.ts","sourceRoot":"","sources":["../../src/tools/waitlist-persist.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"waitlist-persist.d.ts","sourceRoot":"","sources":["../../src/tools/waitlist-persist.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAUH,MAAM,WAAW,cAAc;IAC7B,YAAY,EAAE,MAAM,GA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AE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAmTD,wBAAsB,eAAe,CACnC,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,qBAAqB,CAAC,CAqFhC"}
|
|
@@ -11,12 +11,14 @@
|
|
|
11
11
|
* │ ├─ Validate email present and well-formed
|
|
12
12
|
* │ ├─ Hallucination guard: email must appear in source messages
|
|
13
13
|
* │ ├─ MERGE Person node (idempotent on email + accountId)
|
|
14
|
-
* │ ├─ ON CREATE: set all fields
|
|
15
|
-
* │
|
|
14
|
+
* │ ├─ ON CREATE: set all fields; createdOn = conversationDate
|
|
15
|
+
* │ │ (fallback: extraction time); extractedOn = extraction time
|
|
16
|
+
* │ ├─ ON MATCH: backfill name if existing is "Unknown";
|
|
17
|
+
* │ │ preserve createdOn (earliest conversation date)
|
|
16
18
|
* │ ├─ Merge discoveryNotes (new enriches existing)
|
|
17
19
|
* │ └─ Recompute embedding with discovery context
|
|
18
20
|
* │
|
|
19
|
-
*
|
|
21
|
+
* v
|
|
20
22
|
* SUMMARY STATS
|
|
21
23
|
*/
|
|
22
24
|
import { getSession } from "../lib/neo4j.js";
|
|
@@ -85,11 +87,11 @@ function parseExtractions(raw) {
|
|
|
85
87
|
throw new Error("LLM returned malformed extraction data — expected a JSON array of contacts. " +
|
|
86
88
|
"Check the extraction prompt or run workflow-get to inspect it.");
|
|
87
89
|
}
|
|
88
|
-
//
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
if (
|
|
92
|
-
return
|
|
90
|
+
// Find the first top-level property that is an array — the LLM may
|
|
91
|
+
// wrap results under any key (extractions, results, leads, contacts, etc.)
|
|
92
|
+
const arrayProp = Object.values(obj).find(Array.isArray);
|
|
93
|
+
if (arrayProp)
|
|
94
|
+
return arrayProp;
|
|
93
95
|
}
|
|
94
96
|
throw new Error("Extraction data is not a JSON array. " +
|
|
95
97
|
"The LLM extraction step must return a JSON array of contact objects.");
|
|
@@ -172,7 +174,14 @@ async function createOrUpdatePerson(entry, accountId, discoveryNotes) {
|
|
|
172
174
|
const givenName = rawGiven ?? "Unknown";
|
|
173
175
|
const session = getSession();
|
|
174
176
|
try {
|
|
175
|
-
const
|
|
177
|
+
const extractedOn = new Date().toISOString();
|
|
178
|
+
const rawConvDate = typeof entry.conversationDate === "string" && entry.conversationDate.trim()
|
|
179
|
+
? entry.conversationDate.trim()
|
|
180
|
+
: null;
|
|
181
|
+
if (!rawConvDate) {
|
|
182
|
+
console.error(`[waitlist-persist] conversationDate missing for ${email}, using extraction time`);
|
|
183
|
+
}
|
|
184
|
+
const createdOn = rawConvDate ?? extractedOn;
|
|
176
185
|
const notesJson = discoveryNotes ? JSON.stringify(discoveryNotes) : null;
|
|
177
186
|
const conversationId = entry.conversationId ?? null;
|
|
178
187
|
const setProps = [
|
|
@@ -181,6 +190,7 @@ async function createOrUpdatePerson(entry, accountId, discoveryNotes) {
|
|
|
181
190
|
"p.source = 'waitlist'",
|
|
182
191
|
"p.status = $status",
|
|
183
192
|
"p.createdOn = $createdOn",
|
|
193
|
+
"p.extractedOn = $extractedOn",
|
|
184
194
|
...(conversationId ? ["p.sessionId = $conversationId"] : []),
|
|
185
195
|
...(notesJson ? ["p.discoveryNotes = $notesJson"] : []),
|
|
186
196
|
].join(",\n ");
|
|
@@ -214,6 +224,7 @@ async function createOrUpdatePerson(entry, accountId, discoveryNotes) {
|
|
|
214
224
|
...(familyName ? { familyName } : {}),
|
|
215
225
|
status,
|
|
216
226
|
createdOn,
|
|
227
|
+
extractedOn,
|
|
217
228
|
...(conversationId ? { conversationId } : {}),
|
|
218
229
|
...(notesJson ? { notesJson } : {}),
|
|
219
230
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waitlist-persist.js","sourceRoot":"","sources":["../../src/tools/waitlist-persist.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAA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 +12,7 @@ export interface WaitlistReviewResult {
|
|
|
12
12
|
email: string;
|
|
13
13
|
previousStatus: string;
|
|
14
14
|
newStatus: string;
|
|
15
|
+
extractedOn?: string;
|
|
15
16
|
discoveryNotes?: string;
|
|
16
17
|
}
|
|
17
18
|
export declare function waitlistReview(params: WaitlistReviewParams): Promise<WaitlistReviewResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waitlist-review.d.ts","sourceRoot":"","sources":["../../src/tools/waitlist-review.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAsB,cAAc,CAClC,MAAM,EAAE,oBAAoB,GAC3B,OAAO,CAAC,oBAAoB,CAAC,
|
|
1
|
+
{"version":3,"file":"waitlist-review.d.ts","sourceRoot":"","sources":["../../src/tools/waitlist-review.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAsB,cAAc,CAClC,MAAM,EAAE,oBAAoB,GAC3B,OAAO,CAAC,oBAAoB,CAAC,CAuG/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waitlist-review.js","sourceRoot":"","sources":["../../src/tools/waitlist-review.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"waitlist-review.js","sourceRoot":"","sources":["../../src/tools/waitlist-review.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAqBjF,MAAM,CAAC,KAAK,UAAU,cAAc,CAClC,MAA4B;IAE5B,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;IAEjF,IAAI,CAAC,KAAK,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;QAC/B,MAAM,IAAI,KAAK,CAAC,iEAAiE,CAAC,CAAC;IACrF,CAAC;IAED,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAC7B,IAAI,CAAC;QACH,oFAAoF;QACpF,IAAI,WAAmB,CAAC;QACxB,IAAI,KAAK,EAAE,CAAC;YACV,WAAW,GAAG,6EAA6E,CAAC;QAC9F,CAA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,CAAC;IACJ,CAAC;YAAS,CAAC;QACT,MAAM,OAAO,CAAC,KAAK,EAAE,CAAC;IACxB,CAAC;AACH,CAAC"}
|
|
@@ -11,13 +11,14 @@
|
|
|
11
11
|
* ├─ Conversation {agentType: 'public'}
|
|
12
12
|
* │ └─ Message {role: 'user'} (ordered by createdAt)
|
|
13
13
|
* │
|
|
14
|
-
*
|
|
14
|
+
* v
|
|
15
15
|
* STRUCTURED JSON
|
|
16
|
-
* { conversations: [{ conversationId, messages }] }
|
|
16
|
+
* { conversations: [{ conversationId, messages, createdAt }] }
|
|
17
17
|
*/
|
|
18
18
|
export interface ConversationTranscript {
|
|
19
19
|
conversationId: string;
|
|
20
20
|
messages: string[];
|
|
21
|
+
createdAt: string | null;
|
|
21
22
|
}
|
|
22
23
|
export interface WaitlistScanResult {
|
|
23
24
|
conversations: ConversationTranscript[];
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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,CA6B7B"}
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
* ├─ Conversation {agentType: 'public'}
|
|
12
12
|
* │ └─ Message {role: 'user'} (ordered by createdAt)
|
|
13
13
|
* │
|
|
14
|
-
*
|
|
14
|
+
* v
|
|
15
15
|
* STRUCTURED JSON
|
|
16
|
-
* { conversations: [{ conversationId, messages }] }
|
|
16
|
+
* { conversations: [{ conversationId, messages, createdAt }] }
|
|
17
17
|
*/
|
|
18
18
|
import { getSession } from "../lib/neo4j.js";
|
|
19
19
|
export async function waitlistScan(accountId) {
|
|
@@ -29,6 +29,7 @@ export async function waitlistScan(accountId) {
|
|
|
29
29
|
const conversations = result.records.map((r) => ({
|
|
30
30
|
conversationId: r.get("conversationId"),
|
|
31
31
|
messages: r.get("messages"),
|
|
32
|
+
createdAt: r.get("createdAt") ?? null,
|
|
32
33
|
}));
|
|
33
34
|
const totalMessages = conversations.reduce((sum, c) => sum + c.messages.length, 0);
|
|
34
35
|
return { conversations, totalMessages };
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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,EAAG,CAAC,CAAC,GAAG,CAAC,WAAW,CAAY,IAAI,IAAI;SAClD,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waitlist-setup.d.ts","sourceRoot":"","sources":["../../src/tools/waitlist-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;
|
|
1
|
+
{"version":3,"file":"waitlist-setup.d.ts","sourceRoot":"","sources":["../../src/tools/waitlist-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AA+CH,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;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,CA8O9B"}
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
import { randomUUID } from "node:crypto";
|
|
19
19
|
import { getSession } from "../lib/neo4j.js";
|
|
20
20
|
import { computeEmbedding } from "../lib/embedding.js";
|
|
21
|
+
import { healBrokenPrompt, healMissingConversationDate, WORKFLOW_NAME } from "./waitlist-heal.js";
|
|
21
22
|
import cronParser from "cron-parser";
|
|
22
23
|
const { parseExpression } = cronParser;
|
|
23
24
|
// ---------------------------------------------------------------------------
|
|
24
25
|
// Constants
|
|
25
26
|
// ---------------------------------------------------------------------------
|
|
26
|
-
const WORKFLOW_NAME = "Waitlist lead extraction";
|
|
27
27
|
const DEFAULT_RECURRENCE = "0 */4 * * *"; // Every 4 hours
|
|
28
28
|
/**
|
|
29
29
|
* The extraction prompt — migrated from the former anthropic.ts Haiku call.
|
|
@@ -32,13 +32,14 @@ const DEFAULT_RECURRENCE = "0 */4 * * *"; // Every 4 hours
|
|
|
32
32
|
*/
|
|
33
33
|
const EXTRACTION_PROMPT = "You extract contact details and customer discovery intelligence from visitor chat conversations.\n\n" +
|
|
34
34
|
"Below is a JSON object containing public agent conversations. It has a `conversations` array " +
|
|
35
|
-
"where each element has a `conversationId` and a `messages` array of user message strings. " +
|
|
35
|
+
"where each element has a `conversationId`, a `createdAt` timestamp, and a `messages` array of user message strings. " +
|
|
36
36
|
"For each conversation that contains an email address, extract the visitor's details.\n\n" +
|
|
37
37
|
"Return ONLY a JSON array of objects. Each object must have these fields:\n" +
|
|
38
38
|
'- "email": the visitor\'s email address (required — skip conversations with no email)\n' +
|
|
39
39
|
'- "givenName": the visitor\'s first/given name, or null if unclear\n' +
|
|
40
40
|
'- "familyName": the visitor\'s last/family name, or null if unclear\n' +
|
|
41
41
|
'- "conversationId": the conversation ID from the input data\n' +
|
|
42
|
+
'- "conversationDate": the createdAt timestamp of the conversation from the input data\n' +
|
|
42
43
|
'- "businessType": what kind of business they run or work in, or null\n' +
|
|
43
44
|
'- "role": their role or position, or null\n' +
|
|
44
45
|
'- "needs": what they need or are looking for, in their own words where possible, or null\n' +
|
|
@@ -95,6 +96,7 @@ export async function waitlistSetup(params) {
|
|
|
95
96
|
// Only updates if the broken pattern is present; preserves any other
|
|
96
97
|
// user customizations made via workflow-update.
|
|
97
98
|
await healBrokenPrompt(session, workflowId);
|
|
99
|
+
await healMissingConversationDate(session, workflowId);
|
|
98
100
|
// Workflow exists but no event — create one
|
|
99
101
|
if (!eventId) {
|
|
100
102
|
const newEventResult = await createScheduledEvent(session, accountId, workflowId, recurrence, timezone);
|
|
@@ -300,37 +302,4 @@ async function createScheduledEvent(session, accountId, workflowId, recurrence,
|
|
|
300
302
|
await session.run(`CREATE (e:Event $props)`, { props });
|
|
301
303
|
return { eventId, nextRun };
|
|
302
304
|
}
|
|
303
|
-
// ---------------------------------------------------------------------------
|
|
304
|
-
// Self-healing: fix broken prompt pattern in existing LLM step
|
|
305
|
-
// ---------------------------------------------------------------------------
|
|
306
|
-
const BROKEN_PROMPT_PATTERN = "{{conversations._raw}}";
|
|
307
|
-
const FIXED_PROMPT_FRAGMENT = "{{conversations}}";
|
|
308
|
-
/**
|
|
309
|
-
* Broken prompt instructions described delimiter-separated text;
|
|
310
|
-
* fixed version describes the JSON format waitlist-scan actually returns.
|
|
311
|
-
*/
|
|
312
|
-
const BROKEN_INSTRUCTION = "Below are transcripts from public agent conversations. Each conversation is delimited by " +
|
|
313
|
-
'"--- CONVERSATION <id> ---".';
|
|
314
|
-
const FIXED_INSTRUCTION = "Below is a JSON object containing public agent conversations. It has a `conversations` array " +
|
|
315
|
-
"where each element has a `conversationId` and a `messages` array of user message strings.";
|
|
316
|
-
const BROKEN_ID_REF = "the conversation ID from the delimiter";
|
|
317
|
-
const FIXED_ID_REF = "the conversation ID from the input data";
|
|
318
|
-
async function healBrokenPrompt(session, workflowId) {
|
|
319
|
-
const result = await session.run(`MATCH (w:Workflow {workflowId: $workflowId})-[:HAS_STEP]->(s:WorkflowStep {type: 'llm'})
|
|
320
|
-
WHERE s.prompt CONTAINS $pattern
|
|
321
|
-
RETURN s.stepId AS stepId, s.prompt AS prompt
|
|
322
|
-
LIMIT 1`, { workflowId, pattern: BROKEN_PROMPT_PATTERN });
|
|
323
|
-
if (result.records.length === 0)
|
|
324
|
-
return;
|
|
325
|
-
const stepId = result.records[0].get("stepId");
|
|
326
|
-
const prompt = result.records[0].get("prompt");
|
|
327
|
-
const healed = prompt
|
|
328
|
-
.replace(BROKEN_PROMPT_PATTERN, FIXED_PROMPT_FRAGMENT)
|
|
329
|
-
.replace(BROKEN_INSTRUCTION, FIXED_INSTRUCTION)
|
|
330
|
-
.replace(BROKEN_ID_REF, FIXED_ID_REF);
|
|
331
|
-
if (healed === prompt)
|
|
332
|
-
return; // Nothing changed — defensive guard
|
|
333
|
-
await session.run(`MATCH (s:WorkflowStep {stepId: $stepId})
|
|
334
|
-
SET s.prompt = $prompt`, { stepId, prompt: healed });
|
|
335
|
-
}
|
|
336
305
|
//# sourceMappingURL=waitlist-setup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waitlist-setup.js","sourceRoot":"","sources":["../../src/tools/waitlist-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,UAAU,MAAM,aAAa,CAAC;AACrC,MAAM,EAAE,eAAe,EAAE,GAAG,UAAU,CAAC;AAEvC,8EAA8E;AAC9E,YAAY;AACZ,8EAA8E;AAE9E,MAAM,
|
|
1
|
+
{"version":3,"file":"waitlist-setup.js","sourceRoot":"","sources":["../../src/tools/waitlist-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,UA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|
"description": "Graph-backed workflow CRUD for Maxy. Creates, manages, and discovers persistent named workflows in Neo4j with embedding-based semantic search.",
|
|
4
4
|
"version": "0.1.0",
|
|
5
5
|
"author": "Rubytech LLC",
|
|
6
|
-
"icon": "🔄",
|
|
7
6
|
"tools": [
|
|
8
7
|
"workflow-create",
|
|
9
8
|
"workflow-list",
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: workflows
|
|
3
3
|
description: "Structured executable workflows. Named compositions of MCP tool calls with validated references, dependency ordering, failure handling, execution history, and schedule integration."
|
|
4
|
-
|
|
4
|
+
tools:
|
|
5
|
+
- workflow-create
|
|
6
|
+
- workflow-list
|
|
7
|
+
- workflow-get
|
|
8
|
+
- workflow-update
|
|
9
|
+
- workflow-delete
|
|
10
|
+
- workflow-validate
|
|
11
|
+
- workflow-execute
|
|
12
|
+
- workflow-runs
|
|
13
|
+
metadata: {"taskmaster":{"always":false,"embed":false,"pluginKey":"workflows","optional":true,"recommended":true}}
|
|
5
14
|
---
|
|
6
15
|
|
|
7
16
|
# Workflows
|
|
@@ -20,13 +29,13 @@ When the user describes a recurring process, conditional action, or reusable seq
|
|
|
20
29
|
- **params** — parameter object with `{{outputKey.field}}` templates for values from prior steps
|
|
21
30
|
- **timeout** — execution timeout in seconds (default: 30, max: 120)
|
|
22
31
|
|
|
23
|
-
**LLM steps** (`type: "llm"`) — LLM reasoning via Claude Code
|
|
32
|
+
**LLM steps** (`type: "llm"`) — LLM reasoning via Claude Code subprocess:
|
|
24
33
|
- **prompt** — prompt template sent to the model. Use `{{outputKey.field}}` for data from prior steps. Instruct the model to return JSON for structured output that downstream steps can reference.
|
|
25
34
|
- **model** — Anthropic model ID (optional, defaults to the account's adminModel)
|
|
26
35
|
- **maxTokens** — maximum output tokens (optional, default: 4096)
|
|
27
36
|
- **timeout** — execution timeout in seconds (default: 60, max: 300). LLM calls are slower than tool calls.
|
|
28
37
|
|
|
29
|
-
LLM steps
|
|
38
|
+
LLM steps spawn Claude Code as a subprocess (`claude --print`), which handles OAuth authentication internally. They never use the Anthropic API key directly — that path is exclusively for the public agent.
|
|
30
39
|
|
|
31
40
|
### Common step fields
|
|
32
41
|
|