Skip to content
Open
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
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/llama-stack-client-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '18'

Expand All @@ -43,10 +43,10 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '18'

Expand All @@ -61,7 +61,7 @@ jobs:
github.repository == 'stainless-sdks/llama-stack-client-node' &&
!startsWith(github.ref, 'refs/heads/stl/')
id: github-oidc
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
script: core.setOutput('github_token', await core.getIDToken());

Expand All @@ -80,10 +80,10 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/llama-stack-client-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '20'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.repository == 'ogx-ai/ogx-client-typescript' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Check release environment
run: |
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 @@
{
".": "0.5.0-alpha.5"
".": "0.5.0-alpha.6"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 67
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack/llama-stack-client-0a1c852eda740c79412d2aa642e24f7ed057e69e472885e8fb9463e3d5515b55.yml
openapi_spec_hash: 36c10a2fd3d75032e220697bd5b30b7f
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack/llama-stack-client-9efa42764597a51fe41e4de7533252cd7a62b5d34cf74021dd818d5344b90de7.yml
openapi_spec_hash: e964910532c33975390739a9d635fd2b
config_hash: 3d294831d7b8066ba59a8934b980a943
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 0.5.0-alpha.6 (2026-06-01)

Full Changelog: [v0.5.0-alpha.5...v0.5.0-alpha.6](https://github.com/ogx-ai/ogx-client-typescript/compare/v0.5.0-alpha.5...v0.5.0-alpha.6)

### ⚠ BREAKING CHANGES

* **api:** add post-generation schema transforms for Responses API conformance

### Bug Fixes

* **api:** add post-generation schema transforms for Responses API conformance ([59d5f80](https://github.com/ogx-ai/ogx-client-typescript/commit/59d5f806e394ca40034b70c3277895d4b786e6cf))
* **api:** fix field-level schema mismatches in Responses models ([a4364a3](https://github.com/ogx-ai/ogx-client-typescript/commit/a4364a3ab2f046d3b29267d5db75c147e564ecad))
* **brave-search:** align result slicing with search_context_size count ([0b0984e](https://github.com/ogx-ai/ogx-client-typescript/commit/0b0984ead8282130b2f6f5380736753e957a4d8b))

## 0.5.0-alpha.5 (2026-05-12)

Full Changelog: [v0.5.0-alpha.4...v0.5.0-alpha.5](https://github.com/ogx-ai/ogx-client-typescript/compare/v0.5.0-alpha.4...v0.5.0-alpha.5)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ogx-client",
"version": "0.5.0-alpha.5",
"version": "0.5.0-alpha.6",
"description": "The official TypeScript library for the Ogx Client API",
"author": "Ogx Client <contributors@ogx.dev>",
"types": "dist/index.d.ts",
Expand Down
59 changes: 57 additions & 2 deletions src/resources/conversations/conversations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export interface ConversationCreateParams {
*/
items?: Array<
| ConversationCreateParams.OpenAIResponseMessageInput
| ConversationCreateParams.OpenAIResponseOutputMessageWebSearchToolCall
| ConversationCreateParams.OpenAIResponseOutputMessageWebSearchToolCallInput
| ConversationCreateParams.OpenAIResponseOutputMessageFileSearchToolCall
| ConversationCreateParams.OpenAIResponseOutputMessageFunctionToolCall
| ConversationCreateParams.OpenAIResponseInputFunctionToolCallOutput
Expand Down Expand Up @@ -335,14 +335,69 @@ export namespace ConversationCreateParams {
/**
* Web search tool call output message for OpenAI responses.
*/
export interface OpenAIResponseOutputMessageWebSearchToolCall {
export interface OpenAIResponseOutputMessageWebSearchToolCallInput {
id: string;

status: string;

/**
* Web search action: performs a search query.
*/
action?:
| OpenAIResponseOutputMessageWebSearchToolCallInput.WebSearchActionSearch
| OpenAIResponseOutputMessageWebSearchToolCallInput.WebSearchActionOpenPage
| OpenAIResponseOutputMessageWebSearchToolCallInput.WebSearchActionFind
| null;

type?: 'web_search_call';
}

export namespace OpenAIResponseOutputMessageWebSearchToolCallInput {
/**
* Web search action: performs a search query.
*/
export interface WebSearchActionSearch {
query: string;

queries?: Array<string> | null;

sources?: Array<WebSearchActionSearch.Source> | null;

type?: 'search';
}

export namespace WebSearchActionSearch {
/**
* A source URL returned by a web search action.
*/
export interface Source {
url: string;

type?: 'url';
}
}

/**
* Web search action: opens a specific URL from search results.
*/
export interface WebSearchActionOpenPage {
type?: 'open_page';

url?: string | null;
}

/**
* Web search action: searches for a pattern within a loaded page.
*/
export interface WebSearchActionFind {
pattern: string;

url: string;

type?: 'find_in_page';
}
}

/**
* File search tool call output message for OpenAI responses.
*/
Expand Down
Loading
Loading