agenthooksprotocol 0.4.0__tar.gz → 0.4.1__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 (111) hide show
  1. {agenthooksprotocol-0.4.0/src/agenthooksprotocol.egg-info → agenthooksprotocol-0.4.1}/PKG-INFO +1 -1
  2. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/pyproject.toml +1 -1
  3. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/__init__.py +4 -0
  4. agenthooksprotocol-0.4.1/src/agenthooksprotocol/_boundaries.py +5968 -0
  5. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/_hooks.py +263 -14
  6. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/_models/__init__.py +4 -0
  7. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/_models/content.py +6 -0
  8. agenthooksprotocol-0.4.1/src/agenthooksprotocol/_outcomes.py +66 -0
  9. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/ahp-codegen.lock.json +1 -1
  10. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/interop.py +1 -1
  11. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1/src/agenthooksprotocol.egg-info}/PKG-INFO +1 -1
  12. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol.egg-info/SOURCES.txt +2 -0
  13. agenthooksprotocol-0.4.1/tests/test_consumer_outcomes.py +146 -0
  14. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_typed_contract_regressions.py +7 -0
  15. agenthooksprotocol-0.4.0/src/agenthooksprotocol/_boundaries.py +0 -1358
  16. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/LICENSE +0 -0
  17. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/README.md +0 -0
  18. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/setup.cfg +0 -0
  19. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/_content.py +0 -0
  20. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/_diagnostics.py +0 -0
  21. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/_elicitation.py +0 -0
  22. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/_grants.py +0 -0
  23. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/_models/capability.py +0 -0
  24. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/_models/effect.py +0 -0
  25. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/_models/event.py +0 -0
  26. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/_models/registration.py +0 -0
  27. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/_models/subscription.py +0 -0
  28. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/_models/tool.py +0 -0
  29. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/_models/transport.py +0 -0
  30. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/attachment.py +0 -0
  31. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/auth.py +0 -0
  32. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/candidate.py +0 -0
  33. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/capability.py +0 -0
  34. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/catalogue.py +0 -0
  35. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/codec.py +0 -0
  36. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/compaction.py +0 -0
  37. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/content.py +0 -0
  38. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/contract.py +0 -0
  39. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/diagnostics.py +0 -0
  40. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/effect.py +0 -0
  41. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/elicitation.py +0 -0
  42. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/event.py +0 -0
  43. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/generated.py +0 -0
  44. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/integrations/__init__.py +0 -0
  45. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/integrations/pydantic.py +0 -0
  46. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/lifecycle.py +0 -0
  47. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/lifecycle_client.py +0 -0
  48. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/lifecycle_server.py +0 -0
  49. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/lineage.py +0 -0
  50. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/observation_chain.py +0 -0
  51. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/path.py +0 -0
  52. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/permission.py +0 -0
  53. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/py.typed +0 -0
  54. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/registration.py +0 -0
  55. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/response.py +0 -0
  56. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/runtime.py +0 -0
  57. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/schemas.json +0 -0
  58. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/server/__init__.py +0 -0
  59. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/server/_framing.py +0 -0
  60. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/server/_json.py +0 -0
  61. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/server/asgi.py +0 -0
  62. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/server/attachments.py +0 -0
  63. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/server/hooks.py +0 -0
  64. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/server/stdio.py +0 -0
  65. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/state.py +0 -0
  66. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/subscription.py +0 -0
  67. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/tool.py +0 -0
  68. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/transport.py +0 -0
  69. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/transports/__init__.py +0 -0
  70. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/transports/http.py +0 -0
  71. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/transports/stdio.py +0 -0
  72. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol/wire.py +0 -0
  73. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol.egg-info/dependency_links.txt +0 -0
  74. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol.egg-info/requires.txt +0 -0
  75. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/src/agenthooksprotocol.egg-info/top_level.txt +0 -0
  76. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_attachments.py +0 -0
  77. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_catalogue.py +0 -0
  78. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_codec.py +0 -0
  79. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_compaction.py +0 -0
  80. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_compaction_wire.py +0 -0
  81. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_content.py +0 -0
  82. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_content_lifetime.py +0 -0
  83. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_content_receipts.py +0 -0
  84. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_correlated_core.py +0 -0
  85. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_declared_contracts.py +0 -0
  86. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_elicitation_adapter.py +0 -0
  87. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_fixture_public.py +0 -0
  88. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_inline_messages.py +0 -0
  89. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_integration.py +0 -0
  90. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_integration_edges.py +0 -0
  91. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_interop.py +0 -0
  92. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_lifecycle.py +0 -0
  93. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_lifecycle_auth.py +0 -0
  94. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_observation.py +0 -0
  95. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_observation_chain_transport.py +0 -0
  96. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_owned_content.py +0 -0
  97. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_owned_content_hooks.py +0 -0
  98. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_package.py +0 -0
  99. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_public_content.py +0 -0
  100. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_public_contract_surface.py +0 -0
  101. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_public_examples.py +0 -0
  102. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_public_hooks.py +0 -0
  103. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_public_server.py +0 -0
  104. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_registration_auth.py +0 -0
  105. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_safety.py +0 -0
  106. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_schema_corrections.py +0 -0
  107. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_sdk_unification.py +0 -0
  108. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_session_manifest.py +0 -0
  109. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_shared_materialization.py +0 -0
  110. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_structural_facade.py +0 -0
  111. {agenthooksprotocol-0.4.0 → agenthooksprotocol-0.4.1}/tests/test_upload_planning.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agenthooksprotocol
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Official non-normative Python SDK for the Agent Hooks Protocol
5
5
  Author: Agent Hooks Protocol maintainers
6
6
  License:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "agenthooksprotocol"
7
- version = "0.4.0"
7
+ version = "0.4.1"
8
8
  description = "Official non-normative Python SDK for the Agent Hooks Protocol"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -24,10 +24,12 @@ from ._models import * # noqa: F403
24
24
  from ._models import __all__ as _model_names
25
25
  from ._hooks import (
26
26
  HookResult as HookResult,
27
+ SettlementDecodeError as SettlementDecodeError,
27
28
  Hooks as Hooks,
28
29
  PendingInvocation as PendingInvocation,
29
30
  HooksClosedError as HooksClosedError,
30
31
  )
32
+ from ._outcomes import SchemaCandidate as SchemaCandidate
31
33
  from .permission import Permission as Permission
32
34
  from .content import (
33
35
  OwnedContentSource as OwnedContentSource,
@@ -69,6 +71,8 @@ __all__ = list(_model_names) + [
69
71
  "transport",
70
72
  "Hooks",
71
73
  "HookResult",
74
+ "SettlementDecodeError",
75
+ "SchemaCandidate",
72
76
  "PendingInvocation",
73
77
  "ProtocolError",
74
78
  "Codec",