Address thread catalog review feedback

This commit is contained in:
Brent Traut
2026-06-24 11:19:36 -07:00
parent 961355389f
commit aea5bfcabf
12 changed files with 95 additions and 97 deletions
@@ -5094,6 +5094,20 @@
"preview": {
"type": "string"
},
"recencyAt": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"recencyAtMs": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"sessionId": {
"type": "string"
},
@@ -19664,6 +19664,20 @@
"preview": {
"type": "string"
},
"recencyAt": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"recencyAtMs": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"sessionId": {
"type": "string"
},
@@ -17443,6 +17443,20 @@
"preview": {
"type": "string"
},
"recencyAt": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"recencyAtMs": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"sessionId": {
"type": "string"
},
@@ -234,6 +234,20 @@
"preview": {
"type": "string"
},
"recencyAt": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"recencyAtMs": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"sessionId": {
"type": "string"
},
@@ -6,4 +6,4 @@ import type { GitInfo } from "./GitInfo";
import type { SessionSource } from "./SessionSource";
import type { ThreadSource } from "./ThreadSource";
export type ThreadSummary = { id: string, sessionId: string, forkedFromId: string | null, parentThreadId: string | null, preview: string, ephemeral: boolean, modelProvider: string, createdAt: number, createdAtMs: number, updatedAt: number, updatedAtMs: number, archivedAt: number | null, path: string | null, cwd: AbsolutePathBuf, cliVersion: string, source: SessionSource, threadSource: ThreadSource | null, agentNickname: string | null, agentRole: string | null, gitInfo: GitInfo | null, name: string | null, };
export type ThreadSummary = { id: string, sessionId: string, forkedFromId: string | null, parentThreadId: string | null, preview: string, ephemeral: boolean, modelProvider: string, createdAt: number, createdAtMs: number, updatedAt: number, updatedAtMs: number, recencyAt: bigint | null, recencyAtMs: number | null, archivedAt: number | null, path: string | null, cwd: AbsolutePathBuf, cliVersion: string, source: SessionSource, threadSource: ThreadSource | null, agentNickname: string | null, agentRole: string | null, gitInfo: GitInfo | null, name: string | null, };
@@ -212,6 +212,9 @@ pub struct ThreadSummary {
pub updated_at: i64,
#[ts(type = "number")]
pub updated_at_ms: i64,
pub recency_at: Option<i64>,
#[ts(type = "number | null")]
pub recency_at_ms: Option<i64>,
#[ts(type = "number | null")]
pub archived_at: Option<i64>,
pub path: Option<PathBuf>,