@vite-plugin-opencode-assistant/shared 1.0.43 → 1.0.45

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.
package/es/types.d.ts CHANGED
@@ -173,6 +173,8 @@ export interface SessionInfo {
173
173
  version: string;
174
174
  /** 会话 URL */
175
175
  url?: string;
176
+ /** 父会话 ID(subagent 会话才有) */
177
+ parentID?: string;
176
178
  /** 代码变更统计 */
177
179
  summary: {
178
180
  /** 新增行数 */
@@ -188,6 +190,8 @@ export interface SessionInfo {
188
190
  created: number;
189
191
  /** 更新时间戳 */
190
192
  updated: number;
193
+ /** 归档时间戳(已归档会话才有) */
194
+ archived?: number;
191
195
  };
192
196
  }
193
197
  /**
package/lib/types.d.ts CHANGED
@@ -173,6 +173,8 @@ export interface SessionInfo {
173
173
  version: string;
174
174
  /** 会话 URL */
175
175
  url?: string;
176
+ /** 父会话 ID(subagent 会话才有) */
177
+ parentID?: string;
176
178
  /** 代码变更统计 */
177
179
  summary: {
178
180
  /** 新增行数 */
@@ -188,6 +190,8 @@ export interface SessionInfo {
188
190
  created: number;
189
191
  /** 更新时间戳 */
190
192
  updated: number;
193
+ /** 归档时间戳(已归档会话才有) */
194
+ archived?: number;
191
195
  };
192
196
  }
193
197
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vite-plugin-opencode-assistant/shared",
3
- "version": "1.0.43",
3
+ "version": "1.0.45",
4
4
  "type": "module",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",