@@ -368,9 +368,9 @@ function renderThreadActionPopover(t: Thread): string {
368368 data-thread-id="${ escHtml ( t . threadId ) } "
369369 type="text"
370370 value="${ escHtml ( renamingThreadDraft ) } "
371- placeholder="Thread name"
371+ placeholder="Agent name"
372372 maxlength="120"
373- aria-label="Rename thread "
373+ aria-label="Rename agent "
374374 />
375375 <div class="thread-rename-actions">
376376 <button class="btn btn-primary btn-sm" type="submit">Save</button>
@@ -383,7 +383,7 @@ function renderThreadActionPopover(t: Thread): string {
383383 }
384384
385385 return `
386- <div class="thread-action-popover thread-action-menu" data-thread-id="${ escHtml ( t . threadId ) } " role="menu" aria-label="Thread actions">
386+ <div class="thread-action-popover thread-action-menu" data-thread-id="${ escHtml ( t . threadId ) } " role="menu" aria-label="Agent actions">
387387 <button class="thread-action-menu-item" type="button" data-thread-id="${ escHtml ( t . threadId ) } " data-action="rename" role="menuitem">
388388 Rename
389389 </button>
@@ -940,8 +940,8 @@ function renderThreadStatusIndicator(status: ThreadActivityIndicator): string {
940940 <span
941941 class="thread-status-indicator thread-status-indicator--loading"
942942 role="status"
943- aria-label="Thread is working"
944- title="Thread is working"
943+ aria-label="Agent is working"
944+ title="Agent is working"
945945 >
946946 <span class="thread-status-spinner" aria-hidden="true"></span>
947947 </span>`
@@ -999,7 +999,7 @@ function renderThreadItem(
999999 <button class="btn btn-ghost btn-sm thread-item-menu-trigger" type="button"
10001000 data-thread-id="${ escHtml ( t . threadId ) } "
10011001 aria-expanded="${ isMenuOpen ? 'true' : 'false' } "
1002- aria-label="Thread actions">
1002+ aria-label="Agent actions">
10031003 ...
10041004 </button>
10051005 </div>
@@ -1021,7 +1021,7 @@ function updateThreadList(): void {
10211021 if ( ! filtered . length ) {
10221022 el . innerHTML = `
10231023 <div class="thread-list-empty">
1024- ${ q ? `No threads matching "<strong>${ escHtml ( q ) } </strong>"` : 'No threads yet.<br>Click <strong>+</strong> to start one.' }
1024+ ${ q ? `No agents matching "<strong>${ escHtml ( q ) } </strong>"` : 'No agents yet.<br>Click <strong>+</strong> to start one.' }
10251025 </div>`
10261026 renderThreadActionLayer ( )
10271027 return
@@ -1082,7 +1082,7 @@ async function handleRenameThread(threadId: string, nextTitle: string): Promise<
10821082 updatedThread = await api . updateThread ( threadId , { title } )
10831083 } catch ( err ) {
10841084 const message = err instanceof Error ? err . message : 'Unknown error'
1085- window . alert ( `Failed to rename thread : ${ message } ` )
1085+ window . alert ( `Failed to rename agent : ${ message } ` )
10861086 return
10871087 }
10881088
@@ -1102,13 +1102,13 @@ async function handleDeleteThread(threadId: string): Promise<void> {
11021102 if ( ! thread ) return
11031103
11041104 const label = threadTitle ( thread )
1105- if ( ! window . confirm ( `Delete thread "${ label } "? This will permanently remove its history.` ) ) return
1105+ if ( ! window . confirm ( `Delete agent "${ label } "? This will permanently remove its history.` ) ) return
11061106
11071107 try {
11081108 await api . deleteThread ( threadId )
11091109 } catch ( err ) {
11101110 const message = err instanceof Error ? err . message : 'Unknown error'
1111- window . alert ( `Failed to delete thread : ${ message } ` )
1111+ window . alert ( `Failed to delete agent : ${ message } ` )
11121112 return
11131113 }
11141114
@@ -1412,12 +1412,12 @@ function renderChatEmpty(): string {
14121412 return `
14131413 <div class="empty-state">
14141414 <div class="empty-state-icon">◈</div>
1415- <h3 class="empty-state-title">No thread selected</h3>
1415+ <h3 class="empty-state-title">No agent selected</h3>
14161416 <p class="empty-state-desc">
1417- Select a thread from the sidebar, or create a new one to start chatting with an agent .
1417+ Select an agent from the sidebar, or create a new one to start chatting.
14181418 </p>
14191419 <button class="btn btn-primary" id="new-thread-empty-btn">
1420- ${ iconPlus } New Thread
1420+ ${ iconPlus } New Agent
14211421 </button>
14221422 </div>`
14231423}
@@ -1685,7 +1685,7 @@ function bindThreadConfigSwitches(thread: Thread): void {
16851685 if ( store . get ( ) . activeThreadId !== thread . threadId ) return
16861686 renderConfigUI ( )
16871687 const message = err instanceof Error ? err . message : String ( err )
1688- window . alert ( `Failed to load thread config options: ${ message } ` )
1688+ window . alert ( `Failed to load agent config options: ${ message } ` )
16891689 } )
16901690 }
16911691
@@ -1975,10 +1975,10 @@ function renderShell(): void {
19751975 <aside class="sidebar" id="sidebar">
19761976 <div class="sidebar-header">
19771977 <div class="sidebar-brand">
1978- <div class="sidebar-brand-icon">A </div>
1979- <span>Agent Hub </span>
1978+ <div class="sidebar-brand-icon">N </div>
1979+ <span>Ngent </span>
19801980 </div>
1981- <button class="btn btn-icon" id="new-thread-btn" title="New thread " aria-label="New thread ">
1981+ <button class="btn btn-icon" id="new-thread-btn" title="New agent " aria-label="New agent ">
19821982 ${ iconPlus }
19831983 </button>
19841984 </div>
@@ -1988,8 +1988,8 @@ function renderShell(): void {
19881988 id="search-input"
19891989 class="search-input"
19901990 type="search"
1991- placeholder="Search threads …"
1992- aria-label="Search threads "
1991+ placeholder="Search agents …"
1992+ aria-label="Search agents "
19931993 />
19941994 </div>
19951995
@@ -2125,7 +2125,7 @@ async function init(): Promise<void> {
21252125 const el = document . getElementById ( 'thread-list' )
21262126 if ( el ) {
21272127 el . innerHTML = `<div class="thread-list-empty" style="color:var(--error)">
2128- Failed to load threads .<br>Check the server connection in Settings.
2128+ Failed to load agents .<br>Check the server connection in Settings.
21292129 </div>`
21302130 }
21312131 }
0 commit comments