Skip to content

Add Agents to OO TypeScript SDK - #669

Merged
jrvb-rl merged 4 commits into
mainfrom
jrvb-wall-agent
Nov 29, 2025
Merged

Add Agents to OO TypeScript SDK#669
jrvb-rl merged 4 commits into
mainfrom
jrvb-wall-agent

Conversation

@jrvb-rl

@jrvb-rl jrvb-rl commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

User description

Basic functionality, unit tests and smoke tests are all in. Smoketests currently leave litter of test agent objects around since the REST API doesn't have a delete option yet. WIll add that in a follow-on.


CodeAnt-AI Description

Expose agent management through the Runloop SDK and cover it with automated tests

What Changed

  • RunloopSDK now exposes agent operations that wrap the new Agent class, letting callers create, list, and reference agents directly through the SDK
  • Added comprehensive unit tests for agent creation (npm/git/pip/object sources), listing with filters, and error paths, plus smoke tests that cover agent lifecycle, info retrieval, and listing against the live API
  • Updated smoke-test documentation to call out agent coverage and recorded the new README sections describing agent scenarios

Impact

✅ Create agents through the Runloop SDK from npm, git, pip, or object sources
✅ Retrieve agent info and list agents without manual REST calls
✅ Smoke tests validate agent lifecycle against the real API

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

@codeant-ai

codeant-ai Bot commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@jrvb-rl
jrvb-rl requested a review from dines-rl November 27, 2025 00:02
@codeant-ai codeant-ai Bot added the size:XXL This PR changes 1000+ lines, ignoring generated files label Nov 27, 2025
@dines-rl

Copy link
Copy Markdown
Contributor

Seems a little light on the helping people use this but as a first step it's good

@github-actions

Copy link
Copy Markdown

⚠️ Object Smoke Tests & Coverage Report

Test Results

✅ All smoke tests passed

Coverage Results

Metric Coverage Required Status
Functions 99.2% 100%
Lines 86.43% - ℹ️
Branches 51.02% - ℹ️
Statements 85.99% - ℹ️

Coverage Requirement: 100% function coverage (all public methods must be called in smoke tests)

⚠️ Some object methods are not covered in smoke tests. Please add tests that call all public methods.

View detailed coverage report

Coverage reports are available in the workflow artifacts. Lines/branches/statements coverage is tracked but not required to be 100%.

📋 View workflow run

@codeant-ai

codeant-ai Bot commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

CodeAnt AI finished reviewing your PR.

@jrvb-rl
jrvb-rl merged commit 20df292 into main Nov 29, 2025
9 checks passed
@jrvb-rl
jrvb-rl deleted the jrvb-wall-agent branch November 29, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL This PR changes 1000+ lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants