jaf-py 2.5.0__tar.gz → 2.5.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 (131) hide show
  1. {jaf_py-2.5.0/jaf_py.egg-info → jaf_py-2.5.1}/PKG-INFO +1 -1
  2. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/tracing.py +8 -4
  3. {jaf_py-2.5.0 → jaf_py-2.5.1/jaf_py.egg-info}/PKG-INFO +1 -1
  4. {jaf_py-2.5.0 → jaf_py-2.5.1}/pyproject.toml +1 -1
  5. {jaf_py-2.5.0 → jaf_py-2.5.1}/LICENSE +0 -0
  6. {jaf_py-2.5.0 → jaf_py-2.5.1}/README.md +0 -0
  7. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/__init__.py +0 -0
  8. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/__init__.py +0 -0
  9. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/agent.py +0 -0
  10. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/agent_card.py +0 -0
  11. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/client.py +0 -0
  12. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/examples/__init__.py +0 -0
  13. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/examples/client_example.py +0 -0
  14. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/examples/integration_example.py +0 -0
  15. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/examples/rag_demo/__init__.py +0 -0
  16. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/examples/server_demo/__init__.py +0 -0
  17. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/examples/server_example.py +0 -0
  18. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/__init__.py +0 -0
  19. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/cleanup.py +0 -0
  20. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/factory.py +0 -0
  21. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/providers/__init__.py +0 -0
  22. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/providers/composite.py +0 -0
  23. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/providers/in_memory.py +0 -0
  24. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/providers/postgres.py +0 -0
  25. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/providers/redis.py +0 -0
  26. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/serialization.py +0 -0
  27. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/tests/__init__.py +0 -0
  28. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/tests/run_comprehensive_tests.py +0 -0
  29. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/tests/test_cleanup.py +0 -0
  30. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/tests/test_serialization.py +0 -0
  31. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/tests/test_stress_concurrency.py +0 -0
  32. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/tests/test_task_lifecycle.py +0 -0
  33. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/memory/types.py +0 -0
  34. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/protocol.py +0 -0
  35. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/server.py +0 -0
  36. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/standalone_client.py +0 -0
  37. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/tests/__init__.py +0 -0
  38. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/tests/run_tests.py +0 -0
  39. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/tests/test_agent.py +0 -0
  40. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/tests/test_client.py +0 -0
  41. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/tests/test_integration.py +0 -0
  42. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/tests/test_protocol.py +0 -0
  43. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/tests/test_types.py +0 -0
  44. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/a2a/types.py +0 -0
  45. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/cli.py +0 -0
  46. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/__init__.py +0 -0
  47. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/agent_tool.py +0 -0
  48. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/analytics.py +0 -0
  49. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/composition.py +0 -0
  50. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/engine.py +0 -0
  51. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/errors.py +0 -0
  52. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/guardrails.py +0 -0
  53. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/parallel_agents.py +0 -0
  54. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/performance.py +0 -0
  55. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/proxy.py +0 -0
  56. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/proxy_helpers.py +0 -0
  57. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/state.py +0 -0
  58. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/streaming.py +0 -0
  59. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/tool_results.py +0 -0
  60. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/tools.py +0 -0
  61. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/types.py +0 -0
  62. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/core/workflows.py +0 -0
  63. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/exceptions.py +0 -0
  64. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/memory/__init__.py +0 -0
  65. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/memory/approval_storage.py +0 -0
  66. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/memory/factory.py +0 -0
  67. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/memory/providers/__init__.py +0 -0
  68. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/memory/providers/in_memory.py +0 -0
  69. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/memory/providers/postgres.py +0 -0
  70. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/memory/providers/redis.py +0 -0
  71. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/memory/types.py +0 -0
  72. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/memory/utils.py +0 -0
  73. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/plugins/__init__.py +0 -0
  74. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/plugins/base.py +0 -0
  75. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/policies/__init__.py +0 -0
  76. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/policies/handoff.py +0 -0
  77. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/policies/validation.py +0 -0
  78. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/providers/__init__.py +0 -0
  79. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/providers/mcp.py +0 -0
  80. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/providers/model.py +0 -0
  81. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/server/__init__.py +0 -0
  82. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/server/main.py +0 -0
  83. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/server/server.py +0 -0
  84. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/server/types.py +0 -0
  85. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/utils/__init__.py +0 -0
  86. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/utils/attachments.py +0 -0
  87. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/utils/document_processor.py +0 -0
  88. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/visualization/__init__.py +0 -0
  89. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/visualization/example.py +0 -0
  90. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/visualization/functional_core.py +0 -0
  91. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/visualization/graphviz.py +0 -0
  92. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/visualization/imperative_shell.py +0 -0
  93. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf/visualization/types.py +0 -0
  94. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf_py.egg-info/SOURCES.txt +0 -0
  95. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf_py.egg-info/dependency_links.txt +0 -0
  96. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf_py.egg-info/entry_points.txt +0 -0
  97. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf_py.egg-info/requires.txt +0 -0
  98. {jaf_py-2.5.0 → jaf_py-2.5.1}/jaf_py.egg-info/top_level.txt +0 -0
  99. {jaf_py-2.5.0 → jaf_py-2.5.1}/setup.cfg +0 -0
  100. {jaf_py-2.5.0 → jaf_py-2.5.1}/setup.py +0 -0
  101. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_a2a_deep.py +0 -0
  102. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_a2a_examples.py +0 -0
  103. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_api_reference_examples.py +0 -0
  104. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_attachments.py +0 -0
  105. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_callback_system_examples.py +0 -0
  106. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_coffee_tool.py +0 -0
  107. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_conversation_id_fix.py +0 -0
  108. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_deployment_examples.py +0 -0
  109. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_docs_code_examples.py +0 -0
  110. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_engine.py +0 -0
  111. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_engine_manual.py +0 -0
  112. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_error_handling_examples.py +0 -0
  113. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_getting_started_examples.py +0 -0
  114. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_manual.py +0 -0
  115. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_math_tool.py +0 -0
  116. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_mcp_comprehensive.py +0 -0
  117. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_mcp_docs.py +0 -0
  118. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_mcp_real_functionality.py +0 -0
  119. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_mcp_transports.py +0 -0
  120. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_memory_system_examples.py +0 -0
  121. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_model_providers_examples.py +0 -0
  122. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_property_based.py +0 -0
  123. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_proxy_simple.py +0 -0
  124. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_redis_fixes.py +0 -0
  125. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_redis_memory.py +0 -0
  126. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_server_api_examples.py +0 -0
  127. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_session_continuity.py +0 -0
  128. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_streamable_http_mcp_example.py +0 -0
  129. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_timeout_functionality.py +0 -0
  130. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_tool_integration.py +0 -0
  131. {jaf_py-2.5.0 → jaf_py-2.5.1}/tests/test_validation.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jaf-py
3
- Version: 2.5.0
3
+ Version: 2.5.1
4
4
  Summary: A purely functional agent framework with immutable state and composable tools - Python implementation
5
5
  Author: JAF Contributors
6
6
  Maintainer: JAF Contributors
@@ -341,7 +341,7 @@ class LangfuseTraceCollector:
341
341
  public_key=public_key,
342
342
  secret_key=secret_key,
343
343
  host=host,
344
- release="jaf-py-v2.5.0"
344
+ release="jaf-py-v2.5.1"
345
345
  )
346
346
  self.active_spans: Dict[str, Any] = {}
347
347
  self.trace_spans: Dict[TraceId, Any] = {}
@@ -509,19 +509,23 @@ class LangfuseTraceCollector:
509
509
  "user_id": user_id or event.data.get("user_id")
510
510
  }
511
511
  }
512
-
512
+
513
+ # Extract agent_name for tagging
514
+ agent_name = event.data.get("agent_name") or "analytics_agent_jaf"
515
+
513
516
  trace = self.langfuse.trace(
514
- name=f"jaf-run-{trace_id}",
517
+ name=agent_name,
515
518
  user_id=user_id or event.data.get("user_id"),
516
519
  session_id=event.data.get("session_id"),
517
520
  input=trace_input,
521
+ tags=[agent_name], # Add agent_name as a tag for dashboard filtering
518
522
  metadata={
519
523
  "framework": "jaf",
520
524
  "event_type": "run_start",
521
525
  "trace_id": str(trace_id),
522
526
  "user_query": user_query,
523
527
  "user_id": user_id or event.data.get("user_id"),
524
- "agent_name": event.data.get("agent_name", "analytics_agent_jaf"),
528
+ "agent_name": agent_name,
525
529
  "conversation_history": conversation_history,
526
530
  "tool_calls": [],
527
531
  "tool_results": [],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jaf-py
3
- Version: 2.5.0
3
+ Version: 2.5.1
4
4
  Summary: A purely functional agent framework with immutable state and composable tools - Python implementation
5
5
  Author: JAF Contributors
6
6
  Maintainer: JAF Contributors
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "jaf-py"
7
- version = "2.5.0"
7
+ version = "2.5.1"
8
8
  description = "A purely functional agent framework with immutable state and composable tools - Python implementation"
9
9
  readme = "README.md"
10
10
  license = "MIT"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes