\(\Rightarrow1+a+b=0\Leftrightarrow b=-a-1\)
\(\lim\limits_{x\rightarrow1}\dfrac{x^2+ax-a-1}{x^2-1}=\lim\limits_{x\rightarrow1}\dfrac{\left(x+1+a\right)\left(x-1\right)}{\left(x-1\right)\left(x+1\right)}=\lim\limits_{x\rightarrow1}\dfrac{x+1+a}{x+1}=\dfrac{1+1+a}{1+1}=\dfrac{1}{2}\)
\(\Rightarrow a=-1\Rightarrow b=0\)