@arbidocs/blocks 0.4.54 → 0.4.56

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 (33) hide show
  1. package/dist/agents/index.cjs +217 -229
  2. package/dist/agents/index.js +1 -1
  3. package/dist/agents/tasks/NewThreadDialog.d.ts +4 -8
  4. package/dist/agents/tasks/TaskActivityTimeline.d.ts +2 -8
  5. package/dist/agents/tasks/TaskInbox.d.ts +1 -1
  6. package/dist/agents/tasks/TaskRowMenu.d.ts +1 -6
  7. package/dist/agents/tasks/TaskStartDialog.d.ts +1 -8
  8. package/dist/agents/tasks/TaskStatusPill.d.ts +2 -2
  9. package/dist/agents/tasks/TaskTable.d.ts +6 -17
  10. package/dist/agents/tasks/WorkflowComposer.d.ts +2 -2
  11. package/dist/agents/tasks/index.d.ts +1 -4
  12. package/dist/agents/tasks/taskColumns.d.ts +2 -2
  13. package/dist/agents/tasks/taskComposerTypes.d.ts +2 -15
  14. package/dist/agents/tasks/taskLabels.d.ts +5 -7
  15. package/dist/agents/tasks/taskRequest.d.ts +5 -7
  16. package/dist/agents/tasks/taskRows.d.ts +6 -10
  17. package/dist/agents/tasks/taskTableLabels.d.ts +2 -6
  18. package/dist/agents/tasks/workflowRows.d.ts +2 -2
  19. package/dist/{chunk-5JEVPE7Y.cjs → chunk-HAADKDRN.cjs} +41 -610
  20. package/dist/chunk-HAADKDRN.cjs.map +1 -0
  21. package/dist/{chunk-2FBNT7Y6.js → chunk-V34YFQ5Q.js} +44 -610
  22. package/dist/chunk-V34YFQ5Q.js.map +1 -0
  23. package/dist/connect/index.cjs +1 -2
  24. package/dist/connect/index.cjs.map +1 -1
  25. package/dist/connect/index.js +1 -2
  26. package/dist/connect/index.js.map +1 -1
  27. package/dist/index.cjs +218 -230
  28. package/dist/index.js +1 -1
  29. package/package.json +4 -4
  30. package/dist/agents/tasks/TaskReviewActions.d.ts +0 -44
  31. package/dist/agents/tasks/TaskReviewDialog.d.ts +0 -22
  32. package/dist/chunk-2FBNT7Y6.js.map +0 -1
  33. package/dist/chunk-5JEVPE7Y.cjs.map +0 -1
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ 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, DEFAULT_TASK_REVIEW_ACTIONS_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EMPTY_WORKFLOW_SCOPE, EntityChip, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SchemaForm, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskActivityTimeline, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskReviewActions, TaskReviewDialog, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadNotifyDialog, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildLaunch, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composeWorkflowPrompt, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultInputs, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, inputsFromContext, isAgenticWorkflow, isEmptyWorkflowScope, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isWorkflowScope, isoToLocalInput, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, promptFieldName, resolveScopeInputs, skillToWorkflow, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, validateInputs, workflowAccepts, workflowFromFrontmatter, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowTriggerType, workflowWhen, workflowsAccepting, workflowsForHost } from './chunk-2FBNT7Y6.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, 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-V34YFQ5Q.js';
14
14
  export { EmptyState } from './chunk-P6GHJSLR.js';
15
15
  import './chunk-RFXJYIDV.js';
16
16
  import './chunk-BUHKUKKB.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/blocks",
3
- "version": "0.4.54",
3
+ "version": "0.4.56",
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.54",
216
+ "@arbidocs/client": "0.4.56",
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.54"
231
+ "@arbidocs/coedit": "0.4.56"
232
232
  },
233
233
  "peerDependencies": {
234
- "@arbidocs/react": "0.4.54",
234
+ "@arbidocs/react": "0.4.56",
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;