@arbidocs/blocks 0.4.136 → 0.4.137
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 +380 -373
- package/dist/agents/index.js +11 -12
- package/dist/agents/workflows/WorkflowDocumentsField.d.ts +42 -5
- package/dist/agents/workflows/index.d.ts +2 -2
- package/dist/agents/workflows/workspaceScope.d.ts +12 -0
- package/dist/calls/index.cjs +3 -3
- package/dist/calls/index.js +2 -2
- package/dist/chat/index.cjs +139 -139
- package/dist/chat/index.js +4 -4
- package/dist/chunk-2KUCVSFF.js +51 -0
- package/dist/chunk-2KUCVSFF.js.map +1 -0
- package/dist/{chunk-3FFRYZKV.js → chunk-3RJN2VTL.js} +36 -6
- package/dist/chunk-3RJN2VTL.js.map +1 -0
- package/dist/{chunk-OWCEQKAR.cjs → chunk-6F7SZCVL.cjs} +3 -3
- package/dist/{chunk-OWCEQKAR.cjs.map → chunk-6F7SZCVL.cjs.map} +1 -1
- package/dist/{chunk-JO3EMZ4X.js → chunk-7M4C6CK7.js} +3 -3
- package/dist/{chunk-JO3EMZ4X.js.map → chunk-7M4C6CK7.js.map} +1 -1
- package/dist/{chunk-OR4CO743.cjs → chunk-AAFX64WD.cjs} +3 -3
- package/dist/{chunk-OR4CO743.cjs.map → chunk-AAFX64WD.cjs.map} +1 -1
- package/dist/{chunk-IQU2GI6V.js → chunk-ATJUVHVB.js} +1301 -8
- package/dist/chunk-ATJUVHVB.js.map +1 -0
- package/dist/{chunk-OAL3B2ZU.cjs → chunk-BUNZWOPX.cjs} +5 -5
- package/dist/{chunk-OAL3B2ZU.cjs.map → chunk-BUNZWOPX.cjs.map} +1 -1
- package/dist/{chunk-N55UIXVT.cjs → chunk-C3ZRLULA.cjs} +5 -5
- package/dist/{chunk-N55UIXVT.cjs.map → chunk-C3ZRLULA.cjs.map} +1 -1
- package/dist/{chunk-LIHRGG4M.cjs → chunk-CHVCTKF4.cjs} +1365 -49
- package/dist/chunk-CHVCTKF4.cjs.map +1 -0
- package/dist/chunk-CQCC7LE7.js +210 -0
- package/dist/chunk-CQCC7LE7.js.map +1 -0
- package/dist/{chunk-ZAVEMQ37.cjs → chunk-DWZXSPMB.cjs} +3 -3
- package/dist/{chunk-ZAVEMQ37.cjs.map → chunk-DWZXSPMB.cjs.map} +1 -1
- package/dist/{chunk-VIU7AMHF.js → chunk-E5OYHJMU.js} +3 -3
- package/dist/{chunk-VIU7AMHF.js.map → chunk-E5OYHJMU.js.map} +1 -1
- package/dist/{chunk-7YLJHTDC.cjs → chunk-EHOPZBAX.cjs} +11 -11
- package/dist/{chunk-7YLJHTDC.cjs.map → chunk-EHOPZBAX.cjs.map} +1 -1
- package/dist/{chunk-5HFPRI3W.js → chunk-FUTMU4FR.js} +3 -3
- package/dist/{chunk-5HFPRI3W.js.map → chunk-FUTMU4FR.js.map} +1 -1
- package/dist/{chunk-IE5CUCZK.cjs → chunk-HDYWXEQU.cjs} +4 -4
- package/dist/{chunk-IE5CUCZK.cjs.map → chunk-HDYWXEQU.cjs.map} +1 -1
- package/dist/{chunk-C44D4WFG.cjs → chunk-HLB4DIYV.cjs} +3 -3
- package/dist/{chunk-C44D4WFG.cjs.map → chunk-HLB4DIYV.cjs.map} +1 -1
- package/dist/{chunk-OZLWSNUC.cjs → chunk-JY73DJOS.cjs} +80 -1232
- package/dist/chunk-JY73DJOS.cjs.map +1 -0
- package/dist/{chunk-LT2X5N37.js → chunk-KMNZ2RVO.js} +19 -1152
- package/dist/chunk-KMNZ2RVO.js.map +1 -0
- package/dist/{chunk-6S5FLMWG.js → chunk-KSHKTOY2.js} +203 -7
- package/dist/chunk-KSHKTOY2.js.map +1 -0
- package/dist/{chunk-ZNI4SW2G.js → chunk-L3T7OJRX.js} +3 -3
- package/dist/{chunk-ZNI4SW2G.js.map → chunk-L3T7OJRX.js.map} +1 -1
- package/dist/{chunk-RUB62J2X.js → chunk-M33QUNFH.js} +3 -3
- package/dist/{chunk-RUB62J2X.js.map → chunk-M33QUNFH.js.map} +1 -1
- package/dist/{chunk-DJM7DLCT.cjs → chunk-OPTBQSCV.cjs} +3 -3
- package/dist/{chunk-DJM7DLCT.cjs.map → chunk-OPTBQSCV.cjs.map} +1 -1
- package/dist/{chunk-GFYGYME3.js → chunk-OQ7RUNOC.js} +3 -3
- package/dist/{chunk-GFYGYME3.js.map → chunk-OQ7RUNOC.js.map} +1 -1
- package/dist/chunk-RFIBUWLF.cjs +232 -0
- package/dist/chunk-RFIBUWLF.cjs.map +1 -0
- package/dist/{chunk-N26CXGXC.cjs → chunk-RQ2Y7USX.cjs} +201 -3
- package/dist/chunk-RQ2Y7USX.cjs.map +1 -0
- package/dist/chunk-UUHUQHXR.cjs +56 -0
- package/dist/chunk-UUHUQHXR.cjs.map +1 -0
- package/dist/{chunk-ECERC6TI.js → chunk-VHJHY7TT.js} +3 -3
- package/dist/{chunk-ECERC6TI.js.map → chunk-VHJHY7TT.js.map} +1 -1
- package/dist/{chunk-5BXEYYH6.js → chunk-VMESMX7N.js} +3 -3
- package/dist/{chunk-5BXEYYH6.js.map → chunk-VMESMX7N.js.map} +1 -1
- package/dist/{chunk-44R3CCZT.cjs → chunk-WS5EX7DN.cjs} +37 -6
- package/dist/chunk-WS5EX7DN.cjs.map +1 -0
- package/dist/{chunk-Y5KTM3V5.js → chunk-YOMPLCP6.js} +3 -3
- package/dist/{chunk-Y5KTM3V5.js.map → chunk-YOMPLCP6.js.map} +1 -1
- package/dist/collaboration/index.cjs +51 -51
- package/dist/collaboration/index.js +3 -3
- package/dist/connect/docx.cjs +5 -5
- package/dist/connect/docx.js +4 -4
- package/dist/connect/index.cjs +353 -76
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +3 -0
- package/dist/connect/index.js +274 -20
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedWorkflowBuilder.d.ts +1 -1
- package/dist/connection/ConnectedWorkflowLauncher.d.ts +35 -0
- package/dist/connection/ConnectedWorkflowsTable.d.ts +62 -0
- package/dist/connection/workspaceData.d.ts +45 -0
- package/dist/document-tools/index.cjs +1 -1
- package/dist/document-tools/index.js +1 -1
- package/dist/facts/index.cjs +4 -4
- package/dist/facts/index.js +4 -4
- package/dist/files/index.cjs +3 -3
- package/dist/files/index.js +3 -3
- package/dist/home/index.cjs +22 -23
- package/dist/home/index.cjs.map +1 -1
- package/dist/home/index.js +4 -5
- package/dist/home/index.js.map +1 -1
- package/dist/index.cjs +733 -726
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +20 -21
- package/dist/index.js.map +1 -1
- package/dist/retrieval/index.cjs +1 -1
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/index.cjs +56 -56
- package/dist/settings/index.js +6 -6
- package/dist/shell/index.cjs +2 -2
- package/dist/shell/index.js +2 -2
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +8 -8
- package/dist/studio/index.js +7 -7
- package/dist/workflow-canvas/index.cjs +73 -71
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.js +23 -21
- package/dist/workflow-canvas/index.js.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +4 -4
- package/dist/chunk-3FFRYZKV.js.map +0 -1
- package/dist/chunk-44R3CCZT.cjs.map +0 -1
- package/dist/chunk-4XJZ6AAY.js +0 -407
- package/dist/chunk-4XJZ6AAY.js.map +0 -1
- package/dist/chunk-6S5FLMWG.js.map +0 -1
- package/dist/chunk-7D737FLE.cjs +0 -43
- package/dist/chunk-7D737FLE.cjs.map +0 -1
- package/dist/chunk-IQU2GI6V.js.map +0 -1
- package/dist/chunk-LIHRGG4M.cjs.map +0 -1
- package/dist/chunk-LT2X5N37.js.map +0 -1
- package/dist/chunk-N26CXGXC.cjs.map +0 -1
- package/dist/chunk-OZLWSNUC.cjs.map +0 -1
- package/dist/chunk-S5HZBXZA.cjs +0 -430
- package/dist/chunk-S5HZBXZA.cjs.map +0 -1
- package/dist/chunk-XD2M6LIG.js +0 -41
- package/dist/chunk-XD2M6LIG.js.map +0 -1
package/dist/agents/index.js
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView,
|
|
3
|
-
import '../chunk-3FFRYZKV.js';
|
|
4
|
-
import '../chunk-4XJZ6AAY.js';
|
|
5
|
-
import '../chunk-P6GHJSLR.js';
|
|
6
|
-
export { ActionStepBody, ApprovalEvidence, AssigneeLine, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, SKILL_MAIN_FILENAME, SKILL_TYPES, SchemaForm, SendBackControl, TaskActivityTimeline, WorkflowRunner, activeStepId, buildZipSkillImport, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, importMarkdownSkill, importSkillFile, importSkillFromUrl, isIncompleteSignal, isMainSkillFile, layoutFromPlanSteps, parseSkillFrontmatter, readSkillArchive, serializeSkill, skillSlug, stepWindow, taskActivityHeadline, toPlanAssignee, toPlanDocumentRef, toPlanSteps, useWorkflowView, workflowFromSkillMarkdown, workflowToSkillMarkdown } from '../chunk-IQU2GI6V.js';
|
|
7
|
-
import '../chunk-XD2M6LIG.js';
|
|
8
|
-
import '../chunk-6S5FLMWG.js';
|
|
2
|
+
export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, 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_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_THREAD_LAUNCHER_LABELS, DEFAULT_THREAD_STATE_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_RUN_STATUS_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TasksToolbar, ThreadActivity, ThreadLauncher, ThreadNotifyDialog, ThreadStatusLine, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WorkflowRunStatus, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildRRule, buildTaskRows, compactThreadActivity, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isValidAgentName, isoToLocalInput, linkedRunsFromActivity, localInputToIso, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowTaskFields, workflowToComposerValues, workflowWhen } from '../chunk-KMNZ2RVO.js';
|
|
9
3
|
import '../chunk-RFXJYIDV.js';
|
|
4
|
+
import '../chunk-CQCC7LE7.js';
|
|
10
5
|
import '../chunk-5LXQPP2K.js';
|
|
11
|
-
|
|
6
|
+
export { ActionStepBody, AgentSelect, ApprovalEvidence, AssigneeLine, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_DOCUMENTS_FIELD_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, PersonPill, SKILL_MAIN_FILENAME, SKILL_TYPES, SchemaForm, SendBackControl, TaskActivityTimeline, TaskTriggerChip, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowRunner, WorkflowsTable, activeStepId, buildWorkflowScopeSource, buildZipSkillImport, createWorkflowColumns, documentScopeLabels, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, hasTrigger, importMarkdownSkill, importSkillFile, importSkillFromUrl, isIncompleteSignal, isMainSkillFile, isSkillRow, layoutFromPlanSteps, matchWorkflowScope, parseSkillFrontmatter, readSkillArchive, serializeSkill, skillSlug, stepWindow, taskActivityHeadline, toPlanAssignee, toPlanDocumentRef, toPlanSteps, useWorkflowView, workflowFromSkillMarkdown, workflowStatus, workflowToSkillMarkdown, workflowTriggerType } from '../chunk-ATJUVHVB.js';
|
|
12
7
|
import '../chunk-EVUEIBNU.js';
|
|
8
|
+
import '../chunk-KSHKTOY2.js';
|
|
9
|
+
import '../chunk-P6GHJSLR.js';
|
|
10
|
+
import '../chunk-3RJN2VTL.js';
|
|
11
|
+
import '../chunk-444XKG46.js';
|
|
13
12
|
import '../chunk-NUNKSZKU.js';
|
|
14
13
|
import '../chunk-YU2KUMGE.js';
|
|
15
14
|
import '../chunk-N5YEF3LC.js';
|
|
16
15
|
import '../chunk-4WWM3GQ5.js';
|
|
17
|
-
|
|
18
|
-
import '../chunk-TX2ZICS7.js';
|
|
19
|
-
export { DEFAULT_ASSIGNEE_WORDING, DEFAULT_STEP_DOCUMENT_LABELS, DEFAULT_STEP_KIND_LABELS, DEFAULT_STEP_RECORD_LABELS, EMPTY_WORKFLOW_SCOPE, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STEP_KIND_ICONS, StepDocumentButton, StepDocumentCards, StepRecord, WORKFLOW_STEP_KINDS, assigneeName, buildLaunch, canAssign, composeStepPrompt, composeWorkflowPrompt, defaultInputs, dependsOn, fieldToFrontmatter, fillRunText, fillStepInputs, initialRunInputs, inputsFromContext, isEmptyWorkflowScope, isPersonAction, isPersonStep, isRunFinished, isSteppedWorkflow, isWorkflowScope, mergeSkillWorkflows, nextAction, orderSteps, promptFieldName, reviewInstructions, runFields, runFieldsOf, runThreadTitle, sendBackTargets, skillTitle, skillToWorkflow, splitDocRef, stepConfigProblems, stepDependencies, stepDocuments, stepFields, stepKindOf, stepLevels, stepPhase, stepStatesFromActivity, upstreamSteps, validateInputs, validateStep, validateWorkflowGraph, workflowAccepts, workflowFromFrontmatter, workflowSteps, workflowsAccepting, workflowsForHost } from '../chunk-Y5KTM3V5.js';
|
|
20
|
-
import '../chunk-AA3PT6KR.js';
|
|
16
|
+
export { DEFAULT_ASSIGNEE_WORDING, DEFAULT_STEP_DOCUMENT_LABELS, DEFAULT_STEP_KIND_LABELS, DEFAULT_STEP_RECORD_LABELS, EMPTY_WORKFLOW_SCOPE, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STEP_KIND_ICONS, StepDocumentButton, StepDocumentCards, StepRecord, WORKFLOW_STEP_KINDS, assigneeName, buildLaunch, canAssign, composeStepPrompt, composeWorkflowPrompt, defaultInputs, dependsOn, fieldToFrontmatter, fillRunText, fillStepInputs, initialRunInputs, inputsFromContext, isEmptyWorkflowScope, isPersonAction, isPersonStep, isRunFinished, isSteppedWorkflow, isWorkflowScope, mergeSkillWorkflows, nextAction, orderSteps, promptFieldName, reviewInstructions, runFields, runFieldsOf, runThreadTitle, sendBackTargets, skillTitle, skillToWorkflow, splitDocRef, stepConfigProblems, stepDependencies, stepDocuments, stepFields, stepKindOf, stepLevels, stepPhase, stepStatesFromActivity, upstreamSteps, validateInputs, validateStep, validateWorkflowGraph, workflowAccepts, workflowFromFrontmatter, workflowSteps, workflowsAccepting, workflowsForHost } from '../chunk-YOMPLCP6.js';
|
|
21
17
|
import '../chunk-AUS3KBHJ.js';
|
|
18
|
+
import '../chunk-AA3PT6KR.js';
|
|
22
19
|
import '../chunk-SLSBJRWW.js';
|
|
23
20
|
import '../chunk-NPLYHR2E.js';
|
|
24
21
|
import '../chunk-7F6CBP3Z.js';
|
|
22
|
+
import '../chunk-YNIBUKV5.js';
|
|
23
|
+
import '../chunk-TX2ZICS7.js';
|
|
25
24
|
import '../chunk-OXF2IFXG.js';
|
|
26
25
|
import '../chunk-VUNV25KB.js';
|
|
27
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,12 +1,49 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
1
|
import { type PickerDocument } from '../../settings/DocumentPicker';
|
|
3
2
|
import type { WorkflowField, WorkflowScope } from './types';
|
|
3
|
+
/** A workspace file a `documents` field can pick. */
|
|
4
|
+
export interface WorkflowFieldDocument extends PickerDocument {
|
|
5
|
+
/** Its processing status (`completed`, `processing`…); absent = ready. */
|
|
6
|
+
status?: string | null;
|
|
7
|
+
/** An image (for an image-only field, and its thumbnail). */
|
|
8
|
+
isImage?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface WorkflowDocumentsFieldLabels {
|
|
11
|
+
pickOne: string;
|
|
12
|
+
pickMany: string;
|
|
13
|
+
/** The heading of the one list of files (a run has no conversation). */
|
|
14
|
+
allDocuments: string;
|
|
15
|
+
addFiles: string;
|
|
16
|
+
adding: string;
|
|
17
|
+
empty: string;
|
|
18
|
+
remove: (name: string) => string;
|
|
19
|
+
/** A chosen file that is not ready yet: where it is, and that it can still be picked. */
|
|
20
|
+
pending: (name: string, status: string) => string;
|
|
21
|
+
status: Record<string, string>;
|
|
22
|
+
}
|
|
23
|
+
export declare const DEFAULT_WORKFLOW_DOCUMENTS_FIELD_LABELS: WorkflowDocumentsFieldLabels;
|
|
4
24
|
export interface WorkflowDocumentsFieldProps {
|
|
5
25
|
field: WorkflowField;
|
|
6
26
|
value: WorkflowScope;
|
|
7
27
|
onChange: (value: WorkflowScope) => void;
|
|
8
|
-
|
|
9
|
-
|
|
28
|
+
/** The workspace's files. */
|
|
29
|
+
documents: WorkflowFieldDocument[];
|
|
30
|
+
/** The list has arrived (until then an empty list is not "no files yet"). Default true. */
|
|
31
|
+
loaded?: boolean;
|
|
32
|
+
/** A chosen image's thumbnail (`data:` or URL), for the gallery of a several-files field. */
|
|
33
|
+
thumbnailOf?: (id: string) => string | null | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Add files (dropped ones, or none: the host asks). Absent: no Add files and no drop. A file
|
|
36
|
+
* that appears in `documents` after this is chosen at once, even while it processes.
|
|
37
|
+
*/
|
|
38
|
+
onAddFiles?: (files?: File[]) => void;
|
|
39
|
+
/** Files are being added (the button waits). */
|
|
40
|
+
adding?: boolean;
|
|
41
|
+
labels?: Partial<WorkflowDocumentsFieldLabels>;
|
|
10
42
|
}
|
|
11
|
-
/**
|
|
12
|
-
|
|
43
|
+
/**
|
|
44
|
+
* A workflow `documents` field: an explicit pick of workspace files. One file is a combobox;
|
|
45
|
+
* several (`max` > 1) show the chosen ones as removable tiles, with a thumbnail for images, so you
|
|
46
|
+
* SEE what you are steering a run with. With `onAddFiles`, files can be added (or dropped) right
|
|
47
|
+
* here, and an empty workspace says so instead of offering an empty list.
|
|
48
|
+
*/
|
|
49
|
+
export declare function WorkflowDocumentsField({ field, value, onChange, documents, loaded, thumbnailOf, onAddFiles, adding, labels, }: WorkflowDocumentsFieldProps): import("react").JSX.Element;
|
|
@@ -5,8 +5,8 @@ export { AgentSelect, DEFAULT_AGENT_SELECT_LABELS, type AgentSelectProps, type A
|
|
|
5
5
|
export { WorkflowConfigDialog, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, type WorkflowConfigDialogProps, type WorkflowConfigDialogLabels, type WorkflowScopeSource, } from './WorkflowConfigDialog';
|
|
6
6
|
export { defaultScopeRenderer, resolveScopeInputs } from './scopeRender';
|
|
7
7
|
export { WorkflowLauncher, type WorkflowLauncherProps } from './WorkflowLauncher';
|
|
8
|
-
export { buildWorkflowScopeSource, matchWorkflowScope, type WorkflowScopeDocument, type WorkflowScopeLabel, } from './workspaceScope';
|
|
9
|
-
export { WorkflowDocumentsField, type WorkflowDocumentsFieldProps } from './WorkflowDocumentsField';
|
|
8
|
+
export { buildWorkflowScopeSource, documentScopeLabels, matchWorkflowScope, type WorkflowScopeDocument, type WorkflowScopeLabel, type WorkflowScopeTag, } from './workspaceScope';
|
|
9
|
+
export { WorkflowDocumentsField, DEFAULT_WORKFLOW_DOCUMENTS_FIELD_LABELS, type WorkflowDocumentsFieldProps, type WorkflowDocumentsFieldLabels, type WorkflowFieldDocument, } from './WorkflowDocumentsField';
|
|
10
10
|
export { workflowSteps, isSteppedWorkflow, stepDependencies, dependsOn, orderSteps, validateWorkflowGraph, stepLevels, stepStatesFromActivity, runFields, initialRunInputs, stepPhase, isRunFinished, isPersonStep, nextAction, validateStep, fillRunText, fillStepInputs, runThreadTitle, reviewInstructions, composeStepPrompt, stepFields, runFieldsOf, isPersonAction, canAssign, upstreamSteps, sendBackTargets, stepConfigProblems, splitDocRef, assigneeName, DEFAULT_ASSIGNEE_WORDING, type AssigneeWording, type WorkflowStepProblem, type StepComposeOptions, type WorkflowActivityEvent, type WorkflowGraphProblem, type WorkflowStepPhase, type WorkflowNextAction, } from './run';
|
|
11
11
|
export { toPlanSteps, fromPlanSteps, layoutFromPlanSteps, isIncompleteSignal, toPlanAssignee, fromPlanAssignee, toPlanDocumentRef, fromPlanDocumentRef, type TaskPlanStep, type ToPlanOptions, } from './planSteps';
|
|
12
12
|
export { workflowToSkillMarkdown, workflowFromSkillMarkdown, skillSlug } from './skillMarkdown';
|
|
@@ -12,6 +12,18 @@ export interface WorkflowScopeLabel {
|
|
|
12
12
|
name: string;
|
|
13
13
|
color?: string;
|
|
14
14
|
}
|
|
15
|
+
/** A workspace tag, as far as the scope picker reads it. */
|
|
16
|
+
export interface WorkflowScopeTag extends WorkflowScopeLabel {
|
|
17
|
+
kind?: string | null;
|
|
18
|
+
doctag_count?: number | null;
|
|
19
|
+
facttag_count?: number | null;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The labels a scope picker offers: the workspace's document vocabulary, as the Files page's quick
|
|
23
|
+
* filter has it. Saved searches are not labels; a tag used only on facts is not a file label; one
|
|
24
|
+
* used nowhere yet is offered.
|
|
25
|
+
*/
|
|
26
|
+
export declare function documentScopeLabels<T extends WorkflowScopeTag>(tags: T[]): T[];
|
|
15
27
|
/** Match the same folder/label OR semantics as the document library; explicit file picks win. */
|
|
16
28
|
export declare function matchWorkflowScope<T extends WorkflowScopeDocument>(docs: T[], scope: WorkflowScope): T[];
|
|
17
29
|
/** Turn real workspace documents and labels into the shared workflow scope picker model. */
|
package/dist/calls/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkDWZXSPMB_cjs = require('../chunk-DWZXSPMB.cjs');
|
|
5
5
|
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
6
|
-
require('../chunk-ULWRNGGE.cjs');
|
|
7
6
|
var chunkMWDW5UBW_cjs = require('../chunk-MWDW5UBW.cjs');
|
|
8
7
|
require('../chunk-PPCATBOY.cjs');
|
|
9
8
|
require('../chunk-MHVNT4J3.cjs');
|
|
9
|
+
require('../chunk-ULWRNGGE.cjs');
|
|
10
10
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
11
11
|
require('../chunk-DES3K4SD.cjs');
|
|
12
12
|
var react = require('react');
|
|
@@ -1986,7 +1986,7 @@ function WebinarEndConfirm({
|
|
|
1986
1986
|
const { isPending, run } = usePending();
|
|
1987
1987
|
const ending = isPending("end");
|
|
1988
1988
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1989
|
-
|
|
1989
|
+
chunkDWZXSPMB_cjs.ConfirmDialog,
|
|
1990
1990
|
{
|
|
1991
1991
|
isOpen: open,
|
|
1992
1992
|
onClose: () => onOpenChange(false),
|
package/dist/calls/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { ConfirmDialog } from '../chunk-
|
|
2
|
+
import { ConfirmDialog } from '../chunk-VHJHY7TT.js';
|
|
3
3
|
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
4
|
-
import '../chunk-TX2ZICS7.js';
|
|
5
4
|
import { NOTICE_MS, gridSlots, gridLayout, spotlightBox, CAPTION_TTL_MS, CAPTION_LINES, speakerAccent, formatElapsed, initialsOf, SPEAKING_LEVEL, nextSpotlight, INITIAL_SPOTLIGHT } from '../chunk-Z3AZ7Q5X.js';
|
|
6
5
|
export { CAPTION_LINES, CAPTION_TTL_MS, INITIAL_SPOTLIGHT, MAX_GRID_TILES, NOTICE_MS, SPEAKER_ACCENTS, SPEAKING_LEVEL, TILE_ASPECT, formatElapsed, gridLayout, gridSlots, initialsOf, nearestCorner, nextSpotlight, pickSpotlight, rowCounts, speakerAccent, speakerBorder, spotlightBox, stageContentHeight } from '../chunk-Z3AZ7Q5X.js';
|
|
7
6
|
import '../chunk-NPLYHR2E.js';
|
|
8
7
|
import '../chunk-7F6CBP3Z.js';
|
|
8
|
+
import '../chunk-TX2ZICS7.js';
|
|
9
9
|
import { fromNow } from '../chunk-OXF2IFXG.js';
|
|
10
10
|
import '../chunk-VUNV25KB.js';
|
|
11
11
|
import { forwardRef, useState, useRef, useMemo, useEffect, useSyncExternalStore, useCallback } from 'react';
|