Commit Graph
11 Commits
Author SHA1 Message Date
imccyu 26ac56f780 chore(release): align master-only packages to 0.2.2-rc.5 2026-11-18 18:29:39 +08:00
imccyu 7400626e6e chore(release): sync release/dsh-0.2.2 0.2.2-rc.4 to master
# Conflicts:
#	packages/client/hmr/package.json
#	packages/client/script-realm-iframe/package.json
#	packages/client/ui-jobs/package.json
#	packages/client/ui-session-panel/package.json
#	packages/experimental/action-cards/package.json
#	packages/experimental/client-ui-forge/package.json
#	packages/experimental/cua-bundle/package.json
#	packages/experimental/forge-gitlab/package.json
#	packages/ptc-runtime/ptc-runtime-node/package.json
#	packages/session/tool-working-directory/package.json
#	packages/util/atomic-write/package.json
2026-11-17 21:37:34 +08:00
Dudu-0223 0204d50e37 fix(tool-session-list): keep list_workspace execute synchronous
An async arrow without await fails the type-aware require-await lint rule.
2026-11-16 16:57:00 +08:00
Dudu-0223 01aafcb4e9 docs(session): address remaining list tool review notes
- Name the model-visible page limits once and derive the schema text from them.
- Type the intermediate Session rows and make list_workspace's execute async.
- Document that blank Sessions are listed and that unscoped listing has unit
  coverage only.
- State that the Workspace registry adds no model-visible surface of its own
  while the optional listing tools expose its metadata.
2026-11-16 13:25:42 +08:00
Dudu-0223 a65aacaa6a fix(session): follow sessionQuery's projection dependency and rc.3 version
- SessionReferenceResolver injects sessions and sessionProjections, which
  sessionQuery now requires; its absent-registry label branch is unreachable
  and is removed.
- The translator paid fixture mounts the projection registry beside its
  SQLite query service.
- dsh-tool-session-list follows the master release version 0.2.2-rc.3.
2026-11-16 13:21:21 +08:00
Dudu-0223 1851e875f4 feat(tool-session-list): show complete call arguments on tool cards
list_session showed only workspace_id and list_workspace showed no input, so
calls that differ in archived, limit, or offset rendered identical cards.
2026-11-16 13:07:46 +08:00
Dudu-0223 79015b174c refactor(session): move list metadata to sessionQuery and query Workspace headers
Address review on #8238:

- Replace the Workspace.sessionHeaders property with getSessionHeaders(). The
  public contract states only membership and order; the in-memory header index
  is documented on the implementation.
- SessionQueryEngine now injects sessionProjections, registers the
  sessionListMetadata projection in Service.init, and exposes
  getListMetadata(session). Disposing the service releases the registration.
  The Session API and list_session read metadata through ctx.sessionQuery;
  registerSessionListMetadata and the passed reader closure are removed.
- SqliteSessionQueryEngine injects sessionProjections and chains Service.init.
- Tests: a newly attached Session appears in a later getSessionHeaders()
  result; query-service disposal removes the projection; test query services
  run Service.init; projection-order expectations follow the new registration
  order.
2026-11-16 11:59:34 +08:00
Dudu-0223 cd329ad22a fix(session): align list tool release version and rescope skip
Match the new package to the merged 0.2.2-rc.2 release version, and add the
cua agent-scopes test to the exact-path rescope exceptions for its cordis
preset id.
2026-11-11 14:31:42 +08:00
Dudu-0223 3895609baa refactor(session): list Workspace sessions from member headers
Drop contain_subagent from list_session: discovering subagents of a Workspace
needs either a corpus scan or the parent subagent catalog, so this version
lists only non-subagent sessions.

A workspace_id call now reads its members' headers from the Workspace
registry index through the new Workspace.sessionHeaders, so its work grows
with the member count instead of enumerating every stored Session. Unscoped
calls still enumerate the corpus headers.
2026-11-11 13:38:59 +08:00
Dudu-0223 c0037256e0 refactor(session): remove list tool work slicing 2026-11-10 17:09:37 +08:00
Dudu-0223 c41f0d1d10 feat(session): add read-only workspace and session list tools 2026-11-10 16:03:51 +08:00