Skip to content
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

[vscode] API evolution (public and proposed) and menu declarations between 1.94 and 1.95 - WIP #14399

Open
rschnekenbu opened this issue Nov 5, 2024 · 0 comments
Assignees
Labels
vscode issues related to VSCode compatibility

Comments

@rschnekenbu
Copy link
Contributor

rschnekenbu commented Nov 5, 2024

Sources

  • commit ref for tags

  • command used

    • git difftool -d d78a74b..65edc49 -- src/vscode-dts/ on vscode repo
    • command: git submodule foreach "grep -irn enabledApiProposals --include=package.json | cut -d ':' -f 1 | xargs jq --raw-output '{filename: input_filename, enabledApiProposals: .enabledApiProposals}'" > ./vscode-builtins-enabled-proposals-1.95.1.txt on vscode-builtin-extensions repo, on commit 65edc49
    • git difftool -d d78a74b..65edc49 -- src/vs/workbench/services/actions/common/menusExtensionPoint.ts on vscode repo

Evaluation

vscode.d.ts

  • ThemeColor#id readonly property. It is already set by constructor, but it can now be read by extensions
  • ChatRequestTurn#toolReferences added readonly property
  • ChatRequest additions: toolReferences, toolInvocationToken and model readonly properties
  • LanguageModelChatMessage updates: content is now only a string anymore but also (LanguageModelTextPart | LanguageModelToolResultPart | LanguageModelToolCallPart)[]
  • LanguageModelChatResponse#stream property added
  • LanguageModelChatRequestOptions tools and toolModel added optional properties
  • Added methods in language model namespace
    -LanguageModelChatTool, LanguageModelChatToolMode, LanguageModelToolCallPart, LanguageModelToolResultPart, LanguageModelTextPart, LanguageModelPromptTsxPart, LanguageModelToolResult, ChatParticipantToolToken, LanguageModelToolInvocationOptions, LanguageModelToolTokenizationOptions, LanguageModelToolInformation, LanguageModelToolInvocationPrepareOptions, LanguageModelTool<T>, LanguageModelToolConfirmationMessages, PreparedToolInvocation, ChatLanguageModelToolReferenceadded types

Proposed API evolutions

  • vscode.proposed.chatParticipantAdditions.d.ts: updated API, not used in builtins
  • vscode.proposed.chatParticipantPrivate.d.ts: updated API, not used in builtins
  • vscode.proposed.chatProvider.d.ts: updated API, not used in builtins
  • vscode.proposed.chatReferenceBinaryData.d.ts: updated API, not used in builtins
  • /vscode.proposed.contribChatParticipantDetection.d.ts: deleted API, not used in builtins (probably moved as an official menu contribution point)
  • vscode.proposed.inlineEdit.d.ts: updated API. commands?: Command[]; added to InlineEdit. Not used by builtins
  • vscode.proposed.lmTools.d.ts: deleted API, as moved to public API. file remains however. Not used by builtins probably?
  • vscode.proposed.mappedEditsProvider.d.ts: updated API, implemented by theia, used by typescript
  • vscode.proposed.notebookExecution.d.ts: updated comment.
  • vscode.proposed.scmActionButton.d.ts: updated API, used in Git

Menu evolutions

  • editor/inlineEdit/actions is removed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vscode issues related to VSCode compatibility
Projects
None yet
Development

No branches or pull requests

1 participant