@arbidocs/blocks 0.4.69 → 0.4.71
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/README.md +161 -1
- package/bin/arbidocs-copy-pdf-assets.mjs +112 -0
- package/dist/{StreamedArtifactEditor-OPL4KXOT.js → StreamedArtifactEditor-HTNPG4NB.js} +3 -2
- package/dist/StreamedArtifactEditor-HTNPG4NB.js.map +1 -0
- package/dist/{StreamedArtifactEditor-RIKG6CJQ.cjs → StreamedArtifactEditor-IZWYNFMM.cjs} +3 -2
- package/dist/StreamedArtifactEditor-IZWYNFMM.cjs.map +1 -0
- package/dist/agents/index.cjs +221 -220
- package/dist/agents/index.js +5 -4
- package/dist/artifacts/editor/index.cjs +1 -0
- package/dist/artifacts/editor/index.js +1 -0
- package/dist/artifacts/index.cjs +1 -0
- package/dist/artifacts/index.js +1 -0
- package/dist/auth/index.cjs +1 -0
- package/dist/auth/index.js +1 -0
- package/dist/chat/index.cjs +67 -66
- package/dist/chat/index.js +3 -2
- package/dist/{chunk-CW4WXGEN.js → chunk-3TVTG7FK.js} +3 -3
- package/dist/{chunk-CW4WXGEN.js.map → chunk-3TVTG7FK.js.map} +1 -1
- package/dist/chunk-4DVEGXZQ.cjs +72 -0
- package/dist/chunk-4DVEGXZQ.cjs.map +1 -0
- package/dist/{chunk-EHXSBH6U.js → chunk-5HOAOKZL.js} +4 -2
- package/dist/chunk-5HOAOKZL.js.map +1 -0
- package/dist/{chunk-ZYZMCNIS.cjs → chunk-7M22KND4.cjs} +5 -5
- package/dist/{chunk-ZYZMCNIS.cjs.map → chunk-7M22KND4.cjs.map} +1 -1
- package/dist/{chunk-ZQB7HNE6.js → chunk-BMWZTNZB.js} +3 -3
- package/dist/{chunk-ZQB7HNE6.js.map → chunk-BMWZTNZB.js.map} +1 -1
- package/dist/chunk-DES3K4SD.cjs +18 -0
- package/dist/chunk-DES3K4SD.cjs.map +1 -0
- package/dist/{chunk-4HZ46XP2.js → chunk-HLMFU7L2.js} +5 -5
- package/dist/{chunk-4HZ46XP2.js.map → chunk-HLMFU7L2.js.map} +1 -1
- package/dist/{chunk-BR2CPKFU.cjs → chunk-LTA2IAQB.cjs} +6 -6
- package/dist/{chunk-BR2CPKFU.cjs.map → chunk-LTA2IAQB.cjs.map} +1 -1
- package/dist/chunk-ODWCTAH7.js +66 -0
- package/dist/chunk-ODWCTAH7.js.map +1 -0
- package/dist/{chunk-TLQQV7WW.cjs → chunk-THO7DZNN.cjs} +4 -2
- package/dist/chunk-THO7DZNN.cjs.map +1 -0
- package/dist/chunk-VUNV25KB.js +15 -0
- package/dist/chunk-VUNV25KB.js.map +1 -0
- package/dist/{chunk-WKNAFILY.cjs → chunk-XNRGCQPZ.cjs} +3 -3
- package/dist/{chunk-WKNAFILY.cjs.map → chunk-XNRGCQPZ.cjs.map} +1 -1
- package/dist/citations/index.cjs +1 -0
- package/dist/citations/index.js +1 -0
- package/dist/collaboration/index.cjs +1 -0
- package/dist/collaboration/index.js +1 -0
- package/dist/connect/docx.cjs +3 -2
- package/dist/connect/docx.cjs.map +1 -1
- package/dist/connect/docx.js +2 -1
- package/dist/connect/docx.js.map +1 -1
- package/dist/connect/index.cjs +26 -25
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +7 -6
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectionProvider.d.ts +5 -0
- package/dist/connection/types.d.ts +6 -0
- package/dist/document-tools/DocumentToolButtons.d.ts +29 -0
- package/dist/document-tools/MarkupNotices.d.ts +12 -0
- package/dist/document-tools/MarkupViewNote.d.ts +11 -0
- package/dist/document-tools/SignDocumentDialog.d.ts +20 -0
- package/dist/document-tools/SignatureCertificate.d.ts +26 -0
- package/dist/document-tools/SignatureStatus.d.ts +24 -0
- package/dist/document-tools/VersionSnapshotBar.d.ts +27 -0
- package/dist/document-tools/index.cjs +637 -0
- package/dist/document-tools/index.cjs.map +1 -0
- package/dist/document-tools/index.d.ts +7 -0
- package/dist/document-tools/index.js +623 -0
- package/dist/document-tools/index.js.map +1 -0
- package/dist/document-tools/production/ProductionSetDialog.d.ts +23 -0
- package/dist/document-tools/production/index.cjs +102 -0
- package/dist/document-tools/production/index.cjs.map +1 -0
- package/dist/document-tools/production/index.d.ts +1 -0
- package/dist/document-tools/production/index.js +100 -0
- package/dist/document-tools/production/index.js.map +1 -0
- package/dist/document-tools/viewer/AnnotatedPdfViewer.d.ts +54 -0
- package/dist/document-tools/viewer/SignaturePlacementViewer.d.ts +20 -0
- package/dist/document-tools/viewer/index.cjs +273 -0
- package/dist/document-tools/viewer/index.cjs.map +1 -0
- package/dist/document-tools/viewer/index.d.ts +2 -0
- package/dist/document-tools/viewer/index.js +268 -0
- package/dist/document-tools/viewer/index.js.map +1 -0
- package/dist/docx/index.cjs +1 -0
- package/dist/docx/index.cjs.map +1 -1
- package/dist/docx/index.js +1 -0
- package/dist/docx/index.js.map +1 -1
- package/dist/facts/index.cjs +1 -0
- package/dist/facts/index.cjs.map +1 -1
- package/dist/facts/index.js +1 -0
- package/dist/facts/index.js.map +1 -1
- package/dist/files/cells/DocumentNameCell.d.ts +3 -1
- package/dist/files/index.cjs +39 -67
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +20 -63
- package/dist/files/index.js.map +1 -1
- package/dist/home/index.cjs +1 -0
- package/dist/home/index.cjs.map +1 -1
- package/dist/home/index.js +1 -0
- package/dist/home/index.js.map +1 -1
- package/dist/index.cjs +481 -480
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/dist/lib-6QPUXAQS.cjs +9674 -0
- package/dist/lib-6QPUXAQS.cjs.map +1 -0
- package/dist/lib-NRGL2JGF.js +9672 -0
- package/dist/lib-NRGL2JGF.js.map +1 -0
- package/dist/retrieval/index.cjs +1 -0
- package/dist/retrieval/index.js +1 -0
- package/dist/settings/index.cjs +2 -1
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.js +2 -1
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/index.cjs +1 -0
- package/dist/shell/index.js +1 -0
- package/dist/site/index.cjs +1 -0
- package/dist/site/index.js +1 -0
- package/dist/studio/index.cjs +5 -4
- package/dist/studio/index.cjs.map +1 -1
- package/dist/studio/index.js +3 -2
- package/dist/studio/index.js.map +1 -1
- package/dist/timeline/index.cjs +1 -0
- package/dist/timeline/index.js +1 -0
- package/dist/workspaces/index.cjs +1 -0
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.js +1 -0
- package/dist/workspaces/index.js.map +1 -1
- package/package.json +32 -4
- package/dist/StreamedArtifactEditor-OPL4KXOT.js.map +0 -1
- package/dist/StreamedArtifactEditor-RIKG6CJQ.cjs.map +0 -1
- package/dist/chunk-EHXSBH6U.js.map +0 -1
- package/dist/chunk-TLQQV7WW.cjs.map +0 -1
package/dist/agents/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EMPTY_WORKFLOW_SCOPE, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SchemaForm, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskActivityTimeline, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadNotifyDialog, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildLaunch, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composeWorkflowPrompt, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultInputs, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, inputsFromContext, isAgenticWorkflow, isEmptyWorkflowScope, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isWorkflowScope, isoToLocalInput, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, promptFieldName, resolveScopeInputs, skillToWorkflow, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, validateInputs, workflowAccepts, workflowFromFrontmatter, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowTriggerType, workflowWhen, workflowsAccepting, workflowsForHost } from '../chunk-
|
|
2
|
+
export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, EMPTY_WORKFLOW_SCOPE, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SchemaForm, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskActivityTimeline, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadNotifyDialog, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildLaunch, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composeWorkflowPrompt, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultInputs, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, inputsFromContext, isAgenticWorkflow, isEmptyWorkflowScope, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isWorkflowScope, isoToLocalInput, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, promptFieldName, resolveScopeInputs, skillToWorkflow, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, validateInputs, workflowAccepts, workflowFromFrontmatter, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowTriggerType, workflowWhen, workflowsAccepting, workflowsForHost } from '../chunk-HLMFU7L2.js';
|
|
3
3
|
import '../chunk-P6GHJSLR.js';
|
|
4
4
|
import '../chunk-RFXJYIDV.js';
|
|
5
5
|
import '../chunk-BUHKUKKB.js';
|
|
6
|
-
import '../chunk-LFGJAZ5H.js';
|
|
7
|
-
import '../chunk-CKB64Z4R.js';
|
|
8
|
-
import '../chunk-DPLRHEJZ.js';
|
|
9
6
|
import '../chunk-YU2KUMGE.js';
|
|
7
|
+
import '../chunk-LFGJAZ5H.js';
|
|
10
8
|
import '../chunk-S7PSMMRG.js';
|
|
9
|
+
import '../chunk-CKB64Z4R.js';
|
|
11
10
|
import '../chunk-4WWM3GQ5.js';
|
|
11
|
+
import '../chunk-DPLRHEJZ.js';
|
|
12
12
|
import '../chunk-3VQYJBOI.js';
|
|
13
13
|
import '../chunk-SLSBJRWW.js';
|
|
14
14
|
import '../chunk-NPLYHR2E.js';
|
|
@@ -18,5 +18,6 @@ import '../chunk-CPMNAJLF.js';
|
|
|
18
18
|
import '../chunk-TJMKFY5P.js';
|
|
19
19
|
import '../chunk-AA3PT6KR.js';
|
|
20
20
|
import '../chunk-7F6CBP3Z.js';
|
|
21
|
+
import '../chunk-VUNV25KB.js';
|
|
21
22
|
//# sourceMappingURL=index.js.map
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
package/dist/artifacts/index.cjs
CHANGED
package/dist/artifacts/index.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
export { ArtifactCompareBar, ArtifactEditor, ArtifactEditorBody, ArtifactRedlineView, ArtifactToolbar, ArtifactVersionBar, DEFAULT_ARTIFACT_COMPARE_BAR_LABELS, DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS, DEFAULT_ARTIFACT_TOOLBAR_LABELS, DEFAULT_ARTIFACT_VERSION_BAR_LABELS, DEFAULT_REDLINE_LABELS, DEFAULT_VERSION_TIMELINE_LABELS, RedlineComputing, RedlineDocument, RedlineFrame, RedlineHeader, RedlineMark, RedlineRevertGutter, RedlineStatus, VersionTimeline } from '../chunk-65HZ36MY.js';
|
|
3
3
|
export { DEFAULT_STREAMED_ARTIFACT_FRAME_LABELS, StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
4
4
|
import '../chunk-7F6CBP3Z.js';
|
|
5
|
+
import '../chunk-VUNV25KB.js';
|
|
5
6
|
//# sourceMappingURL=index.js.map
|
|
6
7
|
//# sourceMappingURL=index.js.map
|
package/dist/auth/index.cjs
CHANGED
package/dist/auth/index.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
export { AccountRecoveryDialog, AuthAlert, AuthConsent, AuthDivider, AuthField, AuthFieldBadge, AuthFooterLinks, AuthHeading, AuthHero, AuthInput, AuthLayout, AuthLink, AuthNote, AuthOfflineBadge, AuthSubmitButton, AuthTabs, DEFAULT_ACCOUNT_RECOVERY_DIALOG_LABELS, DEFAULT_AUTH_CONSENT_LABELS, DEFAULT_AUTH_FOOTER_LINKS_LABELS, DEFAULT_AUTH_OFFLINE_BADGE_LABELS, DEFAULT_RECOVERY_KEY_DIALOG_LABELS, DEFAULT_REVEALABLE_PASSWORD_INPUT_LABELS, DEFAULT_SSO_LOGIN_BUTTON_LABELS, RecoveryKeyDialog, RevealablePasswordInput, SsoLoginButton } from '../chunk-SFXVNFES.js';
|
|
3
3
|
export { DEFAULT_PASSWORD_STRENGTH_INPUT_LABELS, PasswordStrengthInput } from '../chunk-VILAPTCB.js';
|
|
4
4
|
import '../chunk-7F6CBP3Z.js';
|
|
5
|
+
import '../chunk-VUNV25KB.js';
|
|
5
6
|
//# sourceMappingURL=index.js.map
|
|
6
7
|
//# sourceMappingURL=index.js.map
|
package/dist/chat/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var chunk5DM6VU4L_cjs = require('../chunk-5DM6VU4L.cjs');
|
|
4
|
+
var chunkXNRGCQPZ_cjs = require('../chunk-XNRGCQPZ.cjs');
|
|
6
5
|
require('../chunk-XKSFJYOD.cjs');
|
|
6
|
+
var chunk5DM6VU4L_cjs = require('../chunk-5DM6VU4L.cjs');
|
|
7
7
|
require('../chunk-VGOFFCMT.cjs');
|
|
8
8
|
var chunkV3L5DONY_cjs = require('../chunk-V3L5DONY.cjs');
|
|
9
9
|
require('../chunk-FX3K6LNZ.cjs');
|
|
@@ -11,264 +11,265 @@ require('../chunk-PPCATBOY.cjs');
|
|
|
11
11
|
require('../chunk-KDG6FER6.cjs');
|
|
12
12
|
var chunk7UTB4PHM_cjs = require('../chunk-7UTB4PHM.cjs');
|
|
13
13
|
require('../chunk-MHVNT4J3.cjs');
|
|
14
|
+
require('../chunk-DES3K4SD.cjs');
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
Object.defineProperty(exports, "AssistantToaster", {
|
|
18
19
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkXNRGCQPZ_cjs.AssistantToaster; }
|
|
20
21
|
});
|
|
21
22
|
Object.defineProperty(exports, "BranchControls", {
|
|
22
23
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkXNRGCQPZ_cjs.BranchControls; }
|
|
24
25
|
});
|
|
25
26
|
Object.defineProperty(exports, "ComposerAccessories", {
|
|
26
27
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkXNRGCQPZ_cjs.ComposerAccessories; }
|
|
28
29
|
});
|
|
29
30
|
Object.defineProperty(exports, "ComposerTools", {
|
|
30
31
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkXNRGCQPZ_cjs.ComposerTools; }
|
|
32
33
|
});
|
|
33
34
|
Object.defineProperty(exports, "ContextActionButton", {
|
|
34
35
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkXNRGCQPZ_cjs.ContextActionButton; }
|
|
36
37
|
});
|
|
37
38
|
Object.defineProperty(exports, "ContextCheckRow", {
|
|
38
39
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkXNRGCQPZ_cjs.ContextCheckRow; }
|
|
40
41
|
});
|
|
41
42
|
Object.defineProperty(exports, "ContextPanelContent", {
|
|
42
43
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkXNRGCQPZ_cjs.ContextPanelContent; }
|
|
44
45
|
});
|
|
45
46
|
Object.defineProperty(exports, "ContextPanelFooter", {
|
|
46
47
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkXNRGCQPZ_cjs.ContextPanelFooter; }
|
|
48
49
|
});
|
|
49
50
|
Object.defineProperty(exports, "ContextPanelTabs", {
|
|
50
51
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkXNRGCQPZ_cjs.ContextPanelTabs; }
|
|
52
53
|
});
|
|
53
54
|
Object.defineProperty(exports, "ContextPickerList", {
|
|
54
55
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkXNRGCQPZ_cjs.ContextPickerList; }
|
|
56
57
|
});
|
|
57
58
|
Object.defineProperty(exports, "ContextPickerRow", {
|
|
58
59
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkXNRGCQPZ_cjs.ContextPickerRow; }
|
|
60
61
|
});
|
|
61
62
|
Object.defineProperty(exports, "ContextSearchInput", {
|
|
62
63
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkXNRGCQPZ_cjs.ContextSearchInput; }
|
|
64
65
|
});
|
|
65
66
|
Object.defineProperty(exports, "ContextSelectList", {
|
|
66
67
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkXNRGCQPZ_cjs.ContextSelectList; }
|
|
68
69
|
});
|
|
69
70
|
Object.defineProperty(exports, "ContextSelectRow", {
|
|
70
71
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkXNRGCQPZ_cjs.ContextSelectRow; }
|
|
72
73
|
});
|
|
73
74
|
Object.defineProperty(exports, "Conversation", {
|
|
74
75
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkXNRGCQPZ_cjs.Conversation; }
|
|
76
77
|
});
|
|
77
78
|
Object.defineProperty(exports, "ConversationBody", {
|
|
78
79
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkXNRGCQPZ_cjs.ConversationBody; }
|
|
80
81
|
});
|
|
81
82
|
Object.defineProperty(exports, "ConversationHeader", {
|
|
82
83
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkXNRGCQPZ_cjs.ConversationHeader; }
|
|
84
85
|
});
|
|
85
86
|
Object.defineProperty(exports, "ConversationHeaderActions", {
|
|
86
87
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkXNRGCQPZ_cjs.ConversationHeaderActions; }
|
|
88
89
|
});
|
|
89
90
|
Object.defineProperty(exports, "ConversationHistoryPane", {
|
|
90
91
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkXNRGCQPZ_cjs.ConversationHistoryPane; }
|
|
92
93
|
});
|
|
93
94
|
Object.defineProperty(exports, "ConversationLoading", {
|
|
94
95
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkXNRGCQPZ_cjs.ConversationLoading; }
|
|
96
97
|
});
|
|
97
98
|
Object.defineProperty(exports, "ConversationMain", {
|
|
98
99
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkXNRGCQPZ_cjs.ConversationMain; }
|
|
100
101
|
});
|
|
101
102
|
Object.defineProperty(exports, "ConversationRoot", {
|
|
102
103
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkXNRGCQPZ_cjs.ConversationRoot; }
|
|
104
105
|
});
|
|
105
106
|
Object.defineProperty(exports, "ConversationSearchView", {
|
|
106
107
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkXNRGCQPZ_cjs.ConversationSearchView; }
|
|
108
109
|
});
|
|
109
110
|
Object.defineProperty(exports, "ConversationSettingsButton", {
|
|
110
111
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkXNRGCQPZ_cjs.ConversationSettingsButton; }
|
|
112
113
|
});
|
|
113
114
|
Object.defineProperty(exports, "DEFAULT_BRANCH_CONTROLS_LABELS", {
|
|
114
115
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkXNRGCQPZ_cjs.DEFAULT_BRANCH_CONTROLS_LABELS; }
|
|
116
117
|
});
|
|
117
118
|
Object.defineProperty(exports, "DEFAULT_CONVERSATION_LAYOUT_LABELS", {
|
|
118
119
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkXNRGCQPZ_cjs.DEFAULT_CONVERSATION_LAYOUT_LABELS; }
|
|
120
121
|
});
|
|
121
122
|
Object.defineProperty(exports, "DEFAULT_CONVERSATION_PARTS_LABELS", {
|
|
122
123
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkXNRGCQPZ_cjs.DEFAULT_CONVERSATION_PARTS_LABELS; }
|
|
124
125
|
});
|
|
125
126
|
Object.defineProperty(exports, "DEFAULT_CONVERSATION_SEARCH_LABELS", {
|
|
126
127
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkXNRGCQPZ_cjs.DEFAULT_CONVERSATION_SEARCH_LABELS; }
|
|
128
129
|
});
|
|
129
130
|
Object.defineProperty(exports, "DEFAULT_LABEL_PIN_ROW_LABELS", {
|
|
130
131
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkXNRGCQPZ_cjs.DEFAULT_LABEL_PIN_ROW_LABELS; }
|
|
132
133
|
});
|
|
133
134
|
Object.defineProperty(exports, "DEFAULT_MODEL_PRICING_TIP_LABELS", {
|
|
134
135
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkXNRGCQPZ_cjs.DEFAULT_MODEL_PRICING_TIP_LABELS; }
|
|
136
137
|
});
|
|
137
138
|
Object.defineProperty(exports, "DEFAULT_PENDING_ANSWER_BAR_LABELS", {
|
|
138
139
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkXNRGCQPZ_cjs.DEFAULT_PENDING_ANSWER_BAR_LABELS; }
|
|
140
141
|
});
|
|
141
142
|
Object.defineProperty(exports, "DEFAULT_PINNED_DOC_CHIP_LABELS", {
|
|
142
143
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkXNRGCQPZ_cjs.DEFAULT_PINNED_DOC_CHIP_LABELS; }
|
|
144
145
|
});
|
|
145
146
|
Object.defineProperty(exports, "DEFAULT_SLASH_MENU_LABELS", {
|
|
146
147
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkXNRGCQPZ_cjs.DEFAULT_SLASH_MENU_LABELS; }
|
|
148
149
|
});
|
|
149
150
|
Object.defineProperty(exports, "DEFAULT_THREAD_MAP_LABELS", {
|
|
150
151
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkXNRGCQPZ_cjs.DEFAULT_THREAD_MAP_LABELS; }
|
|
152
153
|
});
|
|
153
154
|
Object.defineProperty(exports, "LabelPinRow", {
|
|
154
155
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkXNRGCQPZ_cjs.LabelPinRow; }
|
|
156
157
|
});
|
|
157
158
|
Object.defineProperty(exports, "ModelAutoIcon", {
|
|
158
159
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkXNRGCQPZ_cjs.ModelAutoIcon; }
|
|
160
161
|
});
|
|
161
162
|
Object.defineProperty(exports, "ModelConfigureButton", {
|
|
162
163
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkXNRGCQPZ_cjs.ModelConfigureButton; }
|
|
164
165
|
});
|
|
165
166
|
Object.defineProperty(exports, "ModelDot", {
|
|
166
167
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkXNRGCQPZ_cjs.ModelDot; }
|
|
168
169
|
});
|
|
169
170
|
Object.defineProperty(exports, "ModelMenuDivider", {
|
|
170
171
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkXNRGCQPZ_cjs.ModelMenuDivider; }
|
|
172
173
|
});
|
|
173
174
|
Object.defineProperty(exports, "ModelMenuMessage", {
|
|
174
175
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkXNRGCQPZ_cjs.ModelMenuMessage; }
|
|
176
177
|
});
|
|
177
178
|
Object.defineProperty(exports, "ModelOption", {
|
|
178
179
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkXNRGCQPZ_cjs.ModelOption; }
|
|
180
181
|
});
|
|
181
182
|
Object.defineProperty(exports, "ModelOptionLabel", {
|
|
182
183
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkXNRGCQPZ_cjs.ModelOptionLabel; }
|
|
184
185
|
});
|
|
185
186
|
Object.defineProperty(exports, "ModelPickerPopover", {
|
|
186
187
|
enumerable: true,
|
|
187
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkXNRGCQPZ_cjs.ModelPickerPopover; }
|
|
188
189
|
});
|
|
189
190
|
Object.defineProperty(exports, "ModelPickerTrigger", {
|
|
190
191
|
enumerable: true,
|
|
191
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkXNRGCQPZ_cjs.ModelPickerTrigger; }
|
|
192
193
|
});
|
|
193
194
|
Object.defineProperty(exports, "ModelPricingTip", {
|
|
194
195
|
enumerable: true,
|
|
195
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkXNRGCQPZ_cjs.ModelPricingTip; }
|
|
196
197
|
});
|
|
197
198
|
Object.defineProperty(exports, "ModelTierIcon", {
|
|
198
199
|
enumerable: true,
|
|
199
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkXNRGCQPZ_cjs.ModelTierIcon; }
|
|
200
201
|
});
|
|
201
202
|
Object.defineProperty(exports, "ModelTierOption", {
|
|
202
203
|
enumerable: true,
|
|
203
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkXNRGCQPZ_cjs.ModelTierOption; }
|
|
204
205
|
});
|
|
205
206
|
Object.defineProperty(exports, "ModelTriggerContent", {
|
|
206
207
|
enumerable: true,
|
|
207
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkXNRGCQPZ_cjs.ModelTriggerContent; }
|
|
208
209
|
});
|
|
209
210
|
Object.defineProperty(exports, "NewChatButton", {
|
|
210
211
|
enumerable: true,
|
|
211
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkXNRGCQPZ_cjs.NewChatButton; }
|
|
212
213
|
});
|
|
213
214
|
Object.defineProperty(exports, "NewPaChatButton", {
|
|
214
215
|
enumerable: true,
|
|
215
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkXNRGCQPZ_cjs.NewPaChatButton; }
|
|
216
217
|
});
|
|
217
218
|
Object.defineProperty(exports, "PaModeBadge", {
|
|
218
219
|
enumerable: true,
|
|
219
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkXNRGCQPZ_cjs.PaModeBadge; }
|
|
220
221
|
});
|
|
221
222
|
Object.defineProperty(exports, "PendingAnswerBar", {
|
|
222
223
|
enumerable: true,
|
|
223
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkXNRGCQPZ_cjs.PendingAnswerBar; }
|
|
224
225
|
});
|
|
225
226
|
Object.defineProperty(exports, "PinnedDocChip", {
|
|
226
227
|
enumerable: true,
|
|
227
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkXNRGCQPZ_cjs.PinnedDocChip; }
|
|
228
229
|
});
|
|
229
230
|
Object.defineProperty(exports, "SlashMenu", {
|
|
230
231
|
enumerable: true,
|
|
231
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkXNRGCQPZ_cjs.SlashMenu; }
|
|
232
233
|
});
|
|
233
234
|
Object.defineProperty(exports, "ThreadMap", {
|
|
234
235
|
enumerable: true,
|
|
235
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkXNRGCQPZ_cjs.ThreadMap; }
|
|
236
237
|
});
|
|
237
238
|
Object.defineProperty(exports, "ThreadMapDiagram", {
|
|
238
239
|
enumerable: true,
|
|
239
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkXNRGCQPZ_cjs.ThreadMapDiagram; }
|
|
240
241
|
});
|
|
241
242
|
Object.defineProperty(exports, "ThreadMapError", {
|
|
242
243
|
enumerable: true,
|
|
243
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkXNRGCQPZ_cjs.ThreadMapError; }
|
|
244
245
|
});
|
|
245
246
|
Object.defineProperty(exports, "ThreadMapLoading", {
|
|
246
247
|
enumerable: true,
|
|
247
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkXNRGCQPZ_cjs.ThreadMapLoading; }
|
|
248
249
|
});
|
|
249
250
|
Object.defineProperty(exports, "getParticipantTints", {
|
|
250
251
|
enumerable: true,
|
|
251
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkXNRGCQPZ_cjs.getParticipantTints; }
|
|
252
253
|
});
|
|
253
254
|
Object.defineProperty(exports, "hasMessageBody", {
|
|
254
255
|
enumerable: true,
|
|
255
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkXNRGCQPZ_cjs.hasMessageBody; }
|
|
256
257
|
});
|
|
257
258
|
Object.defineProperty(exports, "isLongPastedText", {
|
|
258
259
|
enumerable: true,
|
|
259
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkXNRGCQPZ_cjs.isLongPastedText; }
|
|
260
261
|
});
|
|
261
262
|
Object.defineProperty(exports, "useDismissibleCard", {
|
|
262
263
|
enumerable: true,
|
|
263
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkXNRGCQPZ_cjs.useDismissibleCard; }
|
|
264
265
|
});
|
|
265
266
|
Object.defineProperty(exports, "useLongPaste", {
|
|
266
267
|
enumerable: true,
|
|
267
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkXNRGCQPZ_cjs.useLongPaste; }
|
|
268
269
|
});
|
|
269
270
|
Object.defineProperty(exports, "useRecipientDraft", {
|
|
270
271
|
enumerable: true,
|
|
271
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkXNRGCQPZ_cjs.useRecipientDraft; }
|
|
272
273
|
});
|
|
273
274
|
Object.defineProperty(exports, "AssistantDock", {
|
|
274
275
|
enumerable: true,
|
package/dist/chat/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { AssistantToaster, BranchControls, ComposerAccessories, ComposerTools, ContextActionButton, ContextCheckRow, ContextPanelContent, ContextPanelFooter, ContextPanelTabs, ContextPickerList, ContextPickerRow, ContextSearchInput, ContextSelectList, ContextSelectRow, Conversation, ConversationBody, ConversationHeader, ConversationHeaderActions, ConversationHistoryPane, ConversationLoading, ConversationMain, ConversationRoot, ConversationSearchView, ConversationSettingsButton, DEFAULT_BRANCH_CONTROLS_LABELS, DEFAULT_CONVERSATION_LAYOUT_LABELS, DEFAULT_CONVERSATION_PARTS_LABELS, DEFAULT_CONVERSATION_SEARCH_LABELS, DEFAULT_LABEL_PIN_ROW_LABELS, DEFAULT_MODEL_PRICING_TIP_LABELS, DEFAULT_PENDING_ANSWER_BAR_LABELS, DEFAULT_PINNED_DOC_CHIP_LABELS, DEFAULT_SLASH_MENU_LABELS, DEFAULT_THREAD_MAP_LABELS, LabelPinRow, ModelAutoIcon, ModelConfigureButton, ModelDot, ModelMenuDivider, ModelMenuMessage, ModelOption, ModelOptionLabel, ModelPickerPopover, ModelPickerTrigger, ModelPricingTip, ModelTierIcon, ModelTierOption, ModelTriggerContent, NewChatButton, NewPaChatButton, PaModeBadge, PendingAnswerBar, PinnedDocChip, SlashMenu, ThreadMap, ThreadMapDiagram, ThreadMapError, ThreadMapLoading, getParticipantTints, hasMessageBody, isLongPastedText, useDismissibleCard, useLongPaste, useRecipientDraft } from '../chunk-
|
|
3
|
-
export { AssistantDock, AssistantDockToggle, AssistantModeToggle, ChatDocuments, ChatMessageContent, ChatPage, ChatThreadList, ChatThreadSelect, CitationMark, Composer, ComposerBranchingNotice, ComposerContainer, ComposerDock, ComposerFrame, ComposerInput, ComposerRoot, ComposerSend, ComposerToolbar, ComposerVoiceButton, ContextChip, ConversationEmpty, DEFAULT_ASSISTANT_MODE_TOGGLE_LABELS, DEFAULT_CHAT_PAGE_LABELS, DEFAULT_COMPOSER_LABELS, DEFAULT_CONVERSATION_EMPTY_LABELS, DEFAULT_MESSAGE_ALERT_LABELS, DEFAULT_MESSAGE_LABELS, DEFAULT_MESSAGE_LIST_LABELS, Message, MessageActionButton, MessageActionMenu, MessageAlert, MessageBody, MessageBubble, MessageByline, MessageContent, MessageFooter, MessageList, MessageListBanner, MessageListEmpty, MessageListRoot, MessageListRow, MessageListRows, MessageListStatus, MessageListTail, MessageNarration, MessageRoot, MessageSources, MessageSubagentBadge, ScrollToBottom, SourceChip, toSpeakableText, useAssistantDock, useChatSurface, useRegisterEmbeddedChat, useStreamAnnouncement } from '../chunk-DABEWNL2.js';
|
|
2
|
+
export { AssistantToaster, BranchControls, ComposerAccessories, ComposerTools, ContextActionButton, ContextCheckRow, ContextPanelContent, ContextPanelFooter, ContextPanelTabs, ContextPickerList, ContextPickerRow, ContextSearchInput, ContextSelectList, ContextSelectRow, Conversation, ConversationBody, ConversationHeader, ConversationHeaderActions, ConversationHistoryPane, ConversationLoading, ConversationMain, ConversationRoot, ConversationSearchView, ConversationSettingsButton, DEFAULT_BRANCH_CONTROLS_LABELS, DEFAULT_CONVERSATION_LAYOUT_LABELS, DEFAULT_CONVERSATION_PARTS_LABELS, DEFAULT_CONVERSATION_SEARCH_LABELS, DEFAULT_LABEL_PIN_ROW_LABELS, DEFAULT_MODEL_PRICING_TIP_LABELS, DEFAULT_PENDING_ANSWER_BAR_LABELS, DEFAULT_PINNED_DOC_CHIP_LABELS, DEFAULT_SLASH_MENU_LABELS, DEFAULT_THREAD_MAP_LABELS, LabelPinRow, ModelAutoIcon, ModelConfigureButton, ModelDot, ModelMenuDivider, ModelMenuMessage, ModelOption, ModelOptionLabel, ModelPickerPopover, ModelPickerTrigger, ModelPricingTip, ModelTierIcon, ModelTierOption, ModelTriggerContent, NewChatButton, NewPaChatButton, PaModeBadge, PendingAnswerBar, PinnedDocChip, SlashMenu, ThreadMap, ThreadMapDiagram, ThreadMapError, ThreadMapLoading, getParticipantTints, hasMessageBody, isLongPastedText, useDismissibleCard, useLongPaste, useRecipientDraft } from '../chunk-BMWZTNZB.js';
|
|
4
3
|
import '../chunk-BV7FEMSI.js';
|
|
4
|
+
export { AssistantDock, AssistantDockToggle, AssistantModeToggle, ChatDocuments, ChatMessageContent, ChatPage, ChatThreadList, ChatThreadSelect, CitationMark, Composer, ComposerBranchingNotice, ComposerContainer, ComposerDock, ComposerFrame, ComposerInput, ComposerRoot, ComposerSend, ComposerToolbar, ComposerVoiceButton, ContextChip, ConversationEmpty, DEFAULT_ASSISTANT_MODE_TOGGLE_LABELS, DEFAULT_CHAT_PAGE_LABELS, DEFAULT_COMPOSER_LABELS, DEFAULT_CONVERSATION_EMPTY_LABELS, DEFAULT_MESSAGE_ALERT_LABELS, DEFAULT_MESSAGE_LABELS, DEFAULT_MESSAGE_LIST_LABELS, Message, MessageActionButton, MessageActionMenu, MessageAlert, MessageBody, MessageBubble, MessageByline, MessageContent, MessageFooter, MessageList, MessageListBanner, MessageListEmpty, MessageListRoot, MessageListRow, MessageListRows, MessageListStatus, MessageListTail, MessageNarration, MessageRoot, MessageSources, MessageSubagentBadge, ScrollToBottom, SourceChip, toSpeakableText, useAssistantDock, useChatSurface, useRegisterEmbeddedChat, useStreamAnnouncement } from '../chunk-DABEWNL2.js';
|
|
5
5
|
import '../chunk-KZJAG7T3.js';
|
|
6
6
|
export { useMentionAutocomplete } from '../chunk-3VQYJBOI.js';
|
|
7
7
|
import '../chunk-SLSBJRWW.js';
|
|
@@ -9,5 +9,6 @@ import '../chunk-NPLYHR2E.js';
|
|
|
9
9
|
import '../chunk-OXF2IFXG.js';
|
|
10
10
|
export { DEFAULT_MENTION_LABELS, MENTION_HREF_PREFIX, MentionChip, MentionMenu, extractMentions, filterMentionCandidates, findMentionQuery, insertMention, linkMentions, mentionFromHref, toMessageMentions, useListKeyNav } from '../chunk-AA3PT6KR.js';
|
|
11
11
|
import '../chunk-7F6CBP3Z.js';
|
|
12
|
+
import '../chunk-VUNV25KB.js';
|
|
12
13
|
//# sourceMappingURL=index.js.map
|
|
13
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { AssistantDock } from './chunk-DABEWNL2.js';
|
|
3
|
-
import { useConnection } from './chunk-
|
|
3
|
+
import { useConnection } from './chunk-5HOAOKZL.js';
|
|
4
4
|
import { useCallback } from 'react';
|
|
5
5
|
import { useAiTask, useWorkspaceDocs as useWorkspaceDocs$1, useSemanticSearch as useSemanticSearch$1, useWorkspaceUsers, useArbiChat } from '@arbidocs/react';
|
|
6
6
|
export { redlineStats, textToArtifact, toRedlineMarkdown } from '@arbidocs/react';
|
|
@@ -64,5 +64,5 @@ function ConnectedAssistantDock(props) {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
export { ConnectedAssistantDock, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs };
|
|
67
|
-
//# sourceMappingURL=chunk-
|
|
68
|
-
//# sourceMappingURL=chunk-
|
|
67
|
+
//# sourceMappingURL=chunk-3TVTG7FK.js.map
|
|
68
|
+
//# sourceMappingURL=chunk-3TVTG7FK.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/connection/ai.tsx"],"names":["useKitAiTask","useKitWorkspaceDocs","useKitSemanticSearch"],"mappings":";;;;;;;AAgCO,SAAS,kBAAA,GAAqB;AACnC,EAAA,MAAM,EAAE,eAAA,EAAgB,GAAI,aAAA,EAAc;AAC1C,EAAA,MAAM,OAAOA,SAAA,EAAa;AAC1B,EAAA,MAAM,SAAS,IAAA,CAAK,GAAA;AACpB,EAAA,MAAM,GAAA,GAAM,WAAA;AAAA,IACV,CAAC,QAAA,EAAkB,MAAA,EAAkB,IAAA,KACnC,OAAO,QAAA,EAAU,MAAA,EAAQ,EA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AAM,UAAA,GACvB,MAAM,IAAA,IAAQ,IAAA,EAAM,KAAA,GACpB,iBAAA,CAAkB,KAAK,CAAC,SAAA,KAAc,UAAU,EAAA,KAAO,OAAA,CAAQ,QAAQ,CAAA,EAAG;AAAA,UAElF;AAAC,KACP,CAAE;AAAA,GACJ;AACF;AAMO,SAAS,uBAAuB,KAAA,EAAyC;AAC9E,EAAA,MAAM,OAAO,gBAAA,EAAiB;AAC9B,EAAA,uBAAO,GAAA,CAAC,aAAA,EAAA,EAAe,GAAG,KAAA,EAAO,IAAA,EAAY,CAAA;AAC/C","file":"chunk-3TVTG7FK.js","sourcesContent":["/**\n * The connected agent hooks — thin adapters over the reusable AI kit in\n * `@arbidocs/react`. The streaming/accumulation/search plumbing lives once in\n * the SDK; these hooks only bind the *workspace source* (from the connection\n * context, falling back to the configured workspace) and inject the host's\n * default assistant *configuration* so call sites needn't know the config\n * ext_id. An explicit `opts.model` still wins.\n */\nimport { useCallback } from 'react'\nimport {\n useAiTask as useKitAiTask,\n useWorkspaceDocs as useKitWorkspaceDocs,\n useSemanticSearch as useKitSemanticSearch,\n useArbiChat,\n useWorkspaceUsers,\n type ArbiChat,\n type UseArbiChatOptions,\n type AiRunOptions,\n} from '@arbidocs/react'\nimport { useConnection } from './ConnectionProvider'\nimport { AssistantDock, type AssistantDockProps } from '../chat/AssistantDock'\nimport type { MentionCandidate } from '../chat/mentions'\n\nexport type { AiTaskStatus, AiRunOptions, SearchChunk, ArtifactEvent } from '@arbidocs/react'\n\n/** Client-side redlining, re-exported so a host app has one import surface. */\nexport { toRedlineMarkdown, redlineStats, textToArtifact } from '@arbidocs/react'\n\n/**\n * The kit's `useAiTask` with the host's default assistant configuration\n * injected, so call sites needn't know the config ext_id.\n */\nexport function useConnectedAiTask() {\n const { assistantConfig } = useConnection()\n const task = useKitAiTask()\n const kitRun = task.run\n const run = useCallback(\n (question: string, docIds: string[], opts?: AiRunOptions) =>\n kitRun(question, docIds, { ...opts, model: opts?.model ?? assistantConfig }),\n [kitRun, assistantConfig]\n )\n return { ...task, run }\n}\n\n/** Resolve the active workspace + its document ids (what we ground the agent on). */\nexport function useWorkspaceDocs() {\n const { workspaceId, fallbackWorkspaceId } = useConnection()\n return useKitWorkspaceDocs(workspaceId ?? fallbackWorkspaceId)\n}\n\n/** Search the active workspace's documents and return the top matching passages. */\nexport function useSemanticSearch() {\n const { docIds } = useWorkspaceDocs()\n return useKitSemanticSearch(docIds)\n}\n\n/**\n * The chat controller for `ChatPage` bound to the connection: the active workspace and the host's\n * default assistant configuration are injected, so a host writes\n * `<ChatPage chat={useConnectedChat()} />`.\n */\nexport function useConnectedChat(\n options?: Omit<UseArbiChatOptions, 'workspaceId'>\n): ArbiChat & { mentionCandidates: MentionCandidate[] } {\n const { workspaceId, fallbackWorkspaceId, assistantConfig, user, status, ensureWorkspaceOpen } =\n useConnection()\n const wsId = workspaceId ?? fallbackWorkspaceId\n const { data: members = [] } = useWorkspaceUsers(wsId, {\n enabled: status === 'authenticated' && !!wsId,\n beforeFetch: ensureWorkspaceOpen,\n })\n const mentionCandidates: MentionCandidate[] = [\n { id: 'assistant', kind: 'assistant', label: 'Assistant' },\n ...(status === 'authenticated' ? members : [])\n .filter(\n (member) =>\n !member.agent_ext_id &&\n member.user.external_id !== user?.externalId &&\n !member.user.external_id.startsWith('agt-')\n )\n .map((member) => ({\n id: member.user.external_id,\n kind: 'user' as const,\n label:\n [member.user.given_name, member.user.family_name].filter(Boolean).join(' ') ||\n member.user.email,\n description: member.user.email,\n }))\n .sort((a, b) => a.label.localeCompare(b.label)),\n ]\n const chat = useArbiChat({\n ...options,\n workspaceId: workspaceId ?? fallbackWorkspaceId,\n model: options?.model ?? assistantConfig,\n })\n return {\n ...chat,\n mentionCandidates,\n messages: chat.messages.map((message) => ({\n ...message,\n ...(message.authorId\n ? {\n senderName:\n message.authorId === user?.externalId\n ? user?.name || user?.email\n : mentionCandidates.find((candidate) => candidate.id === message.authorId)?.label,\n }\n : {}),\n })),\n }\n}\n\n/**\n * The assistant dock bound to the connection: mount it once in the layout (`Shell.Root`'s `aside`)\n * and put `AssistantDockToggle` in the topbar. Chat state lives here, so it survives closing the dock.\n */\nexport function ConnectedAssistantDock(props: Omit<AssistantDockProps, 'chat'>) {\n const chat = useConnectedChat()\n return <AssistantDock {...props} chat={chat} />\n}\n"]}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var ui = require('@arbidocs/react/ui');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
|
|
7
|
+
// src/files/ViewerLayout.tsx
|
|
8
|
+
function ViewerHeaderStart({ children }) {
|
|
9
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
|
+
"div",
|
|
11
|
+
{
|
|
12
|
+
"data-slot": "viewer-header-start",
|
|
13
|
+
className: "flex min-w-0 items-center gap-2 overflow-hidden",
|
|
14
|
+
children
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
function ViewerHeaderEnd({
|
|
19
|
+
isCompact,
|
|
20
|
+
children
|
|
21
|
+
}) {
|
|
22
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23
|
+
"div",
|
|
24
|
+
{
|
|
25
|
+
"data-slot": "viewer-header-end",
|
|
26
|
+
className: ui.cn("flex flex-shrink-0 items-center", isCompact ? "gap-1" : "gap-2"),
|
|
27
|
+
children
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
function ViewerStatusNote({
|
|
32
|
+
pulse,
|
|
33
|
+
testId,
|
|
34
|
+
children
|
|
35
|
+
}) {
|
|
36
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
37
|
+
"span",
|
|
38
|
+
{
|
|
39
|
+
"data-slot": "viewer-status-note",
|
|
40
|
+
className: ui.cn("flex-shrink-0 text-sm text-muted-foreground", pulse && "animate-pulse"),
|
|
41
|
+
"data-testid": testId,
|
|
42
|
+
children
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
function ViewerPane({
|
|
47
|
+
hidden,
|
|
48
|
+
scroll,
|
|
49
|
+
testId,
|
|
50
|
+
children
|
|
51
|
+
}) {
|
|
52
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
53
|
+
"div",
|
|
54
|
+
{
|
|
55
|
+
"data-slot": "viewer-pane",
|
|
56
|
+
"data-testid": testId,
|
|
57
|
+
className: ui.cn(hidden ? "hidden" : scroll ? "h-full overflow-auto" : "relative h-full"),
|
|
58
|
+
children
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
function ViewerRenderedPane({ testId, children }) {
|
|
63
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "viewer-rendered", className: "p-6", "data-testid": testId, children });
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
exports.ViewerHeaderEnd = ViewerHeaderEnd;
|
|
67
|
+
exports.ViewerHeaderStart = ViewerHeaderStart;
|
|
68
|
+
exports.ViewerPane = ViewerPane;
|
|
69
|
+
exports.ViewerRenderedPane = ViewerRenderedPane;
|
|
70
|
+
exports.ViewerStatusNote = ViewerStatusNote;
|
|
71
|
+
//# sourceMappingURL=chunk-4DVEGXZQ.cjs.map
|
|
72
|
+
//# sourceMappingURL=chunk-4DVEGXZQ.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/files/ViewerLayout.tsx"],"names":["jsx","cn"],"mappings":";;;;;;AAIO,SAAS,iBAAA,CAAkB,EAAE,QAAA,EAAS,EAA4B;AACvE,EAAA,uBACEA,cAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,WAAA,EAAU,qBAAA;AAAA,MACV,SAAA,EAAU,iDAAA;AAAA,MAET;AAAA;AAAA,GACH;AAEJ;AAGO,SAAS,eAAA,CAAgB;AAAA,EAC9B,SAAA;AAAA,EACA;AACF,CAAA,EAGG;AACD,EAAA,uBACEA,cAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,WAAA,EAAU,mBAAA;AAAA,MACV,SAAA,EAAWC,KAAA,CAAG,iCAAA,EAAmC,SAAA,GAAY,UAAU,OAAO,CAAA;AAAA,MAE7E;AAAA;AAAA,GACH;AAEJ;AAGO,SAAS,gBAAA,CAAiB;AAAA,EAC/B,KAAA;AAAA,EACA,MAAA;AAAA,EACA;AACF,CAAA,EAKG;AACD,EAAA,uBACED,cAAA;AAAA,IAAC,MAAA;AAAA,IAAA;AAAA,MACC,WAAA,EAAU,oBAAA;AAAA,MACV,SAAA,EAAWC,KAAA,CAAG,6CAAA,EAA+C,KAAA,IAAS,eAAe,CAAA;AAAA,MACrF,aAAA,EAAa,MAAA;AAAA,MAEZ;AAAA;AAAA,GACH;AAEJ;AAMO,SAAS,UAAA,CAAW;AAAA,EACzB,MAAA;AAAA,EACA,MAAA;AAAA,EACA,MAAA;AAAA,EACA;AACF,CAAA,EAKG;AACD,EAAA,uBACED,cAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,WAAA,EAAU,aAAA;AAAA,MACV,aAAA,EAAa,MAAA;AAAA,MACb,WAAWC,KAAA,CAAG,MAAA,GAAS,QAAA,GAAW,MAAA,GAAS,yBAAyB,iBAAiB,CAAA;AAAA,MAEpF;AAAA;AAAA,GACH;AAEJ;AAGO,SAAS,kBAAA,CAAmB,EAAE,MAAA,EAAQ,QAAA,EAAS,EAA6C;AACjG,EAAA,uBACED,cAAA,CAAC,SAAI,WAAA,EAAU,iBAAA,EAAkB,WAAU,KAAA,EAAM,aAAA,EAAa,QAC3D,QAAA,EACH,CAAA;AAEJ","file":"chunk-4DVEGXZQ.cjs","sourcesContent":["import type { ReactNode } from 'react'\nimport { cn } from '@arbidocs/react/ui'\n\n/** Left side of the viewer header: tabs, title and status; shrinks and clips. */\nexport function ViewerHeaderStart({ children }: { children: ReactNode }) {\n return (\n <div\n data-slot=\"viewer-header-start\"\n className=\"flex min-w-0 items-center gap-2 overflow-hidden\"\n >\n {children}\n </div>\n )\n}\n\n/** Right side of the viewer header: the actions; never shrinks. */\nexport function ViewerHeaderEnd({\n isCompact,\n children,\n}: {\n isCompact?: boolean\n children: ReactNode\n}) {\n return (\n <div\n data-slot=\"viewer-header-end\"\n className={cn('flex flex-shrink-0 items-center', isCompact ? 'gap-1' : 'gap-2')}\n >\n {children}\n </div>\n )\n}\n\n/** Muted inline status next to the title (\"streaming...\", \"Draft — not saved\"). */\nexport function ViewerStatusNote({\n pulse,\n testId,\n children,\n}: {\n /** Animate while something is being produced. */\n pulse?: boolean\n testId?: string\n children: ReactNode\n}) {\n return (\n <span\n data-slot=\"viewer-status-note\"\n className={cn('flex-shrink-0 text-sm text-muted-foreground', pulse && 'animate-pulse')}\n data-testid={testId}\n >\n {children}\n </span>\n )\n}\n\n/**\n * A pane of the viewer body. `hidden` keeps it mounted but out of sight (media keeps playing\n * while the transcript is read); `scroll` makes the pane scroll itself.\n */\nexport function ViewerPane({\n hidden,\n scroll,\n testId,\n children,\n}: {\n hidden?: boolean\n scroll?: boolean\n testId?: string\n children: ReactNode\n}) {\n return (\n <div\n data-slot=\"viewer-pane\"\n data-testid={testId}\n className={cn(hidden ? 'hidden' : scroll ? 'h-full overflow-auto' : 'relative h-full')}\n >\n {children}\n </div>\n )\n}\n\n/** Padding around rendered (read-only) markdown. */\nexport function ViewerRenderedPane({ testId, children }: { testId?: string; children: ReactNode }) {\n return (\n <div data-slot=\"viewer-rendered\" className=\"p-6\" data-testid={testId}>\n {children}\n </div>\n )\n}\n"]}
|
|
@@ -190,6 +190,7 @@ function ConnectionProvider({
|
|
|
190
190
|
workspaceId,
|
|
191
191
|
apiConfigured: isLiveConfigured,
|
|
192
192
|
apiUrl: config.apiUrl,
|
|
193
|
+
deploymentDomain: isLiveConfigured ? arbi.getDeploymentDomain() : void 0,
|
|
193
194
|
error,
|
|
194
195
|
assistantConfig: config.assistantConfig,
|
|
195
196
|
fallbackWorkspaceId: config.workspaceId,
|
|
@@ -206,6 +207,7 @@ function ConnectionProvider({
|
|
|
206
207
|
workspaceId,
|
|
207
208
|
isLiveConfigured,
|
|
208
209
|
config.apiUrl,
|
|
210
|
+
arbi,
|
|
209
211
|
config.assistantConfig,
|
|
210
212
|
config.workspaceId,
|
|
211
213
|
error,
|
|
@@ -226,5 +228,5 @@ function useConnection() {
|
|
|
226
228
|
var isAuthenticated = (s) => s === "demo" || s === "authenticated";
|
|
227
229
|
|
|
228
230
|
export { ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, useConnection };
|
|
229
|
-
//# sourceMappingURL=chunk-
|
|
230
|
-
//# sourceMappingURL=chunk-
|
|
231
|
+
//# sourceMappingURL=chunk-5HOAOKZL.js.map
|
|
232
|
+
//# sourceMappingURL=chunk-5HOAOKZL.js.map
|