fix: trace plugin tool factory timings (#75823)

* fix: trace plugin tool factory timings

* docs: document plugin tool timing traces

* fix: keep plugin tools mcp stdout clean

* test: type plugin tools mcp mock

* test: complete plugin tools mcp mock

* test: preserve console helpers in mcp test

* chore: refresh generated protocol models
This commit is contained in:
Peter Steinberger
2026-05-01 23:14:18 +01:00
committed by GitHub
parent 667371dd51
commit 0df90d9b8d
8 changed files with 357 additions and 2 deletions

View File

@@ -2343,6 +2343,7 @@ public struct WizardStep: Codable, Sendable {
public let type: AnyCodable
public let title: String?
public let message: String?
public let format: AnyCodable?
public let options: [[String: AnyCodable]]?
public let initialvalue: AnyCodable?
public let placeholder: String?
@@ -2354,6 +2355,7 @@ public struct WizardStep: Codable, Sendable {
type: AnyCodable,
title: String?,
message: String?,
format: AnyCodable?,
options: [[String: AnyCodable]]?,
initialvalue: AnyCodable?,
placeholder: String?,
@@ -2364,6 +2366,7 @@ public struct WizardStep: Codable, Sendable {
self.type = type
self.title = title
self.message = message
self.format = format
self.options = options
self.initialvalue = initialvalue
self.placeholder = placeholder
@@ -2376,6 +2379,7 @@ public struct WizardStep: Codable, Sendable {
case type
case title
case message
case format
case options
case initialvalue = "initialValue"
case placeholder
@@ -2802,6 +2806,24 @@ public struct ChannelsStartParams: Codable, Sendable {
}
}
public struct ChannelsStopParams: Codable, Sendable {
public let channel: String
public let accountid: String?
public init(
channel: String,
accountid: String?)
{
self.channel = channel
self.accountid = accountid
}
private enum CodingKeys: String, CodingKey {
case channel
case accountid = "accountId"
}
}
public struct ChannelsLogoutParams: Codable, Sendable {
public let channel: String
public let accountid: String?

View File

@@ -2343,6 +2343,7 @@ public struct WizardStep: Codable, Sendable {
public let type: AnyCodable
public let title: String?
public let message: String?
public let format: AnyCodable?
public let options: [[String: AnyCodable]]?
public let initialvalue: AnyCodable?
public let placeholder: String?
@@ -2354,6 +2355,7 @@ public struct WizardStep: Codable, Sendable {
type: AnyCodable,
title: String?,
message: String?,
format: AnyCodable?,
options: [[String: AnyCodable]]?,
initialvalue: AnyCodable?,
placeholder: String?,
@@ -2364,6 +2366,7 @@ public struct WizardStep: Codable, Sendable {
self.type = type
self.title = title
self.message = message
self.format = format
self.options = options
self.initialvalue = initialvalue
self.placeholder = placeholder
@@ -2376,6 +2379,7 @@ public struct WizardStep: Codable, Sendable {
case type
case title
case message
case format
case options
case initialvalue = "initialValue"
case placeholder
@@ -2802,6 +2806,24 @@ public struct ChannelsStartParams: Codable, Sendable {
}
}
public struct ChannelsStopParams: Codable, Sendable {
public let channel: String
public let accountid: String?
public init(
channel: String,
accountid: String?)
{
self.channel = channel
self.accountid = accountid
}
private enum CodingKeys: String, CodingKey {
case channel
case accountid = "accountId"
}
}
public struct ChannelsLogoutParams: Codable, Sendable {
public let channel: String
public let accountid: String?