@conversionpros/aiva 1.0.0
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/README.md +148 -0
- package/auto-deploy.js +190 -0
- package/bin/aiva.js +81 -0
- package/cli-sync.js +126 -0
- package/d2a-prompt-template.txt +106 -0
- package/diagnostics-api.js +304 -0
- package/docs/ara-dedup-fix-scope.md +112 -0
- package/docs/ara-fix-round2-scope.md +61 -0
- package/docs/ara-greeting-fix-scope.md +70 -0
- package/docs/calendar-date-fix-scope.md +28 -0
- package/docs/getting-started.md +115 -0
- package/docs/network-architecture-rollout-scope.md +43 -0
- package/docs/scope-google-oauth-integration.md +351 -0
- package/docs/settings-page-scope.md +50 -0
- package/docs/xai-imagine-scope.md +116 -0
- package/docs/xai-voice-integration-scope.md +115 -0
- package/docs/xai-voice-tools-scope.md +165 -0
- package/email-router.js +512 -0
- package/follow-up-handler.js +606 -0
- package/gateway-monitor.js +158 -0
- package/google-email.js +379 -0
- package/google-oauth.js +310 -0
- package/grok-imagine.js +97 -0
- package/health-reporter.js +287 -0
- package/invisible-prefix-base.txt +206 -0
- package/invisible-prefix-owner.txt +26 -0
- package/invisible-prefix-slim.txt +10 -0
- package/invisible-prefix.txt +43 -0
- package/knowledge-base.js +472 -0
- package/lib/cli.js +19 -0
- package/lib/config.js +124 -0
- package/lib/health.js +57 -0
- package/lib/process.js +207 -0
- package/lib/server.js +42 -0
- package/lib/setup.js +472 -0
- package/meta-capi.js +206 -0
- package/meta-leads.js +411 -0
- package/notion-oauth.js +323 -0
- package/package.json +61 -0
- package/public/agent-config.html +241 -0
- package/public/aiva-avatar-anime.png +0 -0
- package/public/css/docs.css.bak +688 -0
- package/public/css/onboarding.css +543 -0
- package/public/diagrams/claude-subscription-pool.html +329 -0
- package/public/diagrams/claude-subscription-pool.png +0 -0
- package/public/docs-icon.png +0 -0
- package/public/escalation.html +237 -0
- package/public/group-config.html +300 -0
- package/public/icon-192.png +0 -0
- package/public/icon-512.png +0 -0
- package/public/icons/agents.svg +1 -0
- package/public/icons/attach.svg +1 -0
- package/public/icons/characters.svg +1 -0
- package/public/icons/chat.svg +1 -0
- package/public/icons/docs.svg +1 -0
- package/public/icons/heartbeat.svg +1 -0
- package/public/icons/messages.svg +1 -0
- package/public/icons/mic.svg +1 -0
- package/public/icons/notes.svg +1 -0
- package/public/icons/settings.svg +1 -0
- package/public/icons/tasks.svg +1 -0
- package/public/images/onboarding/p0-communication-layer.png +0 -0
- package/public/images/onboarding/p0-infinite-surface.png +0 -0
- package/public/images/onboarding/p0-learning-model.png +0 -0
- package/public/images/onboarding/p0-meet-aiva.png +0 -0
- package/public/images/onboarding/p4-contact-intelligence.png +0 -0
- package/public/images/onboarding/p4-context-compounds.png +0 -0
- package/public/images/onboarding/p4-message-router.png +0 -0
- package/public/images/onboarding/p4-per-contact-rules.png +0 -0
- package/public/images/onboarding/p4-send-messages.png +0 -0
- package/public/images/onboarding/p6-be-precise.png +0 -0
- package/public/images/onboarding/p6-review-escalations.png +0 -0
- package/public/images/onboarding/p6-voice-input.png +0 -0
- package/public/images/onboarding/p7-completion.png +0 -0
- package/public/index.html +11594 -0
- package/public/js/onboarding.js +699 -0
- package/public/manifest.json +24 -0
- package/public/messages-v2.html +2824 -0
- package/public/permission-approve.html.bak +107 -0
- package/public/permissions.html +150 -0
- package/public/styles/design-system.css +68 -0
- package/router-db.js +604 -0
- package/router-utils.js +28 -0
- package/router-v2/adapters/imessage.js +191 -0
- package/router-v2/adapters/quo.js +82 -0
- package/router-v2/adapters/whatsapp.js +192 -0
- package/router-v2/contact-manager.js +234 -0
- package/router-v2/conversation-engine.js +498 -0
- package/router-v2/data/knowledge-base.json +176 -0
- package/router-v2/data/router-v2.db +0 -0
- package/router-v2/data/router-v2.db-shm +0 -0
- package/router-v2/data/router-v2.db-wal +0 -0
- package/router-v2/data/router.db +0 -0
- package/router-v2/db.js +457 -0
- package/router-v2/escalation-bridge.js +540 -0
- package/router-v2/follow-up-engine.js +347 -0
- package/router-v2/index.js +441 -0
- package/router-v2/ingestion.js +213 -0
- package/router-v2/knowledge-base.js +231 -0
- package/router-v2/lead-qualifier.js +152 -0
- package/router-v2/learning-loop.js +202 -0
- package/router-v2/outbound-sender.js +160 -0
- package/router-v2/package.json +13 -0
- package/router-v2/permission-gate.js +86 -0
- package/router-v2/playbook.js +177 -0
- package/router-v2/prompts/base.js +52 -0
- package/router-v2/prompts/first-contact.js +38 -0
- package/router-v2/prompts/lead-qualification.js +37 -0
- package/router-v2/prompts/scheduling.js +72 -0
- package/router-v2/prompts/style-overrides.js +22 -0
- package/router-v2/scheduler.js +301 -0
- package/router-v2/scripts/migrate-v1-to-v2.js +215 -0
- package/router-v2/scripts/seed-faq.js +67 -0
- package/router-v2/seed-knowledge-base.js +39 -0
- package/router-v2/utils/ai.js +129 -0
- package/router-v2/utils/phone.js +52 -0
- package/router-v2/utils/response-validator.js +98 -0
- package/router-v2/utils/sanitize.js +222 -0
- package/router.js +5005 -0
- package/routes/google-calendar.js +186 -0
- package/scripts/deploy.sh +62 -0
- package/scripts/macos-calendar.sh +232 -0
- package/scripts/onboard-device.sh +466 -0
- package/server.js +5131 -0
- package/start.sh +24 -0
- package/templates/AGENTS.md +548 -0
- package/templates/IDENTITY.md +15 -0
- package/templates/docs-agents.html +132 -0
- package/templates/docs-app.html +130 -0
- package/templates/docs-home.html +83 -0
- package/templates/docs-imessage.html +121 -0
- package/templates/docs-tasks.html +123 -0
- package/templates/docs-tips.html +175 -0
- package/templates/getting-started.html +809 -0
- package/templates/invisible-prefix-base.txt +171 -0
- package/templates/invisible-prefix-owner.txt +282 -0
- package/templates/invisible-prefix.txt +338 -0
- package/templates/manifest.json +61 -0
- package/templates/memory-org/clients.md +7 -0
- package/templates/memory-org/credentials.md +9 -0
- package/templates/memory-org/devices.md +7 -0
- package/templates/updates.html +464 -0
- package/templates/workspace/AGENTS.md.tmpl +161 -0
- package/templates/workspace/HEARTBEAT.md.tmpl +17 -0
- package/templates/workspace/IDENTITY.md.tmpl +15 -0
- package/templates/workspace/MEMORY.md.tmpl +16 -0
- package/templates/workspace/SOUL.md.tmpl +51 -0
- package/templates/workspace/USER.md.tmpl +25 -0
- package/tts-proxy.js +96 -0
- package/voice-call-local.js +731 -0
- package/voice-call.js +732 -0
- package/wa-listener.js +354 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Pro Tips — AIVA</title>
|
|
7
|
+
<link rel="stylesheet" href="/css/docs.css">
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
|
|
11
|
+
<div class="mobile-header">
|
|
12
|
+
<button class="hamburger-btn" id="hamburgerBtn" aria-label="Menu"><span></span></button>
|
|
13
|
+
<span class="mobile-title">AIVA Docs</span>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="mobile-overlay" id="mobileOverlay"></div>
|
|
16
|
+
|
|
17
|
+
<nav class="docs-sidebar" id="sidebar">
|
|
18
|
+
<div class="sidebar-header">
|
|
19
|
+
<a href="/getting-started" class="sidebar-logo">AIVA <span>Docs</span></a>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="sidebar-label">Getting Started</div>
|
|
22
|
+
<div class="sidebar-nav">
|
|
23
|
+
<a href="/getting-started">Overview</a>
|
|
24
|
+
<a href="/getting-started/agents">Meet Your Agents</a>
|
|
25
|
+
<a href="/getting-started/app">The AIVA App</a>
|
|
26
|
+
<a href="/getting-started/imessage">iMessage & Outreach</a>
|
|
27
|
+
<a href="/getting-started/tasks">Your Task Board</a>
|
|
28
|
+
<a href="/getting-started/tips" class="active">Pro Tips</a>
|
|
29
|
+
<div class="nav-divider"></div>
|
|
30
|
+
<a href="/updates">Updates</a>
|
|
31
|
+
</div>
|
|
32
|
+
</nav>
|
|
33
|
+
|
|
34
|
+
<main class="docs-content">
|
|
35
|
+
<div class="content-inner fade-in">
|
|
36
|
+
|
|
37
|
+
<div class="page-label">Best Practices</div>
|
|
38
|
+
<h1 class="page-title">Pro Tips</h1>
|
|
39
|
+
<p class="page-desc">A few guidelines to help you work effectively with your assistant and get the best results.</p>
|
|
40
|
+
|
|
41
|
+
<div class="doc-section">
|
|
42
|
+
<div class="practices-grid">
|
|
43
|
+
<div class="practice-card do">
|
|
44
|
+
<h3>
|
|
45
|
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>
|
|
46
|
+
Do This
|
|
47
|
+
</h3>
|
|
48
|
+
<ul>
|
|
49
|
+
<li><strong>Be specific</strong> — "Schedule a 30-min call with John on Thursday at 2 PM" works better than "set something up with John"</li>
|
|
50
|
+
<li><strong>Use the app for big-picture stuff</strong> — strategy, planning, brain dumps, complex requests</li>
|
|
51
|
+
<li><strong>Use iMessage for message management</strong> — training your outreach agent on how to handle contacts</li>
|
|
52
|
+
<li><strong>Check your task board</strong> — it is the single source of truth for all work in progress</li>
|
|
53
|
+
<li><strong>Give feedback</strong> — if AIVA does something you do not like, say so. She learns from your preferences.</li>
|
|
54
|
+
</ul>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<div class="practice-card dont">
|
|
58
|
+
<h3>
|
|
59
|
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6L6 18M6 6l12 12"/></svg>
|
|
60
|
+
Avoid This
|
|
61
|
+
</h3>
|
|
62
|
+
<ul>
|
|
63
|
+
<li><strong>Do not repeat yourself</strong> — if you submitted a request, it is on the board. No need to follow up unless it has been too long.</li>
|
|
64
|
+
<li><strong>Do not mix channels unnecessarily</strong> — use the app for requests, iMessage for message management</li>
|
|
65
|
+
<li><strong>Do not assume AIVA knows everything</strong> — she wakes up fresh each session. Important context should be stated clearly.</li>
|
|
66
|
+
</ul>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
71
|
+
<div class="doc-section">
|
|
72
|
+
<h2 class="section-title">Voice Messages</h2>
|
|
73
|
+
<p class="section-desc">Voice messages are one of the most powerful features. They are especially useful when you have a lot on your mind and want to do a brain dump. Just talk naturally — AIVA handles the rest.</p>
|
|
74
|
+
<div class="callout">
|
|
75
|
+
<strong>Tip:</strong> Do not worry about being perfectly organized in voice messages. Stream of consciousness works great. AIVA will parse out the tasks, context, and action items automatically.
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
|
|
79
|
+
<div class="doc-section">
|
|
80
|
+
<h2 class="section-title">Being Specific</h2>
|
|
81
|
+
<p class="section-desc">The more specific your requests, the better the results. Instead of vague instructions, include dates, times, names, and desired outcomes. AIVA can handle complex requests — but she needs the details to do it well.</p>
|
|
82
|
+
</div>
|
|
83
|
+
|
|
84
|
+
<div class="doc-section">
|
|
85
|
+
<h2 class="section-title">Giving Feedback</h2>
|
|
86
|
+
<p class="section-desc">AIVA learns from your feedback. If she handles something in a way you do not prefer, tell her. She logs lessons learned and adjusts her approach going forward. The more you communicate your preferences, the better AIVA gets at anticipating your needs.</p>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
<div class="doc-section">
|
|
90
|
+
<h2 class="section-title">Frequently Asked Questions</h2>
|
|
91
|
+
|
|
92
|
+
<div class="faq-list">
|
|
93
|
+
<div class="faq-item">
|
|
94
|
+
<button class="faq-question" onclick="this.parentElement.classList.toggle('open')">
|
|
95
|
+
Does AIVA remember our conversations?
|
|
96
|
+
<svg viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></svg>
|
|
97
|
+
</button>
|
|
98
|
+
<div class="faq-answer">
|
|
99
|
+
<p>AIVA maintains memory through daily notes and long-term memory files. Important decisions, preferences, and context are saved between sessions. However, she starts each session fresh and reads her notes — so the more important something is, the more clearly you should state it.</p>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
|
|
103
|
+
<div class="faq-item">
|
|
104
|
+
<button class="faq-question" onclick="this.parentElement.classList.toggle('open')">
|
|
105
|
+
Can AIVA text people on my behalf?
|
|
106
|
+
<svg viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></svg>
|
|
107
|
+
</button>
|
|
108
|
+
<div class="faq-answer">
|
|
109
|
+
<p>Yes. The outreach agent can handle iMessage conversations. You set preferences for each contact (respond, ignore, take message only), and AIVA follows them. She will always check with you before contacting someone new.</p>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
|
|
113
|
+
<div class="faq-item">
|
|
114
|
+
<button class="faq-question" onclick="this.parentElement.classList.toggle('open')">
|
|
115
|
+
How do I know what AIVA is working on?
|
|
116
|
+
<svg viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></svg>
|
|
117
|
+
</button>
|
|
118
|
+
<div class="faq-answer">
|
|
119
|
+
<p>Check the task board in the app. Every request becomes a task with status tracking (To Do, In Progress, Done).</p>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
|
|
123
|
+
<div class="faq-item">
|
|
124
|
+
<button class="faq-question" onclick="this.parentElement.classList.toggle('open')">
|
|
125
|
+
What if AIVA makes a mistake?
|
|
126
|
+
<svg viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></svg>
|
|
127
|
+
</button>
|
|
128
|
+
<div class="faq-answer">
|
|
129
|
+
<p>Tell her. Feedback helps AIVA improve. She logs lessons learned and adjusts her approach going forward.</p>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
<div class="faq-item">
|
|
134
|
+
<button class="faq-question" onclick="this.parentElement.classList.toggle('open')">
|
|
135
|
+
Is my information private?
|
|
136
|
+
<svg viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></svg>
|
|
137
|
+
</button>
|
|
138
|
+
<div class="faq-answer">
|
|
139
|
+
<p>Yes. AIVA treats your data with strict privacy. She will not share personal information in group settings or with other contacts without your explicit permission.</p>
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
144
|
+
|
|
145
|
+
<div class="docs-nav-footer">
|
|
146
|
+
<a href="/getting-started/tasks" class="nav-link prev">
|
|
147
|
+
<span class="nav-label">Previous</span>
|
|
148
|
+
<span class="nav-title">Your Task Board</span>
|
|
149
|
+
</a>
|
|
150
|
+
<div></div>
|
|
151
|
+
</div>
|
|
152
|
+
|
|
153
|
+
<footer class="page-footer">
|
|
154
|
+
<p>Check the <a href="/updates" style="color:var(--accent);text-decoration:none;">Updates page</a> for the latest changes and improvements to your AIVA assistant.</p>
|
|
155
|
+
</footer>
|
|
156
|
+
|
|
157
|
+
</div>
|
|
158
|
+
</main>
|
|
159
|
+
|
|
160
|
+
<script>
|
|
161
|
+
(function(){
|
|
162
|
+
var btn=document.getElementById('hamburgerBtn'),
|
|
163
|
+
sidebar=document.getElementById('sidebar'),
|
|
164
|
+
overlay=document.getElementById('mobileOverlay');
|
|
165
|
+
function toggle(){
|
|
166
|
+
var open=sidebar.classList.toggle('open');
|
|
167
|
+
overlay.classList.toggle('open',open);
|
|
168
|
+
btn.classList.toggle('open',open);
|
|
169
|
+
}
|
|
170
|
+
btn.addEventListener('click',toggle);
|
|
171
|
+
overlay.addEventListener('click',toggle);
|
|
172
|
+
})();
|
|
173
|
+
</script>
|
|
174
|
+
</body>
|
|
175
|
+
</html>
|