dsh-ws-recency 0.16.0 → 0.17.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.
Files changed (4) hide show
  1. package/README.md +3 -1
  2. package/client.js +105 -71
  3. package/index.js +114 -2
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -79,6 +79,8 @@ DSH 原生的置顶只把会话顶到**它所属工作区分组的第一行**,
79
79
 
80
80
  - 「恢复」:按记录的 cwd 算回 `sessions/<project>/<id>/`,并重新挂到对应工作区;
81
81
  - 「彻底删除」:真正删掉这份日志(二次确认);
82
+ - 每条记录是一张**卡片**:标题、来源(已删除 / 移动前的旧副本 / 已归档)、轮次、步骤、token 总量、日志大小、时间、原目录;
83
+ 已删除会话的标题与统计在删除时就写进 `.wsr-trash.json`,旧条目则在第一次打开面板时从日志里补算并缓存;
82
84
  - 恢复/扫描/移动之后宿主会广播 `api-session/added`;面板与「扫描并刷新」都能重载页面(不重启应用)让侧栏立刻看到改动;
83
85
  - 移动操作留下的旧副本会标成「移动时的旧副本」,只允许彻底删除。
84
86
 
@@ -152,7 +154,7 @@ dsh plugin --profile <profile> add github:chyxhtc/dsh-ws-recency
152
154
  或固定版本的预构建包:
153
155
 
154
156
  ```powershell
155
- dsh plugin --profile <profile> add https://github.com/chyxhtc/dsh-ws-recency/releases/download/v0.16.0/dsh-ws-recency-0.16.0.tgz
157
+ dsh plugin --profile <profile> add https://github.com/chyxhtc/dsh-ws-recency/releases/download/v0.17.0/dsh-ws-recency-0.17.0.tgz
156
158
  ```
157
159
 
158
160
  装完把 `dsh-ws-recency` 加进 `~/.hypers-work/profiles/<profile>/package.json` 的 `dsh.profile.bundles`,重启应用。
package/client.js CHANGED
@@ -143,7 +143,18 @@
143
143
  ".wsr-page-head{display:flex;align-items:center;gap:8px}",
144
144
  ".wsr-page-heading{flex:1;font-size:14px;font-weight:600;color:var(--dsw-alias-label-primary)}",
145
145
  ".wsr-page-list{display:flex;flex-direction:column;gap:6px}",
146
- ".wsr-page-row{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:8px;background:var(--dsw-alias-bg-layer-2,rgba(255,255,255,.04))}",
146
+ ".wsr-page-row{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:8px;background:var(--dsw-alias-bg-layer-2,rgba(255,255,255,.04))}",
147
+ ".wsr-card{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border:.5px solid var(--dsw-alias-border-l1,rgba(255,255,255,.08));border-radius:10px;background:var(--dsw-alias-bg-layer-2,rgba(255,255,255,.04))}",
148
+ ".wsr-card-head{display:flex;align-items:center;gap:10px;min-width:0}",
149
+ ".wsr-card-badge{flex:none;font-size:11px;line-height:18px;padding:0 8px;border-radius:9px;background:var(--dsw-alias-bg-layer-3,rgba(255,255,255,.08));color:var(--dsw-alias-label-secondary)}",
150
+ ".wsr-card-badge-danger{color:var(--dsw-alias-state-error-primary,#d9534f);background:color-mix(in srgb,var(--dsw-alias-state-error-primary,#d9534f) 14%,transparent)}",
151
+ ".wsr-card-badge-muted{color:var(--dsw-alias-label-tertiary)}",
152
+ ".wsr-card-title{flex:1;min-width:0;font-size:13px;font-weight:500;color:var(--dsw-alias-label-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}",
153
+ ".wsr-card-title-id{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:var(--dsw-alias-label-tertiary)}",
154
+ ".wsr-card-actions{flex:none;display:flex;gap:6px;align-items:center;white-space:nowrap}",
155
+ ".wsr-chips{display:flex;flex-wrap:wrap;gap:6px}",
156
+ ".wsr-chip{font-size:11px;line-height:18px;padding:0 7px;border-radius:9px;background:var(--dsw-alias-bg-layer-3,rgba(255,255,255,.06));color:var(--dsw-alias-label-tertiary);font-variant-numeric:tabular-nums}",
157
+ ".wsr-card-path{font-size:11px;color:var(--dsw-alias-label-tertiary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}",
147
158
  ".wsr-page-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}",
148
159
  ".wsr-page-title{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}",
149
160
  ".wsr-page-meta{font-size:11px;color:var(--dsw-alias-label-tertiary)}",
@@ -283,6 +294,8 @@
283
294
  "trash.working": "处理中…",
284
295
  "trash.failed": "操作失败:",
285
296
  "trash.note": "回收站里的都是完整日志目录;恢复会按记录的 cwd 放回 sessions/<项目> 并重新挂到对应工作区。",
297
+ "trash.turns": "轮次",
298
+ "trash.steps": "步骤",
286
299
  "trash.section.trash": "已删除的会话",
287
300
  "trash.section.archived": "已归档的会话",
288
301
  "archive.description": "归档是宿主的「视图选项 → 仅显示已归档」那一套:会话被隐藏,但日志仍在 sessions/ 里,原工作区的槽位也保留着。这里可以取消归档、移入回收站,或者彻底删除。",
@@ -298,6 +311,7 @@
298
311
  "archive.forgotten": "已彻底删除。",
299
312
  "archive.failed": "归档操作失败:",
300
313
  "archive.noWorkspace": "(它原来的目录现在没有对应的工作区,需要先建一个同名工作区才能看到它)",
314
+ "archive.badge": "已归档",
301
315
  "archive.blank": "空白草稿",
302
316
  "archive.workspace": "工作区",
303
317
  "move.failed": "移动失败:",
@@ -386,6 +400,8 @@
386
400
  "trash.working": "Working\u2026",
387
401
  "trash.failed": "Action failed: ",
388
402
  "trash.note": "Every entry is a complete log directory; restoring puts it back under sessions/<project> using the recorded cwd and re-attaches it.",
403
+ "trash.turns": "turns",
404
+ "trash.steps": "steps",
389
405
  "trash.section.trash": "Deleted sessions",
390
406
  "trash.section.archived": "Archived sessions",
391
407
  "archive.description": "Archiving is the Host's own view filter (\"Show archived only\"): the session is hidden, but its log stays under sessions/ and its workspace still holds its slot. Unarchive it here, move it into the trash, or delete it for good.",
@@ -2096,6 +2112,27 @@
2096
2112
  * Host's archive set (hidden sessions whose logs are still in place)
2097
2113
  * below. Both are "put away", so both are managed from here.
2098
2114
  */
2115
+ /** One entry as a card: badge, title, the numbers that matter, and actions. */
2116
+ function entryCard(options) {
2117
+ return h("div", { className: "wsr-card", key: options.key, title: options.titleAttr || "" },
2118
+ h("div", { className: "wsr-card-head" },
2119
+ options.badge !== null && options.badge !== undefined
2120
+ ? h("span", { className: "wsr-card-badge " + (options.badgeClass || "") }, options.badge)
2121
+ : null,
2122
+ h("div", { className: options.titleClass || "wsr-card-title" }, options.title),
2123
+ h("div", { className: "wsr-card-actions" }, options.actions),
2124
+ ),
2125
+ options.chips.length > 0
2126
+ ? h("div", { className: "wsr-chips" }, options.chips.map(function (text, index) {
2127
+ return h("span", { className: "wsr-chip", key: String(index) }, text);
2128
+ }))
2129
+ : null,
2130
+ typeof options.path === "string" && options.path !== ""
2131
+ ? h("div", { className: "wsr-card-path" }, options.path)
2132
+ : null,
2133
+ );
2134
+ }
2135
+
2099
2136
  function TrashPanelPage() {
2100
2137
  var state = react.useState({ loaded: false, entries: [], archived: [], note: "", failed: "" });
2101
2138
  var view = state[0];
@@ -2168,76 +2205,73 @@
2168
2205
  });
2169
2206
  };
2170
2207
 
2171
- var rows = [];
2172
- for (var i = 0; i < view.entries.length; i += 1) {
2173
- (function (entry) {
2174
- var meta = [];
2175
- if (entry.reason === "delete") meta.push(t("trash.reason.delete"));
2176
- else if (entry.reason === "move") meta.push(t("trash.reason.move"));
2177
- meta.push(formatBytes(entry.sizeBytes));
2178
- var when = formatWhen(entry.at);
2179
- if (when !== "") meta.push(when);
2180
- var actions = [h("button", {
2181
- type: "button",
2182
- className: "wsr-btn",
2183
- onClick: function () { act(entry, "restore"); },
2184
- }, t("trash.restore"))].filter(function () { return entry.restorable === true; });
2185
- actions.push(h("button", {
2186
- type: "button",
2187
- className: "wsr-btn wsr-btn-danger",
2188
- onClick: function () { act(entry, "purge"); },
2189
- }, t("trash.purge")));
2190
- rows.push(h("div", { className: "wsr-page-row", key: entry.name },
2191
- h("div", { className: "wsr-page-text" },
2192
- h("div", { className: "wsr-page-title" }, entry.sessionId === null ? entry.name : entry.sessionId),
2193
- h("div", { className: "wsr-page-meta" }, meta.join(" \u00b7 ")),
2194
- typeof entry.cwd === "string" && entry.cwd !== "" ? h("div", { className: "wsr-page-path" }, entry.cwd) : null,
2195
- ),
2196
- h("div", { className: "wsr-page-actions" }, actions),
2197
- ));
2198
- })(view.entries[i]);
2199
- }
2200
-
2201
- var archivedRows = [];
2202
- var archivedList = Array.isArray(view.archived) ? view.archived : [];
2203
- for (var j = 0; j < archivedList.length; j += 1) {
2204
- (function (entry) {
2205
- var meta = [];
2206
- if (entry.blank === true) meta.push(t("archive.blank"));
2207
- if (typeof entry.workspacePath === "string" && entry.workspacePath !== "") meta.push(entry.workspacePath);
2208
- meta.push(formatBytes(entry.sizeBytes));
2209
- var when = formatWhen(entry.lastAt !== 0 ? entry.lastAt : entry.createdAt);
2210
- if (when !== "") meta.push(when);
2211
- var label = typeof entry.title === "string" && entry.title !== "" ? entry.title : entry.sessionId;
2212
- archivedRows.push(h("div", { className: "wsr-page-row", key: entry.sessionId },
2213
- h("div", { className: "wsr-page-text" },
2214
- h("div", {
2215
- className: typeof entry.title === "string" && entry.title !== "" ? "wsr-page-title" : "wsr-page-title wsr-page-title-blank",
2216
- }, label),
2217
- h("div", { className: "wsr-page-meta" }, meta.join(" \u00b7 ")),
2218
- typeof entry.cwd === "string" && entry.cwd !== "" ? h("div", { className: "wsr-page-path" }, entry.cwd) : null,
2219
- ),
2220
- h("div", { className: "wsr-page-actions" },
2221
- h("button", {
2222
- type: "button",
2223
- className: "wsr-btn",
2224
- onClick: function () { actArchived(entry, "unarchive"); },
2225
- }, t("archive.unarchive")),
2226
- h("button", {
2227
- type: "button",
2228
- className: "wsr-btn",
2229
- onClick: function () { actArchived(entry, "delete"); },
2230
- }, t("archive.delete")),
2231
- h("button", {
2232
- type: "button",
2233
- className: "wsr-btn wsr-btn-danger",
2234
- onClick: function () { actArchived(entry, "forget"); },
2235
- }, t("archive.forget")),
2236
- ),
2237
- ));
2238
- })(archivedList[j]);
2239
- }
2240
-
2208
+ var rows = [];
2209
+ for (var i = 0; i < view.entries.length; i += 1) {
2210
+ (function (entry) {
2211
+ var chips = [];
2212
+ if (entry.turns > 0) chips.push(t("trash.turns") + " " + entry.turns);
2213
+ if (entry.steps > 0) chips.push(t("trash.steps") + " " + entry.steps);
2214
+ if (entry.tokens > 0) chips.push(formatTokens(entry.tokens) + " tokens");
2215
+ chips.push(formatBytes(entry.sizeBytes));
2216
+ var when = formatWhen(entry.at);
2217
+ if (when !== "") chips.push(when);
2218
+ var actions = [];
2219
+ if (entry.restorable === true) {
2220
+ actions.push(h("button", {
2221
+ type: "button",
2222
+ className: "wsr-btn",
2223
+ onClick: function () { act(entry, "restore"); },
2224
+ }, t("trash.restore")));
2225
+ }
2226
+ actions.push(h("button", {
2227
+ type: "button",
2228
+ className: "wsr-btn wsr-btn-danger",
2229
+ onClick: function () { act(entry, "purge"); },
2230
+ }, t("trash.purge")));
2231
+ var hasTitle = typeof entry.title === "string" && entry.title !== "";
2232
+ rows.push(entryCard({
2233
+ key: entry.name,
2234
+ badge: entry.reason === "move" ? t("trash.reason.move") : t("trash.reason.delete"),
2235
+ badgeClass: entry.reason === "move" ? "wsr-card-badge-muted" : "wsr-card-badge-danger",
2236
+ titleClass: hasTitle ? "wsr-card-title" : "wsr-card-title wsr-card-title-id",
2237
+ title: hasTitle ? entry.title : (entry.sessionId === null ? entry.name : entry.sessionId),
2238
+ titleAttr: entry.sessionId === null ? entry.name : entry.sessionId,
2239
+ chips: chips,
2240
+ path: entry.cwd,
2241
+ actions: actions,
2242
+ }));
2243
+ })(view.entries[i]);
2244
+ }
2245
+
2246
+ var archivedRows = [];
2247
+ var archivedList = Array.isArray(view.archived) ? view.archived : [];
2248
+ for (var j = 0; j < archivedList.length; j += 1) {
2249
+ (function (entry) {
2250
+ var chips = [];
2251
+ if (entry.turns > 0) chips.push(t("trash.turns") + " " + entry.turns);
2252
+ chips.push(formatBytes(entry.sizeBytes));
2253
+ var when = formatWhen(entry.lastAt !== 0 ? entry.lastAt : entry.createdAt);
2254
+ if (when !== "") chips.push(when);
2255
+ if (entry.blank === true) chips.push(t("archive.blank"));
2256
+ var hasTitle = typeof entry.title === "string" && entry.title !== "";
2257
+ archivedRows.push(entryCard({
2258
+ key: entry.sessionId,
2259
+ badge: t("archive.badge"),
2260
+ badgeClass: "wsr-card-badge-muted",
2261
+ titleClass: hasTitle ? "wsr-card-title" : "wsr-card-title wsr-card-title-id",
2262
+ title: hasTitle ? entry.title : entry.sessionId,
2263
+ titleAttr: entry.sessionId,
2264
+ chips: chips,
2265
+ path: typeof entry.workspacePath === "string" && entry.workspacePath !== "" ? entry.workspacePath : entry.cwd,
2266
+ actions: [
2267
+ h("button", { type: "button", className: "wsr-btn", onClick: function () { actArchived(entry, "unarchive"); } }, t("archive.unarchive")),
2268
+ h("button", { type: "button", className: "wsr-btn", onClick: function () { actArchived(entry, "delete"); } }, t("archive.delete")),
2269
+ h("button", { type: "button", className: "wsr-btn wsr-btn-danger", onClick: function () { actArchived(entry, "forget"); } }, t("archive.forget")),
2270
+ ],
2271
+ }));
2272
+ })(archivedList[j]);
2273
+ }
2274
+
2241
2275
  var archiveSection = view.archived === null ? null : [
2242
2276
  h("div", { className: "wsr-page-section", key: "archive-head" },
2243
2277
  h("span", null, t("trash.section.archived")),
package/index.js CHANGED
@@ -25,13 +25,14 @@
25
25
  * @module dsh-ws-recency
26
26
  */
27
27
  import { mkdir, readFile, readdir, rename, rm, stat as statPath, writeFile } from "node:fs/promises";
28
+ import zlib from "node:zlib";
28
29
  import { dirname, join } from "node:path";
29
30
 
30
31
  /** Cordis plugin name shown by the loader. */
31
32
  export const name = "ws-recency";
32
33
 
33
34
  /** Version marker reported by the health route. */
34
- export const HOST_VERSION = "0.16.0";
35
+ export const HOST_VERSION = "0.17.0";
35
36
 
36
37
  /**
37
38
  * Exact routes the client half calls. Registered on the bare web server, so they
@@ -212,7 +213,16 @@ export async function trashSession(ctx, sessionId) {
212
213
  try {
213
214
  moved = await trashSessionLog(ctx, meta, trashRoot);
214
215
  if (moved !== undefined) {
215
- await writeTrashSidecar(moved, { sessionId: meta.id, cwd: typeof meta.cwd === "string" ? meta.cwd : null, reason: "delete", at: Date.now() });
216
+ /* Card facts are captured now, while the log is still on this machine:
217
+ the list only has to read the sidecar afterwards. */
218
+ const card = await trashEntryMetadata(moved);
219
+ await writeTrashSidecar(moved, {
220
+ sessionId: meta.id,
221
+ cwd: typeof meta.cwd === "string" ? meta.cwd : null,
222
+ reason: "delete",
223
+ at: Date.now(),
224
+ ...(card === null ? {} : { meta: card }),
225
+ });
216
226
  }
217
227
  } catch (error) {
218
228
  return { ok: false, error: error instanceof Error ? error.message : String(error) };
@@ -826,6 +836,85 @@ async function readTrashSidecar(directory) {
826
836
  }
827
837
  }
828
838
 
839
+ /** The one log file a session directory holds. */
840
+ const SESSION_LOG = "session.v4.jsonl.zstd";
841
+
842
+ /** zstd frame magic: every append is its own frame, so a log must be split on it. */
843
+ const ZSTD_MAGIC = Buffer.from([0x28, 0xb5, 0x2f, 0xfd]);
844
+
845
+ /**
846
+ * Read a session log that is no longer reachable through the persistence service.
847
+ *
848
+ * A trashed log sits outside `sessions/`, so the Host's own reader cannot open
849
+ * it; the frames are decompressed directly with the bundled zstd support (Node
850
+ * 22.15 and newer). Without it the caller keeps the id-only card.
851
+ */
852
+ async function readLogEvents(file) {
853
+ if (typeof zlib.zstdDecompressSync !== "function") return null;
854
+ const buffer = await readFile(file);
855
+ const offsets = [];
856
+ let index = buffer.indexOf(ZSTD_MAGIC, 0);
857
+ while (index !== -1) {
858
+ offsets.push(index);
859
+ index = buffer.indexOf(ZSTD_MAGIC, index + ZSTD_MAGIC.length);
860
+ }
861
+ if (offsets.length === 0) return null;
862
+ const parts = [];
863
+ for (let frame = 0; frame < offsets.length; frame += 1) {
864
+ const end = frame + 1 < offsets.length ? offsets[frame + 1] : buffer.length;
865
+ try {
866
+ parts.push(zlib.zstdDecompressSync(buffer.subarray(offsets[frame], end)));
867
+ } catch {
868
+ /* a torn tail frame is normal after a crash */
869
+ }
870
+ }
871
+ const text = Buffer.concat(parts).toString("utf8");
872
+ const events = [];
873
+ for (const line of text.split("\n")) {
874
+ if (line === "") continue;
875
+ try {
876
+ events.push(JSON.parse(line));
877
+ } catch {
878
+ /* skip a partial line */
879
+ }
880
+ }
881
+ return events;
882
+ }
883
+
884
+ /**
885
+ * The card facts for a trashed session: title, turns, steps and recorded tokens.
886
+ * @param directory - one entry of the trash root.
887
+ * @returns metadata, or null when the log cannot be read here.
888
+ */
889
+ export async function trashEntryMetadata(directory) {
890
+ let events;
891
+ try {
892
+ events = await readLogEvents(join(directory, SESSION_LOG));
893
+ } catch {
894
+ return null;
895
+ }
896
+ if (events === null || events.length === 0) return null;
897
+ const summary = aggregateSession(events);
898
+ let turns = 0;
899
+ let messages = 0;
900
+ for (const event of events) {
901
+ if (event === null || typeof event !== "object") continue;
902
+ if (event.type === "turn/start") turns += 1;
903
+ if (event.type === "user/message") messages += 1;
904
+ }
905
+ if (turns === 0) turns = messages;
906
+ return {
907
+ title: typeof summary.session.title === "string" ? summary.session.title : "",
908
+ turns,
909
+ messages,
910
+ steps: summary.steps,
911
+ tokens: summary.totals.totalTokens,
912
+ inputTokens: summary.totals.inputTokens,
913
+ outputTokens: summary.totals.outputTokens,
914
+ lastAt: summary.session.lastAt,
915
+ };
916
+ }
917
+
829
918
  /** Every entry in the plugin's trash, newest first. */
830
919
  export async function listTrash() {
831
920
  const root = await trashRoot();
@@ -853,9 +942,29 @@ export async function listTrash() {
853
942
  } catch {
854
943
  /* skip unreadable directories */
855
944
  }
945
+ let meta = sidecar !== null && sidecar.meta !== null && typeof sidecar.meta === "object" ? sidecar.meta : null;
946
+ if (meta === null) {
947
+ /* One decode per entry, then cached in its sidecar so the list stays cheap. */
948
+ const computed = await trashEntryMetadata(directory);
949
+ if (computed !== null) {
950
+ meta = computed;
951
+ await writeTrashSidecar(directory, {
952
+ sessionId: sidecar !== null && typeof sidecar.sessionId === "string" ? sidecar.sessionId : null,
953
+ cwd: sidecar !== null && typeof sidecar.cwd === "string" ? sidecar.cwd : null,
954
+ reason: sidecar !== null && typeof sidecar.reason === "string" ? sidecar.reason : "unknown",
955
+ at: sidecar !== null && typeof sidecar.at === "number" ? sidecar.at : 0,
956
+ meta: computed,
957
+ });
958
+ }
959
+ }
856
960
  results.push({
857
961
  name: entry.name,
858
962
  sizeBytes: size,
963
+ title: meta !== null && typeof meta.title === "string" ? meta.title : "",
964
+ turns: meta !== null && typeof meta.turns === "number" ? meta.turns : 0,
965
+ steps: meta !== null && typeof meta.steps === "number" ? meta.steps : 0,
966
+ tokens: meta !== null && typeof meta.tokens === "number" ? meta.tokens : 0,
967
+ lastAt: meta !== null && typeof meta.lastAt === "number" ? meta.lastAt : 0,
859
968
  sessionId: sidecar !== null && typeof sidecar.sessionId === "string" ? sidecar.sessionId : null,
860
969
  cwd: sidecar !== null && typeof sidecar.cwd === "string" ? sidecar.cwd : null,
861
970
  reason: sidecar !== null && typeof sidecar.reason === "string" ? sidecar.reason : "unknown",
@@ -1074,6 +1183,8 @@ export async function listArchivedSessions(ctx) {
1074
1183
  /* Last resort: the cache may have no record for this session at all. */
1075
1184
  if (title === "") title = await titleFromLog(ctx, sessionId);
1076
1185
 
1186
+ const outlineTurns = checkpointValue(checkpoint, "turnOutline");
1187
+ const turns = Array.isArray(outlineTurns?.turns) ? outlineTurns.turns.length : 0;
1077
1188
  const listMeta = checkpointValue(checkpoint, "sessionListMetadata");
1078
1189
  let lastAt = typeof listMeta?.lastPromptAt === "number" ? listMeta.lastPromptAt : 0;
1079
1190
  if (lastAt === 0 && typeof header?.updatedAt === "number") lastAt = header.updatedAt;
@@ -1086,6 +1197,7 @@ export async function listArchivedSessions(ctx) {
1086
1197
  entries.push({
1087
1198
  sessionId,
1088
1199
  title,
1200
+ turns,
1089
1201
  cwd,
1090
1202
  createdAt: typeof header?.createdAt === "number" ? header.createdAt : 0,
1091
1203
  lastAt,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-ws-recency",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "Sidebar session management for DeepSeek Harness: workspace groups sorted by latest activity, stale history folded, a global pinned section, follow-up marks, session delete into a recoverable trash, archived sessions managed from that same trash panel, per-session token statistics with an argument/result split and an option to count tool arguments as the agent's writing, and moving a session to another workspace.",
5
5
  "license": "MIT",
6
6
  "author": "chyxhtc",