spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / telemetry / hooks / policy-pins / policy-pins.ts
10 lines · 330 BRaw
1/**
2 * The two managed-settings keys that pin a session to a cloud gateway, as
3 * `$.settings.read({ source: "policy" })` answers them.
4 *
5 * A session so pinned sends its rows nowhere, as the CLI's own analytics do.
6 */
7export type PolicyPins = {
8 readonly forceLoginMethod?: unknown
9 readonly forceLoginGatewayUrl?: unknown
10}