@arbidocs/blocks 0.5.43 → 0.5.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +14 -0
  2. package/dist/agents/definitions/agentTasks.d.ts +4 -0
  3. package/dist/agents/definitions/index.d.ts +1 -0
  4. package/dist/agents/index.cjs +14 -10
  5. package/dist/agents/index.js +1 -1
  6. package/dist/calls/index.cjs +73 -696
  7. package/dist/calls/index.cjs.map +1 -1
  8. package/dist/calls/index.js +10 -666
  9. package/dist/calls/index.js.map +1 -1
  10. package/dist/{chunk-6AJJJ5HR.cjs → chunk-5R256EMF.cjs} +671 -3
  11. package/dist/chunk-5R256EMF.cjs.map +1 -0
  12. package/dist/{chunk-E3IEZMRK.cjs → chunk-ET42AFEJ.cjs} +15 -2
  13. package/dist/chunk-ET42AFEJ.cjs.map +1 -0
  14. package/dist/{chunk-FOIDBAZB.js → chunk-OQMWTEM2.js} +15 -3
  15. package/dist/chunk-OQMWTEM2.js.map +1 -0
  16. package/dist/{chunk-4U4NXFV5.js → chunk-TKTNXFAB.js} +666 -9
  17. package/dist/chunk-TKTNXFAB.js.map +1 -0
  18. package/dist/connect/index.cjs +1736 -482
  19. package/dist/connect/index.cjs.map +1 -1
  20. package/dist/connect/index.d.ts +2 -0
  21. package/dist/connect/index.js +1729 -479
  22. package/dist/connect/index.js.map +1 -1
  23. package/dist/connection/ConnectedFilterDropdown.d.ts +6 -0
  24. package/dist/connection/agents/useConnectedAgentManagement.d.ts +60 -0
  25. package/dist/connection/conversation/ConnectedConversation.d.ts +7 -9
  26. package/dist/connection/conversation/ConnectedConversationPage.d.ts +30 -0
  27. package/dist/connection/conversation/SemanticSearchButton.d.ts +12 -0
  28. package/dist/connection/files/imports/ConnectedAccountsImport.d.ts +16 -0
  29. package/dist/connection/files/imports/DriveImportPanel.d.ts +10 -0
  30. package/dist/connection/files/imports/EmailImportPanel.d.ts +21 -0
  31. package/dist/connection/files/imports/ImportHandoff.d.ts +24 -0
  32. package/dist/connection/files/imports/useDriveSyncTrigger.d.ts +11 -0
  33. package/dist/connection/files/imports/useEmailSyncTrigger.d.ts +11 -0
  34. package/dist/connection/files/imports/useImportHandoff.d.ts +20 -0
  35. package/dist/connection/files/index.d.ts +1 -0
  36. package/dist/index.cjs +14 -10
  37. package/dist/index.js +1 -1
  38. package/dist/workflow-canvas/index.cjs +2 -2
  39. package/dist/workflow-canvas/index.js +1 -1
  40. package/node_modules/@arbidocs/coedit/package.json +1 -1
  41. package/package.json +5 -5
  42. package/dist/chunk-4U4NXFV5.js.map +0 -1
  43. package/dist/chunk-6AJJJ5HR.cjs.map +0 -1
  44. package/dist/chunk-E3IEZMRK.cjs.map +0 -1
  45. package/dist/chunk-FOIDBAZB.js.map +0 -1
package/README.md CHANGED
@@ -208,6 +208,20 @@ const client = createArbiClient({ baseUrl, deploymentDomain, sso: auth0TokenSour
208
208
 
209
209
  ## Assistant chat page
210
210
 
211
+ `ConnectedConversation` (`@arbidocs/blocks/connect`) renders its existing thread body by default.
212
+ `layout="page"` includes the shared thread tabs, task bar, history/filter/search and URL-upload dialog.
213
+ Optional `conversationId` selects a stored or new thread without parsing host routes. The page uses
214
+ ordinary `modelSelector`, `composerAccessory` and `composerTools` slots; `page.renderComposerAccessory`
215
+ can instead receive current documents, pinned-version title and upload/navigation actions. That
216
+ render callback takes priority over the ordinary accessory. Undefined tools use the developer
217
+ settings control; explicit `null` hides it. `page.onGoToDocuments` may specialize the host navigation,
218
+ and `page.ResultsBoundary` may wrap message search results. The thinner `ChatPage` plus
219
+ `useConnectedChat` remains the alternative view used by Clarum, whose workflow panels and URL
220
+ bindings stay with that host.
221
+
222
+ `ConnectedFilterDropdown` binds the existing tri-state menu to session-only transient open state;
223
+ keys isolate independent menus and retain their open state across navigation, without persisting it.
224
+
211
225
  `ChatPage` (`@arbidocs/blocks/chat`) is a whole assistant chat: the workspace's stored conversations (backend
212
226
  titles, history loads on open), markdown answers whose citations are quiet numbered marks with a source popover
213
227
  (document, page, passage, an open action through `onOpenCitation`), composer with a document chip, upload and a stop
@@ -0,0 +1,4 @@
1
+ /** Tasks per assigned agent, retaining server order for latest-goal/watch presentation. */
2
+ export declare function groupAgentTasks<T extends {
3
+ agent_ext_id?: string | null;
4
+ }>(tasks: readonly T[]): Map<string, T[]>;
@@ -5,3 +5,4 @@ export { AgentCreator, DEFAULT_AGENT_CREATOR_LABELS, deriveAgentName, isValidAge
5
5
  export { composePersona, stripPersonaPreamble, agentCreatorToConfigSection, agentConfigSectionToValues, } from './persona';
6
6
  export { DEFAULT_AGENT_CAPABILITIES, DEFAULT_AGENT_TEMPLATES, DEFAULT_AGENT_TYPES, } from './defaults';
7
7
  export { AgentConnectInstructions, type AgentConnectInstructionsProps, } from './AgentConnectInstructions';
8
+ export { groupAgentTasks } from './agentTasks';
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkE3IEZMRK_cjs = require('../chunk-E3IEZMRK.cjs');
4
+ var chunkET42AFEJ_cjs = require('../chunk-ET42AFEJ.cjs');
5
5
  var chunkO3MRE2HL_cjs = require('../chunk-O3MRE2HL.cjs');
6
6
  require('../chunk-RFIBUWLF.cjs');
7
7
  var chunk2QDNQM63_cjs = require('../chunk-2QDNQM63.cjs');
@@ -34,39 +34,43 @@ require('../chunk-DES3K4SD.cjs');
34
34
 
35
35
  Object.defineProperty(exports, "AgentCard", {
36
36
  enumerable: true,
37
- get: function () { return chunkE3IEZMRK_cjs.AgentCard; }
37
+ get: function () { return chunkET42AFEJ_cjs.AgentCard; }
38
38
  });
39
39
  Object.defineProperty(exports, "AgentGallery", {
40
40
  enumerable: true,
41
- get: function () { return chunkE3IEZMRK_cjs.AgentGallery; }
41
+ get: function () { return chunkET42AFEJ_cjs.AgentGallery; }
42
42
  });
43
43
  Object.defineProperty(exports, "DEFAULT_AGENT_CARD_LABELS", {
44
44
  enumerable: true,
45
- get: function () { return chunkE3IEZMRK_cjs.DEFAULT_AGENT_CARD_LABELS; }
45
+ get: function () { return chunkET42AFEJ_cjs.DEFAULT_AGENT_CARD_LABELS; }
46
46
  });
47
47
  Object.defineProperty(exports, "DEFAULT_AGENT_GALLERY_LABELS", {
48
48
  enumerable: true,
49
- get: function () { return chunkE3IEZMRK_cjs.DEFAULT_AGENT_GALLERY_LABELS; }
49
+ get: function () { return chunkET42AFEJ_cjs.DEFAULT_AGENT_GALLERY_LABELS; }
50
50
  });
51
51
  Object.defineProperty(exports, "DEFAULT_SKILL_CARD_LABELS", {
52
52
  enumerable: true,
53
- get: function () { return chunkE3IEZMRK_cjs.DEFAULT_SKILL_CARD_LABELS; }
53
+ get: function () { return chunkET42AFEJ_cjs.DEFAULT_SKILL_CARD_LABELS; }
54
54
  });
55
55
  Object.defineProperty(exports, "DEFAULT_SKILL_ROW_LABELS", {
56
56
  enumerable: true,
57
- get: function () { return chunkE3IEZMRK_cjs.DEFAULT_SKILL_ROW_LABELS; }
57
+ get: function () { return chunkET42AFEJ_cjs.DEFAULT_SKILL_ROW_LABELS; }
58
58
  });
59
59
  Object.defineProperty(exports, "SkillCard", {
60
60
  enumerable: true,
61
- get: function () { return chunkE3IEZMRK_cjs.SkillCard; }
61
+ get: function () { return chunkET42AFEJ_cjs.SkillCard; }
62
62
  });
63
63
  Object.defineProperty(exports, "SkillRow", {
64
64
  enumerable: true,
65
- get: function () { return chunkE3IEZMRK_cjs.SkillRow; }
65
+ get: function () { return chunkET42AFEJ_cjs.SkillRow; }
66
+ });
67
+ Object.defineProperty(exports, "groupAgentTasks", {
68
+ enumerable: true,
69
+ get: function () { return chunkET42AFEJ_cjs.groupAgentTasks; }
66
70
  });
67
71
  Object.defineProperty(exports, "useWorkflowPreview", {
68
72
  enumerable: true,
69
- get: function () { return chunkE3IEZMRK_cjs.useWorkflowPreview; }
73
+ get: function () { return chunkET42AFEJ_cjs.useWorkflowPreview; }
70
74
  });
71
75
  Object.defineProperty(exports, "ANNOTATE", {
72
76
  enumerable: true,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { AgentCard, AgentGallery, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_ROW_LABELS, SkillCard, SkillRow, useWorkflowPreview } from '../chunk-FOIDBAZB.js';
2
+ export { AgentCard, AgentGallery, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_ROW_LABELS, SkillCard, SkillRow, groupAgentTasks, useWorkflowPreview } from '../chunk-OQMWTEM2.js';
3
3
  export { ANNOTATE, ANNOTATE_ID, AUTOMATION_EVENTS, ActionStepBody, AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentConnectInstructions, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentMainView, AgentTypeSelector, ApprovalEvidence, AssigneeLine, AssistantEntity, BUILTIN_SKILLS, CHRONOLOGY, CHRONOLOGY_ID, CUSTOM_TASK, CUSTOM_TASK_ID, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DASHBOARD_OPERATIONS, DASHBOARD_PINNED, DEEP_RESEARCH, DEEP_RESEARCH_ID, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CAPABILITIES, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TEMPLATES, DEFAULT_AGENT_TYPES, 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_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_STEP_BAR_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_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_RUNNER_LABELS, DEFAULT_WORKFLOW_RUN_STATUS_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, GENERATE_IMAGE, GENERATE_IMAGE_ID, GoalCriteria, IMAGE_ASPECT_AUTO, IMAGE_ASPECT_RATIOS, MAX_TASK_DEPTH, MODEL_NAME_ICONS, MODEL_TIER_ICON_MAP, MODEL_TIER_LABELS, NewThreadDialog, PillSelect, REMIND_TASK, REMIND_TASK_ID, RecurrenceBuilder, SKILL_FIELD_TYPE_LABELS, SKILL_MAIN_FILENAME, SKILL_SOURCE_LABELS, SKILL_TYPES, SKILL_TYPE_LABELS, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, STEP_ICON_MAP, SUMMARISE, SUMMARISE_ID, SendBackControl, SkillActionButton, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillLibraryDetail, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TAG_ICONS, TASK_COLUMN_ORDER, TIMELINE, TIMELINE_ID, TIMELINE_PROMPT, TOOL_ICON_MAP, TRANSLATE, TRANSLATE_ID, TRANSLATE_LANGUAGES, TRIGGER_LABELS, TaskActivityDialog, TaskActivityTimeline, TaskComposer, TaskEmptyState, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TasksToolbar, ThreadActivity, ThreadLauncher, ThreadNotifyDialog, ThreadStatusLine, TupleArrayField, UploadTaskItem, UploadTaskList, WEB_WORKFLOWS, WEEKDAYS, WORD_ASK, WORD_ASK_ID, WORD_CONTINUE, WORD_CONTINUE_ID, WORD_SUMMARISE, WORD_SUMMARISE_ID, WORD_SUPPORT, WORD_SUPPORT_ID, WORD_WORKFLOWS, WORKFLOW_REGISTRY, WorkflowRunStatus, WorkflowRunner, WorkflowStepAction, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsToolbar, activeStepId, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildLibrarySkills, buildRRule, buildTaskRows, buildZipSkillImport, closeWorkflowLaunch, compactThreadActivity, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveAnnotationName, deriveWorkflowName, descendantIds, describeRRule, describeTrigger, filterConversationRows, filterLibrarySkills, firstWords, formatElapsed, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, getAgentStepIcon, getAgentStepPresentation, getCurrentAgentStepPresentation, getModelIcon, goalProgress, groupThreadActivity, hasTaskFields, humanizeSection, importMarkdownSkill, importSkillFile, importSkillFromUrl, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isIncompleteSignal, isMainSkillFile, isOutOfBounds, isPlainTodo, isSupersededStop, isValidAgentName, isoToLocalInput, latestMessageTime, layoutFromPlanSteps, linkedRunsFromActivity, localInputToIso, moveTargets, newThreadToRequest, nextCriterionId, notifiedLabel, openWorkflowLaunch, ownerExtId, parseRRule, parseSkillFrontmatter, prettifyKey, readSkillArchive, recordWorkflowUse, renderWorkflowIcon, resetWorkflowUsage, resolveScopeInputs, serializeSkill, skillSlug, sortByRecentUse, stepAccent, stepWindow, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskActivityHeadline, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, toPlanAssignee, toPlanDocumentRef, toPlanSteps, unnotifiedMentions, useWorkflowLaunchRequest, useWorkflowUsage, useWorkflowView, workflowFromSkillMarkdown, workflowTaskFields, workflowToComposerValues, workflowToSkillMarkdown, workflowWhen } from '../chunk-YAGSGBVM.js';
4
4
  import '../chunk-CQCC7LE7.js';
5
5
  export { AgentSelect, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_DOCUMENTS_FIELD_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, PersonPill, SchemaForm, TaskTriggerChip, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowsTable, buildWorkflowScopeSource, createWorkflowColumns, documentScopeLabels, hasTrigger, isSkillRow, matchWorkflowScope, workflowStatus, workflowTriggerType } from '../chunk-7CHI36EP.js';