@arbidocs/blocks 0.5.0 → 0.5.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/dist/{ConnectedCallDock-MBAAUETC.js → ConnectedCallDock-74BBCKXO.js} +5 -5
- package/dist/{ConnectedCallDock-MBAAUETC.js.map → ConnectedCallDock-74BBCKXO.js.map} +1 -1
- package/dist/{ConnectedCallDock-BNKBAKIT.cjs → ConnectedCallDock-7O6VPYVI.cjs} +6 -6
- package/dist/{ConnectedCallDock-BNKBAKIT.cjs.map → ConnectedCallDock-7O6VPYVI.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-QRWD2SDG.cjs → ConnectedCallRoom-2HCE5YD2.cjs} +6 -6
- package/dist/{ConnectedCallRoom-QRWD2SDG.cjs.map → ConnectedCallRoom-2HCE5YD2.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-XJUXVNMB.js → ConnectedCallRoom-KAHBN5KO.js} +5 -5
- package/dist/{ConnectedCallRoom-XJUXVNMB.js.map → ConnectedCallRoom-KAHBN5KO.js.map} +1 -1
- package/dist/calls/index.cjs +2 -2
- package/dist/calls/index.js +2 -2
- package/dist/chat/chat-page-types.d.ts +5 -0
- package/dist/chat/index.cjs +79 -79
- package/dist/chat/index.js +2 -2
- package/dist/{chunk-CEAUPIRB.cjs → chunk-4KMYUM7Q.cjs} +5 -5
- package/dist/{chunk-CEAUPIRB.cjs.map → chunk-4KMYUM7Q.cjs.map} +1 -1
- package/dist/{chunk-3BJIS4GV.cjs → chunk-5D32XL3E.cjs} +5 -4
- package/dist/chunk-5D32XL3E.cjs.map +1 -0
- package/dist/{chunk-XKTYKZWV.js → chunk-7GAS4N7L.js} +4 -3
- package/dist/chunk-7GAS4N7L.js.map +1 -0
- package/dist/{chunk-YMBDPI7X.js → chunk-BKNHCORH.js} +23 -15
- package/dist/chunk-BKNHCORH.js.map +1 -0
- package/dist/{chunk-G4O5AKUO.js → chunk-BWKBLCWC.js} +3 -3
- package/dist/{chunk-G4O5AKUO.js.map → chunk-BWKBLCWC.js.map} +1 -1
- package/dist/{chunk-6TEYZRY5.cjs → chunk-LHWKA2XI.cjs} +23 -15
- package/dist/chunk-LHWKA2XI.cjs.map +1 -0
- package/dist/{chunk-QSC6Y55X.cjs → chunk-PAW2PC2M.cjs} +9 -9
- package/dist/{chunk-QSC6Y55X.cjs.map → chunk-PAW2PC2M.cjs.map} +1 -1
- package/dist/{chunk-TBRX5RNH.js → chunk-XSA46YJV.js} +3 -3
- package/dist/{chunk-TBRX5RNH.js.map → chunk-XSA46YJV.js.map} +1 -1
- package/dist/connect/index.cjs +51 -51
- package/dist/connect/index.js +2 -2
- package/dist/index.cjs +79 -79
- package/dist/index.js +2 -2
- package/dist/studio/index.cjs +3 -3
- package/dist/studio/index.js +2 -2
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/chunk-3BJIS4GV.cjs.map +0 -1
- package/dist/chunk-6TEYZRY5.cjs.map +0 -1
- package/dist/chunk-XKTYKZWV.js.map +0 -1
- package/dist/chunk-YMBDPI7X.js.map +0 -1
package/dist/connect/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { HomeLoadError, HomeFrame, HomeMain, HomeCenteredScroll, HomeCenteredCol
|
|
|
8
8
|
import { ProjectBandTitle, PlainBandTitle } from '../chunk-RQKWYKZY.js';
|
|
9
9
|
import '../chunk-5TDGVOR5.js';
|
|
10
10
|
import { MessageJsonTree, DraggableHeader, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, DeleteAccountDialog, toDeleteBlockerViews, PremiumModelsFrame, ConnectionsLoading, ConnectionsError, ConnectionsEmpty, SettingsPage, SyncDialogBody, SyncField, SyncSelect, SyncSmallNote, SyncLoading, SyncReconnectNotice, SyncNote, SyncTreeFrame, SyncLinkRow, SyncLinkButton, SyncOptions, SyncOptionToggle, SyncDialogFooter, InvoicesDialog, PlanDialogFrame, ProjectList, RenameDialog, SharedProjectsSection, SharedProjectRow, MoreInfo, MoreInfoList, ProjectDetailHeader, PlanBadge, ProjectDetailSection, PlanStack, PlanNotice, PlanPickerCard, PlanPickerHeader, PricingToggle, PromoCodeInput, PlanActionButton, applyTriStateFilters, PanelFrame, PanelAddButton, PanelFrameBody, PanelScroll, PanelActionsRow, applyInvertedIndexFilter, ConfigSwitcherBar, PanelNote, ProjectRow, QuotaMeter, FilterChip, buildInvertedIndex, serverConnectionView, ServerConnectionButton, ModelProviderLabel, SyncFolderRow, SyncFolderStatus, PlanTierOption, PlanActionRow, SubscriptionStatusView, DailyCapField, UsagePanel, UsageSummary, UsageQuotaHint, UsageToggle, UsageSection, UsageLineChart, UsageLegend, UsageProportionBar, UsageActionButton, PlanInfoPopover, PlanCardGrid, ReferralRewardSummary, CheckoutDialogFrame, ConnectionCard, ReferralRewardNote } from '../chunk-NHY4AKA4.js';
|
|
11
|
-
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-
|
|
11
|
+
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-7GAS4N7L.js';
|
|
12
12
|
import { useConnectedWorkspaceRole, useConnectedWorkflowScopeSource, ConnectedWorkflowDocumentsField, ConnectedWorkflowLauncher, ConnectedNativeDocxEditor } from '../chunk-34LBKTII.js';
|
|
13
13
|
export { ConnectedWorkflowDocumentsField, ConnectedWorkflowLauncher, ConnectedWorkflowsTable, DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS, toWorkflowFieldDocument, useConnectedAgentOptions, useConnectedWorkflowScopeSource, useConnectedWorkspaceRole, useDocxCommentTarget, useNativeDocxSupport } from '../chunk-34LBKTII.js';
|
|
14
14
|
import { ConnectedMarkdown, InternalDocLink, ExternalLink, DocumentWorkspaceContext } from '../chunk-26EQQQBX.js';
|
|
@@ -73,7 +73,7 @@ import '../chunk-P6GHJSLR.js';
|
|
|
73
73
|
import { useBlocksEnvironment, useRequestedSettingsSection } from '../chunk-GKM4EOH7.js';
|
|
74
74
|
import { ModalHeader, ModalScaffold, ModalSection, ModalSectionTitle } from '../chunk-TX2ZICS7.js';
|
|
75
75
|
import { useLongPaste, useRecipientDraft, SlashMenu, ContextUsageBar, findMessageDocument, getParticipantTints, flashMessage, parseSlashTokenInProgress, buildSlashItems, filterSlashItems, copyMessageToClipboard, BranchControls, ThreadVisualizer, downloadTableAsCsv, ModelAutoIcon, ModelTierIcon, ModelDot, ModelPricingTip, ModelPickerPopover, ModelOption, ModelMenuDivider, ModelTierOption, ModelConfigureButton, ModelMenuMessage, ModelPickerTrigger, ModelTriggerContent, ModelOptionLabel, ConversationBody, ConversationMain, ConversationLoading, PendingAnswerBar, ComposerTools, PaModeBadge, ComposerAccessories, DraftingDocChip } from '../chunk-ULQV2NJT.js';
|
|
76
|
-
import { ComposerSend, ComposerVoiceButton, Composer, MessageActionMenu, MessageActionButton, MessageFooter, MessageRoot, MessageContent, MessageAuthor, MessageBubble, MessageByline, MessageSubagentBadge, MessageBody, MessageNarration, useStreamAnnouncement, MessageList, WorkflowStepChip, MessageSources, ChatPage, ConversationEmpty, MessageAlert, ComposerDock, ComposerContainer, ScrollToBottom } from '../chunk-
|
|
76
|
+
import { ComposerSend, ComposerVoiceButton, Composer, MessageActionMenu, MessageActionButton, MessageFooter, MessageRoot, MessageContent, MessageAuthor, MessageBubble, MessageByline, MessageSubagentBadge, MessageBody, MessageNarration, useStreamAnnouncement, MessageList, WorkflowStepChip, MessageSources, ChatPage, ConversationEmpty, MessageAlert, ComposerDock, ComposerContainer, ScrollToBottom } from '../chunk-BKNHCORH.js';
|
|
77
77
|
import { workspaceDocIdFromHref } from '../chunk-KJXJRX33.js';
|
|
78
78
|
import '../chunk-7XF5SFJ2.js';
|
|
79
79
|
import { useMentionAutocomplete, stepStatesFromActivity, stepDocuments, splitDocRef, stepPhase, stepKindOf, STEP_KIND_ICONS, stepLevels, canAssign, assigneeName, runFieldsOf, initialRunInputs, workflowSteps, runThreadTitle, stepFields } from '../chunk-3KZWRDPY.js';
|
package/dist/index.cjs
CHANGED
|
@@ -49,9 +49,9 @@ var chunkMEMWZ72Y_cjs = require('./chunk-MEMWZ72Y.cjs');
|
|
|
49
49
|
var chunkZW6FPIFC_cjs = require('./chunk-ZW6FPIFC.cjs');
|
|
50
50
|
var chunk25YFJLFP_cjs = require('./chunk-25YFJLFP.cjs');
|
|
51
51
|
require('./chunk-ULWRNGGE.cjs');
|
|
52
|
-
var
|
|
52
|
+
var chunk4KMYUM7Q_cjs = require('./chunk-4KMYUM7Q.cjs');
|
|
53
53
|
var chunkF66OH26L_cjs = require('./chunk-F66OH26L.cjs');
|
|
54
|
-
var
|
|
54
|
+
var chunkLHWKA2XI_cjs = require('./chunk-LHWKA2XI.cjs');
|
|
55
55
|
var chunk5UHAWSEX_cjs = require('./chunk-5UHAWSEX.cjs');
|
|
56
56
|
var chunkOK3UJMO4_cjs = require('./chunk-OK3UJMO4.cjs');
|
|
57
57
|
var chunkB6MVQCXW_cjs = require('./chunk-B6MVQCXW.cjs');
|
|
@@ -3237,75 +3237,75 @@ Object.defineProperty(exports, "useRequestedSettingsSection", {
|
|
|
3237
3237
|
});
|
|
3238
3238
|
Object.defineProperty(exports, "AssistantToaster", {
|
|
3239
3239
|
enumerable: true,
|
|
3240
|
-
get: function () { return
|
|
3240
|
+
get: function () { return chunk4KMYUM7Q_cjs.AssistantToaster; }
|
|
3241
3241
|
});
|
|
3242
3242
|
Object.defineProperty(exports, "ContextActionButton", {
|
|
3243
3243
|
enumerable: true,
|
|
3244
|
-
get: function () { return
|
|
3244
|
+
get: function () { return chunk4KMYUM7Q_cjs.ContextActionButton; }
|
|
3245
3245
|
});
|
|
3246
3246
|
Object.defineProperty(exports, "ContextCheckRow", {
|
|
3247
3247
|
enumerable: true,
|
|
3248
|
-
get: function () { return
|
|
3248
|
+
get: function () { return chunk4KMYUM7Q_cjs.ContextCheckRow; }
|
|
3249
3249
|
});
|
|
3250
3250
|
Object.defineProperty(exports, "ContextPanelContent", {
|
|
3251
3251
|
enumerable: true,
|
|
3252
|
-
get: function () { return
|
|
3252
|
+
get: function () { return chunk4KMYUM7Q_cjs.ContextPanelContent; }
|
|
3253
3253
|
});
|
|
3254
3254
|
Object.defineProperty(exports, "ContextPanelFooter", {
|
|
3255
3255
|
enumerable: true,
|
|
3256
|
-
get: function () { return
|
|
3256
|
+
get: function () { return chunk4KMYUM7Q_cjs.ContextPanelFooter; }
|
|
3257
3257
|
});
|
|
3258
3258
|
Object.defineProperty(exports, "ContextPanelTabs", {
|
|
3259
3259
|
enumerable: true,
|
|
3260
|
-
get: function () { return
|
|
3260
|
+
get: function () { return chunk4KMYUM7Q_cjs.ContextPanelTabs; }
|
|
3261
3261
|
});
|
|
3262
3262
|
Object.defineProperty(exports, "ContextPickerList", {
|
|
3263
3263
|
enumerable: true,
|
|
3264
|
-
get: function () { return
|
|
3264
|
+
get: function () { return chunk4KMYUM7Q_cjs.ContextPickerList; }
|
|
3265
3265
|
});
|
|
3266
3266
|
Object.defineProperty(exports, "ContextPickerRow", {
|
|
3267
3267
|
enumerable: true,
|
|
3268
|
-
get: function () { return
|
|
3268
|
+
get: function () { return chunk4KMYUM7Q_cjs.ContextPickerRow; }
|
|
3269
3269
|
});
|
|
3270
3270
|
Object.defineProperty(exports, "ContextSearchInput", {
|
|
3271
3271
|
enumerable: true,
|
|
3272
|
-
get: function () { return
|
|
3272
|
+
get: function () { return chunk4KMYUM7Q_cjs.ContextSearchInput; }
|
|
3273
3273
|
});
|
|
3274
3274
|
Object.defineProperty(exports, "ContextSelectList", {
|
|
3275
3275
|
enumerable: true,
|
|
3276
|
-
get: function () { return
|
|
3276
|
+
get: function () { return chunk4KMYUM7Q_cjs.ContextSelectList; }
|
|
3277
3277
|
});
|
|
3278
3278
|
Object.defineProperty(exports, "ContextSelectRow", {
|
|
3279
3279
|
enumerable: true,
|
|
3280
|
-
get: function () { return
|
|
3280
|
+
get: function () { return chunk4KMYUM7Q_cjs.ContextSelectRow; }
|
|
3281
3281
|
});
|
|
3282
3282
|
Object.defineProperty(exports, "ConversationSearchView", {
|
|
3283
3283
|
enumerable: true,
|
|
3284
|
-
get: function () { return
|
|
3284
|
+
get: function () { return chunk4KMYUM7Q_cjs.ConversationSearchView; }
|
|
3285
3285
|
});
|
|
3286
3286
|
Object.defineProperty(exports, "DEFAULT_CONVERSATION_SEARCH_LABELS", {
|
|
3287
3287
|
enumerable: true,
|
|
3288
|
-
get: function () { return
|
|
3288
|
+
get: function () { return chunk4KMYUM7Q_cjs.DEFAULT_CONVERSATION_SEARCH_LABELS; }
|
|
3289
3289
|
});
|
|
3290
3290
|
Object.defineProperty(exports, "DEFAULT_LABEL_PIN_ROW_LABELS", {
|
|
3291
3291
|
enumerable: true,
|
|
3292
|
-
get: function () { return
|
|
3292
|
+
get: function () { return chunk4KMYUM7Q_cjs.DEFAULT_LABEL_PIN_ROW_LABELS; }
|
|
3293
3293
|
});
|
|
3294
3294
|
Object.defineProperty(exports, "DEFAULT_PINNED_DOC_CHIP_LABELS", {
|
|
3295
3295
|
enumerable: true,
|
|
3296
|
-
get: function () { return
|
|
3296
|
+
get: function () { return chunk4KMYUM7Q_cjs.DEFAULT_PINNED_DOC_CHIP_LABELS; }
|
|
3297
3297
|
});
|
|
3298
3298
|
Object.defineProperty(exports, "LabelPinRow", {
|
|
3299
3299
|
enumerable: true,
|
|
3300
|
-
get: function () { return
|
|
3300
|
+
get: function () { return chunk4KMYUM7Q_cjs.LabelPinRow; }
|
|
3301
3301
|
});
|
|
3302
3302
|
Object.defineProperty(exports, "PinnedDocChip", {
|
|
3303
3303
|
enumerable: true,
|
|
3304
|
-
get: function () { return
|
|
3304
|
+
get: function () { return chunk4KMYUM7Q_cjs.PinnedDocChip; }
|
|
3305
3305
|
});
|
|
3306
3306
|
Object.defineProperty(exports, "useDismissibleCard", {
|
|
3307
3307
|
enumerable: true,
|
|
3308
|
-
get: function () { return
|
|
3308
|
+
get: function () { return chunk4KMYUM7Q_cjs.useDismissibleCard; }
|
|
3309
3309
|
});
|
|
3310
3310
|
Object.defineProperty(exports, "BranchControls", {
|
|
3311
3311
|
enumerable: true,
|
|
@@ -3557,239 +3557,239 @@ Object.defineProperty(exports, "useRecipientDraft", {
|
|
|
3557
3557
|
});
|
|
3558
3558
|
Object.defineProperty(exports, "AssistantDock", {
|
|
3559
3559
|
enumerable: true,
|
|
3560
|
-
get: function () { return
|
|
3560
|
+
get: function () { return chunkLHWKA2XI_cjs.AssistantDock; }
|
|
3561
3561
|
});
|
|
3562
3562
|
Object.defineProperty(exports, "AssistantDockToggle", {
|
|
3563
3563
|
enumerable: true,
|
|
3564
|
-
get: function () { return
|
|
3564
|
+
get: function () { return chunkLHWKA2XI_cjs.AssistantDockToggle; }
|
|
3565
3565
|
});
|
|
3566
3566
|
Object.defineProperty(exports, "AssistantModeToggle", {
|
|
3567
3567
|
enumerable: true,
|
|
3568
|
-
get: function () { return
|
|
3568
|
+
get: function () { return chunkLHWKA2XI_cjs.AssistantModeToggle; }
|
|
3569
3569
|
});
|
|
3570
3570
|
Object.defineProperty(exports, "ChatDocuments", {
|
|
3571
3571
|
enumerable: true,
|
|
3572
|
-
get: function () { return
|
|
3572
|
+
get: function () { return chunkLHWKA2XI_cjs.ChatDocuments; }
|
|
3573
3573
|
});
|
|
3574
3574
|
Object.defineProperty(exports, "ChatMessageContent", {
|
|
3575
3575
|
enumerable: true,
|
|
3576
|
-
get: function () { return
|
|
3576
|
+
get: function () { return chunkLHWKA2XI_cjs.ChatMessageContent; }
|
|
3577
3577
|
});
|
|
3578
3578
|
Object.defineProperty(exports, "ChatPage", {
|
|
3579
3579
|
enumerable: true,
|
|
3580
|
-
get: function () { return
|
|
3580
|
+
get: function () { return chunkLHWKA2XI_cjs.ChatPage; }
|
|
3581
3581
|
});
|
|
3582
3582
|
Object.defineProperty(exports, "ChatThreadList", {
|
|
3583
3583
|
enumerable: true,
|
|
3584
|
-
get: function () { return
|
|
3584
|
+
get: function () { return chunkLHWKA2XI_cjs.ChatThreadList; }
|
|
3585
3585
|
});
|
|
3586
3586
|
Object.defineProperty(exports, "ChatThreadSelect", {
|
|
3587
3587
|
enumerable: true,
|
|
3588
|
-
get: function () { return
|
|
3588
|
+
get: function () { return chunkLHWKA2XI_cjs.ChatThreadSelect; }
|
|
3589
3589
|
});
|
|
3590
3590
|
Object.defineProperty(exports, "CitationMark", {
|
|
3591
3591
|
enumerable: true,
|
|
3592
|
-
get: function () { return
|
|
3592
|
+
get: function () { return chunkLHWKA2XI_cjs.CitationMark; }
|
|
3593
3593
|
});
|
|
3594
3594
|
Object.defineProperty(exports, "Composer", {
|
|
3595
3595
|
enumerable: true,
|
|
3596
|
-
get: function () { return
|
|
3596
|
+
get: function () { return chunkLHWKA2XI_cjs.Composer; }
|
|
3597
3597
|
});
|
|
3598
3598
|
Object.defineProperty(exports, "ComposerBranchingNotice", {
|
|
3599
3599
|
enumerable: true,
|
|
3600
|
-
get: function () { return
|
|
3600
|
+
get: function () { return chunkLHWKA2XI_cjs.ComposerBranchingNotice; }
|
|
3601
3601
|
});
|
|
3602
3602
|
Object.defineProperty(exports, "ComposerContainer", {
|
|
3603
3603
|
enumerable: true,
|
|
3604
|
-
get: function () { return
|
|
3604
|
+
get: function () { return chunkLHWKA2XI_cjs.ComposerContainer; }
|
|
3605
3605
|
});
|
|
3606
3606
|
Object.defineProperty(exports, "ComposerDock", {
|
|
3607
3607
|
enumerable: true,
|
|
3608
|
-
get: function () { return
|
|
3608
|
+
get: function () { return chunkLHWKA2XI_cjs.ComposerDock; }
|
|
3609
3609
|
});
|
|
3610
3610
|
Object.defineProperty(exports, "ComposerFrame", {
|
|
3611
3611
|
enumerable: true,
|
|
3612
|
-
get: function () { return
|
|
3612
|
+
get: function () { return chunkLHWKA2XI_cjs.ComposerFrame; }
|
|
3613
3613
|
});
|
|
3614
3614
|
Object.defineProperty(exports, "ComposerInput", {
|
|
3615
3615
|
enumerable: true,
|
|
3616
|
-
get: function () { return
|
|
3616
|
+
get: function () { return chunkLHWKA2XI_cjs.ComposerInput; }
|
|
3617
3617
|
});
|
|
3618
3618
|
Object.defineProperty(exports, "ComposerRoot", {
|
|
3619
3619
|
enumerable: true,
|
|
3620
|
-
get: function () { return
|
|
3620
|
+
get: function () { return chunkLHWKA2XI_cjs.ComposerRoot; }
|
|
3621
3621
|
});
|
|
3622
3622
|
Object.defineProperty(exports, "ComposerSend", {
|
|
3623
3623
|
enumerable: true,
|
|
3624
|
-
get: function () { return
|
|
3624
|
+
get: function () { return chunkLHWKA2XI_cjs.ComposerSend; }
|
|
3625
3625
|
});
|
|
3626
3626
|
Object.defineProperty(exports, "ComposerToolbar", {
|
|
3627
3627
|
enumerable: true,
|
|
3628
|
-
get: function () { return
|
|
3628
|
+
get: function () { return chunkLHWKA2XI_cjs.ComposerToolbar; }
|
|
3629
3629
|
});
|
|
3630
3630
|
Object.defineProperty(exports, "ComposerVoiceButton", {
|
|
3631
3631
|
enumerable: true,
|
|
3632
|
-
get: function () { return
|
|
3632
|
+
get: function () { return chunkLHWKA2XI_cjs.ComposerVoiceButton; }
|
|
3633
3633
|
});
|
|
3634
3634
|
Object.defineProperty(exports, "ContextChip", {
|
|
3635
3635
|
enumerable: true,
|
|
3636
|
-
get: function () { return
|
|
3636
|
+
get: function () { return chunkLHWKA2XI_cjs.ContextChip; }
|
|
3637
3637
|
});
|
|
3638
3638
|
Object.defineProperty(exports, "ConversationEmpty", {
|
|
3639
3639
|
enumerable: true,
|
|
3640
|
-
get: function () { return
|
|
3640
|
+
get: function () { return chunkLHWKA2XI_cjs.ConversationEmpty; }
|
|
3641
3641
|
});
|
|
3642
3642
|
Object.defineProperty(exports, "DEFAULT_ASSISTANT_MODE_TOGGLE_LABELS", {
|
|
3643
3643
|
enumerable: true,
|
|
3644
|
-
get: function () { return
|
|
3644
|
+
get: function () { return chunkLHWKA2XI_cjs.DEFAULT_ASSISTANT_MODE_TOGGLE_LABELS; }
|
|
3645
3645
|
});
|
|
3646
3646
|
Object.defineProperty(exports, "DEFAULT_CHAT_PAGE_LABELS", {
|
|
3647
3647
|
enumerable: true,
|
|
3648
|
-
get: function () { return
|
|
3648
|
+
get: function () { return chunkLHWKA2XI_cjs.DEFAULT_CHAT_PAGE_LABELS; }
|
|
3649
3649
|
});
|
|
3650
3650
|
Object.defineProperty(exports, "DEFAULT_COMPOSER_LABELS", {
|
|
3651
3651
|
enumerable: true,
|
|
3652
|
-
get: function () { return
|
|
3652
|
+
get: function () { return chunkLHWKA2XI_cjs.DEFAULT_COMPOSER_LABELS; }
|
|
3653
3653
|
});
|
|
3654
3654
|
Object.defineProperty(exports, "DEFAULT_CONVERSATION_EMPTY_LABELS", {
|
|
3655
3655
|
enumerable: true,
|
|
3656
|
-
get: function () { return
|
|
3656
|
+
get: function () { return chunkLHWKA2XI_cjs.DEFAULT_CONVERSATION_EMPTY_LABELS; }
|
|
3657
3657
|
});
|
|
3658
3658
|
Object.defineProperty(exports, "DEFAULT_MESSAGE_ALERT_LABELS", {
|
|
3659
3659
|
enumerable: true,
|
|
3660
|
-
get: function () { return
|
|
3660
|
+
get: function () { return chunkLHWKA2XI_cjs.DEFAULT_MESSAGE_ALERT_LABELS; }
|
|
3661
3661
|
});
|
|
3662
3662
|
Object.defineProperty(exports, "DEFAULT_MESSAGE_LABELS", {
|
|
3663
3663
|
enumerable: true,
|
|
3664
|
-
get: function () { return
|
|
3664
|
+
get: function () { return chunkLHWKA2XI_cjs.DEFAULT_MESSAGE_LABELS; }
|
|
3665
3665
|
});
|
|
3666
3666
|
Object.defineProperty(exports, "DEFAULT_MESSAGE_LIST_LABELS", {
|
|
3667
3667
|
enumerable: true,
|
|
3668
|
-
get: function () { return
|
|
3668
|
+
get: function () { return chunkLHWKA2XI_cjs.DEFAULT_MESSAGE_LIST_LABELS; }
|
|
3669
3669
|
});
|
|
3670
3670
|
Object.defineProperty(exports, "DEFAULT_WORKFLOW_STEP_CHIP_LABELS", {
|
|
3671
3671
|
enumerable: true,
|
|
3672
|
-
get: function () { return
|
|
3672
|
+
get: function () { return chunkLHWKA2XI_cjs.DEFAULT_WORKFLOW_STEP_CHIP_LABELS; }
|
|
3673
3673
|
});
|
|
3674
3674
|
Object.defineProperty(exports, "Message", {
|
|
3675
3675
|
enumerable: true,
|
|
3676
|
-
get: function () { return
|
|
3676
|
+
get: function () { return chunkLHWKA2XI_cjs.Message; }
|
|
3677
3677
|
});
|
|
3678
3678
|
Object.defineProperty(exports, "MessageActionButton", {
|
|
3679
3679
|
enumerable: true,
|
|
3680
|
-
get: function () { return
|
|
3680
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageActionButton; }
|
|
3681
3681
|
});
|
|
3682
3682
|
Object.defineProperty(exports, "MessageActionMenu", {
|
|
3683
3683
|
enumerable: true,
|
|
3684
|
-
get: function () { return
|
|
3684
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageActionMenu; }
|
|
3685
3685
|
});
|
|
3686
3686
|
Object.defineProperty(exports, "MessageAlert", {
|
|
3687
3687
|
enumerable: true,
|
|
3688
|
-
get: function () { return
|
|
3688
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageAlert; }
|
|
3689
3689
|
});
|
|
3690
3690
|
Object.defineProperty(exports, "MessageAuthor", {
|
|
3691
3691
|
enumerable: true,
|
|
3692
|
-
get: function () { return
|
|
3692
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageAuthor; }
|
|
3693
3693
|
});
|
|
3694
3694
|
Object.defineProperty(exports, "MessageBody", {
|
|
3695
3695
|
enumerable: true,
|
|
3696
|
-
get: function () { return
|
|
3696
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageBody; }
|
|
3697
3697
|
});
|
|
3698
3698
|
Object.defineProperty(exports, "MessageBubble", {
|
|
3699
3699
|
enumerable: true,
|
|
3700
|
-
get: function () { return
|
|
3700
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageBubble; }
|
|
3701
3701
|
});
|
|
3702
3702
|
Object.defineProperty(exports, "MessageByline", {
|
|
3703
3703
|
enumerable: true,
|
|
3704
|
-
get: function () { return
|
|
3704
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageByline; }
|
|
3705
3705
|
});
|
|
3706
3706
|
Object.defineProperty(exports, "MessageContent", {
|
|
3707
3707
|
enumerable: true,
|
|
3708
|
-
get: function () { return
|
|
3708
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageContent; }
|
|
3709
3709
|
});
|
|
3710
3710
|
Object.defineProperty(exports, "MessageFooter", {
|
|
3711
3711
|
enumerable: true,
|
|
3712
|
-
get: function () { return
|
|
3712
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageFooter; }
|
|
3713
3713
|
});
|
|
3714
3714
|
Object.defineProperty(exports, "MessageList", {
|
|
3715
3715
|
enumerable: true,
|
|
3716
|
-
get: function () { return
|
|
3716
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageList; }
|
|
3717
3717
|
});
|
|
3718
3718
|
Object.defineProperty(exports, "MessageListBanner", {
|
|
3719
3719
|
enumerable: true,
|
|
3720
|
-
get: function () { return
|
|
3720
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageListBanner; }
|
|
3721
3721
|
});
|
|
3722
3722
|
Object.defineProperty(exports, "MessageListEmpty", {
|
|
3723
3723
|
enumerable: true,
|
|
3724
|
-
get: function () { return
|
|
3724
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageListEmpty; }
|
|
3725
3725
|
});
|
|
3726
3726
|
Object.defineProperty(exports, "MessageListRoot", {
|
|
3727
3727
|
enumerable: true,
|
|
3728
|
-
get: function () { return
|
|
3728
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageListRoot; }
|
|
3729
3729
|
});
|
|
3730
3730
|
Object.defineProperty(exports, "MessageListRow", {
|
|
3731
3731
|
enumerable: true,
|
|
3732
|
-
get: function () { return
|
|
3732
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageListRow; }
|
|
3733
3733
|
});
|
|
3734
3734
|
Object.defineProperty(exports, "MessageListRows", {
|
|
3735
3735
|
enumerable: true,
|
|
3736
|
-
get: function () { return
|
|
3736
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageListRows; }
|
|
3737
3737
|
});
|
|
3738
3738
|
Object.defineProperty(exports, "MessageListStatus", {
|
|
3739
3739
|
enumerable: true,
|
|
3740
|
-
get: function () { return
|
|
3740
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageListStatus; }
|
|
3741
3741
|
});
|
|
3742
3742
|
Object.defineProperty(exports, "MessageListTail", {
|
|
3743
3743
|
enumerable: true,
|
|
3744
|
-
get: function () { return
|
|
3744
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageListTail; }
|
|
3745
3745
|
});
|
|
3746
3746
|
Object.defineProperty(exports, "MessageNarration", {
|
|
3747
3747
|
enumerable: true,
|
|
3748
|
-
get: function () { return
|
|
3748
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageNarration; }
|
|
3749
3749
|
});
|
|
3750
3750
|
Object.defineProperty(exports, "MessageRoot", {
|
|
3751
3751
|
enumerable: true,
|
|
3752
|
-
get: function () { return
|
|
3752
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageRoot; }
|
|
3753
3753
|
});
|
|
3754
3754
|
Object.defineProperty(exports, "MessageSources", {
|
|
3755
3755
|
enumerable: true,
|
|
3756
|
-
get: function () { return
|
|
3756
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageSources; }
|
|
3757
3757
|
});
|
|
3758
3758
|
Object.defineProperty(exports, "MessageSubagentBadge", {
|
|
3759
3759
|
enumerable: true,
|
|
3760
|
-
get: function () { return
|
|
3760
|
+
get: function () { return chunkLHWKA2XI_cjs.MessageSubagentBadge; }
|
|
3761
3761
|
});
|
|
3762
3762
|
Object.defineProperty(exports, "ScrollToBottom", {
|
|
3763
3763
|
enumerable: true,
|
|
3764
|
-
get: function () { return
|
|
3764
|
+
get: function () { return chunkLHWKA2XI_cjs.ScrollToBottom; }
|
|
3765
3765
|
});
|
|
3766
3766
|
Object.defineProperty(exports, "SourceChip", {
|
|
3767
3767
|
enumerable: true,
|
|
3768
|
-
get: function () { return
|
|
3768
|
+
get: function () { return chunkLHWKA2XI_cjs.SourceChip; }
|
|
3769
3769
|
});
|
|
3770
3770
|
Object.defineProperty(exports, "WorkflowStepChip", {
|
|
3771
3771
|
enumerable: true,
|
|
3772
|
-
get: function () { return
|
|
3772
|
+
get: function () { return chunkLHWKA2XI_cjs.WorkflowStepChip; }
|
|
3773
3773
|
});
|
|
3774
3774
|
Object.defineProperty(exports, "toSpeakableText", {
|
|
3775
3775
|
enumerable: true,
|
|
3776
|
-
get: function () { return
|
|
3776
|
+
get: function () { return chunkLHWKA2XI_cjs.toSpeakableText; }
|
|
3777
3777
|
});
|
|
3778
3778
|
Object.defineProperty(exports, "useAssistantDock", {
|
|
3779
3779
|
enumerable: true,
|
|
3780
|
-
get: function () { return
|
|
3780
|
+
get: function () { return chunkLHWKA2XI_cjs.useAssistantDock; }
|
|
3781
3781
|
});
|
|
3782
3782
|
Object.defineProperty(exports, "useChatSurface", {
|
|
3783
3783
|
enumerable: true,
|
|
3784
|
-
get: function () { return
|
|
3784
|
+
get: function () { return chunkLHWKA2XI_cjs.useChatSurface; }
|
|
3785
3785
|
});
|
|
3786
3786
|
Object.defineProperty(exports, "useRegisterEmbeddedChat", {
|
|
3787
3787
|
enumerable: true,
|
|
3788
|
-
get: function () { return
|
|
3788
|
+
get: function () { return chunkLHWKA2XI_cjs.useRegisterEmbeddedChat; }
|
|
3789
3789
|
});
|
|
3790
3790
|
Object.defineProperty(exports, "useStreamAnnouncement", {
|
|
3791
3791
|
enumerable: true,
|
|
3792
|
-
get: function () { return
|
|
3792
|
+
get: function () { return chunkLHWKA2XI_cjs.useStreamAnnouncement; }
|
|
3793
3793
|
});
|
|
3794
3794
|
Object.defineProperty(exports, "DEFAULT_DOCK_WIDTH", {
|
|
3795
3795
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -47,9 +47,9 @@ export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from './chunk-ABEKUV6L.js';
|
|
|
47
47
|
export { EmptyState } from './chunk-P6GHJSLR.js';
|
|
48
48
|
export { requestSettingsSection, useBlocksEnvironment, useRequestedSettingsSection } from './chunk-GKM4EOH7.js';
|
|
49
49
|
import './chunk-TX2ZICS7.js';
|
|
50
|
-
export { AssistantToaster, ContextActionButton, ContextCheckRow, ContextPanelContent, ContextPanelFooter, ContextPanelTabs, ContextPickerList, ContextPickerRow, ContextSearchInput, ContextSelectList, ContextSelectRow, ConversationSearchView, DEFAULT_CONVERSATION_SEARCH_LABELS, DEFAULT_LABEL_PIN_ROW_LABELS, DEFAULT_PINNED_DOC_CHIP_LABELS, LabelPinRow, PinnedDocChip, useDismissibleCard } from './chunk-
|
|
50
|
+
export { AssistantToaster, ContextActionButton, ContextCheckRow, ContextPanelContent, ContextPanelFooter, ContextPanelTabs, ContextPickerList, ContextPickerRow, ContextSearchInput, ContextSelectList, ContextSelectRow, ConversationSearchView, DEFAULT_CONVERSATION_SEARCH_LABELS, DEFAULT_LABEL_PIN_ROW_LABELS, DEFAULT_PINNED_DOC_CHIP_LABELS, LabelPinRow, PinnedDocChip, useDismissibleCard } from './chunk-XSA46YJV.js';
|
|
51
51
|
export { BranchControls, ComposerAccessories, ComposerTools, ContextUsageBar, Conversation, ConversationBody, ConversationHeader, ConversationHeaderActions, ConversationHistoryPane, ConversationLoading, ConversationMain, ConversationRoot, ConversationSettingsButton, DEFAULT_BRANCH_CONTROLS_LABELS, DEFAULT_CONVERSATION_LAYOUT_LABELS, DEFAULT_CONVERSATION_PARTS_LABELS, DEFAULT_DRAFTING_DOC_CHIP_LABELS, DEFAULT_MODEL_PRICING_TIP_LABELS, DEFAULT_PENDING_ANSWER_BAR_LABELS, DEFAULT_SLASH_MENU_LABELS, DEFAULT_THREAD_MAP_LABELS, DEFAULT_THREAD_VISUALIZER_LABELS, DraftingDocChip, ModelAutoIcon, ModelConfigureButton, ModelDot, ModelMenuDivider, ModelMenuMessage, ModelOption, ModelOptionLabel, ModelPickerPopover, ModelPickerTrigger, ModelPricingTip, ModelTierIcon, ModelTierOption, ModelTriggerContent, NewChatButton, NewPaChatButton, PaModeBadge, PendingAnswerBar, SlashMenu, ThreadMap, ThreadMapDiagram, ThreadMapError, ThreadMapLoading, ThreadVisualizer, buildMessageLink, buildSlashItems, buildThreadDiagram, copyMessageToClipboard, downloadTableAsCsv, filterSlashItems, findMessageDocument, flashMessage, getParticipantTints, groupOutputsByConversation, isLongPastedText, latestThreadVersionMessage, parseSlashTokenInProgress as parseSlashToken, threadForNode, useLongPaste, useRecipientDraft } from './chunk-ULQV2NJT.js';
|
|
52
|
-
export { AssistantDock, AssistantDockToggle, AssistantModeToggle, ChatDocuments, ChatMessageContent, ChatPage, ChatThreadList, ChatThreadSelect, CitationMark, Composer, ComposerBranchingNotice, ComposerContainer, ComposerDock, ComposerFrame, ComposerInput, ComposerRoot, ComposerSend, ComposerToolbar, ComposerVoiceButton, ContextChip, ConversationEmpty, DEFAULT_ASSISTANT_MODE_TOGGLE_LABELS, DEFAULT_CHAT_PAGE_LABELS, DEFAULT_COMPOSER_LABELS, DEFAULT_CONVERSATION_EMPTY_LABELS, DEFAULT_MESSAGE_ALERT_LABELS, DEFAULT_MESSAGE_LABELS, DEFAULT_MESSAGE_LIST_LABELS, DEFAULT_WORKFLOW_STEP_CHIP_LABELS, Message, MessageActionButton, MessageActionMenu, MessageAlert, MessageAuthor, MessageBody, MessageBubble, MessageByline, MessageContent, MessageFooter, MessageList, MessageListBanner, MessageListEmpty, MessageListRoot, MessageListRow, MessageListRows, MessageListStatus, MessageListTail, MessageNarration, MessageRoot, MessageSources, MessageSubagentBadge, ScrollToBottom, SourceChip, WorkflowStepChip, toSpeakableText, useAssistantDock, useChatSurface, useRegisterEmbeddedChat, useStreamAnnouncement } from './chunk-
|
|
52
|
+
export { AssistantDock, AssistantDockToggle, AssistantModeToggle, ChatDocuments, ChatMessageContent, ChatPage, ChatThreadList, ChatThreadSelect, CitationMark, Composer, ComposerBranchingNotice, ComposerContainer, ComposerDock, ComposerFrame, ComposerInput, ComposerRoot, ComposerSend, ComposerToolbar, ComposerVoiceButton, ContextChip, ConversationEmpty, DEFAULT_ASSISTANT_MODE_TOGGLE_LABELS, DEFAULT_CHAT_PAGE_LABELS, DEFAULT_COMPOSER_LABELS, DEFAULT_CONVERSATION_EMPTY_LABELS, DEFAULT_MESSAGE_ALERT_LABELS, DEFAULT_MESSAGE_LABELS, DEFAULT_MESSAGE_LIST_LABELS, DEFAULT_WORKFLOW_STEP_CHIP_LABELS, Message, MessageActionButton, MessageActionMenu, MessageAlert, MessageAuthor, MessageBody, MessageBubble, MessageByline, MessageContent, MessageFooter, MessageList, MessageListBanner, MessageListEmpty, MessageListRoot, MessageListRow, MessageListRows, MessageListStatus, MessageListTail, MessageNarration, MessageRoot, MessageSources, MessageSubagentBadge, ScrollToBottom, SourceChip, WorkflowStepChip, toSpeakableText, useAssistantDock, useChatSurface, useRegisterEmbeddedChat, useStreamAnnouncement } from './chunk-BKNHCORH.js';
|
|
53
53
|
export { DEFAULT_DOCK_WIDTH, Toaster } from './chunk-OKERRHLH.js';
|
|
54
54
|
export { DOC_ID_IN_HREF, rehypeDocEntityPills, workspaceDocIdFromHref } from './chunk-KJXJRX33.js';
|
|
55
55
|
export { BlocksTooltipProvider, DEFAULT_OVERLAY_ZONE_ID, DEFAULT_PAGE_CONTAINER_PADDING, DEFAULT_SIDEBAR_TOGGLE_BUTTON_LABELS, PageContainer, SHELL_BOTTOM_INSET_VAR, Shell, SidebarToggleButton, ToolButton, useDrawerBehavior, useOverlayZoneId, useShellBottomInset } from './chunk-7XF5SFJ2.js';
|
package/dist/studio/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunk5D32XL3E_cjs = require('../chunk-5D32XL3E.cjs');
|
|
5
5
|
var chunkIMTJFBDC_cjs = require('../chunk-IMTJFBDC.cjs');
|
|
6
6
|
var chunkL4KWTDFE_cjs = require('../chunk-L4KWTDFE.cjs');
|
|
7
7
|
var chunkELR74ME6_cjs = require('../chunk-ELR74ME6.cjs');
|
|
@@ -14,7 +14,7 @@ require('../chunk-MB3S2ETI.cjs');
|
|
|
14
14
|
var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
|
|
15
15
|
var chunk25YFJLFP_cjs = require('../chunk-25YFJLFP.cjs');
|
|
16
16
|
require('../chunk-ULWRNGGE.cjs');
|
|
17
|
-
require('../chunk-
|
|
17
|
+
require('../chunk-LHWKA2XI.cjs');
|
|
18
18
|
require('../chunk-B6MVQCXW.cjs');
|
|
19
19
|
require('../chunk-DHOIO3B7.cjs');
|
|
20
20
|
require('../chunk-76L6LOP3.cjs');
|
|
@@ -886,7 +886,7 @@ function latestImageDocId(artifacts) {
|
|
|
886
886
|
return null;
|
|
887
887
|
}
|
|
888
888
|
function useImageGen() {
|
|
889
|
-
const task =
|
|
889
|
+
const task = chunk5D32XL3E_cjs.useConnectedAiTask();
|
|
890
890
|
const { run } = task;
|
|
891
891
|
const generate = react.useCallback(
|
|
892
892
|
async (prompt, referenceDocIds = []) => {
|
package/dist/studio/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useConnectedAiTask } from '../chunk-
|
|
2
|
+
import { useConnectedAiTask } from '../chunk-7GAS4N7L.js';
|
|
3
3
|
import { PageHeader, MetricCard, DataTableBlock, StatGroup } from '../chunk-JANBEB7P.js';
|
|
4
4
|
import { assetRefId, applyStoredTheme, AssetResolverProvider, ThemeEditor, applyThemeVars, tid, SectionHeading, PricingTable, Tabs as Tabs$1, Accordion, Gallery, VideoEmbed, ContactForm, Banner, MediaText, TeamGrid, Steps, TestimonialGrid, Columns, Spacer, Container, Hero, FeatureGrid, Testimonial, CTABanner, LogoCloud, FAQ, RichTextBlock, BlockImage, AvatarBlock, Navbar, Footer, ListBlock, isAssetRef, asAssetRef } from '../chunk-LH3JAZ33.js';
|
|
5
5
|
export { ASSET_REF_PREFIX, AssetResolverProvider, asAssetRef, assetRefId, isAssetRef, useAssetRenderer, useAssetResolverActive } from '../chunk-LH3JAZ33.js';
|
|
@@ -13,7 +13,7 @@ import '../chunk-T4P237N6.js';
|
|
|
13
13
|
import { EmptyState } from '../chunk-P6GHJSLR.js';
|
|
14
14
|
import { useBlocksEnvironment } from '../chunk-GKM4EOH7.js';
|
|
15
15
|
import '../chunk-TX2ZICS7.js';
|
|
16
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-BKNHCORH.js';
|
|
17
17
|
import '../chunk-7XF5SFJ2.js';
|
|
18
18
|
import '../chunk-3KZWRDPY.js';
|
|
19
19
|
import '../chunk-TZGBRLPK.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/coedit",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Real-time collaboration for the ARBI native DOCX editor: a Yjs mirror of the canonical OOXML package, session, and server runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/blocks",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Composable, domain-neutral UI blocks for ARBI apps, organised by capability (retrieval, facts, agents, workspaces, citations, collaboration) plus shell, theme and site primitives, on top of @arbidocs/react.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -296,9 +296,9 @@
|
|
|
296
296
|
"example:test:e2e": "playwright test -c examples/custom-ui/playwright.config.ts"
|
|
297
297
|
},
|
|
298
298
|
"dependencies": {
|
|
299
|
-
"@arbidocs/client": "0.5.
|
|
300
|
-
"@arbidocs/coedit": "0.5.
|
|
301
|
-
"@arbidocs/sdk": "0.5.
|
|
299
|
+
"@arbidocs/client": "0.5.1",
|
|
300
|
+
"@arbidocs/coedit": "0.5.1",
|
|
301
|
+
"@arbidocs/sdk": "0.5.1",
|
|
302
302
|
"@auth0/auth0-react": "^2.19.0",
|
|
303
303
|
"@dnd-kit/core": "^6.3.1",
|
|
304
304
|
"@dnd-kit/sortable": "^10.0.0",
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
"y-protocols": "^1.0.6"
|
|
346
346
|
},
|
|
347
347
|
"peerDependencies": {
|
|
348
|
-
"@arbidocs/react": "0.5.
|
|
348
|
+
"@arbidocs/react": "0.5.1",
|
|
349
349
|
"@lexical/html": "0.35.0",
|
|
350
350
|
"@lexical/link": "0.35.0",
|
|
351
351
|
"@lexical/list": "0.35.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/connection/ai.tsx"],"names":["useConnection","useKitAiTask","useCallback","useKitWorkspaceDocs","useKitSemanticSearch","useWorkspaceUsers","buildMentionCandidates","useConversation","ConversationScope","jsx","AssistantDock"],"mappings":";;;;;;;;AAkCO,SAAS,kBAAA,GAAqB;AACnC,EAAA,MAAM,EAAE,eAAA,EAAgB,GAAIA,+BAAA,EAAc;AAC1C,EAAA,MAAM,OAAOC,eAAA,EAAa;AAC1B,EAAA,MAAM,SAAS,IAAA,CAAK,GAAA;AACpB,EAAA,MAAM,GAAA,GAAMC,mBAAA;AAAA,IACV,CAAC,QAAA,EAAkB,MAAA,EAAkB,IAAA,KACnC,OAAO,QAAA,EAAU,MAAA,EAAQ,EAAE,GAAG,IAAA,EAAM,KAAA,EAAO,IAAA,EAAM,KAAA,IAAS,iBAAiB,CAAA;AAAA,IAC7E,CAAC,QAAQ,eAAe;AAAA,GAC1B;AACA,EAAA,OAAO,EAAE,GAAG,IAAA,EAAM,GAAA,EAAI;AACxB;AAGO,SAAS,gBAAA,GAAmB;AACjC,EAAA,MAAM,EAAE,WAAA,EAAa,mBAAA,EAAoB,GAAIF,+BAAA,EAAc;AAC3D,EAAA,OAAOG,sBAAA,CAAoB,eAAe,mBAAmB,CAAA;AAC/D;AAGO,SAAS,iBAAA,GAAoB;AAClC,EAAA,MAAM,EAAE,eAAA,EAAgB,GAAIH,+BAAA,EAAc;AAC1C,EAAA,OAAOI,wBAAqB,EAAC,EAAG,EAAE,KAAA,EAAO,iBAAiB,CAAA;AAC5D;AAQO,SAAS,iBACd,OAAA,EAC8D;AAC9D,EAAA,MAAM,EAAE,aAAa,mBAAA,EAAqB,eAAA,EAAiB,MAAM,MAAA,EAAQ,mBAAA,KACvEJ,+BAAA,EAAc;AAChB,EAAA,MAAM,OAAO,WAAA,IAAe,mBAAA;AAC5B,EAAA,MAAM,EAAE,IAAA,EAAM,OAAA,GAAU,EAAC,EAAE,GAAIK,wBAAkB,IAAA,EAAM;AAAA,IACrD,OAAA,EAAS,MAAA,KAAW,eAAA,IAAmB,CAAC,CAAC,IAAA;AAAA,IACzC,WAAA,EAAa;AAAA,GACd,CAAA;AAED,EAAA,MAAM,iBAAA,GAAoBC,4BAAA;AAAA,IACxB,MAAA,KAAW,eAAA,GAAkB,OAAA,GAAU,EAAC;AAAA,IACxC,IAAA,EAAM;AAAA,GACR;AACA,EAAA,MAAM,OAAOC,qBAAA,CAAgB;AAAA,IAC3B,GAAG,OAAA;AAAA,IACH,WAAA,EAAa,IAAA;AAAA,IACb,KAAA,EAAO,SAAS,KAAA,IAAS;AAAA,GAC1B,CAAA;AACD,EAAA,OAAO;AAAA,IACL,GAAG,IAAA;AAAA,IACH,iBAAA;AAAA,IACA,QAAA,EAAU,IAAA,CAAK,QAAA,CAAS,GAAA,CAAI,CAAC,OAAA,MAAa;AAAA,MACxC,GAAG,OAAA;AAAA,MACH,GAAI,QAAQ,QAAA,GACR;AAAA,QACE,YACE,OAAA,CAAQ,QAAA,KAAa,IAAA,EAAM,UAAA,GACvB,MAAM,IAAA,IAAQ,IAAA,EAAM,KAAA,GACpB,iBAAA,CAAkB,KAAK,CAAC,SAAA,KAAc,UAAU,EAAA,KAAO,OAAA,CAAQ,QAAQ,CAAA,EAAG;AAAA,UAElF;AAAC,KACP,CAAE;AAAA,GACJ;AACF;AAOO,SAAS,uBAAuB,KAAA,EAAyC;AAC9E,EAAA,sCACGC,uBAAA,EAAA,EACC,QAAA,kBAAAC,cAAA,CAAC,mBAAA,EAAA,EAAqB,GAAG,OAAO,CAAA,EAClC,CAAA;AAEJ;AAEA,SAAS,oBAAoB,KAAA,EAAyC;AACpE,EAAA,MAAM,OAAO,gBAAA,EAAiB;AAC9B,EAAA,uBAAOA,cAAA,CAACC,+BAAA,EAAA,EAAe,GAAG,KAAA,EAAO,IAAA,EAAY,CAAA;AAC/C","file":"chunk-3BJIS4GV.cjs","sourcesContent":["/**\n * The connected agent hooks — thin adapters over the reusable AI kit in\n * `@arbidocs/react`. The streaming/accumulation/search plumbing lives once in\n * the SDK; these hooks only bind the *workspace source* (from the connection\n * context, falling back to the configured workspace) and inject the host's\n * default assistant *configuration* so call sites needn't know the config\n * ext_id. An explicit `opts.model` still wins.\n */\nimport { useCallback } from 'react'\nimport {\n useAiTask as useKitAiTask,\n useWorkspaceDocs as useKitWorkspaceDocs,\n useSemanticSearch as useKitSemanticSearch,\n useConversation,\n useWorkspaceUsers,\n buildMentionCandidates,\n ConversationScope,\n type ArbiConversation,\n type UseConversationOptions,\n type AiRunOptions,\n} from '@arbidocs/react'\nimport { useConnection } from './ConnectionProvider'\nimport { AssistantDock, type AssistantDockProps } from '../chat/AssistantDock'\nimport type { MentionCandidate } from '@arbidocs/react/shell'\n\nexport type { AiTaskStatus, AiRunOptions, SearchChunk, ArtifactEvent } from '@arbidocs/react'\n\n/** Client-side redlining, re-exported so a host app has one import surface. */\nexport { toRedlineMarkdown, redlineStats, textToArtifact } from '@arbidocs/react'\n\n/**\n * The kit's `useAiTask` with the host's default assistant configuration\n * injected, so call sites needn't know the config ext_id.\n */\nexport function useConnectedAiTask() {\n const { assistantConfig } = useConnection()\n const task = useKitAiTask()\n const kitRun = task.run\n const run = useCallback(\n (question: string, docIds: string[], opts?: AiRunOptions) =>\n kitRun(question, docIds, { ...opts, model: opts?.model ?? assistantConfig }),\n [kitRun, assistantConfig]\n )\n return { ...task, run }\n}\n\n/** Resolve the active workspace + its document ids (what we ground the agent on). */\nexport function useWorkspaceDocs() {\n const { workspaceId, fallbackWorkspaceId } = useConnection()\n return useKitWorkspaceDocs(workspaceId ?? fallbackWorkspaceId)\n}\n\n/** Search the active workspace's documents (all of them) and return the top matching passages. */\nexport function useSemanticSearch() {\n const { assistantConfig } = useConnection()\n return useKitSemanticSearch([], { model: assistantConfig })\n}\n\n/**\n * The chat engine for `ChatPage` bound to the connection: the active workspace and the host's\n * default assistant configuration are injected, so a host writes\n * `<ChatPage chat={useConnectedChat()} />`. It works on the open conversation of the session in\n * scope (wrap a second chat on the page in `ConversationScope`).\n */\nexport function useConnectedChat(\n options?: Omit<UseConversationOptions, 'workspaceId'>\n): ArbiConversation & { mentionCandidates: MentionCandidate[] } {\n const { workspaceId, fallbackWorkspaceId, assistantConfig, user, status, ensureWorkspaceOpen } =\n useConnection()\n const wsId = workspaceId ?? fallbackWorkspaceId\n const { data: members = [] } = useWorkspaceUsers(wsId, {\n enabled: status === 'authenticated' && !!wsId,\n beforeFetch: ensureWorkspaceOpen,\n })\n // The engine's own candidates: what the composer inserts is what a send routes on.\n const mentionCandidates = buildMentionCandidates(\n status === 'authenticated' ? members : [],\n user?.externalId\n )\n const chat = useConversation({\n ...options,\n workspaceId: wsId,\n model: options?.model ?? assistantConfig,\n })\n return {\n ...chat,\n mentionCandidates,\n messages: chat.messages.map((message) => ({\n ...message,\n ...(message.authorId\n ? {\n senderName:\n message.authorId === user?.externalId\n ? user?.name || user?.email\n : mentionCandidates.find((candidate) => candidate.id === message.authorId)?.label,\n }\n : {}),\n })),\n }\n}\n\n/**\n * The assistant dock bound to the connection: mount it once in the layout (`Shell.Root`'s `aside`)\n * and put `AssistantDockToggle` in the topbar. Its chat keeps its own open conversation (and\n * survives closing the dock).\n */\nexport function ConnectedAssistantDock(props: Omit<AssistantDockProps, 'chat'>) {\n return (\n <ConversationScope>\n <ScopedAssistantDock {...props} />\n </ConversationScope>\n )\n}\n\nfunction ScopedAssistantDock(props: Omit<AssistantDockProps, 'chat'>) {\n const chat = useConnectedChat()\n return <AssistantDock {...props} chat={chat} />\n}\n"]}
|