You should be using the stable version of the Teams Toolkit extension. The latest pre-release version of Teams Toolkit has added the agent deep link feature.
You might need to switch to the pre-release version and create a new agent. Then, you should be able to access a locally developed declarative M365 Copilot agent through a link.