How the-dev-tools/dev-tools works
DevTools is a local-first API testing and workflow-building product: developers create or record API requests, organize them into collections, chain them into visual test flows, and run them locally or from the CLI in CI. The desktop shell hosts the client; the server provides API operations and persistence, while a JavaScript worker supports execution. The README also documents Postman-compatible import/export and browser recording. Some subsystems are represented from the tree and README rather than sampled implementation, so those connections are documented relationships, not claims of inspected call paths.
Main entry points: route.tsx Workspace · entrypoint.tsx Studio client · runner.go Flow engine · tab.tsx Flow builder
Components 21
Request authoring
- Studio client
packages/client/src/app/entrypoint.tsx - Workspace
packages/client/src/pages/workspace/routes/workspace/$workspaceIdCan/route.tsx - HTTP requests
packages/client/src/pages/http/request/index.tsx - GraphQL requests
packages/client/src/pages/graphql/request/index.tsx - WebSocket requests
packages/client/src/pages/websocket/request/index.tsx - Flow builder
packages/client/src/pages/flow/tab.tsx
Flow execution
- Run status
packages/client/src/pages/workspace/ui/status-bar.tsx - Flow engine
packages/server/pkg/flow/runner/runner.go - JavaScript worker
packages/worker-js/src/nodejs-executor.ts - CLI runner
apps/cli/internal/loadrun/loadrun.go
Local platform
- Desktop shell
apps/desktop/src/renderer/main.tsx - API transport
packages/client/src/shared/api/connect-query.tsx - Server APIs
packages/server/internal/api/api.go - Local database
packages/db/db.go - Authentication
packages/auth/src/adapter.ts - Auth queries
packages/db/pkg/sqlc/gen/betterauth.sql.go - Auth query filters
packages/server/pkg/authadapter/dynquery.go
Import and capture
- Collection transfer
packages/server/internal/api/rimportv2/storage.go - Browser recorder
apps/api-recorder-extension/src/recorder.ts
Other components
- Developer
- CI pipeline
Connections 21
- Developer → Desktop shell: uses
README.md - Desktop shell → Studio client: hosts
apps/desktop/src/renderer/main.tsx - Developer → Studio client: builds tests
README.md - Studio client → Workspace: opens
- Workspace → HTTP requests: edits
- Workspace → GraphQL requests: edits
- Workspace → WebSocket requests: edits
- Workspace → Flow builder: opens
- Flow builder → Run status: tracks runs
- Studio client → API transport: sends requests
- API transport → Server APIs: calls
- Server APIs → Flow engine: dispatches flows
- Flow engine → JavaScript worker: executes JavaScript
- Flow engine → Local database: reads and writes
- CLI runner → CI pipeline: runs in
README.md - Developer → CLI runner: runs tests
README.md - Developer → Browser recorder: records requests
README.md - Browser recorder → Studio client: imports captures
README.md - Developer → Collection transfer: transfers collections
README.md - Auth query filters → Auth queries: queries
packages/server/pkg/authadapter/dynquery.go - Authentication → Auth queries: uses