anthropics / anthropic-sdk-typescript
File Churn

File change frequency (churn) shows the distribution of file updates (days with at least one commit).

Overview
File Change Frequency Overall
  • There are 109 files with 15,514 lines of code.
    • 0 files changed more than 100 times (0 lines of code)
    • 2 files changed 51-100 times (43 lines of code)
    • 12 files changed 21-50 times (8,304 lines of code)
    • 28 files changed 6-20 times (2,570 lines of code)
    • 67 files changed 1-5 times (4,597 lines of code)
0% | <1% | 53% | 16% | 29%
Legend:
101+
51-100
21-50
6-20
1-5

explore: grouped by folders | grouped by update frequency | data
Contributors Count Frequency Overall
  • There are 109 files with 15,514 lines of code.
    • 0 files changed by more than 25 contributors (0 lines of code)
    • 8 files changed by 11-25 contributors (6,844 lines of code)
    • 19 files changed by 6-10 contributors (2,981 lines of code)
    • 54 files changed by 2-5 contributors (3,612 lines of code)
    • 28 files changed by 1 contributor (2,077 lines of code)
0% | 44% | 19% | 23% | 13%
Legend:
26+
11-25
6-10
2-5
1

explore: grouped by folders | grouped by contributors count | data
File Change Frequency per File Extension
ts, json, md, cjs, yaml, txt, sh, gitignore, mjs, svg, prettierignore, snap
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
ts0% | <1% | 54% | 16% | 29%
cjs0% | 0% | 0% | 54% | 45%
mjs0% | 0% | 0% | 0% | 100%
File Change Frequency per Logical Decomposition
primary
primary (file change frequency)
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
src0% | <1% | 59% | 13% | 26%
packages0% | 0% | 0% | 41% | 58%
scripts0% | 0% | 0% | 41% | 58%
ROOT0% | 0% | 0% | 0% | 100%
Most Frequently Changed Files (Top 50)

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsline
churn
first
contributor
latest
contributor
1 - 2023-06-30 2025-09-10 76 15 +86 / -85 dev@stainlessapi.com pavol.juhos@gmail.com
index.ts
in src
42 - 2023-01-30 2026-06-04 63 11 +1443 / -2594 justin@anthropic.com craigie@anthropic.com
client.ts
in src
1348 31 2024-05-02 2026-06-08 38 15 +4748 / -499 107565488+stainless-bot@use... tomer@anthropic.com
completions.ts
in src/resources
71 1 2023-06-30 2025-05-09 31 7 +706 / -480 dev@stainlessapi.com robert@craigie.dev
1 - 2023-06-30 2025-05-09 30 6 +807 / -1349 dev@stainlessapi.com robert@craigie.dev
index.ts
in src/resources
207 - 2023-06-30 2025-08-08 30 10 +322 / -194 dev@stainlessapi.com gcemaj@anthropic.com
592 27 2023-12-19 2026-06-18 29 10 +1750 / -162 107565488+stainless-bot@use... craigie@anthropic.com
messages.ts
in src/resources/beta/messages
2077 4 2024-10-08 2025-11-21 29 13 +3141 / -439 robert@craigie.dev robert@craigie.dev
index.ts
in src/resources/beta
526 - 2023-12-19 2025-11-24 28 14 +374 / -184 107565488+stainless-bot@use... kar.petrosyanpy@gmail.com
beta.ts
in src/resources/beta
1141 - 2023-12-19 2025-11-24 28 14 +672 / -205 107565488+stainless-bot@use... kar.petrosyanpy@gmail.com
631 28 2025-01-13 2026-06-18 25 10 +2282 / -107 robert@craigie.dev craigie@anthropic.com
messages.ts
in src/resources
1 - 2024-02-12 2025-03-13 23 6 +1342 / -1383 107565488+stainless-bot@use... dev@stainless.com
index.ts
in src/resources/beta/messages
257 - 2024-10-08 2025-11-24 22 13 +348 / -158 robert@craigie.dev kar.petrosyanpy@gmail.com
messages.ts
in src/resources/messages
1452 - 2024-12-17 2025-09-10 21 11 +2287 / -293 robert@craigie.dev pavol.juhos@gmail.com
client.ts
in packages/vertex-sdk/src
165 6 2024-01-23 2026-06-08 19 7 +714 / -204 107565488+stainless-bot@use... tomer@anthropic.com
client.ts
in packages/bedrock-sdk/src
183 5 2024-01-31 2026-06-08 19 8 +646 / -234 107565488+stainless-bot@use... tomer@anthropic.com
batches.ts
in src/resources/beta/messages
231 7 2024-10-08 2025-07-03 19 7 +860 / -763 robert@craigie.dev gabriel@cemaj.com
1 - 2023-06-30 2025-05-09 16 5 +408 / -916 dev@stainlessapi.com robert@craigie.dev
error.ts
in src
1 - 2023-06-30 2025-05-09 14 5 +175 / -422 dev@stainlessapi.com robert@craigie.dev
batches.ts
in src/resources/messages
124 2 2024-12-17 2025-07-03 13 6 +547 / -443 robert@craigie.dev gabriel@cemaj.com
index.ts
in src/resources/messages
190 - 2024-12-17 2025-08-08 12 7 +145 / -10 robert@craigie.dev gcemaj@anthropic.com
request-options.ts
in src/internal
38 - 2024-12-20 2026-06-08 11 8 +343 / -40 michaelcohen@anthropic.com tomer@anthropic.com
parse.ts
in src/internal
68 2 2024-12-20 2026-06-08 11 9 +381 / -43 michaelcohen@anthropic.com tomer@anthropic.com
uploads.ts
in src/internal
167 3 2025-01-14 2025-07-02 11 8 +746 / -188 107565488+stainless-bot@use... dmeadows@stainless.com
log.ts
in src/internal/utils
131 9 2024-12-20 2026-06-06 10 8 +462 / -42 michaelcohen@anthropic.com craigie@anthropic.com
1 - 2023-06-30 2025-05-09 9 6 +44 / -60 dev@stainlessapi.com robert@craigie.dev
1 - 2024-10-08 2025-05-09 9 5 +358 / -432 robert@craigie.dev robert@craigie.dev
types.ts
in src/internal
48 1 2024-12-20 2025-11-18 9 6 +315 / -27 michaelcohen@anthropic.com robert@craigie.dev
values.ts
in src/internal/utils
84 4 2024-12-20 2025-09-15 9 5 +411 / -5 michaelcohen@anthropic.com dmeadows@stainless.com
auth.ts
in packages/bedrock-sdk/src/core
92 1 2025-03-20 2026-06-08 9 5 +461 / -35 em@stainless.com tomer@anthropic.com
shims.ts
in src/internal
74 9 2024-12-20 2025-05-09 8 5 +515 / -70 michaelcohen@anthropic.com robert@craigie.dev
jsonl.ts
in src/internal/decoders
41 2 2024-10-08 2025-05-09 7 4 +74 / -13 robert@craigie.dev robert@craigie.dev
path.ts
in src/internal/utils
63 2 2025-02-05 2025-07-02 7 6 +258 / -17 107565488+stainless-bot@use... dmeadows@stainless.com
headers.ts
in src/internal
78 - 2024-12-20 2025-07-02 7 4 +408 / -18 michaelcohen@anthropic.com dmeadows@stainless.com
line.ts
in src/internal/decoders
90 3 2024-10-08 2025-05-09 7 4 +137 / -153 robert@craigie.dev robert@craigie.dev
models.ts
in src/resources
103 2 2024-12-17 2025-05-09 7 5 +206 / -130 robert@craigie.dev robert@craigie.dev
models.ts
in src/resources/beta
104 2 2024-12-17 2025-05-09 7 5 +224 / -142 robert@craigie.dev robert@craigie.dev
messages.ts
in src/resources/beta
1 - 2023-12-19 2025-03-13 6 2 +685 / -682 107565488+stainless-bot@use... dev@stainless.com
postprocess-dist-package-json.cjs
in packages/vertex-sdk/scripts
8 - 2024-01-23 2025-05-09 6 4 +29 / -7 107565488+stainless-bot@use... robert@craigie.dev
streaming.ts
in packages/bedrock-sdk/src/core
69 2 2025-03-20 2026-06-08 6 6 +532 / -97 em@stainless.com tomer@anthropic.com
postprocess-files.cjs
in scripts/utils
95 3 2024-04-30 2025-05-09 6 4 +429 / -548 107565488+stainless-bot@use... robert@craigie.dev
streaming.ts
in src/core
319 15 2025-03-26 2025-07-03 6 4 +1021 / -12 dev@stainless.com gabriel@cemaj.com
1 - 2024-12-20 2025-05-09 5 4 +217 / -118 michaelcohen@anthropic.com robert@craigie.dev
resource.ts
in src/core
7 1 2025-03-26 2025-07-02 5 4 +35 / -2 dev@stainless.com dmeadows@stainless.com
postprocess-dist-package-json.cjs
in packages/bedrock-sdk/scripts
8 - 2024-01-31 2025-05-09 5 4 +28 / -6 107565488+stainless-bot@use... robert@craigie.dev
errors.ts
in src/internal
26 1 2024-12-20 2025-05-09 5 4 +120 / -3 michaelcohen@anthropic.com robert@craigie.dev
base64.ts
in src/internal/utils
30 - 2024-12-20 2025-05-09 5 4 +166 / -9 michaelcohen@anthropic.com robert@craigie.dev
parser.ts
in src/_vendor/partial-json-parser
237 - 2024-05-16 2026-06-02 5 3 +550 / -6 107565488+stainless-bot@use... craigie@anthropic.com
index.ts
in packages/vertex-sdk/src
2 - 2024-01-23 2025-05-09 4 3 +9 / -3 107565488+stainless-bot@use... robert@craigie.dev
index.ts
in packages/bedrock-sdk/src
3 - 2024-01-31 2025-05-09 4 3 +12 / -12 107565488+stainless-bot@use... robert@craigie.dev
Files With Most Churn (Top 50)
Based on the number of lines added and deleted across all commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsline
churn
first
contributor
latest
contributor
client.ts
in src
1348 31 2024-05-02 2026-06-08 38 15 +4748 / -499 107565488+stainless-bot@use... tomer@anthropic.com
index.ts
in src
42 - 2023-01-30 2026-06-04 63 11 +1443 / -2594 justin@anthropic.com craigie@anthropic.com
messages.ts
in src/resources/beta/messages
2077 4 2024-10-08 2025-11-21 29 13 +3141 / -439 robert@craigie.dev robert@craigie.dev
messages.ts
in src/resources
1 - 2024-02-12 2025-03-13 23 6 +1342 / -1383 107565488+stainless-bot@use... dev@stainless.com
messages.ts
in src/resources/messages
1452 - 2024-12-17 2025-09-10 21 11 +2287 / -293 robert@craigie.dev pavol.juhos@gmail.com
631 28 2025-01-13 2026-06-18 25 10 +2282 / -107 robert@craigie.dev craigie@anthropic.com
1 - 2023-06-30 2025-05-09 30 6 +807 / -1349 dev@stainlessapi.com robert@craigie.dev
592 27 2023-12-19 2026-06-18 29 10 +1750 / -162 107565488+stainless-bot@use... craigie@anthropic.com
batches.ts
in src/resources/beta/messages
231 7 2024-10-08 2025-07-03 19 7 +860 / -763 robert@craigie.dev gabriel@cemaj.com
messages.ts
in src/resources/beta
1 - 2023-12-19 2025-03-13 6 2 +685 / -682 107565488+stainless-bot@use... dev@stainless.com
1 - 2023-06-30 2025-05-09 16 5 +408 / -916 dev@stainlessapi.com robert@craigie.dev
completions.ts
in src/resources
71 1 2023-06-30 2025-05-09 31 7 +706 / -480 dev@stainlessapi.com robert@craigie.dev
streaming.ts
in src/core
319 15 2025-03-26 2025-07-03 6 4 +1021 / -12 dev@stainless.com gabriel@cemaj.com
batches.ts
in src/resources/messages
124 2 2024-12-17 2025-07-03 13 6 +547 / -443 robert@craigie.dev gabriel@cemaj.com
postprocess-files.cjs
in scripts/utils
95 3 2024-04-30 2025-05-09 6 4 +429 / -548 107565488+stainless-bot@use... robert@craigie.dev
uploads.ts
in src/internal
167 3 2025-01-14 2025-07-02 11 8 +746 / -188 107565488+stainless-bot@use... dmeadows@stainless.com
client.ts
in packages/vertex-sdk/src
165 6 2024-01-23 2026-06-08 19 7 +714 / -204 107565488+stainless-bot@use... tomer@anthropic.com
client.ts
in packages/bedrock-sdk/src
183 5 2024-01-31 2026-06-08 19 8 +646 / -234 107565488+stainless-bot@use... tomer@anthropic.com
beta.ts
in src/resources/beta
1141 - 2023-12-19 2025-11-24 28 14 +672 / -205 107565488+stainless-bot@use... kar.petrosyanpy@gmail.com
1 - 2024-10-08 2025-05-09 9 5 +358 / -432 robert@craigie.dev robert@craigie.dev
detect-platform.ts
in src/internal
152 2 2024-12-20 2025-05-09 4 3 +785 / -5 michaelcohen@anthropic.com robert@craigie.dev
streaming.ts
in packages/bedrock-sdk/src/core
69 2 2025-03-20 2026-06-08 6 6 +532 / -97 em@stainless.com tomer@anthropic.com
pagination.ts
in src/core
231 7 2025-03-26 2025-05-09 3 2 +610 / -2 dev@stainless.com robert@craigie.dev
error.ts
in src
1 - 2023-06-30 2025-05-09 14 5 +175 / -422 dev@stainlessapi.com robert@craigie.dev
shims.ts
in src/internal
74 9 2024-12-20 2025-05-09 8 5 +515 / -70 michaelcohen@anthropic.com robert@craigie.dev
index.ts
in src/resources/beta
526 - 2023-12-19 2025-11-24 28 14 +374 / -184 107565488+stainless-bot@use... kar.petrosyanpy@gmail.com
parser.ts
in src/_vendor/partial-json-parser
237 - 2024-05-16 2026-06-02 5 3 +550 / -6 107565488+stainless-bot@use... craigie@anthropic.com
index.ts
in src/resources
207 - 2023-06-30 2025-08-08 30 10 +322 / -194 dev@stainlessapi.com gcemaj@anthropic.com
index.ts
in src/resources/beta/messages
257 - 2024-10-08 2025-11-24 22 13 +348 / -158 robert@craigie.dev kar.petrosyanpy@gmail.com
log.ts
in src/internal/utils
131 9 2024-12-20 2026-06-06 10 8 +462 / -42 michaelcohen@anthropic.com craigie@anthropic.com
auth.ts
in packages/bedrock-sdk/src/core
92 1 2025-03-20 2026-06-08 9 5 +461 / -35 em@stainless.com tomer@anthropic.com
to-file.ts
in src/internal
89 1 2025-03-03 2025-05-22 4 3 +470 / -5 dev@stainless.com michaelcohen@anthropic.com
AWS_restJson1.ts
in packages/bedrock-sdk/src
197 12 2024-01-31 2025-05-09 2 2 +458 / -0 107565488+stainless-bot@use... robert@craigie.dev
headers.ts
in src/internal
78 - 2024-12-20 2025-07-02 7 4 +408 / -18 michaelcohen@anthropic.com dmeadows@stainless.com
parse.ts
in src/internal
68 2 2024-12-20 2026-06-08 11 9 +381 / -43 michaelcohen@anthropic.com tomer@anthropic.com
values.ts
in src/internal/utils
84 4 2024-12-20 2025-09-15 9 5 +411 / -5 michaelcohen@anthropic.com dmeadows@stainless.com
error.ts
in src/core
114 5 2025-03-26 2026-06-04 4 3 +414 / -0 dev@stainless.com craigie@anthropic.com
BetaToolRunner.ts
in src/lib/tools
332 9 2025-09-15 2025-11-24 4 4 +390 / -3 dmeadows@stainless.com kar.petrosyanpy@gmail.com
request-options.ts
in src/internal
38 - 2024-12-20 2026-06-08 11 8 +343 / -40 michaelcohen@anthropic.com tomer@anthropic.com
ToolRunner.ts
in src/lib/tools
223 8 2025-09-15 2025-11-24 3 3 +378 / -1 dmeadows@stainless.com kar.petrosyanpy@gmail.com
models.ts
in src/resources/beta
104 2 2024-12-17 2025-05-09 7 5 +224 / -142 robert@craigie.dev robert@craigie.dev
middleware.ts
in src/core
147 7 2026-06-04 2026-06-08 3 2 +346 / -7 craigie@anthropic.com tomer@anthropic.com
builtin-types.ts
in src/internal
25 - 2024-12-20 2025-05-09 4 3 +345 / -1 michaelcohen@anthropic.com robert@craigie.dev
types.ts
in src/internal
48 1 2024-12-20 2025-11-18 9 6 +315 / -27 michaelcohen@anthropic.com robert@craigie.dev
api-promise.ts
in src/core
59 5 2025-03-26 2025-05-09 3 2 +326 / -14 dev@stainless.com robert@craigie.dev
models.ts
in src/resources
103 2 2024-12-17 2025-05-09 7 5 +206 / -130 robert@craigie.dev robert@craigie.dev
1 - 2024-12-20 2025-05-09 5 4 +217 / -118 michaelcohen@anthropic.com robert@craigie.dev
line.ts
in src/internal/decoders
90 3 2024-10-08 2025-05-09 7 4 +137 / -153 robert@craigie.dev robert@craigie.dev
path.ts
in src/internal/utils
63 2 2025-02-05 2025-07-02 7 6 +258 / -17 107565488+stainless-bot@use... dmeadows@stainless.com
files.ts
in src/resources/beta
139 5 2025-05-22 2025-05-22 1 1 +258 / -0 michaelcohen@anthropic.com michaelcohen@anthropic.com
Files With Most Contributors (Top 50)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsline
churn
first
contributor
latest
contributor
1 - 2023-06-30 2025-09-10 76 15 +86 / -85 dev@stainlessapi.com pavol.juhos@gmail.com
client.ts
in src
1348 31 2024-05-02 2026-06-08 38 15 +4748 / -499 107565488+stainless-bot@use... tomer@anthropic.com
beta.ts
in src/resources/beta
1141 - 2023-12-19 2025-11-24 28 14 +672 / -205 107565488+stainless-bot@use... kar.petrosyanpy@gmail.com
index.ts
in src/resources/beta
526 - 2023-12-19 2025-11-24 28 14 +374 / -184 107565488+stainless-bot@use... kar.petrosyanpy@gmail.com
messages.ts
in src/resources/beta/messages
2077 4 2024-10-08 2025-11-21 29 13 +3141 / -439 robert@craigie.dev robert@craigie.dev
index.ts
in src/resources/beta/messages
257 - 2024-10-08 2025-11-24 22 13 +348 / -158 robert@craigie.dev kar.petrosyanpy@gmail.com
index.ts
in src
42 - 2023-01-30 2026-06-04 63 11 +1443 / -2594 justin@anthropic.com craigie@anthropic.com
messages.ts
in src/resources/messages
1452 - 2024-12-17 2025-09-10 21 11 +2287 / -293 robert@craigie.dev pavol.juhos@gmail.com
index.ts
in src/resources
207 - 2023-06-30 2025-08-08 30 10 +322 / -194 dev@stainlessapi.com gcemaj@anthropic.com
592 27 2023-12-19 2026-06-18 29 10 +1750 / -162 107565488+stainless-bot@use... craigie@anthropic.com
631 28 2025-01-13 2026-06-18 25 10 +2282 / -107 robert@craigie.dev craigie@anthropic.com
parse.ts
in src/internal
68 2 2024-12-20 2026-06-08 11 9 +381 / -43 michaelcohen@anthropic.com tomer@anthropic.com
client.ts
in packages/bedrock-sdk/src
183 5 2024-01-31 2026-06-08 19 8 +646 / -234 107565488+stainless-bot@use... tomer@anthropic.com
request-options.ts
in src/internal
38 - 2024-12-20 2026-06-08 11 8 +343 / -40 michaelcohen@anthropic.com tomer@anthropic.com
uploads.ts
in src/internal
167 3 2025-01-14 2025-07-02 11 8 +746 / -188 107565488+stainless-bot@use... dmeadows@stainless.com
log.ts
in src/internal/utils
131 9 2024-12-20 2026-06-06 10 8 +462 / -42 michaelcohen@anthropic.com craigie@anthropic.com
completions.ts
in src/resources
71 1 2023-06-30 2025-05-09 31 7 +706 / -480 dev@stainlessapi.com robert@craigie.dev
batches.ts
in src/resources/beta/messages
231 7 2024-10-08 2025-07-03 19 7 +860 / -763 robert@craigie.dev gabriel@cemaj.com
client.ts
in packages/vertex-sdk/src
165 6 2024-01-23 2026-06-08 19 7 +714 / -204 107565488+stainless-bot@use... tomer@anthropic.com
index.ts
in src/resources/messages
190 - 2024-12-17 2025-08-08 12 7 +145 / -10 robert@craigie.dev gcemaj@anthropic.com
1 - 2023-06-30 2025-05-09 30 6 +807 / -1349 dev@stainlessapi.com robert@craigie.dev
messages.ts
in src/resources
1 - 2024-02-12 2025-03-13 23 6 +1342 / -1383 107565488+stainless-bot@use... dev@stainless.com
batches.ts
in src/resources/messages
124 2 2024-12-17 2025-07-03 13 6 +547 / -443 robert@craigie.dev gabriel@cemaj.com
types.ts
in src/internal
48 1 2024-12-20 2025-11-18 9 6 +315 / -27 michaelcohen@anthropic.com robert@craigie.dev
1 - 2023-06-30 2025-05-09 9 6 +44 / -60 dev@stainlessapi.com robert@craigie.dev
path.ts
in src/internal/utils
63 2 2025-02-05 2025-07-02 7 6 +258 / -17 107565488+stainless-bot@use... dmeadows@stainless.com
streaming.ts
in packages/bedrock-sdk/src/core
69 2 2025-03-20 2026-06-08 6 6 +532 / -97 em@stainless.com tomer@anthropic.com
1 - 2023-06-30 2025-05-09 16 5 +408 / -916 dev@stainlessapi.com robert@craigie.dev
error.ts
in src
1 - 2023-06-30 2025-05-09 14 5 +175 / -422 dev@stainlessapi.com robert@craigie.dev
1 - 2024-10-08 2025-05-09 9 5 +358 / -432 robert@craigie.dev robert@craigie.dev
values.ts
in src/internal/utils
84 4 2024-12-20 2025-09-15 9 5 +411 / -5 michaelcohen@anthropic.com dmeadows@stainless.com
auth.ts
in packages/bedrock-sdk/src/core
92 1 2025-03-20 2026-06-08 9 5 +461 / -35 em@stainless.com tomer@anthropic.com
shims.ts
in src/internal
74 9 2024-12-20 2025-05-09 8 5 +515 / -70 michaelcohen@anthropic.com robert@craigie.dev
models.ts
in src/resources/beta
104 2 2024-12-17 2025-05-09 7 5 +224 / -142 robert@craigie.dev robert@craigie.dev
models.ts
in src/resources
103 2 2024-12-17 2025-05-09 7 5 +206 / -130 robert@craigie.dev robert@craigie.dev
line.ts
in src/internal/decoders
90 3 2024-10-08 2025-05-09 7 4 +137 / -153 robert@craigie.dev robert@craigie.dev
jsonl.ts
in src/internal/decoders
41 2 2024-10-08 2025-05-09 7 4 +74 / -13 robert@craigie.dev robert@craigie.dev
headers.ts
in src/internal
78 - 2024-12-20 2025-07-02 7 4 +408 / -18 michaelcohen@anthropic.com dmeadows@stainless.com
streaming.ts
in src/core
319 15 2025-03-26 2025-07-03 6 4 +1021 / -12 dev@stainless.com gabriel@cemaj.com
postprocess-files.cjs
in scripts/utils
95 3 2024-04-30 2025-05-09 6 4 +429 / -548 107565488+stainless-bot@use... robert@craigie.dev
postprocess-dist-package-json.cjs
in packages/vertex-sdk/scripts
8 - 2024-01-23 2025-05-09 6 4 +29 / -7 107565488+stainless-bot@use... robert@craigie.dev
1 - 2024-12-20 2025-05-09 5 4 +217 / -118 michaelcohen@anthropic.com robert@craigie.dev
resource.ts
in src/core
7 1 2025-03-26 2025-07-02 5 4 +35 / -2 dev@stainless.com dmeadows@stainless.com
errors.ts
in src/internal
26 1 2024-12-20 2025-05-09 5 4 +120 / -3 michaelcohen@anthropic.com robert@craigie.dev
base64.ts
in src/internal/utils
30 - 2024-12-20 2025-05-09 5 4 +166 / -9 michaelcohen@anthropic.com robert@craigie.dev
postprocess-dist-package-json.cjs
in packages/bedrock-sdk/scripts
8 - 2024-01-31 2025-05-09 5 4 +28 / -6 107565488+stainless-bot@use... robert@craigie.dev
BetaToolRunner.ts
in src/lib/tools
332 9 2025-09-15 2025-11-24 4 4 +390 / -3 dmeadows@stainless.com kar.petrosyanpy@gmail.com
parser.ts
in src/_vendor/partial-json-parser
237 - 2024-05-16 2026-06-02 5 3 +550 / -6 107565488+stainless-bot@use... craigie@anthropic.com
error.ts
in src/core
114 5 2025-03-26 2026-06-04 4 3 +414 / -0 dev@stainless.com craigie@anthropic.com
to-file.ts
in src/internal
89 1 2025-03-03 2025-05-22 4 3 +470 / -5 dev@stainless.com michaelcohen@anthropic.com
Files With Least Contributors (Top 50)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsline
churn
first
contributor
latest
contributor
events.ts
in src/resources/beta/sessions
730 3
middleware.ts
in src/lib
609 22
sessions.ts
in src/resources/beta/sessions
545 6
agents.ts
in src/resources/beta/agents
392 5
deployments.ts
in src/resources/beta
382 8
credentials.ts
in src/resources/beta/vaults
367 7
stringify.ts
in src/internal/qs
324 9
stringify.ts
in packages/vertex-sdk/src/internal/qs
324 9
stringify.ts
in packages/aws-sdk/src/internal/qs
324 9
stringify.ts
in packages/foundry-sdk/src/internal/qs
324 9
stringify.ts
in packages/bedrock-sdk/src/internal/qs
324 9
mcp.ts
in src/helpers/beta
322 14
node.ts
in src/tools/memory
308 14
work.ts
in src/resources/beta/environments
251 8
environments.ts
in src/resources/beta/environments
249 6
credentials.ts
in src/core
248 4
vaults.ts
in src/resources/beta/vaults
230 6
webhooks.ts
in src/resources/beta
227 -
memory-stores.ts
in src/resources/beta/memory-stores
221 6
utils.ts
in src/internal/qs
215 10
utils.ts
in packages/vertex-sdk/src/internal/qs
215 10
utils.ts
in packages/aws-sdk/src/internal/qs
215 10
utils.ts
in packages/foundry-sdk/src/internal/qs
215 10
utils.ts
in packages/bedrock-sdk/src/internal/qs
215 10
types.ts
in src/lib/credentials
210 6
memories.ts
in src/resources/beta/memory-stores
201 5
credential-chain.ts
in src/lib/credentials
194 6
deployment-runs.ts
in src/resources/beta
186 2
skills.ts
in src/tools/agent-toolset
175 11
resources.ts
in src/resources/beta/sessions
169 5
uploads.ts
in packages/vertex-sdk/src/internal
167 3
uploads.ts
in packages/aws-sdk/src/internal
167 3
uploads.ts
in packages/foundry-sdk/src/internal
167 3
uploads.ts
in packages/bedrock-sdk/src/internal
167 3
skills.ts
in src/resources/beta/skills
163 4
poller.ts
in src/lib/environments
159 4
threads.ts
in src/resources/beta/sessions/threads
153 3
detect-platform.ts
in packages/vertex-sdk/src/internal
152 2
detect-platform.ts
in packages/aws-sdk/src/internal
152 2
detect-platform.ts
in packages/foundry-sdk/src/internal
152 2
detect-platform.ts
in packages/bedrock-sdk/src/internal
152 2
index.ts
in src/resources/beta/sessions
141 -
user-profiles.ts
in src/resources/beta
134 5
log.ts
in packages/vertex-sdk/src/internal/utils
131 9
log.ts
in packages/aws-sdk/src/internal/utils
131 9
log.ts
in packages/foundry-sdk/src/internal/utils
131 9
log.ts
in packages/bedrock-sdk/src/internal/utils
131 9
memory-versions.ts
in src/resources/beta/memory-stores
130 3
user-oauth.ts
in src/lib/credentials
117 2
parser.ts
in src/lib
105 4
Correlations

File Size vs. Number of Changes: 109 points

src/internal/message-stream-utils.ts x: 23 lines of code y: 1 # changes src/lib/BetaMessageStream.ts x: 631 lines of code y: 25 # changes src/lib/MessageStream.ts x: 592 lines of code y: 29 # changes scripts/utils/attw.mjs x: 18 lines of code y: 1 # changes packages/aws-sdk/src/client.ts x: 162 lines of code y: 2 # changes packages/aws-sdk/src/core/auth.ts x: 95 lines of code y: 1 # changes packages/bedrock-sdk/src/client.ts x: 183 lines of code y: 19 # changes packages/bedrock-sdk/src/core/auth.ts x: 92 lines of code y: 9 # changes packages/bedrock-sdk/src/core/streaming.ts x: 69 lines of code y: 6 # changes packages/bedrock-sdk/src/mantle-client.ts x: 125 lines of code y: 2 # changes packages/vertex-sdk/src/client.ts x: 165 lines of code y: 19 # changes src/client.ts x: 1348 lines of code y: 38 # changes src/core/middleware.ts x: 147 lines of code y: 3 # changes src/internal/parse.ts x: 68 lines of code y: 11 # changes src/internal/request-options.ts x: 38 lines of code y: 11 # changes src/internal/utils/log.ts x: 131 lines of code y: 10 # changes packages/aws-sdk/src/core/middleware.ts x: 1 lines of code y: 1 # changes src/core/api.ts x: 4 lines of code y: 1 # changes src/core/error.ts x: 114 lines of code y: 4 # changes src/index.ts x: 42 lines of code y: 63 # changes src/_vendor/partial-json-parser/parser.ts x: 237 lines of code y: 5 # changes src/lib/environments/worker.ts x: 221 lines of code y: 1 # changes src/tools/agent-toolset/node.ts x: 604 lines of code y: 1 # changes src/resources/beta/skills/versions.ts x: 162 lines of code y: 1 # changes src/lib/tools/SessionToolRunner.ts x: 366 lines of code y: 1 # changes src/helpers/beta/zod.ts x: 52 lines of code y: 4 # changes src/helpers/zod.ts x: 41 lines of code y: 1 # changes src/lib/beta-parser.ts x: 123 lines of code y: 2 # changes src/resources/beta/messages/messages.ts x: 2077 lines of code y: 29 # changes src/helpers/beta/json-schema.ts x: 61 lines of code y: 2 # changes src/lib/tools/BetaToolRunner.ts x: 332 lines of code y: 4 # changes src/lib/tools/ToolRunner.ts x: 223 lines of code y: 3 # changes src/resources/beta/beta.ts x: 1141 lines of code y: 28 # changes src/resources/beta/index.ts x: 526 lines of code y: 28 # changes src/resources/beta/messages/index.ts x: 257 lines of code y: 22 # changes packages/foundry-sdk/scripts/postprocess-dist-package-json.cjs x: 8 lines of code y: 1 # changes packages/foundry-sdk/src/client.ts x: 99 lines of code y: 1 # changes src/internal/types.ts x: 48 lines of code y: 9 # changes src/internal/utils/values.ts x: 84 lines of code y: 9 # changes src/lib/tools/BetaRunnableTool.ts x: 74 lines of code y: 1 # changes src/resources/messages/messages.ts x: 1452 lines of code y: 21 # changes src/version.ts x: 1 lines of code y: 76 # changes src/resources/index.ts x: 207 lines of code y: 30 # changes src/resources/messages/index.ts x: 190 lines of code y: 12 # changes src/internal/constants.ts x: 10 lines of code y: 2 # changes src/core/streaming.ts x: 319 lines of code y: 6 # changes src/resources/beta/messages/batches.ts x: 231 lines of code y: 19 # changes src/resources/messages/batches.ts x: 124 lines of code y: 13 # changes src/core/resource.ts x: 7 lines of code y: 5 # changes src/internal/headers.ts x: 78 lines of code y: 7 # changes src/internal/uploads.ts x: 167 lines of code y: 11 # changes src/internal/utils/path.ts x: 63 lines of code y: 7 # changes src/internal/to-file.ts x: 89 lines of code y: 4 # changes src/resources/beta/files.ts x: 139 lines of code y: 1 # changes packages/bedrock-sdk/scripts/postprocess-dist-package-json.cjs x: 8 lines of code y: 5 # changes packages/vertex-sdk/scripts/postprocess-dist-package-json.cjs x: 8 lines of code y: 6 # changes eslint.config.mjs x: 38 lines of code y: 3 # changes packages/bedrock-sdk/src/AWS_restJson1.ts x: 197 lines of code y: 2 # changes packages/bedrock-sdk/src/core/error.ts x: 1 lines of code y: 3 # changes packages/bedrock-sdk/src/index.ts x: 3 lines of code y: 4 # changes scripts/publish-packages.ts x: 46 lines of code y: 3 # changes src/core/api-promise.ts x: 59 lines of code y: 3 # changes src/core/pagination.ts x: 231 lines of code y: 3 # changes src/resources/completions.ts x: 71 lines of code y: 31 # changes scripts/utils/attw-report.cjs x: 20 lines of code y: 4 # changes scripts/utils/fix-index-exports.cjs x: 15 lines of code y: 4 # changes scripts/utils/postprocess-files.cjs x: 95 lines of code y: 6 # changes src/api-promise.ts x: 1 lines of code y: 5 # changes src/error.ts x: 1 lines of code y: 14 # changes src/internal/builtin-types.ts x: 25 lines of code y: 4 # changes src/internal/decoders/jsonl.ts x: 41 lines of code y: 7 # changes src/internal/decoders/line.ts x: 90 lines of code y: 7 # changes src/internal/detect-platform.ts x: 152 lines of code y: 4 # changes src/internal/errors.ts x: 26 lines of code y: 5 # changes src/internal/shims.ts x: 74 lines of code y: 8 # changes src/internal/utils.ts x: 7 lines of code y: 3 # changes src/internal/utils/base64.ts x: 30 lines of code y: 5 # changes src/internal/utils/bytes.ts x: 29 lines of code y: 2 # changes src/internal/utils/env.ts x: 9 lines of code y: 4 # changes src/internal/utils/sleep.ts x: 13 lines of code y: 4 # changes src/pagination.ts x: 1 lines of code y: 9 # changes src/resources/beta/models.ts x: 104 lines of code y: 7 # changes src/streaming.ts x: 1 lines of code y: 30 # changes src/uploads.ts x: 1 lines of code y: 16 # changes src/resources/beta/messages.ts x: 1 lines of code y: 6 # changes src/resources/messages.ts x: 1 lines of code y: 23 # changes
76.0
# changes
  min: 1.0
  average: 8.43
  25th percentile: 2.0
  median: 4.0
  75th percentile: 9.0
  max: 76.0
0 2077.0
lines of code
min: 1.0 | average: 142.33 | 25th percentile: 3.0 | median: 46.0 | 75th percentile: 143.0 | max: 2077.0

Number of Contributors vs. Number of Changes: 109 points

src/internal/message-stream-utils.ts x: 1 # contributors y: 1 # changes src/lib/BetaMessageStream.ts x: 10 # contributors y: 25 # changes src/lib/MessageStream.ts x: 10 # contributors y: 29 # changes packages/aws-sdk/src/client.ts x: 2 # contributors y: 2 # changes packages/bedrock-sdk/src/client.ts x: 8 # contributors y: 19 # changes packages/bedrock-sdk/src/core/auth.ts x: 5 # contributors y: 9 # changes packages/bedrock-sdk/src/core/streaming.ts x: 6 # contributors y: 6 # changes packages/vertex-sdk/src/client.ts x: 7 # contributors y: 19 # changes src/client.ts x: 15 # contributors y: 38 # changes src/core/middleware.ts x: 2 # contributors y: 3 # changes src/internal/parse.ts x: 9 # contributors y: 11 # changes src/internal/request-options.ts x: 8 # contributors y: 11 # changes src/internal/utils/log.ts x: 8 # contributors y: 10 # changes src/core/error.ts x: 3 # contributors y: 4 # changes src/index.ts x: 11 # contributors y: 63 # changes src/_vendor/partial-json-parser/parser.ts x: 3 # contributors y: 5 # changes src/lib/beta-parser.ts x: 1 # contributors y: 2 # changes src/resources/beta/messages/messages.ts x: 13 # contributors y: 29 # changes src/lib/tools/BetaToolRunner.ts x: 4 # contributors y: 4 # changes src/lib/tools/ToolRunner.ts x: 3 # contributors y: 3 # changes src/resources/beta/beta.ts x: 14 # contributors y: 28 # changes src/resources/beta/messages/index.ts x: 13 # contributors y: 22 # changes src/internal/types.ts x: 6 # contributors y: 9 # changes src/resources/messages/messages.ts x: 11 # contributors y: 21 # changes src/version.ts x: 15 # contributors y: 76 # changes src/resources/index.ts x: 10 # contributors y: 30 # changes src/resources/messages/index.ts x: 7 # contributors y: 12 # changes src/core/streaming.ts x: 4 # contributors y: 6 # changes src/resources/messages/batches.ts x: 6 # contributors y: 13 # changes src/core/resource.ts x: 4 # contributors y: 5 # changes src/internal/headers.ts x: 4 # contributors y: 7 # changes src/internal/utils/path.ts x: 6 # contributors y: 7 # changes src/resources/completions.ts x: 7 # contributors y: 31 # changes src/error.ts x: 5 # contributors y: 14 # changes src/internal/shims.ts x: 5 # contributors y: 8 # changes src/resources/beta/models.ts x: 5 # contributors y: 7 # changes src/streaming.ts x: 6 # contributors y: 30 # changes src/uploads.ts x: 5 # contributors y: 16 # changes src/resources/beta/messages.ts x: 2 # contributors y: 6 # changes src/resources/messages.ts x: 6 # contributors y: 23 # changes
76.0
# changes
  min: 1.0
  average: 8.43
  25th percentile: 2.0
  median: 4.0
  75th percentile: 9.0
  max: 76.0
0 15.0
# contributors
min: 1.0 | average: 4.09 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 5.5 | max: 15.0

Number of Contributors vs. File Size: 109 points

src/internal/message-stream-utils.ts x: 1 # contributors y: 23 lines of code src/lib/BetaMessageStream.ts x: 10 # contributors y: 631 lines of code src/lib/MessageStream.ts x: 10 # contributors y: 592 lines of code packages/aws-sdk/src/client.ts x: 2 # contributors y: 162 lines of code packages/aws-sdk/src/core/auth.ts x: 1 # contributors y: 95 lines of code packages/bedrock-sdk/src/client.ts x: 8 # contributors y: 183 lines of code packages/bedrock-sdk/src/core/auth.ts x: 5 # contributors y: 92 lines of code packages/bedrock-sdk/src/core/streaming.ts x: 6 # contributors y: 69 lines of code packages/bedrock-sdk/src/mantle-client.ts x: 2 # contributors y: 125 lines of code packages/vertex-sdk/src/client.ts x: 7 # contributors y: 165 lines of code src/client.ts x: 15 # contributors y: 1348 lines of code src/core/middleware.ts x: 2 # contributors y: 147 lines of code src/internal/parse.ts x: 9 # contributors y: 68 lines of code src/internal/request-options.ts x: 8 # contributors y: 38 lines of code src/internal/utils/log.ts x: 8 # contributors y: 131 lines of code packages/aws-sdk/src/core/middleware.ts x: 1 # contributors y: 1 lines of code src/core/error.ts x: 3 # contributors y: 114 lines of code src/index.ts x: 11 # contributors y: 42 lines of code src/_vendor/partial-json-parser/parser.ts x: 3 # contributors y: 237 lines of code src/lib/environments/worker.ts x: 1 # contributors y: 221 lines of code src/tools/agent-toolset/node.ts x: 1 # contributors y: 604 lines of code src/resources/beta/skills/versions.ts x: 1 # contributors y: 162 lines of code src/lib/tools/SessionToolRunner.ts x: 1 # contributors y: 366 lines of code src/helpers/beta/zod.ts x: 3 # contributors y: 52 lines of code src/helpers/zod.ts x: 1 # contributors y: 41 lines of code src/lib/beta-parser.ts x: 1 # contributors y: 123 lines of code src/resources/beta/messages/messages.ts x: 13 # contributors y: 2077 lines of code src/helpers/beta/json-schema.ts x: 2 # contributors y: 61 lines of code src/lib/tools/BetaToolRunner.ts x: 4 # contributors y: 332 lines of code src/lib/tools/ToolRunner.ts x: 3 # contributors y: 223 lines of code src/resources/beta/beta.ts x: 14 # contributors y: 1141 lines of code src/resources/beta/index.ts x: 14 # contributors y: 526 lines of code src/resources/beta/messages/index.ts x: 13 # contributors y: 257 lines of code packages/foundry-sdk/src/client.ts x: 1 # contributors y: 99 lines of code src/internal/types.ts x: 6 # contributors y: 48 lines of code src/internal/utils/values.ts x: 5 # contributors y: 84 lines of code src/lib/tools/BetaRunnableTool.ts x: 1 # contributors y: 74 lines of code src/resources/messages/messages.ts x: 11 # contributors y: 1452 lines of code src/version.ts x: 15 # contributors y: 1 lines of code src/resources/index.ts x: 10 # contributors y: 207 lines of code src/resources/messages/index.ts x: 7 # contributors y: 190 lines of code src/internal/constants.ts x: 2 # contributors y: 10 lines of code src/core/streaming.ts x: 4 # contributors y: 319 lines of code src/resources/beta/messages/batches.ts x: 7 # contributors y: 231 lines of code src/resources/messages/batches.ts x: 6 # contributors y: 124 lines of code src/core/resource.ts x: 4 # contributors y: 7 lines of code src/internal/headers.ts x: 4 # contributors y: 78 lines of code src/internal/uploads.ts x: 8 # contributors y: 167 lines of code src/internal/utils/path.ts x: 6 # contributors y: 63 lines of code src/internal/to-file.ts x: 3 # contributors y: 89 lines of code src/resources/beta/files.ts x: 1 # contributors y: 139 lines of code eslint.config.mjs x: 2 # contributors y: 38 lines of code packages/bedrock-sdk/src/AWS_restJson1.ts x: 2 # contributors y: 197 lines of code packages/bedrock-sdk/src/core/error.ts x: 2 # contributors y: 1 lines of code packages/bedrock-sdk/src/index.ts x: 3 # contributors y: 3 lines of code scripts/publish-packages.ts x: 2 # contributors y: 46 lines of code src/core/pagination.ts x: 2 # contributors y: 231 lines of code src/internal/stream-utils.ts x: 1 # contributors y: 25 lines of code src/resources/completions.ts x: 7 # contributors y: 71 lines of code scripts/utils/attw-report.cjs x: 3 # contributors y: 20 lines of code scripts/utils/fix-index-exports.cjs x: 3 # contributors y: 15 lines of code scripts/utils/postprocess-files.cjs x: 4 # contributors y: 95 lines of code src/error.ts x: 5 # contributors y: 1 lines of code src/internal/builtin-types.ts x: 3 # contributors y: 25 lines of code src/internal/decoders/jsonl.ts x: 4 # contributors y: 41 lines of code src/internal/detect-platform.ts x: 3 # contributors y: 152 lines of code src/internal/errors.ts x: 4 # contributors y: 26 lines of code src/internal/shims.ts x: 5 # contributors y: 74 lines of code src/resource.ts x: 6 # contributors y: 1 lines of code src/resources/beta/models.ts x: 5 # contributors y: 104 lines of code
2077.0
lines of code
  min: 1.0
  average: 142.33
  25th percentile: 3.0
  median: 46.0
  75th percentile: 143.0
  max: 2077.0
0 15.0
# contributors
min: 1.0 | average: 4.09 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 5.5 | max: 15.0

Number of Changes vs. Line Churn: 445 points

packages/aws-sdk/tsconfig.build.json x: 1 # changes y: 2 line churn packages/bedrock-sdk/tsconfig.build.json x: 5 # changes y: 44 line churn packages/bedrock-sdk/tsconfig.json x: 5 # changes y: 82 line churn packages/foundry-sdk/tsconfig.build.json x: 2 # changes y: 20 line churn src/lib/BetaMessageStream.ts x: 25 # changes y: 2389 line churn src/lib/MessageStream.ts x: 29 # changes y: 1912 line churn tests/api-resources/BetaMessageStream.test.ts x: 9 # changes y: 2085 line churn tests/api-resources/MessageStream.test.ts x: 20 # changes y: 2946 line churn packages/vertex-sdk/tests/client.test.ts x: 4 # changes y: 324 line churn tests/helpers/beta/mcp.test.ts x: 1 # changes y: 84 line churn tests/lib/fixtures/tool_use_response.txt x: 4 # changes y: 137 line churn tests/lib/tools/ToolRunnerE2E.test.ts x: 3 # changes y: 264 line churn tests/lib/tools/nockFixtures/ToolRunner.json x: 2 # changes y: 608 line churn tests/responses.test.ts x: 12 # changes y: 717 line churn package.json x: 115 # changes y: 1289 line churn yarn.lock x: 36 # changes y: 18562 line churn scripts/lint x: 8 # changes y: 75 line churn packages/bedrock-sdk/jest.config.ts x: 3 # changes y: 56 line churn packages/bedrock-sdk/src/client.ts x: 19 # changes y: 880 line churn packages/bedrock-sdk/src/core/auth.ts x: 9 # changes y: 496 line churn packages/bedrock-sdk/src/core/streaming.ts x: 6 # changes y: 629 line churn packages/bedrock-sdk/tests/client.test.ts x: 4 # changes y: 461 line churn packages/bedrock-sdk/tests/streaming.test.ts x: 2 # changes y: 231 line churn packages/foundry-sdk/tests/client.test.ts x: 2 # changes y: 192 line churn src/client.ts x: 38 # changes y: 5247 line churn src/core/middleware.ts x: 3 # changes y: 353 line churn src/internal/parse.ts x: 11 # changes y: 424 line churn tests/middleware.test.ts x: 4 # changes y: 1845 line churn src/internal/utils/log.ts x: 10 # changes y: 504 line churn src/core/error.ts x: 4 # changes y: 414 line churn src/index.ts x: 63 # changes y: 4037 line churn src/_vendor/partial-json-parser/parser.ts x: 5 # changes y: 556 line churn tests/lib/partial-json.test.ts x: 3 # changes y: 187 line churn SECURITY.md x: 4 # changes y: 61 line churn packages/foundry-sdk/yarn.lock x: 2 # changes y: 3097 line churn .github/workflows/ci.yml x: 16 # changes y: 227 line churn examples/managed-agents-private-sandbox-worker.ts x: 1 # changes y: 154 line churn examples/tools-helpers-advanced-streaming.ts x: 2 # changes y: 125 line churn release-please-config.json x: 14 # changes y: 122 line churn README.md x: 69 # changes y: 2274 line churn CHANGELOG.md x: 71 # changes y: 2876 line churn src/resources/beta/messages/messages.ts x: 29 # changes y: 3580 line churn src/lib/tools/ToolRunner.ts x: 3 # changes y: 379 line churn src/resources/beta/beta.ts x: 28 # changes y: 877 line churn src/resources/beta/index.ts x: 28 # changes y: 558 line churn src/resources/beta/messages/index.ts x: 22 # changes y: 506 line churn packages/bedrock-sdk/package.json x: 28 # changes y: 255 line churn packages/vertex-sdk/package.json x: 28 # changes y: 213 line churn .release-please-manifest.json x: 76 # changes y: 274 line churn scripts/bootstrap x: 8 # changes y: 62 line churn src/internal/types.ts x: 9 # changes y: 342 line churn tests/lib/tools/ToolRunner.test.ts x: 2 # changes y: 819 line churn packages/vertex-sdk/examples/vertex.ts x: 6 # changes y: 110 line churn .stats.yml x: 39 # changes y: 124 line churn packages/bedrock-sdk/yarn.lock x: 46 # changes y: 15114 line churn packages/vertex-sdk/yarn.lock x: 49 # changes y: 7458 line churn src/internal/utils/values.ts x: 9 # changes y: 416 line churn api.md x: 35 # changes y: 743 line churn packages/vertex-sdk/CHANGELOG.md x: 21 # changes y: 462 line churn src/resources/messages/messages.ts x: 21 # changes y: 2580 line churn src/version.ts x: 76 # changes y: 171 line churn tests/api-resources/messages/messages.test.ts x: 13 # changes y: 356 line churn src/resources/index.ts x: 30 # changes y: 516 line churn src/resources/messages/index.ts x: 12 # changes y: 155 line churn packages/bedrock-sdk/CHANGELOG.md x: 17 # changes y: 907 line churn packages/bedrock-sdk/README.md x: 7 # changes y: 184 line churn examples/cancellation.ts x: 9 # changes y: 270 line churn examples/streaming.ts x: 10 # changes y: 104 line churn examples/thinking-stream.ts x: 3 # changes y: 109 line churn examples/tools.ts x: 5 # changes y: 148 line churn packages/vertex-sdk/README.md x: 8 # changes y: 384 line churn src/core/streaming.ts x: 6 # changes y: 1033 line churn src/resources/beta/messages/batches.ts x: 19 # changes y: 1623 line churn src/resources/messages/batches.ts x: 13 # changes y: 990 line churn tests/api-resources/beta/messages/batches.test.ts x: 16 # changes y: 894 line churn tests/api-resources/beta/messages/messages.test.ts x: 13 # changes y: 378 line churn tests/api-resources/messages/batches.test.ts x: 15 # changes y: 439 line churn tests/lib/sse-helpers.ts x: 4 # changes y: 195 line churn .github/workflows/publish-npm.yml x: 17 # changes y: 107 line churn bin/check-release-environment x: 7 # changes y: 37 line churn src/internal/headers.ts x: 7 # changes y: 426 line churn src/internal/uploads.ts x: 11 # changes y: 934 line churn src/internal/utils/path.ts x: 7 # changes y: 275 line churn tests/index.test.ts x: 26 # changes y: 1592 line churn tests/path.test.ts x: 5 # changes y: 1270 line churn .github/workflows/create-releases.yml x: 15 # changes y: 204 line churn MIGRATION.md x: 7 # changes y: 1073 line churn src/resources/beta/files.ts x: 1 # changes y: 258 line churn tests/uploads.test.ts x: 11 # changes y: 283 line churn packages/bedrock-sdk/build x: 7 # changes y: 138 line churn packages/vertex-sdk/scripts/postprocess-dist-package-json.cjs x: 6 # changes y: 36 line churn .github/workflows/release-doctor.yml x: 10 # changes y: 36 line churn .prettierignore x: 9 # changes y: 15 line churn packages/bedrock-sdk/src/AWS_restJson1.ts x: 2 # changes y: 458 line churn src/core/pagination.ts x: 3 # changes y: 612 line churn src/resources/completions.ts x: 31 # changes y: 1186 line churn packages/bedrock-sdk/src/auth.ts x: 5 # changes y: 344 line churn packages/bedrock-sdk/src/streaming.ts x: 7 # changes y: 443 line churn scripts/utils/postprocess-files.cjs x: 6 # changes y: 977 line churn src/_shims/README.md x: 4 # changes y: 230 line churn src/_shims/auto/types.d.ts x: 5 # changes y: 507 line churn src/_shims/index.d.ts x: 6 # changes y: 411 line churn src/_shims/registry.ts x: 6 # changes y: 337 line churn src/_shims/web-runtime.ts x: 6 # changes y: 517 line churn src/_shims/web-types.d.ts x: 5 # changes y: 417 line churn src/core.ts x: 51 # changes y: 6873 line churn src/error.ts x: 14 # changes y: 597 line churn src/internal/detect-platform.ts x: 4 # changes y: 790 line churn src/internal/shims.ts x: 8 # changes y: 585 line churn src/pagination.ts x: 9 # changes y: 790 line churn src/resource.ts x: 9 # changes y: 104 line churn src/resources/models.ts x: 7 # changes y: 336 line churn src/shims/node.ts x: 5 # changes y: 252 line churn src/streaming.ts x: 30 # changes y: 2156 line churn src/uploads.ts x: 16 # changes y: 1324 line churn tests/streaming.test.ts x: 9 # changes y: 607 line churn tsconfig.json x: 18 # changes y: 290 line churn src/resources/beta/messages.ts x: 6 # changes y: 1367 line churn src/resources/messages.ts x: 23 # changes y: 2725 line churn src/lib/PromptCachingBetaMessageStream.ts x: 2 # changes y: 1158 line churn src/resources/beta/prompt-caching/messages.ts x: 9 # changes y: 1517 line churn src/resources/beta/tools/messages.ts x: 4 # changes y: 1928 line churn build x: 14 # changes y: 256 line churn tests/api-resources/beta/MessageStream.test.ts x: 3 # changes y: 714 line churn core.ts x: 3 # changes y: 1704 line churn resources/completions.ts x: 2 # changes y: 688 line churn
18562.0
line churn
  min: 1.0
  average: 369.48
  25th percentile: 22.0
  median: 62.0
  75th percentile: 252.0
  max: 18562.0
0 115.0
# changes
min: 1.0 | average: 6.3 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 115.0

Number of Contributors vs. Line Churn: 109 points

src/internal/message-stream-utils.ts x: 1 # contributors y: 30 line churn src/lib/BetaMessageStream.ts x: 10 # contributors y: 2389 line churn src/lib/MessageStream.ts x: 10 # contributors y: 1912 line churn scripts/utils/attw.mjs x: 1 # contributors y: 20 line churn packages/aws-sdk/src/client.ts x: 2 # contributors y: 35 line churn packages/bedrock-sdk/src/client.ts x: 8 # contributors y: 880 line churn packages/bedrock-sdk/src/core/auth.ts x: 5 # contributors y: 496 line churn packages/bedrock-sdk/src/core/streaming.ts x: 6 # contributors y: 629 line churn packages/vertex-sdk/src/client.ts x: 7 # contributors y: 918 line churn src/client.ts x: 15 # contributors y: 5247 line churn src/core/middleware.ts x: 2 # contributors y: 353 line churn src/internal/parse.ts x: 9 # contributors y: 424 line churn src/internal/request-options.ts x: 8 # contributors y: 383 line churn src/internal/utils/log.ts x: 8 # contributors y: 504 line churn src/core/error.ts x: 3 # contributors y: 414 line churn src/index.ts x: 11 # contributors y: 4037 line churn src/_vendor/partial-json-parser/parser.ts x: 3 # contributors y: 556 line churn src/lib/tools/SessionToolRunner.ts x: 1 # contributors y: 45 line churn src/helpers/beta/zod.ts x: 3 # contributors y: 54 line churn src/lib/beta-parser.ts x: 1 # contributors y: 62 line churn src/resources/beta/messages/messages.ts x: 13 # contributors y: 3580 line churn src/lib/tools/BetaToolRunner.ts x: 4 # contributors y: 393 line churn src/lib/tools/ToolRunner.ts x: 3 # contributors y: 379 line churn src/resources/beta/beta.ts x: 14 # contributors y: 877 line churn src/resources/beta/index.ts x: 14 # contributors y: 558 line churn src/resources/beta/messages/index.ts x: 13 # contributors y: 506 line churn packages/foundry-sdk/src/client.ts x: 1 # contributors y: 166 line churn src/internal/types.ts x: 6 # contributors y: 342 line churn src/internal/utils/values.ts x: 5 # contributors y: 416 line churn src/resources/messages/messages.ts x: 11 # contributors y: 2580 line churn src/version.ts x: 15 # contributors y: 171 line churn src/resources/shared.ts x: 2 # contributors y: 74 line churn src/resources/index.ts x: 10 # contributors y: 516 line churn src/resources/messages/index.ts x: 7 # contributors y: 155 line churn src/internal/constants.ts x: 2 # contributors y: 15 line churn src/core/streaming.ts x: 4 # contributors y: 1033 line churn src/resources/beta/messages/batches.ts x: 7 # contributors y: 1623 line churn src/resources/messages/batches.ts x: 6 # contributors y: 990 line churn src/core/resource.ts x: 4 # contributors y: 37 line churn src/internal/headers.ts x: 4 # contributors y: 426 line churn src/internal/uploads.ts x: 8 # contributors y: 934 line churn src/internal/utils/path.ts x: 6 # contributors y: 275 line churn src/internal/to-file.ts x: 3 # contributors y: 475 line churn src/resources/beta/files.ts x: 1 # contributors y: 258 line churn eslint.config.mjs x: 2 # contributors y: 128 line churn packages/bedrock-sdk/src/AWS_restJson1.ts x: 2 # contributors y: 458 line churn packages/bedrock-sdk/src/index.ts x: 3 # contributors y: 24 line churn packages/vertex-sdk/src/index.ts x: 3 # contributors y: 12 line churn scripts/publish-packages.ts x: 2 # contributors y: 210 line churn src/core/api-promise.ts x: 2 # contributors y: 340 line churn src/core/pagination.ts x: 2 # contributors y: 612 line churn src/resources/completions.ts x: 7 # contributors y: 1186 line churn scripts/utils/attw-report.cjs x: 3 # contributors y: 95 line churn scripts/utils/postprocess-files.cjs x: 4 # contributors y: 977 line churn src/api-promise.ts x: 4 # contributors y: 335 line churn src/error.ts x: 5 # contributors y: 597 line churn src/internal/builtin-types.ts x: 3 # contributors y: 346 line churn src/internal/decoders/jsonl.ts x: 4 # contributors y: 87 line churn src/internal/decoders/line.ts x: 4 # contributors y: 290 line churn src/internal/detect-platform.ts x: 3 # contributors y: 790 line churn src/internal/errors.ts x: 4 # contributors y: 123 line churn src/internal/utils/base64.ts x: 4 # contributors y: 175 line churn src/internal/utils/uuid.ts x: 3 # contributors y: 62 line churn src/pagination.ts x: 5 # contributors y: 790 line churn src/resource.ts x: 6 # contributors y: 104 line churn src/resources/beta/models.ts x: 5 # contributors y: 366 line churn src/resources/models.ts x: 5 # contributors y: 336 line churn src/streaming.ts x: 6 # contributors y: 2156 line churn src/uploads.ts x: 5 # contributors y: 1324 line churn src/resources/beta/messages.ts x: 2 # contributors y: 1367 line churn src/resources/messages.ts x: 6 # contributors y: 2725 line churn
5247.0
line churn
  min: 1.0
  average: 489.54
  25th percentile: 19.5
  median: 155.0
  75th percentile: 536.0
  max: 5247.0
0 15.0
# contributors
min: 1.0 | average: 4.09 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 5.5 | max: 15.0

File Size vs. Line Churn: 109 points

src/internal/message-stream-utils.ts x: 23 lines of code y: 30 line churn src/lib/BetaMessageStream.ts x: 631 lines of code y: 2389 line churn src/lib/MessageStream.ts x: 592 lines of code y: 1912 line churn scripts/utils/attw.mjs x: 18 lines of code y: 20 line churn packages/aws-sdk/src/client.ts x: 162 lines of code y: 35 line churn packages/aws-sdk/src/core/auth.ts x: 95 lines of code y: 19 line churn packages/bedrock-sdk/src/client.ts x: 183 lines of code y: 880 line churn packages/bedrock-sdk/src/core/auth.ts x: 92 lines of code y: 496 line churn packages/bedrock-sdk/src/core/streaming.ts x: 69 lines of code y: 629 line churn packages/bedrock-sdk/src/mantle-client.ts x: 125 lines of code y: 35 line churn packages/vertex-sdk/src/client.ts x: 165 lines of code y: 918 line churn src/client.ts x: 1348 lines of code y: 5247 line churn src/core/middleware.ts x: 147 lines of code y: 353 line churn src/internal/parse.ts x: 68 lines of code y: 424 line churn src/internal/request-options.ts x: 38 lines of code y: 383 line churn src/internal/utils/log.ts x: 131 lines of code y: 504 line churn packages/aws-sdk/src/core/middleware.ts x: 1 lines of code y: 1 line churn src/core/api.ts x: 4 lines of code y: 11 line churn src/core/error.ts x: 114 lines of code y: 414 line churn src/index.ts x: 42 lines of code y: 4037 line churn src/_vendor/partial-json-parser/parser.ts x: 237 lines of code y: 556 line churn src/lib/environments/worker.ts x: 221 lines of code y: 5 line churn src/tools/agent-toolset/node.ts x: 604 lines of code y: 33 line churn src/resources/beta/skills/versions.ts x: 162 lines of code y: 1 line churn src/lib/tools/SessionToolRunner.ts x: 366 lines of code y: 45 line churn src/helpers/beta/zod.ts x: 52 lines of code y: 54 line churn src/helpers/zod.ts x: 41 lines of code y: 5 line churn src/lib/beta-parser.ts x: 123 lines of code y: 62 line churn src/resources/beta/messages/messages.ts x: 2077 lines of code y: 3580 line churn src/helpers/beta/json-schema.ts x: 61 lines of code y: 34 line churn src/lib/tools/BetaToolRunner.ts x: 332 lines of code y: 393 line churn src/lib/tools/ToolRunner.ts x: 223 lines of code y: 379 line churn src/resources/beta/beta.ts x: 1141 lines of code y: 877 line churn src/resources/beta/index.ts x: 526 lines of code y: 558 line churn src/resources/beta/messages/index.ts x: 257 lines of code y: 506 line churn packages/foundry-sdk/scripts/postprocess-dist-package-json.cjs x: 8 lines of code y: 11 line churn packages/foundry-sdk/src/client.ts x: 99 lines of code y: 166 line churn src/internal/types.ts x: 48 lines of code y: 342 line churn src/internal/utils/values.ts x: 84 lines of code y: 416 line churn src/lib/tools/BetaRunnableTool.ts x: 74 lines of code y: 10 line churn src/resources/messages/messages.ts x: 1452 lines of code y: 2580 line churn src/version.ts x: 1 lines of code y: 171 line churn src/resources/shared.ts x: 61 lines of code y: 74 line churn src/resources/index.ts x: 207 lines of code y: 516 line churn src/resources/messages/index.ts x: 190 lines of code y: 155 line churn src/core/streaming.ts x: 319 lines of code y: 1033 line churn src/resources/beta/messages/batches.ts x: 231 lines of code y: 1623 line churn src/resources/messages/batches.ts x: 124 lines of code y: 990 line churn src/core/resource.ts x: 7 lines of code y: 37 line churn src/internal/headers.ts x: 78 lines of code y: 426 line churn src/internal/uploads.ts x: 167 lines of code y: 934 line churn src/internal/utils/path.ts x: 63 lines of code y: 275 line churn src/internal/to-file.ts x: 89 lines of code y: 475 line churn src/resources/beta/files.ts x: 139 lines of code y: 258 line churn packages/bedrock-sdk/scripts/postprocess-dist-package-json.cjs x: 8 lines of code y: 34 line churn eslint.config.mjs x: 38 lines of code y: 128 line churn packages/bedrock-sdk/src/AWS_restJson1.ts x: 197 lines of code y: 458 line churn packages/bedrock-sdk/src/index.ts x: 3 lines of code y: 24 line churn scripts/publish-packages.ts x: 46 lines of code y: 210 line churn src/core/api-promise.ts x: 59 lines of code y: 340 line churn src/core/pagination.ts x: 231 lines of code y: 612 line churn src/resources/completions.ts x: 71 lines of code y: 1186 line churn scripts/utils/attw-report.cjs x: 20 lines of code y: 95 line churn scripts/utils/fix-index-exports.cjs x: 15 lines of code y: 42 line churn scripts/utils/postprocess-files.cjs x: 95 lines of code y: 977 line churn src/api-promise.ts x: 1 lines of code y: 335 line churn src/error.ts x: 1 lines of code y: 597 line churn src/internal/builtin-types.ts x: 25 lines of code y: 346 line churn src/internal/decoders/jsonl.ts x: 41 lines of code y: 87 line churn src/internal/decoders/line.ts x: 90 lines of code y: 290 line churn src/internal/detect-platform.ts x: 152 lines of code y: 790 line churn src/internal/errors.ts x: 26 lines of code y: 123 line churn src/internal/shims.ts x: 74 lines of code y: 585 line churn src/internal/utils/base64.ts x: 30 lines of code y: 175 line churn src/internal/utils/bytes.ts x: 29 lines of code y: 64 line churn src/internal/utils/env.ts x: 9 lines of code y: 86 line churn src/internal/utils/sleep.ts x: 13 lines of code y: 14 line churn src/internal/utils/uuid.ts x: 10 lines of code y: 62 line churn src/pagination.ts x: 1 lines of code y: 790 line churn src/resource.ts x: 1 lines of code y: 104 line churn src/resources/beta/models.ts x: 104 lines of code y: 366 line churn src/resources/models.ts x: 103 lines of code y: 336 line churn src/streaming.ts x: 1 lines of code y: 2156 line churn src/uploads.ts x: 1 lines of code y: 1324 line churn src/resources/beta/messages.ts x: 1 lines of code y: 1367 line churn src/resources/messages.ts x: 1 lines of code y: 2725 line churn scripts/utils/make-dist-package-json.cjs x: 17 lines of code y: 21 line churn
5247.0
line churn
  min: 1.0
  average: 489.54
  25th percentile: 19.5
  median: 155.0
  75th percentile: 536.0
  max: 5247.0
0 2077.0
lines of code
min: 1.0 | average: 142.33 | 25th percentile: 3.0 | median: 46.0 | 75th percentile: 143.0 | max: 2077.0