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

推荐订阅源

S
SegmentFault 最新的问题
爱范儿
爱范儿
博客园 - Franky
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
IT之家
IT之家
有赞技术团队
有赞技术团队
美团技术团队
Last Week in AI
Last Week in AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
The Cloudflare Blog
Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Engineering at Meta
Engineering at Meta
T
Tailwind CSS Blog
J
Java Code Geeks
Martin Fowler
Martin Fowler
I
InfoQ
小众软件
小众软件
MongoDB | Blog
MongoDB | 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
refactor: trim codex internal exports · openclaw/openclaw...
steipete · 2026-05-02 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -123,7 +123,7 @@ export async function applyCodexAppServerAuthProfile(params: {

123123

await params.client.request("account/login/start", loginParams);

124124

}

125125
126-

export function resolveCodexAppServerAuthProfileLoginParams(params: {

126+

function resolveCodexAppServerAuthProfileLoginParams(params: {

127127

agentDir: string;

128128

authProfileId?: string;

129129

}): Promise<LoginAccountParams | undefined> {

Original file line numberDiff line numberDiff line change

@@ -12,7 +12,7 @@ export const CODEX_CONTROL_METHODS = {

1212

review: "review/start",

1313

} as const;

1414
15-

export type CodexControlName = keyof typeof CODEX_CONTROL_METHODS;

15+

type CodexControlName = keyof typeof CODEX_CONTROL_METHODS;

1616

export type CodexControlMethod = (typeof CODEX_CONTROL_METHODS)[CodexControlName];

1717
1818

export function describeControlFailure(error: unknown): string {

Original file line numberDiff line numberDiff line change

@@ -46,7 +46,7 @@ export class CodexAppServerRpcError extends Error {

4646

}

4747

}

4848
49-

export type CodexServerRequestHandler = (

49+

type CodexServerRequestHandler = (

5050

request: Required<Pick<RpcRequest, "id" | "method">> & { params?: JsonValue },

5151

) => Promise<JsonValue | undefined> | JsonValue | undefined;

5252

@@ -413,7 +413,7 @@ export class CodexAppServerClient {

413413

}

414414

}

415415
416-

export function defaultServerRequestResponse(

416+

function defaultServerRequestResponse(

417417

request: Required<Pick<RpcRequest, "id" | "method">> & { params?: JsonValue },

418418

): JsonValue {

419419

if (request.method === "item/tool/call") {

Original file line numberDiff line numberDiff line change

@@ -16,7 +16,7 @@ export type CodexComputerUseRequest = <T = JsonValue | undefined>(

1616

params?: unknown,

1717

) => Promise<T>;

1818
19-

export type CodexComputerUseStatusReason =

19+

type CodexComputerUseStatusReason =

2020

| "disabled"

2121

| "marketplace_missing"

2222

| "plugin_not_installed"

@@ -42,7 +42,7 @@ export type CodexComputerUseStatus = {

4242

message: string;

4343

};

4444
45-

export class CodexComputerUseSetupError extends Error {

45+

class CodexComputerUseSetupError extends Error {

4646

readonly status: CodexComputerUseStatus;

4747
4848

constructor(status: CodexComputerUseStatus) {

Original file line numberDiff line numberDiff line change

@@ -4,13 +4,13 @@ import type { CodexSandboxPolicy, CodexServiceTier } from "./protocol.js";

44
55

const START_OPTIONS_KEY_SECRET = randomBytes(32);

66
7-

export type CodexAppServerTransportMode = "stdio" | "websocket";

8-

export type CodexAppServerPolicyMode = "yolo" | "guardian";

7+

type CodexAppServerTransportMode = "stdio" | "websocket";

8+

type CodexAppServerPolicyMode = "yolo" | "guardian";

99

export type CodexAppServerApprovalPolicy = "never" | "on-request" | "on-failure" | "untrusted";

1010

export type CodexAppServerSandboxMode = "read-only" | "workspace-write" | "danger-full-access";

11-

export type CodexAppServerApprovalsReviewer = "user" | "auto_review" | "guardian_subagent";

12-

export type CodexAppServerCommandSource = "managed" | "resolved-managed" | "config" | "env";

13-

export type CodexDynamicToolsProfile = "native-first" | "openclaw-compat";

11+

type CodexAppServerApprovalsReviewer = "user" | "auto_review" | "guardian_subagent";

12+

type CodexAppServerCommandSource = "managed" | "resolved-managed" | "config" | "env";

13+

type CodexDynamicToolsProfile = "native-first" | "openclaw-compat";

1414
1515

export type CodexComputerUseConfig = {

1616

enabled?: boolean;

@@ -109,9 +109,9 @@ export const CODEX_COMPUTER_USE_CONFIG_KEYS = [

109109

"mcpServerName",

110110

] as const;

111111
112-

export const DEFAULT_CODEX_COMPUTER_USE_PLUGIN_NAME = "computer-use";

113-

export const DEFAULT_CODEX_COMPUTER_USE_MCP_SERVER_NAME = "computer-use";

114-

export const DEFAULT_CODEX_COMPUTER_USE_MARKETPLACE_DISCOVERY_TIMEOUT_MS = 60_000;

112+

const DEFAULT_CODEX_COMPUTER_USE_PLUGIN_NAME = "computer-use";

113+

const DEFAULT_CODEX_COMPUTER_USE_MCP_SERVER_NAME = "computer-use";

114+

const DEFAULT_CODEX_COMPUTER_USE_MARKETPLACE_DISCOVERY_TIMEOUT_MS = 60_000;

115115
116116

const codexAppServerTransportSchema = z.enum(["stdio", "websocket"]);

117117

const codexAppServerPolicyModeSchema = z.enum(["yolo", "guardian"]);

Original file line numberDiff line numberDiff line change

@@ -1,6 +1,6 @@

11

import type { AgentMessage } from "openclaw/plugin-sdk/agent-harness-runtime";

22
3-

export type CodexContextProjection = {

3+

type CodexContextProjection = {

44

developerInstructionAddition?: string;

55

promptText: string;

66

assembledMessages: AgentMessage[];

Original file line numberDiff line numberDiff line change

@@ -12,7 +12,7 @@ type ManagedCodexAppServerPaths = {

1212

candidateCommandPaths: string[];

1313

};

1414
15-

export type ResolveManagedCodexAppServerOptions = {

15+

type ResolveManagedCodexAppServerOptions = {

1616

platform?: NodeJS.Platform;

1717

pluginRoot?: string;

1818

pathExists?: (filePath: string, platform: NodeJS.Platform) => Promise<boolean>;

Original file line numberDiff line numberDiff line change

@@ -4,12 +4,12 @@ import type {

44

} from "openclaw/plugin-sdk/agent-harness-runtime";

55

import type { JsonObject, JsonValue } from "./protocol.js";

66
7-

export const CODEX_NATIVE_HOOK_RELAY_EVENTS = [

7+

export const CODEX_NATIVE_HOOK_RELAY_EVENTS: readonly NativeHookRelayEvent[] = [

88

"pre_tool_use",

99

"post_tool_use",

1010

"permission_request",

1111

"before_agent_finalize",

12-

] as const satisfies readonly NativeHookRelayEvent[];

12+

] as const;

1313
1414

type CodexHookEventName = "PreToolUse" | "PostToolUse" | "PermissionRequest" | "Stop";

1515
Original file line numberDiff line numberDiff line change

@@ -3,7 +3,7 @@ import {

33

type EmbeddedRunAttemptParams,

44

} from "openclaw/plugin-sdk/agent-harness-runtime";

55
6-

export const DEFAULT_CODEX_APPROVAL_TIMEOUT_MS = 120_000;

6+

const DEFAULT_CODEX_APPROVAL_TIMEOUT_MS = 120_000;

77

const MAX_PLUGIN_APPROVAL_TITLE_LENGTH = 80;

88

const MAX_PLUGIN_APPROVAL_DESCRIPTION_LENGTH = 256;

99
Original file line numberDiff line numberDiff line change

@@ -33,7 +33,7 @@ type UserInputOption = {

3333

description: string;

3434

};

3535
36-

export type CodexUserInputBridge = {

36+

type CodexUserInputBridge = {

3737

handleRequest: (request: {

3838

id: number | string;

3939

params?: JsonValue;