@ai-matrx/coding-sessions 0.3.0 → 0.3.2

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.
@@ -147,6 +147,8 @@ interface DiscoveredSession {
147
147
  archived?: boolean | undefined;
148
148
  /** A scheduled or automated run (hidden by default). */
149
149
  scheduled?: boolean | undefined;
150
+ /** The owner's index is loaded and the app does not list this chat, nor could a title be read (hidden by default). */
151
+ unlisted?: boolean | undefined;
150
152
  /** The app lists it but its conversation file is gone: why. Shown, cannot be taken over. */
151
153
  unavailable?: string | null | undefined;
152
154
  updatedAt: string;
@@ -147,6 +147,8 @@ interface DiscoveredSession {
147
147
  archived?: boolean | undefined;
148
148
  /** A scheduled or automated run (hidden by default). */
149
149
  scheduled?: boolean | undefined;
150
+ /** The owner's index is loaded and the app does not list this chat, nor could a title be read (hidden by default). */
151
+ unlisted?: boolean | undefined;
150
152
  /** The app lists it but its conversation file is gone: why. Shown, cannot be taken over. */
151
153
  unavailable?: string | null | undefined;
152
154
  updatedAt: string;
@@ -324,8 +324,8 @@ function discoveredEntry(d, prefs) {
324
324
  updatedAt: d.updatedAt,
325
325
  pinned: pref.pinned === true,
326
326
  // Archived chats and scheduled runs are hidden by default, as in Code › Chats; a pin shows them.
327
- hidden: pref.hidden === true || pref.pinned !== true && (d.archived === true || d.scheduled === true),
328
- hiddenBy: pref.hidden === true ? "you" : pref.pinned === true ? null : d.archived ? "archived" : d.scheduled ? "scheduled" : null,
327
+ hidden: pref.hidden === true || pref.pinned !== true && (d.archived === true || d.scheduled === true || d.unlisted === true),
328
+ hiddenBy: pref.hidden === true ? "you" : pref.pinned === true ? null : d.archived ? "archived" : d.scheduled ? "scheduled" : d.unlisted ? "unlisted" : null,
329
329
  session: null,
330
330
  discovered: d
331
331
  };