browser-agent-protocol 0.2.0__tar.gz → 0.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. browser_agent_protocol-0.4.0/LICENSE +14 -0
  2. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/PKG-INFO +2 -1
  3. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/pyproject.toml +2 -1
  4. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/__init__.py +1 -1
  5. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/types/selectors.py +4 -0
  6. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/.gitignore +0 -0
  7. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/README.md +0 -0
  8. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/cli.py +0 -0
  9. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/client.py +0 -0
  10. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/context.py +0 -0
  11. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/errors.py +0 -0
  12. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/py.typed +0 -0
  13. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/sse.py +0 -0
  14. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/sync_client.py +0 -0
  15. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/transport.py +0 -0
  16. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/types/__init__.py +0 -0
  17. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/types/agent.py +0 -0
  18. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/types/common.py +0 -0
  19. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/types/events.py +0 -0
  20. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/types/methods.py +0 -0
  21. {browser_agent_protocol-0.2.0 → browser_agent_protocol-0.4.0}/src/browseragentprotocol/types/protocol.py +0 -0
@@ -0,0 +1,14 @@
1
+ Browser Agent Protocol package license
2
+
3
+ Copyright 2024-2026 Browser Agent Protocol contributors
4
+
5
+ This package is licensed under the Apache License, Version 2.0.
6
+ You may obtain a copy of the License at:
7
+
8
+ https://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ The full Browser Agent Protocol repository licensing details, including
11
+ project-level notices for documentation and bundled third-party assets, are
12
+ available at:
13
+
14
+ https://github.com/browseragentprotocol/bap/blob/main/LICENSE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: browser-agent-protocol
3
- Version: 0.2.0
3
+ Version: 0.4.0
4
4
  Summary: Python SDK for the Browser Agent Protocol (BAP) - control browsers with AI agents
5
5
  Project-URL: Homepage, https://github.com/browseragentprotocol/bap
6
6
  Project-URL: Documentation, https://github.com/browseragentprotocol/bap#readme
@@ -8,6 +8,7 @@ Project-URL: Repository, https://github.com/browseragentprotocol/bap
8
8
  Project-URL: Issues, https://github.com/browseragentprotocol/bap/issues
9
9
  Author: BAP Contributors
10
10
  License: Apache-2.0
11
+ License-File: LICENSE
11
12
  Keywords: agent,ai,automation,browser,json-rpc,llm,mcp,playwright,puppeteer,websocket
12
13
  Classifier: Development Status :: 3 - Alpha
13
14
  Classifier: Framework :: AsyncIO
@@ -1,9 +1,10 @@
1
1
  [project]
2
2
  name = "browser-agent-protocol"
3
- version = "0.2.0"
3
+ version = "0.4.0"
4
4
  description = "Python SDK for the Browser Agent Protocol (BAP) - control browsers with AI agents"
5
5
  readme = "README.md"
6
6
  license = { text = "Apache-2.0" }
7
+ license-files = ["LICENSE"]
7
8
  requires-python = ">=3.10"
8
9
  authors = [{ name = "BAP Contributors" }]
9
10
  keywords = [
@@ -54,7 +54,7 @@ CLI usage:
54
54
  ```
55
55
  """
56
56
 
57
- __version__ = "0.2.0"
57
+ __version__ = "0.4.0"
58
58
 
59
59
  # Main client classes
60
60
  from browseragentprotocol.client import BAPClient
@@ -231,6 +231,10 @@ def test_id(value: str) -> TestIdSelector:
231
231
  return TestIdSelector(type="testId", value=value)
232
232
 
233
233
 
234
+ # Prevent pytest from collecting the public selector helper as a test function.
235
+ test_id.__test__ = False
236
+
237
+
234
238
  def semantic(description: str) -> SemanticSelector:
235
239
  """Create a semantic selector (AI-resolved)."""
236
240
  return SemanticSelector(type="semantic", description=description)