Skip to content

[P2] Phase 3.2: Update installation for SDK support #37

@frankbria

Description

@frankbria

Description

Update install.sh to support optional Agent SDK installation.

Implementation Tasks

  • Add Node.js/npm version check (required for SDK)
  • Add optional SDK installation prompt
  • Install @anthropic-ai/claude-agent-sdk if requested
  • Create default .ralphrc.json configuration
  • Update dependency checks for SDK mode
  • Add SDK installation to help text
  • Handle SDK installation errors gracefully

Installation Flow

ralph installation
├── Standard (CLI only) - current behavior
└── With SDK (optional)
    ├── Check Node.js >= 18.x
    ├── Check npm available
    ├── Install @anthropic-ai/claude-agent-sdk
    └── Create .ralphrc.json

File Location

  • File: install.sh

Dependencies

  • Requires Phase 2 (SDK POC and architecture)
  • Requires Phase 3.1 (JSON config)

Acceptance Criteria

  • SDK installation optional
  • Node.js version checked
  • SDK installed correctly when requested
  • Config file created
  • Dependency checks updated
  • Tests pass
  • Documentation updated

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestinfrastructureBuild/tooling infrastructurephase-3Configuration & Installationpriority: P2Medium - Important enhancements

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions