AgentSdkUnavailableKind enum
Why the availability gate is shut, as a kind a program can branch on.
The reason sentence is for the user; this is for the code that decides what to offer beside it. Three of the four conditions have a remedy only the user can perform somewhere else (start an editor, install Node), and one — notInstalled — has a remedy the app can perform itself when asked, which is the whole reason the kinds are told apart rather than all reported as "unreachable".
Values
- notConfigured → const AgentSdkUnavailableKind
-
The build wired no transport at all.
- unreachable → const AgentSdkUnavailableKind
-
A backend was expected and did not answer (an editor's CLI server that is not running, a server that died while starting).
- noRuntime → const AgentSdkUnavailableKind
-
No usable Node.js runtime: none was found, or the one found is below
requiredNodeMajorVersion. The user installs Node; the app cannot. - notInstalled → const AgentSdkUnavailableKind
-
Node is fine, but the AI server's dependencies — Anthropic's Claude Agent SDK and what it needs — are not installed in this app's data folder, or were installed for an earlier version of the server. the app does not ship the SDK; the user installs it, from the app, by pressing Install.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
AgentSdkUnavailableKind> - A constant List of the values in this enum, in order of their declaration.