luna-agents 2.0.1
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/.claude-plugin/LICENSE +21 -0
- package/.claude-plugin/README.md +285 -0
- package/.claude-plugin/claude-plugin.json +106 -0
- package/.claude-plugin/index.js +318 -0
- package/.claude-plugin/lib/api-client.js +504 -0
- package/.claude-plugin/lib/rag-utils.js +442 -0
- package/.claude-plugin/package.json +418 -0
- package/LICENSE +21 -0
- package/README.md +350 -0
- package/agents/json/design-architect.json +57 -0
- package/agents/json/luna-auth.json +71 -0
- package/agents/json/luna-brand.json +66 -0
- package/agents/json/luna-cloudflare.json +261 -0
- package/agents/json/luna-code-review.json +63 -0
- package/agents/json/luna-deployment.json +68 -0
- package/agents/json/luna-documentation.json +85 -0
- package/agents/json/luna-hig.json +128 -0
- package/agents/json/luna-layout-designer.json +178 -0
- package/agents/json/luna-monitoring-observability.json +64 -0
- package/agents/json/luna-post-launch-review.json +68 -0
- package/agents/json/luna-requirements-analyzer.json +53 -0
- package/agents/json/luna-task-executor.json +63 -0
- package/agents/json/luna-task-planner.json +62 -0
- package/agents/json/luna-testing-validation.json +66 -0
- package/agents/luna-365-security.md +96 -0
- package/agents/luna-analytics.md +318 -0
- package/agents/luna-api-generator.md +654 -0
- package/agents/luna-auth.md +396 -0
- package/agents/luna-brand.md +248 -0
- package/agents/luna-cloudflare.md +728 -0
- package/agents/luna-code-review.md +487 -0
- package/agents/luna-database.md +453 -0
- package/agents/luna-deployment.md +202 -0
- package/agents/luna-design-architect.md +353 -0
- package/agents/luna-docker.md +615 -0
- package/agents/luna-documentation.md +177 -0
- package/agents/luna-full-test.md +910 -0
- package/agents/luna-glm-vision.md +211 -0
- package/agents/luna-hig.md +430 -0
- package/agents/luna-lemonsqueezy.md +441 -0
- package/agents/luna-monitoring-observability.md +199 -0
- package/agents/luna-openai-app.md +499 -0
- package/agents/luna-post-launch-review.md +191 -0
- package/agents/luna-rag-enhanced.md +1619 -0
- package/agents/luna-rag.md +1733 -0
- package/agents/luna-requirements-analyzer.md +189 -0
- package/agents/luna-run.md +620 -0
- package/agents/luna-seo.md +338 -0
- package/agents/luna-task-executor.md +371 -0
- package/agents/luna-task-planner.md +275 -0
- package/agents/luna-testing-validation.md +681 -0
- package/agents/luna-ui-fix.md +591 -0
- package/agents/luna-ui-test.md +600 -0
- package/agents/luna-user-guide.md +409 -0
- package/agents/site-auditor.md +83 -0
- package/commands/3d-mesh.md +12 -0
- package/commands/3d.md +12 -0
- package/commands/agent-boost.md +13 -0
- package/commands/ai-index.md +16 -0
- package/commands/api.md +12 -0
- package/commands/assert.md +17 -0
- package/commands/audience.md +12 -0
- package/commands/auth.md +17 -0
- package/commands/autopilot.md +12 -0
- package/commands/boost-finsavvy.md +10 -0
- package/commands/boost-org.md +10 -0
- package/commands/boost-project.md +12 -0
- package/commands/brand.md +17 -0
- package/commands/browser-test.md +18 -0
- package/commands/cf.md +26 -0
- package/commands/cfg.md +33 -0
- package/commands/chain.md +12 -0
- package/commands/challenge.md +13 -0
- package/commands/clone.md +12 -0
- package/commands/cmds.md +243 -0
- package/commands/collab.md +12 -0
- package/commands/compete.md +12 -0
- package/commands/config-rules.md +21 -0
- package/commands/connect-infra.md +10 -0
- package/commands/context-pack.md +13 -0
- package/commands/curb.md +12 -0
- package/commands/des.md +38 -0
- package/commands/devto.md +20 -0
- package/commands/dock.md +26 -0
- package/commands/docs.md +33 -0
- package/commands/e2e-flow.md +18 -0
- package/commands/email-routing.md +10 -0
- package/commands/feature.md +12 -0
- package/commands/figma.md +12 -0
- package/commands/fix.md +12 -0
- package/commands/flaky.md +12 -0
- package/commands/flow-record.md +12 -0
- package/commands/gamify.md +12 -0
- package/commands/ghost.md +12 -0
- package/commands/git-insights.md +12 -0
- package/commands/go-viral.md +16 -0
- package/commands/go.md +42 -0
- package/commands/graph-rag.md +13 -0
- package/commands/guard.md +12 -0
- package/commands/heal.md +17 -0
- package/commands/heygen.md +12 -0
- package/commands/hig.md +33 -0
- package/commands/idea.md +12 -0
- package/commands/imagine.md +12 -0
- package/commands/inbox.md +12 -0
- package/commands/lam.md +12 -0
- package/commands/landing.md +12 -0
- package/commands/launch.md +12 -0
- package/commands/learn.md +12 -0
- package/commands/leverage.md +12 -0
- package/commands/ll-365-secure.md +179 -0
- package/commands/ll-3d-mesh.md +94 -0
- package/commands/ll-3d.md +123 -0
- package/commands/ll-a11y-scan.md +143 -0
- package/commands/ll-a11y.md +71 -0
- package/commands/ll-agent-boost.md +92 -0
- package/commands/ll-agent-chain.md +104 -0
- package/commands/ll-ai-index.md +120 -0
- package/commands/ll-api-client.md +77 -0
- package/commands/ll-api.md +99 -0
- package/commands/ll-assert.md +73 -0
- package/commands/ll-audience.md +308 -0
- package/commands/ll-auth.md +145 -0
- package/commands/ll-autopilot.md +113 -0
- package/commands/ll-boost-finsavvy.md +106 -0
- package/commands/ll-boost-org.md +161 -0
- package/commands/ll-boost-project.md +118 -0
- package/commands/ll-brand.md +150 -0
- package/commands/ll-browser-test.md +203 -0
- package/commands/ll-challenge.md +124 -0
- package/commands/ll-changelog.md +80 -0
- package/commands/ll-ci.md +78 -0
- package/commands/ll-claude-instructions.md +80 -0
- package/commands/ll-clone.md +82 -0
- package/commands/ll-cloudflare.md +580 -0
- package/commands/ll-codemap.md +78 -0
- package/commands/ll-collab.md +87 -0
- package/commands/ll-compete.md +67 -0
- package/commands/ll-config-rules.md +255 -0
- package/commands/ll-config.md +434 -0
- package/commands/ll-connect-infra.md +123 -0
- package/commands/ll-context-pack.md +100 -0
- package/commands/ll-curb.md +164 -0
- package/commands/ll-debug.md +76 -0
- package/commands/ll-deploy.md +101 -0
- package/commands/ll-deps.md +70 -0
- package/commands/ll-design.md +86 -0
- package/commands/ll-devto-publish.md +172 -0
- package/commands/ll-dockerize.md +273 -0
- package/commands/ll-docs.md +123 -0
- package/commands/ll-e2e-flow.md +132 -0
- package/commands/ll-e2e-test.md +231 -0
- package/commands/ll-email-routing.md +130 -0
- package/commands/ll-env.md +70 -0
- package/commands/ll-execute.md +98 -0
- package/commands/ll-feature.md +80 -0
- package/commands/ll-figma.md +82 -0
- package/commands/ll-fix.md +76 -0
- package/commands/ll-flaky.md +151 -0
- package/commands/ll-flow-record.md +180 -0
- package/commands/ll-flowdocs.md +83 -0
- package/commands/ll-gamify.md +131 -0
- package/commands/ll-gemma4.md +84 -0
- package/commands/ll-ghost.md +79 -0
- package/commands/ll-git-insights.md +152 -0
- package/commands/ll-go-viral.md +171 -0
- package/commands/ll-graph-rag.md +113 -0
- package/commands/ll-guard.md +92 -0
- package/commands/ll-heal.md +135 -0
- package/commands/ll-heygen.md +203 -0
- package/commands/ll-hig.md +578 -0
- package/commands/ll-hld.md +84 -0
- package/commands/ll-i18n.md +74 -0
- package/commands/ll-idea.md +101 -0
- package/commands/ll-imagine.md +72 -0
- package/commands/ll-inbox.md +116 -0
- package/commands/ll-lam.md +93 -0
- package/commands/ll-landing.md +171 -0
- package/commands/ll-launch.md +100 -0
- package/commands/ll-learn.md +87 -0
- package/commands/ll-leverage.md +137 -0
- package/commands/ll-local-llm.md +131 -0
- package/commands/ll-ls-products.md +160 -0
- package/commands/ll-marketplace.md +130 -0
- package/commands/ll-mcp-publish.md +104 -0
- package/commands/ll-migrate.md +68 -0
- package/commands/ll-mock.md +79 -0
- package/commands/ll-money.md +87 -0
- package/commands/ll-monitor.md +120 -0
- package/commands/ll-morph.md +117 -0
- package/commands/ll-multi-agent.md +170 -0
- package/commands/ll-native.md +93 -0
- package/commands/ll-nexa.md +79 -0
- package/commands/ll-onboarding.md +84 -0
- package/commands/ll-openhands.md +78 -0
- package/commands/ll-organic-promote.md +260 -0
- package/commands/ll-parallel.md +74 -0
- package/commands/ll-payments.md +83 -0
- package/commands/ll-perf-trace.md +147 -0
- package/commands/ll-perf.md +65 -0
- package/commands/ll-persona.md +280 -0
- package/commands/ll-pipe.md +296 -0
- package/commands/ll-plan-impl.js +570 -0
- package/commands/ll-plan-v2.md +297 -0
- package/commands/ll-plan.md +87 -0
- package/commands/ll-postlaunch.md +109 -0
- package/commands/ll-pr.md +84 -0
- package/commands/ll-present.md +110 -0
- package/commands/ll-product-map.md +152 -0
- package/commands/ll-promote.md +352 -0
- package/commands/ll-publish.md +124 -0
- package/commands/ll-pulse.md +96 -0
- package/commands/ll-rag-guided.md +345 -0
- package/commands/ll-rag-upgrade.md +504 -0
- package/commands/ll-rag.md +343 -0
- package/commands/ll-record.md +114 -0
- package/commands/ll-refactor.md +71 -0
- package/commands/ll-requirements.md +71 -0
- package/commands/ll-review.md +92 -0
- package/commands/ll-rollback.md +66 -0
- package/commands/ll-routemap.md +79 -0
- package/commands/ll-rules.md +90 -0
- package/commands/ll-shortcuts.md +229 -0
- package/commands/ll-sing.md +99 -0
- package/commands/ll-site-audit.md +228 -0
- package/commands/ll-smart-route.md +92 -0
- package/commands/ll-smart-search.md +58 -0
- package/commands/ll-storybook.md +86 -0
- package/commands/ll-swarm.md +101 -0
- package/commands/ll-test.md +97 -0
- package/commands/ll-time-machine.md +72 -0
- package/commands/ll-ui-convert.md +433 -0
- package/commands/ll-video.md +108 -0
- package/commands/ll-vision-pipeline.md +247 -0
- package/commands/ll-vision.md +74 -0
- package/commands/ll-visual-diff.md +118 -0
- package/commands/ll-visual-qa.md +204 -0
- package/commands/ll-visual-regression.md +96 -0
- package/commands/ll-voice.md +138 -0
- package/commands/ll-watch.md +65 -0
- package/commands/ll-workflow.md +108 -0
- package/commands/ll-zen.md +98 -0
- package/commands/local-llm.md +12 -0
- package/commands/marketplace.md +13 -0
- package/commands/mcp-publish.md +16 -0
- package/commands/migrate.md +12 -0
- package/commands/money.md +12 -0
- package/commands/morph.md +12 -0
- package/commands/multi-agent.md +12 -0
- package/commands/native.md +12 -0
- package/commands/nexa.md +12 -0
- package/commands/oh.md +12 -0
- package/commands/organic-promote.md +16 -0
- package/commands/perf-trace.md +12 -0
- package/commands/perf.md +12 -0
- package/commands/persona.md +12 -0
- package/commands/pipe.md +21 -0
- package/commands/plan.md +38 -0
- package/commands/pr.md +12 -0
- package/commands/present.md +12 -0
- package/commands/product-map.md +13 -0
- package/commands/promote.md +16 -0
- package/commands/publish.md +12 -0
- package/commands/pulse.md +12 -0
- package/commands/q.md +35 -0
- package/commands/record.md +12 -0
- package/commands/refactor.md +12 -0
- package/commands/req.md +40 -0
- package/commands/retro.md +33 -0
- package/commands/rev.md +39 -0
- package/commands/rules.md +19 -0
- package/commands/search.md +12 -0
- package/commands/sec.md +34 -0
- package/commands/ship.md +39 -0
- package/commands/sing.md +12 -0
- package/commands/site-audit.md +12 -0
- package/commands/smart-route.md +13 -0
- package/commands/swarm.md +12 -0
- package/commands/test.md +39 -0
- package/commands/time-machine.md +12 -0
- package/commands/ui.md +33 -0
- package/commands/video.md +12 -0
- package/commands/vision.md +12 -0
- package/commands/voice.md +12 -0
- package/commands/vr.md +18 -0
- package/commands/watch.md +39 -0
- package/commands/workflow.md +19 -0
- package/commands/zen.md +12 -0
- package/package.json +76 -0
- package/setup.sh +382 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-pulse
|
|
3
|
+
displayName: Luna Pulse
|
|
4
|
+
description: Real-time health pulse across your entire stack β code, infra, users, revenue, team velocity β in one view
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: monitoring
|
|
7
|
+
agent: luna-monitoring-observability
|
|
8
|
+
parameters:
|
|
9
|
+
- name: scope
|
|
10
|
+
type: string
|
|
11
|
+
description: "Scope: all, code, infra, users, revenue, team"
|
|
12
|
+
required: false
|
|
13
|
+
default: all
|
|
14
|
+
mcp_servers:
|
|
15
|
+
- git
|
|
16
|
+
- cloudflare
|
|
17
|
+
- fetch
|
|
18
|
+
- memory
|
|
19
|
+
- sequential-thinking
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# /pulse β Your Product's Vital Signs
|
|
23
|
+
|
|
24
|
+
One command to see everything that matters. Combines signals from code, infrastructure, users, and revenue into a single health score.
|
|
25
|
+
|
|
26
|
+
## Dashboard
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
/pulse
|
|
30
|
+
β
|
|
31
|
+
βΌ
|
|
32
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
33
|
+
β LUNA PULSE β
|
|
34
|
+
β Score: 87/100 β
|
|
35
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
|
|
36
|
+
β β
|
|
37
|
+
β CODE HEALTH ββββββββββ 82% β
|
|
38
|
+
β βββ Test coverage: 91% β
|
|
39
|
+
β βββ Open PRs: 3 (oldest: 2 days) β
|
|
40
|
+
β βββ CI status: all green β
|
|
41
|
+
β βββ Security: 0 critical, 1 medium β
|
|
42
|
+
β βββ Tech debt: 4 TODOs in release branch β
|
|
43
|
+
β β
|
|
44
|
+
β INFRA HEALTH ββββββββββ 95% β
|
|
45
|
+
β βββ API latency p99: 142ms β
|
|
46
|
+
β βββ Error rate: 0.02% β
|
|
47
|
+
β βββ Edge cache hit: 94% β
|
|
48
|
+
β βββ DB connections: 12/100 β
|
|
49
|
+
β βββ Uptime (30d): 99.98% β
|
|
50
|
+
β β
|
|
51
|
+
β USER HEALTH ββββββββββ 80% β
|
|
52
|
+
β βββ DAU: 1,247 (+12% WoW) β
|
|
53
|
+
β βββ SignupβActive: 34% β
|
|
54
|
+
β βββ NPS: 42 β
|
|
55
|
+
β βββ Support tickets: 8 open (avg 4h response) β
|
|
56
|
+
β βββ Feature adoption: auth 89%, billing 67% β
|
|
57
|
+
β β
|
|
58
|
+
β REVENUE HEALTH ββββββββββ 92% β
|
|
59
|
+
β βββ MRR: $12,400 (+8% MoM) β
|
|
60
|
+
β βββ Churn: 2.1% (target <3%) β
|
|
61
|
+
β βββ ARPU: $28.50 β
|
|
62
|
+
β βββ TrialβPaid: 18% β
|
|
63
|
+
β βββ Failed payments: 2 (recovering) β
|
|
64
|
+
β β
|
|
65
|
+
β TEAM VELOCITY ββββββββββ 88% β
|
|
66
|
+
β βββ PRs merged this week: 14 β
|
|
67
|
+
β βββ Avg review time: 3.2 hours β
|
|
68
|
+
β βββ Sprint completion: 85% β
|
|
69
|
+
β βββ Blockers: 1 β
|
|
70
|
+
β βββ Deploy frequency: 4/week β
|
|
71
|
+
β β
|
|
72
|
+
β ALERTS β
|
|
73
|
+
β β Medium vuln in express@4.18.2 β fix available β
|
|
74
|
+
β β PR #47 open 3 days without review β
|
|
75
|
+
β β All critical paths have 100% test coverage β
|
|
76
|
+
β β
|
|
77
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Usage
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
/pulse # Full dashboard
|
|
84
|
+
/pulse code # Code health only
|
|
85
|
+
/pulse infra # Infrastructure only
|
|
86
|
+
/pulse revenue # Revenue metrics only
|
|
87
|
+
/pulse team # Team velocity only
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## In Pipes
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
/pipe pulse >> if $pulse.score < 80 >> fix >> pulse # Auto-heal if unhealthy
|
|
94
|
+
/pipe launch production >> pulse >> assert $pulse.infra > 90
|
|
95
|
+
/pipe pulse >> report >> notify team # Daily standup pulse
|
|
96
|
+
```
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
# luna-rag - Single Guided Flow
|
|
2
|
+
|
|
3
|
+
## π Luna RAG - Complete Intelligent Code Search
|
|
4
|
+
|
|
5
|
+
**One command, one guided experience. No need to remember multiple commands.**
|
|
6
|
+
|
|
7
|
+
## π Usage
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
/luna-rag
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
That's it! Luna RAG will guide you through everything based on your current status.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## π― The Guided Flow Experience
|
|
18
|
+
|
|
19
|
+
### **First-Time User (Free Tier)**
|
|
20
|
+
|
|
21
|
+
**User runs:** `/luna-rag`
|
|
22
|
+
|
|
23
|
+
**Response:**
|
|
24
|
+
```
|
|
25
|
+
π Welcome to Luna RAG!
|
|
26
|
+
|
|
27
|
+
I see you're new here! Let's get you set up with intelligent code search.
|
|
28
|
+
|
|
29
|
+
π Your Free Starter Kit:
|
|
30
|
+
β
100 searches per day
|
|
31
|
+
β
1,000 files indexed
|
|
32
|
+
β
Basic semantic search
|
|
33
|
+
β
Community support
|
|
34
|
+
|
|
35
|
+
π Ready to explore your codebase?
|
|
36
|
+
Try asking me about your project:
|
|
37
|
+
"How does authentication work in this codebase?"
|
|
38
|
+
"Find similar implementations to user profiles"
|
|
39
|
+
"What are the error handling patterns?"
|
|
40
|
+
|
|
41
|
+
π‘ Or, I can help you get started with a quick project analysis:
|
|
42
|
+
/luna-rag analyze
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### **When User Hits Usage Limits**
|
|
46
|
+
|
|
47
|
+
**User runs:** `/luna-rag "complex authentication flow"`
|
|
48
|
+
|
|
49
|
+
**Response (when at limit):**
|
|
50
|
+
```
|
|
51
|
+
π― Great question! However, I see you've reached your daily limit of 100 searches.
|
|
52
|
+
|
|
53
|
+
β° Your limit resets in: 6 hours, 23 minutes
|
|
54
|
+
|
|
55
|
+
π Ready for unlimited searches + Vision AI?
|
|
56
|
+
Upgrade to Luna RAG Pro:
|
|
57
|
+
|
|
58
|
+
π What you'll unlock:
|
|
59
|
+
β
Unlimited semantic searches (no limits!)
|
|
60
|
+
β
Unlimited file indexing
|
|
61
|
+
β
Luna Vision RAGβ’ - analyze screenshots with code context
|
|
62
|
+
β
GLM Vision - advanced visual AI testing
|
|
63
|
+
β
Priority support (24hr response)
|
|
64
|
+
|
|
65
|
+
π³ Special offer: $29/month with 14-day FREE trial
|
|
66
|
+
|
|
67
|
+
Would you like to:
|
|
68
|
+
1οΈβ£ Start your free trial now
|
|
69
|
+
2οΈβ£ Learn more about Pro features
|
|
70
|
+
3οΈβ£ Wait for your free limit to reset
|
|
71
|
+
|
|
72
|
+
Just tell me your choice! π
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### **When User Chooses to Upgrade**
|
|
76
|
+
|
|
77
|
+
**User responds:** "1" or "start trial" or "upgrade"
|
|
78
|
+
|
|
79
|
+
**Guided Response:**
|
|
80
|
+
```
|
|
81
|
+
π Excellent choice! Let's get you set up with Luna RAG Pro.
|
|
82
|
+
|
|
83
|
+
π§ First, what's your email address?
|
|
84
|
+
I'll use this for your account and API key delivery.
|
|
85
|
+
|
|
86
|
+
Example: john@example.com
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
**User provides email:** "john@example.com"
|
|
90
|
+
|
|
91
|
+
**Continued Guidance:**
|
|
92
|
+
```
|
|
93
|
+
β
Great! Email set: john@example.com
|
|
94
|
+
|
|
95
|
+
π³ Now let's set up your secure payment:
|
|
96
|
+
|
|
97
|
+
π Your 14-day FREE trial includes:
|
|
98
|
+
β’ Unlimited searches immediately
|
|
99
|
+
β’ Luna Vision RAGβ’ screenshot analysis
|
|
100
|
+
β’ GLM Vision advanced testing
|
|
101
|
+
β’ Priority support
|
|
102
|
+
|
|
103
|
+
π° Pricing: $0.00 today, then $29/month
|
|
104
|
+
π Secure payment via LemonSqueezy (PCI compliant)
|
|
105
|
+
|
|
106
|
+
Ready for checkout? I'll open the secure payment page for you.
|
|
107
|
+
|
|
108
|
+
1οΈβ£ Open secure checkout now
|
|
109
|
+
2οΈβ£ Learn about payment methods
|
|
110
|
+
3οΈβ£ Ask questions first
|
|
111
|
+
|
|
112
|
+
What would you like to do? π
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### **After Payment Success**
|
|
116
|
+
|
|
117
|
+
**Automatic Response:**
|
|
118
|
+
```
|
|
119
|
+
π Congratulations! Welcome to Luna RAG Pro!
|
|
120
|
+
|
|
121
|
+
β
Payment successful
|
|
122
|
+
β
Trial activated: 14 days free
|
|
123
|
+
β
Your API key: luna_AbCdEfGh1234567890IjKlMnOpQrSt
|
|
124
|
+
β
Pro features enabled immediately
|
|
125
|
+
|
|
126
|
+
π Try your new Pro features:
|
|
127
|
+
β’ /luna-rag "analyze login-screenshot.png" "How does this compare to our auth code?"
|
|
128
|
+
β’ /luna-rag "complex microservices architecture patterns"
|
|
129
|
+
β’ /luna-rag "comprehensive codebase analysis"
|
|
130
|
+
|
|
131
|
+
π‘ Your Pro benefits:
|
|
132
|
+
β
Unlimited searches and indexing
|
|
133
|
+
β
Luna Vision RAGβ’ (screenshot analysis)
|
|
134
|
+
β
GLM Vision (advanced visual AI)
|
|
135
|
+
β
Priority support
|
|
136
|
+
β
Advanced analytics
|
|
137
|
+
|
|
138
|
+
Ready to explore your code like never before? Try asking me anything about your project! π
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### **Returning Pro User**
|
|
142
|
+
|
|
143
|
+
**User runs:** `/luna-rag`
|
|
144
|
+
|
|
145
|
+
**Response:**
|
|
146
|
+
```
|
|
147
|
+
π Welcome back, John!
|
|
148
|
+
|
|
149
|
+
π Luna RAG Pro Status:
|
|
150
|
+
β
Trial active - 11 days remaining
|
|
151
|
+
β
1,234 searches this month
|
|
152
|
+
β
45 Vision analyses completed
|
|
153
|
+
β
Priority support enabled
|
|
154
|
+
|
|
155
|
+
π What can I help you with today?
|
|
156
|
+
β’ Search your codebase: "How does the payment system work?"
|
|
157
|
+
β’ Analyze screenshots: Upload an image and ask questions
|
|
158
|
+
β’ Find patterns: "Show me authentication patterns"
|
|
159
|
+
β’ Compare implementations: "Compare these two approaches"
|
|
160
|
+
|
|
161
|
+
Just ask me anything about your code! π
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### **Enterprise Team Setup**
|
|
165
|
+
|
|
166
|
+
**When team user runs:** `/luna-rag`
|
|
167
|
+
|
|
168
|
+
**Response (for team leads):**
|
|
169
|
+
```
|
|
170
|
+
π’ I see you're working with a team!
|
|
171
|
+
|
|
172
|
+
For teams of 10+ users, Luna RAG Enterprise offers:
|
|
173
|
+
π₯ Team collaboration with shared workspaces
|
|
174
|
+
π SSO integration (SAML, LDAP)
|
|
175
|
+
π Team analytics and usage tracking
|
|
176
|
+
π Custom AI training on your codebase
|
|
177
|
+
π Dedicated support with SLA
|
|
178
|
+
|
|
179
|
+
π° Team pricing starts at $39/user/month
|
|
180
|
+
|
|
181
|
+
Would you like me to:
|
|
182
|
+
1οΈβ£ Connect you with our enterprise team
|
|
183
|
+
2οΈβ£ Schedule a personalized demo
|
|
184
|
+
3οΈβ£ Continue with individual Pro account
|
|
185
|
+
|
|
186
|
+
What's best for your team? π
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## π― Guided Decision Tree Logic
|
|
192
|
+
|
|
193
|
+
The `/luna-rag` command intelligently handles all scenarios:
|
|
194
|
+
|
|
195
|
+
### **1. New User Detection**
|
|
196
|
+
```javascript
|
|
197
|
+
if (!user.exists) {
|
|
198
|
+
showWelcomeAndStarterKit();
|
|
199
|
+
}
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### **2. Usage Limit Check**
|
|
203
|
+
```javascript
|
|
204
|
+
if (user.tier === 'free' && user.dailyUsage >= 100) {
|
|
205
|
+
showUpgradePrompt();
|
|
206
|
+
}
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### **3. Feature Gate Detection**
|
|
210
|
+
```javascript
|
|
211
|
+
if (request.includes('screenshot') && user.tier === 'free') {
|
|
212
|
+
showPremiumFeaturePreview();
|
|
213
|
+
}
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
### **4. Team Size Detection**
|
|
217
|
+
```javascript
|
|
218
|
+
if (user.teamSize >= 10) {
|
|
219
|
+
showEnterpriseOptions();
|
|
220
|
+
}
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
### **5. Subscription Management**
|
|
224
|
+
```javascript
|
|
225
|
+
if (user.subscription.expiresSoon) {
|
|
226
|
+
showRenewalReminder();
|
|
227
|
+
}
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
|
+
## π¬ Conversation Examples
|
|
233
|
+
|
|
234
|
+
### **Complete New User Journey**
|
|
235
|
+
|
|
236
|
+
```
|
|
237
|
+
User: /luna-rag
|
|
238
|
+
|
|
239
|
+
Luna: π Welcome to Luna RAG! I see you're new here...
|
|
240
|
+
Try asking: "How does authentication work?"
|
|
241
|
+
|
|
242
|
+
User: How does authentication work here?
|
|
243
|
+
|
|
244
|
+
Luna: π I found 23 authentication patterns in your codebase...
|
|
245
|
+
[Provides comprehensive analysis]
|
|
246
|
+
|
|
247
|
+
User: Wow! Can you analyze this login screenshot I have?
|
|
248
|
+
|
|
249
|
+
Luna: πΌοΈ That's Luna Vision RAGβ’ - our premium feature!
|
|
250
|
+
π Try it free (watermarked) or upgrade for full analysis.
|
|
251
|
+
Ready to unlock unlimited Vision AI? (14-day free trial)
|
|
252
|
+
|
|
253
|
+
User: Yes, let's try the trial!
|
|
254
|
+
|
|
255
|
+
Luna: π Great! What's your email address?
|
|
256
|
+
[Guides through email setup β payment β activation]
|
|
257
|
+
|
|
258
|
+
Luna: π Welcome to Luna RAG Pro! Your API key is ready...
|
|
259
|
+
Try: /luna-rag "analyze login-screenshot.png"
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
### **Seamless Upgrade Experience**
|
|
263
|
+
|
|
264
|
+
```
|
|
265
|
+
User: /luna-rag "Find all microservices patterns"
|
|
266
|
+
|
|
267
|
+
Luna: β οΈ You've reached your daily limit of 100 searches.
|
|
268
|
+
π Upgrade for unlimited searches + Vision AI (14-day free trial)
|
|
269
|
+
Ready to continue your search immediately?
|
|
270
|
+
|
|
271
|
+
User: Yes, upgrade me!
|
|
272
|
+
|
|
273
|
+
Luna: π³ Opening secure checkout...
|
|
274
|
+
[Seamless payment flow]
|
|
275
|
+
|
|
276
|
+
Luna: β
Welcome to Pro! Your search results are ready...
|
|
277
|
+
[Provides immediate value]
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
---
|
|
281
|
+
|
|
282
|
+
## π¨ Key Benefits of Single Guided Flow
|
|
283
|
+
|
|
284
|
+
### **For Users:**
|
|
285
|
+
- β
**Zero confusion** - One command handles everything
|
|
286
|
+
- β
**Context awareness** - Remembers conversation history
|
|
287
|
+
- β
**Natural language** - No technical commands to remember
|
|
288
|
+
- β
**Progressive disclosure** - Features revealed as needed
|
|
289
|
+
- β
**Frictionless** - Smooth upgrade path when needed
|
|
290
|
+
|
|
291
|
+
### **For Business:**
|
|
292
|
+
- β
**Higher conversion** - Natural progression from free to paid
|
|
293
|
+
- β
**Better engagement** - Conversational interface
|
|
294
|
+
- β
**Reduced support** - Self-guided onboarding
|
|
295
|
+
- β
**Clear value** - Premium benefits shown at right time
|
|
296
|
+
- β
**Team expansion** - Automatic enterprise detection
|
|
297
|
+
|
|
298
|
+
### **Technical Benefits:**
|
|
299
|
+
- β
**State management** - Maintains conversation context
|
|
300
|
+
- β
**Smart routing** - Directs users to optimal path
|
|
301
|
+
- β
**Usage tracking** - Monitors conversion triggers
|
|
302
|
+
- β
**A/B testing** - Easy to test different flows
|
|
303
|
+
- β
**Analytics** - Tracks drop-off points and conversions
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
## π Implementation Notes
|
|
308
|
+
|
|
309
|
+
### **State Management**
|
|
310
|
+
```javascript
|
|
311
|
+
const conversationState = {
|
|
312
|
+
userTier: 'free',
|
|
313
|
+
usageCount: 45,
|
|
314
|
+
lastQuery: 'authentication patterns',
|
|
315
|
+
upgradeShown: false,
|
|
316
|
+
emailCollected: false,
|
|
317
|
+
trialStarted: false
|
|
318
|
+
};
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
### **Response Templates**
|
|
322
|
+
```javascript
|
|
323
|
+
const responses = {
|
|
324
|
+
welcome: 'π Welcome to Luna RAG...',
|
|
325
|
+
limitReached: 'β οΈ You\'ve reached your daily limit...',
|
|
326
|
+
upgradeSuccess: 'π Welcome to Luna RAG Pro!',
|
|
327
|
+
enterprise: 'π’ For teams of 10+ users...'
|
|
328
|
+
};
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
### **Conversion Tracking**
|
|
332
|
+
```javascript
|
|
333
|
+
function trackConversion(step, action) {
|
|
334
|
+
analytics.track('rag_conversion', {
|
|
335
|
+
step, // 'welcome', 'upgrade_prompt', 'payment', 'success'
|
|
336
|
+
action,
|
|
337
|
+
userTier,
|
|
338
|
+
timestamp: Date.now()
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
---
|
|
344
|
+
|
|
345
|
+
**π One command, perfect experience. Users never need to learn multiple commands - just ask `/luna-rag` and let the intelligent guide handle everything!**
|