Package com.shaft.commandline.session
package com.shaft.commandline.session
-
ClassDescriptionAllocates an ephemeral loopback TCP port for the daemon to bind.How to launch shaft-mcp.Resolves a
LaunchSpecfor shaft-mcp by probing, in order: an explicitSHAFT_MCP_JARoverride, the installer's per-user versions directory, and finally a dev-checkout fallback that reconstructs a classpath for the thinshaft-mcptarget jar.Metadata about a running shaft-cli daemon session, persisted so subsequent CLI invocations can find and reuse it.Orchestrates the shaft-cli HTTP daemon session lifecycle: starting shaft-mcp in its HTTP profile, tracking whether it is still alive, and stopping it.The current state of the shaft-cli daemon session.Persists the currentSessionInfoas JSON at<baseDir>/cli-session.json.