@arbidocs/react 0.4.125 → 0.4.127
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/document-tools/index.cjs +3 -3
- package/dist/document-tools/index.js +3 -3
- package/dist/index.cjs +17 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/ui/index.cjs +9 -9
- package/dist/ui/index.js +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -2712,11 +2712,12 @@ declare function useSkills(options?: {
|
|
|
2712
2712
|
user_invocable: boolean;
|
|
2713
2713
|
arg_hint: string;
|
|
2714
2714
|
skill_type: string;
|
|
2715
|
-
workspace_ext_id
|
|
2716
|
-
doc_ext_id
|
|
2717
|
-
updated_at
|
|
2715
|
+
workspace_ext_id?: string | null;
|
|
2716
|
+
doc_ext_id?: string | null;
|
|
2717
|
+
updated_at?: string | null;
|
|
2718
2718
|
visibility: string;
|
|
2719
2719
|
is_owner: boolean;
|
|
2720
|
+
content?: string | null;
|
|
2720
2721
|
}[]>, Error>;
|
|
2721
2722
|
/** Upload skill files through the same document path as the main application. */
|
|
2722
2723
|
declare function useUploadSkillFiles(): _tanstack_react_query.UseMutationResult<{
|
|
@@ -4599,7 +4600,7 @@ interface MessageArtifactCardProps {
|
|
|
4599
4600
|
onOpen: (docExtId: string) => void;
|
|
4600
4601
|
}
|
|
4601
4602
|
/**
|
|
4602
|
-
* Inline "Open in
|
|
4603
|
+
* Inline "Open in Editor" (document drafts) / "Open preview" / "View image" affordance shown inside the assistant message that
|
|
4603
4604
|
* produced a drafted document — so the artifact lives in the conversation
|
|
4604
4605
|
* narrative (dyad-style) instead of only a hidden docked panel.
|
|
4605
4606
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -2712,11 +2712,12 @@ declare function useSkills(options?: {
|
|
|
2712
2712
|
user_invocable: boolean;
|
|
2713
2713
|
arg_hint: string;
|
|
2714
2714
|
skill_type: string;
|
|
2715
|
-
workspace_ext_id
|
|
2716
|
-
doc_ext_id
|
|
2717
|
-
updated_at
|
|
2715
|
+
workspace_ext_id?: string | null;
|
|
2716
|
+
doc_ext_id?: string | null;
|
|
2717
|
+
updated_at?: string | null;
|
|
2718
2718
|
visibility: string;
|
|
2719
2719
|
is_owner: boolean;
|
|
2720
|
+
content?: string | null;
|
|
2720
2721
|
}[]>, Error>;
|
|
2721
2722
|
/** Upload skill files through the same document path as the main application. */
|
|
2722
2723
|
declare function useUploadSkillFiles(): _tanstack_react_query.UseMutationResult<{
|
|
@@ -4599,7 +4600,7 @@ interface MessageArtifactCardProps {
|
|
|
4599
4600
|
onOpen: (docExtId: string) => void;
|
|
4600
4601
|
}
|
|
4601
4602
|
/**
|
|
4602
|
-
* Inline "Open in
|
|
4603
|
+
* Inline "Open in Editor" (document drafts) / "Open preview" / "View image" affordance shown inside the assistant message that
|
|
4603
4604
|
* produced a drafted document — so the artifact lives in the conversation
|
|
4604
4605
|
* narrative (dyad-style) instead of only a hidden docked panel.
|
|
4605
4606
|
*
|
package/dist/index.js
CHANGED
|
@@ -7,10 +7,10 @@ import { returnFocusToMark, MarkMenu, AiMarkdown, Card, Badge, TagEntity, Input,
|
|
|
7
7
|
export { AUDIO_MIME_PREFERENCE, AgentBadge, AiMarkdown, ArbiBotHeadIcon, ArbiIcon, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS, Badge, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DEFAULT_SEGMENTER_CONFIG, DictateProvider, DocIcon, DocumentCard, DocumentEntity, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, HoverCard, HoverCardContent, HoverCardTrigger, HtmlIcon, INITIAL_SEGMENTER_STATE, IconToggle, ImgIcon, InlineMicButton, Input, Label, MarkMenu, MicRecordingOverlay, MicWaveformIndicator, NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, PdfIcon, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PresenceLabel, Progress, ProjectEntity, RadioGroup, RadioGroupItem, RagDot, RelevanceDot, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, StatusPill, Switch, TAG_TYPE_ICONS, TAG_TYPE_LABELS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagEntity, Textarea, ThreadVisibilityIcon, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TxtIcon, UserEntity, UserMenu, VIDEO_MIME_PREFERENCE, VISIBILITY_ICONS, VerifiedBadge, VidIcon, VisibilityIcon, VisibilityToggle, XlsIcon, badgeVariants, cardVariants, classifyMediaError, configureEntityRegistry, configureRagLabels, configureStatusRegistry, createChunkedRecorder, flushSegmenter, formatElapsed, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, levelFromRms, pickRecorderMimeType, stepSegmenter, toggleVariants, useAudioRecorder } from './chunk-5PQO46PE.js';
|
|
8
8
|
import { MarkdownRenderer } from './chunk-EKRRORFO.js';
|
|
9
9
|
export { MarkdownRenderer, MarkdownStreamingContext, markdownBaseComponents, splitMarkdownBlocks } from './chunk-EKRRORFO.js';
|
|
10
|
-
import { Button, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from './chunk-YNNAJJ5Z.js';
|
|
11
|
-
export { Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, buttonVariants } from './chunk-YNNAJJ5Z.js';
|
|
12
10
|
import { normalizeCitationMarkup } from './chunk-QRCMKEE6.js';
|
|
13
11
|
export { closeOpenEmphasis, normalizeCitationMarkup, trimOpenCitation } from './chunk-QRCMKEE6.js';
|
|
12
|
+
import { Button, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from './chunk-YNNAJJ5Z.js';
|
|
13
|
+
export { Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, buttonVariants } from './chunk-YNNAJJ5Z.js';
|
|
14
14
|
import { ScrollArea } from './chunk-W4H6XAIU.js';
|
|
15
15
|
export { ScrollArea, ScrollBar } from './chunk-W4H6XAIU.js';
|
|
16
16
|
import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator } from './chunk-47CCGUWR.js';
|
|
@@ -24,7 +24,7 @@ import React, { memo, useState, createContext, useMemo, useCallback, useEffect,
|
|
|
24
24
|
import { useQueryClient, useMutation, useQuery, onlineManager } from '@tanstack/react-query';
|
|
25
25
|
import { resolveCitations, summarizeCitations, settings, formatFileSize, connectWithReconnect, chats, identityErrorCode } from '@arbidocs/sdk/browser';
|
|
26
26
|
export { Arbi, ArbiError, DEFAULT_AI_USD_PER_GBP, formatGbp, formatGbpPerMillionTokens, usdToGbp } from '@arbidocs/sdk/browser';
|
|
27
|
-
import { Link, Trash2, CheckCheck, Check, Loader2, AlertTriangle, ShieldCheck, Copy, Sparkles, FileText, GitCompareArrows, Download, Search, CornerDownLeft, X, ArrowLeft, Send, Tags, Crown, Info, Activity, Gauge, Gift, PartyPopper, UserCheck, Reply, PenLine, AtSign, MessageCircleMore, FileX2, FileCheck2, Pencil, FolderPlus, SquareArrowOutUpRight, MessagesSquare, Paperclip, ArrowRight, MoreHorizontal, SquarePen, Mic, Pause, Play, Square, RotateCcw, Camera, Circle, Image as Image$1, AppWindow } from 'lucide-react';
|
|
27
|
+
import { Link, Trash2, CheckCheck, Check, Loader2, AlertTriangle, ShieldCheck, Copy, Sparkles, FileText, GitCompareArrows, Download, Search, CornerDownLeft, X, ArrowLeft, Send, Tags, Crown, Info, Activity, HardDrive, Gauge, Gift, PartyPopper, UserCheck, Reply, PenLine, AtSign, MessageCircleMore, FileX2, FileCheck2, Pencil, FolderPlus, SquareArrowOutUpRight, MessagesSquare, Paperclip, ArrowRight, MoreHorizontal, SquarePen, Mic, Pause, Play, Square, RotateCcw, Camera, Circle, Image as Image$1, AppWindow } from 'lucide-react';
|
|
28
28
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
29
29
|
import { isMessageType, passwordChangeErrorMessage } from '@arbidocs/client';
|
|
30
30
|
export { isMessageType } from '@arbidocs/client';
|
|
@@ -3295,8 +3295,8 @@ var LABELS = {
|
|
|
3295
3295
|
document: {
|
|
3296
3296
|
Icon: FileText,
|
|
3297
3297
|
busy: "Drafting\u2026",
|
|
3298
|
-
ready: "
|
|
3299
|
-
action: "Open in
|
|
3298
|
+
ready: "Draft ready",
|
|
3299
|
+
action: "Open in Editor",
|
|
3300
3300
|
untitled: "Untitled draft"
|
|
3301
3301
|
},
|
|
3302
3302
|
live: {
|
|
@@ -4652,6 +4652,8 @@ function getNotificationTypeMeta(type) {
|
|
|
4652
4652
|
return { Icon: Gauge, iconClassName: "text-orange-500", label: "Usage 90%" };
|
|
4653
4653
|
case "quota_threshold_100":
|
|
4654
4654
|
return { Icon: Gauge, iconClassName: "text-red-500", label: "Usage limit" };
|
|
4655
|
+
case "storage_quota_exceeded":
|
|
4656
|
+
return { Icon: HardDrive, iconClassName: "text-red-500", label: "Storage full" };
|
|
4655
4657
|
case "activity":
|
|
4656
4658
|
return { Icon: Activity, iconClassName: "text-muted-foreground", label: "Activity" };
|
|
4657
4659
|
default:
|