@arbidocs/blocks 0.5.142 → 0.5.143
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/{ConnectedCallDock-ZNS5BS2R.cjs → ConnectedCallDock-JVLJEWLJ.cjs} +11 -11
- package/dist/{ConnectedCallDock-ZNS5BS2R.cjs.map → ConnectedCallDock-JVLJEWLJ.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-ACNVSFH7.cjs → ConnectedCallRoom-7YQRDIS3.cjs} +11 -11
- package/dist/{ConnectedCallRoom-ACNVSFH7.cjs.map → ConnectedCallRoom-7YQRDIS3.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-KZIMMOOL.cjs → ConnectedNativeDocxComparison-FWUYOTSF.cjs} +10 -10
- package/dist/{ConnectedNativeDocxComparison-KZIMMOOL.cjs.map → ConnectedNativeDocxComparison-FWUYOTSF.cjs.map} +1 -1
- package/dist/{ConnectedPresentation-3JXN6SRT.cjs → ConnectedPresentation-JJXQBIV2.cjs} +12 -12
- package/dist/{ConnectedPresentation-3JXN6SRT.cjs.map → ConnectedPresentation-JJXQBIV2.cjs.map} +1 -1
- package/dist/{ConnectedSlidesTab-IECS2MJI.cjs → ConnectedSlidesTab-BLR762KY.cjs} +12 -12
- package/dist/{ConnectedSlidesTab-IECS2MJI.cjs.map → ConnectedSlidesTab-BLR762KY.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-2FUCYULO.cjs → ConnectedStreamedWordArtifact-LXXTFGIW.cjs} +10 -10
- package/dist/{ConnectedStreamedWordArtifact-2FUCYULO.cjs.map → ConnectedStreamedWordArtifact-LXXTFGIW.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-4CVIX3PD.cjs → FilesViewerDialog-VOCAK22P.cjs} +19 -19
- package/dist/{FilesViewerDialog-4CVIX3PD.cjs.map → FilesViewerDialog-VOCAK22P.cjs.map} +1 -1
- package/dist/agents/index.cjs +362 -362
- package/dist/agents/workflows/StepParts.js +3 -0
- package/dist/agents/workflows/StepParts.js.map +2 -2
- package/dist/agents/workflows/WorkflowStepAction.d.ts +3 -1
- package/dist/agents/workflows/WorkflowStepAction.js +24 -3
- package/dist/agents/workflows/WorkflowStepAction.js.map +2 -2
- package/dist/agents/workflows/planSteps.js +24 -0
- package/dist/agents/workflows/planSteps.js.map +2 -2
- package/dist/agents/workflows/run.d.ts +1 -1
- package/dist/agents/workflows/run.js +9 -1
- package/dist/agents/workflows/run.js.map +2 -2
- package/dist/agents/workflows/stepKinds.d.ts +2 -1
- package/dist/agents/workflows/stepKinds.js +7 -4
- package/dist/agents/workflows/stepKinds.js.map +2 -2
- package/dist/agents/workflows/types.d.ts +22 -1
- package/dist/agents/workflows/types.js.map +1 -1
- package/dist/agents/workflows/useWorkflowView.js +13 -2
- package/dist/agents/workflows/useWorkflowView.js.map +3 -3
- package/dist/{ai-QEXZ4SYR.cjs → ai-YX3OAC4F.cjs} +23 -23
- package/dist/ai-YX3OAC4F.cjs.map +1 -0
- package/dist/calls/index.cjs +2 -2
- package/dist/chat/index.cjs +58 -58
- package/dist/{chunk-DGAGSP5G.cjs → chunk-2V5HW6T5.cjs} +6 -6
- package/dist/{chunk-DGAGSP5G.cjs.map → chunk-2V5HW6T5.cjs.map} +1 -1
- package/dist/{chunk-TXBXIUTX.cjs → chunk-2VEQKLNN.cjs} +6 -6
- package/dist/{chunk-TXBXIUTX.cjs.map → chunk-2VEQKLNN.cjs.map} +1 -1
- package/dist/{chunk-TOYKBRAU.cjs → chunk-2XZ3HBAA.cjs} +27 -27
- package/dist/{chunk-TOYKBRAU.cjs.map → chunk-2XZ3HBAA.cjs.map} +1 -1
- package/dist/{chunk-NRRX3TYV.cjs → chunk-36YSDDHB.cjs} +8 -8
- package/dist/{chunk-NRRX3TYV.cjs.map → chunk-36YSDDHB.cjs.map} +1 -1
- package/dist/{chunk-R7VF2UFA.cjs → chunk-3RN64MXC.cjs} +4 -4
- package/dist/{chunk-R7VF2UFA.cjs.map → chunk-3RN64MXC.cjs.map} +1 -1
- package/dist/{chunk-F6CEPWIF.cjs → chunk-5RMVFFVW.cjs} +7 -7
- package/dist/{chunk-F6CEPWIF.cjs.map → chunk-5RMVFFVW.cjs.map} +1 -1
- package/dist/{chunk-VZUXTF3U.cjs → chunk-6NHOZTIY.cjs} +80 -75
- package/dist/chunk-6NHOZTIY.cjs.map +1 -0
- package/dist/{chunk-MSJGEZHL.cjs → chunk-6RJXO2NF.cjs} +6 -6
- package/dist/{chunk-MSJGEZHL.cjs.map → chunk-6RJXO2NF.cjs.map} +1 -1
- package/dist/{chunk-OOHBXCDV.cjs → chunk-6TU4YLFW.cjs} +18 -18
- package/dist/{chunk-OOHBXCDV.cjs.map → chunk-6TU4YLFW.cjs.map} +1 -1
- package/dist/{chunk-QFXOTJ6G.cjs → chunk-73ECBDG7.cjs} +38 -14
- package/dist/chunk-73ECBDG7.cjs.map +1 -0
- package/dist/{chunk-5A6T4W46.cjs → chunk-7D4WXUBS.cjs} +7 -7
- package/dist/{chunk-5A6T4W46.cjs.map → chunk-7D4WXUBS.cjs.map} +1 -1
- package/dist/{chunk-PIYYBPHH.cjs → chunk-BCRB42SP.cjs} +56 -5
- package/dist/chunk-BCRB42SP.cjs.map +1 -0
- package/dist/{chunk-OOW7H2YD.cjs → chunk-FK7MBD5H.cjs} +6 -6
- package/dist/{chunk-OOW7H2YD.cjs.map → chunk-FK7MBD5H.cjs.map} +1 -1
- package/dist/{chunk-X46QYO4S.cjs → chunk-FSGMWE5I.cjs} +9 -9
- package/dist/{chunk-X46QYO4S.cjs.map → chunk-FSGMWE5I.cjs.map} +1 -1
- package/dist/{chunk-ZTHYJP4G.cjs → chunk-GF3I3SA4.cjs} +10 -10
- package/dist/{chunk-ZTHYJP4G.cjs.map → chunk-GF3I3SA4.cjs.map} +1 -1
- package/dist/{chunk-EQTZQD66.cjs → chunk-I2LJ7RZ2.cjs} +17 -9
- package/dist/chunk-I2LJ7RZ2.cjs.map +1 -0
- package/dist/{chunk-LFMOQALU.cjs → chunk-JJDJLAC7.cjs} +9 -9
- package/dist/{chunk-LFMOQALU.cjs.map → chunk-JJDJLAC7.cjs.map} +1 -1
- package/dist/{chunk-VL7ZX4KQ.cjs → chunk-KMOIE2XH.cjs} +12 -9
- package/dist/chunk-KMOIE2XH.cjs.map +1 -0
- package/dist/{chunk-MEYQLQWS.cjs → chunk-MC34TXSS.cjs} +17 -17
- package/dist/{chunk-MEYQLQWS.cjs.map → chunk-MC34TXSS.cjs.map} +1 -1
- package/dist/{chunk-UWTCK5IN.cjs → chunk-NPRNR54M.cjs} +8 -8
- package/dist/{chunk-UWTCK5IN.cjs.map → chunk-NPRNR54M.cjs.map} +1 -1
- package/dist/{chunk-ORQXGMCC.cjs → chunk-OE36OY64.cjs} +17 -17
- package/dist/{chunk-ORQXGMCC.cjs.map → chunk-OE36OY64.cjs.map} +1 -1
- package/dist/{chunk-UVP5RJWA.cjs → chunk-P2AZ2HX7.cjs} +70 -70
- package/dist/{chunk-UVP5RJWA.cjs.map → chunk-P2AZ2HX7.cjs.map} +1 -1
- package/dist/{chunk-GG7QKDV5.cjs → chunk-PI4U4LEN.cjs} +7 -7
- package/dist/{chunk-GG7QKDV5.cjs.map → chunk-PI4U4LEN.cjs.map} +1 -1
- package/dist/{chunk-R5NTEW4L.cjs → chunk-UKAN76CS.cjs} +144 -109
- package/dist/chunk-UKAN76CS.cjs.map +1 -0
- package/dist/{chunk-JN5YMHGI.cjs → chunk-XPQR2PJX.cjs} +2 -2
- package/dist/chunk-XPQR2PJX.cjs.map +1 -0
- package/dist/{chunk-ACDMGTHX.cjs → chunk-YOSRBLLD.cjs} +5 -5
- package/dist/{chunk-ACDMGTHX.cjs.map → chunk-YOSRBLLD.cjs.map} +1 -1
- package/dist/{chunk-6CGMSJLB.cjs → chunk-YST6GVN5.cjs} +16 -16
- package/dist/{chunk-6CGMSJLB.cjs.map → chunk-YST6GVN5.cjs.map} +1 -1
- package/dist/{chunk-RSQGDXAF.cjs → chunk-YZ25NAR3.cjs} +11 -11
- package/dist/{chunk-RSQGDXAF.cjs.map → chunk-YZ25NAR3.cjs.map} +1 -1
- package/dist/{chunk-56Z6CQC6.cjs → chunk-Z6FJLJWX.cjs} +4 -4
- package/dist/{chunk-56Z6CQC6.cjs.map → chunk-Z6FJLJWX.cjs.map} +1 -1
- package/dist/connect/docx.cjs +13 -13
- package/dist/connect/index.cjs +429 -382
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/viewer.cjs +8 -8
- package/dist/connection/ConnectedWorkflowBuilder.js +8 -0
- package/dist/connection/ConnectedWorkflowBuilder.js.map +2 -2
- package/dist/connection/billing/StripeCheckoutModal.js +1 -1
- package/dist/connection/billing/StripeCheckoutModal.js.map +2 -2
- package/dist/connection/databases/ConnectedDatabasesPage.js +50 -8
- package/dist/connection/databases/ConnectedDatabasesPage.js.map +2 -2
- package/dist/connection/notification-center/useOpenNotificationTarget.d.ts +2 -0
- package/dist/connection/notification-center/useOpenNotificationTarget.js +11 -2
- package/dist/connection/notification-center/useOpenNotificationTarget.js.map +2 -2
- package/dist/connection/tasks/ConnectedThreadTaskBar.js +9 -2
- package/dist/connection/tasks/ConnectedThreadTaskBar.js.map +2 -2
- package/dist/connection/workspace-list/useConnectedWorkspaceList.d.ts +2 -2
- package/dist/databases/DatabaseColumnDialog.d.ts +13 -0
- package/dist/databases/DatabaseColumnDialog.js +38 -1
- package/dist/databases/DatabaseColumnDialog.js.map +2 -2
- package/dist/databases/DatabaseRowDetail.d.ts +6 -1
- package/dist/databases/DatabaseRowDetail.js +15 -1
- package/dist/databases/DatabaseRowDetail.js.map +2 -2
- package/dist/databases/column-types.d.ts +14 -0
- package/dist/databases/column-types.js.map +2 -2
- package/dist/databases/databaseColumns.js +1 -1
- package/dist/databases/databaseColumns.js.map +2 -2
- package/dist/databases/index.cjs +48 -48
- package/dist/embed/index.cjs +20 -20
- package/dist/index.cjs +471 -471
- package/dist/office/index.cjs +5 -5
- package/dist/studio/index.cjs +14 -14
- package/dist/styles.css +1 -1
- package/dist/workflow-canvas/StepActionSettings.d.ts +25 -1
- package/dist/workflow-canvas/StepActionSettings.js +113 -1
- package/dist/workflow-canvas/StepActionSettings.js.map +2 -2
- package/dist/workflow-canvas/StepInspector.d.ts +5 -3
- package/dist/workflow-canvas/StepInspector.js +14 -1
- package/dist/workflow-canvas/StepInspector.js.map +2 -2
- package/dist/workflow-canvas/WorkflowBuilder.d.ts +4 -2
- package/dist/workflow-canvas/WorkflowBuilder.js +8 -2
- package/dist/workflow-canvas/WorkflowBuilder.js.map +2 -2
- package/dist/workflow-canvas/WorkflowCanvas.d.ts +4 -0
- package/dist/workflow-canvas/WorkflowCanvas.js +5 -1
- package/dist/workflow-canvas/WorkflowCanvas.js.map +2 -2
- package/dist/workflow-canvas/edit.js +19 -1
- package/dist/workflow-canvas/edit.js.map +2 -2
- package/dist/workflow-canvas/index.cjs +237 -81
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/src/blocks.css +3 -0
- package/dist/ai-QEXZ4SYR.cjs.map +0 -1
- package/dist/chunk-EQTZQD66.cjs.map +0 -1
- package/dist/chunk-JN5YMHGI.cjs.map +0 -1
- package/dist/chunk-PIYYBPHH.cjs.map +0 -1
- package/dist/chunk-QFXOTJ6G.cjs.map +0 -1
- package/dist/chunk-R5NTEW4L.cjs.map +0 -1
- package/dist/chunk-VL7ZX4KQ.cjs.map +0 -1
- package/dist/chunk-VZUXTF3U.cjs.map +0 -1
package/dist/connect/index.cjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunk2VEQKLNN_cjs = require('../chunk-2VEQKLNN.cjs');
|
|
5
5
|
var chunk6OK7ESTL_cjs = require('../chunk-6OK7ESTL.cjs');
|
|
6
6
|
var chunkQW6NCUR7_cjs = require('../chunk-QW6NCUR7.cjs');
|
|
7
7
|
var chunkK3ZZ6IH3_cjs = require('../chunk-K3ZZ6IH3.cjs');
|
|
8
8
|
var chunkMBXXWTKT_cjs = require('../chunk-MBXXWTKT.cjs');
|
|
9
9
|
var chunk2FA7UVLG_cjs = require('../chunk-2FA7UVLG.cjs');
|
|
10
10
|
var chunk5GCCUXMT_cjs = require('../chunk-5GCCUXMT.cjs');
|
|
11
|
-
var
|
|
12
|
-
var chunkVZUXTF3U_cjs = require('../chunk-VZUXTF3U.cjs');
|
|
11
|
+
var chunkNPRNR54M_cjs = require('../chunk-NPRNR54M.cjs');
|
|
13
12
|
var chunkWNAZM2YS_cjs = require('../chunk-WNAZM2YS.cjs');
|
|
13
|
+
var chunk6NHOZTIY_cjs = require('../chunk-6NHOZTIY.cjs');
|
|
14
14
|
var chunk32W2S6DE_cjs = require('../chunk-32W2S6DE.cjs');
|
|
15
15
|
var chunkKWJW5TMH_cjs = require('../chunk-KWJW5TMH.cjs');
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
16
|
+
var chunkP2AZ2HX7_cjs = require('../chunk-P2AZ2HX7.cjs');
|
|
17
|
+
var chunkMC34TXSS_cjs = require('../chunk-MC34TXSS.cjs');
|
|
18
|
+
var chunk2XZ3HBAA_cjs = require('../chunk-2XZ3HBAA.cjs');
|
|
19
|
+
var chunkOE36OY64_cjs = require('../chunk-OE36OY64.cjs');
|
|
20
20
|
var chunk33GOYI3O_cjs = require('../chunk-33GOYI3O.cjs');
|
|
21
|
-
var
|
|
21
|
+
var chunkYST6GVN5_cjs = require('../chunk-YST6GVN5.cjs');
|
|
22
22
|
var chunk3Y75LUCT_cjs = require('../chunk-3Y75LUCT.cjs');
|
|
23
23
|
var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
|
|
24
24
|
var chunkC6RJQQLG_cjs = require('../chunk-C6RJQQLG.cjs');
|
|
@@ -41,25 +41,25 @@ require('../chunk-HYUKPHCT.cjs');
|
|
|
41
41
|
var chunkZPIZINH2_cjs = require('../chunk-ZPIZINH2.cjs');
|
|
42
42
|
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
43
43
|
var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
|
|
44
|
-
var
|
|
44
|
+
var chunkPI4U4LEN_cjs = require('../chunk-PI4U4LEN.cjs');
|
|
45
45
|
var chunk4ONPEVTP_cjs = require('../chunk-4ONPEVTP.cjs');
|
|
46
46
|
require('../chunk-V3KLUWQQ.cjs');
|
|
47
47
|
var chunkOA3AN6WW_cjs = require('../chunk-OA3AN6WW.cjs');
|
|
48
|
-
var
|
|
48
|
+
var chunkFK7MBD5H_cjs = require('../chunk-FK7MBD5H.cjs');
|
|
49
49
|
var chunkLVIQWRC5_cjs = require('../chunk-LVIQWRC5.cjs');
|
|
50
50
|
var chunkF6F375V7_cjs = require('../chunk-F6F375V7.cjs');
|
|
51
51
|
require('../chunk-PBPO54KZ.cjs');
|
|
52
|
-
var
|
|
52
|
+
var chunkBCRB42SP_cjs = require('../chunk-BCRB42SP.cjs');
|
|
53
53
|
var chunkETMSINQS_cjs = require('../chunk-ETMSINQS.cjs');
|
|
54
54
|
require('../chunk-OUYBYZ7Y.cjs');
|
|
55
55
|
var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
|
|
56
56
|
require('../chunk-DTMBAFIL.cjs');
|
|
57
57
|
require('../chunk-7NJKDJVO.cjs');
|
|
58
|
-
var
|
|
58
|
+
var chunkYOSRBLLD_cjs = require('../chunk-YOSRBLLD.cjs');
|
|
59
59
|
var chunkEYXU32D7_cjs = require('../chunk-EYXU32D7.cjs');
|
|
60
60
|
require('../chunk-NEGFHF3V.cjs');
|
|
61
|
-
var chunkZ3LFF3YT_cjs = require('../chunk-Z3LFF3YT.cjs');
|
|
62
61
|
var chunkI6GEQWIV_cjs = require('../chunk-I6GEQWIV.cjs');
|
|
62
|
+
var chunkZ3LFF3YT_cjs = require('../chunk-Z3LFF3YT.cjs');
|
|
63
63
|
var chunk4B6HYQTW_cjs = require('../chunk-4B6HYQTW.cjs');
|
|
64
64
|
var chunkADMNU2CR_cjs = require('../chunk-ADMNU2CR.cjs');
|
|
65
65
|
require('../chunk-PCB2BPN3.cjs');
|
|
@@ -88,11 +88,11 @@ var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
|
|
|
88
88
|
var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
|
|
89
89
|
require('../chunk-OEJQFPWO.cjs');
|
|
90
90
|
require('../chunk-BQOL4XNZ.cjs');
|
|
91
|
-
var
|
|
91
|
+
var chunkUKAN76CS_cjs = require('../chunk-UKAN76CS.cjs');
|
|
92
92
|
var chunkCYN66TBO_cjs = require('../chunk-CYN66TBO.cjs');
|
|
93
|
-
var
|
|
93
|
+
var chunk73ECBDG7_cjs = require('../chunk-73ECBDG7.cjs');
|
|
94
94
|
require('../chunk-I4IS6ST6.cjs');
|
|
95
|
-
var
|
|
95
|
+
var chunk7D4WXUBS_cjs = require('../chunk-7D4WXUBS.cjs');
|
|
96
96
|
require('../chunk-EVZH6Z5O.cjs');
|
|
97
97
|
var chunkOYXWQTHF_cjs = require('../chunk-OYXWQTHF.cjs');
|
|
98
98
|
require('../chunk-S237ORM3.cjs');
|
|
@@ -100,11 +100,11 @@ require('../chunk-II2OEXHW.cjs');
|
|
|
100
100
|
require('../chunk-JJZOL5MG.cjs');
|
|
101
101
|
require('../chunk-3YEXZX4H.cjs');
|
|
102
102
|
var chunk4PA6VCCR_cjs = require('../chunk-4PA6VCCR.cjs');
|
|
103
|
-
require('../chunk-
|
|
103
|
+
require('../chunk-YZ25NAR3.cjs');
|
|
104
104
|
require('../chunk-AHDJXIUB.cjs');
|
|
105
|
+
var chunkS5OGPQSB_cjs = require('../chunk-S5OGPQSB.cjs');
|
|
105
106
|
var chunkRL2HI6NP_cjs = require('../chunk-RL2HI6NP.cjs');
|
|
106
107
|
var chunk6UZC4XVV_cjs = require('../chunk-6UZC4XVV.cjs');
|
|
107
|
-
var chunkS5OGPQSB_cjs = require('../chunk-S5OGPQSB.cjs');
|
|
108
108
|
var chunkOUGRCQM7_cjs = require('../chunk-OUGRCQM7.cjs');
|
|
109
109
|
var chunkZVEW3JBT_cjs = require('../chunk-ZVEW3JBT.cjs');
|
|
110
110
|
var chunkU2FFG2B3_cjs = require('../chunk-U2FFG2B3.cjs');
|
|
@@ -130,11 +130,11 @@ var chunkSJSGSHIT_cjs = require('../chunk-SJSGSHIT.cjs');
|
|
|
130
130
|
var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
|
|
131
131
|
require('../chunk-ZT5MIFLC.cjs');
|
|
132
132
|
var chunkKLMNCBLY_cjs = require('../chunk-KLMNCBLY.cjs');
|
|
133
|
-
var
|
|
133
|
+
var chunk2V5HW6T5_cjs = require('../chunk-2V5HW6T5.cjs');
|
|
134
134
|
require('../chunk-XZMYSDU4.cjs');
|
|
135
|
-
var
|
|
135
|
+
var chunk6TU4YLFW_cjs = require('../chunk-6TU4YLFW.cjs');
|
|
136
136
|
var chunkJHDCDEXY_cjs = require('../chunk-JHDCDEXY.cjs');
|
|
137
|
-
var
|
|
137
|
+
var chunk5RMVFFVW_cjs = require('../chunk-5RMVFFVW.cjs');
|
|
138
138
|
require('../chunk-5F4DCIHS.cjs');
|
|
139
139
|
require('../chunk-DEXUL3T6.cjs');
|
|
140
140
|
require('../chunk-AFQTQC7A.cjs');
|
|
@@ -145,10 +145,10 @@ require('../chunk-MCXS6X37.cjs');
|
|
|
145
145
|
require('../chunk-KQF7POTG.cjs');
|
|
146
146
|
require('../chunk-75BNMCUX.cjs');
|
|
147
147
|
require('../chunk-IN6ILI5A.cjs');
|
|
148
|
-
require('../chunk-
|
|
148
|
+
require('../chunk-KMOIE2XH.cjs');
|
|
149
149
|
var chunkFX3K6LNZ_cjs = require('../chunk-FX3K6LNZ.cjs');
|
|
150
|
-
var
|
|
151
|
-
var
|
|
150
|
+
var chunkI2LJ7RZ2_cjs = require('../chunk-I2LJ7RZ2.cjs');
|
|
151
|
+
var chunkXPQR2PJX_cjs = require('../chunk-XPQR2PJX.cjs');
|
|
152
152
|
require('../chunk-UDSHVNU3.cjs');
|
|
153
153
|
var chunkIPSHAMO2_cjs = require('../chunk-IPSHAMO2.cjs');
|
|
154
154
|
var chunkZBP4ZSAJ_cjs = require('../chunk-ZBP4ZSAJ.cjs');
|
|
@@ -265,7 +265,7 @@ function ConnectedWorkspaceActivity({
|
|
|
265
265
|
[feed.data]
|
|
266
266
|
);
|
|
267
267
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
268
|
-
|
|
268
|
+
chunkYOSRBLLD_cjs.WorkspaceActivityList,
|
|
269
269
|
{
|
|
270
270
|
...listProps,
|
|
271
271
|
items,
|
|
@@ -615,7 +615,7 @@ async function workflowWorkspace(arbi, workflowId) {
|
|
|
615
615
|
return workflows.find((w) => w.external_id === workflowId)?.workspace_ext_id ?? void 0;
|
|
616
616
|
}
|
|
617
617
|
function createNotificationTargetOpener(deps) {
|
|
618
|
-
const { environment, arbi, queryClient, selectWorkspace, openWorkspaceId } = deps;
|
|
618
|
+
const { environment, arbi, queryClient, selectWorkspace, openWorkspaceId, setTransientView } = deps;
|
|
619
619
|
return async (target) => {
|
|
620
620
|
switch (target.kind) {
|
|
621
621
|
case "support":
|
|
@@ -689,6 +689,13 @@ function createNotificationTargetOpener(deps) {
|
|
|
689
689
|
...target.tab && { tab: target.tab }
|
|
690
690
|
});
|
|
691
691
|
return;
|
|
692
|
+
case "database":
|
|
693
|
+
setTransientView?.(react.DATABASES_OPEN_VIEW, {
|
|
694
|
+
databaseId: target.databaseId,
|
|
695
|
+
...target.rowId ? { rowId: target.rowId } : {}
|
|
696
|
+
});
|
|
697
|
+
environment.openDatabases?.();
|
|
698
|
+
return;
|
|
692
699
|
case "workflows":
|
|
693
700
|
void queryClient.invalidateQueries({ queryKey: react.arbiQueryKeys.workflows() });
|
|
694
701
|
environment.openWorkflow?.(target.workflowId, {
|
|
@@ -712,7 +719,8 @@ function useOpenNotificationTarget() {
|
|
|
712
719
|
arbi,
|
|
713
720
|
queryClient,
|
|
714
721
|
selectWorkspace: setWorkspace ? async (id) => void await setWorkspace(id) : void 0,
|
|
715
|
-
openWorkspaceId: () => session.getState().workspaceId
|
|
722
|
+
openWorkspaceId: () => session.getState().workspaceId,
|
|
723
|
+
setTransientView: (key, value) => session.setTransientView(key, value)
|
|
716
724
|
})(target),
|
|
717
725
|
[environment, arbi, queryClient, setWorkspace, session]
|
|
718
726
|
);
|
|
@@ -1587,7 +1595,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1587
1595
|
onChange: (e) => {
|
|
1588
1596
|
const file = e.target.files?.[0];
|
|
1589
1597
|
e.target.value = "";
|
|
1590
|
-
if (file) void add(() =>
|
|
1598
|
+
if (file) void add(() => chunkUKAN76CS_cjs.importSkillFile(file));
|
|
1591
1599
|
}
|
|
1592
1600
|
}
|
|
1593
1601
|
),
|
|
@@ -1612,7 +1620,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1612
1620
|
className: "space-y-2",
|
|
1613
1621
|
onSubmit: (e) => {
|
|
1614
1622
|
e.preventDefault();
|
|
1615
|
-
if (url.trim()) void add(() =>
|
|
1623
|
+
if (url.trim()) void add(() => chunkUKAN76CS_cjs.importSkillFromUrl(url));
|
|
1616
1624
|
},
|
|
1617
1625
|
children: [
|
|
1618
1626
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
|
|
@@ -1665,9 +1673,9 @@ function ConnectedSkillsLibrary({
|
|
|
1665
1673
|
const arbi = react.useArbi();
|
|
1666
1674
|
const { confirm, notify: notify19 } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
1667
1675
|
const { data: allListings } = react.useSkills();
|
|
1668
|
-
const isExternal2 =
|
|
1676
|
+
const isExternal2 = chunkYST6GVN5_cjs.useIsExternalAccount();
|
|
1669
1677
|
const listings = react$1.useMemo(
|
|
1670
|
-
() => isExternal2 && allListings ?
|
|
1678
|
+
() => isExternal2 && allListings ? chunkYST6GVN5_cjs.withoutMarketplace(allListings) : allListings,
|
|
1671
1679
|
[allListings, isExternal2]
|
|
1672
1680
|
);
|
|
1673
1681
|
const save = react.useSaveSkill();
|
|
@@ -1680,9 +1688,9 @@ function ConnectedSkillsLibrary({
|
|
|
1680
1688
|
const [type, setType] = react$1.useState("all");
|
|
1681
1689
|
const [view, setView] = react$1.useState("gallery");
|
|
1682
1690
|
const [isBusy, setIsBusy] = react$1.useState(false);
|
|
1683
|
-
const all = react$1.useMemo(() =>
|
|
1691
|
+
const all = react$1.useMemo(() => chunkUKAN76CS_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
|
|
1684
1692
|
const shown = react$1.useMemo(
|
|
1685
|
-
() =>
|
|
1693
|
+
() => chunkUKAN76CS_cjs.filterLibrarySkills(all, { query, source, type }),
|
|
1686
1694
|
[all, query, source, type]
|
|
1687
1695
|
);
|
|
1688
1696
|
const current = all.find((s) => s.slug === selected) ?? null;
|
|
@@ -1693,21 +1701,21 @@ function ConnectedSkillsLibrary({
|
|
|
1693
1701
|
const count2 = (s) => all.filter((x) => x.source === s).length;
|
|
1694
1702
|
const sourceOptions = [
|
|
1695
1703
|
{ id: "all", label: "All", count: all.length },
|
|
1696
|
-
{ id: "builtin", label:
|
|
1697
|
-
{ id: "mine", label:
|
|
1698
|
-
{ id: "shared", label:
|
|
1704
|
+
{ id: "builtin", label: chunkUKAN76CS_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
|
|
1705
|
+
{ id: "mine", label: chunkUKAN76CS_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
|
|
1706
|
+
{ id: "shared", label: chunkUKAN76CS_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
|
|
1699
1707
|
];
|
|
1700
1708
|
const types = [...new Set(all.map((s) => s.type))];
|
|
1701
1709
|
const typeOptions = [
|
|
1702
1710
|
{ id: "all", label: "Any kind" },
|
|
1703
|
-
...types.map((t) => ({ id: t, label:
|
|
1711
|
+
...types.map((t) => ({ id: t, label: chunkUKAN76CS_cjs.SKILL_TYPE_LABELS[t] ?? t }))
|
|
1704
1712
|
];
|
|
1705
1713
|
const pick = (slug) => {
|
|
1706
1714
|
setSelected(slug);
|
|
1707
1715
|
setMode("detail");
|
|
1708
1716
|
};
|
|
1709
1717
|
const markdownOf = async (skill) => {
|
|
1710
|
-
if (!skill.docExtId) return
|
|
1718
|
+
if (!skill.docExtId) return chunkUKAN76CS_cjs.workflowToSkillMarkdown(skill.workflow);
|
|
1711
1719
|
const response = await arbi.documents.download(skill.docExtId);
|
|
1712
1720
|
if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
|
|
1713
1721
|
return response.text();
|
|
@@ -1771,7 +1779,7 @@ function ConnectedSkillsLibrary({
|
|
|
1771
1779
|
try {
|
|
1772
1780
|
documentTools.downloadBlob(
|
|
1773
1781
|
new Blob([await markdownOf(skill)], { type: "text/markdown" }),
|
|
1774
|
-
|
|
1782
|
+
chunkUKAN76CS_cjs.SKILL_MAIN_FILENAME
|
|
1775
1783
|
);
|
|
1776
1784
|
} catch (error) {
|
|
1777
1785
|
notify19(errorText(error, "Could not export the skill"), "error");
|
|
@@ -1812,10 +1820,10 @@ function ConnectedSkillsLibrary({
|
|
|
1812
1820
|
}
|
|
1813
1821
|
)
|
|
1814
1822
|
] }),
|
|
1815
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1823
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.SkillViewToggle, { value: view, onChange: setView })
|
|
1816
1824
|
] }),
|
|
1817
1825
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1818
|
-
|
|
1826
|
+
chunkUKAN76CS_cjs.SkillFilterChips,
|
|
1819
1827
|
{
|
|
1820
1828
|
label: "Show",
|
|
1821
1829
|
value: source,
|
|
@@ -1824,7 +1832,7 @@ function ConnectedSkillsLibrary({
|
|
|
1824
1832
|
}
|
|
1825
1833
|
),
|
|
1826
1834
|
types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1827
|
-
|
|
1835
|
+
chunkUKAN76CS_cjs.SkillFilterChips,
|
|
1828
1836
|
{
|
|
1829
1837
|
label: "Kind",
|
|
1830
1838
|
value: type,
|
|
@@ -1871,12 +1879,12 @@ function ConnectedSkillsLibrary({
|
|
|
1871
1879
|
view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
|
|
1872
1880
|
),
|
|
1873
1881
|
children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1874
|
-
|
|
1882
|
+
chunkUKAN76CS_cjs.SkillTile,
|
|
1875
1883
|
{
|
|
1876
1884
|
name: skill.title,
|
|
1877
1885
|
testId: `skill-tile-${skill.slug}`,
|
|
1878
1886
|
description: skill.description,
|
|
1879
|
-
sourceLabel: skill.isShared ? `${
|
|
1887
|
+
sourceLabel: skill.isShared ? `${chunkUKAN76CS_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkUKAN76CS_cjs.SKILL_SOURCE_LABELS[skill.source],
|
|
1880
1888
|
type: skill.type,
|
|
1881
1889
|
icon,
|
|
1882
1890
|
layout: view,
|
|
@@ -1911,7 +1919,7 @@ function ConnectedSkillsLibrary({
|
|
|
1911
1919
|
}
|
|
1912
1920
|
),
|
|
1913
1921
|
mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1914
|
-
|
|
1922
|
+
chunkUKAN76CS_cjs.SkillGenerateForm,
|
|
1915
1923
|
{
|
|
1916
1924
|
icon,
|
|
1917
1925
|
onGenerate: (desc) => {
|
|
@@ -1938,11 +1946,11 @@ function ConnectedSkillsLibrary({
|
|
|
1938
1946
|
),
|
|
1939
1947
|
mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
|
|
1940
1948
|
mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1941
|
-
|
|
1949
|
+
chunkUKAN76CS_cjs.SkillLibraryDetail,
|
|
1942
1950
|
{
|
|
1943
1951
|
skill: current,
|
|
1944
1952
|
icon,
|
|
1945
|
-
instructions: current.docExtId ? currentText ?
|
|
1953
|
+
instructions: current.docExtId ? currentText ? chunkUKAN76CS_cjs.parseSkillFrontmatter(currentText, chunkUKAN76CS_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
|
|
1946
1954
|
isLoading: !!current.docExtId && textLoading,
|
|
1947
1955
|
actions: {
|
|
1948
1956
|
onRun: () => onRun(current.slug),
|
|
@@ -1977,7 +1985,7 @@ function SkillEditor({
|
|
|
1977
1985
|
const [seeded, setSeeded] = react$1.useState(!isEditing);
|
|
1978
1986
|
const [nameError, setNameError] = react$1.useState(null);
|
|
1979
1987
|
if (isEditing && !seeded && text !== void 0) {
|
|
1980
|
-
const parsed =
|
|
1988
|
+
const parsed = chunkUKAN76CS_cjs.parseSkillFrontmatter(text, chunkUKAN76CS_cjs.SKILL_MAIN_FILENAME);
|
|
1981
1989
|
setDescription(parsed.description ?? "");
|
|
1982
1990
|
setBody(parsed.content ?? "");
|
|
1983
1991
|
setSeeded(true);
|
|
@@ -1991,15 +1999,15 @@ function SkillEditor({
|
|
|
1991
1999
|
notify19("Add a short description.", "error");
|
|
1992
2000
|
return;
|
|
1993
2001
|
}
|
|
1994
|
-
const slug =
|
|
2002
|
+
const slug = chunkUKAN76CS_cjs.skillSlug(name);
|
|
1995
2003
|
try {
|
|
1996
|
-
await onSave(slug,
|
|
2004
|
+
await onSave(slug, chunkUKAN76CS_cjs.serializeSkill({ name: slug, description, body }), isEditing);
|
|
1997
2005
|
} catch (err) {
|
|
1998
2006
|
notify19(errorText(err, "Could not save the skill"), "error");
|
|
1999
2007
|
}
|
|
2000
2008
|
};
|
|
2001
2009
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2002
|
-
|
|
2010
|
+
chunkUKAN76CS_cjs.SkillEditForm,
|
|
2003
2011
|
{
|
|
2004
2012
|
name,
|
|
2005
2013
|
onNameChange: setName,
|
|
@@ -2038,11 +2046,11 @@ var DEFAULT_CONNECTED_SKILLS_BROWSER_LABELS = {
|
|
|
2038
2046
|
function ConnectedSkillsBrowser({
|
|
2039
2047
|
props,
|
|
2040
2048
|
onClose: close,
|
|
2041
|
-
builtins: givenBuiltins =
|
|
2049
|
+
builtins: givenBuiltins = chunk7D4WXUBS_cjs.BUILTIN_SKILLS,
|
|
2042
2050
|
renderEditor,
|
|
2043
2051
|
labels
|
|
2044
2052
|
}) {
|
|
2045
|
-
const builtins =
|
|
2053
|
+
const builtins = chunkYST6GVN5_cjs.useNamedWorkflows(givenBuiltins);
|
|
2046
2054
|
const l = { ...DEFAULT_CONNECTED_SKILLS_BROWSER_LABELS, ...labels };
|
|
2047
2055
|
const isOpen = props !== null;
|
|
2048
2056
|
const session = react.useArbiSessionStore();
|
|
@@ -2092,7 +2100,7 @@ function ConnectedSkillsBrowser({
|
|
|
2092
2100
|
}
|
|
2093
2101
|
) }),
|
|
2094
2102
|
runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2095
|
-
|
|
2103
|
+
chunk6NHOZTIY_cjs.ConnectedTaskComposer,
|
|
2096
2104
|
{
|
|
2097
2105
|
kind: "workflow",
|
|
2098
2106
|
open: true,
|
|
@@ -2116,9 +2124,9 @@ function ConnectedAgentCreator({
|
|
|
2116
2124
|
agent,
|
|
2117
2125
|
initialName,
|
|
2118
2126
|
onSaved,
|
|
2119
|
-
capabilities =
|
|
2120
|
-
templates =
|
|
2121
|
-
types =
|
|
2127
|
+
capabilities = chunkUKAN76CS_cjs.DEFAULT_AGENT_CAPABILITIES,
|
|
2128
|
+
templates = chunkUKAN76CS_cjs.DEFAULT_AGENT_TEMPLATES,
|
|
2129
|
+
types = chunkUKAN76CS_cjs.DEFAULT_AGENT_TYPES,
|
|
2122
2130
|
canRevokeWorkspaces = false,
|
|
2123
2131
|
labels
|
|
2124
2132
|
}) {
|
|
@@ -2160,7 +2168,7 @@ function ConnectedAgentCreator({
|
|
|
2160
2168
|
const initialValues = react$1.useMemo(
|
|
2161
2169
|
() => ({
|
|
2162
2170
|
name: agent?.given_name ?? initialName ?? "",
|
|
2163
|
-
persona: isEdit ?
|
|
2171
|
+
persona: isEdit ? chunkUKAN76CS_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
|
|
2164
2172
|
modelName: String(agents.AGENT_MODEL_NAME ?? ""),
|
|
2165
2173
|
capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
|
|
2166
2174
|
type: "builtin",
|
|
@@ -2179,7 +2187,7 @@ function ConnectedAgentCreator({
|
|
|
2179
2187
|
try {
|
|
2180
2188
|
let agentExtId = agent?.external_id ?? early?.id ?? "";
|
|
2181
2189
|
if (!agentExtId) {
|
|
2182
|
-
if (!
|
|
2190
|
+
if (!chunkUKAN76CS_cjs.isValidAgentName(values.name)) {
|
|
2183
2191
|
notify19("Give the agent a name first.", "error");
|
|
2184
2192
|
return;
|
|
2185
2193
|
}
|
|
@@ -2215,7 +2223,7 @@ function ConnectedAgentCreator({
|
|
|
2215
2223
|
title: `agent-${name}`,
|
|
2216
2224
|
sections: {
|
|
2217
2225
|
Agents: {
|
|
2218
|
-
PERSONA:
|
|
2226
|
+
PERSONA: chunkUKAN76CS_cjs.composePersona(name, values.persona),
|
|
2219
2227
|
...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
|
|
2220
2228
|
...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
|
|
2221
2229
|
ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
|
|
@@ -2238,7 +2246,7 @@ function ConnectedAgentCreator({
|
|
|
2238
2246
|
};
|
|
2239
2247
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2240
2248
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2241
|
-
|
|
2249
|
+
chunkUKAN76CS_cjs.AgentCreator,
|
|
2242
2250
|
{
|
|
2243
2251
|
open: ready,
|
|
2244
2252
|
onOpenChange,
|
|
@@ -2254,11 +2262,11 @@ function ConnectedAgentCreator({
|
|
|
2254
2262
|
) : void 0,
|
|
2255
2263
|
revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
|
|
2256
2264
|
avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2257
|
-
|
|
2265
|
+
chunkUKAN76CS_cjs.AgentAvatarField,
|
|
2258
2266
|
{
|
|
2259
2267
|
picture,
|
|
2260
2268
|
isBusy: avatarBusy,
|
|
2261
|
-
canGenerate: isEdit ||
|
|
2269
|
+
canGenerate: isEdit || chunkUKAN76CS_cjs.isValidAgentName(values.name),
|
|
2262
2270
|
onGenerate: () => handleGenerateAvatar(values)
|
|
2263
2271
|
}
|
|
2264
2272
|
),
|
|
@@ -2310,7 +2318,7 @@ function ConnectedAgentCreator({
|
|
|
2310
2318
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
|
|
2311
2319
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
|
|
2312
2320
|
] }),
|
|
2313
|
-
connect && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2321
|
+
connect && /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
|
|
2314
2322
|
]
|
|
2315
2323
|
}
|
|
2316
2324
|
) })
|
|
@@ -2437,7 +2445,7 @@ function AgentChat({ agentId, workspaceId, onOpenFull }) {
|
|
|
2437
2445
|
/* @__PURE__ */ jsxRuntime.jsx("ol", { className: "mt-2 space-y-1", children: activity.map((name, i) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap break-all", children: name }) }, i)) })
|
|
2438
2446
|
] }),
|
|
2439
2447
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2440
|
-
|
|
2448
|
+
chunk6TU4YLFW_cjs.ChatPage,
|
|
2441
2449
|
{
|
|
2442
2450
|
chat: { ...chat, assistantMode: void 0, setAssistantMode: void 0 },
|
|
2443
2451
|
surface: "dock",
|
|
@@ -2702,7 +2710,7 @@ function useMemoryCount(enabled) {
|
|
|
2702
2710
|
}
|
|
2703
2711
|
function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
2704
2712
|
const { notify: notify19, openConversation, openDocument } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
2705
|
-
const people =
|
|
2713
|
+
const people = chunk6NHOZTIY_cjs.useTaskPeople();
|
|
2706
2714
|
const canEditShared = react.useCanEditShared();
|
|
2707
2715
|
const isWorkspaceOwner = react.useIsWorkspaceOwner();
|
|
2708
2716
|
const { data: workflows = [] } = react.useWorkflows({ live: true });
|
|
@@ -2728,7 +2736,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2728
2736
|
}, [documents]);
|
|
2729
2737
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2730
2738
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2731
|
-
|
|
2739
|
+
chunkUKAN76CS_cjs.TaskTable,
|
|
2732
2740
|
{
|
|
2733
2741
|
tasks,
|
|
2734
2742
|
isLoading,
|
|
@@ -2755,7 +2763,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2755
2763
|
}
|
|
2756
2764
|
),
|
|
2757
2765
|
activityFor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2758
|
-
|
|
2766
|
+
chunk6NHOZTIY_cjs.ConnectedTaskActivityDialog,
|
|
2759
2767
|
{
|
|
2760
2768
|
conversationId: activityFor.external_id,
|
|
2761
2769
|
taskName: activityFor.title || l.untitledTask,
|
|
@@ -2771,12 +2779,12 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
|
|
|
2771
2779
|
const { notify: notify19, openConversation } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
2772
2780
|
const { workspaceId, ensureWorkspaceOpen } = chunkYKOPKLYP_cjs.useConnectedWorkspace();
|
|
2773
2781
|
const { data: skills = [] } = react.useSkills({ enabled: !!workspaceId, live: true });
|
|
2774
|
-
const workflowTasks =
|
|
2782
|
+
const workflowTasks = chunkYST6GVN5_cjs.useWorkflowTasks();
|
|
2775
2783
|
const launchable = react$1.useMemo(
|
|
2776
2784
|
() => [
|
|
2777
2785
|
...workflows,
|
|
2778
2786
|
...skills.map((s) => {
|
|
2779
|
-
const workflow =
|
|
2787
|
+
const workflow = chunkXPQR2PJX_cjs.skillToWorkflow({
|
|
2780
2788
|
name: s.name,
|
|
2781
2789
|
slug: s.slug,
|
|
2782
2790
|
description: s.description,
|
|
@@ -2794,7 +2802,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
|
|
|
2794
2802
|
[workflows, skills, l.skillFiles]
|
|
2795
2803
|
);
|
|
2796
2804
|
const launch = async ({ workflow, inputs, agentId }) => {
|
|
2797
|
-
const values =
|
|
2805
|
+
const values = chunkUKAN76CS_cjs.defaultTaskComposerValues(launchable, {
|
|
2798
2806
|
workflowId: workflow.id,
|
|
2799
2807
|
assignee: "agent",
|
|
2800
2808
|
inputs,
|
|
@@ -2815,7 +2823,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
|
|
|
2815
2823
|
}
|
|
2816
2824
|
};
|
|
2817
2825
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2818
|
-
|
|
2826
|
+
chunkFK7MBD5H_cjs.ConnectedWorkflowLauncher,
|
|
2819
2827
|
{
|
|
2820
2828
|
workflows: launchable,
|
|
2821
2829
|
onLaunch: launch,
|
|
@@ -2914,7 +2922,7 @@ function ConnectedAgentsPageScope(props) {
|
|
|
2914
2922
|
children,
|
|
2915
2923
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
|
|
2916
2924
|
taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2917
|
-
|
|
2925
|
+
chunk6NHOZTIY_cjs.ConnectedTaskComposer,
|
|
2918
2926
|
{
|
|
2919
2927
|
open: true,
|
|
2920
2928
|
onOpenChange: (open) => !open && setTaskDialog(null),
|
|
@@ -2936,7 +2944,7 @@ function AgentsGallery() {
|
|
|
2936
2944
|
cardTestIds
|
|
2937
2945
|
} = agentOptions;
|
|
2938
2946
|
const { openConversation } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
2939
|
-
const tasksByAgent = react$1.useMemo(() =>
|
|
2947
|
+
const tasksByAgent = react$1.useMemo(() => chunkUKAN76CS_cjs.groupAgentTasks(tasks), [tasks]);
|
|
2940
2948
|
const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
|
|
2941
2949
|
const { agents } = management;
|
|
2942
2950
|
const cardDetails = (agent) => details.map(
|
|
@@ -2951,7 +2959,7 @@ function AgentsGallery() {
|
|
|
2951
2959
|
) : detail === "workspaces" ? /* @__PURE__ */ jsxRuntime.jsx(AgentWorkspaceAccess, { agentExtId: agent.external_id, labels: l }, detail) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: behaviour.behaviourOf(agent.given_name) }, detail)
|
|
2952
2960
|
);
|
|
2953
2961
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2954
|
-
|
|
2962
|
+
chunkUKAN76CS_cjs.AgentGallery,
|
|
2955
2963
|
{
|
|
2956
2964
|
count: agents.length,
|
|
2957
2965
|
onCreate: management.create,
|
|
@@ -2961,9 +2969,9 @@ function AgentsGallery() {
|
|
|
2961
2969
|
const agentTasks = tasksByAgent.get(agent.external_id) ?? [];
|
|
2962
2970
|
const running = agentTasks.filter((t) => t.in_progress);
|
|
2963
2971
|
const watchConversationId = running[0]?.external_id ?? null;
|
|
2964
|
-
const progress = agentTasks[0] ?
|
|
2972
|
+
const progress = agentTasks[0] ? chunkUKAN76CS_cjs.goalProgress(agentTasks[0]) : null;
|
|
2965
2973
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2966
|
-
|
|
2974
|
+
chunkUKAN76CS_cjs.AgentCard,
|
|
2967
2975
|
{
|
|
2968
2976
|
name: displayName(agent),
|
|
2969
2977
|
avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
|
|
@@ -3071,7 +3079,7 @@ function AgentsSectionBody({ id }) {
|
|
|
3071
3079
|
) });
|
|
3072
3080
|
case "scheduled":
|
|
3073
3081
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[min(32rem,70dvh)] min-h-64 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3074
|
-
|
|
3082
|
+
chunkPI4U4LEN_cjs.ConnectedWorkflowsTable,
|
|
3075
3083
|
{
|
|
3076
3084
|
filter: "scheduled",
|
|
3077
3085
|
onEdit: (w) => openWorkflow?.(w.external_id),
|
|
@@ -3375,7 +3383,7 @@ function ConnectedTagTable({
|
|
|
3375
3383
|
const fail2 = (fallback) => (e) => notify19(browser.refusalReason(e, fallback), "error");
|
|
3376
3384
|
const snapshot2 = (data) => {
|
|
3377
3385
|
const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
|
|
3378
|
-
const bytes =
|
|
3386
|
+
const bytes = chunkYOSRBLLD_cjs.tagTableDocx(data, {
|
|
3379
3387
|
title,
|
|
3380
3388
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
3381
3389
|
});
|
|
@@ -3384,7 +3392,7 @@ function ConnectedTagTable({
|
|
|
3384
3392
|
return { blob: new Blob([bytes], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }), name };
|
|
3385
3393
|
};
|
|
3386
3394
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3387
|
-
|
|
3395
|
+
chunkYOSRBLLD_cjs.TagTable,
|
|
3388
3396
|
{
|
|
3389
3397
|
...props,
|
|
3390
3398
|
table,
|
|
@@ -3524,7 +3532,7 @@ function AssistantDrafts({
|
|
|
3524
3532
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 space-y-3 border-t pt-2", "data-testid": `assistant-drafts-${id}`, children: [
|
|
3525
3533
|
emails.map((email, i) => {
|
|
3526
3534
|
const gmail = email.provider === "gmail";
|
|
3527
|
-
const link = gmail ?
|
|
3535
|
+
const link = gmail ? chunkXPQR2PJX_cjs.gmailLink(email.url) : void 0;
|
|
3528
3536
|
const subject = email.subject || labels.noSubject;
|
|
3529
3537
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3530
3538
|
"div",
|
|
@@ -4509,9 +4517,9 @@ function GlossaryExport({ labelId, nameOf }) {
|
|
|
4509
4517
|
const narrowed = agreements.find((a) => a.id === narrowTo);
|
|
4510
4518
|
const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
|
|
4511
4519
|
const download = (format) => {
|
|
4512
|
-
const entries =
|
|
4513
|
-
const blob = format === "docx" ? new Blob([
|
|
4514
|
-
documentTools.downloadBlob(blob,
|
|
4520
|
+
const entries = chunkYOSRBLLD_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
|
|
4521
|
+
const blob = format === "docx" ? new Blob([chunkYOSRBLLD_cjs.glossaryDocx(entries, { title })], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }) : new Blob([chunkYOSRBLLD_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
|
|
4522
|
+
documentTools.downloadBlob(blob, chunkYOSRBLLD_cjs.glossaryFileName(title, format));
|
|
4515
4523
|
};
|
|
4516
4524
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
|
|
4517
4525
|
agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -5040,7 +5048,7 @@ function KindSection({
|
|
|
5040
5048
|
{
|
|
5041
5049
|
testId: `tags-kind-${kind}`,
|
|
5042
5050
|
title: ui.tagKindTitle(kind, { plural: true }),
|
|
5043
|
-
description:
|
|
5051
|
+
description: chunkYOSRBLLD_cjs.tagKindDescription(kind),
|
|
5044
5052
|
children: [
|
|
5045
5053
|
browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5046
5054
|
"p",
|
|
@@ -5050,9 +5058,9 @@ function KindSection({
|
|
|
5050
5058
|
children: [
|
|
5051
5059
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
|
|
5052
5060
|
"Extracting ",
|
|
5053
|
-
|
|
5061
|
+
chunkYOSRBLLD_cjs.entitiesPhrase().toLowerCase(),
|
|
5054
5062
|
" from ",
|
|
5055
|
-
|
|
5063
|
+
chunkYOSRBLLD_cjs.documentCount(extractingCount),
|
|
5056
5064
|
"\u2026"
|
|
5057
5065
|
]
|
|
5058
5066
|
}
|
|
@@ -5070,7 +5078,7 @@ function KindSection({
|
|
|
5070
5078
|
onOpenTag: ctx.onOpenTag,
|
|
5071
5079
|
onOpenRow: ctx.onOpenTag,
|
|
5072
5080
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
5073
|
-
labels:
|
|
5081
|
+
labels: chunkYOSRBLLD_cjs.tagTableLabels(kind),
|
|
5074
5082
|
testId: `tags-table-${kind}`
|
|
5075
5083
|
}
|
|
5076
5084
|
)
|
|
@@ -5178,15 +5186,15 @@ function TagSection({
|
|
|
5178
5186
|
onOpenTag: ctx.onOpenTag,
|
|
5179
5187
|
onOpenRow: ctx.onOpenTag,
|
|
5180
5188
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
5181
|
-
labels:
|
|
5189
|
+
labels: chunkYOSRBLLD_cjs.tagTableLabels(tag.kind),
|
|
5182
5190
|
testId: "tags-rows"
|
|
5183
5191
|
}
|
|
5184
5192
|
),
|
|
5185
5193
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5186
|
-
|
|
5194
|
+
chunkYOSRBLLD_cjs.TagDetail,
|
|
5187
5195
|
{
|
|
5188
5196
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
5189
|
-
fieldLabels:
|
|
5197
|
+
fieldLabels: chunkYOSRBLLD_cjs.tagTableLabels(tag.kind),
|
|
5190
5198
|
row: detailRow,
|
|
5191
5199
|
fields: schema.data?.fields ?? [],
|
|
5192
5200
|
isLoading: detail.isLoading,
|
|
@@ -5200,7 +5208,7 @@ function TagSection({
|
|
|
5200
5208
|
throw e;
|
|
5201
5209
|
})
|
|
5202
5210
|
),
|
|
5203
|
-
labels:
|
|
5211
|
+
labels: chunkYOSRBLLD_cjs.tagDetailLabels(),
|
|
5204
5212
|
testId: "tags-detail"
|
|
5205
5213
|
}
|
|
5206
5214
|
)
|
|
@@ -5275,7 +5283,7 @@ function ConnectedTagsPage() {
|
|
|
5275
5283
|
const onDelete = async (t) => {
|
|
5276
5284
|
const nested = browser.getChildTags([...tags], t.external_id);
|
|
5277
5285
|
const uses = browser.tagUseCount(t);
|
|
5278
|
-
const n2 =
|
|
5286
|
+
const n2 = chunkYOSRBLLD_cjs.tagsPageNouns();
|
|
5279
5287
|
const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
|
|
5280
5288
|
const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
|
|
5281
5289
|
const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
|
|
@@ -5296,11 +5304,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5296
5304
|
try {
|
|
5297
5305
|
await extract.mutateAsync(docIds);
|
|
5298
5306
|
notify19(
|
|
5299
|
-
`Extracting ${
|
|
5307
|
+
`Extracting ${chunkYOSRBLLD_cjs.entitiesPhrase().toLowerCase()} from ${chunkYOSRBLLD_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
|
|
5300
5308
|
"info"
|
|
5301
5309
|
);
|
|
5302
5310
|
} catch (error) {
|
|
5303
|
-
notify19(browser.refusalReason(error, `Could not extract ${
|
|
5311
|
+
notify19(browser.refusalReason(error, `Could not extract ${chunkYOSRBLLD_cjs.entitiesPhrase().toLowerCase()}`), "error");
|
|
5304
5312
|
throw error;
|
|
5305
5313
|
}
|
|
5306
5314
|
};
|
|
@@ -5314,10 +5322,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5314
5322
|
onOpenTag: openTag,
|
|
5315
5323
|
onOpenTaggedItems
|
|
5316
5324
|
};
|
|
5317
|
-
const n =
|
|
5325
|
+
const n = chunkYOSRBLLD_cjs.tagsPageNouns();
|
|
5318
5326
|
const action = view === "person" || view === "organisation" ? {
|
|
5319
5327
|
label: "Extract",
|
|
5320
|
-
title: `Extract ${
|
|
5328
|
+
title: `Extract ${chunkYOSRBLLD_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
|
|
5321
5329
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
|
|
5322
5330
|
run: () => setExtracting(true),
|
|
5323
5331
|
testId: "tags-extract-entities"
|
|
@@ -5486,7 +5494,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5486
5494
|
}
|
|
5487
5495
|
),
|
|
5488
5496
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5489
|
-
|
|
5497
|
+
chunkYOSRBLLD_cjs.ExtractEntitiesDialog,
|
|
5490
5498
|
{
|
|
5491
5499
|
open: extracting,
|
|
5492
5500
|
onOpenChange: setExtracting,
|
|
@@ -8488,7 +8496,7 @@ function ConnectedFactsPage() {
|
|
|
8488
8496
|
onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
|
|
8489
8497
|
navSlotRef: setNavSlot,
|
|
8490
8498
|
navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8491
|
-
|
|
8499
|
+
chunkYOSRBLLD_cjs.GridRowNavigator,
|
|
8492
8500
|
{
|
|
8493
8501
|
gridApi,
|
|
8494
8502
|
selectedId: editingId,
|
|
@@ -8765,7 +8773,7 @@ function useConnectedShellWorkspaces(options = {}) {
|
|
|
8765
8773
|
function ConnectedSsoDisconnect() {
|
|
8766
8774
|
const { client } = react.useAccountClient();
|
|
8767
8775
|
const { data: profile } = react.useProfile();
|
|
8768
|
-
const auth =
|
|
8776
|
+
const auth = chunkP2AZ2HX7_cjs.useAuthPages();
|
|
8769
8777
|
const { notify: notify19 } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
8770
8778
|
const [open, setOpen] = react$1.useState(false);
|
|
8771
8779
|
const [step, setStep] = react$1.useState("email");
|
|
@@ -8943,14 +8951,14 @@ function ConnectedAccountSettings({
|
|
|
8943
8951
|
}) {
|
|
8944
8952
|
const [logoutOpen, setLogoutOpen] = react$1.useState(false);
|
|
8945
8953
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
|
|
8946
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8954
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkP2AZ2HX7_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
|
|
8947
8955
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
|
|
8948
8956
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
|
|
8949
8957
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
|
|
8950
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8958
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkP2AZ2HX7_cjs.ConnectedSecuritySection, { children: securityRows }),
|
|
8951
8959
|
moreSettings,
|
|
8952
8960
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8953
|
-
|
|
8961
|
+
chunkP2AZ2HX7_cjs.ConnectedIdentityVerification,
|
|
8954
8962
|
{
|
|
8955
8963
|
collapsible: true,
|
|
8956
8964
|
onManageBilling,
|
|
@@ -8960,7 +8968,7 @@ function ConnectedAccountSettings({
|
|
|
8960
8968
|
] }),
|
|
8961
8969
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
|
|
8962
8970
|
connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
|
|
8963
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8971
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkP2AZ2HX7_cjs.ConnectedSessionsRow, { renderSessionIcon }),
|
|
8964
8972
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8965
8973
|
ui.Button,
|
|
8966
8974
|
{
|
|
@@ -8977,9 +8985,9 @@ function ConnectedAccountSettings({
|
|
|
8977
8985
|
}
|
|
8978
8986
|
) })
|
|
8979
8987
|
] }) }),
|
|
8980
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8988
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkP2AZ2HX7_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
|
|
8981
8989
|
!onLogout && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8982
|
-
|
|
8990
|
+
chunkP2AZ2HX7_cjs.ConnectedLogoutDialog,
|
|
8983
8991
|
{
|
|
8984
8992
|
open: logoutOpen,
|
|
8985
8993
|
onClose: () => setLogoutOpen(false),
|
|
@@ -9322,7 +9330,7 @@ function ConnectedPrivacySettings({
|
|
|
9322
9330
|
}
|
|
9323
9331
|
)
|
|
9324
9332
|
] }) }),
|
|
9325
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9333
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkP2AZ2HX7_cjs.ConnectedNotificationPreferences, {})
|
|
9326
9334
|
] });
|
|
9327
9335
|
}
|
|
9328
9336
|
var PROVIDER_NAMES = {
|
|
@@ -11129,7 +11137,7 @@ function CallsRow({ row: row2 }) {
|
|
|
11129
11137
|
}
|
|
11130
11138
|
function ConnectedAccountAccessBadge() {
|
|
11131
11139
|
const { data: user } = react.useCurrentUser();
|
|
11132
|
-
const status = !user ? null : user.is_deployment_admin || user.user_type === "admin" ? ["Deployment administrator", "You can manage users and deployment settings."] :
|
|
11140
|
+
const status = !user ? null : user.is_deployment_admin || user.user_type === "admin" ? ["Deployment administrator", "You can manage users and deployment settings."] : chunkYST6GVN5_cjs.isExternalAccount(user) ? [
|
|
11133
11141
|
"External user",
|
|
11134
11142
|
"Temporary access to shared workspaces. Ask an owner to renew access after it expires."
|
|
11135
11143
|
] : user.user_type === "manager" ? [
|
|
@@ -11318,7 +11326,7 @@ function ConnectedRecoveryKeyDialog({
|
|
|
11318
11326
|
const arbi = react.useArbi();
|
|
11319
11327
|
const { user, isSso: isSsoMode } = react.useArbiSession();
|
|
11320
11328
|
const userEmail = user?.email;
|
|
11321
|
-
const sso =
|
|
11329
|
+
const sso = chunkP2AZ2HX7_cjs.useSsoSignIn();
|
|
11322
11330
|
const handleVerify = async () => {
|
|
11323
11331
|
setError(null);
|
|
11324
11332
|
if (!password) {
|
|
@@ -11479,7 +11487,7 @@ function ConnectedRemoteControlSwitch() {
|
|
|
11479
11487
|
}
|
|
11480
11488
|
function RemoteControlSwitch() {
|
|
11481
11489
|
const enabled = react.useRemoteControl((state) => state.enabled);
|
|
11482
|
-
const remote =
|
|
11490
|
+
const remote = chunkP2AZ2HX7_cjs.useRemoteControlActions();
|
|
11483
11491
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
11484
11492
|
chunkQQMMCXBP_cjs.SettingsRow,
|
|
11485
11493
|
{
|
|
@@ -12825,7 +12833,7 @@ function StripeCheckoutModal({
|
|
|
12825
12833
|
storage_blocks: storageBlocks,
|
|
12826
12834
|
collaborator_blocks: collaboratorBlocks,
|
|
12827
12835
|
addon_budget_pence: addonBudgetPence,
|
|
12828
|
-
|
|
12836
|
+
require_spend_limit_confirmation: Boolean(requireSpendLimitConfirmation),
|
|
12829
12837
|
...promoCode ? { promo_code: promoCode } : {},
|
|
12830
12838
|
...billingCountry ? { billing_country: billingCountry } : {},
|
|
12831
12839
|
...billingCountry && postalCode ? { postal_code: postalCode } : {}
|
|
@@ -13731,13 +13739,13 @@ function ConnectedWorkspaceSettings({
|
|
|
13731
13739
|
const [membersExpanded, setMembersExpanded] = react$1.useState(false);
|
|
13732
13740
|
const [shareOpen, setShareOpen] = react$1.useState(false);
|
|
13733
13741
|
if (!workspace) {
|
|
13734
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkWNAZM2YS_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13742
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWNAZM2YS_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkYOSRBLLD_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
|
|
13735
13743
|
}
|
|
13736
13744
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
13737
13745
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkWNAZM2YS_cjs.WorkspacePageFrame, { testId, children: [
|
|
13738
13746
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkWNAZM2YS_cjs.WorkspaceIdentityPanel, { children: [
|
|
13739
13747
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13740
|
-
|
|
13748
|
+
chunkYOSRBLLD_cjs.EntityIdentityBar,
|
|
13741
13749
|
{
|
|
13742
13750
|
testId: "workspace-identity-bar",
|
|
13743
13751
|
canEdit: isOwner,
|
|
@@ -13754,7 +13762,7 @@ function ConnectedWorkspaceSettings({
|
|
|
13754
13762
|
label: "Name",
|
|
13755
13763
|
value: workspace.name,
|
|
13756
13764
|
placeholder: "Untitled",
|
|
13757
|
-
maxLength:
|
|
13765
|
+
maxLength: chunkYOSRBLLD_cjs.IDENTITY_NAME_MAX_LENGTH,
|
|
13758
13766
|
valueClassName: "truncate text-base font-semibold",
|
|
13759
13767
|
testId: "workspace-home-title",
|
|
13760
13768
|
hideLabel: true,
|
|
@@ -15439,36 +15447,36 @@ function ConnectedSharePointAdminConsentPage({
|
|
|
15439
15447
|
const result = givenResult === void 0 ? queryResult : givenResult;
|
|
15440
15448
|
const { apiBaseUrl } = chunkLIKDQBNJ_cjs.useBlocksEnvironment().runtimeConfig;
|
|
15441
15449
|
const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
|
|
15442
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15450
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkUKAN76CS_cjs.ConsentCard, { size: "md", children: [
|
|
15443
15451
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15444
|
-
|
|
15452
|
+
chunkUKAN76CS_cjs.ConsentHeader,
|
|
15445
15453
|
{
|
|
15446
15454
|
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkZPIZINH2_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
|
|
15447
15455
|
title: "Approve ARBI for SharePoint access",
|
|
15448
15456
|
children: "A member of your organization uses ARBI and wants to sync documents from SharePoint. Your Microsoft 365 organization requires an administrator to approve this once for the whole organization."
|
|
15449
15457
|
}
|
|
15450
15458
|
),
|
|
15451
|
-
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
15452
|
-
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
15453
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
15459
|
+
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentNotice, { tone: "success", title: "Access approved \u2014 you\u2019re all set.", className: "mt-4", children: "People in your organization can now connect SharePoint from their own ARBI account. Nothing is synced until each user connects and chooses what to import." }),
|
|
15460
|
+
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentNotice, { tone: "warning", title: "The approval didn\u2019t complete.", className: "mt-4", children: "The request was declined or canceled on the Microsoft screen. You can try again below \u2014 you must sign in with a Microsoft 365 administrator account of your organization." }),
|
|
15461
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkUKAN76CS_cjs.ConsentSection, { title: "What you are approving", children: [
|
|
15454
15462
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15455
|
-
|
|
15463
|
+
chunkUKAN76CS_cjs.ConsentBulletList,
|
|
15456
15464
|
{
|
|
15457
15465
|
items: [
|
|
15458
15466
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
15459
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15467
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
|
|
15460
15468
|
" \u2014 lets each user who connects their own account import documents from sites they already have access to. ARBI never gets more access than the user has."
|
|
15461
15469
|
] }),
|
|
15462
15470
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
15463
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15471
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
|
|
15464
15472
|
" \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
|
|
15465
15473
|
] })
|
|
15466
15474
|
]
|
|
15467
15475
|
}
|
|
15468
15476
|
),
|
|
15469
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15477
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentText, { children: "Approving does not sync anything by itself and grants ARBI no standing access to your tenant. Each user still connects their own Microsoft account, and their tokens are end-to-end encrypted so ARBI\u2019s servers cannot read them at rest." }),
|
|
15470
15478
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Button, { asChild: true, className: "w-full pointer-coarse:h-11", children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: consentUrl, children: "Review and approve in Microsoft" }) }),
|
|
15471
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15479
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentText, { variant: "footnote", children: "You\u2019ll sign in at login.microsoftonline.com and see Microsoft\u2019s own summary of these permissions before anything is granted." })
|
|
15472
15480
|
] })
|
|
15473
15481
|
] }) });
|
|
15474
15482
|
}
|
|
@@ -18681,7 +18689,7 @@ function ConnectedWorkspaceList({
|
|
|
18681
18689
|
}
|
|
18682
18690
|
);
|
|
18683
18691
|
}
|
|
18684
|
-
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18692
|
+
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkYOSRBLLD_cjs.LoadingIndicator, { message: "Loading workspaces..." });
|
|
18685
18693
|
if (list.error) {
|
|
18686
18694
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18687
18695
|
chunkC6RJQQLG_cjs.HomeLoadError,
|
|
@@ -18754,7 +18762,7 @@ function ConnectedWorkspaceList({
|
|
|
18754
18762
|
workspaceState
|
|
18755
18763
|
}
|
|
18756
18764
|
) })
|
|
18757
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18765
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkYOSRBLLD_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkC6RJQQLG_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18758
18766
|
WorkspaceTableView,
|
|
18759
18767
|
{
|
|
18760
18768
|
list,
|
|
@@ -18956,7 +18964,7 @@ function ConnectedProjectsListPage({
|
|
|
18956
18964
|
};
|
|
18957
18965
|
const { openProject } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
18958
18966
|
const [search, setSearch] = react$1.useState("");
|
|
18959
|
-
const { projects, isLoading } =
|
|
18967
|
+
const { projects, isLoading } = chunk6NHOZTIY_cjs.useProjectSummaries();
|
|
18960
18968
|
const rows = react$1.useMemo(() => {
|
|
18961
18969
|
const q = search.trim().toLowerCase();
|
|
18962
18970
|
if (!q) return projects;
|
|
@@ -19027,7 +19035,7 @@ function ConnectedProjectsListPage({
|
|
|
19027
19035
|
}
|
|
19028
19036
|
),
|
|
19029
19037
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19030
|
-
|
|
19038
|
+
chunkYOSRBLLD_cjs.Toolbar,
|
|
19031
19039
|
{
|
|
19032
19040
|
search,
|
|
19033
19041
|
onSearch: setSearch,
|
|
@@ -19089,7 +19097,7 @@ function ProjectDetailsForm({
|
|
|
19089
19097
|
const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
|
|
19090
19098
|
const { notify: notify19 } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
19091
19099
|
const update = react.useUpdateProjectFields();
|
|
19092
|
-
const workspace =
|
|
19100
|
+
const workspace = chunk6NHOZTIY_cjs.primaryProjectWorkspace(project);
|
|
19093
19101
|
const { data: members = [] } = react.useWorkspaceUsers(workspace?.id);
|
|
19094
19102
|
const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
|
|
19095
19103
|
const currency = project.budget?.currency ?? "GBP";
|
|
@@ -19214,7 +19222,7 @@ var COMPACT_BELOW = 132;
|
|
|
19214
19222
|
var NO_DOCUMENTS = [];
|
|
19215
19223
|
function useFilesWorkspace() {
|
|
19216
19224
|
const { workspaceId, userId, live } = chunkYKOPKLYP_cjs.useConnectedWorkspace();
|
|
19217
|
-
const { members, role } =
|
|
19225
|
+
const { members, role } = chunkPI4U4LEN_cjs.useConnectedWorkspaceRole();
|
|
19218
19226
|
const { data: workspaces } = react.useWorkspaces({ enabled: live });
|
|
19219
19227
|
const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
|
|
19220
19228
|
return {
|
|
@@ -20151,11 +20159,11 @@ function ConnectedProjectPage({
|
|
|
20151
20159
|
figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
|
|
20152
20160
|
threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
|
|
20153
20161
|
};
|
|
20154
|
-
const { project, usage, isLoading } =
|
|
20162
|
+
const { project, usage, isLoading } = chunk6NHOZTIY_cjs.useProjectSummary(projectId);
|
|
20155
20163
|
const { workspaceId } = chunkYKOPKLYP_cjs.useConnectedWorkspace();
|
|
20156
20164
|
const { notify: notify19 } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
20157
|
-
const selectWorkspace =
|
|
20158
|
-
const workspace = project ?
|
|
20165
|
+
const selectWorkspace = chunkOE36OY64_cjs.useSelectWorkspace();
|
|
20166
|
+
const workspace = project ? chunk6NHOZTIY_cjs.primaryProjectWorkspace(project) : void 0;
|
|
20159
20167
|
const open = !!workspace && workspace.id === workspaceId;
|
|
20160
20168
|
react$1.useEffect(() => {
|
|
20161
20169
|
if (!workspace || workspace.id === workspaceId) return;
|
|
@@ -21472,7 +21480,7 @@ function ConnectedChatThread({
|
|
|
21472
21480
|
}
|
|
21473
21481
|
return /* @__PURE__ */ jsxRuntime.jsxs(react$1.Fragment, { children: [
|
|
21474
21482
|
isFirstOfDay && /* @__PURE__ */ jsxRuntime.jsx(react.DateSeparator, { children: formatDay(msg.created_at) }),
|
|
21475
|
-
!isSent && startsPeerRun(i) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
21483
|
+
!isSent && startsPeerRun(i) && /* @__PURE__ */ jsxRuntime.jsx(chunk5RMVFFVW_cjs.MessageAuthor, { children: renderMessengerUser(memberById(msg.sender_ext_id) ?? null, "author") }),
|
|
21476
21484
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21477
21485
|
react.ChatBubble,
|
|
21478
21486
|
{
|
|
@@ -22862,10 +22870,10 @@ function ConnectedContactsPanel({
|
|
|
22862
22870
|
function ConnectedConfigForm({ availableModels, ...rest }) {
|
|
22863
22871
|
const hasModels = !!availableModels && availableModels.length > 0;
|
|
22864
22872
|
const renderModelSelect = react$1.useCallback(
|
|
22865
|
-
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
22873
|
+
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkP2AZ2HX7_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
|
|
22866
22874
|
[]
|
|
22867
22875
|
);
|
|
22868
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22876
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
|
|
22869
22877
|
}
|
|
22870
22878
|
function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
|
|
22871
22879
|
const { notify: notify19 } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
@@ -22982,7 +22990,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22982
22990
|
}, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify19]);
|
|
22983
22991
|
if (editAgent) {
|
|
22984
22992
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22985
|
-
|
|
22993
|
+
chunkUKAN76CS_cjs.AgentEditView,
|
|
22986
22994
|
{
|
|
22987
22995
|
agentName: editAgent.name,
|
|
22988
22996
|
config: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -22998,7 +23006,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22998
23006
|
}
|
|
22999
23007
|
if (view === "main") {
|
|
23000
23008
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23001
|
-
|
|
23009
|
+
chunkUKAN76CS_cjs.AgentMainView,
|
|
23002
23010
|
{
|
|
23003
23011
|
onConnectExternal: () => setView("connect"),
|
|
23004
23012
|
config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -23014,11 +23022,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
23014
23022
|
}
|
|
23015
23023
|
if (result) {
|
|
23016
23024
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23017
|
-
|
|
23025
|
+
chunkUKAN76CS_cjs.AgentCreatedView,
|
|
23018
23026
|
{
|
|
23019
23027
|
email: result.email,
|
|
23020
23028
|
signingKey: result.signingKey,
|
|
23021
|
-
instructions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
23029
|
+
instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
|
|
23022
23030
|
config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
|
|
23023
23031
|
isConfigOpen: configOpen,
|
|
23024
23032
|
onToggleConfig: () => setConfigOpen((v) => !v),
|
|
@@ -23027,7 +23035,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
23027
23035
|
);
|
|
23028
23036
|
}
|
|
23029
23037
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23030
|
-
|
|
23038
|
+
chunkUKAN76CS_cjs.AgentCreateView,
|
|
23031
23039
|
{
|
|
23032
23040
|
name,
|
|
23033
23041
|
onNameChange: setName,
|
|
@@ -23223,13 +23231,13 @@ function ConnectedNewThreadDialog({
|
|
|
23223
23231
|
});
|
|
23224
23232
|
const parentOptions = react$1.useMemo(() => {
|
|
23225
23233
|
const leaf = { external_id: "__new__" };
|
|
23226
|
-
return
|
|
23234
|
+
return chunkUKAN76CS_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
|
|
23227
23235
|
id: t.external_id,
|
|
23228
23236
|
name: t.title?.trim() || "Untitled task"
|
|
23229
23237
|
}));
|
|
23230
23238
|
}, [tasks]);
|
|
23231
23239
|
const submit = async (values) => {
|
|
23232
|
-
const request =
|
|
23240
|
+
const request = chunk7D4WXUBS_cjs.newThreadToRequest(values);
|
|
23233
23241
|
try {
|
|
23234
23242
|
if (!workspaceId) throw new Error("Open a workspace to add a task.");
|
|
23235
23243
|
if (!request.startAssistant && request.todo) {
|
|
@@ -23270,7 +23278,7 @@ function ConnectedNewThreadDialog({
|
|
|
23270
23278
|
}
|
|
23271
23279
|
};
|
|
23272
23280
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23273
|
-
|
|
23281
|
+
chunkUKAN76CS_cjs.NewThreadDialog,
|
|
23274
23282
|
{
|
|
23275
23283
|
open,
|
|
23276
23284
|
onOpenChange,
|
|
@@ -23391,12 +23399,12 @@ var TILE_TEST_IDS = {
|
|
|
23391
23399
|
annotate: "workspace-dashboard-quick-action-annotate"
|
|
23392
23400
|
};
|
|
23393
23401
|
function DashboardStart({ addMenu, onCreateNew }) {
|
|
23394
|
-
const { dashboard: workflows } =
|
|
23402
|
+
const { dashboard: workflows } = chunkYST6GVN5_cjs.useWorkflowDefinitions();
|
|
23395
23403
|
const { isMember, role } = react.useCurrentWorkspace();
|
|
23396
23404
|
const canWrite2 = isMember && role !== "guest";
|
|
23397
23405
|
const [activeId, setActiveId] = react$1.useState(null);
|
|
23398
23406
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23399
|
-
|
|
23407
|
+
chunk2XZ3HBAA_cjs.ConnectedWorkflowStart,
|
|
23400
23408
|
{
|
|
23401
23409
|
workflows,
|
|
23402
23410
|
caption: "Start",
|
|
@@ -23417,7 +23425,7 @@ function DashboardStart({ addMenu, onCreateNew }) {
|
|
|
23417
23425
|
}
|
|
23418
23426
|
] : void 0,
|
|
23419
23427
|
tileTestId: (workflow) => TILE_TEST_IDS[workflow.id],
|
|
23420
|
-
disabledReason: (workflow) => !canWrite2 && workflow.id ===
|
|
23428
|
+
disabledReason: (workflow) => !canWrite2 && workflow.id === chunk7D4WXUBS_cjs.ANNOTATE_ID ? "Only workspace members can annotate files" : void 0
|
|
23421
23429
|
}
|
|
23422
23430
|
);
|
|
23423
23431
|
}
|
|
@@ -23448,7 +23456,7 @@ function recentConversations(conversations) {
|
|
|
23448
23456
|
return [...conversations].sort((a, b) => time(b.updated_at) - time(a.updated_at)).slice(0, RECENT_ROWS).map((c) => ({
|
|
23449
23457
|
id: c.external_id,
|
|
23450
23458
|
title: c.title?.trim() || "Untitled thread",
|
|
23451
|
-
subtitle: c.status ? [
|
|
23459
|
+
subtitle: c.status ? [chunkUKAN76CS_cjs.STATUS_LABELS[chunkUKAN76CS_cjs.asTaskStatus(c.status)], c.due_at ? `due ${shortDate(c.due_at)}` : null].filter(Boolean).join(" \xB7 ") : `${c.message_count} ${c.message_count === 1 ? "message" : "messages"}`,
|
|
23452
23460
|
time: timeAndDate(c.updated_at)
|
|
23453
23461
|
}));
|
|
23454
23462
|
}
|
|
@@ -23834,7 +23842,7 @@ function ConnectedAskField({
|
|
|
23834
23842
|
setPageFilter("");
|
|
23835
23843
|
}, [setPageFilter]);
|
|
23836
23844
|
const inputRef = react$1.useRef(null);
|
|
23837
|
-
const slash =
|
|
23845
|
+
const slash = chunk2VEQKLNN_cjs.useSlashField({ text, setText, inputRef, landing: "chat" });
|
|
23838
23846
|
if (!workspaceId) return null;
|
|
23839
23847
|
const submitTo = (handler) => (question) => {
|
|
23840
23848
|
handler(question);
|
|
@@ -23905,7 +23913,7 @@ function createBuiltinActions(environment, session) {
|
|
|
23905
23913
|
const startWorkflowOnDocuments = (workflowId) => {
|
|
23906
23914
|
const { viewingDocument, selectedDocumentIds } = session.getState();
|
|
23907
23915
|
const documents = viewingDocument ? [viewingDocument.id] : [...selectedDocumentIds];
|
|
23908
|
-
|
|
23916
|
+
chunkUKAN76CS_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
|
|
23909
23917
|
};
|
|
23910
23918
|
const setFilesView = (mode) => () => chunkUD56Y6UA_cjs.useFilesPrefs.getState().setViewMode(mode);
|
|
23911
23919
|
const actions = [
|
|
@@ -24274,7 +24282,7 @@ function ConnectedCommandPalette({
|
|
|
24274
24282
|
isFeatureOn: react.useFeatureCheck()
|
|
24275
24283
|
};
|
|
24276
24284
|
const { ask, search } = useWorkspaceAsk();
|
|
24277
|
-
const skillLauncher =
|
|
24285
|
+
const skillLauncher = chunkMC34TXSS_cjs.useSlashSkillWorkflows({ landing: "chat" });
|
|
24278
24286
|
react$1.useEffect(() => {
|
|
24279
24287
|
const onKey = (event) => {
|
|
24280
24288
|
if (!isPaletteShortcut(event)) return;
|
|
@@ -24308,8 +24316,8 @@ function ConnectedCommandPalette({
|
|
|
24308
24316
|
const skills = !workspaceId ? [] : text ? skillLauncher.openable.filter(
|
|
24309
24317
|
(w) => matches(text, w.title, w.description, w.id, w.category)
|
|
24310
24318
|
) : [
|
|
24311
|
-
...skillLauncher.openable.filter(
|
|
24312
|
-
...skillLauncher.openable.filter((w) => !
|
|
24319
|
+
...skillLauncher.openable.filter(chunk7D4WXUBS_cjs.isSkillPackWorkflow),
|
|
24320
|
+
...skillLauncher.openable.filter((w) => !chunk7D4WXUBS_cjs.isSkillPackWorkflow(w))
|
|
24313
24321
|
].slice(0, EMPTY_QUERY_SKILLS);
|
|
24314
24322
|
const choose = (run) => {
|
|
24315
24323
|
setOpen(false);
|
|
@@ -24467,7 +24475,7 @@ function ConnectedRemoteControlConsent() {
|
|
|
24467
24475
|
}
|
|
24468
24476
|
function ConsentPrompt() {
|
|
24469
24477
|
const pending = react.useRemoteControl((s) => s.pending);
|
|
24470
|
-
const remote =
|
|
24478
|
+
const remote = chunkP2AZ2HX7_cjs.useRemoteControlActions();
|
|
24471
24479
|
const onceRef = react$1.useRef(null);
|
|
24472
24480
|
chunkNZNBJF3M_cjs.useMountedSurface("consent");
|
|
24473
24481
|
const handleOpenChange = (next) => {
|
|
@@ -24560,7 +24568,7 @@ function Indicator() {
|
|
|
24560
24568
|
const enabled = react.useRemoteControl((s) => s.enabled);
|
|
24561
24569
|
const sharing = react.useRemoteControl((s) => !!s.sharing);
|
|
24562
24570
|
const controllingAgent = react.useRemoteControl((s) => s.controllingAgent);
|
|
24563
|
-
const remote =
|
|
24571
|
+
const remote = chunkP2AZ2HX7_cjs.useRemoteControlActions();
|
|
24564
24572
|
if (!enabled && !controllingAgent) return null;
|
|
24565
24573
|
const isActive = controllingAgent !== null;
|
|
24566
24574
|
const label = sharing ? controllingAgent ? `${controllingAgent.name} \xB7 screen sharing and control on` : "Sharing screen \xB7 remote control on" : isActive ? `${controllingAgent.name} is controlling your screen` : "Remote control on";
|
|
@@ -28451,7 +28459,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
28451
28459
|
}) {
|
|
28452
28460
|
const authenticated = react.useArbiSession().status === "signed-in";
|
|
28453
28461
|
const { openMail } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
28454
|
-
const { loading } =
|
|
28462
|
+
const { loading } = chunkP2AZ2HX7_cjs.useAuthPages();
|
|
28455
28463
|
const claim = react.useClaimSecureMail();
|
|
28456
28464
|
const [, setFirstLoginWorkspaces] = react.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
|
|
28457
28465
|
const [failure, setFailure] = react$1.useState(null);
|
|
@@ -28491,7 +28499,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
28491
28499
|
}
|
|
28492
28500
|
})();
|
|
28493
28501
|
}, [authenticated, claimId, key]);
|
|
28494
|
-
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
28502
|
+
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkYOSRBLLD_cjs.LoadingIndicator, { variant: "splash" }) });
|
|
28495
28503
|
return /* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-screen items-center justify-center bg-background p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "w-full max-w-md rounded-lg border border-border bg-card p-6", children: [
|
|
28496
28504
|
/* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
|
|
28497
28505
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -29891,7 +29899,7 @@ function EventEditorDialog({
|
|
|
29891
29899
|
const { notify: notify19, runtimeConfig } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
29892
29900
|
const attachmentDocuments = documents.map((document2) => ({
|
|
29893
29901
|
doc_id: document2.external_id,
|
|
29894
|
-
title:
|
|
29902
|
+
title: chunkFK7MBD5H_cjs.toWorkflowFieldDocument(document2).title,
|
|
29895
29903
|
url: chunkLJJJ6CYH_cjs.buildDeepLinkUrl(
|
|
29896
29904
|
{ workspaceId: workspaceId ?? void 0, documentId: document2.external_id },
|
|
29897
29905
|
runtimeConfig.deploymentDomain
|
|
@@ -34621,7 +34629,7 @@ function useBatchCompleteToasts() {
|
|
|
34621
34629
|
}
|
|
34622
34630
|
}, AI_FIELDS_NOTICE_WINDOW_MS);
|
|
34623
34631
|
} else if (message.batch_type === "entity_extract") {
|
|
34624
|
-
say(`${
|
|
34632
|
+
say(`${chunkYOSRBLLD_cjs.entitiesPhrase()} extracted from ${chunkYOSRBLLD_cjs.documentCount(docIds.length)}`, "success", {
|
|
34625
34633
|
...openTags && { action: { label: "View", onClick: openTags } }
|
|
34626
34634
|
});
|
|
34627
34635
|
} else if (message.batch_type === "upload") {
|
|
@@ -35436,10 +35444,10 @@ var DocumentReviewCard = react$1.lazy(
|
|
|
35436
35444
|
() => import('../DocumentReviewCard-ENCPTGJE.cjs').then((module) => ({ default: module.DocumentReviewCard }))
|
|
35437
35445
|
);
|
|
35438
35446
|
var FilesViewerDialog = react$1.lazy(
|
|
35439
|
-
() => import('../FilesViewerDialog-
|
|
35447
|
+
() => import('../FilesViewerDialog-VOCAK22P.cjs').then((module) => ({ default: module.FilesViewerDialog }))
|
|
35440
35448
|
);
|
|
35441
35449
|
function defaultReviewCard(props) {
|
|
35442
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35450
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkYOSRBLLD_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
|
|
35443
35451
|
}
|
|
35444
35452
|
function ConnectedFilesPage({
|
|
35445
35453
|
isModal = false,
|
|
@@ -35482,7 +35490,7 @@ function ConnectedFilesPage({
|
|
|
35482
35490
|
const deleteDocuments = react.useDeleteDocuments();
|
|
35483
35491
|
const isDocumentsPending = isLoading && documents.length === 0;
|
|
35484
35492
|
const { workspaceId, userId, live } = chunkYKOPKLYP_cjs.useConnectedWorkspace();
|
|
35485
|
-
const { role, members } =
|
|
35493
|
+
const { role, members } = chunkPI4U4LEN_cjs.useConnectedWorkspaceRole();
|
|
35486
35494
|
const { data: workspaces } = react.useWorkspaces({ enabled: live });
|
|
35487
35495
|
const workspace = workspaces?.find((w) => w.external_id === workspaceId);
|
|
35488
35496
|
const workspaceName = workspace?.name;
|
|
@@ -35514,7 +35522,7 @@ function ConnectedFilesPage({
|
|
|
35514
35522
|
[setPrefsViewMode, prefsKey]
|
|
35515
35523
|
);
|
|
35516
35524
|
const ownsViewer = !hostToggleDocument;
|
|
35517
|
-
const viewerTabs = viewer?.tabs ??
|
|
35525
|
+
const viewerTabs = viewer?.tabs ?? chunk2VEQKLNN_cjs.DEFAULT_DOCUMENT_VIEWER_TABS;
|
|
35518
35526
|
const [dialog, setDialog] = react$1.useState(null);
|
|
35519
35527
|
const isDocumentViewerEnabled = ownsViewer ? dialog !== null : hostViewerDocumentId !== null;
|
|
35520
35528
|
const shownPlaceRef = react$1.useRef(null);
|
|
@@ -36017,7 +36025,7 @@ function ConnectedFilesPage({
|
|
|
36017
36025
|
viewMode === "grid" ? (
|
|
36018
36026
|
// ‹ n / N › over the table's displayed rows; a step opens the document.
|
|
36019
36027
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36020
|
-
|
|
36028
|
+
chunkYOSRBLLD_cjs.GridRowNavigator,
|
|
36021
36029
|
{
|
|
36022
36030
|
gridApi,
|
|
36023
36031
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -36320,7 +36328,7 @@ function ProcessingSection({
|
|
|
36320
36328
|
tasks,
|
|
36321
36329
|
onDelete
|
|
36322
36330
|
}) {
|
|
36323
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkZPIZINH2_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
36331
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkZPIZINH2_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
|
|
36324
36332
|
}
|
|
36325
36333
|
function ConnectedDocumentProcessingPanel({
|
|
36326
36334
|
workspaceId,
|
|
@@ -36656,7 +36664,7 @@ function useDatabaseCellSources(databases) {
|
|
|
36656
36664
|
return async (databaseId, q) => {
|
|
36657
36665
|
const columns = columnsOf.get(databaseId) ?? [];
|
|
36658
36666
|
const rows = await searchDatabaseRows(databaseId, q);
|
|
36659
|
-
return rows.map((row2) => ({ id: row2.id, label:
|
|
36667
|
+
return rows.map((row2) => ({ id: row2.id, label: chunkBCRB42SP_cjs.rowTitle(row2, columns) || UNTITLED }));
|
|
36660
36668
|
};
|
|
36661
36669
|
}, [databases, searchDatabaseRows]);
|
|
36662
36670
|
return react$1.useMemo(
|
|
@@ -36669,14 +36677,14 @@ function useDatabaseCellSources(databases) {
|
|
|
36669
36677
|
[members, documentOptions, searchRows, openDocument]
|
|
36670
36678
|
);
|
|
36671
36679
|
}
|
|
36672
|
-
var FIXED_COLUMNS = [
|
|
36680
|
+
var FIXED_COLUMNS = [chunkBCRB42SP_cjs.OPEN_ROW_COL_ID, chunkBCRB42SP_cjs.ADD_COLUMN_COL_ID];
|
|
36673
36681
|
var MENU_LABELS = {
|
|
36674
36682
|
trigger: "Columns",
|
|
36675
36683
|
allFields: (count2) => `All columns (${count2})`
|
|
36676
36684
|
};
|
|
36677
36685
|
function applyDatabaseColumns(columns, api) {
|
|
36678
36686
|
const kept = (id) => api.getColumn(id) ? [id] : [];
|
|
36679
|
-
chunkZPIZINH2_cjs.applyColumnLayout(api, [...kept(
|
|
36687
|
+
chunkZPIZINH2_cjs.applyColumnLayout(api, [...kept(chunkBCRB42SP_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunkBCRB42SP_cjs.ADD_COLUMN_COL_ID)]);
|
|
36680
36688
|
}
|
|
36681
36689
|
function DatabaseViewsMenu({
|
|
36682
36690
|
databaseId,
|
|
@@ -36761,10 +36769,15 @@ var keep = (c) => ({
|
|
|
36761
36769
|
var toRowView = (r) => ({
|
|
36762
36770
|
id: r.id,
|
|
36763
36771
|
values: { ...r.values },
|
|
36764
|
-
titles: { ...r.titles ?? {} }
|
|
36772
|
+
titles: { ...r.titles ?? {} },
|
|
36773
|
+
shared: r.shared ?? true
|
|
36765
36774
|
});
|
|
36766
36775
|
var fail = (notify19, error, fallback) => notify19(browser.refusalReason(error, fallback), "error");
|
|
36767
|
-
function OpenDatabase({
|
|
36776
|
+
function OpenDatabase({
|
|
36777
|
+
databaseId,
|
|
36778
|
+
onClose,
|
|
36779
|
+
initialRowId
|
|
36780
|
+
}) {
|
|
36768
36781
|
const { confirm, notify: notify19, openAnalytics } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
36769
36782
|
const analyticsOn = react.useFeature("dashboards");
|
|
36770
36783
|
const session = react.useArbiSessionStore();
|
|
@@ -36793,7 +36806,7 @@ function OpenDatabase({ databaseId, onClose }) {
|
|
|
36793
36806
|
}, [page]);
|
|
36794
36807
|
const [selected, setSelected] = react$1.useState([]);
|
|
36795
36808
|
react$1.useEffect(() => setSelected([]), [databaseId, query]);
|
|
36796
|
-
const [openRowId, setOpenRowId] = react$1.useState(null);
|
|
36809
|
+
const [openRowId, setOpenRowId] = react$1.useState(initialRowId ?? null);
|
|
36797
36810
|
const openRow = openRowId ? rows.find((r) => r.id === openRowId) : void 0;
|
|
36798
36811
|
react$1.useEffect(() => {
|
|
36799
36812
|
if (openRowId && page && !rows.some((r) => r.id === openRowId)) setOpenRowId(null);
|
|
@@ -36823,7 +36836,27 @@ function OpenDatabase({ databaseId, onClose }) {
|
|
|
36823
36836
|
const deleteRows = react.useDeleteDatabaseRows();
|
|
36824
36837
|
const importRows = react.useImportDatabaseRows();
|
|
36825
36838
|
const exportDatabase = react.useExportDatabase();
|
|
36826
|
-
const columns = react$1.useMemo(() =>
|
|
36839
|
+
const columns = react$1.useMemo(() => {
|
|
36840
|
+
const locked = new Set(database?.locked_columns ?? []);
|
|
36841
|
+
return (database?.columns ?? []).map(
|
|
36842
|
+
(c) => locked.has(c.id) ? { ...c, locked: true } : c
|
|
36843
|
+
);
|
|
36844
|
+
}, [database]);
|
|
36845
|
+
const isQueue = columns.some((c) => c.edit_by?.kind === "listed");
|
|
36846
|
+
const shareRow = react.useShareDatabaseRow();
|
|
36847
|
+
const onSubmitRow = react$1.useCallback(
|
|
36848
|
+
(row2) => shareRow.mutate(
|
|
36849
|
+
{ databaseId, rowId: row2.id },
|
|
36850
|
+
{
|
|
36851
|
+
onSuccess: (saved) => {
|
|
36852
|
+
setRows((current) => current.map((r) => r.id === saved.id ? toRowView(saved) : r));
|
|
36853
|
+
notify19("Submitted: its approvers are told", "success");
|
|
36854
|
+
},
|
|
36855
|
+
onError: (error) => fail(notify19, error, "The row could not be submitted")
|
|
36856
|
+
}
|
|
36857
|
+
),
|
|
36858
|
+
[databaseId, shareRow, notify19]
|
|
36859
|
+
);
|
|
36827
36860
|
const readOnly = !(database?.editable ?? true);
|
|
36828
36861
|
react$1.useEffect(() => {
|
|
36829
36862
|
if (databaseError) {
|
|
@@ -36853,7 +36886,7 @@ function OpenDatabase({ databaseId, onClose }) {
|
|
|
36853
36886
|
);
|
|
36854
36887
|
const onAddRow = react$1.useCallback(() => {
|
|
36855
36888
|
addRows.mutate(
|
|
36856
|
-
{ databaseId, rows: [{ values: {} }] },
|
|
36889
|
+
{ databaseId, rows: [{ values: {} }], ...isQueue ? { shared: false } : {} },
|
|
36857
36890
|
{
|
|
36858
36891
|
// The hook's own onSuccess has already refetched the rows (and the effect above may have
|
|
36859
36892
|
// put the new row in): append only rows not there yet, or the grid holds one row twice.
|
|
@@ -36864,7 +36897,7 @@ function OpenDatabase({ databaseId, onClose }) {
|
|
|
36864
36897
|
onError: (error) => fail(notify19, error, "The row could not be added")
|
|
36865
36898
|
}
|
|
36866
36899
|
);
|
|
36867
|
-
}, [databaseId, addRows, notify19]);
|
|
36900
|
+
}, [databaseId, addRows, notify19, isQueue]);
|
|
36868
36901
|
const saveColumns = (next, done) => {
|
|
36869
36902
|
setColumnError(null);
|
|
36870
36903
|
updateDatabase.mutate(
|
|
@@ -36880,7 +36913,8 @@ function OpenDatabase({ databaseId, onClose }) {
|
|
|
36880
36913
|
const config = {
|
|
36881
36914
|
...draft.relation && !editing ? { relation: draft.relation } : {},
|
|
36882
36915
|
...draft.lookup ? { lookup: draft.lookup } : {},
|
|
36883
|
-
...draft.rollup ? { rollup: draft.rollup } : {}
|
|
36916
|
+
...draft.rollup ? { rollup: draft.rollup } : {},
|
|
36917
|
+
...draft.edit_by !== void 0 ? { edit_by: draft.edit_by } : {}
|
|
36884
36918
|
};
|
|
36885
36919
|
const next = editing ? columns.map(
|
|
36886
36920
|
(c) => c.id === editing.id ? { ...keep(c), name: draft.name, options: draft.options, ...config } : keep(c)
|
|
@@ -36967,7 +37001,7 @@ function OpenDatabase({ databaseId, onClose }) {
|
|
|
36967
37001
|
}
|
|
36968
37002
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "database-view", children: [
|
|
36969
37003
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36970
|
-
|
|
37004
|
+
chunkBCRB42SP_cjs.DatabaseToolbar,
|
|
36971
37005
|
{
|
|
36972
37006
|
name: database.name,
|
|
36973
37007
|
description: database.description,
|
|
@@ -37003,7 +37037,7 @@ function OpenDatabase({ databaseId, onClose }) {
|
|
|
37003
37037
|
),
|
|
37004
37038
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex min-h-0 flex-1 gap-2 px-2 pb-2", children: [
|
|
37005
37039
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 min-w-0 flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37006
|
-
|
|
37040
|
+
chunkBCRB42SP_cjs.DatabaseTable,
|
|
37007
37041
|
{
|
|
37008
37042
|
columns,
|
|
37009
37043
|
rows,
|
|
@@ -37030,7 +37064,7 @@ function OpenDatabase({ databaseId, onClose }) {
|
|
|
37030
37064
|
) }),
|
|
37031
37065
|
openRow && // Beside the grid on a wide screen; over it on a narrow one.
|
|
37032
37066
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37033
|
-
|
|
37067
|
+
chunkBCRB42SP_cjs.DatabaseRowDetail,
|
|
37034
37068
|
{
|
|
37035
37069
|
row: openRow,
|
|
37036
37070
|
columns,
|
|
@@ -37038,6 +37072,7 @@ function OpenDatabase({ databaseId, onClose }) {
|
|
|
37038
37072
|
readOnly,
|
|
37039
37073
|
onChange: onCellChange,
|
|
37040
37074
|
onDelete: (row2) => removeRows([row2], () => setOpenRowId(null)),
|
|
37075
|
+
onSubmit: !readOnly && openRow.shared === false ? onSubmitRow : void 0,
|
|
37041
37076
|
onClose: () => setOpenRowId(null),
|
|
37042
37077
|
className: "absolute inset-0 z-10 overflow-hidden rounded-lg border border-border md:static md:w-[420px] md:shrink-0"
|
|
37043
37078
|
},
|
|
@@ -37045,7 +37080,7 @@ function OpenDatabase({ databaseId, onClose }) {
|
|
|
37045
37080
|
)
|
|
37046
37081
|
] }),
|
|
37047
37082
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37048
|
-
|
|
37083
|
+
chunkBCRB42SP_cjs.DatabaseColumnDialog,
|
|
37049
37084
|
{
|
|
37050
37085
|
open: columnDialog !== null,
|
|
37051
37086
|
onOpenChange: (open) => !open && setColumnDialog(null),
|
|
@@ -37077,6 +37112,17 @@ function ConnectedDatabasesPage() {
|
|
|
37077
37112
|
const importDatabase = react.useImportDatabase();
|
|
37078
37113
|
const close = react$1.useCallback(() => setOpenId(null), []);
|
|
37079
37114
|
react$1.useEffect(() => setOpenId(null), [selectedWorkspaceId]);
|
|
37115
|
+
const [openRequest, clearOpenRequest] = react.useTransientView(
|
|
37116
|
+
react.DATABASES_OPEN_VIEW,
|
|
37117
|
+
null
|
|
37118
|
+
);
|
|
37119
|
+
const [initialRowId, setInitialRowId] = react$1.useState();
|
|
37120
|
+
react$1.useEffect(() => {
|
|
37121
|
+
if (!openRequest) return;
|
|
37122
|
+
clearOpenRequest(void 0);
|
|
37123
|
+
setInitialRowId(openRequest.rowId);
|
|
37124
|
+
setOpenId(openRequest.databaseId);
|
|
37125
|
+
}, [openRequest, clearOpenRequest]);
|
|
37080
37126
|
const onCreate = (draft) => {
|
|
37081
37127
|
setCreateError(null);
|
|
37082
37128
|
createDatabase.mutate(
|
|
@@ -37106,13 +37152,14 @@ function ConnectedDatabasesPage() {
|
|
|
37106
37152
|
}
|
|
37107
37153
|
);
|
|
37108
37154
|
if (!selectedWorkspaceId) {
|
|
37109
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full min-h-0 overflow-y-auto", "data-testid": "databases-page", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37155
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full min-h-0 overflow-y-auto", "data-testid": "databases-page", children: /* @__PURE__ */ jsxRuntime.jsx(chunkBCRB42SP_cjs.DatabaseList, { databases: [], onOpen: () => {
|
|
37110
37156
|
}, labels: NO_WORKSPACE_LABELS }) });
|
|
37111
37157
|
}
|
|
37112
|
-
if (openId)
|
|
37158
|
+
if (openId)
|
|
37159
|
+
return /* @__PURE__ */ jsxRuntime.jsx(OpenDatabase, { databaseId: openId, onClose: close, initialRowId }, openId);
|
|
37113
37160
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "h-full min-h-0 overflow-y-auto", "data-testid": "databases-page", children: [
|
|
37114
37161
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37115
|
-
|
|
37162
|
+
chunkBCRB42SP_cjs.DatabaseList,
|
|
37116
37163
|
{
|
|
37117
37164
|
databases: (databases ?? []).map(toSummary),
|
|
37118
37165
|
isLoading,
|
|
@@ -37126,7 +37173,7 @@ function ConnectedDatabasesPage() {
|
|
|
37126
37173
|
}
|
|
37127
37174
|
),
|
|
37128
37175
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37129
|
-
|
|
37176
|
+
chunkBCRB42SP_cjs.NewDatabaseDialog,
|
|
37130
37177
|
{
|
|
37131
37178
|
open: creating,
|
|
37132
37179
|
onOpenChange: setCreating,
|
|
@@ -38493,10 +38540,10 @@ var FreshChatModel = () => (useFreshChatModel(), null);
|
|
|
38493
38540
|
var WorkspaceOpenMetrics = ({ measure }) => (useWorkspaceOpenMetrics(measure), null);
|
|
38494
38541
|
var Prefetch = ({ loaders }) => (usePrefetchChunks(loaders), null);
|
|
38495
38542
|
function GuidedRuns() {
|
|
38496
|
-
|
|
38543
|
+
chunkP2AZ2HX7_cjs.useRemoteControlSessionReset();
|
|
38497
38544
|
const { cursorMark } = chunkNZNBJF3M_cjs.useGuidedRuns();
|
|
38498
38545
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
38499
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38546
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkYOSRBLLD_cjs.GuidedCursor, { markSrc: cursorMark }),
|
|
38500
38547
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedRemoteControlConsent, {})
|
|
38501
38548
|
] });
|
|
38502
38549
|
}
|
|
@@ -38530,7 +38577,7 @@ function ConnectedAppRuntime({
|
|
|
38530
38577
|
on("pageTransition") && /* @__PURE__ */ jsxRuntime.jsx(PageTransition, {}),
|
|
38531
38578
|
on("freshChatModel") && /* @__PURE__ */ jsxRuntime.jsx(FreshChatModel, {}),
|
|
38532
38579
|
on("workspaceOpenMetrics") && measure && /* @__PURE__ */ jsxRuntime.jsx(WorkspaceOpenMetrics, { measure }),
|
|
38533
|
-
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...
|
|
38580
|
+
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...chunkYOSRBLLD_cjs.KIT_CHUNK_LOADERS] }),
|
|
38534
38581
|
on("guidedRuns") && /* @__PURE__ */ jsxRuntime.jsx(GuidedRuns, {})
|
|
38535
38582
|
] });
|
|
38536
38583
|
}
|
|
@@ -38995,7 +39042,7 @@ async function renderAnnotatedScreenshot(image, marks, text) {
|
|
|
38995
39042
|
)
|
|
38996
39043
|
);
|
|
38997
39044
|
}
|
|
38998
|
-
return
|
|
39045
|
+
return chunkP2AZ2HX7_cjs.canvasToBlob(canvas);
|
|
38999
39046
|
}
|
|
39000
39047
|
function ReportProblemDialog({
|
|
39001
39048
|
open,
|
|
@@ -39289,7 +39336,7 @@ function ReportProblemDialog({
|
|
|
39289
39336
|
hidden: ticketId !== null,
|
|
39290
39337
|
children: [
|
|
39291
39338
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "No screenshot attached." }),
|
|
39292
|
-
|
|
39339
|
+
chunkP2AZ2HX7_cjs.canCaptureScreen() ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { size: "sm", variant: "outline", onClick: onRetake, "data-testid": "report-retake", children: [
|
|
39293
39340
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Camera, { className: "mr-1 size-4" }),
|
|
39294
39341
|
" Take a screenshot"
|
|
39295
39342
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "inline-flex cursor-pointer items-center gap-1 font-medium text-primary", children: [
|
|
@@ -39353,10 +39400,10 @@ function useReportProblem(options = {}) {
|
|
|
39353
39400
|
setPhase("capturing");
|
|
39354
39401
|
await new Promise((resolve) => window.setTimeout(resolve, 200));
|
|
39355
39402
|
try {
|
|
39356
|
-
setFrame(await
|
|
39403
|
+
setFrame(await chunkP2AZ2HX7_cjs.captureCurrentTab());
|
|
39357
39404
|
setImage(null);
|
|
39358
39405
|
} catch (error) {
|
|
39359
|
-
const code = error instanceof
|
|
39406
|
+
const code = error instanceof chunkP2AZ2HX7_cjs.ScreenCaptureError ? error.code : "failed";
|
|
39360
39407
|
if (code === "failed") {
|
|
39361
39408
|
notify19("Couldn't capture the screen. You can still describe the problem.", "error");
|
|
39362
39409
|
}
|
|
@@ -40288,21 +40335,21 @@ function suppliedKinds(context) {
|
|
|
40288
40335
|
return kinds2;
|
|
40289
40336
|
}
|
|
40290
40337
|
function resolveLaunchInputs(workflow, request) {
|
|
40291
|
-
const fromContext = request.context ?
|
|
40338
|
+
const fromContext = request.context ? chunkXPQR2PJX_cjs.inputsFromContext(workflow, request.context) : {};
|
|
40292
40339
|
const fileField = workflow.inputs.find((f) => f.type === "scope" || f.type === "documents");
|
|
40293
40340
|
const fromScope = request.scope && fileField ? { [fileField.name]: request.scope } : {};
|
|
40294
40341
|
return { ...fromContext, ...fromScope, ...request.inputs };
|
|
40295
40342
|
}
|
|
40296
40343
|
function useWorkflowLaunch() {
|
|
40297
|
-
const { skills } =
|
|
40344
|
+
const { skills } = chunkYST6GVN5_cjs.useWorkflowDefinitions();
|
|
40298
40345
|
const launch = react$1.useCallback(
|
|
40299
|
-
(workflowId, options = {}) =>
|
|
40346
|
+
(workflowId, options = {}) => chunkUKAN76CS_cjs.openWorkflowLaunch({ workflowId, ...options }),
|
|
40300
40347
|
[]
|
|
40301
40348
|
);
|
|
40302
40349
|
const itemsFor = react$1.useCallback(
|
|
40303
40350
|
(context, options = {}) => {
|
|
40304
40351
|
const { fileField, ...launchOptions } = options;
|
|
40305
|
-
return
|
|
40352
|
+
return chunkXPQR2PJX_cjs.workflowsAccepting(skills, suppliedKinds(context)).filter(
|
|
40306
40353
|
(w) => !fileField || w.inputs.some((f) => f.type === fileField && f.context !== void 0)
|
|
40307
40354
|
).map((w) => ({
|
|
40308
40355
|
id: w.id,
|
|
@@ -40325,17 +40372,17 @@ function useWorkflowLaunch() {
|
|
|
40325
40372
|
return { launch, itemsFor, scopeItemsFor };
|
|
40326
40373
|
}
|
|
40327
40374
|
function Inner() {
|
|
40328
|
-
const request =
|
|
40329
|
-
const close =
|
|
40330
|
-
const { skills } =
|
|
40331
|
-
const run =
|
|
40375
|
+
const request = chunkUKAN76CS_cjs.useWorkflowLaunchRequest();
|
|
40376
|
+
const close = chunkUKAN76CS_cjs.closeWorkflowLaunch;
|
|
40377
|
+
const { skills } = chunkYST6GVN5_cjs.useWorkflowDefinitions();
|
|
40378
|
+
const run = chunk2XZ3HBAA_cjs.useLaunchWorkflow({ landing: request?.landing });
|
|
40332
40379
|
const workflow = skills.find((w) => w.id === request?.workflowId);
|
|
40333
40380
|
const inputs = react$1.useMemo(
|
|
40334
40381
|
() => workflow && request ? resolveLaunchInputs(workflow, request) : void 0,
|
|
40335
40382
|
[workflow, request]
|
|
40336
40383
|
);
|
|
40337
40384
|
const complete = Boolean(
|
|
40338
|
-
workflow && inputs && !Object.keys(
|
|
40385
|
+
workflow && inputs && !Object.keys(chunkXPQR2PJX_cjs.validateInputs(workflow, { ...chunkXPQR2PJX_cjs.defaultInputs(workflow), ...inputs })).length
|
|
40339
40386
|
);
|
|
40340
40387
|
const autoStart = Boolean(request?.autoStart && complete);
|
|
40341
40388
|
react$1.useEffect(() => {
|
|
@@ -40346,13 +40393,13 @@ function Inner() {
|
|
|
40346
40393
|
if (!autoStart) return;
|
|
40347
40394
|
close();
|
|
40348
40395
|
void Promise.resolve(
|
|
40349
|
-
run(
|
|
40396
|
+
run(chunkXPQR2PJX_cjs.buildLaunch(workflow, { ...chunkXPQR2PJX_cjs.defaultInputs(workflow), ...inputs }))
|
|
40350
40397
|
).catch(() => {
|
|
40351
40398
|
});
|
|
40352
40399
|
}, [request, workflow, autoStart]);
|
|
40353
40400
|
if (!request || !workflow || autoStart) return null;
|
|
40354
40401
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40355
|
-
|
|
40402
|
+
chunk2XZ3HBAA_cjs.ConnectedWorkflowStart,
|
|
40356
40403
|
{
|
|
40357
40404
|
workflows: skills,
|
|
40358
40405
|
showTiles: false,
|
|
@@ -40364,7 +40411,7 @@ function Inner() {
|
|
|
40364
40411
|
);
|
|
40365
40412
|
}
|
|
40366
40413
|
function WorkflowLaunchHost() {
|
|
40367
|
-
return
|
|
40414
|
+
return chunkUKAN76CS_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
|
|
40368
40415
|
}
|
|
40369
40416
|
function isNeedsConfirmationDetail(detail) {
|
|
40370
40417
|
return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
|
|
@@ -40673,7 +40720,7 @@ function ConnectedConversationSettings() {
|
|
|
40673
40720
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40674
40721
|
chunkN3H3YAKY_cjs.ModelSelectionSection,
|
|
40675
40722
|
{
|
|
40676
|
-
selector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
40723
|
+
selector: /* @__PURE__ */ jsxRuntime.jsx(chunkP2AZ2HX7_cjs.ConnectedModelSelector, {}),
|
|
40677
40724
|
onUseDefaults: settings.resetToDefaults
|
|
40678
40725
|
}
|
|
40679
40726
|
)
|
|
@@ -40732,7 +40779,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
|
|
|
40732
40779
|
testId: "workspace-transfer-modal"
|
|
40733
40780
|
}
|
|
40734
40781
|
),
|
|
40735
|
-
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
40782
|
+
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkP2AZ2HX7_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
|
|
40736
40783
|
conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
|
|
40737
40784
|
unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
|
|
40738
40785
|
productionSet: ConnectedProductionSetDialog,
|
|
@@ -40785,7 +40832,7 @@ var ConversationEntity = react$1.memo(function ConversationEntity2({
|
|
|
40785
40832
|
);
|
|
40786
40833
|
const icon2 = /* @__PURE__ */ jsxRuntime.jsx(ui.ThreadVisibilityIcon, { shared: isShared, className: "w-4 h-4 shrink-0" });
|
|
40787
40834
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40788
|
-
|
|
40835
|
+
chunk73ECBDG7_cjs.EntityChip,
|
|
40789
40836
|
{
|
|
40790
40837
|
icon: icon2,
|
|
40791
40838
|
label: title,
|
|
@@ -40804,22 +40851,22 @@ function WorkflowRunStatusCell({ conversation }) {
|
|
|
40804
40851
|
});
|
|
40805
40852
|
const { data: members = [] } = react.useWorkspaceUsers();
|
|
40806
40853
|
const me = react.useArbiSession().user?.external_id;
|
|
40807
|
-
const steps =
|
|
40808
|
-
const states =
|
|
40854
|
+
const steps = chunk73ECBDG7_cjs.fromPlanSteps(conversation.plan?.steps ?? []);
|
|
40855
|
+
const states = chunkI2LJ7RZ2_cjs.stepStatesFromActivity(activity.data ?? []);
|
|
40809
40856
|
const nameOf = (id) => {
|
|
40810
40857
|
if (id === me) return "you";
|
|
40811
40858
|
const person = members.find((m) => m.user.external_id === id)?.user;
|
|
40812
40859
|
return person ? ui.getUserDisplayName(person) : void 0;
|
|
40813
40860
|
};
|
|
40814
40861
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40815
|
-
|
|
40862
|
+
chunkUKAN76CS_cjs.WorkflowRunStatus,
|
|
40816
40863
|
{
|
|
40817
40864
|
steps,
|
|
40818
40865
|
states,
|
|
40819
|
-
assigneeOf: (step) =>
|
|
40866
|
+
assigneeOf: (step) => chunkI2LJ7RZ2_cjs.canAssign(step) ? chunkI2LJ7RZ2_cjs.assigneeName(step.assignee, {
|
|
40820
40867
|
nameOf,
|
|
40821
40868
|
inputs: conversation.skill_inputs ?? {},
|
|
40822
|
-
fields:
|
|
40869
|
+
fields: chunkI2LJ7RZ2_cjs.runFieldsOf(steps),
|
|
40823
40870
|
announcedTo: states[step.id]?.announcedTo
|
|
40824
40871
|
}) : void 0,
|
|
40825
40872
|
isLoading: activity.isLoading,
|
|
@@ -40846,7 +40893,7 @@ function ConversationStatusCell({ conversation }) {
|
|
|
40846
40893
|
if (conversation.plan?.steps?.length && !isLiveGenerating)
|
|
40847
40894
|
return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
|
|
40848
40895
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40849
|
-
|
|
40896
|
+
chunkUKAN76CS_cjs.ThreadStatusLine,
|
|
40850
40897
|
{
|
|
40851
40898
|
state: threadStateOf(conversation, isLiveGenerating),
|
|
40852
40899
|
className: "h-full",
|
|
@@ -41152,7 +41199,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
41152
41199
|
const [draft, setDraft] = react$1.useState("");
|
|
41153
41200
|
const input = react$1.useRef(null);
|
|
41154
41201
|
const { openNewConversation } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
41155
|
-
const slashWorkflows =
|
|
41202
|
+
const slashWorkflows = chunkMC34TXSS_cjs.useSlashSkillWorkflows({ landing: "chat" });
|
|
41156
41203
|
const skills = react$1.useMemo(() => ({ openFor: slashWorkflows.openFor }), [slashWorkflows.openFor]);
|
|
41157
41204
|
react$1.useEffect(() => {
|
|
41158
41205
|
if (autoFocus) input.current?.focus();
|
|
@@ -41162,10 +41209,10 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
41162
41209
|
if (!slashWorkflows.openForDraft(draft)) openNewConversation({ prompt: draft });
|
|
41163
41210
|
setDraft("");
|
|
41164
41211
|
};
|
|
41165
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41212
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk5RMVFFVW_cjs.ComposerDock, { children: [
|
|
41166
41213
|
slashWorkflows.launcher,
|
|
41167
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41168
|
-
|
|
41214
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5RMVFFVW_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
41215
|
+
chunkP2AZ2HX7_cjs.ConversationComposer,
|
|
41169
41216
|
{
|
|
41170
41217
|
value: draft,
|
|
41171
41218
|
onValueChange: setDraft,
|
|
@@ -41174,8 +41221,8 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
41174
41221
|
isConversationEmpty: true,
|
|
41175
41222
|
shouldOfferFollowUp: false,
|
|
41176
41223
|
skills,
|
|
41177
|
-
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
41178
|
-
rightButton: /* @__PURE__ */ jsxRuntime.jsx(
|
|
41224
|
+
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkP2AZ2HX7_cjs.ConnectedModelSelector, { variant: "compact" }),
|
|
41225
|
+
rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunk5RMVFFVW_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
|
|
41179
41226
|
}
|
|
41180
41227
|
) })
|
|
41181
41228
|
] });
|
|
@@ -41183,9 +41230,9 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
41183
41230
|
var START_VISIBLE = 8;
|
|
41184
41231
|
var START_SEARCH_ABOVE = 8;
|
|
41185
41232
|
function ConnectedConversationStart() {
|
|
41186
|
-
const { start } =
|
|
41233
|
+
const { start } = chunkYST6GVN5_cjs.useWorkflowDefinitions();
|
|
41187
41234
|
const { openSkillsBrowser } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
41188
|
-
const canBrowse =
|
|
41235
|
+
const canBrowse = chunkYST6GVN5_cjs.useCanBrowseSkills();
|
|
41189
41236
|
const [query, setQuery] = react$1.useState("");
|
|
41190
41237
|
const q = query.trim().toLowerCase();
|
|
41191
41238
|
const shown = react$1.useMemo(() => {
|
|
@@ -41199,7 +41246,7 @@ function ConnectedConversationStart() {
|
|
|
41199
41246
|
const browse = openSkillsBrowser && canBrowse ? [
|
|
41200
41247
|
{
|
|
41201
41248
|
id: "browse-all",
|
|
41202
|
-
iconNode:
|
|
41249
|
+
iconNode: chunk7D4WXUBS_cjs.renderWorkflowIcon("library"),
|
|
41203
41250
|
title: "Browse all",
|
|
41204
41251
|
description: "See every skill, make a copy, add your own",
|
|
41205
41252
|
onSelect: () => openSkillsBrowser(),
|
|
@@ -41223,7 +41270,7 @@ function ConnectedConversationStart() {
|
|
|
41223
41270
|
)
|
|
41224
41271
|
] }),
|
|
41225
41272
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41226
|
-
|
|
41273
|
+
chunk2XZ3HBAA_cjs.ConnectedWorkflowStart,
|
|
41227
41274
|
{
|
|
41228
41275
|
workflows: start,
|
|
41229
41276
|
tileWorkflows: shown,
|
|
@@ -41305,7 +41352,7 @@ function AgentBarShell({
|
|
|
41305
41352
|
}, [isStepsExpanded, steps]);
|
|
41306
41353
|
const visibleStepCount = react$1.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
|
|
41307
41354
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41308
|
-
|
|
41355
|
+
chunkUKAN76CS_cjs.AgentBar,
|
|
41309
41356
|
{
|
|
41310
41357
|
className,
|
|
41311
41358
|
testId,
|
|
@@ -41317,7 +41364,7 @@ function AgentBarShell({
|
|
|
41317
41364
|
drawerRef: scrollRef,
|
|
41318
41365
|
onDrawerScroll: handleDrawerScroll,
|
|
41319
41366
|
drawer: /* @__PURE__ */ jsxRuntime.jsx(
|
|
41320
|
-
|
|
41367
|
+
chunkP2AZ2HX7_cjs.AgentSteps,
|
|
41321
41368
|
{
|
|
41322
41369
|
steps: stepList,
|
|
41323
41370
|
isStreaming,
|
|
@@ -41361,7 +41408,7 @@ function AgentControlBar({
|
|
|
41361
41408
|
const isPaused = controlState === "paused" || controlState === "resuming";
|
|
41362
41409
|
const steps = agentSteps ?? [];
|
|
41363
41410
|
const currentStep = browser.getCurrentStep(steps);
|
|
41364
|
-
const currentPresentation =
|
|
41411
|
+
const currentPresentation = chunk73ECBDG7_cjs.getCurrentAgentStepPresentation(steps);
|
|
41365
41412
|
const CurrentStepIcon = currentPresentation?.Icon;
|
|
41366
41413
|
const stepLabel2 = currentPresentation?.description ?? "Agent working\u2026";
|
|
41367
41414
|
const runningLanes = browser.extractSubagentLanes(steps).filter((l) => l.status === "running");
|
|
@@ -41369,7 +41416,7 @@ function AgentControlBar({
|
|
|
41369
41416
|
const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
|
|
41370
41417
|
const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
|
|
41371
41418
|
const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41372
|
-
|
|
41419
|
+
chunkP2AZ2HX7_cjs.MessageLiveSeconds,
|
|
41373
41420
|
{
|
|
41374
41421
|
...liveTimer,
|
|
41375
41422
|
offsetSeconds: currentStep?.t ?? 0,
|
|
@@ -41378,7 +41425,7 @@ function AgentControlBar({
|
|
|
41378
41425
|
}
|
|
41379
41426
|
);
|
|
41380
41427
|
const status = /* @__PURE__ */ jsxRuntime.jsx(
|
|
41381
|
-
|
|
41428
|
+
chunkUKAN76CS_cjs.AgentBarStatus,
|
|
41382
41429
|
{
|
|
41383
41430
|
state: showState ? controlState : void 0,
|
|
41384
41431
|
stateLabel: STATE_LABEL[controlState],
|
|
@@ -41420,7 +41467,7 @@ function AgentControlBar({
|
|
|
41420
41467
|
];
|
|
41421
41468
|
const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
41422
41469
|
onStop && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41423
|
-
|
|
41470
|
+
chunkUKAN76CS_cjs.AgentBarIconButton,
|
|
41424
41471
|
{
|
|
41425
41472
|
onClick: onStop,
|
|
41426
41473
|
title: "Stop",
|
|
@@ -41429,22 +41476,22 @@ function AgentControlBar({
|
|
|
41429
41476
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
|
|
41430
41477
|
}
|
|
41431
41478
|
),
|
|
41432
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41479
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.AgentBarMenu, { items: menuItems })
|
|
41433
41480
|
] });
|
|
41434
41481
|
const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
|
|
41435
41482
|
(message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
|
|
41436
41483
|
);
|
|
41437
41484
|
const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
|
|
41438
|
-
const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41485
|
+
const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkUKAN76CS_cjs.AgentBarNotes, { children: [
|
|
41439
41486
|
queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
41440
|
-
|
|
41487
|
+
chunkUKAN76CS_cjs.AgentBarQueuedNote,
|
|
41441
41488
|
{
|
|
41442
41489
|
text: message.content ?? "",
|
|
41443
41490
|
isAcknowledged: message.acknowledged
|
|
41444
41491
|
},
|
|
41445
41492
|
index
|
|
41446
41493
|
)),
|
|
41447
|
-
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41494
|
+
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
|
|
41448
41495
|
] }) : null;
|
|
41449
41496
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41450
41497
|
AgentBarShell,
|
|
@@ -41471,7 +41518,7 @@ var ConversationSendButton = react$1.memo(function ConversationSendButton2({
|
|
|
41471
41518
|
const recipients = react.assistantLabels(assistantName);
|
|
41472
41519
|
const showRetryIcon = hasOrphanedMessage && draftMessage === "";
|
|
41473
41520
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41474
|
-
|
|
41521
|
+
chunk5RMVFFVW_cjs.ComposerSend,
|
|
41475
41522
|
{
|
|
41476
41523
|
onSend: onClick,
|
|
41477
41524
|
isRetry: showRetryIcon,
|
|
@@ -41533,7 +41580,7 @@ var MicButton = react$1.memo(function MicButton2({
|
|
|
41533
41580
|
const isBusy = isTranscribing;
|
|
41534
41581
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
41535
41582
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41536
|
-
|
|
41583
|
+
chunk5RMVFFVW_cjs.ComposerVoiceButton,
|
|
41537
41584
|
{
|
|
41538
41585
|
isRecording,
|
|
41539
41586
|
isBusy,
|
|
@@ -41572,7 +41619,7 @@ function ConnectedConversationEmpty({
|
|
|
41572
41619
|
below
|
|
41573
41620
|
}) {
|
|
41574
41621
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41575
|
-
|
|
41622
|
+
chunk6TU4YLFW_cjs.ConversationEmpty,
|
|
41576
41623
|
{
|
|
41577
41624
|
hasDocuments,
|
|
41578
41625
|
prompts: EXAMPLE_PROMPTS,
|
|
@@ -41627,7 +41674,7 @@ function ConversationAlert({
|
|
|
41627
41674
|
}, [message, onRetryOrphaned, notify19]);
|
|
41628
41675
|
if (type === "send-failed") {
|
|
41629
41676
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41630
|
-
|
|
41677
|
+
chunk6TU4YLFW_cjs.MessageAlert,
|
|
41631
41678
|
{
|
|
41632
41679
|
title: "Message failed to send",
|
|
41633
41680
|
description: errorMessage2 || "An error occurred while sending your message.",
|
|
@@ -41656,7 +41703,7 @@ function ConversationAlert({
|
|
|
41656
41703
|
);
|
|
41657
41704
|
}
|
|
41658
41705
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41659
|
-
|
|
41706
|
+
chunk6TU4YLFW_cjs.MessageAlert,
|
|
41660
41707
|
{
|
|
41661
41708
|
title: type === "backend-failed" ? "Response Failed" : "Response Incomplete",
|
|
41662
41709
|
description: type === "backend-failed" ? "The assistant's response failed. Use Retry to try again." : "Use Retry to try again, or type a new query.",
|
|
@@ -42453,7 +42500,7 @@ function ConversationThread({
|
|
|
42453
42500
|
react$1.useEffect(() => {
|
|
42454
42501
|
if (!isGenerating) setFirstTurnPrompt(null);
|
|
42455
42502
|
}, [isGenerating]);
|
|
42456
|
-
const slashWorkflows =
|
|
42503
|
+
const slashWorkflows = chunkMC34TXSS_cjs.useSlashSkillWorkflows({ landing: "current-chat" });
|
|
42457
42504
|
const composerSkills = react$1.useMemo(
|
|
42458
42505
|
() => ({ openFor: slashWorkflows.openFor }),
|
|
42459
42506
|
[slashWorkflows.openFor]
|
|
@@ -42559,7 +42606,7 @@ function ConversationThread({
|
|
|
42559
42606
|
useStartRequestedDraft();
|
|
42560
42607
|
const orphanedMessage = react.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
|
|
42561
42608
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkKLMNCBLY_cjs.ConversationBody, { children: [
|
|
42562
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
42609
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkP2AZ2HX7_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunk6THN5ZGA_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
|
|
42563
42610
|
meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
42564
42611
|
chunkZBP4ZSAJ_cjs.ConversationFilter,
|
|
42565
42612
|
{
|
|
@@ -42577,7 +42624,7 @@ function ConversationThread({
|
|
|
42577
42624
|
]
|
|
42578
42625
|
}
|
|
42579
42626
|
) }),
|
|
42580
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42627
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkP2AZ2HX7_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
|
|
42581
42628
|
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunkVF26CUE3_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
42582
42629
|
] }) }) : meetingCallExtId ? (
|
|
42583
42630
|
// A meeting thread with nothing yet: call-aware, not the upload prompt.
|
|
@@ -42585,7 +42632,7 @@ function ConversationThread({
|
|
|
42585
42632
|
/* @__PURE__ */ jsxRuntime.jsx(chunkVF26CUE3_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
|
|
42586
42633
|
/* @__PURE__ */ jsxRuntime.jsx(chunkVF26CUE3_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
42587
42634
|
] })
|
|
42588
|
-
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
42635
|
+
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkP2AZ2HX7_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
42589
42636
|
ConnectedConversationEmpty,
|
|
42590
42637
|
{
|
|
42591
42638
|
hasDocuments: allWorkspaceDocuments.length > 0,
|
|
@@ -42600,17 +42647,17 @@ function ConversationThread({
|
|
|
42600
42647
|
}
|
|
42601
42648
|
) }),
|
|
42602
42649
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42603
|
-
|
|
42650
|
+
chunk5RMVFFVW_cjs.ComposerDock,
|
|
42604
42651
|
{
|
|
42605
42652
|
floating: /* @__PURE__ */ jsxRuntime.jsx(
|
|
42606
|
-
|
|
42653
|
+
chunk5RMVFFVW_cjs.ScrollToBottom,
|
|
42607
42654
|
{
|
|
42608
42655
|
className: "left-auto right-3 translate-x-0",
|
|
42609
42656
|
show: showScrollToBottom,
|
|
42610
42657
|
onClick: scrollToBottom
|
|
42611
42658
|
}
|
|
42612
42659
|
),
|
|
42613
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
42660
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(chunk5RMVFFVW_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: [
|
|
42614
42661
|
orphanedMessage ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
42615
42662
|
ConversationAlert,
|
|
42616
42663
|
{
|
|
@@ -42683,7 +42730,7 @@ function ConversationThread({
|
|
|
42683
42730
|
}
|
|
42684
42731
|
),
|
|
42685
42732
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42686
|
-
|
|
42733
|
+
chunkP2AZ2HX7_cjs.ConversationComposer,
|
|
42687
42734
|
{
|
|
42688
42735
|
handleSendMessage: handleUserSend,
|
|
42689
42736
|
placeholder: pendingAnswer ? assistant.answerPlaceholder : void 0,
|
|
@@ -43028,7 +43075,7 @@ function ConnectedThreadsPage({
|
|
|
43028
43075
|
};
|
|
43029
43076
|
const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
|
|
43030
43077
|
/* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
43031
|
-
|
|
43078
|
+
chunkUKAN76CS_cjs.ConversationListView,
|
|
43032
43079
|
{
|
|
43033
43080
|
showHeader,
|
|
43034
43081
|
conversations: tasks,
|
|
@@ -43047,7 +43094,7 @@ function ConnectedThreadsPage({
|
|
|
43047
43094
|
renderLabels: threadLabels.renderLabels,
|
|
43048
43095
|
labelText: threadLabels.labelText,
|
|
43049
43096
|
renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
43050
|
-
|
|
43097
|
+
chunkUKAN76CS_cjs.ConversationTurnSpeaker,
|
|
43051
43098
|
{
|
|
43052
43099
|
variant: "icon",
|
|
43053
43100
|
role: row2.last_message_role,
|
|
@@ -43703,7 +43750,7 @@ function ConnectedChatContextButton({
|
|
|
43703
43750
|
};
|
|
43704
43751
|
const documentNoun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL").toLowerCase();
|
|
43705
43752
|
const chip = /* @__PURE__ */ jsxRuntime.jsx(
|
|
43706
|
-
|
|
43753
|
+
chunk6TU4YLFW_cjs.ContextChip,
|
|
43707
43754
|
{
|
|
43708
43755
|
count: count2,
|
|
43709
43756
|
label: `${count2} ${documentNoun} in this chat`,
|
|
@@ -43928,7 +43975,7 @@ function ConnectedConversationPage({
|
|
|
43928
43975
|
);
|
|
43929
43976
|
const { data: workspaceTags = [] } = react.useTags();
|
|
43930
43977
|
const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
|
|
43931
|
-
const historyCount =
|
|
43978
|
+
const historyCount = chunkUKAN76CS_cjs.filterConversationRows(
|
|
43932
43979
|
threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
|
|
43933
43980
|
threadFilter,
|
|
43934
43981
|
(row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
@@ -44010,7 +44057,7 @@ function ConnectedConversationPage({
|
|
|
44010
44057
|
] })
|
|
44011
44058
|
}
|
|
44012
44059
|
),
|
|
44013
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44060
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunk6NHOZTIY_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
|
|
44014
44061
|
] }),
|
|
44015
44062
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44016
44063
|
ConversationThread,
|
|
@@ -44219,7 +44266,7 @@ function SsoResendVerificationButton({
|
|
|
44219
44266
|
onClick: async () => handleResendEmailVerification(),
|
|
44220
44267
|
disabled: loading || disabled,
|
|
44221
44268
|
"aria-label": "Resend verification email",
|
|
44222
|
-
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
44269
|
+
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkYOSRBLLD_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
44223
44270
|
"Didn't get a verification email? ",
|
|
44224
44271
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
|
|
44225
44272
|
] })
|
|
@@ -44230,9 +44277,9 @@ function SsoResendVerificationButton({
|
|
|
44230
44277
|
}
|
|
44231
44278
|
var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
|
|
44232
44279
|
function ConnectedSsoCallback() {
|
|
44233
|
-
const sso =
|
|
44280
|
+
const sso = chunkP2AZ2HX7_cjs.useSsoSignIn();
|
|
44234
44281
|
const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
|
|
44235
|
-
const auth =
|
|
44282
|
+
const auth = chunkP2AZ2HX7_cjs.useAuthPages();
|
|
44236
44283
|
const { notify: notify19, navigate } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
44237
44284
|
const passwordRules = auth.passwordRules;
|
|
44238
44285
|
const isProcessing = react$1.useRef(false);
|
|
@@ -44240,7 +44287,7 @@ function ConnectedSsoCallback() {
|
|
|
44240
44287
|
const [statusAttempt, setStatusAttempt] = react$1.useState(0);
|
|
44241
44288
|
const [accessToken, setAccessToken] = react$1.useState(null);
|
|
44242
44289
|
const [ssoStatus, setSsoStatus] = react$1.useState(null);
|
|
44243
|
-
const ssoName = react$1.useMemo(() =>
|
|
44290
|
+
const ssoName = react$1.useMemo(() => chunkP2AZ2HX7_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
|
|
44244
44291
|
const [password, setPassword] = react$1.useState("");
|
|
44245
44292
|
const [confirmPassword, setConfirmPassword] = react$1.useState("");
|
|
44246
44293
|
const [error, setError] = react$1.useState(null);
|
|
@@ -44418,7 +44465,7 @@ function ConnectedSsoCallback() {
|
|
|
44418
44465
|
setIsCheckingStatus(true);
|
|
44419
44466
|
try {
|
|
44420
44467
|
console.info("[SSO] Checking user status...");
|
|
44421
|
-
const response = await
|
|
44468
|
+
const response = await chunkP2AZ2HX7_cjs.ssoAccountStatus(arbi, accessToken, user);
|
|
44422
44469
|
console.info("[SSO] User status:", response.status);
|
|
44423
44470
|
setSsoStatus(response);
|
|
44424
44471
|
} catch (error2) {
|
|
@@ -44459,7 +44506,7 @@ function ConnectedSsoCallback() {
|
|
|
44459
44506
|
setIsSubmitting(true);
|
|
44460
44507
|
setError(null);
|
|
44461
44508
|
try {
|
|
44462
|
-
const { login, registered, linked } = await
|
|
44509
|
+
const { login, registered, linked } = await chunkP2AZ2HX7_cjs.completeSsoSignIn(arbi, {
|
|
44463
44510
|
token: accessToken,
|
|
44464
44511
|
user,
|
|
44465
44512
|
status: ssoStatus,
|
|
@@ -44759,7 +44806,7 @@ function ConnectedSsoCallback() {
|
|
|
44759
44806
|
ssoStatus.status !== "new_user" && auth.footer
|
|
44760
44807
|
] }),
|
|
44761
44808
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44762
|
-
|
|
44809
|
+
chunkP2AZ2HX7_cjs.ConnectedForgotPassword,
|
|
44763
44810
|
{
|
|
44764
44811
|
open: showForgotPasswordModal,
|
|
44765
44812
|
onOpenChange: setShowForgotPasswordModal,
|
|
@@ -44767,7 +44814,7 @@ function ConnectedSsoCallback() {
|
|
|
44767
44814
|
}
|
|
44768
44815
|
),
|
|
44769
44816
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44770
|
-
|
|
44817
|
+
chunkP2AZ2HX7_cjs.ConnectedPasswordChangeDialog,
|
|
44771
44818
|
{
|
|
44772
44819
|
open: showChangePasswordModal,
|
|
44773
44820
|
onClose: () => setShowChangePasswordModal(false),
|
|
@@ -44926,27 +44973,27 @@ function ConnectedOAuthConsentPage({
|
|
|
44926
44973
|
oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
|
|
44927
44974
|
}
|
|
44928
44975
|
if (error && !params) {
|
|
44929
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44976
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
|
|
44930
44977
|
}
|
|
44931
44978
|
if (!params) {
|
|
44932
44979
|
return null;
|
|
44933
44980
|
}
|
|
44934
44981
|
if (clientInfo?.isLocalAgentFlow) {
|
|
44935
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44982
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentMessage, { tone: "warning", title: "Close this tab", children: "This tab opened alongside the correct authorization page. Please close this tab and complete the connection in the other tab that opened at the same time." }) });
|
|
44936
44983
|
}
|
|
44937
44984
|
if (!isAuthenticated2) {
|
|
44938
44985
|
return null;
|
|
44939
44986
|
}
|
|
44940
44987
|
if (callbackUrl) {
|
|
44941
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44942
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44988
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkUKAN76CS_cjs.ConsentCard, { size: "md", children: [
|
|
44989
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkUKAN76CS_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
|
|
44943
44990
|
"A new tab has opened to complete the connection. If it succeeded, you can close this page. If you see a connection error there, paste the URL below into Claude Cowork \u2014",
|
|
44944
44991
|
" ",
|
|
44945
44992
|
copied ? "it's already copied to your clipboard." : "copy it first."
|
|
44946
44993
|
] }),
|
|
44947
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44948
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44949
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44994
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkUKAN76CS_cjs.ConsentSection, { title: "Callback URL", children: [
|
|
44995
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
|
|
44996
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkUKAN76CS_cjs.ConsentText, { variant: "hint", children: [
|
|
44950
44997
|
"In Claude Code, paste the URL at the prompt that says",
|
|
44951
44998
|
" ",
|
|
44952
44999
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
|
|
@@ -44955,17 +45002,17 @@ function ConnectedOAuthConsentPage({
|
|
|
44955
45002
|
] })
|
|
44956
45003
|
] }) });
|
|
44957
45004
|
}
|
|
44958
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44959
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44960
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
45005
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkUKAN76CS_cjs.ConsentCard, { children: [
|
|
45006
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkUKAN76CS_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
|
|
45007
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
|
|
44961
45008
|
" is requesting access to your ",
|
|
44962
45009
|
appName,
|
|
44963
45010
|
" workspace."
|
|
44964
45011
|
] }),
|
|
44965
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44966
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44967
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44968
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
45012
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentPermissionList, { items: permissions }) }),
|
|
45013
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentNotice, { tone: "error", children: error }),
|
|
45014
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
|
|
45015
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkUKAN76CS_cjs.ConsentFootnote, { children: footnote })
|
|
44969
45016
|
] }) });
|
|
44970
45017
|
}
|
|
44971
45018
|
function ConnectedSharedFilesPage({
|
|
@@ -45313,7 +45360,7 @@ function ConnectedShellTopbar({
|
|
|
45313
45360
|
return /* @__PURE__ */ jsxRuntime.jsx(chunkXJEXFEWG_cjs.Shell.Topbar, { actions, children: landing });
|
|
45314
45361
|
}
|
|
45315
45362
|
var ConnectedAssistantDock2 = react$1.lazy(
|
|
45316
|
-
() => import('../ai-
|
|
45363
|
+
() => import('../ai-YX3OAC4F.cjs').then((m) => ({ default: m.ConnectedAssistantDock }))
|
|
45317
45364
|
);
|
|
45318
45365
|
var DOCK_TOGGLE_LABEL = "Assistant chat";
|
|
45319
45366
|
var DOCK_TOGGLE_TEST_ID = "shell-dock-toggle";
|
|
@@ -45329,8 +45376,8 @@ function RoutedShellSidebar({
|
|
|
45329
45376
|
const navigation = useShellNavigation();
|
|
45330
45377
|
const { workspace } = react.useCurrentWorkspace();
|
|
45331
45378
|
const isPhone = chunkFX3K6LNZ_cjs.useIsPhone();
|
|
45332
|
-
const assistantDock =
|
|
45333
|
-
const { isDockAvailable } =
|
|
45379
|
+
const assistantDock = chunk2V5HW6T5_cjs.useAssistantDock();
|
|
45380
|
+
const { isDockAvailable } = chunk6TU4YLFW_cjs.useChatSurface();
|
|
45334
45381
|
const tools = [
|
|
45335
45382
|
...hostTools.map((tool) => ({
|
|
45336
45383
|
id: tool.id,
|
|
@@ -45397,7 +45444,7 @@ function RoutedShellTopbar({
|
|
|
45397
45444
|
] }),
|
|
45398
45445
|
ask: ask !== false ? (props) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedAskField, { ...props, labels: ask?.labels }) : void 0,
|
|
45399
45446
|
actions: dock !== false && /* @__PURE__ */ jsxRuntime.jsx(
|
|
45400
|
-
|
|
45447
|
+
chunk2V5HW6T5_cjs.AssistantDockToggle,
|
|
45401
45448
|
{
|
|
45402
45449
|
label: dock?.toggleLabel ?? DOCK_TOGGLE_LABEL,
|
|
45403
45450
|
testId: DOCK_TOGGLE_TEST_ID
|
|
@@ -45421,7 +45468,7 @@ function RoutedShellTabBar({
|
|
|
45421
45468
|
}
|
|
45422
45469
|
function RoutedShellDock({ dock }) {
|
|
45423
45470
|
const isPhone = chunkFX3K6LNZ_cjs.useIsPhone();
|
|
45424
|
-
const { isOpen } =
|
|
45471
|
+
const { isOpen } = chunk2V5HW6T5_cjs.useAssistantDock();
|
|
45425
45472
|
const [opened, setOpened] = react$1.useState(isOpen);
|
|
45426
45473
|
if (isOpen && !opened) setOpened(true);
|
|
45427
45474
|
if (dock === false || !opened) return null;
|
|
@@ -45506,7 +45553,7 @@ function ShellNavigationProvider({
|
|
|
45506
45553
|
);
|
|
45507
45554
|
}
|
|
45508
45555
|
var ConnectedPresentation = react$1.lazy(
|
|
45509
|
-
() => import('../ConnectedPresentation-
|
|
45556
|
+
() => import('../ConnectedPresentation-JJXQBIV2.cjs').then((m) => ({ default: m.ConnectedPresentation }))
|
|
45510
45557
|
);
|
|
45511
45558
|
function PresentationSlot() {
|
|
45512
45559
|
const session = react.useArbiSessionStore();
|
|
@@ -45679,7 +45726,7 @@ function ConnectedTipBar({
|
|
|
45679
45726
|
className,
|
|
45680
45727
|
revealOnHover = false
|
|
45681
45728
|
}) {
|
|
45682
|
-
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } =
|
|
45729
|
+
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkP2AZ2HX7_cjs.useContextualHints();
|
|
45683
45730
|
const { dismissed, dismissTip } = react.useDismissedTips();
|
|
45684
45731
|
const { notify: notify19 } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
45685
45732
|
const { data: workspaces } = react.useWorkspaces();
|
|
@@ -45690,7 +45737,7 @@ function ConnectedTipBar({
|
|
|
45690
45737
|
workspaceOpen,
|
|
45691
45738
|
...state
|
|
45692
45739
|
};
|
|
45693
|
-
const { tip, index, count: count2, previous, next, onHoverChange } =
|
|
45740
|
+
const { tip, index, count: count2, previous, next, onHoverChange } = chunkYOSRBLLD_cjs.useTipsPlacement({
|
|
45694
45741
|
registry,
|
|
45695
45742
|
context,
|
|
45696
45743
|
state: situation,
|
|
@@ -45768,7 +45815,7 @@ function useGettingStarted({
|
|
|
45768
45815
|
const { user } = react.useArbiSession();
|
|
45769
45816
|
const userExtId = user?.external_id;
|
|
45770
45817
|
const temporaryOnly = user?.temporary_access_only === true;
|
|
45771
|
-
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } =
|
|
45818
|
+
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkP2AZ2HX7_cjs.useContextualHints();
|
|
45772
45819
|
const { dismissed, loaded: dismissedLoaded, dismissTip } = react.useDismissedTips();
|
|
45773
45820
|
const welcomeJourneyEnabled = react.useFeature("welcomeJourney");
|
|
45774
45821
|
const session = react.useArbiSessionStore();
|
|
@@ -45990,15 +46037,15 @@ function ChromeInstallDialog({
|
|
|
45990
46037
|
|
|
45991
46038
|
Object.defineProperty(exports, "DEFAULT_ASK_SUGGESTIONS", {
|
|
45992
46039
|
enumerable: true,
|
|
45993
|
-
get: function () { return
|
|
46040
|
+
get: function () { return chunk2VEQKLNN_cjs.DEFAULT_ASK_SUGGESTIONS; }
|
|
45994
46041
|
});
|
|
45995
46042
|
Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_LABELS", {
|
|
45996
46043
|
enumerable: true,
|
|
45997
|
-
get: function () { return
|
|
46044
|
+
get: function () { return chunk2VEQKLNN_cjs.DEFAULT_DOCUMENT_VIEWER_LABELS; }
|
|
45998
46045
|
});
|
|
45999
46046
|
Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_TABS", {
|
|
46000
46047
|
enumerable: true,
|
|
46001
|
-
get: function () { return
|
|
46048
|
+
get: function () { return chunk2VEQKLNN_cjs.DEFAULT_DOCUMENT_VIEWER_TABS; }
|
|
46002
46049
|
});
|
|
46003
46050
|
Object.defineProperty(exports, "ConnectedPanelHost", {
|
|
46004
46051
|
enumerable: true,
|
|
@@ -46078,343 +46125,343 @@ Object.defineProperty(exports, "useMemberLookup", {
|
|
|
46078
46125
|
});
|
|
46079
46126
|
Object.defineProperty(exports, "ConnectedAssistantDock", {
|
|
46080
46127
|
enumerable: true,
|
|
46081
|
-
get: function () { return
|
|
46128
|
+
get: function () { return chunkNPRNR54M_cjs.ConnectedAssistantDock; }
|
|
46082
46129
|
});
|
|
46083
46130
|
Object.defineProperty(exports, "redlineStats", {
|
|
46084
46131
|
enumerable: true,
|
|
46085
|
-
get: function () { return
|
|
46132
|
+
get: function () { return chunkNPRNR54M_cjs.redlineStats; }
|
|
46086
46133
|
});
|
|
46087
46134
|
Object.defineProperty(exports, "textToArtifact", {
|
|
46088
46135
|
enumerable: true,
|
|
46089
|
-
get: function () { return
|
|
46136
|
+
get: function () { return chunkNPRNR54M_cjs.textToArtifact; }
|
|
46090
46137
|
});
|
|
46091
46138
|
Object.defineProperty(exports, "toRedlineMarkdown", {
|
|
46092
46139
|
enumerable: true,
|
|
46093
|
-
get: function () { return
|
|
46140
|
+
get: function () { return chunkNPRNR54M_cjs.toRedlineMarkdown; }
|
|
46094
46141
|
});
|
|
46095
46142
|
Object.defineProperty(exports, "useConnectedAiTask", {
|
|
46096
46143
|
enumerable: true,
|
|
46097
|
-
get: function () { return
|
|
46144
|
+
get: function () { return chunkNPRNR54M_cjs.useConnectedAiTask; }
|
|
46098
46145
|
});
|
|
46099
46146
|
Object.defineProperty(exports, "useConnectedChat", {
|
|
46100
46147
|
enumerable: true,
|
|
46101
|
-
get: function () { return
|
|
46148
|
+
get: function () { return chunkNPRNR54M_cjs.useConnectedChat; }
|
|
46102
46149
|
});
|
|
46103
46150
|
Object.defineProperty(exports, "useSemanticSearch", {
|
|
46104
46151
|
enumerable: true,
|
|
46105
|
-
get: function () { return
|
|
46152
|
+
get: function () { return chunkNPRNR54M_cjs.useSemanticSearch; }
|
|
46106
46153
|
});
|
|
46107
46154
|
Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
46108
46155
|
enumerable: true,
|
|
46109
|
-
get: function () { return
|
|
46156
|
+
get: function () { return chunkNPRNR54M_cjs.useWorkspaceDocs; }
|
|
46110
46157
|
});
|
|
46111
46158
|
Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
|
|
46112
46159
|
enumerable: true,
|
|
46113
|
-
get: function () { return
|
|
46160
|
+
get: function () { return chunk6NHOZTIY_cjs.ConnectedTaskActivityDialog; }
|
|
46114
46161
|
});
|
|
46115
46162
|
Object.defineProperty(exports, "ConnectedTaskComposer", {
|
|
46116
46163
|
enumerable: true,
|
|
46117
|
-
get: function () { return
|
|
46164
|
+
get: function () { return chunk6NHOZTIY_cjs.ConnectedTaskComposer; }
|
|
46118
46165
|
});
|
|
46119
46166
|
Object.defineProperty(exports, "ConnectedThreadTaskBar", {
|
|
46120
46167
|
enumerable: true,
|
|
46121
|
-
get: function () { return
|
|
46168
|
+
get: function () { return chunk6NHOZTIY_cjs.ConnectedThreadTaskBar; }
|
|
46122
46169
|
});
|
|
46123
46170
|
Object.defineProperty(exports, "ConnectedWorkflowHistory", {
|
|
46124
46171
|
enumerable: true,
|
|
46125
|
-
get: function () { return
|
|
46172
|
+
get: function () { return chunk6NHOZTIY_cjs.ConnectedWorkflowHistory; }
|
|
46126
46173
|
});
|
|
46127
46174
|
Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
|
|
46128
46175
|
enumerable: true,
|
|
46129
|
-
get: function () { return
|
|
46176
|
+
get: function () { return chunk6NHOZTIY_cjs.ConnectedWorkflowRunPage; }
|
|
46130
46177
|
});
|
|
46131
46178
|
Object.defineProperty(exports, "ConnectedWorkflowRunner", {
|
|
46132
46179
|
enumerable: true,
|
|
46133
|
-
get: function () { return
|
|
46180
|
+
get: function () { return chunk6NHOZTIY_cjs.ConnectedWorkflowRunner; }
|
|
46134
46181
|
});
|
|
46135
46182
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
|
|
46136
46183
|
enumerable: true,
|
|
46137
|
-
get: function () { return
|
|
46184
|
+
get: function () { return chunk6NHOZTIY_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
|
|
46138
46185
|
});
|
|
46139
46186
|
Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
|
|
46140
46187
|
enumerable: true,
|
|
46141
|
-
get: function () { return
|
|
46188
|
+
get: function () { return chunk6NHOZTIY_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
|
|
46142
46189
|
});
|
|
46143
46190
|
Object.defineProperty(exports, "WorkflowRunThread", {
|
|
46144
46191
|
enumerable: true,
|
|
46145
|
-
get: function () { return
|
|
46192
|
+
get: function () { return chunk6NHOZTIY_cjs.WorkflowRunThread; }
|
|
46146
46193
|
});
|
|
46147
46194
|
Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
|
|
46148
46195
|
enumerable: true,
|
|
46149
|
-
get: function () { return
|
|
46196
|
+
get: function () { return chunk6NHOZTIY_cjs.WorkflowRunWorkspaceChangedError; }
|
|
46150
46197
|
});
|
|
46151
46198
|
Object.defineProperty(exports, "buildProjectSummaries", {
|
|
46152
46199
|
enumerable: true,
|
|
46153
|
-
get: function () { return
|
|
46200
|
+
get: function () { return chunk6NHOZTIY_cjs.buildProjectSummaries; }
|
|
46154
46201
|
});
|
|
46155
46202
|
Object.defineProperty(exports, "primaryProjectWorkspace", {
|
|
46156
46203
|
enumerable: true,
|
|
46157
|
-
get: function () { return
|
|
46204
|
+
get: function () { return chunk6NHOZTIY_cjs.primaryProjectWorkspace; }
|
|
46158
46205
|
});
|
|
46159
46206
|
Object.defineProperty(exports, "useEnsureRequiredLabels", {
|
|
46160
46207
|
enumerable: true,
|
|
46161
|
-
get: function () { return
|
|
46208
|
+
get: function () { return chunk6NHOZTIY_cjs.useEnsureRequiredLabels; }
|
|
46162
46209
|
});
|
|
46163
46210
|
Object.defineProperty(exports, "useProjectSummaries", {
|
|
46164
46211
|
enumerable: true,
|
|
46165
|
-
get: function () { return
|
|
46212
|
+
get: function () { return chunk6NHOZTIY_cjs.useProjectSummaries; }
|
|
46166
46213
|
});
|
|
46167
46214
|
Object.defineProperty(exports, "useProjectSummary", {
|
|
46168
46215
|
enumerable: true,
|
|
46169
|
-
get: function () { return
|
|
46216
|
+
get: function () { return chunk6NHOZTIY_cjs.useProjectSummary; }
|
|
46170
46217
|
});
|
|
46171
46218
|
Object.defineProperty(exports, "useRenderTaskPerson", {
|
|
46172
46219
|
enumerable: true,
|
|
46173
|
-
get: function () { return
|
|
46220
|
+
get: function () { return chunk6NHOZTIY_cjs.useRenderTaskPerson; }
|
|
46174
46221
|
});
|
|
46175
46222
|
Object.defineProperty(exports, "useRequiredLabels", {
|
|
46176
46223
|
enumerable: true,
|
|
46177
|
-
get: function () { return
|
|
46224
|
+
get: function () { return chunk6NHOZTIY_cjs.useRequiredLabels; }
|
|
46178
46225
|
});
|
|
46179
46226
|
Object.defineProperty(exports, "useTaskPeople", {
|
|
46180
46227
|
enumerable: true,
|
|
46181
|
-
get: function () { return
|
|
46228
|
+
get: function () { return chunk6NHOZTIY_cjs.useTaskPeople; }
|
|
46182
46229
|
});
|
|
46183
46230
|
Object.defineProperty(exports, "useWorkflowsPageState", {
|
|
46184
46231
|
enumerable: true,
|
|
46185
|
-
get: function () { return
|
|
46232
|
+
get: function () { return chunk6NHOZTIY_cjs.useWorkflowsPageState; }
|
|
46186
46233
|
});
|
|
46187
46234
|
Object.defineProperty(exports, "workflowRunView", {
|
|
46188
46235
|
enumerable: true,
|
|
46189
|
-
get: function () { return
|
|
46236
|
+
get: function () { return chunk6NHOZTIY_cjs.workflowRunView; }
|
|
46190
46237
|
});
|
|
46191
46238
|
Object.defineProperty(exports, "AgentSteps", {
|
|
46192
46239
|
enumerable: true,
|
|
46193
|
-
get: function () { return
|
|
46240
|
+
get: function () { return chunkP2AZ2HX7_cjs.AgentSteps; }
|
|
46194
46241
|
});
|
|
46195
46242
|
Object.defineProperty(exports, "AnswerTable", {
|
|
46196
46243
|
enumerable: true,
|
|
46197
|
-
get: function () { return
|
|
46244
|
+
get: function () { return chunkP2AZ2HX7_cjs.AnswerTable; }
|
|
46198
46245
|
});
|
|
46199
46246
|
Object.defineProperty(exports, "ArbiChat", {
|
|
46200
46247
|
enumerable: true,
|
|
46201
|
-
get: function () { return
|
|
46248
|
+
get: function () { return chunkP2AZ2HX7_cjs.ArbiChat; }
|
|
46202
46249
|
});
|
|
46203
46250
|
Object.defineProperty(exports, "AskAgainContext", {
|
|
46204
46251
|
enumerable: true,
|
|
46205
|
-
get: function () { return
|
|
46252
|
+
get: function () { return chunkP2AZ2HX7_cjs.AskAgainContext; }
|
|
46206
46253
|
});
|
|
46207
46254
|
Object.defineProperty(exports, "ConnectedBranchControls", {
|
|
46208
46255
|
enumerable: true,
|
|
46209
|
-
get: function () { return
|
|
46256
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedBranchControls; }
|
|
46210
46257
|
});
|
|
46211
46258
|
Object.defineProperty(exports, "ConnectedCitationRenderer", {
|
|
46212
46259
|
enumerable: true,
|
|
46213
|
-
get: function () { return
|
|
46260
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedCitationRenderer; }
|
|
46214
46261
|
});
|
|
46215
46262
|
Object.defineProperty(exports, "ConnectedCompactConversation", {
|
|
46216
46263
|
enumerable: true,
|
|
46217
|
-
get: function () { return
|
|
46264
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedCompactConversation; }
|
|
46218
46265
|
});
|
|
46219
46266
|
Object.defineProperty(exports, "ConnectedCompactLogin", {
|
|
46220
46267
|
enumerable: true,
|
|
46221
|
-
get: function () { return
|
|
46268
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedCompactLogin; }
|
|
46222
46269
|
});
|
|
46223
46270
|
Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
|
|
46224
46271
|
enumerable: true,
|
|
46225
|
-
get: function () { return
|
|
46272
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedConversationDocumentPicker; }
|
|
46226
46273
|
});
|
|
46227
46274
|
Object.defineProperty(exports, "ConnectedDangerZone", {
|
|
46228
46275
|
enumerable: true,
|
|
46229
|
-
get: function () { return
|
|
46276
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedDangerZone; }
|
|
46230
46277
|
});
|
|
46231
46278
|
Object.defineProperty(exports, "ConnectedEmbeddedChat", {
|
|
46232
46279
|
enumerable: true,
|
|
46233
|
-
get: function () { return
|
|
46280
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedEmbeddedChat; }
|
|
46234
46281
|
});
|
|
46235
46282
|
Object.defineProperty(exports, "ConnectedForgotPassword", {
|
|
46236
46283
|
enumerable: true,
|
|
46237
|
-
get: function () { return
|
|
46284
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedForgotPassword; }
|
|
46238
46285
|
});
|
|
46239
46286
|
Object.defineProperty(exports, "ConnectedIdentityVerification", {
|
|
46240
46287
|
enumerable: true,
|
|
46241
|
-
get: function () { return
|
|
46288
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedIdentityVerification; }
|
|
46242
46289
|
});
|
|
46243
46290
|
Object.defineProperty(exports, "ConnectedLoginPage", {
|
|
46244
46291
|
enumerable: true,
|
|
46245
|
-
get: function () { return
|
|
46292
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedLoginPage; }
|
|
46246
46293
|
});
|
|
46247
46294
|
Object.defineProperty(exports, "ConnectedLogoutDialog", {
|
|
46248
46295
|
enumerable: true,
|
|
46249
|
-
get: function () { return
|
|
46296
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedLogoutDialog; }
|
|
46250
46297
|
});
|
|
46251
46298
|
Object.defineProperty(exports, "ConnectedMessage", {
|
|
46252
46299
|
enumerable: true,
|
|
46253
|
-
get: function () { return
|
|
46300
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedMessage; }
|
|
46254
46301
|
});
|
|
46255
46302
|
Object.defineProperty(exports, "ConnectedMessageArea", {
|
|
46256
46303
|
enumerable: true,
|
|
46257
|
-
get: function () { return
|
|
46304
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedMessageArea; }
|
|
46258
46305
|
});
|
|
46259
46306
|
Object.defineProperty(exports, "ConnectedMessageList", {
|
|
46260
46307
|
enumerable: true,
|
|
46261
|
-
get: function () { return
|
|
46308
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedMessageList; }
|
|
46262
46309
|
});
|
|
46263
46310
|
Object.defineProperty(exports, "ConnectedModelSelector", {
|
|
46264
46311
|
enumerable: true,
|
|
46265
|
-
get: function () { return
|
|
46312
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedModelSelector; }
|
|
46266
46313
|
});
|
|
46267
46314
|
Object.defineProperty(exports, "ConnectedNotificationPreferences", {
|
|
46268
46315
|
enumerable: true,
|
|
46269
|
-
get: function () { return
|
|
46316
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedNotificationPreferences; }
|
|
46270
46317
|
});
|
|
46271
46318
|
Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
|
|
46272
46319
|
enumerable: true,
|
|
46273
|
-
get: function () { return
|
|
46320
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedPasswordChangeDialog; }
|
|
46274
46321
|
});
|
|
46275
46322
|
Object.defineProperty(exports, "ConnectedProfileCard", {
|
|
46276
46323
|
enumerable: true,
|
|
46277
|
-
get: function () { return
|
|
46324
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedProfileCard; }
|
|
46278
46325
|
});
|
|
46279
46326
|
Object.defineProperty(exports, "ConnectedSecuritySection", {
|
|
46280
46327
|
enumerable: true,
|
|
46281
|
-
get: function () { return
|
|
46328
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedSecuritySection; }
|
|
46282
46329
|
});
|
|
46283
46330
|
Object.defineProperty(exports, "ConnectedSessionsRow", {
|
|
46284
46331
|
enumerable: true,
|
|
46285
|
-
get: function () { return
|
|
46332
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedSessionsRow; }
|
|
46286
46333
|
});
|
|
46287
46334
|
Object.defineProperty(exports, "ConnectedThreadsPreview", {
|
|
46288
46335
|
enumerable: true,
|
|
46289
|
-
get: function () { return
|
|
46336
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConnectedThreadsPreview; }
|
|
46290
46337
|
});
|
|
46291
46338
|
Object.defineProperty(exports, "ConversationComposer", {
|
|
46292
46339
|
enumerable: true,
|
|
46293
|
-
get: function () { return
|
|
46340
|
+
get: function () { return chunkP2AZ2HX7_cjs.ConversationComposer; }
|
|
46294
46341
|
});
|
|
46295
46342
|
Object.defineProperty(exports, "EmbeddedChatPanel", {
|
|
46296
46343
|
enumerable: true,
|
|
46297
|
-
get: function () { return
|
|
46344
|
+
get: function () { return chunkP2AZ2HX7_cjs.EmbeddedChatPanel; }
|
|
46298
46345
|
});
|
|
46299
46346
|
Object.defineProperty(exports, "MessageDetailsModal", {
|
|
46300
46347
|
enumerable: true,
|
|
46301
|
-
get: function () { return
|
|
46348
|
+
get: function () { return chunkP2AZ2HX7_cjs.MessageDetailsModal; }
|
|
46302
46349
|
});
|
|
46303
46350
|
Object.defineProperty(exports, "MessageLiveSeconds", {
|
|
46304
46351
|
enumerable: true,
|
|
46305
|
-
get: function () { return
|
|
46352
|
+
get: function () { return chunkP2AZ2HX7_cjs.MessageLiveSeconds; }
|
|
46306
46353
|
});
|
|
46307
46354
|
Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
|
|
46308
46355
|
enumerable: true,
|
|
46309
|
-
get: function () { return
|
|
46356
|
+
get: function () { return chunkP2AZ2HX7_cjs.PENDING_RECOVERY_KEY; }
|
|
46310
46357
|
});
|
|
46311
46358
|
Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
|
|
46312
46359
|
enumerable: true,
|
|
46313
|
-
get: function () { return
|
|
46360
|
+
get: function () { return chunkP2AZ2HX7_cjs.PREMIUM_TIER_TAG; }
|
|
46314
46361
|
});
|
|
46315
46362
|
Object.defineProperty(exports, "RunningSubagents", {
|
|
46316
46363
|
enumerable: true,
|
|
46317
|
-
get: function () { return
|
|
46364
|
+
get: function () { return chunkP2AZ2HX7_cjs.RunningSubagents; }
|
|
46318
46365
|
});
|
|
46319
46366
|
Object.defineProperty(exports, "STANDARD_TIER_TAG", {
|
|
46320
46367
|
enumerable: true,
|
|
46321
|
-
get: function () { return
|
|
46368
|
+
get: function () { return chunkP2AZ2HX7_cjs.STANDARD_TIER_TAG; }
|
|
46322
46369
|
});
|
|
46323
46370
|
Object.defineProperty(exports, "WorkflowStepMessage", {
|
|
46324
46371
|
enumerable: true,
|
|
46325
|
-
get: function () { return
|
|
46372
|
+
get: function () { return chunkP2AZ2HX7_cjs.WorkflowStepMessage; }
|
|
46326
46373
|
});
|
|
46327
46374
|
Object.defineProperty(exports, "backUpOnSignup", {
|
|
46328
46375
|
enumerable: true,
|
|
46329
|
-
get: function () { return
|
|
46376
|
+
get: function () { return chunkP2AZ2HX7_cjs.backUpOnSignup; }
|
|
46330
46377
|
});
|
|
46331
46378
|
Object.defineProperty(exports, "createRemoteControl", {
|
|
46332
46379
|
enumerable: true,
|
|
46333
|
-
get: function () { return
|
|
46380
|
+
get: function () { return chunkP2AZ2HX7_cjs.createRemoteControl; }
|
|
46334
46381
|
});
|
|
46335
46382
|
Object.defineProperty(exports, "defaultHost", {
|
|
46336
46383
|
enumerable: true,
|
|
46337
|
-
get: function () { return
|
|
46384
|
+
get: function () { return chunkP2AZ2HX7_cjs.defaultHost; }
|
|
46338
46385
|
});
|
|
46339
46386
|
Object.defineProperty(exports, "renderConnectedUser", {
|
|
46340
46387
|
enumerable: true,
|
|
46341
|
-
get: function () { return
|
|
46388
|
+
get: function () { return chunkP2AZ2HX7_cjs.renderConnectedUser; }
|
|
46342
46389
|
});
|
|
46343
46390
|
Object.defineProperty(exports, "renderSessionStatusIcon", {
|
|
46344
46391
|
enumerable: true,
|
|
46345
|
-
get: function () { return
|
|
46392
|
+
get: function () { return chunkP2AZ2HX7_cjs.renderSessionStatusIcon; }
|
|
46346
46393
|
});
|
|
46347
46394
|
Object.defineProperty(exports, "resolveSsoName", {
|
|
46348
46395
|
enumerable: true,
|
|
46349
|
-
get: function () { return
|
|
46396
|
+
get: function () { return chunkP2AZ2HX7_cjs.resolveSsoName; }
|
|
46350
46397
|
});
|
|
46351
46398
|
Object.defineProperty(exports, "useAuthPages", {
|
|
46352
46399
|
enumerable: true,
|
|
46353
|
-
get: function () { return
|
|
46400
|
+
get: function () { return chunkP2AZ2HX7_cjs.useAuthPages; }
|
|
46354
46401
|
});
|
|
46355
46402
|
Object.defineProperty(exports, "useContextualHints", {
|
|
46356
46403
|
enumerable: true,
|
|
46357
|
-
get: function () { return
|
|
46404
|
+
get: function () { return chunkP2AZ2HX7_cjs.useContextualHints; }
|
|
46358
46405
|
});
|
|
46359
46406
|
Object.defineProperty(exports, "useModelPicker", {
|
|
46360
46407
|
enumerable: true,
|
|
46361
|
-
get: function () { return
|
|
46408
|
+
get: function () { return chunkP2AZ2HX7_cjs.useModelPicker; }
|
|
46362
46409
|
});
|
|
46363
46410
|
Object.defineProperty(exports, "useOpenChunk", {
|
|
46364
46411
|
enumerable: true,
|
|
46365
|
-
get: function () { return
|
|
46412
|
+
get: function () { return chunkP2AZ2HX7_cjs.useOpenChunk; }
|
|
46366
46413
|
});
|
|
46367
46414
|
Object.defineProperty(exports, "useOpenWorkspaceIcon", {
|
|
46368
46415
|
enumerable: true,
|
|
46369
|
-
get: function () { return
|
|
46416
|
+
get: function () { return chunkP2AZ2HX7_cjs.useOpenWorkspaceIcon; }
|
|
46370
46417
|
});
|
|
46371
46418
|
Object.defineProperty(exports, "useRemoteControlActions", {
|
|
46372
46419
|
enumerable: true,
|
|
46373
|
-
get: function () { return
|
|
46420
|
+
get: function () { return chunkP2AZ2HX7_cjs.useRemoteControlActions; }
|
|
46374
46421
|
});
|
|
46375
46422
|
Object.defineProperty(exports, "useRemoteControlHandlers", {
|
|
46376
46423
|
enumerable: true,
|
|
46377
|
-
get: function () { return
|
|
46424
|
+
get: function () { return chunkP2AZ2HX7_cjs.useRemoteControlHandlers; }
|
|
46378
46425
|
});
|
|
46379
46426
|
Object.defineProperty(exports, "useSsoSignIn", {
|
|
46380
46427
|
enumerable: true,
|
|
46381
|
-
get: function () { return
|
|
46428
|
+
get: function () { return chunkP2AZ2HX7_cjs.useSsoSignIn; }
|
|
46382
46429
|
});
|
|
46383
46430
|
Object.defineProperty(exports, "useWorkspaceDocTitles", {
|
|
46384
46431
|
enumerable: true,
|
|
46385
|
-
get: function () { return
|
|
46432
|
+
get: function () { return chunkP2AZ2HX7_cjs.useWorkspaceDocTitles; }
|
|
46386
46433
|
});
|
|
46387
46434
|
Object.defineProperty(exports, "parseTypedSkill", {
|
|
46388
46435
|
enumerable: true,
|
|
46389
|
-
get: function () { return
|
|
46436
|
+
get: function () { return chunkMC34TXSS_cjs.parseTypedSkill; }
|
|
46390
46437
|
});
|
|
46391
46438
|
Object.defineProperty(exports, "useSlashItems", {
|
|
46392
46439
|
enumerable: true,
|
|
46393
|
-
get: function () { return
|
|
46440
|
+
get: function () { return chunkMC34TXSS_cjs.useSlashItems; }
|
|
46394
46441
|
});
|
|
46395
46442
|
Object.defineProperty(exports, "useSlashMenuItems", {
|
|
46396
46443
|
enumerable: true,
|
|
46397
|
-
get: function () { return
|
|
46444
|
+
get: function () { return chunkMC34TXSS_cjs.useSlashMenuItems; }
|
|
46398
46445
|
});
|
|
46399
46446
|
Object.defineProperty(exports, "useSlashSkillWorkflows", {
|
|
46400
46447
|
enumerable: true,
|
|
46401
|
-
get: function () { return
|
|
46448
|
+
get: function () { return chunkMC34TXSS_cjs.useSlashSkillWorkflows; }
|
|
46402
46449
|
});
|
|
46403
46450
|
Object.defineProperty(exports, "ConnectedWorkflowStart", {
|
|
46404
46451
|
enumerable: true,
|
|
46405
|
-
get: function () { return
|
|
46452
|
+
get: function () { return chunk2XZ3HBAA_cjs.ConnectedWorkflowStart; }
|
|
46406
46453
|
});
|
|
46407
46454
|
Object.defineProperty(exports, "PROMPT_BINDINGS", {
|
|
46408
46455
|
enumerable: true,
|
|
46409
|
-
get: function () { return
|
|
46456
|
+
get: function () { return chunk2XZ3HBAA_cjs.PROMPT_BINDINGS; }
|
|
46410
46457
|
});
|
|
46411
46458
|
Object.defineProperty(exports, "useLaunchWorkflow", {
|
|
46412
46459
|
enumerable: true,
|
|
46413
|
-
get: function () { return
|
|
46460
|
+
get: function () { return chunk2XZ3HBAA_cjs.useLaunchWorkflow; }
|
|
46414
46461
|
});
|
|
46415
46462
|
Object.defineProperty(exports, "useConnectedThreadActivity", {
|
|
46416
46463
|
enumerable: true,
|
|
46417
|
-
get: function () { return
|
|
46464
|
+
get: function () { return chunkOE36OY64_cjs.useConnectedThreadActivity; }
|
|
46418
46465
|
});
|
|
46419
46466
|
Object.defineProperty(exports, "DocumentUser", {
|
|
46420
46467
|
enumerable: true,
|
|
@@ -46422,23 +46469,23 @@ Object.defineProperty(exports, "DocumentUser", {
|
|
|
46422
46469
|
});
|
|
46423
46470
|
Object.defineProperty(exports, "useCanBrowseSkills", {
|
|
46424
46471
|
enumerable: true,
|
|
46425
|
-
get: function () { return
|
|
46472
|
+
get: function () { return chunkYST6GVN5_cjs.useCanBrowseSkills; }
|
|
46426
46473
|
});
|
|
46427
46474
|
Object.defineProperty(exports, "useIsExternalAccount", {
|
|
46428
46475
|
enumerable: true,
|
|
46429
|
-
get: function () { return
|
|
46476
|
+
get: function () { return chunkYST6GVN5_cjs.useIsExternalAccount; }
|
|
46430
46477
|
});
|
|
46431
46478
|
Object.defineProperty(exports, "useSkillsEnabled", {
|
|
46432
46479
|
enumerable: true,
|
|
46433
|
-
get: function () { return
|
|
46480
|
+
get: function () { return chunkYST6GVN5_cjs.useSkillsEnabled; }
|
|
46434
46481
|
});
|
|
46435
46482
|
Object.defineProperty(exports, "useWorkflowDefinitions", {
|
|
46436
46483
|
enumerable: true,
|
|
46437
|
-
get: function () { return
|
|
46484
|
+
get: function () { return chunkYST6GVN5_cjs.useWorkflowDefinitions; }
|
|
46438
46485
|
});
|
|
46439
46486
|
Object.defineProperty(exports, "useWorkflowTasks", {
|
|
46440
46487
|
enumerable: true,
|
|
46441
|
-
get: function () { return
|
|
46488
|
+
get: function () { return chunkYST6GVN5_cjs.useWorkflowTasks; }
|
|
46442
46489
|
});
|
|
46443
46490
|
Object.defineProperty(exports, "EMBEDDED_SELECTED_DOCS_KEY", {
|
|
46444
46491
|
enumerable: true,
|
|
@@ -46598,23 +46645,23 @@ Object.defineProperty(exports, "useDocumentFolders", {
|
|
|
46598
46645
|
});
|
|
46599
46646
|
Object.defineProperty(exports, "ConnectedWorkflowsTable", {
|
|
46600
46647
|
enumerable: true,
|
|
46601
|
-
get: function () { return
|
|
46648
|
+
get: function () { return chunkPI4U4LEN_cjs.ConnectedWorkflowsTable; }
|
|
46602
46649
|
});
|
|
46603
46650
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS", {
|
|
46604
46651
|
enumerable: true,
|
|
46605
|
-
get: function () { return
|
|
46652
|
+
get: function () { return chunkPI4U4LEN_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
|
|
46606
46653
|
});
|
|
46607
46654
|
Object.defineProperty(exports, "useConnectedWorkspaceRole", {
|
|
46608
46655
|
enumerable: true,
|
|
46609
|
-
get: function () { return
|
|
46656
|
+
get: function () { return chunkPI4U4LEN_cjs.useConnectedWorkspaceRole; }
|
|
46610
46657
|
});
|
|
46611
46658
|
Object.defineProperty(exports, "useDocxCommentTarget", {
|
|
46612
46659
|
enumerable: true,
|
|
46613
|
-
get: function () { return
|
|
46660
|
+
get: function () { return chunkPI4U4LEN_cjs.useDocxCommentTarget; }
|
|
46614
46661
|
});
|
|
46615
46662
|
Object.defineProperty(exports, "useNativeDocxSupport", {
|
|
46616
46663
|
enumerable: true,
|
|
46617
|
-
get: function () { return
|
|
46664
|
+
get: function () { return chunkPI4U4LEN_cjs.useNativeDocxSupport; }
|
|
46618
46665
|
});
|
|
46619
46666
|
Object.defineProperty(exports, "useOpenWorkflow", {
|
|
46620
46667
|
enumerable: true,
|
|
@@ -46622,19 +46669,19 @@ Object.defineProperty(exports, "useOpenWorkflow", {
|
|
|
46622
46669
|
});
|
|
46623
46670
|
Object.defineProperty(exports, "ConnectedWorkflowDocumentsField", {
|
|
46624
46671
|
enumerable: true,
|
|
46625
|
-
get: function () { return
|
|
46672
|
+
get: function () { return chunkFK7MBD5H_cjs.ConnectedWorkflowDocumentsField; }
|
|
46626
46673
|
});
|
|
46627
46674
|
Object.defineProperty(exports, "ConnectedWorkflowLauncher", {
|
|
46628
46675
|
enumerable: true,
|
|
46629
|
-
get: function () { return
|
|
46676
|
+
get: function () { return chunkFK7MBD5H_cjs.ConnectedWorkflowLauncher; }
|
|
46630
46677
|
});
|
|
46631
46678
|
Object.defineProperty(exports, "toWorkflowFieldDocument", {
|
|
46632
46679
|
enumerable: true,
|
|
46633
|
-
get: function () { return
|
|
46680
|
+
get: function () { return chunkFK7MBD5H_cjs.toWorkflowFieldDocument; }
|
|
46634
46681
|
});
|
|
46635
46682
|
Object.defineProperty(exports, "useConnectedWorkflowScopeSource", {
|
|
46636
46683
|
enumerable: true,
|
|
46637
|
-
get: function () { return
|
|
46684
|
+
get: function () { return chunkFK7MBD5H_cjs.useConnectedWorkflowScopeSource; }
|
|
46638
46685
|
});
|
|
46639
46686
|
Object.defineProperty(exports, "useMeetingThreadMessages", {
|
|
46640
46687
|
enumerable: true,
|