anthropics / anthropic-sdk-typescript
File Age & Freshness

File age measurements show the distribution of file ages (days since the first commit) and the file freshness (days since the latest commit).

Summary
  • Number of files: 331
  • Daily file updates (only one update per file and date counted): 445
  • First update: 2023-01-30
  • Latest update: 2026-06-18
  • Days between first and latest update: 1,236 (176 weeks, estimated 880 working days)
  • Active days (at least one file change): 313
  • Files without commit history (ignored): 222 (17,439 lines of code)
  • Data:
File Change History Overall
File Age Distribution Overall
Days since first update
  • There are 109 files with 15,514 lines of code in files.
    • 81 files that are 366+ days old (12,564 lines of code)
    • 12 files that are 181-365 days old (978 lines of code)
    • 0 files that are 91-180 days old (0 lines of code)
    • 2 files that are 31-90 days old (407 lines of code)
    • 14 files that are 1-30 days old (1,565 lines of code)
80% | 6% | 0% | 2% | 10%
Legend:
366+
181-365
91-180
31-90
1-30

explore: grouped by folders | grouped by age
File Freshness Distribution Overall
Days since last update
  • There are 109 files with 15,514 lines of code in files.
    • 49 files have been last changed 366+ days ago (1,811 lines of code)
    • 30 files have been last changed 181-365 days ago (7,969 lines of code)
    • 0 files have been last changed 91-180 days ago (0 lines of code)
    • 3 files have been last changed 31-90 days ago (459 lines of code)
    • 27 files have been last changed 1-30 days ago (5,275 lines of code)
11% | 51% | 0% | 2% | 34%
Legend:
366+
181-365
91-180
31-90
1-30

explore: grouped by folders | grouped by freshness
File Change History per File Extension
ts, json, md, cjs, yaml, txt, sh, gitignore, mjs, svg, prettierignore, snap
File Age Distribution per Extension
Days since first update
366+
181-365
91-180
31-90
1-30
ts80% | 6% | 0% | 2% | 10%
cjs95% | 4% | 0% | 0% | 0%
mjs67% | 0% | 0% | 0% | 32%
File Freshness Distribution per Extension
Days since last update
366+
181-365
91-180
31-90
1-30
ts10% | 52% | 0% | 3% | 34%
cjs95% | 4% | 0% | 0% | 0%
mjs67% | 0% | 0% | 0% | 32%
File Change History per Logical Decomposition
primary
primary (file age distribution)
Days since first update
366+
181-365
91-180
31-90
1-30
src82% | 6% | 0% | 2% | 8%
packages59% | 9% | 0% | 0% | 31%
scripts92% | 0% | 0% | 0% | 7%
ROOT100% | 0% | 0% | 0% | 0%
primary (file freshness distribution)
Days since last update
366+
181-365
91-180
31-90
1-30
src9% | 56% | 0% | 3% | 31%
packages18% | 9% | 0% | 0% | 72%
scripts92% | 0% | 0% | 0% | 7%
ROOT100% | 0% | 0% | 0% | 0%
Oldest Files (Top 50)
File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
index.ts
in src
42 - 2023-01-30 2026-06-04 63 11 justin@anthropic.com craigie@anthropic.com
index.ts
in src/resources
207 - 2023-06-30 2025-08-08 30 10 dev@stainlessapi.com gcemaj@anthropic.com
completions.ts
in src/resources
71 1 2023-06-30 2025-05-09 31 7 dev@stainlessapi.com robert@craigie.dev
1 - 2023-06-30 2025-09-10 76 15 dev@stainlessapi.com pavol.juhos@gmail.com
1 - 2023-06-30 2025-05-09 30 6 dev@stainlessapi.com robert@craigie.dev
error.ts
in src
1 - 2023-06-30 2025-05-09 14 5 dev@stainlessapi.com robert@craigie.dev
1 - 2023-06-30 2025-05-09 9 6 dev@stainlessapi.com robert@craigie.dev
1 - 2023-06-30 2025-05-09 16 5 dev@stainlessapi.com robert@craigie.dev
top-level.ts
in src/resources
1 - 2023-06-30 2025-05-09 3 3 dev@stainlessapi.com robert@craigie.dev
beta.ts
in src/resources/beta
1141 - 2023-12-19 2025-11-24 28 14 107565488+stainless-bot@use... kar.petrosyanpy@gmail.com
592 27 2023-12-19 2026-06-18 29 10 107565488+stainless-bot@use... craigie@anthropic.com
index.ts
in src/resources/beta
526 - 2023-12-19 2025-11-24 28 14 107565488+stainless-bot@use... kar.petrosyanpy@gmail.com
messages.ts
in src/resources/beta
1 - 2023-12-19 2025-03-13 6 2 107565488+stainless-bot@use... dev@stainless.com
client.ts
in packages/vertex-sdk/src
165 6 2024-01-23 2026-06-08 19 7 107565488+stainless-bot@use... tomer@anthropic.com
46 1 2024-01-23 2025-05-09 3 2 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 107565488+stainless-bot@use... robert@craigie.dev
index.ts
in packages/vertex-sdk/src
2 - 2024-01-23 2025-05-09 4 3 107565488+stainless-bot@use... robert@craigie.dev
AWS_restJson1.ts
in packages/bedrock-sdk/src
197 12 2024-01-31 2025-05-09 2 2 107565488+stainless-bot@use... robert@craigie.dev
client.ts
in packages/bedrock-sdk/src
183 5 2024-01-31 2026-06-08 19 8 107565488+stainless-bot@use... tomer@anthropic.com
postprocess-dist-package-json.cjs
in packages/bedrock-sdk/scripts
8 - 2024-01-31 2025-05-09 5 4 107565488+stainless-bot@use... robert@craigie.dev
index.ts
in packages/bedrock-sdk/src
3 - 2024-01-31 2025-05-09 4 3 107565488+stainless-bot@use... robert@craigie.dev
messages.ts
in src/resources
1 - 2024-02-12 2025-03-13 23 6 107565488+stainless-bot@use... dev@stainless.com
postprocess-files.cjs
in scripts/utils
95 3 2024-04-30 2025-05-09 6 4 107565488+stainless-bot@use... robert@craigie.dev
check-version.cjs
in scripts/utils
17 - 2024-04-30 2024-04-30 1 1 107565488+stainless-bot@use... 107565488+stainless-bot@use...
17 1 2024-04-30 2024-04-30 1 1 107565488+stainless-bot@use... 107565488+stainless-bot@use...
fix-index-exports.cjs
in scripts/utils
15 - 2024-04-30 2025-05-09 4 3 107565488+stainless-bot@use... robert@craigie.dev
client.ts
in src
1348 31 2024-05-02 2026-06-08 38 15 107565488+stainless-bot@use... tomer@anthropic.com
parser.ts
in src/_vendor/partial-json-parser
237 - 2024-05-16 2026-06-02 5 3 107565488+stainless-bot@use... craigie@anthropic.com
messages.ts
in src/resources/beta/messages
2077 4 2024-10-08 2025-11-21 29 13 robert@craigie.dev robert@craigie.dev
index.ts
in src/resources/beta/messages
257 - 2024-10-08 2025-11-24 22 13 robert@craigie.dev kar.petrosyanpy@gmail.com
batches.ts
in src/resources/beta/messages
231 7 2024-10-08 2025-07-03 19 7 robert@craigie.dev gabriel@cemaj.com
line.ts
in src/internal/decoders
90 3 2024-10-08 2025-05-09 7 4 robert@craigie.dev robert@craigie.dev
jsonl.ts
in src/internal/decoders
41 2 2024-10-08 2025-05-09 7 4 robert@craigie.dev robert@craigie.dev
1 - 2024-10-08 2025-05-09 9 5 robert@craigie.dev robert@craigie.dev
messages.ts
in src/resources/messages
1452 - 2024-12-17 2025-09-10 21 11 robert@craigie.dev pavol.juhos@gmail.com
index.ts
in src/resources/messages
190 - 2024-12-17 2025-08-08 12 7 robert@craigie.dev gcemaj@anthropic.com
batches.ts
in src/resources/messages
124 2 2024-12-17 2025-07-03 13 6 robert@craigie.dev gabriel@cemaj.com
models.ts
in src/resources/beta
104 2 2024-12-17 2025-05-09 7 5 robert@craigie.dev robert@craigie.dev
models.ts
in src/resources
103 2 2024-12-17 2025-05-09 7 5 robert@craigie.dev robert@craigie.dev
shared.ts
in src/resources
61 - 2024-12-17 2025-09-02 2 2 robert@craigie.dev wenley.tong@gmail.com
detect-platform.ts
in src/internal
152 2 2024-12-20 2025-05-09 4 3 michaelcohen@anthropic.com robert@craigie.dev
log.ts
in src/internal/utils
131 9 2024-12-20 2026-06-06 10 8 michaelcohen@anthropic.com craigie@anthropic.com
values.ts
in src/internal/utils
84 4 2024-12-20 2025-09-15 9 5 michaelcohen@anthropic.com dmeadows@stainless.com
headers.ts
in src/internal
78 - 2024-12-20 2025-07-02 7 4 michaelcohen@anthropic.com dmeadows@stainless.com
shims.ts
in src/internal
74 9 2024-12-20 2025-05-09 8 5 michaelcohen@anthropic.com robert@craigie.dev
parse.ts
in src/internal
68 2 2024-12-20 2026-06-08 11 9 michaelcohen@anthropic.com tomer@anthropic.com
types.ts
in src/internal
48 1 2024-12-20 2025-11-18 9 6 michaelcohen@anthropic.com robert@craigie.dev
request-options.ts
in src/internal
38 - 2024-12-20 2026-06-08 11 8 michaelcohen@anthropic.com tomer@anthropic.com
base64.ts
in src/internal/utils
30 - 2024-12-20 2025-05-09 5 4 michaelcohen@anthropic.com robert@craigie.dev
errors.ts
in src/internal
26 1 2024-12-20 2025-05-09 5 4 michaelcohen@anthropic.com robert@craigie.dev
Files Not Recently Changed (Top 50)
File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
17 1 2024-04-30 2024-04-30 1 1 107565488+stainless-bot@use... 107565488+stainless-bot@use...
check-version.cjs
in scripts/utils
17 - 2024-04-30 2024-04-30 1 1 107565488+stainless-bot@use... 107565488+stainless-bot@use...
messages.ts
in src/resources
1 - 2024-02-12 2025-03-13 23 6 107565488+stainless-bot@use... dev@stainless.com
beta.ts
in src/resources
1 - 2025-03-13 2025-03-13 1 1 dev@stainless.com dev@stainless.com
messages.ts
in src/resources/beta
1 - 2023-12-19 2025-03-13 6 2 107565488+stainless-bot@use... dev@stainless.com
1 - 2025-03-19 2025-03-19 1 1 robert@craigie.dev robert@craigie.dev
error.ts
in packages/bedrock-sdk/src/core
1 - 2025-03-20 2025-05-09 3 2 em@stainless.com robert@craigie.dev
pagination.ts
in packages/bedrock-sdk/src/core
1 - 2025-03-20 2025-05-09 3 2 em@stainless.com robert@craigie.dev
error.ts
in packages/vertex-sdk/src/core
1 - 2025-03-20 2025-05-09 3 2 em@stainless.com robert@craigie.dev
streaming.ts
in packages/vertex-sdk/src/core
1 - 2025-03-20 2025-05-09 3 2 em@stainless.com robert@craigie.dev
pagination.ts
in packages/vertex-sdk/src/core
1 - 2025-03-20 2025-05-09 3 2 em@stainless.com robert@craigie.dev
top-level.ts
in src/resources
1 - 2023-06-30 2025-05-09 3 3 dev@stainlessapi.com robert@craigie.dev
1 - 2023-06-30 2025-05-09 16 5 dev@stainlessapi.com robert@craigie.dev
1 - 2023-06-30 2025-05-09 9 6 dev@stainlessapi.com robert@craigie.dev
error.ts
in src
1 - 2023-06-30 2025-05-09 14 5 dev@stainlessapi.com robert@craigie.dev
1 - 2023-06-30 2025-05-09 30 6 dev@stainlessapi.com robert@craigie.dev
1 - 2024-12-20 2025-05-09 5 4 michaelcohen@anthropic.com robert@craigie.dev
1 - 2024-10-08 2025-05-09 9 5 robert@craigie.dev robert@craigie.dev
index.ts
in packages/vertex-sdk/src
2 - 2024-01-23 2025-05-09 4 3 107565488+stainless-bot@use... robert@craigie.dev
uploads.ts
in src/core
2 - 2025-03-26 2025-05-09 3 2 dev@stainless.com robert@craigie.dev
index.ts
in packages/bedrock-sdk/src
3 - 2024-01-31 2025-05-09 4 3 107565488+stainless-bot@use... robert@craigie.dev
utils.ts
in src/internal
7 - 2024-12-20 2025-05-09 3 2 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 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 107565488+stainless-bot@use... robert@craigie.dev
env.ts
in src/internal/utils
9 - 2024-12-20 2025-05-09 4 3 michaelcohen@anthropic.com robert@craigie.dev
uuid.ts
in src/internal/utils
10 - 2024-12-20 2025-05-09 4 3 michaelcohen@anthropic.com robert@craigie.dev
sleep.ts
in src/internal/utils
13 - 2024-12-20 2025-05-09 4 3 michaelcohen@anthropic.com robert@craigie.dev
fix-index-exports.cjs
in scripts/utils
15 - 2024-04-30 2025-05-09 4 3 107565488+stainless-bot@use... robert@craigie.dev
attw-report.cjs
in scripts/utils
20 - 2024-12-20 2025-05-09 4 3 michaelcohen@anthropic.com robert@craigie.dev
stream-utils.ts
in src/internal
25 3 2025-05-09 2025-05-09 1 1 robert@craigie.dev robert@craigie.dev
builtin-types.ts
in src/internal
25 - 2024-12-20 2025-05-09 4 3 michaelcohen@anthropic.com robert@craigie.dev
errors.ts
in src/internal
26 1 2024-12-20 2025-05-09 5 4 michaelcohen@anthropic.com robert@craigie.dev
bytes.ts
in src/internal/utils
29 3 2025-05-08 2025-05-09 2 1 robert@craigie.dev robert@craigie.dev
base64.ts
in src/internal/utils
30 - 2024-12-20 2025-05-09 5 4 michaelcohen@anthropic.com robert@craigie.dev
38 - 2025-02-13 2025-05-09 3 2 dev@stainlessapi.com robert@craigie.dev
jsonl.ts
in src/internal/decoders
41 2 2024-10-08 2025-05-09 7 4 robert@craigie.dev robert@craigie.dev
46 1 2024-01-23 2025-05-09 3 2 107565488+stainless-bot@use... robert@craigie.dev
api-promise.ts
in src/core
59 5 2025-03-26 2025-05-09 3 2 dev@stainless.com robert@craigie.dev
completions.ts
in src/resources
71 1 2023-06-30 2025-05-09 31 7 dev@stainlessapi.com robert@craigie.dev
shims.ts
in src/internal
74 9 2024-12-20 2025-05-09 8 5 michaelcohen@anthropic.com robert@craigie.dev
line.ts
in src/internal/decoders
90 3 2024-10-08 2025-05-09 7 4 robert@craigie.dev robert@craigie.dev
postprocess-files.cjs
in scripts/utils
95 3 2024-04-30 2025-05-09 6 4 107565488+stainless-bot@use... robert@craigie.dev
models.ts
in src/resources
103 2 2024-12-17 2025-05-09 7 5 robert@craigie.dev robert@craigie.dev
models.ts
in src/resources/beta
104 2 2024-12-17 2025-05-09 7 5 robert@craigie.dev robert@craigie.dev
detect-platform.ts
in src/internal
152 2 2024-12-20 2025-05-09 4 3 michaelcohen@anthropic.com robert@craigie.dev
AWS_restJson1.ts
in packages/bedrock-sdk/src
197 12 2024-01-31 2025-05-09 2 2 107565488+stainless-bot@use... robert@craigie.dev
pagination.ts
in src/core
231 7 2025-03-26 2025-05-09 3 2 dev@stainless.com robert@craigie.dev
to-file.ts
in src/internal
89 1 2025-03-03 2025-05-22 4 3 dev@stainless.com michaelcohen@anthropic.com
files.ts
in src/resources/beta
139 5 2025-05-22 2025-05-22 1 1 michaelcohen@anthropic.com michaelcohen@anthropic.com
resource.ts
in src/core
7 1 2025-03-26 2025-07-02 5 4 dev@stainless.com dmeadows@stainless.com
Most Recently Created Files (Top 50)
File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
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
Most Recently Changed Files (Top 50)
File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
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