docs: document daemon oauth command seams

This commit is contained in:
Peter Steinberger
2026-06-04 12:36:05 -04:00
parent 47f0af0d2d
commit 12efbcaa7e
5 changed files with 10 additions and 0 deletions
@@ -1,3 +1,4 @@
/** Node-based daemon install plan builder for managed gateway services. */
import { formatNodeServiceDescription } from "../daemon/constants.js";
import { resolveNodeProgramArguments } from "../daemon/program-args.js";
import { buildNodeServiceEnvironment } from "../daemon/service-env.js";
@@ -27,6 +28,7 @@ function buildNodeInstallEnvironmentValueSources(): Record<
};
}
/** Builds launch arguments, environment, and metadata for a Node daemon service install. */
export async function buildNodeInstallPlan(params: {
env: Record<string, string | undefined>;
host: string;
+4
View File
@@ -1,13 +1,17 @@
/** Compatibility exports for the Node daemon runtime selector. */
import {
DEFAULT_GATEWAY_DAEMON_RUNTIME,
isGatewayDaemonRuntime,
type GatewayDaemonRuntime,
} from "./daemon-runtime.js";
/** Runtime id accepted by Node daemon install/start helpers. */
export type NodeDaemonRuntime = GatewayDaemonRuntime;
/** Default Node daemon runtime, currently shared with the gateway daemon runtime. */
export const DEFAULT_NODE_DAEMON_RUNTIME = DEFAULT_GATEWAY_DAEMON_RUNTIME;
/** Returns true when a string is a supported Node daemon runtime id. */
export function isNodeDaemonRuntime(value: string | undefined): value is NodeDaemonRuntime {
return isGatewayDaemonRuntime(value);
}
+2
View File
@@ -1,6 +1,8 @@
/** Non-interactive wizard prompter that logs progress but rejects input prompts. */
import type { RuntimeEnv } from "../runtime.js";
import type { WizardPrompter } from "../wizard/prompts.js";
/** Builds a WizardPrompter for commands that must fail instead of prompting. */
export function createNonInteractiveLoggingPrompter(
runtime: RuntimeEnv,
formatPromptError: (message: string) => string,
+1
View File
@@ -1 +1,2 @@
/** Back-compat command seam for remote OAuth environment detection. */
export { isRemoteEnvironment } from "../infra/remote-env.js";
+1
View File
@@ -1 +1,2 @@
/** Back-compat command seam for OpenAI ChatGPT OAuth TLS preflight helpers. */
export * from "../plugins/provider-openai-chatgpt-oauth-tls.js";