On this page
SafetyTier
- Package
- libtmux-swift
- Source
- Sources/LibTmuxMCP/ToolCatalog.swift
- enum SafetyTier : enum SafetyTier
- Bases:
How much damage a tool can do.
The server refuses anything above the tier it was started at and hides it from
tools/list, so a client configured for reading never sees a way to write. Ordered, because the gate is a comparison rather than a set.
17 declared, 0 inherited
Members
- destructive constant Ends objects, or runs a confirmed raw command outside typed safeguards.
- mutating constant Creates, renames, resizes, and sends input.
- readonly constant Answers questions. Nothing on the server changes.
- !=(_:_:) function Returns a Boolean value indicating whether two values are not equal.
- ...(_:_:) function Returns a closed range that contains both of its bounds.
- ...(_:) function Returns a partial range up to, and including, its upper bound.
- ..<(_:_:) function Returns a half-open range that contains its lower bound but not its upper bound.
- ..<(_:) function Returns a partial range up to, but not including, its upper bound.
- <(_:_:) function Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument.
- <=(_:_:) function Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument.
- >(_:_:) function Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
- >=(_:_:) function Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument.
- encode(to:) method Encodes this value into the given encoder, when the type's
RawValueisString. - hash(into:) method
- init(from:) method Creates a new instance by decoding from the given decoder, when the type's
RawValueisString. - init(rawValue:) method Creates a new instance with the specified raw value.
- hashValue property