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

推荐订阅源

Vercel News
Vercel News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Apple Machine Learning Research
Apple Machine Learning Research
T
Tailwind CSS Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
人人都是产品经理
人人都是产品经理
V
V2EX
量子位
Last Week in AI
Last Week in AI
Jina AI
Jina AI
博客园 - 【当耐特】
爱范儿
爱范儿
宝玉的分享
宝玉的分享
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Hugging Face - Blog
Hugging Face - Blog
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
小众软件
小众软件
IT之家
IT之家
博客园_首页
博客园 - 聂微东
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
博客园 - 叶小钗

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
chore: remove stale dead code · openclaw/openclaw@444562b
steipete · 2026-05-31 · via Recent Commits to openclaw:main

File tree

    • channels/plugins/contracts/test-helpers

Original file line numberDiff line numberDiff line change

@@ -549,16 +549,15 @@ function appendCodexAcpConfigOverrides(command: string, override: CodexAcpModelO

549549

function createModelScopedAgentRegistry(params: {

550550

agentRegistry: AcpAgentRegistry;

551551

scope: AsyncLocalStorage<CodexAcpModelOverride | undefined>;

552-

leaseCommand: (command: string | undefined) => string | undefined;

552+

leaseCommand: (command: string) => string;

553553

}): AcpAgentRegistry {

554554

return {

555-

resolve(agentName: string): string | undefined {

555+

resolve(agentName: string): string {

556556

const command = params.agentRegistry.resolve(agentName);

557557

const override = params.scope.getStore();

558558

if (

559559

!override ||

560560

normalizeAgentName(agentName) !== CODEX_ACP_AGENT_ID ||

561-

typeof command !== "string" ||

562561

!isCodexAcpCommand(command)

563562

) {

564563

return params.leaseCommand(command);

@@ -700,9 +699,9 @@ export class AcpxRuntime implements AcpRuntime {

700699

});

701700

}

702701
703-

private commandWithLaunchLease(command: string | undefined): string | undefined {

702+

private commandWithLaunchLease(command: string): string {

704703

const launch = this.launchLeaseScope.getStore();

705-

if (!command || !launch) {

704+

if (!launch) {

706705

return command;

707706

}

708707

launch.stableCommand = command;

Original file line numberDiff line numberDiff line change

@@ -44,4 +44,3 @@ export const testing = {

4444

});

4545

},

4646

};

47-

export { testing as __testing };

Original file line numberDiff line numberDiff line change

@@ -8,7 +8,7 @@ export { normalizeXaiModelId as normalizeNativeXaiModelId } from "./model-id.js"

88

export const XAI_TOOL_SCHEMA_PROFILE = "xai";

99

export const HTML_ENTITY_TOOL_CALL_ARGUMENTS_ENCODING = "html-entities";

1010
11-

export const XAI_UNSUPPORTED_SCHEMA_KEYWORDS = new Set([

11+

const XAI_UNSUPPORTED_SCHEMA_KEYWORDS = new Set([

1212

"minLength",

1313

"maxLength",

1414

"minItems",

@@ -17,7 +17,7 @@ export const XAI_UNSUPPORTED_SCHEMA_KEYWORDS = new Set([

1717

"maxContains",

1818

]);

1919
20-

export function resolveXaiModelCompatPatch(): ModelCompatConfig {

20+

function resolveXaiModelCompatPatch(): ModelCompatConfig {

2121

return {

2222

toolSchemaProfile: XAI_TOOL_SCHEMA_PROFILE,

2323

unsupportedToolSchemaKeywords: Array.from(XAI_UNSUPPORTED_SCHEMA_KEYWORDS),

Original file line numberDiff line numberDiff line change

@@ -4,7 +4,6 @@ import { pickSandboxToolPolicy } from "./sandbox-tool-policy.js";

44

import { isToolAllowed, resolveSandboxToolPolicyForAgent } from "./sandbox/tool-policy.js";

55

import type { SandboxToolPolicy } from "./sandbox/types.js";

66

import { isToolAllowedByPolicyName } from "./tool-policy-match.js";

7-

import { TOOL_POLICY_CONFORMANCE } from "./tool-policy.conformance.js";

87

import {

98

collectExplicitAllowlist,

109

DEFAULT_PLUGIN_TOOLS_ALLOWLIST_ENTRY,

@@ -78,17 +77,6 @@ describe("tool-policy", () => {

7877

});

7978

});

8079
81-

describe("TOOL_POLICY_CONFORMANCE", () => {

82-

it("matches exported TOOL_GROUPS exactly", () => {

83-

expect(TOOL_POLICY_CONFORMANCE.toolGroups).toEqual(TOOL_GROUPS);

84-

});

85-
86-

it("is JSON-serializable", () => {

87-

const serialized = JSON.stringify(TOOL_POLICY_CONFORMANCE);

88-

expect(JSON.parse(serialized)).toEqual({ toolGroups: TOOL_GROUPS });

89-

});

90-

});

91-
9280

describe("sandbox tool policy", () => {

9381

it("allows all tools with * allow", () => {

9482

const policy: SandboxToolPolicy = { allow: ["*"], deny: [] };