UNPKG

@hasna/projects

Version:

High-level project management CLI, MCP server, SDK, and AI SDK agent loop for coding agents

16 lines • 1.01 kB
import type { CredentialChainOptions } from "../types/client-types.js"; /** Process-environment shape accepted by the shared @hasna/contracts seam. */ export type ClientEnv = Record<string, string | undefined>; /** True when NOTHING declares a hosted authority or credential for `app`. */ export declare function hostedConfigurationAbsent(app: string, env: ClientEnv, credentials?: CredentialChainOptions): boolean; /** * {@link hostedConfigurationAbsent} with its own failures folded into "no". * * A Keychain item that exists but cannot be read, an unsafe credentials file, * or a deliberate tier that cannot be honoured all THROW from inside the probe. * None of those is an unconfigured station, so the caller's original resolver * error — which names the real problem — is the one that must reach the * operator. */ export declare function unconfiguredForHostedUse(app: string, env: ClientEnv, credentials?: CredentialChainOptions): boolean; //# sourceMappingURL=client-configuration.d.ts.map