慣性聚合 高效追讀感興趣之博客、新聞、科技資訊
閱原文 以慣性聚合開啟

推薦訂閱源

博客园 - 司徒正美
V
V2EX
T
Tailwind CSS Blog
有赞技术团队
有赞技术团队
aimingoo的专栏
aimingoo的专栏
Apple Machine Learning Research
Apple Machine Learning Research
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
A
About on SuperTechFans
月光博客
月光博客
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
V
Visual Studio Blog
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI

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 test: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311
修(tui)之:应德语AltGr输入(#83947) · openclaw/openclaw@ee09481
jason-allen- · 2026-05-24 · via Recent Commits to openclaw:main
原本行号差异行号差异变更

@@ -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.

原本行号差异行号差异变更

@@ -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

});

原本行号差异行号差异变更

@@ -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

}