refactor: move mcp auth record ownership

This commit is contained in:
lda
2026-06-06 15:01:39 +07:00 Verified
parent 0028528269
commit a28ca5434a
150 changed files with 557 additions and 549 deletions
+1
View File
@@ -1,4 +1,5 @@
from __future__ import annotations
from typing import Annotated
import typer
+1
View File
@@ -1,4 +1,5 @@
from __future__ import annotations
from typing import Annotated, Literal
import typer
+1
View File
@@ -1,4 +1,5 @@
from __future__ import annotations
from typing import Annotated
import typer
+1 -2
View File
@@ -5,9 +5,8 @@ from typing import Annotated
import typer
from wf_mcp.broker.config import migrate_broker_config_file
from wf_cli.io import emit_json
from wf_mcp.broker.config import migrate_broker_config_file
app = typer.Typer(
name="config",
+1
View File
@@ -1,4 +1,5 @@
from __future__ import annotations
from pathlib import Path
from typing import Annotated
+1
View File
@@ -1,4 +1,5 @@
from __future__ import annotations
from pathlib import Path
from typing import Annotated, Literal
+6 -3
View File
@@ -1,14 +1,15 @@
from __future__ import annotations
from pathlib import Path
import time
from pathlib import Path
from typing import Annotated
import typer
from wf_api import TraceRange
from wf_cli.context import load_cli_context_from_typer
from wf_cli.io import CliInputError, emit_json, parse_json_input
from wf_cli.remote_errors import run_cli_operation
from wf_api import TraceRange
app = typer.Typer(
name="run",
@@ -99,7 +100,9 @@ def watch_run(
context = load_cli_context_from_typer(ctx)
started_at = time.monotonic()
while True:
payload = run_cli_operation(context, context.handlers.inspect_run(run_id=run_id))
payload = run_cli_operation(
context, context.handlers.inspect_run(run_id=run_id)
)
if payload.get("status") in _STOPPED_RUN_STATUSES:
if include_trace:
trace_payload = run_cli_operation(
+1
View File
@@ -1,4 +1,5 @@
from __future__ import annotations
import json
from pathlib import Path
from typing import Annotated, Any
+1
View File
@@ -1,4 +1,5 @@
from __future__ import annotations
from typing import Annotated
import typer