Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
permissions:
contents: read
id-token: write
runs-on: ${{ github.repository == 'stainless-sdks/context.dev-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: |-
github.repository == 'stainless-sdks/context.dev-ruby' &&
(github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/context.dev-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork

steps:
Expand All @@ -73,7 +73,7 @@ jobs:
test:
timeout-minutes: 10
name: test
runs-on: ${{ github.repository == 'stainless-sdks/context.dev-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "2.4.0"
".": "2.5.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 30
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-fb56935a194e69348fecd985f7cf8b249795b46af2fb32f6c5c8ef648cf10c15.yml
openapi_spec_hash: 7260a560474283b7ad6ac5d426058ac9
config_hash: daabb160675d86b354711da1e77e5129
configured_endpoints: 32
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-242450ea46eb8c3e843fd6c4bf87e73192b5f62f6da697cd091d13c6aa7a991b.yml
openapi_spec_hash: c1c561976de1abcacede71fd5ab9b3d9
config_hash: 70e7e80b5e87f94981bee396c6cd41e8
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 2.5.0 (2026-07-22)

Full Changelog: [v2.4.0...v2.5.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v2.4.0...v2.5.0)

### Features

* **api:** api update ([5af0d4b](https://github.com/context-dot-dev/context-ruby-sdk/commit/5af0d4b1954673356f6200967dbea5ea61685025))
* **api:** api update ([28793d8](https://github.com/context-dot-dev/context-ruby-sdk/commit/28793d84ed93dcf457aaf3f346056f2480f37724))
* **api:** api update ([c9c4475](https://github.com/context-dot-dev/context-ruby-sdk/commit/c9c447554772879c742d72ac88174a75fbff599a))
* **api:** api update ([72e6d90](https://github.com/context-dot-dev/context-ruby-sdk/commit/72e6d90baaeeb9181482488e7b49e511597d2175))
* **api:** api update ([2574f7d](https://github.com/context-dot-dev/context-ruby-sdk/commit/2574f7db809d8480db2b7ae2705fd2de6a1ce2ff))
* **api:** api update ([8fb7d29](https://github.com/context-dot-dev/context-ruby-sdk/commit/8fb7d29835d4ffe7eb53b1619d3da20fa45df52c))
* **api:** api update ([f5684a3](https://github.com/context-dot-dev/context-ruby-sdk/commit/f5684a355f24bf6a80aa904f09087a899f2121aa))
* **api:** manual updates ([2a83a5f](https://github.com/context-dot-dev/context-ruby-sdk/commit/2a83a5f976bf2b75964ea56ff07f99872acd5022))
* **stlc:** configurable CI runner and private-production-repo support in workflow templates ([f1c36e9](https://github.com/context-dot-dev/context-ruby-sdk/commit/f1c36e95f04eb617aa1769ba9cd21e3dad7bc5ee))

## 2.4.0 (2026-07-12)

Full Changelog: [v2.3.0...v2.4.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v2.3.0...v2.4.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
context.dev (2.4.0)
context.dev (2.5.0)
cgi
connection_pool

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "context.dev", "~> 2.4.0"
gem "context.dev", "~> 2.5.0"
```

<!-- x-release-please-end -->
Expand Down
4 changes: 4 additions & 0 deletions lib/context_dev.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@
require_relative "context_dev/models/monitor_create_response"
require_relative "context_dev/models/monitor_delete_params"
require_relative "context_dev/models/monitor_delete_response"
require_relative "context_dev/models/monitor_get_credit_usage_params"
require_relative "context_dev/models/monitor_get_credit_usage_response"
require_relative "context_dev/models/monitor_get_limits_params"
require_relative "context_dev/models/monitor_get_limits_response"
require_relative "context_dev/models/monitor_list_account_changes_params"
require_relative "context_dev/models/monitor_list_account_changes_response"
require_relative "context_dev/models/monitor_list_account_runs_params"
Expand Down
4 changes: 4 additions & 0 deletions lib/context_dev/models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ module ContextDev

MonitorDeleteParams = ContextDev::Models::MonitorDeleteParams

MonitorGetCreditUsageParams = ContextDev::Models::MonitorGetCreditUsageParams

MonitorGetLimitsParams = ContextDev::Models::MonitorGetLimitsParams

MonitorListAccountChangesParams = ContextDev::Models::MonitorListAccountChangesParams

MonitorListAccountRunsParams = ContextDev::Models::MonitorListAccountRunsParams
Expand Down
10 changes: 9 additions & 1 deletion lib/context_dev/models/ai_extract_product_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ class AIExtractProductParams < ContextDev::Internal::Type::BaseModel
# @return [Integer, nil]
optional :max_age_ms, Integer, api_name: :maxAgeMs

# @!attribute tags
# Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.
#
# @return [Array<String>, nil]
optional :tags, ContextDev::Internal::Type::ArrayOf[String]

# @!attribute timeout_ms
# Optional timeout in milliseconds for the request. If the request takes longer
# than this value, it will be aborted with a 408 status code. Maximum allowed
Expand All @@ -29,14 +35,16 @@ class AIExtractProductParams < ContextDev::Internal::Type::BaseModel
# @return [Integer, nil]
optional :timeout_ms, Integer, api_name: :timeoutMS

# @!method initialize(url:, max_age_ms: nil, timeout_ms: nil, request_options: {})
# @!method initialize(url:, max_age_ms: nil, tags: nil, timeout_ms: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {ContextDev::Models::AIExtractProductParams} for more details.
#
# @param url [String] The product page URL to extract product data from.
#
# @param max_age_ms [Integer] Return a cached result if a prior scrape for the same parameters exists and is y
#
# @param tags [Array<String>] Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.
#
# @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
#
# @param request_options [ContextDev::RequestOptions, Hash{Symbol=>Object}]
Expand Down
20 changes: 18 additions & 2 deletions lib/context_dev/models/ai_extract_products_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ class ByDomain < ContextDev::Internal::Type::BaseModel
# @return [Integer, nil]
optional :max_products, Integer, api_name: :maxProducts

# @!attribute tags
# Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.
#
# @return [Array<String>, nil]
optional :tags, ContextDev::Internal::Type::ArrayOf[String]

# @!attribute timeout_ms
# Optional timeout in milliseconds for the request. If the request takes longer
# than this value, it will be aborted with a 408 status code. Maximum allowed
Expand All @@ -52,7 +58,7 @@ class ByDomain < ContextDev::Internal::Type::BaseModel
# @return [Integer, nil]
optional :timeout_ms, Integer, api_name: :timeoutMS

# @!method initialize(domain:, max_age_ms: nil, max_products: nil, timeout_ms: nil)
# @!method initialize(domain:, max_age_ms: nil, max_products: nil, tags: nil, timeout_ms: nil)
# Some parameter documentations has been truncated, see
# {ContextDev::Models::AIExtractProductsParams::Body::ByDomain} for more details.
#
Expand All @@ -62,6 +68,8 @@ class ByDomain < ContextDev::Internal::Type::BaseModel
#
# @param max_products [Integer] Maximum number of products to extract.
#
# @param tags [Array<String>] Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.
#
# @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
end

Expand All @@ -87,6 +95,12 @@ class ByDirectURL < ContextDev::Internal::Type::BaseModel
# @return [Integer, nil]
optional :max_products, Integer, api_name: :maxProducts

# @!attribute tags
# Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.
#
# @return [Array<String>, nil]
optional :tags, ContextDev::Internal::Type::ArrayOf[String]

# @!attribute timeout_ms
# Optional timeout in milliseconds for the request. If the request takes longer
# than this value, it will be aborted with a 408 status code. Maximum allowed
Expand All @@ -95,7 +109,7 @@ class ByDirectURL < ContextDev::Internal::Type::BaseModel
# @return [Integer, nil]
optional :timeout_ms, Integer, api_name: :timeoutMS

# @!method initialize(direct_url:, max_age_ms: nil, max_products: nil, timeout_ms: nil)
# @!method initialize(direct_url:, max_age_ms: nil, max_products: nil, tags: nil, timeout_ms: nil)
# Some parameter documentations has been truncated, see
# {ContextDev::Models::AIExtractProductsParams::Body::ByDirectURL} for more
# details.
Expand All @@ -106,6 +120,8 @@ class ByDirectURL < ContextDev::Internal::Type::BaseModel
#
# @param max_products [Integer] Maximum number of products to extract.
#
# @param tags [Array<String>] Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.
#
# @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
end

Expand Down
Loading