@arbidocs/blocks 0.4.87 → 0.4.88

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 (81) hide show
  1. package/dist/agents/index.cjs +211 -211
  2. package/dist/agents/index.js +6 -6
  3. package/dist/chat/index.cjs +125 -125
  4. package/dist/chat/index.js +3 -3
  5. package/dist/{chunk-2EI7NCUA.cjs → chunk-2CFW2ELM.cjs} +8 -2
  6. package/dist/chunk-2CFW2ELM.cjs.map +1 -0
  7. package/dist/{chunk-OR4CO743.cjs → chunk-5YXG342J.cjs} +3 -3
  8. package/dist/{chunk-OR4CO743.cjs.map → chunk-5YXG342J.cjs.map} +1 -1
  9. package/dist/{chunk-R26OHONI.js → chunk-6S5FLMWG.js} +83 -72
  10. package/dist/chunk-6S5FLMWG.js.map +1 -0
  11. package/dist/{chunk-P5ST47VY.js → chunk-DDF5GPIJ.js} +3 -3
  12. package/dist/{chunk-P5ST47VY.js.map → chunk-DDF5GPIJ.js.map} +1 -1
  13. package/dist/{chunk-PFA43QNX.js → chunk-EWSEQEPL.js} +3 -3
  14. package/dist/{chunk-PFA43QNX.js.map → chunk-EWSEQEPL.js.map} +1 -1
  15. package/dist/{chunk-X5K5PCRJ.cjs → chunk-FNEL2BYV.cjs} +18 -18
  16. package/dist/{chunk-X5K5PCRJ.cjs.map → chunk-FNEL2BYV.cjs.map} +1 -1
  17. package/dist/{chunk-LBE36YNZ.js → chunk-ICBAFX5B.js} +3 -3
  18. package/dist/{chunk-LBE36YNZ.js.map → chunk-ICBAFX5B.js.map} +1 -1
  19. package/dist/{chunk-C3DRLFU7.cjs → chunk-IF6VAYIA.cjs} +5 -5
  20. package/dist/{chunk-C3DRLFU7.cjs.map → chunk-IF6VAYIA.cjs.map} +1 -1
  21. package/dist/{chunk-O5NDG4EA.cjs → chunk-MP6FK43E.cjs} +3 -3
  22. package/dist/{chunk-O5NDG4EA.cjs.map → chunk-MP6FK43E.cjs.map} +1 -1
  23. package/dist/{chunk-AFSOUS5X.cjs → chunk-N26CXGXC.cjs} +83 -72
  24. package/dist/chunk-N26CXGXC.cjs.map +1 -0
  25. package/dist/{chunk-2FBQSQDW.js → chunk-NXWKMKZY.js} +298 -214
  26. package/dist/chunk-NXWKMKZY.js.map +1 -0
  27. package/dist/{chunk-QOADH2YB.cjs → chunk-UCAYNE44.cjs} +297 -213
  28. package/dist/chunk-UCAYNE44.cjs.map +1 -0
  29. package/dist/{chunk-UJM7TG44.js → chunk-UZV27QLC.js} +7 -7
  30. package/dist/{chunk-UJM7TG44.js.map → chunk-UZV27QLC.js.map} +1 -1
  31. package/dist/{chunk-GFYGYME3.js → chunk-W7NZRZ54.js} +3 -3
  32. package/dist/{chunk-GFYGYME3.js.map → chunk-W7NZRZ54.js.map} +1 -1
  33. package/dist/{chunk-HUJLKDWX.cjs → chunk-XMBYDLZQ.cjs} +4 -4
  34. package/dist/{chunk-HUJLKDWX.cjs.map → chunk-XMBYDLZQ.cjs.map} +1 -1
  35. package/dist/{chunk-WDD255XQ.js → chunk-XQDM6T6C.js} +3 -3
  36. package/dist/{chunk-WDD255XQ.js.map → chunk-XQDM6T6C.js.map} +1 -1
  37. package/dist/{chunk-ZV3BKLFY.cjs → chunk-Z5VUZ6YD.cjs} +3 -3
  38. package/dist/{chunk-ZV3BKLFY.cjs.map → chunk-Z5VUZ6YD.cjs.map} +1 -1
  39. package/dist/{chunk-YU2KUMGE.js → chunk-ZX2VPMBJ.js} +8 -2
  40. package/dist/chunk-ZX2VPMBJ.js.map +1 -0
  41. package/dist/connect/index.cjs +50 -50
  42. package/dist/connect/index.js +8 -8
  43. package/dist/facts/index.cjs +7 -7
  44. package/dist/facts/index.js +4 -4
  45. package/dist/files/index.cjs +4 -23
  46. package/dist/files/index.cjs.map +1 -1
  47. package/dist/files/index.js +4 -22
  48. package/dist/files/index.js.map +1 -1
  49. package/dist/files/views/TagFormParts.d.ts +0 -8
  50. package/dist/files/views/index.d.ts +1 -1
  51. package/dist/home/index.cjs +17 -17
  52. package/dist/home/index.js +3 -3
  53. package/dist/index.cjs +629 -537
  54. package/dist/index.cjs.map +1 -1
  55. package/dist/index.js +116 -25
  56. package/dist/index.js.map +1 -1
  57. package/dist/retrieval/index.cjs +1 -1
  58. package/dist/retrieval/index.js +1 -1
  59. package/dist/settings/index.cjs +38 -38
  60. package/dist/settings/index.js +3 -3
  61. package/dist/shell/FilterInput.d.ts +3 -1
  62. package/dist/shell/index.cjs +5 -5
  63. package/dist/shell/index.js +2 -2
  64. package/dist/studio/index.cjs +4 -4
  65. package/dist/studio/index.js +3 -3
  66. package/dist/tags/TagDetail.d.ts +14 -2
  67. package/dist/tags/TagTable.d.ts +20 -11
  68. package/dist/tags/TagsNav.d.ts +28 -4
  69. package/dist/tags/index.d.ts +1 -1
  70. package/dist/tags/tagTableModel.d.ts +10 -2
  71. package/dist/workflow-canvas/index.cjs +13 -13
  72. package/dist/workflow-canvas/index.js +6 -6
  73. package/dist/workspaces/index.cjs +2 -2
  74. package/dist/workspaces/index.js +2 -2
  75. package/package.json +4 -4
  76. package/dist/chunk-2EI7NCUA.cjs.map +0 -1
  77. package/dist/chunk-2FBQSQDW.js.map +0 -1
  78. package/dist/chunk-AFSOUS5X.cjs.map +0 -1
  79. package/dist/chunk-QOADH2YB.cjs.map +0 -1
  80. package/dist/chunk-R26OHONI.js.map +0 -1
  81. package/dist/chunk-YU2KUMGE.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,40 +1,43 @@
1
1
  "use client";
2
2
  export { ApplyLabelButton, ApplyLabelDialog, DEFAULT_APPLY_LABEL_DIALOG_LABELS, DEFAULT_RELEVANCE_STEPS, DEFAULT_SEARCH_BAR_LABELS, DEFAULT_SEARCH_EMPTY_STATE_LABELS, DEFAULT_SEARCH_GROUP_HEADER_LABELS, DEFAULT_SEARCH_NO_RESULTS_LABELS, DEFAULT_SEARCH_PAGINATION_LABELS, DEFAULT_SEARCH_TOTALS_LABELS, DOCUMENT_SEARCH_NOUNS, Highlight, RelevanceThreshold, SearchBar, SearchControlsBar, SearchEmptyState, SearchErrorBanner, SearchGroupCard, SearchGroupHeader, SearchNoResults, SearchPageBody, SearchPageFrame, SearchPageHeader, SearchPagination, SearchPillToggle, SearchResultList, SearchResultsInner, SearchResultsMain, SearchToolbarRow, SearchTotalsHeadline, getPageNumbers, highlightTerms, searchNouns, splitByTerms, stripMarkdownLinks } from './chunk-2MJWWPHY.js';
3
- export { UsageMeter } from './chunk-D5T53XCL.js';
4
- export { ActionCluster, AskField, AskRow, AskTrigger, DEFAULT_ASK_FIELD_LABELS, DEFAULT_INSTALL_PROMPT_LABELS, DEFAULT_MOBILE_BARS_LABELS, DEFAULT_OFFLINE_PILL_LABELS, DEFAULT_REMOTE_CONTROL_PILL_LABELS, DEFAULT_SIDEBAR_LABELS, DEFAULT_TIP_CARD_LABELS, DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, STATUS_ROW_BASE_CLASS, STATUS_ROW_TONES, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusBadge, StatusRow, TipCard, UserMenu, WorkspaceIdentity, WorkspaceSwitcher, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useInstallPrompt, useSidebarContext, useSidebarSettle, workspaceKindColor, workspaceKindMeta } from './chunk-R3PDNQYT.js';
5
3
  export { ArticleList, Chart, CheckList, CollectionDetail, CtaBand, DefinitionList, EditorialHeading, EditorialHero, EditorialProse, EditorialSection, Eyebrow, PanelGrid, ProofStrip, PullQuote, Reveal, TagList } from './chunk-LYUO3E6V.js';
4
+ export { ActionCluster, AskField, AskRow, AskTrigger, DEFAULT_ASK_FIELD_LABELS, DEFAULT_INSTALL_PROMPT_LABELS, DEFAULT_MOBILE_BARS_LABELS, DEFAULT_OFFLINE_PILL_LABELS, DEFAULT_REMOTE_CONTROL_PILL_LABELS, DEFAULT_SIDEBAR_LABELS, DEFAULT_TIP_CARD_LABELS, DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, STATUS_ROW_BASE_CLASS, STATUS_ROW_TONES, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusBadge, StatusRow, TipCard, UserMenu, WorkspaceIdentity, WorkspaceSwitcher, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useInstallPrompt, useSidebarContext, useSidebarSettle, workspaceKindColor, workspaceKindMeta } from './chunk-R3PDNQYT.js';
5
+ export { UsageMeter } from './chunk-D5T53XCL.js';
6
6
  export { DataTable, DataTableBlock, MetricCard, PageHeader, StatGroup } from './chunk-ZCF2JJFA.js';
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
- import { DEFAULT_TAG_TABLE_LABELS, rowLinks, TagTableCell } from './chunk-2FBQSQDW.js';
11
- export { DEFAULT_TAG_COLUMNS_EDITOR_LABELS, DEFAULT_TAG_TABLE_DOCX_LABELS, DEFAULT_TAG_TABLE_LABELS, DEFAULT_THREAD_FOLLOW_LABELS, DEFAULT_WORKSPACE_ACTIVITY_LABELS, DEFAULT_WORKSPACE_NOTIFICATION_MENU_LABELS, TAG_TABLE_DOCX_LANDSCAPE_AFTER, TagColumnsEditor, TagTable, TagTableCell, ThreadFollowButton, ThreadFollowMenuItem, WorkspaceActivityList, WorkspaceNotificationMenu, cellText, cellValue, fieldWrites, isGap, parseCell, rowLinks, tagTableDocumentXml, tagTableDocx, tagTableMarkdown, workspaceActivityHeadline, workspaceActivityTarget } from './chunk-2FBQSQDW.js';
10
+ import { DEFAULT_TAG_TABLE_LABELS, rowLinks, TagTableCell } from './chunk-NXWKMKZY.js';
11
+ export { DEFAULT_TAG_COLUMNS_EDITOR_LABELS, DEFAULT_TAG_TABLE_DOCX_LABELS, DEFAULT_TAG_TABLE_LABELS, DEFAULT_THREAD_FOLLOW_LABELS, DEFAULT_WORKSPACE_ACTIVITY_LABELS, DEFAULT_WORKSPACE_NOTIFICATION_MENU_LABELS, TAG_TABLE_DOCX_LANDSCAPE_AFTER, TagColumnsEditor, TagTable, TagTableCell, ThreadFollowButton, ThreadFollowMenuItem, WorkspaceActivityList, WorkspaceNotificationMenu, cellText, cellValue, fieldWrites, isGap, parseCell, rowLinks, tagTableDocumentXml, tagTableDocx, tagTableMarkdown, workspaceActivityHeadline, workspaceActivityTarget } from './chunk-NXWKMKZY.js';
12
12
  export { DEFAULT_SEARCH_HIT_LABELS, SearchHit } from './chunk-A2YAC22G.js';
13
13
  export { TIMELINE_ZOOM, TimelineCalendar, TimelineGantt, TimelineZoomControl, dayKey, formatSpan, monthLabel, parseIso, utcDay } from './chunk-4EZVCGRL.js';
14
14
  export { Callout } from './chunk-UJE32SST.js';
15
- 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_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, 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-UJM7TG44.js';
15
+ 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_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, 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-UZV27QLC.js';
16
16
  import './chunk-4XJZ6AAY.js';
17
17
  export { EmptyState } from './chunk-P6GHJSLR.js';
18
18
  export { ActionStepBody, ApprovalEvidence, AssigneeLine, DEFAULT_ASSIGNEE_WORDING, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, EMPTY_WORKFLOW_SCOPE, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, SchemaForm, SendBackControl, TaskActivityTimeline, 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, taskActivityHeadline, toPlanAssignee, toPlanDocumentRef, toPlanSteps, upstreamSteps, useWorkflowView, validateInputs, validateStep, validateWorkflowGraph, workflowAccepts, workflowFromFrontmatter, workflowSteps, workflowsAccepting, workflowsForHost } from './chunk-YX466FWL.js';
19
- import './chunk-R26OHONI.js';
19
+ import './chunk-6S5FLMWG.js';
20
20
  export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from './chunk-4WWM3GQ5.js';
21
21
  import './chunk-RFXJYIDV.js';
22
22
  export { Dot, ToneBadge } from './chunk-DPLRHEJZ.js';
23
23
  import './chunk-EVUEIBNU.js';
24
24
  import './chunk-NUNKSZKU.js';
25
- export { DEFAULT_FILTER_FIELDS, DEFAULT_FILTER_INPUT_LABELS, FilterInput } from './chunk-YU2KUMGE.js';
26
- import './chunk-P5ST47VY.js';
25
+ export { DEFAULT_FILTER_FIELDS, DEFAULT_FILTER_INPUT_LABELS, FilterInput } from './chunk-ZX2VPMBJ.js';
26
+ import './chunk-DDF5GPIJ.js';
27
27
  import './chunk-XD2M6LIG.js';
28
28
  export { ActionLink } from './chunk-S7PSMMRG.js';
29
29
  export { AccountRecoveryDialog, AuthAlert, AuthConsent, AuthDivider, AuthField, AuthFieldBadge, AuthFooterLinks, AuthHeading, AuthHero, AuthInput, AuthLayout, AuthLink, AuthNote, AuthOfflineBadge, AuthSubmitButton, AuthTabs, DEFAULT_ACCOUNT_RECOVERY_DIALOG_LABELS, DEFAULT_AUTH_CONSENT_LABELS, DEFAULT_AUTH_FOOTER_LINKS_LABELS, DEFAULT_AUTH_OFFLINE_BADGE_LABELS, DEFAULT_RECOVERY_KEY_DIALOG_LABELS, DEFAULT_REVEALABLE_PASSWORD_INPUT_LABELS, DEFAULT_SSO_LOGIN_BUTTON_LABELS, RecoveryKeyDialog, RevealablePasswordInput, SsoLoginButton } from './chunk-SFXVNFES.js';
30
30
  export { DEFAULT_PASSWORD_STRENGTH_INPUT_LABELS, PasswordStrengthInput } from './chunk-VILAPTCB.js';
31
- 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-LBE36YNZ.js';
31
+ 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';
32
32
  export { DEFAULT_DOCK_WIDTH, Toaster } from './chunk-BV7FEMSI.js';
33
- 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-PFA43QNX.js';
33
+ 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';
34
34
  export { BlocksTooltipProvider, DEFAULT_OVERLAY_ZONE_ID, DEFAULT_PAGE_CONTAINER_PADDING, DEFAULT_SIDEBAR_TOGGLE_BUTTON_LABELS, PageContainer, SHELL_BOTTOM_INSET_VAR, Shell, SidebarToggleButton, ToolButton, useDrawerBehavior, useOverlayZoneId, useShellBottomInset } from './chunk-KZJAG7T3.js';
35
35
  export { useMentionAutocomplete } from './chunk-HOXKR26S.js';
36
36
  export { DEFAULT_MENTION_LABELS, MENTION_HREF_PREFIX, MentionChip, MentionMenu, extractMentions, filterMentionCandidates, findMentionQuery, insertMention, linkMentions, mentionFromHref, toMessageMentions, useListKeyNav } from './chunk-AA3PT6KR.js';
37
37
  import './chunk-NPLYHR2E.js';
38
+ export { CitationEditor, DEFAULT_PASSAGE_PILL_LABELS, DEFAULT_QUIET_MARK_LABELS, LabelMark, NoteMark, PassageMark, PassagePill, QuietLink, useCopyText } from './chunk-XQKGYGCJ.js';
39
+ export { BlocksProvider, useBlocksEnvironment } from './chunk-76JDDMSP.js';
40
+ export { daysUntil, displayName, fmtDate, fmtDateTime, formatCount, formatCurrency, formatPageRefs, fromNow, hrs, initials, pct, pluralize } from './chunk-OXF2IFXG.js';
38
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, MailFolderTree, MemberBulkActions, MemberListLoading, MemberMutedText, MemberNameCell, MemberRoleCell, RecipientPicker, RoleSelect, WorkspaceDeleteButton, buildMailFolderTree, contactToVCard, descendantFolderIds, downloadVCard, isInboxFolder, parseEmails, toAddContactsRow, toAddContactsRows, toggleMailFolder, vCardFilename } from './chunk-7C35WXYB.js';
39
42
  import './chunk-NBV56SGU.js';
40
43
  export { MailDeliveryBadge, MailDeliveryList, MailDocumentPicker, MailGrid, MailMessagePreview, MailMessageView, NEEDS_CONNECTION, PlainMailBodyEditor, draftMailCompose, emptyMailCompose, hasCalendarPart, mailAddressLabel, parseMailRecipients, replyMailCompose } from './chunk-LGX6UFYG.js';
@@ -43,11 +46,8 @@ import './chunk-TX2ZICS7.js';
43
46
  import './chunk-ZPLG7QYF.js';
44
47
  export { BREAKPOINT_QUERIES, useIsNarrow, useIsPhone, useIsTouchScreen, useMediaQuery } from './chunk-SLSBJRWW.js';
45
48
  import './chunk-7F6CBP3Z.js';
46
- export { CitationEditor, DEFAULT_PASSAGE_PILL_LABELS, DEFAULT_QUIET_MARK_LABELS, LabelMark, NoteMark, PassageMark, PassagePill, QuietLink, useCopyText } from './chunk-XQKGYGCJ.js';
47
- export { BlocksProvider, useBlocksEnvironment } from './chunk-76JDDMSP.js';
48
- export { daysUntil, displayName, fmtDate, fmtDateTime, formatCount, formatCurrency, formatPageRefs, fromNow, hrs, initials, pct, pluralize } from './chunk-OXF2IFXG.js';
49
49
  import './chunk-VUNV25KB.js';
50
- import { Search, Pencil, Sparkles, Loader2, FileText, Lightbulb, MessagesSquare, X } from 'lucide-react';
50
+ import { Search, Pencil, Sparkles, Loader2, FileText, Lightbulb, MessagesSquare, X, Plus } from 'lucide-react';
51
51
  import { Input, cn, Textarea, Button } from '@arbidocs/react/ui';
52
52
  export { DocumentCard, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@arbidocs/react/ui';
53
53
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -420,6 +420,7 @@ var DEFAULT_TAG_DETAIL_LABELS = {
420
420
  showing: "Showing {shown} of {count}",
421
421
  noDocuments: "No document carries this tag yet.",
422
422
  noFacts: "No fact carries this tag yet.",
423
+ noValue: "No note",
423
424
  noThreads: "No thread carries this tag yet.",
424
425
  untitledThread: "Untitled thread",
425
426
  threadUpdated: "Updated {date}",
@@ -455,10 +456,14 @@ function TagDetail({
455
456
  fields = [],
456
457
  isLoading,
457
458
  people,
459
+ tags,
460
+ onOpenTag,
458
461
  onChangeValue,
459
462
  onOpenDocument,
460
463
  onOpenFact,
461
464
  onOpenThread,
465
+ noteLabel,
466
+ noteIsValue = false,
462
467
  labels,
463
468
  fieldLabels,
464
469
  className,
@@ -486,6 +491,8 @@ function TagDetail({
486
491
  row,
487
492
  column: field,
488
493
  people,
494
+ tags,
495
+ onOpenTag,
489
496
  onChange: onChangeValue,
490
497
  l: cellLabels,
491
498
  testId: `${testId}-field-${field.id}`
@@ -512,7 +519,30 @@ function TagDetail({
512
519
  /* @__PURE__ */ jsx(FileText, { className: "mt-0.5 size-4 shrink-0 text-muted-foreground" }),
513
520
  /* @__PURE__ */ jsxs("span", { className: "min-w-0 flex-1", children: [
514
521
  /* @__PURE__ */ jsx("span", { className: "block truncate font-medium", children: d.file_name }),
515
- d.note && /* @__PURE__ */ jsx("span", { className: "line-clamp-2 whitespace-pre-line text-muted-foreground", children: d.note })
522
+ (d.note || noteIsValue) && /* @__PURE__ */ jsxs(
523
+ "span",
524
+ {
525
+ className: cn(
526
+ "mt-0.5 flex min-w-0 items-baseline gap-2",
527
+ noteIsValue ? "text-base text-foreground" : "text-muted-foreground"
528
+ ),
529
+ "data-testid": `${testId}-doc-${d.doc_ext_id}-note`,
530
+ children: [
531
+ noteLabel && /* @__PURE__ */ jsx("span", { className: "shrink-0 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: noteLabel }),
532
+ /* @__PURE__ */ jsx(
533
+ "span",
534
+ {
535
+ className: cn(
536
+ "line-clamp-3 min-w-0 whitespace-pre-line",
537
+ noteIsValue && "font-semibold",
538
+ !d.note && "font-normal italic text-muted-foreground"
539
+ ),
540
+ children: d.note || l.noValue
541
+ }
542
+ )
543
+ ]
544
+ }
545
+ )
516
546
  ] }),
517
547
  d.citations_count > 0 && /* @__PURE__ */ jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: passages(d.citations_count) })
518
548
  ]
@@ -572,31 +602,72 @@ function TagDetail({
572
602
  ] });
573
603
  }
574
604
  var DEFAULT_TAGS_NAV_LABELS = {
575
- filter: "Find a tag\u2026",
605
+ filter: "Find or add a tag\u2026",
576
606
  clearFilter: "Clear",
577
607
  empty: "None yet",
578
- noMatch: "No match"
608
+ noMatch: "No match",
609
+ create: 'Create "{name}"'
579
610
  };
580
611
  var total = (items) => items.reduce((n, item) => n + 1 + total(item.children ?? []), 0);
581
- function filterItems(items, text) {
612
+ function findTagsNavItem(groups, name) {
613
+ const text = name.trim();
614
+ if (!text) return void 0;
615
+ for (const g of groups) {
616
+ const item = findByName(g.items, text);
617
+ if (item) return { groupId: g.id, item };
618
+ }
619
+ return void 0;
620
+ }
621
+ function findByName(items, name) {
622
+ const needle = name.toLowerCase();
623
+ for (const item of items) {
624
+ if (item.name.trim().toLowerCase() === needle) return item;
625
+ const nested = findByName(item.children ?? [], name);
626
+ if (nested) return nested;
627
+ }
628
+ return void 0;
629
+ }
630
+ function filterItems(items, text, keywords = false) {
582
631
  if (!text) return items;
583
632
  const needle = text.toLowerCase();
584
633
  return items.flatMap((item) => {
585
- const children = filterItems(item.children ?? [], text);
586
- return item.name.toLowerCase().includes(needle) || children.length ? [{ ...item, children }] : [];
634
+ const children = filterItems(item.children ?? [], text, keywords);
635
+ const hit = item.name.toLowerCase().includes(needle) || keywords && !!item.keywords?.toLowerCase().includes(needle);
636
+ return hit || children.length ? [{ ...item, children }] : [];
587
637
  });
588
638
  }
589
639
  function TagsNav({
590
640
  groups,
591
641
  selected,
592
642
  onSelect,
643
+ onCreate,
644
+ filter: controlledFilter,
645
+ onFilterChange,
646
+ matchKeywords = false,
593
647
  labels,
594
648
  className,
595
649
  testId = "tags-nav"
596
650
  }) {
597
651
  const l = { ...DEFAULT_TAGS_NAV_LABELS, ...labels };
598
- const [filter, setFilter] = useState("");
652
+ const [ownFilter, setOwnFilter] = useState("");
653
+ const hasOwnBox = controlledFilter === void 0;
654
+ const filter = hasOwnBox ? ownFilter : controlledFilter;
655
+ const setFilter = (text2) => hasOwnBox ? setOwnFilter(text2) : onFilterChange?.(text2);
656
+ const [creating, setCreating] = useState(false);
599
657
  const text = filter.trim();
658
+ const exact = findTagsNavItem(groups, text);
659
+ const canCreate = !!onCreate && !!text && !exact;
660
+ const filterGroup = (items) => filterItems(items, text, matchKeywords);
661
+ const create = async () => {
662
+ if (!canCreate || creating) return;
663
+ setCreating(true);
664
+ try {
665
+ await onCreate?.(text);
666
+ setFilter("");
667
+ } finally {
668
+ setCreating(false);
669
+ }
670
+ };
600
671
  const row = (groupId, item, depth) => {
601
672
  const active = selected?.groupId === groupId && selected.itemId === item.id;
602
673
  return /* @__PURE__ */ jsxs("li", { children: [
@@ -630,13 +701,19 @@ function TagsNav({
630
701
  ] }, item.id);
631
702
  };
632
703
  return /* @__PURE__ */ jsxs("nav", { className: cn("flex flex-col gap-3", className), "data-testid": testId, children: [
633
- /* @__PURE__ */ jsxs("div", { className: "relative", children: [
704
+ hasOwnBox && /* @__PURE__ */ jsxs("div", { className: "relative", children: [
634
705
  /* @__PURE__ */ jsx(Search, { className: "pointer-events-none absolute left-2.5 top-1/2 size-4 -translate-y-1/2 text-muted-foreground" }),
635
706
  /* @__PURE__ */ jsx(
636
707
  Input,
637
708
  {
638
709
  value: filter,
639
710
  onChange: (e) => setFilter(e.target.value),
711
+ onKeyDown: (e) => {
712
+ if (e.key !== "Enter") return;
713
+ e.preventDefault();
714
+ if (canCreate) void create();
715
+ else if (exact?.item) onSelect({ groupId: exact.groupId, itemId: exact.item.id });
716
+ },
640
717
  placeholder: l.filter,
641
718
  "aria-label": l.filter,
642
719
  className: "h-8 pl-8 pr-8 text-sm",
@@ -654,8 +731,22 @@ function TagsNav({
654
731
  }
655
732
  )
656
733
  ] }),
734
+ canCreate && /* @__PURE__ */ jsxs(
735
+ "button",
736
+ {
737
+ type: "button",
738
+ onClick: () => void create(),
739
+ disabled: creating,
740
+ className: "flex w-full items-center gap-2 rounded-md px-3 py-1.5 text-left text-sm text-primary transition-colors hover:bg-muted disabled:opacity-60 pointer-coarse:min-h-11",
741
+ "data-testid": `${testId}-create`,
742
+ children: [
743
+ /* @__PURE__ */ jsx(Plus, { className: "size-4 shrink-0" }),
744
+ /* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate", children: l.create.replace("{name}", text) })
745
+ ]
746
+ }
747
+ ),
657
748
  groups.map((group) => {
658
- const items = filterItems(group.items, text);
749
+ const items = filterGroup(group.items);
659
750
  if (text && !items.length) return null;
660
751
  const active = selected?.groupId === group.id && !selected.itemId;
661
752
  return /* @__PURE__ */ jsxs("section", { "data-testid": `${testId}-group-${group.id}`, children: [
@@ -680,10 +771,10 @@ function TagsNav({
680
771
  items.length ? /* @__PURE__ */ jsx("ul", { className: "mt-0.5", children: items.map((item) => row(group.id, item, 0)) }) : /* @__PURE__ */ jsx("p", { className: "px-3 py-1 text-xs text-muted-foreground", children: l.empty })
681
772
  ] }, group.id);
682
773
  }),
683
- text && groups.every((g) => !filterItems(g.items, text).length) && /* @__PURE__ */ jsx("p", { className: "px-2 text-sm text-muted-foreground", children: l.noMatch })
774
+ text && !canCreate && groups.every((g) => !filterGroup(g.items).length) && /* @__PURE__ */ jsx("p", { className: "px-2 text-sm text-muted-foreground", children: l.noMatch })
684
775
  ] });
685
776
  }
686
777
 
687
- export { AskBar, DEFAULT_TAGS_NAV_LABELS, DEFAULT_TAG_DETAIL_LABELS, EntityIdentityBar, EntityTooltip, EntityTooltipHeader, EntityTooltipHint, EntityTooltipSection, EntityTooltipStats, IDENTITY_NAME_MAX_LENGTH, TagDetail, TagsNav, Toolbar };
778
+ export { AskBar, DEFAULT_TAGS_NAV_LABELS, DEFAULT_TAG_DETAIL_LABELS, EntityIdentityBar, EntityTooltip, EntityTooltipHeader, EntityTooltipHint, EntityTooltipSection, EntityTooltipStats, IDENTITY_NAME_MAX_LENGTH, TagDetail, TagsNav, Toolbar, findTagsNavItem };
688
779
  //# sourceMappingURL=index.js.map
689
780
  //# sourceMappingURL=index.js.map