import { ConnectLlm, ConnectTarget } from '@owlmeans/viable-common'; /** * The public deployment, for a user who set nothing — the same host the default `/mcp` URL is on * (`CONNECT_DEFAULT_MCP_URL`), so the npx server and the URL host never default to two platforms. * * Overridden by `VIABLE_API_URL` for a self-hosted or development platform, which is what every * end-to-end test does. */ export declare const DEFAULT_API_URL = "https://api.owlmeans.com"; /** The project on the user's machine; inference is resolved from Connector settings. */ export declare const DEFAULT_TARGET = ConnectTarget.Local; export declare const DEFAULT_LLM = ConnectLlm.Cloud; export declare const HELP = "viable-mcp \u2014 drive the OwlMeans Viable platform from a coding agent\n\n npx -y @owlmeans/viable-mcp@^0.1.18 [options]\n\nOptions\n --api-url The platform's API. Default: https://api.owlmeans.com\n --target local|cloud Where the generated project lives. Default: local\n --llm cloud|local Override Connector settings for this server\n --harness claude-code | codex | copilot | opencode\n --project-dir Override the local project directory. Default: client workspace, then working directory\n --http Serve over HTTP instead of stdio (development)\n --help\n\nCommands\n login Sign in with your browser and store the token in ~/.owlmeans\n logout Revoke the stored token and forget it\n status Report whether this machine is signed in (stderr only)\n url Print the platform's /mcp URL for a URL-configured host (stdout)\n\nEnvironment\n VIABLE_API_TOKEN Your access token. Optional \u2014 omit it and run `login` once instead.\n VIABLE_API_URL Same as --api-url\n VIABLE_MCP_URL The /mcp URL `url` prints. Default: https://api.owlmeans.com/mcp\n VIABLE_TARGET Same as --target\n VIABLE_LLM Same as --llm\n VIABLE_HARNESS Same as --harness\n VIABLE_PROJECT_DIR Same as --project-dir\n OWLMEANS_CREDENTIALS Path to the credentials file. Default: ~/.owlmeans\n\nThe token is read from the environment or from ~/.owlmeans \u2014 never from a command line, which is\nreadable by every process on the machine. The environment always wins over the file. With neither\nset, the server starts anyway and signs in on first use, opening your browser.\n"; /** * This server's own OAuth client — a static client the platform declares by this exact id * (`@owlmeans/server-oauth`'s configuration), so no registration round trip is needed before the * very first sign-in. */ export declare const CLIENT_ID = "viable-mcp";