@@ -35,12 +35,12 @@ const CSP_HEADER =
3535function resolveUIDistDir ( ) : string | null {
3636 const thisDir = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
3737 const candidates = [
38- // Bundled CLI: dist/cli/index.mjs → dist/agent-dev-tools /
39- path . resolve ( thisDir , '..' , 'agent-dev-tools ' ) ,
38+ // Bundled CLI: dist/cli/index.mjs → dist/agent-inspector /
39+ path . resolve ( thisDir , '..' , 'agent-inspector ' ) ,
4040 // npm package: @aws /agent-inspector/dist-assets/
4141 path . resolve ( thisDir , '..' , '..' , '..' , '..' , '..' , 'node_modules' , '@aws' , 'agent-inspector' , 'dist-assets' ) ,
42- // Dev via tsx: src/cli/operations/dev/web-ui/ → src/assets/agent-dev-tools /
43- path . resolve ( thisDir , '..' , '..' , '..' , '..' , 'assets' , 'agent-dev-tools ' ) ,
42+ // Dev via tsx: src/cli/operations/dev/web-ui/ → src/assets/agent-inspector /
43+ path . resolve ( thisDir , '..' , '..' , '..' , '..' , 'assets' , 'agent-inspector ' ) ,
4444 ] ;
4545 for ( const dir of candidates ) {
4646 if ( fs . existsSync ( path . join ( dir , 'index.html' ) ) ) return dir ;
@@ -145,7 +145,7 @@ export interface WebUIOptions {
145145/**
146146 * Lightweight HTTP server that proxies requests to agent dev servers.
147147 * Agent servers are started on demand when the frontend selects an agent.
148- * The chat UI is served as static files from the built frontend (src/ agent-dev-tools ).
148+ * The chat UI is served as static files from the built frontend (agent-inspector ).
149149 *
150150 * Route handlers are in ./handlers/ — this class owns lifecycle, CORS, and routing only.
151151 */
0 commit comments