You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: release-notes/v1_100.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,6 +141,7 @@ Instruction files use the `.instructions.md` file suffix. They can be located in
141
141
Instructions files can be added manually or automatically to chat requests.
142
142
- To add them manually, use the `Add Context ` button in the chat view and select `Instructions...`. Alternatively use the `Chat: Attach Instructions File...` command from the command palette. This brings aup a picker that lets you select existing instructions files or create a new one to attach.
143
143
- To have them added automatically, add the `applyTo` header to the instructions file. If a chat request contains a file that matches the given pattern, the instructions file will be attached.
144
+
144
145
````md
145
146
---
146
147
applyTo: '**/*.ts'
@@ -156,12 +157,12 @@ else
156
157
}
157
158
````
158
159
160
+
Similarly to the prompt files, the instruction files can now be created with the `> Chat: New Instructions File...` command. Moreover, the files created in the *user data* folder can be automatically synchronized across multiple user machines through the `Settings Sync` service. Note that the synchronization is required to be explicitly enabled by checking the `Prompts and Instructions` checkbox in the `Backup and Sync Settings...` dialog.
159
161
160
162
**Prompt files** describe a complete chat request, including the user query, mode and tools to use.
161
163
162
164
Prompt files use the `.prompt.md` file suffix. They can be located in your user data folder or in the workspace. The `setting(chat.promptFilesLocations)` setting lists the folder where prompt files are looked for.
163
165
164
-
165
166
To run a prompt file, you can
166
167
- type `/` in the chat input field and select your prompt file
167
168

Generate release notes for the features I worked in the current release and update them in the release notes file. Use [release notes writing instructions file](.github/instructions/release-notes-writing.instructions.md) as a guide.
182
183
```
183
184
185
+
#### Improvements and notes
186
+
187
+
- instructions/prompt files that are open in active editor are now correctly treated as "prompt file" attachments (e.g., nested file references are resolved properly, etc.); this allows to iterate on the instructions/prompt files quickly while keep tunning them in the file editor
188
+
- instructions and prompt files now have their own language IDs, configurable in the *language mode* dialog for any file open document ("Prompt" and "Instructions" appropriately); this allows, for instance, using untitled documents as temporary prompt files before saving them as files to the disk
189
+
- the '> Chat: Use Prompt...' command is now accessible as '> Chat: Run Prompt...' in the command palette; furthermore, the command now runs the selected prompt *immediately*, as opposed to merely attaching it to the chat context as it did before
190
+
- both file types now also support the `description` metadata in their headers, providing a common place for short and user-friendly prompt summaries; in the future, this header is planned to be used along with the `applyTo` header as the rule that determines if the file needs to be auto-included with chat requests (e.g., `description: 'Code style rules for front-end components written in TypeScript.'`)
191
+
- the `applyTo` header is currently supported only in the instruction files, and is considered invalid in the prompt files
192
+
- the new `/save` chat command lets you quickly store chat history as a reusable prompt file; if the `agent` mode is used, any tools invoked during the session are automatically summarized into `tools` metadata in the file header and represents the minimal set of tools required for the stored reusable prompt to work
193
+
194
+
184
195
### MCP Support for Streamable HTTP
185
196
186
197
This release adds support for the new Streamable HTTP transport for Model Context Protocol servers. Streamable HTTP servers are configured just like existing SSE servers, and our implementation is backwards-compatible with SSE servers:
0 commit comments