@q9labsai/chalk-client 4.1.17 → 5.0.1
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/README.md +60 -42
- package/dist/access/grant.d.ts +0 -10
- package/dist/access/grant.d.ts.map +1 -1
- package/dist/access/manager.d.ts.map +1 -1
- package/dist/{chunk-ZRMGKMX4.js → chunk-2HJIJVE2.js} +552 -3651
- package/dist/{chunk-CZUJNAUI.js → chunk-AVXJ4HQU.js} +142 -49
- package/dist/{chunk-A7BVZEFM.js → chunk-CMVO7USN.js} +2 -8
- package/dist/{chunk-AUQTQOLR.js → chunk-IPAN4LUZ.js} +627 -2434
- package/dist/{chunk-2DZUHV6I.js → chunk-O2NOZKJP.js} +129 -721
- package/dist/client.d.ts +2559 -5303
- package/dist/client.d.ts.map +1 -1
- package/dist/collaboration/types.d.ts +21 -1
- package/dist/collaboration/types.d.ts.map +1 -1
- package/dist/collaboration/wire.d.ts +8 -1
- package/dist/collaboration/wire.d.ts.map +1 -1
- package/dist/connection/dependencies.d.ts +7 -13
- package/dist/connection/dependencies.d.ts.map +1 -1
- package/dist/connection/index.d.ts +1 -6
- package/dist/connection/index.d.ts.map +1 -1
- package/dist/connection/lifecycle.d.ts.map +1 -1
- package/dist/connection/media-devices.d.ts +11 -0
- package/dist/connection/media-devices.d.ts.map +1 -1
- package/dist/connection/production.d.ts +1 -1
- package/dist/connection/production.d.ts.map +1 -1
- package/dist/connection/types.d.ts +4 -4
- package/dist/connection/types.d.ts.map +1 -1
- package/dist/effect.d.ts +0 -4
- package/dist/effect.d.ts.map +1 -1
- package/dist/effect.js +53 -776
- package/dist/generated/http-api.d.ts +2603 -5293
- package/dist/generated/http-api.d.ts.map +1 -1
- package/dist/generated/schemas.d.ts +1893 -6870
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/sync.d.ts +191 -28
- package/dist/generated/sync.d.ts.map +1 -1
- package/dist/generated/whiteboard-v1.d.ts +0 -7
- package/dist/generated/whiteboard-v1.d.ts.map +1 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -119
- package/dist/media/client.d.ts +6 -5
- package/dist/media/client.d.ts.map +1 -1
- package/dist/media/index.d.ts +1 -2
- package/dist/media/index.d.ts.map +1 -1
- package/dist/media/index.js +1 -7
- package/dist/media/plane.d.ts +12 -1
- package/dist/media/plane.d.ts.map +1 -1
- package/dist/media/target.d.ts +4 -2
- package/dist/media/target.d.ts.map +1 -1
- package/dist/media/tracks.d.ts +2 -2
- package/dist/media/tracks.d.ts.map +1 -1
- package/dist/media/transport.d.ts.map +1 -1
- package/dist/media/types.d.ts +4 -11
- package/dist/media/types.d.ts.map +1 -1
- package/dist/public-invites/client.d.ts.map +1 -1
- package/dist/public-invites/index.d.ts +2 -2
- package/dist/public-invites/index.d.ts.map +1 -1
- package/dist/public-invites/index.js +2 -5
- package/dist/public-invites/types.d.ts +2 -6
- package/dist/public-invites/types.d.ts.map +1 -1
- package/dist/server/client.d.ts.map +1 -1
- package/dist/server/index.cjs +12 -112
- package/dist/server/index.d.cts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +9 -109
- package/dist/server/types.d.cts +0 -7
- package/dist/server/types.d.ts +0 -7
- package/dist/server/types.d.ts.map +1 -1
- package/dist/space-client/chat-controller-helpers.d.ts.map +1 -1
- package/dist/space-client/chat-controller.d.ts +2 -3
- package/dist/space-client/chat-controller.d.ts.map +1 -1
- package/dist/space-client/controller-effects.d.ts +0 -3
- package/dist/space-client/controller-effects.d.ts.map +1 -1
- package/dist/space-client/core.d.ts +3 -18
- package/dist/space-client/core.d.ts.map +1 -1
- package/dist/space-client/core.test.helpers.d.ts.map +1 -1
- package/dist/space-client/effect.d.ts +0 -2
- package/dist/space-client/effect.d.ts.map +1 -1
- package/dist/space-client/index.d.ts +1 -2
- package/dist/space-client/index.d.ts.map +1 -1
- package/dist/space-client/media-controller.d.ts +4 -4
- package/dist/space-client/media-controller.d.ts.map +1 -1
- package/dist/space-client/offline-actions-storage.d.ts +18 -3
- package/dist/space-client/offline-actions-storage.d.ts.map +1 -1
- package/dist/space-client/offline-actions.d.ts +1 -0
- package/dist/space-client/offline-actions.d.ts.map +1 -1
- package/dist/space-client/participants-controller.d.ts +2 -3
- package/dist/space-client/participants-controller.d.ts.map +1 -1
- package/dist/space-client/reactions-controller.d.ts +2 -3
- package/dist/space-client/reactions-controller.d.ts.map +1 -1
- package/dist/space-client/recording-controller.d.ts +2 -3
- package/dist/space-client/recording-controller.d.ts.map +1 -1
- package/dist/space-client/space-client.d.ts.map +1 -1
- package/dist/space-client/store.d.ts.map +1 -1
- package/dist/space-client/terminal.test.helpers.d.ts +33 -12
- package/dist/space-client/terminal.test.helpers.d.ts.map +1 -1
- package/dist/space-client/types.d.ts +15 -8
- package/dist/space-client/types.d.ts.map +1 -1
- package/dist/sync/index.d.ts +1 -1
- package/dist/sync/index.d.ts.map +1 -1
- package/dist/sync/index.js +1 -3
- package/dist/sync/v1-client.d.ts +4 -3
- package/dist/sync/v1-client.d.ts.map +1 -1
- package/dist/sync/v1-collaboration-state.d.ts +10 -3
- package/dist/sync/v1-collaboration-state.d.ts.map +1 -1
- package/dist/sync/v1-types.d.ts +10 -9
- package/dist/sync/v1-types.d.ts.map +1 -1
- package/dist/whiteboard/file-download-transport.d.ts +8 -0
- package/dist/whiteboard/file-download-transport.d.ts.map +1 -0
- package/dist/whiteboard/index.d.ts +1 -1
- package/dist/whiteboard/index.d.ts.map +1 -1
- package/dist/whiteboard/types.d.ts +12 -15
- package/dist/whiteboard/types.d.ts.map +1 -1
- package/dist/whiteboard/v1-client.d.ts.map +1 -1
- package/package.json +4 -16
- package/dist/access/episode-diagnostic-credential.d.ts +0 -11
- package/dist/access/episode-diagnostic-credential.d.ts.map +0 -1
- package/dist/chunk-EWTITNJ3.js +0 -1163
- package/dist/chunk-HW5TTZL2.js +0 -99
- package/dist/chunk-PBSYXPNJ.js +0 -23
- package/dist/chunk-RCDXIDCN.js +0 -33
- package/dist/connection/snapshot.d.ts +0 -23
- package/dist/connection/snapshot.d.ts.map +0 -1
- package/dist/feedback/collector.d.ts +0 -14
- package/dist/feedback/collector.d.ts.map +0 -1
- package/dist/feedback/context.d.ts +0 -38
- package/dist/feedback/context.d.ts.map +0 -1
- package/dist/feedback/controller.d.ts +0 -4
- package/dist/feedback/controller.d.ts.map +0 -1
- package/dist/feedback/index.d.ts +0 -7
- package/dist/feedback/index.d.ts.map +0 -1
- package/dist/feedback/transport.d.ts +0 -29
- package/dist/feedback/transport.d.ts.map +0 -1
- package/dist/feedback/types.d.ts +0 -202
- package/dist/feedback/types.d.ts.map +0 -1
- package/dist/feedback/validation.d.ts +0 -30
- package/dist/feedback/validation.d.ts.map +0 -1
- package/dist/media/rtk.d.ts +0 -101
- package/dist/media/rtk.d.ts.map +0 -1
- package/dist/space-client/episode-diagnostic-registry.d.ts +0 -13
- package/dist/space-client/episode-diagnostic-registry.d.ts.map +0 -1
- package/dist/space-client/episode-diagnostic-render-registry.d.ts +0 -4
- package/dist/space-client/episode-diagnostic-render-registry.d.ts.map +0 -1
- package/dist/space-client/episode-diagnostic-runtime.d.ts +0 -105
- package/dist/space-client/episode-diagnostic-runtime.d.ts.map +0 -1
- package/dist/telemetry/attributes.d.ts +0 -7
- package/dist/telemetry/attributes.d.ts.map +0 -1
- package/dist/telemetry/client.d.ts +0 -44
- package/dist/telemetry/client.d.ts.map +0 -1
- package/dist/telemetry/delivery.d.ts +0 -107
- package/dist/telemetry/delivery.d.ts.map +0 -1
- package/dist/telemetry/exporter.d.ts +0 -38
- package/dist/telemetry/exporter.d.ts.map +0 -1
- package/dist/telemetry/index.d.ts +0 -7
- package/dist/telemetry/index.d.ts.map +0 -1
- package/dist/telemetry/index.js +0 -50
- package/dist/telemetry/journey.d.ts +0 -52
- package/dist/telemetry/journey.d.ts.map +0 -1
- package/dist/telemetry/random.d.ts +0 -18
- package/dist/telemetry/random.d.ts.map +0 -1
- package/dist/telemetry/reconnect.d.ts +0 -7
- package/dist/telemetry/reconnect.d.ts.map +0 -1
- package/dist/telemetry/rtc.d.ts +0 -41
- package/dist/telemetry/rtc.d.ts.map +0 -1
- package/dist/telemetry/storage.d.ts +0 -22
- package/dist/telemetry/storage.d.ts.map +0 -1
- package/dist/telemetry/sync.d.ts +0 -10
- package/dist/telemetry/sync.d.ts.map +0 -1
- package/dist/telemetry/test-support.d.ts +0 -51
- package/dist/telemetry/test-support.d.ts.map +0 -1
- package/dist/telemetry/trace.d.ts +0 -18
- package/dist/telemetry/trace.d.ts.map +0 -1
- package/dist/telemetry/types.d.ts +0 -109
- package/dist/telemetry/types.d.ts.map +0 -1
- package/dist/whiteboard/file-http-transport.d.ts +0 -9
- package/dist/whiteboard/file-http-transport.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"random.d.ts","sourceRoot":"","sources":["../../src/telemetry/random.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,OAAO,EAAU,KAAK,EAAU,MAAM,QAAQ,CAAC;AAE/D,KAAK,eAAe,GAAG;IACrB,QAAQ,CAAC,aAAa,EAAE,MAAM,MAAM,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,UAAU,EAAE,MAAM,MAAM,CAAC;IAClC,QAAQ,CAAC,GAAG,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,MAAM,CAAC;CACpD,CAAC;;AAEF,qBAAa,2BAA4B,SAAQ,gCAA6G;CAAG;AAEjK,qGAAqG;AACrG,eAAO,MAAM,6BAA6B,SAAU,MAAM,IAAI,2DAY3D,CAAC;AAEJ,wBAAgB,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,GAAE,eAA+C,GAAG,MAAM,CAE7G;AAED,wBAAgB,UAAU,CAAC,MAAM,GAAE,eAA+C,GAAG,MAAM,CAM1F"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { DiagnosticObservation } from "./journey";
|
|
2
|
-
import type { TelemetryAttributes } from "./types";
|
|
3
|
-
export type ReconnectRecorder = (observation: DiagnosticObservation) => void;
|
|
4
|
-
export declare function recordReconnect(recorder: ReconnectRecorder | undefined, step: string, attributes?: TelemetryAttributes, state?: "observed" | "succeeded" | "failed"): void;
|
|
5
|
-
export declare function recordInitialConnection(recorder: ReconnectRecorder | undefined, step: string, attributes?: TelemetryAttributes, state?: "observed" | "succeeded" | "failed"): void;
|
|
6
|
-
export declare function traceReconnect<A>(recorder: ReconnectRecorder | undefined, step: string, operation: () => Promise<A>): Promise<A>;
|
|
7
|
-
//# sourceMappingURL=reconnect.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reconnect.d.ts","sourceRoot":"","sources":["../../src/telemetry/reconnect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,MAAM,iBAAiB,GAAG,CAAC,WAAW,EAAE,qBAAqB,KAAK,IAAI,CAAC;AAY7E,wBAAgB,eAAe,CAAC,QAAQ,EAAE,iBAAiB,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,mBAAmB,EAAE,KAAK,GAAE,UAAU,GAAG,WAAW,GAAG,QAAqB,GAAG,IAAI,CAEtL;AAED,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,mBAAmB,EAAE,KAAK,GAAE,UAAU,GAAG,WAAW,GAAG,QAAqB,GAAG,IAAI,CAE9L;AAED,wBAAsB,cAAc,CAAC,CAAC,EAAE,QAAQ,EAAE,iBAAiB,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAYtI"}
|
package/dist/telemetry/rtc.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type { TelemetryAttributes } from "./types";
|
|
2
|
-
export type RtcConnectionStateSnapshot = {
|
|
3
|
-
readonly connectionState?: string;
|
|
4
|
-
readonly iceConnectionState?: string;
|
|
5
|
-
readonly signalingState?: string;
|
|
6
|
-
};
|
|
7
|
-
export type RtcStatsLike = {
|
|
8
|
-
readonly type?: string;
|
|
9
|
-
readonly kind?: string;
|
|
10
|
-
readonly bytesReceived?: number;
|
|
11
|
-
readonly bytesSent?: number;
|
|
12
|
-
readonly framesDropped?: number;
|
|
13
|
-
readonly jitter?: number;
|
|
14
|
-
readonly packetsLost?: number;
|
|
15
|
-
readonly packetsReceived?: number;
|
|
16
|
-
readonly packetsSent?: number;
|
|
17
|
-
readonly roundTripTime?: number;
|
|
18
|
-
readonly state?: string;
|
|
19
|
-
readonly selected?: boolean;
|
|
20
|
-
readonly nominated?: boolean;
|
|
21
|
-
readonly dtlsState?: string;
|
|
22
|
-
};
|
|
23
|
-
export type RtcStatsSummary = {
|
|
24
|
-
readonly bytesReceived: number;
|
|
25
|
-
readonly bytesSent: number;
|
|
26
|
-
readonly framesDropped: number;
|
|
27
|
-
readonly inboundStreams: number;
|
|
28
|
-
readonly jitterMs?: number;
|
|
29
|
-
readonly outboundStreams: number;
|
|
30
|
-
readonly packetsLost: number;
|
|
31
|
-
readonly packetsReceived: number;
|
|
32
|
-
readonly packetsSent: number;
|
|
33
|
-
readonly roundTripTimeMs?: number;
|
|
34
|
-
readonly transportEntries: number;
|
|
35
|
-
readonly dtlsState?: string;
|
|
36
|
-
readonly selectedCandidatePairState?: string;
|
|
37
|
-
};
|
|
38
|
-
export declare function summarizeRtcStats(stats: Iterable<RtcStatsLike>): RtcStatsSummary;
|
|
39
|
-
/** Produces only connection states and aggregated counters. Raw SDP, candidates, tracks, and media content are intentionally excluded. */
|
|
40
|
-
export declare function rtcSummaryAttributes(connection: RtcConnectionStateSnapshot, stats: Iterable<RtcStatsLike>): TelemetryAttributes;
|
|
41
|
-
//# sourceMappingURL=rtc.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rtc.d.ts","sourceRoot":"","sources":["../../src/telemetry/rtc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,0BAA0B,CAAC,EAAE,MAAM,CAAC;CAC9C,CAAC;AAkBF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,QAAQ,CAAC,YAAY,CAAC,GAAG,eAAe,CAsBhF;AAED,0IAA0I;AAC1I,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,0BAA0B,EAAE,KAAK,EAAE,QAAQ,CAAC,YAAY,CAAC,GAAG,mBAAmB,CAoB/H"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { TelemetryEvent } from "./types";
|
|
2
|
-
export interface TelemetryStorage {
|
|
3
|
-
load(): Promise<readonly TelemetryEvent[]>;
|
|
4
|
-
save(events: readonly TelemetryEvent[]): Promise<void>;
|
|
5
|
-
}
|
|
6
|
-
export interface TelemetryKeyValueStorage {
|
|
7
|
-
getItem(key: string): Promise<string | null>;
|
|
8
|
-
setItem(key: string, value: string): Promise<void>;
|
|
9
|
-
}
|
|
10
|
-
export declare function createMemoryTelemetryStorage(initialEvents?: readonly TelemetryEvent[]): TelemetryStorage;
|
|
11
|
-
/** Adapts browser storage, Expo storage, or another platform key-value store without adding a platform dependency. */
|
|
12
|
-
export declare function createKeyValueTelemetryStorage(storage: TelemetryKeyValueStorage, key?: string): TelemetryStorage;
|
|
13
|
-
export declare function createBrowserTelemetryStorage(key?: string): TelemetryStorage | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* Creates a durable localStorage queue with a unique runtime key.
|
|
16
|
-
*
|
|
17
|
-
* Each runtime preserves its own queue and adopts sibling queues when it starts.
|
|
18
|
-
* This avoids cross-tab overwrites while allowing a later tab to recover journeys
|
|
19
|
-
* left behind by a closed tab.
|
|
20
|
-
*/
|
|
21
|
-
export declare function createBrowserRuntimeTelemetryStorage(keyPrefix?: string): TelemetryStorage | undefined;
|
|
22
|
-
//# sourceMappingURL=storage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../src/telemetry/storage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,MAAM,WAAW,gBAAgB;IAC/B,IAAI,IAAI,OAAO,CAAC,SAAS,cAAc,EAAE,CAAC,CAAC;IAC3C,IAAI,CAAC,MAAM,EAAE,SAAS,cAAc,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC7C,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACpD;AASD,wBAAgB,4BAA4B,CAAC,aAAa,GAAE,SAAS,cAAc,EAAO,GAAG,gBAAgB,CAW5G;AAED,sHAAsH;AACtH,wBAAgB,8BAA8B,CAAC,OAAO,EAAE,wBAAwB,EAAE,GAAG,SAAuB,GAAG,gBAAgB,CAc9H;AAED,wBAAgB,6BAA6B,CAAC,GAAG,SAAuB,GAAG,gBAAgB,GAAG,SAAS,CAetG;AAED;;;;;;GAMG;AACH,wBAAgB,oCAAoC,CAAC,SAAS,SAAuB,GAAG,gBAAgB,GAAG,SAAS,CAenH"}
|
package/dist/telemetry/sync.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { JourneyTelemetryContext } from "./types";
|
|
2
|
-
export type SyncTelemetryCorrelation = {
|
|
3
|
-
readonly journey_id: string;
|
|
4
|
-
readonly traceparent: string;
|
|
5
|
-
readonly tracestate?: string;
|
|
6
|
-
};
|
|
7
|
-
/** Adds the v1 optional correlation fields accepted by the sync hello frame without changing application frame fields. */
|
|
8
|
-
export declare function withSyncTelemetryCorrelation<TFrame extends object>(frame: TFrame, context: JourneyTelemetryContext): TFrame & SyncTelemetryCorrelation;
|
|
9
|
-
export declare function syncTelemetryCorrelation(context: JourneyTelemetryContext): SyncTelemetryCorrelation;
|
|
10
|
-
//# sourceMappingURL=sync.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../src/telemetry/sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAQvD,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAOF,0HAA0H;AAC1H,wBAAgB,4BAA4B,CAAC,MAAM,SAAS,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAuB,GAAG,MAAM,GAAG,wBAAwB,CAOtJ;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,uBAAuB,GAAG,wBAAwB,CAEnG"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { Effect, Layer } from "effect";
|
|
2
|
-
import { TelemetryExporterService, TelemetryStorageService, type TelemetryDeliveryEffectService, type TelemetryDeliveryOptions } from "./delivery";
|
|
3
|
-
import type { TelemetryExporter, TelemetryExportOptions } from "./exporter";
|
|
4
|
-
import type { TelemetryEvent } from "./types";
|
|
5
|
-
export type RecordedExport = {
|
|
6
|
-
readonly events: readonly {
|
|
7
|
-
readonly event_id: string;
|
|
8
|
-
readonly name: string;
|
|
9
|
-
readonly journey_id: string;
|
|
10
|
-
}[];
|
|
11
|
-
readonly options?: TelemetryExportOptions;
|
|
12
|
-
};
|
|
13
|
-
export type ScriptedExporter = {
|
|
14
|
-
readonly calls: RecordedExport[];
|
|
15
|
-
readonly layer: Layer.Layer<TelemetryExporterService>;
|
|
16
|
-
failNext(cause: unknown, retriable: boolean): void;
|
|
17
|
-
waitNext(next?: "succeed" | {
|
|
18
|
-
readonly cause: unknown;
|
|
19
|
-
readonly retriable: boolean;
|
|
20
|
-
}): () => void;
|
|
21
|
-
};
|
|
22
|
-
export declare function makeScriptedExporter(): ScriptedExporter;
|
|
23
|
-
export type ScriptedStorage = {
|
|
24
|
-
readonly saves: readonly (readonly TelemetryEvent[])[];
|
|
25
|
-
readonly layer: Layer.Layer<TelemetryStorageService>;
|
|
26
|
-
resolveLoad(events: readonly TelemetryEvent[]): void;
|
|
27
|
-
};
|
|
28
|
-
export declare function makeScriptedStorage(options?: {
|
|
29
|
-
readonly load?: readonly TelemetryEvent[];
|
|
30
|
-
readonly waitForLoad?: boolean;
|
|
31
|
-
}): ScriptedStorage;
|
|
32
|
-
export type DeferredFacadeExport = {
|
|
33
|
-
release(): void;
|
|
34
|
-
started(): Promise<void>;
|
|
35
|
-
};
|
|
36
|
-
export type DeferredFacadeExporter = {
|
|
37
|
-
readonly calls: RecordedExport[];
|
|
38
|
-
readonly exporter: TelemetryExporter;
|
|
39
|
-
holdNext(): DeferredFacadeExport;
|
|
40
|
-
};
|
|
41
|
-
export declare function makeDeferredFacadeExporter(): DeferredFacadeExporter;
|
|
42
|
-
export type DeliveryHarness = {
|
|
43
|
-
readonly delivery: TelemetryDeliveryEffectService;
|
|
44
|
-
adjust(duration: number): Promise<void>;
|
|
45
|
-
ready(): Promise<void>;
|
|
46
|
-
run<A, E>(effect: Effect.Effect<A, E>): Promise<A>;
|
|
47
|
-
settle(): Promise<void>;
|
|
48
|
-
dispose(): Promise<void>;
|
|
49
|
-
};
|
|
50
|
-
export declare function makeDeliveryHarness(options: Omit<TelemetryDeliveryOptions, "exporter" | "storage">, exporter?: ScriptedExporter, storage?: ScriptedStorage): DeliveryHarness;
|
|
51
|
-
//# sourceMappingURL=test-support.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test-support.d.ts","sourceRoot":"","sources":["../../src/telemetry/test-support.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,MAAM,EAAE,KAAK,EAAkB,MAAM,QAAQ,CAAC;AAEjE,OAAO,EAAoD,wBAAwB,EAAE,uBAAuB,EAA0C,KAAK,8BAA8B,EAAE,KAAK,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAE7O,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,MAAM,EAAE,SAAS;QAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC9G,QAAQ,CAAC,OAAO,CAAC,EAAE,sBAAsB,CAAC;CAC3C,CAAC;AAIF,MAAM,MAAM,gBAAgB,GAAG;IAC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AAe,GAAG;IAC5B,QAAQ,CAAC,QAAQ,EAAE,8BAA8B,CAAC;IAClD,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvB,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACnD,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACxB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,IAAI,CAAC,wBAAwB,EAAE,UAAU,GAAG,SAAS,CAAC,EAAE,QAAQ,mBAAyB,EAAE,OAAO,kBAAwB,GAAG,eAAe,CAuBxL"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { JourneyTelemetryContext } from "./types";
|
|
2
|
-
export declare const CHALK_JOURNEY_ID_HEADER = "x-chalk-journey-id";
|
|
3
|
-
export declare const TRACEPARENT_HEADER = "traceparent";
|
|
4
|
-
export declare const TRACESTATE_HEADER = "tracestate";
|
|
5
|
-
export type TraceContext = {
|
|
6
|
-
readonly traceId: string;
|
|
7
|
-
readonly spanId: string;
|
|
8
|
-
readonly traceFlags: string;
|
|
9
|
-
readonly traceparent: string;
|
|
10
|
-
readonly tracestate?: string;
|
|
11
|
-
};
|
|
12
|
-
type ParsedTraceparent = Omit<TraceContext, "traceparent" | "tracestate">;
|
|
13
|
-
export declare function createTraceContext(parentTraceparent?: string, tracestate?: string): TraceContext;
|
|
14
|
-
export declare function parseTraceparent(value: string | undefined): ParsedTraceparent | undefined;
|
|
15
|
-
export declare function journeyHeaders(context: Pick<JourneyTelemetryContext, "journeyId" | "traceparent" | "tracestate">): Record<string, string>;
|
|
16
|
-
export declare function traceContextFromJourney(context: JourneyTelemetryContext): TraceContext;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=trace.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"trace.d.ts","sourceRoot":"","sources":["../../src/telemetry/trace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAGvD,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAC5D,eAAO,MAAM,kBAAkB,gBAAgB,CAAC;AAChD,eAAO,MAAM,iBAAiB,eAAe,CAAC;AAE9C,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,KAAK,iBAAiB,GAAG,IAAI,CAAC,YAAY,EAAE,aAAa,GAAG,YAAY,CAAC,CAAC;AAI1E,wBAAgB,kBAAkB,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,YAAY,CAahG;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,iBAAiB,GAAG,SAAS,CAMzF;AAgBD,wBAAgB,cAAc,CAAC,OAAO,EAAE,IAAI,CAAC,uBAAuB,EAAE,WAAW,GAAG,aAAa,GAAG,YAAY,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAMzI;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,uBAAuB,GAAG,YAAY,CAWtF"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
export declare const TELEMETRY_EVENT_VERSION: 1;
|
|
2
|
-
export type TelemetryAttributeValue = boolean | number | string;
|
|
3
|
-
export type TelemetryAttributes = Readonly<Record<string, TelemetryAttributeValue>>;
|
|
4
|
-
export type JourneyPhase = "root" | "authentication" | "signaling" | "media" | "recovery" | "terminal";
|
|
5
|
-
export type JourneyState = "started" | "in_progress" | "succeeded" | "failed" | "cancelled" | "observed";
|
|
6
|
-
export type TelemetryOriginKind = "client" | "diagnostic" | "http" | "rtc" | "sync";
|
|
7
|
-
export type TelemetryUpstreamVisibility = "local" | "propagated";
|
|
8
|
-
export type TelemetryEventBase = {
|
|
9
|
-
readonly version: typeof TELEMETRY_EVENT_VERSION;
|
|
10
|
-
readonly event_id: string;
|
|
11
|
-
readonly journey_id: string;
|
|
12
|
-
readonly sequence: number;
|
|
13
|
-
readonly occurred_at: string;
|
|
14
|
-
readonly phase: JourneyPhase;
|
|
15
|
-
readonly state: JourneyState;
|
|
16
|
-
readonly origin_kind: TelemetryOriginKind;
|
|
17
|
-
readonly first_observed_layer: TelemetryOriginKind;
|
|
18
|
-
readonly upstream_visibility: TelemetryUpstreamVisibility;
|
|
19
|
-
readonly parent_event_id?: string;
|
|
20
|
-
readonly trace_id?: string;
|
|
21
|
-
readonly span_id?: string;
|
|
22
|
-
readonly traceparent?: string;
|
|
23
|
-
readonly tracestate?: string;
|
|
24
|
-
readonly attributes?: TelemetryAttributes;
|
|
25
|
-
};
|
|
26
|
-
export type JourneyStartedEvent = TelemetryEventBase & {
|
|
27
|
-
readonly name: "journey.started";
|
|
28
|
-
readonly phase: "root";
|
|
29
|
-
readonly state: "started";
|
|
30
|
-
readonly origin_kind: "client";
|
|
31
|
-
};
|
|
32
|
-
export type JourneyPhaseEvent = TelemetryEventBase & {
|
|
33
|
-
readonly name: "journey.phase";
|
|
34
|
-
readonly phase: Exclude<JourneyPhase, "root" | "terminal">;
|
|
35
|
-
readonly state: "in_progress" | "observed";
|
|
36
|
-
readonly origin_kind: "client";
|
|
37
|
-
};
|
|
38
|
-
export type JourneyTerminalEvent = TelemetryEventBase & {
|
|
39
|
-
readonly name: "journey.terminal";
|
|
40
|
-
readonly phase: "terminal";
|
|
41
|
-
readonly state: "succeeded" | "failed" | "cancelled";
|
|
42
|
-
readonly origin_kind: "client";
|
|
43
|
-
};
|
|
44
|
-
export type JourneyLinkedEvent = TelemetryEventBase & {
|
|
45
|
-
readonly name: "journey.linked";
|
|
46
|
-
readonly phase: "root";
|
|
47
|
-
readonly state: "observed";
|
|
48
|
-
readonly origin_kind: "client";
|
|
49
|
-
readonly parent_event_id: string;
|
|
50
|
-
};
|
|
51
|
-
export type HttpRequestTelemetryEvent = TelemetryEventBase & {
|
|
52
|
-
readonly name: "http.request";
|
|
53
|
-
readonly origin_kind: "http";
|
|
54
|
-
};
|
|
55
|
-
export type SyncFrameTelemetryEvent = TelemetryEventBase & {
|
|
56
|
-
readonly name: "sync.frame";
|
|
57
|
-
readonly origin_kind: "sync";
|
|
58
|
-
};
|
|
59
|
-
export type RtcSummaryTelemetryEvent = TelemetryEventBase & {
|
|
60
|
-
readonly name: "rtc.summary";
|
|
61
|
-
readonly origin_kind: "rtc";
|
|
62
|
-
};
|
|
63
|
-
export type DiagnosticTimelineTelemetryEvent = TelemetryEventBase & {
|
|
64
|
-
readonly name: "diagnostic.timeline";
|
|
65
|
-
readonly origin_kind: "diagnostic";
|
|
66
|
-
};
|
|
67
|
-
/** A stable, versioned client event union. Exporters remove only `version`, because the v1 intake path carries the API version. */
|
|
68
|
-
export type TelemetryEvent = DiagnosticTimelineTelemetryEvent | HttpRequestTelemetryEvent | JourneyLinkedEvent | JourneyPhaseEvent | JourneyStartedEvent | JourneyTerminalEvent | RtcSummaryTelemetryEvent | SyncFrameTelemetryEvent;
|
|
69
|
-
export type TelemetryEventName = TelemetryEvent["name"];
|
|
70
|
-
type TelemetryEventDraftFor<TEvent extends TelemetryEvent> = TEvent extends TelemetryEvent ? Pick<TEvent, "name" | "origin_kind" | "phase" | "state"> & {
|
|
71
|
-
readonly first_observed_layer?: TelemetryOriginKind;
|
|
72
|
-
readonly upstream_visibility?: TelemetryUpstreamVisibility;
|
|
73
|
-
readonly attributes?: TelemetryAttributes;
|
|
74
|
-
} & (TEvent extends {
|
|
75
|
-
readonly parent_event_id: string;
|
|
76
|
-
} ? Pick<TEvent, "parent_event_id"> : {
|
|
77
|
-
readonly parent_event_id?: string;
|
|
78
|
-
}) : never;
|
|
79
|
-
export type TelemetryEventDraft = TelemetryEventDraftFor<TelemetryEvent>;
|
|
80
|
-
export type JourneyTelemetryContext = {
|
|
81
|
-
readonly journeyId: string;
|
|
82
|
-
readonly rootJourneyId: string;
|
|
83
|
-
readonly traceparent: string;
|
|
84
|
-
readonly tracestate?: string;
|
|
85
|
-
};
|
|
86
|
-
export type JourneyIntakeEvent = {
|
|
87
|
-
readonly event_id: string;
|
|
88
|
-
readonly journey_id: string;
|
|
89
|
-
readonly sequence: number;
|
|
90
|
-
readonly occurred_at: string;
|
|
91
|
-
readonly name: TelemetryEventName;
|
|
92
|
-
readonly phase: JourneyPhase;
|
|
93
|
-
readonly state: JourneyState;
|
|
94
|
-
readonly origin_kind: TelemetryOriginKind;
|
|
95
|
-
readonly first_observed_layer: TelemetryOriginKind;
|
|
96
|
-
readonly upstream_visibility: TelemetryUpstreamVisibility;
|
|
97
|
-
readonly parent_event_id?: string;
|
|
98
|
-
readonly trace_id?: string;
|
|
99
|
-
readonly span_id?: string;
|
|
100
|
-
readonly traceparent?: string;
|
|
101
|
-
readonly tracestate?: string;
|
|
102
|
-
readonly attributes?: TelemetryAttributes;
|
|
103
|
-
};
|
|
104
|
-
export type JourneyIntakeResponse = {
|
|
105
|
-
readonly accepted_count: number;
|
|
106
|
-
readonly duplicate_count: number;
|
|
107
|
-
};
|
|
108
|
-
export {};
|
|
109
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/telemetry/types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,CAAU,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AE,MAAM,CAAC;IAChC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;CAClC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type ChalkWhiteboardV1FileTransport } from "./types";
|
|
2
|
-
export type ChalkWhiteboardV1FileHttpTransportOptions = {
|
|
3
|
-
readonly baseUrl: string;
|
|
4
|
-
readonly token: () => Promise<string>;
|
|
5
|
-
readonly sceneId: () => string;
|
|
6
|
-
readonly fetch?: typeof globalThis.fetch;
|
|
7
|
-
};
|
|
8
|
-
export declare function createChalkWhiteboardV1FileHttpTransport(options: ChalkWhiteboardV1FileHttpTransportOptions): ChalkWhiteboardV1FileTransport;
|
|
9
|
-
//# sourceMappingURL=file-http-transport.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"file-http-transport.d.ts","sourceRoot":"","sources":["../../src/whiteboard/file-http-transport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyD,KAAK,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAErH,MAAM,MAAM,yCAAyC,GAAG;IACtD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,MAAM,MAAM,CAAC;IAC/B,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,UAAU,CAAC,KAAK,CAAC;CAC1C,CAAC;AAEF,wBAAgB,wCAAwC,CAAC,OAAO,EAAE,yCAAyC,GAAG,8BAA8B,CAgC3I"}
|