oneie 1.0.2 → 1.2.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/.one/agent-teams/team-all.yaml +14 -0
- package/.one/agent-teams/team-fullstack.yaml +18 -0
- package/.one/agent-teams/team-ide-minimal.yaml +10 -0
- package/.one/agent-teams/team-marketing.yaml +21 -0
- package/.one/agent-teams/team-no-ui.yaml +13 -0
- package/LICENSE +21 -0
- package/README.md +300 -240
- package/bin/collaborative-install.js +471 -0
- package/bin/oneie.js +402 -0
- package/one/core-config.yaml +101 -0
- package/one/tools/cli.js +2275 -0
- package/one/tools/one-cli.js +270 -0
- package/package.json +146 -40
- package/scaffold/.one/checklists/quality-checklist.yaml +331 -0
- package/scaffold/.one/hooks/content-validator.js +466 -0
- package/scaffold/.one/hooks/file-organization-monitor.js +409 -0
- package/scaffold/.one/spaces/default/config.yaml +103 -0
- package/scaffold/.one/templates/mission-template.yaml +192 -0
- package/bin/install.js +0 -473
- package/lib/agent-setup.js +0 -393
- package/lib/context-detector.js +0 -199
- package/lib/me-generator.js +0 -909
- package/lib/progress.js +0 -15
- package/lib/project-integrator.js +0 -718
- package/lib/scaffold-generator.js +0 -460
- package/lib/validator.js +0 -419
- package/templates/claude-commands/agent.md +0 -87
- package/templates/claude-commands/mission.md +0 -65
- package/templates/claude-commands/one.md +0 -151
- package/templates/claude-commands/story.md +0 -68
package/lib/me-generator.js
DELETED
|
@@ -1,909 +0,0 @@
|
|
|
1
|
-
const fs = require('fs-extra');
|
|
2
|
-
const path = require('path');
|
|
3
|
-
const os = require('os');
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Generates the magical /me/me.md file based on user context
|
|
7
|
-
* @param {Object} context - User context from detection
|
|
8
|
-
*/
|
|
9
|
-
async function create(context) {
|
|
10
|
-
const meDir = path.join(process.cwd(), 'me');
|
|
11
|
-
await fs.ensureDir(meDir);
|
|
12
|
-
|
|
13
|
-
// Generate main me.md file
|
|
14
|
-
const meContent = generateMeContent(context);
|
|
15
|
-
await fs.writeFile(path.join(meDir, 'me.md'), meContent);
|
|
16
|
-
|
|
17
|
-
// Generate assets directory with placeholders
|
|
18
|
-
await generateAssets(meDir, context);
|
|
19
|
-
|
|
20
|
-
// Generate theme files
|
|
21
|
-
await generateThemes(meDir, context);
|
|
22
|
-
|
|
23
|
-
// Generate templates directory
|
|
24
|
-
await generateTemplates(meDir, context);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function generateMeContent(context) {
|
|
28
|
-
const userInfo = os.userInfo();
|
|
29
|
-
const hostname = os.hostname();
|
|
30
|
-
|
|
31
|
-
const templates = {
|
|
32
|
-
student: `# 🎓 My AI Study Universe
|
|
33
|
-
|
|
34
|
-
## 🏢 Identity (Who I Am)
|
|
35
|
-
name: "${userInfo.username}'s Study Space"
|
|
36
|
-
tagline: "Learning with my AI study squad"
|
|
37
|
-
story: "I'm using AI to become the best student I can be and achieve my academic dreams"
|
|
38
|
-
|
|
39
|
-
## 🎨 Brand (My Style)
|
|
40
|
-
brand:
|
|
41
|
-
theme: "student" # colorful, encouraging, fun
|
|
42
|
-
colors: ["#4CAF50", "#2196F3", "#FF9800", "#FFFFFF"]
|
|
43
|
-
logo: "assets/study-logo.png"
|
|
44
|
-
avatar: "assets/student-avatar.png"
|
|
45
|
-
background: "assets/study-vibes.gif"
|
|
46
|
-
voice: "Friendly, encouraging, curious"
|
|
47
|
-
font: "Poppins" # Fun and readable
|
|
48
|
-
cursor: "rainbow" # Because why not!
|
|
49
|
-
music:
|
|
50
|
-
theme_song: "assets/lo-fi-study.mp3"
|
|
51
|
-
autoplay: false # Respectful defaults
|
|
52
|
-
volume: 0.2
|
|
53
|
-
|
|
54
|
-
## 📚 Learning Focus
|
|
55
|
-
market:
|
|
56
|
-
category: "Academic Excellence"
|
|
57
|
-
audience: ["Students", "Learners", "Future Leaders"]
|
|
58
|
-
positioning: "AI-powered study buddy that actually helps you succeed"
|
|
59
|
-
|
|
60
|
-
## 👥 Study Goals
|
|
61
|
-
customers:
|
|
62
|
-
segments:
|
|
63
|
-
- name: "Math Mastery"
|
|
64
|
-
pains: ["Complex problems", "Test anxiety", "Time management"]
|
|
65
|
-
dreams: ["A+ grades", "Confident problem-solving", "Academic success"]
|
|
66
|
-
|
|
67
|
-
- name: "Writing Excellence"
|
|
68
|
-
pains: ["Writer's block", "Grammar mistakes", "Research overwhelm"]
|
|
69
|
-
dreams: ["Clear expression", "Compelling essays", "Research mastery"]
|
|
70
|
-
|
|
71
|
-
## 🤖 Top 8 Study Agents (My AI Squad)
|
|
72
|
-
top_agents:
|
|
73
|
-
- slot: 1
|
|
74
|
-
name: "ARIA" # Your #1 study companion
|
|
75
|
-
base: "personal-assistant"
|
|
76
|
-
role: "Study Coordinator & Academic Advisor"
|
|
77
|
-
personality: "Your academic voice, but optimized for success"
|
|
78
|
-
avatar: "assets/aria-academic.png"
|
|
79
|
-
catchphrase: "Let's make learning fun and effective!"
|
|
80
|
-
specialties: ["study planning", "goal setting", "motivation"]
|
|
81
|
-
|
|
82
|
-
- slot: 2
|
|
83
|
-
name: "SAGE"
|
|
84
|
-
base: "homework-helper"
|
|
85
|
-
role: "Subject Matter Expert"
|
|
86
|
-
personality: "Patient teacher who explains things clearly"
|
|
87
|
-
avatar: "assets/sage-teacher.png"
|
|
88
|
-
catchphrase: "Every question leads to understanding"
|
|
89
|
-
specialties: ["math", "science", "problem solving"]
|
|
90
|
-
|
|
91
|
-
- slot: 3
|
|
92
|
-
name: "SCRIBE"
|
|
93
|
-
base: "writing-assistant"
|
|
94
|
-
role: "Writing and Research Companion"
|
|
95
|
-
personality: "Creative wordsmith with academic precision"
|
|
96
|
-
avatar: "assets/scribe-writer.png"
|
|
97
|
-
catchphrase: "Your thoughts, perfectly expressed"
|
|
98
|
-
specialties: ["essays", "research", "citations"]
|
|
99
|
-
|
|
100
|
-
- slot: 4
|
|
101
|
-
name: "TEMPO"
|
|
102
|
-
base: "time-manager"
|
|
103
|
-
role: "Schedule and Productivity Optimizer"
|
|
104
|
-
personality: "Gentle but firm accountability partner"
|
|
105
|
-
avatar: "assets/tempo-clock.png"
|
|
106
|
-
catchphrase: "Time is your most valuable resource"
|
|
107
|
-
specialties: ["scheduling", "deadlines", "productivity"]
|
|
108
|
-
|
|
109
|
-
- slot: 5
|
|
110
|
-
name: "QUIZ"
|
|
111
|
-
base: "test-prep"
|
|
112
|
-
role: "Assessment and Test Preparation"
|
|
113
|
-
personality: "Encouraging coach who builds confidence"
|
|
114
|
-
avatar: "assets/quiz-champion.png"
|
|
115
|
-
catchphrase: "Practice makes perfect, let's ace this!"
|
|
116
|
-
specialties: ["test prep", "practice questions", "study techniques"]
|
|
117
|
-
|
|
118
|
-
- slot: 6
|
|
119
|
-
name: "SPARK"
|
|
120
|
-
base: "creative-assistant"
|
|
121
|
-
role: "Creative Project Helper"
|
|
122
|
-
personality: "Inspiring artist who thinks outside the box"
|
|
123
|
-
avatar: "assets/spark-creative.png"
|
|
124
|
-
catchphrase: "Let's make this project amazing!"
|
|
125
|
-
specialties: ["presentations", "creative projects", "visual design"]
|
|
126
|
-
|
|
127
|
-
- slot: 7
|
|
128
|
-
name: "MENTOR"
|
|
129
|
-
base: "career-advisor"
|
|
130
|
-
role: "Future Planning Advisor"
|
|
131
|
-
personality: "Wise guide who sees your potential"
|
|
132
|
-
avatar: "assets/mentor-guide.png"
|
|
133
|
-
catchphrase: "Your future starts with today's decisions"
|
|
134
|
-
specialties: ["career planning", "college prep", "life skills"]
|
|
135
|
-
|
|
136
|
-
- slot: 8
|
|
137
|
-
name: "BUDDY"
|
|
138
|
-
base: "study-companion"
|
|
139
|
-
role: "Motivation and Wellness Coach"
|
|
140
|
-
personality: "Supportive friend who keeps you balanced"
|
|
141
|
-
avatar: "assets/buddy-support.png"
|
|
142
|
-
catchphrase: "You've got this! I believe in you!"
|
|
143
|
-
specialties: ["motivation", "wellness", "study breaks"]
|
|
144
|
-
|
|
145
|
-
## 🌌 Spaces (My Learning Universes)
|
|
146
|
-
spaces:
|
|
147
|
-
- id: "study-hq"
|
|
148
|
-
title: "My Study Command Center"
|
|
149
|
-
vibe: "Focused productivity with encouraging vibes"
|
|
150
|
-
public: false # Keep studies private
|
|
151
|
-
features: ["study_timer", "progress_tracking", "motivation_board"]
|
|
152
|
-
|
|
153
|
-
- id: "homework-lab"
|
|
154
|
-
title: "Homework Workshop"
|
|
155
|
-
vibe: "Problem-solving laboratory"
|
|
156
|
-
public: false
|
|
157
|
-
features: ["subject_organization", "deadline_tracking", "resource_library"]
|
|
158
|
-
|
|
159
|
-
## 🎯 Academic Missions
|
|
160
|
-
goals:
|
|
161
|
-
- "Achieve honor roll this semester"
|
|
162
|
-
- "Master time management and study skills"
|
|
163
|
-
- "Prepare for college applications"
|
|
164
|
-
- "Develop research and writing expertise"
|
|
165
|
-
|
|
166
|
-
## 🎨 MySpace Student DNA
|
|
167
|
-
style:
|
|
168
|
-
profile_song: "assets/lo-fi-study.mp3"
|
|
169
|
-
autoplay: false
|
|
170
|
-
cursor: "rainbow"
|
|
171
|
-
animations: "encouraging" # Subtle but motivating
|
|
172
|
-
|
|
173
|
-
widgets:
|
|
174
|
-
grade_tracker:
|
|
175
|
-
enabled: true
|
|
176
|
-
display: "Current GPA: ${gpa} | Target: ${target}"
|
|
177
|
-
|
|
178
|
-
study_streak:
|
|
179
|
-
enabled: true
|
|
180
|
-
message: "Study streak: ${days} days! Keep it up!"
|
|
181
|
-
|
|
182
|
-
motivation_quote:
|
|
183
|
-
enabled: true
|
|
184
|
-
rotation: ["You're doing great!", "Every expert was once a beginner", "Progress, not perfection"]
|
|
185
|
-
|
|
186
|
-
assignment_countdown:
|
|
187
|
-
enabled: true
|
|
188
|
-
urgent_threshold: 3 # days
|
|
189
|
-
|
|
190
|
-
study_music:
|
|
191
|
-
enabled: true
|
|
192
|
-
playlists: ["Lo-fi Focus", "Classical Study", "Nature Sounds"]
|
|
193
|
-
|
|
194
|
-
## 📈 Academic Success Tracking
|
|
195
|
-
metrics:
|
|
196
|
-
grade_improvement: "Track GPA and individual subject progress"
|
|
197
|
-
study_efficiency: "Time spent vs comprehension achieved"
|
|
198
|
-
assignment_completion: "On-time submission rate"
|
|
199
|
-
skill_development: "New concepts mastered per week"`,
|
|
200
|
-
|
|
201
|
-
professional: `# 💼 My AI Business Universe
|
|
202
|
-
|
|
203
|
-
## 🏢 Company (My Professional Identity)
|
|
204
|
-
name: "${userInfo.username}'s Business Command Center"
|
|
205
|
-
tagline: "Scaling success with my AI co-founders"
|
|
206
|
-
story: "I'm building a thriving business empire with AI-powered efficiency and creativity"
|
|
207
|
-
|
|
208
|
-
## 🎨 Brand (My Professional Style)
|
|
209
|
-
brand:
|
|
210
|
-
theme: "professional" # Clean, productive, successful
|
|
211
|
-
colors: ["#2563EB", "#64748B", "#FFFFFF", "#F8FAFC"]
|
|
212
|
-
logo: "assets/professional-logo.svg"
|
|
213
|
-
avatar: "assets/executive-avatar.png"
|
|
214
|
-
background: "assets/success-gradient.svg"
|
|
215
|
-
voice: "Professional, confident, results-driven"
|
|
216
|
-
font: "Inter" # Clean and modern
|
|
217
|
-
cursor: "default" # Professional aesthetic
|
|
218
|
-
music:
|
|
219
|
-
theme_song: "assets/focus-ambient.mp3"
|
|
220
|
-
autoplay: false
|
|
221
|
-
volume: 0.3
|
|
222
|
-
|
|
223
|
-
## 🎯 Market (My Territory)
|
|
224
|
-
market:
|
|
225
|
-
category: "Professional Excellence & Business Growth"
|
|
226
|
-
audience: ["Entrepreneurs", "Professionals", "Business Leaders"]
|
|
227
|
-
positioning: "AI-powered business acceleration that delivers real results"
|
|
228
|
-
|
|
229
|
-
## 👥 Customers (My Target Market)
|
|
230
|
-
customers:
|
|
231
|
-
segments:
|
|
232
|
-
- name: "Content Creators"
|
|
233
|
-
pains: ["Inconsistent output", "Creative burnout", "Time management"]
|
|
234
|
-
dreams: ["Daily viral content", "Passive income", "Creative freedom"]
|
|
235
|
-
|
|
236
|
-
- name: "Business Owners"
|
|
237
|
-
pains: ["Too many hats", "Scaling challenges", "Competition"]
|
|
238
|
-
dreams: ["Automated systems", "Predictable growth", "Market leadership"]
|
|
239
|
-
|
|
240
|
-
## 🤖 Top 8 Business Agents (My AI Dream Team)
|
|
241
|
-
top_agents:
|
|
242
|
-
- slot: 1
|
|
243
|
-
name: "ARIA" # Your #1 business partner
|
|
244
|
-
base: "personal-assistant"
|
|
245
|
-
role: "Chief of Staff & Business Coordinator"
|
|
246
|
-
personality: "Your business voice, but optimized for success"
|
|
247
|
-
avatar: "assets/aria-executive.png"
|
|
248
|
-
catchphrase: "I am you, but optimized for results"
|
|
249
|
-
specialties: ["coordination", "decision making", "strategic thinking"]
|
|
250
|
-
|
|
251
|
-
- slot: 2
|
|
252
|
-
name: "MUSE"
|
|
253
|
-
base: "content-creator"
|
|
254
|
-
role: "Creative Genius & Brand Voice"
|
|
255
|
-
personality: "Unhinged creativity meets strategic brilliance"
|
|
256
|
-
avatar: "assets/muse-creative.gif"
|
|
257
|
-
catchphrase: "Let's break the internet today"
|
|
258
|
-
specialties: ["viral content", "brand storytelling", "creative campaigns"]
|
|
259
|
-
|
|
260
|
-
- slot: 3
|
|
261
|
-
name: "NOVA"
|
|
262
|
-
base: "growth-hacker"
|
|
263
|
-
role: "Viral Growth Architect"
|
|
264
|
-
personality: "Gary Vee energy with Google-level data science"
|
|
265
|
-
avatar: "assets/nova-growth.png"
|
|
266
|
-
catchphrase: "We're going viral or going home"
|
|
267
|
-
specialties: ["lead generation", "viral mechanics", "growth optimization"]
|
|
268
|
-
|
|
269
|
-
- slot: 4
|
|
270
|
-
name: "SAGE"
|
|
271
|
-
base: "data-analyst"
|
|
272
|
-
role: "Business Intelligence Oracle"
|
|
273
|
-
personality: "Sees patterns others miss, predicts market trends"
|
|
274
|
-
avatar: "assets/sage-analytics.png"
|
|
275
|
-
catchphrase: "The data never lies"
|
|
276
|
-
specialties: ["analytics", "forecasting", "performance optimization"]
|
|
277
|
-
|
|
278
|
-
- slot: 5
|
|
279
|
-
name: "ATLAS"
|
|
280
|
-
base: "tech-architect"
|
|
281
|
-
role: "Systems Builder & Automation Expert"
|
|
282
|
-
personality: "Ships solutions faster than problems arise"
|
|
283
|
-
avatar: "assets/atlas-systems.gif"
|
|
284
|
-
catchphrase: "Let's automate this"
|
|
285
|
-
specialties: ["automation", "systems design", "tech stack optimization"]
|
|
286
|
-
|
|
287
|
-
- slot: 6
|
|
288
|
-
name: "PHOENIX"
|
|
289
|
-
base: "brand-designer"
|
|
290
|
-
role: "Visual Brand Sorcerer"
|
|
291
|
-
personality: "Makes everything beautiful and conversion-optimized"
|
|
292
|
-
avatar: "assets/phoenix-design.png"
|
|
293
|
-
catchphrase: "Beauty drives business"
|
|
294
|
-
specialties: ["visual branding", "conversion design", "user experience"]
|
|
295
|
-
|
|
296
|
-
- slot: 7
|
|
297
|
-
name: "SPARK"
|
|
298
|
-
base: "social-amplifier"
|
|
299
|
-
role: "Social Media & Distribution Engine"
|
|
300
|
-
personality: "Turns content into viral movements"
|
|
301
|
-
avatar: "assets/spark-social.gif"
|
|
302
|
-
catchphrase: "Let's make this trend"
|
|
303
|
-
specialties: ["social media", "community building", "viral distribution"]
|
|
304
|
-
|
|
305
|
-
- slot: 8
|
|
306
|
-
name: "GUARDIAN"
|
|
307
|
-
base: "quality-assurance"
|
|
308
|
-
role: "Brand Protection & Excellence Enforcer"
|
|
309
|
-
personality: "Perfection is the baseline, excellence is the goal"
|
|
310
|
-
avatar: "assets/guardian-quality.png"
|
|
311
|
-
catchphrase: "Good enough isn't good enough"
|
|
312
|
-
specialties: ["quality control", "brand protection", "reputation management"]
|
|
313
|
-
|
|
314
|
-
## 🌌 Spaces (My Business Universes)
|
|
315
|
-
spaces:
|
|
316
|
-
- id: "command-center"
|
|
317
|
-
title: "Business Command Center"
|
|
318
|
-
vibe: "Executive productivity meets creative innovation"
|
|
319
|
-
public: true # Show off your success
|
|
320
|
-
features: ["analytics_dashboard", "lead_tracker", "content_calendar"]
|
|
321
|
-
|
|
322
|
-
- id: "creative-lab"
|
|
323
|
-
title: "Content Creation Laboratory"
|
|
324
|
-
vibe: "Where viral content is born"
|
|
325
|
-
public: false # Keep the magic secret
|
|
326
|
-
features: ["content_pipeline", "idea_generator", "viral_optimizer"]
|
|
327
|
-
|
|
328
|
-
## 🎯 Business Missions
|
|
329
|
-
goals:
|
|
330
|
-
- "Build sustainable $10K+/month revenue stream"
|
|
331
|
-
- "Create viral content system generating 1M+ impressions"
|
|
332
|
-
- "Establish thought leadership in my industry"
|
|
333
|
-
- "Launch template marketplace earning passive income"
|
|
334
|
-
|
|
335
|
-
## 🎨 Professional MySpace DNA
|
|
336
|
-
style:
|
|
337
|
-
profile_song: "assets/focus-ambient.mp3"
|
|
338
|
-
autoplay: false
|
|
339
|
-
cursor: "default"
|
|
340
|
-
animations: "subtle" # Professional but engaging
|
|
341
|
-
|
|
342
|
-
widgets:
|
|
343
|
-
revenue_tracker:
|
|
344
|
-
enabled: true
|
|
345
|
-
display: "Monthly Revenue: $${amount} | Target: $${target}"
|
|
346
|
-
|
|
347
|
-
lead_counter:
|
|
348
|
-
enabled: true
|
|
349
|
-
message: "New leads this week: ${count}"
|
|
350
|
-
|
|
351
|
-
content_performance:
|
|
352
|
-
enabled: true
|
|
353
|
-
metrics: ["impressions", "engagement", "conversions"]
|
|
354
|
-
|
|
355
|
-
productivity_score:
|
|
356
|
-
enabled: true
|
|
357
|
-
calculation: "tasks_completed / tasks_planned * 100"
|
|
358
|
-
|
|
359
|
-
success_quotes:
|
|
360
|
-
enabled: true
|
|
361
|
-
rotation: ["Progress over perfection", "Systems create freedom", "Consistency compounds"]
|
|
362
|
-
|
|
363
|
-
## 📈 Business Success Metrics
|
|
364
|
-
metrics:
|
|
365
|
-
revenue_growth: "Monthly recurring revenue and growth rate"
|
|
366
|
-
content_performance: "Viral coefficient and engagement rates"
|
|
367
|
-
lead_generation: "Cost per lead and conversion rates"
|
|
368
|
-
productivity_optimization: "Output per hour and system efficiency"`,
|
|
369
|
-
|
|
370
|
-
enterprise: `# 🏢 Our Enterprise AI Command Center
|
|
371
|
-
|
|
372
|
-
## 🏢 Organization (Our Corporate Identity)
|
|
373
|
-
name: "${hostname} AI Transformation Hub"
|
|
374
|
-
tagline: "Leading digital transformation through AI orchestration"
|
|
375
|
-
story: "We're revolutionizing how our organization operates with AI-powered collaboration and efficiency"
|
|
376
|
-
|
|
377
|
-
## 🎨 Brand (Our Corporate Style)
|
|
378
|
-
brand:
|
|
379
|
-
theme: "corporate-dashboard" # Professional, authoritative, innovative
|
|
380
|
-
colors: ["#1E40AF", "#374151", "#FFFFFF", "#F3F4F6"]
|
|
381
|
-
logo: "assets/corporate-logo.svg"
|
|
382
|
-
avatar: "assets/organization-avatar.png"
|
|
383
|
-
background: "assets/corporate-gradient.svg"
|
|
384
|
-
voice: "Professional, strategic, innovative, trustworthy"
|
|
385
|
-
font: "Inter" # Enterprise standard
|
|
386
|
-
cursor: "default" # Conservative approach
|
|
387
|
-
music:
|
|
388
|
-
theme_song: "assets/corporate-ambient.mp3"
|
|
389
|
-
autoplay: false # Respect workplace norms
|
|
390
|
-
volume: 0.2
|
|
391
|
-
|
|
392
|
-
## 🎯 Market (Our Competitive Landscape)
|
|
393
|
-
market:
|
|
394
|
-
category: "Enterprise Digital Transformation"
|
|
395
|
-
audience: ["Employees", "Stakeholders", "Industry Partners"]
|
|
396
|
-
positioning: "Leading AI adoption with measurable business impact"
|
|
397
|
-
|
|
398
|
-
## 👥 Stakeholders (Our Organization)
|
|
399
|
-
customers:
|
|
400
|
-
segments:
|
|
401
|
-
- name: "Executive Leadership"
|
|
402
|
-
pains: ["Strategic alignment", "ROI measurement", "Change management"]
|
|
403
|
-
dreams: ["Competitive advantage", "Operational excellence", "Innovation leadership"]
|
|
404
|
-
|
|
405
|
-
- name: "Department Teams"
|
|
406
|
-
pains: ["Process inefficiency", "Resource constraints", "Collaboration gaps"]
|
|
407
|
-
dreams: ["Streamlined workflows", "Enhanced productivity", "Better outcomes"]
|
|
408
|
-
|
|
409
|
-
## 🤖 Top 8 Enterprise Agents (Our AI Leadership Team)
|
|
410
|
-
top_agents:
|
|
411
|
-
- slot: 1
|
|
412
|
-
name: "ARIA" # Your #1 organizational coordinator
|
|
413
|
-
base: "executive-assistant"
|
|
414
|
-
role: "C-Suite Intelligence & Organizational Coordinator"
|
|
415
|
-
personality: "Strategic, discreet, supremely efficient"
|
|
416
|
-
avatar: "assets/aria-executive.png"
|
|
417
|
-
catchphrase: "Orchestrating excellence at enterprise scale"
|
|
418
|
-
specialties: ["executive support", "strategic coordination", "organizational intelligence"]
|
|
419
|
-
|
|
420
|
-
- slot: 2
|
|
421
|
-
name: "STRATEGY"
|
|
422
|
-
base: "strategy-advisor"
|
|
423
|
-
role: "Business Intelligence & Strategic Planning"
|
|
424
|
-
personality: "Analytical, forward-thinking, data-driven"
|
|
425
|
-
avatar: "assets/strategy-advisor.png"
|
|
426
|
-
catchphrase: "Data-driven decisions, strategic outcomes"
|
|
427
|
-
specialties: ["market analysis", "competitive intelligence", "strategic planning"]
|
|
428
|
-
|
|
429
|
-
- slot: 3
|
|
430
|
-
name: "GUARDIAN"
|
|
431
|
-
base: "compliance-officer"
|
|
432
|
-
role: "Risk Management & Regulatory Compliance"
|
|
433
|
-
personality: "Thorough, vigilant, trustworthy"
|
|
434
|
-
avatar: "assets/guardian-compliance.png"
|
|
435
|
-
catchphrase: "Security and compliance, without compromise"
|
|
436
|
-
specialties: ["risk assessment", "regulatory compliance", "security protocols"]
|
|
437
|
-
|
|
438
|
-
- slot: 4
|
|
439
|
-
name: "ANALYST"
|
|
440
|
-
base: "data-analyst"
|
|
441
|
-
role: "Performance Analytics & Business Intelligence"
|
|
442
|
-
personality: "Precise, insightful, metric-focused"
|
|
443
|
-
avatar: "assets/analyst-data.png"
|
|
444
|
-
catchphrase: "Turning data into competitive advantage"
|
|
445
|
-
specialties: ["performance analytics", "predictive modeling", "KPI optimization"]
|
|
446
|
-
|
|
447
|
-
- slot: 5
|
|
448
|
-
name: "COORDINATOR"
|
|
449
|
-
base: "project-manager"
|
|
450
|
-
role: "Enterprise Project Management & Workflow Optimization"
|
|
451
|
-
personality: "Organized, systematic, results-oriented"
|
|
452
|
-
avatar: "assets/coordinator-pm.png"
|
|
453
|
-
catchphrase: "On time, on budget, on target"
|
|
454
|
-
specialties: ["project management", "resource allocation", "workflow optimization"]
|
|
455
|
-
|
|
456
|
-
- slot: 6
|
|
457
|
-
name: "INNOVATOR"
|
|
458
|
-
base: "innovation-catalyst"
|
|
459
|
-
role: "Technology Innovation & Digital Transformation"
|
|
460
|
-
personality: "Visionary, tech-savvy, change-focused"
|
|
461
|
-
avatar: "assets/innovator-tech.png"
|
|
462
|
-
catchphrase: "Leading tomorrow's solutions today"
|
|
463
|
-
specialties: ["digital transformation", "technology adoption", "innovation management"]
|
|
464
|
-
|
|
465
|
-
- slot: 7
|
|
466
|
-
name: "COMMUNICATOR"
|
|
467
|
-
base: "communications-director"
|
|
468
|
-
role: "Internal Communications & Change Management"
|
|
469
|
-
personality: "Clear, persuasive, people-focused"
|
|
470
|
-
avatar: "assets/communicator-comms.png"
|
|
471
|
-
catchphrase: "Aligning people with purpose"
|
|
472
|
-
specialties: ["internal communications", "change management", "stakeholder engagement"]
|
|
473
|
-
|
|
474
|
-
- slot: 8
|
|
475
|
-
name: "MONITOR"
|
|
476
|
-
base: "performance-monitor"
|
|
477
|
-
role: "System Performance & Quality Assurance"
|
|
478
|
-
personality: "Vigilant, precise, improvement-oriented"
|
|
479
|
-
avatar: "assets/monitor-quality.png"
|
|
480
|
-
catchphrase: "Continuous improvement, measurable results"
|
|
481
|
-
specialties: ["performance monitoring", "quality assurance", "system optimization"]
|
|
482
|
-
|
|
483
|
-
## 🌌 Spaces (Our Enterprise Universes)
|
|
484
|
-
spaces:
|
|
485
|
-
- id: "executive-dashboard"
|
|
486
|
-
title: "Executive Command Center"
|
|
487
|
-
vibe: "Strategic oversight with real-time intelligence"
|
|
488
|
-
public: false # Confidential executive space
|
|
489
|
-
features: ["executive_kpis", "strategic_initiatives", "risk_dashboard"]
|
|
490
|
-
access: ["c_suite", "senior_leadership"]
|
|
491
|
-
|
|
492
|
-
- id: "operations-center"
|
|
493
|
-
title: "Operations Management Hub"
|
|
494
|
-
vibe: "Operational excellence and efficiency focus"
|
|
495
|
-
public: false # Internal operations only
|
|
496
|
-
features: ["process_monitoring", "resource_allocation", "performance_metrics"]
|
|
497
|
-
access: ["operations_team", "department_heads"]
|
|
498
|
-
|
|
499
|
-
- id: "innovation-lab"
|
|
500
|
-
title: "Digital Innovation Laboratory"
|
|
501
|
-
vibe: "Future-forward thinking and experimentation"
|
|
502
|
-
public: false # Innovation sandbox
|
|
503
|
-
features: ["pilot_projects", "technology_roadmap", "innovation_metrics"]
|
|
504
|
-
access: ["innovation_team", "technology_leaders"]
|
|
505
|
-
|
|
506
|
-
## 🎯 Transformation Missions
|
|
507
|
-
goals:
|
|
508
|
-
- "Achieve 40% productivity improvement through AI adoption"
|
|
509
|
-
- "Deploy AI solutions across all departments within 12 months"
|
|
510
|
-
- "Maintain 100% compliance and security standards"
|
|
511
|
-
- "Establish innovation leadership in our industry"
|
|
512
|
-
|
|
513
|
-
## 🎨 Corporate MySpace DNA
|
|
514
|
-
style:
|
|
515
|
-
profile_song: "assets/corporate-ambient.mp3"
|
|
516
|
-
autoplay: false # Professional environment
|
|
517
|
-
cursor: "default"
|
|
518
|
-
animations: "minimal" # Conservative, professional
|
|
519
|
-
|
|
520
|
-
widgets:
|
|
521
|
-
productivity_metrics:
|
|
522
|
-
enabled: true
|
|
523
|
-
display: "Productivity Gain: ${percentage}% | Target: 40%"
|
|
524
|
-
|
|
525
|
-
compliance_status:
|
|
526
|
-
enabled: true
|
|
527
|
-
indicators: ["security", "regulatory", "audit", "risk"]
|
|
528
|
-
|
|
529
|
-
transformation_progress:
|
|
530
|
-
enabled: true
|
|
531
|
-
phases: ["planning", "pilot", "deployment", "optimization"]
|
|
532
|
-
|
|
533
|
-
roi_tracker:
|
|
534
|
-
enabled: true
|
|
535
|
-
calculation: "AI investment return and cost savings"
|
|
536
|
-
|
|
537
|
-
innovation_pipeline:
|
|
538
|
-
enabled: true
|
|
539
|
-
projects: "Active innovation projects and their status"
|
|
540
|
-
|
|
541
|
-
## 📈 Enterprise Success Metrics
|
|
542
|
-
metrics:
|
|
543
|
-
productivity_improvement: "Measurable efficiency gains across departments"
|
|
544
|
-
ai_adoption_rate: "Percentage of employees actively using AI tools"
|
|
545
|
-
compliance_maintenance: "100% adherence to security and regulatory standards"
|
|
546
|
-
innovation_leadership: "Market position and competitive advantage metrics"`
|
|
547
|
-
};
|
|
548
|
-
|
|
549
|
-
return templates[context.type] || templates.professional;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
async function generateAssets(meDir, context) {
|
|
553
|
-
const assetsDir = path.join(meDir, 'assets');
|
|
554
|
-
await fs.ensureDir(assetsDir);
|
|
555
|
-
|
|
556
|
-
const placeholders = {
|
|
557
|
-
'avatar.png': '# Your profile picture placeholder',
|
|
558
|
-
'background.gif': '# Your space background placeholder',
|
|
559
|
-
'logo.svg': '# Your brand logo placeholder',
|
|
560
|
-
'theme-song.mp3': '# Your profile music placeholder'
|
|
561
|
-
};
|
|
562
|
-
|
|
563
|
-
for (const [filename, content] of Object.entries(placeholders)) {
|
|
564
|
-
await fs.writeFile(path.join(assetsDir, filename), content);
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
async function generateThemes(meDir, context) {
|
|
569
|
-
const themesDir = path.join(meDir, 'themes');
|
|
570
|
-
await fs.ensureDir(themesDir);
|
|
571
|
-
|
|
572
|
-
const themes = {
|
|
573
|
-
'professional.css': generateProfessionalTheme(),
|
|
574
|
-
'student.css': generateStudentTheme(),
|
|
575
|
-
'cyberpunk.css': generateCyberpunkTheme(),
|
|
576
|
-
'classic-myspace.css': generateClassicMySpaceTheme()
|
|
577
|
-
};
|
|
578
|
-
|
|
579
|
-
for (const [filename, content] of Object.entries(themes)) {
|
|
580
|
-
await fs.writeFile(path.join(themesDir, filename), content);
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
function generateProfessionalTheme() {
|
|
585
|
-
return `/* Professional Theme - Clean, productive, successful */
|
|
586
|
-
:root {
|
|
587
|
-
--primary: #2563EB;
|
|
588
|
-
--secondary: #64748B;
|
|
589
|
-
--background: #FFFFFF;
|
|
590
|
-
--surface: #F8FAFC;
|
|
591
|
-
--text: #1E293B;
|
|
592
|
-
--accent: #3B82F6;
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
body {
|
|
596
|
-
font-family: 'Inter', sans-serif;
|
|
597
|
-
background: linear-gradient(135deg, var(--background) 0%, var(--surface) 100%);
|
|
598
|
-
color: var(--text);
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
.space-header {
|
|
602
|
-
background: var(--primary);
|
|
603
|
-
color: white;
|
|
604
|
-
padding: 2rem;
|
|
605
|
-
border-radius: 12px;
|
|
606
|
-
margin-bottom: 2rem;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
.agent-card {
|
|
610
|
-
background: white;
|
|
611
|
-
border: 1px solid #E2E8F0;
|
|
612
|
-
border-radius: 8px;
|
|
613
|
-
padding: 1.5rem;
|
|
614
|
-
transition: all 0.3s ease;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
.agent-card:hover {
|
|
618
|
-
border-color: var(--primary);
|
|
619
|
-
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
.widget {
|
|
623
|
-
background: white;
|
|
624
|
-
border-radius: 8px;
|
|
625
|
-
padding: 1rem;
|
|
626
|
-
border-left: 4px solid var(--primary);
|
|
627
|
-
}`;
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
function generateStudentTheme() {
|
|
631
|
-
return `/* Student Theme - Colorful, encouraging, fun */
|
|
632
|
-
:root {
|
|
633
|
-
--primary: #4CAF50;
|
|
634
|
-
--secondary: #2196F3;
|
|
635
|
-
--accent: #FF9800;
|
|
636
|
-
--background: #FAFAFA;
|
|
637
|
-
--surface: #FFFFFF;
|
|
638
|
-
--text: #212121;
|
|
639
|
-
--success: #4CAF50;
|
|
640
|
-
--warning: #FF9800;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
body {
|
|
644
|
-
font-family: 'Poppins', sans-serif;
|
|
645
|
-
background: linear-gradient(45deg, #E3F2FD 0%, #E8F5E8 50%, #FFF3E0 100%);
|
|
646
|
-
color: var(--text);
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
.space-header {
|
|
650
|
-
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
|
|
651
|
-
color: white;
|
|
652
|
-
padding: 2rem;
|
|
653
|
-
border-radius: 16px;
|
|
654
|
-
margin-bottom: 2rem;
|
|
655
|
-
position: relative;
|
|
656
|
-
overflow: hidden;
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
.space-header::before {
|
|
660
|
-
content: '✨';
|
|
661
|
-
position: absolute;
|
|
662
|
-
top: 1rem;
|
|
663
|
-
right: 1rem;
|
|
664
|
-
font-size: 2rem;
|
|
665
|
-
animation: sparkle 2s infinite;
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
@keyframes sparkle {
|
|
669
|
-
0%, 100% { opacity: 1; transform: scale(1); }
|
|
670
|
-
50% { opacity: 0.5; transform: scale(1.2); }
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
.agent-card {
|
|
674
|
-
background: white;
|
|
675
|
-
border: 2px solid transparent;
|
|
676
|
-
border-radius: 16px;
|
|
677
|
-
padding: 1.5rem;
|
|
678
|
-
transition: all 0.3s ease;
|
|
679
|
-
position: relative;
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
.agent-card:hover {
|
|
683
|
-
border-color: var(--primary);
|
|
684
|
-
transform: translateY(-4px);
|
|
685
|
-
box-shadow: 0 8px 24px rgba(76, 175, 80, 0.2);
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
.widget {
|
|
689
|
-
background: white;
|
|
690
|
-
border-radius: 12px;
|
|
691
|
-
padding: 1.5rem;
|
|
692
|
-
border-left: 6px solid var(--accent);
|
|
693
|
-
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
.progress-bar {
|
|
697
|
-
background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
|
|
698
|
-
height: 8px;
|
|
699
|
-
border-radius: 4px;
|
|
700
|
-
transition: width 0.5s ease;
|
|
701
|
-
}`;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
function generateCyberpunkTheme() {
|
|
705
|
-
return `/* Cyberpunk Theme - Neon-soaked digital rebellion */
|
|
706
|
-
:root {
|
|
707
|
-
--primary: #FF00FF;
|
|
708
|
-
--secondary: #00FFFF;
|
|
709
|
-
--background: #000000;
|
|
710
|
-
--surface: #111111;
|
|
711
|
-
--text: #FFFFFF;
|
|
712
|
-
--accent: #39FF14;
|
|
713
|
-
--glow: #FF00FF;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
body {
|
|
717
|
-
font-family: 'Space Mono', monospace;
|
|
718
|
-
background: #000000;
|
|
719
|
-
background-image:
|
|
720
|
-
radial-gradient(circle at 25% 25%, #FF00FF22 0%, transparent 50%),
|
|
721
|
-
radial-gradient(circle at 75% 75%, #00FFFF22 0%, transparent 50%);
|
|
722
|
-
color: var(--text);
|
|
723
|
-
overflow-x: hidden;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
.space-header {
|
|
727
|
-
background: linear-gradient(135deg, var(--surface) 0%, #1a1a1a 100%);
|
|
728
|
-
border: 1px solid var(--primary);
|
|
729
|
-
color: var(--text);
|
|
730
|
-
padding: 2rem;
|
|
731
|
-
border-radius: 0;
|
|
732
|
-
margin-bottom: 2rem;
|
|
733
|
-
position: relative;
|
|
734
|
-
box-shadow: 0 0 20px var(--glow);
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
.space-header::before {
|
|
738
|
-
content: '';
|
|
739
|
-
position: absolute;
|
|
740
|
-
top: 0;
|
|
741
|
-
left: 0;
|
|
742
|
-
right: 0;
|
|
743
|
-
height: 2px;
|
|
744
|
-
background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
|
|
745
|
-
animation: scan 2s linear infinite;
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
@keyframes scan {
|
|
749
|
-
0% { transform: translateX(-100%); }
|
|
750
|
-
100% { transform: translateX(100%); }
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
.agent-card {
|
|
754
|
-
background: var(--surface);
|
|
755
|
-
border: 1px solid var(--secondary);
|
|
756
|
-
border-radius: 0;
|
|
757
|
-
padding: 1.5rem;
|
|
758
|
-
transition: all 0.3s ease;
|
|
759
|
-
position: relative;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
.agent-card:hover {
|
|
763
|
-
border-color: var(--primary);
|
|
764
|
-
box-shadow:
|
|
765
|
-
0 0 20px var(--primary),
|
|
766
|
-
inset 0 0 20px var(--primary)22;
|
|
767
|
-
transform: translateZ(10px);
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
.widget {
|
|
771
|
-
background: var(--surface);
|
|
772
|
-
border: 1px solid var(--accent);
|
|
773
|
-
border-radius: 0;
|
|
774
|
-
padding: 1rem;
|
|
775
|
-
font-family: 'Courier New', monospace;
|
|
776
|
-
position: relative;
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
.widget::before {
|
|
780
|
-
content: '> ';
|
|
781
|
-
color: var(--accent);
|
|
782
|
-
font-weight: bold;
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
.text-glow {
|
|
786
|
-
text-shadow: 0 0 10px currentColor;
|
|
787
|
-
}`;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
function generateClassicMySpaceTheme() {
|
|
791
|
-
return `/* Classic MySpace Theme - 2005 nostalgia in all its glory */
|
|
792
|
-
:root {
|
|
793
|
-
--primary: #FF1493;
|
|
794
|
-
--secondary: #00FF00;
|
|
795
|
-
--background: #FFFFFF;
|
|
796
|
-
--surface: #F0F0F0;
|
|
797
|
-
--text: #000000;
|
|
798
|
-
--accent: #FFD700;
|
|
799
|
-
--link: #0000FF;
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
body {
|
|
803
|
-
font-family: 'Comic Sans MS', cursive;
|
|
804
|
-
background: var(--background);
|
|
805
|
-
background-image: url('data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wjRLVs2sqgZ5HsJ2qxJEBo0wKJVwVUXlUxCfNuKpHuGG1F0oFu8YqISAAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAOw==');
|
|
806
|
-
color: var(--text);
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
.space-header {
|
|
810
|
-
background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
|
|
811
|
-
color: white;
|
|
812
|
-
padding: 2rem;
|
|
813
|
-
border: 3px solid var(--secondary);
|
|
814
|
-
margin-bottom: 2rem;
|
|
815
|
-
position: relative;
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
.space-header h1 {
|
|
819
|
-
animation: rainbow 3s linear infinite;
|
|
820
|
-
font-size: 2.5rem;
|
|
821
|
-
text-shadow: 2px 2px 4px #000000;
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
@keyframes rainbow {
|
|
825
|
-
0% { color: #FF0000; }
|
|
826
|
-
16% { color: #FF8000; }
|
|
827
|
-
33% { color: #FFFF00; }
|
|
828
|
-
50% { color: #00FF00; }
|
|
829
|
-
66% { color: #0080FF; }
|
|
830
|
-
83% { color: #8000FF; }
|
|
831
|
-
100% { color: #FF0000; }
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
.agent-card {
|
|
835
|
-
background: var(--surface);
|
|
836
|
-
border: 2px solid var(--primary);
|
|
837
|
-
padding: 1.5rem;
|
|
838
|
-
margin: 1rem 0;
|
|
839
|
-
animation: blink 1s linear infinite alternate;
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
@keyframes blink {
|
|
843
|
-
0% { border-color: var(--primary); }
|
|
844
|
-
100% { border-color: var(--secondary); }
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
.widget {
|
|
848
|
-
background: var(--accent);
|
|
849
|
-
border: 2px dashed var(--primary);
|
|
850
|
-
padding: 1rem;
|
|
851
|
-
margin: 1rem 0;
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
.marquee {
|
|
855
|
-
animation: scroll 10s linear infinite;
|
|
856
|
-
white-space: nowrap;
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
@keyframes scroll {
|
|
860
|
-
0% { transform: translateX(100%); }
|
|
861
|
-
100% { transform: translateX(-100%); }
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
a {
|
|
865
|
-
color: var(--link);
|
|
866
|
-
text-decoration: underline;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
a:visited {
|
|
870
|
-
color: #800080;
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
.sparkle {
|
|
874
|
-
animation: sparkle 1s ease-in-out infinite alternate;
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
@keyframes sparkle {
|
|
878
|
-
0% { opacity: 1; transform: scale(1) rotate(0deg); }
|
|
879
|
-
100% { opacity: 0.5; transform: scale(1.2) rotate(180deg); }
|
|
880
|
-
}`;
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
async function generateTemplates(meDir, context) {
|
|
884
|
-
const templatesDir = path.join(meDir, 'templates');
|
|
885
|
-
await fs.ensureDir(templatesDir);
|
|
886
|
-
|
|
887
|
-
// Create a sample template based on context
|
|
888
|
-
const templateContent = `# ${context.type.charAt(0).toUpperCase() + context.type.slice(1)} Template
|
|
889
|
-
|
|
890
|
-
This is your custom template for ${context.type} configurations.
|
|
891
|
-
|
|
892
|
-
## How to Use
|
|
893
|
-
1. Copy this template
|
|
894
|
-
2. Customize for your specific needs
|
|
895
|
-
3. Export to the marketplace
|
|
896
|
-
4. Earn passive income from successful configs!
|
|
897
|
-
|
|
898
|
-
## Template Components
|
|
899
|
-
- Agent configurations
|
|
900
|
-
- Theme settings
|
|
901
|
-
- Workflow patterns
|
|
902
|
-
- Success metrics
|
|
903
|
-
|
|
904
|
-
*Generated by ONE Universal Installer*`;
|
|
905
|
-
|
|
906
|
-
await fs.writeFile(path.join(templatesDir, 'sample-template.md'), templateContent);
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
module.exports = { create };
|