@opengeni/contracts 0.38.3 → 0.40.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.
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Canonical bounded representation for `session_events.payload`.
2
+ * Canonical bounded representation for explicit session-event previews.
3
3
  *
4
- * Session events are the lossy human/audit projection, not model memory and not
5
- * an evidence blob store. This helper keeps that projection useful while making
6
- * the loss explicit. It deliberately has no server-only dependency so the DB,
7
- * realtime transports, SDK/React, and tests can share one wire contract.
4
+ * Canonical session-event payloads are stored in full. This helper derives a
5
+ * bounded monitoring/public projection without writing that projection back
6
+ * over canonical data. It deliberately has no server-only dependency so the
7
+ * DB, realtime transports, SDK/React, and tests can share one wire contract.
8
8
  */
9
9
  import { type RetainedOutputEvidence } from "./retained-output";
10
10
  export declare const SESSION_EVENT_PAYLOAD_MAX_BYTES: number;
@@ -69,7 +69,7 @@ export declare function sessionEventMediaPreviewFromDataUrl(value: string): Sess
69
69
  /** Read explicit truncation metadata from a bounded object payload. */
70
70
  export declare function sessionEventPayloadTruncation(payload: unknown): SessionEventPayloadTruncation | null;
71
71
  /**
72
- * Return a byte-bounded audit payload. Unchanged ordinary payloads retain their
72
+ * Return a byte-bounded preview payload. Unchanged ordinary payloads retain their
73
73
  * reference. Oversized strings/containers get deterministic head+tail previews;
74
74
  * inline images/binary values become metadata because `session_events` does not
75
75
  * durably retain their source bytes as independently retrievable evidence.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ConnectionMetadata
3
- } from "./chunk-ZNH72ZGW.js";
3
+ } from "./chunk-5HR2GPSC.js";
4
4
  import {
5
5
  ConnectorDocumentDestination,
6
6
  ConnectorDocumentDestinationSelection