@arbidocs/blocks 0.4.31 → 0.4.33
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 +256 -214
- package/dist/agents/index.js +7 -5
- package/dist/agents/tasks/ConversationListView.d.ts +58 -0
- package/dist/agents/tasks/ConversationTurnSpeaker.d.ts +16 -0
- package/dist/agents/tasks/NewThreadDialog.d.ts +1 -1
- package/dist/agents/tasks/TaskActivityTimeline.d.ts +1 -1
- package/dist/agents/tasks/TaskFlow.d.ts +22 -0
- package/dist/agents/tasks/TaskInbox.d.ts +26 -0
- package/dist/agents/tasks/TaskReviewDialog.d.ts +22 -0
- package/dist/agents/tasks/TaskRowMenu.d.ts +10 -2
- package/dist/agents/tasks/TaskRunsDialog.d.ts +8 -3
- package/dist/agents/tasks/TaskStartDialog.d.ts +24 -0
- package/dist/agents/tasks/TaskTable.d.ts +1 -1
- package/dist/agents/tasks/ThreadNotifyDialog.d.ts +11 -0
- package/dist/agents/tasks/WorkflowComposer.d.ts +1 -1
- package/dist/agents/tasks/WorkflowsTable.d.ts +7 -0
- package/dist/agents/tasks/compact-thread-activity.d.ts +8 -0
- package/dist/agents/tasks/index.d.ts +10 -0
- package/dist/agents/tasks/taskComposerTypes.d.ts +16 -1
- package/dist/agents/tasks/taskRequest.d.ts +1 -0
- package/dist/agents/tasks/testGrid.d.ts +24 -0
- package/dist/agents/tasks/workflowColumns.d.ts +2 -1
- package/dist/agents/tasks/workflowRows.d.ts +6 -0
- package/dist/agents/workflows/types.d.ts +2 -0
- package/dist/auth/index.cjs +27 -27
- package/dist/auth/index.js +1 -1
- package/dist/chat/Message.d.ts +8 -2
- package/dist/chat/index.cjs +132 -120
- package/dist/chat/index.d.ts +2 -0
- package/dist/chat/index.js +2 -2
- package/dist/chat/participant-tints.d.ts +1 -0
- package/dist/chat/useRecipientDraft.d.ts +14 -0
- package/dist/{chunk-KF4EC5XU.js → chunk-24KQJYSB.js} +3 -3
- package/dist/{chunk-KF4EC5XU.js.map → chunk-24KQJYSB.js.map} +1 -1
- package/dist/{chunk-GVQOBJKR.cjs → chunk-2EAE5JP6.cjs} +7 -4
- package/dist/chunk-2EAE5JP6.cjs.map +1 -0
- package/dist/{chunk-S5HZBXZA.cjs → chunk-2QTT2RZE.cjs} +242 -2
- package/dist/chunk-2QTT2RZE.cjs.map +1 -0
- package/dist/chunk-3AFWGEDJ.cjs +53 -0
- package/dist/chunk-3AFWGEDJ.cjs.map +1 -0
- package/dist/{chunk-4XJZ6AAY.js → chunk-4AWS54US.js} +244 -6
- package/dist/chunk-4AWS54US.js.map +1 -0
- package/dist/{chunk-56BUD74K.cjs → chunk-65THHQVB.cjs} +27 -27
- package/dist/{chunk-56BUD74K.cjs.map → chunk-65THHQVB.cjs.map} +1 -1
- package/dist/{chunk-5B4PXAKI.cjs → chunk-6DNYPLCD.cjs} +21 -7
- package/dist/chunk-6DNYPLCD.cjs.map +1 -0
- package/dist/{chunk-Y2LWA4ZO.js → chunk-6RXUMBTK.js} +1855 -501
- package/dist/chunk-6RXUMBTK.js.map +1 -0
- package/dist/{chunk-UTYQPVIW.cjs → chunk-7QDX2CO4.cjs} +6 -6
- package/dist/{chunk-UTYQPVIW.cjs.map → chunk-7QDX2CO4.cjs.map} +1 -1
- package/dist/{chunk-FRRDPYBR.cjs → chunk-AZ75JUIH.cjs} +74 -5
- package/dist/chunk-AZ75JUIH.cjs.map +1 -0
- package/dist/{chunk-NUPVHEJW.js → chunk-BUHKUKKB.js} +7 -4
- package/dist/chunk-BUHKUKKB.js.map +1 -0
- package/dist/chunk-C7FGONCM.js +124 -0
- package/dist/chunk-C7FGONCM.js.map +1 -0
- package/dist/{chunk-KXMDOTGW.js → chunk-DLBUFHLY.js} +10 -2
- package/dist/chunk-DLBUFHLY.js.map +1 -0
- package/dist/{chunk-ZHLMDJCO.cjs → chunk-DLVX6R6B.cjs} +62 -26
- package/dist/chunk-DLVX6R6B.cjs.map +1 -0
- package/dist/{chunk-JGZTRLKL.cjs → chunk-IA7RTPT3.cjs} +7 -4
- package/dist/chunk-IA7RTPT3.cjs.map +1 -0
- package/dist/{chunk-NJL4LIXX.js → chunk-LFGJAZ5H.js} +11 -8
- package/dist/chunk-LFGJAZ5H.js.map +1 -0
- package/dist/{chunk-IAKUTBPX.js → chunk-LYUO3E6V.js} +3 -3
- package/dist/{chunk-IAKUTBPX.js.map → chunk-LYUO3E6V.js.map} +1 -1
- package/dist/{chunk-EYPPB5CY.cjs → chunk-M2YGPC5N.cjs} +4 -4
- package/dist/{chunk-EYPPB5CY.cjs.map → chunk-M2YGPC5N.cjs.map} +1 -1
- package/dist/{chunk-5ZBP7TCD.cjs → chunk-MJCCBMM5.cjs} +10 -2
- package/dist/chunk-MJCCBMM5.cjs.map +1 -0
- package/dist/chunk-MZL67U2E.cjs +128 -0
- package/dist/chunk-MZL67U2E.cjs.map +1 -0
- package/dist/{chunk-OJSWQM4G.js → chunk-OZJ5PXA6.js} +29 -4
- package/dist/chunk-OZJ5PXA6.js.map +1 -0
- package/dist/{chunk-UBNVIIBT.js → chunk-PXFJDX2C.js} +21 -7
- package/dist/chunk-PXFJDX2C.js.map +1 -0
- package/dist/{chunk-RGHQFJOL.cjs → chunk-QFUF4A4J.cjs} +28 -2
- package/dist/chunk-QFUF4A4J.cjs.map +1 -0
- package/dist/chunk-RFXJYIDV.js +50 -0
- package/dist/chunk-RFXJYIDV.js.map +1 -0
- package/dist/{chunk-CQWRVIJC.cjs → chunk-SEQWI6E4.cjs} +1882 -517
- package/dist/chunk-SEQWI6E4.cjs.map +1 -0
- package/dist/{chunk-QN42OA5J.js → chunk-SFXVNFES.js} +4 -4
- package/dist/chunk-SFXVNFES.js.map +1 -0
- package/dist/{chunk-3NZR6PAG.js → chunk-V6U5KVAR.js} +70 -4
- package/dist/chunk-V6U5KVAR.js.map +1 -0
- package/dist/{chunk-YVIOCITQ.cjs → chunk-VUEZARW5.cjs} +3 -3
- package/dist/chunk-VUEZARW5.cjs.map +1 -0
- package/dist/{chunk-JLOYWXRB.js → chunk-VZGBCBYB.js} +3 -3
- package/dist/chunk-VZGBCBYB.js.map +1 -0
- package/dist/{chunk-ZVPTFTGV.cjs → chunk-WBDK4PIA.cjs} +11 -8
- package/dist/chunk-WBDK4PIA.cjs.map +1 -0
- package/dist/{chunk-ZORQ5M3W.cjs → chunk-WQFGG2BV.cjs} +4 -4
- package/dist/chunk-WQFGG2BV.cjs.map +1 -0
- package/dist/{chunk-C75S6USL.js → chunk-WYVCXY7R.js} +7 -4
- package/dist/chunk-WYVCXY7R.js.map +1 -0
- package/dist/{chunk-WSJVHSGN.js → chunk-XWEJ5LV2.js} +63 -27
- package/dist/chunk-XWEJ5LV2.js.map +1 -0
- package/dist/{chunk-YMHGF6R5.js → chunk-ZCF2JJFA.js} +3 -3
- package/dist/{chunk-YMHGF6R5.js.map → chunk-ZCF2JJFA.js.map} +1 -1
- package/dist/collaboration/index.cjs +45 -41
- package/dist/collaboration/index.js +1 -1
- package/dist/collaboration/mail/MailMessagePreview.d.ts +11 -0
- package/dist/collaboration/mail/index.d.ts +1 -0
- package/dist/connect/index.cjs +33 -33
- package/dist/connect/index.js +4 -4
- package/dist/facts/FactsFilterInput.d.ts +2 -46
- package/dist/facts/FactsToolbar.d.ts +5 -5
- package/dist/facts/index.cjs +27 -124
- package/dist/facts/index.cjs.map +1 -1
- package/dist/facts/index.js +13 -118
- package/dist/facts/index.js.map +1 -1
- package/dist/files/FilesPage.d.ts +1 -1
- package/dist/files/FilesToolbar.d.ts +1 -1
- package/dist/files/FolderPicker.d.ts +2 -1
- package/dist/files/ViewerChrome.d.ts +1 -1
- package/dist/files/bulk/FolderFilterButton.d.ts +3 -2
- package/dist/files/cells/BulkLabelSelect.d.ts +11 -0
- package/dist/files/cells/LabelMultiSelect.d.ts +2 -1
- package/dist/files/cells/index.d.ts +1 -0
- package/dist/files/index.cjs +108 -165
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +94 -157
- package/dist/files/index.js.map +1 -1
- package/dist/home/index.cjs +19 -19
- package/dist/home/index.cjs.map +1 -1
- package/dist/home/index.js +4 -4
- package/dist/home/index.js.map +1 -1
- package/dist/index.cjs +790 -767
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +20 -68
- package/dist/index.js.map +1 -1
- package/dist/settings/SettingsPanel.d.ts +1 -1
- package/dist/settings/index.cjs +55 -280
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.js +17 -248
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/FilterInput.d.ts +46 -0
- package/dist/shell/TabHeader.d.ts +5 -1
- package/dist/shell/index.cjs +61 -48
- package/dist/shell/index.d.ts +1 -0
- package/dist/shell/index.js +3 -2
- package/dist/site/index.cjs +62 -62
- package/dist/site/index.js +2 -2
- package/dist/studio/index.cjs +74 -74
- package/dist/studio/index.js +5 -5
- package/dist/workspaces/WorkspaceCard.d.ts +2 -2
- package/dist/workspaces/index.cjs +9 -2
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.js +9 -2
- package/dist/workspaces/index.js.map +1 -1
- package/package.json +3 -3
- package/src/blocks.css +4 -0
- package/src/components/grid.css +10 -0
- package/dist/chunk-3NZR6PAG.js.map +0 -1
- package/dist/chunk-4XJZ6AAY.js.map +0 -1
- package/dist/chunk-5B4PXAKI.cjs.map +0 -1
- package/dist/chunk-5ZBP7TCD.cjs.map +0 -1
- package/dist/chunk-C75S6USL.js.map +0 -1
- package/dist/chunk-CQWRVIJC.cjs.map +0 -1
- package/dist/chunk-FRRDPYBR.cjs.map +0 -1
- package/dist/chunk-GVQOBJKR.cjs.map +0 -1
- package/dist/chunk-JGZTRLKL.cjs.map +0 -1
- package/dist/chunk-JLOYWXRB.js.map +0 -1
- package/dist/chunk-KXMDOTGW.js.map +0 -1
- package/dist/chunk-NJL4LIXX.js.map +0 -1
- package/dist/chunk-NUPVHEJW.js.map +0 -1
- package/dist/chunk-OJSWQM4G.js.map +0 -1
- package/dist/chunk-QN42OA5J.js.map +0 -1
- package/dist/chunk-RGHQFJOL.cjs.map +0 -1
- package/dist/chunk-S5HZBXZA.cjs.map +0 -1
- package/dist/chunk-UBNVIIBT.js.map +0 -1
- package/dist/chunk-WSJVHSGN.js.map +0 -1
- package/dist/chunk-Y2LWA4ZO.js.map +0 -1
- package/dist/chunk-YVIOCITQ.cjs.map +0 -1
- package/dist/chunk-ZHLMDJCO.cjs.map +0 -1
- package/dist/chunk-ZORQ5M3W.cjs.map +0 -1
- package/dist/chunk-ZVPTFTGV.cjs.map +0 -1
package/dist/agents/index.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
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, 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, 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, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskReviewActions, TaskRunsDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildLaunch, buildRRule, buildTaskRows, buildWorkflowScopeSource, composePersona, composeWorkflowPrompt, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultInputs, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, 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-
|
|
2
|
+
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, 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-6RXUMBTK.js';
|
|
3
3
|
import '../chunk-P6GHJSLR.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-LFGJAZ5H.js';
|
|
5
|
+
import '../chunk-RFXJYIDV.js';
|
|
6
|
+
import '../chunk-BUHKUKKB.js';
|
|
7
|
+
import '../chunk-C7FGONCM.js';
|
|
6
8
|
import '../chunk-S7PSMMRG.js';
|
|
7
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-4AWS54US.js';
|
|
10
|
+
import '../chunk-PXFJDX2C.js';
|
|
8
11
|
import '../chunk-DPLRHEJZ.js';
|
|
9
|
-
import '../chunk-UBNVIIBT.js';
|
|
10
12
|
import '../chunk-SLSBJRWW.js';
|
|
11
13
|
import '../chunk-NPLYHR2E.js';
|
|
12
14
|
import '../chunk-76JDDMSP.js';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
/** Only fields on the conversation object: no message or participant fetches. */
|
|
3
|
+
export interface ConversationListRow {
|
|
4
|
+
external_id: string;
|
|
5
|
+
title?: string | null;
|
|
6
|
+
created_at?: string | null;
|
|
7
|
+
updated_at?: string | null;
|
|
8
|
+
created_by_ext_id?: string | null;
|
|
9
|
+
assistant_mode?: string | null;
|
|
10
|
+
message_count?: number | null;
|
|
11
|
+
is_shared?: boolean | null;
|
|
12
|
+
is_owner?: boolean | null;
|
|
13
|
+
status?: string | null;
|
|
14
|
+
in_progress?: boolean | null;
|
|
15
|
+
last_message_role?: string | null;
|
|
16
|
+
last_message_updated_at?: string | null;
|
|
17
|
+
last_message_actor?: {
|
|
18
|
+
external_id: string;
|
|
19
|
+
given_name: string;
|
|
20
|
+
family_name?: string | null;
|
|
21
|
+
picture?: string | null;
|
|
22
|
+
parent_ext_id?: string | null;
|
|
23
|
+
} | null;
|
|
24
|
+
last_message_status?: string | null;
|
|
25
|
+
}
|
|
26
|
+
export interface ConversationListViewProps<T extends ConversationListRow> {
|
|
27
|
+
conversations: T[];
|
|
28
|
+
isLoading?: boolean;
|
|
29
|
+
visibilityFilters?: {
|
|
30
|
+
me: 'include' | 'exclude' | null;
|
|
31
|
+
workspace: 'include' | 'exclude' | null;
|
|
32
|
+
};
|
|
33
|
+
doneFilter?: 'include' | 'exclude' | null;
|
|
34
|
+
filterText?: string;
|
|
35
|
+
header?: ReactNode;
|
|
36
|
+
showHeader?: boolean;
|
|
37
|
+
formatDate: (iso: string) => string;
|
|
38
|
+
renderThread?: (conversation: T) => ReactNode;
|
|
39
|
+
renderBy?: (conversation: T) => ReactNode;
|
|
40
|
+
renderStatus?: (conversation: T) => ReactNode;
|
|
41
|
+
renderOwner?: (conversation: T) => ReactNode;
|
|
42
|
+
renderLabels?: (conversation: T) => ReactNode;
|
|
43
|
+
labelText?: (conversation: T) => string;
|
|
44
|
+
onOpen: (conversation: T) => void;
|
|
45
|
+
onRename: (conversation: T) => void;
|
|
46
|
+
onDelete: (conversation: T) => void;
|
|
47
|
+
onToggleShared?: (conversation: T, shared: boolean) => void;
|
|
48
|
+
canEditShared?: boolean;
|
|
49
|
+
isWorkspaceOwner?: boolean;
|
|
50
|
+
selectionActions?: (selected: T[], compact: boolean, clear: () => void) => ReactNode;
|
|
51
|
+
}
|
|
52
|
+
/** Shared title/label filtering and latest-activity ordering for the header and grid. */
|
|
53
|
+
export declare function filterConversationRows<T extends ConversationListRow>(conversations: T[], query: string, labelText?: (row: T) => string, doneFilter?: 'include' | 'exclude' | null, visibilityFilters?: {
|
|
54
|
+
me: 'include' | 'exclude' | null;
|
|
55
|
+
workspace: 'include' | 'exclude' | null;
|
|
56
|
+
}): T[];
|
|
57
|
+
/** Conversation history ordered by activity, including conversations attached to work. */
|
|
58
|
+
export declare function ConversationListView<T extends ConversationListRow>(p: ConversationListViewProps<T>): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface TurnSpeakerProfile {
|
|
2
|
+
external_id: string;
|
|
3
|
+
given_name: string;
|
|
4
|
+
family_name?: string | null;
|
|
5
|
+
picture?: string | null;
|
|
6
|
+
parent_ext_id?: string | null;
|
|
7
|
+
}
|
|
8
|
+
/** A last-turn speaker, using only metadata returned with the conversation list. */
|
|
9
|
+
export declare function ConversationTurnSpeaker({ role, actor, currentUserId, colorClass, platformName, platformLogoSrc, }: {
|
|
10
|
+
role?: string | null;
|
|
11
|
+
actor?: TurnSpeakerProfile | null;
|
|
12
|
+
currentUserId?: string;
|
|
13
|
+
colorClass?: string;
|
|
14
|
+
platformName?: string;
|
|
15
|
+
platformLogoSrc?: string;
|
|
16
|
+
}): import("react").JSX.Element;
|
|
@@ -41,7 +41,7 @@ export interface NewThreadDialogProps {
|
|
|
41
41
|
/** How many files the assistant will be able to use; omit to say nothing. */
|
|
42
42
|
fileCount?: number;
|
|
43
43
|
isPending?: boolean;
|
|
44
|
-
onSubmit: (values: NewThreadValues) => void
|
|
44
|
+
onSubmit: (values: NewThreadValues) => void | Promise<void>;
|
|
45
45
|
labels?: Partial<NewThreadDialogLabels>;
|
|
46
46
|
testId?: string;
|
|
47
47
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
export type TaskActivityKind = 'created' | 'run_started' | 'awaiting_access' | 'access_granted' | 'ready_for_review' | 'handed_off' | 'changes_requested' | 'done' | 'reopened' | 'failed';
|
|
2
|
+
export type TaskActivityKind = 'created' | 'run_started' | 'awaiting_access' | 'access_granted' | 'ready_for_review' | 'reviewed' | 'handed_off' | 'changes_requested' | 'done' | 'reopened' | 'failed' | 'participant_joined' | 'assistant_responded' | 'artifact_created' | 'artifact_edited' | 'document_added' | 'document_removed' | 'notified';
|
|
3
3
|
/** One event of a task's history, as the backend returns it (oldest first). */
|
|
4
4
|
export interface TaskActivityEvent {
|
|
5
5
|
external_id: string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface TaskFlowItem {
|
|
3
|
+
id: string;
|
|
4
|
+
avatar: ReactNode;
|
|
5
|
+
label: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
time: string;
|
|
8
|
+
exactTime?: string;
|
|
9
|
+
current?: boolean;
|
|
10
|
+
detail?: ReactNode;
|
|
11
|
+
onSelect?: () => void;
|
|
12
|
+
}
|
|
13
|
+
/** Chronological history, initially scrolled to the latest step. Hosts supply events and permissions. */
|
|
14
|
+
export declare function TaskFlow({ items, className, }: {
|
|
15
|
+
items: readonly TaskFlowItem[];
|
|
16
|
+
className?: string;
|
|
17
|
+
}): import("react").JSX.Element;
|
|
18
|
+
/** A persisted activity entry inside the transcript, separate from participant message bubbles. */
|
|
19
|
+
export declare function ThreadActivity({ item, children }: {
|
|
20
|
+
item: TaskFlowItem;
|
|
21
|
+
children?: ReactNode;
|
|
22
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type TaskListRow } from './taskRows';
|
|
2
|
+
import type { TaskTableProps } from './TaskTable';
|
|
3
|
+
export interface TaskInboxWorkflow {
|
|
4
|
+
external_id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
active: boolean;
|
|
7
|
+
is_owner?: boolean;
|
|
8
|
+
last_error?: string | null;
|
|
9
|
+
summary?: string;
|
|
10
|
+
next_fire_at?: string | null;
|
|
11
|
+
}
|
|
12
|
+
export interface TaskInboxWorkflowActions {
|
|
13
|
+
workflows?: readonly TaskInboxWorkflow[];
|
|
14
|
+
onEditWorkflow?: (id: string) => void;
|
|
15
|
+
onCreateWorkflow?: () => void;
|
|
16
|
+
onToggleWorkflow?: (id: string, active: boolean) => void;
|
|
17
|
+
onDeleteWorkflow?: (id: string) => void;
|
|
18
|
+
onWorkflowHistory?: (id: string) => void;
|
|
19
|
+
}
|
|
20
|
+
export interface TaskInboxProps<T extends TaskListRow> extends Omit<TaskTableProps<T>, 'onApprove' | 'onRequestChanges' | 'onRequestApproval'>, TaskInboxWorkflowActions {
|
|
21
|
+
onFilterTextChange?: (text: string) => void;
|
|
22
|
+
onCreate?: () => void;
|
|
23
|
+
onNotify?: (task: T) => void;
|
|
24
|
+
}
|
|
25
|
+
/** Tasks and saved workflows form one list. A workflow contains its runs; a task contains its substeps. */
|
|
26
|
+
export declare function TaskInbox<T extends TaskListRow>(p: TaskInboxProps<T>): import("react").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
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;
|
|
@@ -13,19 +13,27 @@ export interface TaskRowMenuProps {
|
|
|
13
13
|
/** The viewer can edit it: its owner, or an editor of the workspace a shared task sits in. */
|
|
14
14
|
canEdit: boolean;
|
|
15
15
|
labels: TaskListLabels;
|
|
16
|
+
/** Explicit completion permission; otherwise follows the existing edit permission. */
|
|
17
|
+
canMarkDone?: boolean;
|
|
18
|
+
/** Hide when the containing view already offers a reopen control. */
|
|
19
|
+
canReopen?: boolean;
|
|
20
|
+
selected?: boolean;
|
|
21
|
+
onToggleSelected?: () => void;
|
|
16
22
|
onMarkDone: () => void;
|
|
17
23
|
onReopen: () => void;
|
|
18
24
|
onAddSubtask?: () => void;
|
|
19
25
|
onEdit: () => void;
|
|
20
|
-
onDelete
|
|
26
|
+
onDelete?: () => void;
|
|
21
27
|
onMoveTo?: () => void;
|
|
22
28
|
/** Hand the task to someone else (who then has the next step). Tasks only. */
|
|
23
29
|
onChangeOwner?: () => void;
|
|
30
|
+
onNotify?: () => void;
|
|
24
31
|
/** Open the task's activity timeline. */
|
|
32
|
+
onToggleShared?: () => void;
|
|
25
33
|
onOpenActivity?: () => void;
|
|
26
34
|
/** Present only when a run is waiting for access. */
|
|
27
35
|
onGrantAccess?: () => void;
|
|
28
36
|
/** Compact review controls shown inside the menu on narrow screens. */
|
|
29
37
|
reviewActions?: ReactNode | ((closeMenu: () => void) => ReactNode);
|
|
30
38
|
}
|
|
31
|
-
export declare function TaskRowMenu({ task, status, busy, isOwner, canAdmin, canEdit, labels, onMarkDone, onReopen, onAddSubtask, onEdit, onDelete, onMoveTo, onChangeOwner, onOpenActivity, onGrantAccess, reviewActions, }: TaskRowMenuProps): import("react").JSX.Element;
|
|
39
|
+
export declare function TaskRowMenu({ task, status, busy, isOwner, canAdmin, canEdit, labels, canMarkDone, canReopen, selected, onToggleSelected, onMarkDone, onReopen, onAddSubtask, onEdit, onDelete, onMoveTo, onChangeOwner, onOpenActivity, onToggleShared, onGrantAccess, reviewActions, }: TaskRowMenuProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
1
2
|
export interface TaskRunView {
|
|
2
3
|
id: string;
|
|
4
|
+
resultId?: string;
|
|
3
5
|
/** running | success | failed (others get a neutral pill). */
|
|
4
6
|
status: string;
|
|
5
7
|
/** Formatted finish (or start) time; empty for none. */
|
|
@@ -26,6 +28,9 @@ export interface TaskRunsDialogTestIds {
|
|
|
26
28
|
open: string;
|
|
27
29
|
}
|
|
28
30
|
export interface TaskRunsDialogProps {
|
|
31
|
+
inline?: boolean;
|
|
32
|
+
hideHeader?: boolean;
|
|
33
|
+
renderErrorReport?: (run: TaskRunView) => ReactNode;
|
|
29
34
|
open: boolean;
|
|
30
35
|
onOpenChange: (open: boolean) => void;
|
|
31
36
|
taskName?: string;
|
|
@@ -42,6 +47,7 @@ export interface TaskRunsDialogProps {
|
|
|
42
47
|
* workspace (`TaskResponse.workspace_ext_id`), so a host whose route needs the workspace open
|
|
43
48
|
* must switch to it first, then navigate. A run with no `conversationId` gets no Open button.
|
|
44
49
|
*/
|
|
50
|
+
onOpenResult?: (resultId: string) => void;
|
|
45
51
|
onOpenRun: (conversationId: string) => void;
|
|
46
52
|
/**
|
|
47
53
|
* The same destination as an href, so Open is a real link (middle-click, copy address, new tab).
|
|
@@ -53,7 +59,6 @@ export interface TaskRunsDialogProps {
|
|
|
53
59
|
labels?: Partial<TaskRunsDialogLabels>;
|
|
54
60
|
}
|
|
55
61
|
/**
|
|
56
|
-
*
|
|
57
|
-
* run links to the conversation where its steps / goal / answer stream in the Message timeline.
|
|
62
|
+
* Persisted automation run history. The host supplies run records and navigation to thread or document results.
|
|
58
63
|
*/
|
|
59
|
-
export declare function TaskRunsDialog({ open, onOpenChange, taskName,
|
|
64
|
+
export declare function TaskRunsDialog({ inline, renderErrorReport, hideHeader, open, onOpenChange, taskName, runs, isLoading, onOpenRun, onOpenResult, getRunHref, testIds, labels, }: TaskRunsDialogProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface TaskStartValues {
|
|
2
|
+
prompt: string;
|
|
3
|
+
workflowId: string | null;
|
|
4
|
+
todo: boolean;
|
|
5
|
+
shared: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface TaskStartDialogProps {
|
|
8
|
+
open: boolean;
|
|
9
|
+
onOpenChange: (open: boolean) => void;
|
|
10
|
+
workflows: readonly {
|
|
11
|
+
external_id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}[];
|
|
14
|
+
people?: readonly {
|
|
15
|
+
id: string;
|
|
16
|
+
label: string;
|
|
17
|
+
}[];
|
|
18
|
+
isPending?: boolean;
|
|
19
|
+
error?: string | null;
|
|
20
|
+
onStart: (values: TaskStartValues) => void | Promise<void>;
|
|
21
|
+
onLater: (values: TaskStartValues) => void;
|
|
22
|
+
}
|
|
23
|
+
/** One entry point: write a prompt, run a saved recipe, or keep a simple to-do. */
|
|
24
|
+
export declare function TaskStartDialog({ open, onOpenChange, workflows, isPending, error, onStart, onLater, }: TaskStartDialogProps): import("react").JSX.Element;
|
|
@@ -20,7 +20,7 @@ export interface TaskTableProps<T extends TaskListRow> {
|
|
|
20
20
|
onApprove: (task: T) => void;
|
|
21
21
|
onRequestChanges: (task: T, feedback: string) => void;
|
|
22
22
|
/** Ask another person to sign the task off (shown with `people`). */
|
|
23
|
-
onRequestApproval?: (task: T, userId: string, note: string) => void;
|
|
23
|
+
onRequestApproval?: (task: T, userId: string, note: string, approveCurrent?: boolean) => void;
|
|
24
24
|
/** People who can be asked to approve (humans only); also names the sign-off column. */
|
|
25
25
|
people?: {
|
|
26
26
|
id: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Notifications are invitations to follow up in the thread, without assigning a review stage. */
|
|
2
|
+
export declare function ThreadNotifyDialog({ open, onOpenChange, people, isShared, onNotify, }: {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onOpenChange: (open: boolean) => void;
|
|
5
|
+
people: readonly {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
}[];
|
|
9
|
+
isShared: boolean;
|
|
10
|
+
onNotify: (ids: string[]) => Promise<unknown>;
|
|
11
|
+
}): import("react").JSX.Element;
|
|
@@ -7,4 +7,4 @@ import { type TaskComposerProps } from './taskComposerTypes';
|
|
|
7
7
|
* access are optional and sit behind "More options". A blank name is derived from the template or the
|
|
8
8
|
* instruction and shown as the placeholder, so the Create button needs only the three required parts.
|
|
9
9
|
*/
|
|
10
|
-
export declare function WorkflowComposer({ open, onOpenChange, isEdit, workflows, agents, people, tasks, values: valuesProp, initialValues, onValuesChange, timezones, goal, standingAccess, scopeSource, renderScope, renderDocuments, addFilesAction, onDropFiles, defaultAgentId, isPending, planDrafting, hasPlan, onSubmit, renderIcon, labels, formLabels, recurrence, testId, }: TaskComposerProps): import("react").JSX.Element;
|
|
10
|
+
export declare function WorkflowComposer({ open, onOpenChange, isEdit, saveOnly, hideRunLater, workflows, agents, people, tasks, values: valuesProp, initialValues, onValuesChange, timezones, eventOptions, eventWorkflowOptions, goal, standingAccess, scopeSource, renderScope, renderDocuments, addFilesAction, onDropFiles, defaultAgentId, isPending, planDrafting, hasPlan, onSubmit, renderIcon, labels, formLabels, recurrence, testId, }: TaskComposerProps): import("react").JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
+
import { type Tab } from '../../shell/TabHeader';
|
|
2
3
|
import { type TaskPerson } from './PersonPill';
|
|
3
4
|
import { type TaskTriggerChipLabels } from './TaskTriggerChip';
|
|
4
5
|
import { type WorkflowListRow } from './workflowRows';
|
|
@@ -7,6 +8,8 @@ export interface WorkflowsTableProps<T extends WorkflowListRow> {
|
|
|
7
8
|
/** Everything the viewer can run: saved workflows, and skills as virtual rows (`kind: 'skill'`). */
|
|
8
9
|
workflows: T[];
|
|
9
10
|
isLoading?: boolean;
|
|
11
|
+
/** This page contains saved automations only; skills stay in their own library. */
|
|
12
|
+
automationsOnly?: boolean;
|
|
10
13
|
/** Human summary of when a workflow starts ("Every weekday at 9:00", "On document uploaded"). */
|
|
11
14
|
describeTrigger: (workflow: T) => string;
|
|
12
15
|
/** Friendly display of an ISO timestamp. */
|
|
@@ -56,6 +59,10 @@ export interface WorkflowsTableProps<T extends WorkflowListRow> {
|
|
|
56
59
|
isWorkspaceOwner?: boolean;
|
|
57
60
|
/** Workflow id with a request in flight: its row disables its controls. */
|
|
58
61
|
busyId?: string | null;
|
|
62
|
+
tabs?: Tab[];
|
|
63
|
+
activeTabId?: string;
|
|
64
|
+
onTabChange?: (id: string) => void;
|
|
65
|
+
content?: ReactNode;
|
|
59
66
|
header?: ReactNode;
|
|
60
67
|
gridId?: string;
|
|
61
68
|
labels?: Partial<WorkflowListLabels>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TaskActivityEvent } from './TaskActivityTimeline';
|
|
2
|
+
export interface CompactThreadActivity {
|
|
3
|
+
event: TaskActivityEvent;
|
|
4
|
+
label: string;
|
|
5
|
+
recipients: string[];
|
|
6
|
+
}
|
|
7
|
+
/** Only user-facing actions. Notification batches group by their persisted source message. */
|
|
8
|
+
export declare function compactThreadActivity(events: readonly TaskActivityEvent[]): CompactThreadActivity[];
|
|
@@ -6,6 +6,9 @@ export { RecurrenceBuilder, DEFAULT_RECURRENCE_BUILDER_LABELS, type RecurrenceBu
|
|
|
6
6
|
export * from './rrule';
|
|
7
7
|
export { STATUS_LABELS, STATUS_ORDER, STATUS_TONE, TRIGGER_LABELS, asTaskStatus, goalProgress, type TaskGoalState, type TaskStatusKey, type WorkflowTriggerType, } from './taskLabels';
|
|
8
8
|
export { TaskTable, type TaskTableProps } from './TaskTable';
|
|
9
|
+
export { TaskInbox } from './TaskInbox';
|
|
10
|
+
export { ConversationListView, filterConversationRows, type ConversationListRow, type ConversationListViewProps, } from './ConversationListView';
|
|
11
|
+
export { TaskStartDialog, type TaskStartValues, type TaskStartDialogProps } from './TaskStartDialog';
|
|
9
12
|
export { DEFAULT_TASK_LIST_LABELS, type TaskListLabels } from './taskTableLabels';
|
|
10
13
|
export { createTaskColumns, TASK_COLUMN_ORDER, type CreateTaskColumnsOptions } from './taskColumns';
|
|
11
14
|
export { NewThreadDialog, DEFAULT_NEW_THREAD_DIALOG_LABELS, type NewThreadDialogProps, type NewThreadDialogLabels, } from './NewThreadDialog';
|
|
@@ -19,6 +22,8 @@ export { PersonPill, type PersonPillProps, type TaskPerson } from './PersonPill'
|
|
|
19
22
|
export { TaskStatusPill, DEFAULT_TASK_STATUS_PILL_LABELS, type TaskStatusPillProps, type TaskStatusPillLabels, } from './TaskStatusPill';
|
|
20
23
|
export { TaskActivityTimeline, DEFAULT_TASK_ACTIVITY_LABELS, type TaskActivityEvent, type TaskActivityKind, type TaskActivityLabels, type TaskActivityTimelineProps, } from './TaskActivityTimeline';
|
|
21
24
|
export { TaskActivityDialog, type TaskActivityDialogProps } from './TaskActivityDialog';
|
|
25
|
+
export { TaskFlow, ThreadActivity, type TaskFlowItem } from './TaskFlow';
|
|
26
|
+
export { compactThreadActivity, type CompactThreadActivity } from './compact-thread-activity';
|
|
22
27
|
export { TaskOutputsCell, DEFAULT_TASK_OUTPUTS_CELL_LABELS, type TaskOutput, type TaskOutputsCellProps, type TaskOutputsCellLabels, } from './TaskOutputsCell';
|
|
23
28
|
export { TaskThreadChip, DEFAULT_TASK_THREAD_CHIP_LABELS, type TaskThreadChipProps, type TaskThreadChipLabels, } from './TaskThreadChip';
|
|
24
29
|
export { TaskTriggerChip, DEFAULT_TASK_TRIGGER_CHIP_LABELS, type TaskTriggerChipProps, type TaskTriggerChipLabels, } from './TaskTriggerChip';
|
|
@@ -28,3 +33,8 @@ export { TasksToolbar, DEFAULT_TASKS_CHROME_LABELS, type TasksChromeLabels, type
|
|
|
28
33
|
export { TaskComposer, DEFAULT_TASK_COMPOSER_LABELS, defaultTaskComposerValues, type TaskComposerProps, type TaskComposerLabels, type TaskComposerValues, type TaskOption, type PersonOption, type TaskWhen, type TaskAccessMode, type TaskAssignee, } from './TaskComposer';
|
|
29
34
|
export { authModeFor, workflowTaskFields, isAgenticWorkflow, createsWork, EMPTY_NEW_THREAD, hasTaskFields, newThreadToRequest, type NewThreadRequest, type NewThreadValues, deriveWorkflowName, firstWords, DERIVED_NAME_WORDS, composerToWorkRequest, composerToTaskQuery, inputDocumentIds, composerToWorkflowRequest, composerToWorkflowUpdate, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskToComposerValues, workflowToComposerValues, workflowWhen, taskNeedsAccess, isoToLocalInput, localInputToIso, type TaskAuthMode, type ComposerCreate, type TaskQuery, type ThreadQuery, type WorkflowTaskFields, type TaskRequestContext, type TaskValuesWorkflows, } from './taskRequest';
|
|
30
35
|
export { PillSelect, DEFAULT_PILL_SELECT_LABELS, type PillSelectProps, type PillSelectLabels, type PillOption, } from './PillSelect';
|
|
36
|
+
export { TaskReviewDialog } from './TaskReviewDialog';
|
|
37
|
+
export type { TaskReviewDecision, TaskReviewDialogProps } from './TaskReviewDialog';
|
|
38
|
+
export type { TaskInboxProps, TaskInboxWorkflow, TaskInboxWorkflowActions } from './TaskInbox';
|
|
39
|
+
export { ThreadNotifyDialog } from './ThreadNotifyDialog';
|
|
40
|
+
export { ConversationTurnSpeaker, type TurnSpeakerProfile } from './ConversationTurnSpeaker';
|
|
@@ -163,6 +163,10 @@ export interface TaskComposerProps {
|
|
|
163
163
|
* the task-only properties (due date, parent) are hidden.
|
|
164
164
|
*/
|
|
165
165
|
kind?: 'work' | 'workflow';
|
|
166
|
+
/** Saving a reusable workflow; on-demand creates a recipe rather than starting work. */
|
|
167
|
+
saveOnly?: boolean;
|
|
168
|
+
/** Hide the "Run later" button (scheduling is off): a workflow can only be started now. */
|
|
169
|
+
hideRunLater?: boolean;
|
|
166
170
|
/**
|
|
167
171
|
* Editing an existing task, or a workflow. A task keeps the start and assistant it was created with;
|
|
168
172
|
* a workflow can change both.
|
|
@@ -185,6 +189,15 @@ export interface TaskComposerProps {
|
|
|
185
189
|
initialValues?: Partial<TaskComposerValues>;
|
|
186
190
|
onValuesChange?: (values: TaskComposerValues) => void;
|
|
187
191
|
timezones?: string[];
|
|
192
|
+
/** Supported event triggers, supplied by the host instead of asking users for backend codes. */
|
|
193
|
+
eventOptions?: readonly {
|
|
194
|
+
id: string;
|
|
195
|
+
label: string;
|
|
196
|
+
}[];
|
|
197
|
+
eventWorkflowOptions?: readonly {
|
|
198
|
+
id: string;
|
|
199
|
+
label: string;
|
|
200
|
+
}[];
|
|
188
201
|
/** The plan editor, shown inline when the assistant is configured. Omit when not applicable. */
|
|
189
202
|
goal?: ReactNode | ((values: TaskComposerValues) => ReactNode);
|
|
190
203
|
/** What "always allowed" means for this assistant (e.g. the workspaces it will hold standing access to). */
|
|
@@ -194,7 +207,9 @@ export interface TaskComposerProps {
|
|
|
194
207
|
planDrafting?: boolean;
|
|
195
208
|
/** The plan already stored (an edit): the toggle offers to show it rather than to add one. */
|
|
196
209
|
hasPlan?: boolean;
|
|
197
|
-
onSubmit: (values: TaskComposerValues
|
|
210
|
+
onSubmit: (values: TaskComposerValues, options?: {
|
|
211
|
+
runOnce?: boolean;
|
|
212
|
+
}) => void;
|
|
198
213
|
/**
|
|
199
214
|
* The workspace's files behind `scope` fields (the folder/label picker) and a `documents` field (an
|
|
200
215
|
* explicit pick). The host owns the file data; without these those fields render nothing. A scope pick
|
|
@@ -33,6 +33,7 @@ export declare function isoToLocalInput(iso: string | null | undefined): string;
|
|
|
33
33
|
export interface WorkflowTaskFields {
|
|
34
34
|
/** The title of the work or the name of the workflow. */
|
|
35
35
|
name: string;
|
|
36
|
+
action?: Schemas['DocumentAutomationAction'];
|
|
36
37
|
prompt: string;
|
|
37
38
|
skill_ref: string | null;
|
|
38
39
|
/** The skill's saved inputs (only for a skill). */
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type ComponentType } from 'react';
|
|
2
|
+
type Row = {
|
|
3
|
+
id?: string;
|
|
4
|
+
external_id?: string;
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
};
|
|
7
|
+
type Column = {
|
|
8
|
+
colId?: string;
|
|
9
|
+
field?: string;
|
|
10
|
+
cellRenderer?: ComponentType<{
|
|
11
|
+
data: Row;
|
|
12
|
+
value: unknown;
|
|
13
|
+
}>;
|
|
14
|
+
};
|
|
15
|
+
/** Exercise host column renderers without depending on jsdom layout measurements. */
|
|
16
|
+
export declare function TestGrid({ items, columnDefs, getRowTestId, emptyState, }: {
|
|
17
|
+
items: Row[];
|
|
18
|
+
columnDefs: Column[];
|
|
19
|
+
getRowTestId?: (row: Row) => string;
|
|
20
|
+
emptyState?: {
|
|
21
|
+
title: string;
|
|
22
|
+
};
|
|
23
|
+
}): import("react").JSX.Element;
|
|
24
|
+
export {};
|
|
@@ -7,7 +7,7 @@ import type { ReactNode } from 'react';
|
|
|
7
7
|
import type { ColDef } from 'ag-grid-community';
|
|
8
8
|
import { type WorkflowListRow } from './workflowRows';
|
|
9
9
|
import type { WorkflowListLabels } from './workflowTableLabels';
|
|
10
|
-
export declare const WORKFLOW_COLUMN_ORDER: readonly ["name", "trigger", "last_run", "status", "shared", "actions"];
|
|
10
|
+
export declare const WORKFLOW_COLUMN_ORDER: readonly ["name", "trigger", "last_run", "result", "status", "shared", "actions"];
|
|
11
11
|
export type WorkflowColumnId = (typeof WORKFLOW_COLUMN_ORDER)[number];
|
|
12
12
|
export interface CreateWorkflowColumnsOptions<T extends WorkflowListRow> {
|
|
13
13
|
labels: WorkflowListLabels;
|
|
@@ -16,6 +16,7 @@ export interface CreateWorkflowColumnsOptions<T extends WorkflowListRow> {
|
|
|
16
16
|
renderStatus: (workflow: T) => ReactNode;
|
|
17
17
|
renderShared: (workflow: T) => ReactNode;
|
|
18
18
|
renderLastRun: (workflow: T) => ReactNode;
|
|
19
|
+
renderResult: (workflow: T) => ReactNode;
|
|
19
20
|
renderActions: (workflow: T) => ReactNode;
|
|
20
21
|
/** Plain text of the trigger cell, for sorting and the clipboard. */
|
|
21
22
|
getTriggerText: (workflow: T) => string;
|
|
@@ -19,11 +19,15 @@ export interface WorkflowListRow {
|
|
|
19
19
|
after_conversation_ext_id?: string | null;
|
|
20
20
|
/** No trigger of its own: it only runs when someone presses Run. */
|
|
21
21
|
on_demand?: boolean | null;
|
|
22
|
+
action?: {
|
|
23
|
+
type: string;
|
|
24
|
+
} | null;
|
|
22
25
|
prompt?: string | null;
|
|
23
26
|
skill_ref?: string | null;
|
|
24
27
|
agent_ext_id?: string | null;
|
|
25
28
|
last_fired_at?: string | null;
|
|
26
29
|
next_fire_at?: string | null;
|
|
30
|
+
last_run_status?: string | null;
|
|
27
31
|
last_error?: string | null;
|
|
28
32
|
/** False for a teammate's shared workflow: they can see it, but not change who sees it or delete it. */
|
|
29
33
|
is_owner?: boolean | null;
|
|
@@ -42,3 +46,5 @@ export declare const hasTrigger: (row: WorkflowListRow) => boolean;
|
|
|
42
46
|
export declare function workflowStatus(row: WorkflowListRow): WorkflowStatusKey;
|
|
43
47
|
/** What starts a workflow: another task being done, an event, a repeat, a single moment, or nothing. */
|
|
44
48
|
export declare function workflowTriggerType(workflow: WorkflowListRow): WorkflowTriggerType;
|
|
49
|
+
/** Execution results are independent of an automation's Active/Paused state. */
|
|
50
|
+
export declare function workflowRunStatusLabel(status?: string | null): string;
|
|
@@ -73,6 +73,8 @@ export type WorkflowRun =
|
|
|
73
73
|
kind: 'operation';
|
|
74
74
|
};
|
|
75
75
|
export interface WorkflowDefinition {
|
|
76
|
+
/** Execute a document operation directly, without creating a chat. */
|
|
77
|
+
documentAction?: 'annotate_documents' | 'email_documents';
|
|
76
78
|
/** The skill slug. */
|
|
77
79
|
id: string;
|
|
78
80
|
title: string;
|