@arbidocs/react 0.5.52 → 0.5.53

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.cts CHANGED
@@ -7662,10 +7662,13 @@ declare function invalidateTagTables(qc: QueryClient, workspaceId: string): Prom
7662
7662
  declare function invalidateTagData(qc: QueryClient, workspaceId: string): Promise<unknown>;
7663
7663
  /** {@link invalidateTagData} for the open workspace: call it after a doctag or fact write. */
7664
7664
  declare function useInvalidateTagData(): () => Promise<unknown>;
7665
- /** What a new tag is: its name, and optionally kind, format, parent, values, sharing. */
7666
- type CreateTagInput = Omit<Parameters<typeof tags.createTag>[1], 'workspaceId'>;
7667
7665
  /**
7668
- * Create a tag in the open workspace (`{ name, kind: 'issue' }`, `{ name, parentId }`, …): it is
7666
+ * What a new tag is: its name, and optionally kind, format, parent, values, sharing, and the workspace it goes in
7667
+ * (absent: the open one).
7668
+ */
7669
+ type CreateTagInput = Parameters<typeof tags.createTag>[1];
7670
+ /**
7671
+ * Create a tag in the open workspace, or `workspaceId` (`{ name, kind: 'issue' }`, `{ name, parentId }`, …): it is
7669
7672
  * added to the tag list and the tables re-read. Resolves with the new tag. Offline it is held and
7670
7673
  * sent on reconnect (a host that registers `registerArbiMutationDefaults` keeps it across reloads).
7671
7674
  */
@@ -7689,7 +7692,16 @@ declare function useCreateTag(): _tanstack_react_query.UseMutationResult<{
7689
7692
  updated_by_ext_id?: string | null;
7690
7693
  created_at: string;
7691
7694
  updated_at: string;
7692
- }, Error, CreateTagInput, unknown>;
7695
+ }, Error, {
7696
+ name: string;
7697
+ workspaceId?: string;
7698
+ tagType?: _arbidocs_client.components["schemas"]["TagFormat"];
7699
+ instruction?: string | null;
7700
+ shared?: boolean;
7701
+ kind?: TagKind | null;
7702
+ parentId?: string | null;
7703
+ fieldValues?: Record<string, unknown> | null;
7704
+ }, unknown>;
7693
7705
  /**
7694
7706
  * Whether a tag of this name (any case) is being created right now: a second create of the same
7695
7707
  * name (a double Enter) is skipped instead of making a duplicate.
package/dist/index.d.ts CHANGED
@@ -7662,10 +7662,13 @@ declare function invalidateTagTables(qc: QueryClient, workspaceId: string): Prom
7662
7662
  declare function invalidateTagData(qc: QueryClient, workspaceId: string): Promise<unknown>;
7663
7663
  /** {@link invalidateTagData} for the open workspace: call it after a doctag or fact write. */
7664
7664
  declare function useInvalidateTagData(): () => Promise<unknown>;
7665
- /** What a new tag is: its name, and optionally kind, format, parent, values, sharing. */
7666
- type CreateTagInput = Omit<Parameters<typeof tags.createTag>[1], 'workspaceId'>;
7667
7665
  /**
7668
- * Create a tag in the open workspace (`{ name, kind: 'issue' }`, `{ name, parentId }`, …): it is
7666
+ * What a new tag is: its name, and optionally kind, format, parent, values, sharing, and the workspace it goes in
7667
+ * (absent: the open one).
7668
+ */
7669
+ type CreateTagInput = Parameters<typeof tags.createTag>[1];
7670
+ /**
7671
+ * Create a tag in the open workspace, or `workspaceId` (`{ name, kind: 'issue' }`, `{ name, parentId }`, …): it is
7669
7672
  * added to the tag list and the tables re-read. Resolves with the new tag. Offline it is held and
7670
7673
  * sent on reconnect (a host that registers `registerArbiMutationDefaults` keeps it across reloads).
7671
7674
  */
@@ -7689,7 +7692,16 @@ declare function useCreateTag(): _tanstack_react_query.UseMutationResult<{
7689
7692
  updated_by_ext_id?: string | null;
7690
7693
  created_at: string;
7691
7694
  updated_at: string;
7692
- }, Error, CreateTagInput, unknown>;
7695
+ }, Error, {
7696
+ name: string;
7697
+ workspaceId?: string;
7698
+ tagType?: _arbidocs_client.components["schemas"]["TagFormat"];
7699
+ instruction?: string | null;
7700
+ shared?: boolean;
7701
+ kind?: TagKind | null;
7702
+ parentId?: string | null;
7703
+ fieldValues?: Record<string, unknown> | null;
7704
+ }, unknown>;
7693
7705
  /**
7694
7706
  * Whether a tag of this name (any case) is being created right now: a second create of the same
7695
7707
  * name (a double Enter) is skipped instead of making a duplicate.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { invalidateConversationLists, patchConversation, invalidateConversationDetails, removeConversationFromLists, addConversationToList, findConversation, isConversationShared, isKnownSoloConversation, patchConversationList, useAccountClient, myChatId, upsertChat, appendToThread, dropFromThread, deleteChatMessage, removeChat, getOpenChat, cachedChat, applyChatEvent, applyCallEvent } from './chunk-JQSHGBNI.js';
2
2
  export { AUDIENCE_CHOICES, CALL_CAPTION_TOPIC, CALL_CHAT_MAX_CHARS, CALL_CHAT_TOPIC, CALL_MODERATION_TOPIC, CALL_RECORDING_TOPIC, CALL_TRANSCRIPTION_TOPIC, CALL_WEBINAR_TOPIC, CAPTION_MAX_CHARS, COMPOSITE_AUDIO_BITS_PER_SECOND, COMPOSITE_VIDEO_BITS_PER_SECOND, DEFAULT_JOIN_CHOICES, EMPTY_CALL_SESSION, EXPORT_SAMPLE_RATE, HISTORY_LIMIT, LIVE_SEGMENTER, MAX_AVATAR_FILE_BYTES, MUTED_DEDUPE_MS, PLAYBACK_LOOKAHEAD_MS, READ_ONLY_MEETING_TEXT, RECORDING_CHUNK_MS, RECORDING_SEGMENTER, SEGMENT_FRAME_MS, SEGMENT_ID_PATTERN, SEGMENT_PRE_ROLL_MS, SHORT_PIECE_MERGE_GAP_MS, SPEAKER_AUDIO_BITS_PER_SECOND, TrackUploader, UPLOAD_ATTEMPTS, UPLOAD_BACKOFF_MS, acceptRing, addConversationToList, appendToThread, applyAgentDmStatus, applyCallEvent, applyChatEvent, applyChatMessage, applyChatRead, applyChatUpdated, arbiAccountClient, buildMeetingChatBody, cachedChat, cachedChats, callLink, callMemberKeys, callSession, chatByExtId, chatHasLiveCall, chatLiveCallId, chatTranscriptRef, clearMeetingChatCache, clearTrackUploaders, clockTime, compositeFiles, compositeTrack, conversationKeyForCall, createMutedNotifier, createTrackCutter, cutAtPauses, declineRing, decodeCallChatPacket, decodeCaptionPacket, decodeMono16k, decryptPart, encodeCallChatPacket, encodeCaptionPacket, encodeWav, encryptPart, ensureMeetingChat, entitlementRefusal, extensionFor, fetchPart, fileSafe, findConversation, floatToWav, formatTranscriptMarkdown, getOpenChat, hasRecordingTranscript, invalidateCall, invalidateConversationDetails, invalidateConversationLists, isConversationListKey, isConversationShared, isKnownSoloConversation, isRecordingOver, isRecordingSegmentId, isRetryable, isWorkspaceGuestOf, joinFromPreJoin, knownMeetingChat, loadMeetingHistory, markRejoining, meetingChatRefFrom, meetingRefForCall, mergeChatLines, mutedNoticeFromEvent, mutedNoticeFromPacket, mutedNoticeText, myChatId, newPacketId, newSegmentId, newTrackKey, nextSeqAfter, onCallEvent, openCall, openQuestion, openRecording, parseWebinarPacket, partKey, partOffsetMs, partsDue, patchConversation, patchConversationList, persistMeetingMessage, persistTranscriptSegment, playheadAt, postRecordingDocsToThread, postTranscriptToThread, recordingFiles, recordingWindowsOf, rejoinAsAudience, removeChat, removeConversationFromLists, resetCallSession, resolveMeetingChat, saveRecordingFilesToThread, schedulePart, sealQuestionText, serverCallsExperimental, setOpenChat, sortTranscriptMessages, sortedParts, speakerTracks, speakerWav, splitIntoFiles, standalone, startChatCall, startContactsCall, startDmCall, startThreadCall, startsMediaFile, storeTranscriptSegment, stripSpeakerPrefix, supersedeLiveTranscript, supersededTranscriptLines, threadHasLiveCall, threadLiveCallId, threadTranscriptLines, threadTranscriptRef, threadTranscriptText, timelineDurationMs, timelineOf, toProfileView, trackUploaderFor, transcribeRecording, transcriptPersistRole, transcriptSegmentOf, unwrapTrackKey, upsertChat, useAccountClient, useAvatarCrop, useCall, useCallInviteLinks, useCallRecording, useCallRecordings, useCallSession, useCallTranscriptionAvailable, useCallsConfig, useCallsEnabled, useCanHostCalls, useEntitlements, useIsEntitled, useMeetingReadOnly, useNameEditor, useOpenCallMeetingChat, useProfile, useRecordingActions, useRecordingWindows, useRevokeCallInviteLink, useSaveToThread, useServerCallsEnabled, useServerCallsExperimental, useUpdateProfile, wrapTrackKey, writeSamples } from './chunk-JQSHGBNI.js';
3
- import { replayableTagMutations, patchDocuments, setCachedDocument, adjustTagCounts, patchCachedDocument, FINISHED_DOCUMENT_STATUSES, refreshDocuments, getCachedDocuments, useArbiWsStore, IN_FLIGHT_DOCUMENT_STATUSES, forgetDocuments, useSimilarDocuments, SIMILARITY_THRESHOLD, useDocuments, finishEntityExtraction } from './chunk-MJWUUDYT.js';
4
- export { DISMISSED_TASK_TTL_MS, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, FINISHED_DOCUMENT_STATUSES, IN_FLIGHT_DOCUMENT_STATUSES, SIMILARITY_THRESHOLD, adjustTagCounts, dropTagFromCachedDocuments, finishEntityExtraction, forgetDocuments, getCachedDocuments, invalidateTagData, invalidateTagTables, isDocumentsLoading, isRowNewer, isStaleTaskUpdate, patchCachedDocument, patchDocuments, patchWorkspaceTags, refreshDocuments, resolveDocumentStatus, setCachedDocument, settledByRows, startEntityExtraction, stopDocumentsLoading, subscribeDocumentRows, upsertDocuments, useArbiWsStore, useCreateTag, useDeleteTag, useDocument, useDocuments, useDocumentsById, useDocumentsLoading, useEntityExtractionDocIds, useExtractEntities, useInvalidateTagData, useIsCreatingTag, useRefreshDocuments, useSetTagValues, useSimilarDocuments, useTagKindSchema, useUpdateTag, useUpdateTagKindSchema } from './chunk-MJWUUDYT.js';
3
+ import { replayableTagMutations, patchDocuments, setCachedDocument, adjustTagCounts, patchCachedDocument, FINISHED_DOCUMENT_STATUSES, refreshDocuments, getCachedDocuments, useArbiWsStore, IN_FLIGHT_DOCUMENT_STATUSES, forgetDocuments, useSimilarDocuments, SIMILARITY_THRESHOLD, useDocuments, finishEntityExtraction } from './chunk-G3GPVSTA.js';
4
+ export { DISMISSED_TASK_TTL_MS, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, FINISHED_DOCUMENT_STATUSES, IN_FLIGHT_DOCUMENT_STATUSES, SIMILARITY_THRESHOLD, adjustTagCounts, dropTagFromCachedDocuments, finishEntityExtraction, forgetDocuments, getCachedDocuments, invalidateTagData, invalidateTagTables, isDocumentsLoading, isRowNewer, isStaleTaskUpdate, patchCachedDocument, patchDocuments, patchWorkspaceTags, refreshDocuments, resolveDocumentStatus, setCachedDocument, settledByRows, startEntityExtraction, stopDocumentsLoading, subscribeDocumentRows, upsertDocuments, useArbiWsStore, useCreateTag, useDeleteTag, useDocument, useDocuments, useDocumentsById, useDocumentsLoading, useEntityExtractionDocIds, useExtractEntities, useInvalidateTagData, useIsCreatingTag, useRefreshDocuments, useSetTagValues, useSimilarDocuments, useTagKindSchema, useUpdateTag, useUpdateTagKindSchema } from './chunk-G3GPVSTA.js';
5
5
  import { useArbiSessionState, useConversations, useArbiSession, useWorkspaces, useConfig, useArbiSessionStore, useAvailableModels, useParsedDocument, useTags, selectDraft, useConversationThreads, createArbiSessionStore, useAgents, useAssistantQuery, useActivity, queuedMessages, MIN_QUEUED_MESSAGE_VISIBILITY_MS } from './chunk-BIHGAW4G.js';
6
6
  export { DEFAULT_DOCUMENT_VIEWER_STATE, EMPTY_SESSION_STATE, MAX_THREAD_TABS, MIN_QUEUED_MESSAGE_VISIBILITY_MS, PROJECT_CREATION_DENIED_REASON, agentControl, clearSealedDrafts, closePanelIn, conversationKey, createArbiLayoutStore, createArbiSessionStore, createDebouncedWriter, createSealedDraftStorage, createStoragePersist, defaultLayoutState, dmTabId, flushOnPageExit, isPanelOpen, isUsageMetered, layoutActionsOf, nextViewingDocument, openPanelIn, panelPlace, parseSavedLayout, queuedMessages, restoreLayout, savedLayoutOf, selectDraft, selectIsGenerating, selectViewingDocumentId, threadTabId, useActivity, useAgents, useArbiSession, useArbiSessionState, useArbiSessionStore, useAssistantQuery, useAvailableModels, useBoxRole, useBuiltinCommands, useCanCreateProjects, useConfig, useConfigs, useConversationThreads, useConversations, useCurrentUser, useDeleteAgents, useDocumentVersionList, useFirmPool, useHealth, useMessageDetails, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSessionPageTab, useSessionView, useSignedInSession, useTags, useThumbnails, useTopUpFirmPool, useTransientView, useUserUsageToday, useWorkspaceActivity, useWorkspaces } from './chunk-BIHGAW4G.js';
7
7
  import { fetchDocumentFile, downloadBlob, fetchMarkupPdf, fetchDocumentPdf } from './chunk-KOLCL4KV.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/react",
3
- "version": "0.5.52",
3
+ "version": "0.5.53",
4
4
  "description": "React hooks and provider for the ARBI SDK",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -101,8 +101,8 @@
101
101
  "build-storybook": "storybook build"
102
102
  },
103
103
  "dependencies": {
104
- "@arbidocs/client": "0.5.52",
105
- "@arbidocs/sdk": "0.5.52",
104
+ "@arbidocs/client": "0.5.53",
105
+ "@arbidocs/sdk": "0.5.53",
106
106
  "@didit-protocol/sdk-web": "0.4.0",
107
107
  "@livekit/components-react": "2.9.24",
108
108
  "@radix-ui/react-avatar": "^1.2.0",