@arbidocs/blocks 0.4.84 → 0.4.86
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/MailBodyEditor-5PIQLYVY.js +217 -0
- package/dist/MailBodyEditor-5PIQLYVY.js.map +1 -0
- package/dist/MailBodyEditor-D7MGJMLH.cjs +223 -0
- package/dist/MailBodyEditor-D7MGJMLH.cjs.map +1 -0
- package/dist/agents/index.cjs +282 -281
- package/dist/agents/index.js +7 -6
- package/dist/agents/workflows/StepBarFrame.d.ts +3 -1
- package/dist/agents/workflows/WorkflowRunner.d.ts +10 -1
- package/dist/agents/workflows/run.d.ts +24 -3
- package/dist/agents/workflows/stepWindow.d.ts +4 -2
- package/dist/agents/workflows/types.d.ts +5 -0
- package/dist/agents/workflows/useWorkflowView.d.ts +16 -1
- package/dist/chat/index.cjs +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/chunk-3R6XBYL7.cjs +576 -0
- package/dist/chunk-3R6XBYL7.cjs.map +1 -0
- package/dist/{chunk-CKB64Z4R.js → chunk-4XJZ6AAY.js} +6 -245
- package/dist/chunk-4XJZ6AAY.js.map +1 -0
- package/dist/{chunk-B3WCKBJ7.cjs → chunk-5YXG342J.cjs} +6 -18
- package/dist/chunk-5YXG342J.cjs.map +1 -0
- package/dist/{chunk-SB5ZKOYN.js → chunk-7C35WXYB.js} +4 -63
- package/dist/chunk-7C35WXYB.js.map +1 -0
- package/dist/chunk-7RJTEWYM.js +362 -0
- package/dist/chunk-7RJTEWYM.js.map +1 -0
- package/dist/chunk-AFSOUS5X.cjs +253 -0
- package/dist/chunk-AFSOUS5X.cjs.map +1 -0
- package/dist/{chunk-F4RUCUXF.cjs → chunk-C2HRZSAT.cjs} +2 -63
- package/dist/chunk-C2HRZSAT.cjs.map +1 -0
- package/dist/{chunk-XA5S4776.cjs → chunk-IHYVK6F7.cjs} +52 -51
- package/dist/chunk-IHYVK6F7.cjs.map +1 -0
- package/dist/{chunk-CONIA2ZA.js → chunk-KHY4PYU7.js} +246 -146
- package/dist/chunk-KHY4PYU7.js.map +1 -0
- package/dist/chunk-LGX6UFYG.js +557 -0
- package/dist/chunk-LGX6UFYG.js.map +1 -0
- package/dist/chunk-O4YPVYPO.cjs +373 -0
- package/dist/chunk-O4YPVYPO.cjs.map +1 -0
- package/dist/chunk-R26OHONI.js +250 -0
- package/dist/chunk-R26OHONI.js.map +1 -0
- package/dist/{chunk-RYYYHPFU.cjs → chunk-RZUMQM7W.cjs} +246 -146
- package/dist/chunk-RZUMQM7W.cjs.map +1 -0
- package/dist/{chunk-RX35SMPR.js → chunk-S2NFD4QV.js} +8 -7
- package/dist/chunk-S2NFD4QV.js.map +1 -0
- package/dist/{chunk-YJQVLVBJ.cjs → chunk-S5HZBXZA.cjs} +2 -243
- package/dist/chunk-S5HZBXZA.cjs.map +1 -0
- package/dist/{chunk-GJV2G4FC.js → chunk-W7NZRZ54.js} +6 -18
- package/dist/chunk-W7NZRZ54.js.map +1 -0
- package/dist/{chunk-ZQYE7J3J.cjs → chunk-WRSBM6QN.cjs} +332 -94
- package/dist/chunk-WRSBM6QN.cjs.map +1 -0
- package/dist/{chunk-RSKSXEPW.js → chunk-X23U6QEJ.js} +324 -88
- package/dist/chunk-X23U6QEJ.js.map +1 -0
- package/dist/collaboration/index.cjs +100 -49
- package/dist/collaboration/index.js +4 -1
- package/dist/collaboration/mail/MailBodyEditor.d.ts +7 -0
- package/dist/collaboration/mail/MailDeliveryList.d.ts +8 -0
- package/dist/collaboration/mail/MailDocumentPicker.d.ts +15 -0
- package/dist/collaboration/mail/MailGrid.d.ts +17 -0
- package/dist/collaboration/mail/MailMessageView.d.ts +27 -0
- package/dist/collaboration/mail/PlainMailBodyEditor.d.ts +12 -0
- package/dist/collaboration/mail/index.d.ts +6 -0
- package/dist/collaboration/mail/mailCompose.d.ts +24 -0
- package/dist/connect/index.cjs +1673 -96
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +2 -1
- package/dist/connect/index.js +1634 -63
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedSettings.d.ts +1 -4
- package/dist/connection/ConnectedTagTable.d.ts +32 -0
- package/dist/connection/mail/ConnectedMailAccounts.d.ts +21 -0
- package/dist/connection/mail/ConnectedMailComposer.d.ts +40 -0
- package/dist/connection/mail/ConnectedMailSetup.d.ts +16 -0
- package/dist/connection/mail/ConnectedMailbox.d.ts +65 -0
- package/dist/connection/mail/MailComposerForm.d.ts +25 -0
- package/dist/connection/mail/attachments.d.ts +13 -0
- package/dist/connection/mail/index.d.ts +6 -0
- package/dist/connection/mail/mailbox.d.ts +6 -0
- package/dist/connection/mail/types.d.ts +92 -0
- package/dist/connection/useConnectedWorkNotifications.d.ts +6 -0
- package/dist/connection/useWorkflowThread.d.ts +7 -2
- package/dist/facts/index.cjs +3 -3
- package/dist/facts/index.js +3 -3
- package/dist/files/index.cjs +48 -368
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +11 -361
- package/dist/files/index.js.map +1 -1
- package/dist/home/index.cjs +1 -1
- package/dist/home/index.js +1 -1
- package/dist/index.cjs +496 -437
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +23 -20
- package/dist/index.js.map +1 -1
- package/dist/settings/PasswordChangeDialog.d.ts +9 -12
- package/dist/settings/index.cjs +44 -43
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.js +3 -2
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/index.cjs +2 -2
- package/dist/shell/index.js +2 -2
- package/dist/studio/index.cjs +1 -1
- package/dist/studio/index.js +1 -1
- package/dist/tags/TagColumnsEditor.d.ts +34 -0
- package/dist/tags/TagDetail.d.ts +13 -11
- package/dist/tags/TagTable.d.ts +99 -0
- package/dist/tags/TagsNav.d.ts +2 -2
- package/dist/tags/index.d.ts +7 -5
- package/dist/tags/{tagMatrixDocx.d.ts → tagTableDocx.d.ts} +12 -12
- package/dist/tags/tagTableModel.d.ts +47 -0
- package/dist/workflow-canvas/index.cjs +50 -49
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.js +7 -6
- package/dist/workflow-canvas/index.js.map +1 -1
- package/package.json +29 -4
- package/dist/chunk-B3WCKBJ7.cjs.map +0 -1
- package/dist/chunk-CKB64Z4R.js.map +0 -1
- package/dist/chunk-CONIA2ZA.js.map +0 -1
- package/dist/chunk-F4RUCUXF.cjs.map +0 -1
- package/dist/chunk-GJV2G4FC.js.map +0 -1
- package/dist/chunk-RSKSXEPW.js.map +0 -1
- package/dist/chunk-RX35SMPR.js.map +0 -1
- package/dist/chunk-RYYYHPFU.cjs.map +0 -1
- package/dist/chunk-SB5ZKOYN.js.map +0 -1
- package/dist/chunk-XA5S4776.cjs.map +0 -1
- package/dist/chunk-YJQVLVBJ.cjs.map +0 -1
- package/dist/chunk-ZQYE7J3J.cjs.map +0 -1
- package/dist/connection/ConnectedTagMatrix.d.ts +0 -23
- package/dist/tags/TagMatrix.d.ts +0 -87
- package/dist/tags/tagMatrixModel.d.ts +0 -43
package/dist/agents/index.js
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
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, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskActivityTimeline, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadNotifyDialog, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isoToLocalInput, linkedRunsFromActivity, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, skillSlug, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowFromSkillMarkdown, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowToSkillMarkdown, workflowTriggerType, workflowWhen } from '../chunk-
|
|
3
|
-
import '../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_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskActivityTimeline, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadNotifyDialog, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isoToLocalInput, linkedRunsFromActivity, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, skillSlug, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowFromSkillMarkdown, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowToSkillMarkdown, workflowTriggerType, workflowWhen } from '../chunk-S2NFD4QV.js';
|
|
3
|
+
import '../chunk-4XJZ6AAY.js';
|
|
4
4
|
import '../chunk-P6GHJSLR.js';
|
|
5
|
-
export { ActionStepBody, ApprovalEvidence, AssigneeLine, DEFAULT_ASSIGNEE_WORDING, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, EMPTY_WORKFLOW_SCOPE, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, SchemaForm, SendBackControl, WorkflowRunner, activeStepId, assigneeName, buildLaunch, canAssign, composeStepPrompt, composeWorkflowPrompt, defaultInputs, dependsOn, fieldToFrontmatter, fillRunText, fillStepInputs, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, initialRunInputs, inputsFromContext, isEmptyWorkflowScope, isIncompleteSignal, isPersonAction, isPersonStep, isRunFinished, isSteppedWorkflow, isWorkflowScope, layoutFromPlanSteps, nextAction, orderSteps, promptFieldName, reviewInstructions, runFields, runFieldsOf, runThreadTitle, sendBackTargets, skillToWorkflow, splitDocRef, stepConfigProblems, stepDependencies, stepFields, stepLevels, stepPhase, stepStatesFromActivity, stepWindow, toPlanAssignee, toPlanDocumentRef, toPlanSteps, upstreamSteps, useWorkflowView, validateInputs, validateStep, validateWorkflowGraph, workflowAccepts, workflowFromFrontmatter, workflowSteps, workflowsAccepting, workflowsForHost } from '../chunk-
|
|
5
|
+
export { ActionStepBody, ApprovalEvidence, AssigneeLine, DEFAULT_ASSIGNEE_WORDING, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, EMPTY_WORKFLOW_SCOPE, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, SchemaForm, SendBackControl, WorkflowRunner, activeStepId, assigneeName, buildLaunch, canAssign, composeStepPrompt, composeWorkflowPrompt, defaultInputs, dependsOn, fieldToFrontmatter, fillRunText, fillStepInputs, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, initialRunInputs, inputsFromContext, isEmptyWorkflowScope, isIncompleteSignal, isPersonAction, isPersonStep, isRunFinished, isSteppedWorkflow, isWorkflowScope, layoutFromPlanSteps, nextAction, orderSteps, promptFieldName, reviewInstructions, runFields, runFieldsOf, runThreadTitle, sendBackTargets, skillToWorkflow, splitDocRef, stepConfigProblems, stepDependencies, stepFields, stepLevels, stepPhase, stepStatesFromActivity, stepWindow, toPlanAssignee, toPlanDocumentRef, toPlanSteps, upstreamSteps, useWorkflowView, validateInputs, validateStep, validateWorkflowGraph, workflowAccepts, workflowFromFrontmatter, workflowSteps, workflowsAccepting, workflowsForHost } from '../chunk-KHY4PYU7.js';
|
|
6
|
+
import '../chunk-R26OHONI.js';
|
|
6
7
|
import '../chunk-4WWM3GQ5.js';
|
|
7
8
|
import '../chunk-RFXJYIDV.js';
|
|
8
9
|
import '../chunk-DPLRHEJZ.js';
|
|
9
10
|
import '../chunk-EVUEIBNU.js';
|
|
10
11
|
import '../chunk-NUNKSZKU.js';
|
|
11
12
|
import '../chunk-YU2KUMGE.js';
|
|
12
|
-
import '../chunk-ZPLG7QYF.js';
|
|
13
13
|
import '../chunk-DDF5GPIJ.js';
|
|
14
14
|
import '../chunk-XD2M6LIG.js';
|
|
15
15
|
import '../chunk-S7PSMMRG.js';
|
|
16
|
+
import '../chunk-76JDDMSP.js';
|
|
16
17
|
import '../chunk-HOXKR26S.js';
|
|
17
18
|
import '../chunk-AA3PT6KR.js';
|
|
18
|
-
import '../chunk-SLSBJRWW.js';
|
|
19
19
|
import '../chunk-NPLYHR2E.js';
|
|
20
|
-
import '../chunk-76JDDMSP.js';
|
|
21
20
|
import '../chunk-OXF2IFXG.js';
|
|
22
21
|
import '../chunk-TX2ZICS7.js';
|
|
22
|
+
import '../chunk-ZPLG7QYF.js';
|
|
23
|
+
import '../chunk-SLSBJRWW.js';
|
|
23
24
|
import '../chunk-7F6CBP3Z.js';
|
|
24
25
|
import '../chunk-VUNV25KB.js';
|
|
25
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* thread): `‹ … [previous] [CURRENT] [next] … ›`, from `stepWindow`. Each visible level shows one
|
|
4
4
|
* step by name (its pill is the host's), a parallel level adds a "+N" chip that lists the group,
|
|
5
5
|
* "…" on either side lists every step, and every running step the window does not show gets a
|
|
6
|
-
* "Working: <title>" pill at the end. The bar is a nav landmark; ←/→ (Home/End) move the window.
|
|
6
|
+
* "Working: <title>" pill at the end, every failed one a "Failed: <title>" pill. The bar is a nav landmark; ←/→ (Home/End) move the window.
|
|
7
7
|
*/
|
|
8
8
|
import { type ReactNode } from 'react';
|
|
9
9
|
import type { WorkflowStepPhase } from './run';
|
|
@@ -29,6 +29,8 @@ export interface StepBarLabels {
|
|
|
29
29
|
working: string;
|
|
30
30
|
/** Several more running out of view; `{count}` is replaced. */
|
|
31
31
|
moreWorking: string;
|
|
32
|
+
/** A failed step out of view; `{title}` is replaced. */
|
|
33
|
+
failedStep: string;
|
|
32
34
|
/** A step that waits for someone; `{name}` is replaced. */
|
|
33
35
|
waitingFor: string;
|
|
34
36
|
phases: Record<WorkflowStepPhase, string>;
|
|
@@ -12,7 +12,6 @@ import type { WorkflowAgentStep, WorkflowDefinition, WorkflowReviewStep, Workflo
|
|
|
12
12
|
export interface WorkflowRunnerLabels {
|
|
13
13
|
back: string;
|
|
14
14
|
next: string;
|
|
15
|
-
skip: string;
|
|
16
15
|
/** Skips the step in view (any unfinished step: the plan guides the thread, it does not hold it). */
|
|
17
16
|
skipStep: string;
|
|
18
17
|
finish: string;
|
|
@@ -22,8 +21,18 @@ export interface WorkflowRunnerLabels {
|
|
|
22
21
|
stepWorking: string;
|
|
23
22
|
/** An agent step about to start (the run will pick it up). */
|
|
24
23
|
starting: string;
|
|
24
|
+
/** The primary button on a ready agent or action step nothing has started (no run under way). */
|
|
25
|
+
start: string;
|
|
26
|
+
/** A ready agent or action step not started yet, waiting for Start. */
|
|
27
|
+
notStarted: string;
|
|
25
28
|
retry: string;
|
|
26
29
|
failed: string;
|
|
30
|
+
/** A step waiting on one that failed; `{step}` is its title, `{error}` why it failed. */
|
|
31
|
+
upstreamFailed: string;
|
|
32
|
+
/** A step going on without one that failed and was skipped; `{step}` and `{error}` as above. */
|
|
33
|
+
upstreamSkippedAfterFailure: string;
|
|
34
|
+
/** A skipped step that had failed; `{error}` is why. */
|
|
35
|
+
skippedAfterFailure: string;
|
|
27
36
|
/** A step whose dependencies have not finished; `{steps}` is replaced with their titles. */
|
|
28
37
|
blocked: string;
|
|
29
38
|
awaitingReview: string;
|
|
@@ -90,12 +90,33 @@ export declare const canAssign: (step: WorkflowStep) => boolean;
|
|
|
90
90
|
* What the primary button does on the step in view:
|
|
91
91
|
* - `complete`: finish this form, upload or review (approve) and move on;
|
|
92
92
|
* - `move`: view the next step: this one is finished, or the next does not wait for it;
|
|
93
|
-
* - `
|
|
93
|
+
* - `start`: start this agent or action step: it is ready but no run is under way to start it
|
|
94
|
+
* (the run has no thread yet, or the server could not start it);
|
|
95
|
+
* - `retry`: run this failed step again (what waits for it needs its result; skipping it is the
|
|
96
|
+
* person's explicit choice, never the primary button);
|
|
94
97
|
* - `finish`: show the completion (every step has finished);
|
|
95
98
|
* - `wait`: nothing yet (this step is under way and the next waits for it, or it is blocked).
|
|
96
99
|
*/
|
|
97
|
-
export type WorkflowNextAction = 'complete' | 'move' | '
|
|
98
|
-
export
|
|
100
|
+
export type WorkflowNextAction = 'complete' | 'move' | 'start' | 'retry' | 'finish' | 'wait';
|
|
101
|
+
export interface NextActionOptions {
|
|
102
|
+
/**
|
|
103
|
+
* No run is under way to start a ready agent or action step: the run's thread does not exist
|
|
104
|
+
* yet (a run whose first open step is an agent step), or the server is not running it.
|
|
105
|
+
*/
|
|
106
|
+
needsStart?: boolean;
|
|
107
|
+
/** The host can run a failed step again. */
|
|
108
|
+
canRetry?: boolean;
|
|
109
|
+
}
|
|
110
|
+
export declare function nextAction(steps: WorkflowStep[], states: Record<string, WorkflowStepState>, current: string | null, { needsStart, canRetry }?: NextActionOptions): WorkflowNextAction;
|
|
111
|
+
/**
|
|
112
|
+
* The steps `id` waits for (directly or through others) that failed: still failed (so `id` is
|
|
113
|
+
* blocked until they are retried), or skipped after failing (so `id` goes on without their
|
|
114
|
+
* result). In plan order.
|
|
115
|
+
*/
|
|
116
|
+
export declare function failedUpstream(steps: WorkflowStep[], states: Record<string, WorkflowStepState>, id: string): Array<{
|
|
117
|
+
step: WorkflowStep;
|
|
118
|
+
state: WorkflowStepState;
|
|
119
|
+
}>;
|
|
99
120
|
/** A form's or a fielded review's problems (empty = it can move on); other steps have none. */
|
|
100
121
|
export declare function validateStep(step: WorkflowStep, inputs: WorkflowInputs): WorkflowErrors;
|
|
101
122
|
/** Every step `id` waits for, directly or through others, in plan order. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* What a step bar shows of a run: a window of a few levels of the graph (`stepLevels`) around the
|
|
3
3
|
* step in view — previous, current, next — with how many steps it hides on either side, each
|
|
4
|
-
* parallel level collapsed to one primary step plus the rest, and the running steps the
|
|
5
|
-
* does not show (so work that is still going on is never out of sight). Pure: both bars
|
|
4
|
+
* parallel level collapsed to one primary step plus the rest, and the running and failed steps the
|
|
5
|
+
* window does not show (so work that is still going on, or broke, is never out of sight). Pure: both bars
|
|
6
6
|
* (`WorkflowStepBar` in a runner, `WorkflowThreadStrip` on a thread) render from it.
|
|
7
7
|
*/
|
|
8
8
|
import type { WorkflowStepPhase } from './run';
|
|
@@ -44,6 +44,8 @@ export interface StepWindow<T extends StepWindowStep> {
|
|
|
44
44
|
canForward: boolean;
|
|
45
45
|
/** Running steps the bar does not show: outside the window, or collapsed in a group. */
|
|
46
46
|
runningHidden: T[];
|
|
47
|
+
/** Failed steps the bar does not show, likewise: a failure is always in sight. */
|
|
48
|
+
failedHidden: T[];
|
|
47
49
|
/** 1-based position of the step in view among all steps, and how many there are. */
|
|
48
50
|
position: number;
|
|
49
51
|
total: number;
|
|
@@ -316,6 +316,11 @@ export interface WorkflowStepState {
|
|
|
316
316
|
/** The answer's text, once read. */
|
|
317
317
|
text?: string;
|
|
318
318
|
error?: string | null;
|
|
319
|
+
/**
|
|
320
|
+
* Skipped while it stood failed (`error` keeps why it failed): what waits for it goes on
|
|
321
|
+
* without its result.
|
|
322
|
+
*/
|
|
323
|
+
skippedAfterFailure?: boolean;
|
|
319
324
|
/** When it started running (ISO), for the elapsed time while it runs. */
|
|
320
325
|
startedAt?: string;
|
|
321
326
|
/** An action step's type, once it has started. */
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* the builder's preview): this hook gets each step's state and the host's actions, so every host
|
|
5
5
|
* shows a run the same way (`WorkflowRunner`).
|
|
6
6
|
*/
|
|
7
|
-
import { type WorkflowNextAction, type WorkflowStepPhase } from './run';
|
|
7
|
+
import { failedUpstream, type WorkflowNextAction, type WorkflowStepPhase } from './run';
|
|
8
8
|
import type { WorkflowErrors, WorkflowInputValue, WorkflowInputs, WorkflowStep, WorkflowStepState } from './types';
|
|
9
9
|
export interface UseWorkflowViewOptions {
|
|
10
10
|
steps: WorkflowStep[];
|
|
@@ -18,6 +18,15 @@ export interface UseWorkflowViewOptions {
|
|
|
18
18
|
skip: (stepId: string) => Promise<void>;
|
|
19
19
|
/** Run a failed agent step again. */
|
|
20
20
|
retry?: (stepId: string) => Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* Start the run's ready agent or action step when nothing else will (`needsStart`): create the
|
|
23
|
+
* run's thread, or ask the server to run it again. Absent = the host's runs start by themselves.
|
|
24
|
+
*/
|
|
25
|
+
start?: () => Promise<void>;
|
|
26
|
+
/** No run is under way to start a ready agent or action step (see `start`). */
|
|
27
|
+
needsStart?: boolean;
|
|
28
|
+
/** Why the run could not start or go on, as the server said (shown on a step not started). */
|
|
29
|
+
runError?: string | null;
|
|
21
30
|
/** A form step whose inputs can no longer change (committed, or recorded on the thread). */
|
|
22
31
|
isLocked?: (stepId: string) => boolean;
|
|
23
32
|
/**
|
|
@@ -43,6 +52,8 @@ export interface WorkflowRunView {
|
|
|
43
52
|
setInput: (name: string, value: WorkflowInputValue) => void;
|
|
44
53
|
stateOf: (stepId: string) => WorkflowStepState | undefined;
|
|
45
54
|
phaseOf: (stepId: string) => WorkflowStepPhase;
|
|
55
|
+
/** The steps `stepId` waits for that failed (still, or skipped after failing). */
|
|
56
|
+
failedUpstreamOf: (stepId: string) => ReturnType<typeof failedUpstream>;
|
|
46
57
|
isLocked: (stepId: string) => boolean;
|
|
47
58
|
/** The form step in view's problems, shown once moving on was attempted. */
|
|
48
59
|
errors: WorkflowErrors;
|
|
@@ -51,6 +62,10 @@ export interface WorkflowRunView {
|
|
|
51
62
|
actionError: string | null;
|
|
52
63
|
/** Some agent step is running. */
|
|
53
64
|
isRunning: boolean;
|
|
65
|
+
/** A ready agent or action step starts only when the person starts it (`action` is `start`). */
|
|
66
|
+
needsStart: boolean;
|
|
67
|
+
/** Why the run could not start or go on, as the server said. */
|
|
68
|
+
runError: string | null;
|
|
54
69
|
action: WorkflowNextAction;
|
|
55
70
|
canBack: boolean;
|
|
56
71
|
next: () => Promise<void>;
|
package/dist/chat/index.cjs
CHANGED
|
@@ -7,9 +7,9 @@ var chunkMP6FK43E_cjs = require('../chunk-MP6FK43E.cjs');
|
|
|
7
7
|
require('../chunk-VGOFFCMT.cjs');
|
|
8
8
|
var chunkB4SRYJLM_cjs = require('../chunk-B4SRYJLM.cjs');
|
|
9
9
|
var chunk7UTB4PHM_cjs = require('../chunk-7UTB4PHM.cjs');
|
|
10
|
-
require('../chunk-FX3K6LNZ.cjs');
|
|
11
10
|
require('../chunk-PPCATBOY.cjs');
|
|
12
11
|
require('../chunk-KDG6FER6.cjs');
|
|
12
|
+
require('../chunk-FX3K6LNZ.cjs');
|
|
13
13
|
require('../chunk-MHVNT4J3.cjs');
|
|
14
14
|
require('../chunk-DES3K4SD.cjs');
|
|
15
15
|
|
package/dist/chat/index.js
CHANGED
|
@@ -5,9 +5,9 @@ export { AssistantDock, AssistantDockToggle, AssistantModeToggle, ChatDocuments,
|
|
|
5
5
|
import '../chunk-KZJAG7T3.js';
|
|
6
6
|
export { useMentionAutocomplete } from '../chunk-HOXKR26S.js';
|
|
7
7
|
export { DEFAULT_MENTION_LABELS, MENTION_HREF_PREFIX, MentionChip, MentionMenu, extractMentions, filterMentionCandidates, findMentionQuery, insertMention, linkMentions, mentionFromHref, toMessageMentions, useListKeyNav } from '../chunk-AA3PT6KR.js';
|
|
8
|
-
import '../chunk-SLSBJRWW.js';
|
|
9
8
|
import '../chunk-NPLYHR2E.js';
|
|
10
9
|
import '../chunk-OXF2IFXG.js';
|
|
10
|
+
import '../chunk-SLSBJRWW.js';
|
|
11
11
|
import '../chunk-7F6CBP3Z.js';
|
|
12
12
|
import '../chunk-VUNV25KB.js';
|
|
13
13
|
//# sourceMappingURL=index.js.map
|