Skip to content

Commit 58fce8a

Browse files
zastrowmafarntrogawsarronchaynaborsdbschmigelski
committed
Merge in docs for latest features
Includes documentation for: - The TypeScript SDK (https://github.com/strands-agents/sdk-typescript) - Bidirectional Streaming Agent (strands-agents/sdk-python#1276) - Evaluations (https://github.com/strands-agents/evals) - Steering (strands-agents/sdk-python#1280) ---- Co-authored-by: Aaron Farntrog <afarn@amazon.com> Co-authored-by: afarntrog <47332252+afarntrog@users.noreply.github.com> Co-authored-by: Arron Bailiss <arron@amazon.com> Co-authored-by: Chay Nabors <github@chaynabors.com> Co-authored-by: Dean Schmigelski <dbschmigelski+github@gmail.com> Co-authored-by: Jack Yuan <94985218+JackYPCOnline@users.noreply.github.com> Co-authored-by: Jack Yuan <jackypc@amazon.com> Co-authored-by: Jonathan Buck <jonabuck@amazon.com> Co-authored-by: Jonathan Segev <jsegev01@gmail.com> Co-authored-by: Mackenzie Zastrow <zastrowm@users.noreply.github.com> Co-authored-by: mehtarac <mehtarac@amazon.com> Co-authored-by: Murat Kaan Meral <muratkaanmeral@gmail.com> Co-authored-by: Murat Kaan Meral <murmeral@amazon.nl> Co-authored-by: Nicholas Clegg <ncclegg@amazon.com> Co-authored-by: Nick Clegg <nac542@gmail.com> Co-authored-by: Patrick Gray <pgrayy@amazon.com> Co-authored-by: poshinchen <pschen@amazon.com> Co-authored-by: Strands Agent <217235299+strands-agent@users.noreply.github.com>
1 parent 02d918a commit 58fce8a

File tree

135 files changed

+18270
-3351
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+18270
-3351
lines changed

.github/workflows/build-deploy.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,17 @@ jobs:
1616
run: |
1717
git config user.name github-actions[bot]
1818
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
19+
1920
- uses: actions/setup-python@v5
2021
with:
2122
python-version: 3.x
23+
24+
- name: Set up Node.js
25+
uses: actions/setup-node@v6
26+
27+
- name: Clone typescript_sdk
28+
run: git clone https://${{ secrets.PAT_GITHUB_TOKEN_STRANDS || secrets.PAT_GITHUB_TOKEN }}:@github.com/strands-agents/sdk-typescript.git/ ./sdk-typescript
29+
2230
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
2331
- uses: actions/cache@v4
2432
with:
@@ -28,6 +36,8 @@ jobs:
2836
mkdocs-material-
2937
- run: |
3038
pip install .
39+
npm install ./sdk-typescript
40+
npm install
3141
- run: |
3242
mike deploy --push --update-aliases 0.3.x latest
3343
mike set-default --push latest

.github/workflows/build-test.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,24 @@ jobs:
1717
steps:
1818
- name: Checkout code
1919
uses: actions/checkout@v4
20+
21+
- name: Setup Python
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: '3.x'
25+
26+
- name: Set up Node.js
27+
uses: actions/setup-node@v6
28+
29+
- name: Clone typescript_sdk
30+
run: git clone https://${{ secrets.PAT_GITHUB_TOKEN_STRANDS || secrets.PAT_GITHUB_TOKEN }}:@github.com/strands-agents/sdk-typescript.git/ ./sdk-typescript
31+
2032
- name: Install dependencies
2133
run: |
2234
pip install .
35+
npm install ./sdk-typescript
36+
npm install
37+
2338
- name: Build docs
2439
run: |
2540
mkdocs build

.github/workflows/typecheck.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Typecheck files
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
types: [ opened, synchronize, reopened, ready_for_review, review_requested, review_request_removed ]
7+
8+
jobs:
9+
setup:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Setup Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: '20'
18+
19+
- name: Clone typescript_sdk
20+
run: git clone https://${{ secrets.PAT_GITHUB_TOKEN_STRANDS || secrets.PAT_GITHUB_TOKEN }}:@github.com/strands-agents/sdk-typescript.git/ ./sdk-typescript
21+
22+
- name: Install SDK
23+
run: npm install ./sdk-typescript
24+
25+
- name: Run tests
26+
run: npm run test

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ __pycache__
99
.idea
1010
.kiro
1111
*.egg-info
12+
13+
node_modules
14+
uv.lock
15+
16+
sdk-typescript
17+
package-lock.json
18+
19+
# Generated TypeScript documentation
20+
docs/api-reference/typescript/
21+
__*__/

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20.19.5

.prettierignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Ignore everything recursively
2+
*
3+
4+
# But not the .ts files
5+
!*.ts
6+
7+
# Check subdirectories too
8+
!*/
9+
10+
# Ignore examples directory
11+
examples/

0 commit comments

Comments
 (0)