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

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
Jina AI
Jina AI
C
Check Point Blog
V
V2EX
H
Help Net Security
Microsoft Azure Blog
Microsoft Azure Blog
P
Proofpoint News Feed
A
About on SuperTechFans
D
DataBreaches.Net
腾讯CDC
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
IT之家
IT之家
WordPress大学
WordPress大学
人人都是产品经理
人人都是产品经理
T
The Blog of Author Tim Ferriss
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
云风的 BLOG
云风的 BLOG
MongoDB | Blog
MongoDB | Blog
J
Java Code Geeks
博客园_首页
T
Tailwind CSS Blog
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

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
fix: finish run control defaults (#79385) (thanks @VACInc...
steipete · 2026-05-09 · via Recent Commits to openclaw:main

@@ -584,7 +584,7 @@ describe("executeSlashCommand directives", () => {

584584

);

585585586586

expect(result.content).toBe(

587-

"Current thinking level: low.\nOptions: off, minimal, low, medium, high.",

587+

"Current thinking level: low.\nOptions: default, off, minimal, low, medium, high.",

588588

);

589589

expect(request).toHaveBeenNthCalledWith(1, "sessions.list", {});

590590

expect(request).toHaveBeenNthCalledWith(2, "models.list", { view: "configured" });

@@ -634,6 +634,29 @@ describe("executeSlashCommand directives", () => {

634634

});

635635

});

636636637+

it("clears thinking override for /think default", async () => {

638+

const request = vi.fn(async (method: string, payload?: unknown) => {

639+

if (method === "sessions.patch") {

640+

return { ok: true, ...((payload ?? {}) as object) };

641+

}

642+

throw new Error(`unexpected method: ${method}`);

643+

});

644+645+

const result = await executeSlashCommand(

646+

{ request } as unknown as GatewayBrowserClient,

647+

"agent:main:main",

648+

"think",

649+

"default",

650+

);

651+652+

expect(result.content).toBe("Thinking level reset to default.");

653+

expect(result.action).toBe("refresh");

654+

expect(request).toHaveBeenCalledWith("sessions.patch", {

655+

key: "agent:main:main",

656+

thinkingLevel: null,

657+

});

658+

});

659+637660

it("uses default thinking options when the active session is absent", async () => {

638661

const request = vi.fn(async (method: string, payload?: unknown) => {

639662

if (method === "sessions.list") {

@@ -709,7 +732,7 @@ describe("executeSlashCommand directives", () => {

709732

);

710733711734

expect(status.content).toBe(

712-

"Current thinking level: adaptive.\nOptions: off, minimal, low, medium, adaptive, high, xhigh, maximum.",

735+

"Current thinking level: adaptive.\nOptions: default, off, minimal, low, medium, adaptive, high, xhigh, maximum.",

713736

);

714737

expect(setXhigh.content).toBe("Thinking level set to **xhigh**.");

715738

expect(setMax.content).toBe("Thinking level set to **max**.");

@@ -788,7 +811,7 @@ describe("executeSlashCommand directives", () => {

788811

);

789812790813

expect(status.content).toBe(

791-

"Current thinking level: off.\nOptions: off, minimal, low, medium, high, xhigh, max.",

814+

"Current thinking level: off.\nOptions: default, off, minimal, low, medium, high, xhigh, max.",

792815

);

793816

expect(setMax.content).toBe("Thinking level set to **max**.");

794817

});

@@ -882,7 +905,7 @@ describe("executeSlashCommand directives", () => {

882905

"",

883906

);

884907885-

expect(result.content).toBe("Current fast mode: on.\nOptions: status, on, off.");

908+

expect(result.content).toBe("Current fast mode: on.\nOptions: status, on, off, default.");

886909

expect(request).toHaveBeenNthCalledWith(1, "sessions.list", {});

887910

});

888911

@@ -902,6 +925,29 @@ describe("executeSlashCommand directives", () => {

902925

fastMode: true,

903926

});

904927

});

928+929+

it("clears fast mode override for /fast default", async () => {

930+

const request = vi.fn(async (method: string, payload?: unknown) => {

931+

if (method === "sessions.patch") {

932+

return { ok: true, ...((payload ?? {}) as object) };

933+

}

934+

throw new Error(`unexpected method: ${method}`);

935+

});

936+937+

const result = await executeSlashCommand(

938+

{ request } as unknown as GatewayBrowserClient,

939+

"agent:main:main",

940+

"fast",

941+

"default",

942+

);

943+944+

expect(result.content).toBe("Fast mode reset to default.");

945+

expect(result.action).toBe("refresh");

946+

expect(request).toHaveBeenCalledWith("sessions.patch", {

947+

key: "agent:main:main",

948+

fastMode: null,

949+

});

950+

});

905951

});

906952907953

describe("executeSlashCommand /steer (soft inject)", () => {