agentrail-python 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 (48) hide show
  1. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/PKG-INFO +1 -1
  2. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/_version.py +1 -1
  3. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/testdata/README.md +6 -4
  4. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/testdata/sdk-contract.json +1 -1
  5. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/.gitignore +0 -0
  6. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/LICENSE +0 -0
  7. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/README.md +0 -0
  8. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/integration/README.md +0 -0
  9. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/pyproject.toml +0 -0
  10. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/__init__.py +0 -0
  11. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/_cli.py +0 -0
  12. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/_client.py +0 -0
  13. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/_handoff.py +0 -0
  14. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/_init.py +0 -0
  15. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/_options.py +0 -0
  16. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/_outbound.py +0 -0
  17. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/_performance.py +0 -0
  18. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/_privacy.py +0 -0
  19. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/_processors.py +0 -0
  20. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/_queue.py +0 -0
  21. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/_runtime.py +0 -0
  22. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/_suppression.py +0 -0
  23. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/_text.py +0 -0
  24. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/asgi.py +0 -0
  25. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/httpx.py +0 -0
  26. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/logging.py +0 -0
  27. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/mcp.py +0 -0
  28. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/py.typed +0 -0
  29. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/requests.py +0 -0
  30. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/src/agentrail_python/wsgi.py +0 -0
  31. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/testdata/interoperability/contract.json +0 -0
  32. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/testdata/interoperability/generate-performance.mjs +0 -0
  33. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/testdata/interoperability/javascript.json +0 -0
  34. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/testdata/interoperability/markers.json +0 -0
  35. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/testdata/interoperability/performance.json +0 -0
  36. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/tests/coexistence.py +0 -0
  37. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/tests/support.py +0 -0
  38. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/tests/test_cli.py +0 -0
  39. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/tests/test_coexistence.py +0 -0
  40. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/tests/test_delivery.py +0 -0
  41. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/tests/test_evidence.py +0 -0
  42. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/tests/test_incoming.py +0 -0
  43. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/tests/test_interoperability.py +0 -0
  44. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/tests/test_mcp.py +0 -0
  45. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/tests/test_mcp_request_facts.py +0 -0
  46. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/tests/test_outbound.py +0 -0
  47. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/tests/test_privacy.py +0 -0
  48. {agentrail_python-0.4.0 → agentrail_python-0.4.1}/tests/test_setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: agentrail-python
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Agentrail for Python backends: HTTP, identity, milestones, logs and MCP for agent journeys, over OpenTelemetry.
5
5
  Project-URL: Homepage, https://www.agentrail.co
6
6
  Project-URL: Documentation, https://www.agentrail.co/docs/guides/journeys-python
@@ -1,2 +1,2 @@
1
1
  # Copyright 2026 Agentrail. Licensed under the Apache License, Version 2.0.
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
@@ -3,9 +3,9 @@
3
3
  Copied, never edited here. Update them where they are made and copy them again.
4
4
 
5
5
  - `sdk-contract.json` is copied byte for byte from Argus
6
- `apps/api/sdk-contract.json` at commit `b9f706771`, branch
7
- `fix/linkage-wire-behind-edge` (agentrail-co/argus#762; SHA-256
8
- `49fa11fd358a233f138adb73273fccf86997eda3bd037c8b877671c62d1f4cc4`). It includes `cliHeader` (the `x-agentrail-cli` header a customer's
6
+ `apps/api/sdk-contract.json` at commit `4a6319440`, branch
7
+ `feat/expand-harness-detection` (agentrail-co/argus#1025; SHA-256
8
+ `dbb86cd937b3884e6db1743a1f608b4829a2347f3e591cfee971314f4ecd11ab`). It includes `cliHeader` (the `x-agentrail-cli` header a customer's
9
9
  CLI sends, how it is read, and its vectors), `otlp.cliAttributes` and
10
10
  `otlp.cliSpans`, which the middleware sends, and the event's `cli`; and
11
11
  `otlp.mcpAttributes`, `otlp.mcpSpans` (a tool whose handler raised is a
@@ -13,7 +13,9 @@ Copied, never edited here. Update them where they are made and copy them again.
13
13
  a step says of the HTTP request that carried its message),
14
14
  `otlp.mcpRequestFacts` (two recorded requests, Claude Code 2.1.318 and Codex
15
15
  0.166.0, and the attributes an SDK sends for each), `otlp.headerNames` (with
16
- `cdn-loop`, `true-client-ip`, the `render-proxy-ttl`, `rndr-id` and
16
+ `cdn-loop`, `true-client-ip`, the `x-amz-cf-*` and `cloudfront-*` names
17
+ CloudFront adds, Fastly's `fastly-*`, Akamai's `akamai-*` and `x-akamai-*`,
18
+ the `render-proxy-ttl`, `rndr-id` and
17
19
  `x-request-start` Render's proxy adds and the `x-agentrail-trace-handoff` an
18
20
  Agentrail edge adds among the names no caller writes; this SDK sends every
19
21
  name and the collector leaves those out), the client
@@ -4751,7 +4751,7 @@
4751
4751
  "cliSpans": "On the entry span of a request whose x-agentrail-cli header reads (cliHeader), a server SDK sets cliAttributes from what it said: name, version, command, run_id, sequence (an integer), mode, session.source, agent.name, agent.version, agent.evidence (the names, comma-joined) and sdk.version, each absent where the header has none; and session.id_hash, the keyed hash of the header's ses with the resource hash key, never ses itself. It needs agentrail.hash_key_id on the resource. A header that does not read sends no attribute. The collector takes them as the event's cli and names its session cli:<session.id_hash>:<the UTC day the span started, as days since the epoch>; facts outside what an event holds are not taken, and the event names cli (or cli.session) in redactions.",
4752
4752
  "headerNames": {
4753
4753
  "addedOnTheWay": {
4754
- "pattern": "^(?:x-forwarded-.*|x-amzn-.*|x-vercel-.*|cf-.*|forwarded|via|x-real-ip|cdn-loop|true-client-ip|logs-url|x-invocation-id|render-proxy-ttl|rndr-id|x-request-start|x-agentrail-trace-handoff|agentrail-first-party)$",
4754
+ "pattern": "^(?:x-forwarded-.*|x-amzn-.*|x-amz-cf-.*|x-vercel-.*|cf-.*|cloudfront-.*|fastly-.*|akamai-.*|x-akamai-.*|forwarded|via|x-real-ip|cdn-loop|true-client-ip|logs-url|x-invocation-id|render-proxy-ttl|rndr-id|x-request-start|x-agentrail-trace-handoff|agentrail-first-party)$",
4755
4755
  "flags": "iu"
4756
4756
  },
4757
4757
  "maxNames": 40,