Skip to content

Commit 3aae3f8

Browse files
committed
Merge origin/main into agents/automation-card-duplicate-option
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a713c12c-1a43-4f7f-9337-fca7f8dfe89f
2 parents 889cb2d + ff155aa commit 3aae3f8

346 files changed

Lines changed: 13846 additions & 2644 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
description: Use when writing or reviewing model-facing language model tool descriptions.
3+
applyTo: "src/vs/**/*Tool.ts,src/vs/**/*Tools.ts"
4+
---
5+
6+
# Language model tool descriptions
7+
8+
Apply these rules only when adding or changing a model-facing tool description, such as `modelDescription`. They do not govern display names, user-facing messages, confirmation text, or routine schema property descriptions.
9+
10+
- Begin with a direct imperative statement of the tool's capability.
11+
- When tool selection could be ambiguous, state the positive invocation criteria explicitly.
12+
- Place exclusions for likely near-neighbor requests immediately after the positive criteria.
13+
- Describe persistent, external, costly, or otherwise consequential side effects.
14+
- State meaningful defaults, cross-field requirements, and prerequisite tool calls that are not obvious from the input schema.
15+
- Put approval, cancellation, retry, repeat-call, and polling guidance last.
16+
- Do not repeat the complete input schema in prose.
17+
- Keep descriptions concise and scale their detail with the ambiguity and cost of incorrect selection.
18+
- Preserve terminology and formatting conventions used by related tools.
19+
- Reserve `MUST`, `ONLY`, `CRITICAL`, and direct "Do not" language for likely, consequential misuse.
20+
21+
When correctness depends on specific model-facing guidance, add a focused test for the required semantic clauses. Prefer checking a small set of meaningful phrases or conditions over snapshotting the entire description. Do not test routine descriptive prose.

.github/workflows/chat-lib-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
26+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2727

2828
- name: Setup Node.js
29-
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
29+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
3030
with:
3131
node-version-file: extensions/copilot/.nvmrc
3232
cache: npm

.github/workflows/chat-perf.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ jobs:
9393
fi
9494
9595
- name: Checkout
96-
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
96+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
9797
with:
9898
ref: ${{ steps.resolve.outputs.is_version != 'true' && inputs.test_build || github.ref }}
9999

100100
- name: Setup Node.js
101-
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
101+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
102102
with:
103103
node-version-file: .nvmrc
104104
cache: npm
@@ -212,12 +212,12 @@ jobs:
212212
matrix: ${{ fromJSON(needs.setup.outputs.perf_matrix) }}
213213
steps:
214214
- name: Checkout
215-
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
215+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
216216
with:
217217
ref: ${{ needs.setup.outputs.test_is_version != 'true' && inputs.test_build || github.ref }}
218218

219219
- name: Setup Node.js
220-
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
220+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
221221
with:
222222
node-version-file: .nvmrc
223223
cache: npm
@@ -394,12 +394,12 @@ jobs:
394394
timeout-minutes: 60
395395
steps:
396396
- name: Checkout
397-
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
397+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
398398
with:
399399
ref: ${{ needs.setup.outputs.test_is_version != 'true' && inputs.test_build || github.ref }}
400400

401401
- name: Setup Node.js
402-
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
402+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
403403
with:
404404
node-version-file: .nvmrc
405405
cache: npm
@@ -502,12 +502,12 @@ jobs:
502502
timeout-minutes: 30
503503
steps:
504504
- name: Checkout
505-
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
505+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
506506
with:
507507
ref: ${{ needs.setup.outputs.test_is_version != 'true' && inputs.test_build || github.ref }}
508508

509509
- name: Setup Node.js
510-
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
510+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
511511
with:
512512
node-version-file: .nvmrc
513513

.github/workflows/component-fixtures.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
29+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3030
with:
3131
# Need enough history for the merge-base lookup below to succeed even
3232
# when the target branch has advanced since the PR was opened. Full
3333
# clone would be wasteful for this large repo, so cap at 50.
3434
fetch-depth: 50
3535

3636
- name: Setup Node.js
37-
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
37+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
3838
with:
3939
node-version-file: .nvmrc
4040

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
# If you do not check out your code, Copilot will do this for you.
2727
steps:
2828
- name: Checkout microsoft/vscode
29-
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
29+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3030

3131
- name: Setup Node.js
32-
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
32+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
3333
with:
3434
node-version-file: .nvmrc
3535

.github/workflows/css-order-scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
23+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2424
with:
2525
fetch-depth: 1
2626

2727
- name: Setup Node.js
28-
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
28+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2929
with:
3030
node-version-file: .nvmrc
3131

.github/workflows/monaco-editor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2121
steps:
22-
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
22+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2323
with:
2424
lfs: true
2525
persist-credentials: false
2626

27-
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
27+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2828
with:
2929
node-version-file: .nvmrc
3030

.github/workflows/pr-darwin-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
VSCODE_ARCH: arm64
3131
steps:
3232
- name: Checkout microsoft/vscode
33-
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
33+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3434
with:
3535
lfs: true
3636

@@ -42,7 +42,7 @@ jobs:
4242
token: ${{ secrets.GITHUB_TOKEN }}
4343

4444
- name: Setup Node.js
45-
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
45+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
4646
with:
4747
node-version-file: .nvmrc
4848

.github/workflows/pr-linux-cli-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
RUSTUP_TOOLCHAIN: ${{ inputs.rustup_toolchain }}
1717
steps:
1818
- name: Checkout microsoft/vscode
19-
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
19+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2020
with:
2121
lfs: true
2222

.github/workflows/pr-linux-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
VSCODE_ARCH: x64
3131
steps:
3232
- name: Checkout microsoft/vscode
33-
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
33+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3434
with:
3535
lfs: true
3636

@@ -42,7 +42,7 @@ jobs:
4242
token: ${{ secrets.GITHUB_TOKEN }}
4343

4444
- name: Setup Node.js
45-
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
45+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
4646
with:
4747
node-version-file: .nvmrc
4848

0 commit comments

Comments
 (0)