docs: document daemon oauth command seams · openclaw/openclaw@12efbca
steipete
·
2026-06-05
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +/** Node-based daemon install plan builder for managed gateway services. */ |
1 | 2 | import { formatNodeServiceDescription } from "../daemon/constants.js"; |
2 | 3 | import { resolveNodeProgramArguments } from "../daemon/program-args.js"; |
3 | 4 | import { buildNodeServiceEnvironment } from "../daemon/service-env.js"; |
@@ -27,6 +28,7 @@ function buildNodeInstallEnvironmentValueSources(): Record<
|
27 | 28 | }; |
28 | 29 | } |
29 | 30 | |
| 31 | +/** Builds launch arguments, environment, and metadata for a Node daemon service install. */ |
30 | 32 | export async function buildNodeInstallPlan(params: { |
31 | 33 | env: Record<string, string | undefined>; |
32 | 34 | host: string; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +/** Compatibility exports for the Node daemon runtime selector. */ |
1 | 2 | import { |
2 | 3 | DEFAULT_GATEWAY_DAEMON_RUNTIME, |
3 | 4 | isGatewayDaemonRuntime, |
4 | 5 | type GatewayDaemonRuntime, |
5 | 6 | } from "./daemon-runtime.js"; |
6 | 7 | |
| 8 | +/** Runtime id accepted by Node daemon install/start helpers. */ |
7 | 9 | export type NodeDaemonRuntime = GatewayDaemonRuntime; |
8 | 10 | |
| 11 | +/** Default Node daemon runtime, currently shared with the gateway daemon runtime. */ |
9 | 12 | export const DEFAULT_NODE_DAEMON_RUNTIME = DEFAULT_GATEWAY_DAEMON_RUNTIME; |
10 | 13 | |
| 14 | +/** Returns true when a string is a supported Node daemon runtime id. */ |
11 | 15 | export function isNodeDaemonRuntime(value: string | undefined): value is NodeDaemonRuntime { |
12 | 16 | return isGatewayDaemonRuntime(value); |
13 | 17 | } |
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +/** Non-interactive wizard prompter that logs progress but rejects input prompts. */ |
1 | 2 | import type { RuntimeEnv } from "../runtime.js"; |
2 | 3 | import type { WizardPrompter } from "../wizard/prompts.js"; |
3 | 4 | |
| 5 | +/** Builds a WizardPrompter for commands that must fail instead of prompting. */ |
4 | 6 | export function createNonInteractiveLoggingPrompter( |
5 | 7 | runtime: RuntimeEnv, |
6 | 8 | formatPromptError: (message: string) => string, |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +/** Back-compat command seam for remote OAuth environment detection. */ |
1 | 2 | export { isRemoteEnvironment } from "../infra/remote-env.js"; |
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +/** Back-compat command seam for OpenAI ChatGPT OAuth TLS preflight helpers. */ |
1 | 2 | export * from "../plugins/provider-openai-chatgpt-oauth-tls.js"; |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。