Commit Graph
1783 Commits
Author SHA1 Message Date
Yichen Jiang 458a742cfe Merge remote-tracking branch 'origin/master' into worktree/deepseek-native-multimodal 2026-08-19 14:22:22 +08:00
Yichen Jiang 7078918b30 feat(llm-deepseek): support multimodal requests 2026-08-19 11:39:52 +08:00
pku-xht 032bc08f81 Merge commit '21a9ccf299a720c36f58f7389340690d33b525ce' into codex/product-subagent-failure-facts-codex
# Conflicts:
#	.agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.i18n.yaml
#	.agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.md
#	.agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.zh.md
#	packages/subagent/subagent-codex/README.i18n.yaml
#	packages/subagent/subagent-codex/README.md
#	packages/subagent/subagent-codex/README.zh.md
#	packages/subagent/subagent-codex/src/run.ts
#	packages/subagent/subagent-codex/tests/real-product.spec.ts
#	packages/subagent/subagent-codex/tests/subagent-codex.spec.ts
2026-08-18 22:13:00 +08:00
pku-xht 733966dac5 Merge commit '44f371ceb659af3795bc04efb512ae6454dc8593' into codex/product-subagent-failure-facts-claude
# Conflicts:
#	.agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.i18n.yaml
#	.agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.md
#	.agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.zh.md
#	packages/subagent/subagent-claude-code/README.i18n.yaml
#	packages/subagent/subagent-claude-code/README.md
#	packages/subagent/subagent-claude-code/README.zh.md
#	packages/subagent/subagent-claude-code/src/index.ts
#	packages/subagent/subagent-claude-code/src/run.ts
#	packages/subagent/subagent-claude-code/tests/subagent-claude-code.spec.ts
2026-08-18 20:43:04 +08:00
pku-xht d5397cbc29 Merge commit '8b4b0bb75463e0150cfe5d042d9833e56c4d221c' into codex/product-subagent-failure-facts-codex
# Conflicts:
#	packages/subagent/subagent-codex/README.i18n.yaml
#	packages/subagent/subagent-codex/README.md
#	packages/subagent/subagent-codex/README.zh.md
#	packages/subagent/subagent-codex/tests/real-product.spec.ts
#	packages/subagent/subagent-codex/tests/subagent-codex.spec.ts
2026-08-18 19:51:06 +08:00
pku-xht 46fd537b20 Merge commit '43f08ef2867b288331271df679b2a731b76c8919' into codex/product-subagent-failure-facts-claude
# Conflicts:
#	.agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.i18n.yaml
#	.agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.md
#	.agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.zh.md
#	docs/config-catalog.i18n.yaml
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	packages/subagent/subagent-claude-code/src/index.ts
#	packages/subagent/subagent-claude-code/tests/real-product.spec.ts
#	packages/subagent/subagent-claude-code/tests/subagent-claude-code.spec.ts
2026-08-18 19:36:16 +08:00
pku-xht 2070f127ee Merge codex/installable-product-subagents into codex/installable-codex-provider 2026-08-18 19:09:35 +08:00
pku-xht 4be7e7680e test(acp): refresh product subagent skill snapshot 2026-08-18 19:04:18 +08:00
pku-xht 89e09b0023 Merge codex/installable-product-subagents into codex/installable-codex-provider 2026-08-18 18:59:40 +08:00
pku-xht 02a32d93f2 Merge master into codex/installable-product-subagents 2026-08-18 18:47:34 +08:00
pku-xht 1ec9c0c4a6 Merge codex/installable-product-subagents into codex/installable-codex-provider 2026-08-18 18:29:37 +08:00
pku-xht b1a895640e Merge master into codex/installable-product-subagents 2026-08-18 18:11:42 +08:00
pku-xht a881208f4a Merge commit 'bda9231260082ff5f06eba352bcfc49865895e04' into codex/product-subagent-failure-facts-codex 2026-08-18 18:04:33 +08:00
pku-xht 9e8a620f61 Merge named Claude instances into named Codex instances 2026-08-18 17:52:10 +08:00
pku-xht 5ce9a7eb97 Merge merged permissions stack into Claude failure facts 2026-08-18 17:49:32 +08:00
pku-xht fd4b1c428a Merge Codex permission modes into named Claude instances 2026-08-18 17:44:39 +08:00
pku-xht 31ce2a400b Merge Claude permission modes into Codex permission modes 2026-08-18 17:19:21 +08:00
pku-xht 859525a64e Merge origin/master into Claude permission modes 2026-08-18 17:16:45 +08:00
pku-xht ec9d4a6803 Merge Claude permission modes into Codex permission modes
# Conflicts:
#	docs/config-catalog.i18n.yaml
2026-08-18 17:11:10 +08:00
pku-xht 7f6b517018 Merge origin/master into Claude permission modes
# Conflicts:
#	docs/config-catalog.i18n.yaml
#	docs/subsystems/subagent.i18n.yaml
#	packages/subagent/subagent/README.i18n.yaml
2026-08-18 17:04:42 +08:00
creatixchu 831670533b Merge remote-tracking branch 'origin/master' into worktree/image-request-budget 2026-08-18 16:31:40 +08:00
Dudu-0223 0283d62c76 fix(team): address runtime review feedback 2026-08-18 11:58:11 +08:00
creatixchu 28c2647293 fix(llm-pi-ai): address image offload review 2026-08-18 11:56:18 +08:00
creatixchu abfd537588 Merge remote-tracking branch 'origin/master' into worktree/image-dimension-limit 2026-08-18 11:45:08 +08:00
Dudu-0223 d91df8cbd5 Deliver subagent reports at next step 2026-08-18 11:14:10 +08:00
pku-xht cf16ee41bf test(subagent): narrow named instance evidence 2026-08-18 04:34:24 +08:00
pku-xht a5ea2c46a7 test(acp): isolate product diagnostic header pin 2026-08-18 04:08:58 +08:00
pku-xht 6bae03dd69 fix(subagent): preserve Codex failure facts 2026-08-18 03:40:11 +08:00
pku-xht 62e3788fed Merge PR1 named Claude instance fixes 2026-08-18 02:57:10 +08:00
pku-xht db52686a96 feat(subagent): support named Codex provider instances 2026-08-18 02:56:44 +08:00
pku-xht 044f65e46b fix(subagent): tighten named Claude instance evidence 2026-08-18 02:50:42 +08:00
pku-xht cd4f8b7f46 fix(subagent): preserve Claude Code failure facts 2026-08-18 01:46:30 +08:00
pku-xht 49351cbf0e feat(subagent): support named Claude Code provider instances 2026-08-18 01:16:29 +08:00
creatixchu 0e39055121 fix(attachment): refuse oversized image sides at admission
An image with a side above the deployed routes' 2000px many-image bound
could be durably committed by read_image, ride every later request, and
permanently fail the session with provider 400s. Admission now enforces a
configurable maxImageDimension (default 2000) during the full decode, so
read_image surfaces a recoverable tool error naming the limit instead of
poisoning durable history; the Web composer gets dedicated copy for the
new IMAGE_DIMENSION_TOO_LARGE reason.

Fixes #2626
2026-08-17 20:49:08 +08:00
pku-xht 2e125dc0c6 Merge Claude permission modes into Codex permission modes 2026-08-17 17:08:37 +08:00
pku-xht 000cb1a0db docs(subagent): clarify unattended review contracts 2026-08-17 17:05:18 +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 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
pku-xht a49c0d26f9 merge: propagate Claude permission fixes 2026-08-15 18:30:00 +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
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
pku-xht b2178ade80 feat(subagent): make Codex provider directly installable 2026-08-15 03:25:43 +08:00
pku-xht 21b93a4568 Merge commit '61e35fb8ebb2fd8b68ed0c64f586602bb825bd06' into codex/installable-product-subagents
# Conflicts:
#	.agents/notes/implemented/architecture/2026-08-10-product-subagent-providers-in-shared-host.i18n.yaml
#	.agents/notes/implemented/architecture/2026-08-10-product-subagent-providers-in-shared-host.md
#	.agents/notes/implemented/architecture/2026-08-10-product-subagent-providers-in-shared-host.zh.md
#	.agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.i18n.yaml
#	.agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.md
#	.agents/notes/implemented/feature/2026-08-04-claude-code-and-codex-subagent-backends.zh.md
#	apps/cli/config/agent-presets/code/agent.cordis.yml
#	apps/cli/config/agent-presets/cordis/agent.cordis.yml
#	apps/cli/config/agent-presets/cordis/skills/editing-cordis-compositions/SKILL.md
#	apps/cli/config/agent-presets/standard/agent.cordis.yml
#	apps/cli/tests/web-agent-presets.e2e.ts
#	examples/acp-agent/tests/fixtures/subagent/subagent-claude-code/cordis.yml
#	examples/acp-agent/tests/fixtures/subagent/subagent-claude-code/driver.ts
#	packages/bundle/base/README.i18n.yaml
#	packages/bundle/base/README.md
#	packages/bundle/base/README.zh.md
#	packages/subagent/subagent-claude-code/README.i18n.yaml
#	packages/subagent/subagent-claude-code/README.md
#	packages/subagent/subagent-claude-code/README.zh.md
#	packages/subagent/subagent-claude-code/tests/loader-composition.e2e.ts
2026-08-14 16:18:47 +08:00
pku-xht b4366e711d feat(subagent): make Claude Code provider directly installable 2026-08-14 16:05:48 +08:00
pku-xht 21d2433d97 Merge pull request #2374 from deepseek-harness/codex/product-subagent-one-shot-background
feat(agent-presets): enable background Codex and Claude Code subagent tasks
2026-08-14 15:49:58 +08:00
pku-xht 61ef3d8423 Merge commit '24887eea2e6734f054c997ff6a06357686afa5e2' into codex/installable-product-subagents 2026-08-14 15:24:02 +08:00