langchain-agentx-python 0.9.9__tar.gz → 1.0.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.
- {langchain-agentx-python-0.9.9/langchain_agentx_python.egg-info → langchain-agentx-python-1.0.0}/PKG-INFO +48 -2
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/README.md +47 -1
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/__init__.py +1 -1
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/memdir/agent_memory.py +6 -1
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/memdir/extractor.py +15 -5
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/memdir/loader.py +63 -7
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/memdir/scan.py +17 -5
- langchain-agentx-python-1.0.0/langchain_agentx/memory/memdir/types.py +270 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0/langchain_agentx_python.egg-info}/PKG-INFO +48 -2
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx_python.egg-info/requires.txt +1 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/pyproject.toml +2 -1
- langchain-agentx-python-0.9.9/langchain_agentx/memory/memdir/types.py +0 -104
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/LICENSE +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/command/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/command/builtin/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/command/builtin/clear.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/command/builtin/compact.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/command/builtin/memory.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/command/builtin/reload_plugins.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/command/context.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/command/dispatcher.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/command/registry.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/command/result.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/command/types.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/config/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/config/model_profiles.yaml +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/config/model_profiles.yaml.example +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/health/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/health/checks.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/health/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/health/preflight.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/benchmark_frozen_config.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/config/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/config/agent_config.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/config/loop_config.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/config/model_context_resolver.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/config/runtime_settings.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/config/token_estimator.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/config/tool_execution_engine_resolver.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/blocking_guard.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/compaction_service.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/message_utils.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/pipeline.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/recovery_mode.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/settings.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/stages/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/stages/autocompact.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/stages/base.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/stages/collapse.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/stages/microcompact.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/stages/noop.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/stages/snip.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/stages/tool_result_budget.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/context/types.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/exit/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/exit/exit_logic.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/exit/reason_codes.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/exit/resolution.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/exit/terminal.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/exit/withheld_error.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/graph/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/graph/builtin_loop_control.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/graph/factory.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/graph/graph_edges.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/graph/reactive_compact_node.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/graph/runtime_tools_node.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/async_hook_runner.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/config.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/engine.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/executors/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/executors/agent.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/executors/command.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/executors/http.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/executors/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/graph_wiring.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/hook_projection.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/progress_payload.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/registry.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/trust.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/hook/types.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/injection/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/injection/dedup.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/loop_abort.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/model/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/model/model_node.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/model/model_nodes.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/model/orphan_tool_results.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/model/retrier.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/model/retry_bridge.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/model/retry_events.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/model/retry_policy.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/model/retry_progress.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/model/schema_and_format.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/model/tool_and_model_binding.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/model/tool_call_degradation_corrector.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/model/tool_transcript_guard.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/prompt/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/prompt/builder.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/prompt/builtin.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/prompt/compact.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/prompt/sections.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/prompt/session_context.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/runtime/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/runtime/context.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/runtime/context_factory.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/runtime/subagent_execution_paths.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/stream/graph_driver.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/stream/helpers.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/stream/loop_driver.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/stream/result.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/stream/synthetic_events.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/subagent/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/subagent/async_runner.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/subagent/context.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/subagent/fork_worktree_notice.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/subagent/graph.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/subagent/orchestrator.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/subagent/progress.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/subagent/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/subagent/runner.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/subagent/subagent_termination_classifier.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/loop/subagent/transcript.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/instruction/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/instruction/loader.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/instruction/resolver.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/instruction/runtime.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/instruction/sections.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/instruction/types.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/memdir/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/memdir/age.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/memdir/paths.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/memdir/recall.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/memdir/runtime.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/session/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/session/compact_bridge.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/session/prompts.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/memory/session/session_memory.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/evaluation/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/evaluation/checkers/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/evaluation/checkers/base.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/evaluation/checkers/compaction.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/evaluation/checkers/degradation.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/evaluation/checkers/exit_quality.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/evaluation/checkers/session_memory.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/evaluation/checkers/tool_behavior.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/evaluation/retention_scheduler.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/evaluation/service.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/evaluation/state.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/evaluation/store.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/events/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/events/finish_event_payload_composer.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/events/finish_outcome.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/events/langchain_agentx_event_adapter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/events/tool_call_id_resolver.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/logging/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/logging/debug_burst.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/logging/logging_config.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/logging/logging_contract.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/replay/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/replay/cli.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/replay/service.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/replay/store.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/replay/ui.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/trace/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/trace/collector.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/trace/event_emitter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/trace/hook_event_emitter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/trace/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/trace/sqlite_store.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/trace/trace_callback.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/observability/trace/trace_lifecycle_collector.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/plugin/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/plugin/builtin.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/plugin/config.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/plugin/loader.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/plugin/manifest.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/plugin/registries.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/plugin/types.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/anthropic.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/compatible_chat_openai.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/env.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/model_profile.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/openai.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/answer_assembler.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/contracts.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/anthropic.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/anthropic_codec.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/anthropic_finish_reason.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/anthropic_interpreter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/anthropic_normalizer.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/compatible_openai.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/compatible_openai_codec.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/compatible_openai_finish_reason.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/compatible_openai_interpreter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/compatible_openai_normalizer.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/openai.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/openai_codec.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/openai_finish_reason.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/openai_interpreter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/families/openai_normalizer.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/finish_reason_normalizer.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/message_normalizer.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/profile.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/registry.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/request_codec.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/runtime.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/stream_normalizer.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/tool_call_interpreter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/provider/semantics/turn_accumulator.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/session/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/session/agent_session.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/session/conversation_factory.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/session/conversation_recovery.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/session/conversation_session.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/session/factory.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/session/protocol.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/session/recovery.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/core/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/core/ids.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/core/interfaces.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/core/notification_priority.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/core/types.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/integrations/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/integrations/loop_adapter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/integrations/loop_integration.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/integrations/prefetch_providers.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/integrations/provider_factory.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/integrations/queued_command_provider.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/integrations/sqlite_queued_command_provider.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/integrations/tool_use_summary_provider.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/orchestrator/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/orchestrator/runtime.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/output/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/output/sink.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/policy/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/policy/withhold_visibility.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/queue/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/queue/in_memory.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/skill_prefetch/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/skill_prefetch/attachments.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/skill_prefetch/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/skill_prefetch/provider.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/store/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/store/in_memory.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/store/sqlite_store.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasklist/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasklist/high_water_mark.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasklist/lock.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasklist/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasklist/notifier.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasklist/path_resolver.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasklist/paths.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasklist/reader.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasklist/store.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/ai_analysis/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/ai_analysis/base.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/ai_analysis/evaluation.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/ai_analysis/registry.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/ai_analysis/scheduler.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/base/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/base/contracts.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/custom/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/custom/executor.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/custom/notification.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/custom/semantics.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/custom/spec.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/dream_task/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/dream_task/executor.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/dream_task/notification.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/dream_task/semantics.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/dream_task/spec.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/dream_task/state.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/in_process_teammate/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/in_process_teammate/executor.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/in_process_teammate/notification.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/in_process_teammate/semantics.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/in_process_teammate/spec.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/local_agent/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/local_agent/executor.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/local_agent/notification.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/local_agent/runner.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/local_agent/semantics.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/local_agent/spec.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/local_bash/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/local_bash/executor.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/local_bash/notification.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/local_bash/semantics.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/local_bash/spec.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/remote_agent/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/remote_agent/backend.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/remote_agent/executor.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/remote_agent/notification.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/remote_agent/semantics.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/remote_agent/spec.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/trace_cleanup/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/trace_cleanup/bootstrap.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/trace_cleanup/executor.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/task_runtime/tasks/trace_cleanup/scheduler.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/adapter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/allowlist.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/classifier/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/classifier/classifier.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/classifier/parser.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/classifier/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/classifier/schema.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/classifier/transcript.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/config.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/config_update.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/decision.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/events.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/factory.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/feedback.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/hook.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/rule_stripping.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/auto_mode/state.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/base.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/capabilities.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/errors.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/appliers/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/appliers/auto_approved.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/appliers/effort_override.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/appliers/model_override.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/appliers/set_cwd.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/appliers/stubs.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/callback_bridge.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/engine.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/message_adapter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/parity.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/payload_validator.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/planner.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/policy.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/side_effect_collector.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/execution/side_effect_merge.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/failure_event_emitter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/identical_call_cache.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/limits.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/loader.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/loop_loader.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/loop_runtime_context.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/messages.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/override.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/path_safety.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/permission_context.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/permission_decision.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/pipeline.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/policy.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/policy_decorator.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/process_loader.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/prompt/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/prompt/_abort.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/prompt/cli_interactive.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/prompt/handler.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/prompt/headless.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/prompt/legacy_resolver_adapter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/prompt/messages.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/prompt/race.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/prompt/session_mode.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/prompt/types.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/read_ignore_patterns.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/read_permission.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/registry.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/resolvers/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/resolvers/agent_session.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/resolvers/background.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/resolvers/base.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/resolvers/conversation.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/resolvers/workflow.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/session_hints.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/session_store.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/shell_error.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/smoke_test_runtime.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/state_bridge.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tool_runtime/tool_message_status.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/backend.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/built_in/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/built_in/agentx_guide.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/built_in/explore.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/built_in/general.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/built_in/plan.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/built_in/statusline_setup.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/built_in/verification.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/builtin_subagent_loader.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/cwd_resolution.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/limits.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/loader.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/registry/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/registry/config.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/registry/registry.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/scope.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/agent/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/ask_user_question/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/ask_user_question/constants.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/ask_user_question/html_preview.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/ask_user_question/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/ask_user_question/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/ask_user_question/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/ask_user_question/validators.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/ast_security.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/auto_mode_adapter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/backend.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/bash_hardening.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/bash_runtime_contract.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/boundary_check.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/cwd_reporter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/events.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/limits.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/mode_validation.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/observability.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/output_utils.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/path_security.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/read_only_validation.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/result_presenter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/sandbox_decision.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/security.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/sed_edit_parser.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/sed_validation.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/semantics.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/shell_locator.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/shell_quoting.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/task_runtime.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/bash/windows_shell_quoting.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/edit/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/edit/backend.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/edit/diff_generator.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/edit/git_diff_generator.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/edit/limits.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/edit/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/edit/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/edit/quote_match.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/edit/quote_normalizer.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/edit/settings_validator.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/edit/staleness.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/edit/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/edit/validator.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/glob/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/glob/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/glob/pagination.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/glob/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/glob/rg_list_backend.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/glob/rg_pattern.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/glob/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/grep/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/grep/backend.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/grep/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/grep/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/grep/rg_subprocess_controller.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/grep/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/read/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/read/backend.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/read/limits.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/read/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/read/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/read/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/ripgrep_plugin_exclusions.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/skill/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/skill/argument_substitution.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/skill/fork.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/skill/loader.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/skill/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/skill/policy.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/skill/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/skill/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_create/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_create/hooks.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_create/limits.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_create/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_create/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_create/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_get/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_get/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_get/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_get/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_list/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_list/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_list/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_list/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_update/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_update/hooks.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_update/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_update/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/task_update/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/user_message/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/user_message/attachments.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/user_message/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/user_message/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/user_message/runtime_config.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/user_message/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/webfetch/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/webfetch/backend.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/webfetch/limits.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/webfetch/loader.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/webfetch/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/webfetch/preapproved.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/webfetch/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/webfetch/summary.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/webfetch/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/websearch/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/websearch/backend.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/websearch/events.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/websearch/limits.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/websearch/loader.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/websearch/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/websearch/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/websearch/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/write/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/write/backend.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/write/limits.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/write/models.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/write/prompt.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/write/tool.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/tools/write/validator.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/utils/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/utils/cwd.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/utils/host_platform.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/utils/path_hierarchy.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/utils/path_user_input.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/utils/rg_executable.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/utils/subprocess_text.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/utils/temp_paths.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/utils/unc_path.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/utils/win_reserved_paths.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/base.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/batch.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/dag.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/event_adapter/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/event_adapter/adapter.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/event_adapter/depth_resolver.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/event_adapter/handlers/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/event_adapter/handlers/parallel_handler.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/event_adapter/handlers/route_handler.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/event_adapter/handlers/stage_handler.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/event_adapter/stack.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/event_adapter/types.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/node.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/patterns/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/patterns/chaining.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/patterns/evaluator_optimizer.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/patterns/orchestrator.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/patterns/parallelization.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/patterns/routing.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/runtime.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workflow/state.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workspace/__init__.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workspace/boundary.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workspace/capabilities.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workspace/config.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workspace/errors.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workspace/grant.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workspace/l3_root_grant.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workspace/path_key_normalizer.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workspace/resolver.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workspace/root_grant_manager.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workspace/tool_boundary.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workspace/validators.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx/workspace/view.py +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx_python.egg-info/SOURCES.txt +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx_python.egg-info/dependency_links.txt +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx_python.egg-info/not-zip-safe +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/langchain_agentx_python.egg-info/top_level.txt +0 -0
- {langchain-agentx-python-0.9.9 → langchain-agentx-python-1.0.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: langchain-agentx-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.0
|
|
4
4
|
Summary: LangChain/LangGraph-based agent utilities for CodeBaseX.
|
|
5
5
|
Author-email: GoodMood2008 <GoodMood2008@users.noreply.github.com>
|
|
6
6
|
License: Apache License
|
|
@@ -459,16 +459,62 @@ python -m twine upload dist/*
|
|
|
459
459
|
|
|
460
460
|
## 开发
|
|
461
461
|
|
|
462
|
+
### 环境
|
|
463
|
+
|
|
464
|
+
```bash
|
|
465
|
+
# 推荐:项目 venv(Windows Git Bash 示例)
|
|
466
|
+
export VENV_PYTHON="$HOME/langchain_agentx_venv/Scripts/python.exe"
|
|
467
|
+
|
|
468
|
+
# 可编辑安装 + dev 依赖(首次或 pyproject.toml 变更后)
|
|
469
|
+
"$VENV_PYTHON" -m pip install -e ".[dev]"
|
|
470
|
+
```
|
|
471
|
+
|
|
472
|
+
### 依赖方向门禁(import-linter,提交前自检)
|
|
473
|
+
|
|
474
|
+
阶段 0 仓内 import 方向静态门禁(F1 / F3 / F4 / I1 / L1)。**本地 `git commit` 不会触发 CI**;GitHub Actions 在 **`push` 到 `main`** 或 **开/更新 PR** 时运行(且变更命中 `.importlinter`、`langchain_agentx/**` 等 paths 时)。
|
|
475
|
+
|
|
476
|
+
**改 `langchain_agentx/` 前或 commit 前建议跑:**
|
|
477
|
+
|
|
478
|
+
```bash
|
|
479
|
+
# 1) import 方向扫描(与 CI lint-imports job 一致)
|
|
480
|
+
bash scripts/lint-imports.sh
|
|
481
|
+
|
|
482
|
+
# 2) pytest 回归(CI 同跑)
|
|
483
|
+
python -m pytest langchain_agentx/test_import_direction_gate_regression.py -v
|
|
484
|
+
|
|
485
|
+
# 3) trace 伴侣包单向依赖(正交互补,建议一并跑)
|
|
486
|
+
python -m pytest langchain_agentx/test_trace_companion_import_guard.py -v
|
|
487
|
+
```
|
|
488
|
+
|
|
489
|
+
Windows 若不用脚本,可等价执行:
|
|
490
|
+
|
|
491
|
+
```bash
|
|
492
|
+
export PYTHONUTF8=1
|
|
493
|
+
lint-imports --config .importlinter
|
|
494
|
+
```
|
|
495
|
+
|
|
496
|
+
**新增跨层 / 禁依赖 import 且无合法 ignore 登记** → 上述命令 exit 非 0;**已在 baseline 的老违规**(`.importlinter` 内 `ignore_imports`)→ 仍可通过。
|
|
497
|
+
|
|
498
|
+
维护 baseline(须同步 `docs/design-docs/evolution/baseline-exit-plan.md`,单独 PR):
|
|
499
|
+
|
|
500
|
+
```bash
|
|
501
|
+
python scripts/generate_importlinter_ignore.py
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
设计 / 实施文档:[`docs/design-docs/evolution/stage-0-dependency-direction-gate.md`](docs/design-docs/evolution/stage-0-dependency-direction-gate.md) · [`docs/exec-plan/evolution/stage-0-dependency-direction-gate-2026-06-10.html`](docs/exec-plan/evolution/stage-0-dependency-direction-gate-2026-06-10.html)
|
|
505
|
+
|
|
462
506
|
### 运行测试
|
|
463
507
|
|
|
464
508
|
```bash
|
|
465
509
|
# 安装开发依赖
|
|
466
|
-
pip install -e
|
|
510
|
+
pip install -e ".[dev]"
|
|
467
511
|
|
|
468
512
|
# 运行测试
|
|
469
513
|
pytest langchain_agentx/
|
|
470
514
|
```
|
|
471
515
|
|
|
516
|
+
一键日常(不含 LLM):`bash scripts/run-default-tests.sh`(详见 [`scripts/README.md`](scripts/README.md))
|
|
517
|
+
|
|
472
518
|
### 代码规范
|
|
473
519
|
|
|
474
520
|
所有代码遵循项目编码规范:`docs/guides/coding-style-guide.html`
|
|
@@ -239,16 +239,62 @@ python -m twine upload dist/*
|
|
|
239
239
|
|
|
240
240
|
## 开发
|
|
241
241
|
|
|
242
|
+
### 环境
|
|
243
|
+
|
|
244
|
+
```bash
|
|
245
|
+
# 推荐:项目 venv(Windows Git Bash 示例)
|
|
246
|
+
export VENV_PYTHON="$HOME/langchain_agentx_venv/Scripts/python.exe"
|
|
247
|
+
|
|
248
|
+
# 可编辑安装 + dev 依赖(首次或 pyproject.toml 变更后)
|
|
249
|
+
"$VENV_PYTHON" -m pip install -e ".[dev]"
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
### 依赖方向门禁(import-linter,提交前自检)
|
|
253
|
+
|
|
254
|
+
阶段 0 仓内 import 方向静态门禁(F1 / F3 / F4 / I1 / L1)。**本地 `git commit` 不会触发 CI**;GitHub Actions 在 **`push` 到 `main`** 或 **开/更新 PR** 时运行(且变更命中 `.importlinter`、`langchain_agentx/**` 等 paths 时)。
|
|
255
|
+
|
|
256
|
+
**改 `langchain_agentx/` 前或 commit 前建议跑:**
|
|
257
|
+
|
|
258
|
+
```bash
|
|
259
|
+
# 1) import 方向扫描(与 CI lint-imports job 一致)
|
|
260
|
+
bash scripts/lint-imports.sh
|
|
261
|
+
|
|
262
|
+
# 2) pytest 回归(CI 同跑)
|
|
263
|
+
python -m pytest langchain_agentx/test_import_direction_gate_regression.py -v
|
|
264
|
+
|
|
265
|
+
# 3) trace 伴侣包单向依赖(正交互补,建议一并跑)
|
|
266
|
+
python -m pytest langchain_agentx/test_trace_companion_import_guard.py -v
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
Windows 若不用脚本,可等价执行:
|
|
270
|
+
|
|
271
|
+
```bash
|
|
272
|
+
export PYTHONUTF8=1
|
|
273
|
+
lint-imports --config .importlinter
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
**新增跨层 / 禁依赖 import 且无合法 ignore 登记** → 上述命令 exit 非 0;**已在 baseline 的老违规**(`.importlinter` 内 `ignore_imports`)→ 仍可通过。
|
|
277
|
+
|
|
278
|
+
维护 baseline(须同步 `docs/design-docs/evolution/baseline-exit-plan.md`,单独 PR):
|
|
279
|
+
|
|
280
|
+
```bash
|
|
281
|
+
python scripts/generate_importlinter_ignore.py
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
设计 / 实施文档:[`docs/design-docs/evolution/stage-0-dependency-direction-gate.md`](docs/design-docs/evolution/stage-0-dependency-direction-gate.md) · [`docs/exec-plan/evolution/stage-0-dependency-direction-gate-2026-06-10.html`](docs/exec-plan/evolution/stage-0-dependency-direction-gate-2026-06-10.html)
|
|
285
|
+
|
|
242
286
|
### 运行测试
|
|
243
287
|
|
|
244
288
|
```bash
|
|
245
289
|
# 安装开发依赖
|
|
246
|
-
pip install -e
|
|
290
|
+
pip install -e ".[dev]"
|
|
247
291
|
|
|
248
292
|
# 运行测试
|
|
249
293
|
pytest langchain_agentx/
|
|
250
294
|
```
|
|
251
295
|
|
|
296
|
+
一键日常(不含 LLM):`bash scripts/run-default-tests.sh`(详见 [`scripts/README.md`](scripts/README.md))
|
|
297
|
+
|
|
252
298
|
### 代码规范
|
|
253
299
|
|
|
254
300
|
所有代码遵循项目编码规范:`docs/guides/coding-style-guide.html`
|
|
@@ -42,6 +42,7 @@ logger = logging.getLogger(__name__)
|
|
|
42
42
|
class _AgentMemoryWorkspaceView:
|
|
43
43
|
memory_dir: Path
|
|
44
44
|
memory_entrypoint: Path
|
|
45
|
+
transcripts_dir: Path
|
|
45
46
|
|
|
46
47
|
|
|
47
48
|
@dataclass(frozen=True)
|
|
@@ -103,7 +104,11 @@ class AgentMemoryPromptService:
|
|
|
103
104
|
memory_dir = self._cfg.agent_memory_dir(sanitized, scope)
|
|
104
105
|
entrypoint = self._cfg.agent_memory_entrypoint(sanitized, scope)
|
|
105
106
|
prompt = MemoryPromptLoader(
|
|
106
|
-
_AgentMemoryWorkspaceView(
|
|
107
|
+
_AgentMemoryWorkspaceView(
|
|
108
|
+
memory_dir=memory_dir,
|
|
109
|
+
memory_entrypoint=entrypoint,
|
|
110
|
+
transcripts_dir=self._cfg.transcripts_dir,
|
|
111
|
+
) # type: ignore[arg-type]
|
|
107
112
|
).load_memory_prompt()
|
|
108
113
|
if prompt is None:
|
|
109
114
|
return None
|
|
@@ -24,7 +24,14 @@ from langchain_agentx.workspace import ResolvedAgentStateConfig
|
|
|
24
24
|
from .agent_memory import is_agent_memory_path
|
|
25
25
|
from .paths import is_memory_enabled
|
|
26
26
|
from .scan import format_memory_manifest, scan_memory_files
|
|
27
|
-
from .types import
|
|
27
|
+
from .types import (
|
|
28
|
+
HOW_TO_SAVE_SECTION,
|
|
29
|
+
TYPES_SECTION_INDIVIDUAL,
|
|
30
|
+
TRUSTING_RECALL_SECTION,
|
|
31
|
+
USER_VISIBLE_DELIVERABLE_SECTION,
|
|
32
|
+
WHAT_NOT_TO_SAVE_SECTION,
|
|
33
|
+
WHEN_TO_ACCESS_SECTION,
|
|
34
|
+
)
|
|
28
35
|
|
|
29
36
|
logger = logging.getLogger(__name__)
|
|
30
37
|
|
|
@@ -289,12 +296,15 @@ def build_extract_prompt(
|
|
|
289
296
|
"a duplicate."
|
|
290
297
|
)
|
|
291
298
|
body = (
|
|
292
|
-
"If the user explicitly asks you to remember something, save
|
|
293
|
-
"
|
|
294
|
-
"the relevant entry.\n\n"
|
|
299
|
+
"If the user explicitly asks you to remember something, save only what fits the\n"
|
|
300
|
+
"memory types above and is not excluded under 'What NOT to save in memory'.\n"
|
|
301
|
+
"If they ask you to forget something, find and remove the relevant entry.\n\n"
|
|
295
302
|
f"{TYPES_SECTION_INDIVIDUAL}\n\n"
|
|
296
303
|
f"{WHAT_NOT_TO_SAVE_SECTION}\n\n"
|
|
297
|
-
f"{HOW_TO_SAVE_SECTION}"
|
|
304
|
+
f"{HOW_TO_SAVE_SECTION}\n\n"
|
|
305
|
+
f"{WHEN_TO_ACCESS_SECTION}\n\n"
|
|
306
|
+
f"{TRUSTING_RECALL_SECTION}\n\n"
|
|
307
|
+
f"{USER_VISIBLE_DELIVERABLE_SECTION}"
|
|
298
308
|
)
|
|
299
309
|
return opener + existing + "\n\n" + body
|
|
300
310
|
|
|
@@ -25,8 +25,10 @@ from .types import (
|
|
|
25
25
|
MEMORY_AND_PERSISTENCE_SECTION,
|
|
26
26
|
TRUSTING_RECALL_SECTION,
|
|
27
27
|
TYPES_SECTION_INDIVIDUAL,
|
|
28
|
+
USER_VISIBLE_DELIVERABLE_SECTION,
|
|
28
29
|
WHAT_NOT_TO_SAVE_SECTION,
|
|
29
30
|
WHEN_TO_ACCESS_SECTION,
|
|
31
|
+
build_how_to_save_section,
|
|
30
32
|
)
|
|
31
33
|
|
|
32
34
|
MAX_ENTRYPOINT_LINES = 200
|
|
@@ -52,7 +54,12 @@ class MemoryPromptLoader:
|
|
|
52
54
|
return _truncate_entrypoint_content(raw)
|
|
53
55
|
|
|
54
56
|
def build_memory_lines(self, entrypoint_text: str) -> list[str]:
|
|
55
|
-
|
|
57
|
+
transcripts_dir = getattr(self._cfg, "transcripts_dir", None)
|
|
58
|
+
return _build_memory_lines(
|
|
59
|
+
memory_dir=self._cfg.memory_dir,
|
|
60
|
+
entrypoint_text=entrypoint_text,
|
|
61
|
+
transcripts_dir=transcripts_dir,
|
|
62
|
+
)
|
|
56
63
|
|
|
57
64
|
def load_memory_prompt(self) -> str | None:
|
|
58
65
|
self._ensure_memory_dir()
|
|
@@ -125,7 +132,42 @@ def _truncate_entrypoint_content(raw: str) -> EntrypointTruncation:
|
|
|
125
132
|
)
|
|
126
133
|
|
|
127
134
|
|
|
128
|
-
def
|
|
135
|
+
def build_searching_past_context_section(
|
|
136
|
+
*,
|
|
137
|
+
memory_dir: Path,
|
|
138
|
+
transcripts_dir: Path,
|
|
139
|
+
) -> list[str]:
|
|
140
|
+
"""CC memdir.ts buildSearchingPastContextSection() — always enabled in SDK."""
|
|
141
|
+
mem_dir = memory_dir.as_posix()
|
|
142
|
+
transcripts = transcripts_dir.as_posix()
|
|
143
|
+
mem_search = f'grep with pattern="<search term>" path="{mem_dir}" glob="*.md"'
|
|
144
|
+
transcript_search = (
|
|
145
|
+
f'grep with pattern="<search term>" path="{transcripts}/" glob="*.jsonl"'
|
|
146
|
+
)
|
|
147
|
+
return [
|
|
148
|
+
"## Searching past context",
|
|
149
|
+
"",
|
|
150
|
+
"When looking for past context:",
|
|
151
|
+
"1. Search topic files in your memory directory:",
|
|
152
|
+
"```",
|
|
153
|
+
mem_search,
|
|
154
|
+
"```",
|
|
155
|
+
"2. Session transcript logs (last resort — large files, slow):",
|
|
156
|
+
"```",
|
|
157
|
+
transcript_search,
|
|
158
|
+
"```",
|
|
159
|
+
"Use narrow search terms (error messages, file paths, function names) rather than broad keywords.",
|
|
160
|
+
"",
|
|
161
|
+
]
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
def _build_memory_lines(
|
|
165
|
+
*,
|
|
166
|
+
memory_dir: Path,
|
|
167
|
+
entrypoint_text: str,
|
|
168
|
+
transcripts_dir: Path | None = None,
|
|
169
|
+
) -> list[str]:
|
|
170
|
+
how_to_save = build_how_to_save_section(max_entrypoint_lines=MAX_ENTRYPOINT_LINES)
|
|
129
171
|
header = [
|
|
130
172
|
"# auto memory",
|
|
131
173
|
"",
|
|
@@ -137,15 +179,15 @@ def _build_memory_lines(*, memory_dir: Path, entrypoint_text: str) -> list[str]:
|
|
|
137
179
|
"with you, what behaviors to avoid or repeat, and the context behind the work",
|
|
138
180
|
"the user gives you.",
|
|
139
181
|
"",
|
|
140
|
-
"If the user explicitly asks you to remember something, save
|
|
141
|
-
"
|
|
142
|
-
"the relevant entry.",
|
|
182
|
+
"If the user explicitly asks you to remember something, save only what fits the",
|
|
183
|
+
"memory types above and is not excluded under 'What NOT to save in memory'.",
|
|
184
|
+
"If they ask you to forget something, find and remove the relevant entry.",
|
|
143
185
|
"",
|
|
144
186
|
TYPES_SECTION_INDIVIDUAL,
|
|
145
187
|
"",
|
|
146
188
|
WHAT_NOT_TO_SAVE_SECTION,
|
|
147
189
|
"",
|
|
148
|
-
|
|
190
|
+
how_to_save,
|
|
149
191
|
"",
|
|
150
192
|
WHEN_TO_ACCESS_SECTION,
|
|
151
193
|
"",
|
|
@@ -153,9 +195,22 @@ def _build_memory_lines(*, memory_dir: Path, entrypoint_text: str) -> list[str]:
|
|
|
153
195
|
"",
|
|
154
196
|
MEMORY_AND_PERSISTENCE_SECTION,
|
|
155
197
|
"",
|
|
156
|
-
|
|
198
|
+
USER_VISIBLE_DELIVERABLE_SECTION,
|
|
157
199
|
"",
|
|
158
200
|
]
|
|
201
|
+
if transcripts_dir is not None:
|
|
202
|
+
header.extend(
|
|
203
|
+
build_searching_past_context_section(
|
|
204
|
+
memory_dir=memory_dir,
|
|
205
|
+
transcripts_dir=transcripts_dir,
|
|
206
|
+
)
|
|
207
|
+
)
|
|
208
|
+
header.extend(
|
|
209
|
+
[
|
|
210
|
+
"## MEMORY.md",
|
|
211
|
+
"",
|
|
212
|
+
]
|
|
213
|
+
)
|
|
159
214
|
body = (
|
|
160
215
|
entrypoint_text.strip()
|
|
161
216
|
if entrypoint_text.strip()
|
|
@@ -182,6 +237,7 @@ __all__ = [
|
|
|
182
237
|
"MAX_ENTRYPOINT_LINES",
|
|
183
238
|
"MemoryPromptLoader",
|
|
184
239
|
"build_memory_lines",
|
|
240
|
+
"build_searching_past_context_section",
|
|
185
241
|
"load_memory_prompt",
|
|
186
242
|
"truncate_entrypoint_content",
|
|
187
243
|
]
|
|
@@ -88,13 +88,25 @@ class MemoryScanner:
|
|
|
88
88
|
break
|
|
89
89
|
if end_index is None:
|
|
90
90
|
raise FrontmatterParseError("missing closing ---")
|
|
91
|
+
|
|
92
|
+
in_metadata = False
|
|
91
93
|
for raw in lines[1:end_index]:
|
|
92
|
-
|
|
93
|
-
if not
|
|
94
|
+
stripped = raw.strip()
|
|
95
|
+
if not stripped:
|
|
96
|
+
continue
|
|
97
|
+
if stripped == "metadata:" or stripped.startswith("metadata:"):
|
|
98
|
+
in_metadata = True
|
|
94
99
|
continue
|
|
95
|
-
if
|
|
96
|
-
|
|
97
|
-
|
|
100
|
+
if in_metadata:
|
|
101
|
+
if stripped.startswith("type:"):
|
|
102
|
+
value = stripped.split(":", 1)[1].strip().strip('"').strip("'")
|
|
103
|
+
parsed = parse_memory_type(value)
|
|
104
|
+
return parsed.value if parsed else None
|
|
105
|
+
if not raw[:1].isspace():
|
|
106
|
+
in_metadata = False
|
|
107
|
+
if ":" not in stripped:
|
|
108
|
+
raise FrontmatterParseError(f"invalid frontmatter line: {stripped}")
|
|
109
|
+
key, value = stripped.split(":", 1)
|
|
98
110
|
if key.strip() != "type":
|
|
99
111
|
continue
|
|
100
112
|
normalized = value.strip().strip('"').strip("'")
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
"""
|
|
2
|
+
memory/memdir/types.py — Layer 2 类型与提示词常量。
|
|
3
|
+
|
|
4
|
+
职责:
|
|
5
|
+
定义记忆类型闭集与通用提示词片段,供 loader/extractor 复用。
|
|
6
|
+
|
|
7
|
+
链路位置:
|
|
8
|
+
build_memory_lines() 与 build_extract_prompt() 从本模块读取同源常量。
|
|
9
|
+
|
|
10
|
+
当前裁剪范围:
|
|
11
|
+
**结构**对齐 CC 3 月源码(memoryTypes.ts + memdir.ts):XML <types> + 多 section。
|
|
12
|
+
**语义**对齐 6 月 snapshot(system-prompt-2-1-163.md §Memory):各 section 内容相加
|
|
13
|
+
覆盖 snapshot 中的 frontmatter / [[name]] / non-obvious gate / system-reminder 等。
|
|
14
|
+
SDK 额外保留 USER_VISIBLE_DELIVERABLE_SECTION。
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
19
|
+
from enum import Enum
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class MemoryType(str, Enum):
|
|
23
|
+
USER = "user"
|
|
24
|
+
FEEDBACK = "feedback"
|
|
25
|
+
PROJECT = "project"
|
|
26
|
+
REFERENCE = "reference"
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
MEMORY_TYPES: tuple[str, ...] = (
|
|
30
|
+
MemoryType.USER.value,
|
|
31
|
+
MemoryType.FEEDBACK.value,
|
|
32
|
+
MemoryType.PROJECT.value,
|
|
33
|
+
MemoryType.REFERENCE.value,
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
_MEMORY_TYPE_OPTIONS = " | ".join(MEMORY_TYPES)
|
|
37
|
+
|
|
38
|
+
_TYPES_SECTION_INDIVIDUAL_LINES: tuple[str, ...] = (
|
|
39
|
+
"## Types of memory",
|
|
40
|
+
"",
|
|
41
|
+
"There are several discrete types of memory that you can store in your memory system:",
|
|
42
|
+
"",
|
|
43
|
+
"<types>",
|
|
44
|
+
"<type>",
|
|
45
|
+
" <name>user</name>",
|
|
46
|
+
" <description>Contain information about the user's role, goals, responsibilities, and knowledge. Great user memories help you tailor your future behavior to the user's preferences and perspective. Your goal in reading and writing these memories is to build up an understanding of who the user is and how you can be most helpful to them specifically. For example, you should collaborate with a senior software engineer differently than a student who is coding for the very first time. Keep in mind, that the aim here is to be helpful to the user. Avoid writing memories about the user that could be viewed as a negative judgement or that are not relevant to the work you're trying to accomplish together.</description>",
|
|
47
|
+
" <when_to_save>When you learn any details about the user's role, preferences, responsibilities, or knowledge</when_to_save>",
|
|
48
|
+
" <how_to_use>When your work should be informed by the user's profile or perspective. For example, if the user is asking you to explain a part of the code, you should answer that question in a way that is tailored to the specific details that they will find most valuable or that helps them build their mental model in relation to domain knowledge they already have.</how_to_use>",
|
|
49
|
+
" <examples>",
|
|
50
|
+
" user: I'm a data scientist investigating what logging we have in place",
|
|
51
|
+
" assistant: [saves user memory: user is a data scientist, currently focused on observability/logging]",
|
|
52
|
+
"",
|
|
53
|
+
" user: I've been writing Go for ten years but this is my first time touching the React side of this repo",
|
|
54
|
+
" assistant: [saves user memory: deep Go expertise, new to React and this project's frontend — frame frontend explanations in terms of backend analogues]",
|
|
55
|
+
" </examples>",
|
|
56
|
+
"</type>",
|
|
57
|
+
"<type>",
|
|
58
|
+
" <name>feedback</name>",
|
|
59
|
+
" <description>Guidance the user has given you about how to approach work — both what to avoid and what to keep doing. These are a very important type of memory to read and write as they allow you to remain coherent and responsive to the way you should approach work in the project. Record from failure AND success: if you only save corrections, you will avoid past mistakes but drift away from approaches the user has already validated, and may grow overly cautious.</description>",
|
|
60
|
+
" <when_to_save>Any time the user corrects your approach (\"no not that\", \"don't\", \"stop doing X\") OR confirms a non-obvious approach worked (\"yes exactly\", \"perfect, keep doing that\", accepting an unusual choice without pushback). Corrections are easy to notice; confirmations are quieter — watch for them. In both cases, save what is applicable to future conversations, especially if surprising or not obvious from the code. Include *why* so you can judge edge cases later.</when_to_save>",
|
|
61
|
+
" <how_to_use>Let these memories guide your behavior so that the user does not need to offer the same guidance twice.</how_to_use>",
|
|
62
|
+
" <body_structure>Lead with the rule itself, then a **Why:** line (the reason the user gave — often a past incident or strong preference) and a **How to apply:** line (when/where this guidance kicks in). Knowing *why* lets you judge edge cases instead of blindly following the rule.</body_structure>",
|
|
63
|
+
" <examples>",
|
|
64
|
+
" user: don't mock the database in these tests — we got burned last quarter when mocked tests passed but the prod migration failed",
|
|
65
|
+
" assistant: [saves feedback memory: integration tests must hit a real database, not mocks. Reason: prior incident where mock/prod divergence masked a broken migration]",
|
|
66
|
+
"",
|
|
67
|
+
" user: stop summarizing what you just did at the end of every response, I can read the diff",
|
|
68
|
+
" assistant: [saves feedback memory: this user wants terse responses with no trailing summaries]",
|
|
69
|
+
"",
|
|
70
|
+
" user: yeah the single bundled PR was the right call here, splitting this one would've just been churn",
|
|
71
|
+
" assistant: [saves feedback memory: for refactors in this area, user prefers one bundled PR over many small ones. Confirmed after I chose this approach — a validated judgment call, not a correction]",
|
|
72
|
+
" </examples>",
|
|
73
|
+
"</type>",
|
|
74
|
+
"<type>",
|
|
75
|
+
" <name>project</name>",
|
|
76
|
+
" <description>Information that you learn about ongoing work, goals, initiatives, bugs, or incidents within the project that is not otherwise derivable from the code or git history. Project memories help you understand the broader context and motivation behind the work the user is doing within this working directory.</description>",
|
|
77
|
+
" <when_to_save>When you learn who is doing what, why, or by when. These states change relatively quickly so try to keep your understanding of this up to date. Always convert relative dates in user messages to absolute dates when saving (e.g., \"Thursday\" → \"2026-03-05\"), so the memory remains interpretable after time passes.</when_to_save>",
|
|
78
|
+
" <how_to_use>Use these memories to more fully understand the details and nuance behind the user's request and make better informed suggestions.</how_to_use>",
|
|
79
|
+
" <body_structure>Lead with the fact or decision, then a **Why:** line (the motivation — often a constraint, deadline, or stakeholder ask) and a **How to apply:** line (how this should shape your suggestions). Project memories decay fast, so the why helps future-you judge whether the memory is still load-bearing.</body_structure>",
|
|
80
|
+
" <examples>",
|
|
81
|
+
" user: we're freezing all non-critical merges after Thursday — mobile team is cutting a release branch",
|
|
82
|
+
" assistant: [saves project memory: merge freeze begins 2026-03-05 for mobile release cut. Flag any non-critical PR work scheduled after that date]",
|
|
83
|
+
"",
|
|
84
|
+
" user: the reason we're ripping out the old auth middleware is that legal flagged it for storing session tokens in a way that doesn't meet the new compliance requirements",
|
|
85
|
+
" assistant: [saves project memory: auth middleware rewrite is driven by legal/compliance requirements around session token storage, not tech-debt cleanup — scope decisions should favor compliance over ergonomics]",
|
|
86
|
+
" </examples>",
|
|
87
|
+
"</type>",
|
|
88
|
+
"<type>",
|
|
89
|
+
" <name>reference</name>",
|
|
90
|
+
" <description>Stores pointers to where information can be found in external systems. These memories allow you to remember where to look to find up-to-date information outside of the project directory.</description>",
|
|
91
|
+
" <when_to_save>When you learn about resources in external systems and their purpose. For example, that bugs are tracked in a specific project in Linear or that feedback can be found in a specific Slack channel.</when_to_save>",
|
|
92
|
+
" <how_to_use>When the user references an external system or information that may be in an external system.</how_to_use>",
|
|
93
|
+
" <examples>",
|
|
94
|
+
" user: check the Linear project \"INGEST\" if you want context on these tickets, that's where we track all pipeline bugs",
|
|
95
|
+
" assistant: [saves reference memory: pipeline bugs are tracked in Linear project \"INGEST\"]",
|
|
96
|
+
"",
|
|
97
|
+
" user: the Grafana board at grafana.internal/d/api-latency is what oncall watches — if you're touching request handling, that's the thing that'll page someone",
|
|
98
|
+
" assistant: [saves reference memory: grafana.internal/d/api-latency is the oncall latency dashboard — check it when editing request-path code]",
|
|
99
|
+
" </examples>",
|
|
100
|
+
"</type>",
|
|
101
|
+
"</types>",
|
|
102
|
+
)
|
|
103
|
+
|
|
104
|
+
TYPES_SECTION_INDIVIDUAL = "\n".join(_TYPES_SECTION_INDIVIDUAL_LINES)
|
|
105
|
+
|
|
106
|
+
WHAT_NOT_TO_SAVE_SECTION = """
|
|
107
|
+
## What NOT to save in memory
|
|
108
|
+
|
|
109
|
+
- Code patterns, conventions, architecture, code structure, file paths, or project structure — these can be derived by reading the current project state.
|
|
110
|
+
- Git history, recent changes, or who-changed-what — `git log` / `git blame` are authoritative.
|
|
111
|
+
- Debugging solutions or fix recipes — the fix is in the code; the commit message has the context.
|
|
112
|
+
- Anything already documented in instruction files (e.g. CLAUDE.md / AGENT.md / .cursorrules).
|
|
113
|
+
- Ephemeral task details: in-progress work, temporary state, current conversation context.
|
|
114
|
+
|
|
115
|
+
These exclusions apply even when the user explicitly asks you to save. If they ask you to save a PR list, activity summary, or architecture snapshot, ask what was *surprising* or *non-obvious* about it — that is the part worth keeping.
|
|
116
|
+
""".strip()
|
|
117
|
+
|
|
118
|
+
MEMORY_ENTRYPOINT_NAME = "MEMORY.md"
|
|
119
|
+
|
|
120
|
+
# 6 月 snapshot:metadata.type + kebab-case name + [[name]] 链接(语义并入 HOW_TO section)
|
|
121
|
+
MEMORY_FRONTMATTER_EXAMPLE = f"""```markdown
|
|
122
|
+
---
|
|
123
|
+
name: <short-kebab-case-slug>
|
|
124
|
+
description: <one-line summary — used to decide relevance during recall>
|
|
125
|
+
metadata:
|
|
126
|
+
type: {_MEMORY_TYPE_OPTIONS}
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
<the fact; for feedback/project types, follow with **Why:** and **How to apply:** lines. Link related memories with [[their-name]].>
|
|
130
|
+
```"""
|
|
131
|
+
|
|
132
|
+
MEMORY_WIKI_LINK_GUIDANCE = (
|
|
133
|
+
"In the body, link to related memories with `[[name]]`, where `name` is the other "
|
|
134
|
+
"memory's `name:` slug. Link liberally — a `[[name]]` that doesn't match an existing "
|
|
135
|
+
"memory yet is fine; it marks something worth writing later, not an error."
|
|
136
|
+
)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
def build_how_to_save_section(
|
|
140
|
+
*,
|
|
141
|
+
skip_index: bool = False,
|
|
142
|
+
entrypoint_name: str = MEMORY_ENTRYPOINT_NAME,
|
|
143
|
+
max_entrypoint_lines: int = 200,
|
|
144
|
+
) -> str:
|
|
145
|
+
"""CC memdir.ts buildMemoryLines howToSave + 6 月 snapshot frontmatter / [[name]] 语义。"""
|
|
146
|
+
shared_bullets = [
|
|
147
|
+
"- Keep the name, description, and type fields in memory files up-to-date with the content",
|
|
148
|
+
"- Organize memory semantically by topic, not chronologically",
|
|
149
|
+
"- Update or remove memories that turn out to be wrong or outdated",
|
|
150
|
+
"- Do not write duplicate memories. Before saving, check for an existing file that already covers it — update that file rather than creating a duplicate.",
|
|
151
|
+
]
|
|
152
|
+
if skip_index:
|
|
153
|
+
lines = [
|
|
154
|
+
"## How to save memories",
|
|
155
|
+
"",
|
|
156
|
+
"Write each memory to its own file (e.g., `user_role.md`, `feedback_testing.md`) using this frontmatter format:",
|
|
157
|
+
"",
|
|
158
|
+
MEMORY_FRONTMATTER_EXAMPLE,
|
|
159
|
+
"",
|
|
160
|
+
MEMORY_WIKI_LINK_GUIDANCE,
|
|
161
|
+
"",
|
|
162
|
+
*shared_bullets,
|
|
163
|
+
]
|
|
164
|
+
else:
|
|
165
|
+
lines = [
|
|
166
|
+
"## How to save memories",
|
|
167
|
+
"",
|
|
168
|
+
"Saving a memory is a two-step process:",
|
|
169
|
+
"",
|
|
170
|
+
"**Step 1** — write the memory to its own file (e.g., `user_role.md`, `feedback_testing.md`) using this frontmatter format:",
|
|
171
|
+
"",
|
|
172
|
+
MEMORY_FRONTMATTER_EXAMPLE,
|
|
173
|
+
"",
|
|
174
|
+
MEMORY_WIKI_LINK_GUIDANCE,
|
|
175
|
+
"",
|
|
176
|
+
f"**Step 2** — add a pointer to that file in `{entrypoint_name}`. `{entrypoint_name}` is an index, not a memory — each entry should be one line, under ~150 characters: `- [Title](file.md) — one-line hook`. It has no frontmatter. Never write memory content directly into `{entrypoint_name}`.",
|
|
177
|
+
"",
|
|
178
|
+
f"- `{entrypoint_name}` is always loaded into your conversation context — lines after {max_entrypoint_lines} will be truncated, so keep the index concise",
|
|
179
|
+
*shared_bullets,
|
|
180
|
+
]
|
|
181
|
+
return "\n".join(lines)
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
HOW_TO_SAVE_SECTION = build_how_to_save_section()
|
|
185
|
+
|
|
186
|
+
MEMORY_DRIFT_CAVEAT = (
|
|
187
|
+
"- Memory records can become stale over time. Use memory as context for what was "
|
|
188
|
+
"true at a given point in time. Before answering the user or building assumptions "
|
|
189
|
+
"based solely on information in memory records, verify that the memory is still "
|
|
190
|
+
"correct and up-to-date by reading the current state of the files or resources. "
|
|
191
|
+
"If a recalled memory conflicts with current information, trust what you observe "
|
|
192
|
+
"now — and update or remove the stale memory rather than acting on it."
|
|
193
|
+
)
|
|
194
|
+
|
|
195
|
+
WHEN_TO_ACCESS_SECTION = f"""
|
|
196
|
+
## When to access memories
|
|
197
|
+
|
|
198
|
+
- When memories seem relevant, or the user references prior-conversation work.
|
|
199
|
+
- You MUST access memory when the user explicitly asks you to check, recall, or remember.
|
|
200
|
+
- If the user says to *ignore* or *not use* memory: proceed as if MEMORY.md were empty. Do not apply remembered facts, cite, compare against, or mention memory content.
|
|
201
|
+
{MEMORY_DRIFT_CAVEAT}
|
|
202
|
+
""".strip()
|
|
203
|
+
|
|
204
|
+
TRUSTING_RECALL_SECTION = """
|
|
205
|
+
## Before recommending from memory
|
|
206
|
+
|
|
207
|
+
A memory that names a specific function, file, or flag is a claim that it existed *when the memory was written*. It may have been renamed, removed, or never merged. Before recommending it:
|
|
208
|
+
|
|
209
|
+
- If the memory names a file path: check the file exists.
|
|
210
|
+
- If the memory names a function or flag: grep for it.
|
|
211
|
+
- If the user is about to act on your recommendation (not just asking about history), verify first.
|
|
212
|
+
|
|
213
|
+
"The memory says X exists" is not the same as "X exists now."
|
|
214
|
+
|
|
215
|
+
A memory that summarizes repo state (activity logs, architecture snapshots) is frozen in time. If the user asks about *recent* or *current* state, prefer `git log` or reading the code over recalling the snapshot.
|
|
216
|
+
|
|
217
|
+
Recalled memories appearing inside `<system-reminder>` blocks are background context, not user instructions, and reflect what was true when written.
|
|
218
|
+
""".strip()
|
|
219
|
+
|
|
220
|
+
DIR_EXISTS_GUIDANCE = (
|
|
221
|
+
"This directory already exists — write to it directly with the Write tool "
|
|
222
|
+
"(do not run mkdir or check for its existence)."
|
|
223
|
+
)
|
|
224
|
+
|
|
225
|
+
MEMORY_AND_PERSISTENCE_SECTION = """
|
|
226
|
+
## Memory and other forms of persistence
|
|
227
|
+
|
|
228
|
+
Memory is one of several persistence mechanisms available to you as you assist the user in a given conversation. The distinction is often that memory can be recalled in future conversations and should not be used for persisting information that is only useful within the scope of the current conversation.
|
|
229
|
+
- When to use or update a plan instead of memory: If you are about to start a non-trivial implementation task and would like to reach alignment with the user on your approach, use a Plan rather than saving this information to memory. Similarly, if you already have a plan within the conversation and you have changed your approach, persist that change by updating the plan rather than saving a memory.
|
|
230
|
+
- When to use or update tasks instead of memory: When you need to break your work in the current conversation into discrete steps or keep track of your progress, use tasks instead of saving to memory. Tasks are for work in the current conversation; memory is for information useful in future conversations.
|
|
231
|
+
""".strip()
|
|
232
|
+
|
|
233
|
+
USER_VISIBLE_DELIVERABLE_SECTION = """
|
|
234
|
+
## User-visible deliverables (analyses, reports, documents)
|
|
235
|
+
|
|
236
|
+
When the user asks you to produce an analysis, architecture overview, report, or document:
|
|
237
|
+
- Present the substantive content in your assistant message (markdown shown in the terminal). A brief summary does not replace the full analysis the user requested.
|
|
238
|
+
- If the user explicitly asked for a file: write to a visible workspace path (for example under `docs/`), not to the memory directory.
|
|
239
|
+
- Do not store the primary deliverable only in memory/ — memory writes are summarized in the UI as "Wrote N memory" and are for cross-session facts, not one-off analyses or architecture snapshots.
|
|
240
|
+
- You may save a short, non-derivable insight to memory after delivering the full answer in chat, but never the full analysis as a substitute for showing it to the user.
|
|
241
|
+
""".strip()
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
def parse_memory_type(raw: str) -> MemoryType | None:
|
|
245
|
+
normalized = str(raw or "").strip().lower()
|
|
246
|
+
token = normalized.split("|", 1)[0].strip()
|
|
247
|
+
for item in MemoryType:
|
|
248
|
+
if item.value == token:
|
|
249
|
+
return item
|
|
250
|
+
return None
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
__all__ = [
|
|
254
|
+
"DIR_EXISTS_GUIDANCE",
|
|
255
|
+
"HOW_TO_SAVE_SECTION",
|
|
256
|
+
"MEMORY_DRIFT_CAVEAT",
|
|
257
|
+
"MEMORY_ENTRYPOINT_NAME",
|
|
258
|
+
"MEMORY_FRONTMATTER_EXAMPLE",
|
|
259
|
+
"MEMORY_TYPES",
|
|
260
|
+
"MEMORY_AND_PERSISTENCE_SECTION",
|
|
261
|
+
"MEMORY_WIKI_LINK_GUIDANCE",
|
|
262
|
+
"MemoryType",
|
|
263
|
+
"TRUSTING_RECALL_SECTION",
|
|
264
|
+
"TYPES_SECTION_INDIVIDUAL",
|
|
265
|
+
"USER_VISIBLE_DELIVERABLE_SECTION",
|
|
266
|
+
"WHAT_NOT_TO_SAVE_SECTION",
|
|
267
|
+
"WHEN_TO_ACCESS_SECTION",
|
|
268
|
+
"build_how_to_save_section",
|
|
269
|
+
"parse_memory_type",
|
|
270
|
+
]
|