Commit Graph
6028 Commits
Author SHA1 Message Date
Hypatia May c1f364b339 test: refresh session-query ACP snapshots 2026-07-24 16:16:07 +08:00
Tianyi Cui 2db7342fc6 docs(i18n): address final Agent Note review 2026-07-24 16:13:20 +08:00
07akioni 6f5321cb37 feat: workspace select menu 2026-07-24 16:09:58 +08:00
_Kerman 31fb3a3f44 docs(agent): propose context injection semantics 2026-07-24 16:08:54 +08:00
_Kerman 45fc7fda3d refactor(agent-loop): separate injected context from turns 2026-07-24 16:05:52 +08:00
Turtle 4a0d8bb0d5 Merge pull request #588 from deepseek-harness/worktree/agent-message-intents
refactor(agent): name delivery methods by intent
2026-07-24 15:58:22 +08:00
Hypatia May 01b70fd6fd fix review findings for session queries 2026-07-24 15:58:03 +08:00
Turtle bcc041829c chore: expose dsh root script 2026-07-24 15:55:47 +08:00
Tianyi Cui d2b514030e Merge #344 into #345 2026-07-24 15:51:46 +08:00
Tianyi Cui c53f9324bc Merge #343 into #344 2026-07-24 15:51:35 +08:00
Tianyi Cui 445bb89f03 docs(i18n): complete core batch review contract 2026-07-24 15:51:06 +08:00
Hypatia May bc47884a77 fix session-query CI invariants 2026-07-24 15:42:24 +08:00
Tianyi Cui 90a789c03a docs(i18n): preserve cancellation quiescence 2026-07-24 15:41:14 +08:00
Turtle be29b012f1 fix(jsonrpc): update agent followup test doubles 2026-07-24 15:39:04 +08:00
Hypatia May b488147c95 docs: correct session-query verification record (round 2) 2026-07-24 15:19:53 +08:00
Tianyi Cui e9a97ca4fa Merge #344 into #345 2026-07-24 15:17:06 +08:00
Tianyi Cui 3122548be8 Merge #343 into #344 2026-07-24 15:16:55 +08:00
Tianyi Cui bc329a962b docs(i18n): codify review terminology 2026-07-24 15:16:18 +08:00
Tianyi Cui 8e84aa6218 docs(i18n): normalize Agent Note terminology 2026-07-24 15:10:55 +08:00
Hypatia May a350e95165 feat(session-query): add model-facing tools (round 1) 2026-07-24 15:09:55 +08:00
Turtle b02b438667 refactor(agent): align delivery method names 2026-07-24 15:08:36 +08:00
Tianyi Cui 1b0988c92a docs(i18n): address core translation review 2026-07-24 14:56:48 +08:00
Yichen Jiang 208a44a7ec feat(web): add session model selector 2026-07-24 14:55:54 +08:00
_Kerman 712448a2d2 refactor(agent-loop): simplify turn driver 2026-07-24 14:43:56 +08:00
Tianyi Cui a55c25ca51 Merge commit '7e7d6b52114a32724f6d6af897d97c6b614c446f' into worktree/pr345-retarget-stack 2026-07-24 14:43:29 +08:00
Tianyi Cui 8345a73d97 Merge commit 'c3d9023fa' into worktree/pr344-retarget-stack 2026-07-24 14:43:09 +08:00
Tianyi Cui 9b38ccad54 docs(i18n): clarify optional rounds and test layout 2026-07-24 14:42:36 +08:00
07akioni 06143b1a86 fix: cr 2026-07-24 14:36:44 +08:00
Hypatia May b92235c490 docs: record model-facing session query tools 2026-07-24 14:26:25 +08:00
Tianyi Cui ddfb2830aa Merge commit 'b42e117de3ee1463625e0ad4893a6e81b2ad0665' into worktree/pr345-retarget-stack 2026-07-24 14:22:56 +08:00
Tianyi Cui eceacca432 Merge commit '84ac8a3f9' into worktree/pr344-retarget-stack 2026-07-24 14:22:38 +08:00
Tianyi Cui 86d3bd6b9b docs(i18n): clarify review terminology 2026-07-24 14:21:36 +08:00
Tianyi Cui 6e4aa13632 docs(i18n): clarify Cordis and test wording 2026-07-24 14:21:15 +08:00
_Kerman fdeadc9dda Merge remote-tracking branch 'origin/feat/send-unify' into xtr/agent-loop-message-machine
# Conflicts:
#	.agents/notes/implemented/architecture/2026-07-22-unified-send-and-coalesced-user-messages.i18n.yaml
#	.agents/notes/implemented/architecture/2026-07-22-unified-send-and-coalesced-user-messages.md
#	.agents/notes/implemented/architecture/2026-07-22-unified-send-and-coalesced-user-messages.zh.md
#	packages/context/workspace-context/README.md
#	packages/core/agent-loop/src/agent.ts
#	packages/core/agent-loop/src/inbox.ts
#	packages/core/agent-loop/tests/agent.spec.ts
#	packages/core/agent-loop/tests/inbox.spec.ts
#	packages/goal/goal/README.md
2026-07-24 14:14:12 +08:00
07akioni aeb8b1f486 feat: implement new session behavior to clear selection and show empty state
- Added bilingual notes for the new session feature, detailing the transition to an empty state upon session creation.
- Updated `SessionsService` to include a `clear()` method that resets the current selection and persists the empty state.
- Enhanced the `EmptyState` component to reflect the new design, including workspace selection and input handling.
- Modified CSS styles for improved layout and visual consistency in the empty state.
- Updated tests to cover the new session clearing functionality and its effects on the UI.
2026-07-24 14:09:00 +08:00
_Kerman 5c7505b208 refactor(agent): remove message metadata channel 2026-07-24 14:05:33 +08:00
Tianyi Cui 9848a9542b docs: restore architecture headroom 2026-07-24 14:02:53 +08:00
Tianyi Cui b01fc33492 Merge remote-tracking branch 'origin/feat/send-unify' into worktree/agent-message-intents
# Conflicts:
#	.agents/notes/implemented/architecture/2026-07-22-unified-send-and-coalesced-user-messages.i18n.yaml
#	.agents/notes/implemented/architecture/2026-07-22-unified-send-and-coalesced-user-messages.md
#	.agents/notes/implemented/architecture/2026-07-22-unified-send-and-coalesced-user-messages.zh.md
#	docs/cordis-catalog/events.md
#	docs/event-producer-consumer.md
#	packages/core/agent-loop/src/agent.ts
2026-07-24 13:59:37 +08:00
Tianyi Cui 6c24624a0e Merge refreshed #344 into #345 2026-07-24 13:59:13 +08:00
Tianyi Cui 9e1562a86b Merge refreshed #343 into #344 2026-07-24 13:59:05 +08:00
Tianyi Cui c6c1141ed4 Merge latest master into #343 2026-07-24 13:58:55 +08:00
Tianyi Cui 2e3afcbe82 Merge #344 review fixes into #345 2026-07-24 13:57:34 +08:00
Tianyi Cui c0eacae2ba docs(i18n): align Agent Note terminology 2026-07-24 13:57:16 +08:00
Turtle d3e24356ba refactor(goal): loosen executor presence checks 2026-07-24 13:53:06 +08:00
Tianyi Cui d6d50deb24 refactor(agent): expose resolved input acceptance 2026-07-24 13:52:25 +08:00
Turtle d613fdb073 fix(agent-loop): third review pass — disposal discard ordering, flush guard, docs
Address a fresh-eye review of the disposal/injection fixes:
- disposal now snapshots, clears, and marks disposed BEFORE emitting
  agent/inbox/discard (mirroring cancel's snapshot→clear→emit), so a
  re-entrant send/cancel from a discard listener throws 'disposed' or
  finds an empty inbox instead of leaking or double-discarding an id.
  The discard is unconditional (even on unpublished setup-rollback) to
  match send's unconditional enqueue, keeping every id balanced.
- restore the turnRecorded guard on the idle-injection flush: a
  turn/start rejected pre-commit (append reentrancy / internal-dispatch
  veto) records nothing and owes no flush; the previous unconditional
  flush emitted a phantom-turn agent/error. The isTurnOpen/turnRecorded
  branches are reachable (reentrant inject from a session/event
  listener) and now covered by a regression test rather than v8-ignored.
- rewrite the agent/inbox/discard event JSDoc to enumerate all three
  emitters (cancel, terminal turn-stop, disposal) — every enqueued id
  gets exactly one terminal dequeue-or-discard.

Per-file coverage stays 100%.
2026-07-24 13:39:06 +08:00
07akioni a4b4a4c53d fix: type check 2026-07-24 13:36:27 +08:00
07akioni 3babb2cd42 feat(trajectory): implement trajectory step cell and layout with bilingual support
- Added TrajectoryCell, TrajectoryGroupHeader, and TrajectoryTurn components for rendering trajectory steps and groups.
- Introduced bilingual support with English and Chinese translations for trajectory notes.
- Updated conversation session models to include timestamps for various message types.
- Enhanced layout logic to handle expanded assistant blocks and tool results with duration metrics.
- Added CSS styles for new components to ensure proper display and alignment.
2026-07-24 13:33:35 +08:00
NI0317 f97f9bcf8a chore(examples): declare @deepseek-ai/dsh-llm-pi-ai as an example dep
pi-ai is the library-backed twin adapter the tui-agent README already
points at ("swap one line to @deepseek-ai/dsh-llm-pi-ai"), and the
supported entry point for third-party providers (Anthropic, Google,
OpenRouter) mounted through the personal overlay under ~/.dsh. Making
it a declared workspace dep of the examples umbrella means
`pnpm install` resolves the symlink upstream so users configuring a
third-party provider via `~/.dsh/config.yaml` don't have to patch
`examples/package.json` locally (which their next git checkout would
wipe).

Placement matches the sibling llm-* cluster; workspace:* to match the
other adapters. No cordis.yml or README changes: mounting pi-ai
remains explicit and opt-in per the provider-routed-llm-adapters
Agent Note.
2026-07-24 13:23:28 +08:00
_Kerman 7d5c8b12c0 fix(agent-loop): preserve unified send contracts 2026-07-24 13:20:51 +08:00