oneie 1.0.0 → 1.0.2

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.
Files changed (35) hide show
  1. package/README.md +240 -300
  2. package/bin/install.js +473 -0
  3. package/lib/agent-setup.js +393 -0
  4. package/lib/context-detector.js +199 -0
  5. package/lib/me-generator.js +909 -0
  6. package/lib/progress.js +15 -0
  7. package/lib/project-integrator.js +718 -0
  8. package/lib/scaffold-generator.js +460 -0
  9. package/lib/validator.js +419 -0
  10. package/package.json +40 -148
  11. package/templates/claude-commands/agent.md +87 -0
  12. package/templates/claude-commands/mission.md +65 -0
  13. package/templates/claude-commands/one.md +151 -0
  14. package/templates/claude-commands/story.md +68 -0
  15. package/.one/agent-teams/team-all.yaml +0 -14
  16. package/.one/agent-teams/team-fullstack.yaml +0 -18
  17. package/.one/agent-teams/team-ide-minimal.yaml +0 -10
  18. package/.one/agent-teams/team-marketing.yaml +0 -21
  19. package/.one/agent-teams/team-no-ui.yaml +0 -13
  20. package/LICENSE +0 -21
  21. package/bin/collaborative-install.js +0 -443
  22. package/one/core-config.yaml +0 -101
  23. package/one/tools/bin/one-agent.js +0 -25
  24. package/one/tools/bin/one-mission.js +0 -25
  25. package/one/tools/bin/one-playbook.js +0 -25
  26. package/one/tools/bin/one-story.js +0 -25
  27. package/one/tools/bin/one-team.js +0 -25
  28. package/one/tools/bin/one-tools.js +0 -25
  29. package/one/tools/cli.js +0 -2275
  30. package/one/tools/one-cli.js +0 -270
  31. package/scaffold/.one/checklists/quality-checklist.yaml +0 -331
  32. package/scaffold/.one/hooks/content-validator.js +0 -466
  33. package/scaffold/.one/hooks/file-organization-monitor.js +0 -409
  34. package/scaffold/.one/spaces/default/config.yaml +0 -103
  35. package/scaffold/.one/templates/mission-template.yaml +0 -192
@@ -0,0 +1,87 @@
1
+ # /agent Command - Personal Agent Management
2
+
3
+ Access and manage your personalized Top 8 AI agents.
4
+
5
+ ## Personalized Agent Interface
6
+
7
+ When this command is used:
8
+
9
+ 1. **Read User Agents**: Parse `one/me/me.md` for user's configured Top 8 agents
10
+ 2. **Show Agent Roster**: Display user's personalized agents with custom names and roles
11
+ 3. **Direct Access**: Enable immediate connection to user's favorite agents
12
+ 4. **Customization Options**: Allow user to modify agent configurations
13
+
14
+ ```yaml
15
+ activation:
16
+ - Read user's top_agents configuration from me.md
17
+ - Display user's personalized agent roster
18
+ - Show agent availability and current assignments
19
+ - Enable direct agent access and customization
20
+
21
+ display:
22
+ agent_roster: |
23
+ 🤖 {{USER_NAME}}'s AI Agent Team
24
+
25
+ Your Top 8 Agents:
26
+ {{#each TOP_AGENTS}}
27
+ [{{slot}}] {{name}} - {{role}}
28
+ Personality: {{personality}}
29
+ Catchphrase: "{{catchphrase}}"
30
+ Status: {{status}}
31
+ {{/each}}
32
+
33
+ Available Commands:
34
+ [1-8] Connect to agent by slot
35
+ [list] Show all agents
36
+ [customize] Edit agent configuration
37
+ [add] Add new agent to roster
38
+ [swap] Change agent positions
39
+
40
+ behavior:
41
+ direct_agent_access: |
42
+ # Connect to user's configured agents
43
+ - Launch agent with user's custom name and personality
44
+ - Apply agent's configured catchphrase and behavior
45
+ - Reference user's goals and mission context
46
+ - Maintain agent's assigned role and specialization
47
+
48
+ agent_customization: |
49
+ # Allow users to personalize their agents
50
+ - Edit agent names, roles, and personalities
51
+ - Modify agent catchphrases and behavior patterns
52
+ - Assign agents to specific missions or tasks
53
+ - Save customizations back to me.md configuration
54
+
55
+ roster_management: |
56
+ # Manage the Top 8 agent slots
57
+ - Add/remove agents from roster
58
+ - Reorder agents by preference/usage
59
+ - Import agents from the 43+ agent library
60
+ - Create custom agent configurations
61
+
62
+ commands:
63
+ - connect [slot]: Connect to agent by slot number (1-8)
64
+ - list: Show all available agents
65
+ - roster: Display your Top 8 roster
66
+ - customize [slot]: Edit agent configuration
67
+ - add: Add agent to your roster
68
+ - remove [slot]: Remove agent from roster
69
+ - swap [slot1] [slot2]: Swap agent positions
70
+ - import: Import from agent library
71
+ - export: Export your agent configurations
72
+
73
+ agent_templates:
74
+ custom_agent: |
75
+ slot: {{SLOT_NUMBER}}
76
+ name: "{{AGENT_NAME}}"
77
+ base: "{{BASE_SPECIALIZATION}}"
78
+ role: "{{CUSTOM_ROLE}}"
79
+ personality: "{{PERSONALITY_DESCRIPTION}}"
80
+ catchphrase: "{{AGENT_CATCHPHRASE}}"
81
+ specializations:
82
+ - {{SKILL_1}}
83
+ - {{SKILL_2}}
84
+ mission_alignment: {{USER_GOALS}}
85
+ ```
86
+
87
+ Connect directly to your personalized AI agents or customize your agent roster to match your unique needs and working style.
@@ -0,0 +1,65 @@
1
+ # /mission Command - Personal Mission Management
2
+
3
+ Create and manage missions personalized to your goals and AI universe.
4
+
5
+ ## Personalized Mission Interface
6
+
7
+ When this command is used:
8
+
9
+ 1. **Read User Context**: Parse `one/me/me.md` for user's personal goals and theme
10
+ 2. **Show Personal Missions**: Display user's active missions from `one/missions/`
11
+ 3. **Goal Alignment**: Suggest missions that align with user's configured goals
12
+ 4. **Brand Consistency**: Apply user's theme and voice to mission interface
13
+
14
+ ```yaml
15
+ activation:
16
+ - Read user's me.md for goal alignment and theme
17
+ - Scan one/missions/ for existing user missions
18
+ - Display personalized mission management interface
19
+ - Show mission options that align with user's goals
20
+
21
+ display:
22
+ header: |
23
+ 🎯 {{USER_NAME}} Mission Control
24
+ {{USER_TAGLINE}}
25
+
26
+ 📊 Your Goals:
27
+ {{#each USER_GOALS}}
28
+ • {{this}}
29
+ {{/each}}
30
+
31
+ behavior:
32
+ goal_aligned_suggestions: |
33
+ # Suggest missions based on user's configured goals
34
+ - Analyze user's goals from me.md
35
+ - Recommend mission types that advance those goals
36
+ - Show how each mission contributes to goal achievement
37
+ - Prioritize missions by goal alignment score
38
+
39
+ personalized_mission_creation: |
40
+ # Create missions that reflect user's style and objectives
41
+ - Use user's brand voice for mission descriptions
42
+ - Align mission objectives with user's personal goals
43
+ - Reference user's configured spaces and agents
44
+ - Apply user's theme colors to mission documentation
45
+
46
+ commands:
47
+ - create: Create new mission aligned with your goals
48
+ - list: Show your active missions
49
+ - status: Mission progress toward your goals
50
+ - align: Check mission alignment with your goals
51
+ - update: Update mission with new objectives
52
+ - complete: Mark mission as completed
53
+ - archive: Archive completed missions
54
+
55
+ mission_templates:
56
+ goal_based: |
57
+ # Mission: {{MISSION_NAME}}
58
+ **Goal Alignment**: {{ALIGNED_GOALS}}
59
+ **Your Role**: {{USER_ROLE}}
60
+ **Success Metric**: {{SUCCESS_CRITERIA}}
61
+ **Timeline**: {{TIMELINE}}
62
+ **Agents Assigned**: {{ASSIGNED_AGENTS}}
63
+ ```
64
+
65
+ Transform user requests into personalized missions that advance their specific goals using their configured AI agents and spaces.
@@ -0,0 +1,151 @@
1
+ # /one Command - Personalized AI Universe
2
+
3
+ When this command is used, create a personalized mission control interface based on the user's me.md configuration:
4
+
5
+ ## Step 1: Read User Configuration
6
+
7
+ First, read the user's digital DNA from `one/me/me.md` to personalize the interface.
8
+
9
+ ## Step 2: Display Personalized Interface
10
+
11
+ ```yaml
12
+ activation:
13
+ - Read user's me.md file for personalization
14
+ - Display personalized ONE logo with user's name/tagline
15
+ - Show personalized menu with user's theme colors
16
+ - Present user's configured agents and spaces
17
+ - Wait for user selection with personalized options
18
+
19
+ display:
20
+ logo: |
21
+ ╔══════════════════════════════════════════════════════════════════════════════╗
22
+ ║ ██████╗ ███╗ ██╗███████╗ ║
23
+ ║ ██╔═══██╗████╗ ██║██╔════╝ ║
24
+ ║ ██║ ██║██╔██╗ ██║█████╗ {{USER_NAME}} AI Universe ║
25
+ ║ ██║ ██║██║╚██╗██║██╔══╝ ║
26
+ ║ ╚██████╔╝██║ ╚████║███████╗ {{USER_TAGLINE}} ║
27
+ ║ ╚═════╝ ╚═╝ ╚═══╝╚══════╝ ║
28
+ ╚══════════════════════════════════════════════════════════════════════════════╝
29
+
30
+ personalized_menu: |
31
+ 🎯 {{USER_STORY}}
32
+
33
+ 💫 **YOUR UNIVERSE:** {{SPACE_TITLE}} | Theme: {{THEME}} | {{AGENT_COUNT}} AI Agents Ready
34
+
35
+ 🤖 **YOUR TOP AGENTS:**
36
+ {{#each TOP_AGENTS}}
37
+ [{{slot}}] {{name}} - {{role}} | "{{catchphrase}}"
38
+ {{/each}}
39
+
40
+ 🌟 **YOUR SPACES:**
41
+ {{#each SPACES}}
42
+ [{{id}}] {{title}} - {{vibe}} {{#if public}}(Public){{else}}(Private){{/if}}
43
+ {{/each}}
44
+
45
+ 🎯 **YOUR GOALS:**
46
+ {{#each GOALS}}
47
+ • {{this}}
48
+ {{/each}}
49
+
50
+ 💼 **SPECIALIZED TEAMS:** [1] 🔬 Research [2] 📝 Content [3] 📈 Marketing [4] 💰 Sales [5] 🤝 Service [6] 🎨 Design [7] 🛠️ Engineering [8] 🎓 Education [9] 🧠 Intelligence
51
+
52
+ 🏗️ **MENU:** [H] 👥 Humans [A] 🤖 Agents [T] 🏢 Teams [t] 🛠️ Tools [L] 📚 Stories [W] 🔄 Workflows
53
+
54
+ 📚 **STUDIO:** [i] 💡 Ideas [w] 📄 Write Story [P] 📊 Playbook [B] 📖 Book [D] 📋 Template
55
+
56
+ 🎯 **MISSION:** [O] 🎭 Coordinate [M] 🧙 Tasks [F] 🌊 Flows
57
+
58
+ ℹ️ **PLATFORM:** [?] ❓ Help [K] 📚 Knowledge [S] 📈 Status [Q] 🚪 Exit
59
+
60
+ 🎮 **CASCADE COMMANDERS:**
61
+ /commander - Mission Commander (Strategic Planning Specialist)
62
+ /storyteller - Story Teller (Engineering Narrative Expert)
63
+ /taskmaster - Task Master (Execution Coordination Master)
64
+
65
+ 💡 **ME ENGINE:**
66
+ me validate - Validate your digital DNA (one/me/me.md)
67
+ me generate - Regenerate universe from me.md
68
+ me sample - Generate sample configurations
69
+
70
+ behavior:
71
+ personalization_engine: |
72
+ # Read and parse me.md file
73
+ 1. Check if one/me/me.md exists
74
+ 2. Parse YAML frontmatter for user configuration
75
+ 3. Extract: name, tagline, story, brand theme, top_agents, spaces, goals
76
+ 4. Apply user's brand colors to interface styling
77
+ 5. Customize agent roster based on user's top_agents configuration
78
+ 6. Show user's specific spaces and privacy settings
79
+ 7. Display user's personal goals and mission alignment
80
+
81
+ theme_adaptation: |
82
+ # Apply user's brand theme
83
+ - professional: Clean blue/gray interface with business focus
84
+ - student: Colorful, energetic interface with learning focus
85
+ - cyberpunk: Dark neon interface with tech/crypto focus
86
+ - creative: Artistic interface with design/content focus
87
+
88
+ agent_personalization: |
89
+ # Show user's configured agents
90
+ - Display user's Top 8 agents with custom names and roles
91
+ - Show agent personalities and catchphrases
92
+ - Highlight user's favorite agents in slot priority order
93
+ - Enable direct agent access via slot numbers
94
+
95
+ direct_commands:
96
+ /one: Launch personalized interface
97
+ /one agent [slot]: Direct to user's configured agent by slot number
98
+ /one space [id]: Enter user's specific space
99
+ /one goals: Review and update personal goals
100
+ /one theme: Switch brand theme (professional/student/cyberpunk/creative)
101
+ /one customize: Edit me.md configuration
102
+ /one status: Show universe status and agent availability
103
+ /one help: Show personalized help based on user's configuration
104
+
105
+ modes:
106
+ personalized_team_mode:
107
+ description: Launch teams with user's branding and agent preferences
108
+ activation: User selects 1-9
109
+ behavior:
110
+ - Apply user's theme colors to team interface
111
+ - Show team specialists aligned with user's goals
112
+ - Reference user's configured agents for collaboration
113
+ - Maintain user's brand voice throughout interaction
114
+
115
+ personalized_agent_mode:
116
+ description: Direct access to user's configured Top 8 agents
117
+ activation: User selects agent slot number
118
+ behavior:
119
+ - Launch user's specifically configured agent
120
+ - Use agent's custom name, role, and personality
121
+ - Reference user's goals and brand voice
122
+ - Maintain agent's configured catchphrase and behavior
123
+
124
+ # File dependencies for personalization
125
+ dependencies:
126
+ user_config: one/me/me.md
127
+ me_engine: me-engine-one (for validation and regeneration)
128
+ template_system: Mustache template engine for dynamic content
129
+ theme_assets: User's assets directory for custom branding
130
+
131
+ # Error handling
132
+ fallback_behavior:
133
+ - If me.md doesn't exist: Show installation guidance
134
+ - If me.md is invalid: Offer to generate sample configuration
135
+ - If parsing fails: Fall back to universal ONE interface
136
+ - Always provide me validate and me generate options
137
+ ```
138
+
139
+ When the /one command is invoked:
140
+
141
+ 1. **Read User Configuration**: Parse `one/me/me.md` for personalization data
142
+ 2. **Apply Theme**: Use user's configured theme, colors, and brand voice
143
+ 3. **Display Personalized Interface**: Show customized logo, agents, spaces, and goals
144
+ 4. **Enable Personal Commands**: Provide access to user's configured agents and spaces
145
+ 5. **Maintain Context**: Remember user preferences throughout the session
146
+ 6. **Integrate ME Engine**: Seamlessly connect with `me validate` and `me generate` commands
147
+
148
+ **🎯 Your personalized AI universe awaits:**
149
+ _Powered by your digital DNA in one/me/me.md_
150
+
151
+ **✍️ Start your next /mission | 📖 Tell a /story | 🤖 Meet your /agents**
@@ -0,0 +1,68 @@
1
+ # /story Command - Personal Story Creation
2
+
3
+ Create compelling stories within your personalized AI universe.
4
+
5
+ ## Personalized Story Interface
6
+
7
+ When this command is used:
8
+
9
+ 1. **Read User Context**: Parse `one/me/me.md` for narrative voice and style preferences
10
+ 2. **Show Personal Stories**: Display user's stories from `one/stories/`
11
+ 3. **Mission Integration**: Connect stories to user's active missions
12
+ 4. **Voice Consistency**: Apply user's brand voice to story creation
13
+
14
+ ```yaml
15
+ activation:
16
+ - Read user's me.md for voice, style, and mission context
17
+ - Scan one/stories/ for existing user stories
18
+ - Show personalized story creation interface
19
+ - Reference user's active missions for story context
20
+
21
+ display:
22
+ header: |
23
+ 📖 {{USER_NAME}} Story Studio
24
+ Voice: {{USER_VOICE}} | Theme: {{USER_THEME}}
25
+
26
+ 🎯 Active Missions:
27
+ {{#each ACTIVE_MISSIONS}}
28
+ • {{title}} - {{progress}}% complete
29
+ {{/each}}
30
+
31
+ behavior:
32
+ voice_consistency: |
33
+ # Apply user's configured brand voice
34
+ - Use user's voice setting from me.md (professional, creative, etc.)
35
+ - Maintain narrative consistency with user's personality
36
+ - Reference user's story and values from configuration
37
+ - Adapt tone to user's preferred communication style
38
+
39
+ mission_integration: |
40
+ # Connect stories to user's missions
41
+ - Show how each story advances mission objectives
42
+ - Reference user's assigned agents for story execution
43
+ - Align story outcomes with user's personal goals
44
+ - Track story completion within mission context
45
+
46
+ commands:
47
+ - create: Create new story within your missions
48
+ - list: Show your story library
49
+ - continue: Continue an existing story
50
+ - connect: Connect story to mission
51
+ - voice: Adjust story voice/tone
52
+ - agents: Assign your agents to story execution
53
+ - publish: Share story in your space
54
+
55
+ story_templates:
56
+ personal_narrative: |
57
+ # Story: {{STORY_TITLE}}
58
+ **Mission Context**: {{PARENT_MISSION}}
59
+ **Your Voice**: {{USER_VOICE_SETTING}}
60
+ **Key Characters**: {{USER_AGENTS}}
61
+ **Setting**: {{USER_SPACE}}
62
+ **Goal Alignment**: {{STORY_GOALS}}
63
+
64
+ ## Your Story
65
+ {{STORY_CONTENT}}
66
+ ```
67
+
68
+ Transform user ideas into compelling narratives that advance their missions using their personal brand voice and configured AI agents.
@@ -1,14 +0,0 @@
1
- bundle:
2
- name: Team All
3
- icon: 👥
4
- description: Includes every core system agent.
5
- agents:
6
- - one-orchestrator
7
- - '*'
8
- workflows:
9
- - brownfield-fullstack.yaml
10
- - brownfield-service.yaml
11
- - brownfield-ui.yaml
12
- - greenfield-fullstack.yaml
13
- - greenfield-service.yaml
14
- - greenfield-ui.yaml
@@ -1,18 +0,0 @@
1
- bundle:
2
- name: Team Fullstack
3
- icon: 🚀
4
- description: Team capable of full stack, front end only, or service development.
5
- agents:
6
- - one-orchestrator
7
- - analyst
8
- - pm
9
- - ux-expert
10
- - architect
11
- - po
12
- workflows:
13
- - brownfield-fullstack.yaml
14
- - brownfield-service.yaml
15
- - brownfield-ui.yaml
16
- - greenfield-fullstack.yaml
17
- - greenfield-service.yaml
18
- - greenfield-ui.yaml
@@ -1,10 +0,0 @@
1
- bundle:
2
- name: Team IDE Minimal
3
- icon: ⚡
4
- description: Only the bare minimum for the IDE PO SM dev qa cycle.
5
- agents:
6
- - po
7
- - sm
8
- - dev
9
- - qa
10
- workflows: null
@@ -1,21 +0,0 @@
1
- bundle:
2
- name: Elevate Marketing Team
3
- icon: 📈
4
- description: Complete Elevate Marketing Framework team with specialists for each phase
5
- agents:
6
- - one-orchestrator
7
- - brand-identity-specialist
8
- - market-research-analyst
9
- - customer-journey-designer
10
- - content-hook-specialist
11
- - lead-magnet-creator
12
- - lead-capture-expert
13
- - engagement-specialist
14
- - sales-environment-optimizer
15
- - nurture-campaign-manager
16
- - upsell-strategist
17
- - customer-success-manager
18
- - advocacy-campaign-designer
19
- workflows:
20
- - elevate-greenfield-workflow.yaml
21
- - elevate-brownfield-workflow.yaml
@@ -1,13 +0,0 @@
1
- bundle:
2
- name: Team No UI
3
- icon: 🔧
4
- description: Team with no UX or UI Planning.
5
- agents:
6
- - one-orchestrator
7
- - analyst
8
- - pm
9
- - architect
10
- - po
11
- workflows:
12
- - greenfield-service.yaml
13
- - brownfield-service.yaml
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 ONE Universal AI Agent Platform
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.