@aixle/insights 0.2.16-staging → 0.2.18-staging

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.
@@ -101,6 +101,7 @@ export interface ClaudePayload extends IngestPayload {
101
101
  total_tool_calls: number;
102
102
  message_ids?: string[];
103
103
  request_ids?: string[];
104
+ prompt_id?: string;
104
105
  };
105
106
  }
106
107
  /** Payload shape for derivative tool-use children (cost_usd: 0, no tokens). */
@@ -374,7 +374,7 @@ export async function parseTranscriptFile(filePath, verbose = false) {
374
374
  continue;
375
375
  if (!currentTurn || currentTurn.sessionId !== sessionId) {
376
376
  currentTurnIndex += 1;
377
- currentTurn = newTurn(sessionId, currentTurnIndex, filePath, fileSize, timestamp);
377
+ currentTurn = newTurn(sessionId, currentTurnIndex, filePath, fileSize, timestamp, promptId);
378
378
  }
379
379
  currentTurn.cwd = cwd ?? currentTurn.cwd;
380
380
  const usage = entry.message.usage;
@@ -454,6 +454,7 @@ export function mapTranscriptTurn(turn, options) {
454
454
  total_tool_calls: turn.totalToolCalls,
455
455
  message_ids: turn.messageIds.length > 0 ? turn.messageIds : undefined,
456
456
  request_ids: turn.requestIds.length > 0 ? turn.requestIds : undefined,
457
+ prompt_id: turn.promptId,
457
458
  },
458
459
  };
459
460
  if (turn.model)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aixle/insights",
3
- "version": "0.2.16-staging",
3
+ "version": "0.2.18-staging",
4
4
  "description": "stdio MCP server for AI coding-assistant telemetry — Claude transcript sync + Cursor SQLite ingest.",
5
5
  "type": "module",
6
6
  "bin": {