reactifact 0.25.0__tar.gz → 0.25.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.
- {reactifact-0.25.0/reactifact.egg-info → reactifact-0.25.1}/PKG-INFO +1 -1
- {reactifact-0.25.0 → reactifact-0.25.1}/pyproject.toml +1 -1
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/route.py +10 -0
- {reactifact-0.25.0 → reactifact-0.25.1/reactifact.egg-info}/PKG-INFO +1 -1
- reactifact-0.25.1/tests/test_route.py +234 -0
- reactifact-0.25.0/tests/test_route.py +0 -100
- {reactifact-0.25.0 → reactifact-0.25.1}/LICENSE +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/README.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/__main__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/_extras.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/_httpx.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/_persistence.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/a2a/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/a2a/client.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/a2a/models.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/a2a/remote.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/a2a/server.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/artifacts.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/audit.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/authz.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/branching/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/branching/ops.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/branching/store.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/budget.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cache.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/chat.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/checkpoints.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/branch.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/check.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/common.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/config.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/context.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/contracts.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/daemon.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/demo.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/dev.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/doctor.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/eval.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/graph.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/new.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/replay.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/run.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/scenario.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/skills.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/trace.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/traces.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/cli/validate.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/commit.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/commit_log.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/consume/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/consume/base.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/consume/correlated.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/consume/lifecycle.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/context/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/context/context.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/context/index.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/context/pending.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/context/serialization.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/context_builder.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/contracts/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/contracts/report.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/contracts/templates/contracts.html +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/contracts/templates/favicon.svg +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/contracts/web.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/daemon.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/demo.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/demo_web.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/di.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/effects.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/eval/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/eval/dataset.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/eval/evaluators.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/eval/judge.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/eval/online.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/eval/retrieval.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/eval/runner.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/eval/scoring.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/events.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/experiments.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/guardrails.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/interaction.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/interrupt.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/_closers.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/bridge.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/chunk.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/connectors/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/connectors/base.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/connectors/filesystem.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/connectors/http.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/connectors/s3.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/diversity.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/docstore.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/embed.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/errors.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/eval.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/extract/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/extract/auto.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/extract/base.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/extract/docx.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/extract/pdf.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/extract/structured.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/extract/text.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/http.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/indexes/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/indexes/acl.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/indexes/base.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/indexes/chroma.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/indexes/fusion.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/indexes/keyword.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/indexes/math.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/indexes/memory.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/indexes/pgvector.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/indexes/qdrant.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/indexes/sqlite.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/models.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/pipeline.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/rerank.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/templates/knowledge.html +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/knowledge/web.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/llm_agent.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/logging.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/mcp/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/mcp/client.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/mcp/oauth.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/mcp/server.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/metrics.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/operations.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/patches.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/pipeline.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/policy.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/pricing.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/prompts.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/provenance.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/_retry.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/anthropic.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/azure.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/cerebras.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/chat.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/contracts.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/deepseek.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/fake.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/fireworks.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/gemini.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/github_models.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/groq.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/image.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/mistral.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/nvidia.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/ollama.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/openai.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/openrouter.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/perplexity.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/qwen.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/spec.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/speech.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/together.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/video.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/xai.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/providers/zai.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/py.typed +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/quick/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/quick/_shared.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/quick/agent.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/quick/chat.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/quick/models.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/quick/rag.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/quick/tools_agent.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/quota.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/_effects.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/approval/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/approval/classify.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/approval/models.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/approval/policy.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/approval/steps.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/cleanup.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/conversation/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/conversation/_common.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/conversation/core.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/conversation/models.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/conversation/turn_context.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/conversation/views.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/identity.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/inputs.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/map_reduce.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/memory.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/memory_store.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/plan_execute.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/reflection.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/resolve.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/rollback.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/search.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/skills.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/status.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/supervisor.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/swarm.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/text.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/recipes/tool_loop.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/redaction.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/relations.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/replay.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/request.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/resources.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/routing.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/runtime/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/runtime/budget.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/runtime/events.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/runtime/loop.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/runtime/outbox.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/runtime/patch.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/runtime/result.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/runtime/runtime.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/scheduler.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/session.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact/SKILL.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact/references/effects-and-state.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact/references/trust-and-safety.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact-agents/SKILL.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact-agents/references/consume.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact-agents/references/effects.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact-eval/SKILL.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact-eval/references/online.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact-from-langchain/SKILL.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact-llm/SKILL.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact-llm/references/providers.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact-llm/references/tools.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact-observability/SKILL.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact-rag/SKILL.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact-rag/references/sources.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/skills/reactifact-testing/SKILL.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/sources.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/step/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/step/annotations.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/step/call.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/step/core.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/step/decorator.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/step/group.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/step/resolve.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/streaming.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/structured.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/subflow.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/agent/.gitignore +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/agent/README.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/agent/main.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/agent/pyproject.toml +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/.env.example +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/.gitignore +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/Dockerfile +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/README.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/app/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/app/config.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/app/llm.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/app/llm_presets.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/app/main.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/app/models.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/app/monitor.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/app/prompts.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/app/resources.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/app/runner.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/pyproject.toml +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/tests/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/daemon/tests/test_daemon.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/.env.example +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/.gitignore +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/Dockerfile +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/README.md +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/agent/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/agent/pipeline.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/agent/prompts.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/agent/resources.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/agent/steps/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/agent/steps/answer.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/api/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/api/deps.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/api/routes/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/api/routes/chat.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/authz.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/bootstrap.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/config.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/llm.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/llm_presets.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/main.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/models.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/app/security.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/pyproject.toml +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/tests/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/tests/conftest.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/tests/test_auth_sessions.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/tests/test_chat_sse.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/templates/fastapi_chat/tests/test_settings.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/testing/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/testing/assertions.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/testing/client.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/testing/exceptions.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/testing/fault.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/testing/golden.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/testing/lab.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/testing/mock.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/testing/pytest_plugin.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/testing/record.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/testing/registry.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tools/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tools/agent.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tools/base.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tools/contracts.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tools/native.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tools/runlog.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tools/schema.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tools/use/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tools/use/base.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tools/use/blocking.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tools/use/hitl.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/_otlp.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/_shared.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/columns.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/diff.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/langfuse.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/models.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/otlp.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/postgres.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/retention.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/sampling.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/store.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/templates/app.css +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/templates/sessions.html +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/templates/ui.html +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/templates/ui_run.html +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/tracer.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/tracing/web.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/triggers.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/types.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/validate.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/verify.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/viz.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/web/__init__.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/web/chat.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/web/common.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact/web/pipeline.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact.egg-info/SOURCES.txt +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact.egg-info/dependency_links.txt +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact.egg-info/entry_points.txt +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact.egg-info/requires.txt +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/reactifact.egg-info/top_level.txt +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/setup.cfg +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_a2a.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_a2a_interop.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_absent_consume.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_agent_policy.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_agent_tool.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_anthropic_provider.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_approval_recipe.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_artifact_store.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_artifacts.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_audit.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_authz.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_backbone.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_branching.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_budget.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_cache.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_change_instructions.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_chat_example.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_chat_facade.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_chat_hitl.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_chat_http.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_chat_memory.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_chat_outbox.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_chat_web.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_checkpoint.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_checkpoints.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_checkpoints_concurrency.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_cli.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_cli_check.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_cli_config.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_cli_daemon.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_cli_dev.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_cli_doctor.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_cli_new.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_cli_scenario.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_code_review.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_commit_dag.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_commit_log.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_compaction.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_concurrency.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_conflict.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_consume_lifecycle.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_consumes_produces.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_context_at.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_context_builder.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_context_provenance.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_contracts.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_contracts_web.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_correlated_consume.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_daemon.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_debounce.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_demo.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_demo_web.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_determinism.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_devops.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_devops_auth.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_devops_branches.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_devops_online.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_devops_web.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_di.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_docs_imports.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_dx_errors.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_effects.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_ergonomics_025.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_eval.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_eval_dataset.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_eval_judge.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_eval_online.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_eval_retrieval.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_eval_trajectory.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_examples_hygiene.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_experiments.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_fintech_audit.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_forklab.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_forklab_web.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_friendly_api.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_gemini_provider.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_golden.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_group_fallback.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_guardrails.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_hitl.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_idempotent_consume.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_image_provider.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_interaction.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_invalidation.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_join_consume.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_knowledge.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_knowledge_web.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_lazy_providers.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_logging.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_loop_bound_client.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_map_reduce.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_mcp.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_medic_lab.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_medic_lab_web.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_memory_helpers.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_memory_store.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_metrics.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_multisource.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_native_tool_use.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_openai_provider.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_outbox.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_patches.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_pending_actions.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_pipeline_http.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_pipeline_lifecycle.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_pipeline_tool.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_produce_trigger.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_prompts.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_provider_auth.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_provider_retry.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_provider_spec.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_providers_integration.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_public_api.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_quick.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_quota.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_reacts_to.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_recipe_conversation.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_recipe_plan_execute.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_recipe_reflection.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_recipe_supervisor.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_recipe_tool_loop.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_recipes.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_recipes_inputs.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_recipes_memory.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_recipes_skills.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_redaction.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_reference.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_relation_graph.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_relations.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_repair.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_repair_web.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_replay.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_replay_tools.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_repo_agent.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_request.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_resources.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_retry.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_routing.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_runtime.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_runtime_errors.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_scheduler_semantics.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_scoped_cleanup.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_session_append.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_sessions.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_shutdown.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_skills.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_sources.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_sources_search.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_speech_provider.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_starter_app.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_step_annotated.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_step_group.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_step_provenance.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_step_resolve.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_step_return_inference.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_step_scope.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_step_watermark.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_stream_events.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_streaming.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_structured.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_subflow.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_swarm.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_testing_assertions.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_testing_golden.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_testing_lab.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_testing_mock.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_testing_provenance.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_testing_pytest_plugin.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_testing_registry.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_token_budget.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_tool_injection.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_tool_use_native.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_tools.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_tour.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_trace_columns.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_trace_limits.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_trace_reports.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_trace_retention.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_trace_sampling.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_trace_tags.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_trace_ui.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_tracing.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_triggers.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_type_registry.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_validate.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_vendor_factories.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_vendor_multimodal_factories.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_verify.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_version.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_video_provider.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_view.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_viz.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_web_errors.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_web_source.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_workspace.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/test_workspace_with_sources.py +0 -0
- {reactifact-0.25.0 → reactifact-0.25.1}/tests/tests_checkpoints_sqlite.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reactifact
|
|
3
|
-
Version: 0.25.
|
|
3
|
+
Version: 0.25.1
|
|
4
4
|
Summary: Reactive, artifact-driven agent runtime: agents transform versioned, typed, provenance-aware artifacts inside an evolving context
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/bzdvdn/reactifact
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "reactifact"
|
|
7
|
-
version = "0.25.
|
|
7
|
+
version = "0.25.1"
|
|
8
8
|
description = "Reactive, artifact-driven agent runtime: agents transform versioned, typed, provenance-aware artifacts inside an evolving context"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -60,7 +60,17 @@ class _RoutedGroup(StepGroup):
|
|
|
60
60
|
retry=inner.retry,
|
|
61
61
|
timeout=inner.timeout,
|
|
62
62
|
wakes=inner.wakes,
|
|
63
|
+
fallback=inner.fallback_step,
|
|
64
|
+
fallback_on=inner.fallback_on,
|
|
65
|
+
fallback_skip=inner.fallback_skip,
|
|
63
66
|
)
|
|
67
|
+
# `StepGroup.__init__` has no `consumes=` parameter, so preserve the
|
|
68
|
+
# inner group's contract explicitly. Besides validation, this keeps
|
|
69
|
+
# `collect_inputs()` (reads/provenance) aligned with the inner group.
|
|
70
|
+
self.consumes = list(inner.consumes) if inner.consumes is not None else None
|
|
71
|
+
self.capabilities = inner.capabilities
|
|
72
|
+
self.concurrency_limit = inner.concurrency_limit
|
|
73
|
+
self._validate_contracts()
|
|
64
74
|
|
|
65
75
|
def _route_allows(self, event: Event, context: Context | None) -> bool:
|
|
66
76
|
if event.artifact_type is not self._route_on:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reactifact
|
|
3
|
-
Version: 0.25.
|
|
3
|
+
Version: 0.25.1
|
|
4
4
|
Summary: Reactive, artifact-driven agent runtime: agents transform versioned, typed, provenance-aware artifacts inside an evolving context
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/bzdvdn/reactifact
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
"""`Route`: gate case groups by one artifact field and validate exclusivity."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import asyncio
|
|
6
|
+
|
|
7
|
+
from pydantic import BaseModel
|
|
8
|
+
from reactifact import (
|
|
9
|
+
Consume,
|
|
10
|
+
Context,
|
|
11
|
+
Runtime,
|
|
12
|
+
Step,
|
|
13
|
+
StepGroup,
|
|
14
|
+
create_step_group,
|
|
15
|
+
)
|
|
16
|
+
from reactifact.recipes import Route
|
|
17
|
+
from reactifact.validate import validate_contracts
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class ResearchTurn(BaseModel):
|
|
21
|
+
query_id: str
|
|
22
|
+
domain: str
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class Answer(BaseModel):
|
|
26
|
+
text: str
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class UserQuery(BaseModel):
|
|
30
|
+
text: str
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class SearchDone(BaseModel):
|
|
34
|
+
text: str
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class _ProduceTurn(Step[ResearchTurn]):
|
|
38
|
+
consumes = (Consume(UserQuery),)
|
|
39
|
+
|
|
40
|
+
async def run(self, query: UserQuery) -> ResearchTurn:
|
|
41
|
+
return ResearchTurn(query_id="q1", domain="pipeline")
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class _SearchStep(Step[SearchDone]):
|
|
45
|
+
produces = (SearchDone,)
|
|
46
|
+
|
|
47
|
+
async def run(self) -> SearchDone:
|
|
48
|
+
return SearchDone(text="done")
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class _ConsumeSearch(Step[Answer]):
|
|
52
|
+
consumes = (Consume(SearchDone),)
|
|
53
|
+
|
|
54
|
+
async def run(self, done: SearchDone) -> Answer:
|
|
55
|
+
return Answer(text=done.text)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class _FailStep(Step[Answer]):
|
|
59
|
+
consumes = (Consume(ResearchTurn),)
|
|
60
|
+
|
|
61
|
+
async def run(self, turn: ResearchTurn) -> Answer:
|
|
62
|
+
raise ValueError("boom")
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
class _FallbackAnswer(Step[Answer]):
|
|
66
|
+
produces = (Answer,)
|
|
67
|
+
|
|
68
|
+
async def run(self) -> Answer:
|
|
69
|
+
return Answer(text="fallback")
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
class _Case(Step[Answer]):
|
|
73
|
+
consumes = (Consume(ResearchTurn),)
|
|
74
|
+
|
|
75
|
+
def __init__(self, prefix: str) -> None:
|
|
76
|
+
self.prefix = prefix
|
|
77
|
+
super().__init__()
|
|
78
|
+
|
|
79
|
+
async def run(self, turn: ResearchTurn, effects) -> None:
|
|
80
|
+
effects.create(Answer(text=f"{self.prefix}:{turn.query_id}"))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def _group(prefix: str) -> StepGroup:
|
|
84
|
+
return StepGroup(name=prefix, steps=[_Case(prefix)])
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def test_route_runs_only_the_matching_case():
|
|
88
|
+
route = Route(
|
|
89
|
+
on=ResearchTurn,
|
|
90
|
+
key=lambda turn: turn.domain,
|
|
91
|
+
cases={"rag": _group("rag"), "meta": _group("meta")},
|
|
92
|
+
)
|
|
93
|
+
context = Context()
|
|
94
|
+
context.create(ResearchTurn(query_id="q1", domain="rag"))
|
|
95
|
+
context.create(ResearchTurn(query_id="q2", domain="meta"))
|
|
96
|
+
asyncio.run(Runtime(context, groups=route.groups()).arun())
|
|
97
|
+
answers = {a.data.text for a in context.list_artifacts(Answer)}
|
|
98
|
+
assert answers == {"rag:q1", "meta:q2"}
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
def test_route_default_covers_unknown_values():
|
|
102
|
+
route = Route(
|
|
103
|
+
on=ResearchTurn,
|
|
104
|
+
key=lambda turn: turn.domain,
|
|
105
|
+
cases={"rag": _group("rag"), "meta": _group("meta")},
|
|
106
|
+
default="rag",
|
|
107
|
+
)
|
|
108
|
+
context = Context()
|
|
109
|
+
context.create(ResearchTurn(query_id="q", domain="other"))
|
|
110
|
+
asyncio.run(Runtime(context, groups=route.groups()).arun())
|
|
111
|
+
assert [a.data.text for a in context.list_artifacts(Answer)] == ["rag:q"]
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def test_validate_warns_about_multiple_answer_producers():
|
|
115
|
+
report = validate_contracts(groups=[_group("one"), _group("two")])
|
|
116
|
+
assert any(issue.code == "ambiguous_producer" for issue in report.warnings)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
def test_validate_suppresses_distinct_cases_of_one_route():
|
|
120
|
+
route = Route(
|
|
121
|
+
on=ResearchTurn,
|
|
122
|
+
key=lambda turn: turn.domain,
|
|
123
|
+
cases={"rag": _group("rag"), "meta": _group("meta")},
|
|
124
|
+
)
|
|
125
|
+
report = validate_contracts(groups=route.groups())
|
|
126
|
+
assert not any(issue.code == "ambiguous_producer" for issue in report.warnings)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
def test_route_requires_a_known_default():
|
|
130
|
+
try:
|
|
131
|
+
Route(
|
|
132
|
+
on=ResearchTurn,
|
|
133
|
+
key=lambda turn: turn.domain,
|
|
134
|
+
cases={"rag": _group("rag")},
|
|
135
|
+
default="meta",
|
|
136
|
+
)
|
|
137
|
+
except ValueError as exc:
|
|
138
|
+
assert "default" in str(exc)
|
|
139
|
+
else: # pragma: no cover
|
|
140
|
+
raise AssertionError("expected ValueError")
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
def test_same_case_with_two_producers_still_warns():
|
|
144
|
+
route = Route(
|
|
145
|
+
on=ResearchTurn,
|
|
146
|
+
key=lambda turn: turn.domain,
|
|
147
|
+
cases={"rag": [_group("a"), _group("b")]},
|
|
148
|
+
)
|
|
149
|
+
report = validate_contracts(groups=route.groups())
|
|
150
|
+
assert any(issue.code == "ambiguous_producer" for issue in report.warnings)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
def test_routed_group_preserves_group_metadata():
|
|
154
|
+
consume = Consume(
|
|
155
|
+
ResearchTurn, condition=lambda artifact: artifact.data.domain == "pipeline"
|
|
156
|
+
)
|
|
157
|
+
fallback = _FallbackAnswer()
|
|
158
|
+
inner = create_step_group(
|
|
159
|
+
"inner",
|
|
160
|
+
consumes=[consume],
|
|
161
|
+
steps=[_SearchStep()],
|
|
162
|
+
capabilities=("llm",),
|
|
163
|
+
concurrency_limit=2,
|
|
164
|
+
fallback=fallback,
|
|
165
|
+
fallback_on=(ValueError,),
|
|
166
|
+
)
|
|
167
|
+
routed = Route(
|
|
168
|
+
on=ResearchTurn,
|
|
169
|
+
key=lambda turn: turn.domain,
|
|
170
|
+
cases={"pipeline": inner},
|
|
171
|
+
).groups()[0]
|
|
172
|
+
|
|
173
|
+
assert routed.consumes == inner.consumes
|
|
174
|
+
assert routed.consumes is not None
|
|
175
|
+
assert routed.consumes[0].condition is consume.condition
|
|
176
|
+
assert routed.capabilities == inner.capabilities
|
|
177
|
+
assert routed.concurrency_limit == inner.concurrency_limit
|
|
178
|
+
assert routed.fallback_step is fallback
|
|
179
|
+
assert routed.fallback_on == (ValueError,)
|
|
180
|
+
assert routed.fallback_skip == inner.fallback_skip
|
|
181
|
+
|
|
182
|
+
context = Context()
|
|
183
|
+
context.create(ResearchTurn(query_id="q1", domain="pipeline"))
|
|
184
|
+
assert [a.data.query_id for a in routed.collect_inputs(context)] == ["q1"]
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
def test_validate_route_preserves_group_level_consumes():
|
|
188
|
+
inner = create_step_group(
|
|
189
|
+
"react",
|
|
190
|
+
consumes=[Consume(ResearchTurn)],
|
|
191
|
+
steps=[_SearchStep()],
|
|
192
|
+
)
|
|
193
|
+
route = Route(
|
|
194
|
+
on=ResearchTurn,
|
|
195
|
+
key=lambda turn: turn.domain,
|
|
196
|
+
cases={"pipeline": inner},
|
|
197
|
+
)
|
|
198
|
+
groups = [
|
|
199
|
+
*route.groups(),
|
|
200
|
+
create_step_group(
|
|
201
|
+
"producer", consumes=[Consume(UserQuery)], steps=[_ProduceTurn()]
|
|
202
|
+
),
|
|
203
|
+
create_step_group(
|
|
204
|
+
"consumer", consumes=[Consume(SearchDone)], steps=[_ConsumeSearch()]
|
|
205
|
+
),
|
|
206
|
+
]
|
|
207
|
+
|
|
208
|
+
report = validate_contracts(
|
|
209
|
+
groups=groups,
|
|
210
|
+
seeds=[UserQuery],
|
|
211
|
+
terminal=[Answer],
|
|
212
|
+
)
|
|
213
|
+
|
|
214
|
+
assert report.issues == []
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
def test_routed_group_keeps_fallback():
|
|
218
|
+
inner = create_step_group(
|
|
219
|
+
"inner",
|
|
220
|
+
consumes=[Consume(ResearchTurn)],
|
|
221
|
+
steps=[_FailStep()],
|
|
222
|
+
fallback=_FallbackAnswer(),
|
|
223
|
+
)
|
|
224
|
+
route = Route(
|
|
225
|
+
on=ResearchTurn,
|
|
226
|
+
key=lambda turn: turn.domain,
|
|
227
|
+
cases={"pipeline": inner},
|
|
228
|
+
)
|
|
229
|
+
|
|
230
|
+
context = Context()
|
|
231
|
+
context.create(ResearchTurn(query_id="q1", domain="pipeline"))
|
|
232
|
+
asyncio.run(Runtime(context, groups=route.groups()).arun())
|
|
233
|
+
|
|
234
|
+
assert [a.data.text for a in context.list_artifacts(Answer)] == ["fallback"]
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
"""`Route`: gate case groups by one artifact field and validate exclusivity."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
import asyncio
|
|
6
|
-
|
|
7
|
-
from pydantic import BaseModel
|
|
8
|
-
from reactifact import Consume, Context, Runtime, Step, StepGroup
|
|
9
|
-
from reactifact.recipes import Route
|
|
10
|
-
from reactifact.validate import validate_contracts
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class ResearchTurn(BaseModel):
|
|
14
|
-
query_id: str
|
|
15
|
-
domain: str
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class Answer(BaseModel):
|
|
19
|
-
text: str
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class _Case(Step[Answer]):
|
|
23
|
-
consumes = (Consume(ResearchTurn),)
|
|
24
|
-
|
|
25
|
-
def __init__(self, prefix: str) -> None:
|
|
26
|
-
self.prefix = prefix
|
|
27
|
-
super().__init__()
|
|
28
|
-
|
|
29
|
-
async def run(self, turn: ResearchTurn, effects) -> None:
|
|
30
|
-
effects.create(Answer(text=f"{self.prefix}:{turn.query_id}"))
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
def _group(prefix: str) -> StepGroup:
|
|
34
|
-
return StepGroup(name=prefix, steps=[_Case(prefix)])
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
def test_route_runs_only_the_matching_case():
|
|
38
|
-
route = Route(
|
|
39
|
-
on=ResearchTurn,
|
|
40
|
-
key=lambda turn: turn.domain,
|
|
41
|
-
cases={"rag": _group("rag"), "meta": _group("meta")},
|
|
42
|
-
)
|
|
43
|
-
context = Context()
|
|
44
|
-
context.create(ResearchTurn(query_id="q1", domain="rag"))
|
|
45
|
-
context.create(ResearchTurn(query_id="q2", domain="meta"))
|
|
46
|
-
asyncio.run(Runtime(context, groups=route.groups()).arun())
|
|
47
|
-
answers = {a.data.text for a in context.list_artifacts(Answer)}
|
|
48
|
-
assert answers == {"rag:q1", "meta:q2"}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
def test_route_default_covers_unknown_values():
|
|
52
|
-
route = Route(
|
|
53
|
-
on=ResearchTurn,
|
|
54
|
-
key=lambda turn: turn.domain,
|
|
55
|
-
cases={"rag": _group("rag"), "meta": _group("meta")},
|
|
56
|
-
default="rag",
|
|
57
|
-
)
|
|
58
|
-
context = Context()
|
|
59
|
-
context.create(ResearchTurn(query_id="q", domain="other"))
|
|
60
|
-
asyncio.run(Runtime(context, groups=route.groups()).arun())
|
|
61
|
-
assert [a.data.text for a in context.list_artifacts(Answer)] == ["rag:q"]
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
def test_validate_warns_about_multiple_answer_producers():
|
|
65
|
-
report = validate_contracts(groups=[_group("one"), _group("two")])
|
|
66
|
-
assert any(issue.code == "ambiguous_producer" for issue in report.warnings)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
def test_validate_suppresses_distinct_cases_of_one_route():
|
|
70
|
-
route = Route(
|
|
71
|
-
on=ResearchTurn,
|
|
72
|
-
key=lambda turn: turn.domain,
|
|
73
|
-
cases={"rag": _group("rag"), "meta": _group("meta")},
|
|
74
|
-
)
|
|
75
|
-
report = validate_contracts(groups=route.groups())
|
|
76
|
-
assert not any(issue.code == "ambiguous_producer" for issue in report.warnings)
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
def test_route_requires_a_known_default():
|
|
80
|
-
try:
|
|
81
|
-
Route(
|
|
82
|
-
on=ResearchTurn,
|
|
83
|
-
key=lambda turn: turn.domain,
|
|
84
|
-
cases={"rag": _group("rag")},
|
|
85
|
-
default="meta",
|
|
86
|
-
)
|
|
87
|
-
except ValueError as exc:
|
|
88
|
-
assert "default" in str(exc)
|
|
89
|
-
else: # pragma: no cover
|
|
90
|
-
raise AssertionError("expected ValueError")
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
def test_same_case_with_two_producers_still_warns():
|
|
94
|
-
route = Route(
|
|
95
|
-
on=ResearchTurn,
|
|
96
|
-
key=lambda turn: turn.domain,
|
|
97
|
-
cases={"rag": [_group("a"), _group("b")]},
|
|
98
|
-
)
|
|
99
|
-
report = validate_contracts(groups=route.groups())
|
|
100
|
-
assert any(issue.code == "ambiguous_producer" for issue in report.warnings)
|
|
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
|
|
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
|