diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 2704edb..0000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1,5 +0,0 @@ -# Each line is a file pattern followed by one or more owners. - -# These owners will be the default owners for everything in -# the repo. Unless a later match takes precedence, -* @ashwinb @raghotham @ehhuang @reluctantfuturist diff --git a/.gitignore b/.gitignore index ce7d192..d98d51a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ Brewfile.lock.json dist dist-deno /*.tgz -.idea/ \ No newline at end of file +.idea/ + diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ca1d94e..bce5b8a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.2.17" + ".": "0.2.18-alpha.3" } diff --git a/.stats.yml b/.stats.yml index bd77bef..1dfa3ca 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 106 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-f59f1c7d33001d60b5190f68aa49eacec90f05dbe694620b8916152c3922051d.yml -openapi_spec_hash: 804edd2e834493906dc430145402be3b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-4f6633567c1a079df49d0cf58f37251a4bb0ee2f2a496ac83c9fee26eb325f9c.yml +openapi_spec_hash: af5b3d3bbecf48f15c90b982ccac852e config_hash: de16e52db65de71ac35adcdb665a74f5 diff --git a/CHANGELOG.md b/CHANGELOG.md index f3992c6..e275c8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,40 @@ # Changelog +## 0.2.18-alpha.3 (2025-08-14) + +Full Changelog: [v0.2.17...v0.2.18-alpha.3](https://github.com/llamastack/llama-stack-client-typescript/compare/v0.2.17...v0.2.18-alpha.3) + +### Features + +* **api:** update via SDK Studio ([cda87f0](https://github.com/llamastack/llama-stack-client-typescript/commit/cda87f0a9c62078aadd380069502f689051db420)) +* include tavily secret if available in requests ([#18](https://github.com/llamastack/llama-stack-client-typescript/issues/18)) ([b86d1da](https://github.com/llamastack/llama-stack-client-typescript/commit/b86d1da2d249b555079e02c849e39b231632b0b1)) + + +### Bug Fixes + +* update inference/agent example scripts to be more robust ([#14](https://github.com/llamastack/llama-stack-client-typescript/issues/14)) ([697e755](https://github.com/llamastack/llama-stack-client-typescript/commit/697e755902e2b3b7c471ea33ed387e542e622eda)) + + +### Chores + +* **copy:** Copy changes over from llamastack/ org repository ([#28](https://github.com/llamastack/llama-stack-client-typescript/issues/28)) ([26105c4](https://github.com/llamastack/llama-stack-client-typescript/commit/26105c463b2d73c52d3bb989baa5282d5923c8a3)) +* sync repo ([6416e59](https://github.com/llamastack/llama-stack-client-typescript/commit/6416e59b0803e074c3be862b46b84d55fc0045f8)) +* Update CODEOWNERS ([#26](https://github.com/llamastack/llama-stack-client-typescript/issues/26)) ([3d9d160](https://github.com/llamastack/llama-stack-client-typescript/commit/3d9d160f0a141344c5230c2b96bb4dd1c01f91e6)) + + +### Build System + +* Bump version to 0.2.10 ([8f251cb](https://github.com/llamastack/llama-stack-client-typescript/commit/8f251cb192739b65e0f9b6943f919494aff6bc28)) +* Bump version to 0.2.11 ([ddf1578](https://github.com/llamastack/llama-stack-client-typescript/commit/ddf1578c4e66754afbe209b01807e666da67f545)) +* Bump version to 0.2.12 ([5f5f0cc](https://github.com/llamastack/llama-stack-client-typescript/commit/5f5f0cc2ee15f4771180cff83d3cfdf0ddfa99d0)) +* Bump version to 0.2.13 ([55e639a](https://github.com/llamastack/llama-stack-client-typescript/commit/55e639a13e2efa091ddfd0304181380882840371)) +* Bump version to 0.2.4 ([8ee7dd6](https://github.com/llamastack/llama-stack-client-typescript/commit/8ee7dd698f2175dc76028f3af042ad0f5d7e3ae0)) +* Bump version to 0.2.5 ([1508978](https://github.com/llamastack/llama-stack-client-typescript/commit/1508978dba176b8423e2837820ce5143fa1e999a)) +* Bump version to 0.2.6 ([59edd92](https://github.com/llamastack/llama-stack-client-typescript/commit/59edd92329118c3beef87ad4018db5488a3133f1)) +* Bump version to 0.2.7 ([de56089](https://github.com/llamastack/llama-stack-client-typescript/commit/de56089dd0b08b289b5bcaf9d876000403045546)) +* Bump version to 0.2.8 ([6067307](https://github.com/llamastack/llama-stack-client-typescript/commit/6067307289b2ef32fa9bf72cfbf694967746e264)) +* Bump version to 0.2.9 ([9d38ef8](https://github.com/llamastack/llama-stack-client-typescript/commit/9d38ef8aa6c3e7201a9e16094df9d5df27770a5c)) + ## 0.2.17 (2025-08-06) Full Changelog: [v0.2.15...v0.2.17](https://github.com/llamastack/llama-stack-client-typescript/compare/v0.2.15...v0.2.17) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index 3232ed6..0000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,80 +0,0 @@ -# Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to make participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, sex characteristics, gender identity and expression, -level of experience, education, socio-economic status, nationality, personal -appearance, race, religion, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or -advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic -address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a -professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or -reject comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct, or to ban temporarily or -permanently any contributor for other behaviors that they deem inappropriate, -threatening, offensive, or harmful. - -## Scope - -This Code of Conduct applies within all project spaces, and it also applies when -an individual is representing the project or its community in public spaces. -Examples of representing a project or community include using an official -project e-mail address, posting via an official social media account, or acting -as an appointed representative at an online or offline event. Representation of -a project may be further defined and clarified by project maintainers. - -This Code of Conduct also applies outside the project spaces when there is a -reasonable belief that an individual's behavior may have a negative impact on -the project or its community. - -## Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at . All -complaints will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. - -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. - -## Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, -available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html - -[homepage]: https://www.contributor-covenant.org - -For answers to common questions about this code of conduct, see -https://www.contributor-covenant.org/faq diff --git a/package.json b/package.json index 19cb1a3..5c3e901 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "llama-stack-client", - "version": "0.2.17", + "version": "0.2.18-alpha.3", "description": "The official TypeScript library for the Llama Stack Client API", "author": "Llama Stack Client ", "types": "dist/index.d.ts", diff --git a/src/resources/responses/responses.ts b/src/resources/responses/responses.ts index f0d4d20..ad3f879 100644 --- a/src/resources/responses/responses.ts +++ b/src/resources/responses/responses.ts @@ -547,6 +547,8 @@ export type ResponseObjectStream = | ResponseObjectStream.OpenAIResponseObjectStreamResponseMcpCallInProgress | ResponseObjectStream.OpenAIResponseObjectStreamResponseMcpCallFailed | ResponseObjectStream.OpenAIResponseObjectStreamResponseMcpCallCompleted + | ResponseObjectStream.OpenAIResponseObjectStreamResponseContentPartAdded + | ResponseObjectStream.OpenAIResponseObjectStreamResponseContentPartDone | ResponseObjectStream.OpenAIResponseObjectStreamResponseCompleted; export namespace ResponseObjectStream { @@ -1576,6 +1578,98 @@ export namespace ResponseObjectStream { type: 'response.mcp_call.completed'; } + /** + * Streaming event for when a new content part is added to a response item. + */ + export interface OpenAIResponseObjectStreamResponseContentPartAdded { + /** + * Unique identifier of the output item containing this content part + */ + item_id: string; + + /** + * The content part that was added + */ + part: + | OpenAIResponseObjectStreamResponseContentPartAdded.OpenAIResponseContentPartOutputText + | OpenAIResponseObjectStreamResponseContentPartAdded.OpenAIResponseContentPartRefusal; + + /** + * Unique identifier of the response containing this content + */ + response_id: string; + + /** + * Sequential number for ordering streaming events + */ + sequence_number: number; + + /** + * Event type identifier, always "response.content_part.added" + */ + type: 'response.content_part.added'; + } + + export namespace OpenAIResponseObjectStreamResponseContentPartAdded { + export interface OpenAIResponseContentPartOutputText { + text: string; + + type: 'output_text'; + } + + export interface OpenAIResponseContentPartRefusal { + refusal: string; + + type: 'refusal'; + } + } + + /** + * Streaming event for when a content part is completed. + */ + export interface OpenAIResponseObjectStreamResponseContentPartDone { + /** + * Unique identifier of the output item containing this content part + */ + item_id: string; + + /** + * The completed content part + */ + part: + | OpenAIResponseObjectStreamResponseContentPartDone.OpenAIResponseContentPartOutputText + | OpenAIResponseObjectStreamResponseContentPartDone.OpenAIResponseContentPartRefusal; + + /** + * Unique identifier of the response containing this content + */ + response_id: string; + + /** + * Sequential number for ordering streaming events + */ + sequence_number: number; + + /** + * Event type identifier, always "response.content_part.done" + */ + type: 'response.content_part.done'; + } + + export namespace OpenAIResponseObjectStreamResponseContentPartDone { + export interface OpenAIResponseContentPartOutputText { + text: string; + + type: 'output_text'; + } + + export interface OpenAIResponseContentPartRefusal { + refusal: string; + + type: 'refusal'; + } + } + /** * Streaming event indicating a response has been completed. */ diff --git a/src/version.ts b/src/version.ts index df384a5..24d1913 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.2.17'; // x-release-please-version +export const VERSION = '0.2.18-alpha.3'; // x-release-please-version