@arbidocs/blocks 0.5.67 → 0.5.69
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/README.md +16 -12
- package/dist/{ConnectedCallDock-VMEBH4LG.js → ConnectedCallDock-3EHDHB5D.js} +4 -4
- package/dist/{ConnectedCallDock-VMEBH4LG.js.map → ConnectedCallDock-3EHDHB5D.js.map} +1 -1
- package/dist/{ConnectedCallDock-FFIDDYGH.cjs → ConnectedCallDock-NXF2YSY2.cjs} +4 -4
- package/dist/{ConnectedCallDock-FFIDDYGH.cjs.map → ConnectedCallDock-NXF2YSY2.cjs.map} +1 -1
- package/dist/ConnectedCallRoom-2FNSX2VG.js +2 -2
- package/dist/ConnectedCallRoom-HYRLJUIV.cjs +2 -2
- package/dist/{ConnectedDocumentViewer-NIZBKBJN.js → ConnectedDocumentViewer-2GU4SA5L.js} +11 -11
- package/dist/{ConnectedDocumentViewer-NIZBKBJN.js.map → ConnectedDocumentViewer-2GU4SA5L.js.map} +1 -1
- package/dist/{ConnectedDocumentViewer-IQHDCAZ5.cjs → ConnectedDocumentViewer-R5GFEUPB.cjs} +12 -12
- package/dist/{ConnectedDocumentViewer-IQHDCAZ5.cjs.map → ConnectedDocumentViewer-R5GFEUPB.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-FPW3BNBN.js → ConnectedNativeDocxComparison-KGRT2RSK.js} +8 -8
- package/dist/{ConnectedNativeDocxComparison-FPW3BNBN.js.map → ConnectedNativeDocxComparison-KGRT2RSK.js.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-HJ4FTVH6.cjs → ConnectedNativeDocxComparison-NMVGZYYW.cjs} +9 -9
- package/dist/{ConnectedNativeDocxComparison-HJ4FTVH6.cjs.map → ConnectedNativeDocxComparison-NMVGZYYW.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-PF46MU5H.cjs → ConnectedNativeDocxEditor-NZZSG4N7.cjs} +9 -9
- package/dist/{ConnectedNativeDocxEditor-PF46MU5H.cjs.map → ConnectedNativeDocxEditor-NZZSG4N7.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-S7NJMDSU.js → ConnectedNativeDocxEditor-WO4MQUEJ.js} +7 -7
- package/dist/{ConnectedNativeDocxEditor-S7NJMDSU.js.map → ConnectedNativeDocxEditor-WO4MQUEJ.js.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-5MHLV24V.js → ConnectedStreamedWordArtifact-PETCKJXL.js} +8 -8
- package/dist/ConnectedStreamedWordArtifact-PETCKJXL.js.map +1 -0
- package/dist/{ConnectedStreamedWordArtifact-LNGW7YGV.cjs → ConnectedStreamedWordArtifact-UIXR3P3H.cjs} +9 -9
- package/dist/ConnectedStreamedWordArtifact-UIXR3P3H.cjs.map +1 -0
- package/dist/DocumentReviewCard-5U3TGJZA.js +2 -2
- package/dist/DocumentReviewCard-VFNMJSK7.cjs +2 -2
- package/dist/{WorkspaceTableView-EH5CEB44.js → WorkspaceTableView-LBESYCXW.js} +4 -4
- package/dist/{WorkspaceTableView-EH5CEB44.js.map → WorkspaceTableView-LBESYCXW.js.map} +1 -1
- package/dist/{WorkspaceTableView-DHMCJRC6.cjs → WorkspaceTableView-OIMBOLG6.cjs} +4 -4
- package/dist/{WorkspaceTableView-DHMCJRC6.cjs.map → WorkspaceTableView-OIMBOLG6.cjs.map} +1 -1
- package/dist/agents/index.cjs +283 -287
- package/dist/agents/index.js +6 -6
- package/dist/agents/tasks/ConversationListView.d.ts +0 -2
- package/dist/agents/tasks/PersonPill.d.ts +1 -2
- package/dist/agents/tasks/TaskTable.d.ts +0 -14
- package/dist/agents/tasks/ThreadStatusLine.d.ts +1 -4
- package/dist/agents/tasks/UploadTaskList.d.ts +1 -5
- package/dist/agents/tasks/WorkflowComposer.d.ts +1 -1
- package/dist/agents/tasks/WorkflowsTable.d.ts +3 -4
- package/dist/agents/tasks/index.d.ts +0 -2
- package/dist/agents/tasks/taskComposerTypes.d.ts +0 -1
- package/dist/agents/workflows/WorkflowConfigDialog.d.ts +2 -3
- package/dist/agents/workflows/WorkflowRunner.d.ts +3 -7
- package/dist/calendar/index.cjs +116 -116
- package/dist/calendar/index.js +1 -1
- package/dist/calls/index.cjs +1 -1
- package/dist/calls/index.js +1 -1
- package/dist/chat/index.cjs +2 -2
- package/dist/chat/index.js +2 -2
- package/dist/{chunk-PVPGD6QR.js → chunk-34DWIXUN.js} +3 -3
- package/dist/{chunk-PVPGD6QR.js.map → chunk-34DWIXUN.js.map} +1 -1
- package/dist/{chunk-QUZPQWPX.js → chunk-4SXG6ACE.js} +237 -5
- package/dist/chunk-4SXG6ACE.js.map +1 -0
- package/dist/{chunk-23ACBETH.cjs → chunk-5CKTUHNS.cjs} +4 -4
- package/dist/{chunk-23ACBETH.cjs.map → chunk-5CKTUHNS.cjs.map} +1 -1
- package/dist/{chunk-3VFQYKB5.cjs → chunk-7TOBKEOV.cjs} +284 -74
- package/dist/chunk-7TOBKEOV.cjs.map +1 -0
- package/dist/{chunk-45Y7ASBC.cjs → chunk-7ZVL44YM.cjs} +49 -51
- package/dist/chunk-7ZVL44YM.cjs.map +1 -0
- package/dist/{chunk-COZDIUG7.cjs → chunk-BI6O7OMA.cjs} +32 -14
- package/dist/chunk-BI6O7OMA.cjs.map +1 -0
- package/dist/{chunk-JWRTUYLC.js → chunk-BPPX3ESB.js} +3 -3
- package/dist/{chunk-JWRTUYLC.js.map → chunk-BPPX3ESB.js.map} +1 -1
- package/dist/{chunk-FHXXDPNU.cjs → chunk-CCTNZ25D.cjs} +32 -460
- package/dist/chunk-CCTNZ25D.cjs.map +1 -0
- package/dist/{chunk-HGFU47TY.js → chunk-D4LZKHIL.js} +3 -3
- package/dist/{chunk-HGFU47TY.js.map → chunk-D4LZKHIL.js.map} +1 -1
- package/dist/{chunk-EOIJ5JYP.cjs → chunk-DDUHNTD3.cjs} +4 -4
- package/dist/{chunk-EOIJ5JYP.cjs.map → chunk-DDUHNTD3.cjs.map} +1 -1
- package/dist/{chunk-AWVGKHJT.js → chunk-E5RN3LWS.js} +2 -2
- package/dist/{chunk-AWVGKHJT.js.map → chunk-E5RN3LWS.js.map} +1 -1
- package/dist/{chunk-Z4KXF7WS.cjs → chunk-EG6YBT7G.cjs} +7 -7
- package/dist/{chunk-Z4KXF7WS.cjs.map → chunk-EG6YBT7G.cjs.map} +1 -1
- package/dist/{chunk-2FRUMQLS.cjs → chunk-EUGCT5MB.cjs} +3 -3
- package/dist/{chunk-2FRUMQLS.cjs.map → chunk-EUGCT5MB.cjs.map} +1 -1
- package/dist/{chunk-RFKAE6WS.js → chunk-G7GPG5NO.js} +26 -453
- package/dist/chunk-G7GPG5NO.js.map +1 -0
- package/dist/{chunk-YBVBDVQX.cjs → chunk-GE45EHTG.cjs} +18 -18
- package/dist/{chunk-YBVBDVQX.cjs.map → chunk-GE45EHTG.cjs.map} +1 -1
- package/dist/{chunk-PGKZBAJB.js → chunk-KIDUTH2V.js} +9 -11
- package/dist/chunk-KIDUTH2V.js.map +1 -0
- package/dist/{chunk-TAI23FCY.js → chunk-KVNXCL2Y.js} +8 -9
- package/dist/chunk-KVNXCL2Y.js.map +1 -0
- package/dist/{chunk-W3PSIIMN.cjs → chunk-LM7DVT7C.cjs} +2 -2
- package/dist/{chunk-W3PSIIMN.cjs.map → chunk-LM7DVT7C.cjs.map} +1 -1
- package/dist/{chunk-Y6ZNWC7E.cjs → chunk-OYRORWS2.cjs} +13 -14
- package/dist/chunk-OYRORWS2.cjs.map +1 -0
- package/dist/{chunk-OZL5ABLF.js → chunk-PLUMPQA4.js} +6 -9
- package/dist/chunk-PLUMPQA4.js.map +1 -0
- package/dist/{chunk-323R76RZ.js → chunk-PTBGTGFG.js} +3 -3
- package/dist/{chunk-323R76RZ.js.map → chunk-PTBGTGFG.js.map} +1 -1
- package/dist/{chunk-BWWND4Y7.js → chunk-QQLGNNZI.js} +3 -3
- package/dist/{chunk-BWWND4Y7.js.map → chunk-QQLGNNZI.js.map} +1 -1
- package/dist/{chunk-UDMII47W.cjs → chunk-SU374FEM.cjs} +10 -13
- package/dist/chunk-SU374FEM.cjs.map +1 -0
- package/dist/{chunk-APXW5XGA.js → chunk-TJJE3XOO.js} +3 -3
- package/dist/{chunk-APXW5XGA.js.map → chunk-TJJE3XOO.js.map} +1 -1
- package/dist/{chunk-ZIQGSFHG.cjs → chunk-VSABGETQ.cjs} +5 -5
- package/dist/{chunk-ZIQGSFHG.cjs.map → chunk-VSABGETQ.cjs.map} +1 -1
- package/dist/{chunk-SBVOYSOO.js → chunk-WH2BIMAZ.js} +3 -3
- package/dist/{chunk-SBVOYSOO.js.map → chunk-WH2BIMAZ.js.map} +1 -1
- package/dist/{chunk-F73EZQT4.cjs → chunk-WJEJF5NT.cjs} +242 -3
- package/dist/chunk-WJEJF5NT.cjs.map +1 -0
- package/dist/{chunk-W5D5GFP2.js → chunk-WLA3DA62.js} +281 -71
- package/dist/chunk-WLA3DA62.js.map +1 -0
- package/dist/{chunk-ZDZY6OPL.cjs → chunk-XUEJYHEP.cjs} +3 -3
- package/dist/{chunk-ZDZY6OPL.cjs.map → chunk-XUEJYHEP.cjs.map} +1 -1
- package/dist/{chunk-NDVLCOWS.js → chunk-Z6LX4ZGL.js} +31 -13
- package/dist/chunk-Z6LX4ZGL.js.map +1 -0
- package/dist/connect/docx.cjs +13 -13
- package/dist/connect/docx.js +9 -9
- package/dist/connect/index.cjs +609 -655
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +1 -0
- package/dist/connect/index.js +210 -257
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/viewer.cjs +10 -10
- package/dist/connect/viewer.js +9 -9
- package/dist/connection/ConnectedWorkflowBuilder.d.ts +1 -4
- package/dist/connection/ConnectedWorkflowHistory.d.ts +1 -4
- package/dist/connection/ConnectedWorkflowRunner.d.ts +3 -4
- package/dist/connection/ConnectedWorkflowsTable.d.ts +5 -4
- package/dist/connection/conversation/ConnectedMessageArea.d.ts +2 -0
- package/dist/connection/conversation/ConnectedMessageList.d.ts +4 -1
- package/dist/connection/embedded/EmbeddedChatPanel.d.ts +3 -1
- package/dist/connection/facts/ConnectedFactsPage.d.ts +8 -8
- package/dist/connection/facts/ConnectedFactsSmartSearch.d.ts +9 -0
- package/dist/connection/facts/types.d.ts +1 -6
- package/dist/connection/threads-page/ConnectedThreadsPage.d.ts +1 -4
- package/dist/connection/viewer/useImageCrop.d.ts +6 -3
- package/dist/connection/workflows/ConnectedWorkflowsPage.d.ts +4 -13
- package/dist/connection/workflows/support.d.ts +1 -1
- package/dist/dashboards/index.cjs +1 -1
- package/dist/dashboards/index.js +1 -1
- package/dist/embed/index.cjs +19 -11
- package/dist/embed/index.d.ts +2 -0
- package/dist/embed/index.js +8 -8
- package/dist/facts/index.cjs +70 -281
- package/dist/facts/index.cjs.map +1 -1
- package/dist/facts/index.js +9 -241
- package/dist/facts/index.js.map +1 -1
- package/dist/files/index.cjs +1 -1
- package/dist/files/index.js +1 -1
- package/dist/home/index.cjs +31 -31
- package/dist/home/index.js +4 -4
- package/dist/index.cjs +571 -575
- package/dist/index.js +20 -20
- package/dist/settings/index.cjs +2 -2
- package/dist/settings/index.js +2 -2
- package/dist/studio/index.cjs +2 -2
- package/dist/studio/index.js +2 -2
- package/dist/workflow-canvas/index.cjs +26 -31
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.js +11 -16
- package/dist/workflow-canvas/index.js.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ConnectedStreamedWordArtifact-5MHLV24V.js.map +0 -1
- package/dist/ConnectedStreamedWordArtifact-LNGW7YGV.cjs.map +0 -1
- package/dist/agents/tasks/TaskInbox.d.ts +0 -26
- package/dist/chunk-3VFQYKB5.cjs.map +0 -1
- package/dist/chunk-45Y7ASBC.cjs.map +0 -1
- package/dist/chunk-COZDIUG7.cjs.map +0 -1
- package/dist/chunk-F73EZQT4.cjs.map +0 -1
- package/dist/chunk-FHXXDPNU.cjs.map +0 -1
- package/dist/chunk-NDVLCOWS.js.map +0 -1
- package/dist/chunk-OZL5ABLF.js.map +0 -1
- package/dist/chunk-PGKZBAJB.js.map +0 -1
- package/dist/chunk-QUZPQWPX.js.map +0 -1
- package/dist/chunk-RFKAE6WS.js.map +0 -1
- package/dist/chunk-TAI23FCY.js.map +0 -1
- package/dist/chunk-UDMII47W.cjs.map +0 -1
- package/dist/chunk-W5D5GFP2.js.map +0 -1
- package/dist/chunk-Y6ZNWC7E.cjs.map +0 -1
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
import { parseRRule, DEFAULT_RECURRENCE, buildRRule, WEEKDAYS, EntityChip } from './chunk-2VH2PT3J.js';
|
|
3
3
|
import { ProgressChevronBar, ProgressChevron } from './chunk-LRPGXNMA.js';
|
|
4
4
|
import { MultiSelect } from './chunk-CQCC7LE7.js';
|
|
5
|
-
import { SchemaForm, PersonPill } from './chunk-
|
|
5
|
+
import { SchemaForm, PersonPill } from './chunk-KVNXCL2Y.js';
|
|
6
6
|
import { workflowRunStatusLabel } from './chunk-4QUUU7GH.js';
|
|
7
|
-
import { ScopePicker, FoldSection, AddFilesFirst } from './chunk-
|
|
8
|
-
import { TriStateFilterMenu } from './chunk-G4GLDQLY.js';
|
|
7
|
+
import { ScopePicker, FoldSection, AddFilesFirst } from './chunk-WH2BIMAZ.js';
|
|
9
8
|
import { UploadDropzone, CellHoverIcon } from './chunk-M4S75AEJ.js';
|
|
10
9
|
import { ToneBadge } from './chunk-5LXQPP2K.js';
|
|
11
|
-
import { SelectionBar, SelectionBarAction } from './chunk-NUNKSZKU.js';
|
|
12
10
|
import { useControllableState } from './chunk-RLWIUUQ5.js';
|
|
11
|
+
import { SelectionBar, SelectionBarAction } from './chunk-NUNKSZKU.js';
|
|
13
12
|
import { FilterInput } from './chunk-YU2KUMGE.js';
|
|
14
13
|
import { ActionLink } from './chunk-ELT2V4NB.js';
|
|
15
14
|
import { GridView } from './chunk-7F5Z4K5W.js';
|
|
@@ -19,15 +18,15 @@ import { useElementSize } from './chunk-UCVGWGI6.js';
|
|
|
19
18
|
import { DEFAULT_STEP_RECORD_LABELS, DEFAULT_STEP_DOCUMENT_LABELS, DEFAULT_STEP_KIND_LABELS, formatDate, shownValue, stepKindOf, useMentionAutocomplete, stepDocuments, StepChip, STEP_KIND_ICONS, StepDocumentCards, StepRecord, StepDocumentButton, StepBadgeMark } from './chunk-HMICW5O7.js';
|
|
20
19
|
import { workflowsForHost, isWorkflowScope, fieldToFrontmatter, workflowFromFrontmatter, nextAction, validateStep, canAssign, assigneeName, runFieldsOf, failedUpstream, stepPhase, sendBackTargets, stepLevels, waitingDocuments, stepDependencies, reviewInstructions, splitDocRef, isPersonStep, stepFields, defaultInputs, validateInputs, workflowSteps, mergeSkillWorkflows, composeWorkflowPrompt, eventWaitingDocuments, waitingForDocumentsText, isRunFinished } from './chunk-3D7SX5ZS.js';
|
|
21
20
|
import { MentionMenu } from './chunk-GAGYAHYO.js';
|
|
22
|
-
import { formatCount } from './chunk-5VYJP6XD.js';
|
|
23
21
|
import { useIsPhone } from './chunk-SLSBJRWW.js';
|
|
22
|
+
import { formatCount } from './chunk-5VYJP6XD.js';
|
|
24
23
|
import { useBlocksEnvironment } from './chunk-TJQSL4XV.js';
|
|
25
24
|
import { openDialog, closeDialog, useDialogProps } from './chunk-3VCTVCAX.js';
|
|
26
25
|
import { ModalHeader } from './chunk-TX2ZICS7.js';
|
|
27
26
|
import { testIdOr } from './chunk-7F6CBP3Z.js';
|
|
28
27
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
29
28
|
import { memo, forwardRef, useState, useMemo, useRef, useEffect, useCallback, useSyncExternalStore } from 'react';
|
|
30
|
-
import { ChevronDown, ChevronRight, Plus, Trash2, Globe, Terminal, Telescope, ListChecks, FileText, ImageIcon, Brain, Wand2, UserRound, CornerUpLeft, ShieldCheck, MessageSquare, Check, Hourglass, Clock, PenLine, X, ExternalLink, Mail, Table2, CheckCircle2, ArrowLeft, Loader2, ArrowRight, RotateCw, GitBranch, AlertTriangle, Sparkles, Library, Image, Languages, NotebookPen, GanttChartSquare, Eye, ClipboardList, Pencil, Copy, Bot, Play, Lock, Download, FileX, SkipForward, CornerDownRight, AlertCircle, KeyRound, Workflow, ChevronsUpDown, ChevronsDownUp, ListTodo, CheckCheck,
|
|
29
|
+
import { ChevronDown, ChevronRight, Plus, Trash2, Globe, Terminal, Telescope, ListChecks, FileText, ImageIcon, Brain, Wand2, UserRound, CornerUpLeft, ShieldCheck, MessageSquare, Check, Hourglass, Clock, PenLine, X, ExternalLink, Mail, Table2, CheckCircle2, ArrowLeft, Loader2, ArrowRight, RotateCw, GitBranch, AlertTriangle, Sparkles, Library, Image, Languages, NotebookPen, GanttChartSquare, Eye, ClipboardList, Pencil, Copy, Bot, Play, Lock, Download, FileX, SkipForward, CornerDownRight, AlertCircle, KeyRound, Workflow, ChevronsUpDown, ChevronsDownUp, ListTodo, CheckCheck, CalendarClock, ArrowUpRight, SendHorizontal, Zap, MessagesSquare, History, ChevronUp, Pause, Activity, MoreVertical, LayoutGrid, List, CornerLeftUp, CircleDashed, MoreHorizontal, RotateCcw, ListPlus, CircleCheck, Hand, BellRing, Flag, Disc, Phone, UserRoundCog, MessageSquareReply, Square, ChevronLeft } from 'lucide-react';
|
|
31
30
|
import { cn, Label, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, Textarea, Input, Switch, Button, Collapsible, CollapsibleTrigger, CollapsibleContent, Card, Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, Tooltip, TooltipTrigger, TooltipContent, Badge, Slider, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, VisibilityToggle, ThreadVisibilityIcon, DialogClose, Popover, PopoverTrigger, EntityPill, PopoverContent, Command, CommandInput, CommandList, CommandEmpty, CommandItem, Checkbox, UserEntity, ARBI_MARK_SRC, DropdownMenuSeparator, PopoverClose } from '@arbidocs/react/ui';
|
|
32
31
|
import { unzip, strFromU8 } from 'fflate';
|
|
33
32
|
import { isSharedSkill } from '@arbidocs/sdk/browser';
|
|
@@ -1355,11 +1354,7 @@ function WorkflowRunner({
|
|
|
1355
1354
|
files,
|
|
1356
1355
|
onRetryUpload,
|
|
1357
1356
|
onRemoveUpload,
|
|
1358
|
-
renderUpload,
|
|
1359
|
-
renderStepNote,
|
|
1360
1357
|
renderComplete,
|
|
1361
|
-
renderScope,
|
|
1362
|
-
renderDocuments,
|
|
1363
1358
|
renderIcon,
|
|
1364
1359
|
people,
|
|
1365
1360
|
actions,
|
|
@@ -1429,20 +1424,17 @@ function WorkflowRunner({
|
|
|
1429
1424
|
values: run.inputs,
|
|
1430
1425
|
onChange: run.setInput,
|
|
1431
1426
|
errors: run.errors,
|
|
1432
|
-
renderScope,
|
|
1433
|
-
renderDocuments,
|
|
1434
1427
|
renderIcon,
|
|
1435
1428
|
people,
|
|
1436
1429
|
onEnterSubmit: () => void run.next(),
|
|
1437
1430
|
testIdPrefix: tid("field")
|
|
1438
1431
|
}
|
|
1439
1432
|
) }),
|
|
1440
|
-
run.actionError && /* @__PURE__ */ jsx("p", { className: "text-sm text-destructive", "data-testid": tid("action-error"), children: run.actionError })
|
|
1441
|
-
renderStepNote?.(step, run)
|
|
1433
|
+
run.actionError && /* @__PURE__ */ jsx("p", { className: "text-sm text-destructive", "data-testid": tid("action-error"), children: run.actionError })
|
|
1442
1434
|
] }) : step.kind === "upload" ? /* @__PURE__ */ jsxs(Card, { className: cn(box, "space-y-4"), "data-testid": tid(step.id), children: [
|
|
1443
1435
|
/* @__PURE__ */ jsx(SentBackNote, { state: run.stateOf(step.id), l: pl, testId: tid(step.id) }),
|
|
1444
1436
|
/* @__PURE__ */ jsx(AssigneeLine, { run, stepId: step.id, l: pl, testId: tid(step.id) }),
|
|
1445
|
-
|
|
1437
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1446
1438
|
/* @__PURE__ */ jsx(
|
|
1447
1439
|
UploadDropzone,
|
|
1448
1440
|
{
|
|
@@ -1468,8 +1460,7 @@ function WorkflowRunner({
|
|
|
1468
1460
|
}
|
|
1469
1461
|
)
|
|
1470
1462
|
] }),
|
|
1471
|
-
run.actionError && /* @__PURE__ */ jsx("p", { className: "text-sm text-destructive", children: run.actionError })
|
|
1472
|
-
renderStepNote?.(step, run)
|
|
1463
|
+
run.actionError && /* @__PURE__ */ jsx("p", { className: "text-sm text-destructive", children: run.actionError })
|
|
1473
1464
|
] }) : step.kind === "review" ? /* @__PURE__ */ jsxs(Card, { className: cn(box, "space-y-4"), "data-testid": tid(step.id), children: [
|
|
1474
1465
|
/* @__PURE__ */ jsx(StepHeading, { step, icon: icon(step.icon) }),
|
|
1475
1466
|
/* @__PURE__ */ jsx(SentBackNote, { state: run.stateOf(step.id), l: pl, testId: tid(step.id) }),
|
|
@@ -1483,8 +1474,6 @@ function WorkflowRunner({
|
|
|
1483
1474
|
values: run.inputs,
|
|
1484
1475
|
onChange: run.setInput,
|
|
1485
1476
|
errors: run.errors,
|
|
1486
|
-
renderScope,
|
|
1487
|
-
renderDocuments,
|
|
1488
1477
|
renderIcon,
|
|
1489
1478
|
people,
|
|
1490
1479
|
testIdPrefix: tid("field")
|
|
@@ -1503,8 +1492,7 @@ function WorkflowRunner({
|
|
|
1503
1492
|
),
|
|
1504
1493
|
run.phaseOf(step.id) === "ready" && renderReview?.(step),
|
|
1505
1494
|
/* @__PURE__ */ jsx(SendBackControl, { run, step, l: pl, testId: tid(step.id) }),
|
|
1506
|
-
run.actionError && /* @__PURE__ */ jsx("p", { className: "text-sm text-destructive", children: run.actionError })
|
|
1507
|
-
renderStepNote?.(step, run)
|
|
1495
|
+
run.actionError && /* @__PURE__ */ jsx("p", { className: "text-sm text-destructive", children: run.actionError })
|
|
1508
1496
|
] }) : step.kind === "action" ? /* @__PURE__ */ jsxs(Card, { className: cn(box, "space-y-4"), "data-testid": tid(step.id), children: [
|
|
1509
1497
|
/* @__PURE__ */ jsx(
|
|
1510
1498
|
ActionStepBody,
|
|
@@ -1518,8 +1506,7 @@ function WorkflowRunner({
|
|
|
1518
1506
|
testId: tid(step.id)
|
|
1519
1507
|
}
|
|
1520
1508
|
),
|
|
1521
|
-
run.actionError && /* @__PURE__ */ jsx("p", { className: "text-sm text-destructive", children: run.actionError })
|
|
1522
|
-
renderStepNote?.(step, run)
|
|
1509
|
+
run.actionError && /* @__PURE__ */ jsx("p", { className: "text-sm text-destructive", children: run.actionError })
|
|
1523
1510
|
] }) : /* @__PURE__ */ jsx(
|
|
1524
1511
|
AgentStepBody,
|
|
1525
1512
|
{
|
|
@@ -1527,7 +1514,6 @@ function WorkflowRunner({
|
|
|
1527
1514
|
run,
|
|
1528
1515
|
renderAgentOutput,
|
|
1529
1516
|
icon: icon(step.icon),
|
|
1530
|
-
renderStepNote,
|
|
1531
1517
|
compact,
|
|
1532
1518
|
nameOfDoc,
|
|
1533
1519
|
extra: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -1731,7 +1717,6 @@ function AgentStepBody({
|
|
|
1731
1717
|
run,
|
|
1732
1718
|
renderAgentOutput,
|
|
1733
1719
|
icon,
|
|
1734
|
-
renderStepNote,
|
|
1735
1720
|
extra,
|
|
1736
1721
|
compact,
|
|
1737
1722
|
nameOfDoc,
|
|
@@ -1805,8 +1790,7 @@ function AgentStepBody({
|
|
|
1805
1790
|
children: [
|
|
1806
1791
|
/* @__PURE__ */ jsxs(Card, { className: "h-fit space-y-3 p-5", children: [
|
|
1807
1792
|
header,
|
|
1808
|
-
status
|
|
1809
|
-
renderStepNote?.(step, run)
|
|
1793
|
+
status
|
|
1810
1794
|
] }),
|
|
1811
1795
|
/* @__PURE__ */ jsx("div", { className: "min-w-0", children: renderAgentOutput(step, state) })
|
|
1812
1796
|
]
|
|
@@ -1816,8 +1800,7 @@ function AgentStepBody({
|
|
|
1816
1800
|
return /* @__PURE__ */ jsxs(Card, { className: cn("space-y-3", compact ? "p-4" : "p-6"), "data-testid": tid(step.id), children: [
|
|
1817
1801
|
header,
|
|
1818
1802
|
status,
|
|
1819
|
-
renderAgentOutput(step, state)
|
|
1820
|
-
renderStepNote?.(step, run)
|
|
1803
|
+
renderAgentOutput(step, state)
|
|
1821
1804
|
] });
|
|
1822
1805
|
}
|
|
1823
1806
|
function StepNotices({
|
|
@@ -4775,8 +4758,7 @@ function UploadTaskItem({
|
|
|
4775
4758
|
);
|
|
4776
4759
|
}
|
|
4777
4760
|
var DEFAULT_UPLOAD_TASK_LIST_LABELS = {
|
|
4778
|
-
title: "Active Tasks"
|
|
4779
|
-
empty: "No documents in this category"
|
|
4761
|
+
title: "Active Tasks"
|
|
4780
4762
|
};
|
|
4781
4763
|
function UploadTaskList({
|
|
4782
4764
|
tasks,
|
|
@@ -4784,7 +4766,6 @@ function UploadTaskList({
|
|
|
4784
4766
|
title,
|
|
4785
4767
|
onDelete,
|
|
4786
4768
|
renderFileIcon,
|
|
4787
|
-
showEmptyState = true,
|
|
4788
4769
|
testIds,
|
|
4789
4770
|
labels,
|
|
4790
4771
|
itemLabels,
|
|
@@ -4795,16 +4776,7 @@ function UploadTaskList({
|
|
|
4795
4776
|
const safeTasks = typeof tasks === "object" && tasks !== null ? tasks : {};
|
|
4796
4777
|
let entries = Object.entries(safeTasks);
|
|
4797
4778
|
if (filter) entries = entries.filter(([id, task]) => filter(id, task));
|
|
4798
|
-
if (entries.length === 0)
|
|
4799
|
-
return showEmptyState ? /* @__PURE__ */ jsx(
|
|
4800
|
-
"div",
|
|
4801
|
-
{
|
|
4802
|
-
className: "text-sm italic text-muted-foreground",
|
|
4803
|
-
"data-testid": testIdOr(testIds?.empty, { testId: "task-list-empty-state" }),
|
|
4804
|
-
children: l.empty
|
|
4805
|
-
}
|
|
4806
|
-
) : null;
|
|
4807
|
-
}
|
|
4779
|
+
if (entries.length === 0) return null;
|
|
4808
4780
|
return /* @__PURE__ */ jsxs(
|
|
4809
4781
|
"div",
|
|
4810
4782
|
{
|
|
@@ -5689,7 +5661,7 @@ function statusHint(task, ctx) {
|
|
|
5689
5661
|
return l.statusHint(label, p.formatRelative(task.updated_at));
|
|
5690
5662
|
}
|
|
5691
5663
|
function TaskTable(props) {
|
|
5692
|
-
const { tasks: allTasks, isLoading, busyId,
|
|
5664
|
+
const { tasks: allTasks, isLoading, busyId, testId } = props;
|
|
5693
5665
|
const l = {
|
|
5694
5666
|
...DEFAULT_TASK_LIST_LABELS,
|
|
5695
5667
|
...props.labels,
|
|
@@ -5729,7 +5701,7 @@ function TaskTable(props) {
|
|
|
5729
5701
|
isMe: mine
|
|
5730
5702
|
};
|
|
5731
5703
|
};
|
|
5732
|
-
const renderPerson =
|
|
5704
|
+
const renderPerson = (person) => /* @__PURE__ */ jsx(PersonPill, { person });
|
|
5733
5705
|
const q = (query.trim() || (props.filterText ?? "").trim()).toLowerCase();
|
|
5734
5706
|
const counts = useMemo(() => {
|
|
5735
5707
|
const map = new Map(STATUS_ORDER.map((s) => [s, 0]));
|
|
@@ -6079,7 +6051,6 @@ function TaskTable(props) {
|
|
|
6079
6051
|
props.agentNames,
|
|
6080
6052
|
props.workflowNames,
|
|
6081
6053
|
props.outputsByTask,
|
|
6082
|
-
props.renderPerson,
|
|
6083
6054
|
props.labels,
|
|
6084
6055
|
props.canEditShared,
|
|
6085
6056
|
props.isWorkspaceOwner,
|
|
@@ -6141,7 +6112,6 @@ function TaskTable(props) {
|
|
|
6141
6112
|
className: "flex min-h-0 flex-1 flex-col gap-3",
|
|
6142
6113
|
"data-testid": testIdOr(testId, { testId: "task-list" }),
|
|
6143
6114
|
children: [
|
|
6144
|
-
header,
|
|
6145
6115
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
6146
6116
|
/* @__PURE__ */ jsx("div", { role: "tablist", "aria-label": "Filter tasks", className: "flex flex-wrap gap-1.5", children: filterKeys.map((key) => {
|
|
6147
6117
|
const count = counts.get(key) ?? 0;
|
|
@@ -6252,7 +6222,6 @@ function TaskTable(props) {
|
|
|
6252
6222
|
onClear: clearSelection,
|
|
6253
6223
|
status: selectedTasks.length > 0 && subtasksIncluded > 0 ? /* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground", "data-testid": "task-selection-subtasks", children: l.subtasksSelected(subtasksIncluded) }) : void 0,
|
|
6254
6224
|
children: (isCompact) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6255
|
-
props.selectionActions?.(selectedTasks, isCompact, clearSelection),
|
|
6256
6225
|
props.onMarkDoneMany && /* @__PURE__ */ jsx(
|
|
6257
6226
|
SelectionBarAction,
|
|
6258
6227
|
{
|
|
@@ -6307,396 +6276,6 @@ function TaskTable(props) {
|
|
|
6307
6276
|
}
|
|
6308
6277
|
);
|
|
6309
6278
|
}
|
|
6310
|
-
function TaskInbox(p) {
|
|
6311
|
-
const [filterOpen, setFilterOpen] = useState(false);
|
|
6312
|
-
const [statusFilters, setStatusFilters] = useState(
|
|
6313
|
-
() => /* @__PURE__ */ new Map([["done", "exclude"]])
|
|
6314
|
-
);
|
|
6315
|
-
const [localQuery, setLocalQuery] = useState("");
|
|
6316
|
-
const [searchFields, setSearchFields] = useState(["text", "labels"]);
|
|
6317
|
-
const [selected, setSelected] = useState(/* @__PURE__ */ new Set());
|
|
6318
|
-
const [collapsed, setCollapsed] = useState(/* @__PURE__ */ new Set());
|
|
6319
|
-
const [moving, setMoving] = useState(null);
|
|
6320
|
-
const l = { ...DEFAULT_TASK_LIST_LABELS, ...p.labels };
|
|
6321
|
-
const nameOf = (t) => t.title?.trim() || t.workflow_ext_id && p.workflowNames?.[t.workflow_ext_id] || l.untitled;
|
|
6322
|
-
const all = p.tasks.filter((t) => t.status != null);
|
|
6323
|
-
const filterText = p.filterText ?? localQuery;
|
|
6324
|
-
const q = filterText.trim().toLowerCase();
|
|
6325
|
-
const included = [...statusFilters].filter(([, state]) => state === "include").map(([id]) => id);
|
|
6326
|
-
const statusMatches = (t) => statusFilters.get(asTaskStatus(t.status)) !== "exclude" && (!included.length || included.includes(asTaskStatus(t.status)));
|
|
6327
|
-
const rows = all.filter(
|
|
6328
|
-
(t) => statusMatches(t) && (!q || [
|
|
6329
|
-
searchFields.includes("text") ? `${nameOf(t)} ${t.description ?? ""}` : "",
|
|
6330
|
-
searchFields.includes("labels") && t.workflow_ext_id ? p.workflowNames?.[t.workflow_ext_id] ?? "" : ""
|
|
6331
|
-
].join(" ").toLowerCase().includes(q))
|
|
6332
|
-
);
|
|
6333
|
-
const hasActiveFilters = !!q || [...statusFilters.values()].some((state) => state != null);
|
|
6334
|
-
const selectedTasks = all.filter((t) => selected.has(t.external_id));
|
|
6335
|
-
const canEdit = (t) => t.is_owner !== false || Boolean(p.canEditShared);
|
|
6336
|
-
const markable = (t) => t.status !== "done" && t.status !== "generating" && canEdit(t) && !t.in_progress;
|
|
6337
|
-
const markableTasks = selectedTasks.filter(markable);
|
|
6338
|
-
const deletableTasks = selectedTasks.filter((t) => t.is_owner !== false || p.isWorkspaceOwner);
|
|
6339
|
-
const clearSelection = () => setSelected(/* @__PURE__ */ new Set());
|
|
6340
|
-
const toggle = (set, id) => set((old) => {
|
|
6341
|
-
const next = new Set(old);
|
|
6342
|
-
if (next.has(id)) next.delete(id);
|
|
6343
|
-
else next.add(id);
|
|
6344
|
-
return next;
|
|
6345
|
-
});
|
|
6346
|
-
p.renderPerson ?? ((value) => /* @__PURE__ */ jsx(PersonPill, { person: value }));
|
|
6347
|
-
const taskById = new Map(all.map((t) => [t.external_id, t]));
|
|
6348
|
-
const visible = new Set(rows.map((t) => t.external_id));
|
|
6349
|
-
for (const task of rows) {
|
|
6350
|
-
let id = task.parent_conversation_ext_id;
|
|
6351
|
-
const seen = /* @__PURE__ */ new Set();
|
|
6352
|
-
while (id && taskById.has(id) && !seen.has(id)) {
|
|
6353
|
-
seen.add(id);
|
|
6354
|
-
visible.add(id);
|
|
6355
|
-
id = taskById.get(id)?.parent_conversation_ext_id;
|
|
6356
|
-
}
|
|
6357
|
-
}
|
|
6358
|
-
const listed = all.filter((t) => visible.has(t.external_id));
|
|
6359
|
-
const roots = listed.filter(
|
|
6360
|
-
(t) => !t.parent_conversation_ext_id || !visible.has(t.parent_conversation_ext_id)
|
|
6361
|
-
);
|
|
6362
|
-
const workflows = (p.workflows ?? []).filter((w) => {
|
|
6363
|
-
const runs = roots.filter((t) => t.workflow_ext_id === w.external_id);
|
|
6364
|
-
return runs.length > 0 || !included.length && (!q || w.name.toLowerCase().includes(q));
|
|
6365
|
-
});
|
|
6366
|
-
const workflowIds = new Set(workflows.map((w) => w.external_id));
|
|
6367
|
-
const order = (a, b) => {
|
|
6368
|
-
const weight = (t) => t.pending_auth_request_id || t.last_error ? 0 : t.status === "todo" ? 1 : t.status === "generating" ? 2 : 3;
|
|
6369
|
-
return weight(a) - weight(b) || (b.updated_at ?? "").localeCompare(a.updated_at ?? "");
|
|
6370
|
-
};
|
|
6371
|
-
const renderTask = (task, depth = 0) => {
|
|
6372
|
-
const id = task.external_id;
|
|
6373
|
-
const status = asTaskStatus(task.status);
|
|
6374
|
-
const busy = p.busyId === id;
|
|
6375
|
-
const children = listed.filter((t) => t.parent_conversation_ext_id === id).sort(order);
|
|
6376
|
-
const outputs = p.outputsByTask?.[id] ?? [];
|
|
6377
|
-
return /* @__PURE__ */ jsxs("li", { "data-testid": `task-inbox-row-${id}`, children: [
|
|
6378
|
-
/* @__PURE__ */ jsxs(
|
|
6379
|
-
"div",
|
|
6380
|
-
{
|
|
6381
|
-
className: cn(
|
|
6382
|
-
"relative flex cursor-pointer items-start gap-2 border-b py-3 hover:bg-muted/40",
|
|
6383
|
-
selected.has(id) && "bg-muted/60"
|
|
6384
|
-
),
|
|
6385
|
-
onClick: (event) => {
|
|
6386
|
-
if (!event.target.closest(
|
|
6387
|
-
'button, a, input, select, textarea, [role="menuitem"], [role="checkbox"], [role="combobox"]'
|
|
6388
|
-
)) {
|
|
6389
|
-
p.onOpenThread(id, task);
|
|
6390
|
-
}
|
|
6391
|
-
},
|
|
6392
|
-
style: { paddingLeft: `${Math.min(depth, 5) * 20}px` },
|
|
6393
|
-
children: [
|
|
6394
|
-
children.length > 0 && /* @__PURE__ */ jsx(
|
|
6395
|
-
Button,
|
|
6396
|
-
{
|
|
6397
|
-
variant: "ghost",
|
|
6398
|
-
size: "icon",
|
|
6399
|
-
className: "size-7 shrink-0",
|
|
6400
|
-
"aria-label": `${collapsed.has(id) ? "Expand" : "Collapse"} ${nameOf(task)}`,
|
|
6401
|
-
onClick: () => toggle(setCollapsed, id),
|
|
6402
|
-
children: collapsed.has(id) ? /* @__PURE__ */ jsx(ChevronRight, { className: "size-4" }) : /* @__PURE__ */ jsx(ChevronDown, { className: "size-4" })
|
|
6403
|
-
}
|
|
6404
|
-
),
|
|
6405
|
-
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
6406
|
-
/* @__PURE__ */ jsx(
|
|
6407
|
-
"button",
|
|
6408
|
-
{
|
|
6409
|
-
className: cn(
|
|
6410
|
-
"block w-full text-left text-sm font-medium hover:underline",
|
|
6411
|
-
status === "done" && "text-muted-foreground"
|
|
6412
|
-
),
|
|
6413
|
-
"data-testid": `task-open-${id}`,
|
|
6414
|
-
onClick: () => p.onOpenThread(id, task),
|
|
6415
|
-
children: nameOf(task)
|
|
6416
|
-
}
|
|
6417
|
-
),
|
|
6418
|
-
/* @__PURE__ */ jsxs("div", { className: "mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 text-xs text-muted-foreground", children: [
|
|
6419
|
-
status !== "todo" && /* @__PURE__ */ jsx(
|
|
6420
|
-
TaskStatusPill,
|
|
6421
|
-
{
|
|
6422
|
-
id,
|
|
6423
|
-
status: task.status,
|
|
6424
|
-
runStartedAt: task.run_started_at,
|
|
6425
|
-
lastError: task.last_error,
|
|
6426
|
-
awaitingAccess: Boolean(task.pending_auth_request_id)
|
|
6427
|
-
}
|
|
6428
|
-
),
|
|
6429
|
-
task.due_at && /* @__PURE__ */ jsxs("span", { children: [
|
|
6430
|
-
"Due ",
|
|
6431
|
-
p.formatDate(task.due_at)
|
|
6432
|
-
] }),
|
|
6433
|
-
children.length > 0 && /* @__PURE__ */ jsxs("span", { children: [
|
|
6434
|
-
all.filter((t) => t.parent_conversation_ext_id === id && t.status === "done").length,
|
|
6435
|
-
"/",
|
|
6436
|
-
all.filter((t) => t.parent_conversation_ext_id === id).length,
|
|
6437
|
-
" steps complete"
|
|
6438
|
-
] })
|
|
6439
|
-
] }),
|
|
6440
|
-
outputs.length > 0 && /* @__PURE__ */ jsx("div", { className: "mt-2 flex flex-wrap gap-2", "aria-label": "Outputs", children: outputs.map((output) => /* @__PURE__ */ jsxs(
|
|
6441
|
-
Button,
|
|
6442
|
-
{
|
|
6443
|
-
variant: "link",
|
|
6444
|
-
size: "sm",
|
|
6445
|
-
className: "h-auto max-w-full gap-1 px-0 py-1 text-xs",
|
|
6446
|
-
disabled: !p.onOpenOutput,
|
|
6447
|
-
onClick: () => p.onOpenOutput?.(output.id, task),
|
|
6448
|
-
"data-testid": `task-output-${id}-${output.id}`,
|
|
6449
|
-
children: [
|
|
6450
|
-
/* @__PURE__ */ jsx(FileText, { className: "size-3.5 shrink-0" }),
|
|
6451
|
-
/* @__PURE__ */ jsx("span", { className: "truncate", children: output.name })
|
|
6452
|
-
]
|
|
6453
|
-
},
|
|
6454
|
-
output.id
|
|
6455
|
-
)) })
|
|
6456
|
-
] }),
|
|
6457
|
-
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-1", children: [
|
|
6458
|
-
task.pending_auth_request_id && task.is_owner !== false && p.onGrantAccess && /* @__PURE__ */ jsx(
|
|
6459
|
-
Button,
|
|
6460
|
-
{
|
|
6461
|
-
size: "sm",
|
|
6462
|
-
variant: "outline",
|
|
6463
|
-
disabled: busy,
|
|
6464
|
-
onClick: () => p.onGrantAccess?.(task),
|
|
6465
|
-
children: "Allow access"
|
|
6466
|
-
}
|
|
6467
|
-
),
|
|
6468
|
-
/* @__PURE__ */ jsx(
|
|
6469
|
-
TaskRowMenu,
|
|
6470
|
-
{
|
|
6471
|
-
task,
|
|
6472
|
-
status,
|
|
6473
|
-
busy,
|
|
6474
|
-
isOwner: task.is_owner !== false,
|
|
6475
|
-
canAdmin: task.is_owner !== false || Boolean(p.isWorkspaceOwner),
|
|
6476
|
-
canEdit: canEdit(task),
|
|
6477
|
-
canMarkDone: markable(task),
|
|
6478
|
-
canReopen: canEdit(task),
|
|
6479
|
-
selected: selected.has(id),
|
|
6480
|
-
onToggleSelected: p.selectionActions || p.onMarkDoneMany || p.onDeleteMany ? () => toggle(setSelected, id) : void 0,
|
|
6481
|
-
labels: l,
|
|
6482
|
-
onMarkDone: () => p.onMarkDone(task),
|
|
6483
|
-
onNotify: p.onNotify ? () => p.onNotify?.(task) : void 0,
|
|
6484
|
-
onReopen: () => p.onReopen(task),
|
|
6485
|
-
onEdit: () => p.onEdit(task),
|
|
6486
|
-
onAddSubtask: p.onAddSubtask ? () => p.onAddSubtask?.(task) : void 0,
|
|
6487
|
-
onMoveTo: p.onMove ? () => setMoving(task) : void 0,
|
|
6488
|
-
onOpenActivity: p.onOpenActivity ? () => p.onOpenActivity?.(task) : void 0,
|
|
6489
|
-
onToggleShared: p.onToggleShared ? () => p.onToggleShared?.(task, !task.is_shared) : void 0
|
|
6490
|
-
}
|
|
6491
|
-
)
|
|
6492
|
-
] })
|
|
6493
|
-
]
|
|
6494
|
-
}
|
|
6495
|
-
),
|
|
6496
|
-
children.length > 0 && !collapsed.has(id) && /* @__PURE__ */ jsx("ul", { children: children.map((child) => renderTask(child, depth + 1)) })
|
|
6497
|
-
] }, id);
|
|
6498
|
-
};
|
|
6499
|
-
return /* @__PURE__ */ jsxs("div", { className: "flex min-h-0 flex-1 flex-col", "data-testid": p.testId ?? "task-inbox", children: [
|
|
6500
|
-
/* @__PURE__ */ jsx(
|
|
6501
|
-
TabHeader,
|
|
6502
|
-
{
|
|
6503
|
-
testId: "tasks-tab-header",
|
|
6504
|
-
tabs: [
|
|
6505
|
-
{
|
|
6506
|
-
id: "tasks",
|
|
6507
|
-
label: "",
|
|
6508
|
-
count: rows.length,
|
|
6509
|
-
countPlacement: "leading",
|
|
6510
|
-
countIcon: /* @__PURE__ */ jsx(ListTodo, { className: "size-3.5" }),
|
|
6511
|
-
hasActiveFilters,
|
|
6512
|
-
testId: "tasks-tab",
|
|
6513
|
-
presentation: "count"
|
|
6514
|
-
}
|
|
6515
|
-
],
|
|
6516
|
-
activeTabId: "tasks",
|
|
6517
|
-
onTabChange: () => {
|
|
6518
|
-
},
|
|
6519
|
-
firstTabContent: /* @__PURE__ */ jsx(
|
|
6520
|
-
FilterInput,
|
|
6521
|
-
{
|
|
6522
|
-
value: filterText,
|
|
6523
|
-
onChange: p.onFilterTextChange ?? setLocalQuery,
|
|
6524
|
-
fields: searchFields,
|
|
6525
|
-
onFieldsChange: setSearchFields,
|
|
6526
|
-
labels: { fieldNames: { text: "Task", labels: "Workflow" } },
|
|
6527
|
-
className: "w-44 max-w-[40vw]",
|
|
6528
|
-
testIds: {
|
|
6529
|
-
root: "tasks-filter",
|
|
6530
|
-
input: "tasks-filter-input",
|
|
6531
|
-
fieldsButton: "tasks-filter-fields"
|
|
6532
|
-
},
|
|
6533
|
-
filter: /* @__PURE__ */ jsx(
|
|
6534
|
-
TriStateFilterMenu,
|
|
6535
|
-
{
|
|
6536
|
-
testId: "tasks-status-filter",
|
|
6537
|
-
open: filterOpen,
|
|
6538
|
-
onOpenChange: setFilterOpen,
|
|
6539
|
-
filterStates: statusFilters,
|
|
6540
|
-
onFiltersChange: setStatusFilters,
|
|
6541
|
-
options: [
|
|
6542
|
-
{
|
|
6543
|
-
id: "todo",
|
|
6544
|
-
label: "To do",
|
|
6545
|
-
count: all.filter((t) => t.status === "todo").length
|
|
6546
|
-
},
|
|
6547
|
-
{
|
|
6548
|
-
id: "generating",
|
|
6549
|
-
label: "Generating",
|
|
6550
|
-
count: all.filter((t) => t.status === "generating").length
|
|
6551
|
-
},
|
|
6552
|
-
{
|
|
6553
|
-
id: "done",
|
|
6554
|
-
label: "Completed",
|
|
6555
|
-
count: all.filter((t) => t.status === "done").length
|
|
6556
|
-
}
|
|
6557
|
-
],
|
|
6558
|
-
groups: [{ label: "Status", options: ["todo", "generating", "done"] }],
|
|
6559
|
-
triggerClassName: "flex h-5 items-center gap-0.5 rounded px-1 text-muted-foreground hover:text-foreground pointer-coarse:h-11! pointer-coarse:min-w-11 pointer-coarse:justify-center",
|
|
6560
|
-
renderChevron: true,
|
|
6561
|
-
disableHoverOpen: true
|
|
6562
|
-
}
|
|
6563
|
-
)
|
|
6564
|
-
}
|
|
6565
|
-
),
|
|
6566
|
-
rightContent: p.onCreate ? /* @__PURE__ */ jsxs(DropdownMenu, { children: [
|
|
6567
|
-
/* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(Button, { "data-testid": "new-task-button", children: [
|
|
6568
|
-
/* @__PURE__ */ jsx(Plus, { className: "mr-1 size-4" }),
|
|
6569
|
-
"New",
|
|
6570
|
-
/* @__PURE__ */ jsx(ChevronDown, { className: "ml-1 size-3" })
|
|
6571
|
-
] }) }),
|
|
6572
|
-
/* @__PURE__ */ jsxs(DropdownMenuContent, { align: "end", children: [
|
|
6573
|
-
/* @__PURE__ */ jsx(DropdownMenuItem, { onSelect: p.onCreate, children: "Task" }),
|
|
6574
|
-
p.onCreateWorkflow && /* @__PURE__ */ jsx(DropdownMenuItem, { onSelect: p.onCreateWorkflow, children: "Saved workflow" })
|
|
6575
|
-
] })
|
|
6576
|
-
] }) : p.header
|
|
6577
|
-
}
|
|
6578
|
-
),
|
|
6579
|
-
/* @__PURE__ */ jsx("div", { className: "min-h-0 flex-1 overflow-y-auto", "aria-busy": p.isLoading, children: p.isLoading ? /* @__PURE__ */ jsx("p", { className: "py-12 text-center text-sm text-muted-foreground", children: "Loading work\u2026" }) : !listed.length && !workflows.length ? /* @__PURE__ */ jsx(
|
|
6580
|
-
EmptyState,
|
|
6581
|
-
{
|
|
6582
|
-
title: q ? "No matches" : all.length ? "You\u2019re all caught up" : "No work here yet",
|
|
6583
|
-
description: "Create a task from a prompt or a saved workflow. Keep its drafts and outputs together."
|
|
6584
|
-
}
|
|
6585
|
-
) : /* @__PURE__ */ jsxs("ul", { children: [
|
|
6586
|
-
workflows.map((w) => {
|
|
6587
|
-
const runs = roots.filter((t) => t.workflow_ext_id === w.external_id).sort(order);
|
|
6588
|
-
const editable = w.is_owner !== false || p.canEditShared;
|
|
6589
|
-
return /* @__PURE__ */ jsxs("li", { "data-testid": `task-workflow-${w.external_id}`, children: [
|
|
6590
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-start gap-2 border-b py-3", children: [
|
|
6591
|
-
runs.length > 0 ? /* @__PURE__ */ jsx(
|
|
6592
|
-
Button,
|
|
6593
|
-
{
|
|
6594
|
-
variant: "ghost",
|
|
6595
|
-
size: "icon",
|
|
6596
|
-
className: "size-7",
|
|
6597
|
-
"aria-label": `${collapsed.has(w.external_id) ? "Expand" : "Collapse"} ${w.name}`,
|
|
6598
|
-
onClick: () => toggle(setCollapsed, w.external_id),
|
|
6599
|
-
children: collapsed.has(w.external_id) ? /* @__PURE__ */ jsx(ChevronRight, { className: "size-4" }) : /* @__PURE__ */ jsx(ChevronDown, { className: "size-4" })
|
|
6600
|
-
}
|
|
6601
|
-
) : /* @__PURE__ */ jsx(Workflow, { className: "mx-1 mt-1 size-4 shrink-0 text-muted-foreground" }),
|
|
6602
|
-
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
6603
|
-
/* @__PURE__ */ jsx(
|
|
6604
|
-
"button",
|
|
6605
|
-
{
|
|
6606
|
-
className: "block text-left text-sm font-medium hover:underline",
|
|
6607
|
-
disabled: !editable,
|
|
6608
|
-
onClick: () => p.onEditWorkflow?.(w.external_id),
|
|
6609
|
-
children: w.name
|
|
6610
|
-
}
|
|
6611
|
-
),
|
|
6612
|
-
/* @__PURE__ */ jsxs("p", { className: "mt-1 text-xs text-muted-foreground", children: [
|
|
6613
|
-
"Saved workflow \xB7 ",
|
|
6614
|
-
w.summary ?? "Run when needed",
|
|
6615
|
-
!w.active ? " \xB7 Paused" : "",
|
|
6616
|
-
runs.length ? ` \xB7 ${runs.length} ${runs.length === 1 ? "task" : "tasks"}` : ""
|
|
6617
|
-
] }),
|
|
6618
|
-
w.last_error && /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-destructive", children: w.last_error })
|
|
6619
|
-
] }),
|
|
6620
|
-
/* @__PURE__ */ jsxs(DropdownMenu, { children: [
|
|
6621
|
-
/* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
6622
|
-
Button,
|
|
6623
|
-
{
|
|
6624
|
-
variant: "ghost",
|
|
6625
|
-
size: "icon",
|
|
6626
|
-
className: "size-8",
|
|
6627
|
-
"aria-label": `Actions for ${w.name}`,
|
|
6628
|
-
children: /* @__PURE__ */ jsx(MoreHorizontal, { className: "size-4" })
|
|
6629
|
-
}
|
|
6630
|
-
) }),
|
|
6631
|
-
/* @__PURE__ */ jsxs(DropdownMenuContent, { align: "end", children: [
|
|
6632
|
-
p.onWorkflowHistory && /* @__PURE__ */ jsx(DropdownMenuItem, { onSelect: () => p.onWorkflowHistory?.(w.external_id), children: "Run history" }),
|
|
6633
|
-
editable && p.onToggleWorkflow && /* @__PURE__ */ jsx(
|
|
6634
|
-
DropdownMenuItem,
|
|
6635
|
-
{
|
|
6636
|
-
onSelect: () => p.onToggleWorkflow?.(w.external_id, !w.active),
|
|
6637
|
-
children: w.active ? "Pause" : "Resume"
|
|
6638
|
-
}
|
|
6639
|
-
),
|
|
6640
|
-
(w.is_owner !== false || p.isWorkspaceOwner) && p.onDeleteWorkflow && /* @__PURE__ */ jsx(DropdownMenuItem, { onSelect: () => p.onDeleteWorkflow?.(w.external_id), children: "Delete workflow" })
|
|
6641
|
-
] })
|
|
6642
|
-
] })
|
|
6643
|
-
] }),
|
|
6644
|
-
!collapsed.has(w.external_id) && runs.length > 0 && /* @__PURE__ */ jsx("ul", { children: runs.map((t) => renderTask(t, 1)) })
|
|
6645
|
-
] }, w.external_id);
|
|
6646
|
-
}),
|
|
6647
|
-
roots.filter((t) => !t.workflow_ext_id || !workflowIds.has(t.workflow_ext_id)).sort(order).map((t) => renderTask(t))
|
|
6648
|
-
] }) }),
|
|
6649
|
-
/* @__PURE__ */ jsx(SelectionBar, { count: selectedTasks.length, onClear: clearSelection, children: (isCompact) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6650
|
-
p.selectionActions?.(selectedTasks, isCompact, clearSelection),
|
|
6651
|
-
p.onMarkDoneMany && /* @__PURE__ */ jsx(
|
|
6652
|
-
SelectionBarAction,
|
|
6653
|
-
{
|
|
6654
|
-
icon: CheckCheck,
|
|
6655
|
-
label: l.markDoneMany,
|
|
6656
|
-
isCompact,
|
|
6657
|
-
disabled: !markableTasks.length,
|
|
6658
|
-
onClick: () => {
|
|
6659
|
-
p.onMarkDoneMany?.(markableTasks);
|
|
6660
|
-
clearSelection();
|
|
6661
|
-
},
|
|
6662
|
-
testId: "task-bulk-done"
|
|
6663
|
-
}
|
|
6664
|
-
),
|
|
6665
|
-
p.onDeleteMany && /* @__PURE__ */ jsx(
|
|
6666
|
-
SelectionBarAction,
|
|
6667
|
-
{
|
|
6668
|
-
icon: Trash2,
|
|
6669
|
-
label: l.deleteMany,
|
|
6670
|
-
isCompact,
|
|
6671
|
-
disabled: !deletableTasks.length,
|
|
6672
|
-
onClick: () => {
|
|
6673
|
-
p.onDeleteMany?.(deletableTasks);
|
|
6674
|
-
clearSelection();
|
|
6675
|
-
},
|
|
6676
|
-
className: "text-red-text hover:bg-red-bg hover:text-red-text",
|
|
6677
|
-
testId: "task-bulk-delete"
|
|
6678
|
-
}
|
|
6679
|
-
)
|
|
6680
|
-
] }) }),
|
|
6681
|
-
moving && p.onMove && /* @__PURE__ */ jsx(
|
|
6682
|
-
TaskMoveDialog,
|
|
6683
|
-
{
|
|
6684
|
-
open: true,
|
|
6685
|
-
onOpenChange: (open) => !open && setMoving(null),
|
|
6686
|
-
options: moveTargets(all, moving).map((t) => ({ id: t.external_id, label: nameOf(t) })),
|
|
6687
|
-
currentParentId: moving.parent_conversation_ext_id,
|
|
6688
|
-
onPick: (id) => p.onMove?.(moving, id),
|
|
6689
|
-
labels: {
|
|
6690
|
-
title: l.moveToTitle(nameOf(moving)),
|
|
6691
|
-
none: l.moveToNone,
|
|
6692
|
-
search: l.moveToSearch,
|
|
6693
|
-
empty: l.moveToEmpty,
|
|
6694
|
-
cancel: l.moveToCancel
|
|
6695
|
-
}
|
|
6696
|
-
}
|
|
6697
|
-
)
|
|
6698
|
-
] });
|
|
6699
|
-
}
|
|
6700
6279
|
var DEFAULT_THREAD_STATE_LABELS = {
|
|
6701
6280
|
generating: "Generating",
|
|
6702
6281
|
needs: "Needs {name}",
|
|
@@ -6726,7 +6305,6 @@ function ThreadStatusLine({
|
|
|
6726
6305
|
state,
|
|
6727
6306
|
name = "you",
|
|
6728
6307
|
detail,
|
|
6729
|
-
extra,
|
|
6730
6308
|
labels,
|
|
6731
6309
|
className,
|
|
6732
6310
|
testId
|
|
@@ -6744,7 +6322,6 @@ function ThreadStatusLine({
|
|
|
6744
6322
|
children: [
|
|
6745
6323
|
/* @__PURE__ */ jsx("span", { className: cn("flex shrink-0 [&_svg]:size-3.5", tone), "aria-hidden": true, children: icon }),
|
|
6746
6324
|
/* @__PURE__ */ jsx("span", { className: cn("shrink-0 font-medium", tone), children: word }),
|
|
6747
|
-
extra,
|
|
6748
6325
|
detail && /* @__PURE__ */ jsxs("span", { className: "min-w-0 truncate text-foreground", children: [
|
|
6749
6326
|
"\xB7 ",
|
|
6750
6327
|
detail
|
|
@@ -6857,15 +6434,15 @@ function ConversationListView(p) {
|
|
|
6857
6434
|
))
|
|
6858
6435
|
},
|
|
6859
6436
|
// Who spoke last (their face) and when: the two read together, at the row's end.
|
|
6860
|
-
...liveProps.current.renderBy
|
|
6437
|
+
...liveProps.current.renderBy ? [
|
|
6861
6438
|
{
|
|
6862
|
-
colId:
|
|
6863
|
-
headerName:
|
|
6439
|
+
colId: "by",
|
|
6440
|
+
headerName: "By",
|
|
6864
6441
|
width: 64,
|
|
6865
6442
|
hide: isPhone,
|
|
6866
6443
|
sortable: false,
|
|
6867
6444
|
resizable: false,
|
|
6868
|
-
cellRenderer: ({ data }) => data &&
|
|
6445
|
+
cellRenderer: ({ data }) => data && liveProps.current.renderBy?.(data)
|
|
6869
6446
|
}
|
|
6870
6447
|
] : [],
|
|
6871
6448
|
{
|
|
@@ -6882,7 +6459,6 @@ function ConversationListView(p) {
|
|
|
6882
6459
|
[
|
|
6883
6460
|
Boolean(p.renderThread),
|
|
6884
6461
|
Boolean(p.renderLabels),
|
|
6885
|
-
Boolean(p.renderOwner),
|
|
6886
6462
|
Boolean(p.renderBy),
|
|
6887
6463
|
Boolean(p.renderStatus),
|
|
6888
6464
|
isPhone,
|
|
@@ -6928,8 +6504,7 @@ function ConversationListView(p) {
|
|
|
6928
6504
|
},
|
|
6929
6505
|
className: "w-44 max-w-[40vw]"
|
|
6930
6506
|
}
|
|
6931
|
-
)
|
|
6932
|
-
rightContent: p.header
|
|
6507
|
+
)
|
|
6933
6508
|
}
|
|
6934
6509
|
),
|
|
6935
6510
|
/* @__PURE__ */ jsx("div", { className: "min-h-0 flex-1", children: /* @__PURE__ */ jsx(
|
|
@@ -9199,7 +8774,6 @@ function WorkflowComposer({
|
|
|
9199
8774
|
goal,
|
|
9200
8775
|
standingAccess,
|
|
9201
8776
|
scopeSource,
|
|
9202
|
-
renderScope,
|
|
9203
8777
|
renderDocuments,
|
|
9204
8778
|
addFilesAction,
|
|
9205
8779
|
onDropFiles,
|
|
@@ -9418,7 +8992,7 @@ function WorkflowComposer({
|
|
|
9418
8992
|
fields,
|
|
9419
8993
|
values: values.inputs,
|
|
9420
8994
|
onChange: (name, value) => set("inputs", { ...values.inputs, [name]: value }),
|
|
9421
|
-
renderScope:
|
|
8995
|
+
renderScope: defaultScopeRenderer(scopeSource),
|
|
9422
8996
|
renderDocuments,
|
|
9423
8997
|
renderIcon,
|
|
9424
8998
|
labels: formLabels,
|
|
@@ -9815,7 +9389,6 @@ function WorkTaskComposer({
|
|
|
9815
9389
|
goal,
|
|
9816
9390
|
standingAccess,
|
|
9817
9391
|
scopeSource,
|
|
9818
|
-
renderScope,
|
|
9819
9392
|
renderDocuments,
|
|
9820
9393
|
isPending,
|
|
9821
9394
|
planDrafting = false,
|
|
@@ -10051,7 +9624,7 @@ function WorkTaskComposer({
|
|
|
10051
9624
|
fields,
|
|
10052
9625
|
values: values.inputs,
|
|
10053
9626
|
onChange: (name, value) => set("inputs", { ...values.inputs, [name]: value }),
|
|
10054
|
-
renderScope:
|
|
9627
|
+
renderScope: defaultScopeRenderer(scopeSource),
|
|
10055
9628
|
renderDocuments,
|
|
10056
9629
|
renderIcon,
|
|
10057
9630
|
labels: formLabels,
|
|
@@ -11564,6 +11137,6 @@ function AgentCreateView({
|
|
|
11564
11137
|
] });
|
|
11565
11138
|
}
|
|
11566
11139
|
|
|
11567
|
-
export { ANNOTATE, ANNOTATE_ID, ActionStepBody, AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentConnectInstructions, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentTypeSelector, ApprovalEvidence, AssigneeLine, BUILTIN_SKILLS, CHRONOLOGY, CHRONOLOGY_ID, CUSTOM_TASK, CUSTOM_TASK_ID, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DASHBOARD_OPERATIONS, DASHBOARD_PINNED, DEEP_RESEARCH, DEEP_RESEARCH_ID, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CAPABILITIES, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_TEMPLATES, DEFAULT_AGENT_TYPES, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_THREAD_LAUNCHER_LABELS, DEFAULT_THREAD_STATE_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_RUN_STATUS_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, GENERATE_IMAGE, GENERATE_IMAGE_ID, IMAGE_ASPECT_AUTO, IMAGE_ASPECT_RATIOS, MAX_TASK_DEPTH, NewThreadDialog, PillSelect, REMIND_TASK, REMIND_TASK_ID, RecurrenceBuilder, SKILL_FIELD_TYPE_LABELS, SKILL_MAIN_FILENAME, SKILL_SOURCE_LABELS, SKILL_TYPES, SKILL_TYPE_LABELS, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SUMMARISE, SUMMARISE_ID, SendBackControl, SkillActionButton, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillLibraryDetail, SkillTile, SkillTypeBadge, SkillViewToggle, TASK_COLUMN_ORDER, TIMELINE, TIMELINE_ID, TIMELINE_PROMPT, TRANSLATE, TRANSLATE_ID, TRANSLATE_LANGUAGES, TRIGGER_LABELS, TaskActivityDialog, TaskActivityTimeline, TaskComposer, TaskEmptyState,
|
|
11568
|
-
//# sourceMappingURL=chunk-
|
|
11569
|
-
//# sourceMappingURL=chunk-
|
|
11140
|
+
export { ANNOTATE, ANNOTATE_ID, ActionStepBody, AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentConnectInstructions, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentTypeSelector, ApprovalEvidence, AssigneeLine, BUILTIN_SKILLS, CHRONOLOGY, CHRONOLOGY_ID, CUSTOM_TASK, CUSTOM_TASK_ID, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DASHBOARD_OPERATIONS, DASHBOARD_PINNED, DEEP_RESEARCH, DEEP_RESEARCH_ID, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CAPABILITIES, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_TEMPLATES, DEFAULT_AGENT_TYPES, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_THREAD_LAUNCHER_LABELS, DEFAULT_THREAD_STATE_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_RUN_STATUS_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, GENERATE_IMAGE, GENERATE_IMAGE_ID, IMAGE_ASPECT_AUTO, IMAGE_ASPECT_RATIOS, MAX_TASK_DEPTH, NewThreadDialog, PillSelect, REMIND_TASK, REMIND_TASK_ID, RecurrenceBuilder, SKILL_FIELD_TYPE_LABELS, SKILL_MAIN_FILENAME, SKILL_SOURCE_LABELS, SKILL_TYPES, SKILL_TYPE_LABELS, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SUMMARISE, SUMMARISE_ID, SendBackControl, SkillActionButton, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillLibraryDetail, SkillTile, SkillTypeBadge, SkillViewToggle, TASK_COLUMN_ORDER, TIMELINE, TIMELINE_ID, TIMELINE_PROMPT, TRANSLATE, TRANSLATE_ID, TRANSLATE_LANGUAGES, TRIGGER_LABELS, TaskActivityDialog, TaskActivityTimeline, TaskComposer, TaskEmptyState, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TasksToolbar, ThreadLauncher, ThreadNotifyDialog, ThreadStatusLine, TupleArrayField, UploadTaskItem, UploadTaskList, WEB_WORKFLOWS, WORD_ASK, WORD_ASK_ID, WORD_CONTINUE, WORD_CONTINUE_ID, WORD_SUMMARISE, WORD_SUMMARISE_ID, WORD_SUPPORT, WORD_SUPPORT_ID, WORD_WORKFLOWS, WORKFLOW_REGISTRY, WorkflowRunStatus, WorkflowRunner, WorkflowStepAction, WorkflowStepBar, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsToolbar, activateOnKey, activeStepId, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildLibrarySkills, buildTaskRows, buildZipSkillImport, closeWorkflowLaunch, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveAnnotationName, deriveWorkflowName, descendantIds, filterConversationRows, filterLibrarySkills, firstWords, formatElapsed2 as formatElapsed, goalProgress, groupAgentTasks, groupThreadActivity, hasTaskFields, humanizeSection, importMarkdownSkill, importSkillFile, importSkillFromUrl, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isMainSkillFile, isOutOfBounds, isPlainTodo, isValidAgentName, isoToLocalInput, labelRef, labelRefKey, localInputToIso, matchRequiredLabels, moveTargets, newThreadToRequest, nextCriterionId, openWorkflowLaunch, ownerExtId, parseSkillFrontmatter, prettifyKey, readSkillArchive, recordWorkflowUse, renderWorkflowIcon, requiredLabelsOf, resetWorkflowUsage, resolveScopeInputs, serializeSkill, skillSlug, sortByRecentUse, stepWindow, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskActivityHeadline, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, unresolvedLabelRefs, useWorkflowLaunchRequest, useWorkflowUsage, useWorkflowView, withLabelIds, workflowFromSkillMarkdown, workflowTaskFields, workflowToComposerValues, workflowToSkillMarkdown, workflowWhen };
|
|
11141
|
+
//# sourceMappingURL=chunk-G7GPG5NO.js.map
|
|
11142
|
+
//# sourceMappingURL=chunk-G7GPG5NO.js.map
|