@arbidocs/blocks 0.4.52 → 0.4.54

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 (41) hide show
  1. package/dist/agents/index.cjs +223 -223
  2. package/dist/agents/index.js +4 -4
  3. package/dist/agents/tasks/TaskActivityTimeline.d.ts +1 -1
  4. package/dist/chat/forward-scroll.d.ts +11 -0
  5. package/dist/chat/index.cjs +122 -122
  6. package/dist/chat/index.js +2 -2
  7. package/dist/{chunk-KGLGXGHW.js → chunk-2FBNT7Y6.js} +25 -12
  8. package/dist/chunk-2FBNT7Y6.js.map +1 -0
  9. package/dist/{chunk-FVN2EWAV.cjs → chunk-5DM6VU4L.cjs} +52 -3
  10. package/dist/chunk-5DM6VU4L.cjs.map +1 -0
  11. package/dist/{chunk-RECFQQ43.cjs → chunk-5JEVPE7Y.cjs} +25 -12
  12. package/dist/chunk-5JEVPE7Y.cjs.map +1 -0
  13. package/dist/{chunk-553WJJIZ.cjs → chunk-BR2CPKFU.cjs} +4 -4
  14. package/dist/{chunk-553WJJIZ.cjs.map → chunk-BR2CPKFU.cjs.map} +1 -1
  15. package/dist/{chunk-QSVRKNPK.js → chunk-CW4WXGEN.js} +3 -3
  16. package/dist/{chunk-QSVRKNPK.js.map → chunk-CW4WXGEN.js.map} +1 -1
  17. package/dist/{chunk-CGNTPOWQ.js → chunk-DABEWNL2.js} +52 -3
  18. package/dist/chunk-DABEWNL2.js.map +1 -0
  19. package/dist/{chunk-SA2BVHQ5.cjs → chunk-WKNAFILY.cjs} +5 -5
  20. package/dist/{chunk-SA2BVHQ5.cjs.map → chunk-WKNAFILY.cjs.map} +1 -1
  21. package/dist/{chunk-E3NM576Y.js → chunk-ZQB7HNE6.js} +3 -3
  22. package/dist/{chunk-E3NM576Y.js.map → chunk-ZQB7HNE6.js.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 +2 -2
  28. package/dist/files/index.js +2 -2
  29. package/dist/index.cjs +678 -678
  30. package/dist/index.js +12 -12
  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/dist/chunk-CGNTPOWQ.js.map +0 -1
  39. package/dist/chunk-FVN2EWAV.cjs.map +0 -1
  40. package/dist/chunk-KGLGXGHW.js.map +0 -1
  41. package/dist/chunk-RECFQQ43.cjs.map +0 -1
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import { DocumentPicker, TriStateFilterMenu, MultiSelect } from './chunk-CKB64Z4R.js';
3
2
  import { EmptyState } from './chunk-P6GHJSLR.js';
4
3
  import { CellHoverIcon } from './chunk-RFXJYIDV.js';
5
4
  import { GridView, SelectionBar, SelectionBarAction } from './chunk-BUHKUKKB.js';
6
5
  import { FoldSection, QuickActionDialogHeader, AddFilesFirst, ScopePicker, StartTiles } from './chunk-LFGJAZ5H.js';
7
- import { TabHeader } from './chunk-4WWM3GQ5.js';
6
+ import { DocumentPicker, TriStateFilterMenu, MultiSelect } from './chunk-CKB64Z4R.js';
7
+ import { ToneBadge } from './chunk-DPLRHEJZ.js';
8
8
  import { FilterInput } from './chunk-YU2KUMGE.js';
9
9
  import { ActionLink } from './chunk-S7PSMMRG.js';
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';
@@ -6999,6 +6999,7 @@ var ICONS = {
6999
6999
  failed: /* @__PURE__ */ jsx(AlertTriangle, { className: "size-3.5", "aria-hidden": true }),
7000
7000
  participant_joined: /* @__PURE__ */ jsx(UserRoundCog, { className: "size-3.5", "aria-hidden": true }),
7001
7001
  assistant_responded: /* @__PURE__ */ jsx(Sparkles, { className: "size-3.5", "aria-hidden": true }),
7002
+ assistant_stopped: /* @__PURE__ */ jsx(Square, { className: "size-3.5", "aria-hidden": true }),
7002
7003
  artifact_created: /* @__PURE__ */ jsx(Sparkles, { className: "size-3.5", "aria-hidden": true }),
7003
7004
  artifact_edited: /* @__PURE__ */ jsx(MessageSquareReply, { className: "size-3.5", "aria-hidden": true }),
7004
7005
  document_added: /* @__PURE__ */ jsx(Sparkles, { className: "size-3.5", "aria-hidden": true }),
@@ -7031,6 +7032,8 @@ function TaskActivityTimeline({
7031
7032
  return { headline: "Joined the conversation" };
7032
7033
  case "assistant_responded":
7033
7034
  return { headline: "Responded" };
7035
+ case "assistant_stopped":
7036
+ return { headline: "Stopped" };
7034
7037
  case "artifact_created":
7035
7038
  return { headline: "Created a document" };
7036
7039
  case "artifact_edited":
@@ -7301,15 +7304,25 @@ function compactThreadActivity(events) {
7301
7304
  document_removed: "Removed document"
7302
7305
  };
7303
7306
  result.push({ event, label: labels[event.kind], recipients: [] });
7304
- } else if (["created", "participant_joined", "assistant_responded", "done"].includes(event.kind)) {
7307
+ } else if ([
7308
+ "created",
7309
+ "participant_joined",
7310
+ "assistant_responded",
7311
+ "assistant_stopped",
7312
+ "done"
7313
+ ].includes(event.kind)) {
7314
+ const labels = {
7315
+ created: "Started Task",
7316
+ participant_joined: "Followed Up",
7317
+ assistant_responded: "Answered",
7318
+ // A stopped turn logs its own crumb, so the header no longer reads the previous
7319
+ // answer's "Answered" as the outcome of the turn that was stopped.
7320
+ assistant_stopped: "Stopped",
7321
+ done: "Marked Done"
7322
+ };
7305
7323
  result.push({
7306
7324
  event,
7307
- label: {
7308
- created: "Started Task",
7309
- participant_joined: "Followed Up",
7310
- assistant_responded: "Answered",
7311
- done: "Marked Done"
7312
- }[event.kind],
7325
+ label: labels[event.kind],
7313
7326
  recipients: []
7314
7327
  });
7315
7328
  }
@@ -10671,5 +10684,5 @@ function AgentCreateView({
10671
10684
  }
10672
10685
 
10673
10686
  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 };
10674
- //# sourceMappingURL=chunk-KGLGXGHW.js.map
10675
- //# sourceMappingURL=chunk-KGLGXGHW.js.map
10687
+ //# sourceMappingURL=chunk-2FBNT7Y6.js.map
10688
+ //# sourceMappingURL=chunk-2FBNT7Y6.js.map