hci-atrium 0.1.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/LICENSE +21 -0
- package/README.md +182 -0
- package/dist/atrium.d.ts +522 -0
- package/dist/atrium.d.ts.map +1 -0
- package/dist/atrium.js +806 -0
- package/dist/atrium.js.map +1 -0
- package/dist/auth.d.ts +85 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +369 -0
- package/dist/auth.js.map +1 -0
- package/dist/by.d.ts +84 -0
- package/dist/by.d.ts.map +1 -0
- package/dist/by.js +87 -0
- package/dist/by.js.map +1 -0
- package/dist/decider.d.ts +40 -0
- package/dist/decider.d.ts.map +1 -0
- package/dist/decider.js +76 -0
- package/dist/decider.js.map +1 -0
- package/dist/discovery.d.ts +15 -0
- package/dist/discovery.d.ts.map +1 -0
- package/dist/discovery.js +38 -0
- package/dist/discovery.js.map +1 -0
- package/dist/env.d.ts +11 -0
- package/dist/env.d.ts.map +1 -0
- package/dist/env.js +28 -0
- package/dist/env.js.map +1 -0
- package/dist/errors.d.ts +67 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +86 -0
- package/dist/errors.js.map +1 -0
- package/dist/files.d.ts +7 -0
- package/dist/files.d.ts.map +1 -0
- package/dist/files.js +2 -0
- package/dist/files.js.map +1 -0
- package/dist/http.d.ts +11 -0
- package/dist/http.d.ts.map +1 -0
- package/dist/http.js +21 -0
- package/dist/http.js.map +1 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/models.d.ts +456 -0
- package/dist/models.d.ts.map +1 -0
- package/dist/models.js +487 -0
- package/dist/models.js.map +1 -0
- package/dist/pkce.d.ts +16 -0
- package/dist/pkce.d.ts.map +1 -0
- package/dist/pkce.js +40 -0
- package/dist/pkce.js.map +1 -0
- package/dist/react/index.d.ts +37 -0
- package/dist/react/index.d.ts.map +1 -0
- package/dist/react/index.js +89 -0
- package/dist/react/index.js.map +1 -0
- package/dist/rooms/armed-set.d.ts +33 -0
- package/dist/rooms/armed-set.d.ts.map +1 -0
- package/dist/rooms/armed-set.js +65 -0
- package/dist/rooms/armed-set.js.map +1 -0
- package/dist/rooms/brokers.d.ts +62 -0
- package/dist/rooms/brokers.d.ts.map +1 -0
- package/dist/rooms/brokers.js +109 -0
- package/dist/rooms/brokers.js.map +1 -0
- package/dist/rooms/codec.d.ts +100 -0
- package/dist/rooms/codec.d.ts.map +1 -0
- package/dist/rooms/codec.js +101 -0
- package/dist/rooms/codec.js.map +1 -0
- package/dist/rooms/index.d.ts +40 -0
- package/dist/rooms/index.d.ts.map +1 -0
- package/dist/rooms/index.js +45 -0
- package/dist/rooms/index.js.map +1 -0
- package/dist/rooms/offer-capture.d.ts +96 -0
- package/dist/rooms/offer-capture.d.ts.map +1 -0
- package/dist/rooms/offer-capture.js +338 -0
- package/dist/rooms/offer-capture.js.map +1 -0
- package/dist/rooms/offer-transcription.d.ts +63 -0
- package/dist/rooms/offer-transcription.d.ts.map +1 -0
- package/dist/rooms/offer-transcription.js +231 -0
- package/dist/rooms/offer-transcription.js.map +1 -0
- package/dist/rooms/participant.d.ts +35 -0
- package/dist/rooms/participant.d.ts.map +1 -0
- package/dist/rooms/participant.js +53 -0
- package/dist/rooms/participant.js.map +1 -0
- package/dist/rooms/recorder.d.ts +74 -0
- package/dist/rooms/recorder.d.ts.map +1 -0
- package/dist/rooms/recorder.js +157 -0
- package/dist/rooms/recorder.js.map +1 -0
- package/dist/rooms/room.d.ts +542 -0
- package/dist/rooms/room.d.ts.map +1 -0
- package/dist/rooms/room.js +1357 -0
- package/dist/rooms/room.js.map +1 -0
- package/dist/rooms/snippet.d.ts +48 -0
- package/dist/rooms/snippet.d.ts.map +1 -0
- package/dist/rooms/snippet.js +70 -0
- package/dist/rooms/snippet.js.map +1 -0
- package/dist/rooms/sse.d.ts +102 -0
- package/dist/rooms/sse.d.ts.map +1 -0
- package/dist/rooms/sse.js +347 -0
- package/dist/rooms/sse.js.map +1 -0
- package/dist/rooms/standing-source.d.ts +190 -0
- package/dist/rooms/standing-source.d.ts.map +1 -0
- package/dist/rooms/standing-source.js +431 -0
- package/dist/rooms/standing-source.js.map +1 -0
- package/dist/rooms/transcriber.d.ts +81 -0
- package/dist/rooms/transcriber.d.ts.map +1 -0
- package/dist/rooms/transcriber.js +111 -0
- package/dist/rooms/transcriber.js.map +1 -0
- package/dist/rooms/transport-shared.d.ts +28 -0
- package/dist/rooms/transport-shared.d.ts.map +1 -0
- package/dist/rooms/transport-shared.js +42 -0
- package/dist/rooms/transport-shared.js.map +1 -0
- package/dist/rooms/transport.d.ts +161 -0
- package/dist/rooms/transport.d.ts.map +1 -0
- package/dist/rooms/transport.js +258 -0
- package/dist/rooms/transport.js.map +1 -0
- package/dist/shaping/assets.d.ts +42 -0
- package/dist/shaping/assets.d.ts.map +1 -0
- package/dist/shaping/assets.js +77 -0
- package/dist/shaping/assets.js.map +1 -0
- package/dist/shaping/chat.d.ts +39 -0
- package/dist/shaping/chat.d.ts.map +1 -0
- package/dist/shaping/chat.js +62 -0
- package/dist/shaping/chat.js.map +1 -0
- package/dist/shaping/index.d.ts +14 -0
- package/dist/shaping/index.d.ts.map +1 -0
- package/dist/shaping/index.js +13 -0
- package/dist/shaping/index.js.map +1 -0
- package/dist/shaping/library.d.ts +84 -0
- package/dist/shaping/library.d.ts.map +1 -0
- package/dist/shaping/library.js +288 -0
- package/dist/shaping/library.js.map +1 -0
- package/dist/shaping/request.d.ts +47 -0
- package/dist/shaping/request.d.ts.map +1 -0
- package/dist/shaping/request.js +25 -0
- package/dist/shaping/request.js.map +1 -0
- package/dist/shaping/rooms.d.ts +128 -0
- package/dist/shaping/rooms.d.ts.map +1 -0
- package/dist/shaping/rooms.js +330 -0
- package/dist/shaping/rooms.js.map +1 -0
- package/dist/shaping/sources.d.ts +29 -0
- package/dist/shaping/sources.d.ts.map +1 -0
- package/dist/shaping/sources.js +51 -0
- package/dist/shaping/sources.js.map +1 -0
- package/dist/shaping/structured.d.ts +47 -0
- package/dist/shaping/structured.d.ts.map +1 -0
- package/dist/shaping/structured.js +115 -0
- package/dist/shaping/structured.js.map +1 -0
- package/dist/storage.d.ts +36 -0
- package/dist/storage.d.ts.map +1 -0
- package/dist/storage.js +86 -0
- package/dist/storage.js.map +1 -0
- package/dist/transcribe-stream.d.ts +81 -0
- package/dist/transcribe-stream.d.ts.map +1 -0
- package/dist/transcribe-stream.js +253 -0
- package/dist/transcribe-stream.js.map +1 -0
- package/dist/transcribe.d.ts +57 -0
- package/dist/transcribe.d.ts.map +1 -0
- package/dist/transcribe.js +267 -0
- package/dist/transcribe.js.map +1 -0
- package/dist/types.d.ts +20 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +3 -0
- package/dist/types.js.map +1 -0
- package/package.json +56 -0
package/dist/models.d.ts
ADDED
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public result shapes and their defensive parse functions — the TypeScript mirror of
|
|
3
|
+
* ``hci_atrium.models``.
|
|
4
|
+
*
|
|
5
|
+
* Mostly plain interfaces (decision 7: tree-shakeable, JSON-friendly). {@link Asset} is the one
|
|
6
|
+
* class (the Round-3 bound-object migration — it carries ``vectors()`` / ``segments()`` / ``index()``
|
|
7
|
+
* methods on its prototype, bound to the owning client at parse); every data field stays an own,
|
|
8
|
+
* enumerable, JSON-serializable property, so a spread / ``JSON.stringify`` sees exactly the interface
|
|
9
|
+
* it always did. Each ``parse*`` takes the raw server JSON (snake_case) plus the ``baseUrl`` where a
|
|
10
|
+
* shape needs to build public URLs, and returns a camelCase model. They are defensive like Python's
|
|
11
|
+
* ``from_dict``: a missing field becomes a sensible default rather than throwing.
|
|
12
|
+
*/
|
|
13
|
+
export type { User } from "./types.js";
|
|
14
|
+
/**
|
|
15
|
+
* The long tail of library filters — full parity with the web app's filter bar (the mirror of
|
|
16
|
+
* Python's ``Filters``). Every field is optional; unset means no filter. Translated to the wire's
|
|
17
|
+
* historical snake_case names in the shaping layer, never here.
|
|
18
|
+
*/
|
|
19
|
+
export interface Filters {
|
|
20
|
+
/** Match ALL of / ANY of / exclude these editable modality labels. */
|
|
21
|
+
allKinds?: string[];
|
|
22
|
+
anyKinds?: string[];
|
|
23
|
+
noneKinds?: string[];
|
|
24
|
+
/** Tag/label facets — the long form of ``search``'s ``tags`` / ``anyTags`` / ``excludeTags``. */
|
|
25
|
+
allLabels?: string[];
|
|
26
|
+
anyLabels?: string[];
|
|
27
|
+
noneLabels?: string[];
|
|
28
|
+
/** The bytes' own immutable kind (``"image"`` / ``"audio"`` / …) — a separate axis from modality. */
|
|
29
|
+
contentKind?: string[];
|
|
30
|
+
/** Index statuses to match (any-of), e.g. ``["ready"]``. */
|
|
31
|
+
statuses?: string[];
|
|
32
|
+
/** Numeric-fact ranges: fact key → ``[min, max]``, either bound ``null`` for open. */
|
|
33
|
+
ranges?: Record<string, [number | null, number | null]>;
|
|
34
|
+
/** Only assets uploaded by these user ids. */
|
|
35
|
+
uploader?: string[];
|
|
36
|
+
/** Matched unit at most this long (seconds). */
|
|
37
|
+
maxSeconds?: number;
|
|
38
|
+
/** JSONB containment filter on the app-owned ``asset.data``. */
|
|
39
|
+
dataMatch?: Record<string, unknown>;
|
|
40
|
+
/** Drop these asset ids from the results (dedup for a prefetch loop). Capped at 512 server-side. */
|
|
41
|
+
excludeIds?: string[];
|
|
42
|
+
/**
|
|
43
|
+
* Match-by override: which signal classes may match. A **list** is an allowlist (``[]`` = every
|
|
44
|
+
* signal); a **map** (``{ native: 1.0, manual: 0.3 }``) also *weights* them.
|
|
45
|
+
*/
|
|
46
|
+
matchBy?: string[] | Record<string, number>;
|
|
47
|
+
}
|
|
48
|
+
/** A matched sound event (a ``[startS, endS)`` slice) inside an audio asset. */
|
|
49
|
+
export interface SegmentRef {
|
|
50
|
+
id: string;
|
|
51
|
+
ordinal: number;
|
|
52
|
+
startS: number;
|
|
53
|
+
endS: number;
|
|
54
|
+
/** The slice's own length in seconds (``endS - startS``). */
|
|
55
|
+
durationS: number;
|
|
56
|
+
/** Public URL for just this slice's pre-cut bytes (a different route from the parent asset). */
|
|
57
|
+
contentUrl: string;
|
|
58
|
+
}
|
|
59
|
+
export declare function parseSegment(data: unknown, assetId: string, baseUrl?: string): SegmentRef;
|
|
60
|
+
/** An asset reference the introspection methods coerce to an id — a bound {@link Asset}, a
|
|
61
|
+
* {@link SearchHit}, or a bare id string (the ``search(like=…)`` coercion precedent). */
|
|
62
|
+
export type AssetRef = Asset | SearchHit | string;
|
|
63
|
+
/** Options for {@link Asset.vectors} / {@link Assets.vectors}. */
|
|
64
|
+
export interface AssetVectorsOptions {
|
|
65
|
+
/** Narrow to one space or several (id or human name). Absent → every stored vector. */
|
|
66
|
+
space?: string | string[];
|
|
67
|
+
/** Narrow to a signal class (``native``/``manual``/…) or an exact value (``bridge:text``/``seg:<id>``). */
|
|
68
|
+
matchBy?: string;
|
|
69
|
+
signal?: AbortSignal;
|
|
70
|
+
}
|
|
71
|
+
/** The bound-client surface an {@link Asset}'s introspection methods delegate to — satisfied
|
|
72
|
+
* structurally by the client's ``assets`` namespace, threaded in at parse. Kept minimal so
|
|
73
|
+
* ``models.ts`` needs no runtime import of the client. */
|
|
74
|
+
export interface AssetBinder {
|
|
75
|
+
vectors(asset: AssetRef, opts?: AssetVectorsOptions): Promise<AssetVector[]>;
|
|
76
|
+
segments(asset: AssetRef): Promise<SegmentRef[]>;
|
|
77
|
+
index(asset: AssetRef): Promise<IndexEntry[]>;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* A library asset's metadata (a useful subset of the server's ``AssetRead``).
|
|
81
|
+
*
|
|
82
|
+
* ``modality`` is the open-vocabulary, user-editable facet; ``contentKind`` is what the bytes are
|
|
83
|
+
* (what the server routes on). ``contentUrl`` / ``thumbnailUrl`` are the public no-auth URLs,
|
|
84
|
+
* computed at parse time from ``baseUrl`` (fingerprinted with ``sha256`` when known).
|
|
85
|
+
*
|
|
86
|
+
* A **class** (the Round-3 bound-object migration): every data field is an own, enumerable property
|
|
87
|
+
* — so a spread or ``JSON.stringify`` is unchanged — while ``vectors()`` / ``segments()`` /
|
|
88
|
+
* ``index()`` live on the prototype, bound to the owning client. An asset built by hand or parsed
|
|
89
|
+
* without a client still reads/derives freely; only its bound methods throw, naming the id-form
|
|
90
|
+
* ``atrium.assets.*`` calls.
|
|
91
|
+
*/
|
|
92
|
+
export declare class Asset {
|
|
93
|
+
#private;
|
|
94
|
+
readonly id: string;
|
|
95
|
+
readonly filename: string;
|
|
96
|
+
readonly title: string | null;
|
|
97
|
+
readonly modality: string;
|
|
98
|
+
readonly contentKind: string;
|
|
99
|
+
readonly contentType: string;
|
|
100
|
+
readonly description: string | null;
|
|
101
|
+
readonly size: number | null;
|
|
102
|
+
readonly facts: Record<string, unknown>;
|
|
103
|
+
readonly sha256: string | null;
|
|
104
|
+
readonly sourceUrl: string | null;
|
|
105
|
+
readonly data: Record<string, unknown> | null;
|
|
106
|
+
readonly contentUrl: string;
|
|
107
|
+
readonly thumbnailUrl: string;
|
|
108
|
+
readonly labels: Record<string, unknown>[];
|
|
109
|
+
readonly rejectedLabels: Record<string, unknown>[];
|
|
110
|
+
readonly proposedLabels: Record<string, unknown>[];
|
|
111
|
+
readonly autoTagged: boolean;
|
|
112
|
+
readonly createdAt: Date | null;
|
|
113
|
+
readonly updatedAt: Date | null;
|
|
114
|
+
readonly status: string | null;
|
|
115
|
+
readonly descriptionSource: string | null;
|
|
116
|
+
readonly homeCollectionId: string | null;
|
|
117
|
+
readonly externalId: string | null;
|
|
118
|
+
readonly origin: string | null;
|
|
119
|
+
readonly sourceId: string | null;
|
|
120
|
+
constructor(data: unknown, baseUrl?: string, binder?: AssetBinder | null);
|
|
121
|
+
private bound;
|
|
122
|
+
/** This asset's stored embedding vectors (``GET /v1/assets/{id}/vectors``). ``space`` (id or
|
|
123
|
+
* human name, one or a list) and ``matchBy`` narrow them; no args returns every stored vector.
|
|
124
|
+
* See {@link Assets.vectors}. (``async`` so an unbound asset rejects rather than throwing.) */
|
|
125
|
+
vectors(opts?: AssetVectorsOptions): Promise<AssetVector[]>;
|
|
126
|
+
/** This asset's sound-event segments (``GET /v1/assets/{id}/segments``). See {@link Assets.segments}. */
|
|
127
|
+
segments(): Promise<SegmentRef[]>;
|
|
128
|
+
/** This asset's per-signal index map (``GET /v1/assets/{id}/index``). See {@link Assets.index}. */
|
|
129
|
+
index(): Promise<IndexEntry[]>;
|
|
130
|
+
}
|
|
131
|
+
export declare function parseAsset(data: unknown, baseUrl?: string, binder?: AssetBinder | null): Asset;
|
|
132
|
+
/**
|
|
133
|
+
* What an asset can produce, derived from its fields (mirror of Python's ``Asset.capabilities``):
|
|
134
|
+
* ``"bytes"`` when it has stored content (``sha256``), ``"link"`` when it resolves to an external
|
|
135
|
+
* URL (``sourceUrl``). Both, one, or neither may hold.
|
|
136
|
+
*/
|
|
137
|
+
export declare function assetCapabilities(asset: Asset): Array<"bytes" | "link">;
|
|
138
|
+
/**
|
|
139
|
+
* The normalized play intent for an asset — the ``{source, ref, mode?}`` wire shape shared with the
|
|
140
|
+
* room ``play`` signal (mirror of Python's ``Asset.playback.as_signal()``). ``source`` prefers
|
|
141
|
+
* ``"bytes"`` whenever the asset has stored content, else a recognized link provider's name (e.g.
|
|
142
|
+
* ``"spotify"``), else ``"link"`` for a generic link, else ``"description"``. ``ref`` is the matching
|
|
143
|
+
* resolvable target; ``mode`` is ``"shuffle"`` for a recognized ``playlist`` entity (omitted
|
|
144
|
+
* otherwise).
|
|
145
|
+
*/
|
|
146
|
+
export declare function assetPlayback(asset: Asset): {
|
|
147
|
+
source: string;
|
|
148
|
+
ref: string | null;
|
|
149
|
+
mode?: string;
|
|
150
|
+
};
|
|
151
|
+
/** A page of assets from ``assets.list()`` — pass ``nextCursor`` back to fetch the next page. */
|
|
152
|
+
export interface AssetPage {
|
|
153
|
+
items: Asset[];
|
|
154
|
+
nextCursor: string | null;
|
|
155
|
+
}
|
|
156
|
+
export declare function parseAssetPage(data: unknown, baseUrl?: string, binder?: AssetBinder | null): AssetPage;
|
|
157
|
+
/** One ranked search result: the asset, its score, and which representation matched. */
|
|
158
|
+
export interface SearchHit {
|
|
159
|
+
asset: Asset;
|
|
160
|
+
score: number;
|
|
161
|
+
matchedBy: string;
|
|
162
|
+
matchLabel: string;
|
|
163
|
+
rawScore: number;
|
|
164
|
+
calibrated: boolean;
|
|
165
|
+
/** The min-score cutoff this search applied (``0`` = no floor). */
|
|
166
|
+
matchFloor: number;
|
|
167
|
+
/** The matched slice, when the winning signal is a sound event. */
|
|
168
|
+
segment: SegmentRef | null;
|
|
169
|
+
/** The hit's embedding vector — present only when ``search`` was called with ``includeVectors``;
|
|
170
|
+
* ``undefined`` otherwise. Exactly one vector per hit: the one that scored it
|
|
171
|
+
* (``includeVectors: true``, its identity is {@link matchedBy}) or the requested space's
|
|
172
|
+
* (``includeVectors: "<space>"``). */
|
|
173
|
+
vector?: number[];
|
|
174
|
+
}
|
|
175
|
+
export declare function parseSearchHit(data: unknown, baseUrl?: string, binder?: AssetBinder | null): SearchHit;
|
|
176
|
+
/** One ranked result from ``library.searchByExamples`` — the asset and its combined fit (0–1). */
|
|
177
|
+
export interface SearchByExamplesHit {
|
|
178
|
+
asset: Asset;
|
|
179
|
+
score: number;
|
|
180
|
+
}
|
|
181
|
+
export declare function parseSearchByExamplesHit(data: unknown, baseUrl?: string, binder?: AssetBinder | null): SearchByExamplesHit;
|
|
182
|
+
/** What one compared operand resolved to — its kind (``asset``/``file``/``vector``/``text``) and the
|
|
183
|
+
* modality used for calibration (``null`` for a raw vector). For an asset operand this reports its
|
|
184
|
+
* **content kind** (what the bytes are), not its editable ``modality`` label. */
|
|
185
|
+
export interface OperandInfo {
|
|
186
|
+
kind: string;
|
|
187
|
+
modality: string | null;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* One per-feature term of a concept compare's {@link CompareResult.features} breakdown — a single
|
|
191
|
+
* ``(space, matchedBy)`` signal's raw and calibrated contribution, plus its ``weight``.
|
|
192
|
+
*
|
|
193
|
+
* These are **raw per-feature terms, not additive contributions**: they cover only the features
|
|
194
|
+
* present in the *scored* space (features the concept holds in other spaces are absent), and under
|
|
195
|
+
* ``method: "probe"`` the aggregate adds a bias + sigmoid over imputed values — so the per-feature
|
|
196
|
+
* ``score`` values do **not** sum to {@link CompareResult.score}. Read them to see *which* signals
|
|
197
|
+
* carried a match, not to reconstruct the total.
|
|
198
|
+
*/
|
|
199
|
+
export interface CompareFeature {
|
|
200
|
+
space: string;
|
|
201
|
+
matchedBy: string;
|
|
202
|
+
weight: number;
|
|
203
|
+
rawScore: number;
|
|
204
|
+
score: number;
|
|
205
|
+
}
|
|
206
|
+
/** The similarity of two operands in one embedding space (from ``library.compare``). ``rawScore`` is
|
|
207
|
+
* the raw similarity; ``score`` is the calibrated percentile when ``calibrated`` is true (else it
|
|
208
|
+
* equals ``rawScore``). ``features`` is a per-feature breakdown, populated only when
|
|
209
|
+
* ``compare(a, b, { breakdown: true })`` and only for a concept operand (``undefined`` otherwise) —
|
|
210
|
+
* see {@link CompareFeature} for its honest reading. */
|
|
211
|
+
export interface CompareResult {
|
|
212
|
+
rawScore: number;
|
|
213
|
+
score: number;
|
|
214
|
+
calibrated: boolean;
|
|
215
|
+
space: string;
|
|
216
|
+
a: OperandInfo;
|
|
217
|
+
b: OperandInfo;
|
|
218
|
+
features?: CompareFeature[];
|
|
219
|
+
}
|
|
220
|
+
export declare function parseCompareResult(data: unknown): CompareResult;
|
|
221
|
+
/** One stored embedding vector of an asset (from ``assets.vectors`` / ``asset.vectors()`` /
|
|
222
|
+
* ``library.vectors``). ``vector`` is the embedding in ``space``; ``matchedBy`` is which of the
|
|
223
|
+
* asset's signals it is — a coarse class (``native`` | ``manual`` | ``bridge`` | ``transcript``) or
|
|
224
|
+
* an exact value (``bridge:text``, ``view:0``, ``seg:<id>``). ``asset`` is the owning asset id
|
|
225
|
+
* (always set on the bulk ``library.vectors`` path, where one call can span assets; set to the
|
|
226
|
+
* queried id on the per-asset path). */
|
|
227
|
+
export interface AssetVector {
|
|
228
|
+
space: string;
|
|
229
|
+
matchedBy: string;
|
|
230
|
+
vector: number[];
|
|
231
|
+
asset: string | null;
|
|
232
|
+
}
|
|
233
|
+
export declare function parseAssetVector(data: unknown, asset?: string | null): AssetVector;
|
|
234
|
+
/** One row of an asset's per-signal index map (from ``assets.index`` / ``asset.index()``) — the
|
|
235
|
+
* processing state of a single stored signal. ``matchedBy`` is the signal (the server's internal
|
|
236
|
+
* ``via``, surfaced here under the SDK's ``matchedBy`` name): a coarse class or exact value.
|
|
237
|
+
* ``space`` is where it embeds; ``label`` / ``name`` describe it. ``active`` is whether this signal
|
|
238
|
+
* currently participates in search; ``status`` is its processing state (e.g. ``ready`` / ``pending``
|
|
239
|
+
* / ``error``), with ``attempts`` and any ``error`` message for a failed one. */
|
|
240
|
+
export interface IndexEntry {
|
|
241
|
+
space: string;
|
|
242
|
+
matchedBy: string;
|
|
243
|
+
label: string | null;
|
|
244
|
+
name: string | null;
|
|
245
|
+
active: boolean;
|
|
246
|
+
status: string | null;
|
|
247
|
+
attempts: number | null;
|
|
248
|
+
error: string | null;
|
|
249
|
+
}
|
|
250
|
+
export declare function parseIndexEntry(data: unknown): IndexEntry;
|
|
251
|
+
/** A searchable embedding space (from ``library.spaces()``) — its id, display name, the modalities
|
|
252
|
+
* it embeds, and the modalities it's the configured default for. */
|
|
253
|
+
export interface Space {
|
|
254
|
+
id: string;
|
|
255
|
+
name: string;
|
|
256
|
+
modalities: string[];
|
|
257
|
+
defaultModalities: string[];
|
|
258
|
+
/** The embedding model this space is configured with (reported to members) — the default
|
|
259
|
+
* ``audioVectors`` embeds with; ``null`` when the space has none. */
|
|
260
|
+
model: string | null;
|
|
261
|
+
}
|
|
262
|
+
export declare function parseSpace(data: unknown): Space;
|
|
263
|
+
/** A registered external source (from ``sources.list()``). */
|
|
264
|
+
export interface SourceInfo {
|
|
265
|
+
id: string;
|
|
266
|
+
modalities: string[];
|
|
267
|
+
modes: string[];
|
|
268
|
+
licenseTier: string;
|
|
269
|
+
costClass: string;
|
|
270
|
+
}
|
|
271
|
+
export declare function parseSourceInfo(data: unknown): SourceInfo;
|
|
272
|
+
/** One external search result (from ``sources.search()``) — not yet in the library. */
|
|
273
|
+
export interface Candidate {
|
|
274
|
+
provider: string;
|
|
275
|
+
externalId: string;
|
|
276
|
+
modality: string;
|
|
277
|
+
title: string;
|
|
278
|
+
previewUrl: string;
|
|
279
|
+
license: string | null;
|
|
280
|
+
author: string | null;
|
|
281
|
+
attributionUrl: string | null;
|
|
282
|
+
tags: string[];
|
|
283
|
+
description: string | null;
|
|
284
|
+
duration: number | null;
|
|
285
|
+
size: number | null;
|
|
286
|
+
contentType: string | null;
|
|
287
|
+
alreadyImported: boolean;
|
|
288
|
+
}
|
|
289
|
+
export declare function parseCandidate(data: unknown): Candidate;
|
|
290
|
+
/** One source a fan-out search couldn't run — its id and why. */
|
|
291
|
+
export interface SourceSkip {
|
|
292
|
+
provider: string;
|
|
293
|
+
reason: string;
|
|
294
|
+
}
|
|
295
|
+
export declare function parseSourceSkip(data: unknown): SourceSkip;
|
|
296
|
+
/** A multi-provider source search result (from ``sources.search()``). */
|
|
297
|
+
export interface SourceSearchResult {
|
|
298
|
+
results: Candidate[];
|
|
299
|
+
skipped: SourceSkip[];
|
|
300
|
+
}
|
|
301
|
+
export declare function parseSourceSearchResult(data: unknown): SourceSearchResult;
|
|
302
|
+
/** A session handle — a durable, append-only event log. Carries the identity metadata the server
|
|
303
|
+
* returns (``phase`` / ``condition`` / ``participantRef`` / ``meta`` / ``startedAt``); for a
|
|
304
|
+
* read-only analysis view use {@link Sessions.get}, which returns a {@link SessionInfo}. */
|
|
305
|
+
export interface Session {
|
|
306
|
+
id: string;
|
|
307
|
+
projectId: string;
|
|
308
|
+
name: string | null;
|
|
309
|
+
lastSeq: number;
|
|
310
|
+
phase: string | null;
|
|
311
|
+
condition: string | null;
|
|
312
|
+
participantRef: string | null;
|
|
313
|
+
meta: Record<string, unknown>;
|
|
314
|
+
startedAt: Date | null;
|
|
315
|
+
}
|
|
316
|
+
export declare function parseSession(data: unknown): Session;
|
|
317
|
+
/**
|
|
318
|
+
* A session's read model for analysis (from ``sessions.list()`` / ``sessions.get()``).
|
|
319
|
+
*
|
|
320
|
+
* Mirrors the server's ``SessionRead``: identity metadata plus the log's length (``lastSeq``).
|
|
321
|
+
* ``hasTranscript`` is populated only by {@link Sessions.get} (the single-session read); it is
|
|
322
|
+
* ``null`` in ``list()`` results. ``hasSubmittedResponse`` is the inverse — computed by the list
|
|
323
|
+
* endpoint, ``false`` on a single get.
|
|
324
|
+
*
|
|
325
|
+
* This is the **read model** (what ``sessions.get(id)`` returns); ``sessions.resume(id)`` hits the
|
|
326
|
+
* same endpoint but returns the live {@link Session} handle for continued logging. There is no
|
|
327
|
+
* participant filter server-side — filter the returned rows on ``participantRef`` yourself.
|
|
328
|
+
*/
|
|
329
|
+
export interface SessionInfo {
|
|
330
|
+
id: string;
|
|
331
|
+
projectId: string;
|
|
332
|
+
name: string | null;
|
|
333
|
+
participantRef: string | null;
|
|
334
|
+
condition: string | null;
|
|
335
|
+
phase: string | null;
|
|
336
|
+
notes: string | null;
|
|
337
|
+
meta: Record<string, unknown>;
|
|
338
|
+
lastSeq: number;
|
|
339
|
+
startedAt: Date | null;
|
|
340
|
+
hasSubmittedResponse: boolean;
|
|
341
|
+
hasTranscript: boolean | null;
|
|
342
|
+
}
|
|
343
|
+
export declare function parseSessionInfo(data: unknown): SessionInfo;
|
|
344
|
+
/** One durable event from a session's log (from ``sessions.events()``) — a flat row mirroring the
|
|
345
|
+
* server's ``SessionEventRead``: its position in the log (``seq``), the ``type`` + ``payload``, the
|
|
346
|
+
* producing ``source``, the ``origin`` (``"user"`` / ``"system"`` / …), any provenance ``via``, and
|
|
347
|
+
* ``createdAt``. */
|
|
348
|
+
export interface SessionEvent {
|
|
349
|
+
id: string;
|
|
350
|
+
sessionId: string;
|
|
351
|
+
seq: number;
|
|
352
|
+
type: string;
|
|
353
|
+
payload: Record<string, unknown>;
|
|
354
|
+
source: string | null;
|
|
355
|
+
origin: string;
|
|
356
|
+
createdAt: Date | null;
|
|
357
|
+
via: Record<string, unknown> | null;
|
|
358
|
+
}
|
|
359
|
+
export declare function parseSessionEventRow(data: unknown): SessionEvent;
|
|
360
|
+
/**
|
|
361
|
+
* A room's REST metadata (id / connect code). The live handle — ``connect`` / ``send`` /
|
|
362
|
+
* ``on`` / player controls / audio signals — is the {@link "./rooms".Room} class, built from this.
|
|
363
|
+
*/
|
|
364
|
+
export interface RoomInfo {
|
|
365
|
+
id: string;
|
|
366
|
+
connectCode: string;
|
|
367
|
+
name: string | null;
|
|
368
|
+
projectId: string | null;
|
|
369
|
+
}
|
|
370
|
+
export declare function parseRoom(data: unknown): RoomInfo;
|
|
371
|
+
/** One room or session event. */
|
|
372
|
+
export interface Event {
|
|
373
|
+
kind: string;
|
|
374
|
+
type: string;
|
|
375
|
+
payload: Record<string, unknown>;
|
|
376
|
+
source: string | null;
|
|
377
|
+
seq: number | null;
|
|
378
|
+
via: Record<string, unknown> | null;
|
|
379
|
+
}
|
|
380
|
+
export declare function parseSessionEvent(data: unknown): Event;
|
|
381
|
+
/**
|
|
382
|
+
* A chat completion's text, plus the model that produced it and the raw payload. (Python subclasses
|
|
383
|
+
* ``str``; TypeScript can't subclass ``string`` cleanly, so this is a plain object — read
|
|
384
|
+
* ``.content`` for the text.)
|
|
385
|
+
*/
|
|
386
|
+
export interface ChatReply {
|
|
387
|
+
content: string;
|
|
388
|
+
model: string;
|
|
389
|
+
raw: Record<string, unknown>;
|
|
390
|
+
}
|
|
391
|
+
export declare function parseChatReply(data: unknown): ChatReply;
|
|
392
|
+
export declare function parseEmbedding(data: unknown): number[];
|
|
393
|
+
/** A transcription result (from ``transcribe``). Read ``.text`` for the spoken words; ``.language`` /
|
|
394
|
+
* ``.duration`` / ``.segments`` are filled when ``verbose`` is set. ``.raw`` is the full payload. (In
|
|
395
|
+
* Python ``Transcript`` subclasses ``str``; TypeScript can't subclass ``string`` cleanly, so this is
|
|
396
|
+
* a plain object.)
|
|
397
|
+
*
|
|
398
|
+
* ``.final`` is ``true`` for settled text (every batch transcript, and every finalized sentence a
|
|
399
|
+
* live stream emits) and ``false`` only for a live *partial* hypothesis — a revisable guess at the
|
|
400
|
+
* current tail (see {@link ../atrium.Atrium.transcribeLive} with ``partials``). Partials replace the
|
|
401
|
+
* previous partial wholesale, so render them, don't append. */
|
|
402
|
+
export interface Transcript {
|
|
403
|
+
text: string;
|
|
404
|
+
language: string | null;
|
|
405
|
+
duration: number | null;
|
|
406
|
+
segments: Record<string, unknown>[];
|
|
407
|
+
raw: Record<string, unknown>;
|
|
408
|
+
final: boolean;
|
|
409
|
+
}
|
|
410
|
+
export declare function parseTranscript(data: unknown): Transcript;
|
|
411
|
+
/** One ``(space, matchedBy)`` feature of a concept classifier's frozen snapshot — its calibration
|
|
412
|
+
* boundary. ``centroid`` is the direction, ``quantiles`` the percentile breakpoints, ``weight`` its
|
|
413
|
+
* share in the aggregate. (``matchedBy`` is the SDK name for the server's internal ``via``; the tag
|
|
414
|
+
* endpoint already translates it on the wire.) */
|
|
415
|
+
export interface TagSnapshotFeature {
|
|
416
|
+
space: string;
|
|
417
|
+
matchedBy: string;
|
|
418
|
+
weight: number;
|
|
419
|
+
centroid: number[];
|
|
420
|
+
quantiles: number[];
|
|
421
|
+
}
|
|
422
|
+
/** A concept classifier's materialized boundary (from ``library.tag(name, { includeSnapshot: true })``)
|
|
423
|
+
* — the persisted centroids + calibration a tag scores assets against. */
|
|
424
|
+
export interface TagSnapshot {
|
|
425
|
+
threshold: number;
|
|
426
|
+
method: string;
|
|
427
|
+
bias: number | null;
|
|
428
|
+
features: TagSnapshotFeature[];
|
|
429
|
+
}
|
|
430
|
+
/** A tag definition (from ``library.tags()`` / ``library.tag(name)``) — read-only. Its classifier
|
|
431
|
+
* config (``conceptEnabled`` / ``conceptThreshold`` / ``conceptMethod``) and usage counts.
|
|
432
|
+
* ``collectionId`` is the scope this definition lives in. ``snapshot`` is the materialized concept
|
|
433
|
+
* boundary, present only when fetched with ``includeSnapshot: true``. ``raw`` keeps the full server
|
|
434
|
+
* row for any field this type doesn't surface. */
|
|
435
|
+
export interface TagDefinition {
|
|
436
|
+
id: string;
|
|
437
|
+
name: string;
|
|
438
|
+
description: string | null;
|
|
439
|
+
collectionId: string;
|
|
440
|
+
conceptEnabled: boolean;
|
|
441
|
+
conceptThreshold: number;
|
|
442
|
+
conceptMethod: string;
|
|
443
|
+
listed: boolean;
|
|
444
|
+
userAsserts: number;
|
|
445
|
+
modelAsserts: number;
|
|
446
|
+
conceptAsserts: number;
|
|
447
|
+
rejects: number;
|
|
448
|
+
anchors: number;
|
|
449
|
+
agreement: number | null;
|
|
450
|
+
conceptMaterializedAt: Date | null;
|
|
451
|
+
conceptStale: boolean;
|
|
452
|
+
snapshot: TagSnapshot | null;
|
|
453
|
+
raw: Record<string, unknown>;
|
|
454
|
+
}
|
|
455
|
+
export declare function parseTagDefinition(data: unknown): TagDefinition;
|
|
456
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAMH,YAAY,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAwCtC;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACtB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,iGAAiG;IACjG,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,qG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