@arbidocs/blocks 0.4.135 → 0.4.136
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 +361 -313
- package/dist/agents/index.js +12 -12
- package/dist/agents/skills/index.d.ts +2 -0
- package/dist/agents/skills/skillFiles.d.ts +65 -0
- package/dist/agents/skills/skillImport.d.ts +36 -0
- package/dist/agents/workflows/index.d.ts +1 -1
- package/dist/agents/workflows/workflow.d.ts +19 -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-GDBDHOI4.js → chunk-3FFRYZKV.js} +3 -3
- package/dist/{chunk-GDBDHOI4.js.map → chunk-3FFRYZKV.js.map} +1 -1
- package/dist/{chunk-QDEODGXE.cjs → chunk-44R3CCZT.cjs} +3 -3
- package/dist/{chunk-QDEODGXE.cjs.map → chunk-44R3CCZT.cjs.map} +1 -1
- package/dist/{chunk-SZX44LCT.js → chunk-5BXEYYH6.js} +3 -3
- package/dist/{chunk-SZX44LCT.js.map → chunk-5BXEYYH6.js.map} +1 -1
- package/dist/{chunk-FUTMU4FR.js → chunk-5HFPRI3W.js} +3 -3
- package/dist/{chunk-FUTMU4FR.js.map → chunk-5HFPRI3W.js.map} +1 -1
- package/dist/{chunk-PJJY6CYL.cjs → chunk-7YLJHTDC.cjs} +11 -11
- package/dist/{chunk-PJJY6CYL.cjs.map → chunk-7YLJHTDC.cjs.map} +1 -1
- package/dist/{chunk-GZPTWHP5.cjs → chunk-C44D4WFG.cjs} +6 -6
- package/dist/{chunk-GZPTWHP5.cjs.map → chunk-C44D4WFG.cjs.map} +1 -1
- package/dist/{chunk-OPTBQSCV.cjs → chunk-DJM7DLCT.cjs} +3 -3
- package/dist/{chunk-OPTBQSCV.cjs.map → chunk-DJM7DLCT.cjs.map} +1 -1
- package/dist/{chunk-VHJHY7TT.js → chunk-ECERC6TI.js} +3 -3
- package/dist/{chunk-VHJHY7TT.js.map → chunk-ECERC6TI.js.map} +1 -1
- package/dist/{chunk-OQ7RUNOC.js → chunk-GFYGYME3.js} +3 -3
- package/dist/{chunk-OQ7RUNOC.js.map → chunk-GFYGYME3.js.map} +1 -1
- package/dist/{chunk-4QIIDXLF.cjs → chunk-IE5CUCZK.cjs} +8 -8
- package/dist/{chunk-4QIIDXLF.cjs.map → chunk-IE5CUCZK.cjs.map} +1 -1
- package/dist/{chunk-2PNNCEPH.js → chunk-IQU2GI6V.js} +249 -5
- package/dist/chunk-IQU2GI6V.js.map +1 -0
- package/dist/{chunk-PUCY3UXN.js → chunk-JO3EMZ4X.js} +3 -3
- package/dist/{chunk-PUCY3UXN.js.map → chunk-JO3EMZ4X.js.map} +1 -1
- package/dist/{chunk-ARDHLU73.cjs → chunk-KDUGTKVI.cjs} +21 -2
- package/dist/chunk-KDUGTKVI.cjs.map +1 -0
- package/dist/{chunk-4RLCRFZS.js → chunk-L2PAPOZ5.js} +21 -3
- package/dist/chunk-L2PAPOZ5.js.map +1 -0
- package/dist/{chunk-SARREDFP.cjs → chunk-LIHRGG4M.cjs} +303 -46
- package/dist/chunk-LIHRGG4M.cjs.map +1 -0
- package/dist/{chunk-UMIY4SQS.js → chunk-LT2X5N37.js} +12 -53
- package/dist/chunk-LT2X5N37.js.map +1 -0
- package/dist/{chunk-KYDRUFWT.cjs → chunk-N55UIXVT.cjs} +5 -5
- package/dist/{chunk-KYDRUFWT.cjs.map → chunk-N55UIXVT.cjs.map} +1 -1
- package/dist/{chunk-4S5IDT5F.cjs → chunk-OAL3B2ZU.cjs} +5 -5
- package/dist/{chunk-4S5IDT5F.cjs.map → chunk-OAL3B2ZU.cjs.map} +1 -1
- package/dist/{chunk-AAFX64WD.cjs → chunk-OR4CO743.cjs} +3 -3
- package/dist/{chunk-AAFX64WD.cjs.map → chunk-OR4CO743.cjs.map} +1 -1
- package/dist/{chunk-6AALMYPS.cjs → chunk-OWCEQKAR.cjs} +24 -3
- package/dist/chunk-OWCEQKAR.cjs.map +1 -0
- package/dist/{chunk-TT6XV6WM.cjs → chunk-OZLWSNUC.cjs} +77 -121
- package/dist/chunk-OZLWSNUC.cjs.map +1 -0
- package/dist/{chunk-ENDP7JER.js → chunk-RUB62J2X.js} +3 -3
- package/dist/{chunk-ENDP7JER.js.map → chunk-RUB62J2X.js.map} +1 -1
- package/dist/{chunk-4UMXQPNA.js → chunk-VIU7AMHF.js} +4 -4
- package/dist/{chunk-4UMXQPNA.js.map → chunk-VIU7AMHF.js.map} +1 -1
- package/dist/{chunk-2DFDFOM7.js → chunk-Y5KTM3V5.js} +23 -4
- package/dist/chunk-Y5KTM3V5.js.map +1 -0
- package/dist/{chunk-DWZXSPMB.cjs → chunk-ZAVEMQ37.cjs} +3 -3
- package/dist/{chunk-DWZXSPMB.cjs.map → chunk-ZAVEMQ37.cjs.map} +1 -1
- package/dist/{chunk-QYTYW74G.js → chunk-ZNI4SW2G.js} +4 -4
- package/dist/{chunk-QYTYW74G.js.map → chunk-ZNI4SW2G.js.map} +1 -1
- package/dist/collaboration/index.cjs +51 -51
- package/dist/collaboration/index.js +3 -3
- package/dist/connect/docx.cjs +6 -6
- package/dist/connect/docx.js +5 -5
- package/dist/connect/index.cjs +223 -134
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +2 -2
- package/dist/connect/index.js +145 -61
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedSkillUpload.d.ts +26 -2
- package/dist/connection/ConnectedWorkflowBuilder.d.ts +23 -11
- package/dist/connection/ConnectionProvider.d.ts +17 -0
- package/dist/document-tools/index.cjs +1 -1
- package/dist/document-tools/index.js +1 -1
- package/dist/facts/index.cjs +3 -3
- package/dist/facts/index.js +3 -3
- package/dist/files/index.cjs +3 -3
- package/dist/files/index.js +3 -3
- package/dist/home/index.cjs +19 -19
- package/dist/home/index.js +5 -5
- package/dist/index.cjs +711 -663
- package/dist/index.js +21 -21
- package/dist/retrieval/index.cjs +1 -1
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/index.cjs +47 -47
- package/dist/settings/index.js +5 -5
- package/dist/shell/index.cjs +3 -3
- package/dist/shell/index.js +3 -3
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +10 -10
- package/dist/studio/index.js +8 -8
- package/dist/workflow-canvas/index.cjs +116 -92
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.d.ts +1 -1
- package/dist/workflow-canvas/index.js +67 -44
- 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-2DFDFOM7.js.map +0 -1
- package/dist/chunk-2PNNCEPH.js.map +0 -1
- package/dist/chunk-4RLCRFZS.js.map +0 -1
- package/dist/chunk-6AALMYPS.cjs.map +0 -1
- package/dist/chunk-ARDHLU73.cjs.map +0 -1
- package/dist/chunk-SARREDFP.cjs.map +0 -1
- package/dist/chunk-TT6XV6WM.cjs.map +0 -1
- package/dist/chunk-UMIY4SQS.js.map +0 -1
package/dist/agents/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
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_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_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_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DEFAULT_WORKFLOW_RUN_STATUS_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, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadLauncher, ThreadNotifyDialog, ThreadStatusLine, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowRunStatus, 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,
|
|
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_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_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_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DEFAULT_WORKFLOW_RUN_STATUS_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, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadLauncher, ThreadNotifyDialog, ThreadStatusLine, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowRunStatus, 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, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowTriggerType, workflowWhen } from '../chunk-LT2X5N37.js';
|
|
3
|
+
import '../chunk-3FFRYZKV.js';
|
|
4
4
|
import '../chunk-4XJZ6AAY.js';
|
|
5
|
-
import '../chunk-5LXQPP2K.js';
|
|
6
5
|
import '../chunk-P6GHJSLR.js';
|
|
7
|
-
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, SchemaForm, SendBackControl, TaskActivityTimeline, WorkflowRunner, activeStepId, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, isIncompleteSignal, layoutFromPlanSteps, stepWindow, taskActivityHeadline, toPlanAssignee, toPlanDocumentRef, toPlanSteps, useWorkflowView } from '../chunk-
|
|
8
|
-
import '../chunk-
|
|
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';
|
|
9
8
|
import '../chunk-6S5FLMWG.js';
|
|
9
|
+
import '../chunk-RFXJYIDV.js';
|
|
10
|
+
import '../chunk-5LXQPP2K.js';
|
|
11
|
+
import '../chunk-444XKG46.js';
|
|
12
|
+
import '../chunk-EVUEIBNU.js';
|
|
10
13
|
import '../chunk-NUNKSZKU.js';
|
|
11
14
|
import '../chunk-YU2KUMGE.js';
|
|
12
15
|
import '../chunk-N5YEF3LC.js';
|
|
13
|
-
import '../chunk-GDBDHOI4.js';
|
|
14
|
-
import '../chunk-444XKG46.js';
|
|
15
|
-
import '../chunk-XD2M6LIG.js';
|
|
16
16
|
import '../chunk-4WWM3GQ5.js';
|
|
17
|
-
|
|
18
|
-
import '../chunk-
|
|
17
|
+
import '../chunk-YNIBUKV5.js';
|
|
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';
|
|
19
20
|
import '../chunk-AA3PT6KR.js';
|
|
21
|
+
import '../chunk-AUS3KBHJ.js';
|
|
20
22
|
import '../chunk-SLSBJRWW.js';
|
|
21
23
|
import '../chunk-NPLYHR2E.js';
|
|
22
24
|
import '../chunk-7F6CBP3Z.js';
|
|
23
|
-
import '../chunk-YNIBUKV5.js';
|
|
24
|
-
import '../chunk-TX2ZICS7.js';
|
|
25
25
|
import '../chunk-OXF2IFXG.js';
|
|
26
26
|
import '../chunk-VUNV25KB.js';
|
|
27
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,3 +3,5 @@ export { SkillRow, DEFAULT_SKILL_ROW_LABELS, type SkillRowProps, type SkillRowLa
|
|
|
3
3
|
export { SkillTypeBadge, SkillGlobalBadge, SkillActionButton, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, type SkillGlobalBadgeLabels, type SkillActionButtonProps, } from './SkillParts';
|
|
4
4
|
export { SkillGenerateForm, SkillEditForm, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, type SkillGenerateFormLabels, type SkillGenerateFormTestIds, type SkillEditFormLabels, type SkillEditFormTestIds, type SkillGenerateFormProps, type SkillEditFormProps, } from './SkillForms';
|
|
5
5
|
export { SkillFilterChips, SkillViewToggle, SkillTile, SkillDetail, SkillDetailSection, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, type SkillFilterOption, type SkillFilterChipsProps, type SkillBrowserView, type SkillViewToggleLabels, type SkillViewToggleProps, type SkillTileProps, type SkillDetailProps, } from './SkillBrowserParts';
|
|
6
|
+
export { parseSkillFrontmatter, serializeSkill, isMainSkillFile, SKILL_MAIN_FILENAME, SKILL_TYPES, type SkillType, type ParsedSkill, } from './skillFiles';
|
|
7
|
+
export { importSkillFile, importSkillFromUrl, importMarkdownSkill, buildZipSkillImport, readSkillArchive, type SkillImportResult, type SkillUploadEntry, type SkillArchiveEntry, } from './skillImport';
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Skill files: the SKILL.md frontmatter parser / serializer.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the backend parser at
|
|
5
|
+
* `ARBI/src/core/instruments/skills.py::parse_skill_frontmatter` exactly so
|
|
6
|
+
* that SKILL.md files created by this UI round-trip through the backend skill
|
|
7
|
+
* loader without surprises.
|
|
8
|
+
*
|
|
9
|
+
* Backend rules we replicate:
|
|
10
|
+
* - Frontmatter is delimited by a leading `---` and a closing `---`.
|
|
11
|
+
* - It is parsed line-by-line (NOT a real YAML parser): each line is split
|
|
12
|
+
* on the first `:`, key is lowercased, value is trimmed.
|
|
13
|
+
* - `name` / `description` are metadata.
|
|
14
|
+
* - `model` (string), `temperature` (float 0..2), `agent` (truthy string),
|
|
15
|
+
* `tools` (comma-separated -> list), `type` (alias-mapped) are config.
|
|
16
|
+
* - Skill type is detected from frontmatter `type`, then filename extension,
|
|
17
|
+
* then shebang. Default is `markdown`.
|
|
18
|
+
* - Main file is `SKILL.md` / `skill.{py,sh,js,ts}` (case-insensitive) or
|
|
19
|
+
* `{skill-name}.{ext}` (stem matches the skill folder name).
|
|
20
|
+
*
|
|
21
|
+
* A skill's slug is `skillSlug` (`re.sub(r"[^a-z0-9-]", "", name.lower())`).
|
|
22
|
+
*/
|
|
23
|
+
export type SkillType = 'markdown' | 'python' | 'shell' | 'javascript' | 'typescript';
|
|
24
|
+
export declare const SKILL_TYPES: SkillType[];
|
|
25
|
+
/** Canonical primary file name for a skill (Claude-Code compatible). */
|
|
26
|
+
export declare const SKILL_MAIN_FILENAME = "SKILL.md";
|
|
27
|
+
export interface ParsedSkill {
|
|
28
|
+
/** Skill body with frontmatter removed (trimmed, matches backend). */
|
|
29
|
+
content: string;
|
|
30
|
+
name: string;
|
|
31
|
+
description: string;
|
|
32
|
+
skillType: SkillType;
|
|
33
|
+
config: {
|
|
34
|
+
model?: string;
|
|
35
|
+
temperature?: number;
|
|
36
|
+
agent?: boolean;
|
|
37
|
+
tools?: string[];
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Mirrors backend `_is_main_file`: a filename is the skill's primary entry
|
|
42
|
+
* point if it's `SKILL.md`/`skill.{ext}` (case-insensitive) or its stem
|
|
43
|
+
* equals the skill folder name.
|
|
44
|
+
*/
|
|
45
|
+
export declare function isMainSkillFile(filename: string, skillName: string): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Parse skill frontmatter. Behaviourally equivalent to the backend
|
|
48
|
+
* `parse_skill_frontmatter`.
|
|
49
|
+
*/
|
|
50
|
+
export declare function parseSkillFrontmatter(raw: string, filename?: string): ParsedSkill;
|
|
51
|
+
/**
|
|
52
|
+
* Serialize a skill back to a SKILL.md string. The output is intentionally in
|
|
53
|
+
* the simple `key: value` form the backend's line-based parser expects:
|
|
54
|
+
* - `tools` is written as a comma-separated string (`tools: a, b`) because
|
|
55
|
+
* the backend splits on `,` — a YAML list would NOT round-trip.
|
|
56
|
+
* - `type` is only emitted when not `markdown` (markdown is the default and
|
|
57
|
+
* needs no annotation).
|
|
58
|
+
* - `name` / `description` are always written (metadata, Claude Code compatible).
|
|
59
|
+
*/
|
|
60
|
+
export declare function serializeSkill(input: {
|
|
61
|
+
name: string;
|
|
62
|
+
description: string;
|
|
63
|
+
body: string;
|
|
64
|
+
type?: SkillType;
|
|
65
|
+
}): string;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Skill import: turn a `.md` or `.zip` someone gave you (a file, or a link to one) into the upload
|
|
3
|
+
* entries `{ folder, fileName, content }` of the skill storage contract:
|
|
4
|
+
*
|
|
5
|
+
* - `.md` → one `skills/{slug}/SKILL.md`. The slug is the frontmatter `name`, else the file name.
|
|
6
|
+
* - `.zip` → every file under `skills/{slug}/<relpath>`, subpaths kept. The slug is the archive's
|
|
7
|
+
* single top-level folder, else the main file's frontmatter `name`, else the archive
|
|
8
|
+
* name. The main file is renamed `SKILL.md`.
|
|
9
|
+
*
|
|
10
|
+
* Junk entries (`__MACOSX/`, dotfiles, folders) are skipped. The upload itself is
|
|
11
|
+
* `useUploadSkillFiles` (`@arbidocs/react`).
|
|
12
|
+
*/
|
|
13
|
+
export interface SkillUploadEntry {
|
|
14
|
+
folder: string;
|
|
15
|
+
fileName: string;
|
|
16
|
+
content: string;
|
|
17
|
+
}
|
|
18
|
+
export interface SkillImportResult {
|
|
19
|
+
slug: string;
|
|
20
|
+
entries: SkillUploadEntry[];
|
|
21
|
+
}
|
|
22
|
+
/** A file read out of an archive: its path inside it (forward slashes) and its text. */
|
|
23
|
+
export interface SkillArchiveEntry {
|
|
24
|
+
path: string;
|
|
25
|
+
text: string;
|
|
26
|
+
}
|
|
27
|
+
/** One Markdown skill. Slug: the frontmatter `name`, else the file name. */
|
|
28
|
+
export declare function importMarkdownSkill(fileName: string, text: string): SkillImportResult;
|
|
29
|
+
/** The upload entries of an archive's files (already read). */
|
|
30
|
+
export declare function buildZipSkillImport(archiveName: string, rawEntries: SkillArchiveEntry[]): SkillImportResult;
|
|
31
|
+
/** The files of a `.zip` (off the main thread where the browser allows it). */
|
|
32
|
+
export declare function readSkillArchive(file: Blob): Promise<SkillArchiveEntry[]>;
|
|
33
|
+
/** A skill from a file: `.md` / `.markdown`, or a `.zip`. Throws for anything else. */
|
|
34
|
+
export declare function importSkillFile(file: File): Promise<SkillImportResult>;
|
|
35
|
+
/** A skill from a link: its text, named after the last part of the path. */
|
|
36
|
+
export declare function importSkillFromUrl(url: string): Promise<SkillImportResult>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from './types';
|
|
2
|
-
export { composeWorkflowPrompt, buildLaunch, defaultInputs, validateInputs, isWorkflowScope, isEmptyWorkflowScope, skillToWorkflow, promptFieldName, SKILL_PROMPT_LABEL, SKILL_PROMPT_FALLBACK_PLACEHOLDER, workflowFromFrontmatter, fieldToFrontmatter, workflowAccepts, workflowsAccepting, workflowsForHost, inputsFromContext, type SkillLike, type WorkflowComposeContext, type WorkflowContext, } from './workflow';
|
|
2
|
+
export { composeWorkflowPrompt, buildLaunch, defaultInputs, validateInputs, isWorkflowScope, isEmptyWorkflowScope, skillToWorkflow, skillTitle, mergeSkillWorkflows, promptFieldName, SKILL_PROMPT_LABEL, SKILL_PROMPT_FALLBACK_PLACEHOLDER, workflowFromFrontmatter, fieldToFrontmatter, workflowAccepts, workflowsAccepting, workflowsForHost, inputsFromContext, type SkillLike, type SkillListing, type WorkflowComposeContext, type WorkflowContext, } from './workflow';
|
|
3
3
|
export { SchemaForm, DEFAULT_SCHEMA_FORM_LABELS, type SchemaFormProps, type SchemaFormLabels, } from './SchemaForm';
|
|
4
4
|
export { AgentSelect, DEFAULT_AGENT_SELECT_LABELS, type AgentSelectProps, type AgentSelectLabels, type AgentOption, } from './AgentSelect';
|
|
5
5
|
export { WorkflowConfigDialog, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, type WorkflowConfigDialogProps, type WorkflowConfigDialogLabels, type WorkflowScopeSource, } from './WorkflowConfigDialog';
|
|
@@ -55,6 +55,25 @@ export declare const SKILL_PROMPT_FALLBACK_PLACEHOLDER = "Describe what you want
|
|
|
55
55
|
* nothing is never offered; text typed after the slash pre-fills the field.
|
|
56
56
|
*/
|
|
57
57
|
export declare function skillToWorkflow(skill: SkillLike): WorkflowDefinition;
|
|
58
|
+
/** A skill named like its slug ("deep-research") reads as a title ("Deep research"); a written name is kept. */
|
|
59
|
+
export declare function skillTitle(name: string): string;
|
|
60
|
+
/** A skill as the skills list returns it (`GET /v1/assistant/skills`). */
|
|
61
|
+
export interface SkillListing extends Omit<SkillLike, 'arg_hint' | 'description'> {
|
|
62
|
+
description?: string | null;
|
|
63
|
+
arg_hint?: string | null;
|
|
64
|
+
/** `builtin` ships with ARBI; `mine` and `global` are documents someone uploaded. */
|
|
65
|
+
visibility?: string | null;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The host's own workflows together with the skills the user can run, as one list of workflows:
|
|
69
|
+
* `host` (in its order) and `skills` (by slug, each a one-field form, icon `skill`). An uploaded skill with a
|
|
70
|
+
* host workflow's id replaces it (your own copy is used instead of the original); a built-in skill
|
|
71
|
+
* the host already offers keeps the host's richer form, so nothing is listed twice.
|
|
72
|
+
*/
|
|
73
|
+
export declare function mergeSkillWorkflows(host: WorkflowDefinition[], listings: SkillListing[]): {
|
|
74
|
+
host: WorkflowDefinition[];
|
|
75
|
+
skills: WorkflowDefinition[];
|
|
76
|
+
};
|
|
58
77
|
/**
|
|
59
78
|
* Build a workflow from parsed SKILL.md frontmatter (snake_case keys) and its body (the prompt
|
|
60
79
|
* template). The inverse of what the backend will publish; seeded workflows use the same shape.
|
package/dist/calls/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkZAVEMQ37_cjs = require('../chunk-ZAVEMQ37.cjs');
|
|
5
5
|
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
6
|
+
require('../chunk-ULWRNGGE.cjs');
|
|
6
7
|
var chunkMWDW5UBW_cjs = require('../chunk-MWDW5UBW.cjs');
|
|
7
8
|
require('../chunk-PPCATBOY.cjs');
|
|
8
9
|
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
|
+
chunkZAVEMQ37_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-ECERC6TI.js';
|
|
3
3
|
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
4
|
+
import '../chunk-TX2ZICS7.js';
|
|
4
5
|
import { NOTICE_MS, gridSlots, gridLayout, spotlightBox, CAPTION_TTL_MS, CAPTION_LINES, speakerAccent, formatElapsed, initialsOf, SPEAKING_LEVEL, nextSpotlight, INITIAL_SPOTLIGHT } from '../chunk-Z3AZ7Q5X.js';
|
|
5
6
|
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';
|
|
6
7
|
import '../chunk-NPLYHR2E.js';
|
|
7
8
|
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';
|