@@ -1801,7 +1801,7 @@ suite('PromptsService', () => {
1801
1801
'---' ,
1802
1802
'description: "Another file description."' ,
1803
1803
'tools: [\'my-tool3\', false, "my-tool2" ]' ,
1804
- 'include : "**/*.tsx"' ,
1804
+ 'applyTo : "**/*.tsx"' ,
1805
1805
'---' ,
1806
1806
`[](${ rootFolder } /folder1/some-other-folder)` ,
1807
1807
'another-file.instructions.md contents\t [#file:file.txt](../file.txt)' ,
@@ -1831,14 +1831,14 @@ suite('PromptsService', () => {
1831
1831
description : 'Root prompt description.' ,
1832
1832
tools : [ 'my-tool1' ] ,
1833
1833
mode : 'agent' ,
1834
- include : undefined ,
1834
+ applyTo : undefined ,
1835
1835
} ,
1836
1836
children : [
1837
1837
{
1838
1838
uri : URI . joinPath ( rootFolderUri , 'folder1/file3.prompt.md' ) ,
1839
1839
metadata : {
1840
1840
description : undefined ,
1841
- include : undefined ,
1841
+ applyTo : undefined ,
1842
1842
tools : [ 'my-tool1' ] ,
1843
1843
mode : 'agent' ,
1844
1844
} ,
@@ -1849,7 +1849,7 @@ suite('PromptsService', () => {
1849
1849
description : 'Another file description.' ,
1850
1850
tools : [ 'my-tool3' , 'my-tool2' ] ,
1851
1851
mode : 'agent' ,
1852
- include : '**/*.tsx' ,
1852
+ applyTo : '**/*.tsx' ,
1853
1853
} ,
1854
1854
children : undefined ,
1855
1855
} ,
@@ -1860,7 +1860,7 @@ suite('PromptsService', () => {
1860
1860
metadata : {
1861
1861
tools : [ 'my-tool1' , 'my-tool2' ] ,
1862
1862
description : 'File 4 splendid description.' ,
1863
- include : undefined ,
1863
+ applyTo : undefined ,
1864
1864
mode : 'agent' ,
1865
1865
} ,
1866
1866
children : undefined ,
@@ -1941,7 +1941,7 @@ suite('PromptsService', () => {
1941
1941
contents : [
1942
1942
'---' ,
1943
1943
'description: \'Instructions file 1.\'' ,
1944
- 'include : "**/*.tsx"' ,
1944
+ 'applyTo : "**/*.tsx"' ,
1945
1945
'---' ,
1946
1946
'Some instructions 1 contents.' ,
1947
1947
] ,
@@ -1951,7 +1951,7 @@ suite('PromptsService', () => {
1951
1951
contents : [
1952
1952
'---' ,
1953
1953
'description: \'Instructions file 2.\'' ,
1954
- 'include : "**/folder1/*.tsx"' ,
1954
+ 'applyTo : "**/folder1/*.tsx"' ,
1955
1955
'---' ,
1956
1956
'Some instructions 2 contents.' ,
1957
1957
] ,
@@ -1961,7 +1961,7 @@ suite('PromptsService', () => {
1961
1961
contents : [
1962
1962
'---' ,
1963
1963
'description: \'Instructions file 3.\'' ,
1964
- 'include : "**/folder2/*.tsx"' ,
1964
+ 'applyTo : "**/folder2/*.tsx"' ,
1965
1965
'---' ,
1966
1966
'Some instructions 3 contents.' ,
1967
1967
] ,
@@ -1971,7 +1971,7 @@ suite('PromptsService', () => {
1971
1971
contents : [
1972
1972
'---' ,
1973
1973
'description: \'Instructions file 4.\'' ,
1974
- 'include : "src/build/*.tsx"' ,
1974
+ 'applyTo : "src/build/*.tsx"' ,
1975
1975
'---' ,
1976
1976
'Some instructions 4 contents.' ,
1977
1977
] ,
@@ -2009,7 +2009,7 @@ suite('PromptsService', () => {
2009
2009
contents : [
2010
2010
'---' ,
2011
2011
'description: \'Instructions file 10.\'' ,
2012
- 'include : "**/folder1/*.tsx"' ,
2012
+ 'applyTo : "**/folder1/*.tsx"' ,
2013
2013
'---' ,
2014
2014
'Some instructions 10 contents.' ,
2015
2015
] ,
@@ -2019,7 +2019,7 @@ suite('PromptsService', () => {
2019
2019
contents : [
2020
2020
'---' ,
2021
2021
'description: \'Instructions file 11.\'' ,
2022
- 'include : "**/folder1/*.py"' ,
2022
+ 'applyTo : "**/folder1/*.py"' ,
2023
2023
'---' ,
2024
2024
'Some instructions 11 contents.' ,
2025
2025
] ,
0 commit comments