@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
9 lines • 405 B
JavaScript
import { isAbsolute } from "node:path";
/** Every SDK query and lane-settings lookup must belong to an explicit session. */
export function requireAnthropicSubscriptionCwd(cwd) {
if (!cwd || !isAbsolute(cwd)) {
throw new Error("Anthropic Subscription requires an absolute session cwd; the host working directory is never used.");
}
return cwd;
}
//# sourceMappingURL=session-cwd.js.map