amfs-http-server 0.3.65__tar.gz → 0.3.67__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.
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: amfs-http-server
3
- Version: 0.3.65
3
+ Version: 0.3.67
4
4
  Summary: AMFS HTTP/REST API server with SSE support
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.11
7
- Requires-Dist: amfs-core>=0.3.54
8
- Requires-Dist: amfs>=0.5.41
7
+ Requires-Dist: amfs-core>=0.3.55
8
+ Requires-Dist: amfs>=0.5.42
9
9
  Requires-Dist: fastapi>=0.115
10
10
  Requires-Dist: httpx>=0.27
11
11
  Requires-Dist: sse-starlette>=2.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "amfs-http-server"
3
- version = "0.3.65"
3
+ version = "0.3.67"
4
4
  description = "AMFS HTTP/REST API server with SSE support"
5
5
  requires-python = ">=3.11"
6
6
  license = "Apache-2.0"
@@ -13,7 +13,7 @@ dependencies = [
13
13
  # this tree is what test_dependency_floors forbids.
14
14
  # 0.5.18 for AgentMemory.as_agent, which the agent detail page calls to list
15
15
  # an agent's entries as that agent rather than as the server.
16
- "amfs>=0.5.41",
16
+ "amfs>=0.5.42",
17
17
  # 0.3.23 is real in the silent way: the write path calls
18
18
  # adapter.scope_counts(), which is a default on AdapterABC from 0.3.23. On an
19
19
  # older core the adapters that do not override it — filesystem, S3 — have no
@@ -27,7 +27,7 @@ dependencies = [
27
27
  # unexpected keyword, _scope_block swallows it, and the block disappears —
28
28
  # while an adapter that ignored the argument instead would name another
29
29
  # agent's private keys. Either way the floor is what makes the rule real.
30
- "amfs-core>=0.3.54",
30
+ "amfs-core>=0.3.55",
31
31
  "fastapi>=0.115",
32
32
  # 0.37 is where uvicorn.run() grew timeout_worker_healthcheck, which
33
33
  # main() passes unconditionally; on anything older that is a TypeError
@@ -9834,7 +9834,15 @@ async def ingest_webhook(
9834
9834
  registry = ConnectorRegistry()
9835
9835
  connector = registry.get(connector_name)
9836
9836
  if connector:
9837
- ingester.register_transform("*", connector.transform)
9837
+ # A connector transforms the decoded payload: ConnectorABC.transform
9838
+ # takes the dict, which is what connectors are written and tested
9839
+ # against. The ingester calls its transforms with the WebhookEvent it
9840
+ # built instead, so registering the bound method as-is handed every
9841
+ # connector the event, and PagerDuty's first .get() raised: a 500 on
9842
+ # every delivery.
9843
+ ingester.register_transform(
9844
+ "*", lambda event: connector.transform(event.payload)
9845
+ )
9838
9846
  except Exception:
9839
9847
  pass
9840
9848