Commit Graph
13582 Commits
Author SHA1 Message Date
Yichen Jiang 29d6066870 feat(ui-settings): add SettingsDescribeMirror single describe source 2026-08-17 16:46:14 +08:00
pku-xht f479d01faf Merge Claude permission modes into Codex permission modes 2026-08-17 16:25:14 +08:00
pku-xht 1d181b869f Merge origin/master into Claude permission modes 2026-08-17 16:14:18 +08:00
Tianyi Cui 5139329d29 Merge remote-tracking branch 'origin/master' into worktree/fix-1463-rich-content-bridge 2026-08-17 13:56:17 +08:00
Tianyi Cui e0bb7cafc0 Merge pull request #2308 from deepseek-harness/feat/web-collapsible-question-composer
feat(web): make the ask-user question card collapsible
2026-08-17 13:54:50 +08:00
Tianyi Cui fec00fcb2c Merge pull request #2504 from deepseek-harness/fix/safari-textarea-reflow
fix(web): repair Safari textarea soft-wrap shrink
2026-08-17 13:54:31 +08:00
Yichen Jiang 8f998186a9 Merge pull request #2404 from deepseek-harness/feat/plugin-owned-settings-surface
feat(settings): serve every registered namespace and key plugin cards on it
2026-08-17 13:51:31 +08:00
Yichen Jiang 84257ea5de Merge pull request #2596 from deepseek-harness/worktree/deepseek-maxtoken-consistency-3a7c15
fix(llm): align replay state with assembled content and degrade unusable state
2026-08-17 13:47:08 +08:00
Tianyi Cui ed5a10b6e1 Merge pull request #2494 from deepseek-harness/ci/raise-windows-timeout
ci: raise Windows native CI timeout to 120 minutes
2026-08-17 12:10:55 +08:00
Chinesezjc fc497af8f7 Merge pull request #2417 from deepseek-harness/fix/pwsh-terminal-overlay-dup
fix(web): resolve the pwsh-terminal overlay duplicate-loader entry
2026-08-17 12:10:31 +08:00
Tianyi Cui cb8756b838 Merge pull request #1371 from deepseek-harness/codex/fix-large-history-pagination
fix(web): avoid history pagination stack overflow
2026-08-17 12:07:32 +08:00
Tianyi Cui b3eaafe3ae Merge pull request #2535 from deepseek-harness/test/cordis-turn-end-diagnostic
test(web): assert the whole turn/end reason in the Cordis lifecycle
2026-08-17 12:03:39 +08:00
Tianyi Cui c15f2f4d25 Merge remote-tracking branch 'origin/master' into HEAD 2026-08-17 11:39:33 +08:00
Tianyi Cui 7841e0a93e Merge pull request #2586 from deepseek-harness/worktree/minimal-mode-bash-issues-0c3ac2
fix(pty): keep the controlled prompt so persistent bash settles fast
2026-08-17 11:34:34 +08:00
Tianyi Cui b2f23f88ad Merge commit '70396085b141370ce32de1be4e225b4384eaf46d' into HEAD
# Conflicts:
#	.agents/notes/implemented/feature/2026-07-07-mcp-client-plugin.i18n.yaml
#	.agents/notes/implemented/feature/2026-07-20-code-mode-typed-tool-returns.i18n.yaml
#	.agents/notes/implemented/feature/2026-07-22-web-multimodal-image-input-and-durable-attachments.i18n.yaml
#	.agents/notes/implemented/feature/2026-07-22-web-multimodal-image-input-and-durable-attachments.md
#	.agents/notes/implemented/feature/2026-07-22-web-multimodal-image-input-and-durable-attachments.zh.md
#	.agents/notes/implemented/simplification/2026-07-23-acp-automation-only-protocol.i18n.yaml
#	docs/config-catalog.i18n.yaml
#	docs/module-graph.i18n.yaml
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	docs/tool-catalog.i18n.yaml
#	docs/tool-catalog.md
#	docs/tool-catalog.zh.md
#	examples/acp-agent/tests/snapshots/advanced-toolchain/tool-schemas.expected.json
#	examples/acp-agent/tests/snapshots/both-mode-turn/tool-schemas.expected.json
#	examples/acp-agent/tests/snapshots/code-mode-turn/tool-schemas.expected.json
#	packages/core/tools/README.i18n.yaml
#	packages/core/tools/README.zh.md
#	packages/core/tools/src/code-mode.ts
#	packages/host/apiproxy/tests/api-proxy-models.spec.ts
#	packages/host/plugin-inventory/tests/inventory.spec.ts
#	packages/mcp/mcp-client/tests/mcp-client.e2e.ts
#	packages/mcp/mcp-client/tests/mcp-client.spec.ts
#	packages/self-modification/tool-cordis/src/api-catalog.ts
#	packages/test-support/acp-snapshot/README.i18n.yaml
#	pnpm-lock.yaml
2026-08-17 11:31:59 +08:00
Tianyi Cui c5759d3506 Merge pull request #2553 from deepseek-harness/docs/web-ui-guide-polish
docs(i18n): polish the Web UI guide
2026-08-17 11:08:14 +08:00
j-xiang ca8b8a86e7 Merge branch 'master' into docs/web-ui-guide-polish 2026-08-17 10:11:59 +08:00
fz 66cd593bf3 Merge pull request #2559 from deepseek-harness/feat/rename-code-preset-english-to-ptc-mode
fix(ui-agent-preset): rename English code preset to PTC mode
2026-08-17 10:05:31 +08:00
GeeeekExplorer db959a0879 test(web): cover collapsing and expanding the question card
Two new QuestionComposer cases: the collapse toggle hides the option list
and leaves the header strip, and collapsing between answering preserves
both the picked draft and the current question position through a full
submit; re-expanding does not steal focus back into the textarea. Refresh
the question-composer and steering web e2e goldens for the new header
button.
2026-08-17 01:18:44 +08:00
GeeeekExplorer 4b25b0e76d feat(web): make the ask-user question card collapsible
The ask-user takeover rendered the pending question set as a bottom card
capped at min(60vh, 520px) with no way to reduce it, which buried the
conversation above while the user decided. Add a minimize toggle next to
the dismiss action: collapsed, the card becomes a header strip (title plus
the two icon buttons) and the option body and footer unmount; expanding
restores the full card. Drafts and the current question index live in
QuestionFlow local state, so collapse/expand never loses them. The
free-form textarea autofocuses only on first presentation, so re-expanding
does not steal focus from the toggle.

Agent Note: .agents/notes/implemented/feature/2026-08-11-collapsible-ask-user-question-card.{md,zh.md,i18n.yaml}
2026-08-17 01:18:44 +08:00
Huanqi Cao 99151657c0 fix(pty): import resolvePwshPath from the pwsh-local package root 2026-08-15 20:49:15 +08:00
pku-xht 0ff3c236ec refactor(subagent): simplify Codex diagnostic handoff 2026-08-15 20:09:04 +08:00
pku-xht 6ed3cab9b5 fix(subagent): preserve Codex diagnostic ordering 2026-08-15 19:58:08 +08:00
pku-xht d1e9dcae7a refactor(subagent): redesign Codex stderr diagnostics 2026-08-15 19:33:03 +08:00
pku-xht cfcecbf0c7 fix(subagent): stabilize Codex permission diagnostics 2026-08-15 19:11:24 +08:00
pku-xht 34db64d90d refactor(subagent): simplify Codex permission runtime 2026-08-15 19:02:04 +08:00
pku-xht a016e17393 test(subagent): cover Codex permission branches 2026-08-15 18:39:30 +08:00
pku-xht a49c0d26f9 merge: propagate Claude permission fixes 2026-08-15 18:30:00 +08:00
pku-xht a3deb9aa5e fix(subagent): keep Claude plan mode non-executing 2026-08-15 18:15:53 +08:00
pku-xht 7eb203069c feat(subagent): add Codex non-interactive permission modes 2026-08-15 18:07:08 +08:00
pku-xht 62da706b64 fix(subagent): address Claude permission review findings 2026-08-15 17:46:13 +08:00
Huanqi Cao c854749c34 fix(pty): ship dsh-pwsh-local in the python runtime closure 2026-08-15 17:05:19 +08:00
pku-xht 4d03472cd0 feat(subagent): add Claude Code non-interactive permission modes 2026-08-15 16:37:19 +08:00
Yichen Jiang 7e95a00c8a fix(llm): align replay state with assembled content and degrade unusable state
A max-tokens response that included a tool call persisted assembler-transformed
content next to replay metadata projected from the untransformed native message,
so the next request died in history reconstruction with INVALID_REPLAY_STATE and
the session stayed permanently stuck.

Write side: the finish chunk's replayState becomes a typed ReplayEnvelope —
opaque response-level metadata plus optional per-block entries aligned with the
emitted block sequence. BlockAssembler computes one keep/drop decision for
blocks and entries together, so stored metadata always describes stored content
and retained blocks keep their signatures. pi-ai splits its state into a
version-2 response half and per-block signature entries.

Read side: durable content is authoritative. toPiAssistant degrades any
unusable state — foreign kind, other versions (including the flat v1 form
already on disk), malformed metadata, or content/block mismatches — to the
existing provider-neutral conversion with an onReplayDegrade diagnostic instead
of failing the request, which un-bricks sessions poisoned before this change.

Covered by assembler and replay unit tests, an agent-loop continuation
regression, keyless real-composition continuation tests (native pruned-envelope
replay and legacy flat-state degrade), and the authored keyless snapshot
scenario max-tokens-continue through the assembled ACP app.
2026-08-15 16:07:30 +08:00
j-xiang 3b3abccba4 Merge branch 'master' into docs/web-ui-guide-polish 2026-08-15 13:49:53 +08:00
Huanqi Cao 06b766711c fix(pty): pin UTF-8 output encodings in the persistent pwsh bootstrap 2026-08-15 11:45:13 +08:00
Huanqi Cao f61e884917 fix(gates): declare the MIT license for tool-pwsh-persistent 2026-08-15 11:25:23 +08:00
Huanqi Cao a4e2e1e6e9 fix(gates): align tool-pwsh-persistent version and publish access with the rc.6 release 2026-08-15 11:17:35 +08:00
Huanqi Cao bc6a775a31 merge: bring master into feat/pwsh-persistent-pty 2026-08-15 11:14:45 +08:00
Yichen Jiang a8dc6f9776 fix(pty): keep the controlled prompt so persistent bash settles fast
tool-bash-persistent overwrote the backend's PS1, so terminal-bash prompt
readiness never matched and every send degraded to the 3.5s silence tier
(idleSilenceMs + handoffGraceMs) under production defaults.

The controlled PROMPT_COMMAND now re-asserts PS1 before every prompt, so an
in-shell override never survives to the next prompt. The tool initializes
with stty -echo alone and detects the no-end-marker fallback through the
seam's stdin_read wait reason instead of matching its own prompt text.

Tool calls drop from 7180/3560/3566 ms to 355/88/91 ms (spawn+init+echo,
echo, pwd; darwin, production defaults). The loader composition suite now
pins the fast path by pushing idleSilenceMs beyond the send bound, and a
real-PTY case proves PS1 self-healing.

Fixes #2585
2026-08-15 11:06:57 +08:00
pku-xht 1446e36a03 test(subagent): pin Codex payload diagnostic 2026-08-15 06:45:30 +08:00
pku-xht 02e4100f2a fix(subagent): normalize Codex payload diagnostics 2026-08-15 06:08:31 +08:00
pku-xht dbea39a125 fix(subagent): sample Codex diagnostics after cleanup 2026-08-15 06:03:47 +08:00
pku-xht 021b361d4b Merge Claude provider Preset example revalidation 2026-08-15 05:49:46 +08:00
pku-xht ac93515943 fix(subagent): preserve Codex payload diagnostics 2026-08-15 05:49:35 +08:00
pku-xht ab696d84c2 docs(subagent): show disabled Claude tool row 2026-08-15 05:36:23 +08:00
pku-xht cb229c8964 refactor(infra): keep Codex notices direct 2026-08-15 05:26:12 +08:00
pku-xht 4775095aa2 fix(infra): remove stale Codex dependency hints 2026-08-15 04:41:50 +08:00
pku-xht d1a767c66b test(infra): isolate Codex alias fixture 2026-08-15 04:32:30 +08:00
pku-xht bc91897adb test(cli): load product Bundles through Profile 2026-08-15 04:24:03 +08:00