Skip to content

sync fork#2

Merged
mehtarac merged 6 commits intomehtarac:mainfrom
strands-agents:main
Jan 13, 2026
Merged

sync fork#2
mehtarac merged 6 commits intomehtarac:mainfrom
strands-agents:main

Conversation

@mehtarac
Copy link
Owner

Description

Related Issues

Documentation PR

Type of Change

Bug fix
New feature
Breaking change
Documentation update
Other (please describe):

Testing

How have you tested the change?

  • I ran npm run check

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

zastrowm and others added 6 commits December 23, 2025 20:39
To enable agents in sdk-python, I needed two fixes:

 - Only run npm install if we have a package.json
 - Don't use a project file for uv run (as it's not needed for TS, and python would try to use the wrong project)

Co-authored-by: Mackenzie Zastrow <zastrowm@users.noreply.github.com>
In order to better share code between browser and node integ tests, use a single implementation for creating clients and inside of the factory methods, do the conditional check for what environment we're running in.

As part of this I refactored the setup to take advantage of vitest features of having the global setup inject data into the running tests - including whether we're running in the browser and if we're running in CI/CD.

---------

Co-authored-by: Mackenzie Zastrow <zastrowm@users.noreply.github.com>
Run all integ tests in both node & browser, using file naming to designate tests that require a specific environment. This effectively switches us from environment-opt-in (need to duplicate tests between X.test and X.browser.test to have common coverage) to opt-out (need to explicitly move tests to x.test.node if it's only supposed to run in node).

Goal here is to reduce test duplication and improve compatibility between browser and node.

Co-authored-by: Mackenzie Zastrow <zastrowm@users.noreply.github.com>
To make the GitHub Workflow logs more obvious/readable

Co-authored-by: Mackenzie Zastrow <zastrowm@users.noreply.github.com>
@mehtarac mehtarac merged commit c2ec5eb into mehtarac:main Jan 13, 2026
1 of 8 checks passed
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.

3 participants