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

推荐订阅源

P
Proofpoint News Feed
云风的 BLOG
云风的 BLOG
Apple Machine Learning Research
Apple Machine Learning Research
Hugging Face - Blog
Hugging Face - Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Google DeepMind News
Google DeepMind News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
雷峰网
雷峰网
B
Blog
月光博客
月光博客
博客园 - 【当耐特】
WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
Jina AI
Jina AI
博客园 - Franky
MyScale Blog
MyScale Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Last Week in AI
Last Week in AI
B
Blog RSS Feed
H
Help Net Security

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(tui): handle German AltGr input (#83947) · openclaw/o...
jason-allen- · 2026-05-24 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -378,6 +378,7 @@ Docs: https://docs.openclaw.ai

378378

- Agents/Codex: keep encrypted Responses reasoning replay provenance-bound so stale mirrored Codex transcripts drop invalid encrypted content before request assembly while preserving matching same-session replay. Fixes #83836. (#84367) Thanks @joshavant.

379379

- Agents/subagents: skip stale embedded-run wake probes for dormant completion requesters, so late subagent completions go straight to requester-agent/direct handoff instead of producing `reason=no_active_run` queue noise. (#82964) Thanks @galiniliev.

380380

- CLI: retry config snapshot reads after a transient failure so one rejected read no longer poisons later commands in the same process. (#83931) Thanks @honor2030.

381+

- TUI: handle German-layout Kitty keyboard input by ignoring printable release events and accepting AltGr-produced printable characters such as `@` and `€`. Fixes #48897.

381382

- Media: decode URL path basenames before using them as remote media fallback filenames, so files like `My%20Report.pdf` are surfaced as `My Report.pdf`. Fixes #84050. (#84052) Thanks @jbetala7.

382383

- WhatsApp: clarify inbound group diagnostics so observed but unregistered groups point to `channels.whatsapp.groups` without changing routing or sender authorization. (#83846) Thanks @neeravmakwana.

383384

- WhatsApp: drain pending outbound deliveries on a 30s periodic timer in addition to the reconnect handler, so messages enqueued while the provider is already connected no longer wait for the next reconnect to send. (#79083) Thanks @Oviemudiaga.

Original file line numberDiff line numberDiff line change

@@ -29,4 +29,33 @@ describe("CustomEditor", () => {

2929
3030

expect(onAltUp).toHaveBeenCalledTimes(1);

3131

});

32+
33+

it("inserts German AltGr printable Kitty CSI-u input", () => {

34+

const tui = { requestRender: vi.fn() } as unknown as TUI;

35+

const editor = new CustomEditor(tui, editorTheme);

36+
37+

editor.handleInput("\u001b[64::113;7u");

38+

editor.handleInput("\u001b[8364::101;7u");

39+
40+

expect(editor.getText()).toBe("@€");

41+

});

42+
43+

it("does not insert ordinary Alt-modified Kitty CSI-u input", () => {

44+

const tui = { requestRender: vi.fn() } as unknown as TUI;

45+

const editor = new CustomEditor(tui, editorTheme);

46+
47+

editor.handleInput("\u001b[113;3u");

48+
49+

expect(editor.getText()).toBe("");

50+

});

51+
52+

it("ignores printable Kitty key release events", () => {

53+

const tui = { requestRender: vi.fn() } as unknown as TUI;

54+

const editor = new CustomEditor(tui, editorTheme);

55+
56+

editor.handleInput("\u001b[214;1u");

57+

editor.handleInput("\u001b[214;1:3u");

58+
59+

expect(editor.getText()).toBe("Ö");

60+

});

3261

});

Original file line numberDiff line numberDiff line change

@@ -1,4 +1,43 @@

1-

import { Editor, Key, matchesKey } from "@earendil-works/pi-tui";

1+

import { Editor, isKeyRelease, Key, matchesKey } from "@earendil-works/pi-tui";

2+
3+

const KITTY_CSI_U_SUFFIX_REGEX = /^(\d+)(?::(\d*))?(?::(\d+))?(?:;(\d+))?(?::(\d+))?u$/u;

4+

const KITTY_MODIFIERS = {

5+

alt: 2,

6+

ctrl: 4,

7+

};

8+

const LOCK_MODIFIER_MASK = 64 + 128;

9+
10+

function decodeAltGrPrintable(data: string): string | undefined {

11+

if (!data.startsWith("\u001b[")) {

12+

return undefined;

13+

}

14+
15+

const match = data.slice(2).match(KITTY_CSI_U_SUFFIX_REGEX);

16+

if (!match) {

17+

return undefined;

18+

}

19+
20+

const codepoint = Number.parseInt(match[1] ?? "", 10);

21+

const baseLayoutKey = match[3] ? Number.parseInt(match[3], 10) : undefined;

22+

const modifierValue = match[4] ? Number.parseInt(match[4], 10) : 1;

23+

const modifier = (Number.isFinite(modifierValue) ? modifierValue - 1 : 0) & ~LOCK_MODIFIER_MASK;

24+
25+

if (modifier !== (KITTY_MODIFIERS.alt | KITTY_MODIFIERS.ctrl)) {

26+

return undefined;

27+

}

28+

if (typeof baseLayoutKey !== "number" || baseLayoutKey === codepoint) {

29+

return undefined;

30+

}

31+

if (!Number.isFinite(codepoint) || codepoint < 32) {

32+

return undefined;

33+

}

34+
35+

try {

36+

return String.fromCodePoint(codepoint);

37+

} catch {

38+

return undefined;

39+

}

40+

}

241
342

export class CustomEditor extends Editor {

443

onEscape?: () => void;

@@ -14,6 +53,10 @@ export class CustomEditor extends Editor {

1453

onAltUp?: () => void;

1554
1655

override handleInput(data: string): void {

56+

if (isKeyRelease(data)) {

57+

return;

58+

}

59+
1760

if (matchesKey(data, Key.alt("enter")) && this.onAltEnter) {

1861

this.onAltEnter();

1962

return;

@@ -60,6 +103,13 @@ export class CustomEditor extends Editor {

60103

}

61104

return;

62105

}

106+
107+

const altGrPrintable = decodeAltGrPrintable(data);

108+

if (altGrPrintable !== undefined) {

109+

super.handleInput(altGrPrintable);

110+

return;

111+

}

112+
63113

super.handleInput(data);

64114

}

65115

}