openai / openai-node
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 242 files with 28,755 lines of code.
    • 1 file changed more than 100 times (1 lines of code)
    • 2 files changed 51-100 times (26 lines of code)
    • 18 files changed 21-50 times (6,655 lines of code)
    • 56 files changed 6-20 times (9,019 lines of code)
    • 165 files changed 1-5 times (13,054 lines of code)
<1% | <1% | 23% | 31% | 45%
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 242 files with 28,755 lines of code.
    • 0 files changed by more than 25 contributors (0 lines of code)
    • 10 files changed by 11-25 contributors (987 lines of code)
    • 42 files changed by 6-10 contributors (10,171 lines of code)
    • 128 files changed by 2-5 contributors (12,261 lines of code)
    • 62 files changed by 1 contributor (5,336 lines of code)
0% | 3% | 35% | 42% | 18%
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, js, gitignore, tsx, sh, snap, html, jsonl, editorconfig, babelrc, toml, jsonc, txt, mjs, prettierignore
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
ts<1% | <1% | 23% | 31% | 45%
cjs0% | 0% | 0% | 55% | 44%
mjs0% | 0% | 0% | 100% | 0%
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
src<1% | <1% | 24% | 32% | 43%
scripts0% | 0% | 0% | 7% | 92%
ROOT0% | 0% | 0% | 100% | 0%
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-07-01 2026-05-15 127 14 +192 / -190 dschnurr@openai.com xuanqi@openai.com
index.ts
in src
25 - 2023-07-01 2026-06-01 72 17 +1983 / -4042 dschnurr@openai.com jim@openai.com
completions.ts
in src/resources/chat
1 - 2023-07-01 2025-05-29 64 12 +2670 / -2264 dschnurr@openai.com robert@craigie.dev
files.ts
in src/resources
113 2 2023-07-01 2026-04-27 43 12 +725 / -369 dschnurr@openai.com apcha@openai.com
1 - 2023-07-01 2026-04-27 40 10 +1209 / -1327 dschnurr@openai.com apcha@openai.com
runs.ts
in src/resources/beta/threads/runs
433 9 2023-11-06 2026-04-27 38 9 +3159 / -3741 107565488+stainless-bot@use... apcha@openai.com
completions.ts
in src/resources
108 - 2023-07-01 2026-04-28 35 11 +1060 / -381 dschnurr@openai.com apcha@openai.com
threads.ts
in src/resources/beta/threads
535 6 2023-11-06 2026-04-27 35 8 +2735 / -1989 107565488+stainless-bot@use... apcha@openai.com
transcriptions.ts
in src/resources/audio
252 - 2023-07-01 2026-04-27 34 12 +610 / -159 dschnurr@openai.com apcha@openai.com
chat.ts
in src/resources/chat
103 - 2023-07-01 2026-04-27 33 12 +326 / -250 dschnurr@openai.com apcha@openai.com
embeddings.ts
in src/resources
68 - 2023-07-01 2026-04-27 27 11 +393 / -112 dschnurr@openai.com apcha@openai.com
client.ts
in src
1274 27 2024-05-02 2026-05-27 27 10 +5840 / -555 nikunj@openai.com jbeckwith@openai.com
translations.ts
in src/resources/audio
58 - 2023-07-01 2026-04-27 26 11 +295 / -119 dschnurr@openai.com apcha@openai.com
images.ts
in src/resources
258 - 2023-07-01 2026-04-27 25 11 +629 / -155 dschnurr@openai.com apcha@openai.com
index.ts
in src/resources/chat
47 - 2023-07-01 2026-04-27 24 10 +155 / -72 dschnurr@openai.com apcha@openai.com
index.ts
in src/resources
150 - 2023-07-01 2026-04-27 23 9 +364 / -106 dschnurr@openai.com apcha@openai.com
assistants.ts
in src/resources/beta
506 5 2024-04-17 2026-04-27 23 8 +1997 / -330 nikunj@openai.com apcha@openai.com
speech.ts
in src/resources/audio
45 1 2023-11-06 2026-04-28 22 8 +142 / -74 107565488+stainless-bot@use... apcha@openai.com
beta.ts
in src/resources/beta
192 - 2023-10-30 2026-04-27 22 8 +253 / -181 107565488+stainless-bot@use... apcha@openai.com
responses.ts
in src/resources/responses
2511 1 2025-03-11 2026-05-15 22 8 +8686 / -834 dev@stainless.com xuanqi@openai.com
error.ts
in src
1 - 2023-07-01 2026-04-27 21 10 +388 / -536 dschnurr@openai.com apcha@openai.com
jobs.ts
in src/resources/fine-tuning
1 - 2023-08-22 2025-05-29 20 10 +528 / -496 dschnurr@openai.com robert@craigie.dev
models.ts
in src/resources
31 - 2023-07-01 2026-04-27 20 9 +249 / -110 dschnurr@openai.com apcha@openai.com
index.ts
in src/resources/beta
37 - 2023-10-30 2026-04-27 20 8 +144 / -102 107565488+stainless-bot@use... apcha@openai.com
steps.ts
in src/resources/beta/threads/runs
244 2 2023-11-06 2026-04-27 20 8 +1368 / -426 107565488+stainless-bot@use... apcha@openai.com
moderations.ts
in src/resources
100 - 2023-07-01 2026-04-27 19 10 +447 / -73 dschnurr@openai.com apcha@openai.com
jobs.ts
in src/resources/fine-tuning/jobs
187 - 2024-04-15 2026-04-27 19 6 +785 / -268 107565488+stainless-bot@use... apcha@openai.com
379 12 2023-10-30 2026-06-23 19 10 +1067 / -799 107565488+stainless-bot@use... granmoe@users.noreply.githu...
messages.ts
in src/resources/beta/threads
302 5 2024-04-17 2026-04-27 18 5 +1130 / -285 107565488+stainless-bot@use... apcha@openai.com
1 - 2023-07-01 2026-04-27 17 8 +381 / -404 dschnurr@openai.com apcha@openai.com
1 - 2023-07-01 2026-04-27 17 7 +602 / -1116 dschnurr@openai.com apcha@openai.com
645 14 2023-10-30 2026-06-23 17 6 +1003 / -131 107565488+stainless-bot@use... till.kolter@axelspringer.com
batches.ts
in src/resources
129 - 2024-04-15 2026-04-27 16 6 +395 / -135 107565488+stainless-bot@use... apcha@openai.com
shared.ts
in src/resources
180 - 2023-11-08 2026-04-27 16 9 +604 / -47 107565488+stainless-bot@use... apcha@openai.com
650 24 2024-03-13 2025-06-05 16 8 +1593 / -119 atty@openai.com 56331958+lucas-levandoski@u...
completions.ts
in src/resources/chat/completions
728 - 2025-02-13 2026-04-28 16 6 +2421 / -470 dev@stainlessapi.com apcha@openai.com
audio.ts
in src/resources/audio
74 - 2023-07-01 2026-04-27 15 10 +183 / -89 dschnurr@openai.com apcha@openai.com
index.ts
in src/resources/beta/threads
75 - 2023-11-06 2026-04-27 14 7 +250 / -100 107565488+stainless-bot@use... apcha@openai.com
45 2 2023-10-30 2026-06-23 13 6 +126 / -120 107565488+stainless-bot@use... hayden@openai.com
realtime.ts
in src/resources/beta/realtime
717 - 2025-01-08 2025-07-22 13 5 +2222 / -94 107565488+stainless-bot@use... dmeadows@stainless.com
fine-tuning.ts
in src/resources/fine-tuning
65 - 2023-08-22 2026-04-27 12 10 +131 / -83 dschnurr@openai.com apcha@openai.com
index.ts
in src/resources/beta/threads/runs
46 - 2023-11-06 2025-05-29 11 6 +205 / -134 107565488+stainless-bot@use... robert@craigie.dev
azure.ts
in src
108 2 2024-12-20 2026-04-30 11 5 +830 / -73 robert@craigie.dev apcha@openai.com
zod.ts
in src/helpers
129 9 2024-08-06 2025-11-15 11 6 +215 / -35 robert@craigie.dev 22500853+sabaturgay@users.n...
sessions.ts
in src/resources/beta/realtime
180 1 2025-01-08 2026-04-30 11 6 +771 / -88 107565488+stainless-bot@use... apcha@openai.com
50 2 2023-10-30 2026-06-23 10 5 +118 / -108 107565488+stainless-bot@use... hayden@openai.com
shims.ts
in src/internal
74 9 2024-12-20 2026-04-27 10 6 +503 / -73 robert@craigie.dev apcha@openai.com
websocket.ts
in src/beta/realtime
141 5 2025-01-16 2026-06-23 10 6 +336 / -32 robert@craigie.dev felmontesgayfekadu@my.uopeo...
index.ts
in src/resources/fine-tuning
25 - 2023-08-22 2026-04-27 9 8 +64 / -28 dschnurr@openai.com apcha@openai.com
checkpoints.ts
in src/resources/fine-tuning/jobs
46 - 2024-04-15 2026-04-27 9 5 +183 / -121 107565488+stainless-bot@use... apcha@openai.com
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
responses.ts
in src/resources/responses
2511 1 2025-03-11 2026-05-15 22 8 +8686 / -834 dev@stainless.com xuanqi@openai.com
runs.ts
in src/resources/beta/threads/runs
433 9 2023-11-06 2026-04-27 38 9 +3159 / -3741 107565488+stainless-bot@use... apcha@openai.com
client.ts
in src
1274 27 2024-05-02 2026-05-27 27 10 +5840 / -555 nikunj@openai.com jbeckwith@openai.com
index.ts
in src
25 - 2023-07-01 2026-06-01 72 17 +1983 / -4042 dschnurr@openai.com jim@openai.com
completions.ts
in src/resources/chat
1 - 2023-07-01 2025-05-29 64 12 +2670 / -2264 dschnurr@openai.com robert@craigie.dev
threads.ts
in src/resources/beta/threads
535 6 2023-11-06 2026-04-27 35 8 +2735 / -1989 107565488+stainless-bot@use... apcha@openai.com
completions.ts
in src/resources/chat/completions
728 - 2025-02-13 2026-04-28 16 6 +2421 / -470 dev@stainlessapi.com apcha@openai.com
1 - 2023-07-01 2026-04-27 40 10 +1209 / -1327 dschnurr@openai.com apcha@openai.com
assistants.ts
in src/resources/beta
506 5 2024-04-17 2026-04-27 23 8 +1997 / -330 nikunj@openai.com apcha@openai.com
realtime.ts
in src/resources/beta/realtime
717 - 2025-01-08 2025-07-22 13 5 +2222 / -94 107565488+stainless-bot@use... dmeadows@stainless.com
379 12 2023-10-30 2026-06-23 19 10 +1067 / -799 107565488+stainless-bot@use... granmoe@users.noreply.githu...
steps.ts
in src/resources/beta/threads/runs
244 2 2023-11-06 2026-04-27 20 8 +1368 / -426 107565488+stainless-bot@use... apcha@openai.com
1 - 2023-07-01 2026-04-27 17 7 +602 / -1116 dschnurr@openai.com apcha@openai.com
650 24 2024-03-13 2025-06-05 16 8 +1593 / -119 atty@openai.com 56331958+lucas-levandoski@u...
vector-stores.ts
in src/resources/vector-stores
249 6 2025-03-11 2026-04-27 6 4 +1338 / -167 dev@stainless.com apcha@openai.com
files.ts
in src/resources/vector-stores
213 10 2025-03-11 2026-04-27 6 4 +1153 / -292 dev@stainless.com apcha@openai.com
completions.ts
in src/resources
108 - 2023-07-01 2026-04-28 35 11 +1060 / -381 dschnurr@openai.com apcha@openai.com
messages.ts
in src/resources/beta/threads
302 5 2024-04-17 2026-04-27 18 5 +1130 / -285 107565488+stainless-bot@use... apcha@openai.com
file-batches.ts
in src/resources/vector-stores
198 8 2025-03-11 2026-04-27 6 4 +950 / -214 dev@stainless.com apcha@openai.com
postprocess-files.cjs
in scripts/utils
85 3 2024-04-30 2026-04-28 7 6 +600 / -546 nikunj@openai.com apcha@openai.com
645 14 2023-10-30 2026-06-23 17 6 +1003 / -131 107565488+stainless-bot@use... till.kolter@axelspringer.com
uploads.ts
in src/internal
152 3 2025-01-14 2025-06-09 7 5 +921 / -182 107565488+stainless-bot@use... kwhinnery@openai.com
files.ts
in src/resources
113 2 2023-07-01 2026-04-27 43 12 +725 / -369 dschnurr@openai.com apcha@openai.com
streaming.ts
in src/core
274 14 2025-05-23 2026-04-27 6 4 +1027 / -33 robert@craigie.dev apcha@openai.com
jobs.ts
in src/resources/fine-tuning/jobs
187 - 2024-04-15 2026-04-27 19 6 +785 / -268 107565488+stainless-bot@use... apcha@openai.com
jobs.ts
in src/resources/fine-tuning
1 - 2023-08-22 2025-05-29 20 10 +528 / -496 dschnurr@openai.com robert@craigie.dev
error.ts
in src
1 - 2023-07-01 2026-04-27 21 10 +388 / -536 dschnurr@openai.com apcha@openai.com
azure.ts
in src
108 2 2024-12-20 2026-04-30 11 5 +830 / -73 robert@craigie.dev apcha@openai.com
runs.ts
in src/resources/evals/runs
816 - 2025-05-16 2026-04-27 7 3 +657 / -222 kwhinnery@openai.com apcha@openai.com
webhooks.ts
in src/resources
1 - 2025-06-26 2025-06-26 1 2 +819 / -52 kwhinnery@openai.com kwhinnery@openai.com
sessions.ts
in src/resources/beta/realtime
180 1 2025-01-08 2026-04-30 11 6 +771 / -88 107565488+stainless-bot@use... apcha@openai.com
detect-platform.ts
in src/internal
152 2 2024-12-20 2026-04-27 5 4 +794 / -6 robert@craigie.dev apcha@openai.com
1 - 2023-07-01 2026-04-27 17 8 +381 / -404 dschnurr@openai.com apcha@openai.com
images.ts
in src/resources
258 - 2023-07-01 2026-04-27 25 11 +629 / -155 dschnurr@openai.com apcha@openai.com
transcriptions.ts
in src/resources/audio
252 - 2023-07-01 2026-04-27 34 12 +610 / -159 dschnurr@openai.com apcha@openai.com
parser.ts
in src/_vendor/partial-json-parser
215 3 2024-08-06 2024-09-07 2 2 +484 / -237 robert@craigie.dev jacob@stainlessapi.com
ws-base.ts
in src/resources/responses
455 11 2026-04-27 2026-04-28 2 1 +666 / -14 apcha@openai.com apcha@openai.com
input-items.ts
in src/resources/responses
34 - 2025-03-11 2026-04-27 6 4 +584 / -83 dev@stainless.com apcha@openai.com
shared.ts
in src/resources
180 - 2023-11-08 2026-04-27 16 9 +604 / -47 107565488+stainless-bot@use... apcha@openai.com
pagination.ts
in src/core
246 9 2025-05-23 2026-04-27 3 3 +638 / -10 robert@craigie.dev apcha@openai.com
ResponseStream.ts
in src/lib/responses
234 8 2025-03-11 2026-06-23 5 4 +493 / -142 robert@craigie.dev 153991321+theamodhshetty@us...
to-file.ts
in src/internal
85 1 2025-03-03 2026-04-27 4 4 +621 / -7 dev@stainless.com apcha@openai.com
error.ts
in src/core
149 10 2025-05-23 2026-04-27 5 4 +570 / -21 robert@craigie.dev apcha@openai.com
shims.ts
in src/internal
74 9 2024-12-20 2026-04-27 10 6 +503 / -73 robert@craigie.dev apcha@openai.com
chat.ts
in src/resources/chat
103 - 2023-07-01 2026-04-27 33 12 +326 / -250 dschnurr@openai.com apcha@openai.com
log.ts
in src/internal/utils
112 7 2024-12-20 2026-04-27 6 5 +533 / -36 robert@craigie.dev apcha@openai.com
batches.ts
in src/resources
129 - 2024-04-15 2026-04-27 16 6 +395 / -135 107565488+stainless-bot@use... apcha@openai.com
files.ts
in src/resources/containers/files
108 1 2025-05-21 2026-04-27 5 3 +387 / -135 kwhinnery@openai.com apcha@openai.com
moderations.ts
in src/resources
100 - 2023-07-01 2026-04-27 19 10 +447 / -73 dschnurr@openai.com apcha@openai.com
embeddings.ts
in src/resources
68 - 2023-07-01 2026-04-27 27 11 +393 / -112 dschnurr@openai.com apcha@openai.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
index.ts
in src
25 - 2023-07-01 2026-06-01 72 17 +1983 / -4042 dschnurr@openai.com jim@openai.com
1 - 2023-07-01 2026-05-15 127 14 +192 / -190 dschnurr@openai.com xuanqi@openai.com
completions.ts
in src/resources/chat
1 - 2023-07-01 2025-05-29 64 12 +2670 / -2264 dschnurr@openai.com robert@craigie.dev
files.ts
in src/resources
113 2 2023-07-01 2026-04-27 43 12 +725 / -369 dschnurr@openai.com apcha@openai.com
transcriptions.ts
in src/resources/audio
252 - 2023-07-01 2026-04-27 34 12 +610 / -159 dschnurr@openai.com apcha@openai.com
chat.ts
in src/resources/chat
103 - 2023-07-01 2026-04-27 33 12 +326 / -250 dschnurr@openai.com apcha@openai.com
completions.ts
in src/resources
108 - 2023-07-01 2026-04-28 35 11 +1060 / -381 dschnurr@openai.com apcha@openai.com
embeddings.ts
in src/resources
68 - 2023-07-01 2026-04-27 27 11 +393 / -112 dschnurr@openai.com apcha@openai.com
translations.ts
in src/resources/audio
58 - 2023-07-01 2026-04-27 26 11 +295 / -119 dschnurr@openai.com apcha@openai.com
images.ts
in src/resources
258 - 2023-07-01 2026-04-27 25 11 +629 / -155 dschnurr@openai.com apcha@openai.com
1 - 2023-07-01 2026-04-27 40 10 +1209 / -1327 dschnurr@openai.com apcha@openai.com
client.ts
in src
1274 27 2024-05-02 2026-05-27 27 10 +5840 / -555 nikunj@openai.com jbeckwith@openai.com
index.ts
in src/resources/chat
47 - 2023-07-01 2026-04-27 24 10 +155 / -72 dschnurr@openai.com apcha@openai.com
error.ts
in src
1 - 2023-07-01 2026-04-27 21 10 +388 / -536 dschnurr@openai.com apcha@openai.com
jobs.ts
in src/resources/fine-tuning
1 - 2023-08-22 2025-05-29 20 10 +528 / -496 dschnurr@openai.com robert@craigie.dev
moderations.ts
in src/resources
100 - 2023-07-01 2026-04-27 19 10 +447 / -73 dschnurr@openai.com apcha@openai.com
379 12 2023-10-30 2026-06-23 19 10 +1067 / -799 107565488+stainless-bot@use... granmoe@users.noreply.githu...
audio.ts
in src/resources/audio
74 - 2023-07-01 2026-04-27 15 10 +183 / -89 dschnurr@openai.com apcha@openai.com
fine-tuning.ts
in src/resources/fine-tuning
65 - 2023-08-22 2026-04-27 12 10 +131 / -83 dschnurr@openai.com apcha@openai.com
runs.ts
in src/resources/beta/threads/runs
433 9 2023-11-06 2026-04-27 38 9 +3159 / -3741 107565488+stainless-bot@use... apcha@openai.com
index.ts
in src/resources
150 - 2023-07-01 2026-04-27 23 9 +364 / -106 dschnurr@openai.com apcha@openai.com
models.ts
in src/resources
31 - 2023-07-01 2026-04-27 20 9 +249 / -110 dschnurr@openai.com apcha@openai.com
shared.ts
in src/resources
180 - 2023-11-08 2026-04-27 16 9 +604 / -47 107565488+stainless-bot@use... apcha@openai.com
threads.ts
in src/resources/beta/threads
535 6 2023-11-06 2026-04-27 35 8 +2735 / -1989 107565488+stainless-bot@use... apcha@openai.com
assistants.ts
in src/resources/beta
506 5 2024-04-17 2026-04-27 23 8 +1997 / -330 nikunj@openai.com apcha@openai.com
speech.ts
in src/resources/audio
45 1 2023-11-06 2026-04-28 22 8 +142 / -74 107565488+stainless-bot@use... apcha@openai.com
beta.ts
in src/resources/beta
192 - 2023-10-30 2026-04-27 22 8 +253 / -181 107565488+stainless-bot@use... apcha@openai.com
responses.ts
in src/resources/responses
2511 1 2025-03-11 2026-05-15 22 8 +8686 / -834 dev@stainless.com xuanqi@openai.com
steps.ts
in src/resources/beta/threads/runs
244 2 2023-11-06 2026-04-27 20 8 +1368 / -426 107565488+stainless-bot@use... apcha@openai.com
index.ts
in src/resources/beta
37 - 2023-10-30 2026-04-27 20 8 +144 / -102 107565488+stainless-bot@use... apcha@openai.com
1 - 2023-07-01 2026-04-27 17 8 +381 / -404 dschnurr@openai.com apcha@openai.com
650 24 2024-03-13 2025-06-05 16 8 +1593 / -119 atty@openai.com 56331958+lucas-levandoski@u...
index.ts
in src/resources/fine-tuning
25 - 2023-08-22 2026-04-27 9 8 +64 / -28 dschnurr@openai.com apcha@openai.com
1 - 2023-07-01 2026-04-27 17 7 +602 / -1116 dschnurr@openai.com apcha@openai.com
index.ts
in src/resources/beta/threads
75 - 2023-11-06 2026-04-27 14 7 +250 / -100 107565488+stainless-bot@use... apcha@openai.com
1 - 2023-07-01 2026-04-27 8 7 +61 / -53 dschnurr@openai.com apcha@openai.com
index.ts
in src/resources/audio
27 - 2023-07-01 2026-04-27 7 7 +68 / -20 dschnurr@openai.com apcha@openai.com
jobs.ts
in src/resources/fine-tuning/jobs
187 - 2024-04-15 2026-04-27 19 6 +785 / -268 107565488+stainless-bot@use... apcha@openai.com
645 14 2023-10-30 2026-06-23 17 6 +1003 / -131 107565488+stainless-bot@use... till.kolter@axelspringer.com
batches.ts
in src/resources
129 - 2024-04-15 2026-04-27 16 6 +395 / -135 107565488+stainless-bot@use... apcha@openai.com
completions.ts
in src/resources/chat/completions
728 - 2025-02-13 2026-04-28 16 6 +2421 / -470 dev@stainlessapi.com apcha@openai.com
45 2 2023-10-30 2026-06-23 13 6 +126 / -120 107565488+stainless-bot@use... hayden@openai.com
zod.ts
in src/helpers
129 9 2024-08-06 2025-11-15 11 6 +215 / -35 robert@craigie.dev 22500853+sabaturgay@users.n...
index.ts
in src/resources/beta/threads/runs
46 - 2023-11-06 2025-05-29 11 6 +205 / -134 107565488+stainless-bot@use... robert@craigie.dev
sessions.ts
in src/resources/beta/realtime
180 1 2025-01-08 2026-04-30 11 6 +771 / -88 107565488+stainless-bot@use... apcha@openai.com
shims.ts
in src/internal
74 9 2024-12-20 2026-04-27 10 6 +503 / -73 robert@craigie.dev apcha@openai.com
websocket.ts
in src/beta/realtime
141 5 2025-01-16 2026-06-23 10 6 +336 / -32 robert@craigie.dev felmontesgayfekadu@my.uopeo...
uploads.ts
in src/resources/uploads
63 - 2024-11-01 2026-04-27 9 6 +58 / -69 dev+git@stainlessapi.com apcha@openai.com
parse.ts
in src/internal
81 2 2024-12-20 2026-04-27 7 6 +378 / -23 robert@craigie.dev apcha@openai.com
index.ts
in src/resources/fine-tuning/jobs
19 - 2024-04-15 2026-04-27 7 6 +70 / -32 107565488+stainless-bot@use... apcha@openai.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
usage.ts
in src/resources/admin/organization
1706 -
audit-logs.ts
in src/resources/admin/organization
619 -
projects.ts
in src/resources/admin/organization/projects
305 -
organization.ts
in src/resources/admin/organization
257 -
certificates.ts
in src/resources/admin/organization
179 -
groups.ts
in src/resources/admin/organization/groups
140 -
roles.ts
in src/resources/admin/organization/projects/groups
138 -
spend-alerts.ts
in src/resources/admin/organization/projects
137 -
users.ts
in src/resources/admin/organization/users
132 -
roles.ts
in src/resources/admin/organization/groups
128 -
roles.ts
in src/resources/admin/organization/projects/users
126 -
service-accounts.ts
in src/resources/admin/organization/projects
124 -
users.ts
in src/resources/admin/organization/projects/users
120 -
roles.ts
in src/resources/admin/organization/users
120 -
index.ts
in src/resources/admin/organization
115 -
spend-alerts.ts
in src/resources/admin/organization
112 -
convert-jsr-readme.cjs
in scripts/utils
112 8
certificates.ts
in src/resources/admin/organization/projects
111 -
groups.ts
in src/resources/admin/organization/projects/groups
109 -
index.ts
in src/resources/admin/organization/projects
101 -
api-keys.ts
in src/resources/admin/organization/projects
98 -
users.ts
in src/resources/admin/organization/groups
91 -
roles.ts
in src/resources/admin/organization/projects
85 -
invites.ts
in src/resources/admin/organization
84 -
admin-api-keys.ts
in src/resources/admin/organization
82 -
roles.ts
in src/resources/admin/organization
81 -
hosted-tool-permissions.ts
in src/resources/admin/organization/projects
77 -
rate-limits.ts
in src/resources/admin/organization/projects
66 -
model-permissions.ts
in src/resources/admin/organization/projects
49 -
data-retention.ts
in src/resources/admin/organization/projects
48 -
data-retention.ts
in src/resources/admin/organization
39 -
index.ts
in src/resources/admin/organization/groups
34 -
stream-utils.ts
in src/internal
25 3
index.ts
in src/resources/admin/organization/projects/users
23 -
index.ts
in src/resources/admin/organization/projects/groups
22 -
index.ts
in src/resources/admin/organization/users
20 -
admin.ts
in src/resources/admin
10 -
index.ts
in src/resources/admin
2 -
index.ts
in src/realtime
1 -
1 -
alpha.ts
in src/resources/fine-tuning
1 -
checkpoints.ts
in src/resources/fine-tuning
1 -
conversations.ts
in src/resources
1 -
versions.ts
in src/resources/skills
1 -
graders.ts
in src/resources
1 -
chatkit.ts
in src/resources/beta
1 -
users.ts
in src/resources/admin/organization
1 -
users.ts
in src/resources/admin/organization/projects
1 -
groups.ts
in src/resources/admin/organization/projects
1 -
projects.ts
in src/resources/admin/organization
1 -
Correlations

File Size vs. Number of Changes: 242 points

src/beta/realtime/internal-base.ts x: 92 lines of code y: 4 # changes src/beta/realtime/websocket.ts x: 141 lines of code y: 10 # changes src/beta/realtime/ws.ts x: 110 lines of code y: 7 # changes src/realtime/internal-base.ts x: 133 lines of code y: 1 # changes src/realtime/websocket.ts x: 139 lines of code y: 3 # changes src/realtime/ws.ts x: 108 lines of code y: 3 # changes src/lib/responses/ResponseInputItems.ts x: 101 lines of code y: 1 # changes src/lib/responses/ResponseAccumulator.ts x: 397 lines of code y: 1 # changes src/lib/responses/ResponseStream.ts x: 234 lines of code y: 5 # changes src/_vendor/zod-to-json-schema/parseDef.ts x: 230 lines of code y: 6 # changes src/_vendor/zod-to-json-schema/parsers/branded.ts x: 6 lines of code y: 3 # changes src/_vendor/zod-to-json-schema/parsers/default.ts x: 13 lines of code y: 3 # changes src/_vendor/zod-to-json-schema/parsers/nullable.ts x: 49 lines of code y: 4 # changes src/_vendor/zod-to-json-schema/parsers/optional.ts x: 33 lines of code y: 5 # changes src/_vendor/zod-to-json-schema/parsers/pipeline.ts x: 26 lines of code y: 3 # changes src/lib/ResponsesParser.ts x: 237 lines of code y: 4 # changes src/lib/EventEmitter.ts x: 67 lines of code y: 3 # changes src/lib/ChatCompletionStream.ts x: 645 lines of code y: 17 # changes src/lib/AbstractChatCompletionRunner.ts x: 379 lines of code y: 19 # changes src/lib/ChatCompletionRunner.ts x: 50 lines of code y: 10 # changes src/lib/ChatCompletionStreamingRunner.ts x: 45 lines of code y: 13 # changes scripts/_vendor/tsc-multi/src/build.ts x: 115 lines of code y: 1 # changes scripts/_vendor/tsc-multi/src/cli.ts x: 89 lines of code y: 1 # changes scripts/_vendor/tsc-multi/src/config.ts x: 51 lines of code y: 1 # changes scripts/_vendor/tsc-multi/src/debug.ts x: 13 lines of code y: 1 # changes scripts/_vendor/tsc-multi/src/index.ts x: 2 lines of code y: 1 # changes scripts/_vendor/tsc-multi/src/report.ts x: 58 lines of code y: 1 # changes scripts/_vendor/tsc-multi/src/transformer.ts x: 296 lines of code y: 1 # changes scripts/_vendor/tsc-multi/src/utils.ts x: 42 lines of code y: 1 # changes scripts/_vendor/tsc-multi/src/worker/entry.ts x: 18 lines of code y: 1 # changes scripts/_vendor/tsc-multi/src/worker/worker.ts x: 357 lines of code y: 1 # changes src/bedrock.ts x: 121 lines of code y: 1 # changes src/index.ts x: 25 lines of code y: 72 # changes src/client.ts x: 1274 lines of code y: 27 # changes src/internal/types.ts x: 55 lines of code y: 8 # changes src/auth/types.ts x: 17 lines of code y: 4 # changes src/auth/workload-identity-auth.ts x: 100 lines of code y: 4 # changes src/resources/responses/responses.ts x: 2511 lines of code y: 22 # changes src/version.ts x: 1 lines of code y: 127 # changes src/azure.ts x: 108 lines of code y: 11 # changes src/resources/beta/realtime/sessions.ts x: 180 lines of code y: 11 # changes src/resources/beta/realtime/transcription-sessions.ts x: 81 lines of code y: 4 # changes src/resources/fine-tuning/checkpoints/permissions.ts x: 120 lines of code y: 6 # changes eslint.config.mjs x: 38 lines of code y: 7 # changes scripts/utils/postprocess-files.cjs x: 85 lines of code y: 7 # changes src/core/EventEmitter.ts x: 65 lines of code y: 1 # changes src/internal/utils/env.ts x: 9 lines of code y: 5 # changes src/internal/ws-adapter-browser.ts x: 94 lines of code y: 1 # changes src/internal/ws-adapter-node.ts x: 80 lines of code y: 1 # changes src/internal/ws-adapter.ts x: 21 lines of code y: 1 # changes src/internal/ws.ts x: 129 lines of code y: 2 # changes src/resources/audio/speech.ts x: 45 lines of code y: 22 # changes src/resources/chat/completions/completions.ts x: 728 lines of code y: 16 # changes src/resources/completions.ts x: 108 lines of code y: 35 # changes src/resources/responses/internal-base.ts x: 81 lines of code y: 2 # changes src/resources/responses/ws-base.ts x: 455 lines of code y: 2 # changes src/resources/responses/ws.ts x: 30 lines of code y: 2 # changes src/api-promise.ts x: 1 lines of code y: 5 # changes src/core/api-promise.ts x: 59 lines of code y: 3 # changes src/core/error.ts x: 149 lines of code y: 5 # changes src/core/pagination.ts x: 246 lines of code y: 3 # changes src/core/streaming.ts x: 274 lines of code y: 6 # changes src/error.ts x: 1 lines of code y: 21 # changes src/internal/builtin-types.ts x: 25 lines of code y: 5 # changes src/internal/detect-platform.ts x: 152 lines of code y: 5 # changes src/internal/errors.ts x: 26 lines of code y: 6 # changes src/internal/headers.ts x: 76 lines of code y: 4 # changes src/internal/parse.ts x: 81 lines of code y: 7 # changes src/internal/qs/utils.ts x: 215 lines of code y: 2 # changes src/internal/request-options.ts x: 35 lines of code y: 7 # changes src/internal/shim-types.ts x: 10 lines of code y: 2 # changes src/internal/shims.ts x: 74 lines of code y: 10 # changes src/internal/to-file.ts x: 85 lines of code y: 4 # changes src/internal/utils/log.ts x: 112 lines of code y: 6 # changes src/internal/utils/uuid.ts x: 10 lines of code y: 5 # changes src/pagination.ts x: 1 lines of code y: 17 # changes src/resource.ts x: 1 lines of code y: 8 # changes src/resources/audio/audio.ts x: 74 lines of code y: 15 # changes src/resources/audio/index.ts x: 27 lines of code y: 7 # changes src/resources/audio/transcriptions.ts x: 252 lines of code y: 34 # changes src/resources/audio/translations.ts x: 58 lines of code y: 26 # changes src/resources/batches.ts x: 129 lines of code y: 16 # changes src/resources/beta/assistants.ts x: 506 lines of code y: 23 # changes src/resources/beta/beta.ts x: 192 lines of code y: 22 # changes src/resources/beta/chatkit/chatkit.ts x: 77 lines of code y: 2 # changes src/resources/beta/chatkit/sessions.ts x: 33 lines of code y: 1 # changes src/resources/beta/chatkit/threads.ts x: 342 lines of code y: 1 # changes src/resources/beta/index.ts x: 37 lines of code y: 20 # changes src/resources/beta/threads/index.ts x: 75 lines of code y: 14 # changes src/resources/beta/threads/messages.ts x: 302 lines of code y: 18 # changes src/resources/beta/threads/runs/runs.ts x: 433 lines of code y: 38 # changes src/resources/beta/threads/runs/steps.ts x: 244 lines of code y: 20 # changes src/resources/beta/threads/threads.ts x: 535 lines of code y: 35 # changes src/resources/chat/chat.ts x: 103 lines of code y: 33 # changes src/resources/chat/index.ts x: 47 lines of code y: 24 # changes src/resources/containers/containers.ts x: 152 lines of code y: 4 # changes src/resources/containers/files/content.ts x: 22 lines of code y: 4 # changes src/resources/containers/files/files.ts x: 108 lines of code y: 5 # changes src/resources/containers/files/index.ts x: 12 lines of code y: 4 # changes src/resources/conversations/conversations.ts x: 144 lines of code y: 2 # changes src/resources/conversations/items.ts x: 198 lines of code y: 1 # changes src/resources/embeddings.ts x: 68 lines of code y: 27 # changes src/resources/evals/evals.ts x: 315 lines of code y: 5 # changes src/resources/evals/index.ts x: 31 lines of code y: 3 # changes src/resources/evals/runs/runs.ts x: 816 lines of code y: 7 # changes src/resources/files.ts x: 113 lines of code y: 43 # changes src/resources/fine-tuning/alpha/alpha.ts x: 22 lines of code y: 3 # changes src/resources/fine-tuning/alpha/graders.ts x: 89 lines of code y: 5 # changes src/resources/fine-tuning/alpha/index.ts x: 8 lines of code y: 1 # changes src/resources/fine-tuning/checkpoints/index.ts x: 14 lines of code y: 5 # changes src/resources/fine-tuning/fine-tuning.ts x: 65 lines of code y: 12 # changes src/resources/fine-tuning/index.ts x: 25 lines of code y: 9 # changes src/resources/fine-tuning/jobs/checkpoints.ts x: 46 lines of code y: 9 # changes src/resources/fine-tuning/jobs/index.ts x: 19 lines of code y: 7 # changes src/resources/fine-tuning/jobs/jobs.ts x: 187 lines of code y: 19 # changes src/resources/fine-tuning/methods.ts x: 48 lines of code y: 3 # changes src/resources/graders/grader-models.ts x: 142 lines of code y: 6 # changes src/resources/images.ts x: 258 lines of code y: 25 # changes src/resources/index.ts x: 150 lines of code y: 23 # changes src/resources/models.ts x: 31 lines of code y: 20 # changes src/resources/moderations.ts x: 100 lines of code y: 19 # changes src/resources/realtime/calls.ts x: 91 lines of code y: 3 # changes src/resources/realtime/client-secrets.ts x: 203 lines of code y: 3 # changes src/resources/realtime/realtime.ts x: 1476 lines of code y: 4 # changes src/resources/responses/input-items.ts x: 34 lines of code y: 6 # changes src/resources/responses/input-tokens.ts x: 56 lines of code y: 2 # changes src/resources/shared.ts x: 180 lines of code y: 16 # changes src/resources/skills/skills.ts x: 110 lines of code y: 1 # changes src/resources/skills/versions/versions.ts x: 105 lines of code y: 1 # changes src/resources/uploads/index.ts x: 2 lines of code y: 2 # changes src/resources/uploads/parts.ts x: 26 lines of code y: 8 # changes src/resources/uploads/uploads.ts x: 63 lines of code y: 9 # changes src/resources/vector-stores/file-batches.ts x: 198 lines of code y: 6 # changes src/resources/vector-stores/files.ts x: 213 lines of code y: 6 # changes src/resources/vector-stores/index.ts x: 41 lines of code y: 4 # changes src/resources/vector-stores/vector-stores.ts x: 249 lines of code y: 6 # changes src/resources/videos.ts x: 186 lines of code y: 3 # changes src/resources/webhooks/webhooks.ts x: 665 lines of code y: 1 # changes src/streaming.ts x: 1 lines of code y: 40 # changes src/auth/subject-token-providers.ts x: 157 lines of code y: 1 # changes src/helpers/zod.ts x: 129 lines of code y: 11 # changes src/lib/jsonschema.ts x: 83 lines of code y: 2 # changes src/lib/transform.ts x: 152 lines of code y: 1 # changes src/_vendor/zod-to-json-schema/Options.ts x: 73 lines of code y: 5 # changes src/_vendor/zod-to-json-schema/Refs.ts x: 38 lines of code y: 4 # changes src/_vendor/zod-to-json-schema/parsers/array.ts x: 33 lines of code y: 2 # changes src/_vendor/zod-to-json-schema/parsers/map.ts x: 39 lines of code y: 2 # changes src/_vendor/zod-to-json-schema/parsers/nativeEnum.ts x: 22 lines of code y: 2 # changes src/_vendor/zod-to-json-schema/parsers/record.ts x: 65 lines of code y: 2 # changes src/_vendor/zod-to-json-schema/parsers/string.ts x: 331 lines of code y: 2 # changes src/_vendor/zod-to-json-schema/parsers/tuple.ts x: 52 lines of code y: 2 # changes src/_vendor/zod-to-json-schema/parsers/union.ts x: 100 lines of code y: 2 # changes src/_vendor/zod-to-json-schema/util.ts x: 9 lines of code y: 2 # changes src/_vendor/zod-to-json-schema/zodToJsonSchema.ts x: 99 lines of code y: 6 # changes src/resources/beta/realtime/realtime.ts x: 717 lines of code y: 13 # changes src/internal/uploads.ts x: 152 lines of code y: 7 # changes src/lib/AssistantStream.ts x: 650 lines of code y: 16 # changes src/helpers/audio.ts x: 126 lines of code y: 3 # changes src/internal/decoders/line.ts x: 90 lines of code y: 6 # changes src/internal/utils/sleep.ts x: 1 lines of code y: 4 # changes src/lib/RunnableFunction.ts x: 67 lines of code y: 6 # changes src/lib/parser.ts x: 267 lines of code y: 6 # changes src/resources/audio.ts x: 1 lines of code y: 3 # changes src/resources/beta/threads/runs/index.ts x: 46 lines of code y: 11 # changes src/resources/chat/completions.ts x: 1 lines of code y: 64 # changes src/resources/chat/completions/index.ts x: 48 lines of code y: 5 # changes src/resources/fine-tuning/jobs.ts x: 1 lines of code y: 20 # changes src/lib/responses/EventTypes.ts x: 71 lines of code y: 2 # changes src/lib/EventStream.ts x: 163 lines of code y: 2 # changes src/internal/qs/stringify.ts x: 324 lines of code y: 1 # changes src/internal/qs/types.ts x: 62 lines of code y: 1 # changes src/_vendor/zod-to-json-schema/errorMessages.ts x: 28 lines of code y: 1 # changes src/_vendor/zod-to-json-schema/index.ts x: 37 lines of code y: 1 # changes
127.0
# changes
  min: 1.0
  average: 7.42
  25th percentile: 2.0
  median: 3.0
  75th percentile: 7.0
  max: 127.0
0 2511.0
lines of code
min: 1.0 | average: 118.82 | 25th percentile: 13.75 | median: 50.5 | 75th percentile: 126.75 | max: 2511.0

Number of Contributors vs. Number of Changes: 242 points

src/beta/realtime/internal-base.ts x: 3 # contributors y: 4 # changes src/beta/realtime/websocket.ts x: 6 # contributors y: 10 # changes src/beta/realtime/ws.ts x: 4 # contributors y: 7 # changes src/realtime/internal-base.ts x: 1 # contributors y: 1 # changes src/realtime/websocket.ts x: 2 # contributors y: 3 # changes src/lib/responses/ResponseStream.ts x: 4 # contributors y: 5 # changes src/_vendor/zod-to-json-schema/parseDef.ts x: 3 # contributors y: 6 # changes src/_vendor/zod-to-json-schema/parsers/branded.ts x: 3 # contributors y: 3 # changes src/_vendor/zod-to-json-schema/parsers/optional.ts x: 6 # contributors y: 5 # changes src/lib/ResponsesParser.ts x: 5 # contributors y: 4 # changes src/lib/ChatCompletionStream.ts x: 6 # contributors y: 17 # changes src/lib/AbstractChatCompletionRunner.ts x: 10 # contributors y: 19 # changes src/lib/ChatCompletionRunner.ts x: 5 # contributors y: 10 # changes src/lib/ChatCompletionStreamingRunner.ts x: 6 # contributors y: 13 # changes src/index.ts x: 17 # contributors y: 72 # changes src/client.ts x: 10 # contributors y: 27 # changes src/internal/types.ts x: 5 # contributors y: 8 # changes src/auth/types.ts x: 4 # contributors y: 4 # changes src/resources/responses/responses.ts x: 8 # contributors y: 22 # changes src/version.ts x: 14 # contributors y: 127 # changes src/azure.ts x: 5 # contributors y: 11 # changes src/resources/beta/realtime/sessions.ts x: 6 # contributors y: 11 # changes eslint.config.mjs x: 5 # contributors y: 7 # changes scripts/utils/postprocess-files.cjs x: 6 # contributors y: 7 # changes src/internal/ws.ts x: 1 # contributors y: 2 # changes src/resources/chat/completions/completions.ts x: 6 # contributors y: 16 # changes src/resources/completions.ts x: 11 # contributors y: 35 # changes src/core/streaming.ts x: 4 # contributors y: 6 # changes src/error.ts x: 10 # contributors y: 21 # changes src/internal/errors.ts x: 5 # contributors y: 6 # changes src/internal/qs/utils.ts x: 2 # contributors y: 2 # changes src/pagination.ts x: 8 # contributors y: 17 # changes src/resource.ts x: 7 # contributors y: 8 # changes src/resources/audio/audio.ts x: 10 # contributors y: 15 # changes src/resources/audio/index.ts x: 7 # contributors y: 7 # changes src/resources/audio/transcriptions.ts x: 12 # contributors y: 34 # changes src/resources/audio/translations.ts x: 11 # contributors y: 26 # changes src/resources/beta/assistants.ts x: 8 # contributors y: 23 # changes src/resources/beta/index.ts x: 8 # contributors y: 20 # changes src/resources/beta/threads/index.ts x: 7 # contributors y: 14 # changes src/resources/beta/threads/messages.ts x: 5 # contributors y: 18 # changes src/resources/beta/threads/runs/runs.ts x: 9 # contributors y: 38 # changes src/resources/beta/threads/threads.ts x: 8 # contributors y: 35 # changes src/resources/chat/chat.ts x: 12 # contributors y: 33 # changes src/resources/chat/completions/messages.ts x: 5 # contributors y: 5 # changes src/resources/chat/index.ts x: 10 # contributors y: 24 # changes src/resources/containers/files/files.ts x: 3 # contributors y: 5 # changes src/resources/embeddings.ts x: 11 # contributors y: 27 # changes src/resources/evals/runs/runs.ts x: 3 # contributors y: 7 # changes src/resources/files.ts x: 12 # contributors y: 43 # changes src/resources/fine-tuning/fine-tuning.ts x: 10 # contributors y: 12 # changes src/resources/fine-tuning/index.ts x: 8 # contributors y: 9 # changes src/resources/fine-tuning/jobs/checkpoints.ts x: 5 # contributors y: 9 # changes src/resources/fine-tuning/jobs/jobs.ts x: 6 # contributors y: 19 # changes src/resources/images.ts x: 11 # contributors y: 25 # changes src/resources/index.ts x: 9 # contributors y: 23 # changes src/resources/models.ts x: 9 # contributors y: 20 # changes src/resources/realtime/realtime.ts x: 2 # contributors y: 4 # changes src/resources/shared.ts x: 9 # contributors y: 16 # changes src/resources/uploads/uploads.ts x: 6 # contributors y: 9 # changes src/streaming.ts x: 10 # contributors y: 40 # changes src/uploads.ts x: 7 # contributors y: 17 # changes src/auth/index.ts x: 2 # contributors y: 1 # changes src/_vendor/zod-to-json-schema/Options.ts x: 2 # contributors y: 5 # changes src/_vendor/zod-to-json-schema/zodToJsonSchema.ts x: 2 # contributors y: 6 # changes src/resources/beta/realtime/realtime.ts x: 5 # contributors y: 13 # changes src/lib/AssistantStream.ts x: 8 # contributors y: 16 # changes src/resources/chat/completions.ts x: 12 # contributors y: 64 # changes src/resources/fine-tuning/jobs.ts x: 10 # contributors y: 20 # changes
127.0
# changes
  min: 1.0
  average: 7.42
  25th percentile: 2.0
  median: 3.0
  75th percentile: 7.0
  max: 127.0
0 17.0
# contributors
min: 1.0 | average: 3.71 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 5.0 | max: 17.0

Number of Contributors vs. File Size: 242 points

src/beta/realtime/internal-base.ts x: 3 # contributors y: 92 lines of code src/beta/realtime/websocket.ts x: 6 # contributors y: 141 lines of code src/beta/realtime/ws.ts x: 4 # contributors y: 110 lines of code src/realtime/internal-base.ts x: 1 # contributors y: 133 lines of code src/realtime/websocket.ts x: 2 # contributors y: 139 lines of code src/realtime/ws.ts x: 2 # contributors y: 108 lines of code src/lib/responses/ResponseInputItems.ts x: 1 # contributors y: 101 lines of code src/lib/responses/ResponseAccumulator.ts x: 1 # contributors y: 397 lines of code src/lib/responses/ResponseStream.ts x: 4 # contributors y: 234 lines of code src/_vendor/zod-to-json-schema/parseDef.ts x: 3 # contributors y: 230 lines of code src/_vendor/zod-to-json-schema/parsers/branded.ts x: 3 # contributors y: 6 lines of code src/_vendor/zod-to-json-schema/parsers/default.ts x: 3 # contributors y: 13 lines of code src/_vendor/zod-to-json-schema/parsers/nullable.ts x: 3 # contributors y: 49 lines of code src/_vendor/zod-to-json-schema/parsers/optional.ts x: 6 # contributors y: 33 lines of code src/_vendor/zod-to-json-schema/parsers/pipeline.ts x: 3 # contributors y: 26 lines of code src/lib/ResponsesParser.ts x: 5 # contributors y: 237 lines of code src/lib/EventEmitter.ts x: 2 # contributors y: 67 lines of code src/lib/ChatCompletionStream.ts x: 6 # contributors y: 645 lines of code src/lib/AbstractChatCompletionRunner.ts x: 10 # contributors y: 379 lines of code src/lib/ChatCompletionRunner.ts x: 5 # contributors y: 50 lines of code src/lib/ChatCompletionStreamingRunner.ts x: 6 # contributors y: 45 lines of code scripts/_vendor/tsc-multi/src/build.ts x: 1 # contributors y: 115 lines of code scripts/_vendor/tsc-multi/src/cli.ts x: 1 # contributors y: 89 lines of code scripts/_vendor/tsc-multi/src/config.ts x: 1 # contributors y: 51 lines of code scripts/_vendor/tsc-multi/src/debug.ts x: 1 # contributors y: 13 lines of code scripts/_vendor/tsc-multi/src/index.ts x: 1 # contributors y: 2 lines of code scripts/_vendor/tsc-multi/src/transformer.ts x: 1 # contributors y: 296 lines of code scripts/_vendor/tsc-multi/src/utils.ts x: 1 # contributors y: 42 lines of code scripts/_vendor/tsc-multi/src/worker/worker.ts x: 1 # contributors y: 357 lines of code src/bedrock.ts x: 1 # contributors y: 121 lines of code src/index.ts x: 17 # contributors y: 25 lines of code src/client.ts x: 10 # contributors y: 1274 lines of code src/auth/types.ts x: 4 # contributors y: 17 lines of code src/auth/workload-identity-auth.ts x: 4 # contributors y: 100 lines of code src/resources/responses/responses.ts x: 8 # contributors y: 2511 lines of code src/version.ts x: 14 # contributors y: 1 lines of code src/azure.ts x: 5 # contributors y: 108 lines of code src/resources/beta/realtime/sessions.ts x: 6 # contributors y: 180 lines of code src/resources/beta/realtime/transcription-sessions.ts x: 3 # contributors y: 81 lines of code src/resources/fine-tuning/checkpoints/permissions.ts x: 3 # contributors y: 120 lines of code eslint.config.mjs x: 5 # contributors y: 38 lines of code scripts/utils/postprocess-files.cjs x: 6 # contributors y: 85 lines of code src/core/EventEmitter.ts x: 1 # contributors y: 65 lines of code src/internal/utils/env.ts x: 4 # contributors y: 9 lines of code src/internal/ws-adapter-node.ts x: 1 # contributors y: 80 lines of code src/internal/ws-adapter.ts x: 1 # contributors y: 21 lines of code src/resources/audio/speech.ts x: 8 # contributors y: 45 lines of code src/resources/chat/completions/completions.ts x: 6 # contributors y: 728 lines of code src/resources/completions.ts x: 11 # contributors y: 108 lines of code src/resources/responses/ws-base.ts x: 1 # contributors y: 455 lines of code src/resources/responses/ws.ts x: 1 # contributors y: 30 lines of code src/core/api-promise.ts x: 3 # contributors y: 59 lines of code src/core/error.ts x: 4 # contributors y: 149 lines of code src/core/pagination.ts x: 3 # contributors y: 246 lines of code src/core/streaming.ts x: 4 # contributors y: 274 lines of code src/error.ts x: 10 # contributors y: 1 lines of code src/internal/builtin-types.ts x: 4 # contributors y: 25 lines of code src/internal/errors.ts x: 5 # contributors y: 26 lines of code src/internal/headers.ts x: 3 # contributors y: 76 lines of code src/internal/qs/utils.ts x: 2 # contributors y: 215 lines of code src/internal/request-options.ts x: 4 # contributors y: 35 lines of code src/internal/shim-types.ts x: 2 # contributors y: 10 lines of code src/internal/shims.ts x: 6 # contributors y: 74 lines of code src/internal/to-file.ts x: 4 # contributors y: 85 lines of code src/internal/utils/log.ts x: 5 # contributors y: 112 lines of code src/pagination.ts x: 8 # contributors y: 1 lines of code src/resource.ts x: 7 # contributors y: 1 lines of code src/resources/audio/audio.ts x: 10 # contributors y: 74 lines of code src/resources/audio/index.ts x: 7 # contributors y: 27 lines of code src/resources/audio/transcriptions.ts x: 12 # contributors y: 252 lines of code src/resources/audio/translations.ts x: 11 # contributors y: 58 lines of code src/resources/batches.ts x: 6 # contributors y: 129 lines of code src/resources/beta/assistants.ts x: 8 # contributors y: 506 lines of code src/resources/beta/beta.ts x: 8 # contributors y: 192 lines of code src/resources/beta/chatkit/chatkit.ts x: 1 # contributors y: 77 lines of code src/resources/beta/chatkit/threads.ts x: 1 # contributors y: 342 lines of code src/resources/beta/index.ts x: 8 # contributors y: 37 lines of code src/resources/beta/threads/index.ts x: 7 # contributors y: 75 lines of code src/resources/beta/threads/messages.ts x: 5 # contributors y: 302 lines of code src/resources/beta/threads/runs/runs.ts x: 9 # contributors y: 433 lines of code src/resources/beta/threads/runs/steps.ts x: 8 # contributors y: 244 lines of code src/resources/beta/threads/threads.ts x: 8 # contributors y: 535 lines of code src/resources/chat/chat.ts x: 12 # contributors y: 103 lines of code src/resources/chat/index.ts x: 10 # contributors y: 47 lines of code src/resources/containers/containers.ts x: 3 # contributors y: 152 lines of code src/resources/containers/files/files.ts x: 3 # contributors y: 108 lines of code src/resources/conversations/conversations.ts x: 1 # contributors y: 144 lines of code src/resources/conversations/items.ts x: 1 # contributors y: 198 lines of code src/resources/embeddings.ts x: 11 # contributors y: 68 lines of code src/resources/evals/evals.ts x: 3 # contributors y: 315 lines of code src/resources/evals/index.ts x: 3 # contributors y: 31 lines of code src/resources/evals/runs/runs.ts x: 3 # contributors y: 816 lines of code src/resources/files.ts x: 12 # contributors y: 113 lines of code src/resources/fine-tuning/fine-tuning.ts x: 10 # contributors y: 65 lines of code src/resources/fine-tuning/index.ts x: 8 # contributors y: 25 lines of code src/resources/fine-tuning/jobs/checkpoints.ts x: 5 # contributors y: 46 lines of code src/resources/fine-tuning/jobs/index.ts x: 6 # contributors y: 19 lines of code src/resources/graders/grader-models.ts x: 3 # contributors y: 142 lines of code src/resources/images.ts x: 11 # contributors y: 258 lines of code src/resources/index.ts x: 9 # contributors y: 150 lines of code src/resources/models.ts x: 9 # contributors y: 31 lines of code src/resources/moderations.ts x: 10 # contributors y: 100 lines of code src/resources/realtime/calls.ts x: 2 # contributors y: 91 lines of code src/resources/realtime/client-secrets.ts x: 2 # contributors y: 203 lines of code src/resources/realtime/realtime.ts x: 2 # contributors y: 1476 lines of code src/resources/shared.ts x: 9 # contributors y: 180 lines of code src/resources/uploads/index.ts x: 2 # contributors y: 2 lines of code src/resources/uploads/uploads.ts x: 6 # contributors y: 63 lines of code src/resources/vector-stores/file-batches.ts x: 4 # contributors y: 198 lines of code src/resources/vector-stores/files.ts x: 4 # contributors y: 213 lines of code src/resources/vector-stores/index.ts x: 4 # contributors y: 41 lines of code src/resources/vector-stores/vector-stores.ts x: 4 # contributors y: 249 lines of code src/resources/videos.ts x: 2 # contributors y: 186 lines of code src/resources/webhooks/webhooks.ts x: 1 # contributors y: 665 lines of code src/auth/subject-token-providers.ts x: 2 # contributors y: 157 lines of code src/lib/jsonschema.ts x: 2 # contributors y: 83 lines of code src/lib/transform.ts x: 1 # contributors y: 152 lines of code src/_vendor/zod-to-json-schema/Options.ts x: 2 # contributors y: 73 lines of code src/_vendor/zod-to-json-schema/Refs.ts x: 2 # contributors y: 38 lines of code src/_vendor/zod-to-json-schema/parsers/bigint.ts x: 2 # contributors y: 56 lines of code src/_vendor/zod-to-json-schema/parsers/nativeEnum.ts x: 2 # contributors y: 22 lines of code src/_vendor/zod-to-json-schema/parsers/string.ts x: 2 # contributors y: 331 lines of code src/resources/beta/realtime/realtime.ts x: 5 # contributors y: 717 lines of code src/internal/uploads.ts x: 5 # contributors y: 152 lines of code src/lib/AssistantStream.ts x: 8 # contributors y: 650 lines of code src/helpers/audio.ts x: 2 # contributors y: 126 lines of code src/internal/decoders/line.ts x: 4 # contributors y: 90 lines of code src/internal/utils/path.ts x: 3 # contributors y: 63 lines of code src/lib/parser.ts x: 3 # contributors y: 267 lines of code src/resources/chat/completions.ts x: 12 # contributors y: 1 lines of code src/lib/EventStream.ts x: 2 # contributors y: 163 lines of code src/internal/qs/stringify.ts x: 1 # contributors y: 324 lines of code
2511.0
lines of code
  min: 1.0
  average: 118.82
  25th percentile: 13.75
  median: 50.5
  75th percentile: 126.75
  max: 2511.0
0 17.0
# contributors
min: 1.0 | average: 3.71 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 5.0 | max: 17.0

Number of Changes vs. Line Churn: 829 points

helpers.md x: 19 # changes y: 1235 line churn examples/tool-calls-stream.ts x: 5 # changes y: 273 line churn README.md x: 151 # changes y: 4192 line churn examples/responses/manual-conversation-state.ts x: 1 # changes y: 44 line churn realtime.md x: 9 # changes y: 202 line churn src/beta/realtime/internal-base.ts x: 4 # changes y: 242 line churn src/beta/realtime/websocket.ts x: 10 # changes y: 368 line churn src/beta/realtime/ws.ts x: 7 # changes y: 283 line churn src/realtime/websocket.ts x: 3 # changes y: 69 line churn tests/lib/ResponseInputItems.test.ts x: 1 # changes y: 245 line churn src/lib/responses/ResponseStream.ts x: 5 # changes y: 635 line churn src/_vendor/zod-to-json-schema/parseDef.ts x: 6 # changes y: 292 line churn src/_vendor/zod-to-json-schema/parsers/nullable.ts x: 4 # changes y: 67 line churn src/_vendor/zod-to-json-schema/parsers/optional.ts x: 5 # changes y: 64 line churn tests/helpers/zod.test.ts x: 10 # changes y: 660 line churn examples/assistant-stream-raw.ts x: 6 # changes y: 95 line churn src/lib/ChatCompletionStream.ts x: 17 # changes y: 1134 line churn tests/lib/ChatCompletionStream.test.ts x: 8 # changes y: 511 line churn src/lib/AbstractChatCompletionRunner.ts x: 19 # changes y: 1866 line churn src/lib/ChatCompletionStreamingRunner.ts x: 13 # changes y: 246 line churn tests/lib/ChatCompletionRunFunctions.test.ts x: 9 # changes y: 3082 line churn package.json x: 165 # changes y: 1875 line churn pnpm-lock.yaml x: 3 # changes y: 11066 line churn scripts/build x: 11 # changes y: 205 line churn .github/workflows/ci.yml x: 21 # changes y: 397 line churn .github/workflows/create-releases.yml x: 26 # changes y: 385 line churn .github/workflows/publish-jsr.yml x: 8 # changes y: 72 line churn .github/workflows/publish-npm.yml x: 18 # changes y: 158 line churn CHANGELOG.md x: 112 # changes y: 2445 line churn CONTRIBUTING.md x: 7 # changes y: 177 line churn ecosystem-tests/browser-direct-import/public/index.js x: 5 # changes y: 924 line churn ecosystem-tests/bun/openai.test.ts x: 12 # changes y: 424 line churn ecosystem-tests/cli.ts x: 37 # changes y: 2002 line churn ecosystem-tests/cloudflare-worker/src/uploadWebApiTestCases.ts x: 11 # changes y: 295 line churn ecosystem-tests/node-ts-cjs-auto/tests/test.ts x: 12 # changes y: 652 line churn ecosystem-tests/node-ts-cjs-web/tests/test-jsdom.ts x: 9 # changes y: 275 line churn ecosystem-tests/node-ts-cjs-web/tests/test-node.ts x: 8 # changes y: 238 line churn ecosystem-tests/node-ts-cjs/tests/test-node.ts x: 11 # changes y: 676 line churn ecosystem-tests/node-ts-esm-auto/tests/test.ts x: 9 # changes y: 619 line churn ecosystem-tests/node-ts-esm/tests/test.ts x: 14 # changes y: 753 line churn ecosystem-tests/node-ts4.5-jest28/tests/test.ts x: 6 # changes y: 740 line churn ecosystem-tests/ts-browser-webpack/src/index.ts x: 15 # changes y: 544 line churn examples/image-stream.ts x: 2 # changes y: 4 line churn examples/package-lock.json x: 5 # changes y: 8025 line churn tests/api-resources/embeddings.test.ts x: 22 # changes y: 247 line churn yarn.lock x: 50 # changes y: 28255 line churn src/index.ts x: 72 # changes y: 6025 line churn MIGRATION.md x: 8 # changes y: 2058 line churn bin/migration-config.json x: 3 # changes y: 4977 line churn src/client.ts x: 27 # changes y: 6395 line churn tests/index.test.ts x: 32 # changes y: 2682 line churn .release-please-manifest.json x: 112 # changes y: 356 line churn .stats.yml x: 60 # changes y: 234 line churn jsr.json x: 31 # changes y: 101 line churn src/resources/responses/responses.ts x: 22 # changes y: 9520 line churn src/version.ts x: 127 # changes y: 382 line churn tests/auth/workload-identity-auth.test.ts x: 4 # changes y: 839 line churn src/azure.ts x: 11 # changes y: 903 line churn tests/lib/azure.test.ts x: 19 # changes y: 2901 line churn .github/workflows/release-doctor.yml x: 13 # changes y: 93 line churn api.md x: 58 # changes y: 2314 line churn scripts/utils/postprocess-files.cjs x: 7 # changes y: 1146 line churn src/resources/audio/speech.ts x: 22 # changes y: 216 line churn src/resources/chat/completions/completions.ts x: 16 # changes y: 2891 line churn src/resources/completions.ts x: 35 # changes y: 1441 line churn src/resources/responses/ws-base.ts x: 2 # changes y: 680 line churn src/resources/responses/ws.ts x: 2 # changes y: 229 line churn tests/api-resources/audio/speech.test.ts x: 10 # changes y: 50 line churn tests/api-resources/beta/threads/runs/runs.test.ts x: 24 # changes y: 655 line churn tests/api-resources/beta/threads/threads.test.ts x: 22 # changes y: 852 line churn tests/api-resources/completions.test.ts x: 21 # changes y: 155 line churn tests/api-resources/images.test.ts x: 17 # changes y: 311 line churn tests/api-resources/moderations.test.ts x: 15 # changes y: 105 line churn src/core/api-promise.ts x: 3 # changes y: 311 line churn src/core/pagination.ts x: 3 # changes y: 648 line churn src/core/streaming.ts x: 6 # changes y: 1060 line churn src/error.ts x: 21 # changes y: 924 line churn src/internal/detect-platform.ts x: 5 # changes y: 800 line churn src/internal/to-file.ts x: 4 # changes y: 628 line churn src/internal/utils/log.ts x: 6 # changes y: 569 line churn src/pagination.ts x: 17 # changes y: 785 line churn src/resources/audio/audio.ts x: 15 # changes y: 272 line churn src/resources/audio/transcriptions.ts x: 34 # changes y: 769 line churn src/resources/batches.ts x: 16 # changes y: 530 line churn src/resources/beta/assistants.ts x: 23 # changes y: 2327 line churn src/resources/beta/index.ts x: 20 # changes y: 246 line churn src/resources/beta/threads/index.ts x: 14 # changes y: 350 line churn src/resources/beta/threads/messages.ts x: 18 # changes y: 1415 line churn src/resources/beta/threads/runs/runs.ts x: 38 # changes y: 6900 line churn src/resources/beta/threads/runs/steps.ts x: 20 # changes y: 1794 line churn src/resources/beta/threads/threads.ts x: 35 # changes y: 4724 line churn src/resources/chat/chat.ts x: 33 # changes y: 576 line churn src/resources/chat/index.ts x: 24 # changes y: 227 line churn src/resources/embeddings.ts x: 27 # changes y: 505 line churn src/resources/evals/runs/runs.ts x: 7 # changes y: 879 line churn src/resources/files.ts x: 43 # changes y: 1094 line churn src/resources/fine-tuning/fine-tuning.ts x: 12 # changes y: 214 line churn src/resources/fine-tuning/jobs/jobs.ts x: 19 # changes y: 1053 line churn src/resources/images.ts x: 25 # changes y: 784 line churn src/resources/index.ts x: 23 # changes y: 470 line churn src/resources/moderations.ts x: 19 # changes y: 520 line churn src/resources/vector-stores/file-batches.ts x: 6 # changes y: 1164 line churn src/resources/vector-stores/files.ts x: 6 # changes y: 1445 line churn src/streaming.ts x: 40 # changes y: 2536 line churn src/uploads.ts x: 17 # changes y: 1718 line churn tests/api-resources/audio/transcriptions.test.ts x: 19 # changes y: 163 line churn tests/api-resources/models.test.ts x: 16 # changes y: 307 line churn tests/responses.test.ts x: 14 # changes y: 482 line churn tests/lib/parser.test.ts x: 11 # changes y: 1612 line churn tests/lib/transform.test.ts x: 1 # changes y: 536 line churn ecosystem-tests/node-ts-cjs-web/package-lock.json x: 8 # changes y: 6051 line churn ecosystem-tests/node-ts-cjs/package-lock.json x: 17 # changes y: 11871 line churn src/resources/beta/realtime/realtime.ts x: 13 # changes y: 2316 line churn src/resources/webhooks.ts x: 1 # changes y: 871 line churn src/lib/AssistantStream.ts x: 16 # changes y: 1712 line churn ecosystem-tests/browser-direct-import/package-lock.json x: 3 # changes y: 8776 line churn ecosystem-tests/cloudflare-worker/package-lock.json x: 13 # changes y: 15688 line churn ecosystem-tests/node-js/package-lock.json x: 4 # changes y: 1184 line churn ecosystem-tests/node-ts-cjs-auto/package-lock.json x: 7 # changes y: 4359 line churn ecosystem-tests/node-ts-es2020/package-lock.json x: 4 # changes y: 965 line churn ecosystem-tests/node-ts-esm-auto/package-lock.json x: 7 # changes y: 4902 line churn ecosystem-tests/node-ts-esm/package-lock.json x: 13 # changes y: 10940 line churn ecosystem-tests/node-ts4.5-jest27/package-lock.json x: 8 # changes y: 22070 line churn ecosystem-tests/node-ts4.5-jest28/package-lock.json x: 4 # changes y: 16912 line churn ecosystem-tests/nodenext-tsup/package-lock.json x: 4 # changes y: 10390 line churn ecosystem-tests/ts-browser-webpack/package-lock.json x: 12 # changes y: 19711 line churn src/_shims/web-runtime.ts x: 7 # changes y: 529 line churn src/core.ts x: 55 # changes y: 8293 line churn src/resources/beta/chat/completions.ts x: 15 # changes y: 896 line churn src/resources/chat/completions.ts x: 64 # changes y: 4934 line churn src/resources/fine-tuning/jobs.ts x: 20 # changes y: 1024 line churn tests/path.test.ts x: 3 # changes y: 1272 line churn tsconfig.json x: 17 # changes y: 151 line churn package-lock.json x: 12 # changes y: 13762 line churn ecosystem-tests/vercel-edge/package-lock.json x: 16 # changes y: 55995 line churn src/resources/beta/vector-stores/file-batches.ts x: 12 # changes y: 1214 line churn src/resources/beta/vector-stores/files.ts x: 14 # changes y: 1247 line churn src/resources/beta/vector-stores/vector-stores.ts x: 13 # changes y: 1549 line churn tests/api-resources/chat/completions.test.ts x: 28 # changes y: 281 line churn scripts/utils/denoify.ts x: 3 # changes y: 687 line churn tests/qs/stringify.test.ts x: 1 # changes y: 2232 line churn src/lib/ChatCompletionRunFunctions.test.ts x: 7 # changes y: 5299 line churn src/lib/AbstractAssistantStreamRunner.ts x: 2 # changes y: 1020 line churn build-deno x: 53 # changes y: 345 line churn scripts/denoify.ts x: 3 # changes y: 916 line churn src/resources/beta/assistants/assistants.ts x: 9 # changes y: 3514 line churn src/resources/beta/threads/messages/messages.ts x: 7 # changes y: 1804 line churn ecosystem-tests/node-ts-cjs-dom/package-lock.json x: 7 # changes y: 13673 line churn ecosystem-tests/node-ts-cjs-ts4.5/package-lock.json x: 3 # changes y: 11751 line churn api.ts x: 10 # changes y: 11175 line churn dist/api.d.ts x: 10 # changes y: 8286 line churn dist/api.js x: 10 # changes y: 5356 line churn ecosystem-tests/cloudflare-worker/yarn.lock x: 2 # changes y: 6754 line churn ecosystem-tests/ts-browser-webpack/yarn.lock x: 2 # changes y: 7006 line churn ecosystem-tests/vercel-edge/yarn.lock x: 2 # changes y: 12718 line churn core.ts x: 3 # changes y: 1696 line churn tests/api-resources/answers.test.ts x: 2 # changes y: 484 line churn
55995.0
line churn
  min: 1.0
  average: 723.89
  25th percentile: 35.0
  median: 93.0
  75th percentile: 313.5
  max: 55995.0
0 165.0
# changes
min: 1.0 | average: 6.79 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 6.0 | max: 165.0

Number of Contributors vs. Line Churn: 242 points

src/beta/realtime/internal-base.ts x: 3 # contributors y: 242 line churn src/beta/realtime/websocket.ts x: 6 # contributors y: 368 line churn src/beta/realtime/ws.ts x: 4 # contributors y: 283 line churn src/realtime/internal-base.ts x: 1 # contributors y: 99 line churn src/realtime/websocket.ts x: 2 # contributors y: 69 line churn src/realtime/ws.ts x: 2 # contributors y: 90 line churn src/lib/responses/ResponseInputItems.ts x: 1 # contributors y: 127 line churn src/lib/responses/ResponseAccumulator.ts x: 1 # contributors y: 412 line churn src/lib/responses/ResponseStream.ts x: 4 # contributors y: 635 line churn src/_vendor/zod-to-json-schema/parseDef.ts x: 3 # contributors y: 292 line churn src/_vendor/zod-to-json-schema/parsers/branded.ts x: 3 # contributors y: 13 line churn src/_vendor/zod-to-json-schema/parsers/nullable.ts x: 3 # contributors y: 67 line churn src/_vendor/zod-to-json-schema/parsers/optional.ts x: 6 # contributors y: 64 line churn src/lib/ResponsesParser.ts x: 5 # contributors y: 298 line churn src/lib/EventEmitter.ts x: 2 # contributors y: 209 line churn src/lib/ChatCompletionStream.ts x: 6 # contributors y: 1134 line churn src/lib/AbstractChatCompletionRunner.ts x: 10 # contributors y: 1866 line churn src/lib/ChatCompletionRunner.ts x: 5 # contributors y: 226 line churn src/lib/ChatCompletionStreamingRunner.ts x: 6 # contributors y: 246 line churn scripts/_vendor/tsc-multi/src/config.ts x: 1 # contributors y: 66 line churn scripts/_vendor/tsc-multi/src/debug.ts x: 1 # contributors y: 16 line churn scripts/_vendor/tsc-multi/src/transformer.ts x: 1 # contributors y: 336 line churn scripts/_vendor/tsc-multi/src/worker/worker.ts x: 1 # contributors y: 436 line churn src/bedrock.ts x: 1 # contributors y: 191 line churn src/index.ts x: 17 # contributors y: 6025 line churn src/client.ts x: 10 # contributors y: 6395 line churn src/internal/types.ts x: 5 # contributors y: 436 line churn src/auth/types.ts x: 4 # contributors y: 68 line churn src/auth/workload-identity-auth.ts x: 4 # contributors y: 302 line churn src/resources/responses/responses.ts x: 8 # contributors y: 9520 line churn src/version.ts x: 14 # contributors y: 382 line churn src/azure.ts x: 5 # contributors y: 903 line churn src/resources/beta/realtime/sessions.ts x: 6 # contributors y: 859 line churn src/resources/fine-tuning/checkpoints/permissions.ts x: 3 # contributors y: 392 line churn eslint.config.mjs x: 5 # contributors y: 183 line churn src/internal/utils/env.ts x: 4 # contributors y: 88 line churn src/resources/audio/speech.ts x: 8 # contributors y: 216 line churn src/resources/chat/completions/completions.ts x: 6 # contributors y: 2891 line churn src/resources/completions.ts x: 11 # contributors y: 1441 line churn src/resources/responses/ws-base.ts x: 1 # contributors y: 680 line churn src/resources/responses/ws.ts x: 1 # contributors y: 229 line churn src/api-promise.ts x: 4 # contributors y: 117 line churn src/core/api-promise.ts x: 3 # contributors y: 311 line churn src/core/error.ts x: 4 # contributors y: 591 line churn src/core/pagination.ts x: 3 # contributors y: 648 line churn src/core/streaming.ts x: 4 # contributors y: 1060 line churn src/error.ts x: 10 # contributors y: 924 line churn src/internal/builtin-types.ts x: 4 # contributors y: 375 line churn src/internal/detect-platform.ts x: 4 # contributors y: 800 line churn src/internal/errors.ts x: 5 # contributors y: 146 line churn src/internal/parse.ts x: 6 # contributors y: 401 line churn src/internal/qs/utils.ts x: 2 # contributors y: 270 line churn src/internal/request-options.ts x: 4 # contributors y: 241 line churn src/internal/shim-types.ts x: 2 # contributors y: 30 line churn src/internal/shims.ts x: 6 # contributors y: 576 line churn src/internal/utils/log.ts x: 5 # contributors y: 569 line churn src/pagination.ts x: 8 # contributors y: 785 line churn src/resource.ts x: 7 # contributors y: 114 line churn src/resources/audio/audio.ts x: 10 # contributors y: 272 line churn src/resources/audio/index.ts x: 7 # contributors y: 88 line churn src/resources/audio/transcriptions.ts x: 12 # contributors y: 769 line churn src/resources/audio/translations.ts x: 11 # contributors y: 414 line churn src/resources/batches.ts x: 6 # contributors y: 530 line churn src/resources/beta/assistants.ts x: 8 # contributors y: 2327 line churn src/resources/beta/beta.ts x: 8 # contributors y: 434 line churn src/resources/beta/chatkit/chatkit.ts x: 1 # contributors y: 151 line churn src/resources/beta/index.ts x: 8 # contributors y: 246 line churn src/resources/beta/threads/index.ts x: 7 # contributors y: 350 line churn src/resources/beta/threads/messages.ts x: 5 # contributors y: 1415 line churn src/resources/beta/threads/runs/runs.ts x: 9 # contributors y: 6900 line churn src/resources/beta/threads/runs/steps.ts x: 8 # contributors y: 1794 line churn src/resources/beta/threads/threads.ts x: 8 # contributors y: 4724 line churn src/resources/chat/chat.ts x: 12 # contributors y: 576 line churn src/resources/chat/index.ts x: 10 # contributors y: 227 line churn src/resources/containers/containers.ts x: 3 # contributors y: 478 line churn src/resources/containers/files/content.ts x: 3 # contributors y: 96 line churn src/resources/containers/files/files.ts x: 3 # contributors y: 522 line churn src/resources/embeddings.ts x: 11 # contributors y: 505 line churn src/resources/evals/runs/runs.ts x: 3 # contributors y: 879 line churn src/resources/files.ts x: 12 # contributors y: 1094 line churn src/resources/fine-tuning/fine-tuning.ts x: 10 # contributors y: 214 line churn src/resources/fine-tuning/index.ts x: 8 # contributors y: 92 line churn src/resources/fine-tuning/jobs/checkpoints.ts x: 5 # contributors y: 304 line churn src/resources/fine-tuning/jobs/index.ts x: 6 # contributors y: 102 line churn src/resources/fine-tuning/jobs/jobs.ts x: 6 # contributors y: 1053 line churn src/resources/images.ts x: 11 # contributors y: 784 line churn src/resources/index.ts x: 9 # contributors y: 470 line churn src/resources/models.ts x: 9 # contributors y: 359 line churn src/resources/moderations.ts x: 10 # contributors y: 520 line churn src/resources/responses/input-items.ts x: 4 # contributors y: 667 line churn src/resources/shared.ts x: 9 # contributors y: 651 line churn src/resources/uploads/parts.ts x: 5 # contributors y: 104 line churn src/resources/uploads/uploads.ts x: 6 # contributors y: 127 line churn src/resources/vector-stores/file-batches.ts x: 4 # contributors y: 1164 line churn src/resources/vector-stores/files.ts x: 4 # contributors y: 1445 line churn src/resources/vector-stores/index.ts x: 4 # contributors y: 164 line churn src/resources/vector-stores/vector-stores.ts x: 4 # contributors y: 1505 line churn src/streaming.ts x: 10 # contributors y: 2536 line churn src/uploads.ts x: 7 # contributors y: 1718 line churn src/auth/subject-token-providers.ts x: 2 # contributors y: 370 line churn src/lib/jsonschema.ts x: 2 # contributors y: 172 line churn src/_vendor/zod-to-json-schema/parsers/string.ts x: 2 # contributors y: 402 line churn src/_vendor/zod-to-json-schema/parsers/union.ts x: 2 # contributors y: 121 line churn src/resources/beta/realtime/realtime.ts x: 5 # contributors y: 2316 line churn src/resources/webhooks.ts x: 2 # contributors y: 871 line churn src/internal/uploads.ts x: 5 # contributors y: 1103 line churn src/lib/AssistantStream.ts x: 8 # contributors y: 1712 line churn src/internal/decoders/line.ts x: 4 # contributors y: 353 line churn src/lib/RunnableFunction.ts x: 3 # contributors y: 220 line churn src/resources/chat/completions.ts x: 12 # contributors y: 4934 line churn src/resources/fine-tuning/jobs.ts x: 10 # contributors y: 1024 line churn src/lib/EventStream.ts x: 2 # contributors y: 241 line churn src/_vendor/partial-json-parser/parser.ts x: 2 # contributors y: 721 line churn
9520.0
line churn
  min: 2.0
  average: 455.78
  25th percentile: 29.75
  median: 100.5
  75th percentile: 394.25
  max: 9520.0
0 17.0
# contributors
min: 1.0 | average: 3.71 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 5.0 | max: 17.0

File Size vs. Line Churn: 242 points

src/beta/realtime/internal-base.ts x: 92 lines of code y: 242 line churn src/beta/realtime/websocket.ts x: 141 lines of code y: 368 line churn src/beta/realtime/ws.ts x: 110 lines of code y: 283 line churn src/realtime/internal-base.ts x: 133 lines of code y: 99 line churn src/realtime/websocket.ts x: 139 lines of code y: 69 line churn src/realtime/ws.ts x: 108 lines of code y: 90 line churn src/lib/responses/ResponseInputItems.ts x: 101 lines of code y: 127 line churn src/lib/responses/ResponseAccumulator.ts x: 397 lines of code y: 412 line churn src/lib/responses/ResponseStream.ts x: 234 lines of code y: 635 line churn src/_vendor/zod-to-json-schema/parseDef.ts x: 230 lines of code y: 292 line churn src/_vendor/zod-to-json-schema/parsers/branded.ts x: 6 lines of code y: 13 line churn src/_vendor/zod-to-json-schema/parsers/default.ts x: 13 lines of code y: 20 line churn src/_vendor/zod-to-json-schema/parsers/nullable.ts x: 49 lines of code y: 67 line churn src/_vendor/zod-to-json-schema/parsers/optional.ts x: 33 lines of code y: 64 line churn src/_vendor/zod-to-json-schema/parsers/pipeline.ts x: 26 lines of code y: 35 line churn src/lib/ResponsesParser.ts x: 237 lines of code y: 298 line churn src/lib/EventEmitter.ts x: 67 lines of code y: 209 line churn src/lib/ChatCompletionStream.ts x: 645 lines of code y: 1134 line churn src/lib/AbstractChatCompletionRunner.ts x: 379 lines of code y: 1866 line churn src/lib/ChatCompletionRunner.ts x: 50 lines of code y: 226 line churn src/lib/ChatCompletionStreamingRunner.ts x: 45 lines of code y: 246 line churn scripts/_vendor/tsc-multi/src/build.ts x: 115 lines of code y: 136 line churn scripts/_vendor/tsc-multi/src/cli.ts x: 89 lines of code y: 91 line churn scripts/_vendor/tsc-multi/src/config.ts x: 51 lines of code y: 66 line churn scripts/_vendor/tsc-multi/src/index.ts x: 2 lines of code y: 2 line churn scripts/_vendor/tsc-multi/src/report.ts x: 58 lines of code y: 69 line churn scripts/_vendor/tsc-multi/src/transformer.ts x: 296 lines of code y: 336 line churn scripts/_vendor/tsc-multi/src/utils.ts x: 42 lines of code y: 51 line churn scripts/_vendor/tsc-multi/src/worker/entry.ts x: 18 lines of code y: 22 line churn scripts/_vendor/tsc-multi/src/worker/worker.ts x: 357 lines of code y: 436 line churn src/bedrock.ts x: 121 lines of code y: 191 line churn src/index.ts x: 25 lines of code y: 6025 line churn src/client.ts x: 1274 lines of code y: 6395 line churn src/internal/types.ts x: 55 lines of code y: 436 line churn src/auth/types.ts x: 17 lines of code y: 68 line churn src/auth/workload-identity-auth.ts x: 100 lines of code y: 302 line churn src/resources/responses/responses.ts x: 2511 lines of code y: 9520 line churn src/version.ts x: 1 lines of code y: 382 line churn src/azure.ts x: 108 lines of code y: 903 line churn src/resources/beta/realtime/sessions.ts x: 180 lines of code y: 859 line churn src/resources/beta/realtime/transcription-sessions.ts x: 81 lines of code y: 42 line churn src/resources/fine-tuning/checkpoints/permissions.ts x: 120 lines of code y: 392 line churn eslint.config.mjs x: 38 lines of code y: 183 line churn scripts/utils/postprocess-files.cjs x: 85 lines of code y: 1146 line churn src/core/EventEmitter.ts x: 65 lines of code y: 16 line churn src/internal/utils/env.ts x: 9 lines of code y: 88 line churn src/internal/ws-adapter-browser.ts x: 94 lines of code y: 123 line churn src/internal/ws-adapter-node.ts x: 80 lines of code y: 105 line churn src/internal/ws-adapter.ts x: 21 lines of code y: 30 line churn src/internal/ws.ts x: 129 lines of code y: 203 line churn src/resources/audio/speech.ts x: 45 lines of code y: 216 line churn src/resources/chat/completions/completions.ts x: 728 lines of code y: 2891 line churn src/resources/completions.ts x: 108 lines of code y: 1441 line churn src/resources/responses/ws-base.ts x: 455 lines of code y: 680 line churn src/resources/responses/ws.ts x: 30 lines of code y: 229 line churn src/api-promise.ts x: 1 lines of code y: 117 line churn src/core/api-promise.ts x: 59 lines of code y: 311 line churn src/core/error.ts x: 149 lines of code y: 591 line churn src/core/pagination.ts x: 246 lines of code y: 648 line churn src/core/streaming.ts x: 274 lines of code y: 1060 line churn src/error.ts x: 1 lines of code y: 924 line churn src/internal/builtin-types.ts x: 25 lines of code y: 375 line churn src/internal/detect-platform.ts x: 152 lines of code y: 800 line churn src/internal/errors.ts x: 26 lines of code y: 146 line churn src/internal/headers.ts x: 76 lines of code y: 391 line churn src/internal/parse.ts x: 81 lines of code y: 401 line churn src/internal/qs/utils.ts x: 215 lines of code y: 270 line churn src/internal/request-options.ts x: 35 lines of code y: 241 line churn src/internal/shims.ts x: 74 lines of code y: 576 line churn src/internal/to-file.ts x: 85 lines of code y: 628 line churn src/internal/utils/log.ts x: 112 lines of code y: 569 line churn src/internal/utils/uuid.ts x: 10 lines of code y: 74 line churn src/pagination.ts x: 1 lines of code y: 785 line churn src/resources/audio/audio.ts x: 74 lines of code y: 272 line churn src/resources/audio/index.ts x: 27 lines of code y: 88 line churn src/resources/audio/transcriptions.ts x: 252 lines of code y: 769 line churn src/resources/batches.ts x: 129 lines of code y: 530 line churn src/resources/beta/assistants.ts x: 506 lines of code y: 2327 line churn src/resources/beta/beta.ts x: 192 lines of code y: 434 line churn src/resources/beta/chatkit/chatkit.ts x: 77 lines of code y: 151 line churn src/resources/beta/chatkit/index.ts x: 28 lines of code y: 40 line churn src/resources/beta/chatkit/sessions.ts x: 33 lines of code y: 15 line churn src/resources/beta/chatkit/threads.ts x: 342 lines of code y: 78 line churn src/resources/beta/index.ts x: 37 lines of code y: 246 line churn src/resources/beta/threads/index.ts x: 75 lines of code y: 350 line churn src/resources/beta/threads/messages.ts x: 302 lines of code y: 1415 line churn src/resources/beta/threads/runs/runs.ts x: 433 lines of code y: 6900 line churn src/resources/beta/threads/runs/steps.ts x: 244 lines of code y: 1794 line churn src/resources/beta/threads/threads.ts x: 535 lines of code y: 4724 line churn src/resources/chat/chat.ts x: 103 lines of code y: 576 line churn src/resources/chat/completions/messages.ts x: 26 lines of code y: 164 line churn src/resources/chat/index.ts x: 47 lines of code y: 227 line churn src/resources/containers/containers.ts x: 152 lines of code y: 478 line churn src/resources/containers/files/content.ts x: 22 lines of code y: 96 line churn src/resources/containers/files/files.ts x: 108 lines of code y: 522 line churn src/resources/containers/index.ts x: 20 lines of code y: 60 line churn src/resources/conversations/conversations.ts x: 144 lines of code y: 56 line churn src/resources/conversations/items.ts x: 198 lines of code y: 79 line churn src/resources/embeddings.ts x: 68 lines of code y: 505 line churn src/resources/evals/evals.ts x: 315 lines of code y: 317 line churn src/resources/evals/runs/index.ts x: 25 lines of code y: 51 line churn src/resources/evals/runs/output-items.ts x: 150 lines of code y: 281 line churn src/resources/evals/runs/runs.ts x: 816 lines of code y: 879 line churn src/resources/files.ts x: 113 lines of code y: 1094 line churn src/resources/fine-tuning/jobs/checkpoints.ts x: 46 lines of code y: 304 line churn src/resources/fine-tuning/jobs/jobs.ts x: 187 lines of code y: 1053 line churn src/resources/fine-tuning/methods.ts x: 48 lines of code y: 19 line churn src/resources/graders/graders.ts x: 28 lines of code y: 19 line churn src/resources/images.ts x: 258 lines of code y: 784 line churn src/resources/models.ts x: 31 lines of code y: 359 line churn src/resources/moderations.ts x: 100 lines of code y: 520 line churn src/resources/realtime/calls.ts x: 91 lines of code y: 59 line churn src/resources/realtime/client-secrets.ts x: 203 lines of code y: 53 line churn src/resources/realtime/realtime.ts x: 1476 lines of code y: 288 line churn src/resources/responses/input-items.ts x: 34 lines of code y: 667 line churn src/resources/responses/input-tokens.ts x: 56 lines of code y: 22 line churn src/resources/shared.ts x: 180 lines of code y: 651 line churn src/resources/skills/skills.ts x: 110 lines of code y: 27 line churn src/resources/skills/versions/versions.ts x: 105 lines of code y: 47 line churn src/resources/uploads/uploads.ts x: 63 lines of code y: 127 line churn src/resources/vector-stores/file-batches.ts x: 198 lines of code y: 1164 line churn src/resources/vector-stores/files.ts x: 213 lines of code y: 1445 line churn src/resources/vector-stores/index.ts x: 41 lines of code y: 164 line churn src/resources/vector-stores/vector-stores.ts x: 249 lines of code y: 1505 line churn src/resources/videos.ts x: 186 lines of code y: 69 line churn src/resources/webhooks/webhooks.ts x: 665 lines of code y: 19 line churn src/streaming.ts x: 1 lines of code y: 2536 line churn src/uploads.ts x: 1 lines of code y: 1718 line churn src/auth/subject-token-providers.ts x: 157 lines of code y: 370 line churn src/helpers/zod.ts x: 129 lines of code y: 250 line churn src/lib/jsonschema.ts x: 83 lines of code y: 172 line churn src/lib/transform.ts x: 152 lines of code y: 193 line churn src/_vendor/zod-to-json-schema/Options.ts x: 73 lines of code y: 98 line churn src/_vendor/zod-to-json-schema/Refs.ts x: 38 lines of code y: 55 line churn src/_vendor/zod-to-json-schema/parsers/record.ts x: 65 lines of code y: 75 line churn src/_vendor/zod-to-json-schema/parsers/string.ts x: 331 lines of code y: 402 line churn src/_vendor/zod-to-json-schema/zodToJsonSchema.ts x: 99 lines of code y: 208 line churn src/resources/beta/realtime/realtime.ts x: 717 lines of code y: 2316 line churn src/resources/webhooks.ts x: 1 lines of code y: 871 line churn src/internal/uploads.ts x: 152 lines of code y: 1103 line churn src/lib/AssistantStream.ts x: 650 lines of code y: 1712 line churn src/helpers/audio.ts x: 126 lines of code y: 166 line churn src/internal/decoders/line.ts x: 90 lines of code y: 353 line churn src/internal/utils/bytes.ts x: 29 lines of code y: 96 line churn src/internal/utils/path.ts x: 63 lines of code y: 252 line churn src/lib/parser.ts x: 267 lines of code y: 305 line churn src/resources/beta/threads/runs/index.ts x: 46 lines of code y: 339 line churn src/resources/chat/completions.ts x: 1 lines of code y: 4934 line churn src/resources/chat/completions/index.ts x: 48 lines of code y: 78 line churn src/resources/fine-tuning/jobs.ts x: 1 lines of code y: 1024 line churn src/lib/responses/EventTypes.ts x: 71 lines of code y: 78 line churn src/lib/EventStream.ts x: 163 lines of code y: 241 line churn src/internal/qs/stringify.ts x: 324 lines of code y: 388 line churn src/internal/qs/types.ts x: 62 lines of code y: 71 line churn src/_vendor/partial-json-parser/parser.ts x: 215 lines of code y: 721 line churn src/_vendor/zod-to-json-schema/index.ts x: 37 lines of code y: 37 line churn
9520.0
line churn
  min: 2.0
  average: 455.78
  25th percentile: 29.75
  median: 100.5
  75th percentile: 394.25
  max: 9520.0
0 2511.0
lines of code
min: 1.0 | average: 118.82 | 25th percentile: 13.75 | median: 50.5 | 75th percentile: 126.75 | max: 2511.0