wangjunwei
99e04c2da2
fix(cli): handle CSI-u Shift+Enter instead of dumping raw escapes
...
Terminals speaking the CSI-u (kitty / fixterms) keyboard protocol -- kitty,
Ghostty, WezTerm, and terminal panes that default to it -- encode Shift+Enter
as the escape sequence "\x1b[13;2u". prompt_toolkit 3.0 has no support for
that protocol and no default mapping for the sequence, so its Vt100Parser
fails to recognise it and dumps the raw bytes ("^[[13;2u") straight into the
prompt buffer. The multiline-input work kept only Alt+Enter, so on these
terminals Shift+Enter now leaks visible escape garbage into the input.
Register "\x1b[13;2u" (absent from prompt_toolkit's default ANSI_SEQUENCES,
so setdefault() overrides nothing) and bind it to insert a newline, matching
the Alt+Enter behaviour. This is best-effort: prompt_toolkit cannot negotiate
the protocol, so we only react to a CSI-u sequence a terminal already emits;
terminals that collapse Shift+Enter into plain Enter fall back to Alt+Enter,
which stays the primary shortcut.
Add a real-PromptSession regression test asserting the sequence inserts a
newline rather than leaking raw escape bytes.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 19:32:47 +08:00
NOKIAO
87602a74ea
narrower cert path
2026-07-10 19:32:23 +08:00
NOKIAO
ad55f3ce37
添加红帽系Linux的证书路径支持
2026-07-10 19:32:23 +08:00
Siddhant Londhe
e284592649
fix(webui): sync package-lock.json to resolve docker build failure
2026-07-10 19:31:58 +08:00
chengyongru
2154dc51d0
docs: add automation guide
2026-07-10 19:31:33 +08:00
chengyongru
fe7d94359b
fix(agent): preserve runtime compatibility contracts
2026-07-10 17:54:34 +08:00
chengyongru
10930f3902
Revert "test(agent): probe runtime change amplification"
...
This reverts commit 85c73779f9cb6c4cd707fb51f80cb4e363861861.
2026-07-10 17:54:34 +08:00
chengyongru
6b7470646f
test(agent): probe runtime change amplification
2026-07-10 17:54:34 +08:00
chengyongru
21f58cbabf
refactor(agent): make resolver sole runtime owner
2026-07-10 17:54:34 +08:00
chengyongru
c9d3e74342
refactor(agent): require runtime for consolidation
2026-07-10 17:54:34 +08:00
chengyongru
5bd3d1e0af
refactor(agent): centralize runtime default mutations
2026-07-10 17:54:34 +08:00
chengyongru
af85c356b8
refactor(agent): capture subagent runtime before spawn
2026-07-10 17:54:34 +08:00
chengyongru
198fd9f869
refactor(agent): capture runtime at turn admission
2026-07-10 17:54:34 +08:00
chengyongru
45ace23580
test(agent): assert subagent runtime generation
2026-07-10 17:54:34 +08:00
chengyongru
b4f069800e
refactor(agent): make runner consume required runtime
2026-07-10 17:54:34 +08:00
chengyongru
3f8170e835
test(agent): characterize active runner provider drift
2026-07-10 17:54:34 +08:00
chengyongru
cb03d2c748
refactor(agent): snapshot generation without provider mutation
2026-07-10 17:54:34 +08:00
chengyongru
bd94fefd1a
refactor(agent): introduce immutable model runtime resolver
2026-07-10 17:54:34 +08:00
chengyongru
42d7ad34a4
refactor(agent): unify request context routing
2026-07-10 17:54:34 +08:00
chengyongru
bb3b449e09
refactor(agent): capture original user text per turn
2026-07-10 17:54:34 +08:00
chengyongru
55317094b6
test(agent): characterize request context isolation
2026-07-10 17:54:34 +08:00
David Jimenez
6313ae9f4f
add Dockerfile arg to override optional Python dependencies to install at build time
2026-07-09 23:58:59 +08:00
chengyongru
4137be62a1
fix(matrix): preserve mxc markdown image sources
2026-07-09 23:58:26 +08:00
chengyongru
0b9ca744c2
docs(webui): mention file edit previews in guide
2026-07-09 10:42:43 +08:00
chengyongru
7685a89dcc
docs(webui): describe file edit diffs
2026-07-09 10:42:43 +08:00
chengyongru
bbd4f4054b
fix(webui): respect full access in file preview
2026-07-09 10:42:43 +08:00
chengyongru
0ae28571e7
fix(agent): close file edit activity on cancellation
2026-07-09 10:42:43 +08:00
chengyongru
6851a6ebd4
fix(webui): sync file edit display preference
2026-07-09 10:42:43 +08:00
chengyongru
7768672c5b
feat: add file edit diff progress view
...
Capture file edit snapshots through runner tool lifecycle hooks and render unified diffs in the WebUI with folding and truncation controls.
2026-07-09 10:42:43 +08:00
chengyongru
207813d3b5
fix(webui): tighten localhost bootstrap check
2026-07-09 10:42:00 +08:00
chengyongru
e0c2d28f90
fix(webui): issue localhost bootstrap api tokens
2026-07-09 10:42:00 +08:00
chengyongru
8559458258
refactor(agent): add turn hook factories
2026-07-08 21:02:12 +08:00
chengyongru
04dbf17426
test(agent): cover turn hook ordering
2026-07-08 21:02:12 +08:00
chengyongru
a52a88455b
refactor(agent): extract turn hook assembly
2026-07-08 21:02:12 +08:00
Xubin Ren
3ab09075c5
test(webui): tolerate wrapped bootstrap CLI output
2026-07-08 21:01:48 +08:00
chengyongru
4ddd639e67
fix(webui): route missing API bootstrap tokens to auth
...
maintainer edit: handle review feedback by treating bootstrap responses without api_token as auth-required, and remove the obsolete issue_token(api_token=...) compatibility path now that API tokens are issued separately.
2026-07-08 21:01:48 +08:00
chengyongru
444f488563
fix(webui): repair bootstrap secret launch paths
2026-07-08 21:01:48 +08:00
chengyongru
88143a8bf0
fix(webui): gate bootstrap API token issuance
2026-07-08 21:01:48 +08:00
chengyongru
7204d88a4c
docs: add high-usage chat app guides
2026-07-08 20:56:27 +08:00
chengyongru
1a21542d11
docs: address search entry review feedback
2026-07-08 20:56:27 +08:00
chengyongru
f531f1ce38
docs: improve search entry pages
2026-07-08 20:56:27 +08:00
chengyongru
941a2541eb
docs: document onboard refresh flag
...
maintainer edit: add CLI, quick start, and troubleshooting docs for the non-interactive config refresh flow introduced by this PR.
2026-07-08 20:56:06 +08:00
Aleksander W. Oleszkiewicz (Alek)
be8ac1e484
removed duplicated code
2026-07-08 20:56:06 +08:00
Aleksander W. Oleszkiewicz (Alek)
f074aa7d80
feat: add --refresh flag to onboard command for non-interactive config updates
2026-07-08 20:56:06 +08:00
chengyongru
ea7f4679f1
fix(webui): keep prompt rail at original gutter offset
2026-07-08 12:16:47 +08:00
chengyongru
c188e96f4e
refactor(webui): use container query for prompt rail layout
2026-07-08 12:16:47 +08:00
chengyongru
815f15993c
test(webui): dedupe prompt rail viewport setup
2026-07-08 12:16:47 +08:00
chengyongru
4333d6f103
fix(webui): keep prompt rail out of narrow chat columns
2026-07-08 12:16:47 +08:00
Aleksander W. Oleszkiewicz (auticon)
65d32ffd6c
Fix dependency assertions in tests
...
Added a new `aiohttp` dependency for Slack
2026-07-08 12:16:30 +08:00
Aleksander W. Oleszkiewicz (auticon)
379785d365
Fix missing aiohttp slack dependency in pyproject.toml
...
Added `"aiohttp>=3.9.0,<4.0.0"` to the dependencies for **slack**
2026-07-08 12:16:30 +08:00