recappi 0.1.42 → 0.1.44
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/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -694,7 +694,7 @@ function HeroCaptions({ state }) {
|
|
|
694
694
|
const hasPartial = Boolean(state.partial && state.partial.length > 0);
|
|
695
695
|
const captionError = state.status === "error" ? `Captions unavailable: ${state.error ?? "Live captions unavailable."}` : null;
|
|
696
696
|
if (recent.length === 0 && !hasPartial) {
|
|
697
|
-
return /* @__PURE__ */ jsx3(Text2, { color: captionError ? "yellow" : void 0, dimColor: !captionError, children: captionError ?? (state.status === "live" ? "Listening for speech\u2026" : liveCaptionStatusLabel(state.status)) });
|
|
697
|
+
return /* @__PURE__ */ jsx3(Text2, { color: captionError ? "yellow" : void 0, dimColor: !captionError, wrap: "truncate-end", children: captionError ?? (state.status === "live" ? "Listening for speech\u2026" : liveCaptionStatusLabel(state.status)) });
|
|
698
698
|
}
|
|
699
699
|
return /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
700
700
|
recent.map((line) => /* @__PURE__ */ jsxs2(Box2, { flexDirection: "column", alignItems: "center", children: [
|
|
@@ -17241,6 +17241,13 @@ var sidecarRecordingStateSchema = external_exports.enum([
|
|
|
17241
17241
|
"failed",
|
|
17242
17242
|
"cancelled"
|
|
17243
17243
|
]);
|
|
17244
|
+
var sidecarLiveCaptionStatusSchema = external_exports.enum([
|
|
17245
|
+
"connecting",
|
|
17246
|
+
"live",
|
|
17247
|
+
"reconnecting",
|
|
17248
|
+
"stopped",
|
|
17249
|
+
"error"
|
|
17250
|
+
]);
|
|
17244
17251
|
var sidecarLocalArtifactKindSchema = external_exports.enum([
|
|
17245
17252
|
"recording_session",
|
|
17246
17253
|
"download",
|
|
@@ -17391,6 +17398,12 @@ var sidecarEventSchema = external_exports.discriminatedUnion("type", [
|
|
|
17391
17398
|
startMs: external_exports.number().nonnegative().optional(),
|
|
17392
17399
|
endMs: external_exports.number().nonnegative().optional()
|
|
17393
17400
|
}),
|
|
17401
|
+
external_exports.object({
|
|
17402
|
+
type: external_exports.literal("live_caption.status"),
|
|
17403
|
+
sessionId: external_exports.string(),
|
|
17404
|
+
status: sidecarLiveCaptionStatusSchema,
|
|
17405
|
+
message: external_exports.string().optional()
|
|
17406
|
+
}),
|
|
17394
17407
|
external_exports.object({
|
|
17395
17408
|
type: external_exports.literal("local_artifact.upserted"),
|
|
17396
17409
|
sessionId: external_exports.string().optional(),
|