add claw-code-agent/src/plan_runtime.py and claw-code-agent/src/background_runtime.py. The agent now has a real

persistent plan runtime with update_plan, plan_get, and plan_clear, plus plan-to-task sync wired through claw-code-agent/src/
  agent_tools.py, claw-code-agent/src/agent_runtime.py, claw-code-agent/src/agent_context.py, claw-code-agent/src/agent_prompting.py, and claw-code-agent/src/
  agent_slash_commands.py. New local plan slash commands are /plan and /planner.
This commit is contained in:
Abdelrahman Abdallah
2026-04-03 18:31:25 +02:00
parent 045413e5e1
commit 3f31cee395
23 changed files with 4344 additions and 93 deletions
+11
View File
@@ -13,14 +13,19 @@ from .agent_runtime import LocalCodingAgent
from .agent_session import AgentMessage, AgentSessionState
from .agent_tools import build_tool_context, default_tool_registry, execute_tool
from .agent_types import AgentPermissions, AgentRunResult, AgentRuntimeConfig, ModelConfig
from .background_runtime import BackgroundSessionRuntime
from .commands import PORTED_COMMANDS, build_command_backlog
from .mcp_runtime import MCPRuntime
from .parity_audit import ParityAuditResult, run_parity_audit
from .plan_runtime import PlanRuntime, PlanStep
from .plugin_runtime import PluginRuntime
from .port_manifest import PortManifest, build_port_manifest
from .query_engine import QueryEnginePort, TurnResult
from .runtime import PortRuntime, RuntimeSession
from .session_store import StoredSession, load_session, save_session
from .system_init import build_system_init_message
from .task import PortingTask
from .task_runtime import TaskRuntime
from .tools import PORTED_TOOLS, build_tool_backlog
__all__ = [
@@ -31,15 +36,21 @@ __all__ = [
'AgentRuntimeConfig',
'AgentMessage',
'AgentSessionState',
'BackgroundSessionRuntime',
'LocalCodingAgent',
'MCPRuntime',
'ModelConfig',
'ParityAuditResult',
'PlanRuntime',
'PlanStep',
'PortManifest',
'PortRuntime',
'PluginRuntime',
'PortingTask',
'QueryEnginePort',
'RuntimeSession',
'StoredSession',
'TaskRuntime',
'TurnResult',
'PORTED_COMMANDS',
'PORTED_TOOLS',