Sawra/runagent cloud support wip#71
Conversation
- Updated all SDK versions to 0.1.23 - Generated changelog with git-cliff
|
Caution Review failedThe pull request is closed. WalkthroughThis PR introduces a versioned release across languages, refactors framework handling (introducing a Framework enum and CLI utilities), restructures agent upload with metadata-first and fingerprinting, adjusts server/framework integration, updates validation paths, and modifies release tooling and changelog. It also adds agent identity utilities and updates schema serialization. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant CLI as CLI (runagent)
participant Utils as CLI Utils
participant Enum as Framework Enum
participant SDK as RunAgentSDK
User->>CLI: runagent init [--framework flags | --interactive]
CLI->>Utils: get_selected_framework(kwargs)
alt flags specified
Utils-->>CLI: Selected Framework (or UsageError on conflicts)
else interactive and default
CLI->>Enum: get_selectable_frameworks()
CLI->>User: Prompt to choose framework
User-->>CLI: Choice index
CLI->>Enum: from_string / map to Framework
end
CLI->>SDK: initialize project (framework.value, template, path)
SDK-->>CLI: Result
CLI-->>User: Next steps and framework-specific hints
sequenceDiagram
autonumber
actor Dev as Developer
participant SDK as RunAgentSDK
participant RC as RestClient
participant AID as Agent ID Utils
participant DB as Local DB
participant S as Server
Dev->>SDK: upload_agent(folder_path)
SDK->>RC: upload_agent(folder_path)
RC->>AID: generate_agent_id(), get_agent_metadata()
RC->>DB: Check fingerprint match
alt identical agent found
RC->>Dev: Prompt overwrite/create new
Dev-->>RC: Choice
end
RC->>S: Upload metadata (agent_id)
S-->>RC: {data: agent info}
RC->>RC: _create_zip_from_folder(agent_id, folder)
RC->>S: Upload zip (agent_id)
S-->>RC: {data: file info/status}
RC->>DB: Save deployment info
RC-->>SDK: Upload result (includes fingerprint, endpoints)
SDK-->>Dev: Success details
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (20)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit