Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
6c56e27d
Commit
6c56e27d
authored
Sep 16, 2025
by
Jiachi Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rm agent
parent
76e7564b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
1029 deletions
+0
-1029
chat-interface.css
...xt/src/next-devtools/dev-overlay/agent/chat-interface.css
+0
-319
chat-interface.tsx
...xt/src/next-devtools/dev-overlay/agent/chat-interface.tsx
+0
-688
panel-router.tsx
.../next/src/next-devtools/dev-overlay/menu/panel-router.tsx
+0
-22
No files found.
packages/next/src/next-devtools/dev-overlay/agent/chat-interface.css
deleted
100644 → 0
View file @
76e7564b
.chatContainer
{
border
:
1px
solid
#d1d5db
;
border-radius
:
8px
;
display
:
flex
;
width
:
400px
;
height
:
500px
;
flex-direction
:
column
;
overflow
:
hidden
;
background
:
#ffffff
;
color
:
#000000
;
position
:
relative
;
transform
:
scale
(
0.85
);
transform-origin
:
bottom
right
;
transition
:
height
0.2s
ease-in-out
;
}
.chatContainer.minimized
{
height
:
auto
;
}
.chatHeader
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
padding-left
:
14px
;
padding-right
:
8px
;
padding-top
:
8px
;
padding-bottom
:
8px
;
border-bottom
:
1px
solid
#d1d5db
;
position
:
sticky
;
top
:
0
;
background
:
#ffffff
;
color
:
#000000
;
z-index
:
10
;
}
.chatTitle
{
font-weight
:
normal
;
font-size
:
14px
;
display
:
flex
;
align-items
:
center
;
gap
:
4px
;
margin
:
0
;
}
.chatIcon
{
height
:
14px
;
width
:
14px
;
}
.headerActions
{
display
:
flex
;
align-items
:
center
;
gap
:
0
;
}
.actionButton
{
background
:
none
;
border
:
none
;
padding
:
6px
;
border-radius
:
4px
;
color
:
#6b7280
;
cursor
:
pointer
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.actionButton
:hover
{
background
:
#f3f4f6
;
}
.actionButton.inspecting
{
background
:
#3b82f6
;
color
:
white
;
}
.actionButton.inspecting
:hover
{
background
:
#2563eb
;
}
.chatContent
{
flex
:
1
;
min-height
:
0
;
position
:
relative
;
overflow-y
:
auto
;
max-height
:
350px
;
}
.messagesContainer
{
padding
:
16px
;
padding-bottom
:
120px
;
}
.messageGroup
{
display
:
flex
;
width
:
100%
;
align-items
:
flex-end
;
gap
:
16px
;
padding
:
16px
0
;
margin-top
:
16px
;
}
.messageGroup.user
{
justify-content
:
flex-end
;
}
.messageContent
{
position
:
relative
;
display
:
flex
;
flex-direction
:
column
;
gap
:
8px
;
border-radius
:
12px
;
padding
:
8px
16px
;
font-size
:
14px
;
max-width
:
80%
;
word-wrap
:
break-word
;
overflow-wrap
:
break-word
;
white-space
:
normal
;
}
.messageContent.user
{
background
:
#3b82f6
;
color
:
white
;
}
.messageContent.assistant
{
background
:
#f3f4f6
;
color
:
#000000
;
max-width
:
85%
;
}
.messageTail
{
position
:
absolute
;
bottom
:
-0.5px
;
width
:
18px
;
height
:
14px
;
}
.messageTail.user
{
right
:
2.5px
;
transform
:
translateX
(
50%
);
fill
:
#3b82f6
;
}
.avatar
{
width
:
28px
;
height
:
28px
;
border-radius
:
50%
;
margin-top
:
8px
;
}
.messageActions
{
margin-top
:
4px
;
display
:
flex
;
align-items
:
center
;
gap
:
0
;
}
.messageButton
{
background
:
none
;
border
:
none
;
padding
:
4px
;
border-radius
:
4px
;
color
:
#6b7280
;
cursor
:
pointer
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.messageButton
:hover
{
background
:
#f3f4f6
;
}
.thumbsContainer
{
display
:
flex
;
align-items
:
center
;
gap
:
4px
;
}
.chatInput
{
position
:
sticky
;
bottom
:
0
;
z-index
:
10
;
background
:
#ffffff
;
border-top
:
1px
solid
#d1d5db
;
}
.inputContainer
{
padding-bottom
:
8px
;
padding-top
:
8px
;
border-top
:
1px
solid
#d1d5db
;
cursor
:
text
;
}
.inputForm
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
gap
:
8px
;
}
.textarea
{
width
:
100%
;
resize
:
none
;
border
:
none
;
outline
:
none
;
background
:
transparent
;
padding
:
8px
16px
;
font-size
:
14px
;
min-height
:
56px
;
font-family
:
inherit
;
}
.textarea
::placeholder
{
color
:
#9ca3af
;
}
.inputFooter
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
width
:
100%
;
padding
:
0
8px
;
}
.charCount
{
margin-left
:
8px
;
font-size
:
11px
;
color
:
#9ca3af
;
font-variant-numeric
:
tabular-nums
;
}
.submitButton
{
height
:
32px
;
width
:
32px
;
padding
:
0
;
border
:
none
;
border-radius
:
4px
;
background
:
#3b82f6
;
color
:
white
;
cursor
:
pointer
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.submitButton
:disabled
{
opacity
:
0.5
;
cursor
:
not-allowed
;
}
.submitButton
:not
(
:disabled
)
:hover
{
background
:
#2563eb
;
}
.chatToolbar
{
display
:
flex
;
align-items
:
center
;
gap
:
8px
;
padding
:
4px
8px
;
border-bottom
:
1px
solid
#d1d5db
;
background
:
#f9fafb
;
font-size
:
12px
;
}
.toolbarButton
{
display
:
flex
;
align-items
:
center
;
gap
:
4px
;
padding
:
4px
8px
;
background
:
#ffffff
;
border
:
1px
solid
#d1d5db
;
border-radius
:
4px
;
color
:
#374151
;
cursor
:
pointer
;
font-size
:
11px
;
font-weight
:
500
;
transition
:
all
0.2s
ease
;
}
.toolbarButton
:hover
{
background
:
#f3f4f6
;
border-color
:
#9ca3af
;
}
.toolbarButton.active
{
background
:
#3b82f6
;
border-color
:
#3b82f6
;
color
:
white
;
}
.toolbarButton.active
:hover
{
background
:
#2563eb
;
border-color
:
#2563eb
;
}
.locatorInstructions
{
color
:
#6b7280
;
font-size
:
11px
;
font-style
:
italic
;
}
.streaming-cursor
{
color
:
#3b82f6
;
animation
:
blink
1s
infinite
;
}
@keyframes
blink
{
0
%,
50
%
{
opacity
:
1
;
}
51
%,
100
%
{
opacity
:
0
;
}
}
packages/next/src/next-devtools/dev-overlay/agent/chat-interface.tsx
deleted
100644 → 0
View file @
76e7564b
This diff is collapsed.
Click to expand it.
packages/next/src/next-devtools/dev-overlay/menu/panel-router.tsx
View file @
6c56e27d
...
@@ -28,7 +28,6 @@ import { UserPreferencesBody } from '../components/errors/dev-tools-indicator/de
...
@@ -28,7 +28,6 @@ import { UserPreferencesBody } from '../components/errors/dev-tools-indicator/de
import
{
useShortcuts
}
from
'../hooks/use-shortcuts'
import
{
useShortcuts
}
from
'../hooks/use-shortcuts'
import
{
useUpdateAllPanelPositions
}
from
'../components/devtools-indicator/devtools-indicator'
import
{
useUpdateAllPanelPositions
}
from
'../components/devtools-indicator/devtools-indicator'
import
{
saveDevToolsConfig
}
from
'../utils/save-devtools-config'
import
{
saveDevToolsConfig
}
from
'../utils/save-devtools-config'
import
{
Agent
}
from
'../agent/agent'
import
'./panel-router.css'
import
'./panel-router.css'
const
MenuPanel
=
()
=>
{
const
MenuPanel
=
()
=>
{
...
@@ -93,11 +92,6 @@ const MenuPanel = () => {
...
@@ -93,11 +92,6 @@ const MenuPanel = () => {
'data-segment-explorer'
:
true
,
'data-segment-explorer'
:
true
,
},
},
},
},
{
label
:
'Agent'
,
value
:
<
ChevronRight
/>,
onClick
:
()
=>
setPanel
(
'agent'
),
},
{
{
label
:
'Preferences'
,
label
:
'Preferences'
,
value
:
<
GearIcon
/>,
value
:
<
GearIcon
/>,
...
@@ -247,22 +241,6 @@ export const PanelRouter = () => {
...
@@ -247,22 +241,6 @@ export const PanelRouter = () => {
</
div
>
</
div
>
</
DynamicPanel
>
</
DynamicPanel
>
</
PanelRoute
>
</
PanelRoute
>
<
PanelRoute
name=
"agent"
>
<
DynamicPanel
sharePanelSizeGlobally=
{
false
}
sizeConfig=
{
{
kind
:
'fixed'
,
height
:
300
/
state
.
scale
,
width
:
400
/
state
.
scale
,
}
}
header=
{
<
DevToolsHeader
title=
"Agent"
/>
}
>
<
div
className=
"panel-content"
>
<
Agent
/>
</
div
>
</
DynamicPanel
>
</
PanelRoute
>
</>
</>
)
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment