feat: add disable_device_pairing parameter to agent configuration

This commit is contained in:
Abhimanyu Saharan
2026-02-22 19:41:26 +05:30
parent 3dfb70cd90
commit ab7a3c66ce
3 changed files with 5 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ class _GatewayStub:
url: str
token: str | None
workspace_root: str
disable_device_pairing: bool = False
@pytest.mark.asyncio

View File

@@ -43,6 +43,7 @@ class _GatewayStub:
url: str
token: str | None
workspace_root: str
disable_device_pairing: bool = False
@pytest.mark.asyncio

View File

@@ -119,6 +119,7 @@ class _GatewayStub:
url: str
token: str | None
workspace_root: str
disable_device_pairing: bool = False
@pytest.mark.asyncio
@@ -229,6 +230,7 @@ async def test_provision_overwrites_user_md_on_first_provision(monkeypatch):
url: str
token: str | None
workspace_root: str
disable_device_pairing: bool = False
class _Manager(agent_provisioning.BaseAgentLifecycleManager):
def _agent_id(self, agent):
@@ -296,6 +298,7 @@ async def test_set_agent_files_update_preserves_user_md_even_when_size_zero():
url: str
token: str | None
workspace_root: str
disable_device_pairing: bool = False
class _Manager(agent_provisioning.BaseAgentLifecycleManager):
def _agent_id(self, agent):