@arbidocs/blocks 0.4.136 → 0.4.138
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 +384 -353
- package/dist/agents/index.js +8 -9
- package/dist/agents/skills/SkillLibraryDetail.d.ts +26 -0
- package/dist/agents/skills/index.d.ts +2 -0
- package/dist/agents/skills/skillLibrary.d.ts +46 -0
- package/dist/agents/workflows/WorkflowDocumentsField.d.ts +42 -5
- package/dist/agents/workflows/index.d.ts +2 -2
- package/dist/agents/workflows/workspaceScope.d.ts +12 -0
- package/dist/calls/index.cjs +3 -3
- package/dist/calls/index.js +2 -2
- package/dist/chunk-2KUCVSFF.js +51 -0
- package/dist/chunk-2KUCVSFF.js.map +1 -0
- package/dist/{chunk-LIHRGG4M.cjs → chunk-3BI6EWKP.cjs} +2022 -89
- package/dist/chunk-3BI6EWKP.cjs.map +1 -0
- package/dist/{chunk-3FFRYZKV.js → chunk-3RJN2VTL.js} +36 -6
- package/dist/chunk-3RJN2VTL.js.map +1 -0
- package/dist/{chunk-OR4CO743.cjs → chunk-AAFX64WD.cjs} +3 -3
- package/dist/{chunk-OR4CO743.cjs.map → chunk-AAFX64WD.cjs.map} +1 -1
- package/dist/chunk-CQCC7LE7.js +210 -0
- package/dist/chunk-CQCC7LE7.js.map +1 -0
- package/dist/{chunk-ZAVEMQ37.cjs → chunk-DWZXSPMB.cjs} +3 -3
- package/dist/{chunk-ZAVEMQ37.cjs.map → chunk-DWZXSPMB.cjs.map} +1 -1
- package/dist/{chunk-VIU7AMHF.js → chunk-E5OYHJMU.js} +3 -3
- package/dist/{chunk-VIU7AMHF.js.map → chunk-E5OYHJMU.js.map} +1 -1
- package/dist/{chunk-RUB62J2X.js → chunk-ED4HHTIA.js} +3 -3
- package/dist/{chunk-RUB62J2X.js.map → chunk-ED4HHTIA.js.map} +1 -1
- package/dist/{chunk-5HFPRI3W.js → chunk-FUTMU4FR.js} +3 -3
- package/dist/{chunk-5HFPRI3W.js.map → chunk-FUTMU4FR.js.map} +1 -1
- package/dist/{chunk-C44D4WFG.cjs → chunk-HLB4DIYV.cjs} +3 -3
- package/dist/{chunk-C44D4WFG.cjs.map → chunk-HLB4DIYV.cjs.map} +1 -1
- package/dist/{chunk-N55UIXVT.cjs → chunk-JVL7HUIQ.cjs} +5 -5
- package/dist/{chunk-N55UIXVT.cjs.map → chunk-JVL7HUIQ.cjs.map} +1 -1
- package/dist/{chunk-6S5FLMWG.js → chunk-KSHKTOY2.js} +203 -7
- package/dist/chunk-KSHKTOY2.js.map +1 -0
- package/dist/{chunk-OZLWSNUC.cjs → chunk-MJKBVIV3.cjs} +83 -1650
- package/dist/chunk-MJKBVIV3.cjs.map +1 -0
- package/dist/{chunk-DJM7DLCT.cjs → chunk-OPTBQSCV.cjs} +3 -3
- package/dist/{chunk-DJM7DLCT.cjs.map → chunk-OPTBQSCV.cjs.map} +1 -1
- package/dist/{chunk-GFYGYME3.js → chunk-OQ7RUNOC.js} +3 -3
- package/dist/{chunk-GFYGYME3.js.map → chunk-OQ7RUNOC.js.map} +1 -1
- package/dist/chunk-RFIBUWLF.cjs +232 -0
- package/dist/chunk-RFIBUWLF.cjs.map +1 -0
- package/dist/{chunk-N26CXGXC.cjs → chunk-RQ2Y7USX.cjs} +201 -3
- package/dist/chunk-RQ2Y7USX.cjs.map +1 -0
- package/dist/{chunk-LT2X5N37.js → chunk-UBEI6WFJ.js} +58 -1592
- package/dist/chunk-UBEI6WFJ.js.map +1 -0
- package/dist/chunk-UUHUQHXR.cjs +56 -0
- package/dist/chunk-UUHUQHXR.cjs.map +1 -0
- package/dist/{chunk-ECERC6TI.js → chunk-VHJHY7TT.js} +3 -3
- package/dist/{chunk-ECERC6TI.js.map → chunk-VHJHY7TT.js.map} +1 -1
- package/dist/{chunk-44R3CCZT.cjs → chunk-WS5EX7DN.cjs} +37 -6
- package/dist/chunk-WS5EX7DN.cjs.map +1 -0
- package/dist/{chunk-IQU2GI6V.js → chunk-XVME4XYD.js} +1982 -93
- package/dist/chunk-XVME4XYD.js.map +1 -0
- package/dist/collaboration/index.cjs +42 -42
- package/dist/collaboration/index.js +2 -2
- package/dist/connect/docx.cjs +5 -5
- package/dist/connect/docx.js +4 -4
- package/dist/connect/index.cjs +710 -51
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +4 -0
- package/dist/connect/index.js +655 -20
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedSkillsLibrary.d.ts +26 -0
- package/dist/connection/ConnectedWorkflowBuilder.d.ts +1 -1
- package/dist/connection/ConnectedWorkflowLauncher.d.ts +35 -0
- package/dist/connection/ConnectedWorkflowsTable.d.ts +62 -0
- package/dist/connection/workspaceData.d.ts +45 -0
- package/dist/facts/index.cjs +2 -2
- package/dist/facts/index.js +2 -2
- package/dist/files/index.cjs +3 -3
- package/dist/files/index.js +3 -3
- package/dist/home/index.cjs +22 -23
- package/dist/home/index.cjs.map +1 -1
- package/dist/home/index.js +4 -5
- package/dist/home/index.js.map +1 -1
- package/dist/index.cjs +503 -472
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -13
- package/dist/index.js.map +1 -1
- package/dist/retrieval/index.cjs +1 -1
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/index.cjs +49 -49
- package/dist/settings/index.js +6 -6
- package/dist/shell/index.cjs +2 -2
- package/dist/shell/index.js +2 -2
- package/dist/studio/index.cjs +2 -2
- package/dist/studio/index.js +2 -2
- package/dist/workflow-canvas/index.cjs +32 -30
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.js +20 -18
- package/dist/workflow-canvas/index.js.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +4 -4
- package/dist/chunk-3FFRYZKV.js.map +0 -1
- package/dist/chunk-44R3CCZT.cjs.map +0 -1
- package/dist/chunk-4XJZ6AAY.js +0 -407
- package/dist/chunk-4XJZ6AAY.js.map +0 -1
- package/dist/chunk-6S5FLMWG.js.map +0 -1
- package/dist/chunk-7D737FLE.cjs +0 -43
- package/dist/chunk-7D737FLE.cjs.map +0 -1
- package/dist/chunk-IQU2GI6V.js.map +0 -1
- package/dist/chunk-LIHRGG4M.cjs.map +0 -1
- package/dist/chunk-LT2X5N37.js.map +0 -1
- package/dist/chunk-N26CXGXC.cjs.map +0 -1
- package/dist/chunk-OZLWSNUC.cjs.map +0 -1
- package/dist/chunk-S5HZBXZA.cjs +0 -430
- package/dist/chunk-S5HZBXZA.cjs.map +0 -1
- package/dist/chunk-XD2M6LIG.js +0 -41
- package/dist/chunk-XD2M6LIG.js.map +0 -1
package/dist/settings/index.cjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkAAFX64WD_cjs = require('../chunk-AAFX64WD.cjs');
|
|
5
5
|
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
6
6
|
var chunkQZTNTP75_cjs = require('../chunk-QZTNTP75.cjs');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
7
|
+
var chunkRFIBUWLF_cjs = require('../chunk-RFIBUWLF.cjs');
|
|
8
|
+
var chunkRQ2Y7USX_cjs = require('../chunk-RQ2Y7USX.cjs');
|
|
9
9
|
var chunkDVUZTGVL_cjs = require('../chunk-DVUZTGVL.cjs');
|
|
10
10
|
require('../chunk-ADOKTJHV.cjs');
|
|
11
|
-
var
|
|
11
|
+
var chunkDWZXSPMB_cjs = require('../chunk-DWZXSPMB.cjs');
|
|
12
12
|
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
13
|
-
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
14
13
|
var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
|
|
15
14
|
require('../chunk-PPCATBOY.cjs');
|
|
16
15
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
16
|
+
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
17
17
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
18
18
|
require('../chunk-DES3K4SD.cjs');
|
|
19
19
|
var RadioGroupPrimitive = require('@radix-ui/react-radio-group');
|
|
@@ -3682,135 +3682,135 @@ function ErrorDialogView({
|
|
|
3682
3682
|
|
|
3683
3683
|
Object.defineProperty(exports, "ActiveSessionsDialog", {
|
|
3684
3684
|
enumerable: true,
|
|
3685
|
-
get: function () { return
|
|
3685
|
+
get: function () { return chunkAAFX64WD_cjs.ActiveSessionsDialog; }
|
|
3686
3686
|
});
|
|
3687
3687
|
Object.defineProperty(exports, "AvatarPicker", {
|
|
3688
3688
|
enumerable: true,
|
|
3689
|
-
get: function () { return
|
|
3689
|
+
get: function () { return chunkAAFX64WD_cjs.AvatarPicker; }
|
|
3690
3690
|
});
|
|
3691
3691
|
Object.defineProperty(exports, "DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS", {
|
|
3692
3692
|
enumerable: true,
|
|
3693
|
-
get: function () { return
|
|
3693
|
+
get: function () { return chunkAAFX64WD_cjs.DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS; }
|
|
3694
3694
|
});
|
|
3695
3695
|
Object.defineProperty(exports, "DEFAULT_AVATAR_PICKER_LABELS", {
|
|
3696
3696
|
enumerable: true,
|
|
3697
|
-
get: function () { return
|
|
3697
|
+
get: function () { return chunkAAFX64WD_cjs.DEFAULT_AVATAR_PICKER_LABELS; }
|
|
3698
3698
|
});
|
|
3699
3699
|
Object.defineProperty(exports, "DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS", {
|
|
3700
3700
|
enumerable: true,
|
|
3701
|
-
get: function () { return
|
|
3701
|
+
get: function () { return chunkAAFX64WD_cjs.DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS; }
|
|
3702
3702
|
});
|
|
3703
3703
|
Object.defineProperty(exports, "DEFAULT_IDENTITY_VERIFICATION_LABELS", {
|
|
3704
3704
|
enumerable: true,
|
|
3705
|
-
get: function () { return
|
|
3705
|
+
get: function () { return chunkAAFX64WD_cjs.DEFAULT_IDENTITY_VERIFICATION_LABELS; }
|
|
3706
3706
|
});
|
|
3707
3707
|
Object.defineProperty(exports, "DEFAULT_LOGOUT_DIALOG_LABELS", {
|
|
3708
3708
|
enumerable: true,
|
|
3709
|
-
get: function () { return
|
|
3709
|
+
get: function () { return chunkAAFX64WD_cjs.DEFAULT_LOGOUT_DIALOG_LABELS; }
|
|
3710
3710
|
});
|
|
3711
3711
|
Object.defineProperty(exports, "DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS", {
|
|
3712
3712
|
enumerable: true,
|
|
3713
|
-
get: function () { return
|
|
3713
|
+
get: function () { return chunkAAFX64WD_cjs.DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS; }
|
|
3714
3714
|
});
|
|
3715
3715
|
Object.defineProperty(exports, "DEFAULT_PROFILE_CARD_LABELS", {
|
|
3716
3716
|
enumerable: true,
|
|
3717
|
-
get: function () { return
|
|
3717
|
+
get: function () { return chunkAAFX64WD_cjs.DEFAULT_PROFILE_CARD_LABELS; }
|
|
3718
3718
|
});
|
|
3719
3719
|
Object.defineProperty(exports, "DEFAULT_SETTINGS_DANGER_ZONE_LABELS", {
|
|
3720
3720
|
enumerable: true,
|
|
3721
|
-
get: function () { return
|
|
3721
|
+
get: function () { return chunkAAFX64WD_cjs.DEFAULT_SETTINGS_DANGER_ZONE_LABELS; }
|
|
3722
3722
|
});
|
|
3723
3723
|
Object.defineProperty(exports, "DeleteAccountDialog", {
|
|
3724
3724
|
enumerable: true,
|
|
3725
|
-
get: function () { return
|
|
3725
|
+
get: function () { return chunkAAFX64WD_cjs.DeleteAccountDialog; }
|
|
3726
3726
|
});
|
|
3727
3727
|
Object.defineProperty(exports, "EMAIL_NOTIFICATION_CATEGORIES", {
|
|
3728
3728
|
enumerable: true,
|
|
3729
|
-
get: function () { return
|
|
3729
|
+
get: function () { return chunkAAFX64WD_cjs.EMAIL_NOTIFICATION_CATEGORIES; }
|
|
3730
3730
|
});
|
|
3731
3731
|
Object.defineProperty(exports, "EMAIL_NOTIFICATION_KEYS", {
|
|
3732
3732
|
enumerable: true,
|
|
3733
|
-
get: function () { return
|
|
3733
|
+
get: function () { return chunkAAFX64WD_cjs.EMAIL_NOTIFICATION_KEYS; }
|
|
3734
3734
|
});
|
|
3735
3735
|
Object.defineProperty(exports, "IdentityVerificationCard", {
|
|
3736
3736
|
enumerable: true,
|
|
3737
|
-
get: function () { return
|
|
3737
|
+
get: function () { return chunkAAFX64WD_cjs.IdentityVerificationCard; }
|
|
3738
3738
|
});
|
|
3739
3739
|
Object.defineProperty(exports, "IdentityVerificationDialog", {
|
|
3740
3740
|
enumerable: true,
|
|
3741
|
-
get: function () { return
|
|
3741
|
+
get: function () { return chunkAAFX64WD_cjs.IdentityVerificationDialog; }
|
|
3742
3742
|
});
|
|
3743
3743
|
Object.defineProperty(exports, "LogoutDialog", {
|
|
3744
3744
|
enumerable: true,
|
|
3745
|
-
get: function () { return
|
|
3745
|
+
get: function () { return chunkAAFX64WD_cjs.LogoutDialog; }
|
|
3746
3746
|
});
|
|
3747
3747
|
Object.defineProperty(exports, "NotificationCategoryList", {
|
|
3748
3748
|
enumerable: true,
|
|
3749
|
-
get: function () { return
|
|
3749
|
+
get: function () { return chunkAAFX64WD_cjs.NotificationCategoryList; }
|
|
3750
3750
|
});
|
|
3751
3751
|
Object.defineProperty(exports, "PasswordChangeDialog", {
|
|
3752
3752
|
enumerable: true,
|
|
3753
|
-
get: function () { return
|
|
3753
|
+
get: function () { return chunkAAFX64WD_cjs.PasswordChangeDialog; }
|
|
3754
3754
|
});
|
|
3755
3755
|
Object.defineProperty(exports, "ProfileCard", {
|
|
3756
3756
|
enumerable: true,
|
|
3757
|
-
get: function () { return
|
|
3757
|
+
get: function () { return chunkAAFX64WD_cjs.ProfileCard; }
|
|
3758
3758
|
});
|
|
3759
3759
|
Object.defineProperty(exports, "RequireVerified", {
|
|
3760
3760
|
enumerable: true,
|
|
3761
|
-
get: function () { return
|
|
3761
|
+
get: function () { return chunkAAFX64WD_cjs.RequireVerified; }
|
|
3762
3762
|
});
|
|
3763
3763
|
Object.defineProperty(exports, "SettingsActionRow", {
|
|
3764
3764
|
enumerable: true,
|
|
3765
|
-
get: function () { return
|
|
3765
|
+
get: function () { return chunkAAFX64WD_cjs.SettingsActionRow; }
|
|
3766
3766
|
});
|
|
3767
3767
|
Object.defineProperty(exports, "SettingsCard", {
|
|
3768
3768
|
enumerable: true,
|
|
3769
|
-
get: function () { return
|
|
3769
|
+
get: function () { return chunkAAFX64WD_cjs.SettingsCard; }
|
|
3770
3770
|
});
|
|
3771
3771
|
Object.defineProperty(exports, "SettingsDangerZone", {
|
|
3772
3772
|
enumerable: true,
|
|
3773
|
-
get: function () { return
|
|
3773
|
+
get: function () { return chunkAAFX64WD_cjs.SettingsDangerZone; }
|
|
3774
3774
|
});
|
|
3775
3775
|
Object.defineProperty(exports, "SettingsPanel", {
|
|
3776
3776
|
enumerable: true,
|
|
3777
|
-
get: function () { return
|
|
3777
|
+
get: function () { return chunkAAFX64WD_cjs.SettingsPanel; }
|
|
3778
3778
|
});
|
|
3779
3779
|
Object.defineProperty(exports, "SettingsRow", {
|
|
3780
3780
|
enumerable: true,
|
|
3781
|
-
get: function () { return
|
|
3781
|
+
get: function () { return chunkAAFX64WD_cjs.SettingsRow; }
|
|
3782
3782
|
});
|
|
3783
3783
|
Object.defineProperty(exports, "SettingsSection", {
|
|
3784
3784
|
enumerable: true,
|
|
3785
|
-
get: function () { return
|
|
3785
|
+
get: function () { return chunkAAFX64WD_cjs.SettingsSection; }
|
|
3786
3786
|
});
|
|
3787
3787
|
Object.defineProperty(exports, "SettingsSwitchGroup", {
|
|
3788
3788
|
enumerable: true,
|
|
3789
|
-
get: function () { return
|
|
3789
|
+
get: function () { return chunkAAFX64WD_cjs.SettingsSwitchGroup; }
|
|
3790
3790
|
});
|
|
3791
3791
|
Object.defineProperty(exports, "SettingsSwitchRow", {
|
|
3792
3792
|
enumerable: true,
|
|
3793
|
-
get: function () { return
|
|
3793
|
+
get: function () { return chunkAAFX64WD_cjs.SettingsSwitchRow; }
|
|
3794
3794
|
});
|
|
3795
3795
|
Object.defineProperty(exports, "formatSessionTtl", {
|
|
3796
3796
|
enumerable: true,
|
|
3797
|
-
get: function () { return
|
|
3797
|
+
get: function () { return chunkAAFX64WD_cjs.formatSessionTtl; }
|
|
3798
3798
|
});
|
|
3799
3799
|
Object.defineProperty(exports, "toActiveSessionViews", {
|
|
3800
3800
|
enumerable: true,
|
|
3801
|
-
get: function () { return
|
|
3801
|
+
get: function () { return chunkAAFX64WD_cjs.toActiveSessionViews; }
|
|
3802
3802
|
});
|
|
3803
3803
|
Object.defineProperty(exports, "toDeleteBlockerViews", {
|
|
3804
3804
|
enumerable: true,
|
|
3805
|
-
get: function () { return
|
|
3805
|
+
get: function () { return chunkAAFX64WD_cjs.toDeleteBlockerViews; }
|
|
3806
3806
|
});
|
|
3807
3807
|
Object.defineProperty(exports, "toLogoutSessionViews", {
|
|
3808
3808
|
enumerable: true,
|
|
3809
|
-
get: function () { return
|
|
3809
|
+
get: function () { return chunkAAFX64WD_cjs.toLogoutSessionViews; }
|
|
3810
3810
|
});
|
|
3811
3811
|
Object.defineProperty(exports, "toNotificationCategories", {
|
|
3812
3812
|
enumerable: true,
|
|
3813
|
-
get: function () { return
|
|
3813
|
+
get: function () { return chunkAAFX64WD_cjs.toNotificationCategories; }
|
|
3814
3814
|
});
|
|
3815
3815
|
Object.defineProperty(exports, "ModalBreadcrumbHeader", {
|
|
3816
3816
|
enumerable: true,
|
|
@@ -3820,33 +3820,33 @@ Object.defineProperty(exports, "ModalCrumbs", {
|
|
|
3820
3820
|
enumerable: true,
|
|
3821
3821
|
get: function () { return chunk223D4727_cjs.ModalCrumbs; }
|
|
3822
3822
|
});
|
|
3823
|
-
Object.defineProperty(exports, "
|
|
3823
|
+
Object.defineProperty(exports, "MultiSelect", {
|
|
3824
3824
|
enumerable: true,
|
|
3825
|
-
get: function () { return
|
|
3825
|
+
get: function () { return chunkRFIBUWLF_cjs.MultiSelect; }
|
|
3826
3826
|
});
|
|
3827
|
-
Object.defineProperty(exports, "
|
|
3827
|
+
Object.defineProperty(exports, "DEFAULT_DOCUMENT_PICKER_LABELS", {
|
|
3828
3828
|
enumerable: true,
|
|
3829
|
-
get: function () { return
|
|
3829
|
+
get: function () { return chunkRQ2Y7USX_cjs.DEFAULT_DOCUMENT_PICKER_LABELS; }
|
|
3830
3830
|
});
|
|
3831
|
-
Object.defineProperty(exports, "
|
|
3831
|
+
Object.defineProperty(exports, "DEFAULT_TRI_STATE_FILTER_MENU_LABELS", {
|
|
3832
3832
|
enumerable: true,
|
|
3833
|
-
get: function () { return
|
|
3833
|
+
get: function () { return chunkRQ2Y7USX_cjs.DEFAULT_TRI_STATE_FILTER_MENU_LABELS; }
|
|
3834
3834
|
});
|
|
3835
|
-
Object.defineProperty(exports, "
|
|
3835
|
+
Object.defineProperty(exports, "DocumentPicker", {
|
|
3836
3836
|
enumerable: true,
|
|
3837
|
-
get: function () { return
|
|
3837
|
+
get: function () { return chunkRQ2Y7USX_cjs.DocumentPicker; }
|
|
3838
3838
|
});
|
|
3839
3839
|
Object.defineProperty(exports, "TriStateFilterMenu", {
|
|
3840
3840
|
enumerable: true,
|
|
3841
|
-
get: function () { return
|
|
3841
|
+
get: function () { return chunkRQ2Y7USX_cjs.TriStateFilterMenu; }
|
|
3842
3842
|
});
|
|
3843
3843
|
Object.defineProperty(exports, "ConfirmDialog", {
|
|
3844
3844
|
enumerable: true,
|
|
3845
|
-
get: function () { return
|
|
3845
|
+
get: function () { return chunkDWZXSPMB_cjs.ConfirmDialog; }
|
|
3846
3846
|
});
|
|
3847
3847
|
Object.defineProperty(exports, "DEFAULT_CONFIRM_DIALOG_LABELS", {
|
|
3848
3848
|
enumerable: true,
|
|
3849
|
-
get: function () { return
|
|
3849
|
+
get: function () { return chunkDWZXSPMB_cjs.DEFAULT_CONFIRM_DIALOG_LABELS; }
|
|
3850
3850
|
});
|
|
3851
3851
|
Object.defineProperty(exports, "MODAL_SECTION_TITLE_CLASS", {
|
|
3852
3852
|
enumerable: true,
|
package/dist/settings/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ActiveSessionsDialog, AvatarPicker, DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS, DEFAULT_AVATAR_PICKER_LABELS, DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS, DEFAULT_IDENTITY_VERIFICATION_LABELS, DEFAULT_LOGOUT_DIALOG_LABELS, DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS, DEFAULT_PROFILE_CARD_LABELS, DEFAULT_SETTINGS_DANGER_ZONE_LABELS, DeleteAccountDialog, EMAIL_NOTIFICATION_CATEGORIES, EMAIL_NOTIFICATION_KEYS, IdentityVerificationCard, IdentityVerificationDialog, LogoutDialog, NotificationCategoryList, PasswordChangeDialog, ProfileCard, RequireVerified, SettingsActionRow, SettingsCard, SettingsDangerZone, SettingsPanel, SettingsRow, SettingsSection, SettingsSwitchGroup, SettingsSwitchRow, formatSessionTtl, toActiveSessionViews, toDeleteBlockerViews, toLogoutSessionViews, toNotificationCategories } from '../chunk-
|
|
2
|
+
export { ActiveSessionsDialog, AvatarPicker, DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS, DEFAULT_AVATAR_PICKER_LABELS, DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS, DEFAULT_IDENTITY_VERIFICATION_LABELS, DEFAULT_LOGOUT_DIALOG_LABELS, DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS, DEFAULT_PROFILE_CARD_LABELS, DEFAULT_SETTINGS_DANGER_ZONE_LABELS, DeleteAccountDialog, EMAIL_NOTIFICATION_CATEGORIES, EMAIL_NOTIFICATION_KEYS, IdentityVerificationCard, IdentityVerificationDialog, LogoutDialog, NotificationCategoryList, PasswordChangeDialog, ProfileCard, RequireVerified, SettingsActionRow, SettingsCard, SettingsDangerZone, SettingsPanel, SettingsRow, SettingsSection, SettingsSwitchGroup, SettingsSwitchRow, formatSessionTtl, toActiveSessionViews, toDeleteBlockerViews, toLogoutSessionViews, toNotificationCategories } from '../chunk-OQ7RUNOC.js';
|
|
3
3
|
export { ModalBreadcrumbHeader, ModalCrumbs } from '../chunk-RC6VTY2H.js';
|
|
4
4
|
import { UsageMeter } from '../chunk-66TA5IBN.js';
|
|
5
|
-
export {
|
|
6
|
-
export { DEFAULT_TRI_STATE_FILTER_MENU_LABELS, TriStateFilterMenu } from '../chunk-
|
|
5
|
+
export { MultiSelect } from '../chunk-CQCC7LE7.js';
|
|
6
|
+
export { DEFAULT_DOCUMENT_PICKER_LABELS, DEFAULT_TRI_STATE_FILTER_MENU_LABELS, DocumentPicker, TriStateFilterMenu } from '../chunk-KSHKTOY2.js';
|
|
7
7
|
import { ToneBadge } from '../chunk-5LXQPP2K.js';
|
|
8
8
|
import '../chunk-VILAPTCB.js';
|
|
9
|
-
export { ConfirmDialog, DEFAULT_CONFIRM_DIALOG_LABELS } from '../chunk-
|
|
9
|
+
export { ConfirmDialog, DEFAULT_CONFIRM_DIALOG_LABELS } from '../chunk-VHJHY7TT.js';
|
|
10
10
|
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
11
|
-
import { ModalSection, ModalSectionTitle, ModalHeader, ModalScaffold } from '../chunk-TX2ZICS7.js';
|
|
12
|
-
export { MODAL_SECTION_TITLE_CLASS, ModalHeader, ModalScaffold, ModalSection, ModalSectionTitle } from '../chunk-TX2ZICS7.js';
|
|
13
11
|
import { TONE_BORDER, TONE_SURFACE } from '../chunk-AUS3KBHJ.js';
|
|
14
12
|
import '../chunk-NPLYHR2E.js';
|
|
15
13
|
import { testIdOr, prefixedTestId } from '../chunk-7F6CBP3Z.js';
|
|
14
|
+
import { ModalSection, ModalSectionTitle, ModalHeader, ModalScaffold } from '../chunk-TX2ZICS7.js';
|
|
15
|
+
export { MODAL_SECTION_TITLE_CLASS, ModalHeader, ModalScaffold, ModalSection, ModalSectionTitle } from '../chunk-TX2ZICS7.js';
|
|
16
16
|
import { formatCount } from '../chunk-OXF2IFXG.js';
|
|
17
17
|
import '../chunk-VUNV25KB.js';
|
|
18
18
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
package/dist/shell/index.cjs
CHANGED
|
@@ -5,13 +5,13 @@ var chunkOGBXV326_cjs = require('../chunk-OGBXV326.cjs');
|
|
|
5
5
|
require('../chunk-R26BK7YL.cjs');
|
|
6
6
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
7
7
|
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
8
|
-
require('../chunk-C4WSHRR6.cjs');
|
|
9
|
-
require('../chunk-ULWRNGGE.cjs');
|
|
10
8
|
var chunk5UHAWSEX_cjs = require('../chunk-5UHAWSEX.cjs');
|
|
11
9
|
var chunkB6MVQCXW_cjs = require('../chunk-B6MVQCXW.cjs');
|
|
12
10
|
var chunkFX3K6LNZ_cjs = require('../chunk-FX3K6LNZ.cjs');
|
|
13
11
|
require('../chunk-PPCATBOY.cjs');
|
|
14
12
|
require('../chunk-MHVNT4J3.cjs');
|
|
13
|
+
require('../chunk-C4WSHRR6.cjs');
|
|
14
|
+
require('../chunk-ULWRNGGE.cjs');
|
|
15
15
|
require('../chunk-DES3K4SD.cjs');
|
|
16
16
|
|
|
17
17
|
|
package/dist/shell/index.js
CHANGED
|
@@ -3,13 +3,13 @@ export { ActionCluster, AskField, AskRow, AskTrigger, DEFAULT_ASK_FIELD_LABELS,
|
|
|
3
3
|
import '../chunk-444XKG46.js';
|
|
4
4
|
export { DEFAULT_FILTER_FIELDS, DEFAULT_FILTER_INPUT_LABELS, FilterInput } from '../chunk-YU2KUMGE.js';
|
|
5
5
|
export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
6
|
-
import '../chunk-YNIBUKV5.js';
|
|
7
|
-
import '../chunk-TX2ZICS7.js';
|
|
8
6
|
export { DEFAULT_DOCK_WIDTH, Toaster } from '../chunk-OKERRHLH.js';
|
|
9
7
|
export { DEFAULT_OVERLAY_ZONE_ID, DEFAULT_PAGE_CONTAINER_PADDING, DEFAULT_SIDEBAR_TOGGLE_BUTTON_LABELS, PageContainer, SHELL_BOTTOM_INSET_VAR, Shell, SidebarToggleButton, ToolButton, useDrawerBehavior, useOverlayZoneId, useShellBottomInset } from '../chunk-7XF5SFJ2.js';
|
|
10
8
|
export { BREAKPOINT_QUERIES, useIsNarrow, useIsPhone, useIsTouchScreen, useMediaQuery } from '../chunk-SLSBJRWW.js';
|
|
11
9
|
import '../chunk-NPLYHR2E.js';
|
|
12
10
|
import '../chunk-7F6CBP3Z.js';
|
|
11
|
+
import '../chunk-YNIBUKV5.js';
|
|
12
|
+
import '../chunk-TX2ZICS7.js';
|
|
13
13
|
import '../chunk-VUNV25KB.js';
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
package/dist/studio/index.cjs
CHANGED
|
@@ -10,8 +10,6 @@ var chunkELR74ME6_cjs = require('../chunk-ELR74ME6.cjs');
|
|
|
10
10
|
require('../chunk-VPPX5XUF.cjs');
|
|
11
11
|
var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
|
|
12
12
|
require('../chunk-R26BK7YL.cjs');
|
|
13
|
-
var chunkC4WSHRR6_cjs = require('../chunk-C4WSHRR6.cjs');
|
|
14
|
-
require('../chunk-ULWRNGGE.cjs');
|
|
15
13
|
require('../chunk-7YLJHTDC.cjs');
|
|
16
14
|
require('../chunk-B6MVQCXW.cjs');
|
|
17
15
|
require('../chunk-JKB7WT7L.cjs');
|
|
@@ -20,6 +18,8 @@ require('../chunk-7UTB4PHM.cjs');
|
|
|
20
18
|
require('../chunk-32HW2Q33.cjs');
|
|
21
19
|
require('../chunk-PPCATBOY.cjs');
|
|
22
20
|
require('../chunk-MHVNT4J3.cjs');
|
|
21
|
+
var chunkC4WSHRR6_cjs = require('../chunk-C4WSHRR6.cjs');
|
|
22
|
+
require('../chunk-ULWRNGGE.cjs');
|
|
23
23
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
24
24
|
require('../chunk-DES3K4SD.cjs');
|
|
25
25
|
var lucideReact = require('lucide-react');
|
package/dist/studio/index.js
CHANGED
|
@@ -9,8 +9,6 @@ import { Timeline } from '../chunk-OVEQERPO.js';
|
|
|
9
9
|
import '../chunk-4EZVCGRL.js';
|
|
10
10
|
import { EmptyState } from '../chunk-P6GHJSLR.js';
|
|
11
11
|
import '../chunk-444XKG46.js';
|
|
12
|
-
import { useBlocksEnvironment } from '../chunk-YNIBUKV5.js';
|
|
13
|
-
import '../chunk-TX2ZICS7.js';
|
|
14
12
|
import '../chunk-JO3EMZ4X.js';
|
|
15
13
|
import '../chunk-7XF5SFJ2.js';
|
|
16
14
|
import '../chunk-YBLIKTJK.js';
|
|
@@ -19,6 +17,8 @@ import '../chunk-AA3PT6KR.js';
|
|
|
19
17
|
import '../chunk-AUS3KBHJ.js';
|
|
20
18
|
import '../chunk-NPLYHR2E.js';
|
|
21
19
|
import '../chunk-7F6CBP3Z.js';
|
|
20
|
+
import { useBlocksEnvironment } from '../chunk-YNIBUKV5.js';
|
|
21
|
+
import '../chunk-TX2ZICS7.js';
|
|
22
22
|
import { formatCount } from '../chunk-OXF2IFXG.js';
|
|
23
23
|
import '../chunk-VUNV25KB.js';
|
|
24
24
|
import { MessageSquare, Cpu, Code, Cloud, Layers, Target, Award, MapPin, Phone, Mail, Lock, Globe, Heart, Star, Rocket, Shield, Zap, Sparkles, Gavel, Scale, Bell, Activity, BarChart3, DollarSign, TrendingUp, Info, AlertCircle, CheckCircle, Clock, Calendar, Briefcase, Users, Folder, FileText, ArrowLeft, Palette, Loader2, RotateCcw, ChevronUp, ChevronDown, BrainCircuit, Bot, LayoutGrid, FileJson, Download, Crop, ImagePlus, Upload, Link2, Check, MessagesSquare } from 'lucide-react';
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
+
var chunkUUHUQHXR_cjs = require('../chunk-UUHUQHXR.cjs');
|
|
4
5
|
var chunkKDUGTKVI_cjs = require('../chunk-KDUGTKVI.cjs');
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
6
|
+
var chunkMJKBVIV3_cjs = require('../chunk-MJKBVIV3.cjs');
|
|
7
|
+
require('../chunk-RFIBUWLF.cjs');
|
|
8
|
+
var chunk3BI6EWKP_cjs = require('../chunk-3BI6EWKP.cjs');
|
|
9
|
+
require('../chunk-WS5EX7DN.cjs');
|
|
10
|
+
require('../chunk-RQ2Y7USX.cjs');
|
|
8
11
|
require('../chunk-ZW6FPIFC.cjs');
|
|
9
|
-
var chunkLIHRGG4M_cjs = require('../chunk-LIHRGG4M.cjs');
|
|
10
|
-
require('../chunk-7D737FLE.cjs');
|
|
11
|
-
require('../chunk-N26CXGXC.cjs');
|
|
12
12
|
require('../chunk-3AFWGEDJ.cjs');
|
|
13
13
|
require('../chunk-DVUZTGVL.cjs');
|
|
14
|
-
require('../chunk-R26BK7YL.cjs');
|
|
15
14
|
require('../chunk-DETZZBG2.cjs');
|
|
15
|
+
require('../chunk-R26BK7YL.cjs');
|
|
16
16
|
require('../chunk-V4ISCZJ7.cjs');
|
|
17
17
|
require('../chunk-2EI7NCUA.cjs');
|
|
18
18
|
require('../chunk-C2CWWEHO.cjs');
|
|
19
19
|
require('../chunk-7RGLTF76.cjs');
|
|
20
|
-
var chunkC4WSHRR6_cjs = require('../chunk-C4WSHRR6.cjs');
|
|
21
|
-
require('../chunk-ULWRNGGE.cjs');
|
|
22
20
|
var chunkOWCEQKAR_cjs = require('../chunk-OWCEQKAR.cjs');
|
|
23
21
|
require('../chunk-7UTB4PHM.cjs');
|
|
24
22
|
var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
|
|
25
23
|
require('../chunk-FX3K6LNZ.cjs');
|
|
26
24
|
require('../chunk-PPCATBOY.cjs');
|
|
27
25
|
require('../chunk-MHVNT4J3.cjs');
|
|
26
|
+
var chunkC4WSHRR6_cjs = require('../chunk-C4WSHRR6.cjs');
|
|
27
|
+
require('../chunk-ULWRNGGE.cjs');
|
|
28
28
|
require('../chunk-KDG6FER6.cjs');
|
|
29
29
|
require('../chunk-DES3K4SD.cjs');
|
|
30
30
|
var react = require('react');
|
|
@@ -317,9 +317,9 @@ function SignalsEditor({
|
|
|
317
317
|
{
|
|
318
318
|
className: ui.cn(
|
|
319
319
|
"space-y-1.5 rounded-md border p-2",
|
|
320
|
-
|
|
320
|
+
chunk3BI6EWKP_cjs.isIncompleteSignal(signal) ? "border-destructive/50" : "border-border"
|
|
321
321
|
),
|
|
322
|
-
"data-incomplete":
|
|
322
|
+
"data-incomplete": chunk3BI6EWKP_cjs.isIncompleteSignal(signal) || void 0,
|
|
323
323
|
"data-testid": `${testId}-${i}`,
|
|
324
324
|
children: [
|
|
325
325
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -1605,7 +1605,7 @@ function triggerFields(trigger, clearOthers) {
|
|
|
1605
1605
|
return {
|
|
1606
1606
|
timezone: trigger.timezone,
|
|
1607
1607
|
rrule: trigger.start === "repeat" ? trigger.rrule.trim() : none,
|
|
1608
|
-
run_at: trigger.start === "once" ?
|
|
1608
|
+
run_at: trigger.start === "once" ? chunkMJKBVIV3_cjs.localInputToIso(trigger.runAt) : none,
|
|
1609
1609
|
event_kind: trigger.start === "event" ? trigger.eventKind.trim() : none,
|
|
1610
1610
|
// A step signal is `workflow_signal` narrowed to one signal name.
|
|
1611
1611
|
event_filter: filter ?? none,
|
|
@@ -1621,7 +1621,7 @@ function plan(value, options) {
|
|
|
1621
1621
|
criteria: [],
|
|
1622
1622
|
max_passes: 3,
|
|
1623
1623
|
documents: [],
|
|
1624
|
-
steps:
|
|
1624
|
+
steps: chunk3BI6EWKP_cjs.toPlanSteps(value.workflow, options)
|
|
1625
1625
|
};
|
|
1626
1626
|
}
|
|
1627
1627
|
function builderToWorkflowRequest(value, workspaceId, options = {}) {
|
|
@@ -1656,7 +1656,7 @@ function builderToWorkflowUpdate(value, options = {}) {
|
|
|
1656
1656
|
}
|
|
1657
1657
|
function workflowRecordToBuilder(record) {
|
|
1658
1658
|
const planned = record.plan?.steps ?? [];
|
|
1659
|
-
const steps = planned.length ?
|
|
1659
|
+
const steps = planned.length ? chunk3BI6EWKP_cjs.fromPlanSteps(planned) : record.prompt || record.skill_ref ? [
|
|
1660
1660
|
{
|
|
1661
1661
|
id: "work",
|
|
1662
1662
|
kind: "agent",
|
|
@@ -1664,7 +1664,7 @@ function workflowRecordToBuilder(record) {
|
|
|
1664
1664
|
...record.skill_ref ? { workflow: record.skill_ref } : { run: { kind: "prompt", promptTemplate: record.prompt } }
|
|
1665
1665
|
}
|
|
1666
1666
|
] : [];
|
|
1667
|
-
const when =
|
|
1667
|
+
const when = chunkMJKBVIV3_cjs.workflowWhen(record);
|
|
1668
1668
|
return {
|
|
1669
1669
|
workflow: {
|
|
1670
1670
|
id: record.external_id,
|
|
@@ -1673,12 +1673,12 @@ function workflowRecordToBuilder(record) {
|
|
|
1673
1673
|
inputs: [],
|
|
1674
1674
|
landing: "chat",
|
|
1675
1675
|
schedulable: false,
|
|
1676
|
-
run: { kind: "steps", steps, layout:
|
|
1676
|
+
run: { kind: "steps", steps, layout: chunk3BI6EWKP_cjs.layoutFromPlanSteps(planned ?? []) }
|
|
1677
1677
|
},
|
|
1678
1678
|
trigger: {
|
|
1679
1679
|
...DEFAULT_WORKFLOW_TRIGGER,
|
|
1680
1680
|
start: when === "now" ? "manual" : when,
|
|
1681
|
-
runAt:
|
|
1681
|
+
runAt: chunkMJKBVIV3_cjs.isoToLocalInput(record.run_at),
|
|
1682
1682
|
rrule: record.rrule ?? "",
|
|
1683
1683
|
timezone: record.timezone || DEFAULT_WORKFLOW_TRIGGER.timezone,
|
|
1684
1684
|
eventKind: record.event_kind ?? "",
|
|
@@ -1734,7 +1734,7 @@ function triggerSummary(trigger, options = {}) {
|
|
|
1734
1734
|
case "once":
|
|
1735
1735
|
return trigger.runAt ? new Date(trigger.runAt).toLocaleString() : l.starts.once;
|
|
1736
1736
|
case "repeat":
|
|
1737
|
-
return trigger.rrule ?
|
|
1737
|
+
return trigger.rrule ? chunkMJKBVIV3_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
|
|
1738
1738
|
case "event":
|
|
1739
1739
|
if (isSignalTrigger(trigger))
|
|
1740
1740
|
return trigger.signal ? l.signalSummary.replace("{signal}", trigger.signal) : l.stepSignals;
|
|
@@ -1793,7 +1793,7 @@ function TriggerInspector({
|
|
|
1793
1793
|
}
|
|
1794
1794
|
)
|
|
1795
1795
|
] }),
|
|
1796
|
-
trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1796
|
+
trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkMJKBVIV3_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
|
|
1797
1797
|
trigger.start === "event" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1798
1798
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.event }),
|
|
1799
1799
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1845,7 +1845,7 @@ function TriggerInspector({
|
|
|
1845
1845
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1846
1846
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.agent }),
|
|
1847
1847
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1848
|
-
|
|
1848
|
+
chunk3BI6EWKP_cjs.AgentSelect,
|
|
1849
1849
|
{
|
|
1850
1850
|
agents,
|
|
1851
1851
|
value: trigger.agentId,
|
|
@@ -2682,13 +2682,13 @@ function WorkflowPreview({
|
|
|
2682
2682
|
renderIcon,
|
|
2683
2683
|
testId
|
|
2684
2684
|
}) {
|
|
2685
|
-
const run =
|
|
2685
|
+
const run = chunkMJKBVIV3_cjs.useWorkflowPreview(workflow, {
|
|
2686
2686
|
resolveWorkflow: (id) => workflows.find((w) => w.id === id),
|
|
2687
2687
|
compose,
|
|
2688
2688
|
answer
|
|
2689
2689
|
});
|
|
2690
2690
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2691
|
-
|
|
2691
|
+
chunk3BI6EWKP_cjs.WorkflowRunner,
|
|
2692
2692
|
{
|
|
2693
2693
|
workflow,
|
|
2694
2694
|
run,
|
|
@@ -2764,27 +2764,27 @@ function ConnectedWorkflowBuilder({
|
|
|
2764
2764
|
...builderProps
|
|
2765
2765
|
}) {
|
|
2766
2766
|
const l = { ...DEFAULT_CONNECTED_WORKFLOW_BUILDER_LABELS, ...connectedLabels };
|
|
2767
|
-
const { notify } = chunkC4WSHRR6_cjs.useBlocksEnvironment();
|
|
2767
|
+
const { notify, openConversation } = chunkC4WSHRR6_cjs.useBlocksEnvironment();
|
|
2768
2768
|
const { workspaceId, live, ensureWorkspaceOpen } = chunkKDUGTKVI_cjs.useConnectedWorkspace();
|
|
2769
2769
|
const members = react$2.useWorkspaceUsers(workspaceId ?? void 0, {
|
|
2770
2770
|
enabled: live && !!workspaceId,
|
|
2771
2771
|
beforeFetch: ensureWorkspaceOpen
|
|
2772
2772
|
});
|
|
2773
|
-
const
|
|
2774
|
-
const
|
|
2773
|
+
const { data: tagList } = chunkUUHUQHXR_cjs.useConnectedTags();
|
|
2774
|
+
const { data: docList } = chunkUUHUQHXR_cjs.useConnectedDocuments();
|
|
2775
2775
|
const people = (members.data ?? []).map((m) => ({
|
|
2776
2776
|
value: m.user.external_id,
|
|
2777
2777
|
label: [m.user.given_name, m.user.family_name].filter(Boolean).join(" ") || m.user.email
|
|
2778
2778
|
}));
|
|
2779
|
-
const tagOptions =
|
|
2780
|
-
const documentOptions =
|
|
2779
|
+
const tagOptions = tagList.map((t) => ({ value: t.external_id, label: t.name }));
|
|
2780
|
+
const documentOptions = docList.map((d) => ({
|
|
2781
2781
|
value: d.external_id,
|
|
2782
2782
|
label: d.file_name ?? d.external_id
|
|
2783
2783
|
}));
|
|
2784
2784
|
const saved = react$2.useWorkflows();
|
|
2785
2785
|
const skills = react$2.useSkills();
|
|
2786
2786
|
const agentsQuery = react$2.useAgents();
|
|
2787
|
-
const conversations =
|
|
2787
|
+
const { data: conversations } = chunkUUHUQHXR_cjs.useConnectedConversations();
|
|
2788
2788
|
const create = react$2.useCreateWorkflow();
|
|
2789
2789
|
const update = react$2.useUpdateWorkflow();
|
|
2790
2790
|
const run = react$2.useRunWorkflow();
|
|
@@ -2808,7 +2808,7 @@ function ConnectedWorkflowBuilder({
|
|
|
2808
2808
|
id: a.external_id,
|
|
2809
2809
|
label: a.given_name || a.email
|
|
2810
2810
|
}));
|
|
2811
|
-
const tasks =
|
|
2811
|
+
const tasks = conversations.filter((c) => c.status && c.status !== "done").map((c) => ({ value: c.external_id, label: c.title || l.untitledTask }));
|
|
2812
2812
|
const options = { resolveWorkflow: (wid) => workflows.find((w) => w.id === wid), compose };
|
|
2813
2813
|
const problem = triggerProblem(value.trigger) ?? (chunkOWCEQKAR_cjs.validateWorkflowGraph(chunkOWCEQKAR_cjs.workflowSteps(value.workflow)).length || chunkOWCEQKAR_cjs.stepConfigProblems(chunkOWCEQKAR_cjs.workflowSteps(value.workflow)).length ? "graph" : null);
|
|
2814
2814
|
const busy = !!pending || create.isPending || update.isPending || run.isPending;
|
|
@@ -2839,7 +2839,9 @@ function ConnectedWorkflowBuilder({
|
|
|
2839
2839
|
setPending({ action: "run", phase: "running" });
|
|
2840
2840
|
const started = await run.mutateAsync(savedId);
|
|
2841
2841
|
if (started.error) throw new Error(started.error);
|
|
2842
|
-
|
|
2842
|
+
const conversationId = started.conversation_ext_id ?? void 0;
|
|
2843
|
+
if (onRun) onRun(conversationId);
|
|
2844
|
+
else if (conversationId) openConversation(conversationId);
|
|
2843
2845
|
} catch (e) {
|
|
2844
2846
|
notify(
|
|
2845
2847
|
e instanceof Error && e.message ? e.message : andRun ? l.runFailed : l.saveFailed,
|