@opengeni/contracts 0.39.0 → 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.
- package/dist/{chunk-PCTCJEAF.js → chunk-5HR2GPSC.js} +3350 -3118
- package/dist/chunk-5HR2GPSC.js.map +1 -0
- package/dist/event-preview.d.ts +6 -6
- package/dist/google-drive.js +1 -1
- package/dist/index.d.ts +563 -17
- package/dist/index.js +53 -17
- package/dist/mcp-receipts.d.ts +96 -0
- package/dist/retained-output.d.ts +59 -6
- package/package.json +1 -1
- package/src/event-preview.ts +6 -6
- package/src/index.ts +289 -37
- package/src/mcp-receipts.ts +281 -0
- package/src/retained-output.ts +101 -8
- package/dist/chunk-PCTCJEAF.js.map +0 -1
- package/dist/secret-redaction.d.ts +0 -40
- package/src/secret-redaction.ts +0 -364
package/dist/event-preview.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Canonical bounded representation for
|
|
2
|
+
* Canonical bounded representation for explicit session-event previews.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
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
|
|
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.
|