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

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
Google Developers Blog
博客园 - 司徒正美
J
Java Code Geeks
aimingoo的专栏
aimingoo的专栏
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
D
Docker
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
腾讯CDC
V
Visual Studio Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Check Point Blog
M
MIT News - Artificial intelligence
Jina AI
Jina AI
I
InfoQ
雷峰网
雷峰网
The Cloudflare Blog
美团技术团队
Engineering at Meta
Engineering at Meta

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
docs: document channel plugin setup types · openclaw/open...
steipete · 2026-06-04 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -1,3 +1,8 @@

1+

/**

2+

* Channel setup wizard helper functions.

3+

*

4+

* Prompts account ids, credentials, allowlists, and account-scoped setup config updates.

5+

*/

16

import { normalizeOptionalString } from "@openclaw/normalization-core/string-coerce";

27

import {

38

normalizeStringEntries,

Original file line numberDiff line numberDiff line change

@@ -1,3 +1,8 @@

1+

/**

2+

* Lazy setup wizard proxy helpers.

3+

*

4+

* Delegates setup wizard status, credential, allowlist, and finalization hooks to loaded wizards.

5+

*/

16

import type { OpenClawConfig } from "../../config/types.openclaw.js";

27

import { createDelegatedSetupWizardStatusResolvers } from "./setup-wizard-binary.js";

38

import type { ChannelSetupDmPolicy } from "./setup-wizard-types.js";

Original file line numberDiff line numberDiff line change

@@ -1,3 +1,8 @@

1+

/**

2+

* Declarative channel setup wizard contract.

3+

*

4+

* Defines status, credentials, prompts, group access, and finalization types for setup flows.

5+

*/

16

import type { DmPolicy } from "../../config/types.js";

27

import type { OpenClawConfig } from "../../config/types.openclaw.js";

38

import type { RuntimeEnv } from "../../runtime.js";

@@ -11,9 +16,6 @@ import type {

1116

ChannelSetupInput,

1217

} from "./types.core.js";

1318
14-

// Public setup wizard contract shared by bundled channel plugins and setup

15-

// orchestration. Keep these types declarative; runtime behavior lives in

16-

// setup-wizard.ts.

1719

export type ChannelSetupPlugin = {

1820

id: ChannelId;

1921

meta: ChannelMeta;

Original file line numberDiff line numberDiff line change

@@ -1,3 +1,8 @@

1+

/**

2+

* Channel setup wizard adapter.

3+

*

4+

* Adapts declarative wizard definitions into imperative setup adapters used by onboarding.

5+

*/

16

import { normalizeOptionalString } from "@openclaw/normalization-core/string-coerce";

27

import type { OpenClawConfig } from "../../config/types.openclaw.js";

38

import { DEFAULT_ACCOUNT_ID } from "../../routing/session-key.js";

@@ -19,8 +24,6 @@ import type {

1924

} from "./setup-wizard-types.js";

2025

import type { ChannelSetupInput } from "./types.core.js";

2126
22-

// Adapts declarative channel setup wizard definitions into the imperative

23-

// setup adapter used by onboarding and channel configuration flows.

2427

export type {

2528

ChannelSetupWizard,

2629

ChannelSetupWizardAllowFrom,

Original file line numberDiff line numberDiff line change

@@ -1,7 +1,10 @@

1+

/**

2+

* Built-in stateful binding target registration.

3+

*

4+

* Lazily registers ACP target drivers so non-ACP channel flows avoid ACP runtime imports.

5+

*/

16

import { registerStatefulBindingTargetDriver } from "./stateful-target-drivers.js";

27
3-

// Lazily registers built-in stateful binding target drivers. Keep imports

4-

// dynamic so non-ACP channel flows do not load the ACP runtime boundary.

58

type AcpStatefulTargetDriverModule = typeof import("./acp-stateful-target-driver.js");

69
710

let builtinsRegisteredPromise: Promise<void> | null = null;

Original file line numberDiff line numberDiff line change

@@ -1,11 +1,14 @@

1+

/**

2+

* Stateful binding target driver registry.

3+

*

4+

* Stores lifecycle drivers for binding targets that carry mutable external session state.

5+

*/

16

import type { OpenClawConfig } from "../../config/types.openclaw.js";

27

import type {

38

ConfiguredBindingResolution,

49

StatefulBindingTargetDescriptor,

510

} from "./binding-types.js";

611
7-

// Registry for binding targets that carry external mutable session state, such

8-

// as ACP-backed channels that need per-session reset and lookup behavior.

912

export type StatefulBindingTargetReadyResult = { ok: true } | { ok: false; error: string };

1013

export type StatefulBindingTargetSessionResult =

1114

| { ok: true; sessionKey: string }

Original file line numberDiff line numberDiff line change

@@ -1,12 +1,13 @@

1+

/**

2+

* Channel status issue helper utilities.

3+

*

4+

* Formats status metadata and finds enabled/configured account ids for diagnostics.

5+

*/

16

import { normalizeOptionalString } from "@openclaw/normalization-core/string-coerce";

27

import { isRecord } from "../../../utils.js";

38

import type { ChannelAccountSnapshot, ChannelStatusIssue } from "../types.public.js";

49

export { isRecord };

510
6-

/**

7-

* Shared helpers for channel status issue collectors.

8-

*/

9-
1011

/**

1112

* Normalizes optional string metadata in status issue helpers.

1213

*/

Original file line numberDiff line numberDiff line change

@@ -1,11 +1,15 @@

1+

/**

2+

* Channel status snapshot builders.

3+

*

4+

* Combines plugin status hooks, account inspection, and safe account field projection.

5+

*/

16

import { normalizeOptionalString } from "@openclaw/normalization-core/string-coerce";

27

import type { OpenClawConfig } from "../../config/types.openclaw.js";

38

import { inspectChannelAccount } from "../account-inspection.js";

49

import { projectSafeChannelAccountSnapshotFields } from "../account-snapshot-fields.js";

510

import type { ChannelPlugin } from "./types.plugin.js";

611

import type { ChannelAccountSnapshot } from "./types.public.js";

712
8-

// Channel docking: status snapshots flow through plugin.status hooks here.

913

export async function buildChannelAccountSnapshotFromAccount<ResolvedAccount>(params: {

1014

plugin: ChannelPlugin<ResolvedAccount>;

1115

cfg: OpenClawConfig;

Original file line numberDiff line numberDiff line change

@@ -1,3 +1,8 @@

1+

/**

2+

* Loaded-channel target parsing helpers.

3+

*

4+

* Bridges deprecated explicit target parsing with modern channel route target helpers.

5+

*/

16

import {

27

normalizeLowercaseStringOrEmpty,

38

normalizeOptionalString,

Original file line numberDiff line numberDiff line change

@@ -1,8 +1,9 @@

1-

import type { ChannelResolveResult } from "./types.adapters.js";

2-
31

/**

4-

* Shared helpers for channel target resolution flows.

2+

* Channel target resolver helpers.

3+

*

4+

* Builds unresolved rows and token-gated resolution flows for setup/allowlist targets.

55

*/

6+

import type { ChannelResolveResult } from "./types.adapters.js";

67
78

/**

89

* Builds unresolved target results with one common note.