reactifact 0.21.0__tar.gz → 0.23.0__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.21.0/reactifact.egg-info → reactifact-0.23.0}/PKG-INFO +176 -56
- {reactifact-0.21.0 → reactifact-0.23.0}/README.md +174 -55
- {reactifact-0.21.0 → reactifact-0.23.0}/pyproject.toml +23 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/__init__.py +76 -8
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/a2a/__init__.py +2 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/a2a/client.py +2 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/a2a/remote.py +9 -9
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/a2a/server.py +6 -6
- reactifact-0.23.0/reactifact/agents.py +26 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/artifacts.py +20 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/audit.py +1 -10
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/branching/__init__.py +2 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/branching/ops.py +38 -5
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/budget.py +1 -1
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/chat.py +325 -23
- reactifact-0.23.0/reactifact/cli/__init__.py +133 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/cli/common.py +11 -11
- reactifact-0.23.0/reactifact/cli/contracts.py +39 -0
- reactifact-0.23.0/reactifact/cli/demo.py +20 -0
- reactifact-0.23.0/reactifact/cli/doctor.py +159 -0
- reactifact-0.23.0/reactifact/cli/graph.py +48 -0
- reactifact-0.23.0/reactifact/cli/new.py +97 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/cli/replay.py +14 -2
- reactifact-0.23.0/reactifact/cli/run.py +101 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/cli/skills.py +1 -1
- reactifact-0.23.0/reactifact/cli/trace.py +98 -0
- reactifact-0.23.0/reactifact/cli/traces.py +55 -0
- reactifact-0.23.0/reactifact/cli/validate.py +42 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/commit.py +31 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/consume.py +7 -7
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/context/__init__.py +2 -1
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/context/context.py +188 -21
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/context/pending.py +18 -5
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/context_builder.py +7 -7
- reactifact-0.23.0/reactifact/contracts/__init__.py +19 -0
- reactifact-0.23.0/reactifact/contracts/report.py +514 -0
- reactifact-0.23.0/reactifact/contracts/templates/contracts.html +237 -0
- reactifact-0.23.0/reactifact/contracts/templates/favicon.svg +7 -0
- reactifact-0.23.0/reactifact/contracts/web.py +86 -0
- reactifact-0.23.0/reactifact/demo.py +354 -0
- reactifact-0.23.0/reactifact/di.py +32 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/effects.py +53 -14
- reactifact-0.23.0/reactifact/experiments.py +242 -0
- reactifact-0.23.0/reactifact/interaction.py +79 -0
- reactifact-0.23.0/reactifact/interrupt.py +143 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/llm_agent.py +4 -5
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/metrics.py +2 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/operations.py +8 -1
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/patches.py +28 -5
- reactifact-0.23.0/reactifact/pipeline.py +292 -0
- reactifact-0.23.0/reactifact/policy.py +65 -0
- reactifact-0.23.0/reactifact/provenance.py +50 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/quick/__init__.py +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/quick/_shared.py +2 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/quick/agent.py +4 -5
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/quick/chat.py +21 -9
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/quick/models.py +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/quick/rag.py +5 -6
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/quick/tools_agent.py +2 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/__init__.py +37 -9
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/conversation.py +6 -6
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/identity.py +3 -3
- reactifact-0.23.0/reactifact/recipes/map_reduce.py +263 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/memory.py +1 -1
- reactifact-0.23.0/reactifact/recipes/memory_store.py +449 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/plan_execute.py +133 -4
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/reflection.py +150 -4
- reactifact-0.23.0/reactifact/recipes/resolve.py +148 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/search.py +45 -10
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/status.py +89 -10
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/supervisor.py +7 -6
- reactifact-0.23.0/reactifact/recipes/swarm.py +192 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/tool_loop.py +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/replay.py +107 -1
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/request.py +6 -5
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/resources.py +51 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/runtime/__init__.py +2 -0
- reactifact-0.23.0/reactifact/runtime/events.py +196 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/runtime/patch.py +47 -4
- reactifact-0.23.0/reactifact/runtime/result.py +53 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/runtime/runtime.py +390 -61
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/scheduler.py +7 -7
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/session.py +60 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact/SKILL.md +35 -7
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact/references/effects-and-state.md +2 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact-agents/SKILL.md +5 -5
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact-agents/references/consume.md +1 -1
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact-agents/references/effects.md +5 -5
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact-eval/SKILL.md +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact-from-langchain/SKILL.md +5 -5
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact-llm/SKILL.md +35 -1
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact-llm/references/tools.md +24 -4
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact-observability/SKILL.md +12 -5
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact-rag/SKILL.md +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact-testing/SKILL.md +14 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/sources.py +1 -1
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/step/__init__.py +8 -1
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/step/call.py +24 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/step/core.py +200 -94
- reactifact-0.23.0/reactifact/step/decorator.py +143 -0
- reactifact-0.21.0/reactifact/agents.py → reactifact-0.23.0/reactifact/step/group.py +172 -46
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/step/resolve.py +112 -8
- reactifact-0.23.0/reactifact/streaming.py +352 -0
- reactifact-0.23.0/reactifact/subflow.py +151 -0
- reactifact-0.23.0/reactifact/templates/__init__.py +0 -0
- reactifact-0.23.0/reactifact/templates/daemon/.env.example +32 -0
- reactifact-0.23.0/reactifact/templates/daemon/.gitignore +7 -0
- reactifact-0.23.0/reactifact/templates/daemon/Dockerfile +12 -0
- reactifact-0.23.0/reactifact/templates/daemon/README.md +47 -0
- reactifact-0.23.0/reactifact/templates/daemon/app/__init__.py +0 -0
- reactifact-0.23.0/reactifact/templates/daemon/app/config.py +96 -0
- reactifact-0.23.0/reactifact/templates/daemon/app/llm.py +64 -0
- reactifact-0.23.0/reactifact/templates/daemon/app/llm_presets.py +63 -0
- reactifact-0.23.0/reactifact/templates/daemon/app/main.py +55 -0
- reactifact-0.23.0/reactifact/templates/daemon/app/models.py +22 -0
- reactifact-0.23.0/reactifact/templates/daemon/app/monitor.py +53 -0
- reactifact-0.23.0/reactifact/templates/daemon/app/prompts.py +10 -0
- reactifact-0.23.0/reactifact/templates/daemon/app/resources.py +19 -0
- reactifact-0.23.0/reactifact/templates/daemon/app/runner.py +46 -0
- reactifact-0.23.0/reactifact/templates/daemon/pyproject.toml +40 -0
- reactifact-0.23.0/reactifact/templates/daemon/tests/__init__.py +0 -0
- reactifact-0.23.0/reactifact/templates/daemon/tests/test_daemon.py +41 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/.env.example +61 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/.gitignore +7 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/Dockerfile +14 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/README.md +121 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/__init__.py +0 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/agent/__init__.py +0 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/agent/pipeline.py +78 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/agent/prompts.py +14 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/agent/resources.py +29 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/agent/steps/__init__.py +3 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/agent/steps/answer.py +35 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/api/__init__.py +0 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/api/deps.py +21 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/api/routes/__init__.py +0 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/api/routes/chat.py +86 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/authz.py +28 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/bootstrap.py +88 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/config.py +136 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/llm.py +60 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/llm_presets.py +63 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/main.py +81 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/models.py +33 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/app/security.py +74 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/pyproject.toml +48 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/tests/__init__.py +0 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/tests/conftest.py +32 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/tests/test_auth_sessions.py +36 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/tests/test_chat_sse.py +61 -0
- reactifact-0.23.0/reactifact/templates/fastapi_chat/tests/test_settings.py +75 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/testing/__init__.py +3 -0
- reactifact-0.23.0/reactifact/testing/client.py +156 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/testing/fault.py +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/testing/lab.py +5 -5
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/testing/registry.py +1 -1
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tools/agent.py +2 -2
- reactifact-0.23.0/reactifact/tools/base.py +655 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tools/use/base.py +9 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tools/use/hitl.py +11 -17
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/__init__.py +10 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/_shared.py +5 -0
- reactifact-0.23.0/reactifact/tracing/diff.py +106 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/models.py +148 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/otlp.py +1 -1
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/postgres.py +140 -34
- reactifact-0.23.0/reactifact/tracing/retention.py +40 -0
- reactifact-0.23.0/reactifact/tracing/sampling.py +63 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/store.py +155 -36
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/templates/sessions.html +1 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/templates/ui.html +1 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/templates/ui_run.html +97 -10
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/tracer.py +306 -14
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/web.py +68 -7
- reactifact-0.23.0/reactifact/validate.py +301 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/verify.py +3 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/viz.py +95 -57
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/web.py +53 -4
- {reactifact-0.21.0 → reactifact-0.23.0/reactifact.egg-info}/PKG-INFO +176 -56
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact.egg-info/SOURCES.txt +112 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact.egg-info/requires.txt +1 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_a2a.py +22 -23
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_a2a_interop.py +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_absent_consume.py +3 -3
- reactifact-0.23.0/tests/test_agent_policy.py +312 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_agent_tool.py +8 -8
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_audit.py +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_authz.py +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_branching.py +25 -0
- reactifact-0.23.0/tests/test_change_instructions.py +59 -0
- reactifact-0.23.0/tests/test_chat_facade.py +177 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_chat_memory.py +8 -8
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_chat_outbox.py +5 -7
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_chat_web.py +45 -13
- reactifact-0.23.0/tests/test_checkpoints.py +163 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_cli.py +78 -2
- reactifact-0.23.0/tests/test_cli_doctor.py +72 -0
- reactifact-0.23.0/tests/test_cli_new.py +37 -0
- reactifact-0.23.0/tests/test_code_review.py +38 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_compaction.py +4 -4
- reactifact-0.23.0/tests/test_conflict.py +92 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_consumes_produces.py +15 -16
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_context_builder.py +5 -5
- reactifact-0.23.0/tests/test_context_provenance.py +66 -0
- reactifact-0.23.0/tests/test_contracts.py +82 -0
- reactifact-0.23.0/tests/test_contracts_web.py +51 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_correlated_consume.py +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_debounce.py +4 -4
- reactifact-0.23.0/tests/test_demo.py +48 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_determinism.py +4 -4
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_devops.py +73 -18
- reactifact-0.23.0/tests/test_devops_auth.py +194 -0
- reactifact-0.23.0/tests/test_devops_branches.py +45 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_devops_online.py +2 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_devops_web.py +122 -0
- reactifact-0.23.0/tests/test_di.py +79 -0
- reactifact-0.23.0/tests/test_dx_errors.py +54 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_effects.py +58 -7
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_eval.py +8 -8
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_eval_dataset.py +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_eval_online.py +6 -6
- reactifact-0.23.0/tests/test_experiments.py +143 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_friendly_api.py +2 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_golden.py +2 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_guardrails.py +5 -5
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_hitl.py +73 -1
- reactifact-0.23.0/tests/test_interaction.py +49 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_join_consume.py +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_knowledge.py +14 -14
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_knowledge_web.py +12 -0
- reactifact-0.23.0/tests/test_map_reduce.py +116 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_medic_lab.py +9 -9
- reactifact-0.23.0/tests/test_memory_store.py +262 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_metrics.py +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_pending_actions.py +5 -4
- reactifact-0.23.0/tests/test_pipeline_lifecycle.py +98 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_produce_trigger.py +12 -13
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_public_api.py +54 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_quick.py +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_quota.py +6 -6
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_reacts_to.py +15 -17
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_recipe_plan_execute.py +26 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_recipe_reflection.py +29 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_recipe_supervisor.py +5 -5
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_recipes.py +167 -18
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_redaction.py +2 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_repair.py +1 -1
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_repair_web.py +10 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_replay.py +4 -4
- reactifact-0.23.0/tests/test_replay_tools.py +226 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_request.py +29 -4
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_routing.py +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_runtime.py +3 -3
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_runtime_errors.py +7 -7
- reactifact-0.23.0/tests/test_step_group.py +175 -0
- reactifact-0.23.0/tests/test_step_provenance.py +94 -0
- reactifact-0.23.0/tests/test_step_return_inference.py +78 -0
- reactifact-0.23.0/tests/test_stream_events.py +200 -0
- reactifact-0.23.0/tests/test_subflow.py +213 -0
- reactifact-0.23.0/tests/test_swarm.py +170 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_testing_golden.py +4 -4
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_testing_lab.py +7 -7
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_testing_mock.py +2 -2
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_token_budget.py +6 -6
- reactifact-0.23.0/tests/test_tool_injection.py +289 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_tools.py +31 -31
- reactifact-0.23.0/tests/test_tour.py +195 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_trace_limits.py +3 -1
- reactifact-0.23.0/tests/test_trace_reports.py +101 -0
- reactifact-0.23.0/tests/test_trace_retention.py +97 -0
- reactifact-0.23.0/tests/test_trace_sampling.py +66 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_trace_ui.py +8 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_tracing.py +503 -15
- reactifact-0.23.0/tests/test_validate.py +163 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_verify.py +5 -5
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_viz.py +29 -5
- reactifact-0.23.0/tests/test_web_errors.py +52 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_workspace_with_sources.py +1 -1
- reactifact-0.21.0/reactifact/cli/__init__.py +0 -78
- reactifact-0.21.0/reactifact/cli/graph.py +0 -21
- reactifact-0.21.0/reactifact/cli/trace.py +0 -45
- reactifact-0.21.0/reactifact/interrupt.py +0 -65
- reactifact-0.21.0/reactifact/produce.py +0 -56
- reactifact-0.21.0/reactifact/recipes/resolve.py +0 -51
- reactifact-0.21.0/reactifact/step/decorator.py +0 -78
- reactifact-0.21.0/reactifact/streaming.py +0 -69
- reactifact-0.21.0/reactifact/tools/base.py +0 -356
- reactifact-0.21.0/tests/test_produce_styles.py +0 -233
- reactifact-0.21.0/tests/test_tour.py +0 -55
- {reactifact-0.21.0 → reactifact-0.23.0}/LICENSE +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/__main__.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/_extras.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/_httpx.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/_persistence.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/a2a/models.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/agent_tool.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/authz.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/branching/store.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/cache.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/checkpoints.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/cli/branch.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/cli/context.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/cli/eval.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/cli/scenario.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/commit_log.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/context/index.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/context/serialization.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/eval/__init__.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/eval/dataset.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/eval/evaluators.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/eval/judge.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/eval/online.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/eval/runner.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/eval/scoring.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/events.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/guardrails.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/__init__.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/_closers.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/bridge.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/chunk.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/connectors.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/docstore.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/embed.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/errors.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/extract.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/http.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/__init__.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/acl.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/base.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/chroma.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/fusion.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/keyword.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/math.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/memory.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/pgvector.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/qdrant.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/indexes/sqlite.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/models.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/pipeline.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/rerank.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/templates/knowledge.html +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/knowledge/web.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/logging.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/mcp/__init__.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/mcp/client.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/mcp/oauth.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/mcp/server.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/native_tool_use.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/pricing.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/prompts.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/__init__.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/_retry.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/anthropic.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/azure.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/cerebras.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/chat.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/contracts.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/deepseek.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/fake.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/fireworks.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/gemini.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/github_models.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/groq.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/image.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/mistral.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/nvidia.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/ollama.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/openai.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/openrouter.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/perplexity.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/qwen.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/speech.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/together.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/video.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/xai.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/providers/zai.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/py.typed +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/quota.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/cleanup.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/inputs.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/rollback.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/skills.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/recipes/text.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/redaction.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/relations.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/routing.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/runtime/budget.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/runtime/loop.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/runtime/outbox.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact/references/trust-and-safety.md +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact-eval/references/online.md +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact-llm/references/providers.md +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/skills/reactifact-rag/references/sources.md +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/step/annotations.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/structured.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/testing/assertions.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/testing/exceptions.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/testing/golden.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/testing/mock.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/testing/pytest_plugin.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/testing/record.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tool_use.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tools/__init__.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tools/native.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tools/use/__init__.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tools/use/blocking.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/_otlp.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/columns.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/langfuse.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/tracing/templates/app.css +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/triggers.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact/types.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact.egg-info/dependency_links.txt +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact.egg-info/entry_points.txt +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/reactifact.egg-info/top_level.txt +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/setup.cfg +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_anthropic_provider.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_artifact_store.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_artifacts.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_backbone.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_budget.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_cache.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_chat_example.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_checkpoint.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_checkpoints_concurrency.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_cli_scenario.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_commit_dag.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_commit_log.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_concurrency.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_context_at.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_eval_judge.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_eval_trajectory.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_fintech_audit.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_forklab.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_forklab_web.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_gemini_provider.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_image_provider.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_invalidation.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_lazy_providers.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_logging.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_loop_bound_client.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_mcp.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_medic_lab_web.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_multisource.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_native_tool_use.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_openai_provider.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_outbox.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_patches.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_prompts.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_provider_auth.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_provider_retry.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_providers_integration.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_recipe_conversation.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_recipe_tool_loop.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_recipes_inputs.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_recipes_memory.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_recipes_skills.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_relation_graph.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_relations.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_repo_agent.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_resources.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_retry.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_scheduler_semantics.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_session_append.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_sessions.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_shutdown.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_skills.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_sources.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_sources_search.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_sources_vector.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_speech_provider.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_starter_app.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_step_annotated.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_step_scope.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_step_watermark.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_streaming.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_structured.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_testing_assertions.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_testing_provenance.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_testing_pytest_plugin.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_testing_registry.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_trace_columns.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_trace_tags.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_type_registry.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_vendor_factories.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_vendor_multimodal_factories.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_version.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_video_provider.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_view.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_web_source.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/test_workspace.py +0 -0
- {reactifact-0.21.0 → reactifact-0.23.0}/tests/tests_checkpoints_sqlite.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reactifact
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.23.0
|
|
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
|
|
@@ -30,6 +30,7 @@ Requires-Dist: mypy>=1.11; extra == "dev"
|
|
|
30
30
|
Requires-Dist: pytest>=9.1.1; extra == "dev"
|
|
31
31
|
Requires-Dist: pytest-cov>=7.1.0; extra == "dev"
|
|
32
32
|
Requires-Dist: import-linter>=2.0; extra == "dev"
|
|
33
|
+
Requires-Dist: httpx2; extra == "dev"
|
|
33
34
|
Provides-Extra: knowledge
|
|
34
35
|
Provides-Extra: knowledge-chroma
|
|
35
36
|
Requires-Dist: chromadb>=0.5; extra == "knowledge-chroma"
|
|
@@ -52,7 +53,11 @@ Dynamic: license-file
|
|
|
52
53
|
<img src="docs/img/reactifact-hero.png" alt="reactifact — typed artifacts, reactive steps, auditable state" width="800">
|
|
53
54
|
</p>
|
|
54
55
|
|
|
55
|
-
**
|
|
56
|
+
**Agents that can prove their answers.** reactifact is a Python framework for
|
|
57
|
+
knowledge agents over docs, spreadsheets and the web — where the path per
|
|
58
|
+
question isn't a graph you can draw. The model reasons, plain Python computes
|
|
59
|
+
the numbers, and every answer links to the evidence behind it — then replays to
|
|
60
|
+
the same hash.
|
|
56
61
|
|
|
57
62
|
[](https://github.com/bzdvdn/reactifact/actions/workflows/ci.yml)
|
|
58
63
|
[](https://codecov.io/gh/bzdvdn/reactifact)
|
|
@@ -65,6 +70,126 @@ Dynamic: license-file
|
|
|
65
70
|
> **Is:** a Python library (3 core deps) · single-process · typed, versioned artifacts with provenance · deterministic replay · optional code-first knowledge base (SQLite/Qdrant) · runs offline, no API key
|
|
66
71
|
> **Isn't:** a managed platform · a distributed task queue · a pre-built agent/tool marketplace
|
|
67
72
|
|
|
73
|
+
## Sixty seconds, no API key
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
uvx reactifact demo # or: uv add reactifact && uv run reactifact demo
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
```text
|
|
80
|
+
reactifact demo — computed, cited, reproducible
|
|
81
|
+
|
|
82
|
+
question What is the Q2 cloud spend variance, and does policy require approval?
|
|
83
|
+
sources transactions.csv (6 rows) · budget.csv (2 rows) · policy.md
|
|
84
|
+
|
|
85
|
+
answer Q2 cloud spend was $45,000 against a $40,000 budget (+12.5%) — exceeds
|
|
86
|
+
the 10% policy threshold. CFO approval is required before the quarter
|
|
87
|
+
is closed.
|
|
88
|
+
|
|
89
|
+
computed cloud spend $45,000 (2026-04 $12,000, 2026-05 $15,000, 2026-06 $18,000)
|
|
90
|
+
policy threshold 10% → approval required
|
|
91
|
+
citations budget.csv, transactions.csv, policy.md
|
|
92
|
+
|
|
93
|
+
provenance (context.related(answer.id, "supported_by"))
|
|
94
|
+
Answer → supported_by → Variance, policy.md
|
|
95
|
+
Variance → calculated_from → Spend, budget.csv
|
|
96
|
+
Spend → calculated_from → transactions.csv
|
|
97
|
+
|
|
98
|
+
context sha256 ffeca1bb18cbc34749d3b5bdb40d85677b1ac33d47fb1160f6c89053694b2783
|
|
99
|
+
re-run identical ✓
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Three `@step` functions, none of which imports another by name: they declare
|
|
103
|
+
what they consume and produce, and the runtime derives the order from state.
|
|
104
|
+
The figures come from plain Python, and both the answer and the numbers carry
|
|
105
|
+
the hash of the exact state that produced them. Models, steps and the printer
|
|
106
|
+
all live in [`reactifact/demo.py`](reactifact/demo.py) — copy the pipeline,
|
|
107
|
+
then change the data.
|
|
108
|
+
|
|
109
|
+
## Define a step, run it
|
|
110
|
+
|
|
111
|
+
```python
|
|
112
|
+
from pydantic import BaseModel
|
|
113
|
+
from reactifact import Pipeline, step
|
|
114
|
+
|
|
115
|
+
class Question(BaseModel):
|
|
116
|
+
text: str
|
|
117
|
+
|
|
118
|
+
class Answer(BaseModel):
|
|
119
|
+
text: str
|
|
120
|
+
|
|
121
|
+
@step(consumes=Question) # produces=Answer inferred from ->
|
|
122
|
+
def answer(question: Question) -> Answer:
|
|
123
|
+
return Answer(text=f"you asked: {question.text}")
|
|
124
|
+
|
|
125
|
+
pipeline = Pipeline(steps=[answer], seed_type=Question, answer_type=Answer)
|
|
126
|
+
result = pipeline.run(Question(text="why did cloud spend jump in Q2?"))
|
|
127
|
+
|
|
128
|
+
print(result.latest(Answer).data.text)
|
|
129
|
+
print(result.sources(result.latest(Answer))) # citations, as a query
|
|
130
|
+
print(result.hash) # reproducible fingerprint
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
`Pipeline` owns steps, resources and defaults, and builds a fresh `Context` +
|
|
134
|
+
`Runtime` per run. Use `reactifact run` for the same thing from the CLI:
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
reactifact run app:pipeline "why did cloud spend jump in Q2?"
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## Who this is for
|
|
141
|
+
|
|
142
|
+
- **Knowledge assistants over mixed sources.** One question spans Confluence, a
|
|
143
|
+
spreadsheet and a web page; the next spans a different subset. You declare
|
|
144
|
+
what artifacts exist and what agents can do with them, and the runtime derives
|
|
145
|
+
the path. Figures are computed, answers cite their sources, and a run replays
|
|
146
|
+
to the same hash.
|
|
147
|
+
- **Experiment harnesses for agent strategies.** Fork a context, run two
|
|
148
|
+
strategies on their own branches, merge them back, and replay a finished run
|
|
149
|
+
by hash — see [`forklab`](examples/forklab) and
|
|
150
|
+
[Branching](docs/en/branching.md).
|
|
151
|
+
|
|
152
|
+
**RAG is included, not required.** `reactifact.quick.rag` gets retrieval with
|
|
153
|
+
provenance in a few lines; `reactifact.knowledge` is the code-first ingestion
|
|
154
|
+
layer behind it — connectors, chunking, incremental indexing, and real indexes
|
|
155
|
+
(SQLite, Chroma, Qdrant, pgvector). The core never imports either.
|
|
156
|
+
|
|
157
|
+
**Not for a fixed A → B → C pipeline.** There a plain function or LangGraph is
|
|
158
|
+
shorter and just as correct.
|
|
159
|
+
|
|
160
|
+
**Not a connector library.** If you need dozens of managed SaaS sources with
|
|
161
|
+
built-in ingestion, LlamaIndex is the better tool. reactifact's `Source` layer is
|
|
162
|
+
deliberately small and code-first: filesystem, CSV, embeddings, web, MCP.
|
|
163
|
+
|
|
164
|
+
## Start here
|
|
165
|
+
|
|
166
|
+
**Build an app**
|
|
167
|
+
```bash
|
|
168
|
+
uv init my-agent && cd my-agent
|
|
169
|
+
uv add reactifact # core + CLI; FastAPI stays optional
|
|
170
|
+
uv run reactifact new app my-app # FastAPI: auth, sessions, SSE, traces
|
|
171
|
+
# or: uv run reactifact new daemon my-worker
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
The generated FastAPI project declares `reactifact[web]` itself; installing
|
|
175
|
+
`reactifact` alone never pulls FastAPI. The template and the code review
|
|
176
|
+
example are the best starting points; see [Examples](docs/en/examples.md).
|
|
177
|
+
|
|
178
|
+
**Use it in existing code**
|
|
179
|
+
```bash
|
|
180
|
+
uv add reactifact
|
|
181
|
+
uv run reactifact skills install # teach your coding agent the mental model
|
|
182
|
+
```
|
|
183
|
+
Then start with `reactifact.quick` in [Quickstart](docs/en/quickstart.md), or
|
|
184
|
+
read [Concepts](docs/en/concepts.md) before designing artifacts.
|
|
185
|
+
|
|
186
|
+
**Inspect what a run actually did**
|
|
187
|
+
```bash
|
|
188
|
+
reactifact graph my_app.agents
|
|
189
|
+
reactifact trace traces.db
|
|
190
|
+
reactifact replay sessions.sqlite3
|
|
191
|
+
```
|
|
192
|
+
|
|
68
193
|
A question like *"why did infra costs jump in Q2?"* needs a spreadsheet, a policy doc and a page off the web — and the *next* question needs a different subset. That is not one graph you can draw up front. You declare what artifacts exist and what agents can do with them; the runtime derives the order — and the dependency graph — from state. You don't draw the graph.
|
|
69
194
|
|
|
70
195
|
Every derived artifact then links to what produced it
|
|
@@ -72,7 +197,7 @@ Every derived artifact then links to what produced it
|
|
|
72
197
|
that?"* is a query, not a guess — and the run is reproducible (`context_hash`)
|
|
73
198
|
and verifiable (`reactifact replay --verify`).
|
|
74
199
|
|
|
75
|
-
##
|
|
200
|
+
## The same idea, a real pipeline
|
|
76
201
|
|
|
77
202
|
[`examples/fintech_audit`](examples/fintech_audit) — a transactions CSV, a budget
|
|
78
203
|
CSV and a policy doc, **no API key**. The model never produces the number; plain
|
|
@@ -104,22 +229,21 @@ is never the source of truth (trimmed from
|
|
|
104
229
|
[`examples/fintech_audit/steps.py`](examples/fintech_audit/steps.py)):
|
|
105
230
|
|
|
106
231
|
```python
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
print(
|
|
122
|
-
print(context_hash(ctx)) # reproducible fingerprint
|
|
232
|
+
from reactifact import CALCULATED_FROM, Context, step
|
|
233
|
+
|
|
234
|
+
@step(consumes=Spend, provenance=CALCULATED_FROM) # wakes when Spend exists
|
|
235
|
+
def compute_variance(spend: Spend, context: Context) -> Variance:
|
|
236
|
+
budget = cloud_budget(context) # read from budget.csv
|
|
237
|
+
pct = (spend.total - budget) / budget # deterministic — never the model
|
|
238
|
+
return Variance(actual=spend.total, budget=budget, pct=pct,
|
|
239
|
+
threshold=0.10, within_policy=abs(pct) <= 0.10)
|
|
240
|
+
# creates the artifact and links it calculated_from→ Spend
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
result = Pipeline(steps=[compute_spend, compute_variance, answer]) \
|
|
244
|
+
.run(Question(text="what is the Q2 cloud spend variance?"))
|
|
245
|
+
print(report_to_markdown(build_report(result.context, result.latest(AuditAnswer))))
|
|
246
|
+
print(result.hash) # reproducible fingerprint
|
|
123
247
|
```
|
|
124
248
|
|
|
125
249
|
## Knowledge assistants, live
|
|
@@ -212,7 +336,7 @@ derives what runs next from state.
|
|
|
212
336
|
|
|
213
337
|
| Celery | reactifact |
|
|
214
338
|
| --- | --- |
|
|
215
|
-
| a task |
|
|
339
|
+
| a task | `@step(consumes=Input) -> Model` — a unit of work that returns a typed artifact |
|
|
216
340
|
| `delay()` / `apply_async()` | you don't call it: creating the input artifact **is** the trigger |
|
|
217
341
|
| routing key / queue | `Consume(Type)` — which artifact type wakes the task |
|
|
218
342
|
| chain / group / chord | several step `Consume`s / `produces`; the runtime derives the order |
|
|
@@ -231,14 +355,14 @@ pip install reactifact
|
|
|
231
355
|
```
|
|
232
356
|
|
|
233
357
|
Runs offline, no API key needed — paste this straight into a `.py` file. Two
|
|
234
|
-
|
|
358
|
+
steps, no graph edge declared between them — the second reacts because the
|
|
235
359
|
first one's output exists, and the answer carries *proof* of where it came
|
|
236
360
|
from:
|
|
237
361
|
|
|
238
362
|
```python
|
|
239
363
|
from pydantic import BaseModel
|
|
240
364
|
|
|
241
|
-
from reactifact import
|
|
365
|
+
from reactifact import Pipeline, SUPPORTED_BY, step
|
|
242
366
|
|
|
243
367
|
|
|
244
368
|
class Question(BaseModel):
|
|
@@ -259,31 +383,25 @@ DOCS = {
|
|
|
259
383
|
}
|
|
260
384
|
|
|
261
385
|
|
|
262
|
-
@step(
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
if hit is not None:
|
|
267
|
-
call.effects.create(Evidence(text=hit))
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
@step(produces=Answer, consumes=Evidence)
|
|
271
|
-
async def answer_from_evidence(call):
|
|
272
|
-
evidence = call.trigger
|
|
273
|
-
call.effects.create(Answer(text=evidence.data.text)).link("supported_by", evidence)
|
|
386
|
+
@step(consumes=Question)
|
|
387
|
+
def find_evidence(question: Question) -> list[Evidence]:
|
|
388
|
+
hit = next((v for k, v in DOCS.items() if k in question.text.lower()), None)
|
|
389
|
+
return [Evidence(text=hit)] if hit is not None else []
|
|
274
390
|
|
|
275
391
|
|
|
276
|
-
|
|
277
|
-
|
|
392
|
+
@step(consumes=Evidence, provenance=SUPPORTED_BY)
|
|
393
|
+
def answer_from_evidence(evidence: Evidence) -> Answer:
|
|
394
|
+
return Answer(text=evidence.text)
|
|
278
395
|
|
|
279
|
-
ctx = Context(resources=RuntimeResources())
|
|
280
|
-
runtime = Runtime(ctx, agents=[search_agent, answer_agent], budget=Budget(max_runs=10))
|
|
281
396
|
|
|
282
|
-
|
|
283
|
-
|
|
397
|
+
result = Pipeline(
|
|
398
|
+
steps=[find_evidence, answer_from_evidence],
|
|
399
|
+
seed_type=Question,
|
|
400
|
+
answer_type=Answer,
|
|
401
|
+
).run(Question(text="what's your refund policy?"))
|
|
284
402
|
|
|
285
|
-
answer =
|
|
286
|
-
evidence =
|
|
403
|
+
answer = result.latest(Answer)
|
|
404
|
+
evidence = result.context.related(answer.id, SUPPORTED_BY)[0]
|
|
287
405
|
print(answer.data.text) # "Refunds are available within 14 days of purchase."
|
|
288
406
|
print("supported_by:", evidence.data.text) # provenance you can trace, not just a string in a log
|
|
289
407
|
```
|
|
@@ -294,17 +412,18 @@ print("supported_by:", evidence.data.text) # provenance you can trace, not just
|
|
|
294
412
|
ARTIFACT CREATED / UPDATED
|
|
295
413
|
│
|
|
296
414
|
▼
|
|
297
|
-
|
|
415
|
+
STEPS REACT ──effects──► Effects ──compile──► Patch
|
|
298
416
|
▲ │
|
|
299
417
|
└──────────────────────────────────────────────────────┘
|
|
300
418
|
Context v+1
|
|
301
419
|
```
|
|
302
420
|
|
|
303
|
-
A step
|
|
304
|
-
|
|
305
|
-
and moves the context to the next version.
|
|
306
|
-
|
|
307
|
-
|
|
421
|
+
A step returns typed outputs (`-> Answer`, `tuple[...]`, `list[...]`) or a
|
|
422
|
+
change instruction (`Emit`, `Edit`, `Drop`, `Relate`); the runtime compiles
|
|
423
|
+
them into one **atomic** `Patch` and moves the context to the next version.
|
|
424
|
+
`effects` remains available for advanced/batch writes. The event that wakes a
|
|
425
|
+
step is *derived* from that same change — the causal chain can never drift from
|
|
426
|
+
the actual state.
|
|
308
427
|
|
|
309
428
|
## What makes it different
|
|
310
429
|
|
|
@@ -313,7 +432,7 @@ actual state.
|
|
|
313
432
|
| A program follows a graph / plan | Agents **react** to state changes |
|
|
314
433
|
| Messages are strings | **Typed, versioned artifacts** (`Claim`, `Evidence`, `Answer`) |
|
|
315
434
|
| Orchestration is explicit wiring | Orchestration **falls out of the state** |
|
|
316
|
-
| A unit of work
|
|
435
|
+
| A unit of work returns a change object | A step **returns typed artifacts**; the runtime compiles them |
|
|
317
436
|
| Retries/rollback are manual | Context is **git-like versioned** (diff, rollback, branch, merge) |
|
|
318
437
|
| "Who produced this?" is lost | **Provenance** links every derived artifact to its inputs |
|
|
319
438
|
| The model guesses the numbers | **Calculations are calculated** — the LLM is a reasoning component, not the source of truth |
|
|
@@ -330,15 +449,15 @@ Full breakdown, including where reactifact is *not* the right choice:
|
|
|
330
449
|
|
|
331
450
|
- **Context** — versioned working state, git-like commits, `diff`/`rollback`/`merge`.
|
|
332
451
|
- **Artifact** — a first-class typed object (`Claim`, `Evidence`, `Answer`), not a string blob.
|
|
333
|
-
- **Effects** —
|
|
452
|
+
- **Effects** — the low-level write surface (`create/update/delete/link`); most steps return artifacts or `Edit`/`Drop`/`Relate` instead.
|
|
334
453
|
- **Patch** — the compiled, validated change-set applied as one atomic commit.
|
|
335
|
-
- **Step** — the unit of work:
|
|
336
|
-
- **
|
|
454
|
+
- **Step** — the unit of work: `@step(consumes=Question) -> Answer`; `produces` is inferred from the return type.
|
|
455
|
+
- **StepGroup** — an optional container when several steps share a trigger, retry, timeout or commit.
|
|
337
456
|
- **Source** — retrieval is a capability: vector search is *one* strategy, not the only one; filesystem, CSV, and the web are equally first-class today (direct API, keyword, and SQL sources are on the [roadmap](docs/roadmap.md#next), not yet shipped). For corpus ingestion, the optional `knowledge` layer adds connectors, chunking, embeddings and SQLite/Qdrant indexes.
|
|
338
457
|
- **Provenance** — every derived artifact links to what produced it
|
|
339
458
|
(`Answer —supported_by→ Claim —derived_from→ Evidence —extracted_from→ Doc`).
|
|
340
|
-
- **HITL** —
|
|
341
|
-
- **Outbox** —
|
|
459
|
+
- **HITL** — `human.ask(...)` → `PendingQuestion`, answered via `human.resume(...)`.
|
|
460
|
+
- **Outbox** — `outbox.act(...)` → `PendingAction`, performed once *after* the commit by `Runtime(dispatcher=...)`; safe across replay, retries and merged branches.
|
|
342
461
|
|
|
343
462
|
## In the box
|
|
344
463
|
|
|
@@ -360,7 +479,7 @@ Full breakdown, including where reactifact is *not* the right choice:
|
|
|
360
479
|
`ReplayLLM`, all for audit and safe alternative states.
|
|
361
480
|
- **Sessions** — `SessionStore` over `FileKVBackend`/`SQLiteKVBackend`
|
|
362
481
|
(and `PostgreSQLKVBackend`) for durable chat memory.
|
|
363
|
-
- **Web layer** — `
|
|
482
|
+
- **Web layer** — `Chat` + `create_chat_router` mount a canonical SSE
|
|
364
483
|
chat on *your* FastAPI app; errors degrade to a logged fallback, never a 500.
|
|
365
484
|
- **Recipes** — `find`/`find_all` (typed lookup in `inputs`), `fan_out_sources`,
|
|
366
485
|
`materialize_doc`, `StatusMachine`, `WindowSummarizer`/`WindowPruner`
|
|
@@ -415,6 +534,7 @@ Prefer a notebook? [.
|
|
419
539
|
- `chat` — minimal offline single-model multi-turn conversation (`Conversation` + bounded `ChatMemory`).
|
|
420
540
|
- `forklab` — deterministic branch & merge: two strategies on their own forks, three-way merge.
|
|
@@ -447,7 +567,7 @@ npx --yes pyright # static check with the repo's pyproject config
|
|
|
447
567
|
|
|
448
568
|
## Status & contributing
|
|
449
569
|
|
|
450
|
-
Active, `0.
|
|
570
|
+
Active, `0.23.0`, pre-1.0 — the API is stabilizing and `1.0` will freeze it
|
|
451
571
|
(see the [roadmap](docs/roadmap.md)); releases follow
|
|
452
572
|
[Keep a Changelog](CHANGELOG.md). Questions and design discussion live in
|
|
453
573
|
[GitHub Discussions](https://github.com/bzdvdn/reactifact/discussions); a star,
|