From 7227eef0ffe86b4af25842a24e68eb6ab5ce97e5 Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Tue, 30 Dec 2025 01:34:46 +0000 Subject: [PATCH] refactor: move inspector files to api/inspector/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Step 4.2 of source reorganization - move inspector-related files: - BunInspector.cpp - InspectorBunFrontendDevServerAgent.cpp/h - InspectorHTTPServerAgent.cpp/h - InspectorLifecycleAgent.cpp/h - InspectorTestReporterAgent.cpp/h 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- cmake/Sources.json | 1 + cmake/targets/BuildBun.cmake | 1 + src/buntime/{bindings => api/inspector}/BunInspector.cpp | 0 .../inspector}/InspectorBunFrontendDevServerAgent.cpp | 0 .../inspector}/InspectorBunFrontendDevServerAgent.h | 0 .../{bindings => api/inspector}/InspectorHTTPServerAgent.cpp | 0 .../{bindings => api/inspector}/InspectorHTTPServerAgent.h | 0 .../{bindings => api/inspector}/InspectorLifecycleAgent.cpp | 0 .../{bindings => api/inspector}/InspectorLifecycleAgent.h | 0 .../{bindings => api/inspector}/InspectorTestReporterAgent.cpp | 0 .../{bindings => api/inspector}/InspectorTestReporterAgent.h | 0 11 files changed, 2 insertions(+) rename src/buntime/{bindings => api/inspector}/BunInspector.cpp (100%) rename src/buntime/{bindings => api/inspector}/InspectorBunFrontendDevServerAgent.cpp (100%) rename src/buntime/{bindings => api/inspector}/InspectorBunFrontendDevServerAgent.h (100%) rename src/buntime/{bindings => api/inspector}/InspectorHTTPServerAgent.cpp (100%) rename src/buntime/{bindings => api/inspector}/InspectorHTTPServerAgent.h (100%) rename src/buntime/{bindings => api/inspector}/InspectorLifecycleAgent.cpp (100%) rename src/buntime/{bindings => api/inspector}/InspectorLifecycleAgent.h (100%) rename src/buntime/{bindings => api/inspector}/InspectorTestReporterAgent.cpp (100%) rename src/buntime/{bindings => api/inspector}/InspectorTestReporterAgent.h (100%) diff --git a/cmake/Sources.json b/cmake/Sources.json index 9dda8388f2..f11fdbe026 100644 --- a/cmake/Sources.json +++ b/cmake/Sources.json @@ -56,6 +56,7 @@ "src/buntime/bindings/v8/*.cpp", "src/buntime/bindings/v8/shim/*.cpp", "src/buntime/api/console/*.cpp", + "src/buntime/api/inspector/*.cpp", "src/bake/*.cpp", "src/deps/*.cpp", "src/vm/*.cpp", diff --git a/cmake/targets/BuildBun.cmake b/cmake/targets/BuildBun.cmake index 943a29773a..0c480d18cc 100644 --- a/cmake/targets/BuildBun.cmake +++ b/cmake/targets/BuildBun.cmake @@ -866,6 +866,7 @@ target_include_directories(${bun} PRIVATE ${CWD}/src/buntime/bindings/sqlite ${CWD}/src/buntime/bindings/v8 ${CWD}/src/buntime/api/console + ${CWD}/src/buntime/api/inspector ${CWD}/src/buntime/modules ${CWD}/src/js/builtins ${CWD}/src/napi diff --git a/src/buntime/bindings/BunInspector.cpp b/src/buntime/api/inspector/BunInspector.cpp similarity index 100% rename from src/buntime/bindings/BunInspector.cpp rename to src/buntime/api/inspector/BunInspector.cpp diff --git a/src/buntime/bindings/InspectorBunFrontendDevServerAgent.cpp b/src/buntime/api/inspector/InspectorBunFrontendDevServerAgent.cpp similarity index 100% rename from src/buntime/bindings/InspectorBunFrontendDevServerAgent.cpp rename to src/buntime/api/inspector/InspectorBunFrontendDevServerAgent.cpp diff --git a/src/buntime/bindings/InspectorBunFrontendDevServerAgent.h b/src/buntime/api/inspector/InspectorBunFrontendDevServerAgent.h similarity index 100% rename from src/buntime/bindings/InspectorBunFrontendDevServerAgent.h rename to src/buntime/api/inspector/InspectorBunFrontendDevServerAgent.h diff --git a/src/buntime/bindings/InspectorHTTPServerAgent.cpp b/src/buntime/api/inspector/InspectorHTTPServerAgent.cpp similarity index 100% rename from src/buntime/bindings/InspectorHTTPServerAgent.cpp rename to src/buntime/api/inspector/InspectorHTTPServerAgent.cpp diff --git a/src/buntime/bindings/InspectorHTTPServerAgent.h b/src/buntime/api/inspector/InspectorHTTPServerAgent.h similarity index 100% rename from src/buntime/bindings/InspectorHTTPServerAgent.h rename to src/buntime/api/inspector/InspectorHTTPServerAgent.h diff --git a/src/buntime/bindings/InspectorLifecycleAgent.cpp b/src/buntime/api/inspector/InspectorLifecycleAgent.cpp similarity index 100% rename from src/buntime/bindings/InspectorLifecycleAgent.cpp rename to src/buntime/api/inspector/InspectorLifecycleAgent.cpp diff --git a/src/buntime/bindings/InspectorLifecycleAgent.h b/src/buntime/api/inspector/InspectorLifecycleAgent.h similarity index 100% rename from src/buntime/bindings/InspectorLifecycleAgent.h rename to src/buntime/api/inspector/InspectorLifecycleAgent.h diff --git a/src/buntime/bindings/InspectorTestReporterAgent.cpp b/src/buntime/api/inspector/InspectorTestReporterAgent.cpp similarity index 100% rename from src/buntime/bindings/InspectorTestReporterAgent.cpp rename to src/buntime/api/inspector/InspectorTestReporterAgent.cpp diff --git a/src/buntime/bindings/InspectorTestReporterAgent.h b/src/buntime/api/inspector/InspectorTestReporterAgent.h similarity index 100% rename from src/buntime/bindings/InspectorTestReporterAgent.h rename to src/buntime/api/inspector/InspectorTestReporterAgent.h