Skip to content

Conversation

@sheetalkamat
Copy link
Owner

@sheetalkamat sheetalkamat commented Jun 15, 2023

args.push('--locale', TypeScriptServerSpawner.getTsLocale(configuration));

args.push('--noGetErrOnBackgroundUpdate');
args.push('--canUseWatchEvents'); // TODO check ts version

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is just

Suggested change
args.push('--canUseWatchEvents'); // TODO check ts version
if (apiVersion.gte(API.v520)) {
args.push('--canUseWatchEvents');
}

Since versions made using fromVersionString throw away pre-releases tags.

sheetalkamat and others added 16 commits October 11, 2023 10:14
get text area sync addon to work for terminals in the editor area
…block

align next/previous codeblock keybindings w those of notebook output editors
* Add notes on chat agent API

* Add request ID to context

* variables

* Add partial implementation for another option for a chat agent API

* update

* Notes from api sync

* More notes

* Can invoke an agent and get the response

* Provide a real request

* Notes

* add `slashCommandProvider` - not yet hooked up

* add metadata properties inline, some comments

* some more notes

* Put the new API side-by-side with the old one

* Fix agent title in response

* Fix agent display

* Send slashCommand to request

* Hook up variables

* Get rid of package.json registration option

* Start to implement followups provider

* Add comment

* make it `slashCommandProvider` all the way, use updateAgent for updates icon, fullName, description

* update docs

* only ask for slash command completions when completing a slash-word

* use complex completion item label for command/agent completions

* add `promptText` to `IParsedChatRequestPart` so that some parts don't make it into the prompt (like agent and slash commands)

* only allow agent and slash command at the beginning of the prompt

* remove unused method

* some jsdoc, many renames so that stuff starts with `ChatAgent...`

* reduce `createChatAgent` to the minimum, let the rest be set via setters

* in the renderer know if an agent has slash command and follow ups, safes IPC calls

* use `iconPath` to align with other APIs

* more jsdoc and more obvious TODOs

* fix chat parser with "late" command

* handle error so that the request stops. where is the rendering tho?

* Show error message in response properly

* Don't blow up global / list

* Change proposal name

* Inline followup types

* fix type

* Remove brace in error msg

---------

Co-authored-by: Johannes <[email protected]>
@sheetalkamat
Copy link
Owner Author

Closing for microsoft#193848

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants