惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
小众软件
小众软件
D
Docker
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
V
V2EX
博客园 - 叶小钗
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
IT之家
IT之家
博客园 - 司徒正美
M
MIT News - Artificial intelligence
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
罗磊的独立博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LangChain Blog
阮一峰的网络日志
阮一峰的网络日志
C
Check Point Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
Expose reload kind in config schema lookup (#81612) · ope...
LLagoon3 · 2026-05-18 · via Recent Commits to openclaw:main

@@ -112,13 +112,25 @@ export type ConfigSchemaLookupChild = {

112112

type?: string | string[];

113113

required: boolean;

114114

hasChildren: boolean;

115+

reloadKind?: ConfigSchemaReloadKind;

115116

hint?: ConfigUiHint;

116117

hintPath?: string;

117118

};

118119120+

export type ConfigSchemaReloadKind = "restart" | "hot" | "none";

121+122+

export type ConfigSchemaReloadMetadata = {

123+

kind: ConfigSchemaReloadKind;

124+

};

125+126+

export type ConfigSchemaReloadMetadataResolver = (

127+

path: string,

128+

) => ConfigSchemaReloadMetadata | null | undefined;

129+119130

export type ConfigSchemaLookupResult = {

120131

path: string;

121132

schema: JsonSchemaNode;

133+

reloadKind?: ConfigSchemaReloadKind;

122134

hint?: ConfigUiHint;

123135

hintPath?: string;

124136

children: ConfigSchemaLookupChild[];

@@ -750,19 +762,22 @@ function buildLookupChildren(

750762

schema: JsonSchemaObject,

751763

path: string,

752764

uiHints: ConfigUiHints,

765+

resolveReloadMetadata?: ConfigSchemaReloadMetadataResolver,

753766

): ConfigSchemaLookupChild[] {

754767

const children: ConfigSchemaLookupChild[] = [];

755768

const required = new Set(schema.required ?? []);

756769757770

const pushChild = (key: string, childSchema: JsonSchemaObject, isRequired: boolean) => {

758771

const childPath = path ? `${path}.${key}` : key;

759772

const resolvedHint = resolveUiHintMatch(uiHints, childPath);

773+

const reloadMetadata = resolveReloadMetadata?.(childPath);

760774

children.push({

761775

key,

762776

path: childPath,

763777

type: childSchema.type,

764778

required: isRequired,

765779

hasChildren: schemaHasChildren(childSchema),

780+

reloadKind: reloadMetadata?.kind,

766781

hint: resolvedHint?.hint,

767782

hintPath: resolvedHint?.path,

768783

});

@@ -788,6 +803,7 @@ function buildLookupChildren(

788803

export function lookupConfigSchema(

789804

response: ConfigSchemaResponse,

790805

path: string,

806+

resolveReloadMetadata?: ConfigSchemaReloadMetadataResolver,

791807

): ConfigSchemaLookupResult | null {

792808

const wantsRoot = path.trim() === ".";

793809

const normalizedPath = normalizeLookupPath(path);

@@ -812,11 +828,18 @@ export function lookupConfigSchema(

812828

}

813829814830

const resolvedHint = resolveUiHintMatch(response.uiHints, normalizedPath);

831+

const reloadMetadata = resolveReloadMetadata?.(normalizedPath);

815832

return {

816833

path: wantsRoot ? "." : normalizedPath,

817834

schema: stripSchemaForLookup(current),

835+

reloadKind: reloadMetadata?.kind,

818836

hint: resolvedHint?.hint,

819837

hintPath: resolvedHint?.path,

820-

children: buildLookupChildren(current, wantsRoot ? "" : normalizedPath, response.uiHints),

838+

children: buildLookupChildren(

839+

current,

840+

wantsRoot ? "" : normalizedPath,

841+

response.uiHints,

842+

resolveReloadMetadata,

843+

),

821844

};

822845

}