wf-core reorg 3 remove old paths

This commit is contained in:
lda
2026-05-08 21:48:11 +07:00 Verified
parent d37756246b
commit eaead2169c
34 changed files with 29 additions and 130 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ from __future__ import annotations
from collections.abc import Mapping
from typing import Any
from wf_core.model import Workflow
from wf_core.models import Workflow
from wf_core.runtime.ops.flow import finalize_run
from wf_core.runtime.ops.frames import collapse_completed_frames
from wf_core.runtime.ops.nodes import AsyncNodeHandler, NodeHandler
+3 -3
View File
@@ -1,6 +1,6 @@
"""Executor-only operations used by `wf_core.runtime`.
Root modules such as `wf_core.node_exec` remain as compatibility shims. New
runtime internals should import from this package so the execution seam stays
easy to navigate.
This package owns the runtime implementation helpers: node execution, state
writes, frame movement, foreach, interrupts, indexes, and schema checks.
Callers should use `wf_core.runtime` unless they are extending the executor.
"""
+1 -1
View File
@@ -2,7 +2,7 @@ from __future__ import annotations
from typing import Any
from wf_core.model import Workflow
from wf_core.models import Workflow
from wf_core.run_state import (
ExecutionFrame,
FrameStatus,
+1 -1
View File
@@ -2,7 +2,7 @@ from __future__ import annotations
from wf_core.conditions import safe_resolve_path
from wf_core.errors import WorkflowExecutionError
from wf_core.model import ForeachNode, Workflow
from wf_core.models import ForeachNode, Workflow
from wf_core.run_state import ExecutionFrame, FrameStatus, RunState, StepExecutionResult
from wf_core.runtime.ops.flow import advance_frame, append_step_result_trace
from wf_core.runtime.ops.frames import frame_context_values
+1 -1
View File
@@ -1,7 +1,7 @@
from __future__ import annotations
from wf_core.conditions import eval_condition
from wf_core.model import ConditionNode, InterruptNode
from wf_core.models import ConditionNode, InterruptNode
from wf_core.run_state import FrameStatus, RunState, RunStatus, StepExecutionResult
from wf_core.runtime.ops.flow import append_trace
from wf_core.runtime.ops.frames import frame_context_values
+1 -1
View File
@@ -4,7 +4,7 @@ from dataclasses import dataclass
from typing import Any
from wf_core.errors import WorkflowExecutionError
from wf_core.model import NodeDef, Workflow
from wf_core.models import NodeDef, Workflow
@dataclass(slots=True)
+1 -1
View File
@@ -4,7 +4,7 @@ from typing import Any
from wf_core.conditions import safe_resolve_path
from wf_core.errors import WorkflowExecutionError
from wf_core.model import InterruptNode, Workflow
from wf_core.models import InterruptNode, Workflow
from wf_core.run_state import InterruptRequest, RunState, StepExecutionResult
from wf_core.runtime.ops.flow import advance_frame, append_step_result_trace
from wf_core.runtime.ops.index import WorkflowIndex
+1 -1
View File
@@ -5,7 +5,7 @@ from typing import Any, cast
from wf_core.conditions import safe_resolve_path
from wf_core.errors import WorkflowExecutionError
from wf_core.model import NodeDef, NodeResult, NodeUse, Workflow
from wf_core.models import NodeDef, NodeResult, NodeUse, Workflow
from wf_core.run_state import RunState, RuntimeContext, StepExecutionResult
from wf_core.runtime.ops.frames import frame_context_values
from wf_core.runtime.ops.schemas import validate_payload_against_schema
+1 -1
View File
@@ -2,7 +2,7 @@ from __future__ import annotations
from copy import deepcopy
from wf_core.model import Workflow
from wf_core.models import Workflow
from wf_core.run_state import ExecutionFrame, FrameStatus, RunState, RunStatus
+1 -1
View File
@@ -3,7 +3,7 @@ from __future__ import annotations
from typing import Any
from wf_core.errors import WorkflowExecutionError
from wf_core.model import NodeUse, Workflow
from wf_core.models import NodeUse, Workflow
from wf_core.paths import (
PathResolutionError,
get_nested_value,
+1 -1
View File
@@ -3,7 +3,7 @@ from __future__ import annotations
from typing import Any
from wf_core.errors import WorkflowExecutionError
from wf_core.model import Workflow
from wf_core.models import Workflow
from wf_core.runtime.ops.frames import collapse_completed_frames
from wf_core.runtime.ops.index import WorkflowIndex, build_workflow_index
from wf_core.runtime.ops.interrupts import resume_interrupt
+1 -1
View File
@@ -4,7 +4,7 @@ from collections.abc import Mapping
from typing import Any
from wf_core.errors import WorkflowExecutionError
from wf_core.model import (
from wf_core.models import (
ConditionNode,
ForeachNode,
InterruptNode,