@claude-transcripts/cli 0.7.0 → 0.7.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.
@@ -7,7 +7,7 @@ import {
7
7
  cliArgLabel,
8
8
  CLI_SPEC,
9
9
  COMMANDS
10
- } from "./cli-aj853mhz.js";
10
+ } from "./cli-wv3x4a04.js";
11
11
  import {
12
12
  __toESM,
13
13
  __commonJS,
@@ -3097,15 +3097,18 @@ class WebapiSink {
3097
3097
  return res.deleted;
3098
3098
  }
3099
3099
  async putSummary(doc) {
3100
- await ingestSummary(doc);
3100
+ await ingestSummary({ ...doc });
3101
3101
  }
3102
3102
  async putEvents(docs) {
3103
3103
  if (docs.length)
3104
3104
  await ingestEvents({ docs });
3105
3105
  }
3106
3106
  async putChunks(docs) {
3107
- if (docs.length)
3108
- await ingestChunks({ docs });
3107
+ if (!docs.length)
3108
+ return;
3109
+ await ingestChunks({
3110
+ docs: docs.map((d) => ({ ...d, entries: d.entries?.map((e) => ({ ...e })) }))
3111
+ });
3109
3112
  }
3110
3113
  async putTranscript(sessionId, bytes) {
3111
3114
  await putRaw(`/api/ingest/${encodeURIComponent(sessionId)}/transcript`, bytes, "application/x-ndjson");
@@ -3855,7 +3858,8 @@ exec fossil server "$@"
3855
3858
  "logging": {
3856
3859
  "chunk": { "maxEntriesPerChunk": 200, "flushIntervalMs": 15000 }
3857
3860
  },
3858
- "sessions": { "liveWindowMs": 86400000, "idleThresholdMs": 300000 }
3861
+ "sessions": { "liveWindowMs": 86400000, "idleThresholdMs": 300000 },
3862
+ "search": { "flushIntervalMs": 180000, "taskRetentionMs": 3600000 }
3859
3863
  },
3860
3864
  "couchdb": {
3861
3865
  "databases": {
package/dist/cli.js CHANGED
@@ -7,13 +7,13 @@ import {
7
7
  parseFlags,
8
8
  VERSION,
9
9
  COMMANDS
10
- } from "./cli-aj853mhz.js";
10
+ } from "./cli-wv3x4a04.js";
11
11
 
12
12
  // packages/cli/src/cli.tsx
13
13
  var [, , first, ...rest] = process.argv;
14
14
  var USAGE_ERROR = 2;
15
15
  async function showHelp(props, stream = process.stdout) {
16
- const { renderHelp } = await import("./app-vd6xf6z9.js");
16
+ const { renderHelp } = await import("./app-r8h0jf83.js");
17
17
  renderHelp(props, stream);
18
18
  }
19
19
  var argv = first === undefined ? [] : [first, ...rest];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-transcripts/cli",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "type": "module",
5
5
  "description": "Claude Transcripts CLI — browse, search, back up, and administer your self-hosted Claude Code session history.",
6
6
  "keywords": [