openai/openai-cli
Temporal Dependencies A temporal dependency occurs when developers change two or more files at the same time (i.e. they are a part of the same commit). |
Dependencies between components in same commits (primary)
The number on the lines shows the number of shared commits.
flowchart TB
n0["pkg"]
n1["internal"]
n2["scripts"]
n3["cmd"]
n4["ROOT"]
n5[".github"]
n0 ---|"26"| n0
n1 ---|"24"| n1
n1 ---|"19"| n0
n2 ---|"8"| n0
n2 ---|"8"| n2
n0 ---|"6"| n3
n1 ---|"6"| n3
n2 ---|"5"| n1
n0 ---|"2"| n4
n2 ---|"2"| n4
n3 ---|"2"| n2
n1 ---|"1"| n4
n3 ---|"1"| n4
n5 ---|"1"| n5
classDef default fill:#00b2ee,stroke:#ffffff,color:#000000;
classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
linkStyle 0 stroke:#a0a0a0FF,stroke-width:10px
linkStyle 1 stroke:#a0a0a0ED,stroke-width:9px
linkStyle 2 stroke:#00688bC9,stroke-width:7px
linkStyle 3 stroke:#00688b82,stroke-width:3px
linkStyle 4 stroke:#a0a0a082,stroke-width:3px
linkStyle 5 stroke:#00688b70,stroke-width:2px
linkStyle 6 stroke:#00688b70,stroke-width:2px
linkStyle 7 stroke:#00688b5E,stroke-width:1px
linkStyle 8 stroke:#00688b4C,stroke-width:1px
linkStyle 9 stroke:#00688b4C,stroke-width:1px
linkStyle 10 stroke:#00688b4C,stroke-width:1px
linkStyle 11 stroke:#00688b4C,stroke-width:1px
linkStyle 12 stroke:#00688b4C,stroke-width:1px
linkStyle 13 stroke:#a0a0a04C,stroke-width:1px
Download:
Mermaid (.mmd)
(open online Mermaid editor)
Open 2D force graph (file dependencies)... Open 3D force graph (file dependencies)...
Dependencies between files in same commits
The number on the lines shows the number of shared commits.
Files Most Frequently Changed Together (Top 50)
| Pairs | # same commits | # commits 1 | # commits 2 | latest commit |
|---|---|---|---|---|
| pkg/custom/save_generated_images.go pkg/custom/image_saving_commands.go |
5 | 9 (55%) | 8 (62%) | 2026-10-03 |
| pkg/custom/image_upload_help.go pkg/custom/save_generated_images.go |
5 | 6 (83%) | 9 (55%) | 2026-09-29 |
| pkg/custom/cmdutil.go pkg/custom/command.go |
5 | 11 (45%) | 11 (45%) | 2026-09-26 |
| pkg/custom/command.go cmd/openai/main.go |
4 | 11 (36%) | 9 (44%) | 2026-10-04 |
| pkg/custom/local_errors.go pkg/custom/command.go |
4 | 6 (66%) | 11 (36%) | 2026-10-03 |
| pkg/custom/image_upload_help.go pkg/custom/image_saving_commands.go |
4 | 6 (66%) | 8 (50%) | 2026-10-02 |
| pkg/custom/image_picker_view.go pkg/custom/image_picker.go |
3 | 3 (100%) | 3 (100%) | 2026-10-05 |
| scripts/check-image-picker-integration.py pkg/custom/image_picker.go |
3 | 3 (100%) | 3 (100%) | 2026-10-05 |
| scripts/check-image-picker-integration.py pkg/custom/image_picker_view.go |
3 | 3 (100%) | 3 (100%) | 2026-10-05 |
| internal/terminalimage/image.go pkg/custom/display_saved_image.go |
3 | 4 (75%) | 4 (75%) | 2026-10-04 |
| pkg/custom/flagoptions.go pkg/custom/command.go |
3 | 5 (60%) | 11 (27%) | 2026-09-26 |
| internal/clihelp/brief.go internal/clihelp/help.go |
3 | 3 (100%) | 5 (60%) | 2026-10-01 |
| pkg/custom/save_final_image_stream.go pkg/custom/save_generated_images.go |
3 | 3 (100%) | 9 (33%) | 2026-09-27 |
| pkg/custom/cmdutil.go cmd/openai/main.go |
3 | 11 (27%) | 9 (33%) | 2026-09-25 |
| pkg/custom/cmdutil.go internal/jsonview/explorer.go |
3 | 11 (27%) | 13 (23%) | 2026-09-25 |
| pkg/custom/cmdutil.go pkg/custom/local_errors.go |
3 | 11 (27%) | 6 (50%) | 2026-09-26 |
| pkg/custom/output_transform.go pkg/custom/cmdutil.go |
3 | 3 (100%) | 11 (27%) | 2026-09-25 |
| pkg/custom/readable_output.go pkg/custom/cmdutil.go |
3 | 3 (100%) | 11 (27%) | 2026-09-25 |
| pkg/custom/cmdutil_unix.go pkg/custom/cmdutil.go |
3 | 4 (75%) | 11 (27%) | 2026-09-25 |
| pkg/custom/image_picker_inline.go pkg/custom/image_picker.go |
2 | 2 (100%) | 3 (66%) | 2026-10-05 |
| pkg/custom/image_picker_view.go pkg/custom/image_picker_inline.go |
2 | 3 (66%) | 2 (100%) | 2026-10-05 |
| scripts/check-image-picker-integration.py pkg/custom/image_picker_inline.go |
2 | 3 (66%) | 2 (100%) | 2026-10-05 |
| scripts/check-image-picker-reuse.py pkg/custom/image_picker.go |
2 | 2 (100%) | 3 (66%) | 2026-10-05 |
| scripts/check-image-picker-reuse.py pkg/custom/image_picker_view.go |
2 | 2 (100%) | 3 (66%) | 2026-10-05 |
| scripts/check-image-picker-reuse.py scripts/check-image-picker-integration.py |
2 | 2 (100%) | 3 (66%) | 2026-10-05 |
| internal/terminalimage/iterm.go pkg/custom/display_saved_image.go |
2 | 2 (100%) | 4 (50%) | 2026-10-04 |
| internal/terminalimage/iterm.go internal/terminalimage/image.go |
2 | 2 (100%) | 4 (50%) | 2026-10-04 |
| internal/terminalimage/kitty_transport_other.go internal/terminalimage/image.go |
2 | 2 (100%) | 4 (50%) | 2026-10-04 |
| internal/terminalimage/kitty_transport_unix.go internal/terminalimage/image.go |
2 | 2 (100%) | 4 (50%) | 2026-10-04 |
| internal/terminalimage/kitty_transport_unix.go internal/terminalimage/kitty_transport_other.go |
2 | 2 (100%) | 2 (100%) | 2026-10-04 |
| pkg/custom/display_image_progress.go pkg/custom/display_saved_image.go |
2 | 3 (66%) | 4 (50%) | 2026-10-04 |
| pkg/custom/display_image_progress.go internal/terminalimage/image.go |
2 | 3 (66%) | 4 (50%) | 2026-10-04 |
| pkg/custom/prepare_native_image_output.go internal/terminalimage/image.go |
2 | 2 (100%) | 4 (50%) | 2026-10-04 |
| pkg/custom/prepare_native_image_output.go internal/terminalimage/kitty_transport_other.go |
2 | 2 (100%) | 2 (100%) | 2026-10-04 |
| pkg/custom/prepare_native_image_output.go internal/terminalimage/kitty_transport_unix.go |
2 | 2 (100%) | 2 (100%) | 2026-10-04 |
| pkg/custom/preview_saved_image.go internal/terminalimage/image.go |
2 | 4 (50%) | 4 (50%) | 2026-10-04 |
| pkg/custom/preview_saved_image.go internal/terminalimage/kitty_transport_other.go |
2 | 4 (50%) | 2 (100%) | 2026-10-04 |
| pkg/custom/preview_saved_image.go internal/terminalimage/kitty_transport_unix.go |
2 | 4 (50%) | 2 (100%) | 2026-10-04 |
| pkg/custom/preview_saved_image.go pkg/custom/prepare_native_image_output.go |
2 | 4 (50%) | 2 (100%) | 2026-10-04 |
| scripts/check-image-output-compatibility.py internal/terminalimage/image.go |
2 | 2 (100%) | 4 (50%) | 2026-10-04 |
| scripts/check-image-output-compatibility.py internal/terminalimage/kitty_transport_other.go |
2 | 2 (100%) | 2 (100%) | 2026-10-04 |
| scripts/check-image-output-compatibility.py internal/terminalimage/kitty_transport_unix.go |
2 | 2 (100%) | 2 (100%) | 2026-10-04 |
| scripts/check-image-output-compatibility.py pkg/custom/prepare_native_image_output.go |
2 | 2 (100%) | 2 (100%) | 2026-10-04 |
| scripts/check-image-output-compatibility.py pkg/custom/preview_saved_image.go |
2 | 2 (100%) | 4 (50%) | 2026-10-04 |
| internal/imagegallery/gallery.go pkg/custom/display_saved_image.go |
2 | 4 (50%) | 4 (50%) | 2026-09-27 |
| internal/imagegallery/gallery.go internal/terminalimage/image.go |
2 | 4 (50%) | 4 (50%) | 2026-09-27 |
| internal/imagegallery/gallery.go internal/imagegallery/cleanup.go |
2 | 4 (50%) | 2 (100%) | 2026-10-04 |
| internal/autocomplete/shellscripts/fish_picker.fish internal/autocomplete/picker_script.go |
2 | 2 (100%) | 2 (100%) | 2026-10-04 |
| pkg/custom/image_saving_commands.go pkg/custom/preview_saved_image.go |
2 | 8 (25%) | 4 (50%) | 2026-10-04 |
| pkg/custom/image_saving_commands.go internal/imagegallery/gallery.go |
2 | 8 (25%) | 4 (50%) | 2026-09-26 |
Files from Different Folders Most Frequently Changed Together (Top 20)
| Pairs | # same commits | # commits 1 | # commits 2 | latest commit |
|---|---|---|---|---|
| pkg/custom/command.go cmd/openai/main.go |
4 | 11 (36%) | 9 (44%) | 2026-10-04 |
| scripts/check-image-picker-integration.py pkg/custom/image_picker.go |
3 | 3 (100%) | 3 (100%) | 2026-10-05 |
| scripts/check-image-picker-integration.py pkg/custom/image_picker_view.go |
3 | 3 (100%) | 3 (100%) | 2026-10-05 |
| internal/terminalimage/image.go pkg/custom/display_saved_image.go |
3 | 4 (75%) | 4 (75%) | 2026-10-04 |
| pkg/custom/cmdutil.go cmd/openai/main.go |
3 | 11 (27%) | 9 (33%) | 2026-09-25 |
| pkg/custom/cmdutil.go internal/jsonview/explorer.go |
3 | 11 (27%) | 13 (23%) | 2026-09-25 |
| scripts/check-image-picker-integration.py pkg/custom/image_picker_inline.go |
2 | 3 (66%) | 2 (100%) | 2026-10-05 |
| scripts/check-image-picker-reuse.py pkg/custom/image_picker.go |
2 | 2 (100%) | 3 (66%) | 2026-10-05 |
| scripts/check-image-picker-reuse.py pkg/custom/image_picker_view.go |
2 | 2 (100%) | 3 (66%) | 2026-10-05 |
| internal/terminalimage/iterm.go pkg/custom/display_saved_image.go |
2 | 2 (100%) | 4 (50%) | 2026-10-04 |
| pkg/custom/display_image_progress.go internal/terminalimage/image.go |
2 | 3 (66%) | 4 (50%) | 2026-10-04 |
| pkg/custom/prepare_native_image_output.go internal/terminalimage/image.go |
2 | 2 (100%) | 4 (50%) | 2026-10-04 |
| pkg/custom/prepare_native_image_output.go internal/terminalimage/kitty_transport_other.go |
2 | 2 (100%) | 2 (100%) | 2026-10-04 |
| pkg/custom/prepare_native_image_output.go internal/terminalimage/kitty_transport_unix.go |
2 | 2 (100%) | 2 (100%) | 2026-10-04 |
| pkg/custom/preview_saved_image.go internal/terminalimage/image.go |
2 | 4 (50%) | 4 (50%) | 2026-10-04 |
| pkg/custom/preview_saved_image.go internal/terminalimage/kitty_transport_other.go |
2 | 4 (50%) | 2 (100%) | 2026-10-04 |
| pkg/custom/preview_saved_image.go internal/terminalimage/kitty_transport_unix.go |
2 | 4 (50%) | 2 (100%) | 2026-10-04 |
| scripts/check-image-output-compatibility.py internal/terminalimage/image.go |
2 | 2 (100%) | 4 (50%) | 2026-10-04 |
| scripts/check-image-output-compatibility.py internal/terminalimage/kitty_transport_other.go |
2 | 2 (100%) | 2 (100%) | 2026-10-04 |
| scripts/check-image-output-compatibility.py internal/terminalimage/kitty_transport_unix.go |
2 | 2 (100%) | 2 (100%) | 2026-10-04 |