@vibexnpm/talkx 3.0.1 → 3.0.2
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.d.ts +8 -2
- package/dist/talkflow-sdk.esm.js +1 -1
- package/dist/talkflow-sdk.esm.js.map +1 -1
- package/dist/talkflow-sdk.standalone.js +1 -1
- package/dist/talkflow-sdk.standalone.js.map +1 -1
- package/dist/talkflow-sdk.umd.js +1 -1
- package/dist/talkflow-sdk.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/chat/ChatClient.js +15 -10
- package/types/index.d.ts +8 -2
package/dist/index.d.ts
CHANGED
|
@@ -307,6 +307,8 @@ export interface RefreshSummaryResult {
|
|
|
307
307
|
|
|
308
308
|
/** {@link ChatClient.getSummary} 옵션. */
|
|
309
309
|
export interface GetSummaryOptions {
|
|
310
|
+
/** 조회할 포맷({@link SummarizeFormat}). 미지정 시 기본(SHORT 우선). 미보유 포맷이면 rollup=null. */
|
|
311
|
+
format?: SummarizeFormatValue;
|
|
310
312
|
/** segment 페이지 커서(exclusive). 미지정 시 처음부터. */
|
|
311
313
|
afterSeq?: number;
|
|
312
314
|
/** segment 페이지 크기(서버 상한 50). */
|
|
@@ -325,6 +327,8 @@ export interface RoomSummaryRollup {
|
|
|
325
327
|
watermarkAt: string | null;
|
|
326
328
|
/** 전체 segment 수(페이지 총량 힌트). */
|
|
327
329
|
segmentCount: number;
|
|
330
|
+
/** 이 포맷이 최신 대화를 아직 반영 안 함(reducedSegmentCount < segmentCount) — refreshSummary 로 최신화 가능. */
|
|
331
|
+
stale: boolean;
|
|
328
332
|
/** 진행 상태. {@code 'IDLE'}(완료/대기) | {@code 'RUNNING'}(요약 중) | {@code 'FAILED'}(실패). */
|
|
329
333
|
status: 'IDLE' | 'RUNNING' | 'FAILED';
|
|
330
334
|
/** 마지막 갱신 시각. */
|
|
@@ -352,9 +356,11 @@ export interface RoomSummarySegment {
|
|
|
352
356
|
* 아직 한 번도 요약되지 않았으면 {@code rollup} 이 {@code null} 이고 {@code segments} 는 빈 배열이다.
|
|
353
357
|
*/
|
|
354
358
|
export interface RoomSummaryView {
|
|
355
|
-
/** 통합 요약본.
|
|
359
|
+
/** 요청/기본 포맷의 통합 요약본. 그 포맷으로 아직 요약 안 됐으면 null(availableFormats 로 다른 포맷 확인). */
|
|
356
360
|
rollup: RoomSummaryRollup | null;
|
|
357
|
-
/**
|
|
361
|
+
/** 이 방이 보유한 포맷 목록(short/timeline/… — 탭 렌더용). */
|
|
362
|
+
availableFormats: string[];
|
|
363
|
+
/** 구간 부분요약 페이지(포맷 무관 공유). */
|
|
358
364
|
segments: RoomSummarySegment[];
|
|
359
365
|
/** 다음 segment 페이지 존재 여부. */
|
|
360
366
|
hasNext: boolean;
|