diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8935e932..b8dda9bf 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.28.0" + ".": "0.29.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 0805f23e..8a506845 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 78 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-4ac5f2286270f1f2c2b41e7f57fcc0527f602ce8d9383c790ed40ce21236e0cf.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-3542d28a321a2d5ae372d8e99dc615fbda814a223e1c15717c37727a1dd00ff1.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c78a8ec..9cc1ced0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.29.0 (2025-03-25) + +Full Changelog: [v0.28.0...v0.29.0](https://github.com/runloopai/api-client-python/compare/v0.28.0...v0.29.0) + +### Features + +* **api:** api update ([#578](https://github.com/runloopai/api-client-python/issues/578)) ([73a814f](https://github.com/runloopai/api-client-python/commit/73a814fa135eb768ca5d6f7e73c9720d32c5be93)) +* **api:** api update ([#580](https://github.com/runloopai/api-client-python/issues/580)) ([c8389b1](https://github.com/runloopai/api-client-python/commit/c8389b1d1c521226ccca8665c79c1b1a5349e457)) + ## 0.28.0 (2025-03-21) Full Changelog: [v0.27.0...v0.28.0](https://github.com/runloopai/api-client-python/compare/v0.27.0...v0.28.0) diff --git a/pyproject.toml b/pyproject.toml index 597cbb49..f77538f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "runloop_api_client" -version = "0.28.0" +version = "0.29.0" description = "The official Python library for the runloop API" dynamic = ["readme"] license = "MIT" diff --git a/src/runloop_api_client/_version.py b/src/runloop_api_client/_version.py index c111395e..c454e8b4 100644 --- a/src/runloop_api_client/_version.py +++ b/src/runloop_api_client/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "runloop_api_client" -__version__ = "0.28.0" # x-release-please-version +__version__ = "0.29.0" # x-release-please-version diff --git a/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py b/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py index 9bddac9a..fdcb7202 100644 --- a/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py +++ b/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py @@ -12,7 +12,7 @@ class Log(BaseModel): level: str """Log line severity level.""" - source: Literal["setup_commands", "entrypoint", "exec", "files"] + source: Literal["setup_commands", "entrypoint", "exec", "files", "stats"] """The source of the log.""" timestamp_ms: int diff --git a/src/runloop_api_client/types/scoring_function.py b/src/runloop_api_client/types/scoring_function.py index d3035fe0..9d5cf655 100644 --- a/src/runloop_api_client/types/scoring_function.py +++ b/src/runloop_api_client/types/scoring_function.py @@ -21,7 +21,11 @@ class ScorerAstGrepScoringFunction(BaseModel): pattern: str - """AST pattern to match.""" + """AST pattern to match. + + Pattern will be passed to ast-grep using the commandline surround by double + quotes ("), so make sure to use proper escaping (for example, \\$$\\$$\\$$). + """ search_directory: str """The path to search.""" @@ -51,6 +55,9 @@ class ScorerCommandScoringFunction(BaseModel): class ScorerCustomScoringFunction(BaseModel): + custom_scorer_type: str + """Type of the scoring function, previously registered with Runloop.""" + type: Literal["custom_scorer"] scorer_params: Optional[object] = None diff --git a/src/runloop_api_client/types/scoring_function_param.py b/src/runloop_api_client/types/scoring_function_param.py index 7488a970..bfbddb21 100644 --- a/src/runloop_api_client/types/scoring_function_param.py +++ b/src/runloop_api_client/types/scoring_function_param.py @@ -20,7 +20,11 @@ class ScorerAstGrepScoringFunction(TypedDict, total=False): pattern: Required[str] - """AST pattern to match.""" + """AST pattern to match. + + Pattern will be passed to ast-grep using the commandline surround by double + quotes ("), so make sure to use proper escaping (for example, \\$$\\$$\\$$). + """ search_directory: Required[str] """The path to search.""" @@ -50,6 +54,9 @@ class ScorerCommandScoringFunction(TypedDict, total=False): class ScorerCustomScoringFunction(TypedDict, total=False): + custom_scorer_type: Required[str] + """Type of the scoring function, previously registered with Runloop.""" + type: Required[Literal["custom_scorer"]] scorer_params: Optional[object]