-
Notifications
You must be signed in to change notification settings - Fork 36k
persist command in pty service, refactor how commands are restored on window reload for inline chat terminal #274417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
113 commits
Select commit
Hold shift + click to select a range
30c3b10
fixes #259261
meganrogge 7c335a2
Merge branch 'main' into merogge/terminal-last
meganrogge b5e7b3e
include output
meganrogge 27a3917
do not encode commandLine and outpu t in uri
meganrogge 919b8f7
Merge branch 'main' into merogge/terminal-last
meganrogge 44580cf
re-add something
meganrogge 01a9423
format
meganrogge 82dca7c
revert a bunch of changes
meganrogge cc4ad9a
revert more changes
meganrogge e5a1fc6
revert more changes
meganrogge e7894c6
get it mostly working
meganrogge 581dab5
handle disposal properly
meganrogge 45fea3d
add exit code
meganrogge d0f7d31
slight tweaks
meganrogge fe1e01e
add terminalService openResource
meganrogge 0652e4f
pass in URI to xtermTerminal instead of instanceId
meganrogge 28d4442
get hover and click working, add custom widget
meganrogge cc79afd
get it to work!
meganrogge 7aa7432
rm resource check from input part
meganrogge d95cd6a
part of #271388
meganrogge 3c7521c
Update src/vs/workbench/contrib/chat/browser/actions/chatContext.ts
meganrogge 44fcff8
use html
meganrogge 1756c51
Merge branch 'main' into merogge/inline-output
meganrogge 026842a
scroll down by default
meganrogge e35e8fb
Merge branch 'main' into merogge/inline-output
meganrogge 9e040ad
rename to align
meganrogge 4d24d8a
rename
meganrogge e2e8410
fix issue with context menu action not showing up
meganrogge 3ccc52f
fix issue with context menu action not showing up
meganrogge c085718
followups
meganrogge d3ebafd
Merge branch 'merogge/cleanup' into merogge/inline-output
meganrogge 3990af9
add stuff
meganrogge ec55245
fix bug
meganrogge c892ad4
Merge branch 'main' into merogge/inline-output
meganrogge d5c0cf5
don't fallback
meganrogge fdad452
go back to text
meganrogge b4673ba
keep last max lines
meganrogge 104b442
Merge branch 'main' into merogge/inline-output
meganrogge 64be1c5
rm `chatSessionId` form `ITerminalCommand`, add `terminalCommandUri` …
meganrogge 2066294
chars, not lines
meganrogge 90984d6
rm space between elements, style
meganrogge 1c9cdcc
try to get scrollbar working
meganrogge b0f1afd
fix layout issues
meganrogge cf9fce6
set scrollbars to auto
meganrogge f4e6d01
@xterm/[email protected]
meganrogge ec7aca0
get it mostly working
meganrogge bafb618
get it to work on reload
meganrogge 49de5ce
fix start/end
meganrogge 4060a42
get reload working for real
meganrogge 36388f0
Update src/vs/workbench/contrib/chat/browser/chatContentParts/toolInv…
meganrogge d402df0
Update src/vs/workbench/contrib/chat/browser/chatContentParts/toolInv…
meganrogge 702e8d0
cleanup
meganrogge ffc125a
fix issue
meganrogge 211e912
add action on command finished
meganrogge 21336f5
fix action order
meganrogge 5f72467
polish style of title
meganrogge a086976
get rid of height 100%
meganrogge a2aa259
rm inline width
meganrogge 0df968f
add getHtmlForCommand, extract ToggleChatTerminalOutputAction
meganrogge c1dc885
use URI
meganrogge 40005ea
use URI
meganrogge 8b14e57
rm overkill function
meganrogge a7feba3
trim empty lines
meganrogge 215d10a
revert a commit
meganrogge 9c6c85c
don't set command uri too early
meganrogge 86f2d33
Register actions as disposable
meganrogge c0174d1
rm width
meganrogge 16738cb
wip, not working well
meganrogge b5ec5b0
Apply suggestion from @meganrogge
meganrogge 8fa79c9
Apply suggestion from @meganrogge
meganrogge 7860bc5
Apply suggestion from @meganrogge
meganrogge 47e5709
cleanup
meganrogge ee28e69
clean up
meganrogge 866dab6
fix double border
meganrogge 354dca5
Update src/vs/workbench/contrib/chat/browser/chatContentParts/toolInv…
meganrogge 9b2e7b4
Update src/vs/workbench/contrib/chat/browser/chatContentParts/toolInv…
meganrogge d404e7c
revert changes
meganrogge ca3c6ae
Merge branch 'main' into merogge/inline-output
meganrogge b60f110
add todo
meganrogge 158c137
fix bug
meganrogge f2d7c98
rename function
meganrogge dd4924f
don't override startCol
meganrogge c81d9b1
rm lines
meganrogge f557a9d
use const enums
meganrogge fa99301
get output to show on reload
meganrogge 07f235c
fix issue
meganrogge 194dc79
rename
meganrogge 21fa01d
cleanup
meganrogge 4d54439
still have focus terminal action even if no command
meganrogge 754d216
Merge branch 'main' into merogge/inline-output
meganrogge 5767f4f
enable modifying for now
meganrogge 341bad3
Merge branch 'main' into merogge/inline-output
meganrogge 47bafa8
fix error, use UriComponents
meganrogge daf34d7
Initial plan
Copilot 6e75209
Add command ID support for terminal commands to link across renderer …
Copilot fc7410c
Improve command ID handling with setNextCommandId method
Copilot 7013a8c
Merge branch 'main' into copilot/link-command-id-in-terminal
meganrogge d880136
Simplify _updateTerminalCommandMetadata using command ID lookup
Copilot 02be8c6
Add missing terminalCommandUri to IChatTerminalToolInvocationData
Copilot db4013c
Remove unnecessary _updateTerminalCommandMetadata method
Copilot dc9f36e
Move command ID management to terminalChatService
Copilot b770d1f
set next command id
meganrogge d2eccf7
get command to persist
meganrogge 5a80b6e
rm output
meganrogge 92736e9
Merge branch 'main' into merogge/persist-command
meganrogge 5af5703
tweak
meganrogge f68c200
Update src/vs/workbench/contrib/terminalContrib/chatAgentTools/browse…
meganrogge 5683fbe
Update src/vs/platform/terminal/common/capabilities/commandDetectionC…
meganrogge 67ab4da
Merge branch 'main' into merogge/persist-command
meganrogge 368c070
Fix bug
meganrogge 064acdc
Merge branch 'main' into merogge/persist-command
meganrogge 2196dea
clean up
meganrogge 880cd7c
Rm persisting command IDs in terminal chat service
meganrogge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.