feat: add stateful runtime listings

This commit is contained in:
lda
2026-06-07 21:22:53 +07:00 Verified
parent 9fea19c550
commit 8ac44fdf2d
13 changed files with 258 additions and 25 deletions
+12 -1
View File
@@ -1,8 +1,19 @@
from wf_sources_mcp.sdk import (
BackendAdapter,
McpSdkAdapter,
PromptRuntime,
ResourceRuntime,
StatefulMcpRuntime,
ToolCallResult,
ToolRuntime,
)
__all__ = ["BackendAdapter", "McpSdkAdapter", "StatefulMcpRuntime", "ToolCallResult"]
__all__ = [
"BackendAdapter",
"McpSdkAdapter",
"PromptRuntime",
"ResourceRuntime",
"StatefulMcpRuntime",
"ToolCallResult",
"ToolRuntime",
]
+11 -1
View File
@@ -5,10 +5,20 @@ Canonical implementation lives in `wf_sources_mcp.sdk`.
from __future__ import annotations
from wf_sources_mcp.sdk import BackendAdapter, StatefulMcpRuntime, ToolCallResult
from wf_sources_mcp.sdk import (
BackendAdapter,
PromptRuntime,
ResourceRuntime,
StatefulMcpRuntime,
ToolCallResult,
ToolRuntime,
)
__all__ = [
"BackendAdapter",
"PromptRuntime",
"ResourceRuntime",
"StatefulMcpRuntime",
"ToolCallResult",
"ToolRuntime",
]