@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
|
@@ -1,31 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* LLM calls for workflow steps via Claude Code subprocess.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Spawns `claude --print` as a child process with the resolved prompt.
|
|
5
|
+
* Claude Code handles its own OAuth authentication internally — no
|
|
6
|
+
* credential reading, token refresh, or API endpoint logic needed here.
|
|
7
|
+
* This is the same mechanism the admin chat uses (claude-agent.ts).
|
|
8
8
|
*
|
|
9
|
-
*
|
|
9
|
+
* VALIDATE PROMPT
|
|
10
10
|
* │
|
|
11
|
-
* ├─
|
|
11
|
+
* ├─ empty → throw (no silent fallback)
|
|
12
12
|
* │
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* v
|
|
14
|
+
* SPAWN claude --print --model <model> --max-turns 1
|
|
15
15
|
* │
|
|
16
|
-
* ├─
|
|
17
|
-
* ├─
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* ▼
|
|
22
|
-
* FETCH api.anthropic.com/v1/messages
|
|
23
|
-
* │
|
|
24
|
-
* ├─ 200 → extract text content → return
|
|
25
|
-
* ├─ 429 → throw (caller retries via onFailure policy)
|
|
26
|
-
* ├─ 401 → throw auth error
|
|
27
|
-
* ├─ 5xx → throw (caller retries via onFailure policy)
|
|
28
|
-
* └─ timeout → throw (caller retries via onFailure policy)
|
|
16
|
+
* ├─ ENOENT (not in PATH) → throw
|
|
17
|
+
* ├─ non-zero exit → throw with stderr
|
|
18
|
+
* ├─ timeout → SIGTERM → throw
|
|
19
|
+
* ├─ empty stdout → throw
|
|
20
|
+
* └─ stdout text → return
|
|
29
21
|
*/
|
|
30
22
|
export interface LlmCallParams {
|
|
31
23
|
prompt: string;
|
|
@@ -39,7 +31,7 @@ export interface LlmCallParams {
|
|
|
39
31
|
*/
|
|
40
32
|
export declare function readAdminModel(platformRoot: string, accountId: string): string | null;
|
|
41
33
|
/**
|
|
42
|
-
* Execute a one-shot LLM call
|
|
34
|
+
* Execute a one-shot LLM call by spawning Claude Code.
|
|
43
35
|
*
|
|
44
36
|
* Returns the model's text response. The caller is responsible for
|
|
45
37
|
* parsing the response (JSON or raw text) via parseStepOutput().
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-call.d.ts","sourceRoot":"","sources":["../../src/lib/llm-call.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"llm-call.d.ts","sourceRoot":"","sources":["../../src/lib/llm-call.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAUH,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAMD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAmBrF;AASD;;;;;GAKG;AACH,wBAAsB,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,CA6D3E"}
|
|
@@ -1,186 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* LLM calls for workflow steps via Claude Code subprocess.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Spawns `claude --print` as a child process with the resolved prompt.
|
|
5
|
+
* Claude Code handles its own OAuth authentication internally — no
|
|
6
|
+
* credential reading, token refresh, or API endpoint logic needed here.
|
|
7
|
+
* This is the same mechanism the admin chat uses (claude-agent.ts).
|
|
8
8
|
*
|
|
9
|
-
*
|
|
9
|
+
* VALIDATE PROMPT
|
|
10
10
|
* │
|
|
11
|
-
* ├─
|
|
11
|
+
* ├─ empty → throw (no silent fallback)
|
|
12
12
|
* │
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* v
|
|
14
|
+
* SPAWN claude --print --model <model> --max-turns 1
|
|
15
15
|
* │
|
|
16
|
-
* ├─
|
|
17
|
-
* ├─
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* ▼
|
|
22
|
-
* FETCH api.anthropic.com/v1/messages
|
|
23
|
-
* │
|
|
24
|
-
* ├─ 200 → extract text content → return
|
|
25
|
-
* ├─ 429 → throw (caller retries via onFailure policy)
|
|
26
|
-
* ├─ 401 → throw auth error
|
|
27
|
-
* ├─ 5xx → throw (caller retries via onFailure policy)
|
|
28
|
-
* └─ timeout → throw (caller retries via onFailure policy)
|
|
16
|
+
* ├─ ENOENT (not in PATH) → throw
|
|
17
|
+
* ├─ non-zero exit → throw with stderr
|
|
18
|
+
* ├─ timeout → SIGTERM → throw
|
|
19
|
+
* ├─ empty stdout → throw
|
|
20
|
+
* └─ stdout text → return
|
|
29
21
|
*/
|
|
30
|
-
import {
|
|
22
|
+
import { spawn } from "node:child_process";
|
|
23
|
+
import { readFileSync } from "node:fs";
|
|
31
24
|
import { resolve } from "node:path";
|
|
32
|
-
import { homedir } from "node:os";
|
|
33
|
-
// ─────────────────────────────────────────────────────────────
|
|
34
|
-
// Constants
|
|
35
|
-
// ─────────────────────────────────────────────────────────────
|
|
36
|
-
const CREDENTIALS_FILE = resolve(homedir(), ".claude", ".credentials.json");
|
|
37
|
-
const MESSAGES_API = "https://api.anthropic.com/v1/messages";
|
|
38
|
-
const TOKEN_ENDPOINT = "https://platform.claude.com/v1/oauth/token";
|
|
39
|
-
const CLIENT_ID = "9d1c250a-e61b-44d9-88ed-5944d1962f5e";
|
|
40
|
-
const API_VERSION = "2023-06-01";
|
|
41
|
-
/** Trigger refresh when token expires within this window. */
|
|
42
|
-
const EXPIRING_THRESHOLD_MS = 5 * 60 * 1000; // 5 minutes
|
|
43
|
-
const DEFAULT_MAX_TOKENS = 4096;
|
|
44
|
-
// ─────────────────────────────────────────────────────────────
|
|
45
|
-
// Credential reading
|
|
46
|
-
// ─────────────────────────────────────────────────────────────
|
|
47
|
-
/**
|
|
48
|
-
* Read Claude Code OAuth credentials from ~/.claude/.credentials.json.
|
|
49
|
-
* Throws if the file is missing, corrupt, or lacks the required fields.
|
|
50
|
-
*/
|
|
51
|
-
function readCredentials() {
|
|
52
|
-
let raw;
|
|
53
|
-
try {
|
|
54
|
-
raw = readFileSync(CREDENTIALS_FILE, "utf-8");
|
|
55
|
-
}
|
|
56
|
-
catch {
|
|
57
|
-
throw new Error("Claude Code is not authenticated — no credentials file found. " +
|
|
58
|
-
"Sign in via the browser to authenticate.");
|
|
59
|
-
}
|
|
60
|
-
let data;
|
|
61
|
-
try {
|
|
62
|
-
data = JSON.parse(raw);
|
|
63
|
-
}
|
|
64
|
-
catch {
|
|
65
|
-
throw new Error("Claude Code credentials file is corrupt — cannot parse JSON.");
|
|
66
|
-
}
|
|
67
|
-
const claudeOauth = data.claudeAiOauth;
|
|
68
|
-
if (!claudeOauth || typeof claudeOauth !== "object") {
|
|
69
|
-
throw new Error("Claude Code credentials file is missing the claudeAiOauth section. " +
|
|
70
|
-
"Sign in via the browser to authenticate.");
|
|
71
|
-
}
|
|
72
|
-
const accessToken = claudeOauth.accessToken;
|
|
73
|
-
const refreshToken = claudeOauth.refreshToken;
|
|
74
|
-
const expiresAt = claudeOauth.expiresAt;
|
|
75
|
-
if (typeof accessToken !== "string" || !accessToken) {
|
|
76
|
-
throw new Error("Claude Code credentials are missing an access token.");
|
|
77
|
-
}
|
|
78
|
-
if (typeof expiresAt !== "number" || !Number.isFinite(expiresAt) || expiresAt <= 0) {
|
|
79
|
-
throw new Error("Claude Code credentials have an invalid expiry.");
|
|
80
|
-
}
|
|
81
|
-
return {
|
|
82
|
-
accessToken,
|
|
83
|
-
refreshToken: typeof refreshToken === "string" && refreshToken ? refreshToken : null,
|
|
84
|
-
expiresAt,
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
// ─────────────────────────────────────────────────────────────
|
|
88
|
-
// Token refresh
|
|
89
|
-
// ─────────────────────────────────────────────────────────────
|
|
90
|
-
/**
|
|
91
|
-
* Refresh the OAuth access token. Writes the new credentials back to
|
|
92
|
-
* the credentials file so the Claude CLI stays in sync.
|
|
93
|
-
*
|
|
94
|
-
* Throws on all failure paths — no silent fallback.
|
|
95
|
-
*/
|
|
96
|
-
async function refreshAccessToken(creds) {
|
|
97
|
-
if (!creds.refreshToken) {
|
|
98
|
-
throw new Error("Claude Code access token has expired and no refresh token is available. " +
|
|
99
|
-
"Re-authenticate via the browser.");
|
|
100
|
-
}
|
|
101
|
-
let res;
|
|
102
|
-
try {
|
|
103
|
-
res = await fetch(TOKEN_ENDPOINT, {
|
|
104
|
-
method: "POST",
|
|
105
|
-
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
|
106
|
-
body: new URLSearchParams({
|
|
107
|
-
grant_type: "refresh_token",
|
|
108
|
-
refresh_token: creds.refreshToken,
|
|
109
|
-
client_id: CLIENT_ID,
|
|
110
|
-
}),
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
catch (err) {
|
|
114
|
-
throw new Error(`Failed to reach Claude token endpoint: ${err instanceof Error ? err.message : String(err)}`);
|
|
115
|
-
}
|
|
116
|
-
if (res.status === 429) {
|
|
117
|
-
throw new Error("Claude token refresh rate-limited — retry later.");
|
|
118
|
-
}
|
|
119
|
-
if (!res.ok) {
|
|
120
|
-
const body = await res.text().catch(() => "");
|
|
121
|
-
if (res.status >= 400 && res.status < 500) {
|
|
122
|
-
throw new Error("Claude Code refresh token is expired or revoked. " +
|
|
123
|
-
"Re-authenticate via the browser.");
|
|
124
|
-
}
|
|
125
|
-
throw new Error(`Claude token refresh failed: HTTP ${res.status} — ${body.slice(0, 200)}`);
|
|
126
|
-
}
|
|
127
|
-
let tokenData;
|
|
128
|
-
try {
|
|
129
|
-
tokenData = (await res.json());
|
|
130
|
-
}
|
|
131
|
-
catch {
|
|
132
|
-
throw new Error("Claude token refresh returned malformed JSON.");
|
|
133
|
-
}
|
|
134
|
-
const newAccessToken = tokenData.access_token;
|
|
135
|
-
const newRefreshToken = tokenData.refresh_token;
|
|
136
|
-
const expiresIn = tokenData.expires_in;
|
|
137
|
-
if (!newAccessToken || typeof newAccessToken !== "string") {
|
|
138
|
-
throw new Error("Claude token refresh response is missing access_token.");
|
|
139
|
-
}
|
|
140
|
-
const newExpiresAt = typeof expiresIn === "number" && expiresIn > 0
|
|
141
|
-
? Date.now() + expiresIn * 1000
|
|
142
|
-
: Date.now() + 3600 * 1000; // fallback: 1 hour
|
|
143
|
-
const refreshed = {
|
|
144
|
-
accessToken: newAccessToken,
|
|
145
|
-
refreshToken: newRefreshToken ?? creds.refreshToken,
|
|
146
|
-
expiresAt: newExpiresAt,
|
|
147
|
-
};
|
|
148
|
-
// Write back to credentials file — best effort
|
|
149
|
-
try {
|
|
150
|
-
const rawFile = readFileSync(CREDENTIALS_FILE, "utf-8");
|
|
151
|
-
const fileData = JSON.parse(rawFile);
|
|
152
|
-
const existingOauth = fileData.claudeAiOauth;
|
|
153
|
-
fileData.claudeAiOauth = {
|
|
154
|
-
...existingOauth,
|
|
155
|
-
accessToken: newAccessToken,
|
|
156
|
-
refreshToken: refreshed.refreshToken,
|
|
157
|
-
expiresAt: newExpiresAt,
|
|
158
|
-
};
|
|
159
|
-
writeFileSync(CREDENTIALS_FILE, JSON.stringify(fileData, null, 2), "utf-8");
|
|
160
|
-
console.error("[llm-call] token refreshed successfully");
|
|
161
|
-
}
|
|
162
|
-
catch (err) {
|
|
163
|
-
// Refresh succeeded but write-back failed. The in-memory token is valid
|
|
164
|
-
// for this invocation; the next invocation will attempt its own refresh.
|
|
165
|
-
console.error(`[llm-call] token refresh write-back failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
166
|
-
}
|
|
167
|
-
return refreshed;
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* Ensure we have a valid access token. Reads credentials, refreshes if
|
|
171
|
-
* expiring or expired. Returns the valid access token string.
|
|
172
|
-
*/
|
|
173
|
-
async function ensureAccessToken() {
|
|
174
|
-
let creds = readCredentials();
|
|
175
|
-
const remaining = creds.expiresAt - Date.now();
|
|
176
|
-
if (remaining > EXPIRING_THRESHOLD_MS) {
|
|
177
|
-
return creds.accessToken;
|
|
178
|
-
}
|
|
179
|
-
// Expiring or expired — refresh
|
|
180
|
-
console.error(`[llm-call] token ${remaining > 0 ? "expiring" : "expired"}, refreshing...`);
|
|
181
|
-
creds = await refreshAccessToken(creds);
|
|
182
|
-
return creds.accessToken;
|
|
183
|
-
}
|
|
184
25
|
// ─────────────────────────────────────────────────────────────
|
|
185
26
|
// Account config reading
|
|
186
27
|
// ─────────────────────────────────────────────────────────────
|
|
@@ -208,74 +49,64 @@ export function readAdminModel(platformRoot, accountId) {
|
|
|
208
49
|
}
|
|
209
50
|
}
|
|
210
51
|
// ─────────────────────────────────────────────────────────────
|
|
211
|
-
// LLM call
|
|
52
|
+
// LLM call via Claude Code subprocess
|
|
212
53
|
// ─────────────────────────────────────────────────────────────
|
|
54
|
+
/** Max stderr to capture — enough for diagnostics, bounded to prevent OOM. */
|
|
55
|
+
const MAX_STDERR_BYTES = 4096;
|
|
213
56
|
/**
|
|
214
|
-
* Execute a one-shot LLM call
|
|
57
|
+
* Execute a one-shot LLM call by spawning Claude Code.
|
|
215
58
|
*
|
|
216
59
|
* Returns the model's text response. The caller is responsible for
|
|
217
60
|
* parsing the response (JSON or raw text) via parseStepOutput().
|
|
218
61
|
*/
|
|
219
62
|
export async function executeLlmCall(params) {
|
|
220
|
-
const { prompt, model,
|
|
63
|
+
const { prompt, model, timeoutMs } = params;
|
|
221
64
|
if (!prompt.trim()) {
|
|
222
65
|
throw new Error("LLM step has an empty prompt — nothing to send to the model.");
|
|
223
66
|
}
|
|
224
|
-
|
|
225
|
-
const
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
"anthropic-version": API_VERSION,
|
|
236
|
-
},
|
|
237
|
-
body: JSON.stringify({
|
|
238
|
-
model,
|
|
239
|
-
max_tokens: maxTokens,
|
|
240
|
-
messages: [{ role: "user", content: prompt }],
|
|
241
|
-
}),
|
|
242
|
-
signal: AbortSignal.timeout(timeoutMs),
|
|
67
|
+
console.error(`[llm-call] spawning Claude Code: model=${model}`);
|
|
68
|
+
const args = [
|
|
69
|
+
"--print",
|
|
70
|
+
"--model", model,
|
|
71
|
+
"--max-turns", "1",
|
|
72
|
+
"--permission-mode", "dontAsk",
|
|
73
|
+
prompt,
|
|
74
|
+
];
|
|
75
|
+
return new Promise((promiseResolve, reject) => {
|
|
76
|
+
const proc = spawn("claude", args, {
|
|
77
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
243
78
|
});
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
throw new Error("LLM returned an empty response — no text content.");
|
|
277
|
-
}
|
|
278
|
-
console.error(`[llm-call] response: ${text.length} chars`);
|
|
279
|
-
return text;
|
|
79
|
+
let stdout = "";
|
|
80
|
+
let stderr = "";
|
|
81
|
+
proc.stdout.on("data", (chunk) => {
|
|
82
|
+
stdout += chunk.toString("utf-8");
|
|
83
|
+
});
|
|
84
|
+
proc.stderr.on("data", (chunk) => {
|
|
85
|
+
if (stderr.length < MAX_STDERR_BYTES) {
|
|
86
|
+
stderr += chunk.toString("utf-8").slice(0, MAX_STDERR_BYTES - stderr.length);
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
const timer = setTimeout(() => {
|
|
90
|
+
proc.kill("SIGTERM");
|
|
91
|
+
reject(new Error(`LLM call timed out after ${timeoutMs}ms`));
|
|
92
|
+
}, timeoutMs);
|
|
93
|
+
proc.on("close", (code) => {
|
|
94
|
+
clearTimeout(timer);
|
|
95
|
+
if (code !== 0) {
|
|
96
|
+
reject(new Error(`Claude Code exited with code ${code}${stderr ? `\nstderr: ${stderr.trim()}` : ""}`));
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
if (!stdout.trim()) {
|
|
100
|
+
reject(new Error("Claude Code returned an empty response."));
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
console.error(`[llm-call] response: ${stdout.length} chars`);
|
|
104
|
+
promiseResolve(stdout);
|
|
105
|
+
});
|
|
106
|
+
proc.on("error", (err) => {
|
|
107
|
+
clearTimeout(timer);
|
|
108
|
+
reject(new Error(`Failed to spawn Claude Code: ${err.message}`));
|
|
109
|
+
});
|
|
110
|
+
});
|
|
280
111
|
}
|
|
281
112
|
//# sourceMappingURL=llm-call.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-call.js","sourceRoot":"","sources":["../../src/lib/llm-call.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"llm-call.js","sourceRoot":"","sources":["../../src/lib/llm-call.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAapC,gEAAgE;AAChE,yBAAyB;AACzB,gEAAgE;AAEhE;;;GAGG;AACH,MAAM,UAAU,cAAc,CAAC,YAAoB,EAAE,SAAiB;IACpE,4CAA4C;IAC5C,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;QACpF,MAAM,IAAI,KAAK,CAAC,uBAAuB,SAAS,4BAA4B,CAAC,CAAC;IAChF,CAAC;IAED,MAAM,UAAU,GAAG,OAAO,CAAC,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,CAAC,CAAC;IAE1F,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,YAAY,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;QAC9C,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAA4B,CAAC;QAC1D,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;QACrC,IAAI,OAAO,UAAU,KAAK,QAAQ,IAAI,UAAU,EAAE,CAAC;YACjD,OAAO,UAAU,CAAC;QACpB,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED,gEAAgE;AAChE,sCAAsC;AACtC,gEAAgE;AAEhE,8EA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)
|
|
11
11
|
* │ ├─ cycle detected → CyclicDependencyError
|
|
12
12
|
* │ └─ position tiebreak for independent steps
|
|
13
|
-
*
|
|
13
|
+
* v
|
|
14
14
|
* ORDERED STEPS
|
|
15
15
|
* │
|
|
16
|
-
*
|
|
16
|
+
* v
|
|
17
17
|
* resolveTemplates() ──→ {{key.path}} substitution
|
|
18
18
|
* │ ├─ JSON parse output, fallback to {_raw: text}
|
|
19
19
|
* │ └─ unresolved → UnresolvedTemplateError
|
|
20
|
-
*
|
|
20
|
+
* v
|
|
21
21
|
* RESOLVED PARAMS
|
|
22
22
|
*/
|
|
23
23
|
interface StepBase {
|
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
*
|
|
7
7
|
* STEPS (unordered)
|
|
8
8
|
* │
|
|
9
|
-
*
|
|
9
|
+
* v
|
|
10
10
|
* resolveOrder() ──→ Kahn's algorithm (topological sort)
|
|
11
11
|
* │ ├─ cycle detected → CyclicDependencyError
|
|
12
12
|
* │ └─ position tiebreak for independent steps
|
|
13
|
-
*
|
|
13
|
+
* v
|
|
14
14
|
* ORDERED STEPS
|
|
15
15
|
* │
|
|
16
|
-
*
|
|
16
|
+
* v
|
|
17
17
|
* resolveTemplates() ──→ {{key.path}} substitution
|
|
18
18
|
* │ ├─ JSON parse output, fallback to {_raw: text}
|
|
19
19
|
* │ └─ unresolved → UnresolvedTemplateError
|
|
20
|
-
*
|
|
20
|
+
* v
|
|
21
21
|
* RESOLVED PARAMS
|
|
22
22
|
*/
|
|
23
23
|
// ─────────────────────────────────────────────────────────────
|
|
@@ -7,28 +7,28 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Two step types are supported:
|
|
9
9
|
* type: "tool" — spawns a plugin MCP server child process
|
|
10
|
-
* type: "llm" —
|
|
10
|
+
* type: "llm" — spawns Claude Code subprocess (handles its own OAuth)
|
|
11
11
|
*
|
|
12
12
|
* LOAD WORKFLOW + STEPS
|
|
13
13
|
* │
|
|
14
|
-
*
|
|
14
|
+
* v
|
|
15
15
|
* CREATE WorkflowRun (status: running)
|
|
16
16
|
* │
|
|
17
|
-
*
|
|
17
|
+
* v
|
|
18
18
|
* RESOLVE ORDER (topological sort)
|
|
19
19
|
* │
|
|
20
|
-
*
|
|
20
|
+
* v
|
|
21
21
|
* FOR EACH STEP:
|
|
22
22
|
* ├─ type: "tool"
|
|
23
23
|
* │ resolve {{templates}} in params → spawn MCP server → call tool
|
|
24
24
|
* ├─ type: "llm"
|
|
25
|
-
* │ resolve {{templates}} in prompt →
|
|
25
|
+
* │ resolve {{templates}} in prompt → spawn Claude Code → capture text
|
|
26
26
|
* ├─ parse output (JSON or _raw fallback, strips markdown fences)
|
|
27
27
|
* ├─ store output under step's outputKey
|
|
28
28
|
* ├─ create StepResult node
|
|
29
29
|
* └─ on failure: abort | skip | retry (per step config)
|
|
30
30
|
* │
|
|
31
|
-
*
|
|
31
|
+
* v
|
|
32
32
|
* UPDATE WorkflowRun (completed | partial | failed)
|
|
33
33
|
*/
|
|
34
34
|
export interface WorkflowExecuteParams {
|
|
@@ -7,28 +7,28 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Two step types are supported:
|
|
9
9
|
* type: "tool" — spawns a plugin MCP server child process
|
|
10
|
-
* type: "llm" —
|
|
10
|
+
* type: "llm" — spawns Claude Code subprocess (handles its own OAuth)
|
|
11
11
|
*
|
|
12
12
|
* LOAD WORKFLOW + STEPS
|
|
13
13
|
* │
|
|
14
|
-
*
|
|
14
|
+
* v
|
|
15
15
|
* CREATE WorkflowRun (status: running)
|
|
16
16
|
* │
|
|
17
|
-
*
|
|
17
|
+
* v
|
|
18
18
|
* RESOLVE ORDER (topological sort)
|
|
19
19
|
* │
|
|
20
|
-
*
|
|
20
|
+
* v
|
|
21
21
|
* FOR EACH STEP:
|
|
22
22
|
* ├─ type: "tool"
|
|
23
23
|
* │ resolve {{templates}} in params → spawn MCP server → call tool
|
|
24
24
|
* ├─ type: "llm"
|
|
25
|
-
* │ resolve {{templates}} in prompt →
|
|
25
|
+
* │ resolve {{templates}} in prompt → spawn Claude Code → capture text
|
|
26
26
|
* ├─ parse output (JSON or _raw fallback, strips markdown fences)
|
|
27
27
|
* ├─ store output under step's outputKey
|
|
28
28
|
* ├─ create StepResult node
|
|
29
29
|
* └─ on failure: abort | skip | retry (per step config)
|
|
30
30
|
* │
|
|
31
|
-
*
|
|
31
|
+
* v
|
|
32
32
|
* UPDATE WorkflowRun (completed | partial | failed)
|
|
33
33
|
*/
|
|
34
34
|
import { randomUUID } from "node:crypto";
|
|
@@ -263,7 +263,7 @@ export async function workflowExecute(params) {
|
|
|
263
263
|
stepOutput = result.text;
|
|
264
264
|
}
|
|
265
265
|
else {
|
|
266
|
-
// ── LLM step: resolve prompt,
|
|
266
|
+
// ── LLM step: resolve prompt, spawn Claude Code ──
|
|
267
267
|
const resolvedPrompt = resolveStringTemplate(step.prompt, outputContext);
|
|
268
268
|
if (typeof resolvedPrompt !== "string") {
|
|
269
269
|
throw new Error("LLM prompt resolved to a non-string value — prompt templates must resolve to text");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-execute.js","sourceRoot":"","sources":["../../src/tools/workflow-execute.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,GAEhB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAuBpE,gEAAgE;AAChE,YAAY;AACZ,gEAAgE;AAEhE,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM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