@arbidocs/blocks 0.5.67 → 0.5.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -3
- package/dist/ConnectedCallDock-FFIDDYGH.cjs +1 -1
- package/dist/ConnectedCallDock-VMEBH4LG.js +1 -1
- package/dist/ConnectedCallRoom-2FNSX2VG.js +1 -1
- package/dist/ConnectedCallRoom-HYRLJUIV.cjs +1 -1
- package/dist/{ConnectedDocumentViewer-NIZBKBJN.js → ConnectedDocumentViewer-MEKSE7KG.js} +7 -7
- package/dist/{ConnectedDocumentViewer-NIZBKBJN.js.map → ConnectedDocumentViewer-MEKSE7KG.js.map} +1 -1
- package/dist/{ConnectedDocumentViewer-IQHDCAZ5.cjs → ConnectedDocumentViewer-VVYEBNAK.cjs} +8 -8
- package/dist/{ConnectedDocumentViewer-IQHDCAZ5.cjs.map → ConnectedDocumentViewer-VVYEBNAK.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-HJ4FTVH6.cjs → ConnectedNativeDocxComparison-MIXCSPQP.cjs} +7 -7
- package/dist/{ConnectedNativeDocxComparison-HJ4FTVH6.cjs.map → ConnectedNativeDocxComparison-MIXCSPQP.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-FPW3BNBN.js → ConnectedNativeDocxComparison-ZXWLLKCZ.js} +6 -6
- package/dist/{ConnectedNativeDocxComparison-FPW3BNBN.js.map → ConnectedNativeDocxComparison-ZXWLLKCZ.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-PF46MU5H.cjs → ConnectedNativeDocxEditor-HDI7OBDA.cjs} +7 -7
- package/dist/{ConnectedNativeDocxEditor-PF46MU5H.cjs.map → ConnectedNativeDocxEditor-HDI7OBDA.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-S7NJMDSU.js → ConnectedNativeDocxEditor-IBQ7M3MU.js} +5 -5
- package/dist/{ConnectedNativeDocxEditor-S7NJMDSU.js.map → ConnectedNativeDocxEditor-IBQ7M3MU.js.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-5MHLV24V.js → ConnectedStreamedWordArtifact-S64KJPEJ.js} +6 -6
- package/dist/ConnectedStreamedWordArtifact-S64KJPEJ.js.map +1 -0
- package/dist/{ConnectedStreamedWordArtifact-LNGW7YGV.cjs → ConnectedStreamedWordArtifact-V7WFW5EP.cjs} +7 -7
- package/dist/ConnectedStreamedWordArtifact-V7WFW5EP.cjs.map +1 -0
- package/dist/agents/index.cjs +282 -282
- package/dist/agents/index.js +4 -4
- package/dist/chat/index.cjs +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/{chunk-COZDIUG7.cjs → chunk-35FBVTT6.cjs} +5 -5
- package/dist/{chunk-COZDIUG7.cjs.map → chunk-35FBVTT6.cjs.map} +1 -1
- package/dist/{chunk-YBVBDVQX.cjs → chunk-3DQZ7JWL.cjs} +18 -18
- package/dist/{chunk-YBVBDVQX.cjs.map → chunk-3DQZ7JWL.cjs.map} +1 -1
- package/dist/{chunk-BWWND4Y7.js → chunk-5TFZFB5U.js} +3 -3
- package/dist/{chunk-BWWND4Y7.js.map → chunk-5TFZFB5U.js.map} +1 -1
- package/dist/{chunk-RFKAE6WS.js → chunk-B6QTKCDK.js} +4 -4
- package/dist/{chunk-RFKAE6WS.js.map → chunk-B6QTKCDK.js.map} +1 -1
- package/dist/{chunk-UDMII47W.cjs → chunk-CUSOXCBV.cjs} +7 -7
- package/dist/{chunk-UDMII47W.cjs.map → chunk-CUSOXCBV.cjs.map} +1 -1
- package/dist/{chunk-3VFQYKB5.cjs → chunk-EPBFVO4F.cjs} +277 -67
- package/dist/chunk-EPBFVO4F.cjs.map +1 -0
- package/dist/{chunk-Y6ZNWC7E.cjs → chunk-IH2WZUTL.cjs} +3 -3
- package/dist/{chunk-Y6ZNWC7E.cjs.map → chunk-IH2WZUTL.cjs.map} +1 -1
- package/dist/{chunk-PVPGD6QR.js → chunk-LKVOHL6C.js} +3 -3
- package/dist/{chunk-PVPGD6QR.js.map → chunk-LKVOHL6C.js.map} +1 -1
- package/dist/{chunk-TAI23FCY.js → chunk-LTPOV3W4.js} +3 -3
- package/dist/{chunk-TAI23FCY.js.map → chunk-LTPOV3W4.js.map} +1 -1
- package/dist/{chunk-FHXXDPNU.cjs → chunk-MM22MFON.cjs} +11 -11
- package/dist/{chunk-FHXXDPNU.cjs.map → chunk-MM22MFON.cjs.map} +1 -1
- package/dist/{chunk-W5D5GFP2.js → chunk-N54OMO6J.js} +280 -70
- package/dist/chunk-N54OMO6J.js.map +1 -0
- package/dist/{chunk-ZIQGSFHG.cjs → chunk-NBX7WWB6.cjs} +5 -5
- package/dist/{chunk-ZIQGSFHG.cjs.map → chunk-NBX7WWB6.cjs.map} +1 -1
- package/dist/{chunk-EOIJ5JYP.cjs → chunk-NMQVII6H.cjs} +4 -4
- package/dist/{chunk-EOIJ5JYP.cjs.map → chunk-NMQVII6H.cjs.map} +1 -1
- package/dist/{chunk-323R76RZ.js → chunk-NOBSRGFX.js} +3 -3
- package/dist/{chunk-323R76RZ.js.map → chunk-NOBSRGFX.js.map} +1 -1
- package/dist/{chunk-NDVLCOWS.js → chunk-P2ZQKJXS.js} +5 -5
- package/dist/{chunk-NDVLCOWS.js.map → chunk-P2ZQKJXS.js.map} +1 -1
- package/dist/{chunk-PGKZBAJB.js → chunk-RSVHFZJR.js} +5 -5
- package/dist/{chunk-PGKZBAJB.js.map → chunk-RSVHFZJR.js.map} +1 -1
- package/dist/{chunk-OZL5ABLF.js → chunk-SC3GOSJG.js} +3 -3
- package/dist/{chunk-OZL5ABLF.js.map → chunk-SC3GOSJG.js.map} +1 -1
- package/dist/{chunk-JWRTUYLC.js → chunk-SNU3AOCW.js} +3 -3
- package/dist/{chunk-JWRTUYLC.js.map → chunk-SNU3AOCW.js.map} +1 -1
- package/dist/{chunk-45Y7ASBC.cjs → chunk-XXI3EIEO.cjs} +46 -46
- package/dist/{chunk-45Y7ASBC.cjs.map → chunk-XXI3EIEO.cjs.map} +1 -1
- package/dist/{chunk-23ACBETH.cjs → chunk-ZSP6QSMG.cjs} +4 -4
- package/dist/{chunk-23ACBETH.cjs.map → chunk-ZSP6QSMG.cjs.map} +1 -1
- package/dist/connect/docx.cjs +11 -11
- package/dist/connect/docx.js +7 -7
- package/dist/connect/index.cjs +286 -286
- package/dist/connect/index.js +18 -18
- package/dist/connect/viewer.cjs +6 -6
- package/dist/connect/viewer.js +5 -5
- package/dist/connection/conversation/ConnectedMessageArea.d.ts +2 -0
- package/dist/connection/conversation/ConnectedMessageList.d.ts +4 -1
- package/dist/connection/embedded/EmbeddedChatPanel.d.ts +3 -1
- package/dist/dashboards/index.cjs +1 -1
- package/dist/dashboards/index.js +1 -1
- package/dist/embed/index.cjs +14 -6
- package/dist/embed/index.d.ts +2 -0
- package/dist/embed/index.js +3 -3
- package/dist/facts/index.cjs +1 -1
- package/dist/facts/index.js +1 -1
- package/dist/index.cjs +488 -488
- package/dist/index.js +14 -14
- package/dist/studio/index.cjs +1 -1
- package/dist/studio/index.js +1 -1
- package/dist/workflow-canvas/index.cjs +21 -21
- package/dist/workflow-canvas/index.js +6 -6
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ConnectedStreamedWordArtifact-5MHLV24V.js.map +0 -1
- package/dist/ConnectedStreamedWordArtifact-LNGW7YGV.cjs.map +0 -1
- package/dist/chunk-3VFQYKB5.cjs.map +0 -1
- package/dist/chunk-W5D5GFP2.js.map +0 -1
package/dist/connect/index.cjs
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
var chunkCCSF7RI4_cjs = require('../chunk-CCSF7RI4.cjs');
|
|
5
5
|
var chunkZ7DJS6M3_cjs = require('../chunk-Z7DJS6M3.cjs');
|
|
6
6
|
var chunkBFIHXDO6_cjs = require('../chunk-BFIHXDO6.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkXXI3EIEO_cjs = require('../chunk-XXI3EIEO.cjs');
|
|
8
8
|
var chunkE5625KT2_cjs = require('../chunk-E5625KT2.cjs');
|
|
9
9
|
var chunk2GSZG6KA_cjs = require('../chunk-2GSZG6KA.cjs');
|
|
10
10
|
var chunkHYAYXLIZ_cjs = require('../chunk-HYAYXLIZ.cjs');
|
|
11
11
|
var chunkKWJW5TMH_cjs = require('../chunk-KWJW5TMH.cjs');
|
|
12
12
|
var chunkPSIKUQYM_cjs = require('../chunk-PSIKUQYM.cjs');
|
|
13
|
-
var
|
|
13
|
+
var chunkEPBFVO4F_cjs = require('../chunk-EPBFVO4F.cjs');
|
|
14
14
|
var chunkCMYJEIZB_cjs = require('../chunk-CMYJEIZB.cjs');
|
|
15
15
|
var chunkEGJ7WJ6Q_cjs = require('../chunk-EGJ7WJ6Q.cjs');
|
|
16
16
|
var chunkF73EZQT4_cjs = require('../chunk-F73EZQT4.cjs');
|
|
@@ -20,7 +20,7 @@ var chunkOU3RGQFX_cjs = require('../chunk-OU3RGQFX.cjs');
|
|
|
20
20
|
require('../chunk-REH7PX3N.cjs');
|
|
21
21
|
require('../chunk-H32DV7XS.cjs');
|
|
22
22
|
var chunkJBL4PPEE_cjs = require('../chunk-JBL4PPEE.cjs');
|
|
23
|
-
var
|
|
23
|
+
var chunkCUSOXCBV_cjs = require('../chunk-CUSOXCBV.cjs');
|
|
24
24
|
var chunk464YPRAE_cjs = require('../chunk-464YPRAE.cjs');
|
|
25
25
|
var chunkPICGTGEB_cjs = require('../chunk-PICGTGEB.cjs');
|
|
26
26
|
var chunkT35SGVB2_cjs = require('../chunk-T35SGVB2.cjs');
|
|
@@ -38,48 +38,48 @@ require('../chunk-JH6JTI76.cjs');
|
|
|
38
38
|
require('../chunk-UWIILWDI.cjs');
|
|
39
39
|
var chunkIRY63R4L_cjs = require('../chunk-IRY63R4L.cjs');
|
|
40
40
|
require('../chunk-ZESMRGDV.cjs');
|
|
41
|
-
var
|
|
41
|
+
var chunkNBX7WWB6_cjs = require('../chunk-NBX7WWB6.cjs');
|
|
42
42
|
var chunkLEW4GUFW_cjs = require('../chunk-LEW4GUFW.cjs');
|
|
43
|
-
require('../chunk-NEGFHF3V.cjs');
|
|
44
43
|
var chunkZ3LFF3YT_cjs = require('../chunk-Z3LFF3YT.cjs');
|
|
45
44
|
var chunkC2ECYOPP_cjs = require('../chunk-C2ECYOPP.cjs');
|
|
46
45
|
var chunkTMX7YFVM_cjs = require('../chunk-TMX7YFVM.cjs');
|
|
47
46
|
require('../chunk-QXNEXPUL.cjs');
|
|
48
|
-
var chunkVPPX5XUF_cjs = require('../chunk-VPPX5XUF.cjs');
|
|
49
|
-
require('../chunk-PCB2BPN3.cjs');
|
|
50
47
|
var chunkGOWXP5KT_cjs = require('../chunk-GOWXP5KT.cjs');
|
|
51
48
|
var chunkYCO4ZBBL_cjs = require('../chunk-YCO4ZBBL.cjs');
|
|
52
49
|
var chunkQZTNTP75_cjs = require('../chunk-QZTNTP75.cjs');
|
|
50
|
+
require('../chunk-NEGFHF3V.cjs');
|
|
51
|
+
var chunkVPPX5XUF_cjs = require('../chunk-VPPX5XUF.cjs');
|
|
52
|
+
require('../chunk-PCB2BPN3.cjs');
|
|
53
53
|
require('../chunk-NWNVWO6L.cjs');
|
|
54
54
|
var chunkXDMIVPJP_cjs = require('../chunk-XDMIVPJP.cjs');
|
|
55
55
|
require('../chunk-7G2LJMUG.cjs');
|
|
56
56
|
var chunkJIOHDVWH_cjs = require('../chunk-JIOHDVWH.cjs');
|
|
57
57
|
var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
|
|
58
|
-
var chunkMZZ3SBQL_cjs = require('../chunk-MZZ3SBQL.cjs');
|
|
59
|
-
var chunk5Y6V7F6W_cjs = require('../chunk-5Y6V7F6W.cjs');
|
|
60
58
|
var chunkIXZCXK6Q_cjs = require('../chunk-IXZCXK6Q.cjs');
|
|
61
59
|
var chunkXWUGPV7H_cjs = require('../chunk-XWUGPV7H.cjs');
|
|
60
|
+
var chunkMZZ3SBQL_cjs = require('../chunk-MZZ3SBQL.cjs');
|
|
62
61
|
var chunkAXAHA4LL_cjs = require('../chunk-AXAHA4LL.cjs');
|
|
62
|
+
var chunk5Y6V7F6W_cjs = require('../chunk-5Y6V7F6W.cjs');
|
|
63
63
|
var chunkY5WE72RB_cjs = require('../chunk-Y5WE72RB.cjs');
|
|
64
64
|
var chunk4623VCCR_cjs = require('../chunk-4623VCCR.cjs');
|
|
65
65
|
require('../chunk-VLCY46K6.cjs');
|
|
66
66
|
var chunkI4NP577O_cjs = require('../chunk-I4NP577O.cjs');
|
|
67
|
-
var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
|
|
68
67
|
var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
|
|
68
|
+
var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
|
|
69
69
|
require('../chunk-72YEEUH7.cjs');
|
|
70
70
|
require('../chunk-D54JXTPG.cjs');
|
|
71
|
-
var
|
|
71
|
+
var chunkMM22MFON_cjs = require('../chunk-MM22MFON.cjs');
|
|
72
72
|
var chunkZXW6WFZG_cjs = require('../chunk-ZXW6WFZG.cjs');
|
|
73
73
|
require('../chunk-I4IS6ST6.cjs');
|
|
74
74
|
var chunkRFIBUWLF_cjs = require('../chunk-RFIBUWLF.cjs');
|
|
75
|
-
var
|
|
75
|
+
var chunkIH2WZUTL_cjs = require('../chunk-IH2WZUTL.cjs');
|
|
76
76
|
require('../chunk-3YEXZX4H.cjs');
|
|
77
77
|
var chunkZDZY6OPL_cjs = require('../chunk-ZDZY6OPL.cjs');
|
|
78
78
|
var chunkAQPZ4QMV_cjs = require('../chunk-AQPZ4QMV.cjs');
|
|
79
79
|
require('../chunk-SIB6C7P7.cjs');
|
|
80
80
|
require('../chunk-DVUZTGVL.cjs');
|
|
81
|
-
var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
82
81
|
require('../chunk-AHDJXIUB.cjs');
|
|
82
|
+
var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
83
83
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
84
84
|
require('../chunk-2UYT7MIX.cjs');
|
|
85
85
|
var chunkLKK52DEY_cjs = require('../chunk-LKK52DEY.cjs');
|
|
@@ -107,8 +107,8 @@ var chunk2NW66KJF_cjs = require('../chunk-2NW66KJF.cjs');
|
|
|
107
107
|
var chunkDASZUEP3_cjs = require('../chunk-DASZUEP3.cjs');
|
|
108
108
|
var chunkUVZSX6GP_cjs = require('../chunk-UVZSX6GP.cjs');
|
|
109
109
|
var chunkWWFHS6EI_cjs = require('../chunk-WWFHS6EI.cjs');
|
|
110
|
-
require('../chunk-Z2XZ2D4N.cjs');
|
|
111
110
|
var chunkGMGEAWFX_cjs = require('../chunk-GMGEAWFX.cjs');
|
|
111
|
+
require('../chunk-Z2XZ2D4N.cjs');
|
|
112
112
|
require('../chunk-KQF7POTG.cjs');
|
|
113
113
|
require('../chunk-IN6ILI5A.cjs');
|
|
114
114
|
require('../chunk-BRDCHYIT.cjs');
|
|
@@ -233,7 +233,7 @@ function ConnectedWorkspaceActivity({
|
|
|
233
233
|
[feed.data]
|
|
234
234
|
);
|
|
235
235
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
236
|
-
|
|
236
|
+
chunkNBX7WWB6_cjs.WorkspaceActivityList,
|
|
237
237
|
{
|
|
238
238
|
...listProps,
|
|
239
239
|
items,
|
|
@@ -1370,7 +1370,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1370
1370
|
onChange: (e) => {
|
|
1371
1371
|
const file = e.target.files?.[0];
|
|
1372
1372
|
e.target.value = "";
|
|
1373
|
-
if (file) void add(() =>
|
|
1373
|
+
if (file) void add(() => chunkMM22MFON_cjs.importSkillFile(file));
|
|
1374
1374
|
}
|
|
1375
1375
|
}
|
|
1376
1376
|
),
|
|
@@ -1395,7 +1395,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1395
1395
|
className: "space-y-2",
|
|
1396
1396
|
onSubmit: (e) => {
|
|
1397
1397
|
e.preventDefault();
|
|
1398
|
-
if (url.trim()) void add(() =>
|
|
1398
|
+
if (url.trim()) void add(() => chunkMM22MFON_cjs.importSkillFromUrl(url));
|
|
1399
1399
|
},
|
|
1400
1400
|
children: [
|
|
1401
1401
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
|
|
@@ -1458,9 +1458,9 @@ function ConnectedSkillsLibrary({
|
|
|
1458
1458
|
const [type, setType] = react$1.useState("all");
|
|
1459
1459
|
const [view, setView] = react$1.useState("gallery");
|
|
1460
1460
|
const [isBusy, setIsBusy] = react$1.useState(false);
|
|
1461
|
-
const all = react$1.useMemo(() =>
|
|
1461
|
+
const all = react$1.useMemo(() => chunkMM22MFON_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
|
|
1462
1462
|
const shown = react$1.useMemo(
|
|
1463
|
-
() =>
|
|
1463
|
+
() => chunkMM22MFON_cjs.filterLibrarySkills(all, { query, source, type }),
|
|
1464
1464
|
[all, query, source, type]
|
|
1465
1465
|
);
|
|
1466
1466
|
const current = all.find((s) => s.slug === selected) ?? null;
|
|
@@ -1471,21 +1471,21 @@ function ConnectedSkillsLibrary({
|
|
|
1471
1471
|
const count2 = (s) => all.filter((x) => x.source === s).length;
|
|
1472
1472
|
const sourceOptions = [
|
|
1473
1473
|
{ id: "all", label: "All", count: all.length },
|
|
1474
|
-
{ id: "builtin", label:
|
|
1475
|
-
{ id: "mine", label:
|
|
1476
|
-
{ id: "shared", label:
|
|
1474
|
+
{ id: "builtin", label: chunkMM22MFON_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
|
|
1475
|
+
{ id: "mine", label: chunkMM22MFON_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
|
|
1476
|
+
{ id: "shared", label: chunkMM22MFON_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
|
|
1477
1477
|
];
|
|
1478
1478
|
const types = [...new Set(all.map((s) => s.type))];
|
|
1479
1479
|
const typeOptions = [
|
|
1480
1480
|
{ id: "all", label: "Any kind" },
|
|
1481
|
-
...types.map((t) => ({ id: t, label:
|
|
1481
|
+
...types.map((t) => ({ id: t, label: chunkMM22MFON_cjs.SKILL_TYPE_LABELS[t] ?? t }))
|
|
1482
1482
|
];
|
|
1483
1483
|
const pick = (slug) => {
|
|
1484
1484
|
setSelected(slug);
|
|
1485
1485
|
setMode("detail");
|
|
1486
1486
|
};
|
|
1487
1487
|
const markdownOf = async (skill) => {
|
|
1488
|
-
if (!skill.docExtId) return
|
|
1488
|
+
if (!skill.docExtId) return chunkMM22MFON_cjs.workflowToSkillMarkdown(skill.workflow);
|
|
1489
1489
|
const response = await arbi.documents.download(skill.docExtId);
|
|
1490
1490
|
if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
|
|
1491
1491
|
return response.text();
|
|
@@ -1549,7 +1549,7 @@ function ConnectedSkillsLibrary({
|
|
|
1549
1549
|
try {
|
|
1550
1550
|
documentTools.downloadBlob(
|
|
1551
1551
|
new Blob([await markdownOf(skill)], { type: "text/markdown" }),
|
|
1552
|
-
|
|
1552
|
+
chunkMM22MFON_cjs.SKILL_MAIN_FILENAME
|
|
1553
1553
|
);
|
|
1554
1554
|
} catch (error) {
|
|
1555
1555
|
notify17(errorText(error, "Could not export the skill"), "error");
|
|
@@ -1590,10 +1590,10 @@ function ConnectedSkillsLibrary({
|
|
|
1590
1590
|
}
|
|
1591
1591
|
)
|
|
1592
1592
|
] }),
|
|
1593
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1593
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.SkillViewToggle, { value: view, onChange: setView })
|
|
1594
1594
|
] }),
|
|
1595
1595
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1596
|
-
|
|
1596
|
+
chunkMM22MFON_cjs.SkillFilterChips,
|
|
1597
1597
|
{
|
|
1598
1598
|
label: "Show",
|
|
1599
1599
|
value: source,
|
|
@@ -1602,7 +1602,7 @@ function ConnectedSkillsLibrary({
|
|
|
1602
1602
|
}
|
|
1603
1603
|
),
|
|
1604
1604
|
types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1605
|
-
|
|
1605
|
+
chunkMM22MFON_cjs.SkillFilterChips,
|
|
1606
1606
|
{
|
|
1607
1607
|
label: "Kind",
|
|
1608
1608
|
value: type,
|
|
@@ -1649,12 +1649,12 @@ function ConnectedSkillsLibrary({
|
|
|
1649
1649
|
view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
|
|
1650
1650
|
),
|
|
1651
1651
|
children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1652
|
-
|
|
1652
|
+
chunkMM22MFON_cjs.SkillTile,
|
|
1653
1653
|
{
|
|
1654
1654
|
name: skill.title,
|
|
1655
1655
|
testId: `skill-tile-${skill.slug}`,
|
|
1656
1656
|
description: skill.description,
|
|
1657
|
-
sourceLabel: skill.isShared ? `${
|
|
1657
|
+
sourceLabel: skill.isShared ? `${chunkMM22MFON_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkMM22MFON_cjs.SKILL_SOURCE_LABELS[skill.source],
|
|
1658
1658
|
type: skill.type,
|
|
1659
1659
|
icon,
|
|
1660
1660
|
layout: view,
|
|
@@ -1689,7 +1689,7 @@ function ConnectedSkillsLibrary({
|
|
|
1689
1689
|
}
|
|
1690
1690
|
),
|
|
1691
1691
|
mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1692
|
-
|
|
1692
|
+
chunkMM22MFON_cjs.SkillGenerateForm,
|
|
1693
1693
|
{
|
|
1694
1694
|
icon,
|
|
1695
1695
|
onGenerate: (desc) => {
|
|
@@ -1716,11 +1716,11 @@ function ConnectedSkillsLibrary({
|
|
|
1716
1716
|
),
|
|
1717
1717
|
mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
|
|
1718
1718
|
mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1719
|
-
|
|
1719
|
+
chunkMM22MFON_cjs.SkillLibraryDetail,
|
|
1720
1720
|
{
|
|
1721
1721
|
skill: current,
|
|
1722
1722
|
icon,
|
|
1723
|
-
instructions: current.docExtId ? currentText ?
|
|
1723
|
+
instructions: current.docExtId ? currentText ? chunkMM22MFON_cjs.parseSkillFrontmatter(currentText, chunkMM22MFON_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
|
|
1724
1724
|
isLoading: !!current.docExtId && textLoading,
|
|
1725
1725
|
actions: {
|
|
1726
1726
|
onRun: () => onRun(current.slug),
|
|
@@ -1755,7 +1755,7 @@ function SkillEditor({
|
|
|
1755
1755
|
const [seeded, setSeeded] = react$1.useState(!isEditing);
|
|
1756
1756
|
const [nameError, setNameError] = react$1.useState(null);
|
|
1757
1757
|
if (isEditing && !seeded && text2 !== void 0) {
|
|
1758
|
-
const parsed =
|
|
1758
|
+
const parsed = chunkMM22MFON_cjs.parseSkillFrontmatter(text2, chunkMM22MFON_cjs.SKILL_MAIN_FILENAME);
|
|
1759
1759
|
setDescription(parsed.description ?? "");
|
|
1760
1760
|
setBody(parsed.content ?? "");
|
|
1761
1761
|
setSeeded(true);
|
|
@@ -1769,15 +1769,15 @@ function SkillEditor({
|
|
|
1769
1769
|
notify17("Add a short description.", "error");
|
|
1770
1770
|
return;
|
|
1771
1771
|
}
|
|
1772
|
-
const slug =
|
|
1772
|
+
const slug = chunkMM22MFON_cjs.skillSlug(name);
|
|
1773
1773
|
try {
|
|
1774
|
-
await onSave(slug,
|
|
1774
|
+
await onSave(slug, chunkMM22MFON_cjs.serializeSkill({ name: slug, description, body }), isEditing);
|
|
1775
1775
|
} catch (err) {
|
|
1776
1776
|
notify17(errorText(err, "Could not save the skill"), "error");
|
|
1777
1777
|
}
|
|
1778
1778
|
};
|
|
1779
1779
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1780
|
-
|
|
1780
|
+
chunkMM22MFON_cjs.SkillEditForm,
|
|
1781
1781
|
{
|
|
1782
1782
|
name,
|
|
1783
1783
|
onNameChange: setName,
|
|
@@ -1816,7 +1816,7 @@ var DEFAULT_CONNECTED_SKILLS_BROWSER_LABELS = {
|
|
|
1816
1816
|
function ConnectedSkillsBrowser({
|
|
1817
1817
|
props,
|
|
1818
1818
|
onClose: close,
|
|
1819
|
-
builtins =
|
|
1819
|
+
builtins = chunkMM22MFON_cjs.BUILTIN_SKILLS,
|
|
1820
1820
|
renderEditor,
|
|
1821
1821
|
labels
|
|
1822
1822
|
}) {
|
|
@@ -1869,7 +1869,7 @@ function ConnectedSkillsBrowser({
|
|
|
1869
1869
|
}
|
|
1870
1870
|
) }),
|
|
1871
1871
|
runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1872
|
-
|
|
1872
|
+
chunkXXI3EIEO_cjs.ConnectedTaskComposer,
|
|
1873
1873
|
{
|
|
1874
1874
|
kind: "workflow",
|
|
1875
1875
|
open: true,
|
|
@@ -1893,9 +1893,9 @@ function ConnectedAgentCreator({
|
|
|
1893
1893
|
agent,
|
|
1894
1894
|
initialName,
|
|
1895
1895
|
onSaved,
|
|
1896
|
-
capabilities =
|
|
1897
|
-
templates =
|
|
1898
|
-
types =
|
|
1896
|
+
capabilities = chunkMM22MFON_cjs.DEFAULT_AGENT_CAPABILITIES,
|
|
1897
|
+
templates = chunkMM22MFON_cjs.DEFAULT_AGENT_TEMPLATES,
|
|
1898
|
+
types = chunkMM22MFON_cjs.DEFAULT_AGENT_TYPES,
|
|
1899
1899
|
canRevokeWorkspaces = false,
|
|
1900
1900
|
labels
|
|
1901
1901
|
}) {
|
|
@@ -1937,7 +1937,7 @@ function ConnectedAgentCreator({
|
|
|
1937
1937
|
const initialValues = react$1.useMemo(
|
|
1938
1938
|
() => ({
|
|
1939
1939
|
name: agent?.given_name ?? initialName ?? "",
|
|
1940
|
-
persona: isEdit ?
|
|
1940
|
+
persona: isEdit ? chunkMM22MFON_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
|
|
1941
1941
|
modelName: String(agents.AGENT_MODEL_NAME ?? ""),
|
|
1942
1942
|
capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
|
|
1943
1943
|
type: "builtin",
|
|
@@ -1956,7 +1956,7 @@ function ConnectedAgentCreator({
|
|
|
1956
1956
|
try {
|
|
1957
1957
|
let agentExtId = agent?.external_id ?? early?.id ?? "";
|
|
1958
1958
|
if (!agentExtId) {
|
|
1959
|
-
if (!
|
|
1959
|
+
if (!chunkMM22MFON_cjs.isValidAgentName(values.name)) {
|
|
1960
1960
|
notify17("Give the agent a name first.", "error");
|
|
1961
1961
|
return;
|
|
1962
1962
|
}
|
|
@@ -1992,7 +1992,7 @@ function ConnectedAgentCreator({
|
|
|
1992
1992
|
title: `agent-${name}`,
|
|
1993
1993
|
sections: {
|
|
1994
1994
|
Agents: {
|
|
1995
|
-
PERSONA:
|
|
1995
|
+
PERSONA: chunkMM22MFON_cjs.composePersona(name, values.persona),
|
|
1996
1996
|
...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
|
|
1997
1997
|
...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
|
|
1998
1998
|
ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
|
|
@@ -2015,7 +2015,7 @@ function ConnectedAgentCreator({
|
|
|
2015
2015
|
};
|
|
2016
2016
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2017
2017
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2018
|
-
|
|
2018
|
+
chunkMM22MFON_cjs.AgentCreator,
|
|
2019
2019
|
{
|
|
2020
2020
|
open: ready,
|
|
2021
2021
|
onOpenChange,
|
|
@@ -2031,11 +2031,11 @@ function ConnectedAgentCreator({
|
|
|
2031
2031
|
) : void 0,
|
|
2032
2032
|
revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
|
|
2033
2033
|
avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2034
|
-
|
|
2034
|
+
chunkMM22MFON_cjs.AgentAvatarField,
|
|
2035
2035
|
{
|
|
2036
2036
|
picture,
|
|
2037
2037
|
isBusy: avatarBusy,
|
|
2038
|
-
canGenerate: isEdit ||
|
|
2038
|
+
canGenerate: isEdit || chunkMM22MFON_cjs.isValidAgentName(values.name),
|
|
2039
2039
|
onGenerate: () => handleGenerateAvatar(values)
|
|
2040
2040
|
}
|
|
2041
2041
|
),
|
|
@@ -2087,7 +2087,7 @@ function ConnectedAgentCreator({
|
|
|
2087
2087
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
|
|
2088
2088
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
|
|
2089
2089
|
] }),
|
|
2090
|
-
connect && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2090
|
+
connect && /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
|
|
2091
2091
|
]
|
|
2092
2092
|
}
|
|
2093
2093
|
) })
|
|
@@ -2536,7 +2536,7 @@ function useMemoryCount(enabled) {
|
|
|
2536
2536
|
}
|
|
2537
2537
|
function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
2538
2538
|
const { notify: notify17, openConversation, openDocument } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
2539
|
-
const people =
|
|
2539
|
+
const people = chunkXXI3EIEO_cjs.useTaskPeople();
|
|
2540
2540
|
const canEditShared = react.useCanEditShared();
|
|
2541
2541
|
const isWorkspaceOwner = react.useIsWorkspaceOwner();
|
|
2542
2542
|
const { data: workflows = [] } = react.useWorkflows({ live: true });
|
|
@@ -2562,7 +2562,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2562
2562
|
}, [documents]);
|
|
2563
2563
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2564
2564
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2565
|
-
|
|
2565
|
+
chunkMM22MFON_cjs.TaskTable,
|
|
2566
2566
|
{
|
|
2567
2567
|
tasks,
|
|
2568
2568
|
isLoading,
|
|
@@ -2589,7 +2589,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2589
2589
|
}
|
|
2590
2590
|
),
|
|
2591
2591
|
activityFor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2592
|
-
|
|
2592
|
+
chunkXXI3EIEO_cjs.ConnectedTaskActivityDialog,
|
|
2593
2593
|
{
|
|
2594
2594
|
conversationId: activityFor.external_id,
|
|
2595
2595
|
taskName: activityFor.title || l.untitledTask,
|
|
@@ -2611,7 +2611,7 @@ function AgentsLauncher({
|
|
|
2611
2611
|
const { notify: notify17, openConversation } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
2612
2612
|
const { workspaceId, ensureWorkspaceOpen } = chunkKGAYUFXD_cjs.useConnectedWorkspace();
|
|
2613
2613
|
const { data: skills = [] } = react.useSkills({ enabled: includeSkills && !!workspaceId, live: true });
|
|
2614
|
-
const workflowTasks =
|
|
2614
|
+
const workflowTasks = chunkXXI3EIEO_cjs.useWorkflowTasks();
|
|
2615
2615
|
const launchable = react$1.useMemo(
|
|
2616
2616
|
() => [
|
|
2617
2617
|
...workflows,
|
|
@@ -2634,7 +2634,7 @@ function AgentsLauncher({
|
|
|
2634
2634
|
[workflows, includeSkills, skills, l.skillFiles]
|
|
2635
2635
|
);
|
|
2636
2636
|
const launch = async ({ workflow, inputs, agentId }) => {
|
|
2637
|
-
const values =
|
|
2637
|
+
const values = chunkMM22MFON_cjs.defaultTaskComposerValues(launchable, {
|
|
2638
2638
|
workflowId: workflow.id,
|
|
2639
2639
|
assignee: "agent",
|
|
2640
2640
|
inputs,
|
|
@@ -2655,7 +2655,7 @@ function AgentsLauncher({
|
|
|
2655
2655
|
}
|
|
2656
2656
|
};
|
|
2657
2657
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2658
|
-
|
|
2658
|
+
chunkCUSOXCBV_cjs.ConnectedWorkflowLauncher,
|
|
2659
2659
|
{
|
|
2660
2660
|
workflows: launchable,
|
|
2661
2661
|
onLaunch: launch,
|
|
@@ -2758,7 +2758,7 @@ function ConnectedAgentsPage({
|
|
|
2758
2758
|
labels: agentOptions.managementLabels
|
|
2759
2759
|
});
|
|
2760
2760
|
const { agents, isLoading: agentsLoading } = management;
|
|
2761
|
-
const tasksByAgent = react$1.useMemo(() =>
|
|
2761
|
+
const tasksByAgent = react$1.useMemo(() => chunkMM22MFON_cjs.groupAgentTasks(tasks), [tasks]);
|
|
2762
2762
|
const behaviour = useAgentBehaviour(
|
|
2763
2763
|
l.defaultBehaviour,
|
|
2764
2764
|
details.includes("behaviour") || sections.includes("stats")
|
|
@@ -2783,7 +2783,7 @@ function ConnectedAgentsPage({
|
|
|
2783
2783
|
renderDetails?.(agent)
|
|
2784
2784
|
] });
|
|
2785
2785
|
const gallery = /* @__PURE__ */ jsxRuntime.jsx(
|
|
2786
|
-
|
|
2786
|
+
chunkMM22MFON_cjs.AgentGallery,
|
|
2787
2787
|
{
|
|
2788
2788
|
count: agents.length,
|
|
2789
2789
|
onCreate: management.create,
|
|
@@ -2793,10 +2793,10 @@ function ConnectedAgentsPage({
|
|
|
2793
2793
|
const agentTasks = tasksByAgent.get(agent.external_id) ?? [];
|
|
2794
2794
|
const running = agentTasks.filter((t) => t.in_progress);
|
|
2795
2795
|
const watchConversationId = running[0]?.external_id ?? null;
|
|
2796
|
-
const progress = agentTasks[0] ?
|
|
2796
|
+
const progress = agentTasks[0] ? chunkMM22MFON_cjs.goalProgress(agentTasks[0]) : null;
|
|
2797
2797
|
const name = displayName(agent);
|
|
2798
2798
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2799
|
-
|
|
2799
|
+
chunkMM22MFON_cjs.AgentCard,
|
|
2800
2800
|
{
|
|
2801
2801
|
name,
|
|
2802
2802
|
avatar: avatar === "icon" ? /* @__PURE__ */ jsxRuntime.jsx(AgentIconAvatar, {}) : /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
|
|
@@ -2895,7 +2895,7 @@ function ConnectedAgentsPage({
|
|
|
2895
2895
|
) });
|
|
2896
2896
|
case "scheduled":
|
|
2897
2897
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[min(32rem,70dvh)] min-h-64 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2898
|
-
|
|
2898
|
+
chunkCUSOXCBV_cjs.ConnectedWorkflowsTable,
|
|
2899
2899
|
{
|
|
2900
2900
|
filter: "scheduled",
|
|
2901
2901
|
onEdit: (w) => openWorkflow?.(w.external_id),
|
|
@@ -2923,7 +2923,7 @@ function ConnectedAgentsPage({
|
|
|
2923
2923
|
const dialogs = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2924
2924
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
|
|
2925
2925
|
taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2926
|
-
|
|
2926
|
+
chunkXXI3EIEO_cjs.ConnectedTaskComposer,
|
|
2927
2927
|
{
|
|
2928
2928
|
open: true,
|
|
2929
2929
|
onOpenChange: (open) => !open && setTaskDialog(null),
|
|
@@ -3223,7 +3223,7 @@ function ConnectedTagTable({
|
|
|
3223
3223
|
const fail2 = (fallback) => (e) => notify17(browser.refusalReason(e, fallback), "error");
|
|
3224
3224
|
const snapshot2 = (data) => {
|
|
3225
3225
|
const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
|
|
3226
|
-
const bytes =
|
|
3226
|
+
const bytes = chunkNBX7WWB6_cjs.tagTableDocx(data, {
|
|
3227
3227
|
title,
|
|
3228
3228
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
3229
3229
|
});
|
|
@@ -3232,7 +3232,7 @@ function ConnectedTagTable({
|
|
|
3232
3232
|
return { blob: new Blob([bytes], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }), name };
|
|
3233
3233
|
};
|
|
3234
3234
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3235
|
-
|
|
3235
|
+
chunkNBX7WWB6_cjs.TagTable,
|
|
3236
3236
|
{
|
|
3237
3237
|
...props,
|
|
3238
3238
|
table,
|
|
@@ -3370,9 +3370,9 @@ function GlossaryExport({ labelId, nameOf }) {
|
|
|
3370
3370
|
const narrowed = agreements.find((a) => a.id === narrowTo);
|
|
3371
3371
|
const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
|
|
3372
3372
|
const download = (format) => {
|
|
3373
|
-
const entries =
|
|
3374
|
-
const blob = format === "docx" ? new Blob([
|
|
3375
|
-
documentTools.downloadBlob(blob,
|
|
3373
|
+
const entries = chunkNBX7WWB6_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
|
|
3374
|
+
const blob = format === "docx" ? new Blob([chunkNBX7WWB6_cjs.glossaryDocx(entries, { title })], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }) : new Blob([chunkNBX7WWB6_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
|
|
3375
|
+
documentTools.downloadBlob(blob, chunkNBX7WWB6_cjs.glossaryFileName(title, format));
|
|
3376
3376
|
};
|
|
3377
3377
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
|
|
3378
3378
|
agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -3917,7 +3917,7 @@ function KindSection({
|
|
|
3917
3917
|
{
|
|
3918
3918
|
testId: `tags-kind-${kind}`,
|
|
3919
3919
|
title: ui.tagKindTitle(kind, { plural: true }),
|
|
3920
|
-
description:
|
|
3920
|
+
description: chunkNBX7WWB6_cjs.tagKindDescription(kind),
|
|
3921
3921
|
actions: picker,
|
|
3922
3922
|
children: [
|
|
3923
3923
|
browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -3928,9 +3928,9 @@ function KindSection({
|
|
|
3928
3928
|
children: [
|
|
3929
3929
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
|
|
3930
3930
|
"Extracting ",
|
|
3931
|
-
|
|
3931
|
+
chunkNBX7WWB6_cjs.entitiesPhrase().toLowerCase(),
|
|
3932
3932
|
" from ",
|
|
3933
|
-
|
|
3933
|
+
chunkNBX7WWB6_cjs.documentCount(extractingCount),
|
|
3934
3934
|
"\u2026"
|
|
3935
3935
|
]
|
|
3936
3936
|
}
|
|
@@ -3948,7 +3948,7 @@ function KindSection({
|
|
|
3948
3948
|
onOpenDocument: (id) => openDocument(id),
|
|
3949
3949
|
onOpenFact: ctx.onOpenFact,
|
|
3950
3950
|
onOpenThread: (id) => openConversation(id),
|
|
3951
|
-
labels:
|
|
3951
|
+
labels: chunkNBX7WWB6_cjs.tagTableLabels(kind),
|
|
3952
3952
|
testId: `tags-table-${kind}`
|
|
3953
3953
|
}
|
|
3954
3954
|
)
|
|
@@ -4050,12 +4050,12 @@ function TagSection({
|
|
|
4050
4050
|
onOpenDocument: (id) => openDocument(id),
|
|
4051
4051
|
onOpenFact: ctx.onOpenFact,
|
|
4052
4052
|
onOpenThread: (id) => openConversation(id),
|
|
4053
|
-
labels:
|
|
4053
|
+
labels: chunkNBX7WWB6_cjs.tagTableLabels(tag.kind),
|
|
4054
4054
|
testId: "tags-rows"
|
|
4055
4055
|
}
|
|
4056
4056
|
),
|
|
4057
4057
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4058
|
-
|
|
4058
|
+
chunkNBX7WWB6_cjs.TagDetail,
|
|
4059
4059
|
{
|
|
4060
4060
|
row: detailRow && narrowTagRow(detailRow, ctx.filter.matches),
|
|
4061
4061
|
fields: schema.data?.fields ?? [],
|
|
@@ -4067,10 +4067,10 @@ function TagSection({
|
|
|
4067
4067
|
onOpenDocument: (id) => openDocument(id),
|
|
4068
4068
|
onOpenFact: ctx.onOpenFact,
|
|
4069
4069
|
onOpenThread: (id) => openConversation(id),
|
|
4070
|
-
noteLabel:
|
|
4070
|
+
noteLabel: chunkNBX7WWB6_cjs.tagNoteLabel(tag.kind),
|
|
4071
4071
|
noteIsValue: tag.kind === "annotation",
|
|
4072
4072
|
renderPassages: (d, label) => renderPassages(d.doc_ext_id, label),
|
|
4073
|
-
labels:
|
|
4073
|
+
labels: chunkNBX7WWB6_cjs.tagDetailLabels(),
|
|
4074
4074
|
testId: "tags-detail"
|
|
4075
4075
|
}
|
|
4076
4076
|
)
|
|
@@ -4158,7 +4158,7 @@ function ConnectedTagsPage({
|
|
|
4158
4158
|
const onDelete = async (t) => {
|
|
4159
4159
|
const nested = browser.getChildTags([...tags], t.external_id);
|
|
4160
4160
|
const uses = browser.tagUseCount(t);
|
|
4161
|
-
const n2 =
|
|
4161
|
+
const n2 = chunkNBX7WWB6_cjs.tagsPageNouns();
|
|
4162
4162
|
const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
|
|
4163
4163
|
const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
|
|
4164
4164
|
const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
|
|
@@ -4179,16 +4179,16 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
4179
4179
|
try {
|
|
4180
4180
|
await extract.mutateAsync(docIds);
|
|
4181
4181
|
notify17(
|
|
4182
|
-
`Extracting ${
|
|
4182
|
+
`Extracting ${chunkNBX7WWB6_cjs.entitiesPhrase().toLowerCase()} from ${chunkNBX7WWB6_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
|
|
4183
4183
|
"info"
|
|
4184
4184
|
);
|
|
4185
4185
|
} catch (error) {
|
|
4186
|
-
notify17(browser.refusalReason(error, `Could not extract ${
|
|
4186
|
+
notify17(browser.refusalReason(error, `Could not extract ${chunkNBX7WWB6_cjs.entitiesPhrase().toLowerCase()}`), "error");
|
|
4187
4187
|
throw error;
|
|
4188
4188
|
}
|
|
4189
4189
|
};
|
|
4190
4190
|
const picker = /* @__PURE__ */ jsxRuntime.jsx(
|
|
4191
|
-
|
|
4191
|
+
chunkNBX7WWB6_cjs.TagPicker,
|
|
4192
4192
|
{
|
|
4193
4193
|
tags: viewTags,
|
|
4194
4194
|
selectedId: tag?.external_id,
|
|
@@ -4202,10 +4202,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
4202
4202
|
onOpenTag: openTag,
|
|
4203
4203
|
onOpenFact
|
|
4204
4204
|
};
|
|
4205
|
-
const n =
|
|
4205
|
+
const n = chunkNBX7WWB6_cjs.tagsPageNouns();
|
|
4206
4206
|
const action = view === "person" || view === "organisation" ? {
|
|
4207
4207
|
label: "Extract",
|
|
4208
|
-
title: `Extract ${
|
|
4208
|
+
title: `Extract ${chunkNBX7WWB6_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
|
|
4209
4209
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
|
|
4210
4210
|
run: () => setExtracting(true),
|
|
4211
4211
|
testId: "tags-extract-entities"
|
|
@@ -4355,7 +4355,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
4355
4355
|
}
|
|
4356
4356
|
),
|
|
4357
4357
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4358
|
-
|
|
4358
|
+
chunkNBX7WWB6_cjs.ExtractEntitiesDialog,
|
|
4359
4359
|
{
|
|
4360
4360
|
open: extracting,
|
|
4361
4361
|
onOpenChange: setExtracting,
|
|
@@ -6358,7 +6358,7 @@ function ConnectedFactsPage({
|
|
|
6358
6358
|
onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
|
|
6359
6359
|
navSlotRef: setNavSlot,
|
|
6360
6360
|
navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6361
|
-
|
|
6361
|
+
chunkNBX7WWB6_cjs.GridRowNavigator,
|
|
6362
6362
|
{
|
|
6363
6363
|
gridApi,
|
|
6364
6364
|
selectedId: editingId,
|
|
@@ -6763,7 +6763,7 @@ function ConnectedPasswordChangeDialog({
|
|
|
6763
6763
|
onRecoveryComplete
|
|
6764
6764
|
}) {
|
|
6765
6765
|
const { notify: notify17 } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
6766
|
-
const getUnmetRequirement =
|
|
6766
|
+
const getUnmetRequirement = chunkEPBFVO4F_cjs.useAuthPages().passwordRules.unmet;
|
|
6767
6767
|
const change = react.usePasswordChange();
|
|
6768
6768
|
const form = react.usePasswordChangeForm({
|
|
6769
6769
|
recoveryMode,
|
|
@@ -6990,7 +6990,7 @@ function ConnectedDangerZone({ renderSubscriptionLink }) {
|
|
|
6990
6990
|
function ConnectedSsoDisconnect() {
|
|
6991
6991
|
const { client } = react.useAccountClient();
|
|
6992
6992
|
const { data: profile } = react.useProfile();
|
|
6993
|
-
const auth =
|
|
6993
|
+
const auth = chunkEPBFVO4F_cjs.useAuthPages();
|
|
6994
6994
|
const { notify: notify17 } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
6995
6995
|
const [open, setOpen] = react$1.useState(false);
|
|
6996
6996
|
const [step, setStep] = react$1.useState("email");
|
|
@@ -10004,7 +10004,7 @@ function ConnectedPeopleMultiSelect({
|
|
|
10004
10004
|
identity: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
10005
10005
|
selected.user ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
10006
10006
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10007
|
-
|
|
10007
|
+
chunkEPBFVO4F_cjs.ConnectedUserEntity,
|
|
10008
10008
|
{
|
|
10009
10009
|
user: selected.user,
|
|
10010
10010
|
size: "xs",
|
|
@@ -10032,7 +10032,7 @@ function ConnectedPeopleMultiSelect({
|
|
|
10032
10032
|
}
|
|
10033
10033
|
),
|
|
10034
10034
|
person.user ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
10035
|
-
|
|
10035
|
+
chunkEPBFVO4F_cjs.ConnectedUserEntity,
|
|
10036
10036
|
{
|
|
10037
10037
|
user: person.user,
|
|
10038
10038
|
size: "xs",
|
|
@@ -10305,13 +10305,13 @@ function ConnectedWorkspaceSettings({
|
|
|
10305
10305
|
const [membersExpanded, setMembersExpanded] = react$1.useState(false);
|
|
10306
10306
|
const [shareOpen, setShareOpen] = react$1.useState(false);
|
|
10307
10307
|
if (!workspace) {
|
|
10308
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunk2GSZG6KA_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
10308
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk2GSZG6KA_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkNBX7WWB6_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
|
|
10309
10309
|
}
|
|
10310
10310
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
10311
10311
|
/* @__PURE__ */ jsxRuntime.jsxs(chunk2GSZG6KA_cjs.WorkspacePageFrame, { testId, children: [
|
|
10312
10312
|
/* @__PURE__ */ jsxRuntime.jsxs(chunk2GSZG6KA_cjs.WorkspaceIdentityPanel, { children: [
|
|
10313
10313
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10314
|
-
|
|
10314
|
+
chunkNBX7WWB6_cjs.EntityIdentityBar,
|
|
10315
10315
|
{
|
|
10316
10316
|
testId: "workspace-identity-bar",
|
|
10317
10317
|
canEdit: isOwner,
|
|
@@ -10328,7 +10328,7 @@ function ConnectedWorkspaceSettings({
|
|
|
10328
10328
|
label: "Name",
|
|
10329
10329
|
value: workspace.name,
|
|
10330
10330
|
placeholder: "Untitled",
|
|
10331
|
-
maxLength:
|
|
10331
|
+
maxLength: chunkNBX7WWB6_cjs.IDENTITY_NAME_MAX_LENGTH,
|
|
10332
10332
|
valueClassName: "truncate text-base font-semibold",
|
|
10333
10333
|
testId: "workspace-home-title",
|
|
10334
10334
|
hideLabel: true,
|
|
@@ -12790,36 +12790,36 @@ function ConnectedSharePointAdminConsentPage({
|
|
|
12790
12790
|
const result = givenResult === void 0 ? queryResult : givenResult;
|
|
12791
12791
|
const { apiBaseUrl } = chunkT6GRWWRY_cjs.useBlocksEnvironment().runtimeConfig;
|
|
12792
12792
|
const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
|
|
12793
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12793
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkMM22MFON_cjs.ConsentCard, { size: "md", children: [
|
|
12794
12794
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12795
|
-
|
|
12795
|
+
chunkMM22MFON_cjs.ConsentHeader,
|
|
12796
12796
|
{
|
|
12797
12797
|
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkVGNCU5JJ_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
|
|
12798
12798
|
title: "Approve ARBI for SharePoint access",
|
|
12799
12799
|
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."
|
|
12800
12800
|
}
|
|
12801
12801
|
),
|
|
12802
|
-
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12803
|
-
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12804
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
12802
|
+
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_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." }),
|
|
12803
|
+
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_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." }),
|
|
12804
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkMM22MFON_cjs.ConsentSection, { title: "What you are approving", children: [
|
|
12805
12805
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12806
|
-
|
|
12806
|
+
chunkMM22MFON_cjs.ConsentBulletList,
|
|
12807
12807
|
{
|
|
12808
12808
|
items: [
|
|
12809
12809
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12810
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12810
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
|
|
12811
12811
|
" \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."
|
|
12812
12812
|
] }),
|
|
12813
12813
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12814
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12814
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
|
|
12815
12815
|
" \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
|
|
12816
12816
|
] })
|
|
12817
12817
|
]
|
|
12818
12818
|
}
|
|
12819
12819
|
),
|
|
12820
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12820
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_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." }),
|
|
12821
12821
|
/* @__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" }) }),
|
|
12822
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12822
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_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." })
|
|
12823
12823
|
] })
|
|
12824
12824
|
] }) });
|
|
12825
12825
|
}
|
|
@@ -15534,7 +15534,7 @@ function ConnectedWorkspaceList({
|
|
|
15534
15534
|
else void openWorkspace(workspace.external_id, { name: workspace.name });
|
|
15535
15535
|
};
|
|
15536
15536
|
const createDisabledReason = list.canCreateProjects === false ? react.PROJECT_CREATION_DENIED_REASON : void 0;
|
|
15537
|
-
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15537
|
+
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkNBX7WWB6_cjs.LoadingIndicator, { message: "Loading workspaces..." });
|
|
15538
15538
|
if (list.error) {
|
|
15539
15539
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15540
15540
|
chunkZ4KXF7WS_cjs.HomeLoadError,
|
|
@@ -15607,7 +15607,7 @@ function ConnectedWorkspaceList({
|
|
|
15607
15607
|
workspaceState
|
|
15608
15608
|
}
|
|
15609
15609
|
) })
|
|
15610
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15610
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkNBX7WWB6_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkZ4KXF7WS_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15611
15611
|
WorkspaceTableView,
|
|
15612
15612
|
{
|
|
15613
15613
|
list,
|
|
@@ -15680,7 +15680,7 @@ function ProjectsListPage({
|
|
|
15680
15680
|
};
|
|
15681
15681
|
const { openProject } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
15682
15682
|
const [search, setSearch] = react$1.useState("");
|
|
15683
|
-
const { projects, isLoading } =
|
|
15683
|
+
const { projects, isLoading } = chunkXXI3EIEO_cjs.useProjectSummaries();
|
|
15684
15684
|
const rows = react$1.useMemo(() => {
|
|
15685
15685
|
const q = search.trim().toLowerCase();
|
|
15686
15686
|
if (!q) return projects;
|
|
@@ -15751,7 +15751,7 @@ function ProjectsListPage({
|
|
|
15751
15751
|
}
|
|
15752
15752
|
),
|
|
15753
15753
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15754
|
-
|
|
15754
|
+
chunkNBX7WWB6_cjs.Toolbar,
|
|
15755
15755
|
{
|
|
15756
15756
|
search,
|
|
15757
15757
|
onSearch: setSearch,
|
|
@@ -15939,7 +15939,7 @@ function ProjectDetailsForm({
|
|
|
15939
15939
|
const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
|
|
15940
15940
|
const { notify: notify17 } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
15941
15941
|
const update = react.useUpdateProjectFields();
|
|
15942
|
-
const workspace =
|
|
15942
|
+
const workspace = chunkXXI3EIEO_cjs.primaryProjectWorkspace(project);
|
|
15943
15943
|
const { data: members = [] } = react.useWorkspaceUsers(workspace?.id);
|
|
15944
15944
|
const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
|
|
15945
15945
|
const currency = project.budget?.currency ?? "GBP";
|
|
@@ -16064,7 +16064,7 @@ var COMPACT_BELOW = 132;
|
|
|
16064
16064
|
var NO_DOCUMENTS = [];
|
|
16065
16065
|
function useFilesWorkspace() {
|
|
16066
16066
|
const { workspaceId, userId, live } = chunkKGAYUFXD_cjs.useConnectedWorkspace();
|
|
16067
|
-
const { members, role } =
|
|
16067
|
+
const { members, role } = chunkCUSOXCBV_cjs.useConnectedWorkspaceRole();
|
|
16068
16068
|
const { data: workspaces } = react.useWorkspaces({ enabled: live });
|
|
16069
16069
|
const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
|
|
16070
16070
|
return {
|
|
@@ -16998,11 +16998,11 @@ function ConnectedProjectPage({
|
|
|
16998
16998
|
figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
|
|
16999
16999
|
threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
|
|
17000
17000
|
};
|
|
17001
|
-
const { project, usage, isLoading } =
|
|
17001
|
+
const { project, usage, isLoading } = chunkXXI3EIEO_cjs.useProjectSummary(projectId);
|
|
17002
17002
|
const { workspaceId } = chunkKGAYUFXD_cjs.useConnectedWorkspace();
|
|
17003
17003
|
const { notify: notify17 } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
17004
17004
|
const selectWorkspace = chunkCMYJEIZB_cjs.useSelectWorkspace();
|
|
17005
|
-
const workspace = project ?
|
|
17005
|
+
const workspace = project ? chunkXXI3EIEO_cjs.primaryProjectWorkspace(project) : void 0;
|
|
17006
17006
|
const open = !!workspace && workspace.id === workspaceId;
|
|
17007
17007
|
react$1.useEffect(() => {
|
|
17008
17008
|
if (!workspace || workspace.id === workspaceId) return;
|
|
@@ -17897,7 +17897,7 @@ function recentConversations(conversations) {
|
|
|
17897
17897
|
return [...conversations].sort((a, b) => time(b.updated_at) - time(a.updated_at)).slice(0, RECENT_ROWS).map((c) => ({
|
|
17898
17898
|
id: c.external_id,
|
|
17899
17899
|
title: c.title?.trim() || "Untitled thread",
|
|
17900
|
-
subtitle: c.status ? [
|
|
17900
|
+
subtitle: c.status ? [chunkMM22MFON_cjs.STATUS_LABELS[chunkMM22MFON_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"}`,
|
|
17901
17901
|
time: timeAndDate(c.updated_at)
|
|
17902
17902
|
}));
|
|
17903
17903
|
}
|
|
@@ -21655,7 +21655,7 @@ function EventEditorDialog({
|
|
|
21655
21655
|
const { notify: notify17, runtimeConfig } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
21656
21656
|
const attachmentDocuments = documents.map((document2) => ({
|
|
21657
21657
|
doc_id: document2.external_id,
|
|
21658
|
-
title:
|
|
21658
|
+
title: chunkCUSOXCBV_cjs.toWorkflowFieldDocument(document2).title,
|
|
21659
21659
|
url: chunk725OETK3_cjs.buildDeepLinkUrl(
|
|
21660
21660
|
{ workspaceId: workspaceId ?? void 0, documentId: document2.external_id },
|
|
21661
21661
|
runtimeConfig.deploymentDomain
|
|
@@ -26619,7 +26619,7 @@ function useBatchCompleteToasts() {
|
|
|
26619
26619
|
}
|
|
26620
26620
|
}, AI_FIELDS_NOTICE_WINDOW_MS);
|
|
26621
26621
|
} else if (message.batch_type === "entity_extract") {
|
|
26622
|
-
say(`${
|
|
26622
|
+
say(`${chunkNBX7WWB6_cjs.entitiesPhrase()} extracted from ${chunkNBX7WWB6_cjs.documentCount(docIds.length)}`, "success", {
|
|
26623
26623
|
...openTags && { action: { label: "View", onClick: openTags } }
|
|
26624
26624
|
});
|
|
26625
26625
|
} else if (message.batch_type === "upload") {
|
|
@@ -28115,12 +28115,12 @@ var DocumentReviewCard = react$1.lazy(
|
|
|
28115
28115
|
() => import('../DocumentReviewCard-VFNMJSK7.cjs').then((module) => ({ default: module.DocumentReviewCard }))
|
|
28116
28116
|
);
|
|
28117
28117
|
var ConnectedDocumentViewer = react$1.lazy(
|
|
28118
|
-
() => import('../ConnectedDocumentViewer-
|
|
28118
|
+
() => import('../ConnectedDocumentViewer-VVYEBNAK.cjs').then((module) => ({
|
|
28119
28119
|
default: module.ConnectedDocumentViewer
|
|
28120
28120
|
}))
|
|
28121
28121
|
);
|
|
28122
28122
|
function defaultReviewCard(props) {
|
|
28123
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28123
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkNBX7WWB6_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
|
|
28124
28124
|
}
|
|
28125
28125
|
function ConnectedFilesPage({
|
|
28126
28126
|
isModal = false,
|
|
@@ -28166,7 +28166,7 @@ function ConnectedFilesPage({
|
|
|
28166
28166
|
const deleteDocuments = react.useDeleteDocuments();
|
|
28167
28167
|
const isDocumentsPending = isLoading && documents.length === 0;
|
|
28168
28168
|
const { workspaceId, userId, live } = chunkKGAYUFXD_cjs.useConnectedWorkspace();
|
|
28169
|
-
const { role, members } =
|
|
28169
|
+
const { role, members } = chunkCUSOXCBV_cjs.useConnectedWorkspaceRole();
|
|
28170
28170
|
const { data: workspaces } = react.useWorkspaces({ enabled: live });
|
|
28171
28171
|
const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
|
|
28172
28172
|
const isMember = role != null;
|
|
@@ -28656,7 +28656,7 @@ function ConnectedFilesPage({
|
|
|
28656
28656
|
viewMode === "grid" ? (
|
|
28657
28657
|
// ‹ n / N › over the table's displayed rows; a step opens the document.
|
|
28658
28658
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28659
|
-
|
|
28659
|
+
chunkNBX7WWB6_cjs.GridRowNavigator,
|
|
28660
28660
|
{
|
|
28661
28661
|
gridApi,
|
|
28662
28662
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -29800,7 +29800,7 @@ function ProcessingSection({
|
|
|
29800
29800
|
onDelete
|
|
29801
29801
|
}) {
|
|
29802
29802
|
return /* @__PURE__ */ jsxRuntime.jsx(chunkVGNCU5JJ_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29803
|
-
|
|
29803
|
+
chunkMM22MFON_cjs.UploadTaskList,
|
|
29804
29804
|
{
|
|
29805
29805
|
tasks,
|
|
29806
29806
|
title: "",
|
|
@@ -31440,7 +31440,7 @@ function ConnectedRecipientSelector({
|
|
|
31440
31440
|
setSelectorOpen(false);
|
|
31441
31441
|
setSearchValue("");
|
|
31442
31442
|
};
|
|
31443
|
-
const identity = (user) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
31443
|
+
const identity = (user) => /* @__PURE__ */ jsxRuntime.jsx(chunkEPBFVO4F_cjs.ConnectedUserEntity, { user, size: "xs", variant: "pill", showPresence: true, interactive: false });
|
|
31444
31444
|
const selected = selectedRecipients.flatMap((id) => {
|
|
31445
31445
|
const user = getUserById(id);
|
|
31446
31446
|
if (!user) return [];
|
|
@@ -31684,7 +31684,7 @@ function renderMessengerUser(user, variant) {
|
|
|
31684
31684
|
switch (variant) {
|
|
31685
31685
|
case "avatar":
|
|
31686
31686
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31687
|
-
|
|
31687
|
+
chunkEPBFVO4F_cjs.ConnectedUserEntity,
|
|
31688
31688
|
{
|
|
31689
31689
|
user,
|
|
31690
31690
|
size: "lg",
|
|
@@ -31695,7 +31695,7 @@ function renderMessengerUser(user, variant) {
|
|
|
31695
31695
|
);
|
|
31696
31696
|
case "small-avatar":
|
|
31697
31697
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31698
|
-
|
|
31698
|
+
chunkEPBFVO4F_cjs.ConnectedUserEntity,
|
|
31699
31699
|
{
|
|
31700
31700
|
user,
|
|
31701
31701
|
size: "sm",
|
|
@@ -31705,9 +31705,9 @@ function renderMessengerUser(user, variant) {
|
|
|
31705
31705
|
}
|
|
31706
31706
|
);
|
|
31707
31707
|
case "author":
|
|
31708
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31708
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkEPBFVO4F_cjs.ConnectedUserEntity, { user, size: "sm", variant: "pill" });
|
|
31709
31709
|
case "member":
|
|
31710
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31710
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkEPBFVO4F_cjs.ConnectedUserEntity, { user, size: "sm", variant: "pill", interactive: false });
|
|
31711
31711
|
}
|
|
31712
31712
|
}
|
|
31713
31713
|
var renderMessageBody = (text2, context) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedChatMessageBody, { text: text2, workspaceId: context.workspaceId });
|
|
@@ -32546,7 +32546,7 @@ function ConnectedConfigForm({ availableModels, ...rest }) {
|
|
|
32546
32546
|
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
|
|
32547
32547
|
[]
|
|
32548
32548
|
);
|
|
32549
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32549
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
|
|
32550
32550
|
}
|
|
32551
32551
|
function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
|
|
32552
32552
|
const { notify: notify17 } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
@@ -32663,7 +32663,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
32663
32663
|
}, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify17]);
|
|
32664
32664
|
if (editAgent) {
|
|
32665
32665
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32666
|
-
|
|
32666
|
+
chunkMM22MFON_cjs.AgentEditView,
|
|
32667
32667
|
{
|
|
32668
32668
|
agentName: editAgent.name,
|
|
32669
32669
|
config: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -32679,7 +32679,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
32679
32679
|
}
|
|
32680
32680
|
if (view === "main") {
|
|
32681
32681
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32682
|
-
|
|
32682
|
+
chunkMM22MFON_cjs.AgentMainView,
|
|
32683
32683
|
{
|
|
32684
32684
|
onConnectExternal: () => setView("connect"),
|
|
32685
32685
|
config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -32695,11 +32695,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
32695
32695
|
}
|
|
32696
32696
|
if (result) {
|
|
32697
32697
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32698
|
-
|
|
32698
|
+
chunkMM22MFON_cjs.AgentCreatedView,
|
|
32699
32699
|
{
|
|
32700
32700
|
email: result.email,
|
|
32701
32701
|
signingKey: result.signingKey,
|
|
32702
|
-
instructions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32702
|
+
instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
|
|
32703
32703
|
config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
|
|
32704
32704
|
isConfigOpen: configOpen,
|
|
32705
32705
|
onToggleConfig: () => setConfigOpen((v) => !v),
|
|
@@ -32708,7 +32708,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
32708
32708
|
);
|
|
32709
32709
|
}
|
|
32710
32710
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32711
|
-
|
|
32711
|
+
chunkMM22MFON_cjs.AgentCreateView,
|
|
32712
32712
|
{
|
|
32713
32713
|
name,
|
|
32714
32714
|
onNameChange: setName,
|
|
@@ -34521,14 +34521,14 @@ var referencesOf = (inputs) => {
|
|
|
34521
34521
|
return value?.documents ?? [];
|
|
34522
34522
|
};
|
|
34523
34523
|
var PROMPT_BINDINGS = {
|
|
34524
|
-
[
|
|
34524
|
+
[chunkMM22MFON_cjs.GENERATE_IMAGE_ID]: {
|
|
34525
34525
|
attachScope: false,
|
|
34526
34526
|
tools: (inputs) => {
|
|
34527
34527
|
const aspectRatio = typeof inputs.aspect_ratio === "string" ? inputs.aspect_ratio : "";
|
|
34528
34528
|
return {
|
|
34529
34529
|
retrieval_chunk: browser.buildRetrievalChunkTool([]),
|
|
34530
34530
|
retrieval_full_context: browser.buildRetrievalFullContextTool(referencesOf(inputs)),
|
|
34531
|
-
...aspectRatio && aspectRatio !==
|
|
34531
|
+
...aspectRatio && aspectRatio !== chunkMM22MFON_cjs.IMAGE_ASPECT_AUTO ? {
|
|
34532
34532
|
image_generation: {
|
|
34533
34533
|
name: "image_generation",
|
|
34534
34534
|
description: "image generation",
|
|
@@ -34549,19 +34549,19 @@ var text = (inputs, name) => {
|
|
|
34549
34549
|
function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
|
|
34550
34550
|
const { data: documents = [] } = react.useDocuments();
|
|
34551
34551
|
const { data: workspaceTags = [] } = react.useTags();
|
|
34552
|
-
const tags = react$1.useMemo(() =>
|
|
34552
|
+
const tags = react$1.useMemo(() => chunkIH2WZUTL_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
|
|
34553
34553
|
const createTag = react.useCreateTag();
|
|
34554
34554
|
const updateTag = react.useUpdateTag();
|
|
34555
34555
|
const generate = react.useGenerateDocTags();
|
|
34556
|
-
const { create: createTask } =
|
|
34556
|
+
const { create: createTask } = chunkXXI3EIEO_cjs.useWorkflowTasks();
|
|
34557
34557
|
const applyModel = react.useApplyChatModel();
|
|
34558
34558
|
const session = react.useArbiSessionStore();
|
|
34559
34559
|
const { notify: notify17, openFiles, openNewConversation } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
34560
34560
|
const annotate = react$1.useCallback(
|
|
34561
34561
|
async ({ inputs, scope }) => {
|
|
34562
34562
|
const description = text(inputs, "description");
|
|
34563
|
-
const name = text(inputs, "name") ||
|
|
34564
|
-
const matching =
|
|
34563
|
+
const name = text(inputs, "name") || chunkMM22MFON_cjs.deriveAnnotationName(description);
|
|
34564
|
+
const matching = chunkIH2WZUTL_cjs.matchWorkflowScope(documents, scope);
|
|
34565
34565
|
if (!name || !description || matching.length === 0) return;
|
|
34566
34566
|
try {
|
|
34567
34567
|
const existing = tags.find((t) => t.name.toLowerCase() === name.toLowerCase());
|
|
@@ -34604,9 +34604,9 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
|
|
|
34604
34604
|
async (launch) => {
|
|
34605
34605
|
const { workflow, inputs, scope, agentId } = launch;
|
|
34606
34606
|
if (workflow.run.kind === "operation") {
|
|
34607
|
-
if (workflow.id ===
|
|
34607
|
+
if (workflow.id === chunkMM22MFON_cjs.ANNOTATE_ID) {
|
|
34608
34608
|
await annotate(launch);
|
|
34609
|
-
|
|
34609
|
+
chunkMM22MFON_cjs.recordWorkflowUse(workflow.id);
|
|
34610
34610
|
return;
|
|
34611
34611
|
}
|
|
34612
34612
|
throw new Error(`No host handler for workflow "${workflow.id}"`);
|
|
@@ -34616,7 +34616,7 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
|
|
|
34616
34616
|
);
|
|
34617
34617
|
const prompt = chunk555BS22J_cjs.composeWorkflowPrompt(workflow, inputs, { documentTitles });
|
|
34618
34618
|
if (!prompt) return;
|
|
34619
|
-
|
|
34619
|
+
chunkMM22MFON_cjs.recordWorkflowUse(workflow.id);
|
|
34620
34620
|
if (agentId) {
|
|
34621
34621
|
try {
|
|
34622
34622
|
const created = await createTask({
|
|
@@ -34661,7 +34661,7 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
|
|
|
34661
34661
|
const binding = PROMPT_BINDINGS[workflow.id];
|
|
34662
34662
|
if (!inPlace) openNewConversation();
|
|
34663
34663
|
if (binding?.attachScope !== false && !chunk555BS22J_cjs.isEmptyWorkflowScope(scope)) {
|
|
34664
|
-
const ids =
|
|
34664
|
+
const ids = chunkIH2WZUTL_cjs.matchWorkflowScope(documents, scope).map((d) => d.external_id);
|
|
34665
34665
|
if (ids.length > 0) {
|
|
34666
34666
|
session.setConversationDocuments(
|
|
34667
34667
|
inPlace ? session.getState().conversationId ?? "new" : "new",
|
|
@@ -34696,30 +34696,30 @@ function ConnectedWorkflowStart({
|
|
|
34696
34696
|
const onLaunch = useLaunchWorkflow({ landing });
|
|
34697
34697
|
const { openUpload } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
34698
34698
|
const { data: workspaceTags = [] } = react.useTags();
|
|
34699
|
-
const tags = react$1.useMemo(() =>
|
|
34699
|
+
const tags = react$1.useMemo(() => chunkIH2WZUTL_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
|
|
34700
34700
|
const fieldPlaceholder = react$1.useCallback(
|
|
34701
34701
|
(field, inputs, workflow) => {
|
|
34702
|
-
if (workflow.id !==
|
|
34703
|
-
const derived =
|
|
34702
|
+
if (workflow.id !== chunkMM22MFON_cjs.ANNOTATE_ID || field.name !== "name") return void 0;
|
|
34703
|
+
const derived = chunkMM22MFON_cjs.deriveAnnotationName(String(inputs.description ?? ""));
|
|
34704
34704
|
return derived ? `Otherwise \u201C${derived}\u201D` : "Taken from the description";
|
|
34705
34705
|
},
|
|
34706
34706
|
[]
|
|
34707
34707
|
);
|
|
34708
34708
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
34709
|
-
|
|
34709
|
+
chunkCUSOXCBV_cjs.ConnectedWorkflowLauncher,
|
|
34710
34710
|
{
|
|
34711
34711
|
...rest,
|
|
34712
34712
|
workflows,
|
|
34713
34713
|
onLaunch,
|
|
34714
|
-
renderIcon:
|
|
34714
|
+
renderIcon: chunkMM22MFON_cjs.renderWorkflowIcon,
|
|
34715
34715
|
onAddFiles: openUpload,
|
|
34716
34716
|
agentLabels: AGENT_LABELS,
|
|
34717
34717
|
addFilesAction,
|
|
34718
34718
|
fieldPlaceholder,
|
|
34719
|
-
submitLabel: ({ workflow, matchedCount }) => workflow.id ===
|
|
34719
|
+
submitLabel: ({ workflow, matchedCount }) => workflow.id === chunkMM22MFON_cjs.ANNOTATE_ID && matchedCount !== null ? `Annotate ${matchedCount} document${matchedCount !== 1 ? "s" : ""}` : void 0,
|
|
34720
34720
|
renderNotice: ({ workflow, inputs }) => {
|
|
34721
|
-
if (workflow.id !==
|
|
34722
|
-
const name = String(inputs.name ?? "").trim() ||
|
|
34721
|
+
if (workflow.id !== chunkMM22MFON_cjs.ANNOTATE_ID) return null;
|
|
34722
|
+
const name = String(inputs.name ?? "").trim() || chunkMM22MFON_cjs.deriveAnnotationName(String(inputs.description ?? ""));
|
|
34723
34723
|
const existing = name ? tags.find((t) => t.name.toLowerCase() === name.toLowerCase()) : void 0;
|
|
34724
34724
|
if (!existing) return null;
|
|
34725
34725
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -34756,9 +34756,9 @@ function resolveLaunchInputs(workflow, request) {
|
|
|
34756
34756
|
return { ...fromContext, ...fromScope, ...request.inputs };
|
|
34757
34757
|
}
|
|
34758
34758
|
function useWorkflowLaunch() {
|
|
34759
|
-
const { skills } =
|
|
34759
|
+
const { skills } = chunkXXI3EIEO_cjs.useWorkflowDefinitions();
|
|
34760
34760
|
const launch = react$1.useCallback(
|
|
34761
|
-
(workflowId, options2 = {}) =>
|
|
34761
|
+
(workflowId, options2 = {}) => chunkMM22MFON_cjs.openWorkflowLaunch({ workflowId, ...options2 }),
|
|
34762
34762
|
[]
|
|
34763
34763
|
);
|
|
34764
34764
|
const itemsFor = react$1.useCallback(
|
|
@@ -34787,9 +34787,9 @@ function useWorkflowLaunch() {
|
|
|
34787
34787
|
return { launch, itemsFor, scopeItemsFor };
|
|
34788
34788
|
}
|
|
34789
34789
|
function Inner() {
|
|
34790
|
-
const request =
|
|
34791
|
-
const close =
|
|
34792
|
-
const { skills } =
|
|
34790
|
+
const request = chunkMM22MFON_cjs.useWorkflowLaunchRequest();
|
|
34791
|
+
const close = chunkMM22MFON_cjs.closeWorkflowLaunch;
|
|
34792
|
+
const { skills } = chunkXXI3EIEO_cjs.useWorkflowDefinitions();
|
|
34793
34793
|
const run = useLaunchWorkflow({ landing: request?.landing });
|
|
34794
34794
|
const workflow = skills.find((w) => w.id === request?.workflowId);
|
|
34795
34795
|
const inputs = react$1.useMemo(
|
|
@@ -34826,7 +34826,7 @@ function Inner() {
|
|
|
34826
34826
|
);
|
|
34827
34827
|
}
|
|
34828
34828
|
function WorkflowLaunchHost() {
|
|
34829
|
-
return
|
|
34829
|
+
return chunkMM22MFON_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
|
|
34830
34830
|
}
|
|
34831
34831
|
function isNeedsConfirmationDetail(detail) {
|
|
34832
34832
|
return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
|
|
@@ -35203,7 +35203,7 @@ function WorkflowRunStatusCell({ conversation }) {
|
|
|
35203
35203
|
return person ? ui.getUserDisplayName(person) : void 0;
|
|
35204
35204
|
};
|
|
35205
35205
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
35206
|
-
|
|
35206
|
+
chunkMM22MFON_cjs.WorkflowRunStatus,
|
|
35207
35207
|
{
|
|
35208
35208
|
steps,
|
|
35209
35209
|
states,
|
|
@@ -35237,7 +35237,7 @@ function ConversationStatusCell({ conversation }) {
|
|
|
35237
35237
|
if (conversation.plan?.steps?.length && !isLiveGenerating)
|
|
35238
35238
|
return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
|
|
35239
35239
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
35240
|
-
|
|
35240
|
+
chunkMM22MFON_cjs.ThreadStatusLine,
|
|
35241
35241
|
{
|
|
35242
35242
|
state: threadStateOf(conversation, isLiveGenerating),
|
|
35243
35243
|
className: "h-full",
|
|
@@ -35724,7 +35724,7 @@ function ConnectedTaskStartDialog({
|
|
|
35724
35724
|
};
|
|
35725
35725
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
35726
35726
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35727
|
-
|
|
35727
|
+
chunkMM22MFON_cjs.TaskStartDialog,
|
|
35728
35728
|
{
|
|
35729
35729
|
open: open && !later,
|
|
35730
35730
|
onOpenChange: (next) => {
|
|
@@ -35749,14 +35749,14 @@ function ConnectedTaskStartDialog({
|
|
|
35749
35749
|
}
|
|
35750
35750
|
),
|
|
35751
35751
|
later && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35752
|
-
|
|
35752
|
+
chunkXXI3EIEO_cjs.ConnectedTaskComposer,
|
|
35753
35753
|
{
|
|
35754
35754
|
open: true,
|
|
35755
35755
|
onOpenChange: (next) => !next && setLater(null),
|
|
35756
35756
|
kind: "workflow",
|
|
35757
35757
|
startLater: true,
|
|
35758
35758
|
initialPrompt: later.prompt,
|
|
35759
|
-
initialWorkflowId: later.todo ?
|
|
35759
|
+
initialWorkflowId: later.todo ? chunkMM22MFON_cjs.REMIND_TASK_ID : void 0,
|
|
35760
35760
|
initialShared: later.shared,
|
|
35761
35761
|
launchWorkflow: later.workflow
|
|
35762
35762
|
}
|
|
@@ -35770,7 +35770,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
35770
35770
|
const [later, setLater] = react$1.useState(null);
|
|
35771
35771
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
35772
35772
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35773
|
-
|
|
35773
|
+
chunkMM22MFON_cjs.ThreadLauncher,
|
|
35774
35774
|
{
|
|
35775
35775
|
workflows: task.workflows,
|
|
35776
35776
|
people: task.people,
|
|
@@ -35800,14 +35800,14 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
35800
35800
|
}
|
|
35801
35801
|
),
|
|
35802
35802
|
later && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35803
|
-
|
|
35803
|
+
chunkXXI3EIEO_cjs.ConnectedTaskComposer,
|
|
35804
35804
|
{
|
|
35805
35805
|
open: true,
|
|
35806
35806
|
onOpenChange: (next) => !next && setLater(null),
|
|
35807
35807
|
kind: "workflow",
|
|
35808
35808
|
startLater: true,
|
|
35809
35809
|
initialPrompt: later.prompt,
|
|
35810
|
-
initialWorkflowId: later.todo ?
|
|
35810
|
+
initialWorkflowId: later.todo ? chunkMM22MFON_cjs.REMIND_TASK_ID : void 0,
|
|
35811
35811
|
initialShared: later.shared,
|
|
35812
35812
|
launchWorkflow: later.workflow
|
|
35813
35813
|
}
|
|
@@ -35836,13 +35836,13 @@ function ConnectedNewThreadDialog({
|
|
|
35836
35836
|
});
|
|
35837
35837
|
const parentOptions = react$1.useMemo(() => {
|
|
35838
35838
|
const leaf = { external_id: "__new__" };
|
|
35839
|
-
return
|
|
35839
|
+
return chunkMM22MFON_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
|
|
35840
35840
|
id: t.external_id,
|
|
35841
35841
|
name: t.title?.trim() || "Untitled task"
|
|
35842
35842
|
}));
|
|
35843
35843
|
}, [tasks]);
|
|
35844
35844
|
const submit = async (values) => {
|
|
35845
|
-
const request =
|
|
35845
|
+
const request = chunkMM22MFON_cjs.newThreadToRequest(values);
|
|
35846
35846
|
try {
|
|
35847
35847
|
if (!workspaceId) throw new Error("Open a workspace to add a task.");
|
|
35848
35848
|
if (!request.startAssistant && request.todo) {
|
|
@@ -35883,7 +35883,7 @@ function ConnectedNewThreadDialog({
|
|
|
35883
35883
|
}
|
|
35884
35884
|
};
|
|
35885
35885
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
35886
|
-
|
|
35886
|
+
chunkMM22MFON_cjs.NewThreadDialog,
|
|
35887
35887
|
{
|
|
35888
35888
|
open,
|
|
35889
35889
|
onOpenChange,
|
|
@@ -35899,7 +35899,7 @@ function ConnectedNewThreadDialog({
|
|
|
35899
35899
|
var START_VISIBLE = 8;
|
|
35900
35900
|
var START_SEARCH_ABOVE = 8;
|
|
35901
35901
|
function ConnectedConversationStart() {
|
|
35902
|
-
const { start } =
|
|
35902
|
+
const { start } = chunkXXI3EIEO_cjs.useWorkflowDefinitions();
|
|
35903
35903
|
const { openSkillsBrowser } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
35904
35904
|
const [query, setQuery] = react$1.useState("");
|
|
35905
35905
|
const q = query.trim().toLowerCase();
|
|
@@ -35914,7 +35914,7 @@ function ConnectedConversationStart() {
|
|
|
35914
35914
|
const browse = openSkillsBrowser ? [
|
|
35915
35915
|
{
|
|
35916
35916
|
id: "browse-all",
|
|
35917
|
-
iconNode:
|
|
35917
|
+
iconNode: chunkMM22MFON_cjs.renderWorkflowIcon("library"),
|
|
35918
35918
|
title: "Browse all",
|
|
35919
35919
|
description: "See every skill, make a copy, add your own",
|
|
35920
35920
|
onSelect: () => openSkillsBrowser(),
|
|
@@ -35958,7 +35958,7 @@ function parseTypedSkill(draft) {
|
|
|
35958
35958
|
return m ? { slug: m[1].toLowerCase(), text: (m[2] ?? "").trim() } : null;
|
|
35959
35959
|
}
|
|
35960
35960
|
function useSlashSkillWorkflows({ landing }) {
|
|
35961
|
-
const { skills, skillsEnabled } =
|
|
35961
|
+
const { skills, skillsEnabled } = chunkXXI3EIEO_cjs.useWorkflowDefinitions();
|
|
35962
35962
|
const { commands } = react.useBuiltinCommands();
|
|
35963
35963
|
const [active, setActive] = react$1.useState(null);
|
|
35964
35964
|
const open = (workflow, text2) => {
|
|
@@ -36064,7 +36064,7 @@ function AgentBarShell({
|
|
|
36064
36064
|
}, [isStepsExpanded, steps]);
|
|
36065
36065
|
const visibleStepCount = react$1.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
|
|
36066
36066
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
36067
|
-
|
|
36067
|
+
chunkMM22MFON_cjs.AgentBar,
|
|
36068
36068
|
{
|
|
36069
36069
|
className,
|
|
36070
36070
|
testId,
|
|
@@ -36076,7 +36076,7 @@ function AgentBarShell({
|
|
|
36076
36076
|
drawerRef: scrollRef,
|
|
36077
36077
|
onDrawerScroll: handleDrawerScroll,
|
|
36078
36078
|
drawer: /* @__PURE__ */ jsxRuntime.jsx(
|
|
36079
|
-
|
|
36079
|
+
chunkEPBFVO4F_cjs.AgentSteps,
|
|
36080
36080
|
{
|
|
36081
36081
|
steps: stepList,
|
|
36082
36082
|
isStreaming,
|
|
@@ -36128,7 +36128,7 @@ function AgentControlBar({
|
|
|
36128
36128
|
const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
|
|
36129
36129
|
const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
|
|
36130
36130
|
const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
36131
|
-
|
|
36131
|
+
chunkEPBFVO4F_cjs.MessageLiveSeconds,
|
|
36132
36132
|
{
|
|
36133
36133
|
...liveTimer,
|
|
36134
36134
|
offsetSeconds: currentStep?.t ?? 0,
|
|
@@ -36137,7 +36137,7 @@ function AgentControlBar({
|
|
|
36137
36137
|
}
|
|
36138
36138
|
);
|
|
36139
36139
|
const status = /* @__PURE__ */ jsxRuntime.jsx(
|
|
36140
|
-
|
|
36140
|
+
chunkMM22MFON_cjs.AgentBarStatus,
|
|
36141
36141
|
{
|
|
36142
36142
|
state: showState ? controlState : void 0,
|
|
36143
36143
|
stateLabel: STATE_LABEL[controlState],
|
|
@@ -36179,7 +36179,7 @@ function AgentControlBar({
|
|
|
36179
36179
|
];
|
|
36180
36180
|
const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
36181
36181
|
onStop && /* @__PURE__ */ jsxRuntime.jsx(
|
|
36182
|
-
|
|
36182
|
+
chunkMM22MFON_cjs.AgentBarIconButton,
|
|
36183
36183
|
{
|
|
36184
36184
|
onClick: onStop,
|
|
36185
36185
|
title: "Stop",
|
|
@@ -36188,22 +36188,22 @@ function AgentControlBar({
|
|
|
36188
36188
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
|
|
36189
36189
|
}
|
|
36190
36190
|
),
|
|
36191
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36191
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.AgentBarMenu, { items: menuItems })
|
|
36192
36192
|
] });
|
|
36193
36193
|
const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
|
|
36194
36194
|
(message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
|
|
36195
36195
|
);
|
|
36196
36196
|
const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
|
|
36197
|
-
const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
36197
|
+
const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkMM22MFON_cjs.AgentBarNotes, { children: [
|
|
36198
36198
|
queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
36199
|
-
|
|
36199
|
+
chunkMM22MFON_cjs.AgentBarQueuedNote,
|
|
36200
36200
|
{
|
|
36201
36201
|
text: message.content ?? "",
|
|
36202
36202
|
isAcknowledged: message.acknowledged
|
|
36203
36203
|
},
|
|
36204
36204
|
index
|
|
36205
36205
|
)),
|
|
36206
|
-
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
36206
|
+
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
|
|
36207
36207
|
] }) : null;
|
|
36208
36208
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
36209
36209
|
AgentBarShell,
|
|
@@ -36408,8 +36408,8 @@ function ConnectedThreadsPage({
|
|
|
36408
36408
|
const tasks = useStableRecencyOrder(listed);
|
|
36409
36409
|
const updateConversation = react.useUpdateConversation();
|
|
36410
36410
|
const deleteConversation = react.useDeleteConversation();
|
|
36411
|
-
const people =
|
|
36412
|
-
const renderPerson =
|
|
36411
|
+
const people = chunkXXI3EIEO_cjs.useTaskPeople();
|
|
36412
|
+
const renderPerson = chunkXXI3EIEO_cjs.useRenderTaskPerson();
|
|
36413
36413
|
const canEditShared = react.useCanEditShared();
|
|
36414
36414
|
const isWorkspaceOwner = react.useIsWorkspaceOwner();
|
|
36415
36415
|
const { data: agents = [] } = react.useAgents();
|
|
@@ -36647,7 +36647,7 @@ function ConnectedThreadsPage({
|
|
|
36647
36647
|
"data-testid": mode === "tasks" ? "tasks-page" : "threads-page",
|
|
36648
36648
|
children: [
|
|
36649
36649
|
/* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: mode === "threads" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
36650
|
-
|
|
36650
|
+
chunkMM22MFON_cjs.ConversationListView,
|
|
36651
36651
|
{
|
|
36652
36652
|
showHeader,
|
|
36653
36653
|
conversations: tasks,
|
|
@@ -36667,7 +36667,7 @@ function ConnectedThreadsPage({
|
|
|
36667
36667
|
renderLabels: threadLabels.renderLabels,
|
|
36668
36668
|
labelText: threadLabels.labelText,
|
|
36669
36669
|
renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
36670
|
-
|
|
36670
|
+
chunkMM22MFON_cjs.ConversationTurnSpeaker,
|
|
36671
36671
|
{
|
|
36672
36672
|
variant: "icon",
|
|
36673
36673
|
role: row2.last_message_role,
|
|
@@ -36689,7 +36689,7 @@ function ConnectedThreadsPage({
|
|
|
36689
36689
|
footer: /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadLauncher, { autoFocus: focusLauncher })
|
|
36690
36690
|
}
|
|
36691
36691
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
36692
|
-
|
|
36692
|
+
chunkMM22MFON_cjs.TaskInbox,
|
|
36693
36693
|
{
|
|
36694
36694
|
tasks,
|
|
36695
36695
|
isLoading,
|
|
@@ -36733,7 +36733,7 @@ function ConnectedThreadsPage({
|
|
|
36733
36733
|
initialParentId: parentForNew
|
|
36734
36734
|
}
|
|
36735
36735
|
),
|
|
36736
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36736
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkXXI3EIEO_cjs.ConnectedTaskComposer, { open: editorOpen, onOpenChange: setEditorOpen, task: editing }),
|
|
36737
36737
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36738
36738
|
ConnectedExportDialog,
|
|
36739
36739
|
{
|
|
@@ -36969,7 +36969,7 @@ function ConnectedConversationPage({
|
|
|
36969
36969
|
}
|
|
36970
36970
|
);
|
|
36971
36971
|
const { data: workspaceTags = [] } = react.useTags();
|
|
36972
|
-
const historyCount =
|
|
36972
|
+
const historyCount = chunkMM22MFON_cjs.filterConversationRows(
|
|
36973
36973
|
conversations,
|
|
36974
36974
|
threadFilter,
|
|
36975
36975
|
(row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
@@ -37019,7 +37019,7 @@ function ConnectedConversationPage({
|
|
|
37019
37019
|
] })
|
|
37020
37020
|
}
|
|
37021
37021
|
),
|
|
37022
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
37022
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkXXI3EIEO_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
|
|
37023
37023
|
] }),
|
|
37024
37024
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
37025
37025
|
ConversationThread2,
|
|
@@ -37893,7 +37893,7 @@ function ConversationThread({
|
|
|
37893
37893
|
}, [isGenerating]);
|
|
37894
37894
|
const slashWorkflows = useSlashSkillWorkflows({ landing: "current-chat" });
|
|
37895
37895
|
const composerSkills = react$1.useMemo(
|
|
37896
|
-
() => ({ builtin:
|
|
37896
|
+
() => ({ builtin: chunkMM22MFON_cjs.BUILTIN_SKILLS, openFor: slashWorkflows.openFor }),
|
|
37897
37897
|
[slashWorkflows.openFor]
|
|
37898
37898
|
);
|
|
37899
37899
|
const browseSkills = react$1.useMemo(
|
|
@@ -37942,7 +37942,7 @@ function ConversationThread({
|
|
|
37942
37942
|
useStartRequestedDraft();
|
|
37943
37943
|
const orphanedMessage = react.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
|
|
37944
37944
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunk56WWEK6I_cjs.ConversationBody, { children: [
|
|
37945
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunk56WWEK6I_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunk56WWEK6I_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
37945
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk56WWEK6I_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunk56WWEK6I_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkEPBFVO4F_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkRGPKW6KQ_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
|
|
37946
37946
|
meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37947
37947
|
chunk3UGJCSTO_cjs.ConversationFilter,
|
|
37948
37948
|
{
|
|
@@ -37960,7 +37960,7 @@ function ConversationThread({
|
|
|
37960
37960
|
]
|
|
37961
37961
|
}
|
|
37962
37962
|
) }),
|
|
37963
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37963
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkEPBFVO4F_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
|
|
37964
37964
|
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunk33PWCTND_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
37965
37965
|
] }) }) : meetingCallExtId ? (
|
|
37966
37966
|
// A meeting thread with nothing yet: call-aware, not the upload prompt.
|
|
@@ -37968,7 +37968,7 @@ function ConversationThread({
|
|
|
37968
37968
|
/* @__PURE__ */ jsxRuntime.jsx(chunk33PWCTND_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
|
|
37969
37969
|
/* @__PURE__ */ jsxRuntime.jsx(chunk33PWCTND_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
37970
37970
|
] })
|
|
37971
|
-
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
37971
|
+
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkEPBFVO4F_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
37972
37972
|
ConnectedConversationEmpty,
|
|
37973
37973
|
{
|
|
37974
37974
|
hasDocuments: allWorkspaceDocuments.length > 0,
|
|
@@ -38039,7 +38039,7 @@ function ConversationThread({
|
|
|
38039
38039
|
children: react.READ_ONLY_MEETING_TEXT
|
|
38040
38040
|
}
|
|
38041
38041
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
38042
|
-
|
|
38042
|
+
chunkEPBFVO4F_cjs.ConversationComposer,
|
|
38043
38043
|
{
|
|
38044
38044
|
handleSendMessage: handleUserSend,
|
|
38045
38045
|
placeholder: pendingAnswer ? "Type your answer to ARBI \u2014 or pick an option above" : void 0,
|
|
@@ -38175,8 +38175,8 @@ function ConnectedForgotPassword({
|
|
|
38175
38175
|
initialIsKeyEncrypted = false
|
|
38176
38176
|
}) {
|
|
38177
38177
|
const arbi = react.useArbi();
|
|
38178
|
-
const sso =
|
|
38179
|
-
const { onRecovered: onSiteRecovered } =
|
|
38178
|
+
const sso = chunkEPBFVO4F_cjs.useSsoSignIn();
|
|
38179
|
+
const { onRecovered: onSiteRecovered } = chunkEPBFVO4F_cjs.useAuthPages();
|
|
38180
38180
|
const [showSsoPrompt, setShowSsoPrompt] = react$1.useState(false);
|
|
38181
38181
|
const [email, setEmail] = react$1.useState(initialEmail ?? "");
|
|
38182
38182
|
const [recoveryKey, setRecoveryKey] = react$1.useState(initialRecoveryKey ?? null);
|
|
@@ -38312,9 +38312,9 @@ function ConnectedForgotPassword({
|
|
|
38312
38312
|
);
|
|
38313
38313
|
}
|
|
38314
38314
|
function useSsoVerificationRedirect() {
|
|
38315
|
-
const sso =
|
|
38315
|
+
const sso = chunkEPBFVO4F_cjs.useSsoSignIn();
|
|
38316
38316
|
const { notify: notify17 } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
38317
|
-
const { onVerificationFailed } =
|
|
38317
|
+
const { onVerificationFailed } = chunkEPBFVO4F_cjs.useAuthPages();
|
|
38318
38318
|
react$1.useEffect(() => {
|
|
38319
38319
|
const urlParams = new URLSearchParams(window.location.search);
|
|
38320
38320
|
const success = urlParams.get("success") || null;
|
|
@@ -38351,18 +38351,18 @@ function ConnectedLoginPage({
|
|
|
38351
38351
|
layout = "page",
|
|
38352
38352
|
...compact
|
|
38353
38353
|
} = {}) {
|
|
38354
|
-
return layout === "compact" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
38354
|
+
return layout === "compact" ? /* @__PURE__ */ jsxRuntime.jsx(chunkEPBFVO4F_cjs.CompactLogin, { ...compact }) : /* @__PURE__ */ jsxRuntime.jsx(LoginPage, {});
|
|
38355
38355
|
}
|
|
38356
38356
|
function LoginPage() {
|
|
38357
|
-
const sso =
|
|
38358
|
-
const auth =
|
|
38357
|
+
const sso = chunkEPBFVO4F_cjs.useSsoSignIn();
|
|
38358
|
+
const auth = chunkEPBFVO4F_cjs.useAuthPages();
|
|
38359
38359
|
const { notify: notify17 } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
38360
38360
|
const isSsoOnly = !!auth.ssoOnly;
|
|
38361
38361
|
const allowRegistration = auth.allowRegistration ?? true;
|
|
38362
38362
|
const isOnline = documentTools.useIsOnline();
|
|
38363
38363
|
const passwordRules = auth.passwordRules;
|
|
38364
38364
|
useSsoVerificationRedirect();
|
|
38365
|
-
const formState =
|
|
38365
|
+
const formState = chunkEPBFVO4F_cjs.useLoginForm();
|
|
38366
38366
|
const deploymentDomain = react.useArbi().getDeploymentDomain();
|
|
38367
38367
|
const {
|
|
38368
38368
|
email,
|
|
@@ -38399,11 +38399,11 @@ function LoginPage() {
|
|
|
38399
38399
|
handleLocalLogin,
|
|
38400
38400
|
handleRegister,
|
|
38401
38401
|
handleRequestVerificationCode
|
|
38402
|
-
} =
|
|
38402
|
+
} = chunkEPBFVO4F_cjs.useLoginActions({
|
|
38403
38403
|
formState,
|
|
38404
38404
|
formActions: formState
|
|
38405
38405
|
});
|
|
38406
|
-
const { isDisabled: isRegisterSubmitDisabled } =
|
|
38406
|
+
const { isDisabled: isRegisterSubmitDisabled } = chunkEPBFVO4F_cjs.useRegisterSubmitState(
|
|
38407
38407
|
isRegistering,
|
|
38408
38408
|
isAuthenticating,
|
|
38409
38409
|
password,
|
|
@@ -38947,7 +38947,7 @@ function SsoResendVerificationButton({
|
|
|
38947
38947
|
onClick: async () => handleResendEmailVerification(),
|
|
38948
38948
|
disabled: loading || disabled,
|
|
38949
38949
|
"aria-label": "Resend verification email",
|
|
38950
|
-
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
38950
|
+
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkNBX7WWB6_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
38951
38951
|
"Didn't get a verification email? ",
|
|
38952
38952
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
|
|
38953
38953
|
] })
|
|
@@ -38958,16 +38958,16 @@ function SsoResendVerificationButton({
|
|
|
38958
38958
|
}
|
|
38959
38959
|
var NO_RECOVERY_KEY_WARNING2 = "Without your password or a recovery key, we cannot recover your account or data.";
|
|
38960
38960
|
function ConnectedSsoCallback() {
|
|
38961
|
-
const sso =
|
|
38961
|
+
const sso = chunkEPBFVO4F_cjs.useSsoSignIn();
|
|
38962
38962
|
const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
|
|
38963
|
-
const auth =
|
|
38963
|
+
const auth = chunkEPBFVO4F_cjs.useAuthPages();
|
|
38964
38964
|
const { notify: notify17, navigate } = chunkT6GRWWRY_cjs.useBlocksEnvironment();
|
|
38965
38965
|
const passwordRules = auth.passwordRules;
|
|
38966
38966
|
const isProcessing = react$1.useRef(false);
|
|
38967
38967
|
const hasCheckedStatus = react$1.useRef(false);
|
|
38968
38968
|
const [accessToken, setAccessToken] = react$1.useState(null);
|
|
38969
38969
|
const [ssoStatus, setSsoStatus] = react$1.useState(null);
|
|
38970
|
-
const ssoName = react$1.useMemo(() =>
|
|
38970
|
+
const ssoName = react$1.useMemo(() => chunkEPBFVO4F_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
|
|
38971
38971
|
const [password, setPassword] = react$1.useState("");
|
|
38972
38972
|
const [confirmPassword, setConfirmPassword] = react$1.useState("");
|
|
38973
38973
|
const [error, setError] = react$1.useState(null);
|
|
@@ -39145,7 +39145,7 @@ function ConnectedSsoCallback() {
|
|
|
39145
39145
|
setIsCheckingStatus(true);
|
|
39146
39146
|
try {
|
|
39147
39147
|
console.info("[SSO] Checking user status...");
|
|
39148
|
-
const response = await
|
|
39148
|
+
const response = await chunkEPBFVO4F_cjs.ssoAccountStatus(arbi, accessToken, user);
|
|
39149
39149
|
console.info("[SSO] User status:", response.status);
|
|
39150
39150
|
setSsoStatus(response);
|
|
39151
39151
|
} catch (error2) {
|
|
@@ -39189,7 +39189,7 @@ function ConnectedSsoCallback() {
|
|
|
39189
39189
|
setIsSubmitting(true);
|
|
39190
39190
|
setError(null);
|
|
39191
39191
|
try {
|
|
39192
|
-
const { login, registered, linked } = await
|
|
39192
|
+
const { login, registered, linked } = await chunkEPBFVO4F_cjs.completeSsoSignIn(arbi, {
|
|
39193
39193
|
token: accessToken,
|
|
39194
39194
|
user,
|
|
39195
39195
|
status: ssoStatus,
|
|
@@ -39641,7 +39641,7 @@ function ConnectedRecoveryKeyDialog({
|
|
|
39641
39641
|
const arbi = react.useArbi();
|
|
39642
39642
|
const { user, isSso: isSsoMode } = react.useArbiSession();
|
|
39643
39643
|
const userEmail = user?.email;
|
|
39644
|
-
const sso =
|
|
39644
|
+
const sso = chunkEPBFVO4F_cjs.useSsoSignIn();
|
|
39645
39645
|
const handleVerify = async () => {
|
|
39646
39646
|
setError(null);
|
|
39647
39647
|
if (!password) {
|
|
@@ -39841,27 +39841,27 @@ function ConnectedOAuthConsentPage({
|
|
|
39841
39841
|
oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
|
|
39842
39842
|
}
|
|
39843
39843
|
if (error && !params) {
|
|
39844
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
39844
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
|
|
39845
39845
|
}
|
|
39846
39846
|
if (!params) {
|
|
39847
39847
|
return null;
|
|
39848
39848
|
}
|
|
39849
39849
|
if (clientInfo?.isLocalAgentFlow) {
|
|
39850
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
39850
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_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." }) });
|
|
39851
39851
|
}
|
|
39852
39852
|
if (!isAuthenticated2) {
|
|
39853
39853
|
return null;
|
|
39854
39854
|
}
|
|
39855
39855
|
if (callbackUrl) {
|
|
39856
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
39857
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
39856
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkMM22MFON_cjs.ConsentCard, { size: "md", children: [
|
|
39857
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkMM22MFON_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
|
|
39858
39858
|
"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",
|
|
39859
39859
|
" ",
|
|
39860
39860
|
copied ? "it's already copied to your clipboard." : "copy it first."
|
|
39861
39861
|
] }),
|
|
39862
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
39863
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39864
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
39862
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkMM22MFON_cjs.ConsentSection, { title: "Callback URL", children: [
|
|
39863
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
|
|
39864
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkMM22MFON_cjs.ConsentText, { variant: "hint", children: [
|
|
39865
39865
|
"In Claude Code, paste the URL at the prompt that says",
|
|
39866
39866
|
" ",
|
|
39867
39867
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
|
|
@@ -39870,17 +39870,17 @@ function ConnectedOAuthConsentPage({
|
|
|
39870
39870
|
] })
|
|
39871
39871
|
] }) });
|
|
39872
39872
|
}
|
|
39873
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
39874
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
39875
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39873
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkMM22MFON_cjs.ConsentCard, { children: [
|
|
39874
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkMM22MFON_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
|
|
39875
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
|
|
39876
39876
|
" is requesting access to your ",
|
|
39877
39877
|
appName,
|
|
39878
39878
|
" workspace."
|
|
39879
39879
|
] }),
|
|
39880
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39881
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
39882
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39883
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39880
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConsentPermissionList, { items: permissions }) }),
|
|
39881
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConsentNotice, { tone: "error", children: error }),
|
|
39882
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
|
|
39883
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMM22MFON_cjs.ConsentFootnote, { children: footnote })
|
|
39884
39884
|
] }) });
|
|
39885
39885
|
}
|
|
39886
39886
|
function ConnectedSharedFilesPage({
|
|
@@ -40205,10 +40205,10 @@ function useContextualHints() {
|
|
|
40205
40205
|
const session = react.useArbiSessionStore();
|
|
40206
40206
|
const { data: userSettings } = react.useUserSettings();
|
|
40207
40207
|
const updateUserSettings = react.useUpdateUserSettings();
|
|
40208
|
-
const [sessionOverride] = react.useTransientView(
|
|
40209
|
-
const setShowHints = (value) =>
|
|
40208
|
+
const [sessionOverride] = react.useTransientView(chunkNBX7WWB6_cjs.TIPS_VISIBILITY_OVERRIDE, null);
|
|
40209
|
+
const setShowHints = (value) => chunkNBX7WWB6_cjs.setHintsSessionOverride(session, value);
|
|
40210
40210
|
const setShowHintsPersisted = (value) => {
|
|
40211
|
-
|
|
40211
|
+
chunkNBX7WWB6_cjs.setHintsSessionOverride(session, null);
|
|
40212
40212
|
updateUserSettings.mutate({ show_hints: value });
|
|
40213
40213
|
};
|
|
40214
40214
|
return {
|
|
@@ -40243,7 +40243,7 @@ function ConnectedTipBar({
|
|
|
40243
40243
|
workspaceOpen,
|
|
40244
40244
|
...state
|
|
40245
40245
|
};
|
|
40246
|
-
const { tip, index, count: count2, previous, next, onHoverChange } =
|
|
40246
|
+
const { tip, index, count: count2, previous, next, onHoverChange } = chunkNBX7WWB6_cjs.useTipsPlacement({
|
|
40247
40247
|
registry,
|
|
40248
40248
|
context,
|
|
40249
40249
|
state: situation,
|
|
@@ -40310,7 +40310,7 @@ function useGettingStarted({
|
|
|
40310
40310
|
const { dismissed, loaded: dismissedLoaded, dismissTip } = react.useDismissedTips();
|
|
40311
40311
|
const welcomeJourneyEnabled = react.useFeature("welcomeJourney");
|
|
40312
40312
|
const session = react.useArbiSessionStore();
|
|
40313
|
-
const [replayView] = react.useTransientView(
|
|
40313
|
+
const [replayView] = react.useTransientView(chunkNBX7WWB6_cjs.WELCOME_REPLAY_VIEW, false);
|
|
40314
40314
|
const welcomeReplay = replayView === true;
|
|
40315
40315
|
const welcomeDialogOpen = chunkGMM3RBIB_cjs.useDialogProps("welcome") !== null;
|
|
40316
40316
|
const inWorkspace = react.useArbiSessionState((s) => !!s.workspaceId && s.workspaceStatus === "open");
|
|
@@ -40396,7 +40396,7 @@ function useGettingStarted({
|
|
|
40396
40396
|
dismiss: () => {
|
|
40397
40397
|
if (allCoreComplete) dismissTip(GETTING_STARTED_DONE_TIP);
|
|
40398
40398
|
if (welcomeReplay) {
|
|
40399
|
-
session.setTransientView(
|
|
40399
|
+
session.setTransientView(chunkNBX7WWB6_cjs.WELCOME_REPLAY_VIEW, void 0);
|
|
40400
40400
|
return;
|
|
40401
40401
|
}
|
|
40402
40402
|
if (allCoreComplete) return;
|
|
@@ -40624,91 +40624,91 @@ Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
|
40624
40624
|
});
|
|
40625
40625
|
Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
|
|
40626
40626
|
enumerable: true,
|
|
40627
|
-
get: function () { return
|
|
40627
|
+
get: function () { return chunkXXI3EIEO_cjs.ConnectedTaskActivityDialog; }
|
|
40628
40628
|
});
|
|
40629
40629
|
Object.defineProperty(exports, "ConnectedTaskComposer", {
|
|
40630
40630
|
enumerable: true,
|
|
40631
|
-
get: function () { return
|
|
40631
|
+
get: function () { return chunkXXI3EIEO_cjs.ConnectedTaskComposer; }
|
|
40632
40632
|
});
|
|
40633
40633
|
Object.defineProperty(exports, "ConnectedThreadTaskBar", {
|
|
40634
40634
|
enumerable: true,
|
|
40635
|
-
get: function () { return
|
|
40635
|
+
get: function () { return chunkXXI3EIEO_cjs.ConnectedThreadTaskBar; }
|
|
40636
40636
|
});
|
|
40637
40637
|
Object.defineProperty(exports, "ConnectedWorkflowHistory", {
|
|
40638
40638
|
enumerable: true,
|
|
40639
|
-
get: function () { return
|
|
40639
|
+
get: function () { return chunkXXI3EIEO_cjs.ConnectedWorkflowHistory; }
|
|
40640
40640
|
});
|
|
40641
40641
|
Object.defineProperty(exports, "ConnectedWorkflowRunner", {
|
|
40642
40642
|
enumerable: true,
|
|
40643
|
-
get: function () { return
|
|
40643
|
+
get: function () { return chunkXXI3EIEO_cjs.ConnectedWorkflowRunner; }
|
|
40644
40644
|
});
|
|
40645
40645
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
|
|
40646
40646
|
enumerable: true,
|
|
40647
|
-
get: function () { return
|
|
40647
|
+
get: function () { return chunkXXI3EIEO_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
|
|
40648
40648
|
});
|
|
40649
40649
|
Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
|
|
40650
40650
|
enumerable: true,
|
|
40651
|
-
get: function () { return
|
|
40651
|
+
get: function () { return chunkXXI3EIEO_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
|
|
40652
40652
|
});
|
|
40653
40653
|
Object.defineProperty(exports, "WorkflowRunThread", {
|
|
40654
40654
|
enumerable: true,
|
|
40655
|
-
get: function () { return
|
|
40655
|
+
get: function () { return chunkXXI3EIEO_cjs.WorkflowRunThread; }
|
|
40656
40656
|
});
|
|
40657
40657
|
Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
|
|
40658
40658
|
enumerable: true,
|
|
40659
|
-
get: function () { return
|
|
40659
|
+
get: function () { return chunkXXI3EIEO_cjs.WorkflowRunWorkspaceChangedError; }
|
|
40660
40660
|
});
|
|
40661
40661
|
Object.defineProperty(exports, "buildProjectSummaries", {
|
|
40662
40662
|
enumerable: true,
|
|
40663
|
-
get: function () { return
|
|
40663
|
+
get: function () { return chunkXXI3EIEO_cjs.buildProjectSummaries; }
|
|
40664
40664
|
});
|
|
40665
40665
|
Object.defineProperty(exports, "primaryProjectWorkspace", {
|
|
40666
40666
|
enumerable: true,
|
|
40667
|
-
get: function () { return
|
|
40667
|
+
get: function () { return chunkXXI3EIEO_cjs.primaryProjectWorkspace; }
|
|
40668
40668
|
});
|
|
40669
40669
|
Object.defineProperty(exports, "useEnsureRequiredLabels", {
|
|
40670
40670
|
enumerable: true,
|
|
40671
|
-
get: function () { return
|
|
40671
|
+
get: function () { return chunkXXI3EIEO_cjs.useEnsureRequiredLabels; }
|
|
40672
40672
|
});
|
|
40673
40673
|
Object.defineProperty(exports, "useProjectSummaries", {
|
|
40674
40674
|
enumerable: true,
|
|
40675
|
-
get: function () { return
|
|
40675
|
+
get: function () { return chunkXXI3EIEO_cjs.useProjectSummaries; }
|
|
40676
40676
|
});
|
|
40677
40677
|
Object.defineProperty(exports, "useProjectSummary", {
|
|
40678
40678
|
enumerable: true,
|
|
40679
|
-
get: function () { return
|
|
40679
|
+
get: function () { return chunkXXI3EIEO_cjs.useProjectSummary; }
|
|
40680
40680
|
});
|
|
40681
40681
|
Object.defineProperty(exports, "useRenderTaskPerson", {
|
|
40682
40682
|
enumerable: true,
|
|
40683
|
-
get: function () { return
|
|
40683
|
+
get: function () { return chunkXXI3EIEO_cjs.useRenderTaskPerson; }
|
|
40684
40684
|
});
|
|
40685
40685
|
Object.defineProperty(exports, "useRequiredLabels", {
|
|
40686
40686
|
enumerable: true,
|
|
40687
|
-
get: function () { return
|
|
40687
|
+
get: function () { return chunkXXI3EIEO_cjs.useRequiredLabels; }
|
|
40688
40688
|
});
|
|
40689
40689
|
Object.defineProperty(exports, "useSkillsEnabled", {
|
|
40690
40690
|
enumerable: true,
|
|
40691
|
-
get: function () { return
|
|
40691
|
+
get: function () { return chunkXXI3EIEO_cjs.useSkillsEnabled; }
|
|
40692
40692
|
});
|
|
40693
40693
|
Object.defineProperty(exports, "useTaskPeople", {
|
|
40694
40694
|
enumerable: true,
|
|
40695
|
-
get: function () { return
|
|
40695
|
+
get: function () { return chunkXXI3EIEO_cjs.useTaskPeople; }
|
|
40696
40696
|
});
|
|
40697
40697
|
Object.defineProperty(exports, "useWorkflowDefinitions", {
|
|
40698
40698
|
enumerable: true,
|
|
40699
|
-
get: function () { return
|
|
40699
|
+
get: function () { return chunkXXI3EIEO_cjs.useWorkflowDefinitions; }
|
|
40700
40700
|
});
|
|
40701
40701
|
Object.defineProperty(exports, "useWorkflowTasks", {
|
|
40702
40702
|
enumerable: true,
|
|
40703
|
-
get: function () { return
|
|
40703
|
+
get: function () { return chunkXXI3EIEO_cjs.useWorkflowTasks; }
|
|
40704
40704
|
});
|
|
40705
40705
|
Object.defineProperty(exports, "useWorkflowsPageState", {
|
|
40706
40706
|
enumerable: true,
|
|
40707
|
-
get: function () { return
|
|
40707
|
+
get: function () { return chunkXXI3EIEO_cjs.useWorkflowsPageState; }
|
|
40708
40708
|
});
|
|
40709
40709
|
Object.defineProperty(exports, "workflowRunView", {
|
|
40710
40710
|
enumerable: true,
|
|
40711
|
-
get: function () { return
|
|
40711
|
+
get: function () { return chunkXXI3EIEO_cjs.workflowRunView; }
|
|
40712
40712
|
});
|
|
40713
40713
|
Object.defineProperty(exports, "FILES_PREFS_KEY", {
|
|
40714
40714
|
enumerable: true,
|
|
@@ -40744,127 +40744,127 @@ Object.defineProperty(exports, "usePendingFolders", {
|
|
|
40744
40744
|
});
|
|
40745
40745
|
Object.defineProperty(exports, "AgentSteps", {
|
|
40746
40746
|
enumerable: true,
|
|
40747
|
-
get: function () { return
|
|
40747
|
+
get: function () { return chunkEPBFVO4F_cjs.AgentSteps; }
|
|
40748
40748
|
});
|
|
40749
40749
|
Object.defineProperty(exports, "AnswerTable", {
|
|
40750
40750
|
enumerable: true,
|
|
40751
|
-
get: function () { return
|
|
40751
|
+
get: function () { return chunkEPBFVO4F_cjs.AnswerTable; }
|
|
40752
40752
|
});
|
|
40753
40753
|
Object.defineProperty(exports, "ArbiChat", {
|
|
40754
40754
|
enumerable: true,
|
|
40755
|
-
get: function () { return
|
|
40755
|
+
get: function () { return chunkEPBFVO4F_cjs.ArbiChat; }
|
|
40756
40756
|
});
|
|
40757
40757
|
Object.defineProperty(exports, "AskAgainContext", {
|
|
40758
40758
|
enumerable: true,
|
|
40759
|
-
get: function () { return
|
|
40759
|
+
get: function () { return chunkEPBFVO4F_cjs.AskAgainContext; }
|
|
40760
40760
|
});
|
|
40761
40761
|
Object.defineProperty(exports, "ConnectedBranchControls", {
|
|
40762
40762
|
enumerable: true,
|
|
40763
|
-
get: function () { return
|
|
40763
|
+
get: function () { return chunkEPBFVO4F_cjs.ConnectedBranchControls; }
|
|
40764
40764
|
});
|
|
40765
40765
|
Object.defineProperty(exports, "ConnectedCitationRenderer", {
|
|
40766
40766
|
enumerable: true,
|
|
40767
|
-
get: function () { return
|
|
40767
|
+
get: function () { return chunkEPBFVO4F_cjs.ConnectedCitationRenderer; }
|
|
40768
40768
|
});
|
|
40769
40769
|
Object.defineProperty(exports, "ConnectedCompactConversation", {
|
|
40770
40770
|
enumerable: true,
|
|
40771
|
-
get: function () { return
|
|
40771
|
+
get: function () { return chunkEPBFVO4F_cjs.ConnectedCompactConversation; }
|
|
40772
40772
|
});
|
|
40773
40773
|
Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
|
|
40774
40774
|
enumerable: true,
|
|
40775
|
-
get: function () { return
|
|
40775
|
+
get: function () { return chunkEPBFVO4F_cjs.ConnectedConversationDocumentPicker; }
|
|
40776
40776
|
});
|
|
40777
40777
|
Object.defineProperty(exports, "ConnectedEmbeddedChat", {
|
|
40778
40778
|
enumerable: true,
|
|
40779
|
-
get: function () { return
|
|
40779
|
+
get: function () { return chunkEPBFVO4F_cjs.ConnectedEmbeddedChat; }
|
|
40780
40780
|
});
|
|
40781
40781
|
Object.defineProperty(exports, "ConnectedMessage", {
|
|
40782
40782
|
enumerable: true,
|
|
40783
|
-
get: function () { return
|
|
40783
|
+
get: function () { return chunkEPBFVO4F_cjs.ConnectedMessage; }
|
|
40784
40784
|
});
|
|
40785
40785
|
Object.defineProperty(exports, "ConnectedMessageArea", {
|
|
40786
40786
|
enumerable: true,
|
|
40787
|
-
get: function () { return
|
|
40787
|
+
get: function () { return chunkEPBFVO4F_cjs.ConnectedMessageArea; }
|
|
40788
40788
|
});
|
|
40789
40789
|
Object.defineProperty(exports, "ConnectedMessageList", {
|
|
40790
40790
|
enumerable: true,
|
|
40791
|
-
get: function () { return
|
|
40791
|
+
get: function () { return chunkEPBFVO4F_cjs.ConnectedMessageList; }
|
|
40792
40792
|
});
|
|
40793
40793
|
Object.defineProperty(exports, "ConnectedThreadsPreview", {
|
|
40794
40794
|
enumerable: true,
|
|
40795
|
-
get: function () { return
|
|
40795
|
+
get: function () { return chunkEPBFVO4F_cjs.ConnectedThreadsPreview; }
|
|
40796
40796
|
});
|
|
40797
40797
|
Object.defineProperty(exports, "ConnectedUserEntity", {
|
|
40798
40798
|
enumerable: true,
|
|
40799
|
-
get: function () { return
|
|
40799
|
+
get: function () { return chunkEPBFVO4F_cjs.ConnectedUserEntity; }
|
|
40800
40800
|
});
|
|
40801
40801
|
Object.defineProperty(exports, "ConversationComposer", {
|
|
40802
40802
|
enumerable: true,
|
|
40803
|
-
get: function () { return
|
|
40803
|
+
get: function () { return chunkEPBFVO4F_cjs.ConversationComposer; }
|
|
40804
40804
|
});
|
|
40805
40805
|
Object.defineProperty(exports, "EmbeddedChatPanel", {
|
|
40806
40806
|
enumerable: true,
|
|
40807
|
-
get: function () { return
|
|
40807
|
+
get: function () { return chunkEPBFVO4F_cjs.EmbeddedChatPanel; }
|
|
40808
40808
|
});
|
|
40809
40809
|
Object.defineProperty(exports, "MessageDetailsModal", {
|
|
40810
40810
|
enumerable: true,
|
|
40811
|
-
get: function () { return
|
|
40811
|
+
get: function () { return chunkEPBFVO4F_cjs.MessageDetailsModal; }
|
|
40812
40812
|
});
|
|
40813
40813
|
Object.defineProperty(exports, "MessageLiveSeconds", {
|
|
40814
40814
|
enumerable: true,
|
|
40815
|
-
get: function () { return
|
|
40815
|
+
get: function () { return chunkEPBFVO4F_cjs.MessageLiveSeconds; }
|
|
40816
40816
|
});
|
|
40817
40817
|
Object.defineProperty(exports, "RunningSubagents", {
|
|
40818
40818
|
enumerable: true,
|
|
40819
|
-
get: function () { return
|
|
40819
|
+
get: function () { return chunkEPBFVO4F_cjs.RunningSubagents; }
|
|
40820
40820
|
});
|
|
40821
40821
|
Object.defineProperty(exports, "SourceChips", {
|
|
40822
40822
|
enumerable: true,
|
|
40823
|
-
get: function () { return
|
|
40823
|
+
get: function () { return chunkEPBFVO4F_cjs.SourceChips; }
|
|
40824
40824
|
});
|
|
40825
40825
|
Object.defineProperty(exports, "WorkflowStepMessage", {
|
|
40826
40826
|
enumerable: true,
|
|
40827
|
-
get: function () { return
|
|
40827
|
+
get: function () { return chunkEPBFVO4F_cjs.WorkflowStepMessage; }
|
|
40828
40828
|
});
|
|
40829
40829
|
Object.defineProperty(exports, "backUpOnSignup", {
|
|
40830
40830
|
enumerable: true,
|
|
40831
|
-
get: function () { return
|
|
40831
|
+
get: function () { return chunkEPBFVO4F_cjs.backUpOnSignup; }
|
|
40832
40832
|
});
|
|
40833
40833
|
Object.defineProperty(exports, "defaultHost", {
|
|
40834
40834
|
enumerable: true,
|
|
40835
|
-
get: function () { return
|
|
40835
|
+
get: function () { return chunkEPBFVO4F_cjs.defaultHost; }
|
|
40836
40836
|
});
|
|
40837
40837
|
Object.defineProperty(exports, "renderConnectedUser", {
|
|
40838
40838
|
enumerable: true,
|
|
40839
|
-
get: function () { return
|
|
40839
|
+
get: function () { return chunkEPBFVO4F_cjs.renderConnectedUser; }
|
|
40840
40840
|
});
|
|
40841
40841
|
Object.defineProperty(exports, "resolveSsoName", {
|
|
40842
40842
|
enumerable: true,
|
|
40843
|
-
get: function () { return
|
|
40843
|
+
get: function () { return chunkEPBFVO4F_cjs.resolveSsoName; }
|
|
40844
40844
|
});
|
|
40845
40845
|
Object.defineProperty(exports, "useAuthPages", {
|
|
40846
40846
|
enumerable: true,
|
|
40847
|
-
get: function () { return
|
|
40847
|
+
get: function () { return chunkEPBFVO4F_cjs.useAuthPages; }
|
|
40848
40848
|
});
|
|
40849
40849
|
Object.defineProperty(exports, "useOpenChunk", {
|
|
40850
40850
|
enumerable: true,
|
|
40851
|
-
get: function () { return
|
|
40851
|
+
get: function () { return chunkEPBFVO4F_cjs.useOpenChunk; }
|
|
40852
40852
|
});
|
|
40853
40853
|
Object.defineProperty(exports, "useOpenWorkspaceIcon", {
|
|
40854
40854
|
enumerable: true,
|
|
40855
|
-
get: function () { return
|
|
40855
|
+
get: function () { return chunkEPBFVO4F_cjs.useOpenWorkspaceIcon; }
|
|
40856
40856
|
});
|
|
40857
40857
|
Object.defineProperty(exports, "useSlashItems", {
|
|
40858
40858
|
enumerable: true,
|
|
40859
|
-
get: function () { return
|
|
40859
|
+
get: function () { return chunkEPBFVO4F_cjs.useSlashItems; }
|
|
40860
40860
|
});
|
|
40861
40861
|
Object.defineProperty(exports, "useSsoSignIn", {
|
|
40862
40862
|
enumerable: true,
|
|
40863
|
-
get: function () { return
|
|
40863
|
+
get: function () { return chunkEPBFVO4F_cjs.useSsoSignIn; }
|
|
40864
40864
|
});
|
|
40865
40865
|
Object.defineProperty(exports, "useWorkspaceDocTitles", {
|
|
40866
40866
|
enumerable: true,
|
|
40867
|
-
get: function () { return
|
|
40867
|
+
get: function () { return chunkEPBFVO4F_cjs.useWorkspaceDocTitles; }
|
|
40868
40868
|
});
|
|
40869
40869
|
Object.defineProperty(exports, "useConnectedThreadActivity", {
|
|
40870
40870
|
enumerable: true,
|
|
@@ -40944,43 +40944,43 @@ Object.defineProperty(exports, "useResolvedDocStatus", {
|
|
|
40944
40944
|
});
|
|
40945
40945
|
Object.defineProperty(exports, "ConnectedWorkflowDocumentsField", {
|
|
40946
40946
|
enumerable: true,
|
|
40947
|
-
get: function () { return
|
|
40947
|
+
get: function () { return chunkCUSOXCBV_cjs.ConnectedWorkflowDocumentsField; }
|
|
40948
40948
|
});
|
|
40949
40949
|
Object.defineProperty(exports, "ConnectedWorkflowLauncher", {
|
|
40950
40950
|
enumerable: true,
|
|
40951
|
-
get: function () { return
|
|
40951
|
+
get: function () { return chunkCUSOXCBV_cjs.ConnectedWorkflowLauncher; }
|
|
40952
40952
|
});
|
|
40953
40953
|
Object.defineProperty(exports, "ConnectedWorkflowsTable", {
|
|
40954
40954
|
enumerable: true,
|
|
40955
|
-
get: function () { return
|
|
40955
|
+
get: function () { return chunkCUSOXCBV_cjs.ConnectedWorkflowsTable; }
|
|
40956
40956
|
});
|
|
40957
40957
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS", {
|
|
40958
40958
|
enumerable: true,
|
|
40959
|
-
get: function () { return
|
|
40959
|
+
get: function () { return chunkCUSOXCBV_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
|
|
40960
40960
|
});
|
|
40961
40961
|
Object.defineProperty(exports, "toWorkflowFieldDocument", {
|
|
40962
40962
|
enumerable: true,
|
|
40963
|
-
get: function () { return
|
|
40963
|
+
get: function () { return chunkCUSOXCBV_cjs.toWorkflowFieldDocument; }
|
|
40964
40964
|
});
|
|
40965
40965
|
Object.defineProperty(exports, "useConnectedAgentOptions", {
|
|
40966
40966
|
enumerable: true,
|
|
40967
|
-
get: function () { return
|
|
40967
|
+
get: function () { return chunkCUSOXCBV_cjs.useConnectedAgentOptions; }
|
|
40968
40968
|
});
|
|
40969
40969
|
Object.defineProperty(exports, "useConnectedWorkflowScopeSource", {
|
|
40970
40970
|
enumerable: true,
|
|
40971
|
-
get: function () { return
|
|
40971
|
+
get: function () { return chunkCUSOXCBV_cjs.useConnectedWorkflowScopeSource; }
|
|
40972
40972
|
});
|
|
40973
40973
|
Object.defineProperty(exports, "useConnectedWorkspaceRole", {
|
|
40974
40974
|
enumerable: true,
|
|
40975
|
-
get: function () { return
|
|
40975
|
+
get: function () { return chunkCUSOXCBV_cjs.useConnectedWorkspaceRole; }
|
|
40976
40976
|
});
|
|
40977
40977
|
Object.defineProperty(exports, "useDocxCommentTarget", {
|
|
40978
40978
|
enumerable: true,
|
|
40979
|
-
get: function () { return
|
|
40979
|
+
get: function () { return chunkCUSOXCBV_cjs.useDocxCommentTarget; }
|
|
40980
40980
|
});
|
|
40981
40981
|
Object.defineProperty(exports, "useNativeDocxSupport", {
|
|
40982
40982
|
enumerable: true,
|
|
40983
|
-
get: function () { return
|
|
40983
|
+
get: function () { return chunkCUSOXCBV_cjs.useNativeDocxSupport; }
|
|
40984
40984
|
});
|
|
40985
40985
|
Object.defineProperty(exports, "useOpenWorkflow", {
|
|
40986
40986
|
enumerable: true,
|