docs cleanup
This commit is contained in:
@@ -12,6 +12,8 @@ systems.
|
||||
## Core Model
|
||||
|
||||
A capability source is a named provider of one or more capability kinds.
|
||||
The domain model lives in `wf_platform.sources`; `wf_mcp` projects MCP-backed
|
||||
connections into that model rather than owning the model itself.
|
||||
|
||||
```text
|
||||
CapabilitySource
|
||||
@@ -187,7 +189,7 @@ control APIs, not ad hoc tool functions copied across broker and proxy modes.
|
||||
|
||||
The code now has the first capability-source layer in place.
|
||||
|
||||
- `CapabilitySource` owns source metadata, visibility, permissions, and
|
||||
- `wf_platform.CapabilitySource` owns source metadata, visibility, permissions, and
|
||||
capability buckets.
|
||||
- `WfMcpService.capability_sources` is the canonical in-memory registry.
|
||||
- Planner node lookup reads `CapabilitySource.capabilities.node_specs`
|
||||
|
||||
@@ -277,8 +277,8 @@ Examples:
|
||||
|
||||
Today:
|
||||
|
||||
- `CapabilitySource` already owns buckets for tools, node specs, prompts, and
|
||||
resources
|
||||
- `wf_platform.CapabilitySource` already owns buckets for tools, node specs,
|
||||
prompts, and resources
|
||||
- connection sources represent upstream MCP snapshots
|
||||
- `wf.std` owns local reusable workflow node specs and reducers
|
||||
- `wf.mcp` owns workflow-facing MCP runtime helpers
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
from __future__ import annotations
|
||||
@@ -8,6 +8,7 @@ from wf_authoring import NodeSpec
|
||||
from wf_platform import CapabilitySource
|
||||
from wf_mcp.connections import qualify_node_name
|
||||
|
||||
|
||||
def qualify_spec(connection_id: str, spec: NodeSpec[Any, Any]) -> NodeSpec[Any, Any]:
|
||||
"""Return a copy of a spec with its node name scoped to a connection."""
|
||||
return NodeSpec(
|
||||
|
||||
@@ -8,6 +8,7 @@ from wf_authoring import AsyncRegistryHandler, NodeSpec, build_async_registry
|
||||
from wf_core.runtime.ops.merges import ReducerDefinition
|
||||
from wf_platform import CapabilitySource
|
||||
|
||||
|
||||
@dataclass(frozen=True, slots=True)
|
||||
class RuntimeDependencies:
|
||||
"""Executable dependencies resolved for one workflow run."""
|
||||
|
||||
Reference in New Issue
Block a user