@arbidocs/blocks 0.4.79 → 0.4.81

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 (46) hide show
  1. package/dist/agents/index.cjs +278 -278
  2. package/dist/agents/index.js +3 -3
  3. package/dist/agents/workflows/StepBarFrame.d.ts +8 -2
  4. package/dist/agents/workflows/WorkflowRunner.d.ts +35 -3
  5. package/dist/agents/workflows/run.d.ts +10 -0
  6. package/dist/agents/workflows/stepWindow.d.ts +7 -0
  7. package/dist/agents/workflows/types.d.ts +4 -2
  8. package/dist/{chunk-5XVWGJ2H.cjs → chunk-B3WCKBJ7.cjs} +3 -3
  9. package/dist/{chunk-5XVWGJ2H.cjs.map → chunk-B3WCKBJ7.cjs.map} +1 -1
  10. package/dist/{chunk-YGUKTFKW.cjs → chunk-BX7JWZWE.cjs} +122 -14
  11. package/dist/chunk-BX7JWZWE.cjs.map +1 -0
  12. package/dist/{chunk-3YET6D5E.cjs → chunk-F5WIETZY.cjs} +58 -43
  13. package/dist/chunk-F5WIETZY.cjs.map +1 -0
  14. package/dist/{chunk-O35LRB3P.js → chunk-GJV2G4FC.js} +3 -3
  15. package/dist/{chunk-O35LRB3P.js.map → chunk-GJV2G4FC.js.map} +1 -1
  16. package/dist/{chunk-BMOL5DN6.js → chunk-I56ORHPY.js} +27 -12
  17. package/dist/chunk-I56ORHPY.js.map +1 -0
  18. package/dist/{chunk-CWAZNXC5.js → chunk-SWSVPQNB.js} +30 -8
  19. package/dist/chunk-SWSVPQNB.js.map +1 -0
  20. package/dist/{chunk-6GXF62XN.js → chunk-THCFZKTM.js} +118 -15
  21. package/dist/chunk-THCFZKTM.js.map +1 -0
  22. package/dist/{chunk-MLAHDAN5.cjs → chunk-UA2AMDR6.cjs} +30 -8
  23. package/dist/chunk-UA2AMDR6.cjs.map +1 -0
  24. package/dist/connect/index.cjs +145 -62
  25. package/dist/connect/index.cjs.map +1 -1
  26. package/dist/connect/index.d.ts +1 -1
  27. package/dist/connect/index.js +106 -23
  28. package/dist/connect/index.js.map +1 -1
  29. package/dist/connection/ConnectedWorkflowRunner.d.ts +30 -4
  30. package/dist/files/index.cjs +2 -2
  31. package/dist/files/index.js +2 -2
  32. package/dist/index.cjs +467 -467
  33. package/dist/index.js +7 -7
  34. package/dist/settings/index.cjs +35 -35
  35. package/dist/settings/index.js +3 -3
  36. package/dist/workflow-canvas/index.cjs +46 -46
  37. package/dist/workflow-canvas/index.js +3 -3
  38. package/dist/workspaces/index.cjs +1 -1
  39. package/dist/workspaces/index.js +1 -1
  40. package/package.json +4 -4
  41. package/dist/chunk-3YET6D5E.cjs.map +0 -1
  42. package/dist/chunk-6GXF62XN.js.map +0 -1
  43. package/dist/chunk-BMOL5DN6.js.map +0 -1
  44. package/dist/chunk-CWAZNXC5.js.map +0 -1
  45. package/dist/chunk-MLAHDAN5.cjs.map +0 -1
  46. package/dist/chunk-YGUKTFKW.cjs.map +0 -1
package/dist/index.js CHANGED
@@ -7,14 +7,14 @@ export { DataTable, DataTableBlock, MetricCard, PageHeader, StatGroup } from './
7
7
  export { Accordion, AvatarBlock, Banner, BlockImage, BlockLink, CTABanner, Columns, ContactForm, Container, FAQ, FONT_PAIRINGS, FeatureGrid, Footer, Gallery, Hero, ListBlock, LogoCloud, MediaText, Navbar, PricingTable, ProfileCard, RichTextBlock, SectionHeading, Spacer, Steps, THEME_STYLE_ID, Tabs, TeamGrid, Testimonial, TestimonialGrid, ThemeEditor, VideoEmbed, applyFontVars, applyStoredTheme, applyThemeVars, clearFontVars, clearThemeVars, createThemeStore, fontPackages, getFontPairing, matchFontPairing, tid, toEmbedUrl, toHslTriplet } from './chunk-DLBUFHLY.js';
8
8
  export { Timeline } from './chunk-OVEQERPO.js';
9
9
  export { MemberAvatarStack } from './chunk-XNOASBGW.js';
10
- export { DEFAULT_TAG_MATRIX_LABELS, TagMatrix, cellText, cellValue, isGap, parseCell, tagMatrixColumns, tagMatrixMarkdown } from './chunk-CWAZNXC5.js';
10
+ export { DEFAULT_TAG_MATRIX_LABELS, TagMatrix, cellText, cellValue, isGap, parseCell, tagMatrixColumns, tagMatrixMarkdown } from './chunk-SWSVPQNB.js';
11
11
  export { DEFAULT_SEARCH_HIT_LABELS, SearchHit } from './chunk-A2YAC22G.js';
12
12
  export { TIMELINE_ZOOM, TimelineCalendar, TimelineGantt, TimelineZoomControl, dayKey, formatSpan, monthLabel, parseIso, utcDay } from './chunk-4EZVCGRL.js';
13
13
  export { Callout } from './chunk-UJE32SST.js';
14
- 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_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_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, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EntityChip, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, 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, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadNotifyDialog, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isoToLocalInput, linkedRunsFromActivity, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, skillSlug, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowFromSkillMarkdown, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowToSkillMarkdown, workflowTriggerType, workflowWhen } from './chunk-BMOL5DN6.js';
14
+ 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_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_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, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EntityChip, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, 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, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadNotifyDialog, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isoToLocalInput, linkedRunsFromActivity, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, skillSlug, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowFromSkillMarkdown, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowToSkillMarkdown, workflowTriggerType, workflowWhen } from './chunk-I56ORHPY.js';
15
15
  import './chunk-CKB64Z4R.js';
16
16
  export { EmptyState } from './chunk-P6GHJSLR.js';
17
- export { ActionStepBody, ApprovalEvidence, AssigneeLine, DEFAULT_ASSIGNEE_WORDING, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, EMPTY_WORKFLOW_SCOPE, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, SchemaForm, SendBackControl, WorkflowRunner, activeStepId, assigneeName, buildLaunch, canAssign, composeStepPrompt, composeWorkflowPrompt, defaultInputs, dependsOn, fieldToFrontmatter, fillRunText, fillStepInputs, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, initialRunInputs, inputsFromContext, isEmptyWorkflowScope, isIncompleteSignal, isPersonAction, isPersonStep, isRunFinished, isSteppedWorkflow, isWorkflowScope, layoutFromPlanSteps, nextAction, orderSteps, promptFieldName, reviewInstructions, runFields, runFieldsOf, runThreadTitle, sendBackTargets, skillToWorkflow, splitDocRef, stepConfigProblems, stepDependencies, stepFields, stepLevels, stepPhase, stepStatesFromActivity, stepWindow, toPlanAssignee, toPlanDocumentRef, toPlanSteps, upstreamSteps, useWorkflowView, validateInputs, validateStep, validateWorkflowGraph, workflowAccepts, workflowFromFrontmatter, workflowSteps, workflowsAccepting, workflowsForHost } from './chunk-6GXF62XN.js';
17
+ export { ActionStepBody, ApprovalEvidence, AssigneeLine, DEFAULT_ASSIGNEE_WORDING, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, EMPTY_WORKFLOW_SCOPE, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, SchemaForm, SendBackControl, WorkflowRunner, activeStepId, assigneeName, buildLaunch, canAssign, composeStepPrompt, composeWorkflowPrompt, defaultInputs, dependsOn, fieldToFrontmatter, fillRunText, fillStepInputs, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, initialRunInputs, inputsFromContext, isEmptyWorkflowScope, isIncompleteSignal, isPersonAction, isPersonStep, isRunFinished, isSteppedWorkflow, isWorkflowScope, layoutFromPlanSteps, nextAction, orderSteps, promptFieldName, reviewInstructions, runFields, runFieldsOf, runThreadTitle, sendBackTargets, skillToWorkflow, splitDocRef, stepConfigProblems, stepDependencies, stepFields, stepLevels, stepPhase, stepStatesFromActivity, stepWindow, toPlanAssignee, toPlanDocumentRef, toPlanSteps, upstreamSteps, useWorkflowView, validateInputs, validateStep, validateWorkflowGraph, workflowAccepts, workflowFromFrontmatter, workflowSteps, workflowsAccepting, workflowsForHost } from './chunk-THCFZKTM.js';
18
18
  export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from './chunk-4WWM3GQ5.js';
19
19
  import './chunk-RFXJYIDV.js';
20
20
  export { Dot, ToneBadge } from './chunk-DPLRHEJZ.js';
@@ -29,10 +29,6 @@ export { AccountRecoveryDialog, AuthAlert, AuthConsent, AuthDivider, AuthField,
29
29
  export { DEFAULT_PASSWORD_STRENGTH_INPUT_LABELS, PasswordStrengthInput } from './chunk-VILAPTCB.js';
30
30
  export { CitationEditor, DEFAULT_PASSAGE_PILL_LABELS, DEFAULT_QUIET_MARK_LABELS, LabelMark, NoteMark, PassageMark, PassagePill, QuietLink, useCopyText } from './chunk-XQKGYGCJ.js';
31
31
  export { BlocksProvider, useBlocksEnvironment } from './chunk-76JDDMSP.js';
32
- export { ActionMenu, AddContactsForm, AddContactsResults, ContactCard, DEFAULT_ADD_CONTACTS_LABELS, DEFAULT_CONTACT_CARD_LABELS, DEFAULT_CONTACT_OUTCOME_LABELS, DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS, DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS, DEFAULT_DM_INVITE_CHIP_LABELS, DEFAULT_DM_THREAD_FRAME_LABELS, DEFAULT_MAIL_FOLDER_TREE_LABELS, DEFAULT_RECIPIENT_PICKER_LABELS, DmAccessRequestBanner, DmGrantAccessDialogView, DmInviteAvatar, DmInviteChip, DmNewTabIcon, DmThreadFrame, DmThreadHeader, MAX_INVITE_EMAILS, MailDeliveryBadge, MailFolderTree, MailMessagePreview, MemberBulkActions, MemberListLoading, MemberMutedText, MemberNameCell, MemberRoleCell, RecipientPicker, RoleSelect, WorkspaceDeleteButton, buildMailFolderTree, contactToVCard, descendantFolderIds, downloadVCard, isInboxFolder, parseEmails, toAddContactsRow, toAddContactsRows, toggleMailFolder, vCardFilename } from './chunk-SB5ZKOYN.js';
33
- import './chunk-NBV56SGU.js';
34
- export { DEFAULT_SHARE_CONTROL_LABELS, ShareControl } from './chunk-K4BGOPGG.js';
35
- import './chunk-TX2ZICS7.js';
36
32
  export { AssistantToaster, BranchControls, ComposerAccessories, ComposerTools, ContextActionButton, ContextCheckRow, ContextPanelContent, ContextPanelFooter, ContextPanelTabs, ContextPickerList, ContextPickerRow, ContextSearchInput, ContextSelectList, ContextSelectRow, Conversation, ConversationBody, ConversationHeader, ConversationHeaderActions, ConversationHistoryPane, ConversationLoading, ConversationMain, ConversationRoot, ConversationSearchView, ConversationSettingsButton, DEFAULT_BRANCH_CONTROLS_LABELS, DEFAULT_CONVERSATION_LAYOUT_LABELS, DEFAULT_CONVERSATION_PARTS_LABELS, DEFAULT_CONVERSATION_SEARCH_LABELS, DEFAULT_LABEL_PIN_ROW_LABELS, DEFAULT_MODEL_PRICING_TIP_LABELS, DEFAULT_PENDING_ANSWER_BAR_LABELS, DEFAULT_PINNED_DOC_CHIP_LABELS, DEFAULT_SLASH_MENU_LABELS, DEFAULT_THREAD_MAP_LABELS, LabelPinRow, ModelAutoIcon, ModelConfigureButton, ModelDot, ModelMenuDivider, ModelMenuMessage, ModelOption, ModelOptionLabel, ModelPickerPopover, ModelPickerTrigger, ModelPricingTip, ModelTierIcon, ModelTierOption, ModelTriggerContent, NewChatButton, NewPaChatButton, PaModeBadge, PendingAnswerBar, PinnedDocChip, SlashMenu, ThreadMap, ThreadMapDiagram, ThreadMapError, ThreadMapLoading, getParticipantTints, hasMessageBody, isLongPastedText, useDismissibleCard, useLongPaste, useRecipientDraft } from './chunk-ICBAFX5B.js';
37
33
  export { DEFAULT_DOCK_WIDTH, Toaster } from './chunk-BV7FEMSI.js';
38
34
  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, 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-EWSEQEPL.js';
@@ -42,6 +38,10 @@ export { DEFAULT_MENTION_LABELS, MENTION_HREF_PREFIX, MentionChip, MentionMenu,
42
38
  export { BREAKPOINT_QUERIES, useIsNarrow, useIsPhone, useIsTouchScreen, useMediaQuery } from './chunk-SLSBJRWW.js';
43
39
  import './chunk-NPLYHR2E.js';
44
40
  export { daysUntil, displayName, fmtDate, fmtDateTime, formatCount, formatCurrency, formatPageRefs, fromNow, hrs, initials, pct, pluralize } from './chunk-OXF2IFXG.js';
41
+ export { ActionMenu, AddContactsForm, AddContactsResults, ContactCard, DEFAULT_ADD_CONTACTS_LABELS, DEFAULT_CONTACT_CARD_LABELS, DEFAULT_CONTACT_OUTCOME_LABELS, DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS, DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS, DEFAULT_DM_INVITE_CHIP_LABELS, DEFAULT_DM_THREAD_FRAME_LABELS, DEFAULT_MAIL_FOLDER_TREE_LABELS, DEFAULT_RECIPIENT_PICKER_LABELS, DmAccessRequestBanner, DmGrantAccessDialogView, DmInviteAvatar, DmInviteChip, DmNewTabIcon, DmThreadFrame, DmThreadHeader, MAX_INVITE_EMAILS, MailDeliveryBadge, MailFolderTree, MailMessagePreview, MemberBulkActions, MemberListLoading, MemberMutedText, MemberNameCell, MemberRoleCell, RecipientPicker, RoleSelect, WorkspaceDeleteButton, buildMailFolderTree, contactToVCard, descendantFolderIds, downloadVCard, isInboxFolder, parseEmails, toAddContactsRow, toAddContactsRows, toggleMailFolder, vCardFilename } from './chunk-SB5ZKOYN.js';
42
+ import './chunk-NBV56SGU.js';
43
+ export { DEFAULT_SHARE_CONTROL_LABELS, ShareControl } from './chunk-K4BGOPGG.js';
44
+ import './chunk-TX2ZICS7.js';
45
45
  import './chunk-7F6CBP3Z.js';
46
46
  import './chunk-VUNV25KB.js';
47
47
  import { Search, Pencil, Sparkles } from 'lucide-react';
@@ -1,16 +1,16 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunk5XVWGJ2H_cjs = require('../chunk-5XVWGJ2H.cjs');
4
+ var chunkB3WCKBJ7_cjs = require('../chunk-B3WCKBJ7.cjs');
5
5
  var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
6
6
  var chunk46IU3UPF_cjs = require('../chunk-46IU3UPF.cjs');
7
7
  var chunkYJQVLVBJ_cjs = require('../chunk-YJQVLVBJ.cjs');
8
8
  var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
9
9
  var chunkVFUWWH52_cjs = require('../chunk-VFUWWH52.cjs');
10
10
  require('../chunk-ADOKTJHV.cjs');
11
- var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
12
11
  require('../chunk-PPCATBOY.cjs');
13
12
  var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
13
+ var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
14
14
  var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
15
15
  require('../chunk-DES3K4SD.cjs');
16
16
  var react = require('react');
@@ -3476,135 +3476,135 @@ function ErrorDialogView({
3476
3476
 
3477
3477
  Object.defineProperty(exports, "ActiveSessionsDialog", {
3478
3478
  enumerable: true,
3479
- get: function () { return chunk5XVWGJ2H_cjs.ActiveSessionsDialog; }
3479
+ get: function () { return chunkB3WCKBJ7_cjs.ActiveSessionsDialog; }
3480
3480
  });
3481
3481
  Object.defineProperty(exports, "AvatarPicker", {
3482
3482
  enumerable: true,
3483
- get: function () { return chunk5XVWGJ2H_cjs.AvatarPicker; }
3483
+ get: function () { return chunkB3WCKBJ7_cjs.AvatarPicker; }
3484
3484
  });
3485
3485
  Object.defineProperty(exports, "DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS", {
3486
3486
  enumerable: true,
3487
- get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS; }
3487
+ get: function () { return chunkB3WCKBJ7_cjs.DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS; }
3488
3488
  });
3489
3489
  Object.defineProperty(exports, "DEFAULT_AVATAR_PICKER_LABELS", {
3490
3490
  enumerable: true,
3491
- get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_AVATAR_PICKER_LABELS; }
3491
+ get: function () { return chunkB3WCKBJ7_cjs.DEFAULT_AVATAR_PICKER_LABELS; }
3492
3492
  });
3493
3493
  Object.defineProperty(exports, "DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS", {
3494
3494
  enumerable: true,
3495
- get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS; }
3495
+ get: function () { return chunkB3WCKBJ7_cjs.DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS; }
3496
3496
  });
3497
3497
  Object.defineProperty(exports, "DEFAULT_IDENTITY_VERIFICATION_LABELS", {
3498
3498
  enumerable: true,
3499
- get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_IDENTITY_VERIFICATION_LABELS; }
3499
+ get: function () { return chunkB3WCKBJ7_cjs.DEFAULT_IDENTITY_VERIFICATION_LABELS; }
3500
3500
  });
3501
3501
  Object.defineProperty(exports, "DEFAULT_LOGOUT_DIALOG_LABELS", {
3502
3502
  enumerable: true,
3503
- get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_LOGOUT_DIALOG_LABELS; }
3503
+ get: function () { return chunkB3WCKBJ7_cjs.DEFAULT_LOGOUT_DIALOG_LABELS; }
3504
3504
  });
3505
3505
  Object.defineProperty(exports, "DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS", {
3506
3506
  enumerable: true,
3507
- get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS; }
3507
+ get: function () { return chunkB3WCKBJ7_cjs.DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS; }
3508
3508
  });
3509
3509
  Object.defineProperty(exports, "DEFAULT_PROFILE_CARD_LABELS", {
3510
3510
  enumerable: true,
3511
- get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_PROFILE_CARD_LABELS; }
3511
+ get: function () { return chunkB3WCKBJ7_cjs.DEFAULT_PROFILE_CARD_LABELS; }
3512
3512
  });
3513
3513
  Object.defineProperty(exports, "DEFAULT_SETTINGS_DANGER_ZONE_LABELS", {
3514
3514
  enumerable: true,
3515
- get: function () { return chunk5XVWGJ2H_cjs.DEFAULT_SETTINGS_DANGER_ZONE_LABELS; }
3515
+ get: function () { return chunkB3WCKBJ7_cjs.DEFAULT_SETTINGS_DANGER_ZONE_LABELS; }
3516
3516
  });
3517
3517
  Object.defineProperty(exports, "DeleteAccountDialog", {
3518
3518
  enumerable: true,
3519
- get: function () { return chunk5XVWGJ2H_cjs.DeleteAccountDialog; }
3519
+ get: function () { return chunkB3WCKBJ7_cjs.DeleteAccountDialog; }
3520
3520
  });
3521
3521
  Object.defineProperty(exports, "EMAIL_NOTIFICATION_CATEGORIES", {
3522
3522
  enumerable: true,
3523
- get: function () { return chunk5XVWGJ2H_cjs.EMAIL_NOTIFICATION_CATEGORIES; }
3523
+ get: function () { return chunkB3WCKBJ7_cjs.EMAIL_NOTIFICATION_CATEGORIES; }
3524
3524
  });
3525
3525
  Object.defineProperty(exports, "EMAIL_NOTIFICATION_KEYS", {
3526
3526
  enumerable: true,
3527
- get: function () { return chunk5XVWGJ2H_cjs.EMAIL_NOTIFICATION_KEYS; }
3527
+ get: function () { return chunkB3WCKBJ7_cjs.EMAIL_NOTIFICATION_KEYS; }
3528
3528
  });
3529
3529
  Object.defineProperty(exports, "IdentityVerificationCard", {
3530
3530
  enumerable: true,
3531
- get: function () { return chunk5XVWGJ2H_cjs.IdentityVerificationCard; }
3531
+ get: function () { return chunkB3WCKBJ7_cjs.IdentityVerificationCard; }
3532
3532
  });
3533
3533
  Object.defineProperty(exports, "IdentityVerificationDialog", {
3534
3534
  enumerable: true,
3535
- get: function () { return chunk5XVWGJ2H_cjs.IdentityVerificationDialog; }
3535
+ get: function () { return chunkB3WCKBJ7_cjs.IdentityVerificationDialog; }
3536
3536
  });
3537
3537
  Object.defineProperty(exports, "LogoutDialog", {
3538
3538
  enumerable: true,
3539
- get: function () { return chunk5XVWGJ2H_cjs.LogoutDialog; }
3539
+ get: function () { return chunkB3WCKBJ7_cjs.LogoutDialog; }
3540
3540
  });
3541
3541
  Object.defineProperty(exports, "NotificationCategoryList", {
3542
3542
  enumerable: true,
3543
- get: function () { return chunk5XVWGJ2H_cjs.NotificationCategoryList; }
3543
+ get: function () { return chunkB3WCKBJ7_cjs.NotificationCategoryList; }
3544
3544
  });
3545
3545
  Object.defineProperty(exports, "PasswordChangeDialog", {
3546
3546
  enumerable: true,
3547
- get: function () { return chunk5XVWGJ2H_cjs.PasswordChangeDialog; }
3547
+ get: function () { return chunkB3WCKBJ7_cjs.PasswordChangeDialog; }
3548
3548
  });
3549
3549
  Object.defineProperty(exports, "ProfileCard", {
3550
3550
  enumerable: true,
3551
- get: function () { return chunk5XVWGJ2H_cjs.ProfileCard; }
3551
+ get: function () { return chunkB3WCKBJ7_cjs.ProfileCard; }
3552
3552
  });
3553
3553
  Object.defineProperty(exports, "RequireVerified", {
3554
3554
  enumerable: true,
3555
- get: function () { return chunk5XVWGJ2H_cjs.RequireVerified; }
3555
+ get: function () { return chunkB3WCKBJ7_cjs.RequireVerified; }
3556
3556
  });
3557
3557
  Object.defineProperty(exports, "SettingsActionRow", {
3558
3558
  enumerable: true,
3559
- get: function () { return chunk5XVWGJ2H_cjs.SettingsActionRow; }
3559
+ get: function () { return chunkB3WCKBJ7_cjs.SettingsActionRow; }
3560
3560
  });
3561
3561
  Object.defineProperty(exports, "SettingsCard", {
3562
3562
  enumerable: true,
3563
- get: function () { return chunk5XVWGJ2H_cjs.SettingsCard; }
3563
+ get: function () { return chunkB3WCKBJ7_cjs.SettingsCard; }
3564
3564
  });
3565
3565
  Object.defineProperty(exports, "SettingsDangerZone", {
3566
3566
  enumerable: true,
3567
- get: function () { return chunk5XVWGJ2H_cjs.SettingsDangerZone; }
3567
+ get: function () { return chunkB3WCKBJ7_cjs.SettingsDangerZone; }
3568
3568
  });
3569
3569
  Object.defineProperty(exports, "SettingsPanel", {
3570
3570
  enumerable: true,
3571
- get: function () { return chunk5XVWGJ2H_cjs.SettingsPanel; }
3571
+ get: function () { return chunkB3WCKBJ7_cjs.SettingsPanel; }
3572
3572
  });
3573
3573
  Object.defineProperty(exports, "SettingsRow", {
3574
3574
  enumerable: true,
3575
- get: function () { return chunk5XVWGJ2H_cjs.SettingsRow; }
3575
+ get: function () { return chunkB3WCKBJ7_cjs.SettingsRow; }
3576
3576
  });
3577
3577
  Object.defineProperty(exports, "SettingsSection", {
3578
3578
  enumerable: true,
3579
- get: function () { return chunk5XVWGJ2H_cjs.SettingsSection; }
3579
+ get: function () { return chunkB3WCKBJ7_cjs.SettingsSection; }
3580
3580
  });
3581
3581
  Object.defineProperty(exports, "SettingsSwitchGroup", {
3582
3582
  enumerable: true,
3583
- get: function () { return chunk5XVWGJ2H_cjs.SettingsSwitchGroup; }
3583
+ get: function () { return chunkB3WCKBJ7_cjs.SettingsSwitchGroup; }
3584
3584
  });
3585
3585
  Object.defineProperty(exports, "SettingsSwitchRow", {
3586
3586
  enumerable: true,
3587
- get: function () { return chunk5XVWGJ2H_cjs.SettingsSwitchRow; }
3587
+ get: function () { return chunkB3WCKBJ7_cjs.SettingsSwitchRow; }
3588
3588
  });
3589
3589
  Object.defineProperty(exports, "formatSessionTtl", {
3590
3590
  enumerable: true,
3591
- get: function () { return chunk5XVWGJ2H_cjs.formatSessionTtl; }
3591
+ get: function () { return chunkB3WCKBJ7_cjs.formatSessionTtl; }
3592
3592
  });
3593
3593
  Object.defineProperty(exports, "toActiveSessionViews", {
3594
3594
  enumerable: true,
3595
- get: function () { return chunk5XVWGJ2H_cjs.toActiveSessionViews; }
3595
+ get: function () { return chunkB3WCKBJ7_cjs.toActiveSessionViews; }
3596
3596
  });
3597
3597
  Object.defineProperty(exports, "toDeleteBlockerViews", {
3598
3598
  enumerable: true,
3599
- get: function () { return chunk5XVWGJ2H_cjs.toDeleteBlockerViews; }
3599
+ get: function () { return chunkB3WCKBJ7_cjs.toDeleteBlockerViews; }
3600
3600
  });
3601
3601
  Object.defineProperty(exports, "toLogoutSessionViews", {
3602
3602
  enumerable: true,
3603
- get: function () { return chunk5XVWGJ2H_cjs.toLogoutSessionViews; }
3603
+ get: function () { return chunkB3WCKBJ7_cjs.toLogoutSessionViews; }
3604
3604
  });
3605
3605
  Object.defineProperty(exports, "toNotificationCategories", {
3606
3606
  enumerable: true,
3607
- get: function () { return chunk5XVWGJ2H_cjs.toNotificationCategories; }
3607
+ get: function () { return chunkB3WCKBJ7_cjs.toNotificationCategories; }
3608
3608
  });
3609
3609
  Object.defineProperty(exports, "ModalBreadcrumbHeader", {
3610
3610
  enumerable: true,
@@ -1,15 +1,15 @@
1
1
  "use client";
2
- export { ActiveSessionsDialog, AvatarPicker, DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS, DEFAULT_AVATAR_PICKER_LABELS, DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS, DEFAULT_IDENTITY_VERIFICATION_LABELS, DEFAULT_LOGOUT_DIALOG_LABELS, DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS, DEFAULT_PROFILE_CARD_LABELS, DEFAULT_SETTINGS_DANGER_ZONE_LABELS, DeleteAccountDialog, EMAIL_NOTIFICATION_CATEGORIES, EMAIL_NOTIFICATION_KEYS, IdentityVerificationCard, IdentityVerificationDialog, LogoutDialog, NotificationCategoryList, PasswordChangeDialog, ProfileCard, RequireVerified, SettingsActionRow, SettingsCard, SettingsDangerZone, SettingsPanel, SettingsRow, SettingsSection, SettingsSwitchGroup, SettingsSwitchRow, formatSessionTtl, toActiveSessionViews, toDeleteBlockerViews, toLogoutSessionViews, toNotificationCategories } from '../chunk-O35LRB3P.js';
2
+ export { ActiveSessionsDialog, AvatarPicker, DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS, DEFAULT_AVATAR_PICKER_LABELS, DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS, DEFAULT_IDENTITY_VERIFICATION_LABELS, DEFAULT_LOGOUT_DIALOG_LABELS, DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS, DEFAULT_PROFILE_CARD_LABELS, DEFAULT_SETTINGS_DANGER_ZONE_LABELS, DeleteAccountDialog, EMAIL_NOTIFICATION_CATEGORIES, EMAIL_NOTIFICATION_KEYS, IdentityVerificationCard, IdentityVerificationDialog, LogoutDialog, NotificationCategoryList, PasswordChangeDialog, ProfileCard, RequireVerified, SettingsActionRow, SettingsCard, SettingsDangerZone, SettingsPanel, SettingsRow, SettingsSection, SettingsSwitchGroup, SettingsSwitchRow, formatSessionTtl, toActiveSessionViews, toDeleteBlockerViews, toLogoutSessionViews, toNotificationCategories } from '../chunk-GJV2G4FC.js';
3
3
  export { ModalBreadcrumbHeader, ModalCrumbs } from '../chunk-RC6VTY2H.js';
4
4
  import { UsageMeter } from '../chunk-D5T53XCL.js';
5
5
  export { DEFAULT_DOCUMENT_PICKER_LABELS, DEFAULT_TRI_STATE_FILTER_MENU_LABELS, DocumentPicker, MultiSelect, TriStateFilterMenu } from '../chunk-CKB64Z4R.js';
6
6
  import { TabHeader } from '../chunk-4WWM3GQ5.js';
7
7
  import { TONE_BORDER, TONE_SURFACE, ToneBadge } from '../chunk-DPLRHEJZ.js';
8
8
  import '../chunk-VILAPTCB.js';
9
- import { ModalScaffold, ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-TX2ZICS7.js';
10
- export { MODAL_SECTION_TITLE_CLASS, ModalHeader, ModalScaffold, ModalSection, ModalSectionTitle } from '../chunk-TX2ZICS7.js';
11
9
  import '../chunk-NPLYHR2E.js';
12
10
  import { formatCount } from '../chunk-OXF2IFXG.js';
11
+ import { ModalScaffold, ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-TX2ZICS7.js';
12
+ export { MODAL_SECTION_TITLE_CLASS, ModalHeader, ModalScaffold, ModalSection, ModalSectionTitle } from '../chunk-TX2ZICS7.js';
13
13
  import { testIdOr, prefixedTestId } from '../chunk-7F6CBP3Z.js';
14
14
  import '../chunk-VUNV25KB.js';
15
15
  import { useMemo, useRef, useState, useId, Fragment as Fragment$1 } from 'react';
@@ -2,10 +2,10 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkMUMH3Z6K_cjs = require('../chunk-MUMH3Z6K.cjs');
5
- var chunk3YET6D5E_cjs = require('../chunk-3YET6D5E.cjs');
5
+ var chunkF5WIETZY_cjs = require('../chunk-F5WIETZY.cjs');
6
6
  require('../chunk-YJQVLVBJ.cjs');
7
7
  require('../chunk-ZW6FPIFC.cjs');
8
- var chunkYGUKTFKW_cjs = require('../chunk-YGUKTFKW.cjs');
8
+ var chunkBX7JWZWE_cjs = require('../chunk-BX7JWZWE.cjs');
9
9
  require('../chunk-7RGLTF76.cjs');
10
10
  require('../chunk-3AFWGEDJ.cjs');
11
11
  require('../chunk-VFUWWH52.cjs');
@@ -17,12 +17,12 @@ require('../chunk-Z5VUZ6YD.cjs');
17
17
  require('../chunk-7D737FLE.cjs');
18
18
  require('../chunk-OB5F4577.cjs');
19
19
  require('../chunk-C54XEN5T.cjs');
20
- require('../chunk-ULWRNGGE.cjs');
21
20
  require('../chunk-B4SRYJLM.cjs');
22
21
  require('../chunk-7UTB4PHM.cjs');
23
22
  require('../chunk-FX3K6LNZ.cjs');
24
23
  require('../chunk-PPCATBOY.cjs');
25
24
  require('../chunk-KDG6FER6.cjs');
25
+ require('../chunk-ULWRNGGE.cjs');
26
26
  require('../chunk-MHVNT4J3.cjs');
27
27
  require('../chunk-DES3K4SD.cjs');
28
28
  var react = require('react');
@@ -58,11 +58,11 @@ function withSteps(workflow, steps, layout) {
58
58
  const run = workflow.run.kind === "steps" ? workflow.run : { kind: "steps", steps: [] };
59
59
  return {
60
60
  ...workflow,
61
- run: { ...run, steps: chunkYGUKTFKW_cjs.orderSteps(steps), layout: layout ?? run.layout }
61
+ run: { ...run, steps: chunkBX7JWZWE_cjs.orderSteps(steps), layout: layout ?? run.layout }
62
62
  };
63
63
  }
64
64
  var layoutOf = (workflow) => workflow.run.kind === "steps" && workflow.run.layout || {};
65
- var explicit = (steps) => steps.map((s) => ({ ...s, after: chunkYGUKTFKW_cjs.stepDependencies(steps, s.id) }));
65
+ var explicit = (steps) => steps.map((s) => ({ ...s, after: chunkBX7JWZWE_cjs.stepDependencies(steps, s.id) }));
66
66
  function stepIdFor(steps, title) {
67
67
  const base = title.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "").replace(/^[^a-z]+/, "") || "step";
68
68
  const taken = new Set(steps.map((s) => s.id));
@@ -109,7 +109,7 @@ function blankStep(kind, id, title) {
109
109
  }
110
110
  }
111
111
  function addStep(workflow, kind, options = {}) {
112
- const steps = explicit(chunkYGUKTFKW_cjs.workflowSteps(workflow));
112
+ const steps = explicit(chunkBX7JWZWE_cjs.workflowSteps(workflow));
113
113
  const title = options.title ?? DEFAULT_TITLES[kind];
114
114
  const id = stepIdFor(steps, title);
115
115
  const step = { ...blankStep(kind, id, title), after: options.after ? [options.after] : [] };
@@ -118,7 +118,7 @@ function addStep(workflow, kind, options = {}) {
118
118
  return { workflow: withSteps(workflow, [...steps, step], layout), id };
119
119
  }
120
120
  function removeStep(workflow, id) {
121
- const steps = explicit(chunkYGUKTFKW_cjs.workflowSteps(workflow));
121
+ const steps = explicit(chunkBX7JWZWE_cjs.workflowSteps(workflow));
122
122
  const removed = steps.find((s) => s.id === id);
123
123
  if (!removed) return workflow;
124
124
  const bridged = steps.filter((s) => s.id !== id).map(
@@ -131,8 +131,8 @@ function removeStep(workflow, id) {
131
131
  return withSteps(workflow, bridged, layout);
132
132
  }
133
133
  function connectSteps(workflow, from, to) {
134
- const steps = explicit(chunkYGUKTFKW_cjs.workflowSteps(workflow));
135
- if (from === to || !steps.some((s) => s.id === from) || chunkYGUKTFKW_cjs.dependsOn(steps, from, to)) {
134
+ const steps = explicit(chunkBX7JWZWE_cjs.workflowSteps(workflow));
135
+ if (from === to || !steps.some((s) => s.id === from) || chunkBX7JWZWE_cjs.dependsOn(steps, from, to)) {
136
136
  return workflow;
137
137
  }
138
138
  return withSteps(
@@ -142,16 +142,16 @@ function connectSteps(workflow, from, to) {
142
142
  )
143
143
  );
144
144
  }
145
- var wouldCycle = (workflow, from, to) => from === to || chunkYGUKTFKW_cjs.dependsOn(chunkYGUKTFKW_cjs.workflowSteps(workflow), from, to);
145
+ var wouldCycle = (workflow, from, to) => from === to || chunkBX7JWZWE_cjs.dependsOn(chunkBX7JWZWE_cjs.workflowSteps(workflow), from, to);
146
146
  function disconnectSteps(workflow, from, to) {
147
- const steps = explicit(chunkYGUKTFKW_cjs.workflowSteps(workflow));
147
+ const steps = explicit(chunkBX7JWZWE_cjs.workflowSteps(workflow));
148
148
  return withSteps(
149
149
  workflow,
150
150
  steps.map((s) => s.id === to ? { ...s, after: (s.after ?? []).filter((d) => d !== from) } : s)
151
151
  );
152
152
  }
153
153
  function updateStep(workflow, id, patch) {
154
- const steps = explicit(chunkYGUKTFKW_cjs.workflowSteps(workflow));
154
+ const steps = explicit(chunkBX7JWZWE_cjs.workflowSteps(workflow));
155
155
  return withSteps(
156
156
  workflow,
157
157
  steps.map(
@@ -165,7 +165,7 @@ var renameIn = (text, from, to) => text.replace(
165
165
  );
166
166
  function renameInput(workflow, from, to) {
167
167
  if (from === to) return workflow;
168
- const steps = chunkYGUKTFKW_cjs.workflowSteps(workflow).map((s) => {
168
+ const steps = chunkBX7JWZWE_cjs.workflowSteps(workflow).map((s) => {
169
169
  if (s.kind === "agent")
170
170
  return {
171
171
  ...s,
@@ -214,13 +214,13 @@ function renameInput(workflow, from, to) {
214
214
  var renamePerson = (a, from, to) => "input" in a && a.input === from ? { input: to } : a;
215
215
  var renameRef = (r, from, to) => "input" in r && r.input === from ? { input: to } : r;
216
216
  function moveStep(workflow, id, position) {
217
- return withSteps(workflow, chunkYGUKTFKW_cjs.workflowSteps(workflow), { ...layoutOf(workflow), [id]: position });
217
+ return withSteps(workflow, chunkBX7JWZWE_cjs.workflowSteps(workflow), { ...layoutOf(workflow), [id]: position });
218
218
  }
219
219
  var COLUMN = 300;
220
220
  var ROW = 140;
221
221
  function autoLayout(steps) {
222
222
  const layout = {};
223
- chunkYGUKTFKW_cjs.stepLevels(steps).forEach(
223
+ chunkBX7JWZWE_cjs.stepLevels(steps).forEach(
224
224
  (level, x) => level.forEach((s, y) => {
225
225
  layout[s.id] = { x: x * COLUMN, y: (y - (level.length - 1) / 2) * ROW };
226
226
  })
@@ -228,7 +228,7 @@ function autoLayout(steps) {
228
228
  return layout;
229
229
  }
230
230
  function layoutWithDefaults(workflow) {
231
- const auto = autoLayout(chunkYGUKTFKW_cjs.workflowSteps(workflow));
231
+ const auto = autoLayout(chunkBX7JWZWE_cjs.workflowSteps(workflow));
232
232
  return { ...auto, ...layoutOf(workflow) };
233
233
  }
234
234
  var DEFAULT_SIGNALS_EDITOR_LABELS = {
@@ -325,9 +325,9 @@ function SignalsEditor({
325
325
  {
326
326
  className: ui.cn(
327
327
  "space-y-1.5 rounded-md border p-2",
328
- chunkYGUKTFKW_cjs.isIncompleteSignal(signal) ? "border-destructive/50" : "border-border"
328
+ chunkBX7JWZWE_cjs.isIncompleteSignal(signal) ? "border-destructive/50" : "border-border"
329
329
  ),
330
- "data-incomplete": chunkYGUKTFKW_cjs.isIncompleteSignal(signal) || void 0,
330
+ "data-incomplete": chunkBX7JWZWE_cjs.isIncompleteSignal(signal) || void 0,
331
331
  "data-testid": `${testId}-${i}`,
332
332
  children: [
333
333
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
@@ -1042,7 +1042,7 @@ function StepInspector({
1042
1042
  testId = "step-inspector"
1043
1043
  }) {
1044
1044
  const l = { ...DEFAULT_STEP_INSPECTOR_LABELS, ...labels };
1045
- const steps = chunkYGUKTFKW_cjs.workflowSteps(workflow);
1045
+ const steps = chunkBX7JWZWE_cjs.workflowSteps(workflow);
1046
1046
  const step = steps.find((s) => s.id === stepId);
1047
1047
  const run = workflow.run.kind === "steps" ? workflow.run : void 0;
1048
1048
  if (!step || !run) {
@@ -1069,8 +1069,8 @@ function StepInspector({
1069
1069
  const patch = (p) => onChange(updateStep(workflow, step.id, p));
1070
1070
  const al = { ...DEFAULT_STEP_ACTION_SETTINGS_LABELS, ...actionLabels };
1071
1071
  const ctx = {
1072
- earlier: chunkYGUKTFKW_cjs.upstreamSteps(steps, step.id),
1073
- fields: chunkYGUKTFKW_cjs.runFields(workflow),
1072
+ earlier: chunkBX7JWZWE_cjs.upstreamSteps(steps, step.id),
1073
+ fields: chunkBX7JWZWE_cjs.runFields(workflow),
1074
1074
  people,
1075
1075
  tags,
1076
1076
  documents
@@ -1091,7 +1091,7 @@ function StepInspector({
1091
1091
  )
1092
1092
  );
1093
1093
  };
1094
- const deps = chunkYGUKTFKW_cjs.stepDependencies(steps, step.id);
1094
+ const deps = chunkBX7JWZWE_cjs.stepDependencies(steps, step.id);
1095
1095
  const titleOf = (id) => steps.find((s) => s.id === id)?.title ?? id;
1096
1096
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", "data-testid": `${testId}-step`, children: [
1097
1097
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
@@ -1171,7 +1171,7 @@ function StepInspector({
1171
1171
  {
1172
1172
  step,
1173
1173
  workflows,
1174
- fields: chunkYGUKTFKW_cjs.runFields(workflow).map((f) => f.name),
1174
+ fields: chunkBX7JWZWE_cjs.runFields(workflow).map((f) => f.name),
1175
1175
  patch,
1176
1176
  l,
1177
1177
  testId
@@ -1231,7 +1231,7 @@ function StepInspector({
1231
1231
  testId: `${testId}-review-grid`
1232
1232
  }
1233
1233
  ),
1234
- chunkYGUKTFKW_cjs.canAssign(step) && /* @__PURE__ */ jsxRuntime.jsx(AssigneeSettings, { step, patch, ctx, l: al, testId }),
1234
+ chunkBX7JWZWE_cjs.canAssign(step) && /* @__PURE__ */ jsxRuntime.jsx(AssigneeSettings, { step, patch, ctx, l: al, testId }),
1235
1235
  /* @__PURE__ */ jsxRuntime.jsx(
1236
1236
  SignalsEditor,
1237
1237
  {
@@ -1487,7 +1487,7 @@ function triggerFields(trigger, clearOthers) {
1487
1487
  return {
1488
1488
  timezone: trigger.timezone,
1489
1489
  rrule: trigger.start === "repeat" ? trigger.rrule.trim() : none,
1490
- run_at: trigger.start === "once" ? chunk3YET6D5E_cjs.localInputToIso(trigger.runAt) : none,
1490
+ run_at: trigger.start === "once" ? chunkF5WIETZY_cjs.localInputToIso(trigger.runAt) : none,
1491
1491
  event_kind: trigger.start === "event" ? trigger.eventKind.trim() : none,
1492
1492
  // A step signal is `workflow_signal` narrowed to one signal name.
1493
1493
  event_filter: filter ?? none,
@@ -1503,7 +1503,7 @@ function plan(value, options) {
1503
1503
  criteria: [],
1504
1504
  max_passes: 3,
1505
1505
  documents: [],
1506
- steps: chunkYGUKTFKW_cjs.toPlanSteps(value.workflow, options)
1506
+ steps: chunkBX7JWZWE_cjs.toPlanSteps(value.workflow, options)
1507
1507
  };
1508
1508
  }
1509
1509
  function builderToWorkflowRequest(value, workspaceId, options = {}) {
@@ -1538,7 +1538,7 @@ function builderToWorkflowUpdate(value, options = {}) {
1538
1538
  }
1539
1539
  function workflowRecordToBuilder(record) {
1540
1540
  const planned = record.plan?.steps ?? [];
1541
- const steps = planned.length ? chunkYGUKTFKW_cjs.fromPlanSteps(planned) : record.prompt || record.skill_ref ? [
1541
+ const steps = planned.length ? chunkBX7JWZWE_cjs.fromPlanSteps(planned) : record.prompt || record.skill_ref ? [
1542
1542
  {
1543
1543
  id: "work",
1544
1544
  kind: "agent",
@@ -1546,7 +1546,7 @@ function workflowRecordToBuilder(record) {
1546
1546
  ...record.skill_ref ? { workflow: record.skill_ref } : { run: { kind: "prompt", promptTemplate: record.prompt } }
1547
1547
  }
1548
1548
  ] : [];
1549
- const when = chunk3YET6D5E_cjs.workflowWhen(record);
1549
+ const when = chunkF5WIETZY_cjs.workflowWhen(record);
1550
1550
  return {
1551
1551
  workflow: {
1552
1552
  id: record.external_id,
@@ -1555,12 +1555,12 @@ function workflowRecordToBuilder(record) {
1555
1555
  inputs: [],
1556
1556
  landing: "chat",
1557
1557
  schedulable: false,
1558
- run: { kind: "steps", steps, layout: chunkYGUKTFKW_cjs.layoutFromPlanSteps(planned ?? []) }
1558
+ run: { kind: "steps", steps, layout: chunkBX7JWZWE_cjs.layoutFromPlanSteps(planned ?? []) }
1559
1559
  },
1560
1560
  trigger: {
1561
1561
  ...DEFAULT_WORKFLOW_TRIGGER,
1562
1562
  start: when === "now" ? "manual" : when,
1563
- runAt: chunk3YET6D5E_cjs.isoToLocalInput(record.run_at),
1563
+ runAt: chunkF5WIETZY_cjs.isoToLocalInput(record.run_at),
1564
1564
  rrule: record.rrule ?? "",
1565
1565
  timezone: record.timezone || DEFAULT_WORKFLOW_TRIGGER.timezone,
1566
1566
  eventKind: record.event_kind ?? "",
@@ -1616,7 +1616,7 @@ function triggerSummary(trigger, options = {}) {
1616
1616
  case "once":
1617
1617
  return trigger.runAt ? new Date(trigger.runAt).toLocaleString() : l.starts.once;
1618
1618
  case "repeat":
1619
- return trigger.rrule ? chunk3YET6D5E_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
1619
+ return trigger.rrule ? chunkF5WIETZY_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
1620
1620
  case "event":
1621
1621
  if (isSignalTrigger(trigger))
1622
1622
  return trigger.signal ? l.signalSummary.replace("{signal}", trigger.signal) : l.stepSignals;
@@ -1675,7 +1675,7 @@ function TriggerInspector({
1675
1675
  }
1676
1676
  )
1677
1677
  ] }),
1678
- trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunk3YET6D5E_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
1678
+ trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkF5WIETZY_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
1679
1679
  trigger.start === "event" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
1680
1680
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.event }),
1681
1681
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -1727,7 +1727,7 @@ function TriggerInspector({
1727
1727
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
1728
1728
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.agent }),
1729
1729
  /* @__PURE__ */ jsxRuntime.jsx(
1730
- chunk3YET6D5E_cjs.AgentSelect,
1730
+ chunkF5WIETZY_cjs.AgentSelect,
1731
1731
  {
1732
1732
  agents,
1733
1733
  value: trigger.agentId,
@@ -2037,12 +2037,12 @@ function WorkflowCanvas({
2037
2037
  testId = "workflow-canvas"
2038
2038
  }) {
2039
2039
  const l = react.useMemo(() => ({ ...DEFAULT_WORKFLOW_CANVAS_LABELS, ...labels }), [labels]);
2040
- const steps = chunkYGUKTFKW_cjs.workflowSteps(workflow);
2040
+ const steps = chunkBX7JWZWE_cjs.workflowSteps(workflow);
2041
2041
  const editable = !!onChange;
2042
2042
  const built = react.useMemo(() => {
2043
2043
  const layout = layoutWithDefaults(workflow);
2044
- const all = chunkYGUKTFKW_cjs.workflowSteps(workflow);
2045
- const roots = all.filter((s) => chunkYGUKTFKW_cjs.stepDependencies(all, s.id).length === 0);
2044
+ const all = chunkBX7JWZWE_cjs.workflowSteps(workflow);
2045
+ const roots = all.filter((s) => chunkBX7JWZWE_cjs.stepDependencies(all, s.id).length === 0);
2046
2046
  const triggerNode = trigger ? [
2047
2047
  {
2048
2048
  id: TRIGGER_NODE,
@@ -2091,7 +2091,7 @@ function WorkflowCanvas({
2091
2091
  react.useEffect(() => setNodes(built), [built]);
2092
2092
  const edges = react.useMemo(
2093
2093
  () => steps.flatMap((s) => {
2094
- const deps = chunkYGUKTFKW_cjs.stepDependencies(steps, s.id);
2094
+ const deps = chunkBX7JWZWE_cjs.stepDependencies(steps, s.id);
2095
2095
  const from = deps.length ? deps : trigger ? [TRIGGER_NODE] : [];
2096
2096
  return from.map((d) => ({
2097
2097
  id: `${d}->${s.id}`,
@@ -2342,12 +2342,12 @@ function WorkflowBuilder({
2342
2342
  const [mode, setMode] = react.useState("design");
2343
2343
  const [adding, setAdding] = react.useState(false);
2344
2344
  const { workflow, trigger } = value;
2345
- const steps = chunkYGUKTFKW_cjs.workflowSteps(workflow);
2346
- const problems = chunkYGUKTFKW_cjs.validateWorkflowGraph(steps);
2347
- const missing = chunkYGUKTFKW_cjs.stepConfigProblems(steps);
2345
+ const steps = chunkBX7JWZWE_cjs.workflowSteps(workflow);
2346
+ const problems = chunkBX7JWZWE_cjs.validateWorkflowGraph(steps);
2347
+ const missing = chunkBX7JWZWE_cjs.stepConfigProblems(steps);
2348
2348
  const nameOf = (id) => people.find((p) => p.value === id)?.label;
2349
- const fields = chunkYGUKTFKW_cjs.runFields(workflow);
2350
- const assigneeOf = (step) => chunkYGUKTFKW_cjs.canAssign(step) ? chunkYGUKTFKW_cjs.assigneeName(step.assignee, { nameOf, fields }) : void 0;
2349
+ const fields = chunkBX7JWZWE_cjs.runFields(workflow);
2350
+ const assigneeOf = (step) => chunkBX7JWZWE_cjs.canAssign(step) ? chunkBX7JWZWE_cjs.assigneeName(step.assignee, { nameOf, fields }) : void 0;
2351
2351
  const titles = react.useMemo(() => new Map(workflows.map((w) => [w.id, w.title])), [workflows]);
2352
2352
  const setWorkflow = (next) => onChange({ ...value, workflow: next });
2353
2353
  const addAfter = (from, kind) => {
@@ -2578,13 +2578,13 @@ function WorkflowPreview({
2578
2578
  renderIcon,
2579
2579
  testId
2580
2580
  }) {
2581
- const run = chunk3YET6D5E_cjs.useWorkflowPreview(workflow, {
2581
+ const run = chunkF5WIETZY_cjs.useWorkflowPreview(workflow, {
2582
2582
  resolveWorkflow: (id) => workflows.find((w) => w.id === id),
2583
2583
  compose,
2584
2584
  answer
2585
2585
  });
2586
2586
  return /* @__PURE__ */ jsxRuntime.jsx(
2587
- chunkYGUKTFKW_cjs.WorkflowRunner,
2587
+ chunkBX7JWZWE_cjs.WorkflowRunner,
2588
2588
  {
2589
2589
  workflow,
2590
2590
  run,
@@ -2668,7 +2668,7 @@ function ConnectedWorkflowBuilder({
2668
2668
  () => [
2669
2669
  ...hostWorkflows,
2670
2670
  ...(skills.data ?? []).map(
2671
- (s) => chunkYGUKTFKW_cjs.skillToWorkflow({
2671
+ (s) => chunkBX7JWZWE_cjs.skillToWorkflow({
2672
2672
  name: s.name,
2673
2673
  slug: s.slug,
2674
2674
  description: s.description,
@@ -2684,7 +2684,7 @@ function ConnectedWorkflowBuilder({
2684
2684
  }));
2685
2685
  const tasks = (conversations.data ?? []).filter((c) => c.status && c.status !== "done").map((c) => ({ value: c.external_id, label: c.title || c.external_id }));
2686
2686
  const options = { resolveWorkflow: (wid) => workflows.find((w) => w.id === wid), compose };
2687
- const problem = triggerProblem(value.trigger) ?? (chunkYGUKTFKW_cjs.validateWorkflowGraph(chunkYGUKTFKW_cjs.workflowSteps(value.workflow)).length || chunkYGUKTFKW_cjs.stepConfigProblems(chunkYGUKTFKW_cjs.workflowSteps(value.workflow)).length ? "graph" : null);
2687
+ const problem = triggerProblem(value.trigger) ?? (chunkBX7JWZWE_cjs.validateWorkflowGraph(chunkBX7JWZWE_cjs.workflowSteps(value.workflow)).length || chunkBX7JWZWE_cjs.stepConfigProblems(chunkBX7JWZWE_cjs.workflowSteps(value.workflow)).length ? "graph" : null);
2688
2688
  const busy = create.isPending || update.isPending || run.isPending;
2689
2689
  const save = async () => {
2690
2690
  if (!workspaceId) return void 0;
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { useConnection } from '../chunk-OYMWV45N.js';
3
- import { workflowWhen, isoToLocalInput, describeRRule, RecurrenceBuilder, AgentSelect, useWorkflowPreview, localInputToIso } from '../chunk-BMOL5DN6.js';
3
+ import { workflowWhen, isoToLocalInput, describeRRule, RecurrenceBuilder, AgentSelect, useWorkflowPreview, localInputToIso } from '../chunk-I56ORHPY.js';
4
4
  import '../chunk-CKB64Z4R.js';
5
5
  import '../chunk-P6GHJSLR.js';
6
- import { workflowSteps, dependsOn, stepLevels, isIncompleteSignal, runFields, upstreamSteps, stepDependencies, canAssign, fromPlanSteps, layoutFromPlanSteps, validateWorkflowGraph, stepConfigProblems, WorkflowRunner, skillToWorkflow, assigneeName, orderSteps, toPlanSteps } from '../chunk-6GXF62XN.js';
6
+ import { workflowSteps, dependsOn, stepLevels, isIncompleteSignal, runFields, upstreamSteps, stepDependencies, canAssign, fromPlanSteps, layoutFromPlanSteps, validateWorkflowGraph, stepConfigProblems, WorkflowRunner, skillToWorkflow, assigneeName, orderSteps, toPlanSteps } from '../chunk-THCFZKTM.js';
7
7
  import '../chunk-4WWM3GQ5.js';
8
8
  import '../chunk-RFXJYIDV.js';
9
9
  import '../chunk-DPLRHEJZ.js';
@@ -15,12 +15,12 @@ import '../chunk-DDF5GPIJ.js';
15
15
  import '../chunk-XD2M6LIG.js';
16
16
  import '../chunk-S7PSMMRG.js';
17
17
  import '../chunk-76JDDMSP.js';
18
- import '../chunk-TX2ZICS7.js';
19
18
  import '../chunk-HOXKR26S.js';
20
19
  import '../chunk-AA3PT6KR.js';
21
20
  import '../chunk-SLSBJRWW.js';
22
21
  import '../chunk-NPLYHR2E.js';
23
22
  import '../chunk-OXF2IFXG.js';
23
+ import '../chunk-TX2ZICS7.js';
24
24
  import '../chunk-7F6CBP3Z.js';
25
25
  import '../chunk-VUNV25KB.js';
26
26
  import { useMemo, useState, useEffect, useCallback, useRef } from 'react';