data/commands/builtin/ultraplan_command library

Classes

EligibilityResult
Result of checking remote agent eligibility.
PollResult
Result of polling for an approved exit-plan-mode.
PreconditionError
Precondition error from eligibility check.
RemoteSession
Remote session information.
UltraplanCommand
The /ultraplan command — advanced multi-agent planning.
UltraplanController
Controller for the ultraplan command lifecycle.
UltraplanLaunchPending
Launch pending state (pre-launch dialog).
UltraplanPendingChoice
Pending choice state when plan is ready for user decision.
UltraplanTaskState
Ultraplan task state tracked by the task framework.

Enums

ExecutionTarget
Target for plan execution after approval.
UltraplanPhase
State of the ultraplan polling process.

Constants

ccrTermsUrl → const String
URL for Neomage on the web terms.
diamondOpen → const String
Diamond figure for display messages.
remoteControlDisconnectedMsg → const String
Message shown when bridge is disconnected.
ultraplanTimeout → const Duration
Multi-agent exploration timeout (30 minutes).

Functions

buildAlreadyActiveMessage(String? url) String
Build the message shown when ultraplan is already active.
buildLaunchMessage({bool disconnectedBridge = false}) String
Build the launch message shown immediately while teleport runs.
buildSessionReadyMessage(String url) String
Build the message shown when session is ready.
buildUltraplanPrompt(String blurb, {String? seedPlan}) String
Assemble the initial CCR user message.
checkRemoteAgentEligibility() Future<EligibilityResult>
Check remote agent eligibility.
formatPreconditionError(PreconditionError error) String
Format a precondition error for display.
getRemoteSessionUrl(String sessionId, {String? ingressUrl}) String
Get the remote session URL.

Exceptions / Errors

UltraplanPollError
Error thrown during ultraplan polling.