@arbidocs/blocks 0.4.53 → 0.4.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/index.cjs +218 -230
- package/dist/agents/index.js +2 -2
- package/dist/agents/tasks/NewThreadDialog.d.ts +4 -8
- package/dist/agents/tasks/TaskActivityTimeline.d.ts +2 -8
- package/dist/agents/tasks/TaskInbox.d.ts +1 -1
- package/dist/agents/tasks/TaskRowMenu.d.ts +1 -6
- package/dist/agents/tasks/TaskStartDialog.d.ts +1 -8
- package/dist/agents/tasks/TaskStatusPill.d.ts +2 -2
- package/dist/agents/tasks/TaskTable.d.ts +6 -17
- package/dist/agents/tasks/WorkflowComposer.d.ts +2 -2
- package/dist/agents/tasks/index.d.ts +1 -4
- package/dist/agents/tasks/taskColumns.d.ts +2 -2
- package/dist/agents/tasks/taskComposerTypes.d.ts +2 -15
- package/dist/agents/tasks/taskLabels.d.ts +5 -7
- package/dist/agents/tasks/taskRequest.d.ts +5 -7
- package/dist/agents/tasks/taskRows.d.ts +6 -10
- package/dist/agents/tasks/taskTableLabels.d.ts +2 -6
- package/dist/agents/tasks/workflowRows.d.ts +2 -2
- package/dist/chat/forward-scroll.d.ts +11 -0
- package/dist/chat/index.cjs +122 -122
- package/dist/chat/index.js +2 -2
- package/dist/{chunk-FVN2EWAV.cjs → chunk-5DM6VU4L.cjs} +52 -3
- package/dist/chunk-5DM6VU4L.cjs.map +1 -0
- package/dist/{chunk-2FBNT7Y6.js → chunk-BIAALPXI.js} +45 -611
- package/dist/chunk-BIAALPXI.js.map +1 -0
- package/dist/{chunk-553WJJIZ.cjs → chunk-BR2CPKFU.cjs} +4 -4
- package/dist/{chunk-553WJJIZ.cjs.map → chunk-BR2CPKFU.cjs.map} +1 -1
- package/dist/{chunk-QSVRKNPK.js → chunk-CW4WXGEN.js} +3 -3
- package/dist/{chunk-QSVRKNPK.js.map → chunk-CW4WXGEN.js.map} +1 -1
- package/dist/{chunk-CGNTPOWQ.js → chunk-DABEWNL2.js} +52 -3
- package/dist/chunk-DABEWNL2.js.map +1 -0
- package/dist/{chunk-SA2BVHQ5.cjs → chunk-WKNAFILY.cjs} +5 -5
- package/dist/{chunk-SA2BVHQ5.cjs.map → chunk-WKNAFILY.cjs.map} +1 -1
- package/dist/{chunk-E3NM576Y.js → chunk-ZQB7HNE6.js} +3 -3
- package/dist/{chunk-E3NM576Y.js.map → chunk-ZQB7HNE6.js.map} +1 -1
- package/dist/{chunk-5JEVPE7Y.cjs → chunk-ZSNH4CWE.cjs} +42 -611
- package/dist/chunk-ZSNH4CWE.cjs.map +1 -0
- package/dist/connect/index.cjs +12 -13
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +3 -4
- package/dist/connect/index.js.map +1 -1
- package/dist/index.cjs +341 -353
- package/dist/index.js +4 -4
- package/dist/studio/index.cjs +3 -3
- package/dist/studio/index.js +2 -2
- package/package.json +4 -4
- package/dist/agents/tasks/TaskReviewActions.d.ts +0 -44
- package/dist/agents/tasks/TaskReviewDialog.d.ts +0 -22
- package/dist/chunk-2FBNT7Y6.js.map +0 -1
- package/dist/chunk-5JEVPE7Y.cjs.map +0 -1
- package/dist/chunk-CGNTPOWQ.js.map +0 -1
- package/dist/chunk-FVN2EWAV.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -10,11 +10,11 @@ export { ApplyLabelButton, ApplyLabelDialog, DEFAULT_APPLY_LABEL_DIALOG_LABELS,
|
|
|
10
10
|
export { DEFAULT_SEARCH_HIT_LABELS, SearchHit } from './chunk-A2YAC22G.js';
|
|
11
11
|
export { UsageMeter } from './chunk-D5T53XCL.js';
|
|
12
12
|
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-L5UPP2HC.js';
|
|
13
|
-
export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS,
|
|
13
|
+
export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EMPTY_WORKFLOW_SCOPE, EntityChip, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SchemaForm, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskActivityTimeline, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadNotifyDialog, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildLaunch, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composeWorkflowPrompt, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultInputs, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, inputsFromContext, isAgenticWorkflow, isEmptyWorkflowScope, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isWorkflowScope, isoToLocalInput, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, promptFieldName, resolveScopeInputs, skillToWorkflow, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, validateInputs, workflowAccepts, workflowFromFrontmatter, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowTriggerType, workflowWhen, workflowsAccepting, workflowsForHost } from './chunk-BIAALPXI.js';
|
|
14
14
|
export { EmptyState } from './chunk-P6GHJSLR.js';
|
|
15
|
+
import './chunk-LFGJAZ5H.js';
|
|
15
16
|
import './chunk-RFXJYIDV.js';
|
|
16
17
|
import './chunk-BUHKUKKB.js';
|
|
17
|
-
import './chunk-LFGJAZ5H.js';
|
|
18
18
|
import './chunk-CKB64Z4R.js';
|
|
19
19
|
export { Dot, ToneBadge } from './chunk-DPLRHEJZ.js';
|
|
20
20
|
export { DEFAULT_FILTER_FIELDS, DEFAULT_FILTER_INPUT_LABELS, FilterInput } from './chunk-YU2KUMGE.js';
|
|
@@ -22,8 +22,8 @@ export { ActionLink } from './chunk-S7PSMMRG.js';
|
|
|
22
22
|
export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from './chunk-4WWM3GQ5.js';
|
|
23
23
|
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';
|
|
24
24
|
export { DEFAULT_PASSWORD_STRENGTH_INPUT_LABELS, PasswordStrengthInput } from './chunk-VILAPTCB.js';
|
|
25
|
-
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-
|
|
26
|
-
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, Message, MessageActionButton, MessageActionMenu, MessageAlert, MessageBody, MessageBubble, MessageByline, MessageContent, MessageFooter, MessageList, MessageListBanner, MessageListEmpty, MessageListRoot, MessageListRow, MessageListRows, MessageListStatus, MessageListTail, MessageNarration, MessageRoot, MessageSources, MessageSubagentBadge, ScrollToBottom, SourceChip, toSpeakableText, useAssistantDock, useChatSurface, useRegisterEmbeddedChat, useStreamAnnouncement } from './chunk-
|
|
25
|
+
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-ZQB7HNE6.js';
|
|
26
|
+
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, Message, MessageActionButton, MessageActionMenu, MessageAlert, MessageBody, MessageBubble, MessageByline, MessageContent, MessageFooter, MessageList, MessageListBanner, MessageListEmpty, MessageListRoot, MessageListRow, MessageListRows, MessageListStatus, MessageListTail, MessageNarration, MessageRoot, MessageSources, MessageSubagentBadge, ScrollToBottom, SourceChip, toSpeakableText, useAssistantDock, useChatSurface, useRegisterEmbeddedChat, useStreamAnnouncement } from './chunk-DABEWNL2.js';
|
|
27
27
|
export { DEFAULT_DOCK_WIDTH, Toaster } from './chunk-BV7FEMSI.js';
|
|
28
28
|
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';
|
|
29
29
|
export { useMentionAutocomplete } from './chunk-3VQYJBOI.js';
|
package/dist/studio/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkBR2CPKFU_cjs = require('../chunk-BR2CPKFU.cjs');
|
|
5
5
|
var chunk7QDX2CO4_cjs = require('../chunk-7QDX2CO4.cjs');
|
|
6
6
|
var chunkMJCCBMM5_cjs = require('../chunk-MJCCBMM5.cjs');
|
|
7
7
|
var chunkELR74ME6_cjs = require('../chunk-ELR74ME6.cjs');
|
|
@@ -9,7 +9,7 @@ require('../chunk-VPPX5XUF.cjs');
|
|
|
9
9
|
var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
|
|
10
10
|
var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
|
|
11
11
|
require('../chunk-OB5F4577.cjs');
|
|
12
|
-
require('../chunk-
|
|
12
|
+
require('../chunk-5DM6VU4L.cjs');
|
|
13
13
|
require('../chunk-VGOFFCMT.cjs');
|
|
14
14
|
require('../chunk-V3L5DONY.cjs');
|
|
15
15
|
require('../chunk-PPCATBOY.cjs');
|
|
@@ -882,7 +882,7 @@ function latestImageDocId(artifacts) {
|
|
|
882
882
|
return null;
|
|
883
883
|
}
|
|
884
884
|
function useImageGen() {
|
|
885
|
-
const task =
|
|
885
|
+
const task = chunkBR2CPKFU_cjs.useConnectedAiTask();
|
|
886
886
|
const { run } = task;
|
|
887
887
|
const generate = react.useCallback(
|
|
888
888
|
async (prompt, referenceDocIds = []) => {
|
package/dist/studio/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useConnectedAiTask } from '../chunk-
|
|
2
|
+
import { useConnectedAiTask } from '../chunk-CW4WXGEN.js';
|
|
3
3
|
import { PageHeader, MetricCard, DataTableBlock, StatGroup } from '../chunk-ZCF2JJFA.js';
|
|
4
4
|
import { assetRefId, applyStoredTheme, AssetResolverProvider, ThemeEditor, applyThemeVars, tid, SectionHeading, PricingTable, Tabs as Tabs$1, Accordion, Gallery, VideoEmbed, ContactForm, Banner, MediaText, TeamGrid, Steps, TestimonialGrid, Columns, Spacer, Container, Hero, FeatureGrid, Testimonial, CTABanner, LogoCloud, FAQ, RichTextBlock, BlockImage, AvatarBlock, Navbar, Footer, ListBlock, isAssetRef, asAssetRef } from '../chunk-DLBUFHLY.js';
|
|
5
5
|
export { ASSET_REF_PREFIX, AssetResolverProvider, asAssetRef, assetRefId, isAssetRef, useAssetRenderer, useAssetResolverActive } from '../chunk-DLBUFHLY.js';
|
|
@@ -8,7 +8,7 @@ import '../chunk-4EZVCGRL.js';
|
|
|
8
8
|
import { Callout } from '../chunk-UJE32SST.js';
|
|
9
9
|
import { EmptyState } from '../chunk-P6GHJSLR.js';
|
|
10
10
|
import '../chunk-S7PSMMRG.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-DABEWNL2.js';
|
|
12
12
|
import '../chunk-KZJAG7T3.js';
|
|
13
13
|
import '../chunk-3VQYJBOI.js';
|
|
14
14
|
import '../chunk-NPLYHR2E.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/blocks",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.55",
|
|
4
4
|
"description": "Composable, domain-neutral UI blocks for ARBI apps, organised by capability (retrieval, facts, agents, workspaces, citations, collaboration) plus shell, theme and site primitives, on top of @arbidocs/react.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
"example:test:e2e": "playwright test -c examples/custom-ui/playwright.config.ts"
|
|
214
214
|
},
|
|
215
215
|
"dependencies": {
|
|
216
|
-
"@arbidocs/client": "0.4.
|
|
216
|
+
"@arbidocs/client": "0.4.55",
|
|
217
217
|
"@dnd-kit/core": "^6.3.1",
|
|
218
218
|
"@dnd-kit/sortable": "^10.0.0",
|
|
219
219
|
"@dnd-kit/utilities": "^3.2.2",
|
|
@@ -228,10 +228,10 @@
|
|
|
228
228
|
"zustand": "^5.0.14",
|
|
229
229
|
"fflate": "^0.8.2",
|
|
230
230
|
"@hocuspocus/provider": "4.6.0",
|
|
231
|
-
"@arbidocs/coedit": "0.4.
|
|
231
|
+
"@arbidocs/coedit": "0.4.55"
|
|
232
232
|
},
|
|
233
233
|
"peerDependencies": {
|
|
234
|
-
"@arbidocs/react": "0.4.
|
|
234
|
+
"@arbidocs/react": "0.4.55",
|
|
235
235
|
"@mdxeditor/editor": "^4.0.4",
|
|
236
236
|
"@measured/puck": ">=0.20",
|
|
237
237
|
"@playwright/test": ">=1.40",
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export interface TaskReviewActionsLabels {
|
|
2
|
-
approve: string;
|
|
3
|
-
requestChanges: string;
|
|
4
|
-
feedbackLabel: string;
|
|
5
|
-
feedbackPlaceholder: string;
|
|
6
|
-
send: string;
|
|
7
|
-
cancel: string;
|
|
8
|
-
askApproval: string;
|
|
9
|
-
askApprovalPerson: string;
|
|
10
|
-
askApprovalSearch: string;
|
|
11
|
-
askApprovalEmpty: string;
|
|
12
|
-
askApprovalNote: string;
|
|
13
|
-
askApprovalSend: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const DEFAULT_TASK_REVIEW_ACTIONS_LABELS: TaskReviewActionsLabels;
|
|
16
|
-
export interface TaskReviewActionsProps {
|
|
17
|
-
/** Task id: keys the test ids (`task-approve-{id}`, ...). */
|
|
18
|
-
id: string;
|
|
19
|
-
/** Disables both actions while a request is in flight. */
|
|
20
|
-
busy?: boolean;
|
|
21
|
-
/** Hide "Request changes" for work no agent can revise (a plain reminder). */
|
|
22
|
-
canRequestChanges?: boolean;
|
|
23
|
-
onApprove: () => void;
|
|
24
|
-
onRequestChanges: (feedback: string) => void;
|
|
25
|
-
/** Hand sign-off to someone else: they are notified and become the person who can approve. */
|
|
26
|
-
onRequestApproval?: (userId: string, note: string) => void;
|
|
27
|
-
/** People who can be asked (humans only). The action shows only when there is someone to ask. */
|
|
28
|
-
people?: {
|
|
29
|
-
id: string;
|
|
30
|
-
label: string;
|
|
31
|
-
}[];
|
|
32
|
-
/** Icon-only secondary buttons (for a table cell); they keep their accessible names. */
|
|
33
|
-
compact?: boolean;
|
|
34
|
-
/** Whether the viewer is the one who can approve (the sign-off person). Without it Approve is not offered. */
|
|
35
|
-
canApprove?: boolean;
|
|
36
|
-
/** Approve as an outline button, for a list where every row has one; the default is the one filled button. */
|
|
37
|
-
quiet?: boolean;
|
|
38
|
-
labels?: Partial<TaskReviewActionsLabels>;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* The human half of the workflow: accept prepared work (Approve closes the task), or send it back
|
|
42
|
-
* with feedback so the agent revises it in the task's own thread.
|
|
43
|
-
*/
|
|
44
|
-
export declare function TaskReviewActions({ id, busy, canRequestChanges, onApprove, onRequestChanges, onRequestApproval, people, compact, quiet, canApprove, labels, }: TaskReviewActionsProps): import("react").JSX.Element;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface TaskReviewDecision {
|
|
2
|
-
action: 'forward' | 'finish' | 'revise';
|
|
3
|
-
userId: string;
|
|
4
|
-
note: string;
|
|
5
|
-
approveCurrent: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface TaskReviewDialogProps {
|
|
8
|
-
open: boolean;
|
|
9
|
-
onOpenChange: (open: boolean) => void;
|
|
10
|
-
taskName: string;
|
|
11
|
-
canApprove: boolean;
|
|
12
|
-
canRevise: boolean;
|
|
13
|
-
people: readonly {
|
|
14
|
-
id: string;
|
|
15
|
-
label: string;
|
|
16
|
-
}[];
|
|
17
|
-
isPending?: boolean;
|
|
18
|
-
error?: string | null;
|
|
19
|
-
onSubmit: (decision: TaskReviewDecision) => void | Promise<void>;
|
|
20
|
-
}
|
|
21
|
-
/** A review has one next step: pass it on, return it for changes, or finish. */
|
|
22
|
-
export declare function TaskReviewDialog(p: TaskReviewDialogProps): import("react").JSX.Element;
|