Skip to content

Commit

Permalink
allow copy-to-clipboard of chat response while still streaming (#4268)
Browse files Browse the repository at this point in the history
  • Loading branch information
sqs committed May 23, 2024
1 parent 8d51330 commit 0b6606a
Show file tree
Hide file tree
Showing 27 changed files with 1,198 additions and 626 deletions.
6 changes: 0 additions & 6 deletions lib/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,12 @@
"date-fns": "^2.30.0",
"dedent": "^0.7.0",
"diff": "^5.2.0",
"dompurify": "^3.0.4",
"fast-xml-parser": "^4.3.2",
"highlight.js": "^10.7.3",
"isomorphic-fetch": "^3.0.0",
"js-tiktoken": "^1.0.10",
"lodash": "^4.17.21",
"lru-cache": "^10.0.0",
"mac-ca": "^2.0.3",
"marked": "^4.0.16",
"re2js": "^0.4.1",
"semver": "^7.5.4",
"vscode-uri": "^3.0.7",
Expand All @@ -46,11 +43,8 @@
"@types/crypto-js": "^4.2.2",
"@types/dedent": "^0.7.0",
"@types/diff": "^5.0.9",
"@types/dompurify": "^3.0.2",
"@types/highlight.js": "^9.12.4",
"@types/isomorphic-fetch": "^0.0.39",
"@types/lodash": "^4.14.195",
"@types/marked": "^5.0.0",
"@types/node-fetch": "^2.6.4",
"@types/semver": "^7.5.0",
"@types/vscode": "^1.80.0"
Expand Down
79 changes: 0 additions & 79 deletions lib/shared/src/chat/markdown.ts

This file was deleted.

2 changes: 1 addition & 1 deletion lib/shared/src/chat/transcript/display-text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type { RangeData } from '../../common/range'
* https://github.com/microsoft/vscode/issues/178868#issuecomment-1494826381); you can't pass a
* selection or viewColumn. We need to proxy `vscode.open` to be able to pass these args.
*
* Also update `lib/shared/src/chat/markdown.ts`'s `ALLOWED_URI_REGEXP` if you change this.
* Also update MarkdownFromCody's `ALLOWED_URI_REGEXP` if you change this.
*/
export const CODY_PASSTHROUGH_VSCODE_OPEN_COMMAND_ID = '_cody.vscode.open'

Expand Down
88 changes: 0 additions & 88 deletions lib/shared/src/common/markdown/contributions.ts

This file was deleted.

1 change: 0 additions & 1 deletion lib/shared/src/common/markdown/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from './markdown'
export * from './contributions'
129 changes: 0 additions & 129 deletions lib/shared/src/common/markdown/markdown.test.ts

This file was deleted.

Loading

0 comments on commit 0b6606a

Please sign in to comment.