@design.estate/dees-catalog 4.9.0 → 4.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -205,6 +205,8 @@ export interface IHarnessPermissionResponseDetail {
205
205
 
206
206
  // ------------------------------------------------------- sessions & status
207
207
 
208
+ export type THarnessSessionCardState = 'normal' | 'working' | 'finished' | 'attention' | 'error';
209
+
208
210
  export interface IHarnessSessionMeta {
209
211
  id: string;
210
212
  title: string;
@@ -214,6 +216,12 @@ export interface IHarnessSessionMeta {
214
216
  preview?: string;
215
217
  /** Optional dees-icon name (e.g. 'lucide:Terminal') shown before the title. */
216
218
  icon?: string;
219
+ /** Visual card state. Defaults to `normal`. */
220
+ state?: THarnessSessionCardState;
221
+ /** Independent activity signal used for idle-to-working auto-expansion. */
222
+ working?: boolean;
223
+ /** Set false for pinned, non-sortable entries such as terminals. Defaults to true. */
224
+ draggable?: boolean;
217
225
  }
218
226
 
219
227
  /** Detail of `harness-session-context`, fired on right-click of a session item. */
@@ -238,8 +246,10 @@ export interface IHarnessSessionMoveDetail {
238
246
  sessionId: string;
239
247
  /** Target group, or null for the ungrouped section. */
240
248
  groupId: string | null;
241
- /** Insertion index within the target section's current display order. */
249
+ /** Compatibility insertion index using the pre-drag order for same-section moves. */
242
250
  index: number;
251
+ /** Stable target anchor in the dragged-card-excluded order; absent means append. */
252
+ beforeSessionId?: string;
243
253
  }
244
254
 
245
255
  /** Detail of `harness-group-context`, fired on right-click of a group header. */