@wundr.io/computer-setup
v1.0.7
Published
Engineering team computer provisioning and setup tool - configure new developer machines with all required tools
Readme
@wundr.io/computer-setup
🎯 What is Computer Setup?
@wundr.io/computer-setup is an automated engineering team computer provisioning tool that transforms a fresh machine into a fully-configured development powerhouse in minutes. It provides:
- 🚀 One-command setup - From zero to production-ready in 15-40 minutes
- 🎭 6 developer profiles - Frontend, Backend, Full Stack, DevOps, ML, Mobile
- 🤖 80+ AI agents - Pre-configured specialized agents for every task
- ⚡ Hardware-adaptive optimization - 7x larger context windows for Claude Code
- 🔧 Platform-specific installers - Native support for macOS and Linux
- 👥 Team standardization - Consistent development environments across teams
🌟 Key Features
Comprehensive Tool Installation
- Development Runtimes: Node.js (NVM), Python (pyenv), Go, Rust, Java
- Package Managers: npm, pnpm, yarn, pip, Homebrew/apt
- Containers: Docker, Docker Compose, Kubernetes
- Version Control: Git with team configurations
- Editors: VS Code with extensions, Vim, Neovim
- Databases: PostgreSQL, MySQL, MongoDB, Redis clients
- Cloud CLIs: AWS, GCloud, Azure
- AI Tools: Claude Code, Claude Flow, 80+ MCP agents
- Orchestrator Daemon: Machine-level agent supervisor with tiered memory and external integrations
Hardware-Adaptive Claude Optimization
Automatically configures Claude Code for optimal performance based on your hardware:
Before Optimization:
- Context: ~50,000 tokens
- Memory: Default V8 limits
- Performance: Standard
After Optimization (M1/M2 Pro+):
- Context: ~350,000 tokens (7x increase)
- Memory: Hardware-adaptive V8 tuning
- Performance: 2.8-4.4x faster agent spawning
- Token efficiency: 32.3% reduction
80+ Specialized Agents
Pre-configured and ready to use:
Core Development (5)
- coder, reviewer, tester, planner, researcher
Swarm Coordination (5)
- hierarchical-coordinator, mesh-coordinator, adaptive-coordinator, collective-intelligence-coordinator, swarm-memory-manager
Consensus & Distributed (7)
- byzantine-coordinator, raft-manager, gossip-coordinator, consensus-builder, crdt-synchronizer, quorum-manager, security-manager
Performance & Optimization (5)
- perf-analyzer, performance-benchmarker, task-orchestrator, memory-coordinator, smart-agent
GitHub Integration (14)
- github-modes, pr-manager, code-review-swarm, issue-tracker, release-manager, workflow-automation, project-board-sync, repo-architect, multi-repo-swarm, sync-coordinator, release-swarm, swarm-pr, swarm-issue
SPARC Methodology (6)
- sparc-coord, sparc-coder, specification, pseudocode, architecture, refinement
Specialized Development (13)
- backend-dev, mobile-dev, ml-developer, cicd-engineer, api-docs, system-architect, code-analyzer, base-template-generator, production-validator, tdd-london-swarm, migration-planner, swarm-init
And more...
📦 Installation
NPM (Recommended)
# Install globally
npm install -g @wundr.io/computer-setup
# Or use via npx (no installation required)
npx @wundr.io/computer-setupFrom Wundr CLI
# Computer setup is integrated into Wundr CLI
npm install -g @wundr/cli
wundr computer-setup🚀 Quick Start
Interactive Setup (Recommended)
# Launch interactive wizard
npx @wundr.io/computer-setup
# You'll be prompted for:
# - Developer profile (Frontend, Backend, Full Stack, DevOps, ML, Mobile)
# - Personal information (name, email)
# - Optional integrations (Slack, Gmail, team configs)Global Setup (Orchestrator Daemon)
For machine-level agent orchestration with external integrations:
# Install Orchestrator Daemon and global wundr resources
npx @wundr.io/computer-setup global-setup
# Check Orchestrator Daemon installation status
npx @wundr.io/computer-setup orchestrator-statusSee Orchestrator Daemon Architecture for details.
One-Command Setup
# Full Stack Developer setup
npx @wundr.io/computer-setup --profile fullstack
# With team configuration
npx @wundr.io/computer-setup --profile backend --team platform
# Minimal installation (core tools only)
npx @wundr.io/computer-setup --profile frontend --mode minimal
# Dry run (see what will be installed)
npx @wundr.io/computer-setup --profile fullstack --dry-runProgrammatic Usage
import { RealSetupOrchestrator, ProfileManager } from '@wundr.io/computer-setup';
// Initialize orchestrator
const platform = {
os: process.platform,
arch: process.arch,
version: process.version,
};
const orchestrator = new RealSetupOrchestrator(platform);
// Run setup with progress tracking
const result = await orchestrator.orchestrate(
'fullstack',
{
mode: 'automated',
skipExisting: true,
verbose: true,
},
progress => {
console.log(`[${progress.percentage}%] ${progress.currentStep}`);
}
);
console.log('Setup completed:', result.success);
console.log('Installed tools:', result.completedSteps);👨💻 Developer Profiles
Frontend Developer
Perfect for: React, Vue, Angular, Next.js development
Includes:
- Node.js (20.x, 18.x) with NVM
- Global packages: pnpm, TypeScript, tsx, vite, webpack
- VS Code with React/Vue extensions
- Chrome DevTools
- Claude Code + 80+ agents
- Hardware-optimized for large component trees
Estimated time: 20 minutes
npx @wundr.io/computer-setup --profile frontendBackend Developer
Perfect for: API development, microservices, server-side applications
Includes:
- Node.js + Python (3.11, 3.10)
- Global packages: express, fastify, nest, pm2, prisma
- Docker + Docker Compose
- Database tools: PostgreSQL, Redis, MongoDB clients
- Claude Code with API-focused agents
- Performance monitoring tools
Estimated time: 30 minutes
npx @wundr.io/computer-setup --profile backendFull Stack Developer
Perfect for: End-to-end application development
Includes:
- Everything from Frontend + Backend
- Node.js + Python runtimes
- Database clients and tools
- Container orchestration
- Full agent suite (80+ agents)
- Complete MCP server ecosystem
Estimated time: 35 minutes
npx @wundr.io/computer-setup --profile fullstackDevOps Engineer
Perfect for: Infrastructure, deployment, automation
Includes:
- Docker + Kubernetes
- Cloud CLIs: AWS, GCloud, Azure
- Infrastructure as Code: Terraform, Ansible
- Monitoring: Datadog, New Relic, Sentry
- CI/CD tools
- DevOps-specialized agents
Estimated time: 40 minutes
npx @wundr.io/computer-setup --profile devopsMachine Learning Engineer
Perfect for: ML model development, data science
Includes:
- Python (3.11) with pyenv
- Jupyter notebooks
- ML libraries pre-configured: TensorFlow, PyTorch, scikit-learn
- Docker for model serving
- GPU-optimized configurations
- ML-specialized agents
Estimated time: 35 minutes
npx @wundr.io/computer-setup --profile mlMobile Developer
Perfect for: React Native, mobile app development
Includes:
- Node.js with React Native CLI
- Global packages: expo, eas-cli, react-native
- Android Studio / Xcode setup guidance
- Mobile debugging tools
- Mobile-focused agents
Estimated time: 25 minutes
npx @wundr.io/computer-setup --profile mobile⚡ Hardware-Adaptive Claude Optimization
Standalone Optimization Command
Already have Claude Code installed? Just need the performance boost?
# Run standalone optimization
wundr claude-setup
# Or from this package
npx @wundr.io/computer-setup --claude-onlyWhat Gets Optimized
1. Hardware Detection
// Automatically detects your system capabilities
{
totalMemory: 32GB,
availableMemory: 24GB,
cpuCount: 10,
platform: "darwin",
architecture: "arm64"
}2. V8 Memory Tuning
# Shell config automatically updated with:
export NODE_OPTIONS="--max-old-space-size=8192 --max-semi-space-size=512"3. Claude Wrapper Script
# ~/.claude/scripts/claude-optimized
#!/bin/bash
# Hardware-adaptive V8 configuration
# Zombie process cleanup
# Memory optimization
exec claude "$@"4. Optimization Scripts
detect-hardware-limits.js- Auto-detects optimal settingsclaude-optimized- Optimized wrapper scriptorchestrator.js- Fault-tolerant multi-agent coordinationcleanup-zombies.sh- Process cleanup utility
Performance Improvements
| Metric | Before | After (M1 Pro+) | Improvement | | ---------------- | ---------- | ----------------- | ------------------- | | Context Window | 50K tokens | 350K tokens | 7x larger | | Agent Spawn Time | 12s | 3-4s | 2.8-4.4x faster | | Memory Usage | Default | Hardware-adaptive | 32.3% reduction | | Token Efficiency | Baseline | Optimized | 32.3% better | | SWE-Bench Score | N/A | 84.8% | Industry-leading |
Optimization Aliases
After installation, these aliases are available:
# Check current hardware limits
claude-stats
# Clean up zombie processes
claude-cleanup
# Run orchestrator directly
claude-orchestrate💼 Example Usage Scenarios
Scenario 1: New Team Member Onboarding
# Engineering manager sets up team config
wundr computer-setup create-team-config platform-team
# New developer runs single command
wundr computer-setup --team platform-team
# Result:
# ✅ All team tools installed
# ✅ Team Git conventions configured
# ✅ Team Slack workspace joined
# ✅ Team project templates available
# ✅ Claude optimized for team's hardware standardScenario 2: Switching Roles
# Frontend dev moving to full stack
wundr computer-setup --profile fullstack --preserve-frontend
# Adds backend tools while keeping frontend setup
# ✅ Installs Python, databases
# ✅ Adds backend agents
# ✅ Preserves existing Node.js setup
# ✅ Updates Claude configurationScenario 3: Fresh Machine Setup
# Unbox new MacBook Pro
# Run one command:
wundr computer-setup --profile fullstack --auto-configure
# 35 minutes later:
# ✅ All development tools installed
# ✅ Git configured with your credentials
# ✅ Slack connected to workspaces
# ✅ VS Code with your extensions
# ✅ Claude optimized for M2 Pro
# ✅ 80+ agents ready to use
# ✅ Ready to start codingScenario 4: CI/CD Machine Provisioning
# In Dockerfile or CI script
RUN npx @wundr.io/computer-setup \
--profile backend \
--mode automated \
--skip-interactive \
--no-personalization
# Perfect for:
# - Docker build agents
# - GitHub Actions runners
# - Jenkins slaves
# - Cloud VMs🎨 Personalization Features
Slack Integration
# Auto-configure Slack profile
wundr computer-setup --profile fullstack --slack
# Features:
# - Join team workspaces
# - Set profile photo
# - Configure status
# - Install Slack CLIGmail Integration
# Auto-configure email signature
wundr computer-setup --gmail
# Features:
# - Professional email signature
# - Team contact info
# - Calendar integration setupmacOS Personalization
# Apply macOS developer settings
wundr computer-setup --profile fullstack --mac-customize
# Features:
# - Show hidden files
# - Faster key repeat
# - Developer-friendly Dock
# - Custom wallpaper generation
# - Hot corners configurationGit Configuration
Automatically configures Git with:
- Your name and email
- GPG signing (optional)
- SSH keys (auto-generated)
- Team conventions (branch naming, commit format)
- Useful aliases
# Git aliases added:
git co # checkout
git br # branch
git ci # commit
git st # status
git visual # pretty log graph🔧 Integration with @wundr.io/cli
Computer Setup is deeply integrated with the Wundr CLI:
# After computer-setup completes:
wundr create my-app --template nextjs-ts
# Uses installed tools and configurations
wundr analyze .
# Uses Claude agents configured during setup
wundr doctor
# Validates all tools from computer-setup⚙️ Configuration Options
Setup Modes
# Interactive (default) - Prompts for choices
wundr computer-setup --mode interactive
# Automated - Uses smart defaults
wundr computer-setup --mode automated
# Minimal - Core tools only
wundr computer-setup --mode minimalInstallation Flags
# Skip already installed tools
--skip-existing
# Show what will be installed without installing
--dry-run
# Verbose output
--verbose
# Parallel installations (faster)
--parallel
# Generate installation report
--generate-reportGlobal Setup Commands
# Install Orchestrator Daemon and global wundr resources
npx @wundr.io/computer-setup global-setup
# Options:
# --skip-daemon Skip Orchestrator Daemon installation
# --daemon-only Only install Orchestrator Daemon
# --no-autostart Don't configure daemon to start on boot
# Check Orchestrator Daemon installation status
npx @wundr.io/computer-setup orchestrator-status
# Options:
# --json Output status as JSON
# --verbose Include detailed diagnosticsResume Failed Installations
If installation fails, you can resume:
# Computer setup saves state automatically
wundr computer-setup --resume
# Or manually specify state file
wundr computer-setup --resume --state ~/.wundr-setup-state.jsonTeam Configurations
# Create team config template
wundr computer-setup create-team-config my-team
# Edit ~/.wundr/teams/my-team.json
# Share with team
# Team members install with:
wundr computer-setup --team my-teamTeam config example:
{
"organization": "Acme Corp",
"teamName": "Platform Team",
"standardTools": {
"languages": ["node", "python"],
"databases": ["postgresql", "redis"],
"containers": ["docker"],
"cloudCLIs": ["aws", "gcloud"]
},
"gitConfig": {
"defaultBranch": "main",
"signCommits": true,
"aliases": {
"co": "checkout",
"ci": "commit -s"
}
},
"repositories": ["https://github.com/acme/platform", "https://github.com/acme/shared-libs"]
}🛠️ Troubleshooting
Common Issues
Installation Fails with Permission Error
# Run with sudo for system-level installations
sudo wundr computer-setup --profile fullstack
# Or grant permissions first
wundr computer-setup --fix-permissionsHomebrew Not Found (macOS)
# Homebrew will be installed automatically
# If it fails, install manually:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Then resume:
wundr computer-setup --resumeClaude Optimization Not Working
# Check shell configuration
cat ~/.zshrc | grep "Claude Code"
# Reload shell
source ~/.zshrc
# Verify optimization
node ~/.claude/scripts/detect-hardware-limits.js
# Re-run optimization
wundr claude-setupNVM Node Version Issues
# Shell wrapper handles NVM automatically
# If issues persist, check:
which claude
# Should show /usr/local/bin/claude or ~/.claude/scripts/claude-optimized
# Verify NVM
nvm --version
# Set default Node version
nvm alias default 20Docker Installation Fails
# Docker requires manual approval on macOS
# Download from: https://www.docker.com/products/docker-desktop
# Then resume setup:
wundr computer-setup --resume --skip dockerVerification Commands
# Check what was installed
wundr doctor
# Verify specific tool
wundr doctor --tool node
wundr doctor --tool docker
wundr doctor --tool claude
# Generate full report
wundr computer-setup --verify --report setup-report.jsonGetting Help
# Built-in help
wundr computer-setup --help
# Check installation logs
cat ~/.wundr/logs/computer-setup.log
# Validate environment
wundr validate-environmentCleanup and Uninstall
# Remove Wundr configurations (keeps tools)
wundr computer-setup --cleanup
# Full uninstall (removes everything)
wundr computer-setup --uninstall
# Remove specific profile
wundr computer-setup --remove-profile fullstack📊 What Gets Installed
System Tools
- ✅ Xcode Command Line Tools (macOS)
- ✅ Homebrew / apt-get (package manager)
- ✅ Build essentials (gcc, make, etc.)
- ✅ System utilities (curl, wget, jq, etc.)
Development Runtimes
- ✅ Node.js (via NVM) - Multiple versions
- ✅ Python (via pyenv) - Multiple versions
- ✅ Go (latest stable)
- ✅ Rust (via rustup)
- ✅ Java (OpenJDK)
Package Managers
- ✅ npm (bundled with Node.js)
- ✅ pnpm (fast, disk-efficient)
- ✅ yarn (classic and berry)
- ✅ pip (Python)
- ✅ conda (optional, for ML profile)
Version Control
- ✅ Git (latest)
- ✅ GitHub CLI (gh)
- ✅ Git LFS
- ✅ Git hooks templates
Containers & Orchestration
- ✅ Docker Desktop
- ✅ Docker Compose
- ✅ Kubernetes (kubectl)
- ✅ Helm (optional)
Editors & IDEs
- ✅ VS Code with extensions:
- ESLint, Prettier
- TypeScript
- Docker
- Python
- GitLens
- Claude Code extension
- ✅ Vim with sensible defaults
- ✅ Neovim (optional)
Database Clients
- ✅ PostgreSQL client (psql)
- ✅ MySQL client
- ✅ MongoDB client (mongosh)
- ✅ Redis client (redis-cli)
- ✅ Database GUI tools
Cloud CLIs
- ✅ AWS CLI
- ✅ Google Cloud SDK
- ✅ Azure CLI
- ✅ Vercel CLI
- ✅ Netlify CLI
AI Development Tools
- ✅ Claude Code CLI
- ✅ Claude Flow (claude-flow@alpha)
- ✅ MCP Servers:
- firecrawl
- context7
- playwright
- browser
- sequentialthinking
- ✅ 80+ Specialized Agents
- ✅ Hardware optimization scripts
- ✅ Orchestrator Daemon (via
global-setupcommand):- Machine-level agent supervisor
- Session archetype management
- MemGPT-inspired tiered memory
- External integrations (Slack, Gmail, Google Drive, Twilio)
Monitoring & Debugging
- ✅ Datadog agent (optional)
- ✅ New Relic (optional)
- ✅ Sentry CLI
- ✅ Network tools (netcat, nmap, etc.)
Communication Tools
- ✅ Slack CLI
- ✅ Zoom (macOS)
- ✅ Microsoft Teams (optional)
🏗️ Architecture
Installation Phases
Phase 1: System Validation (0-10%)
├── Check OS compatibility
├── Verify disk space (5GB minimum)
├── Test network connectivity
└── Request system permissions
Phase 2: Core System Tools (10-30%)
├── Install Homebrew/apt
├── Install build essentials
└── Configure system paths
Phase 3: Development Tools (30-70%)
├── Install runtimes (Node.js, Python, etc.)
├── Install package managers
├── Install containers (Docker)
├── Install editors (VS Code)
└── Install database clients
Phase 4: AI Tools & Optimization (70-90%)
├── Install Claude Code CLI
├── Install Claude Flow
├── Configure MCP servers
├── Setup 80+ agents
├── Apply hardware optimization
└── Configure shell integration
Phase 5: Configuration & Validation (90-100%)
├── Configure Git
├── Setup shell aliases
├── Validate installations
├── Generate report
└── Show next stepsState Management
Computer Setup maintains resumable state:
{
"sessionId": "setup-1234567890-abc123",
"startTime": "2024-01-15T10:30:00Z",
"currentStep": "install-docker",
"completedSteps": ["permissions", "homebrew", "git", "node"],
"failedSteps": [],
"skippedSteps": ["python"],
"profile": "fullstack",
"resumable": true
}If installation fails, run --resume to continue from where it left off.
🤖 Orchestrator Daemon Architecture
The Orchestrator Daemon (Virtual Persona Daemon) is a machine-level supervisor that provides persistent agent orchestration, external integrations, and intelligent memory management across all Claude Code/Claude Flow sessions.
Overview
Orchestrator Daemon runs as a background service on your machine, acting as a central coordinator for:
- Session Management: Spawning and managing Claude Code/Claude Flow sessions
- External Integrations: Interfacing with Slack, Gmail, Google Drive, Twilio, and more
- Session Archetypes: Pre-configured personas for different work contexts
- Tiered Memory: MemGPT-inspired memory architecture for persistent context
Installation
# Install Orchestrator Daemon globally
npx @wundr.io/computer-setup global-setup
# This installs:
# - Orchestrator Daemon at ~/orchestrator-daemon
# - Global wundr resources at ~/.wundr
# - System service configuration
# - Integration credentials storageChecking Status
# Check Orchestrator Daemon installation and running status
npx @wundr.io/computer-setup orchestrator-status
# Example output:
# Orchestrator Daemon Status
# ================
# Installation: ~/orchestrator-daemon
# Status: Running (PID 12345)
# Uptime: 3d 14h 22m
# Active Sessions: 2
# Memory Usage: 128MB
# Integrations: Slack (connected), Gmail (connected)Session Archetypes
Orchestrator Daemon supports pre-configured session archetypes optimized for different work contexts:
| Archetype | Description | Pre-loaded Agents |
| --------------- | -------------------------------------------------- | ---------------------------------------- |
| engineering | Software development tasks | coder, reviewer, tester, architect |
| legal | Legal document review and drafting | legal-analyst, compliance-checker |
| hr | Human resources and recruitment | hr-assistant, policy-reviewer |
| marketing | Marketing content and campaign management | content-creator, analytics-agent |
| custom | User-defined archetype with custom agent selection | User-specified |
# Start a session with a specific archetype
orchestrator-daemon session start --archetype engineering
# Create a custom archetype
orchestrator-daemon archetype create my-archetype --agents "coder,researcher,planner"Tiered Memory System
Orchestrator Daemon implements a MemGPT-inspired tiered memory architecture for intelligent context management across sessions:
┌─────────────────────────────────────────────────────────────┐
│ TIERED MEMORY SYSTEM │
├─────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ SCRATCHPAD (Working Memory) │ │
│ │ - Current task context │ │
│ │ - Active conversation state │ │
│ │ - Temporary computations │ │
│ │ - TTL: Session lifetime │ │
│ └─────────────────────────────────────────────────────┘ │
│ ▲ │
│ │ Promotes/Demotes │
│ ▼ │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ EPISODIC (Short-term Memory) │ │
│ │ - Recent interactions and outcomes │ │
│ │ - Task completion history │ │
│ │ - Error patterns and resolutions │ │
│ │ - TTL: 7-30 days (configurable) │ │
│ └─────────────────────────────────────────────────────┘ │
│ ▲ │
│ │ Consolidates │
│ ▼ │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ SEMANTIC (Long-term Memory) │ │
│ │ - Project knowledge and patterns │ │
│ │ - User preferences and workflows │ │
│ │ - Learned optimizations │ │
│ │ - TTL: Persistent (with periodic cleanup) │ │
│ └─────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────┘Memory Operations:
# View current memory state
orchestrator-daemon memory status
# Manually promote context to long-term memory
orchestrator-daemon memory promote --key "project-architecture"
# Search semantic memory
orchestrator-daemon memory search "authentication flow"
# Export memory for backup
orchestrator-daemon memory export --output ~/.wundr/memory-backup.jsonExternal Integrations
Orchestrator Daemon provides seamless integration with external services:
Slack Integration
# Configure Slack integration
orchestrator-daemon integrations add slack --token $SLACK_BOT_TOKEN
# Features:
# - Receive tasks via Slack messages
# - Post session summaries to channels
# - Interactive approvals for sensitive operations
# - Real-time status updatesGmail Integration
# Configure Gmail integration
orchestrator-daemon integrations add gmail --credentials ~/.wundr/gmail-credentials.json
# Features:
# - Process emails as tasks
# - Draft and send responses
# - Calendar integration for scheduling
# - Attachment processingGoogle Drive Integration
# Configure Google Drive integration
orchestrator-daemon integrations add google-drive --credentials ~/.wundr/gdrive-credentials.json
# Features:
# - Access and analyze documents
# - Create and update files
# - Folder organization
# - Shared drive supportTwilio Integration
# Configure Twilio integration
orchestrator-daemon integrations add twilio --account-sid $TWILIO_SID --auth-token $TWILIO_TOKEN
# Features:
# - SMS notifications for critical events
# - Voice call alerts (optional)
# - WhatsApp messaging supportOrchestrator Daemon Commands
| Command | Description |
| ----------------------------- | ---------------------------------------------------- |
| orchestrator-daemon start | Start the Orchestrator Daemon service |
| orchestrator-daemon stop | Stop the Orchestrator Daemon service |
| orchestrator-daemon restart | Restart the Orchestrator Daemon service |
| orchestrator-daemon status | Show daemon status and statistics |
| orchestrator-daemon session list | List active Claude Code/Flow sessions |
| orchestrator-daemon session start | Start a new session with optional archetype |
| orchestrator-daemon session stop | Stop a specific session |
| orchestrator-daemon memory status | Show memory tier statistics |
| orchestrator-daemon memory search | Search across memory tiers |
| orchestrator-daemon integrations list | List configured integrations |
| orchestrator-daemon integrations add | Add a new integration |
| orchestrator-daemon logs | View daemon logs |
| orchestrator-daemon config | View or modify daemon configuration |
Configuration
Orchestrator Daemon configuration is stored at ~/.wundr/orchestrator-daemon.config.json:
{
"version": "1.0.0",
"daemon": {
"port": 7890,
"maxSessions": 10,
"autoStart": true,
"logLevel": "info"
},
"memory": {
"scratchpadMaxSize": "50MB",
"episodicRetentionDays": 14,
"semanticCleanupInterval": "7d",
"vectorStoreEnabled": true
},
"archetypes": {
"default": "engineering",
"custom": []
},
"integrations": {
"slack": { "enabled": true },
"gmail": { "enabled": false },
"googleDrive": { "enabled": false },
"twilio": { "enabled": false }
}
}Example Workflows
Automated Code Review via Slack
1. Developer pushes PR and mentions @orchestrator-daemon in Slack
2. Orchestrator Daemon receives webhook, spawns engineering session
3. Claude Code reviews PR using pre-loaded context
4. Summary posted back to Slack thread
5. Session context saved to episodic memoryEmail-Triggered Documentation Update
1. Stakeholder emails request to [email protected]
2. Gmail integration receives and parses email
3. Orchestrator Daemon spawns session with documentation archetype
4. Claude Code updates relevant documentation
5. Draft response sent for human approval
6. Task outcome saved to semantic memory📚 API Reference
RealSetupOrchestrator
Main orchestration class for computer setup.
import { RealSetupOrchestrator } from '@wundr.io/computer-setup';
const orchestrator = new RealSetupOrchestrator(platform);
// Run complete setup
await orchestrator.orchestrate(
'fullstack', // Profile name
{
// Options
mode: 'automated',
skipExisting: true,
verbose: true,
},
progress => {
// Progress callback
console.log(progress.percentage + '%');
}
);
// Resume failed setup
await orchestrator.resume();
// Check if can resume
const canResume = await orchestrator.canResume();
// Get available profiles
const profiles = orchestrator.getAvailableProfiles();ProfileManager
Manage developer profiles.
import { ProfileManager } from '@wundr.io/computer-setup';
const profileManager = new ProfileManager();
// List all profiles
const profiles = await profileManager.listProfiles();
// Get specific profile
const profile = await profileManager.getProfile('fullstack');
// Create custom profile
const customProfile = {
name: 'My Custom Profile',
role: 'custom',
tools: {
/* ... */
},
};
await profileManager.saveProfile(customProfile);
// Export profiles
await profileManager.exportProfiles('profiles.json');
// Import profiles
await profileManager.importProfiles('profiles.json');Individual Installers
Each tool has its own installer:
import {
ClaudeInstaller,
DockerInstaller,
PythonInstaller,
VSCodeInstaller,
} from '@wundr.io/computer-setup';
// Check if installed
const isInstalled = await ClaudeInstaller.isInstalled();
// Get version
const version = await ClaudeInstaller.getVersion();
// Install
await ClaudeInstaller.install(profile, platform);
// Validate
const isValid = await ClaudeInstaller.validate();
// Get installation steps
const steps = ClaudeInstaller.getSteps(profile, platform);🤝 Contributing
We welcome contributions! See our Contributing Guide for details.
Development Setup
# Clone repository
git clone https://github.com/adapticai/wundr.git
cd wundr/packages/@wundr/computer-setup
# Install dependencies
pnpm install
# Build
pnpm build
# Run tests
pnpm test
# Test installation locally
pnpm devAdding a New Installer
- Create installer file in
src/installers/ - Implement
BaseInstallerinterface - Add to
RealSetupOrchestrator - Add tests
- Update documentation
Example:
// src/installers/my-tool-installer.ts
export class MyToolInstaller implements BaseInstaller {
name = 'My Tool';
isSupported(platform: SetupPlatform): boolean {
return platform.os === 'darwin';
}
async isInstalled(): Promise<boolean> {
// Implementation
}
async install(profile: DeveloperProfile): Promise<void> {
// Implementation
}
async validate(): Promise<boolean> {
// Implementation
}
getSteps(): SetupStep[] {
// Implementation
}
}📝 License
MIT © AdapticAI
🔗 Related Packages
- @wundr/cli - Unified CLI for all Wundr features
- @wundr.io/create - Project scaffolding
- @wundr.io/governance - Code quality analysis
- @wundr.io/config - Configuration management
- @wundr.io/core - Core utilities
📞 Support
- 📚 Documentation
- 🐛 Issue Tracker
- 💬 Discussions
- 📧 Email: [email protected]
🙏 Acknowledgments
- Claude Code team at Anthropic for the amazing CLI
- Claude Flow community for agent architectures
- Homebrew team for macOS package management
- All open-source contributors
