-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Add Terminal History via OSC Sequence Shell Injection #16732
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
Draft
Fangoling
wants to merge
66
commits into
eclipse-theia:master
Choose a base branch
from
ls1intum:terminal-register-osc-sequences
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
ab9cbb2
feat: implement osc listener that renders a divider in the terminal
Fangoling ea0d391
feat: separator is now between lines instead of hovering over a line …
Fangoling f8fd8a6
feat: implement command history
Fangoling fedf41f
feat: implement zsh config to inject OSC133
Fangoling 399cc0e
feat: implement bash config to inject OSC133
Fangoling ba3323e
feat: copy over shell config into browser build
Fangoling f133ca2
feat: add logging of command blocks
Fangoling 0acc841
feat: implement shell config injection for bash and zsh
Fangoling 8b67392
fix: copy over . prefixed files
Fangoling 1afab1a
fix: use correct zdotdir folder path and pass env variables correctly…
Fangoling 05dc50c
feat: add sources to license banner
Fangoling 0e7867a
fix: timing issues with command history
Fangoling 404a089
fix: use appropiate width for command separator
Fangoling 8449f74
fix: return issue in shell config injector
Fangoling 56a26ca
feat: add terminal preference to enable command separator
Fangoling f6f480b
feat: delay first write of debug session to avoid double input of deb…
Fangoling fcc27cb
chore: add updated package lock json with new copyfiles dep
Fangoling 6dd1b24
feat: add 'test' logs in ai-terminal extension
Fangoling 937da95
fix: add missing license header and semicolons
Fangoling baf3791
fix: add missing internalization of command separator preference
Fangoling 56142c1
fix: remove manual edit of nls.metadata.json
Fangoling 5390b13
fix: resolve issue where terminal input before debug session command …
Fangoling c1699a2
chore: correct localization call for terminal preference
Fangoling a9c7b1f
fix: remove unused echo at start of script
Fangoling d51097e
fix: add comment to explain terminal creation delay
Fangoling f42e796
fix: use perma links for source references
Fangoling 9a0e031
chore: add comment to explain osc133 sequences
Fangoling 51f0cdf
fix: improve comment for OSC133 support
Fangoling 3307f8c
fix: remove unused echo from bash integration
Fangoling 54bd06c
fix: command separator preference updated onChange and not on creatio…
Fangoling 2993f1d
fix: rename variable names and stripping of login flag
Fangoling 7813dcf
chore: add changes list to all shell scripts by jetbrains
Fangoling 7c6d60b
fix: show command separator intialization with pereference instead of…
Fangoling ae0d236
feat: use copywebpack plugin in webpack.config instead of copyfiles c…
Fangoling 63f319c
fix: set static constants in shellinjector to readonly
Fangoling 63d2827
fix: remove console.logs in ai-terminal ext and add console debug to …
Fangoling 57bc810
chore: add console.debug for current history after each executed command
Fangoling 7029331
style: remove trailing whitespace
Fangoling 8997f5f
fix: move reset command history state into execute command function
Fangoling 871e600
feat: expose command start and on prompt shown events
Fangoling 7ae6ab9
fix: use correct event to determine prompt apperance in the terminal
Fangoling 8c4170b
fix: change comment; delaying terminal creation -> opening
Fangoling 46434ff
fix: add info to description of the command separator preference
Fangoling 49e7df5
chore: change license to EclipseSource and others
Fangoling 69cf24d
chore: update NOTICE.md
Fangoling 5caa9fd
feat: implement terminal history for task terminals
Fangoling 59dc5d6
feat: add preference 'disable terminal history' and set to experimental
Fangoling 49a6a16
chore: remove dependency for copyfiles and update package-lock.json
Fangoling 85aa82a
feat: add term history preference in ai terminal agent
Fangoling 76b1755
chore: fix lint
Fangoling 86fd4ad
fix: use named logger
Fangoling e31d182
fix: rename resetcommandhistorystate -> clear command collection state
Fangoling d135ed0
fix: cange divider length to 100%
Fangoling 62255e4
chore: change intellij ref in comment to theia
Fangoling edc3050
fix: add missing emitter to be disposed
Fangoling 69ce00a
fix: prevent write to buffer when history disabled
Fangoling 81ef5e1
fix: remove unused command history variable (overwritten each time)
Fangoling 928e096
fix: set allowedPropsedApi to dependant on preference of history
Fangoling fc24101
fix: use browser compatible hex to utf-8 decoder
Fangoling febae89
feat: pass preference to enable termina history from client side
Fangoling a2ff4a7
feat: disable command-block-support for powerlevel10k zsh plugin
Fangoling c3a1811
fix: implement state class that handles command history
Fangoling 92ea1be
feat: implement preference handling for task terminal
Fangoling 67bba06
chore: fix lint
Fangoling 164e39f
feat: extract terminal command blocks till reaching character count
Fangoling 49aeed0
fix: prevent command history clear when command is running
Fangoling 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
Some comments aren't visible on the classic Files Changed page.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.