Merge remote-tracking branch 'origin/master' into worktree/composer-host-confirmed-echo
# Conflicts: # docs/capability-seams.i18n.yaml # docs/event-producer-consumer.md # docs/event-producer-consumer.zh.md # docs/module-graph.md # docs/module-graph.zh.md # docs/persistence-catalog.i18n.yaml # docs/persistence-catalog.md # docs/persistence-catalog.zh.md # docs/persistence-schema.json
This commit is contained in:
commit
d4aeef0352
1157 files changed
+21809
-3460
No files matched your search
@@ -3,14 +3,19 @@
|
||||
// Orphaned lineage degrades to root level; cycles fail soft and emit as roots.
|
||||
|
||||
import type { SessionId } from '@deepseek-ai/dsh-session/types'
|
||||
import type { SessionProjectionMap } from '@deepseek-ai/dsh-session-projection/types'
|
||||
import type { SessionProjectionSummaryValues } from '@deepseek-ai/dsh-session-projection/types'
|
||||
import type { SessionSummary } from '../../types.ts'
|
||||
|
||||
/** Host list summary enriched with the latest Session Controller title projection. */
|
||||
export interface TitledSessionSummary extends SessionSummary {
|
||||
title?: string
|
||||
/** Current host-computed projection values for list consumers. */
|
||||
projectionValues?: Readonly<Partial<SessionProjectionMap>>
|
||||
/**
|
||||
* The row's summary projection values, never the full projection set. A
|
||||
* connected Session's client store may hold more values from its
|
||||
* control/follow baseline; those are outside the list contract and must not
|
||||
* be read here.
|
||||
*/
|
||||
projectionValues?: Readonly<Partial<SessionProjectionSummaryValues>>
|
||||
}
|
||||
|
||||
/** One flattened session-list row with lineage depth. */
|
||||
@@ -30,8 +35,11 @@ export interface SessionListEntry {
|
||||
/** Format classification supplied by the Host list. */
|
||||
formatStatus?: SessionSummary['formatStatus']
|
||||
cwd?: string
|
||||
/** Current host-computed projection values for list consumers. */
|
||||
projectionValues?: Readonly<Partial<SessionProjectionMap>>
|
||||
/**
|
||||
* The row's summary projection values, never the full projection set; see
|
||||
* `TitledSessionSummary.projectionValues`.
|
||||
*/
|
||||
projectionValues?: Readonly<Partial<SessionProjectionSummaryValues>>
|
||||
/** Lineage indent depth: root = 0; the UI just multiplies by the indent width. */
|
||||
depth: number
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import type { SubagentAddress } from '@deepseek-ai/dsh-subagent/client'
|
||||
import { SessionSeq, type SessionId, type SessionSeqCursor } from '@deepseek-ai/dsh-session/types'
|
||||
import type { SessionProjectionMap } from '@deepseek-ai/dsh-session-projection/types'
|
||||
import type { SessionProjectionMap, SessionProjectionViewValues } from '@deepseek-ai/dsh-session-projection/types'
|
||||
import type { WorkspaceId } from '@deepseek-ai/dsh-workspace/types'
|
||||
import type {
|
||||
SessionControlBaseline,
|
||||
@@ -58,9 +58,14 @@ export interface SessionListSnapshot {
|
||||
|
||||
}
|
||||
|
||||
/** Shared projection values and the lifecycle of their explicit baseline read. */
|
||||
/**
|
||||
* Every projection value the store currently holds, with the summary mark
|
||||
* stripped, and the lifecycle of its explicit baseline read. This is the full
|
||||
* attached-Session set, not a list row's summary contract (see
|
||||
* `SessionListEntry.projectionValues`).
|
||||
*/
|
||||
export interface SessionProjectionSnapshot {
|
||||
readonly values: Readonly<Partial<SessionProjectionMap>>
|
||||
readonly values: Readonly<Partial<SessionProjectionViewValues>>
|
||||
readonly state: 'idle' | 'loading' | 'ready' | 'migration-required' | 'error'
|
||||
readonly error: RemoteFailure | null
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import { SessionSeq, type SessionId } from '@deepseek-ai/dsh-session/types'
|
||||
import { workspaceTitleOf } from '@deepseek-ai/dsh-util-workspace-path'
|
||||
import type { WorkspaceId } from '@deepseek-ai/dsh-workspace/types'
|
||||
import { SESSION_SEARCH_RESULT_LIMIT } from '../../types.ts'
|
||||
import type { SessionProjectionMap } from '@deepseek-ai/dsh-session-projection/types'
|
||||
import type { SessionProjectionSummaryValues } from '@deepseek-ai/dsh-session-projection/types'
|
||||
import {
|
||||
createSnapshotStore, notifySubscribers, type ObservableSnapshot, type SnapshotStore,
|
||||
} from '@deepseek-ai/dsh-client-store'
|
||||
@@ -49,8 +49,12 @@ export interface SessionSummary {
|
||||
*/
|
||||
blank: boolean
|
||||
updatedAt: number
|
||||
/** Current host-computed projection values retained by the object layer. */
|
||||
projectionValues?: Readonly<Partial<SessionProjectionMap>>
|
||||
/**
|
||||
* The row's summary projection values retained by the object layer, never the
|
||||
* full projection set. A connected Session's store may hold more values from
|
||||
* its control/follow baseline; those are outside the list contract.
|
||||
*/
|
||||
projectionValues?: Readonly<Partial<SessionProjectionSummaryValues>>
|
||||
}
|
||||
|
||||
/** Catalog metadata and local source counts; catalog membership owns no Client generation. */
|
||||
|
||||
Reference in new issue
Block a user