Skip to content

Feature Overview

This page provides a visual overview of RAPS CLI capabilities and how different components work together.

๐Ÿ” Full APS Coverage

Detailed comparison of RAPS CLI against available APS services: - APS Feature Coverage - See the full matrix of implemented features.

Command Architecture

graph TB
    subgraph CLI["RAPS CLI"]
        direction TB
        Auth[๐Ÿ” auth]
        Bucket[๐Ÿ“ฆ bucket]
        Object[๐Ÿ“„ object]
        Translate[๐Ÿ”„ translate]
        Hub[๐Ÿข hub]
        Project[๐Ÿ“ project]
        Folder[๐Ÿ“‚ folder]
        Item[๐Ÿ“Ž item]
        Issue[๐Ÿ”ง issue]
        Acc[๐Ÿ“‹ acc]
        Rfi[โ“ rfi]
        Webhook[๐Ÿ”” webhook]
        DA[โš™๏ธ da]
        RC[๐Ÿ“ธ reality-capture]
        Pipeline[๐Ÿ“‹ pipeline]
        Plugin[๐Ÿงฉ plugin]
        Generate[๐Ÿ› ๏ธ generate]
        Demo[๐Ÿงช demo]
        Config[โš™๏ธ config]
        Serve[๐Ÿค– serve]
    end

    subgraph MCP["MCP Server (AI Integration)"]
        direction TB
        MCPAuth[auth_test/status]
        MCPBucket[bucket_*]
        MCPObject[object_*]
        MCPTranslate[translate_*]
        MCPHub[hub_list]
        MCPProject[project_list]
    end

    subgraph APIs["APS APIs"]
        AuthAPI[Authentication API]
        OSSAPI[OSS API]
        MDAPI[Model Derivative API]
        DMAPI[Data Management API]
        IssuesAPI[Issues API]
        WebhooksAPI[Webhooks API]
        DAAPI[Design Automation API]
        RCAPI[Reality Capture API]
    end

    Auth --> AuthAPI
    Bucket --> OSSAPI
    Object --> OSSAPI
    Translate --> MDAPI
    Hub --> DMAPI
    Project --> DMAPI
    Folder --> DMAPI
    Item --> DMAPI
    Issue --> IssuesAPI
    Acc --> IssuesAPI
    Rfi --> IssuesAPI
    Webhook --> WebhooksAPI
    DA --> DAAPI
    RC --> RCAPI
    Pipeline --> CLI
    Plugin --> CLI
    Generate --> CLI
    Demo --> CLI
    Config --> CLI
    Serve --> MCP

    MCPAuth --> AuthAPI
    MCPBucket --> OSSAPI
    MCPObject --> OSSAPI
    MCPTranslate --> MDAPI
    MCPHub --> DMAPI
    MCPProject --> DMAPI

Authentication Flow

flowchart LR
    subgraph TwoLeg["2-Legged OAuth"]
        ClientCreds[Client ID + Secret] --> Token2L[Access Token]
        Token2L --> ServerOps[Server Operations]
    end

    subgraph ThreeLeg["3-Legged OAuth"]
        Browser[Browser Login] --> AuthCode[Authorization Code]
        AuthCode --> Token3L[Access + Refresh Token]
        Token3L --> UserOps[User Operations]
        Device[Device Code] --> Token3L
    end

    subgraph Storage["Token Storage"]
        Token2L --> FileStore[File Storage]
        Token3L --> FileStore
        Token3L --> Keychain[OS Keychain]
    end

Feature Matrix

Core Features

Feature Command Auth Type Status
Bucket Management bucket 2-legged โœ… Stable
Object Upload object upload 2-legged โœ… Stable
Multipart Upload object upload (auto) 2-legged โœ… Stable
Resumable Upload object upload --resume 2-legged โœ… New
Batch Upload object upload --batch 2-legged โœ… New
Object Download object download 2-legged โœ… Stable
Signed URLs object signed-url 2-legged โœ… Stable

Model Derivative

Feature Command Auth Type Status
Start Translation translate start 2-legged โœ… Stable
Check Status translate status 2-legged โœ… Stable
View Manifest translate manifest 2-legged โœ… Stable
Download Derivatives translate download 2-legged โœ… New
Translation Presets translate preset Local โœ… New

Data Management

Feature Command Auth Type Status
List Hubs hub list 3-legged โœ… Stable
List Projects project list 3-legged โœ… Stable
List Folders folder list 3-legged โœ… Stable
Create Folder folder create 3-legged โœ… Stable
Item Versions item versions 3-legged โœ… Stable
Bind OSS Object item bind 3-legged โœ… New

ACC Issues

Feature Command Auth Type Status
List Issues issue list 3-legged โœ… Stable
Create Issue issue create 3-legged โœ… Stable
Update Issue issue update 3-legged โœ… Stable
Issue Types issue types 3-legged โœ… Stable
Comments issue comment 3-legged โœ… Stable
Attachments issue attachment 3-legged โœ… Stable
State Transitions issue transition 3-legged โœ… Stable

ACC RFIs

Feature Command Auth Type Status
List RFIs rfi list 3-legged โœ… Stable
Get RFI rfi get 3-legged โœ… Stable
Create RFI rfi create 3-legged โœ… Stable
Update RFI rfi update 3-legged โœ… Stable

ACC Assets

Feature Command Auth Type Status
List Assets acc asset list 3-legged โœ… Stable
Get Asset acc asset get 3-legged โœ… Stable
Create Asset acc asset create 3-legged โœ… Stable
Update Asset acc asset update 3-legged โœ… Stable

ACC Submittals

Feature Command Auth Type Status
List Submittals acc submittal list 3-legged โœ… Stable
Get Submittal acc submittal get 3-legged โœ… Stable
Create Submittal acc submittal create 3-legged โœ… Stable
Update Submittal acc submittal update 3-legged โœ… Stable

ACC Checklists

Feature Command Auth Type Status
List Checklists acc checklist list 3-legged โœ… Stable
Get Checklist acc checklist get 3-legged โœ… Stable
Create Checklist acc checklist create 3-legged โœ… Stable
Update Checklist acc checklist update 3-legged โœ… Stable
List Templates acc checklist templates 3-legged โœ… Stable

Design Automation

Feature Command Auth Type Status
List Engines da engines 2-legged โœ… Stable
List App Bundles da appbundles 2-legged โœ… Stable
Create App Bundle da appbundle-create 2-legged โœ… Stable
List Activities da activities 2-legged โœ… Stable
Create Activity da activity create 2-legged โœ… New
Run Work Item da workitem run 2-legged โœ… New
Get Work Item da workitem get 2-legged โœ… New
Work Item Status da status 2-legged โœ… Stable

Webhooks

Feature Command Auth Type Status
List Webhooks webhook list 2-legged โœ… Stable
Create Webhook webhook create 2-legged โœ… Stable
Delete Webhook webhook delete 2-legged โœ… Stable
List Events webhook events Local โœ… Stable
Test Endpoint webhook test None โœ… New

Configuration & Automation

Feature Command Auth Type Status
Profile Management config profile Local โœ… Stable
Profile Import config profile import Local โœ… Stable
Profile Export config profile export Local โœ… Stable
Token Inspection auth inspect-token Local โœ… Stable
Pipeline Execution pipeline run Various โœ… Stable
Pipeline Validation pipeline validate Local โœ… Stable

Plugin System

Feature Command Auth Type Status
List Plugins plugin list Local โœ… Stable
Enable Plugin plugin enable Local โœ… Stable
Disable Plugin plugin disable Local โœ… Stable
List Aliases plugin alias list Local โœ… Stable
Add Alias plugin alias add Local โœ… Stable
Remove Alias plugin alias remove Local โœ… Stable

MCP Server (AI Integration)

Feature Tool Auth Type Status
Start MCP Server serve Various โœ… New (v3.0.0)
Test Auth auth_test 2-legged โœ… New (v3.0.0)
Auth Status auth_status Various โœ… New (v3.0.0)
List Buckets bucket_list 2-legged โœ… New (v3.0.0)
Create Bucket bucket_create 2-legged โœ… New (v3.0.0)
Get Bucket bucket_get 2-legged โœ… New (v3.0.0)
Delete Bucket bucket_delete 2-legged โœ… New (v3.0.0)
List Objects object_list 2-legged โœ… New (v3.0.0)
Delete Object object_delete 2-legged โœ… New (v3.0.0)
Signed URL object_signed_url 2-legged โœ… New (v3.0.0)
Get URN object_urn Local โœ… New (v3.0.0)
Start Translation translate_start 2-legged โœ… New (v3.0.0)
Translation Status translate_status 2-legged โœ… New (v3.0.0)
List Hubs hub_list 3-legged โœ… New (v3.0.0)
List Projects project_list 3-legged โœ… New (v3.0.0)

Data Flow Diagrams

Upload and Translate Workflow

sequenceDiagram
    participant User
    participant RAPS
    participant OSS
    participant MD as Model Derivative

    User->>RAPS: raps object upload bucket file.dwg
    RAPS->>OSS: PUT /buckets/{bucket}/objects/{key}
    OSS-->>RAPS: Object URN
    RAPS-->>User: โœ“ Upload complete (URN: xxx)

    User->>RAPS: raps translate start {urn} --format svf2
    RAPS->>MD: POST /designdata/v2/designdata/{urn}/jobs
    MD-->>RAPS: Job started
    RAPS-->>User: โœ“ Translation started

    User->>RAPS: raps translate status {urn} --wait
    loop Check Status
        RAPS->>MD: GET /designdata/v2/designdata/{urn}/manifest
        MD-->>RAPS: Status: inprogress
    end
    MD-->>RAPS: Status: success
    RAPS-->>User: โœ“ Translation complete

Pipeline Execution

flowchart TD
    Start([Start]) --> Load[Load Pipeline File]
    Load --> Validate{Validate}
    Validate -->|Invalid| Error[Show Errors]
    Validate -->|Valid| Variables[Process Variables]
    Variables --> Step1[Execute Step 1]
    Step1 -->|Success| Step2[Execute Step 2]
    Step1 -->|Fail| Check1{continue_on_error?}
    Check1 -->|Yes| Step2
    Check1 -->|No| Fail[Pipeline Failed]
    Step2 -->|Success| StepN[Execute Step N]
    Step2 -->|Fail| Check2{continue_on_error?}
    StepN --> Complete([Pipeline Complete])

Design Automation Workflow

sequenceDiagram
    participant User
    participant RAPS
    participant DA as Design Automation
    participant Engine

    User->>RAPS: raps da activity create
    RAPS->>DA: POST /activities
    DA-->>RAPS: Activity created

    User->>RAPS: raps da workitem run {activity}
    RAPS->>DA: POST /workitems
    DA->>Engine: Execute activity
    Engine-->>DA: Processing...
    DA-->>RAPS: Work item ID

    User->>RAPS: raps da workitem get {id} --wait
    loop Check Status
        RAPS->>DA: GET /workitems/{id}
        DA-->>RAPS: Status: inprogress
    end
    DA-->>RAPS: Status: success + report URL
    RAPS-->>User: โœ“ Work item complete

Version History

timeline
    title RAPS CLI Version History
    section v0.4.0
        Profile Management : Create, switch, delete profiles
        Config Commands : Get and set configuration values
    section v0.5.0
        Timeout & Concurrency : CLI flags for fine control
        OS Keychain : Secure token storage option
        Batch Processing : Parallel upload/download
    section v0.6.0
        SBOM Generation : CycloneDX format support
        Checksums : SHA256 verification for releases
        Code of Conduct : Community guidelines
    section v0.7.0
        Multipart Uploads : Resume interrupted uploads
        Derivative Downloads : Export translated models
        Translation Presets : Saved configurations
        Issues Enhancements : Comments, attachments
        Pipeline Execution : YAML/JSON automation
        Token Inspection : Scope and expiry analysis
        Webhook Testing : Endpoint validation
    section v1.0.0
        Stable Release : Backward compatibility guaranteed
        RFI Support : Full CRUD for RFIs
        ACC CRUD : Assets, Submittals, Checklists
        Plugin System : Extensible architecture
    section v2.0.0
        Apache 2.0 License : Better attribution & patents
        Repository Reorganization : Improved maintainability
        APS Coverage Docs : Feature comparison matrix
    section v2.1.0
        Rapeseed Branding : ๐ŸŒผ RAPS brand identity
        rapscli.xyz : Official website launch
    section v3.0.0
        MCP Server : AI assistant integration
        14 MCP Tools : Direct API access for Claude, Cursor
        Natural Language : Conversational APS operations