Files
deepseek-harness/docs/experimental-persistence-catalog.md
T
MagolorandZiyaZhang d997173e45 feat(timeline): integrate Timeline as an experimental plugin (#7973)
* Add Timeline as an experimental Harness plugin

* fix(timeline): align prompt counters and release inactive views

* fix(timeline): refine frontend motion and document features

* test(timeline): refresh recorded context after upstream update

* fix(timeline): satisfy UI locale and module graph checks

* test(timeline): align integration checks with CI test lanes

* docs(timeline): document exported locale dictionaries

* fix(timeline): use session records and native client interfaces

* fix(timeline): mount edit RPC and align integration checks

* fix(timeline): follow Harness theme rules

* test(timeline): cover session recovery and client interactions

* fix(timeline): address integration review findings

* fix(timeline): isolate forked plan continuation

* docs(timeline): record the 0.4.0 integration changes

* docs(timeline): clarify the plugin description

* test(timeline): cover integration behavior and recovery edges

* fix(timeline): align dependency metadata and test lint

* fix(timeline): isolate scoped work and harden replay

* docs(timeline): refresh persistence catalog source links

* docs(timeline): document planning ownership predicate

* test(timeline): refresh the recommendation description snapshot

* build(timeline): classify Host dependency exports

* test(web): pace the Goal queue snapshot replay

* feat(timeline): make sidebar auto-open configurable

* docs(timeline): clarify sibling task weights

* fix(timeline): harden report updates and checkpoint recovery

* refactor(timeline): share detail view props

* fix(timeline): clarify progress, reports, and sidebar settings (#8347)

* fix(timeline): align the integration with current Harness contracts

* fix(timeline): preserve navigation when removing a task tree

* Reduce Timeline report replay allocations

Reuse the discussion list when report retention leaves its targets intact.
Clarify that the integrated package follows the Harness release version.

Node 24.21.0 on macOS arm64, median of three measured replays after warmup.
With 17,640 reports, replay took 5650 ms before and 804 ms after.
Peak RSS fell from 343 MiB to 288 MiB. Retained heap stayed near 33 MiB.
The serialized view stayed at 5,297,849 bytes.

---------

Co-authored-by: ZiyaZhang <[email protected]>
2026-11-13 11:54:22 +08:00

6.3 KiB
Raw Blame History

Experimental Plugin Record Catalog

English | 中文

These current-source PluginRecordMap declarations describe ignorable, log-only records owned by experimental packages. Payload annotations link to their owning source without expanding referenced types. Records stay outside the known-event set, persistence schema fingerprints, and compatibility history; format migrations retain them on a best-effort basis.

Run pnpm run gen-persistence-catalog to regenerate both persistence catalogs, their language pairs, and associated artifacts. pnpm run verify-persistence-catalog checks all generated files.

Shared Session event declarations and resolved schemas appear in the Session persistence event catalog.

Record Owner Purpose Payload and source
plugin:action-cards/decision @deepseek-ai/dsh-action-cards Dismissals and kind-defined progress of action cards. ActionCardDecision · packages/experimental/action-cards/src/types.ts
plugin:client-ui-forge/worktree @deepseek-ai/dsh-experimental-client-ui-forge A request, withdrawal, or creation of the worktree a Session starts in. WorktreeRecord · packages/experimental/client-ui-forge/src/types.ts
plugin:forge-session/binding @deepseek-ai/dsh-experimental-forge-session A caller or discovery action that binds, restores, or hides one change request. BindingRecord · packages/experimental/forge-session/src/types.ts
plugin:translator/request @deepseek-ai/dsh-experimental-translator Provider-independent translation input, retained before dispatch. TranslationRequestRecord · packages/experimental/translator/src/types.ts
plugin:translator/result @deepseek-ai/dsh-experimental-translator Successful translation, retained before it is returned to the consumer. TranslationResultRecord · packages/experimental/translator/src/types.ts
plugin:worktree/created @deepseek-ai/dsh-experimental-worktree A checkout the worktree service created for the Session, which entered it in the same operation. CreatedWorktree · packages/experimental/worktree/src/projection.ts
plugin:timeline/annotation @deepseek-ai/dsh-timeline Record a discussion or control request from the user. { version: 1; sessionId: SessionId; annotation: Annotation; } · packages/experimental/timeline/src/records.ts
plugin:timeline/delivery @deepseek-ai/dsh-timeline Record whether the agent accepted a control request. { version: 1; sessionId: SessionId; id: Annotation['id']; delivery: 'accepted' | 'unknown'; } · packages/experimental/timeline/src/records.ts
plugin:timeline/failure @deepseek-ai/dsh-timeline Record a failed interval report attempt. { version: 1; sessionId: SessionId; id: IntervalReport['id']; message: string; } · packages/experimental/timeline/src/records.ts
plugin:timeline/import @deepseek-ai/dsh-timeline Restore a user-selected task tree and its discussions. TreeRecord & { annotations: Annotation[]; prepared?: true; continuation?: z.infer<typeof importContinuationSchema>; } · packages/experimental/timeline/src/records.ts
plugin:timeline/import-ready @deepseek-ai/dsh-timeline Publish an import after its full payload has reached durable storage. { version: 1; sessionId: SessionId; callId: string; } · packages/experimental/timeline/src/records.ts
plugin:timeline/priority @deepseek-ai/dsh-timeline Save a priority change made by the user. { version: 1; sessionId: SessionId; treeId: Tree['id']; taskId: Task['id']; priority: Priority; createdAt: number; } · packages/experimental/timeline/src/records.ts
plugin:timeline/remove @deepseek-ai/dsh-timeline Remove a tree and its discussions from the current plan. { version: 1; sessionId: SessionId; treeId: Tree['id']; } · packages/experimental/timeline/src/records.ts
plugin:timeline/reply @deepseek-ai/dsh-timeline Save the agent’s reply to one discussion. { version: 1; sessionId: SessionId; id: Annotation['id']; text: string; createdAt: number; } · packages/experimental/timeline/src/records.ts
plugin:timeline/report @deepseek-ai/dsh-timeline Save a validated interval report and its coverage. ReportRecord · packages/experimental/timeline/src/records.ts
plugin:timeline/request @deepseek-ai/dsh-timeline Record the report request with its reference to a reused Session prefix. { version: 1; sessionId: SessionId; id: IntervalReport['id']; contextSeq: number; prefixLength: number; request: StoredRequest; } · packages/experimental/timeline/src/records.ts
plugin:timeline/select @deepseek-ai/dsh-timeline Select a saved task tree for subsequent work. SelectionRecord · packages/experimental/timeline/src/records.ts
plugin:timeline/tree @deepseek-ai/dsh-timeline Save a task tree and the tool call that changed it. TreeRecord · packages/experimental/timeline/src/records.ts