Skip to content

feat(dart): add getter methods and bump version to 0.1.49#122

Open
sawradip wants to merge 1 commit into
mainfrom
fix/dart-getters-version
Open

feat(dart): add getter methods and bump version to 0.1.49#122
sawradip wants to merge 1 commit into
mainfrom
fix/dart-getters-version

Conversation

@sawradip
Copy link
Copy Markdown
Contributor

@sawradip sawradip commented May 1, 2026

Summary

  • Add getUserId() and getPersistentMemory() getter methods to RunAgentClient, matching the pattern of existing getters (getAgentId(), getEntrypointTag(), getExtraParams())
  • Bump version from 0.1.43 to 0.1.49 to align with Python/TS/Rust SDKs
  • Update user-agent string from runagent-dart/0.1.0 to runagent-dart/0.1.49

Test plan

  • Verify getUserId() returns the configured user ID
  • Verify getPersistentMemory() returns the configured persistent memory flag
  • Verify user-agent header reflects 0.1.49 in outgoing requests
  • Run dart analyze to confirm no regressions

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added public methods to query user ID and persistent memory settings.
  • Chores

    • Version updated to 0.1.49.

- Add getUserId() and getPersistentMemory() getter methods to RunAgentClient
- Bump version from 0.1.43 to 0.1.49 in pubspec.yaml
- Update user-agent string to runagent-dart/0.1.49

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 1, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5281147e-a74c-44fe-b3cf-3e02a832416e

📥 Commits

Reviewing files that changed from the base of the PR and between 2c0de38 and 19f3e9b.

📒 Files selected for processing (3)
  • runagent-dart/lib/src/client/runagent_client.dart
  • runagent-dart/lib/src/utils/constants.dart
  • runagent-dart/pubspec.yaml

📝 Walkthrough

Walkthrough

The RunAgentClient API is extended with two new public getter methods (getUserId() and getPersistentMemory()) that expose existing instance fields. The package version is bumped from 0.1.43 to 0.1.49, with the user-agent string updated to reflect this version.

Changes

Cohort / File(s) Summary
API Exposure
runagent-dart/lib/src/client/runagent_client.dart
Added getUserId() and getPersistentMemory() getter methods to expose existing instance fields.
Version Updates
runagent-dart/lib/src/utils/constants.dart, runagent-dart/pubspec.yaml
Updated package version from 0.1.43 to 0.1.49 and corresponding user-agent string in constants.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 With whiskers twitched and nose in air,
Two getters now: userId and persistentMemory to share!
From 0.1.43 to 0.1.49 we bound,
Exposing what was hidden—progress found! 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: adding getter methods and bumping the version to 0.1.49, which aligns with the actual modifications across all three files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/dart-getters-version

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.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant