Files
deepseek-harness/docs/experimental-persistence-catalog.md
T
ZiyaZhang 918b182115 refactor(action-cards): keep the line scanner and drop older-Session cards
- Read action-card blocks with the line scanner again: top-level fences
  only, with no Markdown parser dependencies. The browser preview's worker
  resolved the parser's DOM build and could not enable the bundle, and
  deeply nested answers overflowed the parser's stack.
- The Chat client hides every action-card block again, without a JSON
  check.
- Drop cards of propose_action calls in older Sessions, the reading of
  callId decision records, and the tool row for those calls.
- The two skills put the invitation sentence right before the block
  instead of ending the text with it.
- Document the blocks the Host and the client treat differently, update
  the upgrade guide, READMEs and generated catalogs.
2026-11-16 02:25:41 -08:00

6.6 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:worktree/entered @deepseek-ai/dsh-experimental-worktree An existing checkout the Session entered, and the checkout it entered from. EnteredWorktree · 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