AgentSdkWorkspaceCandidate class final

One VS Code CLI server that answered a discovery scan.

Carries the port as well as the identity because the identity is not unique: two windows with the same workspace open answer identically, and a picker that showed only the name would offer two rows a user cannot tell apart. The port is reassigned on every restart, so it is shown and discarded, never stored.

Constructors

AgentSdkWorkspaceCandidate({required String identity, required int port})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
identity → String
What the window reports as its workspace identity.
final
port → int
The loopback port it answered on, for this scan only.
final
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override