sidekick-shared 0.26.6 → 0.27.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.
@@ -41,6 +41,9 @@ function projectSessionTranscript(events, options = {}) {
41
41
  entrypoint: event.entrypoint,
42
42
  isMeta: event.isMeta,
43
43
  isSidechain: event.isSidechain,
44
+ ...(event.isCompactSummary !== undefined ? { isCompactSummary: event.isCompactSummary } : {}),
45
+ ...(event.origin?.kind !== undefined ? { originKind: event.origin.kind } : {}),
46
+ ...(event.promptSource !== undefined ? { promptSource: event.promptSource } : {}),
44
47
  originalRole: message?.role,
45
48
  eventIndex,
46
49
  eventType: event.type,
@@ -65,6 +65,14 @@ export interface SessionEventBase {
65
65
  isMeta?: boolean;
66
66
  /** Whether this is a subagent/sidechain event */
67
67
  isSidechain?: boolean;
68
+ /** Whether the provider marks this event as a compaction/continuation summary. */
69
+ isCompactSummary?: boolean;
70
+ /** Provider-reported prompt origin (Claude Code `origin.kind`, e.g. `human`, `task-notification`). */
71
+ origin?: {
72
+ kind?: string;
73
+ };
74
+ /** Provider-reported prompt source (Claude Code `promptSource`, e.g. `typed`, `system`). */
75
+ promptSource?: string;
68
76
  /** Provider-reported working directory for this event/session. */
69
77
  cwd?: string;
70
78
  /** Provider-reported git branch for this event/session. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sidekick-shared",
3
- "version": "0.26.6",
3
+ "version": "0.27.0",
4
4
  "description": "Shared data access layer for Sidekick — readers, types, providers, credentials, quota",
5
5
  "keywords": [
6
6
  "claude-code",