@arbidocs/blocks 0.4.50 → 0.4.52

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.
Files changed (42) hide show
  1. package/dist/agents/index.cjs +222 -222
  2. package/dist/agents/index.js +3 -3
  3. package/dist/agents/runs/SubagentRoster.d.ts +2 -0
  4. package/dist/agents/tasks/TaskStartDialog.d.ts +3 -1
  5. package/dist/chat/index.cjs +122 -122
  6. package/dist/chat/index.js +2 -2
  7. package/dist/{chunk-6H7KMKKG.cjs → chunk-553WJJIZ.cjs} +4 -4
  8. package/dist/{chunk-6H7KMKKG.cjs.map → chunk-553WJJIZ.cjs.map} +1 -1
  9. package/dist/{chunk-SRFMVYX3.js → chunk-CGNTPOWQ.js} +14 -15
  10. package/dist/chunk-CGNTPOWQ.js.map +1 -0
  11. package/dist/{chunk-PUWWLMYU.js → chunk-E3NM576Y.js} +3 -3
  12. package/dist/{chunk-PUWWLMYU.js.map → chunk-E3NM576Y.js.map} +1 -1
  13. package/dist/{chunk-4S23QXYU.cjs → chunk-FVN2EWAV.cjs} +13 -14
  14. package/dist/chunk-FVN2EWAV.cjs.map +1 -0
  15. package/dist/{chunk-QKCI266D.js → chunk-KGLGXGHW.js} +15 -10
  16. package/dist/chunk-KGLGXGHW.js.map +1 -0
  17. package/dist/{chunk-IUBN7EGJ.js → chunk-QSVRKNPK.js} +3 -3
  18. package/dist/{chunk-IUBN7EGJ.js.map → chunk-QSVRKNPK.js.map} +1 -1
  19. package/dist/{chunk-C7NAMPWE.cjs → chunk-RECFQQ43.cjs} +14 -9
  20. package/dist/chunk-RECFQQ43.cjs.map +1 -0
  21. package/dist/{chunk-U736MI2I.cjs → chunk-SA2BVHQ5.cjs} +5 -5
  22. package/dist/{chunk-U736MI2I.cjs.map → chunk-SA2BVHQ5.cjs.map} +1 -1
  23. package/dist/connect/index.cjs +11 -11
  24. package/dist/connect/index.js +2 -2
  25. package/dist/facts/index.cjs +2 -2
  26. package/dist/facts/index.js +2 -2
  27. package/dist/files/index.cjs +1 -1
  28. package/dist/files/index.js +1 -1
  29. package/dist/index.cjs +677 -677
  30. package/dist/index.js +11 -11
  31. package/dist/settings/index.cjs +1 -1
  32. package/dist/settings/index.js +1 -1
  33. package/dist/shell/index.cjs +9 -9
  34. package/dist/shell/index.js +1 -1
  35. package/dist/studio/index.cjs +3 -3
  36. package/dist/studio/index.js +2 -2
  37. package/package.json +4 -4
  38. package/src/blocks.css +2 -0
  39. package/dist/chunk-4S23QXYU.cjs.map +0 -1
  40. package/dist/chunk-C7NAMPWE.cjs.map +0 -1
  41. package/dist/chunk-QKCI266D.js.map +0 -1
  42. package/dist/chunk-SRFMVYX3.js.map +0 -1
@@ -1,13 +1,13 @@
1
1
  "use client";
2
+ import { DocumentPicker, TriStateFilterMenu, MultiSelect } from './chunk-CKB64Z4R.js';
2
3
  import { EmptyState } from './chunk-P6GHJSLR.js';
3
4
  import { CellHoverIcon } from './chunk-RFXJYIDV.js';
4
5
  import { GridView, SelectionBar, SelectionBarAction } from './chunk-BUHKUKKB.js';
5
6
  import { FoldSection, QuickActionDialogHeader, AddFilesFirst, ScopePicker, StartTiles } from './chunk-LFGJAZ5H.js';
7
+ import { TabHeader } from './chunk-4WWM3GQ5.js';
6
8
  import { FilterInput } from './chunk-YU2KUMGE.js';
7
9
  import { ActionLink } from './chunk-S7PSMMRG.js';
8
- import { DocumentPicker, TriStateFilterMenu, MultiSelect } from './chunk-CKB64Z4R.js';
9
10
  import { ToneBadge } from './chunk-DPLRHEJZ.js';
10
- import { TabHeader } from './chunk-4WWM3GQ5.js';
11
11
  import { useMentionAutocomplete } from './chunk-3VQYJBOI.js';
12
12
  import { useIsPhone } from './chunk-SLSBJRWW.js';
13
13
  import { useBlocksEnvironment } from './chunk-76JDDMSP.js';
@@ -18,7 +18,7 @@ import { testIdOr, prefixedTestId } from './chunk-7F6CBP3Z.js';
18
18
  import { memo, forwardRef, useState, useMemo, useId, useEffect, useRef, useCallback, useLayoutEffect } from 'react';
19
19
  import { cn, Label, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, Textarea, Input, Switch, Button, Collapsible, CollapsibleTrigger, CollapsibleContent, Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, Tooltip, TooltipTrigger, TooltipContent, Badge, Slider, UserEntity, getEntityColorStyles, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, Popover, PopoverTrigger, PopoverContent, Command, CommandInput, CommandList, CommandEmpty, CommandItem, VisibilityToggle, EntityPill, ThreadVisibilityIcon, DialogClose, DropdownMenuSeparator, badgeVariants, Checkbox } from '@arbidocs/react/ui';
20
20
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
21
- import { ChevronDown, ChevronRight, Plus, Trash2, Loader2, Play, MessageSquare, Eye, ClipboardList, Pencil, Copy, Bot, Sparkles, Wand2, X, Globe, Download, Lock, ListChecks, AlertTriangle, FileX, SkipForward, Check, FileText, CornerDownRight, MessageSquareReply, UserCheck, AlertCircle, KeyRound, Workflow, ChevronsUpDown, ChevronsDownUp, ListTodo, CheckCheck, MoreHorizontal, CalendarClock, History, ArrowRight, ChevronUp, Pause, Activity, Hourglass, MoreVertical, TriangleAlert, CheckSquare, Square, CheckCircle2, ArrowLeft, LayoutGrid, List, CircleDashed, RotateCcw, ListPlus, UserRoundCog, Link2, Clock, Bell, MousePointerClick, CircleDot, Zap } from 'lucide-react';
21
+ import { ChevronDown, ChevronRight, Plus, Trash2, Loader2, Play, MessageSquare, Eye, ClipboardList, Pencil, Copy, Bot, Sparkles, Wand2, X, Globe, Download, Lock, ListChecks, AlertTriangle, FileX, SkipForward, Check, FileText, CornerDownRight, MessageSquareReply, UserCheck, AlertCircle, KeyRound, Workflow, ChevronsUpDown, ChevronsDownUp, ListTodo, CheckCheck, MoreHorizontal, CalendarClock, History, ArrowRight, ChevronUp, Pause, Activity, Hourglass, MoreVertical, TriangleAlert, CheckSquare, Square, CheckCircle2, SquareArrowOutUpRight, ArrowLeft, LayoutGrid, List, CircleDashed, RotateCcw, ListPlus, UserRoundCog, Link2, Clock, Bell, MousePointerClick, CircleDot, Zap } from 'lucide-react';
22
22
 
23
23
  // src/agents/workflows/types.ts
24
24
  var EMPTY_WORKFLOW_SCOPE = { folders: [], labels: [] };
@@ -5345,6 +5345,7 @@ function TaskStartDialog({
5345
5345
  assignees = NO_ASSIGNEES,
5346
5346
  isPending,
5347
5347
  error,
5348
+ startLabel,
5348
5349
  onStart,
5349
5350
  onLater
5350
5351
  }) {
@@ -5532,7 +5533,7 @@ function TaskStartDialog({
5532
5533
  } catch {
5533
5534
  }
5534
5535
  },
5535
- children: isPending ? "Starting\u2026" : todo ? assigneeId ? "Send for review" : "Create task" : "Start now"
5536
+ children: isPending ? "Starting\u2026" : startLabel ? startLabel : todo ? assigneeId ? "Send for review" : "Create task" : "Start now"
5536
5537
  }
5537
5538
  )
5538
5539
  ] })
@@ -10205,7 +10206,8 @@ var DEFAULT_SUBAGENT_ROSTER_LABELS = {
10205
10206
  hideSteps: "Hide this sub-agent's steps",
10206
10207
  showSteps: "Show this sub-agent's steps",
10207
10208
  openThread: "Open thread",
10208
- openThreadAria: "Open this sub-agent's own thread"
10209
+ openThreadAria: "Open this sub-agent's own thread",
10210
+ openThreadShort: "Thread"
10209
10211
  };
10210
10212
  var LINE = "flex min-w-0 flex-1 items-center gap-1.5 pl-3 text-sm leading-snug";
10211
10213
  function SubagentRoster({
@@ -10273,16 +10275,19 @@ function SubagentRoster({
10273
10275
  children: line
10274
10276
  }
10275
10277
  ) : /* @__PURE__ */ jsx("div", { className: LINE, children: line }),
10276
- lane.canOpenThread && /* @__PURE__ */ jsx(
10278
+ lane.canOpenThread && /* @__PURE__ */ jsxs(
10277
10279
  "button",
10278
10280
  {
10279
10281
  type: "button",
10280
10282
  onClick: () => onOpenThread(lane.handle),
10281
10283
  "aria-label": l.openThreadAria,
10282
10284
  title: l.openThread,
10283
- className: "flex shrink-0 items-center rounded p-1 text-muted-foreground/50 transition-colors hover:bg-muted/60 hover:text-foreground focus-visible:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring pointer-coarse:min-h-11 pointer-coarse:min-w-11 pointer-coarse:justify-center",
10285
+ className: "ml-2 flex shrink-0 items-center gap-1 rounded px-1.5 py-1 text-xs text-muted-foreground/70 transition-colors hover:bg-muted/60 hover:text-foreground focus-visible:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring pointer-coarse:min-h-11 pointer-coarse:min-w-11 pointer-coarse:justify-center",
10284
10286
  "data-testid": `running-subagent-open-thread-${lane.handle}`,
10285
- children: /* @__PURE__ */ jsx(ChevronRight, { size: 14, "aria-hidden": true })
10287
+ children: [
10288
+ /* @__PURE__ */ jsx(SquareArrowOutUpRight, { size: 12, "aria-hidden": true }),
10289
+ /* @__PURE__ */ jsx("span", { children: l.openThreadShort })
10290
+ ]
10286
10291
  }
10287
10292
  )
10288
10293
  ] }),
@@ -10666,5 +10671,5 @@ function AgentCreateView({
10666
10671
  }
10667
10672
 
10668
10673
  export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, 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, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_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_REVIEW_ACTIONS_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EMPTY_WORKFLOW_SCOPE, EntityChip, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SchemaForm, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskActivityTimeline, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskReviewActions, TaskReviewDialog, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadNotifyDialog, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildLaunch, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composeWorkflowPrompt, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultInputs, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, inputsFromContext, isAgenticWorkflow, isEmptyWorkflowScope, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isWorkflowScope, isoToLocalInput, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, promptFieldName, resolveScopeInputs, skillToWorkflow, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, validateInputs, workflowAccepts, workflowFromFrontmatter, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowTriggerType, workflowWhen, workflowsAccepting, workflowsForHost };
10669
- //# sourceMappingURL=chunk-QKCI266D.js.map
10670
- //# sourceMappingURL=chunk-QKCI266D.js.map
10674
+ //# sourceMappingURL=chunk-KGLGXGHW.js.map
10675
+ //# sourceMappingURL=chunk-KGLGXGHW.js.map